From 66a7e0894ef4ec282bb01ccba8772c75e3e393b2 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 5 Jul 2023 20:12:36 +0000 Subject: [PATCH 1/2] feat: added rpc RenameTagTemplateFieldEnumValue feat: returning approximate total size for SearchCatalog feat: returning unreachable locations for SearchCatalog feat: added Entry.usage_signal docs: update docs of SearchCatalogRequest message PiperOrigin-RevId: 545732359 Source-Link: https://github.com/googleapis/googleapis/commit/a1098e771ded306f2f4f28f90e78b23414a45e12 Source-Link: https://github.com/googleapis/googleapis-gen/commit/8b26b4359249c6f5da48b75d1c2b80ceb5075e81 Copy-Tag: eyJwIjoiamF2YS1kYXRhY2F0YWxvZy8uT3dsQm90LnlhbWwiLCJoIjoiOGIyNmI0MzU5MjQ5YzZmNWRhNDhiNzVkMWMyYjgwY2ViNTA3NWU4MSJ9 --- .../datacatalog/v1/PolicyTagManagerGrpc.java | 1825 -------- .../datacatalog/v1beta1/DataCatalogGrpc.java | 3873 ----------------- .../v1beta1/PolicyTagManagerGrpc.java | 1792 -------- .../cloud/datacatalog/v1/BigQueryProto.java | 110 - .../CloudBigtableInstanceSpecOrBuilder.java | 93 - .../google/cloud/datacatalog/v1/Common.java | 80 - .../v1/CommonUsageStatsOrBuilder.java | 50 - .../v1/CrossRegionalSourceOrBuilder.java | 54 - .../cloud/datacatalog/v1/DataSourceProto.java | 97 - .../cloud/datacatalog/v1/Datacatalog.java | 1403 ------ .../datacatalog/v1/DataplexSpecProto.java | 125 - .../v1/DeleteEntryGroupRequestOrBuilder.java | 67 - .../v1/DeleteEntryRequestOrBuilder.java | 54 - .../v1/DeletePolicyTagRequestOrBuilder.java | 58 - .../v1/DeleteTagRequestOrBuilder.java | 54 - ...eleteTagTemplateFieldRequestOrBuilder.java | 69 - .../v1/DeleteTagTemplateRequestOrBuilder.java | 69 - .../v1/DeleteTaxonomyRequestOrBuilder.java | 58 - .../datacatalog/v1/DumpContentProto.java | 101 - .../v1/GcsFilesetSpecOuterClass.java | 97 - .../v1/GetEntryRequestOrBuilder.java | 54 - .../v1/GetPolicyTagRequestOrBuilder.java | 54 - .../v1/GetTagTemplateRequestOrBuilder.java | 54 - .../v1/GetTaxonomyRequestOrBuilder.java | 54 - .../datacatalog/v1/InlineSourceOrBuilder.java | 87 - .../ModifyEntryContactsRequestOrBuilder.java | 95 - .../ModifyEntryOverviewRequestOrBuilder.java | 95 - .../datacatalog/v1/PhysicalSchemaProto.java | 159 - .../datacatalog/v1/PolicyTagManagerProto.java | 408 -- .../PolicyTagManagerSerializationProto.java | 240 - .../v1/ReplaceTaxonomyRequestOrBuilder.java | 95 - .../datacatalog/v1/SchemaOuterClass.java | 133 - .../google/cloud/datacatalog/v1/Search.java | 105 - .../v1/StarEntryRequestOrBuilder.java | 54 - .../v1/StarEntryResponseOrBuilder.java | 24 - .../datacatalog/v1/TableSpecOuterClass.java | 132 - .../com/google/cloud/datacatalog/v1/Tags.java | 246 -- .../cloud/datacatalog/v1/Timestamps.java | 83 - .../v1/UnstarEntryRequestOrBuilder.java | 54 - .../v1/UnstarEntryResponseOrBuilder.java | 24 - .../google/cloud/datacatalog/v1/Usage.java | 152 - .../cloud/datacatalog/v1beta1/Common.java | 56 - .../datacatalog/v1beta1/Datacatalog.java | 793 ---- .../DeleteEntryGroupRequestOrBuilder.java | 69 - .../v1beta1/DeleteEntryRequestOrBuilder.java | 58 - .../DeletePolicyTagRequestOrBuilder.java | 56 - .../v1beta1/DeleteTagRequestOrBuilder.java | 58 - .../DeleteTaxonomyRequestOrBuilder.java | 56 - .../v1beta1/GcsFilesetSpecOuterClass.java | 99 - .../v1beta1/GetEntryRequestOrBuilder.java | 58 - .../v1beta1/GetPolicyTagRequestOrBuilder.java | 54 - .../GetTagTemplateRequestOrBuilder.java | 58 - .../v1beta1/GetTaxonomyRequestOrBuilder.java | 54 - .../ImportTaxonomiesRequestOrBuilder.java | 93 - .../v1beta1/InlineSourceOrBuilder.java | 88 - .../v1beta1/PolicyTagManagerProto.java | 385 -- .../PolicyTagManagerSerializationProto.java | 205 - .../datacatalog/v1beta1/SchemaOrBuilder.java | 92 - .../datacatalog/v1beta1/SchemaOuterClass.java | 95 - .../cloud/datacatalog/v1beta1/Search.java | 79 - .../SearchCatalogResponseOrBuilder.java | 102 - .../v1beta1/TableSpecOrBuilder.java | 62 - .../v1beta1/TableSpecOuterClass.java | 131 - .../cloud/datacatalog/v1beta1/Tags.java | 250 -- .../cloud/datacatalog/v1beta1/Taxonomy.java | 1616 ------- .../v1beta1/TaxonomyOrBuilder.java | 189 - .../cloud/datacatalog/v1beta1/Timestamps.java | 83 - ...pdateTagTemplateFieldRequestOrBuilder.java | 176 - .../UpdateTagTemplateRequestOrBuilder.java | 119 - .../datacatalog/v1/DataCatalogClient.java | 0 .../datacatalog/v1/DataCatalogSettings.java | 1 + .../v1/PolicyTagManagerClient.java | 0 .../PolicyTagManagerSerializationClient.java | 0 ...PolicyTagManagerSerializationSettings.java | 1 + .../v1/PolicyTagManagerSettings.java | 1 + .../cloud/datacatalog/v1/gapic_metadata.json | 0 .../cloud/datacatalog/v1/package-info.java | 0 .../datacatalog/v1/stub/DataCatalogStub.java | 0 .../v1/stub/DataCatalogStubSettings.java | 0 .../stub/GrpcDataCatalogCallableFactory.java | 0 .../v1/stub/GrpcDataCatalogStub.java | 1 + .../GrpcPolicyTagManagerCallableFactory.java | 0 ...agManagerSerializationCallableFactory.java | 0 ...GrpcPolicyTagManagerSerializationStub.java | 1 + .../v1/stub/GrpcPolicyTagManagerStub.java | 1 + .../HttpJsonDataCatalogCallableFactory.java | 0 .../v1/stub/HttpJsonDataCatalogStub.java | 1 + ...tpJsonPolicyTagManagerCallableFactory.java | 0 ...agManagerSerializationCallableFactory.java | 0 ...JsonPolicyTagManagerSerializationStub.java | 0 .../v1/stub/HttpJsonPolicyTagManagerStub.java | 0 .../PolicyTagManagerSerializationStub.java | 0 ...cyTagManagerSerializationStubSettings.java | 0 .../v1/stub/PolicyTagManagerStub.java | 0 .../v1/stub/PolicyTagManagerStubSettings.java | 0 .../v1/DataCatalogClientHttpJsonTest.java | 0 .../datacatalog/v1/DataCatalogClientTest.java | 0 .../cloud/datacatalog/v1/MockDataCatalog.java | 0 .../datacatalog/v1/MockDataCatalogImpl.java | 0 .../cloud/datacatalog/v1/MockIAMPolicy.java | 0 .../datacatalog/v1/MockIAMPolicyImpl.java | 0 .../datacatalog/v1/MockPolicyTagManager.java | 0 .../v1/MockPolicyTagManagerImpl.java | 0 .../v1/MockPolicyTagManagerSerialization.java | 0 ...MockPolicyTagManagerSerializationImpl.java | 0 .../PolicyTagManagerClientHttpJsonTest.java | 0 .../v1/PolicyTagManagerClientTest.java | 0 ...anagerSerializationClientHttpJsonTest.java | 0 ...licyTagManagerSerializationClientTest.java | 0 .../cloud/datacatalog/v1/DataCatalogGrpc.java | 3317 +++++--------- .../datacatalog/v1/PolicyTagManagerGrpc.java | 1423 ++++++ .../v1/PolicyTagManagerSerializationGrpc.java | 437 +- .../v1/BigQueryConnectionSpec.java | 594 +-- .../v1/BigQueryConnectionSpecOrBuilder.java | 41 +- .../v1/BigQueryDateShardedSpec.java | 530 +-- .../v1/BigQueryDateShardedSpecOrBuilder.java | 56 +- .../cloud/datacatalog/v1/BigQueryProto.java | 93 + .../datacatalog/v1/BigQueryRoutineSpec.java | 355 +- .../v1/BigQueryRoutineSpecOrBuilder.java | 36 +- .../datacatalog/v1/BigQueryTableSpec.java | 562 +-- .../v1/BigQueryTableSpecOrBuilder.java | 48 +- .../cloud/datacatalog/v1/BusinessContext.java | 439 +- .../v1/BusinessContextOrBuilder.java | 34 +- .../v1/CloudBigtableInstanceSpec.java | 1254 ++---- .../CloudBigtableInstanceSpecOrBuilder.java | 53 + .../v1/CloudBigtableSystemSpec.java | 322 +- .../v1/CloudBigtableSystemSpecOrBuilder.java | 27 +- .../v1/CloudSqlBigQueryConnectionSpec.java | 573 +-- ...oudSqlBigQueryConnectionSpecOrBuilder.java | 42 +- .../cloud/datacatalog/v1/ColumnSchema.java | 1779 +++----- .../datacatalog/v1/ColumnSchemaOrBuilder.java | 147 +- .../google/cloud/datacatalog/v1/Common.java | 65 + .../datacatalog/v1/CommonUsageStats.java | 290 +- .../v1/CommonUsageStatsOrBuilder.java | 28 + .../google/cloud/datacatalog/v1/Contacts.java | 785 ++-- .../datacatalog/v1/ContactsOrBuilder.java | 36 +- .../v1/CreateEntryGroupRequest.java | 516 +-- .../v1/CreateEntryGroupRequestOrBuilder.java | 52 +- .../datacatalog/v1/CreateEntryRequest.java | 538 +-- .../v1/CreateEntryRequestOrBuilder.java | 61 +- .../v1/CreatePolicyTagRequest.java | 447 +- .../v1/CreatePolicyTagRequestOrBuilder.java | 43 +- .../datacatalog/v1/CreateTagRequest.java | 466 +- .../v1/CreateTagRequestOrBuilder.java | 52 +- .../v1/CreateTagTemplateFieldRequest.java | 580 +-- ...reateTagTemplateFieldRequestOrBuilder.java | 64 +- .../v1/CreateTagTemplateRequest.java | 565 +-- .../v1/CreateTagTemplateRequestOrBuilder.java | 64 +- .../datacatalog/v1/CreateTaxonomyRequest.java | 447 +- .../v1/CreateTaxonomyRequestOrBuilder.java | 43 +- .../datacatalog/v1/CrossRegionalSource.java | 347 +- .../v1/CrossRegionalSourceOrBuilder.java | 29 + .../cloud/datacatalog/v1/DataSource.java | 648 ++- .../v1/DataSourceConnectionSpec.java | 395 +- .../v1/DataSourceConnectionSpecOrBuilder.java | 29 +- .../datacatalog/v1/DataSourceOrBuilder.java | 50 +- .../cloud/datacatalog/v1/DataSourceProto.java | 81 + .../datacatalog/v1/DatabaseTableSpec.java | 1387 +++--- .../v1/DatabaseTableSpecOrBuilder.java | 64 +- .../cloud/datacatalog/v1/Datacatalog.java | 1268 ++++++ .../datacatalog/v1/DataplexExternalTable.java | 528 +-- .../v1/DataplexExternalTableOrBuilder.java | 51 +- .../datacatalog/v1/DataplexFilesetSpec.java | 345 +- .../v1/DataplexFilesetSpecOrBuilder.java | 26 +- .../cloud/datacatalog/v1/DataplexSpec.java | 550 +-- .../datacatalog/v1/DataplexSpecOrBuilder.java | 53 +- .../datacatalog/v1/DataplexSpecProto.java | 107 + .../datacatalog/v1/DataplexTableSpec.java | 533 +-- .../v1/DataplexTableSpecOrBuilder.java | 44 +- .../v1/DeleteEntryGroupRequest.java | 384 +- .../v1/DeleteEntryGroupRequestOrBuilder.java | 39 + .../datacatalog/v1/DeleteEntryRequest.java | 347 +- .../v1/DeleteEntryRequestOrBuilder.java | 29 + .../v1/DeletePolicyTagRequest.java | 350 +- .../v1/DeletePolicyTagRequestOrBuilder.java | 33 + .../datacatalog/v1/DeleteTagRequest.java | 347 +- .../v1/DeleteTagRequestOrBuilder.java | 29 + .../v1/DeleteTagTemplateFieldRequest.java | 394 +- ...eleteTagTemplateFieldRequestOrBuilder.java | 41 + .../v1/DeleteTagTemplateRequest.java | 384 +- .../v1/DeleteTagTemplateRequestOrBuilder.java | 41 + .../datacatalog/v1/DeleteTaxonomyRequest.java | 350 +- .../v1/DeleteTaxonomyRequestOrBuilder.java | 33 + .../datacatalog/v1/DumpContentProto.java | 85 + .../google/cloud/datacatalog/v1/DumpItem.java | 368 +- .../datacatalog/v1/DumpItemOrBuilder.java | 26 +- .../google/cloud/datacatalog/v1/Entry.java | 3467 +++++---------- .../cloud/datacatalog/v1/EntryGroup.java | 619 +-- .../cloud/datacatalog/v1/EntryGroupName.java | 0 .../datacatalog/v1/EntryGroupOrBuilder.java | 65 +- .../cloud/datacatalog/v1/EntryName.java | 0 .../cloud/datacatalog/v1/EntryOrBuilder.java | 381 +- .../cloud/datacatalog/v1/EntryOverview.java | 312 +- .../v1/EntryOverviewOrBuilder.java | 27 +- .../cloud/datacatalog/v1/EntryType.java | 205 +- .../v1/ExportTaxonomiesRequest.java | 602 +-- .../v1/ExportTaxonomiesRequestOrBuilder.java | 75 +- .../v1/ExportTaxonomiesResponse.java | 396 +- .../v1/ExportTaxonomiesResponseOrBuilder.java | 36 +- .../cloud/datacatalog/v1/FieldType.java | 1430 +++--- .../datacatalog/v1/FieldTypeOrBuilder.java | 35 +- .../cloud/datacatalog/v1/FilesetSpec.java | 345 +- .../datacatalog/v1/FilesetSpecOrBuilder.java | 26 +- .../cloud/datacatalog/v1/GcsFileSpec.java | 490 +-- .../datacatalog/v1/GcsFileSpecOrBuilder.java | 50 +- .../cloud/datacatalog/v1/GcsFilesetSpec.java | 577 +-- .../v1/GcsFilesetSpecOrBuilder.java | 74 +- .../v1/GcsFilesetSpecOuterClass.java | 81 + .../datacatalog/v1/GetEntryGroupRequest.java | 430 +- .../v1/GetEntryGroupRequestOrBuilder.java | 43 +- .../cloud/datacatalog/v1/GetEntryRequest.java | 343 +- .../v1/GetEntryRequestOrBuilder.java | 29 + .../datacatalog/v1/GetPolicyTagRequest.java | 347 +- .../v1/GetPolicyTagRequestOrBuilder.java | 29 + .../datacatalog/v1/GetTagTemplateRequest.java | 350 +- .../v1/GetTagTemplateRequestOrBuilder.java | 29 + .../datacatalog/v1/GetTaxonomyRequest.java | 347 +- .../v1/GetTaxonomyRequestOrBuilder.java | 29 + .../datacatalog/v1/ImportEntriesMetadata.java | 566 +-- .../v1/ImportEntriesMetadataOrBuilder.java | 43 +- .../datacatalog/v1/ImportEntriesRequest.java | 547 +-- .../v1/ImportEntriesRequestOrBuilder.java | 56 +- .../datacatalog/v1/ImportEntriesResponse.java | 333 +- .../v1/ImportEntriesResponseOrBuilder.java | 30 +- .../v1/ImportTaxonomiesRequest.java | 593 +-- .../v1/ImportTaxonomiesRequestOrBuilder.java | 51 +- .../v1/ImportTaxonomiesResponse.java | 414 +- .../v1/ImportTaxonomiesResponseOrBuilder.java | 36 +- .../cloud/datacatalog/v1/InlineSource.java | 475 +- .../datacatalog/v1/InlineSourceOrBuilder.java | 53 + .../datacatalog/v1/IntegratedSystem.java | 124 +- .../datacatalog/v1/ListEntriesRequest.java | 535 +-- .../v1/ListEntriesRequestOrBuilder.java | 55 +- .../datacatalog/v1/ListEntriesResponse.java | 479 +- .../v1/ListEntriesResponseOrBuilder.java | 45 +- .../v1/ListEntryGroupsRequest.java | 453 +- .../v1/ListEntryGroupsRequestOrBuilder.java | 47 +- .../v1/ListEntryGroupsResponse.java | 483 +- .../v1/ListEntryGroupsResponseOrBuilder.java | 45 +- .../datacatalog/v1/ListPolicyTagsRequest.java | 453 +- .../v1/ListPolicyTagsRequestOrBuilder.java | 47 +- .../v1/ListPolicyTagsResponse.java | 483 +- .../v1/ListPolicyTagsResponseOrBuilder.java | 45 +- .../cloud/datacatalog/v1/ListTagsRequest.java | 446 +- .../v1/ListTagsRequestOrBuilder.java | 47 +- .../datacatalog/v1/ListTagsResponse.java | 485 +-- .../v1/ListTagsResponseOrBuilder.java | 46 +- .../datacatalog/v1/ListTaxonomiesRequest.java | 525 +-- .../v1/ListTaxonomiesRequestOrBuilder.java | 56 +- .../v1/ListTaxonomiesResponse.java | 486 +-- .../v1/ListTaxonomiesResponseOrBuilder.java | 45 +- .../cloud/datacatalog/v1/LocationName.java | 0 .../datacatalog/v1/LookerSystemSpec.java | 684 ++- .../v1/LookerSystemSpecOrBuilder.java | 72 +- .../datacatalog/v1/LookupEntryRequest.java | 709 ++- .../v1/LookupEntryRequestOrBuilder.java | 72 +- .../cloud/datacatalog/v1/ManagingSystem.java | 82 +- .../v1/ModifyEntryContactsRequest.java | 495 +-- .../ModifyEntryContactsRequestOrBuilder.java | 56 + .../v1/ModifyEntryOverviewRequest.java | 494 +-- .../ModifyEntryOverviewRequestOrBuilder.java | 56 + .../cloud/datacatalog/v1/PersonalDetails.java | 363 +- .../v1/PersonalDetailsOrBuilder.java | 29 +- .../cloud/datacatalog/v1/PhysicalSchema.java | 2594 +++++------ .../v1/PhysicalSchemaOrBuilder.java | 66 +- .../datacatalog/v1/PhysicalSchemaProto.java | 134 + .../cloud/datacatalog/v1/PolicyTag.java | 677 ++- .../datacatalog/v1/PolicyTagManagerProto.java | 373 ++ .../PolicyTagManagerSerializationProto.java | 217 + .../cloud/datacatalog/v1/PolicyTagName.java | 0 .../datacatalog/v1/PolicyTagOrBuilder.java | 84 +- .../datacatalog/v1/ReconcileTagsMetadata.java | 654 ++- .../v1/ReconcileTagsMetadataOrBuilder.java | 54 +- .../datacatalog/v1/ReconcileTagsRequest.java | 647 ++- .../v1/ReconcileTagsRequestOrBuilder.java | 74 +- .../datacatalog/v1/ReconcileTagsResponse.java | 355 +- .../v1/ReconcileTagsResponseOrBuilder.java | 27 +- ...enameTagTemplateFieldEnumValueRequest.java | 479 +- ...emplateFieldEnumValueRequestOrBuilder.java | 44 +- .../v1/RenameTagTemplateFieldRequest.java | 432 +- ...enameTagTemplateFieldRequestOrBuilder.java | 44 +- .../v1/ReplaceTaxonomyRequest.java | 509 +-- .../v1/ReplaceTaxonomyRequestOrBuilder.java | 56 + .../cloud/datacatalog/v1/RoutineSpec.java | 1478 +++---- .../datacatalog/v1/RoutineSpecOrBuilder.java | 74 +- .../google/cloud/datacatalog/v1/Schema.java | 388 +- .../cloud/datacatalog/v1/SchemaOrBuilder.java | 36 +- .../datacatalog/v1/SchemaOuterClass.java | 106 + .../google/cloud/datacatalog/v1/Search.java | 80 + .../datacatalog/v1/SearchCatalogRequest.java | 1548 +++---- .../v1/SearchCatalogRequestOrBuilder.java | 84 +- .../datacatalog/v1/SearchCatalogResponse.java | 606 +-- .../v1/SearchCatalogResponseOrBuilder.java | 66 +- .../datacatalog/v1/SearchCatalogResult.java | 1071 ++--- .../v1/SearchCatalogResultOrBuilder.java | 119 +- .../datacatalog/v1/SearchResultType.java | 89 +- .../datacatalog/v1/SerializedPolicyTag.java | 610 +-- .../v1/SerializedPolicyTagOrBuilder.java | 60 +- .../datacatalog/v1/SerializedTaxonomy.java | 729 ++-- .../v1/SerializedTaxonomyOrBuilder.java | 87 +- .../cloud/datacatalog/v1/ServiceSpec.java | 443 +- .../datacatalog/v1/ServiceSpecOrBuilder.java | 38 +- .../datacatalog/v1/SqlDatabaseSystemSpec.java | 466 +- .../v1/SqlDatabaseSystemSpecOrBuilder.java | 45 +- .../datacatalog/v1/StarEntryRequest.java | 347 +- .../v1/StarEntryRequestOrBuilder.java | 29 + .../datacatalog/v1/StarEntryResponse.java | 245 +- .../v1/StarEntryResponseOrBuilder.java | 9 + .../datacatalog/v1/StorageProperties.java | 427 +- .../v1/StoragePropertiesOrBuilder.java | 45 +- .../datacatalog/v1/SystemTimestamps.java | 562 +-- .../v1/SystemTimestampsOrBuilder.java | 51 +- .../cloud/datacatalog/v1/TableSourceType.java | 93 +- .../cloud/datacatalog/v1/TableSpec.java | 340 +- .../datacatalog/v1/TableSpecOrBuilder.java | 35 +- .../datacatalog/v1/TableSpecOuterClass.java | 114 + .../com/google/cloud/datacatalog/v1/Tag.java | 853 ++-- .../google/cloud/datacatalog/v1/TagField.java | 1184 ++--- .../datacatalog/v1/TagFieldOrBuilder.java | 82 +- .../google/cloud/datacatalog/v1/TagName.java | 0 .../cloud/datacatalog/v1/TagOrBuilder.java | 107 +- .../cloud/datacatalog/v1/TagTemplate.java | 713 ++- .../datacatalog/v1/TagTemplateField.java | 667 ++- .../v1/TagTemplateFieldEnumValueName.java | 0 .../datacatalog/v1/TagTemplateFieldName.java | 0 .../v1/TagTemplateFieldOrBuilder.java | 71 +- .../cloud/datacatalog/v1/TagTemplateName.java | 0 .../datacatalog/v1/TagTemplateOrBuilder.java | 89 +- .../cloud/datacatalog/v1/TaggedEntry.java | 873 ++-- .../datacatalog/v1/TaggedEntryOrBuilder.java | 102 +- .../com/google/cloud/datacatalog/v1/Tags.java | 212 + .../google/cloud/datacatalog/v1/Taxonomy.java | 1424 +++--- .../cloud/datacatalog/v1/TaxonomyName.java | 0 .../datacatalog/v1/TaxonomyOrBuilder.java | 126 +- .../cloud/datacatalog/v1/Timestamps.java | 68 + .../datacatalog/v1/UnstarEntryRequest.java | 347 +- .../v1/UnstarEntryRequestOrBuilder.java | 29 + .../datacatalog/v1/UnstarEntryResponse.java | 245 +- .../v1/UnstarEntryResponseOrBuilder.java | 9 + .../v1/UpdateEntryGroupRequest.java | 484 +- .../v1/UpdateEntryGroupRequestOrBuilder.java | 46 +- .../datacatalog/v1/UpdateEntryRequest.java | 458 +- .../v1/UpdateEntryRequestOrBuilder.java | 43 +- .../v1/UpdatePolicyTagRequest.java | 439 +- .../v1/UpdatePolicyTagRequestOrBuilder.java | 34 +- .../datacatalog/v1/UpdateTagRequest.java | 458 +- .../v1/UpdateTagRequestOrBuilder.java | 43 +- .../v1/UpdateTagTemplateFieldRequest.java | 633 +-- ...pdateTagTemplateFieldRequestOrBuilder.java | 72 +- .../v1/UpdateTagTemplateRequest.java | 485 +-- .../v1/UpdateTagTemplateRequestOrBuilder.java | 46 +- .../datacatalog/v1/UpdateTaxonomyRequest.java | 439 +- .../v1/UpdateTaxonomyRequestOrBuilder.java | 34 +- .../google/cloud/datacatalog/v1/Usage.java | 126 + .../cloud/datacatalog/v1/UsageSignal.java | 929 ++-- .../datacatalog/v1/UsageSignalOrBuilder.java | 125 +- .../cloud/datacatalog/v1/UsageStats.java | 386 +- .../datacatalog/v1/UsageStatsOrBuilder.java | 30 +- .../google/cloud/datacatalog/v1/ViewSpec.java | 309 +- .../datacatalog/v1/ViewSpecOrBuilder.java | 27 +- .../cloud/datacatalog/v1/bigquery.proto | 0 .../google/cloud/datacatalog/v1/common.proto | 0 .../cloud/datacatalog/v1/data_source.proto | 0 .../cloud/datacatalog/v1/datacatalog.proto | 37 +- .../cloud/datacatalog/v1/dataplex_spec.proto | 0 .../cloud/datacatalog/v1/dump_content.proto | 0 .../datacatalog/v1/gcs_fileset_spec.proto | 0 .../datacatalog/v1/physical_schema.proto | 0 .../datacatalog/v1/policytagmanager.proto | 0 .../v1/policytagmanagerserialization.proto | 0 .../google/cloud/datacatalog/v1/schema.proto | 0 .../google/cloud/datacatalog/v1/search.proto | 0 .../cloud/datacatalog/v1/table_spec.proto | 0 .../google/cloud/datacatalog/v1/tags.proto | 0 .../cloud/datacatalog/v1/timestamps.proto | 0 .../google/cloud/datacatalog/v1/usage.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createentry/AsyncCreateEntry.java | 0 .../createentry/SyncCreateEntry.java | 0 ...cCreateEntryEntrygroupnameStringEntry.java | 0 .../SyncCreateEntryStringStringEntry.java | 0 .../AsyncCreateEntryGroup.java | 0 .../SyncCreateEntryGroup.java | 0 ...ntryGroupLocationnameStringEntrygroup.java | 0 ...reateEntryGroupStringStringEntrygroup.java | 0 .../datacatalog/createtag/AsyncCreateTag.java | 0 .../datacatalog/createtag/SyncCreateTag.java | 0 .../createtag/SyncCreateTagEntrynameTag.java | 0 .../createtag/SyncCreateTagStringTag.java | 0 .../AsyncCreateTagTemplate.java | 0 .../SyncCreateTagTemplate.java | 0 ...TemplateLocationnameStringTagtemplate.java | 0 ...ateTagTemplateStringStringTagtemplate.java | 0 .../AsyncCreateTagTemplateField.java | 0 .../SyncCreateTagTemplateField.java | 0 ...lateFieldStringStringTagtemplatefield.java | 0 ...TagtemplatenameStringTagtemplatefield.java | 0 .../deleteentry/AsyncDeleteEntry.java | 0 .../deleteentry/SyncDeleteEntry.java | 0 .../deleteentry/SyncDeleteEntryEntryname.java | 0 .../deleteentry/SyncDeleteEntryString.java | 0 .../AsyncDeleteEntryGroup.java | 0 .../SyncDeleteEntryGroup.java | 0 .../SyncDeleteEntryGroupEntrygroupname.java | 0 .../SyncDeleteEntryGroupString.java | 0 .../datacatalog/deletetag/AsyncDeleteTag.java | 0 .../datacatalog/deletetag/SyncDeleteTag.java | 0 .../deletetag/SyncDeleteTagEntryname.java | 0 .../deletetag/SyncDeleteTagString.java | 0 .../AsyncDeleteTagTemplate.java | 0 .../SyncDeleteTagTemplate.java | 0 .../SyncDeleteTagTemplateStringBoolean.java | 0 ...leteTagTemplateTagtemplatenameBoolean.java | 0 .../AsyncDeleteTagTemplateField.java | 0 .../SyncDeleteTagTemplateField.java | 0 ...ncDeleteTagTemplateFieldStringBoolean.java | 0 ...plateFieldTagtemplatefieldnameBoolean.java | 0 .../datacatalog/getentry/AsyncGetEntry.java | 0 .../v1/datacatalog/getentry/SyncGetEntry.java | 0 .../getentry/SyncGetEntryEntryname.java | 0 .../getentry/SyncGetEntryString.java | 0 .../getentrygroup/AsyncGetEntryGroup.java | 0 .../getentrygroup/SyncGetEntryGroup.java | 0 .../SyncGetEntryGroupEntrygroupname.java | 0 ...cGetEntryGroupEntrygroupnameFieldmask.java | 0 .../SyncGetEntryGroupString.java | 0 .../SyncGetEntryGroupStringFieldmask.java | 0 .../getiampolicy/AsyncGetIamPolicy.java | 0 .../getiampolicy/SyncGetIamPolicy.java | 0 .../SyncGetIamPolicyResourcename.java | 0 .../getiampolicy/SyncGetIamPolicyString.java | 0 .../gettagtemplate/AsyncGetTagTemplate.java | 0 .../gettagtemplate/SyncGetTagTemplate.java | 0 .../SyncGetTagTemplateString.java | 0 .../SyncGetTagTemplateTagtemplatename.java | 0 .../importentries/AsyncImportEntries.java | 0 .../importentries/AsyncImportEntriesLRO.java | 0 .../importentries/SyncImportEntries.java | 0 .../listentries/AsyncListEntries.java | 0 .../listentries/AsyncListEntriesPaged.java | 0 .../listentries/SyncListEntries.java | 0 .../SyncListEntriesEntrygroupname.java | 0 .../listentries/SyncListEntriesString.java | 0 .../listentrygroups/AsyncListEntryGroups.java | 0 .../AsyncListEntryGroupsPaged.java | 0 .../listentrygroups/SyncListEntryGroups.java | 0 .../SyncListEntryGroupsLocationname.java | 0 .../SyncListEntryGroupsString.java | 0 .../datacatalog/listtags/AsyncListTags.java | 0 .../listtags/AsyncListTagsPaged.java | 0 .../v1/datacatalog/listtags/SyncListTags.java | 0 .../listtags/SyncListTagsEntryname.java | 0 .../listtags/SyncListTagsString.java | 0 .../lookupentry/AsyncLookupEntry.java | 0 .../lookupentry/SyncLookupEntry.java | 0 .../AsyncModifyEntryContacts.java | 0 .../SyncModifyEntryContacts.java | 0 .../AsyncModifyEntryOverview.java | 0 .../SyncModifyEntryOverview.java | 0 .../reconciletags/AsyncReconcileTags.java | 0 .../reconciletags/AsyncReconcileTagsLRO.java | 0 .../reconciletags/SyncReconcileTags.java | 0 .../AsyncRenameTagTemplateField.java | 0 .../SyncRenameTagTemplateField.java | 0 ...yncRenameTagTemplateFieldStringString.java | 0 ...mplateFieldTagtemplatefieldnameString.java | 0 .../AsyncRenameTagTemplateFieldEnumValue.java | 0 .../SyncRenameTagTemplateFieldEnumValue.java | 0 ...TagTemplateFieldEnumValueStringString.java | 0 ...ueTagtemplatefieldenumvaluenameString.java | 0 .../searchcatalog/AsyncSearchCatalog.java | 0 .../AsyncSearchCatalogPaged.java | 0 .../searchcatalog/SyncSearchCatalog.java | 0 ...atalogSearchcatalogrequestscopeString.java | 0 .../setiampolicy/AsyncSetIamPolicy.java | 0 .../setiampolicy/SyncSetIamPolicy.java | 0 .../SyncSetIamPolicyResourcenamePolicy.java | 0 .../SyncSetIamPolicyStringPolicy.java | 0 .../datacatalog/starentry/AsyncStarEntry.java | 0 .../datacatalog/starentry/SyncStarEntry.java | 0 .../starentry/SyncStarEntryEntryname.java | 0 .../starentry/SyncStarEntryString.java | 0 .../AsyncTestIamPermissions.java | 0 .../SyncTestIamPermissions.java | 0 .../unstarentry/AsyncUnstarEntry.java | 0 .../unstarentry/SyncUnstarEntry.java | 0 .../unstarentry/SyncUnstarEntryEntryname.java | 0 .../unstarentry/SyncUnstarEntryString.java | 0 .../updateentry/AsyncUpdateEntry.java | 0 .../updateentry/SyncUpdateEntry.java | 0 .../updateentry/SyncUpdateEntryEntry.java | 0 .../SyncUpdateEntryEntryFieldmask.java | 0 .../AsyncUpdateEntryGroup.java | 0 .../SyncUpdateEntryGroup.java | 0 .../SyncUpdateEntryGroupEntrygroup.java | 0 ...ncUpdateEntryGroupEntrygroupFieldmask.java | 0 .../datacatalog/updatetag/AsyncUpdateTag.java | 0 .../datacatalog/updatetag/SyncUpdateTag.java | 0 .../updatetag/SyncUpdateTagTag.java | 0 .../updatetag/SyncUpdateTagTagFieldmask.java | 0 .../AsyncUpdateTagTemplate.java | 0 .../SyncUpdateTagTemplate.java | 0 .../SyncUpdateTagTemplateTagtemplate.java | 0 ...UpdateTagTemplateTagtemplateFieldmask.java | 0 .../AsyncUpdateTagTemplateField.java | 0 .../SyncUpdateTagTemplateField.java | 0 ...agTemplateFieldStringTagtemplatefield.java | 0 ...eFieldStringTagtemplatefieldFieldmask.java | 0 ...dTagtemplatefieldnameTagtemplatefield.java | 0 ...atefieldnameTagtemplatefieldFieldmask.java | 0 .../SyncCreateEntryGroup.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createpolicytag/AsyncCreatePolicyTag.java | 0 .../createpolicytag/SyncCreatePolicyTag.java | 0 .../SyncCreatePolicyTagStringPolicytag.java | 0 ...cCreatePolicyTagTaxonomynamePolicytag.java | 0 .../createtaxonomy/AsyncCreateTaxonomy.java | 0 .../createtaxonomy/SyncCreateTaxonomy.java | 0 ...yncCreateTaxonomyLocationnameTaxonomy.java | 0 .../SyncCreateTaxonomyStringTaxonomy.java | 0 .../deletepolicytag/AsyncDeletePolicyTag.java | 0 .../deletepolicytag/SyncDeletePolicyTag.java | 0 .../SyncDeletePolicyTagPolicytagname.java | 0 .../SyncDeletePolicyTagString.java | 0 .../deletetaxonomy/AsyncDeleteTaxonomy.java | 0 .../deletetaxonomy/SyncDeleteTaxonomy.java | 0 .../SyncDeleteTaxonomyString.java | 0 .../SyncDeleteTaxonomyTaxonomyname.java | 0 .../getiampolicy/AsyncGetIamPolicy.java | 0 .../getiampolicy/SyncGetIamPolicy.java | 0 .../getpolicytag/AsyncGetPolicyTag.java | 0 .../getpolicytag/SyncGetPolicyTag.java | 0 .../SyncGetPolicyTagPolicytagname.java | 0 .../getpolicytag/SyncGetPolicyTagString.java | 0 .../gettaxonomy/AsyncGetTaxonomy.java | 0 .../gettaxonomy/SyncGetTaxonomy.java | 0 .../gettaxonomy/SyncGetTaxonomyString.java | 0 .../SyncGetTaxonomyTaxonomyname.java | 0 .../listpolicytags/AsyncListPolicyTags.java | 0 .../AsyncListPolicyTagsPaged.java | 0 .../listpolicytags/SyncListPolicyTags.java | 0 .../SyncListPolicyTagsString.java | 0 .../SyncListPolicyTagsTaxonomyname.java | 0 .../listtaxonomies/AsyncListTaxonomies.java | 0 .../AsyncListTaxonomiesPaged.java | 0 .../listtaxonomies/SyncListTaxonomies.java | 0 .../SyncListTaxonomiesLocationname.java | 0 .../SyncListTaxonomiesString.java | 0 .../setiampolicy/AsyncSetIamPolicy.java | 0 .../setiampolicy/SyncSetIamPolicy.java | 0 .../AsyncTestIamPermissions.java | 0 .../SyncTestIamPermissions.java | 0 .../updatepolicytag/AsyncUpdatePolicyTag.java | 0 .../updatepolicytag/SyncUpdatePolicyTag.java | 0 .../SyncUpdatePolicyTagPolicytag.java | 0 .../updatetaxonomy/AsyncUpdateTaxonomy.java | 0 .../updatetaxonomy/SyncUpdateTaxonomy.java | 0 .../SyncUpdateTaxonomyTaxonomy.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncExportTaxonomies.java | 0 .../SyncExportTaxonomies.java | 0 .../AsyncImportTaxonomies.java | 0 .../SyncImportTaxonomies.java | 0 .../replacetaxonomy/AsyncReplaceTaxonomy.java | 0 .../replacetaxonomy/SyncReplaceTaxonomy.java | 0 .../replacetaxonomy/SyncReplaceTaxonomy.java | 0 .../createtaxonomy/SyncCreateTaxonomy.java | 0 .../SyncCreateEntryGroup.java | 0 .../replacetaxonomy/SyncReplaceTaxonomy.java | 0 .../createtaxonomy/SyncCreateTaxonomy.java | 0 .../v1beta1/DataCatalogClient.java | 270 +- .../v1beta1/DataCatalogSettings.java | 13 + .../v1beta1/PolicyTagManagerClient.java | 3 + .../PolicyTagManagerSerializationClient.java | 0 ...PolicyTagManagerSerializationSettings.java | 1 + .../v1beta1/PolicyTagManagerSettings.java | 1 + .../datacatalog/v1beta1/gapic_metadata.json | 3 + .../datacatalog/v1beta1/package-info.java | 0 .../v1beta1/stub/DataCatalogStub.java | 7 + .../v1beta1/stub/DataCatalogStubSettings.java | 156 +- .../stub/GrpcDataCatalogCallableFactory.java | 0 .../v1beta1/stub/GrpcDataCatalogStub.java | 38 + .../GrpcPolicyTagManagerCallableFactory.java | 0 ...agManagerSerializationCallableFactory.java | 0 ...GrpcPolicyTagManagerSerializationStub.java | 1 + .../stub/GrpcPolicyTagManagerStub.java | 1 + .../HttpJsonDataCatalogCallableFactory.java | 0 .../v1beta1/stub/HttpJsonDataCatalogStub.java | 65 + ...tpJsonPolicyTagManagerCallableFactory.java | 0 ...agManagerSerializationCallableFactory.java | 0 ...JsonPolicyTagManagerSerializationStub.java | 0 .../stub/HttpJsonPolicyTagManagerStub.java | 1 + .../PolicyTagManagerSerializationStub.java | 0 ...cyTagManagerSerializationStubSettings.java | 22 +- .../v1beta1/stub/PolicyTagManagerStub.java | 0 .../stub/PolicyTagManagerStubSettings.java | 66 +- .../DataCatalogClientHttpJsonTest.java | 141 + .../v1beta1/DataCatalogClientTest.java | 132 +- .../datacatalog/v1beta1/MockDataCatalog.java | 0 .../v1beta1/MockDataCatalogImpl.java | 22 + .../datacatalog/v1beta1/MockIAMPolicy.java | 59 + .../v1beta1/MockIAMPolicyImpl.java | 59 + .../v1beta1/MockPolicyTagManager.java | 0 .../v1beta1/MockPolicyTagManagerImpl.java | 0 .../MockPolicyTagManagerSerialization.java | 0 ...MockPolicyTagManagerSerializationImpl.java | 0 .../PolicyTagManagerClientHttpJsonTest.java | 21 + .../v1beta1/PolicyTagManagerClientTest.java | 20 +- ...anagerSerializationClientHttpJsonTest.java | 0 ...licyTagManagerSerializationClientTest.java | 4 +- .../datacatalog/v1beta1/DataCatalogGrpc.java | 3123 +++++++++++++ .../v1beta1/PolicyTagManagerGrpc.java | 1373 ++++++ .../PolicyTagManagerSerializationGrpc.java | 338 +- .../v1beta1/BigQueryDateShardedSpec.java | 515 +-- .../BigQueryDateShardedSpecOrBuilder.java | 61 +- .../v1beta1/BigQueryTableSpec.java | 567 +-- .../v1beta1/BigQueryTableSpecOrBuilder.java | 48 +- .../datacatalog/v1beta1/ColumnSchema.java | 885 ++-- .../v1beta1/ColumnSchemaOrBuilder.java | 119 +- .../cloud/datacatalog/v1beta1/Common.java | 47 + .../v1beta1/CreateEntryGroupRequest.java | 527 +-- .../CreateEntryGroupRequestOrBuilder.java | 52 +- .../v1beta1/CreateEntryRequest.java | 567 +-- .../v1beta1/CreateEntryRequestOrBuilder.java | 64 +- .../v1beta1/CreatePolicyTagRequest.java | 444 +- .../CreatePolicyTagRequestOrBuilder.java | 43 +- .../datacatalog/v1beta1/CreateTagRequest.java | 506 +-- .../v1beta1/CreateTagRequestOrBuilder.java | 60 +- .../CreateTagTemplateFieldRequest.java | 617 +-- ...reateTagTemplateFieldRequestOrBuilder.java | 64 +- .../v1beta1/CreateTagTemplateRequest.java | 576 +-- .../CreateTagTemplateRequestOrBuilder.java | 64 +- .../v1beta1/CreateTaxonomyRequest.java | 444 +- .../CreateTaxonomyRequestOrBuilder.java | 43 +- .../datacatalog/v1beta1/Datacatalog.java | 766 ++++ .../v1beta1/DeleteEntryGroupRequest.java | 394 +- .../DeleteEntryGroupRequestOrBuilder.java | 41 + .../v1beta1/DeleteEntryRequest.java | 350 +- .../v1beta1/DeleteEntryRequestOrBuilder.java | 33 + .../v1beta1/DeletePolicyTagRequest.java | 378 +- .../DeletePolicyTagRequestOrBuilder.java | 31 + .../datacatalog/v1beta1/DeleteTagRequest.java | 350 +- .../v1beta1/DeleteTagRequestOrBuilder.java | 33 + .../DeleteTagTemplateFieldRequest.java | 419 +- ...eleteTagTemplateFieldRequestOrBuilder.java | 38 +- .../v1beta1/DeleteTagTemplateRequest.java | 394 +- .../DeleteTagTemplateRequestOrBuilder.java | 38 +- .../v1beta1/DeleteTaxonomyRequest.java | 350 +- .../DeleteTaxonomyRequestOrBuilder.java | 31 + .../cloud/datacatalog/v1beta1/Entry.java | 2037 ++++----- .../cloud/datacatalog/v1beta1/EntryGroup.java | 658 ++- .../datacatalog/v1beta1/EntryGroupName.java | 0 .../v1beta1/EntryGroupOrBuilder.java | 77 +- .../cloud/datacatalog/v1beta1/EntryName.java | 0 .../datacatalog/v1beta1/EntryOrBuilder.java | 247 +- .../cloud/datacatalog/v1beta1/EntryType.java | 96 +- .../v1beta1/ExportTaxonomiesRequest.java | 612 +-- .../ExportTaxonomiesRequestOrBuilder.java | 75 +- .../v1beta1/ExportTaxonomiesResponse.java | 422 +- .../ExportTaxonomiesResponseOrBuilder.java | 33 +- .../cloud/datacatalog/v1beta1/FieldType.java | 1752 +++----- .../v1beta1/FieldTypeOrBuilder.java | 35 +- .../datacatalog/v1beta1/GcsFileSpec.java | 503 +-- .../v1beta1/GcsFileSpecOrBuilder.java | 50 +- .../datacatalog/v1beta1/GcsFilesetSpec.java | 686 ++- .../v1beta1/GcsFilesetSpecOrBuilder.java | 91 +- .../v1beta1/GcsFilesetSpecOuterClass.java | 83 + .../v1beta1/GetEntryGroupRequest.java | 433 +- .../GetEntryGroupRequestOrBuilder.java | 43 +- .../datacatalog/v1beta1/GetEntryRequest.java | 347 +- .../v1beta1/GetEntryRequestOrBuilder.java | 33 + .../v1beta1/GetPolicyTagRequest.java | 350 +- .../v1beta1/GetPolicyTagRequestOrBuilder.java | 29 + .../v1beta1/GetTagTemplateRequest.java | 350 +- .../GetTagTemplateRequestOrBuilder.java | 33 + .../v1beta1/GetTaxonomyRequest.java | 350 +- .../v1beta1/GetTaxonomyRequestOrBuilder.java | 29 + .../v1beta1/ImportTaxonomiesRequest.java | 543 +-- .../ImportTaxonomiesRequestOrBuilder.java | 60 + .../v1beta1/ImportTaxonomiesResponse.java | 418 +- .../ImportTaxonomiesResponseOrBuilder.java | 36 +- .../datacatalog/v1beta1/InlineSource.java | 501 +-- .../v1beta1/InlineSourceOrBuilder.java | 53 + .../datacatalog/v1beta1/IntegratedSystem.java | 82 +- .../v1beta1/ListEntriesRequest.java | 538 +-- .../v1beta1/ListEntriesRequestOrBuilder.java | 55 +- .../v1beta1/ListEntriesResponse.java | 483 +- .../v1beta1/ListEntriesResponseOrBuilder.java | 45 +- .../v1beta1/ListEntryGroupsRequest.java | 525 +-- .../ListEntryGroupsRequestOrBuilder.java | 67 +- .../v1beta1/ListEntryGroupsResponse.java | 476 +- .../ListEntryGroupsResponseOrBuilder.java | 45 +- .../v1beta1/ListPolicyTagsRequest.java | 453 +- .../ListPolicyTagsRequestOrBuilder.java | 47 +- .../v1beta1/ListPolicyTagsResponse.java | 480 +- .../ListPolicyTagsResponseOrBuilder.java | 45 +- .../datacatalog/v1beta1/ListTagsRequest.java | 478 +- .../v1beta1/ListTagsRequestOrBuilder.java | 55 +- .../datacatalog/v1beta1/ListTagsResponse.java | 482 +- .../v1beta1/ListTagsResponseOrBuilder.java | 45 +- .../v1beta1/ListTaxonomiesRequest.java | 622 +-- .../ListTaxonomiesRequestOrBuilder.java | 69 +- .../v1beta1/ListTaxonomiesResponse.java | 480 +- .../ListTaxonomiesResponseOrBuilder.java | 45 +- .../datacatalog/v1beta1/LocationName.java | 0 .../v1beta1/LookupEntryRequest.java | 497 +-- .../v1beta1/LookupEntryRequestOrBuilder.java | 48 +- .../datacatalog/v1beta1/ManagingSystem.java | 151 + .../cloud/datacatalog/v1beta1/PolicyTag.java | 733 ++-- .../v1beta1/PolicyTagManagerProto.java | 379 ++ .../PolicyTagManagerSerializationProto.java | 184 + .../datacatalog/v1beta1/PolicyTagName.java | 0 .../v1beta1/PolicyTagOrBuilder.java | 100 +- ...enameTagTemplateFieldEnumValueRequest.java | 764 ++++ ...emplateFieldEnumValueRequestOrBuilder.java | 55 + .../RenameTagTemplateFieldRequest.java | 478 +- ...enameTagTemplateFieldRequestOrBuilder.java | 50 +- .../cloud/datacatalog/v1beta1/Schema.java | 581 +-- .../datacatalog/v1beta1/SchemaOrBuilder.java | 58 + .../datacatalog/v1beta1/SchemaOuterClass.java | 79 + .../cloud/datacatalog/v1beta1/Search.java | 68 + .../v1beta1/SearchCatalogRequest.java | 2247 ++++++---- .../SearchCatalogRequestOrBuilder.java | 94 +- .../v1beta1/SearchCatalogResponse.java | 850 ++-- .../SearchCatalogResponseOrBuilder.java | 136 + .../v1beta1/SearchCatalogResult.java | 762 ++-- .../v1beta1/SearchCatalogResultOrBuilder.java | 78 +- .../datacatalog/v1beta1/SearchResultType.java | 89 +- .../v1beta1/SerializedPolicyTag.java | 878 ++-- .../v1beta1/SerializedPolicyTagOrBuilder.java | 92 +- .../v1beta1/SerializedTaxonomy.java | 902 ++-- .../v1beta1/SerializedTaxonomyOrBuilder.java | 106 +- .../datacatalog/v1beta1/SystemTimestamps.java | 565 +-- .../v1beta1/SystemTimestampsOrBuilder.java | 51 +- .../datacatalog/v1beta1/TableSourceType.java | 103 +- .../cloud/datacatalog/v1beta1/TableSpec.java | 382 +- .../v1beta1/TableSpecOrBuilder.java | 37 + .../v1beta1/TableSpecOuterClass.java | 114 + .../google/cloud/datacatalog/v1beta1/Tag.java | 960 ++-- .../cloud/datacatalog/v1beta1/TagField.java | 1119 ++--- .../v1beta1/TagFieldOrBuilder.java | 75 +- .../cloud/datacatalog/v1beta1/TagName.java | 0 .../datacatalog/v1beta1/TagOrBuilder.java | 143 +- .../datacatalog/v1beta1/TagTemplate.java | 688 ++- .../datacatalog/v1beta1/TagTemplateField.java | 791 ++-- .../TagTemplateFieldEnumValueName.java | 309 ++ .../v1beta1/TagTemplateFieldName.java | 0 .../v1beta1/TagTemplateFieldOrBuilder.java | 84 +- .../datacatalog/v1beta1/TagTemplateName.java | 0 .../v1beta1/TagTemplateOrBuilder.java | 84 +- .../cloud/datacatalog/v1beta1/Tags.java | 212 + .../cloud/datacatalog/v1beta1/Taxonomy.java | 2759 ++++++++++++ .../datacatalog/v1beta1/TaxonomyName.java | 0 .../v1beta1/TaxonomyOrBuilder.java | 212 + .../cloud/datacatalog/v1beta1/Timestamps.java | 68 + .../v1beta1/UpdateEntryGroupRequest.java | 579 ++- .../UpdateEntryGroupRequestOrBuilder.java | 67 +- .../v1beta1/UpdateEntryRequest.java | 727 ++-- .../v1beta1/UpdateEntryRequestOrBuilder.java | 106 +- .../v1beta1/UpdatePolicyTagRequest.java | 436 +- .../UpdatePolicyTagRequestOrBuilder.java | 34 +- .../datacatalog/v1beta1/UpdateTagRequest.java | 566 ++- .../v1beta1/UpdateTagRequestOrBuilder.java | 67 +- .../UpdateTagTemplateFieldRequest.java | 886 ++-- ...pdateTagTemplateFieldRequestOrBuilder.java | 132 + .../v1beta1/UpdateTagTemplateRequest.java | 628 ++- .../UpdateTagTemplateRequestOrBuilder.java | 78 + .../v1beta1/UpdateTaxonomyRequest.java | 436 +- .../UpdateTaxonomyRequestOrBuilder.java | 34 +- .../cloud/datacatalog/v1beta1/Usage.java | 89 + .../datacatalog/v1beta1/UsageSignal.java | 976 +++++ .../v1beta1/UsageSignalOrBuilder.java | 95 + .../cloud/datacatalog/v1beta1/UsageStats.java | 769 ++++ .../v1beta1/UsageStatsOrBuilder.java | 51 + .../cloud/datacatalog/v1beta1/ViewSpec.java | 312 +- .../v1beta1/ViewSpecOrBuilder.java | 27 +- .../cloud/datacatalog/v1beta1/common.proto | 15 +- .../datacatalog/v1beta1/datacatalog.proto | 294 +- .../v1beta1/gcs_fileset_spec.proto | 12 +- .../v1beta1/policytagmanager.proto | 78 +- .../policytagmanagerserialization.proto | 39 +- .../cloud/datacatalog/v1beta1/schema.proto | 15 +- .../cloud/datacatalog/v1beta1/search.proto | 8 +- .../datacatalog/v1beta1/table_spec.proto | 21 +- .../cloud/datacatalog/v1beta1/tags.proto | 52 +- .../datacatalog/v1beta1/timestamps.proto | 5 +- .../cloud/datacatalog/v1beta1/usage.proto | 60 + .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createentry/AsyncCreateEntry.java | 0 .../createentry/SyncCreateEntry.java | 0 ...cCreateEntryEntrygroupnameStringEntry.java | 0 .../SyncCreateEntryStringStringEntry.java | 0 .../AsyncCreateEntryGroup.java | 0 .../SyncCreateEntryGroup.java | 0 ...ntryGroupLocationnameStringEntrygroup.java | 0 ...reateEntryGroupStringStringEntrygroup.java | 0 .../datacatalog/createtag/AsyncCreateTag.java | 0 .../datacatalog/createtag/SyncCreateTag.java | 0 .../createtag/SyncCreateTagEntrynameTag.java | 0 .../createtag/SyncCreateTagStringTag.java | 0 .../AsyncCreateTagTemplate.java | 0 .../SyncCreateTagTemplate.java | 0 ...TemplateLocationnameStringTagtemplate.java | 0 ...ateTagTemplateStringStringTagtemplate.java | 0 .../AsyncCreateTagTemplateField.java | 0 .../SyncCreateTagTemplateField.java | 0 ...lateFieldStringStringTagtemplatefield.java | 0 ...TagtemplatenameStringTagtemplatefield.java | 0 .../deleteentry/AsyncDeleteEntry.java | 0 .../deleteentry/SyncDeleteEntry.java | 0 .../deleteentry/SyncDeleteEntryEntryname.java | 0 .../deleteentry/SyncDeleteEntryString.java | 0 .../AsyncDeleteEntryGroup.java | 0 .../SyncDeleteEntryGroup.java | 0 .../SyncDeleteEntryGroupEntrygroupname.java | 0 .../SyncDeleteEntryGroupString.java | 0 .../datacatalog/deletetag/AsyncDeleteTag.java | 0 .../datacatalog/deletetag/SyncDeleteTag.java | 0 .../deletetag/SyncDeleteTagEntryname.java | 0 .../deletetag/SyncDeleteTagString.java | 0 .../AsyncDeleteTagTemplate.java | 0 .../SyncDeleteTagTemplate.java | 0 .../SyncDeleteTagTemplateStringBoolean.java | 0 ...leteTagTemplateTagtemplatenameBoolean.java | 0 .../AsyncDeleteTagTemplateField.java | 0 .../SyncDeleteTagTemplateField.java | 0 ...ncDeleteTagTemplateFieldStringBoolean.java | 0 ...plateFieldTagtemplatefieldnameBoolean.java | 0 .../datacatalog/getentry/AsyncGetEntry.java | 0 .../datacatalog/getentry/SyncGetEntry.java | 0 .../getentry/SyncGetEntryEntryname.java | 0 .../getentry/SyncGetEntryString.java | 0 .../getentrygroup/AsyncGetEntryGroup.java | 0 .../getentrygroup/SyncGetEntryGroup.java | 0 .../SyncGetEntryGroupEntrygroupname.java | 0 ...cGetEntryGroupEntrygroupnameFieldmask.java | 0 .../SyncGetEntryGroupString.java | 0 .../SyncGetEntryGroupStringFieldmask.java | 0 .../getiampolicy/AsyncGetIamPolicy.java | 0 .../getiampolicy/SyncGetIamPolicy.java | 0 .../SyncGetIamPolicyResourcename.java | 0 .../getiampolicy/SyncGetIamPolicyString.java | 0 .../gettagtemplate/AsyncGetTagTemplate.java | 0 .../gettagtemplate/SyncGetTagTemplate.java | 0 .../SyncGetTagTemplateString.java | 0 .../SyncGetTagTemplateTagtemplatename.java | 0 .../listentries/AsyncListEntries.java | 0 .../listentries/AsyncListEntriesPaged.java | 0 .../listentries/SyncListEntries.java | 0 .../SyncListEntriesEntrygroupname.java | 0 .../listentries/SyncListEntriesString.java | 0 .../listentrygroups/AsyncListEntryGroups.java | 0 .../AsyncListEntryGroupsPaged.java | 0 .../listentrygroups/SyncListEntryGroups.java | 0 .../SyncListEntryGroupsLocationname.java | 0 .../SyncListEntryGroupsString.java | 0 .../datacatalog/listtags/AsyncListTags.java | 0 .../listtags/AsyncListTagsPaged.java | 0 .../datacatalog/listtags/SyncListTags.java | 0 .../listtags/SyncListTagsEntryname.java | 0 .../listtags/SyncListTagsString.java | 0 .../lookupentry/AsyncLookupEntry.java | 0 .../lookupentry/SyncLookupEntry.java | 0 .../AsyncRenameTagTemplateField.java | 0 .../SyncRenameTagTemplateField.java | 0 ...yncRenameTagTemplateFieldStringString.java | 0 ...mplateFieldTagtemplatefieldnameString.java | 0 .../AsyncRenameTagTemplateFieldEnumValue.java | 58 + .../SyncRenameTagTemplateFieldEnumValue.java | 54 + ...TagTemplateFieldEnumValueStringString.java | 51 + ...ueTagtemplatefieldenumvaluenameString.java | 51 + .../searchcatalog/AsyncSearchCatalog.java | 0 .../AsyncSearchCatalogPaged.java | 0 .../searchcatalog/SyncSearchCatalog.java | 0 ...atalogSearchcatalogrequestscopeString.java | 0 .../setiampolicy/AsyncSetIamPolicy.java | 0 .../setiampolicy/SyncSetIamPolicy.java | 0 .../SyncSetIamPolicyResourcenamePolicy.java | 0 .../SyncSetIamPolicyStringPolicy.java | 0 .../AsyncTestIamPermissions.java | 0 .../SyncTestIamPermissions.java | 0 .../updateentry/AsyncUpdateEntry.java | 0 .../updateentry/SyncUpdateEntry.java | 0 .../updateentry/SyncUpdateEntryEntry.java | 0 .../SyncUpdateEntryEntryFieldmask.java | 0 .../AsyncUpdateEntryGroup.java | 0 .../SyncUpdateEntryGroup.java | 0 .../SyncUpdateEntryGroupEntrygroup.java | 0 ...ncUpdateEntryGroupEntrygroupFieldmask.java | 0 .../datacatalog/updatetag/AsyncUpdateTag.java | 0 .../datacatalog/updatetag/SyncUpdateTag.java | 0 .../updatetag/SyncUpdateTagTag.java | 0 .../updatetag/SyncUpdateTagTagFieldmask.java | 0 .../AsyncUpdateTagTemplate.java | 0 .../SyncUpdateTagTemplate.java | 0 .../SyncUpdateTagTemplateTagtemplate.java | 0 ...UpdateTagTemplateTagtemplateFieldmask.java | 0 .../AsyncUpdateTagTemplateField.java | 0 .../SyncUpdateTagTemplateField.java | 0 ...agTemplateFieldStringTagtemplatefield.java | 0 ...eFieldStringTagtemplatefieldFieldmask.java | 0 ...dTagtemplatefieldnameTagtemplatefield.java | 0 ...atefieldnameTagtemplatefieldFieldmask.java | 0 .../SyncCreateEntryGroup.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createpolicytag/AsyncCreatePolicyTag.java | 0 .../createpolicytag/SyncCreatePolicyTag.java | 0 .../SyncCreatePolicyTagStringPolicytag.java | 0 ...cCreatePolicyTagTaxonomynamePolicytag.java | 0 .../createtaxonomy/AsyncCreateTaxonomy.java | 0 .../createtaxonomy/SyncCreateTaxonomy.java | 0 ...yncCreateTaxonomyLocationnameTaxonomy.java | 0 .../SyncCreateTaxonomyStringTaxonomy.java | 0 .../deletepolicytag/AsyncDeletePolicyTag.java | 0 .../deletepolicytag/SyncDeletePolicyTag.java | 0 .../SyncDeletePolicyTagPolicytagname.java | 0 .../SyncDeletePolicyTagString.java | 0 .../deletetaxonomy/AsyncDeleteTaxonomy.java | 0 .../deletetaxonomy/SyncDeleteTaxonomy.java | 0 .../SyncDeleteTaxonomyString.java | 0 .../SyncDeleteTaxonomyTaxonomyname.java | 0 .../getiampolicy/AsyncGetIamPolicy.java | 0 .../getiampolicy/SyncGetIamPolicy.java | 0 .../getpolicytag/AsyncGetPolicyTag.java | 0 .../getpolicytag/SyncGetPolicyTag.java | 0 .../SyncGetPolicyTagPolicytagname.java | 0 .../getpolicytag/SyncGetPolicyTagString.java | 0 .../gettaxonomy/AsyncGetTaxonomy.java | 0 .../gettaxonomy/SyncGetTaxonomy.java | 0 .../gettaxonomy/SyncGetTaxonomyString.java | 0 .../SyncGetTaxonomyTaxonomyname.java | 0 .../listpolicytags/AsyncListPolicyTags.java | 0 .../AsyncListPolicyTagsPaged.java | 0 .../listpolicytags/SyncListPolicyTags.java | 0 .../SyncListPolicyTagsString.java | 0 .../SyncListPolicyTagsTaxonomyname.java | 0 .../listtaxonomies/AsyncListTaxonomies.java | 1 + .../AsyncListTaxonomiesPaged.java | 1 + .../listtaxonomies/SyncListTaxonomies.java | 1 + .../SyncListTaxonomiesLocationname.java | 0 .../SyncListTaxonomiesString.java | 0 .../setiampolicy/AsyncSetIamPolicy.java | 0 .../setiampolicy/SyncSetIamPolicy.java | 0 .../AsyncTestIamPermissions.java | 0 .../SyncTestIamPermissions.java | 0 .../updatepolicytag/AsyncUpdatePolicyTag.java | 0 .../updatepolicytag/SyncUpdatePolicyTag.java | 0 .../SyncUpdatePolicyTagPolicytag.java | 0 .../updatetaxonomy/AsyncUpdateTaxonomy.java | 0 .../updatetaxonomy/SyncUpdateTaxonomy.java | 0 .../SyncUpdateTaxonomyTaxonomy.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncExportTaxonomies.java | 0 .../SyncExportTaxonomies.java | 0 .../AsyncImportTaxonomies.java | 0 .../SyncImportTaxonomies.java | 0 .../SyncImportTaxonomies.java | 0 .../createtaxonomy/SyncCreateTaxonomy.java | 0 .../SyncCreateEntryGroup.java | 0 .../SyncImportTaxonomies.java | 0 .../createtaxonomy/SyncCreateTaxonomy.java | 0 973 files changed, 66805 insertions(+), 91725 deletions(-) delete mode 100644 java-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java delete mode 100644 java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogGrpc.java delete mode 100644 java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerGrpc.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryProto.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpecOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Common.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStatsOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSourceOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceProto.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Datacatalog.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecProto.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequestOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequestOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequestOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequestOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequestOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequestOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequestOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpContentProto.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOuterClass.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequestOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequestOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequestOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequestOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSourceOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequestOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequestOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaProto.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerProto.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationProto.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequestOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOuterClass.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Search.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequestOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponseOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOuterClass.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tags.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Timestamps.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequestOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponseOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Usage.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Common.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Datacatalog.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequestOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequestOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequestOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequestOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequestOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOuterClass.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequestOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequestOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequestOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequestOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequestOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSourceOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerProto.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationProto.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOuterClass.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Search.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponseOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOuterClass.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tags.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Taxonomy.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TaxonomyOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Timestamps.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequestOrBuilder.java delete mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequestOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogClient.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogSettings.java (99%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClient.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationSettings.java (99%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSettings.java (99%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/gapic_metadata.json (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/package-info.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/DataCatalogStub.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/DataCatalogStubSettings.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcDataCatalogCallableFactory.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcDataCatalogStub.java (99%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerCallableFactory.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerSerializationCallableFactory.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerSerializationStub.java (99%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerStub.java (99%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonDataCatalogCallableFactory.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonDataCatalogStub.java (99%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerCallableFactory.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerSerializationCallableFactory.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerSerializationStub.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerStub.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStub.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStubSettings.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerStub.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerStubSettings.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientHttpJsonTest.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientTest.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockDataCatalog.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockDataCatalogImpl.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockIAMPolicy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockIAMPolicyImpl.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManager.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerImpl.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerSerialization.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerSerializationImpl.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClientHttpJsonTest.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClientTest.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientHttpJsonTest.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientTest.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java (52%) create mode 100644 owl-bot-staging/java-datacatalog/v1/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationGrpc.java (56%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpec.java (67%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpecOrBuilder.java (71%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpec.java (70%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpecOrBuilder.java (67%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryProto.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpec.java (67%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpecOrBuilder.java (59%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpec.java (69%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpecOrBuilder.java (70%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContext.java (67%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContextOrBuilder.java (71%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpec.java (61%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpecOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpec.java (66%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpecOrBuilder.java (52%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpec.java (65%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpecOrBuilder.java (64%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchema.java (69%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchemaOrBuilder.java (70%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Common.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStats.java (66%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStatsOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Contacts.java (71%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ContactsOrBuilder.java (65%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequest.java (69%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequestOrBuilder.java (69%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequest.java (67%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequestOrBuilder.java (63%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequest.java (65%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequestOrBuilder.java (55%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequest.java (66%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequestOrBuilder.java (58%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequest.java (64%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequestOrBuilder.java (61%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequest.java (64%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequestOrBuilder.java (58%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequest.java (65%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequestOrBuilder.java (55%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSource.java (63%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSourceOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSource.java (71%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpec.java (63%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpecOrBuilder.java (61%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceOrBuilder.java (76%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceProto.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpec.java (66%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpecOrBuilder.java (63%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Datacatalog.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTable.java (70%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTableOrBuilder.java (68%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpec.java (65%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpecOrBuilder.java (59%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpec.java (70%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecOrBuilder.java (73%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecProto.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpec.java (74%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpecOrBuilder.java (79%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequest.java (63%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequestOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequest.java (61%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequestOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequest.java (64%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequestOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequest.java (61%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequestOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequest.java (63%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequestOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequest.java (64%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequestOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequest.java (64%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequestOrBuilder.java create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpContentProto.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItem.java (67%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItemOrBuilder.java (60%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Entry.java (72%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroup.java (66%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupName.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupOrBuilder.java (65%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryName.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOrBuilder.java (82%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverview.java (68%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverviewOrBuilder.java (61%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryType.java (70%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequest.java (64%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequestOrBuilder.java (53%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponse.java (72%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponseOrBuilder.java (67%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldType.java (73%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldTypeOrBuilder.java (72%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpec.java (67%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpecOrBuilder.java (64%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpec.java (65%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpecOrBuilder.java (58%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpec.java (78%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOrBuilder.java (82%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOuterClass.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequest.java (66%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequestOrBuilder.java (55%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequest.java (62%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequestOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequest.java (63%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequestOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequest.java (61%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequestOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequest.java (63%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequestOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadata.java (72%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadataOrBuilder.java (73%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequest.java (68%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequestOrBuilder.java (61%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponse.java (69%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponseOrBuilder.java (65%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequest.java (69%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequestOrBuilder.java (68%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponse.java (70%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponseOrBuilder.java (61%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSource.java (62%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSourceOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/IntegratedSystem.java (70%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequest.java (70%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequestOrBuilder.java (70%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponse.java (71%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponseOrBuilder.java (65%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequest.java (67%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequestOrBuilder.java (59%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponse.java (71%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponseOrBuilder.java (67%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequest.java (68%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequestOrBuilder.java (57%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponse.java (72%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponseOrBuilder.java (67%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequest.java (68%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequestOrBuilder.java (60%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponse.java (71%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponseOrBuilder.java (66%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequest.java (69%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequestOrBuilder.java (62%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponse.java (72%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponseOrBuilder.java (67%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LocationName.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpec.java (72%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpecOrBuilder.java (71%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequest.java (77%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequestOrBuilder.java (87%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ManagingSystem.java (66%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequest.java (60%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequestOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequest.java (60%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequestOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetails.java (68%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetailsOrBuilder.java (62%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchema.java (70%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaOrBuilder.java (84%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaProto.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTag.java (74%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerProto.java create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationProto.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagName.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagOrBuilder.java (77%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadata.java (63%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadataOrBuilder.java (65%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequest.java (71%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequestOrBuilder.java (67%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponse.java (66%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponseOrBuilder.java (56%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequest.java (61%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java (54%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequest.java (64%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequestOrBuilder.java (51%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequest.java (60%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequestOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpec.java (73%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpecOrBuilder.java (80%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Schema.java (74%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOrBuilder.java (71%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOuterClass.java create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Search.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequest.java (75%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequestOrBuilder.java (77%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponse.java (74%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponseOrBuilder.java (78%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResult.java (74%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResultOrBuilder.java (81%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchResultType.java (68%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTag.java (74%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTagOrBuilder.java (75%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomy.java (74%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomyOrBuilder.java (76%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpec.java (63%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpecOrBuilder.java (58%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpec.java (70%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpecOrBuilder.java (68%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequest.java (62%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequestOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponse.java (62%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponseOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StorageProperties.java (79%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StoragePropertiesOrBuilder.java (87%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestamps.java (70%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestampsOrBuilder.java (78%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSourceType.java (66%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpec.java (65%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOrBuilder.java (54%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOuterClass.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tag.java (69%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagField.java (73%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagFieldOrBuilder.java (84%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagName.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagOrBuilder.java (70%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplate.java (68%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateField.java (71%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldEnumValueName.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldName.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldOrBuilder.java (74%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateName.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateOrBuilder.java (73%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntry.java (66%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntryOrBuilder.java (58%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tags.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Taxonomy.java (70%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyName.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyOrBuilder.java (68%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Timestamps.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequest.java (62%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequestOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponse.java (62%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponseOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequest.java (66%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequestOrBuilder.java (66%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequest.java (75%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequestOrBuilder.java (81%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequest.java (72%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequestOrBuilder.java (78%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequest.java (71%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequestOrBuilder.java (74%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequest.java (67%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequestOrBuilder.java (69%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequest.java (68%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequestOrBuilder.java (71%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequest.java (71%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequestOrBuilder.java (76%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Usage.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignal.java (60%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignalOrBuilder.java (57%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStats.java (69%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStatsOrBuilder.java (63%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpec.java (66%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpecOrBuilder.java (51%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/bigquery.proto (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/common.proto (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/data_source.proto (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto (98%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/dataplex_spec.proto (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/dump_content.proto (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/gcs_fileset_spec.proto (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/physical_schema.proto (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanager.proto (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanagerserialization.proto (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/schema.proto (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/search.proto (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/table_spec.proto (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/tags.proto (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/timestamps.proto (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/usage.proto (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/create/SyncCreateSetEndpoint.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/AsyncCreateEntry.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/SyncCreateEntry.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/SyncCreateEntryEntrygroupnameStringEntry.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/SyncCreateEntryStringStringEntry.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/AsyncCreateEntryGroup.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/SyncCreateEntryGroup.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/SyncCreateEntryGroupLocationnameStringEntrygroup.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/SyncCreateEntryGroupStringStringEntrygroup.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/AsyncCreateTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/SyncCreateTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/SyncCreateTagEntrynameTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/SyncCreateTagStringTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/AsyncCreateTagTemplate.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/SyncCreateTagTemplate.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/SyncCreateTagTemplateLocationnameStringTagtemplate.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/SyncCreateTagTemplateStringStringTagtemplate.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/AsyncCreateTagTemplateField.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateField.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldStringStringTagtemplatefield.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldTagtemplatenameStringTagtemplatefield.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/AsyncDeleteEntry.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/SyncDeleteEntry.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/SyncDeleteEntryEntryname.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/SyncDeleteEntryString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/AsyncDeleteEntryGroup.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/SyncDeleteEntryGroup.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupEntrygroupname.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/AsyncDeleteTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/SyncDeleteTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/SyncDeleteTagEntryname.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/SyncDeleteTagString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/AsyncDeleteTagTemplate.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/SyncDeleteTagTemplate.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateStringBoolean.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateTagtemplatenameBoolean.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/AsyncDeleteTagTemplateField.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateField.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldStringBoolean.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldTagtemplatefieldnameBoolean.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/AsyncGetEntry.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/SyncGetEntry.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/SyncGetEntryEntryname.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/SyncGetEntryString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/AsyncGetEntryGroup.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroup.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupname.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupnameFieldmask.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupStringFieldmask.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/AsyncGetIamPolicy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/SyncGetIamPolicy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/SyncGetIamPolicyResourcename.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/SyncGetIamPolicyString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/AsyncGetTagTemplate.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/SyncGetTagTemplate.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/SyncGetTagTemplateString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/SyncGetTagTemplateTagtemplatename.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/importentries/AsyncImportEntries.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/importentries/AsyncImportEntriesLRO.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/importentries/SyncImportEntries.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/AsyncListEntries.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/AsyncListEntriesPaged.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/SyncListEntries.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/SyncListEntriesEntrygroupname.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/SyncListEntriesString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/AsyncListEntryGroups.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/AsyncListEntryGroupsPaged.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/SyncListEntryGroups.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/SyncListEntryGroupsLocationname.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/SyncListEntryGroupsString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/AsyncListTags.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/AsyncListTagsPaged.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/SyncListTags.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/SyncListTagsEntryname.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/SyncListTagsString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/lookupentry/AsyncLookupEntry.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/lookupentry/SyncLookupEntry.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentrycontacts/AsyncModifyEntryContacts.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentrycontacts/SyncModifyEntryContacts.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentryoverview/AsyncModifyEntryOverview.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentryoverview/SyncModifyEntryOverview.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/reconciletags/AsyncReconcileTags.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/reconciletags/AsyncReconcileTagsLRO.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/reconciletags/SyncReconcileTags.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/AsyncRenameTagTemplateField.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateField.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldStringString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldTagtemplatefieldnameString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/AsyncRenameTagTemplateFieldEnumValue.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValue.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueStringString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/AsyncSearchCatalog.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/AsyncSearchCatalogPaged.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/SyncSearchCatalog.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/SyncSearchCatalogSearchcatalogrequestscopeString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/AsyncSetIamPolicy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/SyncSetIamPolicy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/SyncSetIamPolicyStringPolicy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/AsyncStarEntry.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/SyncStarEntry.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/SyncStarEntryEntryname.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/SyncStarEntryString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/testiampermissions/AsyncTestIamPermissions.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/testiampermissions/SyncTestIamPermissions.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/AsyncUnstarEntry.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/SyncUnstarEntry.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/SyncUnstarEntryEntryname.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/SyncUnstarEntryString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/AsyncUpdateEntry.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/SyncUpdateEntry.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/SyncUpdateEntryEntry.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/SyncUpdateEntryEntryFieldmask.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/AsyncUpdateEntryGroup.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/SyncUpdateEntryGroup.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroup.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroupFieldmask.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/AsyncUpdateTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/SyncUpdateTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/SyncUpdateTagTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/SyncUpdateTagTagFieldmask.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/AsyncUpdateTagTemplate.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/SyncUpdateTagTemplate.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplate.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplateFieldmask.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/AsyncUpdateTagTemplateField.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateField.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefield.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefieldFieldmask.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefield.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefieldFieldmask.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogsettings/createentrygroup/SyncCreateEntryGroup.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/create/SyncCreateSetEndpoint.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/AsyncCreatePolicyTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/SyncCreatePolicyTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/SyncCreatePolicyTagStringPolicytag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/SyncCreatePolicyTagTaxonomynamePolicytag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/AsyncCreateTaxonomy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/SyncCreateTaxonomy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/SyncCreateTaxonomyLocationnameTaxonomy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/SyncCreateTaxonomyStringTaxonomy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/AsyncDeletePolicyTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/SyncDeletePolicyTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/SyncDeletePolicyTagPolicytagname.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/SyncDeletePolicyTagString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/AsyncDeleteTaxonomy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyTaxonomyname.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getiampolicy/AsyncGetIamPolicy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getiampolicy/SyncGetIamPolicy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/AsyncGetPolicyTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/SyncGetPolicyTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/SyncGetPolicyTagPolicytagname.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/SyncGetPolicyTagString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/AsyncGetTaxonomy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/SyncGetTaxonomy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/SyncGetTaxonomyString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/SyncGetTaxonomyTaxonomyname.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/AsyncListPolicyTags.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/AsyncListPolicyTagsPaged.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/SyncListPolicyTags.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/SyncListPolicyTagsString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/SyncListPolicyTagsTaxonomyname.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/AsyncListTaxonomies.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/AsyncListTaxonomiesPaged.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/SyncListTaxonomies.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/SyncListTaxonomiesLocationname.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/SyncListTaxonomiesString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/setiampolicy/AsyncSetIamPolicy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/setiampolicy/SyncSetIamPolicy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/testiampermissions/AsyncTestIamPermissions.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/testiampermissions/SyncTestIamPermissions.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatepolicytag/AsyncUpdatePolicyTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatepolicytag/SyncUpdatePolicyTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatepolicytag/SyncUpdatePolicyTagPolicytag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatetaxonomy/AsyncUpdateTaxonomy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomyTaxonomy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/create/SyncCreateSetEndpoint.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/exporttaxonomies/AsyncExportTaxonomies.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/exporttaxonomies/SyncExportTaxonomies.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/importtaxonomies/AsyncImportTaxonomies.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/importtaxonomies/SyncImportTaxonomies.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/replacetaxonomy/AsyncReplaceTaxonomy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/replacetaxonomy/SyncReplaceTaxonomy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationsettings/replacetaxonomy/SyncReplaceTaxonomy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagersettings/createtaxonomy/SyncCreateTaxonomy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/datacatalogstubsettings/createentrygroup/SyncCreateEntryGroup.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/policytagmanagerserializationstubsettings/replacetaxonomy/SyncReplaceTaxonomy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/policytagmanagerstubsettings/createtaxonomy/SyncCreateTaxonomy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClient.java (94%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogSettings.java (96%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClient.java (99%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClient.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationSettings.java (99%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSettings.java (99%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/gapic_metadata.json (96%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/package-info.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStub.java (96%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStubSettings.java (91%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcDataCatalogCallableFactory.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcDataCatalogStub.java (95%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerCallableFactory.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerSerializationCallableFactory.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerSerializationStub.java (99%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerStub.java (99%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonDataCatalogCallableFactory.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonDataCatalogStub.java (96%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerCallableFactory.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerSerializationCallableFactory.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerSerializationStub.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerStub.java (99%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerSerializationStub.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerSerializationStubSettings.java (96%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStub.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStubSettings.java (97%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientHttpJsonTest.java (94%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientTest.java (94%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockDataCatalog.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockDataCatalogImpl.java (96%) create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockIAMPolicy.java create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockIAMPolicyImpl.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManager.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManagerImpl.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManagerSerialization.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManagerSerializationImpl.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientHttpJsonTest.java (97%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientTest.java (97%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientHttpJsonTest.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientTest.java (98%) create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogGrpc.java create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerGrpc.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationGrpc.java (53%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpec.java (66%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpecOrBuilder.java (58%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpec.java (69%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpecOrBuilder.java (71%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchema.java (66%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchemaOrBuilder.java (57%) create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Common.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequest.java (68%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequestOrBuilder.java (69%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequest.java (63%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequestOrBuilder.java (56%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequest.java (65%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequestOrBuilder.java (56%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequest.java (62%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequestOrBuilder.java (56%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequest.java (62%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequestOrBuilder.java (62%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequest.java (63%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequestOrBuilder.java (55%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequest.java (65%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequestOrBuilder.java (56%) create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Datacatalog.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequest.java (63%) create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequestOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequest.java (62%) create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequestOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequest.java (62%) create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequestOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequest.java (63%) create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequestOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequest.java (62%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequestOrBuilder.java (54%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequest.java (64%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequestOrBuilder.java (53%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequest.java (64%) create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequestOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Entry.java (68%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroup.java (66%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroupName.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroupOrBuilder.java (65%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryName.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryOrBuilder.java (77%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryType.java (72%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequest.java (63%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequestOrBuilder.java (53%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponse.java (70%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponseOrBuilder.java (69%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldType.java (57%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldTypeOrBuilder.java (73%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpec.java (65%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpecOrBuilder.java (56%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpec.java (75%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOrBuilder.java (80%) create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOuterClass.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequest.java (66%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequestOrBuilder.java (59%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequest.java (63%) create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequestOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequest.java (63%) create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequestOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequest.java (63%) create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequestOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequest.java (63%) create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequestOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequest.java (63%) create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequestOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponse.java (70%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponseOrBuilder.java (65%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSource.java (61%) create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSourceOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/IntegratedSystem.java (66%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequest.java (71%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequestOrBuilder.java (71%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponse.java (71%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponseOrBuilder.java (66%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequest.java (64%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequestOrBuilder.java (51%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponse.java (71%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponseOrBuilder.java (68%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequest.java (67%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequestOrBuilder.java (55%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponse.java (72%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponseOrBuilder.java (70%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequest.java (67%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequestOrBuilder.java (58%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponse.java (71%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponseOrBuilder.java (68%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequest.java (59%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequestOrBuilder.java (56%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponse.java (72%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponseOrBuilder.java (69%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LocationName.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequest.java (72%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequestOrBuilder.java (78%) create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ManagingSystem.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTag.java (72%) create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerProto.java create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationProto.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagName.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagOrBuilder.java (71%) create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldEnumValueRequest.java create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequest.java (62%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequestOrBuilder.java (54%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Schema.java (60%) create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOrBuilder.java create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOuterClass.java create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Search.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequest.java (55%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequestOrBuilder.java (67%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponse.java (54%) create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponseOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResult.java (64%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResultOrBuilder.java (78%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchResultType.java (68%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTag.java (64%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTagOrBuilder.java (68%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomy.java (58%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomyOrBuilder.java (57%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestamps.java (68%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestampsOrBuilder.java (74%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSourceType.java (65%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpec.java (62%) create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOrBuilder.java create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOuterClass.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tag.java (65%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagField.java (72%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagFieldOrBuilder.java (80%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagName.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagOrBuilder.java (61%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplate.java (65%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateField.java (62%) create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldEnumValueName.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldName.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldOrBuilder.java (67%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateName.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateOrBuilder.java (70%) create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tags.java create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Taxonomy.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TaxonomyName.java (100%) create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TaxonomyOrBuilder.java create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Timestamps.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequest.java (59%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequestOrBuilder.java (50%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequest.java (59%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequestOrBuilder.java (54%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequest.java (74%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequestOrBuilder.java (81%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequest.java (57%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequestOrBuilder.java (53%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequest.java (52%) create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequestOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequest.java (57%) create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequestOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequest.java (71%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequestOrBuilder.java (77%) create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Usage.java create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageSignal.java create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageSignalOrBuilder.java create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageStats.java create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageStatsOrBuilder.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpec.java (67%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpecOrBuilder.java (51%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/common.proto (81%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/datacatalog.proto (81%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto (92%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanager.proto (86%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto (85%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/schema.proto (90%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/search.proto (92%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/table_spec.proto (88%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/tags.proto (89%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/timestamps.proto (92%) create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/usage.proto rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/create/SyncCreateSetEndpoint.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/AsyncCreateEntry.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/SyncCreateEntry.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/SyncCreateEntryEntrygroupnameStringEntry.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/SyncCreateEntryStringStringEntry.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/AsyncCreateEntryGroup.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/SyncCreateEntryGroup.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/SyncCreateEntryGroupLocationnameStringEntrygroup.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/SyncCreateEntryGroupStringStringEntrygroup.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/AsyncCreateTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/SyncCreateTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/SyncCreateTagEntrynameTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/SyncCreateTagStringTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/AsyncCreateTagTemplate.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/SyncCreateTagTemplate.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/SyncCreateTagTemplateLocationnameStringTagtemplate.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/SyncCreateTagTemplateStringStringTagtemplate.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/AsyncCreateTagTemplateField.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateField.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldStringStringTagtemplatefield.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldTagtemplatenameStringTagtemplatefield.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/AsyncDeleteEntry.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/SyncDeleteEntry.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/SyncDeleteEntryEntryname.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/SyncDeleteEntryString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/AsyncDeleteEntryGroup.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/SyncDeleteEntryGroup.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupEntrygroupname.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/AsyncDeleteTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/SyncDeleteTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/SyncDeleteTagEntryname.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/SyncDeleteTagString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/AsyncDeleteTagTemplate.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/SyncDeleteTagTemplate.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateStringBoolean.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateTagtemplatenameBoolean.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/AsyncDeleteTagTemplateField.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateField.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldStringBoolean.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldTagtemplatefieldnameBoolean.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/AsyncGetEntry.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/SyncGetEntry.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/SyncGetEntryEntryname.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/SyncGetEntryString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/AsyncGetEntryGroup.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroup.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupname.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupnameFieldmask.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupStringFieldmask.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/AsyncGetIamPolicy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/SyncGetIamPolicy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/SyncGetIamPolicyResourcename.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/SyncGetIamPolicyString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/AsyncGetTagTemplate.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/SyncGetTagTemplate.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/SyncGetTagTemplateString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/SyncGetTagTemplateTagtemplatename.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/AsyncListEntries.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/AsyncListEntriesPaged.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/SyncListEntries.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/SyncListEntriesEntrygroupname.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/SyncListEntriesString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/AsyncListEntryGroups.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/AsyncListEntryGroupsPaged.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/SyncListEntryGroups.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/SyncListEntryGroupsLocationname.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/SyncListEntryGroupsString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/AsyncListTags.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/AsyncListTagsPaged.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/SyncListTags.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/SyncListTagsEntryname.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/SyncListTagsString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/lookupentry/AsyncLookupEntry.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/lookupentry/SyncLookupEntry.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/AsyncRenameTagTemplateField.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateField.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldStringString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldTagtemplatefieldnameString.java (100%) create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/AsyncRenameTagTemplateFieldEnumValue.java create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValue.java create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueStringString.java create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/AsyncSearchCatalog.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/AsyncSearchCatalogPaged.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/SyncSearchCatalog.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/SyncSearchCatalogSearchcatalogrequestscopeString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/AsyncSetIamPolicy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/SyncSetIamPolicy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/SyncSetIamPolicyStringPolicy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/testiampermissions/AsyncTestIamPermissions.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/testiampermissions/SyncTestIamPermissions.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/AsyncUpdateEntry.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/SyncUpdateEntry.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/SyncUpdateEntryEntry.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/SyncUpdateEntryEntryFieldmask.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/AsyncUpdateEntryGroup.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/SyncUpdateEntryGroup.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroup.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroupFieldmask.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/AsyncUpdateTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/SyncUpdateTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/SyncUpdateTagTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/SyncUpdateTagTagFieldmask.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/AsyncUpdateTagTemplate.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/SyncUpdateTagTemplate.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplate.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplateFieldmask.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/AsyncUpdateTagTemplateField.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateField.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefield.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefieldFieldmask.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefield.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefieldFieldmask.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogsettings/createentrygroup/SyncCreateEntryGroup.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/create/SyncCreateSetEndpoint.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/AsyncCreatePolicyTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/SyncCreatePolicyTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/SyncCreatePolicyTagStringPolicytag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/SyncCreatePolicyTagTaxonomynamePolicytag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/AsyncCreateTaxonomy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/SyncCreateTaxonomy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/SyncCreateTaxonomyLocationnameTaxonomy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/SyncCreateTaxonomyStringTaxonomy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/AsyncDeletePolicyTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/SyncDeletePolicyTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/SyncDeletePolicyTagPolicytagname.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/SyncDeletePolicyTagString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/AsyncDeleteTaxonomy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyTaxonomyname.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getiampolicy/AsyncGetIamPolicy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getiampolicy/SyncGetIamPolicy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/AsyncGetPolicyTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/SyncGetPolicyTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/SyncGetPolicyTagPolicytagname.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/SyncGetPolicyTagString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/AsyncGetTaxonomy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/SyncGetTaxonomy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/SyncGetTaxonomyString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/SyncGetTaxonomyTaxonomyname.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/AsyncListPolicyTags.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/AsyncListPolicyTagsPaged.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/SyncListPolicyTags.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/SyncListPolicyTagsString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/SyncListPolicyTagsTaxonomyname.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomies.java (98%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomiesPaged.java (98%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomies.java (97%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomiesLocationname.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomiesString.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/setiampolicy/AsyncSetIamPolicy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/setiampolicy/SyncSetIamPolicy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/testiampermissions/AsyncTestIamPermissions.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/testiampermissions/SyncTestIamPermissions.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatepolicytag/AsyncUpdatePolicyTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatepolicytag/SyncUpdatePolicyTag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatepolicytag/SyncUpdatePolicyTagPolicytag.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatetaxonomy/AsyncUpdateTaxonomy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomyTaxonomy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/create/SyncCreateSetEndpoint.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/exporttaxonomies/AsyncExportTaxonomies.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/exporttaxonomies/SyncExportTaxonomies.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/importtaxonomies/AsyncImportTaxonomies.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/importtaxonomies/SyncImportTaxonomies.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationsettings/importtaxonomies/SyncImportTaxonomies.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagersettings/createtaxonomy/SyncCreateTaxonomy.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/datacatalogstubsettings/createentrygroup/SyncCreateEntryGroup.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/policytagmanagerserializationstubsettings/importtaxonomies/SyncImportTaxonomies.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/policytagmanagerstubsettings/createtaxonomy/SyncCreateTaxonomy.java (100%) diff --git a/java-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java b/java-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java deleted file mode 100644 index f86bb672ccd4..000000000000 --- a/java-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java +++ /dev/null @@ -1,1825 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.datacatalog.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Policy Tag Manager API service allows you to manage your policy tags and
- * taxonomies.
- * Policy tags are used to tag BigQuery columns and apply additional access
- * control policies. A taxonomy is a hierarchical grouping of policy tags that
- * classify data along a common axis.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/datacatalog/v1/policytagmanager.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class PolicyTagManagerGrpc { - - private PolicyTagManagerGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.datacatalog.v1.PolicyTagManager"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1.CreateTaxonomyRequest, - com.google.cloud.datacatalog.v1.Taxonomy> - getCreateTaxonomyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTaxonomy", - requestType = com.google.cloud.datacatalog.v1.CreateTaxonomyRequest.class, - responseType = com.google.cloud.datacatalog.v1.Taxonomy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1.CreateTaxonomyRequest, - com.google.cloud.datacatalog.v1.Taxonomy> - getCreateTaxonomyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1.CreateTaxonomyRequest, - com.google.cloud.datacatalog.v1.Taxonomy> - getCreateTaxonomyMethod; - if ((getCreateTaxonomyMethod = PolicyTagManagerGrpc.getCreateTaxonomyMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getCreateTaxonomyMethod = PolicyTagManagerGrpc.getCreateTaxonomyMethod) == null) { - PolicyTagManagerGrpc.getCreateTaxonomyMethod = - getCreateTaxonomyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTaxonomy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.CreateTaxonomyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance())) - .setSchemaDescriptor( - new PolicyTagManagerMethodDescriptorSupplier("CreateTaxonomy")) - .build(); - } - } - } - return getCreateTaxonomyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest, com.google.protobuf.Empty> - getDeleteTaxonomyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTaxonomy", - requestType = com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest, com.google.protobuf.Empty> - getDeleteTaxonomyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest, com.google.protobuf.Empty> - getDeleteTaxonomyMethod; - if ((getDeleteTaxonomyMethod = PolicyTagManagerGrpc.getDeleteTaxonomyMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getDeleteTaxonomyMethod = PolicyTagManagerGrpc.getDeleteTaxonomyMethod) == null) { - PolicyTagManagerGrpc.getDeleteTaxonomyMethod = - getDeleteTaxonomyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTaxonomy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new PolicyTagManagerMethodDescriptorSupplier("DeleteTaxonomy")) - .build(); - } - } - } - return getDeleteTaxonomyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest, - com.google.cloud.datacatalog.v1.Taxonomy> - getUpdateTaxonomyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTaxonomy", - requestType = com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest.class, - responseType = com.google.cloud.datacatalog.v1.Taxonomy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest, - com.google.cloud.datacatalog.v1.Taxonomy> - getUpdateTaxonomyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest, - com.google.cloud.datacatalog.v1.Taxonomy> - getUpdateTaxonomyMethod; - if ((getUpdateTaxonomyMethod = PolicyTagManagerGrpc.getUpdateTaxonomyMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getUpdateTaxonomyMethod = PolicyTagManagerGrpc.getUpdateTaxonomyMethod) == null) { - PolicyTagManagerGrpc.getUpdateTaxonomyMethod = - getUpdateTaxonomyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTaxonomy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance())) - .setSchemaDescriptor( - new PolicyTagManagerMethodDescriptorSupplier("UpdateTaxonomy")) - .build(); - } - } - } - return getUpdateTaxonomyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1.ListTaxonomiesRequest, - com.google.cloud.datacatalog.v1.ListTaxonomiesResponse> - getListTaxonomiesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTaxonomies", - requestType = com.google.cloud.datacatalog.v1.ListTaxonomiesRequest.class, - responseType = com.google.cloud.datacatalog.v1.ListTaxonomiesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1.ListTaxonomiesRequest, - com.google.cloud.datacatalog.v1.ListTaxonomiesResponse> - getListTaxonomiesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1.ListTaxonomiesRequest, - com.google.cloud.datacatalog.v1.ListTaxonomiesResponse> - getListTaxonomiesMethod; - if ((getListTaxonomiesMethod = PolicyTagManagerGrpc.getListTaxonomiesMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getListTaxonomiesMethod = PolicyTagManagerGrpc.getListTaxonomiesMethod) == null) { - PolicyTagManagerGrpc.getListTaxonomiesMethod = - getListTaxonomiesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTaxonomies")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.ListTaxonomiesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.ListTaxonomiesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new PolicyTagManagerMethodDescriptorSupplier("ListTaxonomies")) - .build(); - } - } - } - return getListTaxonomiesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1.GetTaxonomyRequest, - com.google.cloud.datacatalog.v1.Taxonomy> - getGetTaxonomyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTaxonomy", - requestType = com.google.cloud.datacatalog.v1.GetTaxonomyRequest.class, - responseType = com.google.cloud.datacatalog.v1.Taxonomy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1.GetTaxonomyRequest, - com.google.cloud.datacatalog.v1.Taxonomy> - getGetTaxonomyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1.GetTaxonomyRequest, - com.google.cloud.datacatalog.v1.Taxonomy> - getGetTaxonomyMethod; - if ((getGetTaxonomyMethod = PolicyTagManagerGrpc.getGetTaxonomyMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getGetTaxonomyMethod = PolicyTagManagerGrpc.getGetTaxonomyMethod) == null) { - PolicyTagManagerGrpc.getGetTaxonomyMethod = - getGetTaxonomyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTaxonomy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.GetTaxonomyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance())) - .setSchemaDescriptor( - new PolicyTagManagerMethodDescriptorSupplier("GetTaxonomy")) - .build(); - } - } - } - return getGetTaxonomyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1.CreatePolicyTagRequest, - com.google.cloud.datacatalog.v1.PolicyTag> - getCreatePolicyTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreatePolicyTag", - requestType = com.google.cloud.datacatalog.v1.CreatePolicyTagRequest.class, - responseType = com.google.cloud.datacatalog.v1.PolicyTag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1.CreatePolicyTagRequest, - com.google.cloud.datacatalog.v1.PolicyTag> - getCreatePolicyTagMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1.CreatePolicyTagRequest, - com.google.cloud.datacatalog.v1.PolicyTag> - getCreatePolicyTagMethod; - if ((getCreatePolicyTagMethod = PolicyTagManagerGrpc.getCreatePolicyTagMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getCreatePolicyTagMethod = PolicyTagManagerGrpc.getCreatePolicyTagMethod) == null) { - PolicyTagManagerGrpc.getCreatePolicyTagMethod = - getCreatePolicyTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreatePolicyTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.CreatePolicyTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance())) - .setSchemaDescriptor( - new PolicyTagManagerMethodDescriptorSupplier("CreatePolicyTag")) - .build(); - } - } - } - return getCreatePolicyTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1.DeletePolicyTagRequest, com.google.protobuf.Empty> - getDeletePolicyTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePolicyTag", - requestType = com.google.cloud.datacatalog.v1.DeletePolicyTagRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1.DeletePolicyTagRequest, com.google.protobuf.Empty> - getDeletePolicyTagMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1.DeletePolicyTagRequest, com.google.protobuf.Empty> - getDeletePolicyTagMethod; - if ((getDeletePolicyTagMethod = PolicyTagManagerGrpc.getDeletePolicyTagMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getDeletePolicyTagMethod = PolicyTagManagerGrpc.getDeletePolicyTagMethod) == null) { - PolicyTagManagerGrpc.getDeletePolicyTagMethod = - getDeletePolicyTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePolicyTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.DeletePolicyTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new PolicyTagManagerMethodDescriptorSupplier("DeletePolicyTag")) - .build(); - } - } - } - return getDeletePolicyTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest, - com.google.cloud.datacatalog.v1.PolicyTag> - getUpdatePolicyTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdatePolicyTag", - requestType = com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest.class, - responseType = com.google.cloud.datacatalog.v1.PolicyTag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest, - com.google.cloud.datacatalog.v1.PolicyTag> - getUpdatePolicyTagMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest, - com.google.cloud.datacatalog.v1.PolicyTag> - getUpdatePolicyTagMethod; - if ((getUpdatePolicyTagMethod = PolicyTagManagerGrpc.getUpdatePolicyTagMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getUpdatePolicyTagMethod = PolicyTagManagerGrpc.getUpdatePolicyTagMethod) == null) { - PolicyTagManagerGrpc.getUpdatePolicyTagMethod = - getUpdatePolicyTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdatePolicyTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance())) - .setSchemaDescriptor( - new PolicyTagManagerMethodDescriptorSupplier("UpdatePolicyTag")) - .build(); - } - } - } - return getUpdatePolicyTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1.ListPolicyTagsRequest, - com.google.cloud.datacatalog.v1.ListPolicyTagsResponse> - getListPolicyTagsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPolicyTags", - requestType = com.google.cloud.datacatalog.v1.ListPolicyTagsRequest.class, - responseType = com.google.cloud.datacatalog.v1.ListPolicyTagsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1.ListPolicyTagsRequest, - com.google.cloud.datacatalog.v1.ListPolicyTagsResponse> - getListPolicyTagsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1.ListPolicyTagsRequest, - com.google.cloud.datacatalog.v1.ListPolicyTagsResponse> - getListPolicyTagsMethod; - if ((getListPolicyTagsMethod = PolicyTagManagerGrpc.getListPolicyTagsMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getListPolicyTagsMethod = PolicyTagManagerGrpc.getListPolicyTagsMethod) == null) { - PolicyTagManagerGrpc.getListPolicyTagsMethod = - getListPolicyTagsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPolicyTags")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.ListPolicyTagsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.ListPolicyTagsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new PolicyTagManagerMethodDescriptorSupplier("ListPolicyTags")) - .build(); - } - } - } - return getListPolicyTagsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1.GetPolicyTagRequest, - com.google.cloud.datacatalog.v1.PolicyTag> - getGetPolicyTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPolicyTag", - requestType = com.google.cloud.datacatalog.v1.GetPolicyTagRequest.class, - responseType = com.google.cloud.datacatalog.v1.PolicyTag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1.GetPolicyTagRequest, - com.google.cloud.datacatalog.v1.PolicyTag> - getGetPolicyTagMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1.GetPolicyTagRequest, - com.google.cloud.datacatalog.v1.PolicyTag> - getGetPolicyTagMethod; - if ((getGetPolicyTagMethod = PolicyTagManagerGrpc.getGetPolicyTagMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getGetPolicyTagMethod = PolicyTagManagerGrpc.getGetPolicyTagMethod) == null) { - PolicyTagManagerGrpc.getGetPolicyTagMethod = - getGetPolicyTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPolicyTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.GetPolicyTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance())) - .setSchemaDescriptor( - new PolicyTagManagerMethodDescriptorSupplier("GetPolicyTag")) - .build(); - } - } - } - return getGetPolicyTagMethod; - } - - 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< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod() { - io.grpc.MethodDescriptor - getGetIamPolicyMethod; - if ((getGetIamPolicyMethod = PolicyTagManagerGrpc.getGetIamPolicyMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getGetIamPolicyMethod = PolicyTagManagerGrpc.getGetIamPolicyMethod) == null) { - PolicyTagManagerGrpc.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 PolicyTagManagerMethodDescriptorSupplier("GetIamPolicy")) - .build(); - } - } - } - return getGetIamPolicyMethod; - } - - 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< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod() { - io.grpc.MethodDescriptor - getSetIamPolicyMethod; - if ((getSetIamPolicyMethod = PolicyTagManagerGrpc.getSetIamPolicyMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getSetIamPolicyMethod = PolicyTagManagerGrpc.getSetIamPolicyMethod) == null) { - PolicyTagManagerGrpc.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 PolicyTagManagerMethodDescriptorSupplier("SetIamPolicy")) - .build(); - } - } - } - return getSetIamPolicyMethod; - } - - 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< - 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 = PolicyTagManagerGrpc.getTestIamPermissionsMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getTestIamPermissionsMethod = PolicyTagManagerGrpc.getTestIamPermissionsMethod) - == null) { - PolicyTagManagerGrpc.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 PolicyTagManagerMethodDescriptorSupplier("TestIamPermissions")) - .build(); - } - } - } - return getTestIamPermissionsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static PolicyTagManagerStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public PolicyTagManagerStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PolicyTagManagerStub(channel, callOptions); - } - }; - return PolicyTagManagerStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static PolicyTagManagerBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public PolicyTagManagerBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PolicyTagManagerBlockingStub(channel, callOptions); - } - }; - return PolicyTagManagerBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static PolicyTagManagerFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public PolicyTagManagerFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PolicyTagManagerFutureStub(channel, callOptions); - } - }; - return PolicyTagManagerFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Policy Tag Manager API service allows you to manage your policy tags and
-   * taxonomies.
-   * Policy tags are used to tag BigQuery columns and apply additional access
-   * control policies. A taxonomy is a hierarchical grouping of policy tags that
-   * classify data along a common axis.
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * Creates a taxonomy in a specified project.
-     * The taxonomy is initially empty, that is, it doesn't contain policy tags.
-     * 
- */ - default void createTaxonomy( - com.google.cloud.datacatalog.v1.CreateTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateTaxonomyMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a taxonomy, including all policy tags in this
-     * taxonomy, their associated policies, and the policy tags references from
-     * BigQuery columns.
-     * 
- */ - default void deleteTaxonomy( - com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteTaxonomyMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a taxonomy, including its display name,
-     * description, and activated policy types.
-     * 
- */ - default void updateTaxonomy( - com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateTaxonomyMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all taxonomies in a project in a particular location that you
-     * have a permission to view.
-     * 
- */ - default void listTaxonomies( - com.google.cloud.datacatalog.v1.ListTaxonomiesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListTaxonomiesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a taxonomy.
-     * 
- */ - default void getTaxonomy( - com.google.cloud.datacatalog.v1.GetTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetTaxonomyMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a policy tag in a taxonomy.
-     * 
- */ - default void createPolicyTag( - com.google.cloud.datacatalog.v1.CreatePolicyTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreatePolicyTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a policy tag together with the following:
-     * * All of its descendant policy tags, if any
-     * * Policies associated with the policy tag and its descendants
-     * * References from BigQuery table schema of the policy tag and its
-     *   descendants
-     * 
- */ - default void deletePolicyTag( - com.google.cloud.datacatalog.v1.DeletePolicyTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeletePolicyTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a policy tag, including its display
-     * name, description, and parent policy tag.
-     * 
- */ - default void updatePolicyTag( - com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdatePolicyTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all policy tags in a taxonomy.
-     * 
- */ - default void listPolicyTags( - com.google.cloud.datacatalog.v1.ListPolicyTagsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListPolicyTagsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a policy tag.
-     * 
- */ - default void getPolicyTag( - com.google.cloud.datacatalog.v1.GetPolicyTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetPolicyTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the IAM policy for a policy tag or a taxonomy.
-     * 
- */ - default void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Sets the IAM policy for a policy tag or a taxonomy.
-     * 
- */ - default void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns your permissions on a specified policy tag or
-     * taxonomy.
-     * 
- */ - default void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service PolicyTagManager. - * - *
-   * Policy Tag Manager API service allows you to manage your policy tags and
-   * taxonomies.
-   * Policy tags are used to tag BigQuery columns and apply additional access
-   * control policies. A taxonomy is a hierarchical grouping of policy tags that
-   * classify data along a common axis.
-   * 
- */ - public abstract static class PolicyTagManagerImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return PolicyTagManagerGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service PolicyTagManager. - * - *
-   * Policy Tag Manager API service allows you to manage your policy tags and
-   * taxonomies.
-   * Policy tags are used to tag BigQuery columns and apply additional access
-   * control policies. A taxonomy is a hierarchical grouping of policy tags that
-   * classify data along a common axis.
-   * 
- */ - public static final class PolicyTagManagerStub - extends io.grpc.stub.AbstractAsyncStub { - private PolicyTagManagerStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected PolicyTagManagerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PolicyTagManagerStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a taxonomy in a specified project.
-     * The taxonomy is initially empty, that is, it doesn't contain policy tags.
-     * 
- */ - public void createTaxonomy( - com.google.cloud.datacatalog.v1.CreateTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTaxonomyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a taxonomy, including all policy tags in this
-     * taxonomy, their associated policies, and the policy tags references from
-     * BigQuery columns.
-     * 
- */ - public void deleteTaxonomy( - com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTaxonomyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a taxonomy, including its display name,
-     * description, and activated policy types.
-     * 
- */ - public void updateTaxonomy( - com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTaxonomyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all taxonomies in a project in a particular location that you
-     * have a permission to view.
-     * 
- */ - public void listTaxonomies( - com.google.cloud.datacatalog.v1.ListTaxonomiesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTaxonomiesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a taxonomy.
-     * 
- */ - public void getTaxonomy( - com.google.cloud.datacatalog.v1.GetTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTaxonomyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a policy tag in a taxonomy.
-     * 
- */ - public void createPolicyTag( - com.google.cloud.datacatalog.v1.CreatePolicyTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreatePolicyTagMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a policy tag together with the following:
-     * * All of its descendant policy tags, if any
-     * * Policies associated with the policy tag and its descendants
-     * * References from BigQuery table schema of the policy tag and its
-     *   descendants
-     * 
- */ - public void deletePolicyTag( - com.google.cloud.datacatalog.v1.DeletePolicyTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePolicyTagMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a policy tag, including its display
-     * name, description, and parent policy tag.
-     * 
- */ - public void updatePolicyTag( - com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdatePolicyTagMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all policy tags in a taxonomy.
-     * 
- */ - public void listPolicyTags( - com.google.cloud.datacatalog.v1.ListPolicyTagsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPolicyTagsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a policy tag.
-     * 
- */ - public void getPolicyTag( - com.google.cloud.datacatalog.v1.GetPolicyTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPolicyTagMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the IAM policy for a policy tag or a taxonomy.
-     * 
- */ - 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); - } - - /** - * - * - *
-     * Sets the IAM policy for a policy tag or a taxonomy.
-     * 
- */ - 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); - } - - /** - * - * - *
-     * Returns your permissions on a specified policy tag or
-     * taxonomy.
-     * 
- */ - 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); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service PolicyTagManager. - * - *
-   * Policy Tag Manager API service allows you to manage your policy tags and
-   * taxonomies.
-   * Policy tags are used to tag BigQuery columns and apply additional access
-   * control policies. A taxonomy is a hierarchical grouping of policy tags that
-   * classify data along a common axis.
-   * 
- */ - public static final class PolicyTagManagerBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private PolicyTagManagerBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected PolicyTagManagerBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PolicyTagManagerBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a taxonomy in a specified project.
-     * The taxonomy is initially empty, that is, it doesn't contain policy tags.
-     * 
- */ - public com.google.cloud.datacatalog.v1.Taxonomy createTaxonomy( - com.google.cloud.datacatalog.v1.CreateTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTaxonomyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a taxonomy, including all policy tags in this
-     * taxonomy, their associated policies, and the policy tags references from
-     * BigQuery columns.
-     * 
- */ - public com.google.protobuf.Empty deleteTaxonomy( - com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTaxonomyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a taxonomy, including its display name,
-     * description, and activated policy types.
-     * 
- */ - public com.google.cloud.datacatalog.v1.Taxonomy updateTaxonomy( - com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTaxonomyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all taxonomies in a project in a particular location that you
-     * have a permission to view.
-     * 
- */ - public com.google.cloud.datacatalog.v1.ListTaxonomiesResponse listTaxonomies( - com.google.cloud.datacatalog.v1.ListTaxonomiesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTaxonomiesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a taxonomy.
-     * 
- */ - public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomy( - com.google.cloud.datacatalog.v1.GetTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTaxonomyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a policy tag in a taxonomy.
-     * 
- */ - public com.google.cloud.datacatalog.v1.PolicyTag createPolicyTag( - com.google.cloud.datacatalog.v1.CreatePolicyTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreatePolicyTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a policy tag together with the following:
-     * * All of its descendant policy tags, if any
-     * * Policies associated with the policy tag and its descendants
-     * * References from BigQuery table schema of the policy tag and its
-     *   descendants
-     * 
- */ - public com.google.protobuf.Empty deletePolicyTag( - com.google.cloud.datacatalog.v1.DeletePolicyTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePolicyTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a policy tag, including its display
-     * name, description, and parent policy tag.
-     * 
- */ - public com.google.cloud.datacatalog.v1.PolicyTag updatePolicyTag( - com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdatePolicyTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all policy tags in a taxonomy.
-     * 
- */ - public com.google.cloud.datacatalog.v1.ListPolicyTagsResponse listPolicyTags( - com.google.cloud.datacatalog.v1.ListPolicyTagsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPolicyTagsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a policy tag.
-     * 
- */ - public com.google.cloud.datacatalog.v1.PolicyTag getPolicyTag( - com.google.cloud.datacatalog.v1.GetPolicyTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPolicyTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the IAM policy for a policy tag or a taxonomy.
-     * 
- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Sets the IAM policy for a policy tag or a taxonomy.
-     * 
- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns your permissions on a specified policy tag or
-     * taxonomy.
-     * 
- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service PolicyTagManager. - * - *
-   * Policy Tag Manager API service allows you to manage your policy tags and
-   * taxonomies.
-   * Policy tags are used to tag BigQuery columns and apply additional access
-   * control policies. A taxonomy is a hierarchical grouping of policy tags that
-   * classify data along a common axis.
-   * 
- */ - public static final class PolicyTagManagerFutureStub - extends io.grpc.stub.AbstractFutureStub { - private PolicyTagManagerFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected PolicyTagManagerFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PolicyTagManagerFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a taxonomy in a specified project.
-     * The taxonomy is initially empty, that is, it doesn't contain policy tags.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1.Taxonomy> - createTaxonomy(com.google.cloud.datacatalog.v1.CreateTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTaxonomyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a taxonomy, including all policy tags in this
-     * taxonomy, their associated policies, and the policy tags references from
-     * BigQuery columns.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteTaxonomy(com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTaxonomyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a taxonomy, including its display name,
-     * description, and activated policy types.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1.Taxonomy> - updateTaxonomy(com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTaxonomyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all taxonomies in a project in a particular location that you
-     * have a permission to view.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1.ListTaxonomiesResponse> - listTaxonomies(com.google.cloud.datacatalog.v1.ListTaxonomiesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTaxonomiesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a taxonomy.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1.Taxonomy> - getTaxonomy(com.google.cloud.datacatalog.v1.GetTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTaxonomyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a policy tag in a taxonomy.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1.PolicyTag> - createPolicyTag(com.google.cloud.datacatalog.v1.CreatePolicyTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreatePolicyTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a policy tag together with the following:
-     * * All of its descendant policy tags, if any
-     * * Policies associated with the policy tag and its descendants
-     * * References from BigQuery table schema of the policy tag and its
-     *   descendants
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deletePolicyTag(com.google.cloud.datacatalog.v1.DeletePolicyTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePolicyTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a policy tag, including its display
-     * name, description, and parent policy tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1.PolicyTag> - updatePolicyTag(com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdatePolicyTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all policy tags in a taxonomy.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1.ListPolicyTagsResponse> - listPolicyTags(com.google.cloud.datacatalog.v1.ListPolicyTagsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPolicyTagsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a policy tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1.PolicyTag> - getPolicyTag(com.google.cloud.datacatalog.v1.GetPolicyTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPolicyTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the IAM policy for a policy tag or a taxonomy.
-     * 
- */ - 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 IAM policy for a policy tag or a taxonomy.
-     * 
- */ - 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 your permissions on a specified policy tag or
-     * taxonomy.
-     * 
- */ - 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); - } - } - - private static final int METHODID_CREATE_TAXONOMY = 0; - private static final int METHODID_DELETE_TAXONOMY = 1; - private static final int METHODID_UPDATE_TAXONOMY = 2; - private static final int METHODID_LIST_TAXONOMIES = 3; - private static final int METHODID_GET_TAXONOMY = 4; - private static final int METHODID_CREATE_POLICY_TAG = 5; - private static final int METHODID_DELETE_POLICY_TAG = 6; - private static final int METHODID_UPDATE_POLICY_TAG = 7; - private static final int METHODID_LIST_POLICY_TAGS = 8; - private static final int METHODID_GET_POLICY_TAG = 9; - private static final int METHODID_GET_IAM_POLICY = 10; - private static final int METHODID_SET_IAM_POLICY = 11; - private static final int METHODID_TEST_IAM_PERMISSIONS = 12; - - 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_TAXONOMY: - serviceImpl.createTaxonomy( - (com.google.cloud.datacatalog.v1.CreateTaxonomyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_TAXONOMY: - serviceImpl.deleteTaxonomy( - (com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_TAXONOMY: - serviceImpl.updateTaxonomy( - (com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_TAXONOMIES: - serviceImpl.listTaxonomies( - (com.google.cloud.datacatalog.v1.ListTaxonomiesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_TAXONOMY: - serviceImpl.getTaxonomy( - (com.google.cloud.datacatalog.v1.GetTaxonomyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_POLICY_TAG: - serviceImpl.createPolicyTag( - (com.google.cloud.datacatalog.v1.CreatePolicyTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_POLICY_TAG: - serviceImpl.deletePolicyTag( - (com.google.cloud.datacatalog.v1.DeletePolicyTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_POLICY_TAG: - serviceImpl.updatePolicyTag( - (com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_POLICY_TAGS: - serviceImpl.listPolicyTags( - (com.google.cloud.datacatalog.v1.ListPolicyTagsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_POLICY_TAG: - serviceImpl.getPolicyTag( - (com.google.cloud.datacatalog.v1.GetPolicyTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_IAM_POLICY: - 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, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions( - (com.google.iam.v1.TestIamPermissionsRequest) 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( - getCreateTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.CreateTaxonomyRequest, - com.google.cloud.datacatalog.v1.Taxonomy>(service, METHODID_CREATE_TAXONOMY))) - .addMethod( - getDeleteTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest, - com.google.protobuf.Empty>(service, METHODID_DELETE_TAXONOMY))) - .addMethod( - getUpdateTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest, - com.google.cloud.datacatalog.v1.Taxonomy>(service, METHODID_UPDATE_TAXONOMY))) - .addMethod( - getListTaxonomiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.ListTaxonomiesRequest, - com.google.cloud.datacatalog.v1.ListTaxonomiesResponse>( - service, METHODID_LIST_TAXONOMIES))) - .addMethod( - getGetTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.GetTaxonomyRequest, - com.google.cloud.datacatalog.v1.Taxonomy>(service, METHODID_GET_TAXONOMY))) - .addMethod( - getCreatePolicyTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.CreatePolicyTagRequest, - com.google.cloud.datacatalog.v1.PolicyTag>( - service, METHODID_CREATE_POLICY_TAG))) - .addMethod( - getDeletePolicyTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.DeletePolicyTagRequest, - com.google.protobuf.Empty>(service, METHODID_DELETE_POLICY_TAG))) - .addMethod( - getUpdatePolicyTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest, - com.google.cloud.datacatalog.v1.PolicyTag>( - service, METHODID_UPDATE_POLICY_TAG))) - .addMethod( - getListPolicyTagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.ListPolicyTagsRequest, - com.google.cloud.datacatalog.v1.ListPolicyTagsResponse>( - service, METHODID_LIST_POLICY_TAGS))) - .addMethod( - getGetPolicyTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.GetPolicyTagRequest, - com.google.cloud.datacatalog.v1.PolicyTag>(service, METHODID_GET_POLICY_TAG))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers( - service, METHODID_GET_IAM_POLICY))) - .addMethod( - 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))) - .build(); - } - - private abstract static class PolicyTagManagerBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - PolicyTagManagerBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("PolicyTagManager"); - } - } - - private static final class PolicyTagManagerFileDescriptorSupplier - extends PolicyTagManagerBaseDescriptorSupplier { - PolicyTagManagerFileDescriptorSupplier() {} - } - - private static final class PolicyTagManagerMethodDescriptorSupplier - extends PolicyTagManagerBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - PolicyTagManagerMethodDescriptorSupplier(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 (PolicyTagManagerGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new PolicyTagManagerFileDescriptorSupplier()) - .addMethod(getCreateTaxonomyMethod()) - .addMethod(getDeleteTaxonomyMethod()) - .addMethod(getUpdateTaxonomyMethod()) - .addMethod(getListTaxonomiesMethod()) - .addMethod(getGetTaxonomyMethod()) - .addMethod(getCreatePolicyTagMethod()) - .addMethod(getDeletePolicyTagMethod()) - .addMethod(getUpdatePolicyTagMethod()) - .addMethod(getListPolicyTagsMethod()) - .addMethod(getGetPolicyTagMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogGrpc.java b/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogGrpc.java deleted file mode 100644 index bfb1920a23cd..000000000000 --- a/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogGrpc.java +++ /dev/null @@ -1,3873 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.datacatalog.v1beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Data Catalog API service allows clients to discover, understand, and manage
- * their data.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/datacatalog/v1beta1/datacatalog.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class DataCatalogGrpc { - - private DataCatalogGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.datacatalog.v1beta1.DataCatalog"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest, - com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse> - getSearchCatalogMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SearchCatalog", - requestType = com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest, - com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse> - getSearchCatalogMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest, - com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse> - getSearchCatalogMethod; - if ((getSearchCatalogMethod = DataCatalogGrpc.getSearchCatalogMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getSearchCatalogMethod = DataCatalogGrpc.getSearchCatalogMethod) == null) { - DataCatalogGrpc.getSearchCatalogMethod = - getSearchCatalogMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchCatalog")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse - .getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("SearchCatalog")) - .build(); - } - } - } - return getSearchCatalogMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest, - com.google.cloud.datacatalog.v1beta1.EntryGroup> - getCreateEntryGroupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateEntryGroup", - requestType = com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.EntryGroup.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest, - com.google.cloud.datacatalog.v1beta1.EntryGroup> - getCreateEntryGroupMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest, - com.google.cloud.datacatalog.v1beta1.EntryGroup> - getCreateEntryGroupMethod; - if ((getCreateEntryGroupMethod = DataCatalogGrpc.getCreateEntryGroupMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getCreateEntryGroupMethod = DataCatalogGrpc.getCreateEntryGroupMethod) == null) { - DataCatalogGrpc.getCreateEntryGroupMethod = - getCreateEntryGroupMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEntryGroup")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance())) - .setSchemaDescriptor( - new DataCatalogMethodDescriptorSupplier("CreateEntryGroup")) - .build(); - } - } - } - return getCreateEntryGroupMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest, - com.google.cloud.datacatalog.v1beta1.EntryGroup> - getUpdateEntryGroupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateEntryGroup", - requestType = com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.EntryGroup.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest, - com.google.cloud.datacatalog.v1beta1.EntryGroup> - getUpdateEntryGroupMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest, - com.google.cloud.datacatalog.v1beta1.EntryGroup> - getUpdateEntryGroupMethod; - if ((getUpdateEntryGroupMethod = DataCatalogGrpc.getUpdateEntryGroupMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getUpdateEntryGroupMethod = DataCatalogGrpc.getUpdateEntryGroupMethod) == null) { - DataCatalogGrpc.getUpdateEntryGroupMethod = - getUpdateEntryGroupMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEntryGroup")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance())) - .setSchemaDescriptor( - new DataCatalogMethodDescriptorSupplier("UpdateEntryGroup")) - .build(); - } - } - } - return getUpdateEntryGroupMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest, - com.google.cloud.datacatalog.v1beta1.EntryGroup> - getGetEntryGroupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetEntryGroup", - requestType = com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.EntryGroup.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest, - com.google.cloud.datacatalog.v1beta1.EntryGroup> - getGetEntryGroupMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest, - com.google.cloud.datacatalog.v1beta1.EntryGroup> - getGetEntryGroupMethod; - if ((getGetEntryGroupMethod = DataCatalogGrpc.getGetEntryGroupMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getGetEntryGroupMethod = DataCatalogGrpc.getGetEntryGroupMethod) == null) { - DataCatalogGrpc.getGetEntryGroupMethod = - getGetEntryGroupMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntryGroup")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("GetEntryGroup")) - .build(); - } - } - } - return getGetEntryGroupMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest, com.google.protobuf.Empty> - getDeleteEntryGroupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteEntryGroup", - requestType = com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest, com.google.protobuf.Empty> - getDeleteEntryGroupMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest, com.google.protobuf.Empty> - getDeleteEntryGroupMethod; - if ((getDeleteEntryGroupMethod = DataCatalogGrpc.getDeleteEntryGroupMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getDeleteEntryGroupMethod = DataCatalogGrpc.getDeleteEntryGroupMethod) == null) { - DataCatalogGrpc.getDeleteEntryGroupMethod = - getDeleteEntryGroupMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEntryGroup")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new DataCatalogMethodDescriptorSupplier("DeleteEntryGroup")) - .build(); - } - } - } - return getDeleteEntryGroupMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest, - com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse> - getListEntryGroupsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListEntryGroups", - requestType = com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest, - com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse> - getListEntryGroupsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest, - com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse> - getListEntryGroupsMethod; - if ((getListEntryGroupsMethod = DataCatalogGrpc.getListEntryGroupsMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getListEntryGroupsMethod = DataCatalogGrpc.getListEntryGroupsMethod) == null) { - DataCatalogGrpc.getListEntryGroupsMethod = - getListEntryGroupsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEntryGroups")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataCatalogMethodDescriptorSupplier("ListEntryGroups")) - .build(); - } - } - } - return getListEntryGroupsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.CreateEntryRequest, - com.google.cloud.datacatalog.v1beta1.Entry> - getCreateEntryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateEntry", - requestType = com.google.cloud.datacatalog.v1beta1.CreateEntryRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.Entry.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.CreateEntryRequest, - com.google.cloud.datacatalog.v1beta1.Entry> - getCreateEntryMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.CreateEntryRequest, - com.google.cloud.datacatalog.v1beta1.Entry> - getCreateEntryMethod; - if ((getCreateEntryMethod = DataCatalogGrpc.getCreateEntryMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getCreateEntryMethod = DataCatalogGrpc.getCreateEntryMethod) == null) { - DataCatalogGrpc.getCreateEntryMethod = - getCreateEntryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEntry")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.CreateEntryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("CreateEntry")) - .build(); - } - } - } - return getCreateEntryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest, - com.google.cloud.datacatalog.v1beta1.Entry> - getUpdateEntryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateEntry", - requestType = com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.Entry.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest, - com.google.cloud.datacatalog.v1beta1.Entry> - getUpdateEntryMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest, - com.google.cloud.datacatalog.v1beta1.Entry> - getUpdateEntryMethod; - if ((getUpdateEntryMethod = DataCatalogGrpc.getUpdateEntryMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getUpdateEntryMethod = DataCatalogGrpc.getUpdateEntryMethod) == null) { - DataCatalogGrpc.getUpdateEntryMethod = - getUpdateEntryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEntry")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UpdateEntry")) - .build(); - } - } - } - return getUpdateEntryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest, com.google.protobuf.Empty> - getDeleteEntryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteEntry", - requestType = com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest, com.google.protobuf.Empty> - getDeleteEntryMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest, com.google.protobuf.Empty> - getDeleteEntryMethod; - if ((getDeleteEntryMethod = DataCatalogGrpc.getDeleteEntryMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getDeleteEntryMethod = DataCatalogGrpc.getDeleteEntryMethod) == null) { - DataCatalogGrpc.getDeleteEntryMethod = - getDeleteEntryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEntry")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("DeleteEntry")) - .build(); - } - } - } - return getDeleteEntryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.GetEntryRequest, - com.google.cloud.datacatalog.v1beta1.Entry> - getGetEntryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetEntry", - requestType = com.google.cloud.datacatalog.v1beta1.GetEntryRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.Entry.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.GetEntryRequest, - com.google.cloud.datacatalog.v1beta1.Entry> - getGetEntryMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.GetEntryRequest, - com.google.cloud.datacatalog.v1beta1.Entry> - getGetEntryMethod; - if ((getGetEntryMethod = DataCatalogGrpc.getGetEntryMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getGetEntryMethod = DataCatalogGrpc.getGetEntryMethod) == null) { - DataCatalogGrpc.getGetEntryMethod = - getGetEntryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntry")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.GetEntryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("GetEntry")) - .build(); - } - } - } - return getGetEntryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.LookupEntryRequest, - com.google.cloud.datacatalog.v1beta1.Entry> - getLookupEntryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "LookupEntry", - requestType = com.google.cloud.datacatalog.v1beta1.LookupEntryRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.Entry.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.LookupEntryRequest, - com.google.cloud.datacatalog.v1beta1.Entry> - getLookupEntryMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.LookupEntryRequest, - com.google.cloud.datacatalog.v1beta1.Entry> - getLookupEntryMethod; - if ((getLookupEntryMethod = DataCatalogGrpc.getLookupEntryMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getLookupEntryMethod = DataCatalogGrpc.getLookupEntryMethod) == null) { - DataCatalogGrpc.getLookupEntryMethod = - getLookupEntryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LookupEntry")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.LookupEntryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("LookupEntry")) - .build(); - } - } - } - return getLookupEntryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.ListEntriesRequest, - com.google.cloud.datacatalog.v1beta1.ListEntriesResponse> - getListEntriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListEntries", - requestType = com.google.cloud.datacatalog.v1beta1.ListEntriesRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.ListEntriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.ListEntriesRequest, - com.google.cloud.datacatalog.v1beta1.ListEntriesResponse> - getListEntriesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.ListEntriesRequest, - com.google.cloud.datacatalog.v1beta1.ListEntriesResponse> - getListEntriesMethod; - if ((getListEntriesMethod = DataCatalogGrpc.getListEntriesMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getListEntriesMethod = DataCatalogGrpc.getListEntriesMethod) == null) { - DataCatalogGrpc.getListEntriesMethod = - getListEntriesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEntries")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.ListEntriesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.ListEntriesResponse - .getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ListEntries")) - .build(); - } - } - } - return getListEntriesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplate> - getCreateTagTemplateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTagTemplate", - requestType = com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.TagTemplate.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplate> - getCreateTagTemplateMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplate> - getCreateTagTemplateMethod; - if ((getCreateTagTemplateMethod = DataCatalogGrpc.getCreateTagTemplateMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getCreateTagTemplateMethod = DataCatalogGrpc.getCreateTagTemplateMethod) == null) { - DataCatalogGrpc.getCreateTagTemplateMethod = - getCreateTagTemplateMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTagTemplate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.TagTemplate - .getDefaultInstance())) - .setSchemaDescriptor( - new DataCatalogMethodDescriptorSupplier("CreateTagTemplate")) - .build(); - } - } - } - return getCreateTagTemplateMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplate> - getGetTagTemplateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTagTemplate", - requestType = com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.TagTemplate.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplate> - getGetTagTemplateMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplate> - getGetTagTemplateMethod; - if ((getGetTagTemplateMethod = DataCatalogGrpc.getGetTagTemplateMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getGetTagTemplateMethod = DataCatalogGrpc.getGetTagTemplateMethod) == null) { - DataCatalogGrpc.getGetTagTemplateMethod = - getGetTagTemplateMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTagTemplate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.TagTemplate - .getDefaultInstance())) - .setSchemaDescriptor( - new DataCatalogMethodDescriptorSupplier("GetTagTemplate")) - .build(); - } - } - } - return getGetTagTemplateMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplate> - getUpdateTagTemplateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTagTemplate", - requestType = com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.TagTemplate.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplate> - getUpdateTagTemplateMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplate> - getUpdateTagTemplateMethod; - if ((getUpdateTagTemplateMethod = DataCatalogGrpc.getUpdateTagTemplateMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getUpdateTagTemplateMethod = DataCatalogGrpc.getUpdateTagTemplateMethod) == null) { - DataCatalogGrpc.getUpdateTagTemplateMethod = - getUpdateTagTemplateMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTagTemplate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.TagTemplate - .getDefaultInstance())) - .setSchemaDescriptor( - new DataCatalogMethodDescriptorSupplier("UpdateTagTemplate")) - .build(); - } - } - } - return getUpdateTagTemplateMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest, com.google.protobuf.Empty> - getDeleteTagTemplateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTagTemplate", - requestType = com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest, com.google.protobuf.Empty> - getDeleteTagTemplateMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest, - com.google.protobuf.Empty> - getDeleteTagTemplateMethod; - if ((getDeleteTagTemplateMethod = DataCatalogGrpc.getDeleteTagTemplateMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getDeleteTagTemplateMethod = DataCatalogGrpc.getDeleteTagTemplateMethod) == null) { - DataCatalogGrpc.getDeleteTagTemplateMethod = - getDeleteTagTemplateMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTagTemplate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new DataCatalogMethodDescriptorSupplier("DeleteTagTemplate")) - .build(); - } - } - } - return getDeleteTagTemplateMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplateField> - getCreateTagTemplateFieldMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTagTemplateField", - requestType = com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.TagTemplateField.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplateField> - getCreateTagTemplateFieldMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplateField> - getCreateTagTemplateFieldMethod; - if ((getCreateTagTemplateFieldMethod = DataCatalogGrpc.getCreateTagTemplateFieldMethod) - == null) { - synchronized (DataCatalogGrpc.class) { - if ((getCreateTagTemplateFieldMethod = DataCatalogGrpc.getCreateTagTemplateFieldMethod) - == null) { - DataCatalogGrpc.getCreateTagTemplateFieldMethod = - getCreateTagTemplateFieldMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateTagTemplateField")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.TagTemplateField - .getDefaultInstance())) - .setSchemaDescriptor( - new DataCatalogMethodDescriptorSupplier("CreateTagTemplateField")) - .build(); - } - } - } - return getCreateTagTemplateFieldMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplateField> - getUpdateTagTemplateFieldMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTagTemplateField", - requestType = com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.TagTemplateField.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplateField> - getUpdateTagTemplateFieldMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplateField> - getUpdateTagTemplateFieldMethod; - if ((getUpdateTagTemplateFieldMethod = DataCatalogGrpc.getUpdateTagTemplateFieldMethod) - == null) { - synchronized (DataCatalogGrpc.class) { - if ((getUpdateTagTemplateFieldMethod = DataCatalogGrpc.getUpdateTagTemplateFieldMethod) - == null) { - DataCatalogGrpc.getUpdateTagTemplateFieldMethod = - getUpdateTagTemplateFieldMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateTagTemplateField")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.TagTemplateField - .getDefaultInstance())) - .setSchemaDescriptor( - new DataCatalogMethodDescriptorSupplier("UpdateTagTemplateField")) - .build(); - } - } - } - return getUpdateTagTemplateFieldMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplateField> - getRenameTagTemplateFieldMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RenameTagTemplateField", - requestType = com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.TagTemplateField.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplateField> - getRenameTagTemplateFieldMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplateField> - getRenameTagTemplateFieldMethod; - if ((getRenameTagTemplateFieldMethod = DataCatalogGrpc.getRenameTagTemplateFieldMethod) - == null) { - synchronized (DataCatalogGrpc.class) { - if ((getRenameTagTemplateFieldMethod = DataCatalogGrpc.getRenameTagTemplateFieldMethod) - == null) { - DataCatalogGrpc.getRenameTagTemplateFieldMethod = - getRenameTagTemplateFieldMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "RenameTagTemplateField")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.TagTemplateField - .getDefaultInstance())) - .setSchemaDescriptor( - new DataCatalogMethodDescriptorSupplier("RenameTagTemplateField")) - .build(); - } - } - } - return getRenameTagTemplateFieldMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest, - com.google.protobuf.Empty> - getDeleteTagTemplateFieldMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTagTemplateField", - requestType = com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest, - com.google.protobuf.Empty> - getDeleteTagTemplateFieldMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest, - com.google.protobuf.Empty> - getDeleteTagTemplateFieldMethod; - if ((getDeleteTagTemplateFieldMethod = DataCatalogGrpc.getDeleteTagTemplateFieldMethod) - == null) { - synchronized (DataCatalogGrpc.class) { - if ((getDeleteTagTemplateFieldMethod = DataCatalogGrpc.getDeleteTagTemplateFieldMethod) - == null) { - DataCatalogGrpc.getDeleteTagTemplateFieldMethod = - getDeleteTagTemplateFieldMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteTagTemplateField")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new DataCatalogMethodDescriptorSupplier("DeleteTagTemplateField")) - .build(); - } - } - } - return getDeleteTagTemplateFieldMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.CreateTagRequest, - com.google.cloud.datacatalog.v1beta1.Tag> - getCreateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTag", - requestType = com.google.cloud.datacatalog.v1beta1.CreateTagRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.CreateTagRequest, - com.google.cloud.datacatalog.v1beta1.Tag> - getCreateTagMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.CreateTagRequest, - com.google.cloud.datacatalog.v1beta1.Tag> - getCreateTagMethod; - if ((getCreateTagMethod = DataCatalogGrpc.getCreateTagMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getCreateTagMethod = DataCatalogGrpc.getCreateTagMethod) == null) { - DataCatalogGrpc.getCreateTagMethod = - getCreateTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.CreateTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("CreateTag")) - .build(); - } - } - } - return getCreateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.UpdateTagRequest, - com.google.cloud.datacatalog.v1beta1.Tag> - getUpdateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTag", - requestType = com.google.cloud.datacatalog.v1beta1.UpdateTagRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.UpdateTagRequest, - com.google.cloud.datacatalog.v1beta1.Tag> - getUpdateTagMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.UpdateTagRequest, - com.google.cloud.datacatalog.v1beta1.Tag> - getUpdateTagMethod; - if ((getUpdateTagMethod = DataCatalogGrpc.getUpdateTagMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getUpdateTagMethod = DataCatalogGrpc.getUpdateTagMethod) == null) { - DataCatalogGrpc.getUpdateTagMethod = - getUpdateTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.UpdateTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UpdateTag")) - .build(); - } - } - } - return getUpdateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.DeleteTagRequest, com.google.protobuf.Empty> - getDeleteTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTag", - requestType = com.google.cloud.datacatalog.v1beta1.DeleteTagRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.DeleteTagRequest, com.google.protobuf.Empty> - getDeleteTagMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.DeleteTagRequest, com.google.protobuf.Empty> - getDeleteTagMethod; - if ((getDeleteTagMethod = DataCatalogGrpc.getDeleteTagMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getDeleteTagMethod = DataCatalogGrpc.getDeleteTagMethod) == null) { - DataCatalogGrpc.getDeleteTagMethod = - getDeleteTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.DeleteTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("DeleteTag")) - .build(); - } - } - } - return getDeleteTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.ListTagsRequest, - com.google.cloud.datacatalog.v1beta1.ListTagsResponse> - getListTagsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTags", - requestType = com.google.cloud.datacatalog.v1beta1.ListTagsRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.ListTagsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.ListTagsRequest, - com.google.cloud.datacatalog.v1beta1.ListTagsResponse> - getListTagsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.ListTagsRequest, - com.google.cloud.datacatalog.v1beta1.ListTagsResponse> - getListTagsMethod; - if ((getListTagsMethod = DataCatalogGrpc.getListTagsMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getListTagsMethod = DataCatalogGrpc.getListTagsMethod) == null) { - DataCatalogGrpc.getListTagsMethod = - getListTagsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.ListTagsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.ListTagsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ListTags")) - .build(); - } - } - } - return getListTagsMethod; - } - - 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< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod() { - io.grpc.MethodDescriptor - getSetIamPolicyMethod; - if ((getSetIamPolicyMethod = DataCatalogGrpc.getSetIamPolicyMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getSetIamPolicyMethod = DataCatalogGrpc.getSetIamPolicyMethod) == null) { - DataCatalogGrpc.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 DataCatalogMethodDescriptorSupplier("SetIamPolicy")) - .build(); - } - } - } - return getSetIamPolicyMethod; - } - - 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< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod() { - io.grpc.MethodDescriptor - getGetIamPolicyMethod; - if ((getGetIamPolicyMethod = DataCatalogGrpc.getGetIamPolicyMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getGetIamPolicyMethod = DataCatalogGrpc.getGetIamPolicyMethod) == null) { - DataCatalogGrpc.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 DataCatalogMethodDescriptorSupplier("GetIamPolicy")) - .build(); - } - } - } - return getGetIamPolicyMethod; - } - - 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< - 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 = DataCatalogGrpc.getTestIamPermissionsMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getTestIamPermissionsMethod = DataCatalogGrpc.getTestIamPermissionsMethod) == null) { - DataCatalogGrpc.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 DataCatalogMethodDescriptorSupplier("TestIamPermissions")) - .build(); - } - } - } - return getTestIamPermissionsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static DataCatalogStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataCatalogStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataCatalogStub(channel, callOptions); - } - }; - return DataCatalogStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static DataCatalogBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataCatalogBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataCatalogBlockingStub(channel, callOptions); - } - }; - return DataCatalogBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static DataCatalogFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataCatalogFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataCatalogFutureStub(channel, callOptions); - } - }; - return DataCatalogFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Data Catalog API service allows clients to discover, understand, and manage
-   * their data.
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * Searches Data Catalog for multiple resources like entries, tags that
-     * match a query.
-     * This is a custom method
-     * (https://cloud.google.com/apis/design/custom_methods) and does not return
-     * the complete resource, only the resource identifier and high level
-     * fields. Clients can subsequentally call `Get` methods.
-     * Note that Data Catalog search queries do not guarantee full recall. Query
-     * results that match your query may not be returned, even in subsequent
-     * result pages. Also note that results returned (and not returned) can vary
-     * across repeated search queries.
-     * See [Data Catalog Search
-     * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
-     * for more information.
-     * 
- */ - default void searchCatalog( - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSearchCatalogMethod(), responseObserver); - } - - /** - * - * - *
-     * A maximum of 10,000 entry groups may be created per organization across all
-     * locations.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `parent` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - default void createEntryGroup( - com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateEntryGroupMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates an EntryGroup. The user should enable the Data Catalog API in the
-     * project identified by the `entry_group.name` parameter (see [Data Catalog
-     * Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - default void updateEntryGroup( - com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateEntryGroupMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets an EntryGroup.
-     * 
- */ - default void getEntryGroup( - com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetEntryGroupMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes an EntryGroup. Only entry groups that do not contain entries can be
-     * deleted. Users should enable the Data Catalog API in the project
-     * identified by the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - default void deleteEntryGroup( - com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteEntryGroupMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists entry groups.
-     * 
- */ - default void listEntryGroups( - com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListEntryGroupsMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates an entry. Only entries of 'FILESET' type or user-specified type can
-     * be created.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `parent` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * A maximum of 100,000 entries may be created per entry group.
-     * 
- */ - default void createEntry( - com.google.cloud.datacatalog.v1beta1.CreateEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateEntryMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates an existing entry.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `entry.name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - default void updateEntry( - com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateEntryMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes an existing entry. Only entries created through
-     * [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry]
-     * method can be deleted.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - default void deleteEntry( - com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteEntryMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets an entry.
-     * 
- */ - default void getEntry( - com.google.cloud.datacatalog.v1beta1.GetEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEntryMethod(), responseObserver); - } - - /** - * - * - *
-     * Get an entry by target resource name. This method allows clients to use
-     * the resource name from the source Google Cloud Platform service to get the
-     * Data Catalog Entry.
-     * 
- */ - default void lookupEntry( - com.google.cloud.datacatalog.v1beta1.LookupEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getLookupEntryMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists entries.
-     * 
- */ - default void listEntries( - com.google.cloud.datacatalog.v1beta1.ListEntriesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListEntriesMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a tag template. The user should enable the Data Catalog API in
-     * the project identified by the `parent` parameter (see [Data Catalog
-     * Resource
-     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
-     * for more information).
-     * 
- */ - default void createTagTemplate( - com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateTagTemplateMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a tag template.
-     * 
- */ - default void getTagTemplate( - com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetTagTemplateMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a tag template. This method cannot be used to update the fields of
-     * a template. The tag template fields are represented as separate resources
-     * and should be updated using their own create/update/delete methods.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `tag_template.name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - default void updateTagTemplate( - com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateTagTemplateMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a tag template and all tags using the template.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - default void deleteTagTemplate( - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteTagTemplateMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a field in a tag template. The user should enable the Data Catalog
-     * API in the project identified by the `parent` parameter (see
-     * [Data Catalog Resource
-     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
-     * for more information).
-     * 
- */ - default void createTagTemplateField( - com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateTagTemplateFieldMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a field in a tag template. This method cannot be used to update the
-     * field type. Users should enable the Data Catalog API in the project
-     * identified by the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - default void updateTagTemplateField( - com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateTagTemplateFieldMethod(), responseObserver); - } - - /** - * - * - *
-     * Renames a field in a tag template. The user should enable the Data Catalog
-     * API in the project identified by the `name` parameter (see [Data Catalog
-     * Resource
-     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
-     * for more information).
-     * 
- */ - default void renameTagTemplateField( - com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRenameTagTemplateFieldMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a field in a tag template and all uses of that field.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - default void deleteTagTemplateField( - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteTagTemplateFieldMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a tag on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
-     * Note: The project identified by the `parent` parameter for the
-     * [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters)
-     * and the
-     * [tag
-     * template](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters)
-     * used to create the tag must be from the same organization.
-     * 
- */ - default void createTag( - com.google.cloud.datacatalog.v1beta1.CreateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates an existing tag.
-     * 
- */ - default void updateTag( - com.google.cloud.datacatalog.v1beta1.UpdateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - default void deleteTag( - com.google.cloud.datacatalog.v1beta1.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists the tags on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
-     * 
- */ - default void listTags( - com.google.cloud.datacatalog.v1beta1.ListTagsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); - } - - /** - * - * - *
-     * Sets the access control policy for a resource. Replaces any existing
-     * policy.
-     * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * Callers must have following Google IAM permission
-     *   - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
-     *     templates.
-     *   - `datacatalog.entries.setIamPolicy` to set policies on entries.
-     *   - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
-     * 
- */ - default void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the access control policy for a resource. A `NOT_FOUND` error
-     * is returned if the resource does not exist. An empty policy is returned
-     * if the resource exists but does not have a policy set on it.
-     * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * Callers must have following Google IAM permission
-     *   - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
-     *     templates.
-     *   - `datacatalog.entries.getIamPolicy` to get policies on entries.
-     *   - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
-     * 
- */ - default void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns the caller's permissions on a resource.
-     * If the resource does not exist, an empty set of permissions is returned
-     * (We don't return a `NOT_FOUND` error).
-     * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * A caller is not required to have Google IAM permission to make this
-     * request.
-     * 
- */ - default void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service DataCatalog. - * - *
-   * Data Catalog API service allows clients to discover, understand, and manage
-   * their data.
-   * 
- */ - public abstract static class DataCatalogImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return DataCatalogGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service DataCatalog. - * - *
-   * Data Catalog API service allows clients to discover, understand, and manage
-   * their data.
-   * 
- */ - public static final class DataCatalogStub - extends io.grpc.stub.AbstractAsyncStub { - private DataCatalogStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataCatalogStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataCatalogStub(channel, callOptions); - } - - /** - * - * - *
-     * Searches Data Catalog for multiple resources like entries, tags that
-     * match a query.
-     * This is a custom method
-     * (https://cloud.google.com/apis/design/custom_methods) and does not return
-     * the complete resource, only the resource identifier and high level
-     * fields. Clients can subsequentally call `Get` methods.
-     * Note that Data Catalog search queries do not guarantee full recall. Query
-     * results that match your query may not be returned, even in subsequent
-     * result pages. Also note that results returned (and not returned) can vary
-     * across repeated search queries.
-     * See [Data Catalog Search
-     * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
-     * for more information.
-     * 
- */ - public void searchCatalog( - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchCatalogMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * A maximum of 10,000 entry groups may be created per organization across all
-     * locations.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `parent` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public void createEntryGroup( - com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateEntryGroupMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates an EntryGroup. The user should enable the Data Catalog API in the
-     * project identified by the `entry_group.name` parameter (see [Data Catalog
-     * Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public void updateEntryGroup( - com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateEntryGroupMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets an EntryGroup.
-     * 
- */ - public void getEntryGroup( - com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetEntryGroupMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes an EntryGroup. Only entry groups that do not contain entries can be
-     * deleted. Users should enable the Data Catalog API in the project
-     * identified by the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public void deleteEntryGroup( - com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteEntryGroupMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists entry groups.
-     * 
- */ - public void listEntryGroups( - com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListEntryGroupsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates an entry. Only entries of 'FILESET' type or user-specified type can
-     * be created.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `parent` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * A maximum of 100,000 entries may be created per entry group.
-     * 
- */ - public void createEntry( - com.google.cloud.datacatalog.v1beta1.CreateEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateEntryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates an existing entry.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `entry.name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public void updateEntry( - com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateEntryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes an existing entry. Only entries created through
-     * [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry]
-     * method can be deleted.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public void deleteEntry( - com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteEntryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets an entry.
-     * 
- */ - public void getEntry( - com.google.cloud.datacatalog.v1beta1.GetEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetEntryMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Get an entry by target resource name. This method allows clients to use
-     * the resource name from the source Google Cloud Platform service to get the
-     * Data Catalog Entry.
-     * 
- */ - public void lookupEntry( - com.google.cloud.datacatalog.v1beta1.LookupEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getLookupEntryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists entries.
-     * 
- */ - public void listEntries( - com.google.cloud.datacatalog.v1beta1.ListEntriesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListEntriesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a tag template. The user should enable the Data Catalog API in
-     * the project identified by the `parent` parameter (see [Data Catalog
-     * Resource
-     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
-     * for more information).
-     * 
- */ - public void createTagTemplate( - com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTagTemplateMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a tag template.
-     * 
- */ - public void getTagTemplate( - com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTagTemplateMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a tag template. This method cannot be used to update the fields of
-     * a template. The tag template fields are represented as separate resources
-     * and should be updated using their own create/update/delete methods.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `tag_template.name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public void updateTagTemplate( - com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTagTemplateMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a tag template and all tags using the template.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public void deleteTagTemplate( - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTagTemplateMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a field in a tag template. The user should enable the Data Catalog
-     * API in the project identified by the `parent` parameter (see
-     * [Data Catalog Resource
-     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
-     * for more information).
-     * 
- */ - public void createTagTemplateField( - com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTagTemplateFieldMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a field in a tag template. This method cannot be used to update the
-     * field type. Users should enable the Data Catalog API in the project
-     * identified by the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public void updateTagTemplateField( - com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTagTemplateFieldMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Renames a field in a tag template. The user should enable the Data Catalog
-     * API in the project identified by the `name` parameter (see [Data Catalog
-     * Resource
-     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
-     * for more information).
-     * 
- */ - public void renameTagTemplateField( - com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRenameTagTemplateFieldMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a field in a tag template and all uses of that field.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public void deleteTagTemplateField( - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTagTemplateFieldMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a tag on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
-     * Note: The project identified by the `parent` parameter for the
-     * [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters)
-     * and the
-     * [tag
-     * template](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters)
-     * used to create the tag must be from the same organization.
-     * 
- */ - public void createTag( - com.google.cloud.datacatalog.v1beta1.CreateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates an existing tag.
-     * 
- */ - public void updateTag( - com.google.cloud.datacatalog.v1beta1.UpdateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag( - com.google.cloud.datacatalog.v1beta1.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Lists the tags on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
-     * 
- */ - public void listTags( - com.google.cloud.datacatalog.v1beta1.ListTagsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Sets the access control policy for a resource. Replaces any existing
-     * policy.
-     * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * Callers must have following Google IAM permission
-     *   - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
-     *     templates.
-     *   - `datacatalog.entries.setIamPolicy` to set policies on entries.
-     *   - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
-     * 
- */ - 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); - } - - /** - * - * - *
-     * Gets the access control policy for a resource. A `NOT_FOUND` error
-     * is returned if the resource does not exist. An empty policy is returned
-     * if the resource exists but does not have a policy set on it.
-     * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * Callers must have following Google IAM permission
-     *   - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
-     *     templates.
-     *   - `datacatalog.entries.getIamPolicy` to get policies on entries.
-     *   - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
-     * 
- */ - 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); - } - - /** - * - * - *
-     * Returns the caller's permissions on a resource.
-     * If the resource does not exist, an empty set of permissions is returned
-     * (We don't return a `NOT_FOUND` error).
-     * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * A caller is not required to have Google IAM permission to make this
-     * request.
-     * 
- */ - 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); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service DataCatalog. - * - *
-   * Data Catalog API service allows clients to discover, understand, and manage
-   * their data.
-   * 
- */ - public static final class DataCatalogBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private DataCatalogBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataCatalogBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataCatalogBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Searches Data Catalog for multiple resources like entries, tags that
-     * match a query.
-     * This is a custom method
-     * (https://cloud.google.com/apis/design/custom_methods) and does not return
-     * the complete resource, only the resource identifier and high level
-     * fields. Clients can subsequentally call `Get` methods.
-     * Note that Data Catalog search queries do not guarantee full recall. Query
-     * results that match your query may not be returned, even in subsequent
-     * result pages. Also note that results returned (and not returned) can vary
-     * across repeated search queries.
-     * See [Data Catalog Search
-     * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
-     * for more information.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse searchCatalog( - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSearchCatalogMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * A maximum of 10,000 entry groups may be created per organization across all
-     * locations.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `parent` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.EntryGroup createEntryGroup( - com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateEntryGroupMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates an EntryGroup. The user should enable the Data Catalog API in the
-     * project identified by the `entry_group.name` parameter (see [Data Catalog
-     * Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.EntryGroup updateEntryGroup( - com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateEntryGroupMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets an EntryGroup.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroup( - com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetEntryGroupMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes an EntryGroup. Only entry groups that do not contain entries can be
-     * deleted. Users should enable the Data Catalog API in the project
-     * identified by the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.protobuf.Empty deleteEntryGroup( - com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteEntryGroupMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists entry groups.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse listEntryGroups( - com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListEntryGroupsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates an entry. Only entries of 'FILESET' type or user-specified type can
-     * be created.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `parent` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * A maximum of 100,000 entries may be created per entry group.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.Entry createEntry( - com.google.cloud.datacatalog.v1beta1.CreateEntryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateEntryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates an existing entry.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `entry.name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.Entry updateEntry( - com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateEntryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes an existing entry. Only entries created through
-     * [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry]
-     * method can be deleted.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.protobuf.Empty deleteEntry( - com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteEntryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets an entry.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.Entry getEntry( - com.google.cloud.datacatalog.v1beta1.GetEntryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetEntryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get an entry by target resource name. This method allows clients to use
-     * the resource name from the source Google Cloud Platform service to get the
-     * Data Catalog Entry.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.Entry lookupEntry( - com.google.cloud.datacatalog.v1beta1.LookupEntryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getLookupEntryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists entries.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.ListEntriesResponse listEntries( - com.google.cloud.datacatalog.v1beta1.ListEntriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListEntriesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a tag template. The user should enable the Data Catalog API in
-     * the project identified by the `parent` parameter (see [Data Catalog
-     * Resource
-     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
-     * for more information).
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.TagTemplate createTagTemplate( - com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTagTemplateMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a tag template.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.TagTemplate getTagTemplate( - com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTagTemplateMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a tag template. This method cannot be used to update the fields of
-     * a template. The tag template fields are represented as separate resources
-     * and should be updated using their own create/update/delete methods.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `tag_template.name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.TagTemplate updateTagTemplate( - com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTagTemplateMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a tag template and all tags using the template.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.protobuf.Empty deleteTagTemplate( - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTagTemplateMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a field in a tag template. The user should enable the Data Catalog
-     * API in the project identified by the `parent` parameter (see
-     * [Data Catalog Resource
-     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
-     * for more information).
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.TagTemplateField createTagTemplateField( - com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTagTemplateFieldMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a field in a tag template. This method cannot be used to update the
-     * field type. Users should enable the Data Catalog API in the project
-     * identified by the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.TagTemplateField updateTagTemplateField( - com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTagTemplateFieldMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Renames a field in a tag template. The user should enable the Data Catalog
-     * API in the project identified by the `name` parameter (see [Data Catalog
-     * Resource
-     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
-     * for more information).
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.TagTemplateField renameTagTemplateField( - com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRenameTagTemplateFieldMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a field in a tag template and all uses of that field.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.protobuf.Empty deleteTagTemplateField( - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTagTemplateFieldMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a tag on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
-     * Note: The project identified by the `parent` parameter for the
-     * [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters)
-     * and the
-     * [tag
-     * template](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters)
-     * used to create the tag must be from the same organization.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.Tag createTag( - com.google.cloud.datacatalog.v1beta1.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates an existing tag.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.Tag updateTag( - com.google.cloud.datacatalog.v1beta1.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public com.google.protobuf.Empty deleteTag( - com.google.cloud.datacatalog.v1beta1.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists the tags on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.ListTagsResponse listTags( - com.google.cloud.datacatalog.v1beta1.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTagsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Sets the access control policy for a resource. Replaces any existing
-     * policy.
-     * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * Callers must have following Google IAM permission
-     *   - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
-     *     templates.
-     *   - `datacatalog.entries.setIamPolicy` to set policies on entries.
-     *   - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
-     * 
- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the access control policy for a resource. A `NOT_FOUND` error
-     * is returned if the resource does not exist. An empty policy is returned
-     * if the resource exists but does not have a policy set on it.
-     * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * Callers must have following Google IAM permission
-     *   - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
-     *     templates.
-     *   - `datacatalog.entries.getIamPolicy` to get policies on entries.
-     *   - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
-     * 
- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns the caller's permissions on a resource.
-     * If the resource does not exist, an empty set of permissions is returned
-     * (We don't return a `NOT_FOUND` error).
-     * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * A caller is not required to have Google IAM permission to make this
-     * request.
-     * 
- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service DataCatalog. - * - *
-   * Data Catalog API service allows clients to discover, understand, and manage
-   * their data.
-   * 
- */ - public static final class DataCatalogFutureStub - extends io.grpc.stub.AbstractFutureStub { - private DataCatalogFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataCatalogFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataCatalogFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Searches Data Catalog for multiple resources like entries, tags that
-     * match a query.
-     * This is a custom method
-     * (https://cloud.google.com/apis/design/custom_methods) and does not return
-     * the complete resource, only the resource identifier and high level
-     * fields. Clients can subsequentally call `Get` methods.
-     * Note that Data Catalog search queries do not guarantee full recall. Query
-     * results that match your query may not be returned, even in subsequent
-     * result pages. Also note that results returned (and not returned) can vary
-     * across repeated search queries.
-     * See [Data Catalog Search
-     * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
-     * for more information.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse> - searchCatalog(com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSearchCatalogMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * A maximum of 10,000 entry groups may be created per organization across all
-     * locations.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `parent` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1beta1.EntryGroup> - createEntryGroup(com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateEntryGroupMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates an EntryGroup. The user should enable the Data Catalog API in the
-     * project identified by the `entry_group.name` parameter (see [Data Catalog
-     * Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1beta1.EntryGroup> - updateEntryGroup(com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateEntryGroupMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets an EntryGroup.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1beta1.EntryGroup> - getEntryGroup(com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetEntryGroupMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes an EntryGroup. Only entry groups that do not contain entries can be
-     * deleted. Users should enable the Data Catalog API in the project
-     * identified by the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteEntryGroup(com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteEntryGroupMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists entry groups.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse> - listEntryGroups(com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListEntryGroupsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates an entry. Only entries of 'FILESET' type or user-specified type can
-     * be created.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `parent` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * A maximum of 100,000 entries may be created per entry group.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1beta1.Entry> - createEntry(com.google.cloud.datacatalog.v1beta1.CreateEntryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateEntryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates an existing entry.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `entry.name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1beta1.Entry> - updateEntry(com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateEntryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes an existing entry. Only entries created through
-     * [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry]
-     * method can be deleted.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteEntry(com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteEntryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets an entry.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1beta1.Entry> - getEntry(com.google.cloud.datacatalog.v1beta1.GetEntryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetEntryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Get an entry by target resource name. This method allows clients to use
-     * the resource name from the source Google Cloud Platform service to get the
-     * Data Catalog Entry.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1beta1.Entry> - lookupEntry(com.google.cloud.datacatalog.v1beta1.LookupEntryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getLookupEntryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists entries.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1beta1.ListEntriesResponse> - listEntries(com.google.cloud.datacatalog.v1beta1.ListEntriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListEntriesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a tag template. The user should enable the Data Catalog API in
-     * the project identified by the `parent` parameter (see [Data Catalog
-     * Resource
-     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
-     * for more information).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1beta1.TagTemplate> - createTagTemplate(com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTagTemplateMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a tag template.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1beta1.TagTemplate> - getTagTemplate(com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTagTemplateMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a tag template. This method cannot be used to update the fields of
-     * a template. The tag template fields are represented as separate resources
-     * and should be updated using their own create/update/delete methods.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `tag_template.name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1beta1.TagTemplate> - updateTagTemplate(com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTagTemplateMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a tag template and all tags using the template.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteTagTemplate(com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTagTemplateMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a field in a tag template. The user should enable the Data Catalog
-     * API in the project identified by the `parent` parameter (see
-     * [Data Catalog Resource
-     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
-     * for more information).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1beta1.TagTemplateField> - createTagTemplateField( - com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTagTemplateFieldMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a field in a tag template. This method cannot be used to update the
-     * field type. Users should enable the Data Catalog API in the project
-     * identified by the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1beta1.TagTemplateField> - updateTagTemplateField( - com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTagTemplateFieldMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Renames a field in a tag template. The user should enable the Data Catalog
-     * API in the project identified by the `name` parameter (see [Data Catalog
-     * Resource
-     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
-     * for more information).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1beta1.TagTemplateField> - renameTagTemplateField( - com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRenameTagTemplateFieldMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a field in a tag template and all uses of that field.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteTagTemplateField( - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTagTemplateFieldMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a tag on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
-     * Note: The project identified by the `parent` parameter for the
-     * [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters)
-     * and the
-     * [tag
-     * template](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters)
-     * used to create the tag must be from the same organization.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1beta1.Tag> - createTag(com.google.cloud.datacatalog.v1beta1.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates an existing tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1beta1.Tag> - updateTag(com.google.cloud.datacatalog.v1beta1.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTag( - com.google.cloud.datacatalog.v1beta1.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists the tags on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1beta1.ListTagsResponse> - listTags(com.google.cloud.datacatalog.v1beta1.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Sets the access control policy for a resource. Replaces any existing
-     * policy.
-     * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * Callers must have following Google IAM permission
-     *   - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
-     *     templates.
-     *   - `datacatalog.entries.setIamPolicy` to set policies on entries.
-     *   - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
-     * 
- */ - 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); - } - - /** - * - * - *
-     * Gets the access control policy for a resource. A `NOT_FOUND` error
-     * is returned if the resource does not exist. An empty policy is returned
-     * if the resource exists but does not have a policy set on it.
-     * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * Callers must have following Google IAM permission
-     *   - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
-     *     templates.
-     *   - `datacatalog.entries.getIamPolicy` to get policies on entries.
-     *   - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
-     * 
- */ - 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); - } - - /** - * - * - *
-     * Returns the caller's permissions on a resource.
-     * If the resource does not exist, an empty set of permissions is returned
-     * (We don't return a `NOT_FOUND` error).
-     * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * A caller is not required to have Google IAM permission to make this
-     * 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); - } - } - - private static final int METHODID_SEARCH_CATALOG = 0; - private static final int METHODID_CREATE_ENTRY_GROUP = 1; - private static final int METHODID_UPDATE_ENTRY_GROUP = 2; - private static final int METHODID_GET_ENTRY_GROUP = 3; - private static final int METHODID_DELETE_ENTRY_GROUP = 4; - private static final int METHODID_LIST_ENTRY_GROUPS = 5; - private static final int METHODID_CREATE_ENTRY = 6; - private static final int METHODID_UPDATE_ENTRY = 7; - private static final int METHODID_DELETE_ENTRY = 8; - private static final int METHODID_GET_ENTRY = 9; - private static final int METHODID_LOOKUP_ENTRY = 10; - private static final int METHODID_LIST_ENTRIES = 11; - private static final int METHODID_CREATE_TAG_TEMPLATE = 12; - private static final int METHODID_GET_TAG_TEMPLATE = 13; - private static final int METHODID_UPDATE_TAG_TEMPLATE = 14; - private static final int METHODID_DELETE_TAG_TEMPLATE = 15; - private static final int METHODID_CREATE_TAG_TEMPLATE_FIELD = 16; - private static final int METHODID_UPDATE_TAG_TEMPLATE_FIELD = 17; - private static final int METHODID_RENAME_TAG_TEMPLATE_FIELD = 18; - private static final int METHODID_DELETE_TAG_TEMPLATE_FIELD = 19; - private static final int METHODID_CREATE_TAG = 20; - private static final int METHODID_UPDATE_TAG = 21; - private static final int METHODID_DELETE_TAG = 22; - private static final int METHODID_LIST_TAGS = 23; - private static final int METHODID_SET_IAM_POLICY = 24; - private static final int METHODID_GET_IAM_POLICY = 25; - private static final int METHODID_TEST_IAM_PERMISSIONS = 26; - - 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_SEARCH_CATALOG: - serviceImpl.searchCatalog( - (com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse>) - responseObserver); - break; - case METHODID_CREATE_ENTRY_GROUP: - serviceImpl.createEntryGroup( - (com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_ENTRY_GROUP: - serviceImpl.updateEntryGroup( - (com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_ENTRY_GROUP: - serviceImpl.getEntryGroup( - (com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_ENTRY_GROUP: - serviceImpl.deleteEntryGroup( - (com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ENTRY_GROUPS: - serviceImpl.listEntryGroups( - (com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse>) - responseObserver); - break; - case METHODID_CREATE_ENTRY: - serviceImpl.createEntry( - (com.google.cloud.datacatalog.v1beta1.CreateEntryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_ENTRY: - serviceImpl.updateEntry( - (com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_ENTRY: - serviceImpl.deleteEntry( - (com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ENTRY: - serviceImpl.getEntry( - (com.google.cloud.datacatalog.v1beta1.GetEntryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LOOKUP_ENTRY: - serviceImpl.lookupEntry( - (com.google.cloud.datacatalog.v1beta1.LookupEntryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_ENTRIES: - serviceImpl.listEntries( - (com.google.cloud.datacatalog.v1beta1.ListEntriesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.datacatalog.v1beta1.ListEntriesResponse>) - responseObserver); - break; - case METHODID_CREATE_TAG_TEMPLATE: - serviceImpl.createTagTemplate( - (com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_TAG_TEMPLATE: - serviceImpl.getTagTemplate( - (com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_TAG_TEMPLATE: - serviceImpl.updateTagTemplate( - (com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_TAG_TEMPLATE: - serviceImpl.deleteTagTemplate( - (com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_TAG_TEMPLATE_FIELD: - serviceImpl.createTagTemplateField( - (com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_TAG_TEMPLATE_FIELD: - serviceImpl.updateTagTemplateField( - (com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_RENAME_TAG_TEMPLATE_FIELD: - serviceImpl.renameTagTemplateField( - (com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_TAG_TEMPLATE_FIELD: - serviceImpl.deleteTagTemplateField( - (com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_TAG: - serviceImpl.createTag( - (com.google.cloud.datacatalog.v1beta1.CreateTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_TAG: - serviceImpl.updateTag( - (com.google.cloud.datacatalog.v1beta1.UpdateTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_TAG: - serviceImpl.deleteTag( - (com.google.cloud.datacatalog.v1beta1.DeleteTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TAGS: - serviceImpl.listTags( - (com.google.cloud.datacatalog.v1beta1.ListTagsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy( - (com.google.iam.v1.SetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy( - (com.google.iam.v1.GetIamPolicyRequest) 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); - 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( - getSearchCatalogMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest, - com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse>( - service, METHODID_SEARCH_CATALOG))) - .addMethod( - getCreateEntryGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest, - com.google.cloud.datacatalog.v1beta1.EntryGroup>( - service, METHODID_CREATE_ENTRY_GROUP))) - .addMethod( - getUpdateEntryGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest, - com.google.cloud.datacatalog.v1beta1.EntryGroup>( - service, METHODID_UPDATE_ENTRY_GROUP))) - .addMethod( - getGetEntryGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest, - com.google.cloud.datacatalog.v1beta1.EntryGroup>( - service, METHODID_GET_ENTRY_GROUP))) - .addMethod( - getDeleteEntryGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest, - com.google.protobuf.Empty>(service, METHODID_DELETE_ENTRY_GROUP))) - .addMethod( - getListEntryGroupsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest, - com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse>( - service, METHODID_LIST_ENTRY_GROUPS))) - .addMethod( - getCreateEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.CreateEntryRequest, - com.google.cloud.datacatalog.v1beta1.Entry>(service, METHODID_CREATE_ENTRY))) - .addMethod( - getUpdateEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest, - com.google.cloud.datacatalog.v1beta1.Entry>(service, METHODID_UPDATE_ENTRY))) - .addMethod( - getDeleteEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest, - com.google.protobuf.Empty>(service, METHODID_DELETE_ENTRY))) - .addMethod( - getGetEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.GetEntryRequest, - com.google.cloud.datacatalog.v1beta1.Entry>(service, METHODID_GET_ENTRY))) - .addMethod( - getLookupEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.LookupEntryRequest, - com.google.cloud.datacatalog.v1beta1.Entry>(service, METHODID_LOOKUP_ENTRY))) - .addMethod( - getListEntriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.ListEntriesRequest, - com.google.cloud.datacatalog.v1beta1.ListEntriesResponse>( - service, METHODID_LIST_ENTRIES))) - .addMethod( - getCreateTagTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplate>( - service, METHODID_CREATE_TAG_TEMPLATE))) - .addMethod( - getGetTagTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplate>( - service, METHODID_GET_TAG_TEMPLATE))) - .addMethod( - getUpdateTagTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplate>( - service, METHODID_UPDATE_TAG_TEMPLATE))) - .addMethod( - getDeleteTagTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest, - com.google.protobuf.Empty>(service, METHODID_DELETE_TAG_TEMPLATE))) - .addMethod( - getCreateTagTemplateFieldMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplateField>( - service, METHODID_CREATE_TAG_TEMPLATE_FIELD))) - .addMethod( - getUpdateTagTemplateFieldMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplateField>( - service, METHODID_UPDATE_TAG_TEMPLATE_FIELD))) - .addMethod( - getRenameTagTemplateFieldMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplateField>( - service, METHODID_RENAME_TAG_TEMPLATE_FIELD))) - .addMethod( - getDeleteTagTemplateFieldMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest, - com.google.protobuf.Empty>(service, METHODID_DELETE_TAG_TEMPLATE_FIELD))) - .addMethod( - getCreateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.CreateTagRequest, - com.google.cloud.datacatalog.v1beta1.Tag>(service, METHODID_CREATE_TAG))) - .addMethod( - getUpdateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.UpdateTagRequest, - com.google.cloud.datacatalog.v1beta1.Tag>(service, METHODID_UPDATE_TAG))) - .addMethod( - getDeleteTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.DeleteTagRequest, - com.google.protobuf.Empty>(service, METHODID_DELETE_TAG))) - .addMethod( - getListTagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.ListTagsRequest, - com.google.cloud.datacatalog.v1beta1.ListTagsResponse>( - service, METHODID_LIST_TAGS))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers( - service, METHODID_SET_IAM_POLICY))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers( - service, METHODID_GET_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))) - .build(); - } - - private abstract static class DataCatalogBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - DataCatalogBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Datacatalog.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("DataCatalog"); - } - } - - private static final class DataCatalogFileDescriptorSupplier - extends DataCatalogBaseDescriptorSupplier { - DataCatalogFileDescriptorSupplier() {} - } - - private static final class DataCatalogMethodDescriptorSupplier - extends DataCatalogBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - DataCatalogMethodDescriptorSupplier(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 (DataCatalogGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DataCatalogFileDescriptorSupplier()) - .addMethod(getSearchCatalogMethod()) - .addMethod(getCreateEntryGroupMethod()) - .addMethod(getUpdateEntryGroupMethod()) - .addMethod(getGetEntryGroupMethod()) - .addMethod(getDeleteEntryGroupMethod()) - .addMethod(getListEntryGroupsMethod()) - .addMethod(getCreateEntryMethod()) - .addMethod(getUpdateEntryMethod()) - .addMethod(getDeleteEntryMethod()) - .addMethod(getGetEntryMethod()) - .addMethod(getLookupEntryMethod()) - .addMethod(getListEntriesMethod()) - .addMethod(getCreateTagTemplateMethod()) - .addMethod(getGetTagTemplateMethod()) - .addMethod(getUpdateTagTemplateMethod()) - .addMethod(getDeleteTagTemplateMethod()) - .addMethod(getCreateTagTemplateFieldMethod()) - .addMethod(getUpdateTagTemplateFieldMethod()) - .addMethod(getRenameTagTemplateFieldMethod()) - .addMethod(getDeleteTagTemplateFieldMethod()) - .addMethod(getCreateTagMethod()) - .addMethod(getUpdateTagMethod()) - .addMethod(getDeleteTagMethod()) - .addMethod(getListTagsMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerGrpc.java b/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerGrpc.java deleted file mode 100644 index 65948b7a2f75..000000000000 --- a/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerGrpc.java +++ /dev/null @@ -1,1792 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.datacatalog.v1beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * The policy tag manager API service allows clients to manage their taxonomies
- * and policy tags.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/datacatalog/v1beta1/policytagmanager.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class PolicyTagManagerGrpc { - - private PolicyTagManagerGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.datacatalog.v1beta1.PolicyTagManager"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest, - com.google.cloud.datacatalog.v1beta1.Taxonomy> - getCreateTaxonomyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTaxonomy", - requestType = com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.Taxonomy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest, - com.google.cloud.datacatalog.v1beta1.Taxonomy> - getCreateTaxonomyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest, - com.google.cloud.datacatalog.v1beta1.Taxonomy> - getCreateTaxonomyMethod; - if ((getCreateTaxonomyMethod = PolicyTagManagerGrpc.getCreateTaxonomyMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getCreateTaxonomyMethod = PolicyTagManagerGrpc.getCreateTaxonomyMethod) == null) { - PolicyTagManagerGrpc.getCreateTaxonomyMethod = - getCreateTaxonomyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTaxonomy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance())) - .setSchemaDescriptor( - new PolicyTagManagerMethodDescriptorSupplier("CreateTaxonomy")) - .build(); - } - } - } - return getCreateTaxonomyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest, com.google.protobuf.Empty> - getDeleteTaxonomyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTaxonomy", - requestType = com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest, com.google.protobuf.Empty> - getDeleteTaxonomyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest, com.google.protobuf.Empty> - getDeleteTaxonomyMethod; - if ((getDeleteTaxonomyMethod = PolicyTagManagerGrpc.getDeleteTaxonomyMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getDeleteTaxonomyMethod = PolicyTagManagerGrpc.getDeleteTaxonomyMethod) == null) { - PolicyTagManagerGrpc.getDeleteTaxonomyMethod = - getDeleteTaxonomyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTaxonomy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new PolicyTagManagerMethodDescriptorSupplier("DeleteTaxonomy")) - .build(); - } - } - } - return getDeleteTaxonomyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest, - com.google.cloud.datacatalog.v1beta1.Taxonomy> - getUpdateTaxonomyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTaxonomy", - requestType = com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.Taxonomy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest, - com.google.cloud.datacatalog.v1beta1.Taxonomy> - getUpdateTaxonomyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest, - com.google.cloud.datacatalog.v1beta1.Taxonomy> - getUpdateTaxonomyMethod; - if ((getUpdateTaxonomyMethod = PolicyTagManagerGrpc.getUpdateTaxonomyMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getUpdateTaxonomyMethod = PolicyTagManagerGrpc.getUpdateTaxonomyMethod) == null) { - PolicyTagManagerGrpc.getUpdateTaxonomyMethod = - getUpdateTaxonomyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTaxonomy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance())) - .setSchemaDescriptor( - new PolicyTagManagerMethodDescriptorSupplier("UpdateTaxonomy")) - .build(); - } - } - } - return getUpdateTaxonomyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest, - com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse> - getListTaxonomiesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTaxonomies", - requestType = com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest, - com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse> - getListTaxonomiesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest, - com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse> - getListTaxonomiesMethod; - if ((getListTaxonomiesMethod = PolicyTagManagerGrpc.getListTaxonomiesMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getListTaxonomiesMethod = PolicyTagManagerGrpc.getListTaxonomiesMethod) == null) { - PolicyTagManagerGrpc.getListTaxonomiesMethod = - getListTaxonomiesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTaxonomies")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new PolicyTagManagerMethodDescriptorSupplier("ListTaxonomies")) - .build(); - } - } - } - return getListTaxonomiesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest, - com.google.cloud.datacatalog.v1beta1.Taxonomy> - getGetTaxonomyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTaxonomy", - requestType = com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.Taxonomy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest, - com.google.cloud.datacatalog.v1beta1.Taxonomy> - getGetTaxonomyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest, - com.google.cloud.datacatalog.v1beta1.Taxonomy> - getGetTaxonomyMethod; - if ((getGetTaxonomyMethod = PolicyTagManagerGrpc.getGetTaxonomyMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getGetTaxonomyMethod = PolicyTagManagerGrpc.getGetTaxonomyMethod) == null) { - PolicyTagManagerGrpc.getGetTaxonomyMethod = - getGetTaxonomyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTaxonomy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance())) - .setSchemaDescriptor( - new PolicyTagManagerMethodDescriptorSupplier("GetTaxonomy")) - .build(); - } - } - } - return getGetTaxonomyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest, - com.google.cloud.datacatalog.v1beta1.PolicyTag> - getCreatePolicyTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreatePolicyTag", - requestType = com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.PolicyTag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest, - com.google.cloud.datacatalog.v1beta1.PolicyTag> - getCreatePolicyTagMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest, - com.google.cloud.datacatalog.v1beta1.PolicyTag> - getCreatePolicyTagMethod; - if ((getCreatePolicyTagMethod = PolicyTagManagerGrpc.getCreatePolicyTagMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getCreatePolicyTagMethod = PolicyTagManagerGrpc.getCreatePolicyTagMethod) == null) { - PolicyTagManagerGrpc.getCreatePolicyTagMethod = - getCreatePolicyTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreatePolicyTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance())) - .setSchemaDescriptor( - new PolicyTagManagerMethodDescriptorSupplier("CreatePolicyTag")) - .build(); - } - } - } - return getCreatePolicyTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest, com.google.protobuf.Empty> - getDeletePolicyTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePolicyTag", - requestType = com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest, com.google.protobuf.Empty> - getDeletePolicyTagMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest, com.google.protobuf.Empty> - getDeletePolicyTagMethod; - if ((getDeletePolicyTagMethod = PolicyTagManagerGrpc.getDeletePolicyTagMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getDeletePolicyTagMethod = PolicyTagManagerGrpc.getDeletePolicyTagMethod) == null) { - PolicyTagManagerGrpc.getDeletePolicyTagMethod = - getDeletePolicyTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePolicyTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new PolicyTagManagerMethodDescriptorSupplier("DeletePolicyTag")) - .build(); - } - } - } - return getDeletePolicyTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest, - com.google.cloud.datacatalog.v1beta1.PolicyTag> - getUpdatePolicyTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdatePolicyTag", - requestType = com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.PolicyTag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest, - com.google.cloud.datacatalog.v1beta1.PolicyTag> - getUpdatePolicyTagMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest, - com.google.cloud.datacatalog.v1beta1.PolicyTag> - getUpdatePolicyTagMethod; - if ((getUpdatePolicyTagMethod = PolicyTagManagerGrpc.getUpdatePolicyTagMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getUpdatePolicyTagMethod = PolicyTagManagerGrpc.getUpdatePolicyTagMethod) == null) { - PolicyTagManagerGrpc.getUpdatePolicyTagMethod = - getUpdatePolicyTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdatePolicyTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance())) - .setSchemaDescriptor( - new PolicyTagManagerMethodDescriptorSupplier("UpdatePolicyTag")) - .build(); - } - } - } - return getUpdatePolicyTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest, - com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse> - getListPolicyTagsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPolicyTags", - requestType = com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest, - com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse> - getListPolicyTagsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest, - com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse> - getListPolicyTagsMethod; - if ((getListPolicyTagsMethod = PolicyTagManagerGrpc.getListPolicyTagsMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getListPolicyTagsMethod = PolicyTagManagerGrpc.getListPolicyTagsMethod) == null) { - PolicyTagManagerGrpc.getListPolicyTagsMethod = - getListPolicyTagsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPolicyTags")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new PolicyTagManagerMethodDescriptorSupplier("ListPolicyTags")) - .build(); - } - } - } - return getListPolicyTagsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest, - com.google.cloud.datacatalog.v1beta1.PolicyTag> - getGetPolicyTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPolicyTag", - requestType = com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.PolicyTag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest, - com.google.cloud.datacatalog.v1beta1.PolicyTag> - getGetPolicyTagMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest, - com.google.cloud.datacatalog.v1beta1.PolicyTag> - getGetPolicyTagMethod; - if ((getGetPolicyTagMethod = PolicyTagManagerGrpc.getGetPolicyTagMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getGetPolicyTagMethod = PolicyTagManagerGrpc.getGetPolicyTagMethod) == null) { - PolicyTagManagerGrpc.getGetPolicyTagMethod = - getGetPolicyTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPolicyTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance())) - .setSchemaDescriptor( - new PolicyTagManagerMethodDescriptorSupplier("GetPolicyTag")) - .build(); - } - } - } - return getGetPolicyTagMethod; - } - - 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< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod() { - io.grpc.MethodDescriptor - getGetIamPolicyMethod; - if ((getGetIamPolicyMethod = PolicyTagManagerGrpc.getGetIamPolicyMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getGetIamPolicyMethod = PolicyTagManagerGrpc.getGetIamPolicyMethod) == null) { - PolicyTagManagerGrpc.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 PolicyTagManagerMethodDescriptorSupplier("GetIamPolicy")) - .build(); - } - } - } - return getGetIamPolicyMethod; - } - - 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< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod() { - io.grpc.MethodDescriptor - getSetIamPolicyMethod; - if ((getSetIamPolicyMethod = PolicyTagManagerGrpc.getSetIamPolicyMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getSetIamPolicyMethod = PolicyTagManagerGrpc.getSetIamPolicyMethod) == null) { - PolicyTagManagerGrpc.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 PolicyTagManagerMethodDescriptorSupplier("SetIamPolicy")) - .build(); - } - } - } - return getSetIamPolicyMethod; - } - - 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< - 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 = PolicyTagManagerGrpc.getTestIamPermissionsMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getTestIamPermissionsMethod = PolicyTagManagerGrpc.getTestIamPermissionsMethod) - == null) { - PolicyTagManagerGrpc.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 PolicyTagManagerMethodDescriptorSupplier("TestIamPermissions")) - .build(); - } - } - } - return getTestIamPermissionsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static PolicyTagManagerStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public PolicyTagManagerStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PolicyTagManagerStub(channel, callOptions); - } - }; - return PolicyTagManagerStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static PolicyTagManagerBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public PolicyTagManagerBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PolicyTagManagerBlockingStub(channel, callOptions); - } - }; - return PolicyTagManagerBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static PolicyTagManagerFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public PolicyTagManagerFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PolicyTagManagerFutureStub(channel, callOptions); - } - }; - return PolicyTagManagerFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * The policy tag manager API service allows clients to manage their taxonomies
-   * and policy tags.
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * Creates a taxonomy in the specified project.
-     * 
- */ - default void createTaxonomy( - com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateTaxonomyMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a taxonomy. This operation will also delete all
-     * policy tags in this taxonomy along with their associated policies.
-     * 
- */ - default void deleteTaxonomy( - com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteTaxonomyMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a taxonomy.
-     * 
- */ - default void updateTaxonomy( - com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateTaxonomyMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all taxonomies in a project in a particular location that the caller
-     * has permission to view.
-     * 
- */ - default void listTaxonomies( - com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListTaxonomiesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a taxonomy.
-     * 
- */ - default void getTaxonomy( - com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetTaxonomyMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a policy tag in the specified taxonomy.
-     * 
- */ - default void createPolicyTag( - com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreatePolicyTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a policy tag. Also deletes all of its descendant policy tags.
-     * 
- */ - default void deletePolicyTag( - com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeletePolicyTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a policy tag.
-     * 
- */ - default void updatePolicyTag( - com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdatePolicyTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all policy tags in a taxonomy.
-     * 
- */ - default void listPolicyTags( - com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListPolicyTagsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a policy tag.
-     * 
- */ - default void getPolicyTag( - com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetPolicyTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the IAM policy for a taxonomy or a policy tag.
-     * 
- */ - default void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Sets the IAM policy for a taxonomy or a policy tag.
-     * 
- */ - default void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns the permissions that a caller has on the specified taxonomy or
-     * policy tag.
-     * 
- */ - default void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service PolicyTagManager. - * - *
-   * The policy tag manager API service allows clients to manage their taxonomies
-   * and policy tags.
-   * 
- */ - public abstract static class PolicyTagManagerImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return PolicyTagManagerGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service PolicyTagManager. - * - *
-   * The policy tag manager API service allows clients to manage their taxonomies
-   * and policy tags.
-   * 
- */ - public static final class PolicyTagManagerStub - extends io.grpc.stub.AbstractAsyncStub { - private PolicyTagManagerStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected PolicyTagManagerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PolicyTagManagerStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a taxonomy in the specified project.
-     * 
- */ - public void createTaxonomy( - com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTaxonomyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a taxonomy. This operation will also delete all
-     * policy tags in this taxonomy along with their associated policies.
-     * 
- */ - public void deleteTaxonomy( - com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTaxonomyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a taxonomy.
-     * 
- */ - public void updateTaxonomy( - com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTaxonomyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all taxonomies in a project in a particular location that the caller
-     * has permission to view.
-     * 
- */ - public void listTaxonomies( - com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTaxonomiesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a taxonomy.
-     * 
- */ - public void getTaxonomy( - com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTaxonomyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a policy tag in the specified taxonomy.
-     * 
- */ - public void createPolicyTag( - com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreatePolicyTagMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a policy tag. Also deletes all of its descendant policy tags.
-     * 
- */ - public void deletePolicyTag( - com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePolicyTagMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a policy tag.
-     * 
- */ - public void updatePolicyTag( - com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdatePolicyTagMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all policy tags in a taxonomy.
-     * 
- */ - public void listPolicyTags( - com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPolicyTagsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a policy tag.
-     * 
- */ - public void getPolicyTag( - com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPolicyTagMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the IAM policy for a taxonomy or a policy tag.
-     * 
- */ - 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); - } - - /** - * - * - *
-     * Sets the IAM policy for a taxonomy or a policy tag.
-     * 
- */ - 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); - } - - /** - * - * - *
-     * Returns the permissions that a caller has on the specified taxonomy or
-     * policy tag.
-     * 
- */ - 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); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service PolicyTagManager. - * - *
-   * The policy tag manager API service allows clients to manage their taxonomies
-   * and policy tags.
-   * 
- */ - public static final class PolicyTagManagerBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private PolicyTagManagerBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected PolicyTagManagerBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PolicyTagManagerBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a taxonomy in the specified project.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.Taxonomy createTaxonomy( - com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTaxonomyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a taxonomy. This operation will also delete all
-     * policy tags in this taxonomy along with their associated policies.
-     * 
- */ - public com.google.protobuf.Empty deleteTaxonomy( - com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTaxonomyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a taxonomy.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.Taxonomy updateTaxonomy( - com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTaxonomyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all taxonomies in a project in a particular location that the caller
-     * has permission to view.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse listTaxonomies( - com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTaxonomiesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a taxonomy.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomy( - com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTaxonomyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a policy tag in the specified taxonomy.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.PolicyTag createPolicyTag( - com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreatePolicyTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a policy tag. Also deletes all of its descendant policy tags.
-     * 
- */ - public com.google.protobuf.Empty deletePolicyTag( - com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePolicyTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a policy tag.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.PolicyTag updatePolicyTag( - com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdatePolicyTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all policy tags in a taxonomy.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse listPolicyTags( - com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPolicyTagsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a policy tag.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.PolicyTag getPolicyTag( - com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPolicyTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the IAM policy for a taxonomy or a policy tag.
-     * 
- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Sets the IAM policy for a taxonomy or a policy tag.
-     * 
- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns the permissions that a caller has on the specified taxonomy or
-     * policy tag.
-     * 
- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service PolicyTagManager. - * - *
-   * The policy tag manager API service allows clients to manage their taxonomies
-   * and policy tags.
-   * 
- */ - public static final class PolicyTagManagerFutureStub - extends io.grpc.stub.AbstractFutureStub { - private PolicyTagManagerFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected PolicyTagManagerFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PolicyTagManagerFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a taxonomy in the specified project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1beta1.Taxonomy> - createTaxonomy(com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTaxonomyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a taxonomy. This operation will also delete all
-     * policy tags in this taxonomy along with their associated policies.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteTaxonomy(com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTaxonomyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a taxonomy.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1beta1.Taxonomy> - updateTaxonomy(com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTaxonomyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all taxonomies in a project in a particular location that the caller
-     * has permission to view.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse> - listTaxonomies(com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTaxonomiesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a taxonomy.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1beta1.Taxonomy> - getTaxonomy(com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTaxonomyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a policy tag in the specified taxonomy.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1beta1.PolicyTag> - createPolicyTag(com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreatePolicyTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a policy tag. Also deletes all of its descendant policy tags.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deletePolicyTag(com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePolicyTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a policy tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1beta1.PolicyTag> - updatePolicyTag(com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdatePolicyTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all policy tags in a taxonomy.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse> - listPolicyTags(com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPolicyTagsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a policy tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1beta1.PolicyTag> - getPolicyTag(com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPolicyTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the IAM policy for a taxonomy or a policy tag.
-     * 
- */ - 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 IAM policy for a taxonomy or a policy tag.
-     * 
- */ - 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 permissions that a caller has on the specified taxonomy or
-     * policy tag.
-     * 
- */ - 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); - } - } - - private static final int METHODID_CREATE_TAXONOMY = 0; - private static final int METHODID_DELETE_TAXONOMY = 1; - private static final int METHODID_UPDATE_TAXONOMY = 2; - private static final int METHODID_LIST_TAXONOMIES = 3; - private static final int METHODID_GET_TAXONOMY = 4; - private static final int METHODID_CREATE_POLICY_TAG = 5; - private static final int METHODID_DELETE_POLICY_TAG = 6; - private static final int METHODID_UPDATE_POLICY_TAG = 7; - private static final int METHODID_LIST_POLICY_TAGS = 8; - private static final int METHODID_GET_POLICY_TAG = 9; - private static final int METHODID_GET_IAM_POLICY = 10; - private static final int METHODID_SET_IAM_POLICY = 11; - private static final int METHODID_TEST_IAM_PERMISSIONS = 12; - - 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_TAXONOMY: - serviceImpl.createTaxonomy( - (com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_TAXONOMY: - serviceImpl.deleteTaxonomy( - (com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_TAXONOMY: - serviceImpl.updateTaxonomy( - (com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_TAXONOMIES: - serviceImpl.listTaxonomies( - (com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse>) - responseObserver); - break; - case METHODID_GET_TAXONOMY: - serviceImpl.getTaxonomy( - (com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_POLICY_TAG: - serviceImpl.createPolicyTag( - (com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_POLICY_TAG: - serviceImpl.deletePolicyTag( - (com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_POLICY_TAG: - serviceImpl.updatePolicyTag( - (com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_POLICY_TAGS: - serviceImpl.listPolicyTags( - (com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse>) - responseObserver); - break; - case METHODID_GET_POLICY_TAG: - serviceImpl.getPolicyTag( - (com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_IAM_POLICY: - 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, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions( - (com.google.iam.v1.TestIamPermissionsRequest) 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( - getCreateTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest, - com.google.cloud.datacatalog.v1beta1.Taxonomy>( - service, METHODID_CREATE_TAXONOMY))) - .addMethod( - getDeleteTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest, - com.google.protobuf.Empty>(service, METHODID_DELETE_TAXONOMY))) - .addMethod( - getUpdateTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest, - com.google.cloud.datacatalog.v1beta1.Taxonomy>( - service, METHODID_UPDATE_TAXONOMY))) - .addMethod( - getListTaxonomiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest, - com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse>( - service, METHODID_LIST_TAXONOMIES))) - .addMethod( - getGetTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest, - com.google.cloud.datacatalog.v1beta1.Taxonomy>(service, METHODID_GET_TAXONOMY))) - .addMethod( - getCreatePolicyTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest, - com.google.cloud.datacatalog.v1beta1.PolicyTag>( - service, METHODID_CREATE_POLICY_TAG))) - .addMethod( - getDeletePolicyTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest, - com.google.protobuf.Empty>(service, METHODID_DELETE_POLICY_TAG))) - .addMethod( - getUpdatePolicyTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest, - com.google.cloud.datacatalog.v1beta1.PolicyTag>( - service, METHODID_UPDATE_POLICY_TAG))) - .addMethod( - getListPolicyTagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest, - com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse>( - service, METHODID_LIST_POLICY_TAGS))) - .addMethod( - getGetPolicyTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest, - com.google.cloud.datacatalog.v1beta1.PolicyTag>( - service, METHODID_GET_POLICY_TAG))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers( - service, METHODID_GET_IAM_POLICY))) - .addMethod( - 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))) - .build(); - } - - private abstract static class PolicyTagManagerBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - PolicyTagManagerBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("PolicyTagManager"); - } - } - - private static final class PolicyTagManagerFileDescriptorSupplier - extends PolicyTagManagerBaseDescriptorSupplier { - PolicyTagManagerFileDescriptorSupplier() {} - } - - private static final class PolicyTagManagerMethodDescriptorSupplier - extends PolicyTagManagerBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - PolicyTagManagerMethodDescriptorSupplier(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 (PolicyTagManagerGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new PolicyTagManagerFileDescriptorSupplier()) - .addMethod(getCreateTaxonomyMethod()) - .addMethod(getDeleteTaxonomyMethod()) - .addMethod(getUpdateTaxonomyMethod()) - .addMethod(getListTaxonomiesMethod()) - .addMethod(getGetTaxonomyMethod()) - .addMethod(getCreatePolicyTagMethod()) - .addMethod(getDeletePolicyTagMethod()) - .addMethod(getUpdatePolicyTagMethod()) - .addMethod(getListPolicyTagsMethod()) - .addMethod(getGetPolicyTagMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryProto.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryProto.java deleted file mode 100644 index 09104ec4dbed..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryProto.java +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/bigquery.proto - -package com.google.cloud.datacatalog.v1; - -public final class BigQueryProto { - private BigQueryProto() {} - - 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_datacatalog_v1_BigQueryConnectionSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_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/datacatalog/v1/bigquery.p" - + "roto\022\033google.cloud.datacatalog.v1\032\037googl" - + "e/api/field_behavior.proto\"\264\002\n\026BigQueryC" - + "onnectionSpec\022[\n\017connection_type\030\001 \001(\0162B" - + ".google.cloud.datacatalog.v1.BigQueryCon" - + "nectionSpec.ConnectionType\022P\n\tcloud_sql\030" - + "\002 \001(\0132;.google.cloud.datacatalog.v1.Clou" - + "dSqlBigQueryConnectionSpecH\000\022\026\n\016has_cred" - + "ential\030\003 \001(\010\"@\n\016ConnectionType\022\037\n\033CONNEC" - + "TION_TYPE_UNSPECIFIED\020\000\022\r\n\tCLOUD_SQL\020\001B\021" - + "\n\017connection_spec\"\347\001\n\036CloudSqlBigQueryCo" - + "nnectionSpec\022\023\n\013instance_id\030\001 \001(\t\022\020\n\010dat" - + "abase\030\002 \001(\t\022V\n\004type\030\003 \001(\0162H.google.cloud" - + ".datacatalog.v1.CloudSqlBigQueryConnecti" - + "onSpec.DatabaseType\"F\n\014DatabaseType\022\035\n\031D" - + "ATABASE_TYPE_UNSPECIFIED\020\000\022\014\n\010POSTGRES\020\001" - + "\022\t\n\005MYSQL\020\002\"1\n\023BigQueryRoutineSpec\022\032\n\022im" - + "ported_libraries\030\001 \003(\tB\325\001\n\037com.google.cl" - + "oud.datacatalog.v1B\rBigQueryProtoP\001ZAclo" - + "ud.google.com/go/datacatalog/apiv1/datac" - + "atalogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud" - + ".DataCatalog.V1\312\002\033Google\\Cloud\\DataCatal" - + "og\\V1\352\002\036Google::Cloud::DataCatalog::V1b\006" - + "proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_descriptor, - new java.lang.String[] { - "ConnectionType", "CloudSql", "HasCredential", "ConnectionSpec", - }); - internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_descriptor, - new java.lang.String[] { - "InstanceId", "Database", "Type", - }); - internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_descriptor, - new java.lang.String[] { - "ImportedLibraries", - }); - com.google.api.FieldBehaviorProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpecOrBuilder.java deleted file mode 100644 index 33c13fee087e..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpecOrBuilder.java +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/datacatalog.proto - -package com.google.cloud.datacatalog.v1; - -public interface CloudBigtableInstanceSpecOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The list of clusters for the Instance.
-   * 
- * - * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - * - */ - java.util.List - getCloudBigtableClusterSpecsList(); - /** - * - * - *
-   * The list of clusters for the Instance.
-   * 
- * - * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - * - */ - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - getCloudBigtableClusterSpecs(int index); - /** - * - * - *
-   * The list of clusters for the Instance.
-   * 
- * - * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - * - */ - int getCloudBigtableClusterSpecsCount(); - /** - * - * - *
-   * The list of clusters for the Instance.
-   * 
- * - * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - * - */ - java.util.List< - ? extends - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec - .CloudBigtableClusterSpecOrBuilder> - getCloudBigtableClusterSpecsOrBuilderList(); - /** - * - * - *
-   * The list of clusters for the Instance.
-   * 
- * - * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - * - */ - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpecOrBuilder - getCloudBigtableClusterSpecsOrBuilder(int index); -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Common.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Common.java deleted file mode 100644 index 31302799e666..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Common.java +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/common.proto - -package com.google.cloud.datacatalog.v1; - -public final class Common { - private Common() {} - - 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_datacatalog_v1_PersonalDetails_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_PersonalDetails_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/datacatalog/v1/common.pro" - + "to\022\033google.cloud.datacatalog.v1\032\037google/" - + "protobuf/timestamp.proto\"Q\n\017PersonalDeta" - + "ils\022\017\n\007starred\030\001 \001(\010\022-\n\tstar_time\030\002 \001(\0132" - + "\032.google.protobuf.Timestamp*\275\001\n\020Integrat" - + "edSystem\022!\n\035INTEGRATED_SYSTEM_UNSPECIFIE" - + "D\020\000\022\014\n\010BIGQUERY\020\001\022\020\n\014CLOUD_PUBSUB\020\002\022\026\n\022D" - + "ATAPROC_METASTORE\020\003\022\014\n\010DATAPLEX\020\004\022\021\n\rCLO" - + "UD_SPANNER\020\006\022\022\n\016CLOUD_BIGTABLE\020\007\022\r\n\tCLOU" - + "D_SQL\020\010\022\n\n\006LOOKER\020\t*j\n\016ManagingSystem\022\037\n" - + "\033MANAGING_SYSTEM_UNSPECIFIED\020\000\022\034\n\030MANAGI" - + "NG_SYSTEM_DATAPLEX\020\001\022\031\n\025MANAGING_SYSTEM_" - + "OTHER\020\002B\306\001\n\037com.google.cloud.datacatalog" - + ".v1P\001ZAcloud.google.com/go/datacatalog/a" - + "piv1/datacatalogpb;datacatalogpb\370\001\001\252\002\033Go" - + "ogle.Cloud.DataCatalog.V1\312\002\033Google\\Cloud" - + "\\DataCatalog\\V1\352\002\036Google::Cloud::DataCat" - + "alog::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1_PersonalDetails_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1_PersonalDetails_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_PersonalDetails_descriptor, - new java.lang.String[] { - "Starred", "StarTime", - }); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStatsOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStatsOrBuilder.java deleted file mode 100644 index dd27f74d63c7..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStatsOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/usage.proto - -package com.google.cloud.datacatalog.v1; - -public interface CommonUsageStatsOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CommonUsageStats) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * View count in source system.
-   * 
- * - * optional int64 view_count = 1; - * - * @return Whether the viewCount field is set. - */ - boolean hasViewCount(); - /** - * - * - *
-   * View count in source system.
-   * 
- * - * optional int64 view_count = 1; - * - * @return The viewCount. - */ - long getViewCount(); -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSourceOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSourceOrBuilder.java deleted file mode 100644 index 093b6b5b8a9e..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSourceOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto - -package com.google.cloud.datacatalog.v1; - -public interface CrossRegionalSourceOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CrossRegionalSource) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the source taxonomy to import.
-   * 
- * - * - * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The taxonomy. - */ - java.lang.String getTaxonomy(); - /** - * - * - *
-   * Required. The resource name of the source taxonomy to import.
-   * 
- * - * - * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for taxonomy. - */ - com.google.protobuf.ByteString getTaxonomyBytes(); -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceProto.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceProto.java deleted file mode 100644 index 3ae8e32af98b..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceProto.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/data_source.proto - -package com.google.cloud.datacatalog.v1; - -public final class DataSourceProto { - private DataSourceProto() {} - - 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_datacatalog_v1_DataSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_DataSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_StorageProperties_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_StorageProperties_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/datacatalog/v1/data_sourc" - + "e.proto\022\033google.cloud.datacatalog.v1\032\037go" - + "ogle/api/field_behavior.proto\"\235\002\n\nDataSo" - + "urce\022@\n\007service\030\001 \001(\0162/.google.cloud.dat" - + "acatalog.v1.DataSource.Service\022\020\n\010resour" - + "ce\030\002 \001(\t\022\032\n\014source_entry\030\003 \001(\tB\004\342A\001\003\022L\n\022" - + "storage_properties\030\004 \001(\0132..google.cloud." - + "datacatalog.v1.StoragePropertiesH\000\"C\n\007Se" - + "rvice\022\027\n\023SERVICE_UNSPECIFIED\020\000\022\021\n\rCLOUD_" - + "STORAGE\020\001\022\014\n\010BIGQUERY\020\002B\014\n\nproperties\"<\n" - + "\021StorageProperties\022\024\n\014file_pattern\030\001 \003(\t" - + "\022\021\n\tfile_type\030\002 \001(\tB\327\001\n\037com.google.cloud" - + ".datacatalog.v1B\017DataSourceProtoP\001ZAclou" - + "d.google.com/go/datacatalog/apiv1/dataca" - + "talogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud." - + "DataCatalog.V1\312\002\033Google\\Cloud\\DataCatalo" - + "g\\V1\352\002\036Google::Cloud::DataCatalog::V1b\006p" - + "roto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1_DataSource_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1_DataSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_DataSource_descriptor, - new java.lang.String[] { - "Service", "Resource", "SourceEntry", "StorageProperties", "Properties", - }); - internal_static_google_cloud_datacatalog_v1_StorageProperties_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1_StorageProperties_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_StorageProperties_descriptor, - new java.lang.String[] { - "FilePattern", "FileType", - }); - 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Datacatalog.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Datacatalog.java deleted file mode 100644 index c56d06e58db3..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Datacatalog.java +++ /dev/null @@ -1,1403 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/datacatalog.proto - -package com.google.cloud.datacatalog.v1; - -public final class Datacatalog { - private Datacatalog() {} - - 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_datacatalog_v1_SearchCatalogRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_GetEntryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_GetEntryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_Entry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_Entry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_Entry_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_Entry_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_FilesetSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_FilesetSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_RoutineSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ServiceSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ServiceSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_BusinessContext_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_BusinessContext_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_EntryOverview_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_EntryOverview_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_Contacts_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_Contacts_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_Contacts_Person_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_Contacts_Person_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_EntryGroup_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_EntryGroup_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_CreateTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_CreateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ListTagsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ListTagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ListTagsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ListTagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_ErrorsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_ErrorsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_StarEntryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_StarEntryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_StarEntryResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_StarEntryResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_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/datacatalog/v1/datacatalo" - + "g.proto\022\033google.cloud.datacatalog.v1\032\034go" - + "ogle/api/annotations.proto\032\027google/api/c" - + "lient.proto\032\037google/api/field_behavior.p" - + "roto\032\031google/api/resource.proto\032*google/" - + "cloud/datacatalog/v1/bigquery.proto\032(goo" - + "gle/cloud/datacatalog/v1/common.proto\032-g" - + "oogle/cloud/datacatalog/v1/data_source.p" - + "roto\032/google/cloud/datacatalog/v1/datapl" - + "ex_spec.proto\0322google/cloud/datacatalog/" - + "v1/gcs_fileset_spec.proto\032(google/cloud/" - + "datacatalog/v1/schema.proto\032(google/clou" - + "d/datacatalog/v1/search.proto\032,google/cl" - + "oud/datacatalog/v1/table_spec.proto\032&goo" - + "gle/cloud/datacatalog/v1/tags.proto\032,goo" - + "gle/cloud/datacatalog/v1/timestamps.prot" - + "o\032\'google/cloud/datacatalog/v1/usage.pro" - + "to\032\036google/iam/v1/iam_policy.proto\032\032goog" - + "le/iam/v1/policy.proto\032#google/longrunni" - + "ng/operations.proto\032\033google/protobuf/emp" - + "ty.proto\032 google/protobuf/field_mask.pro" - + "to\032\027google/rpc/status.proto\"\213\003\n\024SearchCa" - + "talogRequest\022L\n\005scope\030\006 \001(\01327.google.clo" - + "ud.datacatalog.v1.SearchCatalogRequest.S" - + "copeB\004\342A\001\002\022\023\n\005query\030\001 \001(\tB\004\342A\001\001\022\021\n\tpage_" - + "size\030\002 \001(\005\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\020\n\010" - + "order_by\030\005 \001(\t\032\320\001\n\005Scope\022\027\n\017include_org_" - + "ids\030\002 \003(\t\022\033\n\023include_project_ids\030\003 \003(\t\022#" - + "\n\033include_gcp_public_datasets\030\007 \001(\010\022\"\n\024r" - + "estricted_locations\030\020 \003(\tB\004\342A\001\001\022\032\n\014starr" - + "ed_only\030\022 \001(\010B\004\342A\001\001\022,\n\034include_public_ta" - + "g_templates\030\023 \001(\010B\006\030\001\342A\001\001\"\234\001\n\025SearchCata" - + "logResponse\022A\n\007results\030\001 \003(\01320.google.cl" - + "oud.datacatalog.v1.SearchCatalogResult\022\022" - + "\n\ntotal_size\030\002 \001(\005\022\027\n\017next_page_token\030\003 " - + "\001(\t\022\023\n\013unreachable\030\006 \003(\t\"\265\001\n\027CreateEntry" - + "GroupRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\022%d" - + "atacatalog.googleapis.com/EntryGroup\022\034\n\016" - + "entry_group_id\030\003 \001(\tB\004\342A\001\002\022<\n\013entry_grou" - + "p\030\002 \001(\0132\'.google.cloud.datacatalog.v1.En" - + "tryGroup\"\216\001\n\027UpdateEntryGroupRequest\022B\n\013" - + "entry_group\030\001 \001(\0132\'.google.cloud.datacat" - + "alog.v1.EntryGroupB\004\342A\001\002\022/\n\013update_mask\030" - + "\002 \001(\0132\032.google.protobuf.FieldMask\"\203\001\n\024Ge" - + "tEntryGroupRequest\022<\n\004name\030\001 \001(\tB.\342A\001\002\372A" - + "\'\n%datacatalog.googleapis.com/EntryGroup" - + "\022-\n\tread_mask\030\002 \001(\0132\032.google.protobuf.Fi" - + "eldMask\"l\n\027DeleteEntryGroupRequest\022<\n\004na" - + "me\030\001 \001(\tB.\342A\001\002\372A\'\n%datacatalog.googleapi" - + "s.com/EntryGroup\022\023\n\005force\030\002 \001(\010B\004\342A\001\001\"\213\001" - + "\n\026ListEntryGroupsRequest\022>\n\006parent\030\001 \001(\t" - + "B.\342A\001\002\372A\'\022%datacatalog.googleapis.com/En" - + "tryGroup\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\"q\n\027ListEntryGroupsRe" - + "sponse\022=\n\014entry_groups\030\001 \003(\0132\'.google.cl" - + "oud.datacatalog.v1.EntryGroup\022\027\n\017next_pa" - + "ge_token\030\002 \001(\t\"\245\001\n\022CreateEntryRequest\022>\n" - + "\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n%datacatalog.goog" - + "leapis.com/EntryGroup\022\026\n\010entry_id\030\003 \001(\tB" - + "\004\342A\001\002\0227\n\005entry\030\002 \001(\0132\".google.cloud.data" - + "catalog.v1.EntryB\004\342A\001\002\"~\n\022UpdateEntryReq" - + "uest\0227\n\005entry\030\001 \001(\0132\".google.cloud.datac" - + "atalog.v1.EntryB\004\342A\001\002\022/\n\013update_mask\030\002 \001" - + "(\0132\032.google.protobuf.FieldMask\"M\n\022Delete" - + "EntryRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n dat" - + "acatalog.googleapis.com/Entry\"J\n\017GetEntr" - + "yRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n datacat" - + "alog.googleapis.com/Entry\"\231\001\n\022LookupEntr" - + "yRequest\022\031\n\017linked_resource\030\001 \001(\tH\000\022\026\n\014s" - + "ql_resource\030\003 \001(\tH\000\022\036\n\024fully_qualified_n" - + "ame\030\005 \001(\tH\000\022\017\n\007project\030\006 \001(\t\022\020\n\010location" - + "\030\007 \001(\tB\r\n\013target_name\"\252\017\n\005Entry\022<\n\004name\030" - + "\001 \001(\tB.\342A\001\003\372A\'\n%datacatalog.googleapis.c" - + "om/EntryGroup\022\027\n\017linked_resource\030\t \001(\t\022\034" - + "\n\024fully_qualified_name\030\035 \001(\t\0226\n\004type\030\002 \001" - + "(\0162&.google.cloud.datacatalog.v1.EntryTy" - + "peH\000\022\035\n\023user_specified_type\030\020 \001(\tH\000\022P\n\021i" - + "ntegrated_system\030\021 \001(\0162-.google.cloud.da" - + "tacatalog.v1.IntegratedSystemB\004\342A\001\003H\001\022\037\n" - + "\025user_specified_system\030\022 \001(\tH\001\022V\n\030sql_da" - + "tabase_system_spec\030\' \001(\01322.google.cloud." - + "datacatalog.v1.SqlDatabaseSystemSpecH\002\022K" - + "\n\022looker_system_spec\030( \001(\0132-.google.clou" - + "d.datacatalog.v1.LookerSystemSpecH\002\022Z\n\032c" - + "loud_bigtable_system_spec\030) \001(\01324.google" - + ".cloud.datacatalog.v1.CloudBigtableSyste" - + "mSpecH\002\022G\n\020gcs_fileset_spec\030\006 \001(\0132+.goog" - + "le.cloud.datacatalog.v1.GcsFilesetSpecH\003" - + "\022S\n\023bigquery_table_spec\030\014 \001(\0132..google.c" - + "loud.datacatalog.v1.BigQueryTableSpecB\004\342" - + "A\001\003H\003\022`\n\032bigquery_date_sharded_spec\030\017 \001(" - + "\01324.google.cloud.datacatalog.v1.BigQuery" - + "DateShardedSpecB\004\342A\001\003H\003\022M\n\023database_tabl" - + "e_spec\030\030 \001(\0132..google.cloud.datacatalog." - + "v1.DatabaseTableSpecH\004\022\\\n\033data_source_co" - + "nnection_spec\030\033 \001(\01325.google.cloud.datac" - + "atalog.v1.DataSourceConnectionSpecH\004\022@\n\014" - + "routine_spec\030\034 \001(\0132(.google.cloud.dataca" - + "talog.v1.RoutineSpecH\004\022@\n\014fileset_spec\030!" - + " \001(\0132(.google.cloud.datacatalog.v1.Files" - + "etSpecH\004\022@\n\014service_spec\030* \001(\0132(.google." - + "cloud.datacatalog.v1.ServiceSpecH\004\022\024\n\014di" - + "splay_name\030\003 \001(\t\022\023\n\013description\030\004 \001(\t\022F\n" - + "\020business_context\030% \001(\0132,.google.cloud.d" - + "atacatalog.v1.BusinessContext\0223\n\006schema\030" - + "\005 \001(\0132#.google.cloud.datacatalog.v1.Sche" - + "ma\022O\n\030source_system_timestamps\030\007 \001(\0132-.g" - + "oogle.cloud.datacatalog.v1.SystemTimesta" - + "mps\022>\n\014usage_signal\030\r \001(\0132(.google.cloud" - + ".datacatalog.v1.UsageSignal\022>\n\006labels\030\016 " - + "\003(\0132..google.cloud.datacatalog.v1.Entry." - + "LabelsEntry\022B\n\013data_source\030\024 \001(\0132\'.googl" - + "e.cloud.datacatalog.v1.DataSourceB\004\342A\001\003\022" - + "L\n\020personal_details\030\032 \001(\0132,.google.cloud" - + ".datacatalog.v1.PersonalDetailsB\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:x\352Au\n datacatalog.googleapis.com/En" - + "try\022Qprojects/{project}/locations/{locat" - + "ion}/entryGroups/{entry_group}/entries/{" - + "entry}B\014\n\nentry_typeB\010\n\006systemB\r\n\013system" - + "_specB\013\n\ttype_specB\006\n\004spec\"\314\004\n\021DatabaseT" - + "ableSpec\022F\n\004type\030\001 \001(\01628.google.cloud.da" - + "tacatalog.v1.DatabaseTableSpec.TableType" - + "\022L\n\016dataplex_table\030\002 \001(\0132..google.cloud." - + "datacatalog.v1.DataplexTableSpecB\004\342A\001\003\022[" - + "\n\022database_view_spec\030\003 \001(\0132?.google.clou" - + "d.datacatalog.v1.DatabaseTableSpec.Datab" - + "aseViewSpec\032\200\002\n\020DatabaseViewSpec\022[\n\tview" - + "_type\030\001 \001(\0162H.google.cloud.datacatalog.v" - + "1.DatabaseTableSpec.DatabaseViewSpec.Vie" - + "wType\022\024\n\nbase_table\030\002 \001(\tH\000\022\023\n\tsql_query" - + "\030\003 \001(\tH\000\"O\n\010ViewType\022\031\n\025VIEW_TYPE_UNSPEC" - + "IFIED\020\000\022\021\n\rSTANDARD_VIEW\020\001\022\025\n\021MATERIALIZ" - + "ED_VIEW\020\002B\023\n\021source_definition\"A\n\tTableT" - + "ype\022\032\n\026TABLE_TYPE_UNSPECIFIED\020\000\022\n\n\006NATIV" - + "E\020\001\022\014\n\010EXTERNAL\020\002\"Y\n\013FilesetSpec\022J\n\020data" - + "plex_fileset\030\001 \001(\01320.google.cloud.dataca" - + "talog.v1.DataplexFilesetSpec\"q\n\030DataSour" - + "ceConnectionSpec\022U\n\030bigquery_connection_" - + "spec\030\001 \001(\01323.google.cloud.datacatalog.v1" - + ".BigQueryConnectionSpec\"\303\004\n\013RoutineSpec\022" - + "J\n\014routine_type\030\001 \001(\01624.google.cloud.dat" - + "acatalog.v1.RoutineSpec.RoutineType\022\020\n\010l" - + "anguage\030\002 \001(\t\022L\n\021routine_arguments\030\003 \003(\013" - + "21.google.cloud.datacatalog.v1.RoutineSp" - + "ec.Argument\022\023\n\013return_type\030\004 \001(\t\022\027\n\017defi" - + "nition_body\030\005 \001(\t\022Q\n\025bigquery_routine_sp" - + "ec\030\006 \001(\01320.google.cloud.datacatalog.v1.B" - + "igQueryRoutineSpecH\000\032\246\001\n\010Argument\022\014\n\004nam" - + "e\030\001 \001(\t\022D\n\004mode\030\002 \001(\01626.google.cloud.dat" - + "acatalog.v1.RoutineSpec.Argument.Mode\022\014\n" - + "\004type\030\003 \001(\t\"8\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020" - + "\000\022\006\n\002IN\020\001\022\007\n\003OUT\020\002\022\t\n\005INOUT\020\003\"O\n\013Routine" - + "Type\022\034\n\030ROUTINE_TYPE_UNSPECIFIED\020\000\022\023\n\017SC" - + "ALAR_FUNCTION\020\001\022\r\n\tPROCEDURE\020\002B\r\n\013system" - + "_spec\"\\\n\025SqlDatabaseSystemSpec\022\022\n\nsql_en" - + "gine\030\001 \001(\t\022\030\n\020database_version\030\002 \001(\t\022\025\n\r" - + "instance_host\030\003 \001(\t\"\312\001\n\020LookerSystemSpec" - + "\022\032\n\022parent_instance_id\030\001 \001(\t\022$\n\034parent_i" - + "nstance_display_name\030\002 \001(\t\022\027\n\017parent_mod" - + "el_id\030\003 \001(\t\022!\n\031parent_model_display_name" - + "\030\004 \001(\t\022\026\n\016parent_view_id\030\005 \001(\t\022 \n\030parent" - + "_view_display_name\030\006 \001(\t\"8\n\027CloudBigtabl" - + "eSystemSpec\022\035\n\025instance_display_name\030\001 \001" - + "(\t\"\375\001\n\031CloudBigtableInstanceSpec\022u\n\034clou" - + "d_bigtable_cluster_specs\030\001 \003(\0132O.google." - + "cloud.datacatalog.v1.CloudBigtableInstan" - + "ceSpec.CloudBigtableClusterSpec\032i\n\030Cloud" - + "BigtableClusterSpec\022\024\n\014display_name\030\001 \001(" - + "\t\022\020\n\010location\030\002 \001(\t\022\014\n\004type\030\003 \001(\t\022\027\n\017lin" - + "ked_resource\030\004 \001(\t\"|\n\013ServiceSpec\022^\n\034clo" - + "ud_bigtable_instance_spec\030\001 \001(\01326.google" - + ".cloud.datacatalog.v1.CloudBigtableInsta" - + "nceSpecH\000B\r\n\013system_spec\"\216\001\n\017BusinessCon" - + "text\022B\n\016entry_overview\030\001 \001(\0132*.google.cl" - + "oud.datacatalog.v1.EntryOverview\0227\n\010cont" - + "acts\030\002 \001(\0132%.google.cloud.datacatalog.v1" - + ".Contacts\"!\n\rEntryOverview\022\020\n\010overview\030\001" - + " \001(\t\"v\n\010Contacts\022<\n\006people\030\001 \003(\0132,.googl" - + "e.cloud.datacatalog.v1.Contacts.Person\032," - + "\n\006Person\022\023\n\013designation\030\001 \001(\t\022\r\n\005email\030\002" - + " \001(\t\"\212\002\n\nEntryGroup\022\014\n\004name\030\001 \001(\t\022\024\n\014dis" - + "play_name\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022T\n\027" - + "data_catalog_timestamps\030\004 \001(\0132-.google.c" - + "loud.datacatalog.v1.SystemTimestampsB\004\342A" - + "\001\003:m\352Aj\n%datacatalog.googleapis.com/Entr" - + "yGroup\022Aprojects/{project}/locations/{lo" - + "cation}/entryGroups/{entry_group}\"\300\001\n\030Cr" - + "eateTagTemplateRequest\022?\n\006parent\030\001 \001(\tB/" - + "\342A\001\002\372A(\022&datacatalog.googleapis.com/TagT" - + "emplate\022\035\n\017tag_template_id\030\003 \001(\tB\004\342A\001\002\022D" - + "\n\014tag_template\030\002 \001(\0132(.google.cloud.data" - + "catalog.v1.TagTemplateB\004\342A\001\002\"V\n\025GetTagTe" - + "mplateRequest\022=\n\004name\030\001 \001(\tB/\342A\001\002\372A(\n&da" - + "tacatalog.googleapis.com/TagTemplate\"\221\001\n" - + "\030UpdateTagTemplateRequest\022D\n\014tag_templat" - + "e\030\001 \001(\0132(.google.cloud.datacatalog.v1.Ta" - + "gTemplateB\004\342A\001\002\022/\n\013update_mask\030\002 \001(\0132\032.g" - + "oogle.protobuf.FieldMask\"n\n\030DeleteTagTem" - + "plateRequest\022=\n\004name\030\001 \001(\tB/\342A\001\002\372A(\n&dat" - + "acatalog.googleapis.com/TagTemplate\022\023\n\005f" - + "orce\030\002 \001(\010B\004\342A\001\002\"\200\001\n\020CreateTagRequest\0227\n" - + "\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036datacatalog.goog" - + "leapis.com/Tag\0223\n\003tag\030\002 \001(\0132 .google.clo" - + "ud.datacatalog.v1.TagB\004\342A\001\002\"x\n\020UpdateTag" - + "Request\0223\n\003tag\030\001 \001(\0132 .google.cloud.data" - + "catalog.v1.TagB\004\342A\001\002\022/\n\013update_mask\030\002 \001(" - + "\0132\032.google.protobuf.FieldMask\"I\n\020DeleteT" - + "agRequest\0225\n\004name\030\001 \001(\tB\'\342A\001\002\372A \022\036dataca" - + "talog.googleapis.com/Tag\"\326\001\n\035CreateTagTe" - + "mplateFieldRequest\022?\n\006parent\030\001 \001(\tB/\342A\001\002" - + "\372A(\n&datacatalog.googleapis.com/TagTempl" - + "ate\022#\n\025tag_template_field_id\030\002 \001(\tB\004\342A\001\002" - + "\022O\n\022tag_template_field\030\003 \001(\0132-.google.cl" - + "oud.datacatalog.v1.TagTemplateFieldB\004\342A\001" - + "\002\"\353\001\n\035UpdateTagTemplateFieldRequest\022B\n\004n" - + "ame\030\001 \001(\tB4\342A\001\002\372A-\n+datacatalog.googleap" - + "is.com/TagTemplateField\022O\n\022tag_template_" - + "field\030\002 \001(\0132-.google.cloud.datacatalog.v" - + "1.TagTemplateFieldB\004\342A\001\002\0225\n\013update_mask\030" - + "\003 \001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\001\"" - + "\214\001\n\035RenameTagTemplateFieldRequest\022B\n\004nam" - + "e\030\001 \001(\tB4\342A\001\002\372A-\n+datacatalog.googleapis" - + ".com/TagTemplateField\022\'\n\031new_tag_templat" - + "e_field_id\030\002 \001(\tB\004\342A\001\002\"\240\001\n&RenameTagTemp" - + "lateFieldEnumValueRequest\022K\n\004name\030\001 \001(\tB" - + "=\342A\001\002\372A6\n4datacatalog.googleapis.com/Tag" - + "TemplateFieldEnumValue\022)\n\033new_enum_value" - + "_display_name\030\002 \001(\tB\004\342A\001\002\"x\n\035DeleteTagTe" - + "mplateFieldRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A" - + "-\n+datacatalog.googleapis.com/TagTemplat" - + "eField\022\023\n\005force\030\002 \001(\010B\004\342A\001\002\"q\n\017ListTagsR" - + "equest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036datacat" - + "alog.googleapis.com/Tag\022\021\n\tpage_size\030\002 \001" - + "(\005\022\022\n\npage_token\030\003 \001(\t\"[\n\020ListTagsRespon" - + "se\022.\n\004tags\030\001 \003(\0132 .google.cloud.datacata" - + "log.v1.Tag\022\027\n\017next_page_token\030\002 \001(\t\"\346\001\n\024" - + "ReconcileTagsRequest\0229\n\006parent\030\001 \001(\tB)\342A" - + "\001\002\372A\"\n datacatalog.googleapis.com/Entry\022" - + "E\n\014tag_template\030\002 \001(\tB/\342A\001\002\372A(\n&datacata" - + "log.googleapis.com/TagTemplate\022\034\n\024force_" - + "delete_missing\030\003 \001(\010\022.\n\004tags\030\004 \003(\0132 .goo" - + "gle.cloud.datacatalog.v1.Tag\"k\n\025Reconcil" - + "eTagsResponse\022\032\n\022created_tags_count\030\001 \001(" - + "\003\022\032\n\022updated_tags_count\030\002 \001(\003\022\032\n\022deleted" - + "_tags_count\030\003 \001(\003\"\223\003\n\025ReconcileTagsMetad" - + "ata\022U\n\005state\030\001 \001(\0162F.google.cloud.dataca" - + "talog.v1.ReconcileTagsMetadata.Reconcili" - + "ationState\022N\n\006errors\030\002 \003(\0132>.google.clou" - + "d.datacatalog.v1.ReconcileTagsMetadata.E" - + "rrorsEntry\032A\n\013ErrorsEntry\022\013\n\003key\030\001 \001(\t\022!" - + "\n\005value\030\002 \001(\0132\022.google.rpc.Status:\0028\001\"\217\001" - + "\n\023ReconciliationState\022$\n RECONCILIATION_" - + "STATE_UNSPECIFIED\020\000\022\031\n\025RECONCILIATION_QU" - + "EUED\020\001\022\036\n\032RECONCILIATION_IN_PROGRESS\020\002\022\027" - + "\n\023RECONCILIATION_DONE\020\003\"\252\001\n\022ListEntriesR" - + "equest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n%datacat" - + "alog.googleapis.com/EntryGroup\022\021\n\tpage_s" - + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022-\n\tread_ma" - + "sk\030\004 \001(\0132\032.google.protobuf.FieldMask\"c\n\023" - + "ListEntriesResponse\0223\n\007entries\030\001 \003(\0132\".g" - + "oogle.cloud.datacatalog.v1.Entry\022\027\n\017next" - + "_page_token\030\002 \001(\t\"K\n\020StarEntryRequest\0227\n" - + "\004name\030\001 \001(\tB)\342A\001\002\372A\"\n datacatalog.google" - + "apis.com/Entry\"\023\n\021StarEntryResponse\"M\n\022U" - + "nstarEntryRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"" - + "\n datacatalog.googleapis.com/Entry\"\025\n\023Un" - + "starEntryResponse\"\214\001\n\024ImportEntriesReque" - + "st\0229\n\006parent\030\001 \001(\tB)\342A\001\002\372A\"\022 datacatalog" - + ".googleapis.com/Entry\022\031\n\017gcs_bucket_path" - + "\030\002 \001(\tH\000\022\024\n\006job_id\030\003 \001(\tB\004\342A\001\001B\010\n\006source" - + "\"\225\001\n\025ImportEntriesResponse\022#\n\026upserted_e" - + "ntries_count\030\005 \001(\003H\000\210\001\001\022\"\n\025deleted_entri" - + "es_count\030\006 \001(\003H\001\210\001\001B\031\n\027_upserted_entries" - + "_countB\030\n\026_deleted_entries_count\"\210\002\n\025Imp" - + "ortEntriesMetadata\022M\n\005state\030\001 \001(\0162>.goog" - + "le.cloud.datacatalog.v1.ImportEntriesMet" - + "adata.ImportState\022\"\n\006errors\030\002 \003(\0132\022.goog" - + "le.rpc.Status\"|\n\013ImportState\022\034\n\030IMPORT_S" - + "TATE_UNSPECIFIED\020\000\022\021\n\rIMPORT_QUEUED\020\001\022\026\n" - + "\022IMPORT_IN_PROGRESS\020\002\022\017\n\013IMPORT_DONE\020\003\022\023" - + "\n\017IMPORT_OBSOLETE\020\004\"\237\001\n\032ModifyEntryOverv" - + "iewRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n datac" - + "atalog.googleapis.com/Entry\022H\n\016entry_ove" - + "rview\030\002 \001(\0132*.google.cloud.datacatalog.v" - + "1.EntryOverviewB\004\342A\001\002\"\224\001\n\032ModifyEntryCon" - + "tactsRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n dat" - + "acatalog.googleapis.com/Entry\022=\n\010contact" - + "s\030\002 \001(\0132%.google.cloud.datacatalog.v1.Co" - + "ntactsB\004\342A\001\002*\373\001\n\tEntryType\022\032\n\026ENTRY_TYPE" - + "_UNSPECIFIED\020\000\022\t\n\005TABLE\020\002\022\t\n\005MODEL\020\005\022\017\n\013" - + "DATA_STREAM\020\003\022\013\n\007FILESET\020\004\022\013\n\007CLUSTER\020\006\022" - + "\014\n\010DATABASE\020\007\022\032\n\026DATA_SOURCE_CONNECTION\020" - + "\010\022\013\n\007ROUTINE\020\t\022\010\n\004LAKE\020\n\022\010\n\004ZONE\020\013\022\013\n\007SE" - + "RVICE\020\016\022\023\n\017DATABASE_SCHEMA\020\017\022\r\n\tDASHBOAR" - + "D\020\020\022\013\n\007EXPLORE\020\021\022\010\n\004LOOK\020\0222\300;\n\013DataCatal" - + "og\022\243\001\n\rSearchCatalog\0221.google.cloud.data" - + "catalog.v1.SearchCatalogRequest\0322.google" - + ".cloud.datacatalog.v1.SearchCatalogRespo" - + "nse\"+\332A\013scope,query\202\323\344\223\002\027\"\022/v1/catalog:s" - + "earch:\001*\022\333\001\n\020CreateEntryGroup\0224.google.c" - + "loud.datacatalog.v1.CreateEntryGroupRequ" - + "est\032\'.google.cloud.datacatalog.v1.EntryG" - + "roup\"h\332A!parent,entry_group_id,entry_gro" - + "up\202\323\344\223\002>\"//v1/{parent=projects/*/locatio" - + "ns/*}/entryGroups:\013entry_group\022\274\001\n\rGetEn" - + "tryGroup\0221.google.cloud.datacatalog.v1.G" - + "etEntryGroupRequest\032\'.google.cloud.datac" - + "atalog.v1.EntryGroup\"O\332A\004name\332A\016name,rea" - + "d_mask\202\323\344\223\0021\022//v1/{name=projects/*/locat" - + "ions/*/entryGroups/*}\022\353\001\n\020UpdateEntryGro" - + "up\0224.google.cloud.datacatalog.v1.UpdateE" - + "ntryGroupRequest\032\'.google.cloud.datacata" - + "log.v1.EntryGroup\"x\332A\013entry_group\332A\027entr" - + "y_group,update_mask\202\323\344\223\002J2;/v1/{entry_gr" - + "oup.name=projects/*/locations/*/entryGro" - + "ups/*}:\013entry_group\022\240\001\n\020DeleteEntryGroup" - + "\0224.google.cloud.datacatalog.v1.DeleteEnt" - + "ryGroupRequest\032\026.google.protobuf.Empty\">" - + "\332A\004name\202\323\344\223\0021*//v1/{name=projects/*/loca" - + "tions/*/entryGroups/*}\022\276\001\n\017ListEntryGrou" - + "ps\0223.google.cloud.datacatalog.v1.ListEnt" - + "ryGroupsRequest\0324.google.cloud.datacatal" - + "og.v1.ListEntryGroupsResponse\"@\332A\006parent" - + "\202\323\344\223\0021\022//v1/{parent=projects/*/locations" - + "/*}/entryGroups\022\304\001\n\013CreateEntry\022/.google" - + ".cloud.datacatalog.v1.CreateEntryRequest" - + "\032\".google.cloud.datacatalog.v1.Entry\"`\332A" - + "\025parent,entry_id,entry\202\323\344\223\002B\"9/v1/{paren" - + "t=projects/*/locations/*/entryGroups/*}/" - + "entries:\005entry\022\316\001\n\013UpdateEntry\022/.google." - + "cloud.datacatalog.v1.UpdateEntryRequest\032" - + "\".google.cloud.datacatalog.v1.Entry\"j\332A\005" - + "entry\332A\021entry,update_mask\202\323\344\223\002H2?/v1/{en" - + "try.name=projects/*/locations/*/entryGro" - + "ups/*/entries/*}:\005entry\022\240\001\n\013DeleteEntry\022" - + "/.google.cloud.datacatalog.v1.DeleteEntr" - + "yRequest\032\026.google.protobuf.Empty\"H\332A\004nam" - + "e\202\323\344\223\002;*9/v1/{name=projects/*/locations/" - + "*/entryGroups/*/entries/*}\022\246\001\n\010GetEntry\022" - + ",.google.cloud.datacatalog.v1.GetEntryRe" - + "quest\032\".google.cloud.datacatalog.v1.Entr" - + "y\"H\332A\004name\202\323\344\223\002;\0229/v1/{name=projects/*/l" - + "ocations/*/entryGroups/*/entries/*}\022~\n\013L" - + "ookupEntry\022/.google.cloud.datacatalog.v1" - + ".LookupEntryRequest\032\".google.cloud.datac" - + "atalog.v1.Entry\"\032\202\323\344\223\002\024\022\022/v1/entries:loo" - + "kup\022\274\001\n\013ListEntries\022/.google.cloud.datac" - + "atalog.v1.ListEntriesRequest\0320.google.cl" - + "oud.datacatalog.v1.ListEntriesResponse\"J" - + "\332A\006parent\202\323\344\223\002;\0229/v1/{parent=projects/*/" - + "locations/*/entryGroups/*}/entries\022\324\001\n\023M" - + "odifyEntryOverview\0227.google.cloud.dataca" - + "talog.v1.ModifyEntryOverviewRequest\032*.go" - + "ogle.cloud.datacatalog.v1.EntryOverview\"" - + "X\202\323\344\223\002R\"M/v1/{name=projects/*/locations/" - + "*/entryGroups/*/entries/*}:modifyEntryOv" - + "erview:\001*\022\317\001\n\023ModifyEntryContacts\0227.goog" - + "le.cloud.datacatalog.v1.ModifyEntryConta" - + "ctsRequest\032%.google.cloud.datacatalog.v1" - + ".Contacts\"X\202\323\344\223\002R\"M/v1/{name=projects/*/" - + "locations/*/entryGroups/*/entries/*}:mod" - + "ifyEntryContacts:\001*\022\342\001\n\021CreateTagTemplat" - + "e\0225.google.cloud.datacatalog.v1.CreateTa" - + "gTemplateRequest\032(.google.cloud.datacata" - + "log.v1.TagTemplate\"l\332A#parent,tag_templa" - + "te_id,tag_template\202\323\344\223\002@\"0/v1/{parent=pr" - + "ojects/*/locations/*}/tagTemplates:\014tag_" - + "template\022\257\001\n\016GetTagTemplate\0222.google.clo" - + "ud.datacatalog.v1.GetTagTemplateRequest\032" - + "(.google.cloud.datacatalog.v1.TagTemplat" - + "e\"?\332A\004name\202\323\344\223\0022\0220/v1/{name=projects/*/l" - + "ocations/*/tagTemplates/*}\022\363\001\n\021UpdateTag" - + "Template\0225.google.cloud.datacatalog.v1.U" - + "pdateTagTemplateRequest\032(.google.cloud.d" - + "atacatalog.v1.TagTemplate\"}\332A\014tag_templa" - + "te\332A\030tag_template,update_mask\202\323\344\223\002M2=/v1" - + "/{tag_template.name=projects/*/locations" - + "/*/tagTemplates/*}:\014tag_template\022\251\001\n\021Del" - + "eteTagTemplate\0225.google.cloud.datacatalo" - + "g.v1.DeleteTagTemplateRequest\032\026.google.p" - + "rotobuf.Empty\"E\332A\nname,force\202\323\344\223\0022*0/v1/" - + "{name=projects/*/locations/*/tagTemplate" - + "s/*}\022\215\002\n\026CreateTagTemplateField\022:.google" - + ".cloud.datacatalog.v1.CreateTagTemplateF" - + "ieldRequest\032-.google.cloud.datacatalog.v" - + "1.TagTemplateField\"\207\001\332A/parent,tag_templ" - + "ate_field_id,tag_template_field\202\323\344\223\002O\"9/" - + "v1/{parent=projects/*/locations/*/tagTem" - + "plates/*}/fields:\022tag_template_field\022\233\002\n" - + "\026UpdateTagTemplateField\022:.google.cloud.d" - + "atacatalog.v1.UpdateTagTemplateFieldRequ" - + "est\032-.google.cloud.datacatalog.v1.TagTem" - + "plateField\"\225\001\332A\027name,tag_template_field\332" - + "A#name,tag_template_field,update_mask\202\323\344" - + "\223\002O29/v1/{name=projects/*/locations/*/ta" - + "gTemplates/*/fields/*}:\022tag_template_fie" - + "ld\022\361\001\n\026RenameTagTemplateField\022:.google.c" - + "loud.datacatalog.v1.RenameTagTemplateFie" - + "ldRequest\032-.google.cloud.datacatalog.v1.", - "TagTemplateField\"l\332A\036name,new_tag_templa" - + "te_field_id\202\323\344\223\002E\"@/v1/{name=projects/*/" - + "locations/*/tagTemplates/*/fields/*}:ren" - + "ame:\001*\022\222\002\n\037RenameTagTemplateFieldEnumVal" - + "ue\022C.google.cloud.datacatalog.v1.RenameT" - + "agTemplateFieldEnumValueRequest\032-.google" - + ".cloud.datacatalog.v1.TagTemplateField\"{" - + "\332A name,new_enum_value_display_name\202\323\344\223\002" - + "R\"M/v1/{name=projects/*/locations/*/tagT" - + "emplates/*/fields/*/enumValues/*}:rename" - + ":\001*\022\274\001\n\026DeleteTagTemplateField\022:.google." - + "cloud.datacatalog.v1.DeleteTagTemplateFi" - + "eldRequest\032\026.google.protobuf.Empty\"N\332A\nn" - + "ame,force\202\323\344\223\002;*9/v1/{name=projects/*/lo" - + "cations/*/tagTemplates/*/fields/*}\022\371\001\n\tC" - + "reateTag\022-.google.cloud.datacatalog.v1.C" - + "reateTagRequest\032 .google.cloud.datacatal" - + "og.v1.Tag\"\232\001\332A\nparent,tag\202\323\344\223\002\206\001\"@/v1/{p" - + "arent=projects/*/locations/*/entryGroups" - + "/*/entries/*}/tags:\003tagZ=\"6/v1/{parent=p" - + "rojects/*/locations/*/entryGroups/*}/tag" - + "s:\003tag\022\214\002\n\tUpdateTag\022-.google.cloud.data" - + "catalog.v1.UpdateTagRequest\032 .google.clo" - + "ud.datacatalog.v1.Tag\"\255\001\332A\003tag\332A\017tag,upd" - + "ate_mask\202\323\344\223\002\216\0012D/v1/{tag.name=projects/" - + "*/locations/*/entryGroups/*/entries/*/ta" - + "gs/*}:\003tagZA2:/v1/{tag.name=projects/*/l" - + "ocations/*/entryGroups/*/tags/*}:\003tag\022\336\001" - + "\n\tDeleteTag\022-.google.cloud.datacatalog.v" - + "1.DeleteTagRequest\032\026.google.protobuf.Emp" - + "ty\"\211\001\332A\004name\202\323\344\223\002|*@/v1/{name=projects/*" - + "/locations/*/entryGroups/*/entries/*/tag" - + "s/*}Z8*6/v1/{name=projects/*/locations/*" - + "/entryGroups/*/tags/*}\022\365\001\n\010ListTags\022,.go" - + "ogle.cloud.datacatalog.v1.ListTagsReques" - + "t\032-.google.cloud.datacatalog.v1.ListTags" - + "Response\"\213\001\332A\006parent\202\323\344\223\002|\022@/v1/{parent=" - + "projects/*/locations/*/entryGroups/*/ent" - + "ries/*}/tagsZ8\0226/v1/{parent=projects/*/l" - + "ocations/*/entryGroups/*}/tags\022\352\001\n\rRecon" - + "cileTags\0221.google.cloud.datacatalog.v1.R" - + "econcileTagsRequest\032\035.google.longrunning" - + ".Operation\"\206\001\312A.\n\025ReconcileTagsResponse\022" - + "\025ReconcileTagsMetadata\202\323\344\223\002O\"J/v1/{paren" - + "t=projects/*/locations/*/entryGroups/*/e" - + "ntries/*}/tags:reconcile:\001*\022\274\001\n\tStarEntr" - + "y\022-.google.cloud.datacatalog.v1.StarEntr" - + "yRequest\032..google.cloud.datacatalog.v1.S" - + "tarEntryResponse\"P\332A\004name\202\323\344\223\002C\">/v1/{na" - + "me=projects/*/locations/*/entryGroups/*/" - + "entries/*}:star:\001*\022\304\001\n\013UnstarEntry\022/.goo" - + "gle.cloud.datacatalog.v1.UnstarEntryRequ" - + "est\0320.google.cloud.datacatalog.v1.Unstar" - + "EntryResponse\"R\332A\004name\202\323\344\223\002E\"@/v1/{name=" - + "projects/*/locations/*/entryGroups/*/ent" - + "ries/*}:unstar:\001*\022\362\001\n\014SetIamPolicy\022\".goo" - + "gle.iam.v1.SetIamPolicyRequest\032\025.google." - + "iam.v1.Policy\"\246\001\332A\017resource,policy\202\323\344\223\002\215" - + "\001\"A/v1/{resource=projects/*/locations/*/" - + "tagTemplates/*}:setIamPolicy:\001*ZE\"@/v1/{" - + "resource=projects/*/locations/*/entryGro" - + "ups/*}:setIamPolicy:\001*\022\274\002\n\014GetIamPolicy\022" - + "\".google.iam.v1.GetIamPolicyRequest\032\025.go" - + "ogle.iam.v1.Policy\"\360\001\332A\010resource\202\323\344\223\002\336\001\"" - + "A/v1/{resource=projects/*/locations/*/ta" - + "gTemplates/*}:getIamPolicy:\001*ZE\"@/v1/{re" - + "source=projects/*/locations/*/entryGroup" - + "s/*}:getIamPolicy:\001*ZO\"J/v1/{resource=pr" - + "ojects/*/locations/*/entryGroups/*/entri" - + "es/*}:getIamPolicy:\001*\022\343\002\n\022TestIamPermiss" - + "ions\022(.google.iam.v1.TestIamPermissionsR" - + "equest\032).google.iam.v1.TestIamPermission" - + "sResponse\"\367\001\202\323\344\223\002\360\001\"G/v1/{resource=proje" - + "cts/*/locations/*/tagTemplates/*}:testIa" - + "mPermissions:\001*ZK\"F/v1/{resource=project" - + "s/*/locations/*/entryGroups/*}:testIamPe" - + "rmissions:\001*ZU\"P/v1/{resource=projects/*" - + "/locations/*/entryGroups/*/entries/*}:te" - + "stIamPermissions:\001*\022\337\001\n\rImportEntries\0221." - + "google.cloud.datacatalog.v1.ImportEntrie" - + "sRequest\032\035.google.longrunning.Operation\"" - + "|\312A.\n\025ImportEntriesResponse\022\025ImportEntri" - + "esMetadata\202\323\344\223\002E\"@/v1/{parent=projects/*" - + "/locations/*/entryGroups/*}/entries:impo" - + "rt:\001*\032N\312A\032datacatalog.googleapis.com\322A.h" - + "ttps://www.googleapis.com/auth/cloud-pla" - + "tformB\212\003\n\037com.google.cloud.datacatalog.v" - + "1P\001ZAcloud.google.com/go/datacatalog/api" - + "v1/datacatalogpb;datacatalogpb\370\001\001\252\002\033Goog" - + "le.Cloud.DataCatalog.V1\312\002\033Google\\Cloud\\D" - + "ataCatalog\\V1\352\002\036Google::Cloud::DataCatal" - + "og::V1\352A\300\001\n4datacatalog.googleapis.com/T" - + "agTemplateFieldEnumValue\022\207\001projects/{pro" - + "ject}/locations/{location}/tagTemplates/" - + "{tag_template}/fields/{tag_template_fiel" - + "d_id}/enumValues/{enum_value_display_nam" - + "e}b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.datacatalog.v1.BigQueryProto.getDescriptor(), - com.google.cloud.datacatalog.v1.Common.getDescriptor(), - com.google.cloud.datacatalog.v1.DataSourceProto.getDescriptor(), - com.google.cloud.datacatalog.v1.DataplexSpecProto.getDescriptor(), - com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass.getDescriptor(), - com.google.cloud.datacatalog.v1.SchemaOuterClass.getDescriptor(), - com.google.cloud.datacatalog.v1.Search.getDescriptor(), - com.google.cloud.datacatalog.v1.TableSpecOuterClass.getDescriptor(), - com.google.cloud.datacatalog.v1.Tags.getDescriptor(), - com.google.cloud.datacatalog.v1.Timestamps.getDescriptor(), - com.google.cloud.datacatalog.v1.Usage.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_descriptor, - new java.lang.String[] { - "Scope", "Query", "PageSize", "PageToken", "OrderBy", - }); - internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_descriptor = - internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_descriptor, - new java.lang.String[] { - "IncludeOrgIds", - "IncludeProjectIds", - "IncludeGcpPublicDatasets", - "RestrictedLocations", - "StarredOnly", - "IncludePublicTagTemplates", - }); - internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_descriptor, - new java.lang.String[] { - "Results", "TotalSize", "NextPageToken", "Unreachable", - }); - internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_descriptor, - new java.lang.String[] { - "Parent", "EntryGroupId", "EntryGroup", - }); - internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_descriptor, - new java.lang.String[] { - "EntryGroup", "UpdateMask", - }); - internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_descriptor, - new java.lang.String[] { - "Name", "ReadMask", - }); - internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_descriptor, - new java.lang.String[] { - "Name", "Force", - }); - internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_descriptor, - new java.lang.String[] { - "EntryGroups", "NextPageToken", - }); - internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_descriptor, - new java.lang.String[] { - "Parent", "EntryId", "Entry", - }); - internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_descriptor, - new java.lang.String[] { - "Entry", "UpdateMask", - }); - internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_datacatalog_v1_GetEntryRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_datacatalog_v1_GetEntryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_GetEntryRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_descriptor, - new java.lang.String[] { - "LinkedResource", - "SqlResource", - "FullyQualifiedName", - "Project", - "Location", - "TargetName", - }); - internal_static_google_cloud_datacatalog_v1_Entry_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_datacatalog_v1_Entry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_Entry_descriptor, - new java.lang.String[] { - "Name", - "LinkedResource", - "FullyQualifiedName", - "Type", - "UserSpecifiedType", - "IntegratedSystem", - "UserSpecifiedSystem", - "SqlDatabaseSystemSpec", - "LookerSystemSpec", - "CloudBigtableSystemSpec", - "GcsFilesetSpec", - "BigqueryTableSpec", - "BigqueryDateShardedSpec", - "DatabaseTableSpec", - "DataSourceConnectionSpec", - "RoutineSpec", - "FilesetSpec", - "ServiceSpec", - "DisplayName", - "Description", - "BusinessContext", - "Schema", - "SourceSystemTimestamps", - "UsageSignal", - "Labels", - "DataSource", - "PersonalDetails", - "EntryType", - "System", - "SystemSpec", - "TypeSpec", - "Spec", - }); - internal_static_google_cloud_datacatalog_v1_Entry_LabelsEntry_descriptor = - internal_static_google_cloud_datacatalog_v1_Entry_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1_Entry_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_Entry_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_descriptor, - new java.lang.String[] { - "Type", "DataplexTable", "DatabaseViewSpec", - }); - internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_descriptor = - internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_descriptor, - new java.lang.String[] { - "ViewType", "BaseTable", "SqlQuery", "SourceDefinition", - }); - internal_static_google_cloud_datacatalog_v1_FilesetSpec_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_datacatalog_v1_FilesetSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_FilesetSpec_descriptor, - new java.lang.String[] { - "DataplexFileset", - }); - internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_descriptor, - new java.lang.String[] { - "BigqueryConnectionSpec", - }); - internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_datacatalog_v1_RoutineSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor, - new java.lang.String[] { - "RoutineType", - "Language", - "RoutineArguments", - "ReturnType", - "DefinitionBody", - "BigqueryRoutineSpec", - "SystemSpec", - }); - internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_descriptor = - internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_descriptor, - new java.lang.String[] { - "Name", "Mode", "Type", - }); - internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_descriptor, - new java.lang.String[] { - "SqlEngine", "DatabaseVersion", "InstanceHost", - }); - internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_descriptor, - new java.lang.String[] { - "ParentInstanceId", - "ParentInstanceDisplayName", - "ParentModelId", - "ParentModelDisplayName", - "ParentViewId", - "ParentViewDisplayName", - }); - internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_descriptor, - new java.lang.String[] { - "InstanceDisplayName", - }); - internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_descriptor, - new java.lang.String[] { - "CloudBigtableClusterSpecs", - }); - internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_descriptor = - internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_descriptor, - new java.lang.String[] { - "DisplayName", "Location", "Type", "LinkedResource", - }); - internal_static_google_cloud_datacatalog_v1_ServiceSpec_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_datacatalog_v1_ServiceSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ServiceSpec_descriptor, - new java.lang.String[] { - "CloudBigtableInstanceSpec", "SystemSpec", - }); - internal_static_google_cloud_datacatalog_v1_BusinessContext_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_datacatalog_v1_BusinessContext_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_BusinessContext_descriptor, - new java.lang.String[] { - "EntryOverview", "Contacts", - }); - internal_static_google_cloud_datacatalog_v1_EntryOverview_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_datacatalog_v1_EntryOverview_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_EntryOverview_descriptor, - new java.lang.String[] { - "Overview", - }); - internal_static_google_cloud_datacatalog_v1_Contacts_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_datacatalog_v1_Contacts_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_Contacts_descriptor, - new java.lang.String[] { - "People", - }); - internal_static_google_cloud_datacatalog_v1_Contacts_Person_descriptor = - internal_static_google_cloud_datacatalog_v1_Contacts_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1_Contacts_Person_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_Contacts_Person_descriptor, - new java.lang.String[] { - "Designation", "Email", - }); - internal_static_google_cloud_datacatalog_v1_EntryGroup_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_datacatalog_v1_EntryGroup_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_EntryGroup_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "Description", "DataCatalogTimestamps", - }); - internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_descriptor, - new java.lang.String[] { - "Parent", "TagTemplateId", "TagTemplate", - }); - internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_descriptor, - new java.lang.String[] { - "TagTemplate", "UpdateMask", - }); - internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_descriptor, - new java.lang.String[] { - "Name", "Force", - }); - internal_static_google_cloud_datacatalog_v1_CreateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_datacatalog_v1_CreateTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_CreateTagRequest_descriptor, - new java.lang.String[] { - "Parent", "Tag", - }); - internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_descriptor, - new java.lang.String[] { - "Tag", "UpdateMask", - }); - internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_descriptor, - new java.lang.String[] { - "Parent", "TagTemplateFieldId", "TagTemplateField", - }); - internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_descriptor, - new java.lang.String[] { - "Name", "TagTemplateField", "UpdateMask", - }); - internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_descriptor, - new java.lang.String[] { - "Name", "NewTagTemplateFieldId", - }); - internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_descriptor, - new java.lang.String[] { - "Name", "NewEnumValueDisplayName", - }); - internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_descriptor, - new java.lang.String[] { - "Name", "Force", - }); - internal_static_google_cloud_datacatalog_v1_ListTagsRequest_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_cloud_datacatalog_v1_ListTagsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ListTagsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_datacatalog_v1_ListTagsResponse_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_cloud_datacatalog_v1_ListTagsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ListTagsResponse_descriptor, - new java.lang.String[] { - "Tags", "NextPageToken", - }); - internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_descriptor, - new java.lang.String[] { - "Parent", "TagTemplate", "ForceDeleteMissing", "Tags", - }); - internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_descriptor = - getDescriptor().getMessageTypes().get(42); - internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_descriptor, - new java.lang.String[] { - "CreatedTagsCount", "UpdatedTagsCount", "DeletedTagsCount", - }); - internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_descriptor = - getDescriptor().getMessageTypes().get(43); - internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_descriptor, - new java.lang.String[] { - "State", "Errors", - }); - internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_ErrorsEntry_descriptor = - internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_ErrorsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_ErrorsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_descriptor = - getDescriptor().getMessageTypes().get(44); - internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "ReadMask", - }); - internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_descriptor = - getDescriptor().getMessageTypes().get(45); - internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_descriptor, - new java.lang.String[] { - "Entries", "NextPageToken", - }); - internal_static_google_cloud_datacatalog_v1_StarEntryRequest_descriptor = - getDescriptor().getMessageTypes().get(46); - internal_static_google_cloud_datacatalog_v1_StarEntryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_StarEntryRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_datacatalog_v1_StarEntryResponse_descriptor = - getDescriptor().getMessageTypes().get(47); - internal_static_google_cloud_datacatalog_v1_StarEntryResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_StarEntryResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_descriptor = - getDescriptor().getMessageTypes().get(48); - internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_descriptor = - getDescriptor().getMessageTypes().get(49); - internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_descriptor = - getDescriptor().getMessageTypes().get(50); - internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_descriptor, - new java.lang.String[] { - "Parent", "GcsBucketPath", "JobId", "Source", - }); - internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_descriptor = - getDescriptor().getMessageTypes().get(51); - internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_descriptor, - new java.lang.String[] { - "UpsertedEntriesCount", - "DeletedEntriesCount", - "UpsertedEntriesCount", - "DeletedEntriesCount", - }); - internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_descriptor = - getDescriptor().getMessageTypes().get(52); - internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_descriptor, - new java.lang.String[] { - "State", "Errors", - }); - internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_descriptor = - getDescriptor().getMessageTypes().get(53); - internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_descriptor, - new java.lang.String[] { - "Name", "EntryOverview", - }); - internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_descriptor = - getDescriptor().getMessageTypes().get(54); - internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_descriptor, - new java.lang.String[] { - "Name", "Contacts", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - 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.datacatalog.v1.BigQueryProto.getDescriptor(); - com.google.cloud.datacatalog.v1.Common.getDescriptor(); - com.google.cloud.datacatalog.v1.DataSourceProto.getDescriptor(); - com.google.cloud.datacatalog.v1.DataplexSpecProto.getDescriptor(); - com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass.getDescriptor(); - com.google.cloud.datacatalog.v1.SchemaOuterClass.getDescriptor(); - com.google.cloud.datacatalog.v1.Search.getDescriptor(); - com.google.cloud.datacatalog.v1.TableSpecOuterClass.getDescriptor(); - com.google.cloud.datacatalog.v1.Tags.getDescriptor(); - com.google.cloud.datacatalog.v1.Timestamps.getDescriptor(); - com.google.cloud.datacatalog.v1.Usage.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecProto.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecProto.java deleted file mode 100644 index b7a18ff4c4f8..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecProto.java +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/dataplex_spec.proto - -package com.google.cloud.datacatalog.v1; - -public final class DataplexSpecProto { - private DataplexSpecProto() {} - - 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_datacatalog_v1_DataplexSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_DataplexSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_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/datacatalog/v1/dataplex_s" - + "pec.proto\022\033google.cloud.datacatalog.v1\032(" - + "google/cloud/datacatalog/v1/common.proto" - + "\0321google/cloud/datacatalog/v1/physical_s" - + "chema.proto\"\217\001\n\014DataplexSpec\022\r\n\005asset\030\001 " - + "\001(\t\022@\n\013data_format\030\002 \001(\0132+.google.cloud." - + "datacatalog.v1.PhysicalSchema\022\032\n\022compres" - + "sion_format\030\003 \001(\t\022\022\n\nproject_id\030\004 \001(\t\"W\n" - + "\023DataplexFilesetSpec\022@\n\rdataplex_spec\030\001 " - + "\001(\0132).google.cloud.datacatalog.v1.Datapl" - + "exSpec\"\270\001\n\021DataplexTableSpec\022K\n\017external" - + "_tables\030\001 \003(\01322.google.cloud.datacatalog" - + ".v1.DataplexExternalTable\022@\n\rdataplex_sp" - + "ec\030\002 \001(\0132).google.cloud.datacatalog.v1.D" - + "ataplexSpec\022\024\n\014user_managed\030\003 \001(\010\"\257\001\n\025Da" - + "taplexExternalTable\022=\n\006system\030\001 \001(\0162-.go" - + "ogle.cloud.datacatalog.v1.IntegratedSyst" - + "em\022\034\n\024fully_qualified_name\030\034 \001(\t\022\035\n\025goog" - + "le_cloud_resource\030\003 \001(\t\022\032\n\022data_catalog_" - + "entry\030\004 \001(\tB\331\001\n\037com.google.cloud.datacat" - + "alog.v1B\021DataplexSpecProtoP\001ZAcloud.goog" - + "le.com/go/datacatalog/apiv1/datacatalogp" - + "b;datacatalogpb\370\001\001\252\002\033Google.Cloud.DataCa" - + "talog.V1\312\002\033Google\\Cloud\\DataCatalog\\V1\352\002" - + "\036Google::Cloud::DataCatalog::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.cloud.datacatalog.v1.Common.getDescriptor(), - com.google.cloud.datacatalog.v1.PhysicalSchemaProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1_DataplexSpec_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1_DataplexSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_DataplexSpec_descriptor, - new java.lang.String[] { - "Asset", "DataFormat", "CompressionFormat", "ProjectId", - }); - internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_descriptor, - new java.lang.String[] { - "DataplexSpec", - }); - internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_descriptor, - new java.lang.String[] { - "ExternalTables", "DataplexSpec", "UserManaged", - }); - internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_descriptor, - new java.lang.String[] { - "System", "FullyQualifiedName", "GoogleCloudResource", "DataCatalogEntry", - }); - com.google.cloud.datacatalog.v1.Common.getDescriptor(); - com.google.cloud.datacatalog.v1.PhysicalSchemaProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequestOrBuilder.java deleted file mode 100644 index 1257cc04319a..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequestOrBuilder.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/datacatalog.proto - -package com.google.cloud.datacatalog.v1; - -public interface DeleteEntryGroupRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DeleteEntryGroupRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the entry group to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the entry group to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * Optional. If true, deletes all entries in the entry group.
-   * 
- * - * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The force. - */ - boolean getForce(); -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequestOrBuilder.java deleted file mode 100644 index f69fc193743b..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/datacatalog.proto - -package com.google.cloud.datacatalog.v1; - -public interface DeleteEntryRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DeleteEntryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the entry to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the entry to delete.
-   * 
- * - * - * 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequestOrBuilder.java deleted file mode 100644 index f769889fd786..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/policytagmanager.proto - -package com.google.cloud.datacatalog.v1; - -public interface DeletePolicyTagRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DeletePolicyTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Resource name of the policy tag to delete.
-   *
-   * Note: All of its descendant policy tags are also deleted.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Resource name of the policy tag to delete.
-   *
-   * Note: All of its descendant policy tags are also deleted.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequestOrBuilder.java deleted file mode 100644 index f215e3a73315..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/datacatalog.proto - -package com.google.cloud.datacatalog.v1; - -public interface DeleteTagRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DeleteTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the tag to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the tag to delete.
-   * 
- * - * - * 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequestOrBuilder.java deleted file mode 100644 index 867819710b6b..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequestOrBuilder.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/datacatalog.proto - -package com.google.cloud.datacatalog.v1; - -public interface DeleteTagTemplateFieldRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the tag template field to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the tag template field to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * Required. If true, deletes this field from any tags that use it.
-   *
-   * Currently, `true` is the only supported value.
-   * 
- * - * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The force. - */ - boolean getForce(); -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequestOrBuilder.java deleted file mode 100644 index cffbb48f3240..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequestOrBuilder.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/datacatalog.proto - -package com.google.cloud.datacatalog.v1; - -public interface DeleteTagTemplateRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DeleteTagTemplateRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the tag template to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the tag template to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * Required. If true, deletes all tags that use this template.
-   *
-   * Currently, `true` is the only supported value.
-   * 
- * - * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The force. - */ - boolean getForce(); -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequestOrBuilder.java deleted file mode 100644 index 2f3239c935b3..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/policytagmanager.proto - -package com.google.cloud.datacatalog.v1; - -public interface DeleteTaxonomyRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DeleteTaxonomyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Resource name of the taxonomy to delete.
-   *
-   * Note: All policy tags in this taxonomy are also deleted.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Resource name of the taxonomy to delete.
-   *
-   * Note: All policy tags in this taxonomy are also deleted.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpContentProto.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpContentProto.java deleted file mode 100644 index 1650e43b7485..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpContentProto.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/dump_content.proto - -package com.google.cloud.datacatalog.v1; - -public final class DumpContentProto { - private DumpContentProto() {} - - 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_datacatalog_v1_TaggedEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_TaggedEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_DumpItem_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_DumpItem_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/datacatalog/v1/dump_conte" - + "nt.proto\022\033google.cloud.datacatalog.v1\032\037g" - + "oogle/api/field_behavior.proto\032-google/c" - + "loud/datacatalog/v1/datacatalog.proto\032&g" - + "oogle/cloud/datacatalog/v1/tags.proto\"\311\001" - + "\n\013TaggedEntry\0226\n\010v1_entry\030\001 \001(\0132\".google" - + ".cloud.datacatalog.v1.EntryH\000\022<\n\014present" - + "_tags\030\002 \003(\0132 .google.cloud.datacatalog.v" - + "1.TagB\004\342A\001\001\022;\n\013absent_tags\030\003 \003(\0132 .googl" - + "e.cloud.datacatalog.v1.TagB\004\342A\001\001B\007\n\005entr" - + "y\"T\n\010DumpItem\022@\n\014tagged_entry\030\001 \001(\0132(.go" - + "ogle.cloud.datacatalog.v1.TaggedEntryH\000B" - + "\006\n\004itemB\330\001\n\037com.google.cloud.datacatalog" - + ".v1B\020DumpContentProtoP\001ZAcloud.google.co" - + "m/go/datacatalog/apiv1/datacatalogpb;dat" - + "acatalogpb\370\001\001\252\002\033Google.Cloud.DataCatalog" - + ".V1\312\002\033Google\\Cloud\\DataCatalog\\V1\352\002\036Goog" - + "le::Cloud::DataCatalog::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.cloud.datacatalog.v1.Datacatalog.getDescriptor(), - com.google.cloud.datacatalog.v1.Tags.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1_TaggedEntry_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1_TaggedEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_TaggedEntry_descriptor, - new java.lang.String[] { - "V1Entry", "PresentTags", "AbsentTags", "Entry", - }); - internal_static_google_cloud_datacatalog_v1_DumpItem_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1_DumpItem_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_DumpItem_descriptor, - new java.lang.String[] { - "TaggedEntry", "Item", - }); - 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.datacatalog.v1.Datacatalog.getDescriptor(); - com.google.cloud.datacatalog.v1.Tags.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOuterClass.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOuterClass.java deleted file mode 100644 index 8dd9ec429ea8..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOuterClass.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/gcs_fileset_spec.proto - -package com.google.cloud.datacatalog.v1; - -public final class GcsFilesetSpecOuterClass { - private GcsFilesetSpecOuterClass() {} - - 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_datacatalog_v1_GcsFilesetSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_GcsFileSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_GcsFileSpec_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n2google/cloud/datacatalog/v1/gcs_filese" - + "t_spec.proto\022\033google.cloud.datacatalog.v" - + "1\032\037google/api/field_behavior.proto\032,goog" - + "le/cloud/datacatalog/v1/timestamps.proto" - + "\"|\n\016GcsFilesetSpec\022\033\n\rfile_patterns\030\001 \003(" - + "\tB\004\342A\001\002\022M\n\025sample_gcs_file_specs\030\002 \003(\0132(" - + ".google.cloud.datacatalog.v1.GcsFileSpec" - + "B\004\342A\001\003\"\215\001\n\013GcsFileSpec\022\027\n\tfile_path\030\001 \001(" - + "\tB\004\342A\001\002\022K\n\016gcs_timestamps\030\002 \001(\0132-.google" - + ".cloud.datacatalog.v1.SystemTimestampsB\004" - + "\342A\001\003\022\030\n\nsize_bytes\030\004 \001(\003B\004\342A\001\003B\306\001\n\037com.g" - + "oogle.cloud.datacatalog.v1P\001ZAcloud.goog" - + "le.com/go/datacatalog/apiv1/datacatalogp" - + "b;datacatalogpb\370\001\001\252\002\033Google.Cloud.DataCa" - + "talog.V1\312\002\033Google\\Cloud\\DataCatalog\\V1\352\002" - + "\036Google::Cloud::DataCatalog::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.cloud.datacatalog.v1.Timestamps.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_descriptor, - new java.lang.String[] { - "FilePatterns", "SampleGcsFileSpecs", - }); - internal_static_google_cloud_datacatalog_v1_GcsFileSpec_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1_GcsFileSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_GcsFileSpec_descriptor, - new java.lang.String[] { - "FilePath", "GcsTimestamps", "SizeBytes", - }); - 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.datacatalog.v1.Timestamps.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequestOrBuilder.java deleted file mode 100644 index 0dacd7288e50..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/datacatalog.proto - -package com.google.cloud.datacatalog.v1; - -public interface GetEntryRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.GetEntryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the entry to get.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the entry to get.
-   * 
- * - * - * 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequestOrBuilder.java deleted file mode 100644 index 20df6f0aaf86..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/policytagmanager.proto - -package com.google.cloud.datacatalog.v1; - -public interface GetPolicyTagRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.GetPolicyTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Resource name of the policy tag.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Resource name of the policy tag.
-   * 
- * - * - * 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequestOrBuilder.java deleted file mode 100644 index fdc955d4dddf..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/datacatalog.proto - -package com.google.cloud.datacatalog.v1; - -public interface GetTagTemplateRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.GetTagTemplateRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the tag template to get.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the tag template to get.
-   * 
- * - * - * 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequestOrBuilder.java deleted file mode 100644 index 87380030f13e..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/policytagmanager.proto - -package com.google.cloud.datacatalog.v1; - -public interface GetTaxonomyRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.GetTaxonomyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Resource name of the taxonomy to get.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Resource name of the taxonomy to get.
-   * 
- * - * - * 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSourceOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSourceOrBuilder.java deleted file mode 100644 index 04c5d1cc6c8f..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSourceOrBuilder.java +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto - -package com.google.cloud.datacatalog.v1; - -public interface InlineSourceOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.InlineSource) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Taxonomies to import.
-   * 
- * - * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List getTaxonomiesList(); - /** - * - * - *
-   * Required. Taxonomies to import.
-   * 
- * - * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.datacatalog.v1.SerializedTaxonomy getTaxonomies(int index); - /** - * - * - *
-   * Required. Taxonomies to import.
-   * 
- * - * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - int getTaxonomiesCount(); - /** - * - * - *
-   * Required. Taxonomies to import.
-   * 
- * - * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List - getTaxonomiesOrBuilderList(); - /** - * - * - *
-   * Required. Taxonomies to import.
-   * 
- * - * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomiesOrBuilder(int index); -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequestOrBuilder.java deleted file mode 100644 index a0196c7468ac..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequestOrBuilder.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/datacatalog.proto - -package com.google.cloud.datacatalog.v1; - -public interface ModifyEntryContactsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ModifyEntryContactsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The full resource name of the entry.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The full resource name of the entry.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * Required. The new value for the Contacts.
-   * 
- * - * - * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the contacts field is set. - */ - boolean hasContacts(); - /** - * - * - *
-   * Required. The new value for the Contacts.
-   * 
- * - * - * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The contacts. - */ - com.google.cloud.datacatalog.v1.Contacts getContacts(); - /** - * - * - *
-   * Required. The new value for the Contacts.
-   * 
- * - * - * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.datacatalog.v1.ContactsOrBuilder getContactsOrBuilder(); -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequestOrBuilder.java deleted file mode 100644 index 51caae7cd389..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequestOrBuilder.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/datacatalog.proto - -package com.google.cloud.datacatalog.v1; - -public interface ModifyEntryOverviewRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ModifyEntryOverviewRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The full resource name of the entry.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The full resource name of the entry.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * Required. The new value for the Entry Overview.
-   * 
- * - * - * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the entryOverview field is set. - */ - boolean hasEntryOverview(); - /** - * - * - *
-   * Required. The new value for the Entry Overview.
-   * 
- * - * - * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The entryOverview. - */ - com.google.cloud.datacatalog.v1.EntryOverview getEntryOverview(); - /** - * - * - *
-   * Required. The new value for the Entry Overview.
-   * 
- * - * - * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder getEntryOverviewOrBuilder(); -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaProto.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaProto.java deleted file mode 100644 index 6678b0988d00..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaProto.java +++ /dev/null @@ -1,159 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/physical_schema.proto - -package com.google.cloud.datacatalog.v1; - -public final class PhysicalSchemaProto { - private PhysicalSchemaProto() {} - - 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_datacatalog_v1_PhysicalSchema_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n1google/cloud/datacatalog/v1/physical_s" - + "chema.proto\022\033google.cloud.datacatalog.v1" - + "\"\335\004\n\016PhysicalSchema\022F\n\004avro\030\001 \001(\01326.goog" - + "le.cloud.datacatalog.v1.PhysicalSchema.A" - + "vroSchemaH\000\022J\n\006thrift\030\002 \001(\01328.google.clo" - + "ud.datacatalog.v1.PhysicalSchema.ThriftS" - + "chemaH\000\022N\n\010protobuf\030\003 \001(\0132:.google.cloud" - + ".datacatalog.v1.PhysicalSchema.ProtobufS" - + "chemaH\000\022L\n\007parquet\030\004 \001(\01329.google.cloud." - + "datacatalog.v1.PhysicalSchema.ParquetSch" - + "emaH\000\022D\n\003orc\030\005 \001(\01325.google.cloud.dataca" - + "talog.v1.PhysicalSchema.OrcSchemaH\000\022D\n\003c" - + "sv\030\006 \001(\01325.google.cloud.datacatalog.v1.P" - + "hysicalSchema.CsvSchemaH\000\032\032\n\nAvroSchema\022" - + "\014\n\004text\030\001 \001(\t\032\034\n\014ThriftSchema\022\014\n\004text\030\001 " - + "\001(\t\032\036\n\016ProtobufSchema\022\014\n\004text\030\001 \001(\t\032\017\n\rP" - + "arquetSchema\032\013\n\tOrcSchema\032\013\n\tCsvSchemaB\010" - + "\n\006schemaB\333\001\n\037com.google.cloud.datacatalo" - + "g.v1B\023PhysicalSchemaProtoP\001ZAcloud.googl" - + "e.com/go/datacatalog/apiv1/datacatalogpb" - + ";datacatalogpb\370\001\001\252\002\033Google.Cloud.DataCat" - + "alog.V1\312\002\033Google\\Cloud\\DataCatalog\\V1\352\002\036" - + "Google::Cloud::DataCatalog::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor, - new java.lang.String[] { - "Avro", "Thrift", "Protobuf", "Parquet", "Orc", "Csv", "Schema", - }); - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_descriptor = - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_descriptor, - new java.lang.String[] { - "Text", - }); - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_descriptor = - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_descriptor, - new java.lang.String[] { - "Text", - }); - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_descriptor = - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_descriptor, - new java.lang.String[] { - "Text", - }); - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_descriptor = - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor - .getNestedTypes() - .get(3); - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_descriptor = - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor - .getNestedTypes() - .get(4); - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_descriptor = - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor - .getNestedTypes() - .get(5); - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_descriptor, - new java.lang.String[] {}); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerProto.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerProto.java deleted file mode 100644 index 2ab1c3278505..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerProto.java +++ /dev/null @@ -1,408 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/policytagmanager.proto - -package com.google.cloud.datacatalog.v1; - -public final class PolicyTagManagerProto { - private PolicyTagManagerProto() {} - - 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_datacatalog_v1_Taxonomy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_Taxonomy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_PolicyTag_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_PolicyTag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n2google/cloud/datacatalog/v1/policytagm" - + "anager.proto\022\033google.cloud.datacatalog.v" - + "1\032\034google/api/annotations.proto\032\027google/" - + "api/client.proto\032\037google/api/field_behav" - + "ior.proto\032\031google/api/resource.proto\032(go" - + "ogle/cloud/datacatalog/v1/common.proto\032," - + "google/cloud/datacatalog/v1/timestamps.p" - + "roto\032\036google/iam/v1/iam_policy.proto\032\032go" - + "ogle/iam/v1/policy.proto\032\033google/protobu" - + "f/empty.proto\032 google/protobuf/field_mas" - + "k.proto\"\362\004\n\010Taxonomy\022\022\n\004name\030\001 \001(\tB\004\342A\001\003" - + "\022\032\n\014display_name\030\002 \001(\tB\004\342A\001\002\022\031\n\013descript" - + "ion\030\003 \001(\tB\004\342A\001\001\022\036\n\020policy_tag_count\030\004 \001(" - + "\005B\004\342A\001\003\022P\n\023taxonomy_timestamps\030\005 \001(\0132-.g" - + "oogle.cloud.datacatalog.v1.SystemTimesta" - + "mpsB\004\342A\001\003\022V\n\026activated_policy_types\030\006 \003(" - + "\01620.google.cloud.datacatalog.v1.Taxonomy" - + ".PolicyTypeB\004\342A\001\001\022D\n\007service\030\007 \001(\0132-.goo" - + "gle.cloud.datacatalog.v1.Taxonomy.Servic" - + "eB\004\342A\001\003\032V\n\007Service\0229\n\004name\030\001 \001(\0162+.googl" - + "e.cloud.datacatalog.v1.ManagingSystem\022\020\n" - + "\010identity\030\002 \001(\t\"J\n\nPolicyType\022\033\n\027POLICY_" - + "TYPE_UNSPECIFIED\020\000\022\037\n\033FINE_GRAINED_ACCES" - + "S_CONTROL\020\001:g\352Ad\n#datacatalog.googleapis" - + ".com/Taxonomy\022=projects/{project}/locati" - + "ons/{location}/taxonomies/{taxonomy}\"\217\002\n" - + "\tPolicyTag\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\032\n\014displa" - + "y_name\030\002 \001(\tB\004\342A\001\002\022\023\n\013description\030\003 \001(\t\022" - + "\031\n\021parent_policy_tag\030\004 \001(\t\022\037\n\021child_poli" - + "cy_tags\030\005 \003(\tB\004\342A\001\003:\200\001\352A}\n$datacatalog.g" - + "oogleapis.com/PolicyTag\022Uprojects/{proje" - + "ct}/locations/{location}/taxonomies/{tax" - + "onomy}/policyTags/{policy_tag}\"\216\001\n\025Creat" - + "eTaxonomyRequest\022<\n\006parent\030\001 \001(\tB,\342A\001\002\372A" - + "%\022#datacatalog.googleapis.com/Taxonomy\0227" - + "\n\010taxonomy\030\002 \001(\0132%.google.cloud.datacata" - + "log.v1.Taxonomy\"S\n\025DeleteTaxonomyRequest" - + "\022:\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#datacatalog.goo" - + "gleapis.com/Taxonomy\"\201\001\n\025UpdateTaxonomyR" - + "equest\0227\n\010taxonomy\030\001 \001(\0132%.google.cloud." - + "datacatalog.v1.Taxonomy\022/\n\013update_mask\030\002" - + " \001(\0132\032.google.protobuf.FieldMask\"\214\001\n\025Lis" - + "tTaxonomiesRequest\022<\n\006parent\030\001 \001(\tB,\342A\001\002" - + "\372A%\022#datacatalog.googleapis.com/Taxonomy" - + "\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022" - + "\016\n\006filter\030\004 \001(\t\"l\n\026ListTaxonomiesRespons" - + "e\0229\n\ntaxonomies\030\001 \003(\0132%.google.cloud.dat" - + "acatalog.v1.Taxonomy\022\027\n\017next_page_token\030" - + "\002 \001(\t\"P\n\022GetTaxonomyRequest\022:\n\004name\030\001 \001(" - + "\tB,\342A\001\002\372A%\n#datacatalog.googleapis.com/T" - + "axonomy\"\223\001\n\026CreatePolicyTagRequest\022=\n\006pa" - + "rent\030\001 \001(\tB-\342A\001\002\372A&\022$datacatalog.googlea" - + "pis.com/PolicyTag\022:\n\npolicy_tag\030\002 \001(\0132&." - + "google.cloud.datacatalog.v1.PolicyTag\"U\n" - + "\026DeletePolicyTagRequest\022;\n\004name\030\001 \001(\tB-\342" - + "A\001\002\372A&\n$datacatalog.googleapis.com/Polic" - + "yTag\"\205\001\n\026UpdatePolicyTagRequest\022:\n\npolic" - + "y_tag\030\001 \001(\0132&.google.cloud.datacatalog.v" - + "1.PolicyTag\022/\n\013update_mask\030\002 \001(\0132\032.googl" - + "e.protobuf.FieldMask\"}\n\025ListPolicyTagsRe" - + "quest\022=\n\006parent\030\001 \001(\tB-\342A\001\002\372A&\022$datacata" - + "log.googleapis.com/PolicyTag\022\021\n\tpage_siz" - + "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"n\n\026ListPolic" - + "yTagsResponse\022;\n\013policy_tags\030\001 \003(\0132&.goo" - + "gle.cloud.datacatalog.v1.PolicyTag\022\027\n\017ne" - + "xt_page_token\030\002 \001(\t\"R\n\023GetPolicyTagReque" - + "st\022;\n\004name\030\001 \001(\tB-\342A\001\002\372A&\n$datacatalog.g" - + "oogleapis.com/PolicyTag2\273\025\n\020PolicyTagMan" - + "ager\022\277\001\n\016CreateTaxonomy\0222.google.cloud.d" - + "atacatalog.v1.CreateTaxonomyRequest\032%.go" - + "ogle.cloud.datacatalog.v1.Taxonomy\"R\332A\017p" - + "arent,taxonomy\202\323\344\223\002:\"./v1/{parent=projec" - + "ts/*/locations/*}/taxonomies:\010taxonomy\022\233" - + "\001\n\016DeleteTaxonomy\0222.google.cloud.datacat" - + "alog.v1.DeleteTaxonomyRequest\032\026.google.p" - + "rotobuf.Empty\"=\332A\004name\202\323\344\223\0020*./v1/{name=" - + "projects/*/locations/*/taxonomies/*}\022\301\001\n" - + "\016UpdateTaxonomy\0222.google.cloud.datacatal" - + "og.v1.UpdateTaxonomyRequest\032%.google.clo" - + "ud.datacatalog.v1.Taxonomy\"T\332A\010taxonomy\202" - + "\323\344\223\002C27/v1/{taxonomy.name=projects/*/loc" - + "ations/*/taxonomies/*}:\010taxonomy\022\272\001\n\016Lis" - + "tTaxonomies\0222.google.cloud.datacatalog.v" - + "1.ListTaxonomiesRequest\0323.google.cloud.d" - + "atacatalog.v1.ListTaxonomiesResponse\"?\332A" - + "\006parent\202\323\344\223\0020\022./v1/{parent=projects/*/lo" - + "cations/*}/taxonomies\022\244\001\n\013GetTaxonomy\022/." - + "google.cloud.datacatalog.v1.GetTaxonomyR" - + "equest\032%.google.cloud.datacatalog.v1.Tax" - + "onomy\"=\332A\004name\202\323\344\223\0020\022./v1/{name=projects" - + "/*/locations/*/taxonomies/*}\022\323\001\n\017CreateP" - + "olicyTag\0223.google.cloud.datacatalog.v1.C" - + "reatePolicyTagRequest\032&.google.cloud.dat" - + "acatalog.v1.PolicyTag\"c\332A\021parent,policy_" - + "tag\202\323\344\223\002I\";/v1/{parent=projects/*/locati" - + "ons/*/taxonomies/*}/policyTags:\npolicy_t" - + "ag\022\252\001\n\017DeletePolicyTag\0223.google.cloud.da" - + "tacatalog.v1.DeletePolicyTagRequest\032\026.go" - + "ogle.protobuf.Empty\"J\332A\004name\202\323\344\223\002=*;/v1/" - + "{name=projects/*/locations/*/taxonomies/" - + "*/policyTags/*}\022\327\001\n\017UpdatePolicyTag\0223.go" - + "ogle.cloud.datacatalog.v1.UpdatePolicyTa" - + "gRequest\032&.google.cloud.datacatalog.v1.P" - + "olicyTag\"g\332A\npolicy_tag\202\323\344\223\002T2F/v1/{poli" - + "cy_tag.name=projects/*/locations/*/taxon" - + "omies/*/policyTags/*}:\npolicy_tag\022\307\001\n\016Li" - + "stPolicyTags\0222.google.cloud.datacatalog." - + "v1.ListPolicyTagsRequest\0323.google.cloud." - + "datacatalog.v1.ListPolicyTagsResponse\"L\332" - + "A\006parent\202\323\344\223\002=\022;/v1/{parent=projects/*/l" - + "ocations/*/taxonomies/*}/policyTags\022\264\001\n\014" - + "GetPolicyTag\0220.google.cloud.datacatalog." - + "v1.GetPolicyTagRequest\032&.google.cloud.da" - + "tacatalog.v1.PolicyTag\"J\332A\004name\202\323\344\223\002=\022;/" - + "v1/{name=projects/*/locations/*/taxonomi" - + "es/*/policyTags/*}\022\352\001\n\014GetIamPolicy\022\".go" - + "ogle.iam.v1.GetIamPolicyRequest\032\025.google" - + ".iam.v1.Policy\"\236\001\202\323\344\223\002\227\001\"?/v1/{resource=" - + "projects/*/locations/*/taxonomies/*}:get" - + "IamPolicy:\001*ZQ\"L/v1/{resource=projects/*" - + "/locations/*/taxonomies/*/policyTags/*}:" - + "getIamPolicy:\001*\022\352\001\n\014SetIamPolicy\022\".googl" - + "e.iam.v1.SetIamPolicyRequest\032\025.google.ia" - + "m.v1.Policy\"\236\001\202\323\344\223\002\227\001\"?/v1/{resource=pro" - + "jects/*/locations/*/taxonomies/*}:setIam" - + "Policy:\001*ZQ\"L/v1/{resource=projects/*/lo" - + "cations/*/taxonomies/*/policyTags/*}:set" - + "IamPolicy:\001*\022\226\002\n\022TestIamPermissions\022(.go" - + "ogle.iam.v1.TestIamPermissionsRequest\032)." - + "google.iam.v1.TestIamPermissionsResponse" - + "\"\252\001\202\323\344\223\002\243\001\"E/v1/{resource=projects/*/loc" - + "ations/*/taxonomies/*}:testIamPermission" - + "s:\001*ZW\"R/v1/{resource=projects/*/locatio" - + "ns/*/taxonomies/*/policyTags/*}:testIamP" - + "ermissions:\001*\032N\312A\032datacatalog.googleapis" - + ".com\322A.https://www.googleapis.com/auth/c" - + "loud-platformB\335\001\n\037com.google.cloud.datac" - + "atalog.v1B\025PolicyTagManagerProtoP\001ZAclou" - + "d.google.com/go/datacatalog/apiv1/dataca" - + "talogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud." - + "DataCatalog.V1\312\002\033Google\\Cloud\\DataCatalo" - + "g\\V1\352\002\036Google::Cloud::DataCatalog::V1b\006p" - + "roto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.datacatalog.v1.Common.getDescriptor(), - com.google.cloud.datacatalog.v1.Timestamps.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1_Taxonomy_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1_Taxonomy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_Taxonomy_descriptor, - new java.lang.String[] { - "Name", - "DisplayName", - "Description", - "PolicyTagCount", - "TaxonomyTimestamps", - "ActivatedPolicyTypes", - "Service", - }); - internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_descriptor = - internal_static_google_cloud_datacatalog_v1_Taxonomy_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_descriptor, - new java.lang.String[] { - "Name", "Identity", - }); - internal_static_google_cloud_datacatalog_v1_PolicyTag_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1_PolicyTag_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_PolicyTag_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "Description", "ParentPolicyTag", "ChildPolicyTags", - }); - internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_descriptor, - new java.lang.String[] { - "Parent", "Taxonomy", - }); - internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_descriptor, - new java.lang.String[] { - "Taxonomy", "UpdateMask", - }); - internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", - }); - internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_descriptor, - new java.lang.String[] { - "Taxonomies", "NextPageToken", - }); - internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_descriptor, - new java.lang.String[] { - "Parent", "PolicyTag", - }); - internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_descriptor, - new java.lang.String[] { - "PolicyTag", "UpdateMask", - }); - internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_descriptor, - new java.lang.String[] { - "PolicyTags", "NextPageToken", - }); - internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.datacatalog.v1.Common.getDescriptor(); - com.google.cloud.datacatalog.v1.Timestamps.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationProto.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationProto.java deleted file mode 100644 index 23960d59f0fa..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationProto.java +++ /dev/null @@ -1,240 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto - -package com.google.cloud.datacatalog.v1; - -public final class PolicyTagManagerSerializationProto { - private PolicyTagManagerSerializationProto() {} - - 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_datacatalog_v1_SerializedTaxonomy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_InlineSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_InlineSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_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/datacatalog/v1/policytagm" - + "anagerserialization.proto\022\033google.cloud." - + "datacatalog.v1\032\034google/api/annotations.p" - + "roto\032\027google/api/client.proto\032\037google/ap" - + "i/field_behavior.proto\032\031google/api/resou" - + "rce.proto\0322google/cloud/datacatalog/v1/p" - + "olicytagmanager.proto\"\336\001\n\022SerializedTaxo" - + "nomy\022\032\n\014display_name\030\001 \001(\tB\004\342A\001\002\022\023\n\013desc" - + "ription\030\002 \001(\t\022E\n\013policy_tags\030\003 \003(\01320.goo" - + "gle.cloud.datacatalog.v1.SerializedPolic" - + "yTag\022P\n\026activated_policy_types\030\004 \003(\01620.g" - + "oogle.cloud.datacatalog.v1.Taxonomy.Poli" - + "cyType\"\247\001\n\023SerializedPolicyTag\022\022\n\npolicy" - + "_tag\030\001 \001(\t\022\032\n\014display_name\030\002 \001(\tB\004\342A\001\002\022\023" - + "\n\013description\030\003 \001(\t\022K\n\021child_policy_tags" - + "\030\004 \003(\01320.google.cloud.datacatalog.v1.Ser" - + "ializedPolicyTag\"\250\001\n\026ReplaceTaxonomyRequ" - + "est\022:\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#datacatalog." - + "googleapis.com/Taxonomy\022R\n\023serialized_ta" - + "xonomy\030\002 \001(\0132/.google.cloud.datacatalog." - + "v1.SerializedTaxonomyB\004\342A\001\002\"\370\001\n\027ImportTa" - + "xonomiesRequest\022<\n\006parent\030\001 \001(\tB,\342A\001\002\372A%" - + "\022#datacatalog.googleapis.com/Taxonomy\022B\n" - + "\rinline_source\030\002 \001(\0132).google.cloud.data" - + "catalog.v1.InlineSourceH\000\022Q\n\025cross_regio" - + "nal_source\030\003 \001(\01320.google.cloud.datacata" - + "log.v1.CrossRegionalSourceH\000B\010\n\006source\"Y" - + "\n\014InlineSource\022I\n\ntaxonomies\030\001 \003(\0132/.goo" - + "gle.cloud.datacatalog.v1.SerializedTaxon" - + "omyB\004\342A\001\002\"U\n\023CrossRegionalSource\022>\n\010taxo" - + "nomy\030\001 \001(\tB,\342A\001\002\372A%\n#datacatalog.googlea" - + "pis.com/Taxonomy\"U\n\030ImportTaxonomiesResp" - + "onse\0229\n\ntaxonomies\030\001 \003(\0132%.google.cloud." - + "datacatalog.v1.Taxonomy\"\311\001\n\027ExportTaxono" - + "miesRequest\022<\n\006parent\030\001 \001(\tB,\342A\001\002\372A%\022#da" - + "tacatalog.googleapis.com/Taxonomy\022@\n\ntax" - + "onomies\030\002 \003(\tB,\342A\001\002\372A%\n#datacatalog.goog" - + "leapis.com/Taxonomy\022\037\n\025serialized_taxono" - + "mies\030\003 \001(\010H\000B\r\n\013destination\"_\n\030ExportTax" - + "onomiesResponse\022C\n\ntaxonomies\030\001 \003(\0132/.go" - + "ogle.cloud.datacatalog.v1.SerializedTaxo" - + "nomy2\247\005\n\035PolicyTagManagerSerialization\022\260" - + "\001\n\017ReplaceTaxonomy\0223.google.cloud.dataca" - + "talog.v1.ReplaceTaxonomyRequest\032%.google" - + ".cloud.datacatalog.v1.Taxonomy\"A\202\323\344\223\002;\"6" - + "/v1/{name=projects/*/locations/*/taxonom" - + "ies/*}:replace:\001*\022\301\001\n\020ImportTaxonomies\0224" - + ".google.cloud.datacatalog.v1.ImportTaxon" - + "omiesRequest\0325.google.cloud.datacatalog." - + "v1.ImportTaxonomiesResponse\"@\202\323\344\223\002:\"5/v1" - + "/{parent=projects/*/locations/*}/taxonom" - + "ies:import:\001*\022\276\001\n\020ExportTaxonomies\0224.goo" - + "gle.cloud.datacatalog.v1.ExportTaxonomie" - + "sRequest\0325.google.cloud.datacatalog.v1.E" - + "xportTaxonomiesResponse\"=\202\323\344\223\0027\0225/v1/{pa" - + "rent=projects/*/locations/*}/taxonomies:" - + "export\032N\312A\032datacatalog.googleapis.com\322A." - + "https://www.googleapis.com/auth/cloud-pl" - + "atformB\352\001\n\037com.google.cloud.datacatalog." - + "v1B\"PolicyTagManagerSerializationProtoP\001" - + "ZAcloud.google.com/go/datacatalog/apiv1/" - + "datacatalogpb;datacatalogpb\370\001\001\252\002\033Google." - + "Cloud.DataCatalog.V1\312\002\033Google\\Cloud\\Data" - + "Catalog\\V1\352\002\036Google::Cloud::DataCatalog:" - + ":V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.datacatalog.v1.PolicyTagManagerProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_descriptor, - new java.lang.String[] { - "DisplayName", "Description", "PolicyTags", "ActivatedPolicyTypes", - }); - internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_descriptor, - new java.lang.String[] { - "PolicyTag", "DisplayName", "Description", "ChildPolicyTags", - }); - internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_descriptor, - new java.lang.String[] { - "Name", "SerializedTaxonomy", - }); - internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_descriptor, - new java.lang.String[] { - "Parent", "InlineSource", "CrossRegionalSource", "Source", - }); - internal_static_google_cloud_datacatalog_v1_InlineSource_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_datacatalog_v1_InlineSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_InlineSource_descriptor, - new java.lang.String[] { - "Taxonomies", - }); - internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_descriptor, - new java.lang.String[] { - "Taxonomy", - }); - internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_descriptor, - new java.lang.String[] { - "Taxonomies", - }); - internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_descriptor, - new java.lang.String[] { - "Parent", "Taxonomies", "SerializedTaxonomies", "Destination", - }); - internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_descriptor, - new java.lang.String[] { - "Taxonomies", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - 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.datacatalog.v1.PolicyTagManagerProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequestOrBuilder.java deleted file mode 100644 index d49ecc1f6d9e..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequestOrBuilder.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto - -package com.google.cloud.datacatalog.v1; - -public interface ReplaceTaxonomyRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ReplaceTaxonomyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Resource name of the taxonomy to update.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Resource name of the taxonomy to update.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * Required. Taxonomy to update along with its child policy tags.
-   * 
- * - * - * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the serializedTaxonomy field is set. - */ - boolean hasSerializedTaxonomy(); - /** - * - * - *
-   * Required. Taxonomy to update along with its child policy tags.
-   * 
- * - * - * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The serializedTaxonomy. - */ - com.google.cloud.datacatalog.v1.SerializedTaxonomy getSerializedTaxonomy(); - /** - * - * - *
-   * Required. Taxonomy to update along with its child policy tags.
-   * 
- * - * - * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getSerializedTaxonomyOrBuilder(); -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOuterClass.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOuterClass.java deleted file mode 100644 index 1cb2888b5792..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOuterClass.java +++ /dev/null @@ -1,133 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/schema.proto - -package com.google.cloud.datacatalog.v1; - -public final class SchemaOuterClass { - private SchemaOuterClass() {} - - 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_datacatalog_v1_Schema_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_Schema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ColumnSchema_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ColumnSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_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/datacatalog/v1/schema.pro" - + "to\022\033google.cloud.datacatalog.v1\032\037google/" - + "api/field_behavior.proto\"D\n\006Schema\022:\n\007co" - + "lumns\030\002 \003(\0132).google.cloud.datacatalog.v" - + "1.ColumnSchema\"\332\006\n\014ColumnSchema\022\024\n\006colum" - + "n\030\006 \001(\tB\004\342A\001\002\022\022\n\004type\030\001 \001(\tB\004\342A\001\002\022\031\n\013des" - + "cription\030\002 \001(\tB\004\342A\001\001\022\022\n\004mode\030\003 \001(\tB\004\342A\001\001" - + "\022\033\n\rdefault_value\030\010 \001(\tB\004\342A\001\001\022\036\n\020ordinal" - + "_position\030\t \001(\005B\004\342A\001\001\022[\n\025highest_indexin" - + "g_type\030\n \001(\01626.google.cloud.datacatalog." - + "v1.ColumnSchema.IndexingTypeB\004\342A\001\001\022C\n\nsu" - + "bcolumns\030\007 \003(\0132).google.cloud.datacatalo" - + "g.v1.ColumnSchemaB\004\342A\001\001\022X\n\022looker_column" - + "_spec\030\022 \001(\0132:.google.cloud.datacatalog.v" - + "1.ColumnSchema.LookerColumnSpecH\000\022\025\n\007gc_" - + "rule\030\013 \001(\tB\004\342A\001\001\032\362\001\n\020LookerColumnSpec\022Y\n" - + "\004type\030\001 \001(\0162K.google.cloud.datacatalog.v" - + "1.ColumnSchema.LookerColumnSpec.LookerCo" - + "lumnType\"\202\001\n\020LookerColumnType\022\"\n\036LOOKER_" - + "COLUMN_TYPE_UNSPECIFIED\020\000\022\r\n\tDIMENSION\020\001" - + "\022\023\n\017DIMENSION_GROUP\020\002\022\n\n\006FILTER\020\003\022\013\n\007MEA" - + "SURE\020\004\022\r\n\tPARAMETER\020\005\"\234\001\n\014IndexingType\022\035" - + "\n\031INDEXING_TYPE_UNSPECIFIED\020\000\022\026\n\022INDEXIN" - + "G_TYPE_NONE\020\001\022\034\n\030INDEXING_TYPE_NON_UNIQU" - + "E\020\002\022\030\n\024INDEXING_TYPE_UNIQUE\020\003\022\035\n\031INDEXIN" - + "G_TYPE_PRIMARY_KEY\020\004B\r\n\013system_specB\306\001\n\037" - + "com.google.cloud.datacatalog.v1P\001ZAcloud" - + ".google.com/go/datacatalog/apiv1/datacat" - + "alogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud.D" - + "ataCatalog.V1\312\002\033Google\\Cloud\\DataCatalog" - + "\\V1\352\002\036Google::Cloud::DataCatalog::V1b\006pr" - + "oto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1_Schema_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1_Schema_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_Schema_descriptor, - new java.lang.String[] { - "Columns", - }); - internal_static_google_cloud_datacatalog_v1_ColumnSchema_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1_ColumnSchema_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ColumnSchema_descriptor, - new java.lang.String[] { - "Column", - "Type", - "Description", - "Mode", - "DefaultValue", - "OrdinalPosition", - "HighestIndexingType", - "Subcolumns", - "LookerColumnSpec", - "GcRule", - "SystemSpec", - }); - internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_descriptor = - internal_static_google_cloud_datacatalog_v1_ColumnSchema_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_descriptor, - new java.lang.String[] { - "Type", - }); - 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Search.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Search.java deleted file mode 100644 index dee61cdb91dc..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Search.java +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/search.proto - -package com.google.cloud.datacatalog.v1; - -public final class Search { - private Search() {} - - 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_datacatalog_v1_SearchCatalogResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_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/datacatalog/v1/search.pro" - + "to\022\033google.cloud.datacatalog.v1\032\037google/" - + "api/field_behavior.proto\032(google/cloud/d" - + "atacatalog/v1/common.proto\032\037google/proto" - + "buf/timestamp.proto\"\257\003\n\023SearchCatalogRes" - + "ult\022I\n\022search_result_type\030\001 \001(\0162-.google" - + ".cloud.datacatalog.v1.SearchResultType\022\035" - + "\n\025search_result_subtype\030\002 \001(\t\022\036\n\026relativ" - + "e_resource_name\030\003 \001(\t\022\027\n\017linked_resource" - + "\030\004 \001(\t\022/\n\013modify_time\030\007 \001(\0132\032.google.pro" - + "tobuf.Timestamp\022P\n\021integrated_system\030\010 \001" - + "(\0162-.google.cloud.datacatalog.v1.Integra" - + "tedSystemB\004\342A\001\003H\000\022\037\n\025user_specified_syst" - + "em\030\t \001(\tH\000\022\034\n\024fully_qualified_name\030\n \001(\t" - + "\022\024\n\014display_name\030\014 \001(\t\022\023\n\013description\030\r " - + "\001(\tB\010\n\006system*d\n\020SearchResultType\022\"\n\036SEA" - + "RCH_RESULT_TYPE_UNSPECIFIED\020\000\022\t\n\005ENTRY\020\001" - + "\022\020\n\014TAG_TEMPLATE\020\002\022\017\n\013ENTRY_GROUP\020\003B\306\001\n\037" - + "com.google.cloud.datacatalog.v1P\001ZAcloud" - + ".google.com/go/datacatalog/apiv1/datacat" - + "alogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud.D" - + "ataCatalog.V1\312\002\033Google\\Cloud\\DataCatalog" - + "\\V1\352\002\036Google::Cloud::DataCatalog::V1b\006pr" - + "oto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.cloud.datacatalog.v1.Common.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_descriptor, - new java.lang.String[] { - "SearchResultType", - "SearchResultSubtype", - "RelativeResourceName", - "LinkedResource", - "ModifyTime", - "IntegratedSystem", - "UserSpecifiedSystem", - "FullyQualifiedName", - "DisplayName", - "Description", - "System", - }); - 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.datacatalog.v1.Common.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequestOrBuilder.java deleted file mode 100644 index d02bb5305637..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/datacatalog.proto - -package com.google.cloud.datacatalog.v1; - -public interface StarEntryRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.StarEntryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the entry to mark as starred.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the entry to mark as starred.
-   * 
- * - * - * 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponseOrBuilder.java deleted file mode 100644 index 28c8b511dfe2..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/datacatalog.proto - -package com.google.cloud.datacatalog.v1; - -public interface StarEntryResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.StarEntryResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOuterClass.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOuterClass.java deleted file mode 100644 index d1413bfe9b71..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOuterClass.java +++ /dev/null @@ -1,132 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/table_spec.proto - -package com.google.cloud.datacatalog.v1; - -public final class TableSpecOuterClass { - private TableSpecOuterClass() {} - - 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_datacatalog_v1_BigQueryTableSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_BigQueryTableSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ViewSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ViewSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_TableSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_TableSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_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/datacatalog/v1/table_spec" - + ".proto\022\033google.cloud.datacatalog.v1\032\037goo" - + "gle/api/field_behavior.proto\032\031google/api" - + "/resource.proto\"\351\001\n\021BigQueryTableSpec\022M\n" - + "\021table_source_type\030\001 \001(\0162,.google.cloud." - + "datacatalog.v1.TableSourceTypeB\004\342A\001\003\022:\n\t" - + "view_spec\030\002 \001(\0132%.google.cloud.datacatal" - + "og.v1.ViewSpecH\000\022<\n\ntable_spec\030\003 \001(\0132&.g" - + "oogle.cloud.datacatalog.v1.TableSpecH\000B\013" - + "\n\ttype_spec\"$\n\010ViewSpec\022\030\n\nview_query\030\001 " - + "\001(\tB\004\342A\001\003\"M\n\tTableSpec\022@\n\rgrouped_entry\030" - + "\001 \001(\tB)\342A\001\003\372A\"\n datacatalog.googleapis.c" - + "om/Entry\"\261\001\n\027BigQueryDateShardedSpec\022:\n\007" - + "dataset\030\001 \001(\tB)\342A\001\003\372A\"\n datacatalog.goog" - + "leapis.com/Entry\022\032\n\014table_prefix\030\002 \001(\tB\004" - + "\342A\001\003\022\031\n\013shard_count\030\003 \001(\003B\004\342A\001\003\022#\n\025lates" - + "t_shard_resource\030\004 \001(\tB\004\342A\001\003*{\n\017TableSou" - + "rceType\022!\n\035TABLE_SOURCE_TYPE_UNSPECIFIED" - + "\020\000\022\021\n\rBIGQUERY_VIEW\020\002\022\022\n\016BIGQUERY_TABLE\020" - + "\005\022\036\n\032BIGQUERY_MATERIALIZED_VIEW\020\007B\306\001\n\037co" - + "m.google.cloud.datacatalog.v1P\001ZAcloud.g" - + "oogle.com/go/datacatalog/apiv1/datacatal" - + "ogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud.Dat" - + "aCatalog.V1\312\002\033Google\\Cloud\\DataCatalog\\V" - + "1\352\002\036Google::Cloud::DataCatalog::V1b\006prot" - + "o3" - }; - 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_datacatalog_v1_BigQueryTableSpec_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1_BigQueryTableSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_BigQueryTableSpec_descriptor, - new java.lang.String[] { - "TableSourceType", "ViewSpec", "TableSpec", "TypeSpec", - }); - internal_static_google_cloud_datacatalog_v1_ViewSpec_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1_ViewSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ViewSpec_descriptor, - new java.lang.String[] { - "ViewQuery", - }); - internal_static_google_cloud_datacatalog_v1_TableSpec_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_datacatalog_v1_TableSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_TableSpec_descriptor, - new java.lang.String[] { - "GroupedEntry", - }); - internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_descriptor, - new java.lang.String[] { - "Dataset", "TablePrefix", "ShardCount", "LatestShardResource", - }); - 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tags.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tags.java deleted file mode 100644 index ab053299edff..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tags.java +++ /dev/null @@ -1,246 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/tags.proto - -package com.google.cloud.datacatalog.v1; - -public final class Tags { - private Tags() {} - - 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_datacatalog_v1_Tag_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_Tag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_Tag_FieldsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_Tag_FieldsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_TagField_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_TagField_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_TagTemplate_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_TagTemplate_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_TagTemplate_FieldsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_TagTemplate_FieldsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_TagTemplateField_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_TagTemplateField_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_FieldType_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_FieldType_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_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/datacatalog/v1/tags.proto" - + "\022\033google.cloud.datacatalog.v1\032\037google/ap" - + "i/field_behavior.proto\032\031google/api/resou" - + "rce.proto\032\037google/protobuf/timestamp.pro" - + "to\"\211\003\n\003Tag\022\014\n\004name\030\001 \001(\t\022\026\n\010template\030\002 \001" - + "(\tB\004\342A\001\002\022#\n\025template_display_name\030\005 \001(\tB" - + "\004\342A\001\003\022\020\n\006column\030\004 \001(\tH\000\022B\n\006fields\030\003 \003(\0132" - + ",.google.cloud.datacatalog.v1.Tag.Fields" - + "EntryB\004\342A\001\002\032T\n\013FieldsEntry\022\013\n\003key\030\001 \001(\t\022" - + "4\n\005value\030\002 \001(\0132%.google.cloud.datacatalo" - + "g.v1.TagField:\0028\001:\201\001\352A~\n\036datacatalog.goo" - + "gleapis.com/Tag\022\\projects/{project}/loca" - + "tions/{location}/entryGroups/{entry_grou" - + "p}/entries/{entry}/tags/{tag}B\007\n\005scope\"\304" - + "\002\n\010TagField\022\032\n\014display_name\030\001 \001(\tB\004\342A\001\003\022" - + "\026\n\014double_value\030\002 \001(\001H\000\022\026\n\014string_value\030" - + "\003 \001(\tH\000\022\024\n\nbool_value\030\004 \001(\010H\000\0225\n\017timesta" - + "mp_value\030\005 \001(\0132\032.google.protobuf.Timesta" - + "mpH\000\022E\n\nenum_value\030\006 \001(\0132/.google.cloud." - + "datacatalog.v1.TagField.EnumValueH\000\022\030\n\016r" - + "ichtext_value\030\010 \001(\tH\000\022\023\n\005order\030\007 \001(\005B\004\342A" - + "\001\003\032!\n\tEnumValue\022\024\n\014display_name\030\001 \001(\tB\006\n" - + "\004kind\"\353\002\n\013TagTemplate\022\014\n\004name\030\001 \001(\t\022\024\n\014d" - + "isplay_name\030\002 \001(\t\022\034\n\024is_publicly_readabl" - + "e\030\005 \001(\010\022J\n\006fields\030\003 \003(\01324.google.cloud.d" - + "atacatalog.v1.TagTemplate.FieldsEntryB\004\342" - + "A\001\002\032\\\n\013FieldsEntry\022\013\n\003key\030\001 \001(\t\022<\n\005value" - + "\030\002 \001(\0132-.google.cloud.datacatalog.v1.Tag" - + "TemplateField:\0028\001:p\352Am\n&datacatalog.goog" - + "leapis.com/TagTemplate\022Cprojects/{projec" - + "t}/locations/{location}/tagTemplates/{ta" - + "g_template}\"\271\002\n\020TagTemplateField\022\022\n\004name" - + "\030\006 \001(\tB\004\342A\001\003\022\024\n\014display_name\030\001 \001(\t\022:\n\004ty" - + "pe\030\002 \001(\0132&.google.cloud.datacatalog.v1.F" - + "ieldTypeB\004\342A\001\002\022\023\n\013is_required\030\003 \001(\010\022\023\n\013d" - + "escription\030\004 \001(\t\022\r\n\005order\030\005 \001(\005:\205\001\352A\201\001\n+" - + "datacatalog.googleapis.com/TagTemplateFi" - + "eld\022Rprojects/{project}/locations/{locat" - + "ion}/tagTemplates/{tag_template}/fields/" - + "{field}\"\247\003\n\tFieldType\022N\n\016primitive_type\030" - + "\001 \001(\01624.google.cloud.datacatalog.v1.Fiel" - + "dType.PrimitiveTypeH\000\022D\n\tenum_type\030\002 \001(\013" - + "2/.google.cloud.datacatalog.v1.FieldType" - + ".EnumTypeH\000\032\206\001\n\010EnumType\022Q\n\016allowed_valu" - + "es\030\001 \003(\01329.google.cloud.datacatalog.v1.F" - + "ieldType.EnumType.EnumValue\032\'\n\tEnumValue" - + "\022\032\n\014display_name\030\001 \001(\tB\004\342A\001\002\"n\n\rPrimitiv" - + "eType\022\036\n\032PRIMITIVE_TYPE_UNSPECIFIED\020\000\022\n\n" - + "\006DOUBLE\020\001\022\n\n\006STRING\020\002\022\010\n\004BOOL\020\003\022\r\n\tTIMES" - + "TAMP\020\004\022\014\n\010RICHTEXT\020\005B\013\n\ttype_declB\306\001\n\037co" - + "m.google.cloud.datacatalog.v1P\001ZAcloud.g" - + "oogle.com/go/datacatalog/apiv1/datacatal" - + "ogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud.Dat" - + "aCatalog.V1\312\002\033Google\\Cloud\\DataCatalog\\V" - + "1\352\002\036Google::Cloud::DataCatalog::V1b\006prot" - + "o3" - }; - 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.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1_Tag_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1_Tag_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_Tag_descriptor, - new java.lang.String[] { - "Name", "Template", "TemplateDisplayName", "Column", "Fields", "Scope", - }); - internal_static_google_cloud_datacatalog_v1_Tag_FieldsEntry_descriptor = - internal_static_google_cloud_datacatalog_v1_Tag_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1_Tag_FieldsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_Tag_FieldsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_datacatalog_v1_TagField_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1_TagField_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_TagField_descriptor, - new java.lang.String[] { - "DisplayName", - "DoubleValue", - "StringValue", - "BoolValue", - "TimestampValue", - "EnumValue", - "RichtextValue", - "Order", - "Kind", - }); - internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_descriptor = - internal_static_google_cloud_datacatalog_v1_TagField_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_descriptor, - new java.lang.String[] { - "DisplayName", - }); - internal_static_google_cloud_datacatalog_v1_TagTemplate_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_datacatalog_v1_TagTemplate_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_TagTemplate_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "IsPubliclyReadable", "Fields", - }); - internal_static_google_cloud_datacatalog_v1_TagTemplate_FieldsEntry_descriptor = - internal_static_google_cloud_datacatalog_v1_TagTemplate_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1_TagTemplate_FieldsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_TagTemplate_FieldsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_datacatalog_v1_TagTemplateField_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_datacatalog_v1_TagTemplateField_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_TagTemplateField_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "Type", "IsRequired", "Description", "Order", - }); - internal_static_google_cloud_datacatalog_v1_FieldType_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_datacatalog_v1_FieldType_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_FieldType_descriptor, - new java.lang.String[] { - "PrimitiveType", "EnumType", "TypeDecl", - }); - internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_descriptor = - internal_static_google_cloud_datacatalog_v1_FieldType_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_descriptor, - new java.lang.String[] { - "AllowedValues", - }); - internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_descriptor = - internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_descriptor, - new java.lang.String[] { - "DisplayName", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Timestamps.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Timestamps.java deleted file mode 100644 index f1d50a3d268e..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Timestamps.java +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/timestamps.proto - -package com.google.cloud.datacatalog.v1; - -public final class Timestamps { - private Timestamps() {} - - 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_datacatalog_v1_SystemTimestamps_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_SystemTimestamps_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/datacatalog/v1/timestamps" - + ".proto\022\033google.cloud.datacatalog.v1\032\037goo" - + "gle/api/field_behavior.proto\032\037google/pro" - + "tobuf/timestamp.proto\"\253\001\n\020SystemTimestam" - + "ps\022/\n\013create_time\030\001 \001(\0132\032.google.protobu" - + "f.Timestamp\022/\n\013update_time\030\002 \001(\0132\032.googl" - + "e.protobuf.Timestamp\0225\n\013expire_time\030\003 \001(" - + "\0132\032.google.protobuf.TimestampB\004\342A\001\003B\306\001\n\037" - + "com.google.cloud.datacatalog.v1P\001ZAcloud" - + ".google.com/go/datacatalog/apiv1/datacat" - + "alogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud.D" - + "ataCatalog.V1\312\002\033Google\\Cloud\\DataCatalog" - + "\\V1\352\002\036Google::Cloud::DataCatalog::V1b\006pr" - + "oto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1_SystemTimestamps_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1_SystemTimestamps_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_SystemTimestamps_descriptor, - new java.lang.String[] { - "CreateTime", "UpdateTime", "ExpireTime", - }); - 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.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequestOrBuilder.java deleted file mode 100644 index eae8a3ff0ec1..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/datacatalog.proto - -package com.google.cloud.datacatalog.v1; - -public interface UnstarEntryRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.UnstarEntryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the entry to mark as **not** starred.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the entry to mark as **not** starred.
-   * 
- * - * - * 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponseOrBuilder.java deleted file mode 100644 index d4c286b005dc..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/datacatalog.proto - -package com.google.cloud.datacatalog.v1; - -public interface UnstarEntryResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.UnstarEntryResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Usage.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Usage.java deleted file mode 100644 index 4605e2f9ade0..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Usage.java +++ /dev/null @@ -1,152 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/usage.proto - -package com.google.cloud.datacatalog.v1; - -public final class Usage { - private Usage() {} - - 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_datacatalog_v1_UsageStats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_UsageStats_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_CommonUsageStats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_CommonUsageStats_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_UsageSignal_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_UsageSignal_UsageWithinTimeRangeEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_UsageSignal_UsageWithinTimeRangeEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_UsageSignal_CommonUsageWithinTimeRangeEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_UsageSignal_CommonUsageWithinTimeRangeEntry_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/datacatalog/v1/usage.prot" - + "o\022\033google.cloud.datacatalog.v1\032\037google/a" - + "pi/field_behavior.proto\032\037google/protobuf" - + "/timestamp.proto\"\221\001\n\nUsageStats\022\031\n\021total" - + "_completions\030\001 \001(\002\022\026\n\016total_failures\030\002 \001" - + "(\002\022\033\n\023total_cancellations\030\003 \001(\002\0223\n+total" - + "_execution_time_for_completions_millis\030\004" - + " \001(\002\":\n\020CommonUsageStats\022\027\n\nview_count\030\001" - + " \001(\003H\000\210\001\001B\r\n\013_view_count\"\243\004\n\013UsageSignal" - + "\022/\n\013update_time\030\001 \001(\0132\032.google.protobuf." - + "Timestamp\022i\n\027usage_within_time_range\030\002 \003" - + "(\0132B.google.cloud.datacatalog.v1.UsageSi" - + "gnal.UsageWithinTimeRangeEntryB\004\342A\001\003\022p\n\036" - + "common_usage_within_time_range\030\003 \003(\0132H.g" - + "oogle.cloud.datacatalog.v1.UsageSignal.C" - + "ommonUsageWithinTimeRangeEntry\022\033\n\016favori" - + "te_count\030\004 \001(\003H\000\210\001\001\032d\n\031UsageWithinTimeRa" - + "ngeEntry\022\013\n\003key\030\001 \001(\t\0226\n\005value\030\002 \001(\0132\'.g" - + "oogle.cloud.datacatalog.v1.UsageStats:\0028" - + "\001\032p\n\037CommonUsageWithinTimeRangeEntry\022\013\n\003" - + "key\030\001 \001(\t\022<\n\005value\030\002 \001(\0132-.google.cloud." - + "datacatalog.v1.CommonUsageStats:\0028\001B\021\n\017_" - + "favorite_countB\306\001\n\037com.google.cloud.data" - + "catalog.v1P\001ZAcloud.google.com/go/dataca" - + "talog/apiv1/datacatalogpb;datacatalogpb\370" - + "\001\001\252\002\033Google.Cloud.DataCatalog.V1\312\002\033Googl" - + "e\\Cloud\\DataCatalog\\V1\352\002\036Google::Cloud::" - + "DataCatalog::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1_UsageStats_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1_UsageStats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_UsageStats_descriptor, - new java.lang.String[] { - "TotalCompletions", - "TotalFailures", - "TotalCancellations", - "TotalExecutionTimeForCompletionsMillis", - }); - internal_static_google_cloud_datacatalog_v1_CommonUsageStats_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1_CommonUsageStats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_CommonUsageStats_descriptor, - new java.lang.String[] { - "ViewCount", "ViewCount", - }); - internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_datacatalog_v1_UsageSignal_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor, - new java.lang.String[] { - "UpdateTime", - "UsageWithinTimeRange", - "CommonUsageWithinTimeRange", - "FavoriteCount", - "FavoriteCount", - }); - internal_static_google_cloud_datacatalog_v1_UsageSignal_UsageWithinTimeRangeEntry_descriptor = - internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1_UsageSignal_UsageWithinTimeRangeEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_UsageSignal_UsageWithinTimeRangeEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_datacatalog_v1_UsageSignal_CommonUsageWithinTimeRangeEntry_descriptor = - internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_datacatalog_v1_UsageSignal_CommonUsageWithinTimeRangeEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_UsageSignal_CommonUsageWithinTimeRangeEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - 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.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Common.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Common.java deleted file mode 100644 index 44cf294d5d35..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Common.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/common.proto - -package com.google.cloud.datacatalog.v1beta1; - -public final class Common { - private Common() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - 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/datacatalog/v1beta1/commo" - + "n.proto\022 google.cloud.datacatalog.v1beta" - + "1*U\n\020IntegratedSystem\022!\n\035INTEGRATED_SYST" - + "EM_UNSPECIFIED\020\000\022\014\n\010BIGQUERY\020\001\022\020\n\014CLOUD_" - + "PUBSUB\020\002B\337\001\n$com.google.cloud.datacatalo" - + "g.v1beta1P\001ZFcloud.google.com/go/datacat" - + "alog/apiv1beta1/datacatalogpb;datacatalo" - + "gpb\370\001\001\252\002 Google.Cloud.DataCatalog.V1Beta" - + "1\312\002 Google\\Cloud\\DataCatalog\\V1beta1\352\002#G" - + "oogle::Cloud::DataCatalog::V1beta1b\006prot" - + "o3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Datacatalog.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Datacatalog.java deleted file mode 100644 index 13d0765f0eb5..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Datacatalog.java +++ /dev/null @@ -1,793 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/datacatalog.proto - -package com.google.cloud.datacatalog.v1beta1; - -public final class Datacatalog { - private Datacatalog() {} - - 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_datacatalog_v1beta1_SearchCatalogRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_Entry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_Entry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n2google/cloud/datacatalog/v1beta1/datac" - + "atalog.proto\022 google.cloud.datacatalog.v" - + "1beta1\032\034google/api/annotations.proto\032\027go" - + "ogle/api/client.proto\032\037google/api/field_" - + "behavior.proto\032\031google/api/resource.prot" - + "o\032-google/cloud/datacatalog/v1beta1/comm" - + "on.proto\0327google/cloud/datacatalog/v1bet" - + "a1/gcs_fileset_spec.proto\032-google/cloud/" - + "datacatalog/v1beta1/schema.proto\032-google" - + "/cloud/datacatalog/v1beta1/search.proto\032" - + "1google/cloud/datacatalog/v1beta1/table_" - + "spec.proto\032+google/cloud/datacatalog/v1b" - + "eta1/tags.proto\0321google/cloud/datacatalo" - + "g/v1beta1/timestamps.proto\032\036google/iam/v" - + "1/iam_policy.proto\032\032google/iam/v1/policy" - + ".proto\032\033google/protobuf/empty.proto\032 goo" - + "gle/protobuf/field_mask.proto\"\241\002\n\024Search" - + "CatalogRequest\022Q\n\005scope\030\006 \001(\0132<.google.c" - + "loud.datacatalog.v1beta1.SearchCatalogRe" - + "quest.ScopeB\004\342A\001\002\022\023\n\005query\030\001 \001(\tB\004\342A\001\002\022\021" - + "\n\tpage_size\030\002 \001(\005\022\030\n\npage_token\030\003 \001(\tB\004\342" - + "A\001\001\022\020\n\010order_by\030\005 \001(\t\032b\n\005Scope\022\027\n\017includ" - + "e_org_ids\030\002 \003(\t\022\033\n\023include_project_ids\030\003" - + " \003(\t\022#\n\033include_gcp_public_datasets\030\007 \001(" - + "\010\"x\n\025SearchCatalogResponse\022F\n\007results\030\001 " - + "\003(\01325.google.cloud.datacatalog.v1beta1.S" - + "earchCatalogResult\022\027\n\017next_page_token\030\003 " - + "\001(\t\"\272\001\n\027CreateEntryGroupRequest\022>\n\006paren" - + "t\030\001 \001(\tB.\342A\001\002\372A\'\022%datacatalog.googleapis" - + ".com/EntryGroup\022\034\n\016entry_group_id\030\003 \001(\tB" - + "\004\342A\001\002\022A\n\013entry_group\030\002 \001(\0132,.google.clou" - + "d.datacatalog.v1beta1.EntryGroup\"\223\001\n\027Upd" - + "ateEntryGroupRequest\022G\n\013entry_group\030\001 \001(" - + "\0132,.google.cloud.datacatalog.v1beta1.Ent" - + "ryGroupB\004\342A\001\002\022/\n\013update_mask\030\002 \001(\0132\032.goo" - + "gle.protobuf.FieldMask\"\203\001\n\024GetEntryGroup" - + "Request\022<\n\004name\030\001 \001(\tB.\342A\001\002\372A\'\n%datacata" - + "log.googleapis.com/EntryGroup\022-\n\tread_ma" - + "sk\030\002 \001(\0132\032.google.protobuf.FieldMask\"l\n\027" - + "DeleteEntryGroupRequest\022<\n\004name\030\001 \001(\tB.\342" - + "A\001\002\372A\'\n%datacatalog.googleapis.com/Entry" - + "Group\022\023\n\005force\030\002 \001(\010B\004\342A\001\001\"\213\001\n\026ListEntry" - + "GroupsRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\022%" - + "datacatalog.googleapis.com/EntryGroup\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\"v\n\027ListEntryGroupsResponse\022B\n\014e" - + "ntry_groups\030\001 \003(\0132,.google.cloud.datacat" - + "alog.v1beta1.EntryGroup\022\027\n\017next_page_tok" - + "en\030\002 \001(\t\"\252\001\n\022CreateEntryRequest\022>\n\006paren" - + "t\030\001 \001(\tB.\342A\001\002\372A\'\n%datacatalog.googleapis" - + ".com/EntryGroup\022\026\n\010entry_id\030\003 \001(\tB\004\342A\001\002\022" - + "<\n\005entry\030\002 \001(\0132\'.google.cloud.datacatalo" - + "g.v1beta1.EntryB\004\342A\001\002\"\203\001\n\022UpdateEntryReq" - + "uest\022<\n\005entry\030\001 \001(\0132\'.google.cloud.datac" - + "atalog.v1beta1.EntryB\004\342A\001\002\022/\n\013update_mas" - + "k\030\002 \001(\0132\032.google.protobuf.FieldMask\"M\n\022D" - + "eleteEntryRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"" - + "\n datacatalog.googleapis.com/Entry\"J\n\017Ge" - + "tEntryRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n da" - + "tacatalog.googleapis.com/Entry\"V\n\022Lookup" - + "EntryRequest\022\031\n\017linked_resource\030\001 \001(\tH\000\022" - + "\026\n\014sql_resource\030\003 \001(\tH\000B\r\n\013target_name\"\221" - + "\007\n\005Entry\0228\n\004name\030\001 \001(\tB*\372A\'\n%datacatalog" - + ".googleapis.com/EntryGroup\022\027\n\017linked_res" - + "ource\030\t \001(\t\022;\n\004type\030\002 \001(\0162+.google.cloud" - + ".datacatalog.v1beta1.EntryTypeH\000\022\035\n\023user" - + "_specified_type\030\020 \001(\tH\000\022U\n\021integrated_sy" - + "stem\030\021 \001(\01622.google.cloud.datacatalog.v1" - + "beta1.IntegratedSystemB\004\342A\001\003H\001\022\037\n\025user_s" - + "pecified_system\030\022 \001(\tH\001\022L\n\020gcs_fileset_s" - + "pec\030\006 \001(\01320.google.cloud.datacatalog.v1b" - + "eta1.GcsFilesetSpecH\002\022R\n\023bigquery_table_" - + "spec\030\014 \001(\01323.google.cloud.datacatalog.v1" - + "beta1.BigQueryTableSpecH\002\022_\n\032bigquery_da" - + "te_sharded_spec\030\017 \001(\01329.google.cloud.dat" - + "acatalog.v1beta1.BigQueryDateShardedSpec" - + "H\002\022\024\n\014display_name\030\003 \001(\t\022\023\n\013description\030" - + "\004 \001(\t\0228\n\006schema\030\005 \001(\0132(.google.cloud.dat" - + "acatalog.v1beta1.Schema\022Z\n\030source_system" - + "_timestamps\030\007 \001(\01322.google.cloud.datacat" - + "alog.v1beta1.SystemTimestampsB\004\342A\001\003:x\352Au" - + "\n datacatalog.googleapis.com/Entry\022Qproj" - + "ects/{project}/locations/{location}/entr" - + "yGroups/{entry_group}/entries/{entry}B\014\n" - + "\nentry_typeB\010\n\006systemB\013\n\ttype_spec\"\217\002\n\nE" - + "ntryGroup\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030" - + "\002 \001(\t\022\023\n\013description\030\003 \001(\t\022Y\n\027data_catal" - + "og_timestamps\030\004 \001(\01322.google.cloud.datac" - + "atalog.v1beta1.SystemTimestampsB\004\342A\001\003:m\352" - + "Aj\n%datacatalog.googleapis.com/EntryGrou" - + "p\022Aprojects/{project}/locations/{locatio" - + "n}/entryGroups/{entry_group}\"\305\001\n\030CreateT" - + "agTemplateRequest\022?\n\006parent\030\001 \001(\tB/\342A\001\002\372" - + "A(\022&datacatalog.googleapis.com/TagTempla" - + "te\022\035\n\017tag_template_id\030\003 \001(\tB\004\342A\001\002\022I\n\014tag" - + "_template\030\002 \001(\0132-.google.cloud.datacatal" - + "og.v1beta1.TagTemplateB\004\342A\001\002\"V\n\025GetTagTe" - + "mplateRequest\022=\n\004name\030\001 \001(\tB/\342A\001\002\372A(\n&da" - + "tacatalog.googleapis.com/TagTemplate\"\226\001\n" - + "\030UpdateTagTemplateRequest\022I\n\014tag_templat" - + "e\030\001 \001(\0132-.google.cloud.datacatalog.v1bet" - + "a1.TagTemplateB\004\342A\001\002\022/\n\013update_mask\030\002 \001(" - + "\0132\032.google.protobuf.FieldMask\"n\n\030DeleteT" - + "agTemplateRequest\022=\n\004name\030\001 \001(\tB/\342A\001\002\372A(" - + "\n&datacatalog.googleapis.com/TagTemplate" - + "\022\023\n\005force\030\002 \001(\010B\004\342A\001\002\"\205\001\n\020CreateTagReque" - + "st\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036datacatalog" - + ".googleapis.com/Tag\0228\n\003tag\030\002 \001(\0132%.googl" - + "e.cloud.datacatalog.v1beta1.TagB\004\342A\001\002\"}\n" - + "\020UpdateTagRequest\0228\n\003tag\030\001 \001(\0132%.google." - + "cloud.datacatalog.v1beta1.TagB\004\342A\001\002\022/\n\013u" - + "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field" - + "Mask\"I\n\020DeleteTagRequest\0225\n\004name\030\001 \001(\tB\'" - + "\342A\001\002\372A \022\036datacatalog.googleapis.com/Tag\"" - + "\333\001\n\035CreateTagTemplateFieldRequest\022?\n\006par" - + "ent\030\001 \001(\tB/\342A\001\002\372A(\n&datacatalog.googleap" - + "is.com/TagTemplate\022#\n\025tag_template_field" - + "_id\030\002 \001(\tB\004\342A\001\002\022T\n\022tag_template_field\030\003 " - + "\001(\01322.google.cloud.datacatalog.v1beta1.T" - + "agTemplateFieldB\004\342A\001\002\"\360\001\n\035UpdateTagTempl" - + "ateFieldRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+" - + "datacatalog.googleapis.com/TagTemplateFi" - + "eld\022T\n\022tag_template_field\030\002 \001(\01322.google" - + ".cloud.datacatalog.v1beta1.TagTemplateFi" - + "eldB\004\342A\001\002\0225\n\013update_mask\030\003 \001(\0132\032.google." - + "protobuf.FieldMaskB\004\342A\001\001\"\214\001\n\035RenameTagTe" - + "mplateFieldRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A" - + "-\n+datacatalog.googleapis.com/TagTemplat" - + "eField\022\'\n\031new_tag_template_field_id\030\002 \001(" - + "\tB\004\342A\001\002\"x\n\035DeleteTagTemplateFieldRequest" - + "\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+datacatalog.goo" - + "gleapis.com/TagTemplateField\022\023\n\005force\030\002 " - + "\001(\010B\004\342A\001\002\"q\n\017ListTagsRequest\0227\n\006parent\030\001" - + " \001(\tB\'\342A\001\002\372A \022\036datacatalog.googleapis.co" - + "m/Tag\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003" - + " \001(\t\"`\n\020ListTagsResponse\0223\n\004tags\030\001 \003(\0132%" - + ".google.cloud.datacatalog.v1beta1.Tag\022\027\n" - + "\017next_page_token\030\002 \001(\t\"\252\001\n\022ListEntriesRe" - + "quest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n%datacata" - + "log.googleapis.com/EntryGroup\022\021\n\tpage_si" - + "ze\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022-\n\tread_mas" - + "k\030\004 \001(\0132\032.google.protobuf.FieldMask\"h\n\023L" - + "istEntriesResponse\0228\n\007entries\030\001 \003(\0132\'.go" - + "ogle.cloud.datacatalog.v1beta1.Entry\022\027\n\017" - + "next_page_token\030\002 \001(\t*[\n\tEntryType\022\032\n\026EN" - + "TRY_TYPE_UNSPECIFIED\020\000\022\t\n\005TABLE\020\002\022\t\n\005MOD" - + "EL\020\005\022\017\n\013DATA_STREAM\020\003\022\013\n\007FILESET\020\0042\2742\n\013D" - + "ataCatalog\022\262\001\n\rSearchCatalog\0226.google.cl" - + "oud.datacatalog.v1beta1.SearchCatalogReq" - + "uest\0327.google.cloud.datacatalog.v1beta1." - + "SearchCatalogResponse\"0\332A\013scope,query\202\323\344" - + "\223\002\034\"\027/v1beta1/catalog:search:\001*\022\352\001\n\020Crea" - + "teEntryGroup\0229.google.cloud.datacatalog." - + "v1beta1.CreateEntryGroupRequest\032,.google" - + ".cloud.datacatalog.v1beta1.EntryGroup\"m\332" - + "A!parent,entry_group_id,entry_group\202\323\344\223\002" - + "C\"4/v1beta1/{parent=projects/*/locations" - + "/*}/entryGroups:\013entry_group\022\372\001\n\020UpdateE" - + "ntryGroup\0229.google.cloud.datacatalog.v1b" - + "eta1.UpdateEntryGroupRequest\032,.google.cl" - + "oud.datacatalog.v1beta1.EntryGroup\"}\332A\013e" - + "ntry_group\332A\027entry_group,update_mask\202\323\344\223" - + "\002O2@/v1beta1/{entry_group.name=projects/" - + "*/locations/*/entryGroups/*}:\013entry_grou" - + "p\022\313\001\n\rGetEntryGroup\0226.google.cloud.datac" - + "atalog.v1beta1.GetEntryGroupRequest\032,.go" - + "ogle.cloud.datacatalog.v1beta1.EntryGrou" - + "p\"T\332A\004name\332A\016name,read_mask\202\323\344\223\0026\0224/v1be" - + "ta1/{name=projects/*/locations/*/entryGr" - + "oups/*}\022\252\001\n\020DeleteEntryGroup\0229.google.cl" - + "oud.datacatalog.v1beta1.DeleteEntryGroup" - + "Request\032\026.google.protobuf.Empty\"C\332A\004name" - + "\202\323\344\223\0026*4/v1beta1/{name=projects/*/locati" - + "ons/*/entryGroups/*}\022\315\001\n\017ListEntryGroups" - + "\0228.google.cloud.datacatalog.v1beta1.List" - + "EntryGroupsRequest\0329.google.cloud.dataca" - + "talog.v1beta1.ListEntryGroupsResponse\"E\332" - + "A\006parent\202\323\344\223\0026\0224/v1beta1/{parent=project" - + "s/*/locations/*}/entryGroups\022\323\001\n\013CreateE" - + "ntry\0224.google.cloud.datacatalog.v1beta1." - + "CreateEntryRequest\032\'.google.cloud.dataca" - + "talog.v1beta1.Entry\"e\332A\025parent,entry_id," - + "entry\202\323\344\223\002G\">/v1beta1/{parent=projects/*" - + "/locations/*/entryGroups/*}/entries:\005ent" - + "ry\022\335\001\n\013UpdateEntry\0224.google.cloud.dataca" - + "talog.v1beta1.UpdateEntryRequest\032\'.googl" - + "e.cloud.datacatalog.v1beta1.Entry\"o\332A\005en" - + "try\332A\021entry,update_mask\202\323\344\223\002M2D/v1beta1/" - + "{entry.name=projects/*/locations/*/entry" - + "Groups/*/entries/*}:\005entry\022\252\001\n\013DeleteEnt" - + "ry\0224.google.cloud.datacatalog.v1beta1.De" - + "leteEntryRequest\032\026.google.protobuf.Empty" - + "\"M\332A\004name\202\323\344\223\002@*>/v1beta1/{name=projects" - + "/*/locations/*/entryGroups/*/entries/*}\022" - + "\265\001\n\010GetEntry\0221.google.cloud.datacatalog." - + "v1beta1.GetEntryRequest\032\'.google.cloud.d" - + "atacatalog.v1beta1.Entry\"M\332A\004name\202\323\344\223\002@\022" - + ">/v1beta1/{name=projects/*/locations/*/e" - + "ntryGroups/*/entries/*}\022\215\001\n\013LookupEntry\022" - + "4.google.cloud.datacatalog.v1beta1.Looku" - + "pEntryRequest\032\'.google.cloud.datacatalog" - + ".v1beta1.Entry\"\037\202\323\344\223\002\031\022\027/v1beta1/entries" - + ":lookup\022\313\001\n\013ListEntries\0224.google.cloud.d" - + "atacatalog.v1beta1.ListEntriesRequest\0325." - + "google.cloud.datacatalog.v1beta1.ListEnt" - + "riesResponse\"O\332A\006parent\202\323\344\223\002@\022>/v1beta1/" - + "{parent=projects/*/locations/*/entryGrou" - + "ps/*}/entries\022\361\001\n\021CreateTagTemplate\022:.go" - + "ogle.cloud.datacatalog.v1beta1.CreateTag" - + "TemplateRequest\032-.google.cloud.datacatal" - + "og.v1beta1.TagTemplate\"q\332A#parent,tag_te" - + "mplate_id,tag_template\202\323\344\223\002E\"5/v1beta1/{" - + "parent=projects/*/locations/*}/tagTempla" - + "tes:\014tag_template\022\276\001\n\016GetTagTemplate\0227.g" - + "oogle.cloud.datacatalog.v1beta1.GetTagTe" - + "mplateRequest\032-.google.cloud.datacatalog" - + ".v1beta1.TagTemplate\"D\332A\004name\202\323\344\223\0027\0225/v1" - + "beta1/{name=projects/*/locations/*/tagTe" - + "mplates/*}\022\203\002\n\021UpdateTagTemplate\022:.googl" - + "e.cloud.datacatalog.v1beta1.UpdateTagTem" - + "plateRequest\032-.google.cloud.datacatalog." - + "v1beta1.TagTemplate\"\202\001\332A\014tag_template\332A\030" - + "tag_template,update_mask\202\323\344\223\002R2B/v1beta1" - + "/{tag_template.name=projects/*/locations" - + "/*/tagTemplates/*}:\014tag_template\022\263\001\n\021Del" - + "eteTagTemplate\022:.google.cloud.datacatalo" - + "g.v1beta1.DeleteTagTemplateRequest\032\026.goo" - + "gle.protobuf.Empty\"J\332A\nname,force\202\323\344\223\0027*" - + "5/v1beta1/{name=projects/*/locations/*/t" - + "agTemplates/*}\022\234\002\n\026CreateTagTemplateFiel" - + "d\022?.google.cloud.datacatalog.v1beta1.Cre" - + "ateTagTemplateFieldRequest\0322.google.clou" - + "d.datacatalog.v1beta1.TagTemplateField\"\214" - + "\001\332A/parent,tag_template_field_id,tag_tem" - + "plate_field\202\323\344\223\002T\">/v1beta1/{parent=proj" - + "ects/*/locations/*/tagTemplates/*}/field" - + "s:\022tag_template_field\022\252\002\n\026UpdateTagTempl" - + "ateField\022?.google.cloud.datacatalog.v1be" - + "ta1.UpdateTagTemplateFieldRequest\0322.goog" - + "le.cloud.datacatalog.v1beta1.TagTemplate" - + "Field\"\232\001\332A\027name,tag_template_field\332A#nam" - + "e,tag_template_field,update_mask\202\323\344\223\002T2>" - + "/v1beta1/{name=projects/*/locations/*/ta" - + "gTemplates/*/fields/*}:\022tag_template_fie" - + "ld\022\200\002\n\026RenameTagTemplateField\022?.google.c" - + "loud.datacatalog.v1beta1.RenameTagTempla" - + "teFieldRequest\0322.google.cloud.datacatalo" - + "g.v1beta1.TagTemplateField\"q\332A\036name,new_" - + "tag_template_field_id\202\323\344\223\002J\"E/v1beta1/{n" - + "ame=projects/*/locations/*/tagTemplates/" - + "*/fields/*}:rename:\001*\022\306\001\n\026DeleteTagTempl" - + "ateField\022?.google.cloud.datacatalog.v1be" - + "ta1.DeleteTagTemplateFieldRequest\032\026.goog" - + "le.protobuf.Empty\"S\332A\nname,force\202\323\344\223\002@*>" - + "/v1beta1/{name=projects/*/locations/*/ta" - + "gTemplates/*/fields/*}\022\215\002\n\tCreateTag\0222.g" - + "oogle.cloud.datacatalog.v1beta1.CreateTa" - + "gRequest\032%.google.cloud.datacatalog.v1be" - + "ta1.Tag\"\244\001\332A\nparent,tag\202\323\344\223\002\220\001\"E/v1beta1" - + "/{parent=projects/*/locations/*/entryGro" - + "ups/*/entries/*}/tags:\003tagZB\";/v1beta1/{" - + "parent=projects/*/locations/*/entryGroup" - + "s/*}/tags:\003tag\022\240\002\n\tUpdateTag\0222.google.cl" - + "oud.datacatalog.v1beta1.UpdateTagRequest" - + "\032%.google.cloud.datacatalog.v1beta1.Tag\"" - + "\267\001\332A\003tag\332A\017tag,update_mask\202\323\344\223\002\230\0012I/v1be" - + "ta1/{tag.name=projects/*/locations/*/ent" - + "ryGroups/*/entries/*/tags/*}:\003tagZF2?/v1" - + "beta1/{tag.name=projects/*/locations/*/e" - + "ntryGroups/*/tags/*}:\003tag\022\356\001\n\tDeleteTag\022" - + "2.google.cloud.datacatalog.v1beta1.Delet" - + "eTagRequest\032\026.google.protobuf.Empty\"\224\001\332A" - + "\004name\202\323\344\223\002\206\001*E/v1beta1/{name=projects/*/" - + "locations/*/entryGroups/*/entries/*/tags" - + "/*}Z=*;/v1beta1/{name=projects/*/locatio" - + "ns/*/entryGroups/*/tags/*}\022\212\002\n\010ListTags\022" - + "1.google.cloud.datacatalog.v1beta1.ListT" - + "agsRequest\0322.google.cloud.datacatalog.v1" - + "beta1.ListTagsResponse\"\226\001\332A\006parent\202\323\344\223\002\206" - + "\001\022E/v1beta1/{parent=projects/*/locations" - + "/*/entryGroups/*/entries/*}/tagsZ=\022;/v1b" - + "eta1/{parent=projects/*/locations/*/entr" - + "yGroups/*}/tags\022\374\001\n\014SetIamPolicy\022\".googl" - + "e.iam.v1.SetIamPolicyRequest\032\025.google.ia" - + "m.v1.Policy\"\260\001\332A\017resource,policy\202\323\344\223\002\227\001\"" - + "F/v1beta1/{resource=projects/*/locations" - + "/*/tagTemplates/*}:setIamPolicy:\001*ZJ\"E/v" - + "1beta1/{resource=projects/*/locations/*/" - + "entryGroups/*}:setIamPolicy:\001*\022\313\002\n\014GetIa" - + "mPolicy\022\".google.iam.v1.GetIamPolicyRequ" - + "est\032\025.google.iam.v1.Policy\"\377\001\332A\010resource" - + "\202\323\344\223\002\355\001\"F/v1beta1/{resource=projects/*/l" - + "ocations/*/tagTemplates/*}:getIamPolicy:" - + "\001*ZJ\"E/v1beta1/{resource=projects/*/loca" - + "tions/*/entryGroups/*}:getIamPolicy:\001*ZT" - + "\"O/v1beta1/{resource=projects/*/location" - + "s/*/entryGroups/*/entries/*}:getIamPolic" - + "y:\001*\022\362\002\n\022TestIamPermissions\022(.google.iam" - + ".v1.TestIamPermissionsRequest\032).google.i" - + "am.v1.TestIamPermissionsResponse\"\206\002\202\323\344\223\002" - + "\377\001\"L/v1beta1/{resource=projects/*/locati" - + "ons/*/tagTemplates/*}:testIamPermissions" - + ":\001*ZP\"K/v1beta1/{resource=projects/*/loc" - + "ations/*/entryGroups/*}:testIamPermissio" - + "ns:\001*ZZ\"U/v1beta1/{resource=projects/*/l" - + "ocations/*/entryGroups/*/entries/*}:test" - + "IamPermissions:\001*\032N\312A\032datacatalog.google" - + "apis.com\322A.https://www.googleapis.com/au" - + "th/cloud-platformB\337\001\n$com.google.cloud.d" - + "atacatalog.v1beta1P\001ZFcloud.google.com/g" - + "o/datacatalog/apiv1beta1/datacatalogpb;d" - + "atacatalogpb\370\001\001\252\002 Google.Cloud.DataCatal" - + "og.V1Beta1\312\002 Google\\Cloud\\DataCatalog\\V1" - + "beta1\352\002#Google::Cloud::DataCatalog::V1be" - + "ta1b\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.datacatalog.v1beta1.Common.getDescriptor(), - com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass.getDescriptor(), - com.google.cloud.datacatalog.v1beta1.SchemaOuterClass.getDescriptor(), - com.google.cloud.datacatalog.v1beta1.Search.getDescriptor(), - com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.getDescriptor(), - com.google.cloud.datacatalog.v1beta1.Tags.getDescriptor(), - com.google.cloud.datacatalog.v1beta1.Timestamps.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_descriptor, - new java.lang.String[] { - "Scope", "Query", "PageSize", "PageToken", "OrderBy", - }); - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_descriptor = - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_descriptor, - new java.lang.String[] { - "IncludeOrgIds", "IncludeProjectIds", "IncludeGcpPublicDatasets", - }); - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_descriptor, - new java.lang.String[] { - "Results", "NextPageToken", - }); - internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_descriptor, - new java.lang.String[] { - "Parent", "EntryGroupId", "EntryGroup", - }); - internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_descriptor, - new java.lang.String[] { - "EntryGroup", "UpdateMask", - }); - internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_descriptor, - new java.lang.String[] { - "Name", "ReadMask", - }); - internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_descriptor, - new java.lang.String[] { - "Name", "Force", - }); - internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_descriptor, - new java.lang.String[] { - "EntryGroups", "NextPageToken", - }); - internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_descriptor, - new java.lang.String[] { - "Parent", "EntryId", "Entry", - }); - internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_descriptor, - new java.lang.String[] { - "Entry", "UpdateMask", - }); - internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_descriptor, - new java.lang.String[] { - "LinkedResource", "SqlResource", "TargetName", - }); - internal_static_google_cloud_datacatalog_v1beta1_Entry_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_datacatalog_v1beta1_Entry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_Entry_descriptor, - new java.lang.String[] { - "Name", - "LinkedResource", - "Type", - "UserSpecifiedType", - "IntegratedSystem", - "UserSpecifiedSystem", - "GcsFilesetSpec", - "BigqueryTableSpec", - "BigqueryDateShardedSpec", - "DisplayName", - "Description", - "Schema", - "SourceSystemTimestamps", - "EntryType", - "System", - "TypeSpec", - }); - internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "Description", "DataCatalogTimestamps", - }); - internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_descriptor, - new java.lang.String[] { - "Parent", "TagTemplateId", "TagTemplate", - }); - internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_descriptor, - new java.lang.String[] { - "TagTemplate", "UpdateMask", - }); - internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_descriptor, - new java.lang.String[] { - "Name", "Force", - }); - internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_descriptor, - new java.lang.String[] { - "Parent", "Tag", - }); - internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_descriptor, - new java.lang.String[] { - "Tag", "UpdateMask", - }); - internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_descriptor, - new java.lang.String[] { - "Parent", "TagTemplateFieldId", "TagTemplateField", - }); - internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_descriptor, - new java.lang.String[] { - "Name", "TagTemplateField", "UpdateMask", - }); - internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_descriptor, - new java.lang.String[] { - "Name", "NewTagTemplateFieldId", - }); - internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_descriptor, - new java.lang.String[] { - "Name", "Force", - }); - internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_descriptor, - new java.lang.String[] { - "Tags", "NextPageToken", - }); - internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "ReadMask", - }); - internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_descriptor, - new java.lang.String[] { - "Entries", "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.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.datacatalog.v1beta1.Common.getDescriptor(); - com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass.getDescriptor(); - com.google.cloud.datacatalog.v1beta1.SchemaOuterClass.getDescriptor(); - com.google.cloud.datacatalog.v1beta1.Search.getDescriptor(); - com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.getDescriptor(); - com.google.cloud.datacatalog.v1beta1.Tags.getDescriptor(); - com.google.cloud.datacatalog.v1beta1.Timestamps.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequestOrBuilder.java deleted file mode 100644 index d82381cd933a..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequestOrBuilder.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/datacatalog.proto - -package com.google.cloud.datacatalog.v1beta1; - -public interface DeleteEntryGroupRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the entry group. For example,
-   * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the entry group. For example,
-   * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * Optional. If true, deletes all entries in the entry group.
-   * 
- * - * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The force. - */ - boolean getForce(); -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequestOrBuilder.java deleted file mode 100644 index daa3c4b1a66d..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/datacatalog.proto - -package com.google.cloud.datacatalog.v1beta1; - -public interface DeleteEntryRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.DeleteEntryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the entry. Example:
-   *
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the entry. Example:
-   *
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequestOrBuilder.java deleted file mode 100644 index 0590d3711502..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/policytagmanager.proto - -package com.google.cloud.datacatalog.v1beta1; - -public interface DeletePolicyTagRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Resource name of the policy tag to be deleted. All of its descendant
-   * policy tags will also be deleted.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Resource name of the policy tag to be deleted. All of its descendant
-   * policy tags will also be deleted.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequestOrBuilder.java deleted file mode 100644 index b06f730cbbd3..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/datacatalog.proto - -package com.google.cloud.datacatalog.v1beta1; - -public interface DeleteTagRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.DeleteTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the tag to delete. Example:
-   *
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the tag to delete. Example:
-   *
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequestOrBuilder.java deleted file mode 100644 index 17bbf3fd94f9..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/policytagmanager.proto - -package com.google.cloud.datacatalog.v1beta1; - -public interface DeleteTaxonomyRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Resource name of the taxonomy to be deleted. All policy tags in
-   * this taxonomy will also be deleted.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Resource name of the taxonomy to be deleted. All policy tags in
-   * this taxonomy will also be deleted.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOuterClass.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOuterClass.java deleted file mode 100644 index 9353ff53c6b0..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOuterClass.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto - -package com.google.cloud.datacatalog.v1beta1; - -public final class GcsFilesetSpecOuterClass { - private GcsFilesetSpecOuterClass() {} - - 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_datacatalog_v1beta1_GcsFilesetSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n7google/cloud/datacatalog/v1beta1/gcs_f" - + "ileset_spec.proto\022 google.cloud.datacata" - + "log.v1beta1\032\037google/api/field_behavior.p" - + "roto\0321google/cloud/datacatalog/v1beta1/t" - + "imestamps.proto\"\201\001\n\016GcsFilesetSpec\022\033\n\rfi" - + "le_patterns\030\001 \003(\tB\004\342A\001\002\022R\n\025sample_gcs_fi" - + "le_specs\030\002 \003(\0132-.google.cloud.datacatalo" - + "g.v1beta1.GcsFileSpecB\004\342A\001\003\"\222\001\n\013GcsFileS" - + "pec\022\027\n\tfile_path\030\001 \001(\tB\004\342A\001\002\022P\n\016gcs_time" - + "stamps\030\002 \001(\01322.google.cloud.datacatalog." - + "v1beta1.SystemTimestampsB\004\342A\001\003\022\030\n\nsize_b" - + "ytes\030\004 \001(\003B\004\342A\001\003B\337\001\n$com.google.cloud.da" - + "tacatalog.v1beta1P\001ZFcloud.google.com/go" - + "/datacatalog/apiv1beta1/datacatalogpb;da" - + "tacatalogpb\370\001\001\252\002 Google.Cloud.DataCatalo" - + "g.V1Beta1\312\002 Google\\Cloud\\DataCatalog\\V1b" - + "eta1\352\002#Google::Cloud::DataCatalog::V1bet" - + "a1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.cloud.datacatalog.v1beta1.Timestamps.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_descriptor, - new java.lang.String[] { - "FilePatterns", "SampleGcsFileSpecs", - }); - internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_descriptor, - new java.lang.String[] { - "FilePath", "GcsTimestamps", "SizeBytes", - }); - 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.datacatalog.v1beta1.Timestamps.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequestOrBuilder.java deleted file mode 100644 index c507142bd64d..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/datacatalog.proto - -package com.google.cloud.datacatalog.v1beta1; - -public interface GetEntryRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.GetEntryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the entry. Example:
-   *
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the entry. Example:
-   *
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequestOrBuilder.java deleted file mode 100644 index 87fe836c4e10..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/policytagmanager.proto - -package com.google.cloud.datacatalog.v1beta1; - -public interface GetPolicyTagRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.GetPolicyTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Resource name of the requested policy tag.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Resource name of the requested policy tag.
-   * 
- * - * - * 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequestOrBuilder.java deleted file mode 100644 index c0f596173433..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/datacatalog.proto - -package com.google.cloud.datacatalog.v1beta1; - -public interface GetTagTemplateRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.GetTagTemplateRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the tag template. Example:
-   *
-   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the tag template. Example:
-   *
-   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequestOrBuilder.java deleted file mode 100644 index 29d70364bf00..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/policytagmanager.proto - -package com.google.cloud.datacatalog.v1beta1; - -public interface GetTaxonomyRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.GetTaxonomyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Resource name of the requested taxonomy.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Resource name of the requested taxonomy.
-   * 
- * - * - * 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequestOrBuilder.java deleted file mode 100644 index 8524634460be..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequestOrBuilder.java +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto - -package com.google.cloud.datacatalog.v1beta1; - -public interface ImportTaxonomiesRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Resource name of project that the newly created taxonomies will
-   * belong to.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. Resource name of project that the newly created taxonomies will
-   * belong to.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Inline source used for taxonomies import
-   * 
- * - * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; - * - * @return Whether the inlineSource field is set. - */ - boolean hasInlineSource(); - /** - * - * - *
-   * Inline source used for taxonomies import
-   * 
- * - * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; - * - * @return The inlineSource. - */ - com.google.cloud.datacatalog.v1beta1.InlineSource getInlineSource(); - /** - * - * - *
-   * Inline source used for taxonomies import
-   * 
- * - * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; - */ - com.google.cloud.datacatalog.v1beta1.InlineSourceOrBuilder getInlineSourceOrBuilder(); - - com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest.SourceCase getSourceCase(); -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSourceOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSourceOrBuilder.java deleted file mode 100644 index f95d8c6f3107..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSourceOrBuilder.java +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto - -package com.google.cloud.datacatalog.v1beta1; - -public interface InlineSourceOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.InlineSource) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Taxonomies to be imported.
-   * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List getTaxonomiesList(); - /** - * - * - *
-   * Required. Taxonomies to be imported.
-   * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy getTaxonomies(int index); - /** - * - * - *
-   * Required. Taxonomies to be imported.
-   * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - int getTaxonomiesCount(); - /** - * - * - *
-   * Required. Taxonomies to be imported.
-   * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List - getTaxonomiesOrBuilderList(); - /** - * - * - *
-   * Required. Taxonomies to be imported.
-   * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder getTaxonomiesOrBuilder( - int index); -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerProto.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerProto.java deleted file mode 100644 index 46a214627cde..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerProto.java +++ /dev/null @@ -1,385 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/policytagmanager.proto - -package com.google.cloud.datacatalog.v1beta1; - -public final class PolicyTagManagerProto { - private PolicyTagManagerProto() {} - - 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_datacatalog_v1beta1_Taxonomy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_PolicyTag_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_PolicyTag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_CreateTaxonomyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_CreateTaxonomyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_DeleteTaxonomyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_DeleteTaxonomyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_UpdateTaxonomyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_UpdateTaxonomyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_GetTaxonomyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_GetTaxonomyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_CreatePolicyTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_CreatePolicyTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_DeletePolicyTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_DeletePolicyTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_UpdatePolicyTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_UpdatePolicyTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_GetPolicyTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_GetPolicyTagRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n7google/cloud/datacatalog/v1beta1/polic" - + "ytagmanager.proto\022 google.cloud.datacata" - + "log.v1beta1\032\034google/api/annotations.prot" - + "o\032\027google/api/client.proto\032\037google/api/f" - + "ield_behavior.proto\032\031google/api/resource" - + ".proto\0321google/cloud/datacatalog/v1beta1" - + "/timestamps.proto\032\036google/iam/v1/iam_pol" - + "icy.proto\032\032google/iam/v1/policy.proto\032\033g" - + "oogle/protobuf/empty.proto\032 google/proto" - + "buf/field_mask.proto\"\347\002\n\010Taxonomy\022\022\n\004nam" - + "e\030\001 \001(\tB\004\342A\001\003\022\032\n\014display_name\030\002 \001(\tB\004\342A\001" - + "\002\022\031\n\013description\030\003 \001(\tB\004\342A\001\001\022[\n\026activate" - + "d_policy_types\030\006 \003(\01625.google.cloud.data" - + "catalog.v1beta1.Taxonomy.PolicyTypeB\004\342A\001" - + "\001\"J\n\nPolicyType\022\033\n\027POLICY_TYPE_UNSPECIFI" - + "ED\020\000\022\037\n\033FINE_GRAINED_ACCESS_CONTROL\020\001:g\352" - + "Ad\n#datacatalog.googleapis.com/Taxonomy\022" - + "=projects/{project}/locations/{location}" - + "/taxonomies/{taxonomy}\"\217\002\n\tPolicyTag\022\022\n\004" - + "name\030\001 \001(\tB\004\342A\001\003\022\032\n\014display_name\030\002 \001(\tB\004" - + "\342A\001\002\022\023\n\013description\030\003 \001(\t\022\031\n\021parent_poli" - + "cy_tag\030\004 \001(\t\022\037\n\021child_policy_tags\030\005 \003(\tB" - + "\004\342A\001\003:\200\001\352A}\n$datacatalog.googleapis.com/" - + "PolicyTag\022Uprojects/{project}/locations/" - + "{location}/taxonomies/{taxonomy}/policyT" - + "ags/{policy_tag}\"\223\001\n\025CreateTaxonomyReque" - + "st\022<\n\006parent\030\001 \001(\tB,\342A\001\002\372A%\022#datacatalog" - + ".googleapis.com/Taxonomy\022<\n\010taxonomy\030\002 \001" - + "(\0132*.google.cloud.datacatalog.v1beta1.Ta" - + "xonomy\"S\n\025DeleteTaxonomyRequest\022:\n\004name\030" - + "\001 \001(\tB,\342A\001\002\372A%\n#datacatalog.googleapis.c" - + "om/Taxonomy\"\206\001\n\025UpdateTaxonomyRequest\022<\n" - + "\010taxonomy\030\001 \001(\0132*.google.cloud.datacatal" - + "og.v1beta1.Taxonomy\022/\n\013update_mask\030\002 \001(\013" - + "2\032.google.protobuf.FieldMask\"|\n\025ListTaxo" - + "nomiesRequest\022<\n\006parent\030\001 \001(\tB,\342A\001\002\372A%\022#" - + "datacatalog.googleapis.com/Taxonomy\022\021\n\tp" - + "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"q\n\026Li" - + "stTaxonomiesResponse\022>\n\ntaxonomies\030\001 \003(\013" - + "2*.google.cloud.datacatalog.v1beta1.Taxo" - + "nomy\022\027\n\017next_page_token\030\002 \001(\t\"P\n\022GetTaxo" - + "nomyRequest\022:\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#data" - + "catalog.googleapis.com/Taxonomy\"\230\001\n\026Crea" - + "tePolicyTagRequest\022=\n\006parent\030\001 \001(\tB-\342A\001\002" - + "\372A&\022$datacatalog.googleapis.com/PolicyTa" - + "g\022?\n\npolicy_tag\030\002 \001(\0132+.google.cloud.dat" - + "acatalog.v1beta1.PolicyTag\"U\n\026DeletePoli" - + "cyTagRequest\022;\n\004name\030\001 \001(\tB-\342A\001\002\372A&\n$dat" - + "acatalog.googleapis.com/PolicyTag\"\212\001\n\026Up" - + "datePolicyTagRequest\022?\n\npolicy_tag\030\001 \001(\013" - + "2+.google.cloud.datacatalog.v1beta1.Poli" - + "cyTag\022/\n\013update_mask\030\002 \001(\0132\032.google.prot" - + "obuf.FieldMask\"}\n\025ListPolicyTagsRequest\022" - + "=\n\006parent\030\001 \001(\tB-\342A\001\002\372A&\022$datacatalog.go" - + "ogleapis.com/PolicyTag\022\021\n\tpage_size\030\002 \001(" - + "\005\022\022\n\npage_token\030\003 \001(\t\"s\n\026ListPolicyTagsR" - + "esponse\022@\n\013policy_tags\030\001 \003(\0132+.google.cl" - + "oud.datacatalog.v1beta1.PolicyTag\022\027\n\017nex" - + "t_page_token\030\002 \001(\t\"R\n\023GetPolicyTagReques" - + "t\022;\n\004name\030\001 \001(\tB-\342A\001\002\372A&\n$datacatalog.go" - + "ogleapis.com/PolicyTag2\345\026\n\020PolicyTagMana" - + "ger\022\316\001\n\016CreateTaxonomy\0227.google.cloud.da" - + "tacatalog.v1beta1.CreateTaxonomyRequest\032" - + "*.google.cloud.datacatalog.v1beta1.Taxon" - + "omy\"W\332A\017parent,taxonomy\202\323\344\223\002?\"3/v1beta1/" - + "{parent=projects/*/locations/*}/taxonomi" - + "es:\010taxonomy\022\245\001\n\016DeleteTaxonomy\0227.google" - + ".cloud.datacatalog.v1beta1.DeleteTaxonom" - + "yRequest\032\026.google.protobuf.Empty\"B\332A\004nam" - + "e\202\323\344\223\0025*3/v1beta1/{name=projects/*/locat" - + "ions/*/taxonomies/*}\022\320\001\n\016UpdateTaxonomy\022" - + "7.google.cloud.datacatalog.v1beta1.Updat" - + "eTaxonomyRequest\032*.google.cloud.datacata" - + "log.v1beta1.Taxonomy\"Y\332A\010taxonomy\202\323\344\223\002H2" - + "\n\ntaxonomies\030\001" - + " \003(\0132*.google.cloud.datacatalog.v1beta1." - + "Taxonomy\"\311\001\n\027ExportTaxonomiesRequest\022<\n\006" - + "parent\030\001 \001(\tB,\342A\001\002\372A%\022#datacatalog.googl" - + "eapis.com/Taxonomy\022@\n\ntaxonomies\030\002 \003(\tB," - + "\342A\001\002\372A%\n#datacatalog.googleapis.com/Taxo" - + "nomy\022\037\n\025serialized_taxonomies\030\003 \001(\010H\000B\r\n" - + "\013destination\"d\n\030ExportTaxonomiesResponse" - + "\022H\n\ntaxonomies\030\001 \003(\01324.google.cloud.data" - + "catalog.v1beta1.SerializedTaxonomy2\222\004\n\035P" - + "olicyTagManagerSerialization\022\320\001\n\020ImportT" - + "axonomies\0229.google.cloud.datacatalog.v1b" - + "eta1.ImportTaxonomiesRequest\032:.google.cl" - + "oud.datacatalog.v1beta1.ImportTaxonomies" - + "Response\"E\202\323\344\223\002?\":/v1beta1/{parent=proje" - + "cts/*/locations/*}/taxonomies:import:\001*\022" - + "\315\001\n\020ExportTaxonomies\0229.google.cloud.data" - + "catalog.v1beta1.ExportTaxonomiesRequest\032" - + ":.google.cloud.datacatalog.v1beta1.Expor" - + "tTaxonomiesResponse\"B\202\323\344\223\002<\022:/v1beta1/{p" - + "arent=projects/*/locations/*}/taxonomies" - + ":export\032N\312A\032datacatalog.googleapis.com\322A" - + ".https://www.googleapis.com/auth/cloud-p" - + "latformB\203\002\n$com.google.cloud.datacatalog" - + ".v1beta1B\"PolicyTagManagerSerializationP" - + "rotoP\001ZFcloud.google.com/go/datacatalog/" - + "apiv1beta1/datacatalogpb;datacatalogpb\370\001" - + "\001\252\002 Google.Cloud.DataCatalog.V1Beta1\312\002 G" - + "oogle\\Cloud\\DataCatalog\\V1beta1\352\002#Google" - + "::Cloud::DataCatalog::V1beta1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_descriptor, - new java.lang.String[] { - "DisplayName", "Description", "PolicyTags", - }); - internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_descriptor, - new java.lang.String[] { - "DisplayName", "Description", "ChildPolicyTags", - }); - internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_descriptor, - new java.lang.String[] { - "Parent", "InlineSource", "Source", - }); - internal_static_google_cloud_datacatalog_v1beta1_InlineSource_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_datacatalog_v1beta1_InlineSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_InlineSource_descriptor, - new java.lang.String[] { - "Taxonomies", - }); - internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesResponse_descriptor, - new java.lang.String[] { - "Taxonomies", - }); - internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesRequest_descriptor, - new java.lang.String[] { - "Parent", "Taxonomies", "SerializedTaxonomies", "Destination", - }); - internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesResponse_descriptor, - new java.lang.String[] { - "Taxonomies", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOrBuilder.java deleted file mode 100644 index 5dacc743a461..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOrBuilder.java +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/schema.proto - -package com.google.cloud.datacatalog.v1beta1; - -public interface SchemaOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.Schema) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-   * specified.
-   * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List getColumnsList(); - /** - * - * - *
-   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-   * specified.
-   * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.datacatalog.v1beta1.ColumnSchema getColumns(int index); - /** - * - * - *
-   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-   * specified.
-   * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - int getColumnsCount(); - /** - * - * - *
-   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-   * specified.
-   * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List - getColumnsOrBuilderList(); - /** - * - * - *
-   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-   * specified.
-   * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder getColumnsOrBuilder(int index); -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOuterClass.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOuterClass.java deleted file mode 100644 index 621c30909297..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOuterClass.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/schema.proto - -package com.google.cloud.datacatalog.v1beta1; - -public final class SchemaOuterClass { - private SchemaOuterClass() {} - - 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_datacatalog_v1beta1_Schema_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_Schema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_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/datacatalog/v1beta1/schem" - + "a.proto\022 google.cloud.datacatalog.v1beta" - + "1\032\037google/api/field_behavior.proto\"O\n\006Sc" - + "hema\022E\n\007columns\030\002 \003(\0132..google.cloud.dat" - + "acatalog.v1beta1.ColumnSchemaB\004\342A\001\002\"\261\001\n\014" - + "ColumnSchema\022\024\n\006column\030\006 \001(\tB\004\342A\001\002\022\022\n\004ty" - + "pe\030\001 \001(\tB\004\342A\001\002\022\031\n\013description\030\002 \001(\tB\004\342A\001" - + "\001\022\022\n\004mode\030\003 \001(\tB\004\342A\001\001\022H\n\nsubcolumns\030\007 \003(" - + "\0132..google.cloud.datacatalog.v1beta1.Col" - + "umnSchemaB\004\342A\001\001B\337\001\n$com.google.cloud.dat" - + "acatalog.v1beta1P\001ZFcloud.google.com/go/" - + "datacatalog/apiv1beta1/datacatalogpb;dat" - + "acatalogpb\370\001\001\252\002 Google.Cloud.DataCatalog" - + ".V1Beta1\312\002 Google\\Cloud\\DataCatalog\\V1be" - + "ta1\352\002#Google::Cloud::DataCatalog::V1beta" - + "1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1beta1_Schema_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1beta1_Schema_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_Schema_descriptor, - new java.lang.String[] { - "Columns", - }); - internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_descriptor, - new java.lang.String[] { - "Column", "Type", "Description", "Mode", "Subcolumns", - }); - 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Search.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Search.java deleted file mode 100644 index c1e8f2bfc640..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Search.java +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/search.proto - -package com.google.cloud.datacatalog.v1beta1; - -public final class Search { - private Search() {} - - 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_datacatalog_v1beta1_SearchCatalogResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_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/datacatalog/v1beta1/searc" - + "h.proto\022 google.cloud.datacatalog.v1beta" - + "1\032-google/cloud/datacatalog/v1beta1/comm" - + "on.proto\"\275\001\n\023SearchCatalogResult\022N\n\022sear" - + "ch_result_type\030\001 \001(\01622.google.cloud.data" - + "catalog.v1beta1.SearchResultType\022\035\n\025sear" - + "ch_result_subtype\030\002 \001(\t\022\036\n\026relative_reso" - + "urce_name\030\003 \001(\t\022\027\n\017linked_resource\030\004 \001(\t" - + "*d\n\020SearchResultType\022\"\n\036SEARCH_RESULT_TY" - + "PE_UNSPECIFIED\020\000\022\t\n\005ENTRY\020\001\022\020\n\014TAG_TEMPL" - + "ATE\020\002\022\017\n\013ENTRY_GROUP\020\003B\337\001\n$com.google.cl" - + "oud.datacatalog.v1beta1P\001ZFcloud.google." - + "com/go/datacatalog/apiv1beta1/datacatalo" - + "gpb;datacatalogpb\370\001\001\252\002 Google.Cloud.Data" - + "Catalog.V1Beta1\312\002 Google\\Cloud\\DataCatal" - + "og\\V1beta1\352\002#Google::Cloud::DataCatalog:" - + ":V1beta1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.cloud.datacatalog.v1beta1.Common.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_descriptor, - new java.lang.String[] { - "SearchResultType", "SearchResultSubtype", "RelativeResourceName", "LinkedResource", - }); - com.google.cloud.datacatalog.v1beta1.Common.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponseOrBuilder.java deleted file mode 100644 index a08d16948cdc..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponseOrBuilder.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/datacatalog.proto - -package com.google.cloud.datacatalog.v1beta1; - -public interface SearchCatalogResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.SearchCatalogResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Search results.
-   * 
- * - * repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1; - */ - java.util.List getResultsList(); - /** - * - * - *
-   * Search results.
-   * 
- * - * repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1; - */ - com.google.cloud.datacatalog.v1beta1.SearchCatalogResult getResults(int index); - /** - * - * - *
-   * Search results.
-   * 
- * - * repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1; - */ - int getResultsCount(); - /** - * - * - *
-   * Search results.
-   * 
- * - * repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1; - */ - java.util.List - getResultsOrBuilderList(); - /** - * - * - *
-   * Search results.
-   * 
- * - * repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1; - */ - com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder getResultsOrBuilder(int index); - - /** - * - * - *
-   * The token that can be used to retrieve the next page of results.
-   * 
- * - * string next_page_token = 3; - * - * @return The nextPageToken. - */ - java.lang.String getNextPageToken(); - /** - * - * - *
-   * The token that can be used to retrieve the next page of results.
-   * 
- * - * string next_page_token = 3; - * - * @return The bytes for nextPageToken. - */ - com.google.protobuf.ByteString getNextPageTokenBytes(); -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOrBuilder.java deleted file mode 100644 index 3374dab8d50e..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOrBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/table_spec.proto - -package com.google.cloud.datacatalog.v1beta1; - -public interface TableSpecOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.TableSpec) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Output only. If the table is a dated shard, i.e., with name pattern `[prefix]YYYYMMDD`,
-   * `grouped_entry` is the Data Catalog resource name of the date sharded
-   * grouped entry, for example,
-   * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
-   * Otherwise, `grouped_entry` is empty.
-   * 
- * - * - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * - * @return The groupedEntry. - */ - java.lang.String getGroupedEntry(); - /** - * - * - *
-   * Output only. If the table is a dated shard, i.e., with name pattern `[prefix]YYYYMMDD`,
-   * `grouped_entry` is the Data Catalog resource name of the date sharded
-   * grouped entry, for example,
-   * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
-   * Otherwise, `grouped_entry` is empty.
-   * 
- * - * - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for groupedEntry. - */ - com.google.protobuf.ByteString getGroupedEntryBytes(); -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOuterClass.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOuterClass.java deleted file mode 100644 index 6dfc4a054d33..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOuterClass.java +++ /dev/null @@ -1,131 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/table_spec.proto - -package com.google.cloud.datacatalog.v1beta1; - -public final class TableSpecOuterClass { - private TableSpecOuterClass() {} - - 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_datacatalog_v1beta1_BigQueryTableSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_TableSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_TableSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n1google/cloud/datacatalog/v1beta1/table" - + "_spec.proto\022 google.cloud.datacatalog.v1" - + "beta1\032\037google/api/field_behavior.proto\032\031" - + "google/api/resource.proto\"\370\001\n\021BigQueryTa" - + "bleSpec\022R\n\021table_source_type\030\001 \001(\01621.goo" - + "gle.cloud.datacatalog.v1beta1.TableSourc" - + "eTypeB\004\342A\001\003\022?\n\tview_spec\030\002 \001(\0132*.google." - + "cloud.datacatalog.v1beta1.ViewSpecH\000\022A\n\n" - + "table_spec\030\003 \001(\0132+.google.cloud.datacata" - + "log.v1beta1.TableSpecH\000B\013\n\ttype_spec\"$\n\010" - + "ViewSpec\022\030\n\nview_query\030\001 \001(\tB\004\342A\001\003\"M\n\tTa" - + "bleSpec\022@\n\rgrouped_entry\030\001 \001(\tB)\342A\001\003\372A\"\n" - + " datacatalog.googleapis.com/Entry\"\214\001\n\027Bi" - + "gQueryDateShardedSpec\022:\n\007dataset\030\001 \001(\tB)" - + "\342A\001\003\372A\"\n datacatalog.googleapis.com/Entr" - + "y\022\032\n\014table_prefix\030\002 \001(\tB\004\342A\001\003\022\031\n\013shard_c" - + "ount\030\003 \001(\003B\004\342A\001\003*[\n\017TableSourceType\022!\n\035T" - + "ABLE_SOURCE_TYPE_UNSPECIFIED\020\000\022\021\n\rBIGQUE" - + "RY_VIEW\020\002\022\022\n\016BIGQUERY_TABLE\020\005B\337\001\n$com.go" - + "ogle.cloud.datacatalog.v1beta1P\001ZFcloud." - + "google.com/go/datacatalog/apiv1beta1/dat" - + "acatalogpb;datacatalogpb\370\001\001\252\002 Google.Clo" - + "ud.DataCatalog.V1Beta1\312\002 Google\\Cloud\\Da" - + "taCatalog\\V1beta1\352\002#Google::Cloud::DataC" - + "atalog::V1beta1b\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(), - }); - internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_descriptor, - new java.lang.String[] { - "TableSourceType", "ViewSpec", "TableSpec", "TypeSpec", - }); - internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_descriptor, - new java.lang.String[] { - "ViewQuery", - }); - internal_static_google_cloud_datacatalog_v1beta1_TableSpec_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_datacatalog_v1beta1_TableSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_TableSpec_descriptor, - new java.lang.String[] { - "GroupedEntry", - }); - internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_descriptor, - new java.lang.String[] { - "Dataset", "TablePrefix", "ShardCount", - }); - 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tags.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tags.java deleted file mode 100644 index d70669439962..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tags.java +++ /dev/null @@ -1,250 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/tags.proto - -package com.google.cloud.datacatalog.v1beta1; - -public final class Tags { - private Tags() {} - - 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_datacatalog_v1beta1_Tag_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_Tag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_Tag_FieldsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_Tag_FieldsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_TagField_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_TagField_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_FieldsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_FieldsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_FieldType_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_FieldType_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_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/datacatalog/v1beta1/tags." - + "proto\022 google.cloud.datacatalog.v1beta1\032" - + "\037google/api/field_behavior.proto\032\031google" - + "/api/resource.proto\032\037google/protobuf/tim" - + "estamp.proto\"\223\003\n\003Tag\022\014\n\004name\030\001 \001(\t\022\026\n\010te" - + "mplate\030\002 \001(\tB\004\342A\001\002\022#\n\025template_display_n" - + "ame\030\005 \001(\tB\004\342A\001\003\022\020\n\006column\030\004 \001(\tH\000\022G\n\006fie" - + "lds\030\003 \003(\01321.google.cloud.datacatalog.v1b" - + "eta1.Tag.FieldsEntryB\004\342A\001\002\032Y\n\013FieldsEntr" - + "y\022\013\n\003key\030\001 \001(\t\0229\n\005value\030\002 \001(\0132*.google.c" - + "loud.datacatalog.v1beta1.TagField:\0028\001:\201\001" - + "\352A~\n\036datacatalog.googleapis.com/Tag\022\\pro" - + "jects/{project}/locations/{location}/ent" - + "ryGroups/{entry_group}/entries/{entry}/t" - + "ags/{tag}B\007\n\005scope\"\257\002\n\010TagField\022\032\n\014displ" - + "ay_name\030\001 \001(\tB\004\342A\001\003\022\026\n\014double_value\030\002 \001(" - + "\001H\000\022\026\n\014string_value\030\003 \001(\tH\000\022\024\n\nbool_valu" - + "e\030\004 \001(\010H\000\0225\n\017timestamp_value\030\005 \001(\0132\032.goo" - + "gle.protobuf.TimestampH\000\022J\n\nenum_value\030\006" - + " \001(\01324.google.cloud.datacatalog.v1beta1." - + "TagField.EnumValueH\000\022\023\n\005order\030\007 \001(\005B\004\342A\001" - + "\003\032!\n\tEnumValue\022\024\n\014display_name\030\001 \001(\tB\006\n\004" - + "kind\"\327\002\n\013TagTemplate\022\014\n\004name\030\001 \001(\t\022\024\n\014di" - + "splay_name\030\002 \001(\t\022O\n\006fields\030\003 \003(\01329.googl" - + "e.cloud.datacatalog.v1beta1.TagTemplate." - + "FieldsEntryB\004\342A\001\002\032a\n\013FieldsEntry\022\013\n\003key\030" - + "\001 \001(\t\022A\n\005value\030\002 \001(\01322.google.cloud.data" - + "catalog.v1beta1.TagTemplateField:\0028\001:p\352A" - + "m\n&datacatalog.googleapis.com/TagTemplat" - + "e\022Cprojects/{project}/locations/{locatio" - + "n}/tagTemplates/{tag_template}\"\251\002\n\020TagTe" - + "mplateField\022\022\n\004name\030\006 \001(\tB\004\342A\001\003\022\024\n\014displ" - + "ay_name\030\001 \001(\t\022?\n\004type\030\002 \001(\0132+.google.clo" - + "ud.datacatalog.v1beta1.FieldTypeB\004\342A\001\002\022\023" - + "\n\013is_required\030\003 \001(\010\022\r\n\005order\030\005 \001(\005:\205\001\352A\201" - + "\001\n+datacatalog.googleapis.com/TagTemplat" - + "eField\022Rprojects/{project}/locations/{lo" - + "cation}/tagTemplates/{tag_template}/fiel" - + "ds/{field}\"\250\003\n\tFieldType\022S\n\016primitive_ty" - + "pe\030\001 \001(\01629.google.cloud.datacatalog.v1be" - + "ta1.FieldType.PrimitiveTypeH\000\022I\n\tenum_ty" - + "pe\030\002 \001(\01324.google.cloud.datacatalog.v1be" - + "ta1.FieldType.EnumTypeH\000\032\213\001\n\010EnumType\022V\n" - + "\016allowed_values\030\001 \003(\0132>.google.cloud.dat" - + "acatalog.v1beta1.FieldType.EnumType.Enum" - + "Value\032\'\n\tEnumValue\022\032\n\014display_name\030\001 \001(\t" - + "B\004\342A\001\002\"`\n\rPrimitiveType\022\036\n\032PRIMITIVE_TYP" - + "E_UNSPECIFIED\020\000\022\n\n\006DOUBLE\020\001\022\n\n\006STRING\020\002\022" - + "\010\n\004BOOL\020\003\022\r\n\tTIMESTAMP\020\004B\013\n\ttype_declB\337\001" - + "\n$com.google.cloud.datacatalog.v1beta1P\001" - + "ZFcloud.google.com/go/datacatalog/apiv1b" - + "eta1/datacatalogpb;datacatalogpb\370\001\001\252\002 Go" - + "ogle.Cloud.DataCatalog.V1Beta1\312\002 Google\\" - + "Cloud\\DataCatalog\\V1beta1\352\002#Google::Clou" - + "d::DataCatalog::V1beta1b\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.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1beta1_Tag_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1beta1_Tag_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_Tag_descriptor, - new java.lang.String[] { - "Name", "Template", "TemplateDisplayName", "Column", "Fields", "Scope", - }); - internal_static_google_cloud_datacatalog_v1beta1_Tag_FieldsEntry_descriptor = - internal_static_google_cloud_datacatalog_v1beta1_Tag_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1beta1_Tag_FieldsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_Tag_FieldsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_datacatalog_v1beta1_TagField_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1beta1_TagField_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_TagField_descriptor, - new java.lang.String[] { - "DisplayName", - "DoubleValue", - "StringValue", - "BoolValue", - "TimestampValue", - "EnumValue", - "Order", - "Kind", - }); - internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_descriptor = - internal_static_google_cloud_datacatalog_v1beta1_TagField_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_descriptor, - new java.lang.String[] { - "DisplayName", - }); - internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "Fields", - }); - internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_FieldsEntry_descriptor = - internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_FieldsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_FieldsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "Type", "IsRequired", "Order", - }); - internal_static_google_cloud_datacatalog_v1beta1_FieldType_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_datacatalog_v1beta1_FieldType_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_FieldType_descriptor, - new java.lang.String[] { - "PrimitiveType", "EnumType", "TypeDecl", - }); - internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_descriptor = - internal_static_google_cloud_datacatalog_v1beta1_FieldType_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_descriptor, - new java.lang.String[] { - "AllowedValues", - }); - internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_descriptor = - internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_descriptor, - new java.lang.String[] { - "DisplayName", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Taxonomy.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Taxonomy.java deleted file mode 100644 index 40f2e2a6c42f..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Taxonomy.java +++ /dev/null @@ -1,1616 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/policytagmanager.proto - -package com.google.cloud.datacatalog.v1beta1; - -/** - * - * - *
- * A taxonomy is a collection of policy tags that classify data along a common
- * axis. For instance a data *sensitivity* taxonomy could contain policy tags
- * denoting PII such as age, zipcode, and SSN. A data *origin* taxonomy could
- * contain policy tags to distinguish user data, employee data, partner data,
- * public data.
- * 
- * - * Protobuf type {@code google.cloud.datacatalog.v1beta1.Taxonomy} - */ -public final class Taxonomy extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.Taxonomy) - TaxonomyOrBuilder { - private static final long serialVersionUID = 0L; - // Use Taxonomy.newBuilder() to construct. - private Taxonomy(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Taxonomy() { - name_ = ""; - displayName_ = ""; - description_ = ""; - activatedPolicyTypes_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Taxonomy(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto - .internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto - .internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.Taxonomy.class, - com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder.class); - } - - /** - * - * - *
-   * Defines policy types where policy tag can be used for.
-   * 
- * - * Protobuf enum {@code google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType} - */ - public enum PolicyType implements com.google.protobuf.ProtocolMessageEnum { - /** - * - * - *
-     * Unspecified policy type.
-     * 
- * - * POLICY_TYPE_UNSPECIFIED = 0; - */ - POLICY_TYPE_UNSPECIFIED(0), - /** - * - * - *
-     * Fine grained access control policy, which enables access control on
-     * tagged resources.
-     * 
- * - * FINE_GRAINED_ACCESS_CONTROL = 1; - */ - FINE_GRAINED_ACCESS_CONTROL(1), - UNRECOGNIZED(-1), - ; - - /** - * - * - *
-     * Unspecified policy type.
-     * 
- * - * POLICY_TYPE_UNSPECIFIED = 0; - */ - public static final int POLICY_TYPE_UNSPECIFIED_VALUE = 0; - /** - * - * - *
-     * Fine grained access control policy, which enables access control on
-     * tagged resources.
-     * 
- * - * FINE_GRAINED_ACCESS_CONTROL = 1; - */ - public static final int FINE_GRAINED_ACCESS_CONTROL_VALUE = 1; - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static PolicyType valueOf(int value) { - return forNumber(value); - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - */ - public static PolicyType forNumber(int value) { - switch (value) { - case 0: - return POLICY_TYPE_UNSPECIFIED; - case 1: - return FINE_GRAINED_ACCESS_CONTROL; - default: - return null; - } - } - - 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 PolicyType findValueByNumber(int number) { - return PolicyType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalStateException( - "Can't get the descriptor of an unrecognized enum value."); - } - return getDescriptor().getValues().get(ordinal()); - } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { - return getDescriptor(); - } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Taxonomy.getDescriptor().getEnumTypes().get(0); - } - - private static final PolicyType[] VALUES = values(); - - public static PolicyType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); - } - if (desc.getIndex() == -1) { - return UNRECOGNIZED; - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private PolicyType(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType) - } - - public static final int NAME_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; - /** - * - * - *
-   * Output only. Resource name of this taxonomy, whose format is:
-   * "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - 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(); - name_ = s; - return s; - } - } - /** - * - * - *
-   * Output only. Resource name of this taxonomy, whose format is:
-   * "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - - @SuppressWarnings("serial") - private volatile java.lang.Object displayName_ = ""; - /** - * - * - *
-   * Required. User defined name of this taxonomy. It must: contain only unicode letters,
-   * numbers, underscores, dashes and spaces; not start or end with spaces; and
-   * be at most 200 bytes long when encoded in UTF-8.
-   * 
- * - * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The displayName. - */ - @java.lang.Override - public java.lang.String getDisplayName() { - java.lang.Object ref = displayName_; - 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(); - displayName_ = s; - return s; - } - } - /** - * - * - *
-   * Required. User defined name of this taxonomy. It must: contain only unicode letters,
-   * numbers, underscores, dashes and spaces; not start or end with spaces; and
-   * be at most 200 bytes long when encoded in UTF-8.
-   * 
- * - * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for displayName. - */ - @java.lang.Override - 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); - displayName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DESCRIPTION_FIELD_NUMBER = 3; - - @SuppressWarnings("serial") - private volatile java.lang.Object description_ = ""; - /** - * - * - *
-   * Optional. Description of this taxonomy. It must: contain only unicode characters,
-   * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
-   * long when encoded in UTF-8. If not set, defaults to an empty description.
-   * 
- * - * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The description. - */ - @java.lang.Override - public java.lang.String getDescription() { - java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - description_ = s; - return s; - } - } - /** - * - * - *
-   * Optional. Description of this taxonomy. It must: contain only unicode characters,
-   * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
-   * long when encoded in UTF-8. If not set, defaults to an empty description.
-   * 
- * - * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for description. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ACTIVATED_POLICY_TYPES_FIELD_NUMBER = 6; - - @SuppressWarnings("serial") - private java.util.List activatedPolicyTypes_; - - private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType> - activatedPolicyTypes_converter_ = - new com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType>() { - public com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType convert( - java.lang.Integer from) { - com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType result = - com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType.forNumber(from); - return result == null - ? com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType.UNRECOGNIZED - : result; - } - }; - /** - * - * - *
-   * Optional. A list of policy types that are activated for this taxonomy. If not set,
-   * defaults to an empty list.
-   * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return A list containing the activatedPolicyTypes. - */ - @java.lang.Override - public java.util.List - getActivatedPolicyTypesList() { - return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType>( - activatedPolicyTypes_, activatedPolicyTypes_converter_); - } - /** - * - * - *
-   * Optional. A list of policy types that are activated for this taxonomy. If not set,
-   * defaults to an empty list.
-   * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The count of activatedPolicyTypes. - */ - @java.lang.Override - public int getActivatedPolicyTypesCount() { - return activatedPolicyTypes_.size(); - } - /** - * - * - *
-   * Optional. A list of policy types that are activated for this taxonomy. If not set,
-   * defaults to an empty list.
-   * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @param index The index of the element to return. - * @return The activatedPolicyTypes at the given index. - */ - @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType getActivatedPolicyTypes( - int index) { - return activatedPolicyTypes_converter_.convert(activatedPolicyTypes_.get(index)); - } - /** - * - * - *
-   * Optional. A list of policy types that are activated for this taxonomy. If not set,
-   * defaults to an empty list.
-   * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return A list containing the enum numeric values on the wire for activatedPolicyTypes. - */ - @java.lang.Override - public java.util.List getActivatedPolicyTypesValueList() { - return activatedPolicyTypes_; - } - /** - * - * - *
-   * Optional. A list of policy types that are activated for this taxonomy. If not set,
-   * defaults to an empty list.
-   * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @param index The index of the value to return. - * @return The enum numeric value on the wire of activatedPolicyTypes at the given index. - */ - @java.lang.Override - public int getActivatedPolicyTypesValue(int index) { - return activatedPolicyTypes_.get(index); - } - - private int activatedPolicyTypesMemoizedSerializedSize; - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); - } - if (getActivatedPolicyTypesList().size() > 0) { - output.writeUInt32NoTag(50); - output.writeUInt32NoTag(activatedPolicyTypesMemoizedSerializedSize); - } - for (int i = 0; i < activatedPolicyTypes_.size(); i++) { - output.writeEnumNoTag(activatedPolicyTypes_.get(i)); - } - 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(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); - } - { - int dataSize = 0; - for (int i = 0; i < activatedPolicyTypes_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag( - activatedPolicyTypes_.get(i)); - } - size += dataSize; - if (!getActivatedPolicyTypesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - activatedPolicyTypesMemoizedSerializedSize = dataSize; - } - 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.datacatalog.v1beta1.Taxonomy)) { - return super.equals(obj); - } - com.google.cloud.datacatalog.v1beta1.Taxonomy other = - (com.google.cloud.datacatalog.v1beta1.Taxonomy) obj; - - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!activatedPolicyTypes_.equals(other.activatedPolicyTypes_)) 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) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; - hash = (53 * hash) + getDisplayName().hashCode(); - hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; - hash = (53 * hash) + getDescription().hashCode(); - if (getActivatedPolicyTypesCount() > 0) { - hash = (37 * hash) + ACTIVATED_POLICY_TYPES_FIELD_NUMBER; - hash = (53 * hash) + activatedPolicyTypes_.hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.cloud.datacatalog.v1beta1.Taxonomy parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.datacatalog.v1beta1.Taxonomy 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.datacatalog.v1beta1.Taxonomy parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.datacatalog.v1beta1.Taxonomy parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.datacatalog.v1beta1.Taxonomy parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.datacatalog.v1beta1.Taxonomy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.datacatalog.v1beta1.Taxonomy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.datacatalog.v1beta1.Taxonomy parseFrom( - java.io.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.datacatalog.v1beta1.Taxonomy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.datacatalog.v1beta1.Taxonomy parseDelimitedFrom( - java.io.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.datacatalog.v1beta1.Taxonomy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.datacatalog.v1beta1.Taxonomy 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.datacatalog.v1beta1.Taxonomy prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * A taxonomy is a collection of policy tags that classify data along a common
-   * axis. For instance a data *sensitivity* taxonomy could contain policy tags
-   * denoting PII such as age, zipcode, and SSN. A data *origin* taxonomy could
-   * contain policy tags to distinguish user data, employee data, partner data,
-   * public data.
-   * 
- * - * Protobuf type {@code google.cloud.datacatalog.v1beta1.Taxonomy} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.Taxonomy) - com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto - .internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto - .internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.Taxonomy.class, - com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder.class); - } - - // Construct using com.google.cloud.datacatalog.v1beta1.Taxonomy.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - name_ = ""; - displayName_ = ""; - description_ = ""; - activatedPolicyTypes_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto - .internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_descriptor; - } - - @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.Taxonomy getDefaultInstanceForType() { - return com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.Taxonomy build() { - com.google.cloud.datacatalog.v1beta1.Taxonomy result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.Taxonomy buildPartial() { - com.google.cloud.datacatalog.v1beta1.Taxonomy result = - new com.google.cloud.datacatalog.v1beta1.Taxonomy(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.Taxonomy result) { - if (((bitField0_ & 0x00000008) != 0)) { - activatedPolicyTypes_ = java.util.Collections.unmodifiableList(activatedPolicyTypes_); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.activatedPolicyTypes_ = activatedPolicyTypes_; - } - - private void buildPartial0(com.google.cloud.datacatalog.v1beta1.Taxonomy result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.name_ = name_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.displayName_ = displayName_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.description_ = description_; - } - } - - @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.datacatalog.v1beta1.Taxonomy) { - return mergeFrom((com.google.cloud.datacatalog.v1beta1.Taxonomy) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.Taxonomy other) { - if (other == com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getDisplayName().isEmpty()) { - displayName_ = other.displayName_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (!other.getDescription().isEmpty()) { - description_ = other.description_; - bitField0_ |= 0x00000004; - onChanged(); - } - if (!other.activatedPolicyTypes_.isEmpty()) { - if (activatedPolicyTypes_.isEmpty()) { - activatedPolicyTypes_ = other.activatedPolicyTypes_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureActivatedPolicyTypesIsMutable(); - activatedPolicyTypes_.addAll(other.activatedPolicyTypes_); - } - onChanged(); - } - 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: - { - 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 48: - { - int tmpRaw = input.readEnum(); - ensureActivatedPolicyTypesIsMutable(); - activatedPolicyTypes_.add(tmpRaw); - break; - } // case 48 - case 50: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureActivatedPolicyTypesIsMutable(); - activatedPolicyTypes_.add(tmpRaw); - } - input.popLimit(oldLimit); - 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) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object name_ = ""; - /** - * - * - *
-     * Output only. Resource name of this taxonomy, whose format is:
-     * "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
-     * 
- * - * 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; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * Output only. Resource name of this taxonomy, whose format is:
-     * "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
-     * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * Output only. Resource name of this taxonomy, whose format is:
-     * "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
-     * 
- * - * 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(); - } - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. Resource name of this taxonomy, whose format is:
-     * "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
-     * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return This builder for chaining. - */ - public Builder clearName() { - name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. Resource name of this taxonomy, whose format is:
-     * "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
-     * 
- * - * 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(); - } - checkByteStringIsUtf8(value); - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private java.lang.Object displayName_ = ""; - /** - * - * - *
-     * Required. User defined name of this taxonomy. It must: contain only unicode letters,
-     * numbers, underscores, dashes and spaces; not start or end with spaces; and
-     * be at most 200 bytes long when encoded in UTF-8.
-     * 
- * - * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @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; - java.lang.String s = bs.toStringUtf8(); - displayName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * Required. User defined name of this taxonomy. It must: contain only unicode letters,
-     * numbers, underscores, dashes and spaces; not start or end with spaces; and
-     * be at most 200 bytes long when encoded in UTF-8.
-     * 
- * - * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for displayName. - */ - 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); - displayName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * Required. User defined name of this taxonomy. It must: contain only unicode letters,
-     * numbers, underscores, dashes and spaces; not start or end with spaces; and
-     * be at most 200 bytes long when encoded in UTF-8.
-     * 
- * - * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The displayName to set. - * @return This builder for chaining. - */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - displayName_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - /** - * - * - *
-     * Required. User defined name of this taxonomy. It must: contain only unicode letters,
-     * numbers, underscores, dashes and spaces; not start or end with spaces; and
-     * be at most 200 bytes long when encoded in UTF-8.
-     * 
- * - * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return This builder for chaining. - */ - public Builder clearDisplayName() { - displayName_ = getDefaultInstance().getDisplayName(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - /** - * - * - *
-     * Required. User defined name of this taxonomy. It must: contain only unicode letters,
-     * numbers, underscores, dashes and spaces; not start or end with spaces; and
-     * be at most 200 bytes long when encoded in UTF-8.
-     * 
- * - * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @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(); - } - checkByteStringIsUtf8(value); - displayName_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private java.lang.Object description_ = ""; - /** - * - * - *
-     * Optional. Description of this taxonomy. It must: contain only unicode characters,
-     * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
-     * long when encoded in UTF-8. If not set, defaults to an empty description.
-     * 
- * - * 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; - java.lang.String s = bs.toStringUtf8(); - description_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * Optional. Description of this taxonomy. It must: contain only unicode characters,
-     * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
-     * long when encoded in UTF-8. If not set, defaults to an empty description.
-     * 
- * - * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for description. - */ - public com.google.protobuf.ByteString getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * Optional. Description of this taxonomy. It must: contain only unicode characters,
-     * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
-     * long when encoded in UTF-8. If not set, defaults to an empty description.
-     * 
- * - * 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(); - } - description_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - /** - * - * - *
-     * Optional. Description of this taxonomy. It must: contain only unicode characters,
-     * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
-     * long when encoded in UTF-8. If not set, defaults to an empty description.
-     * 
- * - * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return This builder for chaining. - */ - public Builder clearDescription() { - description_ = getDefaultInstance().getDescription(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - /** - * - * - *
-     * Optional. Description of this taxonomy. It must: contain only unicode characters,
-     * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
-     * long when encoded in UTF-8. If not set, defaults to an empty description.
-     * 
- * - * 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(); - } - checkByteStringIsUtf8(value); - description_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - private java.util.List activatedPolicyTypes_ = - java.util.Collections.emptyList(); - - private void ensureActivatedPolicyTypesIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - activatedPolicyTypes_ = new java.util.ArrayList(activatedPolicyTypes_); - bitField0_ |= 0x00000008; - } - } - /** - * - * - *
-     * Optional. A list of policy types that are activated for this taxonomy. If not set,
-     * defaults to an empty list.
-     * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return A list containing the activatedPolicyTypes. - */ - public java.util.List - getActivatedPolicyTypesList() { - return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType>( - activatedPolicyTypes_, activatedPolicyTypes_converter_); - } - /** - * - * - *
-     * Optional. A list of policy types that are activated for this taxonomy. If not set,
-     * defaults to an empty list.
-     * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The count of activatedPolicyTypes. - */ - public int getActivatedPolicyTypesCount() { - return activatedPolicyTypes_.size(); - } - /** - * - * - *
-     * Optional. A list of policy types that are activated for this taxonomy. If not set,
-     * defaults to an empty list.
-     * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @param index The index of the element to return. - * @return The activatedPolicyTypes at the given index. - */ - public com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType getActivatedPolicyTypes( - int index) { - return activatedPolicyTypes_converter_.convert(activatedPolicyTypes_.get(index)); - } - /** - * - * - *
-     * Optional. A list of policy types that are activated for this taxonomy. If not set,
-     * defaults to an empty list.
-     * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @param index The index to set the value at. - * @param value The activatedPolicyTypes to set. - * @return This builder for chaining. - */ - public Builder setActivatedPolicyTypes( - int index, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType value) { - if (value == null) { - throw new NullPointerException(); - } - ensureActivatedPolicyTypesIsMutable(); - activatedPolicyTypes_.set(index, value.getNumber()); - onChanged(); - return this; - } - /** - * - * - *
-     * Optional. A list of policy types that are activated for this taxonomy. If not set,
-     * defaults to an empty list.
-     * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @param value The activatedPolicyTypes to add. - * @return This builder for chaining. - */ - public Builder addActivatedPolicyTypes( - com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType value) { - if (value == null) { - throw new NullPointerException(); - } - ensureActivatedPolicyTypesIsMutable(); - activatedPolicyTypes_.add(value.getNumber()); - onChanged(); - return this; - } - /** - * - * - *
-     * Optional. A list of policy types that are activated for this taxonomy. If not set,
-     * defaults to an empty list.
-     * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @param values The activatedPolicyTypes to add. - * @return This builder for chaining. - */ - public Builder addAllActivatedPolicyTypes( - java.lang.Iterable - values) { - ensureActivatedPolicyTypesIsMutable(); - for (com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType value : values) { - activatedPolicyTypes_.add(value.getNumber()); - } - onChanged(); - return this; - } - /** - * - * - *
-     * Optional. A list of policy types that are activated for this taxonomy. If not set,
-     * defaults to an empty list.
-     * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return This builder for chaining. - */ - public Builder clearActivatedPolicyTypes() { - activatedPolicyTypes_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - return this; - } - /** - * - * - *
-     * Optional. A list of policy types that are activated for this taxonomy. If not set,
-     * defaults to an empty list.
-     * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return A list containing the enum numeric values on the wire for activatedPolicyTypes. - */ - public java.util.List getActivatedPolicyTypesValueList() { - return java.util.Collections.unmodifiableList(activatedPolicyTypes_); - } - /** - * - * - *
-     * Optional. A list of policy types that are activated for this taxonomy. If not set,
-     * defaults to an empty list.
-     * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @param index The index of the value to return. - * @return The enum numeric value on the wire of activatedPolicyTypes at the given index. - */ - public int getActivatedPolicyTypesValue(int index) { - return activatedPolicyTypes_.get(index); - } - /** - * - * - *
-     * Optional. A list of policy types that are activated for this taxonomy. If not set,
-     * defaults to an empty list.
-     * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @param index The index to set the value at. - * @param value The enum numeric value on the wire for activatedPolicyTypes to set. - * @return This builder for chaining. - */ - public Builder setActivatedPolicyTypesValue(int index, int value) { - ensureActivatedPolicyTypesIsMutable(); - activatedPolicyTypes_.set(index, value); - onChanged(); - return this; - } - /** - * - * - *
-     * Optional. A list of policy types that are activated for this taxonomy. If not set,
-     * defaults to an empty list.
-     * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @param value The enum numeric value on the wire for activatedPolicyTypes to add. - * @return This builder for chaining. - */ - public Builder addActivatedPolicyTypesValue(int value) { - ensureActivatedPolicyTypesIsMutable(); - activatedPolicyTypes_.add(value); - onChanged(); - return this; - } - /** - * - * - *
-     * Optional. A list of policy types that are activated for this taxonomy. If not set,
-     * defaults to an empty list.
-     * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @param values The enum numeric values on the wire for activatedPolicyTypes to add. - * @return This builder for chaining. - */ - public Builder addAllActivatedPolicyTypesValue(java.lang.Iterable values) { - ensureActivatedPolicyTypesIsMutable(); - for (int value : values) { - activatedPolicyTypes_.add(value); - } - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.Taxonomy) - } - - // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.Taxonomy) - private static final com.google.cloud.datacatalog.v1beta1.Taxonomy DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.Taxonomy(); - } - - public static com.google.cloud.datacatalog.v1beta1.Taxonomy getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Taxonomy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.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.datacatalog.v1beta1.Taxonomy getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TaxonomyOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TaxonomyOrBuilder.java deleted file mode 100644 index fe96de9d1362..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TaxonomyOrBuilder.java +++ /dev/null @@ -1,189 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/policytagmanager.proto - -package com.google.cloud.datacatalog.v1beta1; - -public interface TaxonomyOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.Taxonomy) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Output only. Resource name of this taxonomy, whose format is:
-   * "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Output only. Resource name of this taxonomy, whose format is:
-   * "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * Required. User defined name of this taxonomy. It must: contain only unicode letters,
-   * numbers, underscores, dashes and spaces; not start or end with spaces; and
-   * be at most 200 bytes long when encoded in UTF-8.
-   * 
- * - * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The displayName. - */ - java.lang.String getDisplayName(); - /** - * - * - *
-   * Required. User defined name of this taxonomy. It must: contain only unicode letters,
-   * numbers, underscores, dashes and spaces; not start or end with spaces; and
-   * be at most 200 bytes long when encoded in UTF-8.
-   * 
- * - * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for displayName. - */ - com.google.protobuf.ByteString getDisplayNameBytes(); - - /** - * - * - *
-   * Optional. Description of this taxonomy. It must: contain only unicode characters,
-   * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
-   * long when encoded in UTF-8. If not set, defaults to an empty description.
-   * 
- * - * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The description. - */ - java.lang.String getDescription(); - /** - * - * - *
-   * Optional. Description of this taxonomy. It must: contain only unicode characters,
-   * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
-   * long when encoded in UTF-8. If not set, defaults to an empty description.
-   * 
- * - * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for description. - */ - com.google.protobuf.ByteString getDescriptionBytes(); - - /** - * - * - *
-   * Optional. A list of policy types that are activated for this taxonomy. If not set,
-   * defaults to an empty list.
-   * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return A list containing the activatedPolicyTypes. - */ - java.util.List - getActivatedPolicyTypesList(); - /** - * - * - *
-   * Optional. A list of policy types that are activated for this taxonomy. If not set,
-   * defaults to an empty list.
-   * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The count of activatedPolicyTypes. - */ - int getActivatedPolicyTypesCount(); - /** - * - * - *
-   * Optional. A list of policy types that are activated for this taxonomy. If not set,
-   * defaults to an empty list.
-   * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @param index The index of the element to return. - * @return The activatedPolicyTypes at the given index. - */ - com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType getActivatedPolicyTypes(int index); - /** - * - * - *
-   * Optional. A list of policy types that are activated for this taxonomy. If not set,
-   * defaults to an empty list.
-   * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return A list containing the enum numeric values on the wire for activatedPolicyTypes. - */ - java.util.List getActivatedPolicyTypesValueList(); - /** - * - * - *
-   * Optional. A list of policy types that are activated for this taxonomy. If not set,
-   * defaults to an empty list.
-   * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @param index The index of the value to return. - * @return The enum numeric value on the wire of activatedPolicyTypes at the given index. - */ - int getActivatedPolicyTypesValue(int index); -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Timestamps.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Timestamps.java deleted file mode 100644 index d2e8fbf58311..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Timestamps.java +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/timestamps.proto - -package com.google.cloud.datacatalog.v1beta1; - -public final class Timestamps { - private Timestamps() {} - - 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_datacatalog_v1beta1_SystemTimestamps_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n1google/cloud/datacatalog/v1beta1/times" - + "tamps.proto\022 google.cloud.datacatalog.v1" - + "beta1\032\037google/api/field_behavior.proto\032\037" - + "google/protobuf/timestamp.proto\"\253\001\n\020Syst" - + "emTimestamps\022/\n\013create_time\030\001 \001(\0132\032.goog" - + "le.protobuf.Timestamp\022/\n\013update_time\030\002 \001" - + "(\0132\032.google.protobuf.Timestamp\0225\n\013expire" - + "_time\030\003 \001(\0132\032.google.protobuf.TimestampB" - + "\004\342A\001\003B\337\001\n$com.google.cloud.datacatalog.v" - + "1beta1P\001ZFcloud.google.com/go/datacatalo" - + "g/apiv1beta1/datacatalogpb;datacatalogpb" - + "\370\001\001\252\002 Google.Cloud.DataCatalog.V1Beta1\312\002" - + " Google\\Cloud\\DataCatalog\\V1beta1\352\002#Goog" - + "le::Cloud::DataCatalog::V1beta1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_descriptor, - new java.lang.String[] { - "CreateTime", "UpdateTime", "ExpireTime", - }); - 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.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequestOrBuilder.java deleted file mode 100644 index dfd662f15064..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequestOrBuilder.java +++ /dev/null @@ -1,176 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/datacatalog.proto - -package com.google.cloud.datacatalog.v1beta1; - -public interface UpdateTagTemplateFieldRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the tag template field. Example:
-   *
-   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the tag template field. Example:
-   *
-   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * Required. The template to update.
-   * 
- * - * - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the tagTemplateField field is set. - */ - boolean hasTagTemplateField(); - /** - * - * - *
-   * Required. The template to update.
-   * 
- * - * - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The tagTemplateField. - */ - com.google.cloud.datacatalog.v1beta1.TagTemplateField getTagTemplateField(); - /** - * - * - *
-   * Required. The template to update.
-   * 
- * - * - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder(); - - /** - * - * - *
-   * Optional. The field mask specifies the parts of the template to be updated.
-   * Allowed fields:
-   *
-   *   * `display_name`
-   *   * `type.enum_type`
-   *   * `is_required`
-   *
-   * If `update_mask` is not set or empty, all of the allowed fields above will
-   * be updated.
-   *
-   * When updating an enum type, the provided values will be merged with the
-   * existing values. Therefore, enum values can only be added, existing enum
-   * values cannot be deleted nor renamed. Updating a template field from
-   * optional to required is NOT allowed.
-   * 
- * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return Whether the updateMask field is set. - */ - boolean hasUpdateMask(); - /** - * - * - *
-   * Optional. The field mask specifies the parts of the template to be updated.
-   * Allowed fields:
-   *
-   *   * `display_name`
-   *   * `type.enum_type`
-   *   * `is_required`
-   *
-   * If `update_mask` is not set or empty, all of the allowed fields above will
-   * be updated.
-   *
-   * When updating an enum type, the provided values will be merged with the
-   * existing values. Therefore, enum values can only be added, existing enum
-   * values cannot be deleted nor renamed. Updating a template field from
-   * optional to required is NOT allowed.
-   * 
- * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The updateMask. - */ - com.google.protobuf.FieldMask getUpdateMask(); - /** - * - * - *
-   * Optional. The field mask specifies the parts of the template to be updated.
-   * Allowed fields:
-   *
-   *   * `display_name`
-   *   * `type.enum_type`
-   *   * `is_required`
-   *
-   * If `update_mask` is not set or empty, all of the allowed fields above will
-   * be updated.
-   *
-   * When updating an enum type, the provided values will be merged with the
-   * existing values. Therefore, enum values can only be added, existing enum
-   * values cannot be deleted nor renamed. Updating a template field from
-   * optional to required is NOT allowed.
-   * 
- * - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); -} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequestOrBuilder.java deleted file mode 100644 index 00e728ba749b..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequestOrBuilder.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/datacatalog.proto - -package com.google.cloud.datacatalog.v1beta1; - -public interface UpdateTagTemplateRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The template to update. The "name" field must be set.
-   * 
- * - * - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the tagTemplate field is set. - */ - boolean hasTagTemplate(); - /** - * - * - *
-   * Required. The template to update. The "name" field must be set.
-   * 
- * - * - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The tagTemplate. - */ - com.google.cloud.datacatalog.v1beta1.TagTemplate getTagTemplate(); - /** - * - * - *
-   * Required. The template to update. The "name" field must be set.
-   * 
- * - * - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder getTagTemplateOrBuilder(); - - /** - * - * - *
-   * The field mask specifies the parts of the template to overwrite.
-   *
-   * Allowed fields:
-   *
-   *   * `display_name`
-   *
-   * If absent or empty, all of the allowed fields above will be updated.
-   * 
- * - * .google.protobuf.FieldMask update_mask = 2; - * - * @return Whether the updateMask field is set. - */ - boolean hasUpdateMask(); - /** - * - * - *
-   * The field mask specifies the parts of the template to overwrite.
-   *
-   * Allowed fields:
-   *
-   *   * `display_name`
-   *
-   * If absent or empty, all of the allowed fields above will be updated.
-   * 
- * - * .google.protobuf.FieldMask update_mask = 2; - * - * @return The updateMask. - */ - com.google.protobuf.FieldMask getUpdateMask(); - /** - * - * - *
-   * The field mask specifies the parts of the template to overwrite.
-   *
-   * Allowed fields:
-   *
-   *   * `display_name`
-   *
-   * If absent or empty, all of the allowed fields above will be updated.
-   * 
- * - * .google.protobuf.FieldMask update_mask = 2; - */ - com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); -} diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogClient.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogClient.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogClient.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogClient.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogSettings.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogSettings.java similarity index 99% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogSettings.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogSettings.java index 339f9f0b65f1..be260b102f8e 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogSettings.java +++ b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogSettings.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.datacatalog.v1.stub.DataCatalogStubSettings; diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClient.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClient.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClient.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClient.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationSettings.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationSettings.java similarity index 99% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationSettings.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationSettings.java index 434fa6f0d380..f33050ff7606 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationSettings.java +++ b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationSettings.java @@ -25,6 +25,7 @@ import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.datacatalog.v1.stub.PolicyTagManagerSerializationStubSettings; diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSettings.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSettings.java similarity index 99% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSettings.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSettings.java index f1cb9da09a19..24a9c9e24186 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSettings.java +++ b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSettings.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.datacatalog.v1.stub.PolicyTagManagerStubSettings; diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/gapic_metadata.json b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/gapic_metadata.json similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/gapic_metadata.json rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/gapic_metadata.json diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/package-info.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/package-info.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/package-info.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/package-info.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/DataCatalogStub.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/DataCatalogStub.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/DataCatalogStub.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/DataCatalogStub.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/DataCatalogStubSettings.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/DataCatalogStubSettings.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/DataCatalogStubSettings.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/DataCatalogStubSettings.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcDataCatalogCallableFactory.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcDataCatalogCallableFactory.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcDataCatalogCallableFactory.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcDataCatalogCallableFactory.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcDataCatalogStub.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcDataCatalogStub.java similarity index 99% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcDataCatalogStub.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcDataCatalogStub.java index d4619210e02d..004f8cc88baf 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcDataCatalogStub.java +++ b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcDataCatalogStub.java @@ -88,6 +88,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-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerCallableFactory.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerCallableFactory.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerCallableFactory.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerCallableFactory.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerSerializationCallableFactory.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerSerializationCallableFactory.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerSerializationCallableFactory.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerSerializationCallableFactory.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerSerializationStub.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerSerializationStub.java similarity index 99% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerSerializationStub.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerSerializationStub.java index 6ca4e256ba72..cfbfff217ac1 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerSerializationStub.java +++ b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerSerializationStub.java @@ -33,6 +33,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-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerStub.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerStub.java similarity index 99% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerStub.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerStub.java index da5460455b9f..7a6e22d5da94 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerStub.java +++ b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerStub.java @@ -50,6 +50,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-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonDataCatalogCallableFactory.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonDataCatalogCallableFactory.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonDataCatalogCallableFactory.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonDataCatalogCallableFactory.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonDataCatalogStub.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonDataCatalogStub.java similarity index 99% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonDataCatalogStub.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonDataCatalogStub.java index 8d83024024c3..72074ee25b40 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonDataCatalogStub.java +++ b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonDataCatalogStub.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-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerCallableFactory.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerCallableFactory.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerCallableFactory.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerCallableFactory.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerSerializationCallableFactory.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerSerializationCallableFactory.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerSerializationCallableFactory.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerSerializationCallableFactory.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerSerializationStub.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerSerializationStub.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerSerializationStub.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerSerializationStub.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerStub.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerStub.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerStub.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerStub.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStub.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStub.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStub.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStub.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStubSettings.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStubSettings.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStubSettings.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStubSettings.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerStub.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerStub.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerStub.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerStub.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerStubSettings.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerStubSettings.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerStubSettings.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerStubSettings.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientHttpJsonTest.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientHttpJsonTest.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientHttpJsonTest.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientHttpJsonTest.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientTest.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientTest.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientTest.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientTest.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockDataCatalog.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockDataCatalog.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockDataCatalog.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockDataCatalog.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockDataCatalogImpl.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockDataCatalogImpl.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockDataCatalogImpl.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockDataCatalogImpl.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockIAMPolicy.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockIAMPolicy.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockIAMPolicy.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockIAMPolicy.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockIAMPolicyImpl.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockIAMPolicyImpl.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockIAMPolicyImpl.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockIAMPolicyImpl.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManager.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManager.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManager.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManager.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerImpl.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerImpl.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerImpl.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerImpl.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerSerialization.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerSerialization.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerSerialization.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerSerialization.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerSerializationImpl.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerSerializationImpl.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerSerializationImpl.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerSerializationImpl.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClientHttpJsonTest.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClientHttpJsonTest.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClientHttpJsonTest.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClientHttpJsonTest.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClientTest.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClientTest.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClientTest.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClientTest.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientHttpJsonTest.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientHttpJsonTest.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientHttpJsonTest.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientHttpJsonTest.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientTest.java b/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientTest.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientTest.java rename to owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientTest.java diff --git a/java-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java b/owl-bot-staging/java-datacatalog/v1/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java similarity index 52% rename from java-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java rename to owl-bot-staging/java-datacatalog/v1/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java index 6113099d650b..65e8d7606792 100644 --- a/java-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java +++ b/owl-bot-staging/java-datacatalog/v1/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.cloud.datacatalog.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * Data Catalog API service allows you to discover, understand, and manage
  * your data.
@@ -36,1570 +19,1105 @@ private DataCatalogGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.datacatalog.v1.DataCatalog";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.SearchCatalogRequest,
-          com.google.cloud.datacatalog.v1.SearchCatalogResponse>
-      getSearchCatalogMethod;
+  private static volatile io.grpc.MethodDescriptor getSearchCatalogMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "SearchCatalog",
       requestType = com.google.cloud.datacatalog.v1.SearchCatalogRequest.class,
       responseType = com.google.cloud.datacatalog.v1.SearchCatalogResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.SearchCatalogRequest,
-          com.google.cloud.datacatalog.v1.SearchCatalogResponse>
-      getSearchCatalogMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.SearchCatalogRequest,
-            com.google.cloud.datacatalog.v1.SearchCatalogResponse>
-        getSearchCatalogMethod;
+  public static io.grpc.MethodDescriptor getSearchCatalogMethod() {
+    io.grpc.MethodDescriptor getSearchCatalogMethod;
     if ((getSearchCatalogMethod = DataCatalogGrpc.getSearchCatalogMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getSearchCatalogMethod = DataCatalogGrpc.getSearchCatalogMethod) == null) {
-          DataCatalogGrpc.getSearchCatalogMethod =
-              getSearchCatalogMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchCatalog"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.SearchCatalogRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.SearchCatalogResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("SearchCatalog"))
-                      .build();
+          DataCatalogGrpc.getSearchCatalogMethod = getSearchCatalogMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchCatalog"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.SearchCatalogRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.SearchCatalogResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("SearchCatalog"))
+              .build();
         }
       }
     }
     return getSearchCatalogMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.CreateEntryGroupRequest,
-          com.google.cloud.datacatalog.v1.EntryGroup>
-      getCreateEntryGroupMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateEntryGroupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateEntryGroup",
       requestType = com.google.cloud.datacatalog.v1.CreateEntryGroupRequest.class,
       responseType = com.google.cloud.datacatalog.v1.EntryGroup.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.CreateEntryGroupRequest,
-          com.google.cloud.datacatalog.v1.EntryGroup>
-      getCreateEntryGroupMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.CreateEntryGroupRequest,
-            com.google.cloud.datacatalog.v1.EntryGroup>
-        getCreateEntryGroupMethod;
+  public static io.grpc.MethodDescriptor getCreateEntryGroupMethod() {
+    io.grpc.MethodDescriptor getCreateEntryGroupMethod;
     if ((getCreateEntryGroupMethod = DataCatalogGrpc.getCreateEntryGroupMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getCreateEntryGroupMethod = DataCatalogGrpc.getCreateEntryGroupMethod) == null) {
-          DataCatalogGrpc.getCreateEntryGroupMethod =
-              getCreateEntryGroupMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEntryGroup"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.CreateEntryGroupRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DataCatalogMethodDescriptorSupplier("CreateEntryGroup"))
-                      .build();
+          DataCatalogGrpc.getCreateEntryGroupMethod = getCreateEntryGroupMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEntryGroup"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.CreateEntryGroupRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()))
+              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("CreateEntryGroup"))
+              .build();
         }
       }
     }
     return getCreateEntryGroupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.GetEntryGroupRequest,
-          com.google.cloud.datacatalog.v1.EntryGroup>
-      getGetEntryGroupMethod;
+  private static volatile io.grpc.MethodDescriptor getGetEntryGroupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetEntryGroup",
       requestType = com.google.cloud.datacatalog.v1.GetEntryGroupRequest.class,
       responseType = com.google.cloud.datacatalog.v1.EntryGroup.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.GetEntryGroupRequest,
-          com.google.cloud.datacatalog.v1.EntryGroup>
-      getGetEntryGroupMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.GetEntryGroupRequest,
-            com.google.cloud.datacatalog.v1.EntryGroup>
-        getGetEntryGroupMethod;
+  public static io.grpc.MethodDescriptor getGetEntryGroupMethod() {
+    io.grpc.MethodDescriptor getGetEntryGroupMethod;
     if ((getGetEntryGroupMethod = DataCatalogGrpc.getGetEntryGroupMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getGetEntryGroupMethod = DataCatalogGrpc.getGetEntryGroupMethod) == null) {
-          DataCatalogGrpc.getGetEntryGroupMethod =
-              getGetEntryGroupMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntryGroup"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.GetEntryGroupRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()))
-                      .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("GetEntryGroup"))
-                      .build();
+          DataCatalogGrpc.getGetEntryGroupMethod = getGetEntryGroupMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntryGroup"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.GetEntryGroupRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()))
+              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("GetEntryGroup"))
+              .build();
         }
       }
     }
     return getGetEntryGroupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest,
-          com.google.cloud.datacatalog.v1.EntryGroup>
-      getUpdateEntryGroupMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateEntryGroupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateEntryGroup",
       requestType = com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest.class,
       responseType = com.google.cloud.datacatalog.v1.EntryGroup.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest,
-          com.google.cloud.datacatalog.v1.EntryGroup>
-      getUpdateEntryGroupMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest,
-            com.google.cloud.datacatalog.v1.EntryGroup>
-        getUpdateEntryGroupMethod;
+  public static io.grpc.MethodDescriptor getUpdateEntryGroupMethod() {
+    io.grpc.MethodDescriptor getUpdateEntryGroupMethod;
     if ((getUpdateEntryGroupMethod = DataCatalogGrpc.getUpdateEntryGroupMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getUpdateEntryGroupMethod = DataCatalogGrpc.getUpdateEntryGroupMethod) == null) {
-          DataCatalogGrpc.getUpdateEntryGroupMethod =
-              getUpdateEntryGroupMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEntryGroup"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DataCatalogMethodDescriptorSupplier("UpdateEntryGroup"))
-                      .build();
+          DataCatalogGrpc.getUpdateEntryGroupMethod = getUpdateEntryGroupMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEntryGroup"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()))
+              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UpdateEntryGroup"))
+              .build();
         }
       }
     }
     return getUpdateEntryGroupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest, com.google.protobuf.Empty>
-      getDeleteEntryGroupMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteEntryGroupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteEntryGroup",
       requestType = com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest, com.google.protobuf.Empty>
-      getDeleteEntryGroupMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest, com.google.protobuf.Empty>
-        getDeleteEntryGroupMethod;
+  public static io.grpc.MethodDescriptor getDeleteEntryGroupMethod() {
+    io.grpc.MethodDescriptor getDeleteEntryGroupMethod;
     if ((getDeleteEntryGroupMethod = DataCatalogGrpc.getDeleteEntryGroupMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getDeleteEntryGroupMethod = DataCatalogGrpc.getDeleteEntryGroupMethod) == null) {
-          DataCatalogGrpc.getDeleteEntryGroupMethod =
-              getDeleteEntryGroupMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEntryGroup"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DataCatalogMethodDescriptorSupplier("DeleteEntryGroup"))
-                      .build();
+          DataCatalogGrpc.getDeleteEntryGroupMethod = getDeleteEntryGroupMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEntryGroup"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("DeleteEntryGroup"))
+              .build();
         }
       }
     }
     return getDeleteEntryGroupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.ListEntryGroupsRequest,
-          com.google.cloud.datacatalog.v1.ListEntryGroupsResponse>
-      getListEntryGroupsMethod;
+  private static volatile io.grpc.MethodDescriptor getListEntryGroupsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListEntryGroups",
       requestType = com.google.cloud.datacatalog.v1.ListEntryGroupsRequest.class,
       responseType = com.google.cloud.datacatalog.v1.ListEntryGroupsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.ListEntryGroupsRequest,
-          com.google.cloud.datacatalog.v1.ListEntryGroupsResponse>
-      getListEntryGroupsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.ListEntryGroupsRequest,
-            com.google.cloud.datacatalog.v1.ListEntryGroupsResponse>
-        getListEntryGroupsMethod;
+  public static io.grpc.MethodDescriptor getListEntryGroupsMethod() {
+    io.grpc.MethodDescriptor getListEntryGroupsMethod;
     if ((getListEntryGroupsMethod = DataCatalogGrpc.getListEntryGroupsMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getListEntryGroupsMethod = DataCatalogGrpc.getListEntryGroupsMethod) == null) {
-          DataCatalogGrpc.getListEntryGroupsMethod =
-              getListEntryGroupsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEntryGroups"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.ListEntryGroupsRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.ListEntryGroupsResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DataCatalogMethodDescriptorSupplier("ListEntryGroups"))
-                      .build();
+          DataCatalogGrpc.getListEntryGroupsMethod = getListEntryGroupsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEntryGroups"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.ListEntryGroupsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.ListEntryGroupsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ListEntryGroups"))
+              .build();
         }
       }
     }
     return getListEntryGroupsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.CreateEntryRequest, com.google.cloud.datacatalog.v1.Entry>
-      getCreateEntryMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateEntryMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateEntry",
       requestType = com.google.cloud.datacatalog.v1.CreateEntryRequest.class,
       responseType = com.google.cloud.datacatalog.v1.Entry.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.CreateEntryRequest, com.google.cloud.datacatalog.v1.Entry>
-      getCreateEntryMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.CreateEntryRequest,
-            com.google.cloud.datacatalog.v1.Entry>
-        getCreateEntryMethod;
+  public static io.grpc.MethodDescriptor getCreateEntryMethod() {
+    io.grpc.MethodDescriptor getCreateEntryMethod;
     if ((getCreateEntryMethod = DataCatalogGrpc.getCreateEntryMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getCreateEntryMethod = DataCatalogGrpc.getCreateEntryMethod) == null) {
-          DataCatalogGrpc.getCreateEntryMethod =
-              getCreateEntryMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEntry"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.CreateEntryRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()))
-                      .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("CreateEntry"))
-                      .build();
+          DataCatalogGrpc.getCreateEntryMethod = getCreateEntryMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEntry"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.CreateEntryRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()))
+              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("CreateEntry"))
+              .build();
         }
       }
     }
     return getCreateEntryMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.UpdateEntryRequest, com.google.cloud.datacatalog.v1.Entry>
-      getUpdateEntryMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateEntryMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateEntry",
       requestType = com.google.cloud.datacatalog.v1.UpdateEntryRequest.class,
       responseType = com.google.cloud.datacatalog.v1.Entry.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.UpdateEntryRequest, com.google.cloud.datacatalog.v1.Entry>
-      getUpdateEntryMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.UpdateEntryRequest,
-            com.google.cloud.datacatalog.v1.Entry>
-        getUpdateEntryMethod;
+  public static io.grpc.MethodDescriptor getUpdateEntryMethod() {
+    io.grpc.MethodDescriptor getUpdateEntryMethod;
     if ((getUpdateEntryMethod = DataCatalogGrpc.getUpdateEntryMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getUpdateEntryMethod = DataCatalogGrpc.getUpdateEntryMethod) == null) {
-          DataCatalogGrpc.getUpdateEntryMethod =
-              getUpdateEntryMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEntry"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.UpdateEntryRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()))
-                      .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UpdateEntry"))
-                      .build();
+          DataCatalogGrpc.getUpdateEntryMethod = getUpdateEntryMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEntry"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.UpdateEntryRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()))
+              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UpdateEntry"))
+              .build();
         }
       }
     }
     return getUpdateEntryMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.DeleteEntryRequest, com.google.protobuf.Empty>
-      getDeleteEntryMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteEntryMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteEntry",
       requestType = com.google.cloud.datacatalog.v1.DeleteEntryRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.DeleteEntryRequest, com.google.protobuf.Empty>
-      getDeleteEntryMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.DeleteEntryRequest, com.google.protobuf.Empty>
-        getDeleteEntryMethod;
+  public static io.grpc.MethodDescriptor getDeleteEntryMethod() {
+    io.grpc.MethodDescriptor getDeleteEntryMethod;
     if ((getDeleteEntryMethod = DataCatalogGrpc.getDeleteEntryMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getDeleteEntryMethod = DataCatalogGrpc.getDeleteEntryMethod) == null) {
-          DataCatalogGrpc.getDeleteEntryMethod =
-              getDeleteEntryMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEntry"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.DeleteEntryRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("DeleteEntry"))
-                      .build();
+          DataCatalogGrpc.getDeleteEntryMethod = getDeleteEntryMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEntry"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.DeleteEntryRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("DeleteEntry"))
+              .build();
         }
       }
     }
     return getDeleteEntryMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.GetEntryRequest, com.google.cloud.datacatalog.v1.Entry>
-      getGetEntryMethod;
+  private static volatile io.grpc.MethodDescriptor getGetEntryMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetEntry",
       requestType = com.google.cloud.datacatalog.v1.GetEntryRequest.class,
       responseType = com.google.cloud.datacatalog.v1.Entry.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.GetEntryRequest, com.google.cloud.datacatalog.v1.Entry>
-      getGetEntryMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.GetEntryRequest, com.google.cloud.datacatalog.v1.Entry>
-        getGetEntryMethod;
+  public static io.grpc.MethodDescriptor getGetEntryMethod() {
+    io.grpc.MethodDescriptor getGetEntryMethod;
     if ((getGetEntryMethod = DataCatalogGrpc.getGetEntryMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getGetEntryMethod = DataCatalogGrpc.getGetEntryMethod) == null) {
-          DataCatalogGrpc.getGetEntryMethod =
-              getGetEntryMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntry"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.GetEntryRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()))
-                      .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("GetEntry"))
-                      .build();
+          DataCatalogGrpc.getGetEntryMethod = getGetEntryMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntry"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.GetEntryRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()))
+              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("GetEntry"))
+              .build();
         }
       }
     }
     return getGetEntryMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.LookupEntryRequest, com.google.cloud.datacatalog.v1.Entry>
-      getLookupEntryMethod;
+  private static volatile io.grpc.MethodDescriptor getLookupEntryMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "LookupEntry",
       requestType = com.google.cloud.datacatalog.v1.LookupEntryRequest.class,
       responseType = com.google.cloud.datacatalog.v1.Entry.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.LookupEntryRequest, com.google.cloud.datacatalog.v1.Entry>
-      getLookupEntryMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.LookupEntryRequest,
-            com.google.cloud.datacatalog.v1.Entry>
-        getLookupEntryMethod;
+  public static io.grpc.MethodDescriptor getLookupEntryMethod() {
+    io.grpc.MethodDescriptor getLookupEntryMethod;
     if ((getLookupEntryMethod = DataCatalogGrpc.getLookupEntryMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getLookupEntryMethod = DataCatalogGrpc.getLookupEntryMethod) == null) {
-          DataCatalogGrpc.getLookupEntryMethod =
-              getLookupEntryMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LookupEntry"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.LookupEntryRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()))
-                      .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("LookupEntry"))
-                      .build();
+          DataCatalogGrpc.getLookupEntryMethod = getLookupEntryMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LookupEntry"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.LookupEntryRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()))
+              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("LookupEntry"))
+              .build();
         }
       }
     }
     return getLookupEntryMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.ListEntriesRequest,
-          com.google.cloud.datacatalog.v1.ListEntriesResponse>
-      getListEntriesMethod;
+  private static volatile io.grpc.MethodDescriptor getListEntriesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListEntries",
       requestType = com.google.cloud.datacatalog.v1.ListEntriesRequest.class,
       responseType = com.google.cloud.datacatalog.v1.ListEntriesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.ListEntriesRequest,
-          com.google.cloud.datacatalog.v1.ListEntriesResponse>
-      getListEntriesMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.ListEntriesRequest,
-            com.google.cloud.datacatalog.v1.ListEntriesResponse>
-        getListEntriesMethod;
+  public static io.grpc.MethodDescriptor getListEntriesMethod() {
+    io.grpc.MethodDescriptor getListEntriesMethod;
     if ((getListEntriesMethod = DataCatalogGrpc.getListEntriesMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getListEntriesMethod = DataCatalogGrpc.getListEntriesMethod) == null) {
-          DataCatalogGrpc.getListEntriesMethod =
-              getListEntriesMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEntries"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.ListEntriesRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.ListEntriesResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ListEntries"))
-                      .build();
+          DataCatalogGrpc.getListEntriesMethod = getListEntriesMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEntries"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.ListEntriesRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.ListEntriesResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ListEntries"))
+              .build();
         }
       }
     }
     return getListEntriesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest,
-          com.google.cloud.datacatalog.v1.EntryOverview>
-      getModifyEntryOverviewMethod;
+  private static volatile io.grpc.MethodDescriptor getModifyEntryOverviewMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ModifyEntryOverview",
       requestType = com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest.class,
       responseType = com.google.cloud.datacatalog.v1.EntryOverview.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest,
-          com.google.cloud.datacatalog.v1.EntryOverview>
-      getModifyEntryOverviewMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest,
-            com.google.cloud.datacatalog.v1.EntryOverview>
-        getModifyEntryOverviewMethod;
+  public static io.grpc.MethodDescriptor getModifyEntryOverviewMethod() {
+    io.grpc.MethodDescriptor getModifyEntryOverviewMethod;
     if ((getModifyEntryOverviewMethod = DataCatalogGrpc.getModifyEntryOverviewMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getModifyEntryOverviewMethod = DataCatalogGrpc.getModifyEntryOverviewMethod) == null) {
-          DataCatalogGrpc.getModifyEntryOverviewMethod =
-              getModifyEntryOverviewMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "ModifyEntryOverview"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DataCatalogMethodDescriptorSupplier("ModifyEntryOverview"))
-                      .build();
+          DataCatalogGrpc.getModifyEntryOverviewMethod = getModifyEntryOverviewMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ModifyEntryOverview"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance()))
+              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ModifyEntryOverview"))
+              .build();
         }
       }
     }
     return getModifyEntryOverviewMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest,
-          com.google.cloud.datacatalog.v1.Contacts>
-      getModifyEntryContactsMethod;
+  private static volatile io.grpc.MethodDescriptor getModifyEntryContactsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ModifyEntryContacts",
       requestType = com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest.class,
       responseType = com.google.cloud.datacatalog.v1.Contacts.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest,
-          com.google.cloud.datacatalog.v1.Contacts>
-      getModifyEntryContactsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest,
-            com.google.cloud.datacatalog.v1.Contacts>
-        getModifyEntryContactsMethod;
+  public static io.grpc.MethodDescriptor getModifyEntryContactsMethod() {
+    io.grpc.MethodDescriptor getModifyEntryContactsMethod;
     if ((getModifyEntryContactsMethod = DataCatalogGrpc.getModifyEntryContactsMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getModifyEntryContactsMethod = DataCatalogGrpc.getModifyEntryContactsMethod) == null) {
-          DataCatalogGrpc.getModifyEntryContactsMethod =
-              getModifyEntryContactsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "ModifyEntryContacts"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DataCatalogMethodDescriptorSupplier("ModifyEntryContacts"))
-                      .build();
+          DataCatalogGrpc.getModifyEntryContactsMethod = getModifyEntryContactsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ModifyEntryContacts"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance()))
+              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ModifyEntryContacts"))
+              .build();
         }
       }
     }
     return getModifyEntryContactsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.CreateTagTemplateRequest,
-          com.google.cloud.datacatalog.v1.TagTemplate>
-      getCreateTagTemplateMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateTagTemplateMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateTagTemplate",
       requestType = com.google.cloud.datacatalog.v1.CreateTagTemplateRequest.class,
       responseType = com.google.cloud.datacatalog.v1.TagTemplate.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.CreateTagTemplateRequest,
-          com.google.cloud.datacatalog.v1.TagTemplate>
-      getCreateTagTemplateMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.CreateTagTemplateRequest,
-            com.google.cloud.datacatalog.v1.TagTemplate>
-        getCreateTagTemplateMethod;
+  public static io.grpc.MethodDescriptor getCreateTagTemplateMethod() {
+    io.grpc.MethodDescriptor getCreateTagTemplateMethod;
     if ((getCreateTagTemplateMethod = DataCatalogGrpc.getCreateTagTemplateMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getCreateTagTemplateMethod = DataCatalogGrpc.getCreateTagTemplateMethod) == null) {
-          DataCatalogGrpc.getCreateTagTemplateMethod =
-              getCreateTagTemplateMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTagTemplate"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.CreateTagTemplateRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DataCatalogMethodDescriptorSupplier("CreateTagTemplate"))
-                      .build();
+          DataCatalogGrpc.getCreateTagTemplateMethod = getCreateTagTemplateMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTagTemplate"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.CreateTagTemplateRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance()))
+              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("CreateTagTemplate"))
+              .build();
         }
       }
     }
     return getCreateTagTemplateMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.GetTagTemplateRequest,
-          com.google.cloud.datacatalog.v1.TagTemplate>
-      getGetTagTemplateMethod;
+  private static volatile io.grpc.MethodDescriptor getGetTagTemplateMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetTagTemplate",
       requestType = com.google.cloud.datacatalog.v1.GetTagTemplateRequest.class,
       responseType = com.google.cloud.datacatalog.v1.TagTemplate.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.GetTagTemplateRequest,
-          com.google.cloud.datacatalog.v1.TagTemplate>
-      getGetTagTemplateMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.GetTagTemplateRequest,
-            com.google.cloud.datacatalog.v1.TagTemplate>
-        getGetTagTemplateMethod;
+  public static io.grpc.MethodDescriptor getGetTagTemplateMethod() {
+    io.grpc.MethodDescriptor getGetTagTemplateMethod;
     if ((getGetTagTemplateMethod = DataCatalogGrpc.getGetTagTemplateMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getGetTagTemplateMethod = DataCatalogGrpc.getGetTagTemplateMethod) == null) {
-          DataCatalogGrpc.getGetTagTemplateMethod =
-              getGetTagTemplateMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTagTemplate"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.GetTagTemplateRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DataCatalogMethodDescriptorSupplier("GetTagTemplate"))
-                      .build();
+          DataCatalogGrpc.getGetTagTemplateMethod = getGetTagTemplateMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTagTemplate"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.GetTagTemplateRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance()))
+              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("GetTagTemplate"))
+              .build();
         }
       }
     }
     return getGetTagTemplateMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest,
-          com.google.cloud.datacatalog.v1.TagTemplate>
-      getUpdateTagTemplateMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateTagTemplateMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateTagTemplate",
       requestType = com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest.class,
       responseType = com.google.cloud.datacatalog.v1.TagTemplate.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest,
-          com.google.cloud.datacatalog.v1.TagTemplate>
-      getUpdateTagTemplateMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest,
-            com.google.cloud.datacatalog.v1.TagTemplate>
-        getUpdateTagTemplateMethod;
+  public static io.grpc.MethodDescriptor getUpdateTagTemplateMethod() {
+    io.grpc.MethodDescriptor getUpdateTagTemplateMethod;
     if ((getUpdateTagTemplateMethod = DataCatalogGrpc.getUpdateTagTemplateMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getUpdateTagTemplateMethod = DataCatalogGrpc.getUpdateTagTemplateMethod) == null) {
-          DataCatalogGrpc.getUpdateTagTemplateMethod =
-              getUpdateTagTemplateMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTagTemplate"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DataCatalogMethodDescriptorSupplier("UpdateTagTemplate"))
-                      .build();
+          DataCatalogGrpc.getUpdateTagTemplateMethod = getUpdateTagTemplateMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTagTemplate"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance()))
+              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UpdateTagTemplate"))
+              .build();
         }
       }
     }
     return getUpdateTagTemplateMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest, com.google.protobuf.Empty>
-      getDeleteTagTemplateMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteTagTemplateMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteTagTemplate",
       requestType = com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest, com.google.protobuf.Empty>
-      getDeleteTagTemplateMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest, com.google.protobuf.Empty>
-        getDeleteTagTemplateMethod;
+  public static io.grpc.MethodDescriptor getDeleteTagTemplateMethod() {
+    io.grpc.MethodDescriptor getDeleteTagTemplateMethod;
     if ((getDeleteTagTemplateMethod = DataCatalogGrpc.getDeleteTagTemplateMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getDeleteTagTemplateMethod = DataCatalogGrpc.getDeleteTagTemplateMethod) == null) {
-          DataCatalogGrpc.getDeleteTagTemplateMethod =
-              getDeleteTagTemplateMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTagTemplate"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DataCatalogMethodDescriptorSupplier("DeleteTagTemplate"))
-                      .build();
+          DataCatalogGrpc.getDeleteTagTemplateMethod = getDeleteTagTemplateMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTagTemplate"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("DeleteTagTemplate"))
+              .build();
         }
       }
     }
     return getDeleteTagTemplateMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest,
-          com.google.cloud.datacatalog.v1.TagTemplateField>
-      getCreateTagTemplateFieldMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateTagTemplateFieldMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateTagTemplateField",
       requestType = com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest.class,
       responseType = com.google.cloud.datacatalog.v1.TagTemplateField.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest,
-          com.google.cloud.datacatalog.v1.TagTemplateField>
-      getCreateTagTemplateFieldMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest,
-            com.google.cloud.datacatalog.v1.TagTemplateField>
-        getCreateTagTemplateFieldMethod;
-    if ((getCreateTagTemplateFieldMethod = DataCatalogGrpc.getCreateTagTemplateFieldMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getCreateTagTemplateFieldMethod() {
+    io.grpc.MethodDescriptor getCreateTagTemplateFieldMethod;
+    if ((getCreateTagTemplateFieldMethod = DataCatalogGrpc.getCreateTagTemplateFieldMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
-        if ((getCreateTagTemplateFieldMethod = DataCatalogGrpc.getCreateTagTemplateFieldMethod)
-            == null) {
-          DataCatalogGrpc.getCreateTagTemplateFieldMethod =
-              getCreateTagTemplateFieldMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "CreateTagTemplateField"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.TagTemplateField
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DataCatalogMethodDescriptorSupplier("CreateTagTemplateField"))
-                      .build();
+        if ((getCreateTagTemplateFieldMethod = DataCatalogGrpc.getCreateTagTemplateFieldMethod) == null) {
+          DataCatalogGrpc.getCreateTagTemplateFieldMethod = getCreateTagTemplateFieldMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTagTemplateField"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance()))
+              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("CreateTagTemplateField"))
+              .build();
         }
       }
     }
     return getCreateTagTemplateFieldMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest,
-          com.google.cloud.datacatalog.v1.TagTemplateField>
-      getUpdateTagTemplateFieldMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateTagTemplateFieldMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateTagTemplateField",
       requestType = com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest.class,
       responseType = com.google.cloud.datacatalog.v1.TagTemplateField.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest,
-          com.google.cloud.datacatalog.v1.TagTemplateField>
-      getUpdateTagTemplateFieldMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest,
-            com.google.cloud.datacatalog.v1.TagTemplateField>
-        getUpdateTagTemplateFieldMethod;
-    if ((getUpdateTagTemplateFieldMethod = DataCatalogGrpc.getUpdateTagTemplateFieldMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getUpdateTagTemplateFieldMethod() {
+    io.grpc.MethodDescriptor getUpdateTagTemplateFieldMethod;
+    if ((getUpdateTagTemplateFieldMethod = DataCatalogGrpc.getUpdateTagTemplateFieldMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
-        if ((getUpdateTagTemplateFieldMethod = DataCatalogGrpc.getUpdateTagTemplateFieldMethod)
-            == null) {
-          DataCatalogGrpc.getUpdateTagTemplateFieldMethod =
-              getUpdateTagTemplateFieldMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "UpdateTagTemplateField"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.TagTemplateField
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DataCatalogMethodDescriptorSupplier("UpdateTagTemplateField"))
-                      .build();
+        if ((getUpdateTagTemplateFieldMethod = DataCatalogGrpc.getUpdateTagTemplateFieldMethod) == null) {
+          DataCatalogGrpc.getUpdateTagTemplateFieldMethod = getUpdateTagTemplateFieldMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTagTemplateField"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance()))
+              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UpdateTagTemplateField"))
+              .build();
         }
       }
     }
     return getUpdateTagTemplateFieldMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest,
-          com.google.cloud.datacatalog.v1.TagTemplateField>
-      getRenameTagTemplateFieldMethod;
+  private static volatile io.grpc.MethodDescriptor getRenameTagTemplateFieldMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RenameTagTemplateField",
       requestType = com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest.class,
       responseType = com.google.cloud.datacatalog.v1.TagTemplateField.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest,
-          com.google.cloud.datacatalog.v1.TagTemplateField>
-      getRenameTagTemplateFieldMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest,
-            com.google.cloud.datacatalog.v1.TagTemplateField>
-        getRenameTagTemplateFieldMethod;
-    if ((getRenameTagTemplateFieldMethod = DataCatalogGrpc.getRenameTagTemplateFieldMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getRenameTagTemplateFieldMethod() {
+    io.grpc.MethodDescriptor getRenameTagTemplateFieldMethod;
+    if ((getRenameTagTemplateFieldMethod = DataCatalogGrpc.getRenameTagTemplateFieldMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
-        if ((getRenameTagTemplateFieldMethod = DataCatalogGrpc.getRenameTagTemplateFieldMethod)
-            == null) {
-          DataCatalogGrpc.getRenameTagTemplateFieldMethod =
-              getRenameTagTemplateFieldMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "RenameTagTemplateField"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.TagTemplateField
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DataCatalogMethodDescriptorSupplier("RenameTagTemplateField"))
-                      .build();
+        if ((getRenameTagTemplateFieldMethod = DataCatalogGrpc.getRenameTagTemplateFieldMethod) == null) {
+          DataCatalogGrpc.getRenameTagTemplateFieldMethod = getRenameTagTemplateFieldMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RenameTagTemplateField"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance()))
+              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("RenameTagTemplateField"))
+              .build();
         }
       }
     }
     return getRenameTagTemplateFieldMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest,
-          com.google.cloud.datacatalog.v1.TagTemplateField>
-      getRenameTagTemplateFieldEnumValueMethod;
+  private static volatile io.grpc.MethodDescriptor getRenameTagTemplateFieldEnumValueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RenameTagTemplateFieldEnumValue",
       requestType = com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest.class,
       responseType = com.google.cloud.datacatalog.v1.TagTemplateField.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest,
-          com.google.cloud.datacatalog.v1.TagTemplateField>
-      getRenameTagTemplateFieldEnumValueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest,
-            com.google.cloud.datacatalog.v1.TagTemplateField>
-        getRenameTagTemplateFieldEnumValueMethod;
-    if ((getRenameTagTemplateFieldEnumValueMethod =
-            DataCatalogGrpc.getRenameTagTemplateFieldEnumValueMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getRenameTagTemplateFieldEnumValueMethod() {
+    io.grpc.MethodDescriptor getRenameTagTemplateFieldEnumValueMethod;
+    if ((getRenameTagTemplateFieldEnumValueMethod = DataCatalogGrpc.getRenameTagTemplateFieldEnumValueMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
-        if ((getRenameTagTemplateFieldEnumValueMethod =
-                DataCatalogGrpc.getRenameTagTemplateFieldEnumValueMethod)
-            == null) {
-          DataCatalogGrpc.getRenameTagTemplateFieldEnumValueMethod =
-              getRenameTagTemplateFieldEnumValueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "RenameTagTemplateFieldEnumValue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.TagTemplateField
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DataCatalogMethodDescriptorSupplier(
-                              "RenameTagTemplateFieldEnumValue"))
-                      .build();
+        if ((getRenameTagTemplateFieldEnumValueMethod = DataCatalogGrpc.getRenameTagTemplateFieldEnumValueMethod) == null) {
+          DataCatalogGrpc.getRenameTagTemplateFieldEnumValueMethod = getRenameTagTemplateFieldEnumValueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RenameTagTemplateFieldEnumValue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance()))
+              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("RenameTagTemplateFieldEnumValue"))
+              .build();
         }
       }
     }
     return getRenameTagTemplateFieldEnumValueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest, com.google.protobuf.Empty>
-      getDeleteTagTemplateFieldMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteTagTemplateFieldMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteTagTemplateField",
       requestType = com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest, com.google.protobuf.Empty>
-      getDeleteTagTemplateFieldMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest,
-            com.google.protobuf.Empty>
-        getDeleteTagTemplateFieldMethod;
-    if ((getDeleteTagTemplateFieldMethod = DataCatalogGrpc.getDeleteTagTemplateFieldMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getDeleteTagTemplateFieldMethod() {
+    io.grpc.MethodDescriptor getDeleteTagTemplateFieldMethod;
+    if ((getDeleteTagTemplateFieldMethod = DataCatalogGrpc.getDeleteTagTemplateFieldMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
-        if ((getDeleteTagTemplateFieldMethod = DataCatalogGrpc.getDeleteTagTemplateFieldMethod)
-            == null) {
-          DataCatalogGrpc.getDeleteTagTemplateFieldMethod =
-              getDeleteTagTemplateFieldMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "DeleteTagTemplateField"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DataCatalogMethodDescriptorSupplier("DeleteTagTemplateField"))
-                      .build();
+        if ((getDeleteTagTemplateFieldMethod = DataCatalogGrpc.getDeleteTagTemplateFieldMethod) == null) {
+          DataCatalogGrpc.getDeleteTagTemplateFieldMethod = getDeleteTagTemplateFieldMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTagTemplateField"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("DeleteTagTemplateField"))
+              .build();
         }
       }
     }
     return getDeleteTagTemplateFieldMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.CreateTagRequest, com.google.cloud.datacatalog.v1.Tag>
-      getCreateTagMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateTagMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateTag",
       requestType = com.google.cloud.datacatalog.v1.CreateTagRequest.class,
       responseType = com.google.cloud.datacatalog.v1.Tag.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.CreateTagRequest, com.google.cloud.datacatalog.v1.Tag>
-      getCreateTagMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.CreateTagRequest, com.google.cloud.datacatalog.v1.Tag>
-        getCreateTagMethod;
+  public static io.grpc.MethodDescriptor getCreateTagMethod() {
+    io.grpc.MethodDescriptor getCreateTagMethod;
     if ((getCreateTagMethod = DataCatalogGrpc.getCreateTagMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getCreateTagMethod = DataCatalogGrpc.getCreateTagMethod) == null) {
-          DataCatalogGrpc.getCreateTagMethod =
-              getCreateTagMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.CreateTagRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()))
-                      .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("CreateTag"))
-                      .build();
+          DataCatalogGrpc.getCreateTagMethod = getCreateTagMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.CreateTagRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()))
+              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("CreateTag"))
+              .build();
         }
       }
     }
     return getCreateTagMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.UpdateTagRequest, com.google.cloud.datacatalog.v1.Tag>
-      getUpdateTagMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateTagMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateTag",
       requestType = com.google.cloud.datacatalog.v1.UpdateTagRequest.class,
       responseType = com.google.cloud.datacatalog.v1.Tag.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.UpdateTagRequest, com.google.cloud.datacatalog.v1.Tag>
-      getUpdateTagMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.UpdateTagRequest, com.google.cloud.datacatalog.v1.Tag>
-        getUpdateTagMethod;
+  public static io.grpc.MethodDescriptor getUpdateTagMethod() {
+    io.grpc.MethodDescriptor getUpdateTagMethod;
     if ((getUpdateTagMethod = DataCatalogGrpc.getUpdateTagMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getUpdateTagMethod = DataCatalogGrpc.getUpdateTagMethod) == null) {
-          DataCatalogGrpc.getUpdateTagMethod =
-              getUpdateTagMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.UpdateTagRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()))
-                      .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UpdateTag"))
-                      .build();
+          DataCatalogGrpc.getUpdateTagMethod = getUpdateTagMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.UpdateTagRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()))
+              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UpdateTag"))
+              .build();
         }
       }
     }
     return getUpdateTagMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.DeleteTagRequest, com.google.protobuf.Empty>
-      getDeleteTagMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteTagMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteTag",
       requestType = com.google.cloud.datacatalog.v1.DeleteTagRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.DeleteTagRequest, com.google.protobuf.Empty>
-      getDeleteTagMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.DeleteTagRequest, com.google.protobuf.Empty>
-        getDeleteTagMethod;
+  public static io.grpc.MethodDescriptor getDeleteTagMethod() {
+    io.grpc.MethodDescriptor getDeleteTagMethod;
     if ((getDeleteTagMethod = DataCatalogGrpc.getDeleteTagMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getDeleteTagMethod = DataCatalogGrpc.getDeleteTagMethod) == null) {
-          DataCatalogGrpc.getDeleteTagMethod =
-              getDeleteTagMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.DeleteTagRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("DeleteTag"))
-                      .build();
+          DataCatalogGrpc.getDeleteTagMethod = getDeleteTagMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.DeleteTagRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("DeleteTag"))
+              .build();
         }
       }
     }
     return getDeleteTagMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.ListTagsRequest,
-          com.google.cloud.datacatalog.v1.ListTagsResponse>
-      getListTagsMethod;
+  private static volatile io.grpc.MethodDescriptor getListTagsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListTags",
       requestType = com.google.cloud.datacatalog.v1.ListTagsRequest.class,
       responseType = com.google.cloud.datacatalog.v1.ListTagsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.ListTagsRequest,
-          com.google.cloud.datacatalog.v1.ListTagsResponse>
-      getListTagsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.ListTagsRequest,
-            com.google.cloud.datacatalog.v1.ListTagsResponse>
-        getListTagsMethod;
+  public static io.grpc.MethodDescriptor getListTagsMethod() {
+    io.grpc.MethodDescriptor getListTagsMethod;
     if ((getListTagsMethod = DataCatalogGrpc.getListTagsMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getListTagsMethod = DataCatalogGrpc.getListTagsMethod) == null) {
-          DataCatalogGrpc.getListTagsMethod =
-              getListTagsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.ListTagsRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.ListTagsResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ListTags"))
-                      .build();
+          DataCatalogGrpc.getListTagsMethod = getListTagsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.ListTagsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.ListTagsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ListTags"))
+              .build();
         }
       }
     }
     return getListTagsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.ReconcileTagsRequest, com.google.longrunning.Operation>
-      getReconcileTagsMethod;
+  private static volatile io.grpc.MethodDescriptor getReconcileTagsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ReconcileTags",
       requestType = com.google.cloud.datacatalog.v1.ReconcileTagsRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.ReconcileTagsRequest, com.google.longrunning.Operation>
-      getReconcileTagsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.ReconcileTagsRequest, com.google.longrunning.Operation>
-        getReconcileTagsMethod;
+  public static io.grpc.MethodDescriptor getReconcileTagsMethod() {
+    io.grpc.MethodDescriptor getReconcileTagsMethod;
     if ((getReconcileTagsMethod = DataCatalogGrpc.getReconcileTagsMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getReconcileTagsMethod = DataCatalogGrpc.getReconcileTagsMethod) == null) {
-          DataCatalogGrpc.getReconcileTagsMethod =
-              getReconcileTagsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReconcileTags"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.ReconcileTagsRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ReconcileTags"))
-                      .build();
+          DataCatalogGrpc.getReconcileTagsMethod = getReconcileTagsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReconcileTags"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.ReconcileTagsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ReconcileTags"))
+              .build();
         }
       }
     }
     return getReconcileTagsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.StarEntryRequest,
-          com.google.cloud.datacatalog.v1.StarEntryResponse>
-      getStarEntryMethod;
+  private static volatile io.grpc.MethodDescriptor getStarEntryMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "StarEntry",
       requestType = com.google.cloud.datacatalog.v1.StarEntryRequest.class,
       responseType = com.google.cloud.datacatalog.v1.StarEntryResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.StarEntryRequest,
-          com.google.cloud.datacatalog.v1.StarEntryResponse>
-      getStarEntryMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.StarEntryRequest,
-            com.google.cloud.datacatalog.v1.StarEntryResponse>
-        getStarEntryMethod;
+  public static io.grpc.MethodDescriptor getStarEntryMethod() {
+    io.grpc.MethodDescriptor getStarEntryMethod;
     if ((getStarEntryMethod = DataCatalogGrpc.getStarEntryMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getStarEntryMethod = DataCatalogGrpc.getStarEntryMethod) == null) {
-          DataCatalogGrpc.getStarEntryMethod =
-              getStarEntryMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StarEntry"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.StarEntryRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.StarEntryResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("StarEntry"))
-                      .build();
+          DataCatalogGrpc.getStarEntryMethod = getStarEntryMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StarEntry"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.StarEntryRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.StarEntryResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("StarEntry"))
+              .build();
         }
       }
     }
     return getStarEntryMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.UnstarEntryRequest,
-          com.google.cloud.datacatalog.v1.UnstarEntryResponse>
-      getUnstarEntryMethod;
+  private static volatile io.grpc.MethodDescriptor getUnstarEntryMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UnstarEntry",
       requestType = com.google.cloud.datacatalog.v1.UnstarEntryRequest.class,
       responseType = com.google.cloud.datacatalog.v1.UnstarEntryResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.UnstarEntryRequest,
-          com.google.cloud.datacatalog.v1.UnstarEntryResponse>
-      getUnstarEntryMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.UnstarEntryRequest,
-            com.google.cloud.datacatalog.v1.UnstarEntryResponse>
-        getUnstarEntryMethod;
+  public static io.grpc.MethodDescriptor getUnstarEntryMethod() {
+    io.grpc.MethodDescriptor getUnstarEntryMethod;
     if ((getUnstarEntryMethod = DataCatalogGrpc.getUnstarEntryMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getUnstarEntryMethod = DataCatalogGrpc.getUnstarEntryMethod) == null) {
-          DataCatalogGrpc.getUnstarEntryMethod =
-              getUnstarEntryMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UnstarEntry"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.UnstarEntryRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.UnstarEntryResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UnstarEntry"))
-                      .build();
+          DataCatalogGrpc.getUnstarEntryMethod = getUnstarEntryMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UnstarEntry"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.UnstarEntryRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.UnstarEntryResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UnstarEntry"))
+              .build();
         }
       }
     }
     return getUnstarEntryMethod;
   }
 
-  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 = DataCatalogGrpc.getSetIamPolicyMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getSetIamPolicyMethod = DataCatalogGrpc.getSetIamPolicyMethod) == null) {
-          DataCatalogGrpc.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 DataCatalogMethodDescriptorSupplier("SetIamPolicy"))
-                      .build();
+          DataCatalogGrpc.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 DataCatalogMethodDescriptorSupplier("SetIamPolicy"))
+              .build();
         }
       }
     }
     return getSetIamPolicyMethod;
   }
 
-  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 = DataCatalogGrpc.getGetIamPolicyMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getGetIamPolicyMethod = DataCatalogGrpc.getGetIamPolicyMethod) == null) {
-          DataCatalogGrpc.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 DataCatalogMethodDescriptorSupplier("GetIamPolicy"))
-                      .build();
+          DataCatalogGrpc.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 DataCatalogMethodDescriptorSupplier("GetIamPolicy"))
+              .build();
         }
       }
     }
     return getGetIamPolicyMethod;
   }
 
-  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 = DataCatalogGrpc.getTestIamPermissionsMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getTestIamPermissionsMethod = DataCatalogGrpc.getTestIamPermissionsMethod) == null) {
-          DataCatalogGrpc.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 DataCatalogMethodDescriptorSupplier("TestIamPermissions"))
-                      .build();
+          DataCatalogGrpc.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 DataCatalogMethodDescriptorSupplier("TestIamPermissions"))
+              .build();
         }
       }
     }
     return getTestIamPermissionsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.ImportEntriesRequest, com.google.longrunning.Operation>
-      getImportEntriesMethod;
+  private static volatile io.grpc.MethodDescriptor getImportEntriesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ImportEntries",
       requestType = com.google.cloud.datacatalog.v1.ImportEntriesRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.ImportEntriesRequest, com.google.longrunning.Operation>
-      getImportEntriesMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.ImportEntriesRequest, com.google.longrunning.Operation>
-        getImportEntriesMethod;
+  public static io.grpc.MethodDescriptor getImportEntriesMethod() {
+    io.grpc.MethodDescriptor getImportEntriesMethod;
     if ((getImportEntriesMethod = DataCatalogGrpc.getImportEntriesMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getImportEntriesMethod = DataCatalogGrpc.getImportEntriesMethod) == null) {
-          DataCatalogGrpc.getImportEntriesMethod =
-              getImportEntriesMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportEntries"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.ImportEntriesRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ImportEntries"))
-                      .build();
+          DataCatalogGrpc.getImportEntriesMethod = getImportEntriesMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportEntries"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.ImportEntriesRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ImportEntries"))
+              .build();
         }
       }
     }
     return getImportEntriesMethod;
   }
 
-  /** 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 DataCatalogStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public DataCatalogStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new DataCatalogStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public DataCatalogStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new DataCatalogStub(channel, callOptions);
+        }
+      };
     return DataCatalogStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static DataCatalogBlockingStub newBlockingStub(io.grpc.Channel channel) {
+  public static DataCatalogBlockingStub newBlockingStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public DataCatalogBlockingStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new DataCatalogBlockingStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public DataCatalogBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new DataCatalogBlockingStub(channel, callOptions);
+        }
+      };
     return DataCatalogBlockingStub.newStub(factory, channel);
   }
 
-  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
-  public static DataCatalogFutureStub newFutureStub(io.grpc.Channel channel) {
+  /**
+   * Creates a new ListenableFuture-style stub that supports unary calls on the service
+   */
+  public static DataCatalogFutureStub newFutureStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public DataCatalogFutureStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new DataCatalogFutureStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public DataCatalogFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new DataCatalogFutureStub(channel, callOptions);
+        }
+      };
     return DataCatalogFutureStub.newStub(factory, channel);
   }
 
   /**
-   *
-   *
    * 
    * Data Catalog API service allows you to discover, understand, and manage
    * your data.
@@ -1608,8 +1126,6 @@ public DataCatalogFutureStub newStub(
   public interface AsyncService {
 
     /**
-     *
-     *
      * 
      * Searches Data Catalog for multiple resources like entries and tags that
      * match a query.
@@ -1625,17 +1141,12 @@ public interface AsyncService {
      * (https://cloud.google.com/data-catalog/docs/how-to/search-reference).
      * 
*/ - default void searchCatalog( - com.google.cloud.datacatalog.v1.SearchCatalogRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSearchCatalogMethod(), responseObserver); + default void searchCatalog(com.google.cloud.datacatalog.v1.SearchCatalogRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchCatalogMethod(), responseObserver); } /** - * - * *
      * Creates an entry group.
      * An entry group contains logically related entries together with [Cloud
@@ -1659,30 +1170,22 @@ default void searchCatalog(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - default void createEntryGroup( - com.google.cloud.datacatalog.v1.CreateEntryGroupRequest request, + default void createEntryGroup(com.google.cloud.datacatalog.v1.CreateEntryGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateEntryGroupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateEntryGroupMethod(), responseObserver); } /** - * - * *
      * Gets an entry group.
      * 
*/ - default void getEntryGroup( - com.google.cloud.datacatalog.v1.GetEntryGroupRequest request, + default void getEntryGroup(com.google.cloud.datacatalog.v1.GetEntryGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetEntryGroupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEntryGroupMethod(), responseObserver); } /** - * - * *
      * Updates an entry group.
      * You must enable the Data Catalog API in the project identified by
@@ -1691,16 +1194,12 @@ default void getEntryGroup(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - default void updateEntryGroup( - com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest request, + default void updateEntryGroup(com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateEntryGroupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateEntryGroupMethod(), responseObserver); } /** - * - * *
      * Deletes an entry group.
      * You must enable the Data Catalog API in the project
@@ -1709,31 +1208,22 @@ default void updateEntryGroup(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - default void deleteEntryGroup( - com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest request, + default void deleteEntryGroup(com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteEntryGroupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteEntryGroupMethod(), responseObserver); } /** - * - * *
      * Lists entry groups.
      * 
*/ - default void listEntryGroups( - com.google.cloud.datacatalog.v1.ListEntryGroupsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListEntryGroupsMethod(), responseObserver); + default void listEntryGroups(com.google.cloud.datacatalog.v1.ListEntryGroupsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListEntryGroupsMethod(), responseObserver); } /** - * - * *
      * Creates an entry.
      * You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM',
@@ -1745,16 +1235,12 @@ default void listEntryGroups(
      * An entry group can have a maximum of 100,000 entries.
      * 
*/ - default void createEntry( - com.google.cloud.datacatalog.v1.CreateEntryRequest request, + default void createEntry(com.google.cloud.datacatalog.v1.CreateEntryRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateEntryMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateEntryMethod(), responseObserver); } /** - * - * *
      * Updates an existing entry.
      * You must enable the Data Catalog API in the project identified by
@@ -1763,16 +1249,12 @@ default void createEntry(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - default void updateEntry( - com.google.cloud.datacatalog.v1.UpdateEntryRequest request, + default void updateEntry(com.google.cloud.datacatalog.v1.UpdateEntryRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateEntryMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateEntryMethod(), responseObserver); } /** - * - * *
      * Deletes an existing entry.
      * You can delete only the entries created by the
@@ -1784,44 +1266,33 @@ default void updateEntry(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - default void deleteEntry( - com.google.cloud.datacatalog.v1.DeleteEntryRequest request, + default void deleteEntry(com.google.cloud.datacatalog.v1.DeleteEntryRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteEntryMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteEntryMethod(), responseObserver); } /** - * - * *
      * Gets an entry.
      * 
*/ - default void getEntry( - com.google.cloud.datacatalog.v1.GetEntryRequest request, + default void getEntry(com.google.cloud.datacatalog.v1.GetEntryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEntryMethod(), responseObserver); } /** - * - * *
      * Gets an entry by its target resource name.
      * The resource name comes from the source Google Cloud Platform service.
      * 
*/ - default void lookupEntry( - com.google.cloud.datacatalog.v1.LookupEntryRequest request, + default void lookupEntry(com.google.cloud.datacatalog.v1.LookupEntryRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getLookupEntryMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getLookupEntryMethod(), responseObserver); } /** - * - * *
      * Lists entries.
      * Note: Currently, this method can list only custom entries.
@@ -1829,17 +1300,12 @@ default void lookupEntry(
      * [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
      * 
*/ - default void listEntries( - com.google.cloud.datacatalog.v1.ListEntriesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListEntriesMethod(), responseObserver); + default void listEntries(com.google.cloud.datacatalog.v1.ListEntriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListEntriesMethod(), responseObserver); } /** - * - * *
      * Modifies entry overview, part of the business context of an
      * [Entry][google.cloud.datacatalog.v1.Entry].
@@ -1847,17 +1313,12 @@ default void listEntries(
      * IAM permission on the corresponding project.
      * 
*/ - default void modifyEntryOverview( - com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getModifyEntryOverviewMethod(), responseObserver); + default void modifyEntryOverview(com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getModifyEntryOverviewMethod(), responseObserver); } /** - * - * *
      * Modifies contacts, part of the business context of an
      * [Entry][google.cloud.datacatalog.v1.Entry].
@@ -1865,16 +1326,12 @@ default void modifyEntryOverview(
      * IAM permission on the corresponding project.
      * 
*/ - default void modifyEntryContacts( - com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest request, + default void modifyEntryContacts(com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getModifyEntryContactsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getModifyEntryContactsMethod(), responseObserver); } /** - * - * *
      * Creates a tag template.
      * You must enable the Data Catalog API in the project identified by the
@@ -1883,30 +1340,22 @@ default void modifyEntryContacts(
      * (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - default void createTagTemplate( - com.google.cloud.datacatalog.v1.CreateTagTemplateRequest request, + default void createTagTemplate(com.google.cloud.datacatalog.v1.CreateTagTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateTagTemplateMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagTemplateMethod(), responseObserver); } /** - * - * *
      * Gets a tag template.
      * 
*/ - default void getTagTemplate( - com.google.cloud.datacatalog.v1.GetTagTemplateRequest request, + default void getTagTemplate(com.google.cloud.datacatalog.v1.GetTagTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetTagTemplateMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagTemplateMethod(), responseObserver); } /** - * - * *
      * Updates a tag template.
      * You can't update template fields with this method. These fields are
@@ -1917,16 +1366,12 @@ default void getTagTemplate(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - default void updateTagTemplate( - com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest request, + default void updateTagTemplate(com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateTagTemplateMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagTemplateMethod(), responseObserver); } /** - * - * *
      * Deletes a tag template and all tags that use it.
      * You must enable the Data Catalog API in the project identified by
@@ -1934,16 +1379,12 @@ default void updateTagTemplate(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - default void deleteTagTemplate( - com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest request, + default void deleteTagTemplate(com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteTagTemplateMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagTemplateMethod(), responseObserver); } /** - * - * *
      * Creates a field in a tag template.
      * You must enable the Data Catalog API in the project identified by
@@ -1951,17 +1392,12 @@ default void deleteTagTemplate(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - default void createTagTemplateField( - com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateTagTemplateFieldMethod(), responseObserver); + default void createTagTemplateField(com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagTemplateFieldMethod(), responseObserver); } /** - * - * *
      * Updates a field in a tag template.
      * You can't update the field type with this method.
@@ -1971,17 +1407,12 @@ default void createTagTemplateField(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - default void updateTagTemplateField( - com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateTagTemplateFieldMethod(), responseObserver); + default void updateTagTemplateField(com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagTemplateFieldMethod(), responseObserver); } /** - * - * *
      * Renames a field in a tag template.
      * You must enable the Data Catalog API in the project identified by the
@@ -1989,33 +1420,23 @@ default void updateTagTemplateField(
      * (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - default void renameTagTemplateField( - com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRenameTagTemplateFieldMethod(), responseObserver); + default void renameTagTemplateField(com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRenameTagTemplateFieldMethod(), responseObserver); } /** - * - * *
      * Renames an enum value in a tag template.
      * Within a single enum field, enum values must be unique.
      * 
*/ - default void renameTagTemplateFieldEnumValue( - com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRenameTagTemplateFieldEnumValueMethod(), responseObserver); + default void renameTagTemplateFieldEnumValue(com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRenameTagTemplateFieldEnumValueMethod(), responseObserver); } /** - * - * *
      * Deletes a field in a tag template and all uses of this field from the tags
      * based on this template.
@@ -2024,16 +1445,12 @@ default void renameTagTemplateFieldEnumValue(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - default void deleteTagTemplateField( - com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest request, + default void deleteTagTemplateField(com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteTagTemplateFieldMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagTemplateFieldMethod(), responseObserver); } /** - * - * *
      * Creates a tag and assigns it to:
      * * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
@@ -2047,57 +1464,44 @@ default void deleteTagTemplateField(
      * used to create the tag must be in the same organization.
      * 
*/ - default void createTag( - com.google.cloud.datacatalog.v1.CreateTagRequest request, + default void createTag(com.google.cloud.datacatalog.v1.CreateTagRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); } /** - * - * *
      * Updates an existing tag.
      * 
*/ - default void updateTag( - com.google.cloud.datacatalog.v1.UpdateTagRequest request, + default void updateTag(com.google.cloud.datacatalog.v1.UpdateTagRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); } /** - * - * *
      * Deletes a tag.
      * 
*/ - default void deleteTag( - com.google.cloud.datacatalog.v1.DeleteTagRequest request, + default void deleteTag(com.google.cloud.datacatalog.v1.DeleteTagRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); } /** - * - * *
      * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry].
      * The [columns][google.cloud.datacatalog.v1.Tag.column] in the response are
      * lowercased.
      * 
*/ - default void listTags( - com.google.cloud.datacatalog.v1.ListTagsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + default void listTags(com.google.cloud.datacatalog.v1.ListTagsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); } /** - * - * *
      * `ReconcileTags` creates or updates a list of tags on the entry.
      * If the
@@ -2113,47 +1517,34 @@ default void listTags(
      * [google.cloud.datacatalog.v1.ReconcileTagsResponse] message.
      * 
*/ - default void reconcileTags( - com.google.cloud.datacatalog.v1.ReconcileTagsRequest request, + default void reconcileTags(com.google.cloud.datacatalog.v1.ReconcileTagsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getReconcileTagsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReconcileTagsMethod(), responseObserver); } /** - * - * *
      * Marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by
      * the current user. Starring information is private to each user.
      * 
*/ - default void starEntry( - com.google.cloud.datacatalog.v1.StarEntryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + default void starEntry(com.google.cloud.datacatalog.v1.StarEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStarEntryMethod(), responseObserver); } /** - * - * *
      * Marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by
      * the current user. Starring information is private to each user.
      * 
*/ - default void unstarEntry( - com.google.cloud.datacatalog.v1.UnstarEntryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUnstarEntryMethod(), responseObserver); + default void unstarEntry(com.google.cloud.datacatalog.v1.UnstarEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUnstarEntryMethod(), responseObserver); } /** - * - * *
      * Sets an access control policy for a resource. Replaces any existing
      * policy.
@@ -2169,16 +1560,12 @@ default void unstarEntry(
      * - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
      * 
*/ - 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); } /** - * - * *
      * Gets the access control policy for a resource.
      * May return:
@@ -2196,16 +1583,12 @@ default void setIamPolicy(
      * - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
      * 
*/ - 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); } /** - * - * *
      * Gets your permissions on a resource.
      * Returns an empty set of permissions if the resource doesn't exist.
@@ -2218,17 +1601,12 @@ default void getIamPolicy(
      * No Google IAM permissions are required to call this method.
      * 
*/ - 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); } /** - * - * *
      * Imports entries from a source, such as data previously dumped into a
      * Cloud Storage bucket, into Data Catalog. Import of entries
@@ -2248,34 +1626,29 @@ default void testIamPermissions(
      * message.
      * 
*/ - default void importEntries( - com.google.cloud.datacatalog.v1.ImportEntriesRequest request, + default void importEntries(com.google.cloud.datacatalog.v1.ImportEntriesRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getImportEntriesMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportEntriesMethod(), responseObserver); } } /** * Base class for the server implementation of the service DataCatalog. - * *
    * Data Catalog API service allows you to discover, understand, and manage
    * your data.
    * 
*/ - public abstract static class DataCatalogImplBase + public static abstract class DataCatalogImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return DataCatalogGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service DataCatalog. - * *
    * Data Catalog API service allows you to discover, understand, and manage
    * your data.
@@ -2283,18 +1656,18 @@ public final io.grpc.ServerServiceDefinition bindService() {
    */
   public static final class DataCatalogStub
       extends io.grpc.stub.AbstractAsyncStub {
-    private DataCatalogStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private DataCatalogStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
     @java.lang.Override
-    protected DataCatalogStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    protected DataCatalogStub build(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       return new DataCatalogStub(channel, callOptions);
     }
 
     /**
-     *
-     *
      * 
      * Searches Data Catalog for multiple resources like entries and tags that
      * match a query.
@@ -2310,19 +1683,13 @@ protected DataCatalogStub build(io.grpc.Channel channel, io.grpc.CallOptions cal
      * (https://cloud.google.com/data-catalog/docs/how-to/search-reference).
      * 
*/ - public void searchCatalog( - com.google.cloud.datacatalog.v1.SearchCatalogRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void searchCatalog(com.google.cloud.datacatalog.v1.SearchCatalogRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchCatalogMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getSearchCatalogMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates an entry group.
      * An entry group contains logically related entries together with [Cloud
@@ -2346,34 +1713,24 @@ public void searchCatalog(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public void createEntryGroup( - com.google.cloud.datacatalog.v1.CreateEntryGroupRequest request, + public void createEntryGroup(com.google.cloud.datacatalog.v1.CreateEntryGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateEntryGroupMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateEntryGroupMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets an entry group.
      * 
*/ - public void getEntryGroup( - com.google.cloud.datacatalog.v1.GetEntryGroupRequest request, + public void getEntryGroup(com.google.cloud.datacatalog.v1.GetEntryGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetEntryGroupMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetEntryGroupMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates an entry group.
      * You must enable the Data Catalog API in the project identified by
@@ -2382,18 +1739,13 @@ public void getEntryGroup(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public void updateEntryGroup( - com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest request, + public void updateEntryGroup(com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateEntryGroupMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateEntryGroupMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes an entry group.
      * You must enable the Data Catalog API in the project
@@ -2402,35 +1754,24 @@ public void updateEntryGroup(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public void deleteEntryGroup( - com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest request, + public void deleteEntryGroup(com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteEntryGroupMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteEntryGroupMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists entry groups.
      * 
*/ - public void listEntryGroups( - com.google.cloud.datacatalog.v1.ListEntryGroupsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listEntryGroups(com.google.cloud.datacatalog.v1.ListEntryGroupsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListEntryGroupsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListEntryGroupsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates an entry.
      * You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM',
@@ -2442,18 +1783,13 @@ public void listEntryGroups(
      * An entry group can have a maximum of 100,000 entries.
      * 
*/ - public void createEntry( - com.google.cloud.datacatalog.v1.CreateEntryRequest request, + public void createEntry(com.google.cloud.datacatalog.v1.CreateEntryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateEntryMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateEntryMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates an existing entry.
      * You must enable the Data Catalog API in the project identified by
@@ -2462,18 +1798,13 @@ public void createEntry(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public void updateEntry( - com.google.cloud.datacatalog.v1.UpdateEntryRequest request, + public void updateEntry(com.google.cloud.datacatalog.v1.UpdateEntryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateEntryMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateEntryMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes an existing entry.
      * You can delete only the entries created by the
@@ -2485,49 +1816,36 @@ public void updateEntry(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public void deleteEntry( - com.google.cloud.datacatalog.v1.DeleteEntryRequest request, + public void deleteEntry(com.google.cloud.datacatalog.v1.DeleteEntryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteEntryMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteEntryMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets an entry.
      * 
*/ - public void getEntry( - com.google.cloud.datacatalog.v1.GetEntryRequest request, + public void getEntry(com.google.cloud.datacatalog.v1.GetEntryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetEntryMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets an entry by its target resource name.
      * The resource name comes from the source Google Cloud Platform service.
      * 
*/ - public void lookupEntry( - com.google.cloud.datacatalog.v1.LookupEntryRequest request, + public void lookupEntry(com.google.cloud.datacatalog.v1.LookupEntryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getLookupEntryMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getLookupEntryMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists entries.
      * Note: Currently, this method can list only custom entries.
@@ -2535,19 +1853,13 @@ public void lookupEntry(
      * [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
      * 
*/ - public void listEntries( - com.google.cloud.datacatalog.v1.ListEntriesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listEntries(com.google.cloud.datacatalog.v1.ListEntriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListEntriesMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListEntriesMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Modifies entry overview, part of the business context of an
      * [Entry][google.cloud.datacatalog.v1.Entry].
@@ -2555,19 +1867,13 @@ public void listEntries(
      * IAM permission on the corresponding project.
      * 
*/ - public void modifyEntryOverview( - com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void modifyEntryOverview(com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getModifyEntryOverviewMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getModifyEntryOverviewMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Modifies contacts, part of the business context of an
      * [Entry][google.cloud.datacatalog.v1.Entry].
@@ -2575,18 +1881,13 @@ public void modifyEntryOverview(
      * IAM permission on the corresponding project.
      * 
*/ - public void modifyEntryContacts( - com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest request, + public void modifyEntryContacts(com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getModifyEntryContactsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getModifyEntryContactsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a tag template.
      * You must enable the Data Catalog API in the project identified by the
@@ -2595,34 +1896,24 @@ public void modifyEntryContacts(
      * (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public void createTagTemplate( - com.google.cloud.datacatalog.v1.CreateTagTemplateRequest request, + public void createTagTemplate(com.google.cloud.datacatalog.v1.CreateTagTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTagTemplateMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateTagTemplateMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets a tag template.
      * 
*/ - public void getTagTemplate( - com.google.cloud.datacatalog.v1.GetTagTemplateRequest request, + public void getTagTemplate(com.google.cloud.datacatalog.v1.GetTagTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTagTemplateMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetTagTemplateMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates a tag template.
      * You can't update template fields with this method. These fields are
@@ -2633,18 +1924,13 @@ public void getTagTemplate(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public void updateTagTemplate( - com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest request, + public void updateTagTemplate(com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTagTemplateMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateTagTemplateMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes a tag template and all tags that use it.
      * You must enable the Data Catalog API in the project identified by
@@ -2652,18 +1938,13 @@ public void updateTagTemplate(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public void deleteTagTemplate( - com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest request, + public void deleteTagTemplate(com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTagTemplateMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteTagTemplateMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a field in a tag template.
      * You must enable the Data Catalog API in the project identified by
@@ -2671,19 +1952,13 @@ public void deleteTagTemplate(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public void createTagTemplateField( - com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void createTagTemplateField(com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTagTemplateFieldMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateTagTemplateFieldMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates a field in a tag template.
      * You can't update the field type with this method.
@@ -2693,19 +1968,13 @@ public void createTagTemplateField(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public void updateTagTemplateField( - com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void updateTagTemplateField(com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTagTemplateFieldMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateTagTemplateFieldMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Renames a field in a tag template.
      * You must enable the Data Catalog API in the project identified by the
@@ -2713,37 +1982,25 @@ public void updateTagTemplateField(
      * (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public void renameTagTemplateField( - com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void renameTagTemplateField(com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRenameTagTemplateFieldMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getRenameTagTemplateFieldMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Renames an enum value in a tag template.
      * Within a single enum field, enum values must be unique.
      * 
*/ - public void renameTagTemplateFieldEnumValue( - com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void renameTagTemplateFieldEnumValue(com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRenameTagTemplateFieldEnumValueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getRenameTagTemplateFieldEnumValueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes a field in a tag template and all uses of this field from the tags
      * based on this template.
@@ -2752,18 +2009,13 @@ public void renameTagTemplateFieldEnumValue(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public void deleteTagTemplateField( - com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest request, + public void deleteTagTemplateField(com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTagTemplateFieldMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteTagTemplateFieldMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a tag and assigns it to:
      * * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
@@ -2777,61 +2029,48 @@ public void deleteTagTemplateField(
      * used to create the tag must be in the same organization.
      * 
*/ - public void createTag( - com.google.cloud.datacatalog.v1.CreateTagRequest request, + public void createTag(com.google.cloud.datacatalog.v1.CreateTagRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates an existing tag.
      * 
*/ - public void updateTag( - com.google.cloud.datacatalog.v1.UpdateTagRequest request, + public void updateTag(com.google.cloud.datacatalog.v1.UpdateTagRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes a tag.
      * 
*/ - public void deleteTag( - com.google.cloud.datacatalog.v1.DeleteTagRequest request, + public void deleteTag(com.google.cloud.datacatalog.v1.DeleteTagRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry].
      * The [columns][google.cloud.datacatalog.v1.Tag.column] in the response are
      * lowercased.
      * 
*/ - public void listTags( - com.google.cloud.datacatalog.v1.ListTagsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listTags(com.google.cloud.datacatalog.v1.ListTagsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * `ReconcileTags` creates or updates a list of tags on the entry.
      * If the
@@ -2847,52 +2086,37 @@ public void listTags(
      * [google.cloud.datacatalog.v1.ReconcileTagsResponse] message.
      * 
*/ - public void reconcileTags( - com.google.cloud.datacatalog.v1.ReconcileTagsRequest request, + public void reconcileTags(com.google.cloud.datacatalog.v1.ReconcileTagsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getReconcileTagsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getReconcileTagsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by
      * the current user. Starring information is private to each user.
      * 
*/ - public void starEntry( - com.google.cloud.datacatalog.v1.StarEntryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void starEntry(com.google.cloud.datacatalog.v1.StarEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getStarEntryMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by
      * the current user. Starring information is private to each user.
      * 
*/ - public void unstarEntry( - com.google.cloud.datacatalog.v1.UnstarEntryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void unstarEntry(com.google.cloud.datacatalog.v1.UnstarEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUnstarEntryMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUnstarEntryMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Sets an access control policy for a resource. Replaces any existing
      * policy.
@@ -2908,18 +2132,13 @@ public void unstarEntry(
      * - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
      * 
*/ - 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); } /** - * - * *
      * Gets the access control policy for a resource.
      * May return:
@@ -2937,18 +2156,13 @@ public void setIamPolicy(
      * - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
      * 
*/ - 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); } /** - * - * *
      * Gets your permissions on a resource.
      * Returns an empty set of permissions if the resource doesn't exist.
@@ -2961,19 +2175,13 @@ public void getIamPolicy(
      * No Google IAM permissions are required to call this method.
      * 
*/ - 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); } /** - * - * *
      * Imports entries from a source, such as data previously dumped into a
      * Cloud Storage bucket, into Data Catalog. Import of entries
@@ -2993,19 +2201,15 @@ public void testIamPermissions(
      * message.
      * 
*/ - public void importEntries( - com.google.cloud.datacatalog.v1.ImportEntriesRequest request, + public void importEntries(com.google.cloud.datacatalog.v1.ImportEntriesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportEntriesMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getImportEntriesMethod(), getCallOptions()), request, responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service DataCatalog. - * *
    * Data Catalog API service allows you to discover, understand, and manage
    * your data.
@@ -3013,7 +2217,8 @@ public void importEntries(
    */
   public static final class DataCatalogBlockingStub
       extends io.grpc.stub.AbstractBlockingStub {
-    private DataCatalogBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private DataCatalogBlockingStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -3024,8 +2229,6 @@ protected DataCatalogBlockingStub build(
     }
 
     /**
-     *
-     *
      * 
      * Searches Data Catalog for multiple resources like entries and tags that
      * match a query.
@@ -3041,15 +2244,12 @@ protected DataCatalogBlockingStub build(
      * (https://cloud.google.com/data-catalog/docs/how-to/search-reference).
      * 
*/ - public com.google.cloud.datacatalog.v1.SearchCatalogResponse searchCatalog( - com.google.cloud.datacatalog.v1.SearchCatalogRequest request) { + public com.google.cloud.datacatalog.v1.SearchCatalogResponse searchCatalog(com.google.cloud.datacatalog.v1.SearchCatalogRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSearchCatalogMethod(), getCallOptions(), request); } /** - * - * *
      * Creates an entry group.
      * An entry group contains logically related entries together with [Cloud
@@ -3073,28 +2273,22 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResponse searchCatalog(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.cloud.datacatalog.v1.EntryGroup createEntryGroup( - com.google.cloud.datacatalog.v1.CreateEntryGroupRequest request) { + public com.google.cloud.datacatalog.v1.EntryGroup createEntryGroup(com.google.cloud.datacatalog.v1.CreateEntryGroupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateEntryGroupMethod(), getCallOptions(), request); } /** - * - * *
      * Gets an entry group.
      * 
*/ - public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroup( - com.google.cloud.datacatalog.v1.GetEntryGroupRequest request) { + public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroup(com.google.cloud.datacatalog.v1.GetEntryGroupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetEntryGroupMethod(), getCallOptions(), request); } /** - * - * *
      * Updates an entry group.
      * You must enable the Data Catalog API in the project identified by
@@ -3103,15 +2297,12 @@ public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroup(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.cloud.datacatalog.v1.EntryGroup updateEntryGroup( - com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest request) { + public com.google.cloud.datacatalog.v1.EntryGroup updateEntryGroup(com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateEntryGroupMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes an entry group.
      * You must enable the Data Catalog API in the project
@@ -3120,28 +2311,22 @@ public com.google.cloud.datacatalog.v1.EntryGroup updateEntryGroup(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.protobuf.Empty deleteEntryGroup( - com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest request) { + public com.google.protobuf.Empty deleteEntryGroup(com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteEntryGroupMethod(), getCallOptions(), request); } /** - * - * *
      * Lists entry groups.
      * 
*/ - public com.google.cloud.datacatalog.v1.ListEntryGroupsResponse listEntryGroups( - com.google.cloud.datacatalog.v1.ListEntryGroupsRequest request) { + public com.google.cloud.datacatalog.v1.ListEntryGroupsResponse listEntryGroups(com.google.cloud.datacatalog.v1.ListEntryGroupsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListEntryGroupsMethod(), getCallOptions(), request); } /** - * - * *
      * Creates an entry.
      * You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM',
@@ -3153,15 +2338,12 @@ public com.google.cloud.datacatalog.v1.ListEntryGroupsResponse listEntryGroups(
      * An entry group can have a maximum of 100,000 entries.
      * 
*/ - public com.google.cloud.datacatalog.v1.Entry createEntry( - com.google.cloud.datacatalog.v1.CreateEntryRequest request) { + public com.google.cloud.datacatalog.v1.Entry createEntry(com.google.cloud.datacatalog.v1.CreateEntryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateEntryMethod(), getCallOptions(), request); } /** - * - * *
      * Updates an existing entry.
      * You must enable the Data Catalog API in the project identified by
@@ -3170,15 +2352,12 @@ public com.google.cloud.datacatalog.v1.Entry createEntry(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.cloud.datacatalog.v1.Entry updateEntry( - com.google.cloud.datacatalog.v1.UpdateEntryRequest request) { + public com.google.cloud.datacatalog.v1.Entry updateEntry(com.google.cloud.datacatalog.v1.UpdateEntryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateEntryMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes an existing entry.
      * You can delete only the entries created by the
@@ -3190,42 +2369,33 @@ public com.google.cloud.datacatalog.v1.Entry updateEntry(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.protobuf.Empty deleteEntry( - com.google.cloud.datacatalog.v1.DeleteEntryRequest request) { + public com.google.protobuf.Empty deleteEntry(com.google.cloud.datacatalog.v1.DeleteEntryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteEntryMethod(), getCallOptions(), request); } /** - * - * *
      * Gets an entry.
      * 
*/ - public com.google.cloud.datacatalog.v1.Entry getEntry( - com.google.cloud.datacatalog.v1.GetEntryRequest request) { + public com.google.cloud.datacatalog.v1.Entry getEntry(com.google.cloud.datacatalog.v1.GetEntryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetEntryMethod(), getCallOptions(), request); } /** - * - * *
      * Gets an entry by its target resource name.
      * The resource name comes from the source Google Cloud Platform service.
      * 
*/ - public com.google.cloud.datacatalog.v1.Entry lookupEntry( - com.google.cloud.datacatalog.v1.LookupEntryRequest request) { + public com.google.cloud.datacatalog.v1.Entry lookupEntry(com.google.cloud.datacatalog.v1.LookupEntryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getLookupEntryMethod(), getCallOptions(), request); } /** - * - * *
      * Lists entries.
      * Note: Currently, this method can list only custom entries.
@@ -3233,15 +2403,12 @@ public com.google.cloud.datacatalog.v1.Entry lookupEntry(
      * [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
      * 
*/ - public com.google.cloud.datacatalog.v1.ListEntriesResponse listEntries( - com.google.cloud.datacatalog.v1.ListEntriesRequest request) { + public com.google.cloud.datacatalog.v1.ListEntriesResponse listEntries(com.google.cloud.datacatalog.v1.ListEntriesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListEntriesMethod(), getCallOptions(), request); } /** - * - * *
      * Modifies entry overview, part of the business context of an
      * [Entry][google.cloud.datacatalog.v1.Entry].
@@ -3249,15 +2416,12 @@ public com.google.cloud.datacatalog.v1.ListEntriesResponse listEntries(
      * IAM permission on the corresponding project.
      * 
*/ - public com.google.cloud.datacatalog.v1.EntryOverview modifyEntryOverview( - com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest request) { + public com.google.cloud.datacatalog.v1.EntryOverview modifyEntryOverview(com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getModifyEntryOverviewMethod(), getCallOptions(), request); } /** - * - * *
      * Modifies contacts, part of the business context of an
      * [Entry][google.cloud.datacatalog.v1.Entry].
@@ -3265,15 +2429,12 @@ public com.google.cloud.datacatalog.v1.EntryOverview modifyEntryOverview(
      * IAM permission on the corresponding project.
      * 
*/ - public com.google.cloud.datacatalog.v1.Contacts modifyEntryContacts( - com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest request) { + public com.google.cloud.datacatalog.v1.Contacts modifyEntryContacts(com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getModifyEntryContactsMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a tag template.
      * You must enable the Data Catalog API in the project identified by the
@@ -3282,28 +2443,22 @@ public com.google.cloud.datacatalog.v1.Contacts modifyEntryContacts(
      * (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.cloud.datacatalog.v1.TagTemplate createTagTemplate( - com.google.cloud.datacatalog.v1.CreateTagTemplateRequest request) { + public com.google.cloud.datacatalog.v1.TagTemplate createTagTemplate(com.google.cloud.datacatalog.v1.CreateTagTemplateRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTagTemplateMethod(), getCallOptions(), request); } /** - * - * *
      * Gets a tag template.
      * 
*/ - public com.google.cloud.datacatalog.v1.TagTemplate getTagTemplate( - com.google.cloud.datacatalog.v1.GetTagTemplateRequest request) { + public com.google.cloud.datacatalog.v1.TagTemplate getTagTemplate(com.google.cloud.datacatalog.v1.GetTagTemplateRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetTagTemplateMethod(), getCallOptions(), request); } /** - * - * *
      * Updates a tag template.
      * You can't update template fields with this method. These fields are
@@ -3314,15 +2469,12 @@ public com.google.cloud.datacatalog.v1.TagTemplate getTagTemplate(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.cloud.datacatalog.v1.TagTemplate updateTagTemplate( - com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest request) { + public com.google.cloud.datacatalog.v1.TagTemplate updateTagTemplate(com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateTagTemplateMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a tag template and all tags that use it.
      * You must enable the Data Catalog API in the project identified by
@@ -3330,15 +2482,12 @@ public com.google.cloud.datacatalog.v1.TagTemplate updateTagTemplate(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.protobuf.Empty deleteTagTemplate( - com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest request) { + public com.google.protobuf.Empty deleteTagTemplate(com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteTagTemplateMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a field in a tag template.
      * You must enable the Data Catalog API in the project identified by
@@ -3346,15 +2495,12 @@ public com.google.protobuf.Empty deleteTagTemplate(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.cloud.datacatalog.v1.TagTemplateField createTagTemplateField( - com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest request) { + public com.google.cloud.datacatalog.v1.TagTemplateField createTagTemplateField(com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTagTemplateFieldMethod(), getCallOptions(), request); } /** - * - * *
      * Updates a field in a tag template.
      * You can't update the field type with this method.
@@ -3364,15 +2510,12 @@ public com.google.cloud.datacatalog.v1.TagTemplateField createTagTemplateField(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.cloud.datacatalog.v1.TagTemplateField updateTagTemplateField( - com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest request) { + public com.google.cloud.datacatalog.v1.TagTemplateField updateTagTemplateField(com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateTagTemplateFieldMethod(), getCallOptions(), request); } /** - * - * *
      * Renames a field in a tag template.
      * You must enable the Data Catalog API in the project identified by the
@@ -3380,29 +2523,23 @@ public com.google.cloud.datacatalog.v1.TagTemplateField updateTagTemplateField(
      * (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.cloud.datacatalog.v1.TagTemplateField renameTagTemplateField( - com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest request) { + public com.google.cloud.datacatalog.v1.TagTemplateField renameTagTemplateField(com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRenameTagTemplateFieldMethod(), getCallOptions(), request); } /** - * - * *
      * Renames an enum value in a tag template.
      * Within a single enum field, enum values must be unique.
      * 
*/ - public com.google.cloud.datacatalog.v1.TagTemplateField renameTagTemplateFieldEnumValue( - com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest request) { + public com.google.cloud.datacatalog.v1.TagTemplateField renameTagTemplateFieldEnumValue(com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRenameTagTemplateFieldEnumValueMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a field in a tag template and all uses of this field from the tags
      * based on this template.
@@ -3411,15 +2548,12 @@ public com.google.cloud.datacatalog.v1.TagTemplateField renameTagTemplateFieldEn
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.protobuf.Empty deleteTagTemplateField( - com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest request) { + public com.google.protobuf.Empty deleteTagTemplateField(com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteTagTemplateFieldMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a tag and assigns it to:
      * * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
@@ -3433,56 +2567,44 @@ public com.google.protobuf.Empty deleteTagTemplateField(
      * used to create the tag must be in the same organization.
      * 
*/ - public com.google.cloud.datacatalog.v1.Tag createTag( - com.google.cloud.datacatalog.v1.CreateTagRequest request) { + public com.google.cloud.datacatalog.v1.Tag createTag(com.google.cloud.datacatalog.v1.CreateTagRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTagMethod(), getCallOptions(), request); } /** - * - * *
      * Updates an existing tag.
      * 
*/ - public com.google.cloud.datacatalog.v1.Tag updateTag( - com.google.cloud.datacatalog.v1.UpdateTagRequest request) { + public com.google.cloud.datacatalog.v1.Tag updateTag(com.google.cloud.datacatalog.v1.UpdateTagRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateTagMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a tag.
      * 
*/ - public com.google.protobuf.Empty deleteTag( - com.google.cloud.datacatalog.v1.DeleteTagRequest request) { + public com.google.protobuf.Empty deleteTag(com.google.cloud.datacatalog.v1.DeleteTagRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteTagMethod(), getCallOptions(), request); } /** - * - * *
      * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry].
      * The [columns][google.cloud.datacatalog.v1.Tag.column] in the response are
      * lowercased.
      * 
*/ - public com.google.cloud.datacatalog.v1.ListTagsResponse listTags( - com.google.cloud.datacatalog.v1.ListTagsRequest request) { + public com.google.cloud.datacatalog.v1.ListTagsResponse listTags(com.google.cloud.datacatalog.v1.ListTagsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListTagsMethod(), getCallOptions(), request); } /** - * - * *
      * `ReconcileTags` creates or updates a list of tags on the entry.
      * If the
@@ -3498,43 +2620,34 @@ public com.google.cloud.datacatalog.v1.ListTagsResponse listTags(
      * [google.cloud.datacatalog.v1.ReconcileTagsResponse] message.
      * 
*/ - public com.google.longrunning.Operation reconcileTags( - com.google.cloud.datacatalog.v1.ReconcileTagsRequest request) { + public com.google.longrunning.Operation reconcileTags(com.google.cloud.datacatalog.v1.ReconcileTagsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getReconcileTagsMethod(), getCallOptions(), request); } /** - * - * *
      * Marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by
      * the current user. Starring information is private to each user.
      * 
*/ - public com.google.cloud.datacatalog.v1.StarEntryResponse starEntry( - com.google.cloud.datacatalog.v1.StarEntryRequest request) { + public com.google.cloud.datacatalog.v1.StarEntryResponse starEntry(com.google.cloud.datacatalog.v1.StarEntryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getStarEntryMethod(), getCallOptions(), request); } /** - * - * *
      * Marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by
      * the current user. Starring information is private to each user.
      * 
*/ - public com.google.cloud.datacatalog.v1.UnstarEntryResponse unstarEntry( - com.google.cloud.datacatalog.v1.UnstarEntryRequest request) { + public com.google.cloud.datacatalog.v1.UnstarEntryResponse unstarEntry(com.google.cloud.datacatalog.v1.UnstarEntryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUnstarEntryMethod(), getCallOptions(), request); } /** - * - * *
      * Sets an access control policy for a resource. Replaces any existing
      * policy.
@@ -3556,8 +2669,6 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Gets the access control policy for a resource.
      * May return:
@@ -3581,8 +2692,6 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Gets your permissions on a resource.
      * Returns an empty set of permissions if the resource doesn't exist.
@@ -3595,15 +2704,12 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
      * No Google IAM permissions are required to call this method.
      * 
*/ - 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); } /** - * - * *
      * Imports entries from a source, such as data previously dumped into a
      * Cloud Storage bucket, into Data Catalog. Import of entries
@@ -3623,8 +2729,7 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(
      * message.
      * 
*/ - public com.google.longrunning.Operation importEntries( - com.google.cloud.datacatalog.v1.ImportEntriesRequest request) { + public com.google.longrunning.Operation importEntries(com.google.cloud.datacatalog.v1.ImportEntriesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getImportEntriesMethod(), getCallOptions(), request); } @@ -3632,7 +2737,6 @@ public com.google.longrunning.Operation importEntries( /** * A stub to allow clients to do ListenableFuture-style rpc calls to service DataCatalog. - * *
    * Data Catalog API service allows you to discover, understand, and manage
    * your data.
@@ -3640,7 +2744,8 @@ public com.google.longrunning.Operation importEntries(
    */
   public static final class DataCatalogFutureStub
       extends io.grpc.stub.AbstractFutureStub {
-    private DataCatalogFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private DataCatalogFutureStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -3651,8 +2756,6 @@ protected DataCatalogFutureStub build(
     }
 
     /**
-     *
-     *
      * 
      * Searches Data Catalog for multiple resources like entries and tags that
      * match a query.
@@ -3668,16 +2771,13 @@ protected DataCatalogFutureStub build(
      * (https://cloud.google.com/data-catalog/docs/how-to/search-reference).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1.SearchCatalogResponse> - searchCatalog(com.google.cloud.datacatalog.v1.SearchCatalogRequest request) { + public com.google.common.util.concurrent.ListenableFuture searchCatalog( + com.google.cloud.datacatalog.v1.SearchCatalogRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSearchCatalogMethod(), getCallOptions()), request); } /** - * - * *
      * Creates an entry group.
      * An entry group contains logically related entries together with [Cloud
@@ -3701,30 +2801,24 @@ protected DataCatalogFutureStub build(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1.EntryGroup> - createEntryGroup(com.google.cloud.datacatalog.v1.CreateEntryGroupRequest request) { + public com.google.common.util.concurrent.ListenableFuture createEntryGroup( + com.google.cloud.datacatalog.v1.CreateEntryGroupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateEntryGroupMethod(), getCallOptions()), request); } /** - * - * *
      * Gets an entry group.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1.EntryGroup> - getEntryGroup(com.google.cloud.datacatalog.v1.GetEntryGroupRequest request) { + public com.google.common.util.concurrent.ListenableFuture getEntryGroup( + com.google.cloud.datacatalog.v1.GetEntryGroupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetEntryGroupMethod(), getCallOptions()), request); } /** - * - * *
      * Updates an entry group.
      * You must enable the Data Catalog API in the project identified by
@@ -3733,16 +2827,13 @@ protected DataCatalogFutureStub build(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1.EntryGroup> - updateEntryGroup(com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateEntryGroup( + com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateEntryGroupMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes an entry group.
      * You must enable the Data Catalog API in the project
@@ -3751,29 +2842,24 @@ protected DataCatalogFutureStub build(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteEntryGroup(com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteEntryGroup( + com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteEntryGroupMethod(), getCallOptions()), request); } /** - * - * *
      * Lists entry groups.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1.ListEntryGroupsResponse> - listEntryGroups(com.google.cloud.datacatalog.v1.ListEntryGroupsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listEntryGroups( + com.google.cloud.datacatalog.v1.ListEntryGroupsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListEntryGroupsMethod(), getCallOptions()), request); } /** - * - * *
      * Creates an entry.
      * You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM',
@@ -3785,15 +2871,13 @@ protected DataCatalogFutureStub build(
      * An entry group can have a maximum of 100,000 entries.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createEntry(com.google.cloud.datacatalog.v1.CreateEntryRequest request) { + public com.google.common.util.concurrent.ListenableFuture createEntry( + com.google.cloud.datacatalog.v1.CreateEntryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateEntryMethod(), getCallOptions()), request); } /** - * - * *
      * Updates an existing entry.
      * You must enable the Data Catalog API in the project identified by
@@ -3802,15 +2886,13 @@ protected DataCatalogFutureStub build(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateEntry(com.google.cloud.datacatalog.v1.UpdateEntryRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateEntry( + com.google.cloud.datacatalog.v1.UpdateEntryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateEntryMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes an existing entry.
      * You can delete only the entries created by the
@@ -3822,42 +2904,36 @@ protected DataCatalogFutureStub build(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteEntry(com.google.cloud.datacatalog.v1.DeleteEntryRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteEntry( + com.google.cloud.datacatalog.v1.DeleteEntryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteEntryMethod(), getCallOptions()), request); } /** - * - * *
      * Gets an entry.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getEntry(com.google.cloud.datacatalog.v1.GetEntryRequest request) { + public com.google.common.util.concurrent.ListenableFuture getEntry( + com.google.cloud.datacatalog.v1.GetEntryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetEntryMethod(), getCallOptions()), request); } /** - * - * *
      * Gets an entry by its target resource name.
      * The resource name comes from the source Google Cloud Platform service.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - lookupEntry(com.google.cloud.datacatalog.v1.LookupEntryRequest request) { + public com.google.common.util.concurrent.ListenableFuture lookupEntry( + com.google.cloud.datacatalog.v1.LookupEntryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getLookupEntryMethod(), getCallOptions()), request); } /** - * - * *
      * Lists entries.
      * Note: Currently, this method can list only custom entries.
@@ -3865,16 +2941,13 @@ protected DataCatalogFutureStub build(
      * [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1.ListEntriesResponse> - listEntries(com.google.cloud.datacatalog.v1.ListEntriesRequest request) { + public com.google.common.util.concurrent.ListenableFuture listEntries( + com.google.cloud.datacatalog.v1.ListEntriesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListEntriesMethod(), getCallOptions()), request); } /** - * - * *
      * Modifies entry overview, part of the business context of an
      * [Entry][google.cloud.datacatalog.v1.Entry].
@@ -3882,16 +2955,13 @@ protected DataCatalogFutureStub build(
      * IAM permission on the corresponding project.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1.EntryOverview> - modifyEntryOverview(com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest request) { + public com.google.common.util.concurrent.ListenableFuture modifyEntryOverview( + com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getModifyEntryOverviewMethod(), getCallOptions()), request); } /** - * - * *
      * Modifies contacts, part of the business context of an
      * [Entry][google.cloud.datacatalog.v1.Entry].
@@ -3899,16 +2969,13 @@ protected DataCatalogFutureStub build(
      * IAM permission on the corresponding project.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1.Contacts> - modifyEntryContacts(com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest request) { + public com.google.common.util.concurrent.ListenableFuture modifyEntryContacts( + com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getModifyEntryContactsMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a tag template.
      * You must enable the Data Catalog API in the project identified by the
@@ -3917,30 +2984,24 @@ protected DataCatalogFutureStub build(
      * (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1.TagTemplate> - createTagTemplate(com.google.cloud.datacatalog.v1.CreateTagTemplateRequest request) { + public com.google.common.util.concurrent.ListenableFuture createTagTemplate( + com.google.cloud.datacatalog.v1.CreateTagTemplateRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateTagTemplateMethod(), getCallOptions()), request); } /** - * - * *
      * Gets a tag template.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1.TagTemplate> - getTagTemplate(com.google.cloud.datacatalog.v1.GetTagTemplateRequest request) { + public com.google.common.util.concurrent.ListenableFuture getTagTemplate( + com.google.cloud.datacatalog.v1.GetTagTemplateRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetTagTemplateMethod(), getCallOptions()), request); } /** - * - * *
      * Updates a tag template.
      * You can't update template fields with this method. These fields are
@@ -3951,16 +3012,13 @@ protected DataCatalogFutureStub build(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1.TagTemplate> - updateTagTemplate(com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateTagTemplate( + com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateTagTemplateMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a tag template and all tags that use it.
      * You must enable the Data Catalog API in the project identified by
@@ -3968,15 +3026,13 @@ protected DataCatalogFutureStub build(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteTagTemplate(com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteTagTemplate( + com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteTagTemplateMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a field in a tag template.
      * You must enable the Data Catalog API in the project identified by
@@ -3984,17 +3040,13 @@ protected DataCatalogFutureStub build(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1.TagTemplateField> - createTagTemplateField( - com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest request) { + public com.google.common.util.concurrent.ListenableFuture createTagTemplateField( + com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateTagTemplateFieldMethod(), getCallOptions()), request); } /** - * - * *
      * Updates a field in a tag template.
      * You can't update the field type with this method.
@@ -4004,17 +3056,13 @@ protected DataCatalogFutureStub build(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1.TagTemplateField> - updateTagTemplateField( - com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateTagTemplateField( + com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateTagTemplateFieldMethod(), getCallOptions()), request); } /** - * - * *
      * Renames a field in a tag template.
      * You must enable the Data Catalog API in the project identified by the
@@ -4022,34 +3070,25 @@ protected DataCatalogFutureStub build(
      * (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1.TagTemplateField> - renameTagTemplateField( - com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest request) { + public com.google.common.util.concurrent.ListenableFuture renameTagTemplateField( + com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getRenameTagTemplateFieldMethod(), getCallOptions()), request); } /** - * - * *
      * Renames an enum value in a tag template.
      * Within a single enum field, enum values must be unique.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1.TagTemplateField> - renameTagTemplateFieldEnumValue( - com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest request) { + public com.google.common.util.concurrent.ListenableFuture renameTagTemplateFieldEnumValue( + com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRenameTagTemplateFieldEnumValueMethod(), getCallOptions()), - request); + getChannel().newCall(getRenameTagTemplateFieldEnumValueMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a field in a tag template and all uses of this field from the tags
      * based on this template.
@@ -4058,16 +3097,13 @@ protected DataCatalogFutureStub build(
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteTagTemplateField( - com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteTagTemplateField( + com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteTagTemplateFieldMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a tag and assigns it to:
      * * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
@@ -4081,28 +3117,24 @@ protected DataCatalogFutureStub build(
      * used to create the tag must be in the same organization.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createTag(com.google.cloud.datacatalog.v1.CreateTagRequest request) { + public com.google.common.util.concurrent.ListenableFuture createTag( + com.google.cloud.datacatalog.v1.CreateTagRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); } /** - * - * *
      * Updates an existing tag.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateTag(com.google.cloud.datacatalog.v1.UpdateTagRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateTag( + com.google.cloud.datacatalog.v1.UpdateTagRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a tag.
      * 
@@ -4114,24 +3146,19 @@ public com.google.common.util.concurrent.ListenableFuture * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry]. * The [columns][google.cloud.datacatalog.v1.Tag.column] in the response are * lowercased. *
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1.ListTagsResponse> - listTags(com.google.cloud.datacatalog.v1.ListTagsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listTags( + com.google.cloud.datacatalog.v1.ListTagsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListTagsMethod(), getCallOptions()), request); } /** - * - * *
      * `ReconcileTags` creates or updates a list of tags on the entry.
      * If the
@@ -4147,45 +3174,37 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture
-        reconcileTags(com.google.cloud.datacatalog.v1.ReconcileTagsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture reconcileTags(
+        com.google.cloud.datacatalog.v1.ReconcileTagsRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getReconcileTagsMethod(), getCallOptions()), request);
     }
 
     /**
-     *
-     *
      * 
      * Marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by
      * the current user. Starring information is private to each user.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1.StarEntryResponse> - starEntry(com.google.cloud.datacatalog.v1.StarEntryRequest request) { + public com.google.common.util.concurrent.ListenableFuture starEntry( + com.google.cloud.datacatalog.v1.StarEntryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getStarEntryMethod(), getCallOptions()), request); } /** - * - * *
      * Marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by
      * the current user. Starring information is private to each user.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1.UnstarEntryResponse> - unstarEntry(com.google.cloud.datacatalog.v1.UnstarEntryRequest request) { + public com.google.common.util.concurrent.ListenableFuture unstarEntry( + com.google.cloud.datacatalog.v1.UnstarEntryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUnstarEntryMethod(), getCallOptions()), request); } /** - * - * *
      * Sets an access control policy for a resource. Replaces any existing
      * policy.
@@ -4201,15 +3220,13 @@ 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);
     }
 
     /**
-     *
-     *
      * 
      * Gets the access control policy for a resource.
      * May return:
@@ -4227,15 +3244,13 @@ 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);
     }
 
     /**
-     *
-     *
      * 
      * Gets your permissions on a resource.
      * Returns an empty set of permissions if the resource doesn't exist.
@@ -4248,16 +3263,13 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    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);
     }
 
     /**
-     *
-     *
      * 
      * Imports entries from a source, such as data previously dumped into a
      * Cloud Storage bucket, into Data Catalog. Import of entries
@@ -4277,8 +3289,8 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture
-        importEntries(com.google.cloud.datacatalog.v1.ImportEntriesRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture importEntries(
+        com.google.cloud.datacatalog.v1.ImportEntriesRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getImportEntriesMethod(), getCallOptions()), request);
     }
@@ -4319,11 +3331,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;
 
@@ -4337,196 +3349,139 @@ private static final class MethodHandlers
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_SEARCH_CATALOG:
-          serviceImpl.searchCatalog(
-              (com.google.cloud.datacatalog.v1.SearchCatalogRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.searchCatalog((com.google.cloud.datacatalog.v1.SearchCatalogRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_ENTRY_GROUP:
-          serviceImpl.createEntryGroup(
-              (com.google.cloud.datacatalog.v1.CreateEntryGroupRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.createEntryGroup((com.google.cloud.datacatalog.v1.CreateEntryGroupRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_ENTRY_GROUP:
-          serviceImpl.getEntryGroup(
-              (com.google.cloud.datacatalog.v1.GetEntryGroupRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.getEntryGroup((com.google.cloud.datacatalog.v1.GetEntryGroupRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UPDATE_ENTRY_GROUP:
-          serviceImpl.updateEntryGroup(
-              (com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.updateEntryGroup((com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_ENTRY_GROUP:
-          serviceImpl.deleteEntryGroup(
-              (com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest) request,
+          serviceImpl.deleteEntryGroup((com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LIST_ENTRY_GROUPS:
-          serviceImpl.listEntryGroups(
-              (com.google.cloud.datacatalog.v1.ListEntryGroupsRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.listEntryGroups((com.google.cloud.datacatalog.v1.ListEntryGroupsRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_ENTRY:
-          serviceImpl.createEntry(
-              (com.google.cloud.datacatalog.v1.CreateEntryRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.createEntry((com.google.cloud.datacatalog.v1.CreateEntryRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UPDATE_ENTRY:
-          serviceImpl.updateEntry(
-              (com.google.cloud.datacatalog.v1.UpdateEntryRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.updateEntry((com.google.cloud.datacatalog.v1.UpdateEntryRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_ENTRY:
-          serviceImpl.deleteEntry(
-              (com.google.cloud.datacatalog.v1.DeleteEntryRequest) request,
+          serviceImpl.deleteEntry((com.google.cloud.datacatalog.v1.DeleteEntryRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_ENTRY:
-          serviceImpl.getEntry(
-              (com.google.cloud.datacatalog.v1.GetEntryRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.getEntry((com.google.cloud.datacatalog.v1.GetEntryRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LOOKUP_ENTRY:
-          serviceImpl.lookupEntry(
-              (com.google.cloud.datacatalog.v1.LookupEntryRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.lookupEntry((com.google.cloud.datacatalog.v1.LookupEntryRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LIST_ENTRIES:
-          serviceImpl.listEntries(
-              (com.google.cloud.datacatalog.v1.ListEntriesRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.listEntries((com.google.cloud.datacatalog.v1.ListEntriesRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_MODIFY_ENTRY_OVERVIEW:
-          serviceImpl.modifyEntryOverview(
-              (com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.modifyEntryOverview((com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_MODIFY_ENTRY_CONTACTS:
-          serviceImpl.modifyEntryContacts(
-              (com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.modifyEntryContacts((com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_TAG_TEMPLATE:
-          serviceImpl.createTagTemplate(
-              (com.google.cloud.datacatalog.v1.CreateTagTemplateRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.createTagTemplate((com.google.cloud.datacatalog.v1.CreateTagTemplateRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_TAG_TEMPLATE:
-          serviceImpl.getTagTemplate(
-              (com.google.cloud.datacatalog.v1.GetTagTemplateRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.getTagTemplate((com.google.cloud.datacatalog.v1.GetTagTemplateRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UPDATE_TAG_TEMPLATE:
-          serviceImpl.updateTagTemplate(
-              (com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.updateTagTemplate((com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_TAG_TEMPLATE:
-          serviceImpl.deleteTagTemplate(
-              (com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest) request,
+          serviceImpl.deleteTagTemplate((com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_TAG_TEMPLATE_FIELD:
-          serviceImpl.createTagTemplateField(
-              (com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.createTagTemplateField((com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UPDATE_TAG_TEMPLATE_FIELD:
-          serviceImpl.updateTagTemplateField(
-              (com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.updateTagTemplateField((com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RENAME_TAG_TEMPLATE_FIELD:
-          serviceImpl.renameTagTemplateField(
-              (com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.renameTagTemplateField((com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RENAME_TAG_TEMPLATE_FIELD_ENUM_VALUE:
-          serviceImpl.renameTagTemplateFieldEnumValue(
-              (com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.renameTagTemplateFieldEnumValue((com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_TAG_TEMPLATE_FIELD:
-          serviceImpl.deleteTagTemplateField(
-              (com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest) request,
+          serviceImpl.deleteTagTemplateField((com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_TAG:
-          serviceImpl.createTag(
-              (com.google.cloud.datacatalog.v1.CreateTagRequest) request,
+          serviceImpl.createTag((com.google.cloud.datacatalog.v1.CreateTagRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UPDATE_TAG:
-          serviceImpl.updateTag(
-              (com.google.cloud.datacatalog.v1.UpdateTagRequest) request,
+          serviceImpl.updateTag((com.google.cloud.datacatalog.v1.UpdateTagRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_TAG:
-          serviceImpl.deleteTag(
-              (com.google.cloud.datacatalog.v1.DeleteTagRequest) request,
+          serviceImpl.deleteTag((com.google.cloud.datacatalog.v1.DeleteTagRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LIST_TAGS:
-          serviceImpl.listTags(
-              (com.google.cloud.datacatalog.v1.ListTagsRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.listTags((com.google.cloud.datacatalog.v1.ListTagsRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RECONCILE_TAGS:
-          serviceImpl.reconcileTags(
-              (com.google.cloud.datacatalog.v1.ReconcileTagsRequest) request,
+          serviceImpl.reconcileTags((com.google.cloud.datacatalog.v1.ReconcileTagsRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_STAR_ENTRY:
-          serviceImpl.starEntry(
-              (com.google.cloud.datacatalog.v1.StarEntryRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.starEntry((com.google.cloud.datacatalog.v1.StarEntryRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UNSTAR_ENTRY:
-          serviceImpl.unstarEntry(
-              (com.google.cloud.datacatalog.v1.UnstarEntryRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.unstarEntry((com.google.cloud.datacatalog.v1.UnstarEntryRequest) 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_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_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_IMPORT_ENTRIES:
-          serviceImpl.importEntries(
-              (com.google.cloud.datacatalog.v1.ImportEntriesRequest) request,
+          serviceImpl.importEntries((com.google.cloud.datacatalog.v1.ImportEntriesRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         default:
@@ -4548,230 +3503,248 @@ public io.grpc.stub.StreamObserver invoke(
   public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) {
     return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
         .addMethod(
-            getSearchCatalogMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.cloud.datacatalog.v1.SearchCatalogRequest,
-                    com.google.cloud.datacatalog.v1.SearchCatalogResponse>(
-                    service, METHODID_SEARCH_CATALOG)))
+          getSearchCatalogMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.cloud.datacatalog.v1.SearchCatalogRequest,
+              com.google.cloud.datacatalog.v1.SearchCatalogResponse>(
+                service, METHODID_SEARCH_CATALOG)))
         .addMethod(
-            getCreateEntryGroupMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.cloud.datacatalog.v1.CreateEntryGroupRequest,
-                    com.google.cloud.datacatalog.v1.EntryGroup>(
-                    service, METHODID_CREATE_ENTRY_GROUP)))
+          getCreateEntryGroupMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.cloud.datacatalog.v1.CreateEntryGroupRequest,
+              com.google.cloud.datacatalog.v1.EntryGroup>(
+                service, METHODID_CREATE_ENTRY_GROUP)))
         .addMethod(
-            getGetEntryGroupMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.cloud.datacatalog.v1.GetEntryGroupRequest,
-                    com.google.cloud.datacatalog.v1.EntryGroup>(service, METHODID_GET_ENTRY_GROUP)))
+          getGetEntryGroupMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.cloud.datacatalog.v1.GetEntryGroupRequest,
+              com.google.cloud.datacatalog.v1.EntryGroup>(
+                service, METHODID_GET_ENTRY_GROUP)))
         .addMethod(
-            getUpdateEntryGroupMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest,
-                    com.google.cloud.datacatalog.v1.EntryGroup>(
-                    service, METHODID_UPDATE_ENTRY_GROUP)))
+          getUpdateEntryGroupMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest,
+              com.google.cloud.datacatalog.v1.EntryGroup>(
+                service, METHODID_UPDATE_ENTRY_GROUP)))
         .addMethod(
-            getDeleteEntryGroupMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest,
-                    com.google.protobuf.Empty>(service, METHODID_DELETE_ENTRY_GROUP)))
+          getDeleteEntryGroupMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest,
+              com.google.protobuf.Empty>(
+                service, METHODID_DELETE_ENTRY_GROUP)))
         .addMethod(
-            getListEntryGroupsMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.cloud.datacatalog.v1.ListEntryGroupsRequest,
-                    com.google.cloud.datacatalog.v1.ListEntryGroupsResponse>(
-                    service, METHODID_LIST_ENTRY_GROUPS)))
+          getListEntryGroupsMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.cloud.datacatalog.v1.ListEntryGroupsRequest,
+              com.google.cloud.datacatalog.v1.ListEntryGroupsResponse>(
+                service, METHODID_LIST_ENTRY_GROUPS)))
         .addMethod(
-            getCreateEntryMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.cloud.datacatalog.v1.CreateEntryRequest,
-                    com.google.cloud.datacatalog.v1.Entry>(service, METHODID_CREATE_ENTRY)))
+          getCreateEntryMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.cloud.datacatalog.v1.CreateEntryRequest,
+              com.google.cloud.datacatalog.v1.Entry>(
+                service, METHODID_CREATE_ENTRY)))
         .addMethod(
-            getUpdateEntryMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.cloud.datacatalog.v1.UpdateEntryRequest,
-                    com.google.cloud.datacatalog.v1.Entry>(service, METHODID_UPDATE_ENTRY)))
+          getUpdateEntryMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.cloud.datacatalog.v1.UpdateEntryRequest,
+              com.google.cloud.datacatalog.v1.Entry>(
+                service, METHODID_UPDATE_ENTRY)))
         .addMethod(
-            getDeleteEntryMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.cloud.datacatalog.v1.DeleteEntryRequest, com.google.protobuf.Empty>(
-                    service, METHODID_DELETE_ENTRY)))
+          getDeleteEntryMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.cloud.datacatalog.v1.DeleteEntryRequest,
+              com.google.protobuf.Empty>(
+                service, METHODID_DELETE_ENTRY)))
         .addMethod(
-            getGetEntryMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.cloud.datacatalog.v1.GetEntryRequest,
-                    com.google.cloud.datacatalog.v1.Entry>(service, METHODID_GET_ENTRY)))
+          getGetEntryMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.cloud.datacatalog.v1.GetEntryRequest,
+              com.google.cloud.datacatalog.v1.Entry>(
+                service, METHODID_GET_ENTRY)))
         .addMethod(
-            getLookupEntryMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.cloud.datacatalog.v1.LookupEntryRequest,
-                    com.google.cloud.datacatalog.v1.Entry>(service, METHODID_LOOKUP_ENTRY)))
+          getLookupEntryMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.cloud.datacatalog.v1.LookupEntryRequest,
+              com.google.cloud.datacatalog.v1.Entry>(
+                service, METHODID_LOOKUP_ENTRY)))
         .addMethod(
-            getListEntriesMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.cloud.datacatalog.v1.ListEntriesRequest,
-                    com.google.cloud.datacatalog.v1.ListEntriesResponse>(
-                    service, METHODID_LIST_ENTRIES)))
+          getListEntriesMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.cloud.datacatalog.v1.ListEntriesRequest,
+              com.google.cloud.datacatalog.v1.ListEntriesResponse>(
+                service, METHODID_LIST_ENTRIES)))
         .addMethod(
-            getModifyEntryOverviewMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest,
-                    com.google.cloud.datacatalog.v1.EntryOverview>(
-                    service, METHODID_MODIFY_ENTRY_OVERVIEW)))
+          getModifyEntryOverviewMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest,
+              com.google.cloud.datacatalog.v1.EntryOverview>(
+                service, METHODID_MODIFY_ENTRY_OVERVIEW)))
         .addMethod(
-            getModifyEntryContactsMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest,
-                    com.google.cloud.datacatalog.v1.Contacts>(
-                    service, METHODID_MODIFY_ENTRY_CONTACTS)))
+          getModifyEntryContactsMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest,
+              com.google.cloud.datacatalog.v1.Contacts>(
+                service, METHODID_MODIFY_ENTRY_CONTACTS)))
         .addMethod(
-            getCreateTagTemplateMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.cloud.datacatalog.v1.CreateTagTemplateRequest,
-                    com.google.cloud.datacatalog.v1.TagTemplate>(
-                    service, METHODID_CREATE_TAG_TEMPLATE)))
+          getCreateTagTemplateMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.cloud.datacatalog.v1.CreateTagTemplateRequest,
+              com.google.cloud.datacatalog.v1.TagTemplate>(
+                service, METHODID_CREATE_TAG_TEMPLATE)))
         .addMethod(
-            getGetTagTemplateMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.cloud.datacatalog.v1.GetTagTemplateRequest,
-                    com.google.cloud.datacatalog.v1.TagTemplate>(
-                    service, METHODID_GET_TAG_TEMPLATE)))
+          getGetTagTemplateMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.cloud.datacatalog.v1.GetTagTemplateRequest,
+              com.google.cloud.datacatalog.v1.TagTemplate>(
+                service, METHODID_GET_TAG_TEMPLATE)))
         .addMethod(
-            getUpdateTagTemplateMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest,
-                    com.google.cloud.datacatalog.v1.TagTemplate>(
-                    service, METHODID_UPDATE_TAG_TEMPLATE)))
+          getUpdateTagTemplateMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest,
+              com.google.cloud.datacatalog.v1.TagTemplate>(
+                service, METHODID_UPDATE_TAG_TEMPLATE)))
         .addMethod(
-            getDeleteTagTemplateMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest,
-                    com.google.protobuf.Empty>(service, METHODID_DELETE_TAG_TEMPLATE)))
+          getDeleteTagTemplateMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest,
+              com.google.protobuf.Empty>(
+                service, METHODID_DELETE_TAG_TEMPLATE)))
         .addMethod(
-            getCreateTagTemplateFieldMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest,
-                    com.google.cloud.datacatalog.v1.TagTemplateField>(
-                    service, METHODID_CREATE_TAG_TEMPLATE_FIELD)))
+          getCreateTagTemplateFieldMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest,
+              com.google.cloud.datacatalog.v1.TagTemplateField>(
+                service, METHODID_CREATE_TAG_TEMPLATE_FIELD)))
         .addMethod(
-            getUpdateTagTemplateFieldMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest,
-                    com.google.cloud.datacatalog.v1.TagTemplateField>(
-                    service, METHODID_UPDATE_TAG_TEMPLATE_FIELD)))
+          getUpdateTagTemplateFieldMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest,
+              com.google.cloud.datacatalog.v1.TagTemplateField>(
+                service, METHODID_UPDATE_TAG_TEMPLATE_FIELD)))
         .addMethod(
-            getRenameTagTemplateFieldMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest,
-                    com.google.cloud.datacatalog.v1.TagTemplateField>(
-                    service, METHODID_RENAME_TAG_TEMPLATE_FIELD)))
+          getRenameTagTemplateFieldMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest,
+              com.google.cloud.datacatalog.v1.TagTemplateField>(
+                service, METHODID_RENAME_TAG_TEMPLATE_FIELD)))
         .addMethod(
-            getRenameTagTemplateFieldEnumValueMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest,
-                    com.google.cloud.datacatalog.v1.TagTemplateField>(
-                    service, METHODID_RENAME_TAG_TEMPLATE_FIELD_ENUM_VALUE)))
+          getRenameTagTemplateFieldEnumValueMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest,
+              com.google.cloud.datacatalog.v1.TagTemplateField>(
+                service, METHODID_RENAME_TAG_TEMPLATE_FIELD_ENUM_VALUE)))
         .addMethod(
-            getDeleteTagTemplateFieldMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest,
-                    com.google.protobuf.Empty>(service, METHODID_DELETE_TAG_TEMPLATE_FIELD)))
+          getDeleteTagTemplateFieldMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest,
+              com.google.protobuf.Empty>(
+                service, METHODID_DELETE_TAG_TEMPLATE_FIELD)))
         .addMethod(
-            getCreateTagMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.cloud.datacatalog.v1.CreateTagRequest,
-                    com.google.cloud.datacatalog.v1.Tag>(service, METHODID_CREATE_TAG)))
+          getCreateTagMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.cloud.datacatalog.v1.CreateTagRequest,
+              com.google.cloud.datacatalog.v1.Tag>(
+                service, METHODID_CREATE_TAG)))
         .addMethod(
-            getUpdateTagMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.cloud.datacatalog.v1.UpdateTagRequest,
-                    com.google.cloud.datacatalog.v1.Tag>(service, METHODID_UPDATE_TAG)))
+          getUpdateTagMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.cloud.datacatalog.v1.UpdateTagRequest,
+              com.google.cloud.datacatalog.v1.Tag>(
+                service, METHODID_UPDATE_TAG)))
         .addMethod(
-            getDeleteTagMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.cloud.datacatalog.v1.DeleteTagRequest, com.google.protobuf.Empty>(
-                    service, METHODID_DELETE_TAG)))
+          getDeleteTagMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.cloud.datacatalog.v1.DeleteTagRequest,
+              com.google.protobuf.Empty>(
+                service, METHODID_DELETE_TAG)))
         .addMethod(
-            getListTagsMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.cloud.datacatalog.v1.ListTagsRequest,
-                    com.google.cloud.datacatalog.v1.ListTagsResponse>(service, METHODID_LIST_TAGS)))
+          getListTagsMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.cloud.datacatalog.v1.ListTagsRequest,
+              com.google.cloud.datacatalog.v1.ListTagsResponse>(
+                service, METHODID_LIST_TAGS)))
         .addMethod(
-            getReconcileTagsMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.cloud.datacatalog.v1.ReconcileTagsRequest,
-                    com.google.longrunning.Operation>(service, METHODID_RECONCILE_TAGS)))
+          getReconcileTagsMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.cloud.datacatalog.v1.ReconcileTagsRequest,
+              com.google.longrunning.Operation>(
+                service, METHODID_RECONCILE_TAGS)))
         .addMethod(
-            getStarEntryMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.cloud.datacatalog.v1.StarEntryRequest,
-                    com.google.cloud.datacatalog.v1.StarEntryResponse>(
-                    service, METHODID_STAR_ENTRY)))
+          getStarEntryMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.cloud.datacatalog.v1.StarEntryRequest,
+              com.google.cloud.datacatalog.v1.StarEntryResponse>(
+                service, METHODID_STAR_ENTRY)))
         .addMethod(
-            getUnstarEntryMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.cloud.datacatalog.v1.UnstarEntryRequest,
-                    com.google.cloud.datacatalog.v1.UnstarEntryResponse>(
-                    service, METHODID_UNSTAR_ENTRY)))
+          getUnstarEntryMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.cloud.datacatalog.v1.UnstarEntryRequest,
+              com.google.cloud.datacatalog.v1.UnstarEntryResponse>(
+                service, METHODID_UNSTAR_ENTRY)))
         .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(
-            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(
-            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(
-            getImportEntriesMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.cloud.datacatalog.v1.ImportEntriesRequest,
-                    com.google.longrunning.Operation>(service, METHODID_IMPORT_ENTRIES)))
+          getImportEntriesMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.cloud.datacatalog.v1.ImportEntriesRequest,
+              com.google.longrunning.Operation>(
+                service, METHODID_IMPORT_ENTRIES)))
         .build();
   }
 
-  private abstract static class DataCatalogBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
-          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private static abstract class DataCatalogBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     DataCatalogBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -4813,45 +3786,43 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (DataCatalogGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor =
-              result =
-                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-                      .setSchemaDescriptor(new DataCatalogFileDescriptorSupplier())
-                      .addMethod(getSearchCatalogMethod())
-                      .addMethod(getCreateEntryGroupMethod())
-                      .addMethod(getGetEntryGroupMethod())
-                      .addMethod(getUpdateEntryGroupMethod())
-                      .addMethod(getDeleteEntryGroupMethod())
-                      .addMethod(getListEntryGroupsMethod())
-                      .addMethod(getCreateEntryMethod())
-                      .addMethod(getUpdateEntryMethod())
-                      .addMethod(getDeleteEntryMethod())
-                      .addMethod(getGetEntryMethod())
-                      .addMethod(getLookupEntryMethod())
-                      .addMethod(getListEntriesMethod())
-                      .addMethod(getModifyEntryOverviewMethod())
-                      .addMethod(getModifyEntryContactsMethod())
-                      .addMethod(getCreateTagTemplateMethod())
-                      .addMethod(getGetTagTemplateMethod())
-                      .addMethod(getUpdateTagTemplateMethod())
-                      .addMethod(getDeleteTagTemplateMethod())
-                      .addMethod(getCreateTagTemplateFieldMethod())
-                      .addMethod(getUpdateTagTemplateFieldMethod())
-                      .addMethod(getRenameTagTemplateFieldMethod())
-                      .addMethod(getRenameTagTemplateFieldEnumValueMethod())
-                      .addMethod(getDeleteTagTemplateFieldMethod())
-                      .addMethod(getCreateTagMethod())
-                      .addMethod(getUpdateTagMethod())
-                      .addMethod(getDeleteTagMethod())
-                      .addMethod(getListTagsMethod())
-                      .addMethod(getReconcileTagsMethod())
-                      .addMethod(getStarEntryMethod())
-                      .addMethod(getUnstarEntryMethod())
-                      .addMethod(getSetIamPolicyMethod())
-                      .addMethod(getGetIamPolicyMethod())
-                      .addMethod(getTestIamPermissionsMethod())
-                      .addMethod(getImportEntriesMethod())
-                      .build();
+          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+              .setSchemaDescriptor(new DataCatalogFileDescriptorSupplier())
+              .addMethod(getSearchCatalogMethod())
+              .addMethod(getCreateEntryGroupMethod())
+              .addMethod(getGetEntryGroupMethod())
+              .addMethod(getUpdateEntryGroupMethod())
+              .addMethod(getDeleteEntryGroupMethod())
+              .addMethod(getListEntryGroupsMethod())
+              .addMethod(getCreateEntryMethod())
+              .addMethod(getUpdateEntryMethod())
+              .addMethod(getDeleteEntryMethod())
+              .addMethod(getGetEntryMethod())
+              .addMethod(getLookupEntryMethod())
+              .addMethod(getListEntriesMethod())
+              .addMethod(getModifyEntryOverviewMethod())
+              .addMethod(getModifyEntryContactsMethod())
+              .addMethod(getCreateTagTemplateMethod())
+              .addMethod(getGetTagTemplateMethod())
+              .addMethod(getUpdateTagTemplateMethod())
+              .addMethod(getDeleteTagTemplateMethod())
+              .addMethod(getCreateTagTemplateFieldMethod())
+              .addMethod(getUpdateTagTemplateFieldMethod())
+              .addMethod(getRenameTagTemplateFieldMethod())
+              .addMethod(getRenameTagTemplateFieldEnumValueMethod())
+              .addMethod(getDeleteTagTemplateFieldMethod())
+              .addMethod(getCreateTagMethod())
+              .addMethod(getUpdateTagMethod())
+              .addMethod(getDeleteTagMethod())
+              .addMethod(getListTagsMethod())
+              .addMethod(getReconcileTagsMethod())
+              .addMethod(getStarEntryMethod())
+              .addMethod(getUnstarEntryMethod())
+              .addMethod(getSetIamPolicyMethod())
+              .addMethod(getGetIamPolicyMethod())
+              .addMethod(getTestIamPermissionsMethod())
+              .addMethod(getImportEntriesMethod())
+              .build();
         }
       }
     }
diff --git a/owl-bot-staging/java-datacatalog/v1/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java b/owl-bot-staging/java-datacatalog/v1/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java
new file mode 100644
index 000000000000..187af8eef65d
--- /dev/null
+++ b/owl-bot-staging/java-datacatalog/v1/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java
@@ -0,0 +1,1423 @@
+package com.google.cloud.datacatalog.v1;
+
+import static io.grpc.MethodDescriptor.generateFullMethodName;
+
+/**
+ * 
+ * Policy Tag Manager API service allows you to manage your policy tags and
+ * taxonomies.
+ * Policy tags are used to tag BigQuery columns and apply additional access
+ * control policies. A taxonomy is a hierarchical grouping of policy tags that
+ * classify data along a common axis.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/datacatalog/v1/policytagmanager.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class PolicyTagManagerGrpc { + + private PolicyTagManagerGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.datacatalog.v1.PolicyTagManager"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateTaxonomyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTaxonomy", + requestType = com.google.cloud.datacatalog.v1.CreateTaxonomyRequest.class, + responseType = com.google.cloud.datacatalog.v1.Taxonomy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateTaxonomyMethod() { + io.grpc.MethodDescriptor getCreateTaxonomyMethod; + if ((getCreateTaxonomyMethod = PolicyTagManagerGrpc.getCreateTaxonomyMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getCreateTaxonomyMethod = PolicyTagManagerGrpc.getCreateTaxonomyMethod) == null) { + PolicyTagManagerGrpc.getCreateTaxonomyMethod = getCreateTaxonomyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTaxonomy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.CreateTaxonomyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance())) + .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("CreateTaxonomy")) + .build(); + } + } + } + return getCreateTaxonomyMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteTaxonomyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTaxonomy", + requestType = com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteTaxonomyMethod() { + io.grpc.MethodDescriptor getDeleteTaxonomyMethod; + if ((getDeleteTaxonomyMethod = PolicyTagManagerGrpc.getDeleteTaxonomyMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getDeleteTaxonomyMethod = PolicyTagManagerGrpc.getDeleteTaxonomyMethod) == null) { + PolicyTagManagerGrpc.getDeleteTaxonomyMethod = getDeleteTaxonomyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTaxonomy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("DeleteTaxonomy")) + .build(); + } + } + } + return getDeleteTaxonomyMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateTaxonomyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTaxonomy", + requestType = com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest.class, + responseType = com.google.cloud.datacatalog.v1.Taxonomy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateTaxonomyMethod() { + io.grpc.MethodDescriptor getUpdateTaxonomyMethod; + if ((getUpdateTaxonomyMethod = PolicyTagManagerGrpc.getUpdateTaxonomyMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getUpdateTaxonomyMethod = PolicyTagManagerGrpc.getUpdateTaxonomyMethod) == null) { + PolicyTagManagerGrpc.getUpdateTaxonomyMethod = getUpdateTaxonomyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTaxonomy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance())) + .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("UpdateTaxonomy")) + .build(); + } + } + } + return getUpdateTaxonomyMethod; + } + + private static volatile io.grpc.MethodDescriptor getListTaxonomiesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTaxonomies", + requestType = com.google.cloud.datacatalog.v1.ListTaxonomiesRequest.class, + responseType = com.google.cloud.datacatalog.v1.ListTaxonomiesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListTaxonomiesMethod() { + io.grpc.MethodDescriptor getListTaxonomiesMethod; + if ((getListTaxonomiesMethod = PolicyTagManagerGrpc.getListTaxonomiesMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getListTaxonomiesMethod = PolicyTagManagerGrpc.getListTaxonomiesMethod) == null) { + PolicyTagManagerGrpc.getListTaxonomiesMethod = getListTaxonomiesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTaxonomies")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.ListTaxonomiesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.ListTaxonomiesResponse.getDefaultInstance())) + .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("ListTaxonomies")) + .build(); + } + } + } + return getListTaxonomiesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetTaxonomyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTaxonomy", + requestType = com.google.cloud.datacatalog.v1.GetTaxonomyRequest.class, + responseType = com.google.cloud.datacatalog.v1.Taxonomy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetTaxonomyMethod() { + io.grpc.MethodDescriptor getGetTaxonomyMethod; + if ((getGetTaxonomyMethod = PolicyTagManagerGrpc.getGetTaxonomyMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getGetTaxonomyMethod = PolicyTagManagerGrpc.getGetTaxonomyMethod) == null) { + PolicyTagManagerGrpc.getGetTaxonomyMethod = getGetTaxonomyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTaxonomy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.GetTaxonomyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance())) + .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("GetTaxonomy")) + .build(); + } + } + } + return getGetTaxonomyMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreatePolicyTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreatePolicyTag", + requestType = com.google.cloud.datacatalog.v1.CreatePolicyTagRequest.class, + responseType = com.google.cloud.datacatalog.v1.PolicyTag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreatePolicyTagMethod() { + io.grpc.MethodDescriptor getCreatePolicyTagMethod; + if ((getCreatePolicyTagMethod = PolicyTagManagerGrpc.getCreatePolicyTagMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getCreatePolicyTagMethod = PolicyTagManagerGrpc.getCreatePolicyTagMethod) == null) { + PolicyTagManagerGrpc.getCreatePolicyTagMethod = getCreatePolicyTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreatePolicyTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.CreatePolicyTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance())) + .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("CreatePolicyTag")) + .build(); + } + } + } + return getCreatePolicyTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeletePolicyTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePolicyTag", + requestType = com.google.cloud.datacatalog.v1.DeletePolicyTagRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeletePolicyTagMethod() { + io.grpc.MethodDescriptor getDeletePolicyTagMethod; + if ((getDeletePolicyTagMethod = PolicyTagManagerGrpc.getDeletePolicyTagMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getDeletePolicyTagMethod = PolicyTagManagerGrpc.getDeletePolicyTagMethod) == null) { + PolicyTagManagerGrpc.getDeletePolicyTagMethod = getDeletePolicyTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePolicyTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.DeletePolicyTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("DeletePolicyTag")) + .build(); + } + } + } + return getDeletePolicyTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdatePolicyTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdatePolicyTag", + requestType = com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest.class, + responseType = com.google.cloud.datacatalog.v1.PolicyTag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdatePolicyTagMethod() { + io.grpc.MethodDescriptor getUpdatePolicyTagMethod; + if ((getUpdatePolicyTagMethod = PolicyTagManagerGrpc.getUpdatePolicyTagMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getUpdatePolicyTagMethod = PolicyTagManagerGrpc.getUpdatePolicyTagMethod) == null) { + PolicyTagManagerGrpc.getUpdatePolicyTagMethod = getUpdatePolicyTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdatePolicyTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance())) + .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("UpdatePolicyTag")) + .build(); + } + } + } + return getUpdatePolicyTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getListPolicyTagsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPolicyTags", + requestType = com.google.cloud.datacatalog.v1.ListPolicyTagsRequest.class, + responseType = com.google.cloud.datacatalog.v1.ListPolicyTagsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListPolicyTagsMethod() { + io.grpc.MethodDescriptor getListPolicyTagsMethod; + if ((getListPolicyTagsMethod = PolicyTagManagerGrpc.getListPolicyTagsMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getListPolicyTagsMethod = PolicyTagManagerGrpc.getListPolicyTagsMethod) == null) { + PolicyTagManagerGrpc.getListPolicyTagsMethod = getListPolicyTagsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPolicyTags")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.ListPolicyTagsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.ListPolicyTagsResponse.getDefaultInstance())) + .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("ListPolicyTags")) + .build(); + } + } + } + return getListPolicyTagsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetPolicyTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPolicyTag", + requestType = com.google.cloud.datacatalog.v1.GetPolicyTagRequest.class, + responseType = com.google.cloud.datacatalog.v1.PolicyTag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetPolicyTagMethod() { + io.grpc.MethodDescriptor getGetPolicyTagMethod; + if ((getGetPolicyTagMethod = PolicyTagManagerGrpc.getGetPolicyTagMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getGetPolicyTagMethod = PolicyTagManagerGrpc.getGetPolicyTagMethod) == null) { + PolicyTagManagerGrpc.getGetPolicyTagMethod = getGetPolicyTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPolicyTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.GetPolicyTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance())) + .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("GetPolicyTag")) + .build(); + } + } + } + return getGetPolicyTagMethod; + } + + 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 getGetIamPolicyMethod() { + io.grpc.MethodDescriptor getGetIamPolicyMethod; + if ((getGetIamPolicyMethod = PolicyTagManagerGrpc.getGetIamPolicyMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getGetIamPolicyMethod = PolicyTagManagerGrpc.getGetIamPolicyMethod) == null) { + PolicyTagManagerGrpc.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 PolicyTagManagerMethodDescriptorSupplier("GetIamPolicy")) + .build(); + } + } + } + return getGetIamPolicyMethod; + } + + 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 getSetIamPolicyMethod() { + io.grpc.MethodDescriptor getSetIamPolicyMethod; + if ((getSetIamPolicyMethod = PolicyTagManagerGrpc.getSetIamPolicyMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getSetIamPolicyMethod = PolicyTagManagerGrpc.getSetIamPolicyMethod) == null) { + PolicyTagManagerGrpc.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 PolicyTagManagerMethodDescriptorSupplier("SetIamPolicy")) + .build(); + } + } + } + return getSetIamPolicyMethod; + } + + 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 getTestIamPermissionsMethod() { + io.grpc.MethodDescriptor getTestIamPermissionsMethod; + if ((getTestIamPermissionsMethod = PolicyTagManagerGrpc.getTestIamPermissionsMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getTestIamPermissionsMethod = PolicyTagManagerGrpc.getTestIamPermissionsMethod) == null) { + PolicyTagManagerGrpc.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 PolicyTagManagerMethodDescriptorSupplier("TestIamPermissions")) + .build(); + } + } + } + return getTestIamPermissionsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static PolicyTagManagerStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public PolicyTagManagerStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PolicyTagManagerStub(channel, callOptions); + } + }; + return PolicyTagManagerStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static PolicyTagManagerBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public PolicyTagManagerBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PolicyTagManagerBlockingStub(channel, callOptions); + } + }; + return PolicyTagManagerBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static PolicyTagManagerFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public PolicyTagManagerFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PolicyTagManagerFutureStub(channel, callOptions); + } + }; + return PolicyTagManagerFutureStub.newStub(factory, channel); + } + + /** + *
+   * Policy Tag Manager API service allows you to manage your policy tags and
+   * taxonomies.
+   * Policy tags are used to tag BigQuery columns and apply additional access
+   * control policies. A taxonomy is a hierarchical grouping of policy tags that
+   * classify data along a common axis.
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * Creates a taxonomy in a specified project.
+     * The taxonomy is initially empty, that is, it doesn't contain policy tags.
+     * 
+ */ + default void createTaxonomy(com.google.cloud.datacatalog.v1.CreateTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTaxonomyMethod(), responseObserver); + } + + /** + *
+     * Deletes a taxonomy, including all policy tags in this
+     * taxonomy, their associated policies, and the policy tags references from
+     * BigQuery columns.
+     * 
+ */ + default void deleteTaxonomy(com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTaxonomyMethod(), responseObserver); + } + + /** + *
+     * Updates a taxonomy, including its display name,
+     * description, and activated policy types.
+     * 
+ */ + default void updateTaxonomy(com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTaxonomyMethod(), responseObserver); + } + + /** + *
+     * Lists all taxonomies in a project in a particular location that you
+     * have a permission to view.
+     * 
+ */ + default void listTaxonomies(com.google.cloud.datacatalog.v1.ListTaxonomiesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTaxonomiesMethod(), responseObserver); + } + + /** + *
+     * Gets a taxonomy.
+     * 
+ */ + default void getTaxonomy(com.google.cloud.datacatalog.v1.GetTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTaxonomyMethod(), responseObserver); + } + + /** + *
+     * Creates a policy tag in a taxonomy.
+     * 
+ */ + default void createPolicyTag(com.google.cloud.datacatalog.v1.CreatePolicyTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreatePolicyTagMethod(), responseObserver); + } + + /** + *
+     * Deletes a policy tag together with the following:
+     * * All of its descendant policy tags, if any
+     * * Policies associated with the policy tag and its descendants
+     * * References from BigQuery table schema of the policy tag and its
+     *   descendants
+     * 
+ */ + default void deletePolicyTag(com.google.cloud.datacatalog.v1.DeletePolicyTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePolicyTagMethod(), responseObserver); + } + + /** + *
+     * Updates a policy tag, including its display
+     * name, description, and parent policy tag.
+     * 
+ */ + default void updatePolicyTag(com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdatePolicyTagMethod(), responseObserver); + } + + /** + *
+     * Lists all policy tags in a taxonomy.
+     * 
+ */ + default void listPolicyTags(com.google.cloud.datacatalog.v1.ListPolicyTagsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPolicyTagsMethod(), responseObserver); + } + + /** + *
+     * Gets a policy tag.
+     * 
+ */ + default void getPolicyTag(com.google.cloud.datacatalog.v1.GetPolicyTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPolicyTagMethod(), responseObserver); + } + + /** + *
+     * Gets the IAM policy for a policy tag or a taxonomy.
+     * 
+ */ + default void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Sets the IAM policy for a policy tag or a taxonomy.
+     * 
+ */ + default void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Returns your permissions on a specified policy tag or
+     * taxonomy.
+     * 
+ */ + default void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service PolicyTagManager. + *
+   * Policy Tag Manager API service allows you to manage your policy tags and
+   * taxonomies.
+   * Policy tags are used to tag BigQuery columns and apply additional access
+   * control policies. A taxonomy is a hierarchical grouping of policy tags that
+   * classify data along a common axis.
+   * 
+ */ + public static abstract class PolicyTagManagerImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return PolicyTagManagerGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service PolicyTagManager. + *
+   * Policy Tag Manager API service allows you to manage your policy tags and
+   * taxonomies.
+   * Policy tags are used to tag BigQuery columns and apply additional access
+   * control policies. A taxonomy is a hierarchical grouping of policy tags that
+   * classify data along a common axis.
+   * 
+ */ + public static final class PolicyTagManagerStub + extends io.grpc.stub.AbstractAsyncStub { + private PolicyTagManagerStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected PolicyTagManagerStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PolicyTagManagerStub(channel, callOptions); + } + + /** + *
+     * Creates a taxonomy in a specified project.
+     * The taxonomy is initially empty, that is, it doesn't contain policy tags.
+     * 
+ */ + public void createTaxonomy(com.google.cloud.datacatalog.v1.CreateTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTaxonomyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a taxonomy, including all policy tags in this
+     * taxonomy, their associated policies, and the policy tags references from
+     * BigQuery columns.
+     * 
+ */ + public void deleteTaxonomy(com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTaxonomyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a taxonomy, including its display name,
+     * description, and activated policy types.
+     * 
+ */ + public void updateTaxonomy(com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTaxonomyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all taxonomies in a project in a particular location that you
+     * have a permission to view.
+     * 
+ */ + public void listTaxonomies(com.google.cloud.datacatalog.v1.ListTaxonomiesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTaxonomiesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a taxonomy.
+     * 
+ */ + public void getTaxonomy(com.google.cloud.datacatalog.v1.GetTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTaxonomyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a policy tag in a taxonomy.
+     * 
+ */ + public void createPolicyTag(com.google.cloud.datacatalog.v1.CreatePolicyTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreatePolicyTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a policy tag together with the following:
+     * * All of its descendant policy tags, if any
+     * * Policies associated with the policy tag and its descendants
+     * * References from BigQuery table schema of the policy tag and its
+     *   descendants
+     * 
+ */ + public void deletePolicyTag(com.google.cloud.datacatalog.v1.DeletePolicyTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePolicyTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a policy tag, including its display
+     * name, description, and parent policy tag.
+     * 
+ */ + public void updatePolicyTag(com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdatePolicyTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all policy tags in a taxonomy.
+     * 
+ */ + public void listPolicyTags(com.google.cloud.datacatalog.v1.ListPolicyTagsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPolicyTagsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a policy tag.
+     * 
+ */ + public void getPolicyTag(com.google.cloud.datacatalog.v1.GetPolicyTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPolicyTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the IAM policy for a policy tag or a taxonomy.
+     * 
+ */ + 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); + } + + /** + *
+     * Sets the IAM policy for a policy tag or a taxonomy.
+     * 
+ */ + 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); + } + + /** + *
+     * Returns your permissions on a specified policy tag or
+     * taxonomy.
+     * 
+ */ + 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); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service PolicyTagManager. + *
+   * Policy Tag Manager API service allows you to manage your policy tags and
+   * taxonomies.
+   * Policy tags are used to tag BigQuery columns and apply additional access
+   * control policies. A taxonomy is a hierarchical grouping of policy tags that
+   * classify data along a common axis.
+   * 
+ */ + public static final class PolicyTagManagerBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private PolicyTagManagerBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected PolicyTagManagerBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PolicyTagManagerBlockingStub(channel, callOptions); + } + + /** + *
+     * Creates a taxonomy in a specified project.
+     * The taxonomy is initially empty, that is, it doesn't contain policy tags.
+     * 
+ */ + public com.google.cloud.datacatalog.v1.Taxonomy createTaxonomy(com.google.cloud.datacatalog.v1.CreateTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTaxonomyMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a taxonomy, including all policy tags in this
+     * taxonomy, their associated policies, and the policy tags references from
+     * BigQuery columns.
+     * 
+ */ + public com.google.protobuf.Empty deleteTaxonomy(com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTaxonomyMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a taxonomy, including its display name,
+     * description, and activated policy types.
+     * 
+ */ + public com.google.cloud.datacatalog.v1.Taxonomy updateTaxonomy(com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTaxonomyMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all taxonomies in a project in a particular location that you
+     * have a permission to view.
+     * 
+ */ + public com.google.cloud.datacatalog.v1.ListTaxonomiesResponse listTaxonomies(com.google.cloud.datacatalog.v1.ListTaxonomiesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTaxonomiesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a taxonomy.
+     * 
+ */ + public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomy(com.google.cloud.datacatalog.v1.GetTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTaxonomyMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a policy tag in a taxonomy.
+     * 
+ */ + public com.google.cloud.datacatalog.v1.PolicyTag createPolicyTag(com.google.cloud.datacatalog.v1.CreatePolicyTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreatePolicyTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a policy tag together with the following:
+     * * All of its descendant policy tags, if any
+     * * Policies associated with the policy tag and its descendants
+     * * References from BigQuery table schema of the policy tag and its
+     *   descendants
+     * 
+ */ + public com.google.protobuf.Empty deletePolicyTag(com.google.cloud.datacatalog.v1.DeletePolicyTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePolicyTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a policy tag, including its display
+     * name, description, and parent policy tag.
+     * 
+ */ + public com.google.cloud.datacatalog.v1.PolicyTag updatePolicyTag(com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdatePolicyTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all policy tags in a taxonomy.
+     * 
+ */ + public com.google.cloud.datacatalog.v1.ListPolicyTagsResponse listPolicyTags(com.google.cloud.datacatalog.v1.ListPolicyTagsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPolicyTagsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a policy tag.
+     * 
+ */ + public com.google.cloud.datacatalog.v1.PolicyTag getPolicyTag(com.google.cloud.datacatalog.v1.GetPolicyTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPolicyTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the IAM policy for a policy tag or a taxonomy.
+     * 
+ */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Sets the IAM policy for a policy tag or a taxonomy.
+     * 
+ */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns your permissions on a specified policy tag or
+     * taxonomy.
+     * 
+ */ + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service PolicyTagManager. + *
+   * Policy Tag Manager API service allows you to manage your policy tags and
+   * taxonomies.
+   * Policy tags are used to tag BigQuery columns and apply additional access
+   * control policies. A taxonomy is a hierarchical grouping of policy tags that
+   * classify data along a common axis.
+   * 
+ */ + public static final class PolicyTagManagerFutureStub + extends io.grpc.stub.AbstractFutureStub { + private PolicyTagManagerFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected PolicyTagManagerFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PolicyTagManagerFutureStub(channel, callOptions); + } + + /** + *
+     * Creates a taxonomy in a specified project.
+     * The taxonomy is initially empty, that is, it doesn't contain policy tags.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createTaxonomy( + com.google.cloud.datacatalog.v1.CreateTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTaxonomyMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a taxonomy, including all policy tags in this
+     * taxonomy, their associated policies, and the policy tags references from
+     * BigQuery columns.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTaxonomy( + com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTaxonomyMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a taxonomy, including its display name,
+     * description, and activated policy types.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateTaxonomy( + com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTaxonomyMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all taxonomies in a project in a particular location that you
+     * have a permission to view.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listTaxonomies( + com.google.cloud.datacatalog.v1.ListTaxonomiesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTaxonomiesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a taxonomy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getTaxonomy( + com.google.cloud.datacatalog.v1.GetTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTaxonomyMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a policy tag in a taxonomy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createPolicyTag( + com.google.cloud.datacatalog.v1.CreatePolicyTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreatePolicyTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a policy tag together with the following:
+     * * All of its descendant policy tags, if any
+     * * Policies associated with the policy tag and its descendants
+     * * References from BigQuery table schema of the policy tag and its
+     *   descendants
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deletePolicyTag( + com.google.cloud.datacatalog.v1.DeletePolicyTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePolicyTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a policy tag, including its display
+     * name, description, and parent policy tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updatePolicyTag( + com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdatePolicyTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all policy tags in a taxonomy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listPolicyTags( + com.google.cloud.datacatalog.v1.ListPolicyTagsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPolicyTagsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a policy tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getPolicyTag( + com.google.cloud.datacatalog.v1.GetPolicyTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPolicyTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the IAM policy for a policy tag or a taxonomy.
+     * 
+ */ + 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 IAM policy for a policy tag or a taxonomy.
+     * 
+ */ + 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 your permissions on a specified policy tag or
+     * taxonomy.
+     * 
+ */ + 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); + } + } + + private static final int METHODID_CREATE_TAXONOMY = 0; + private static final int METHODID_DELETE_TAXONOMY = 1; + private static final int METHODID_UPDATE_TAXONOMY = 2; + private static final int METHODID_LIST_TAXONOMIES = 3; + private static final int METHODID_GET_TAXONOMY = 4; + private static final int METHODID_CREATE_POLICY_TAG = 5; + private static final int METHODID_DELETE_POLICY_TAG = 6; + private static final int METHODID_UPDATE_POLICY_TAG = 7; + private static final int METHODID_LIST_POLICY_TAGS = 8; + private static final int METHODID_GET_POLICY_TAG = 9; + private static final int METHODID_GET_IAM_POLICY = 10; + private static final int METHODID_SET_IAM_POLICY = 11; + private static final int METHODID_TEST_IAM_PERMISSIONS = 12; + + 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_TAXONOMY: + serviceImpl.createTaxonomy((com.google.cloud.datacatalog.v1.CreateTaxonomyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_TAXONOMY: + serviceImpl.deleteTaxonomy((com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_TAXONOMY: + serviceImpl.updateTaxonomy((com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TAXONOMIES: + serviceImpl.listTaxonomies((com.google.cloud.datacatalog.v1.ListTaxonomiesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_TAXONOMY: + serviceImpl.getTaxonomy((com.google.cloud.datacatalog.v1.GetTaxonomyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_POLICY_TAG: + serviceImpl.createPolicyTag((com.google.cloud.datacatalog.v1.CreatePolicyTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_POLICY_TAG: + serviceImpl.deletePolicyTag((com.google.cloud.datacatalog.v1.DeletePolicyTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_POLICY_TAG: + serviceImpl.updatePolicyTag((com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_POLICY_TAGS: + serviceImpl.listPolicyTags((com.google.cloud.datacatalog.v1.ListPolicyTagsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_POLICY_TAG: + serviceImpl.getPolicyTag((com.google.cloud.datacatalog.v1.GetPolicyTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_IAM_POLICY: + 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, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TEST_IAM_PERMISSIONS: + serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) 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( + getCreateTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.CreateTaxonomyRequest, + com.google.cloud.datacatalog.v1.Taxonomy>( + service, METHODID_CREATE_TAXONOMY))) + .addMethod( + getDeleteTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_TAXONOMY))) + .addMethod( + getUpdateTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest, + com.google.cloud.datacatalog.v1.Taxonomy>( + service, METHODID_UPDATE_TAXONOMY))) + .addMethod( + getListTaxonomiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.ListTaxonomiesRequest, + com.google.cloud.datacatalog.v1.ListTaxonomiesResponse>( + service, METHODID_LIST_TAXONOMIES))) + .addMethod( + getGetTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.GetTaxonomyRequest, + com.google.cloud.datacatalog.v1.Taxonomy>( + service, METHODID_GET_TAXONOMY))) + .addMethod( + getCreatePolicyTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.CreatePolicyTagRequest, + com.google.cloud.datacatalog.v1.PolicyTag>( + service, METHODID_CREATE_POLICY_TAG))) + .addMethod( + getDeletePolicyTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.DeletePolicyTagRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_POLICY_TAG))) + .addMethod( + getUpdatePolicyTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest, + com.google.cloud.datacatalog.v1.PolicyTag>( + service, METHODID_UPDATE_POLICY_TAG))) + .addMethod( + getListPolicyTagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.ListPolicyTagsRequest, + com.google.cloud.datacatalog.v1.ListPolicyTagsResponse>( + service, METHODID_LIST_POLICY_TAGS))) + .addMethod( + getGetPolicyTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.GetPolicyTagRequest, + com.google.cloud.datacatalog.v1.PolicyTag>( + service, METHODID_GET_POLICY_TAG))) + .addMethod( + 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< + 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))) + .build(); + } + + private static abstract class PolicyTagManagerBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + PolicyTagManagerBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("PolicyTagManager"); + } + } + + private static final class PolicyTagManagerFileDescriptorSupplier + extends PolicyTagManagerBaseDescriptorSupplier { + PolicyTagManagerFileDescriptorSupplier() {} + } + + private static final class PolicyTagManagerMethodDescriptorSupplier + extends PolicyTagManagerBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + PolicyTagManagerMethodDescriptorSupplier(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 (PolicyTagManagerGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new PolicyTagManagerFileDescriptorSupplier()) + .addMethod(getCreateTaxonomyMethod()) + .addMethod(getDeleteTaxonomyMethod()) + .addMethod(getUpdateTaxonomyMethod()) + .addMethod(getListTaxonomiesMethod()) + .addMethod(getGetTaxonomyMethod()) + .addMethod(getCreatePolicyTagMethod()) + .addMethod(getDeletePolicyTagMethod()) + .addMethod(getUpdatePolicyTagMethod()) + .addMethod(getListPolicyTagsMethod()) + .addMethod(getGetPolicyTagMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationGrpc.java b/owl-bot-staging/java-datacatalog/v1/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationGrpc.java similarity index 56% rename from java-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationGrpc.java rename to owl-bot-staging/java-datacatalog/v1/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationGrpc.java index 151bbede89a4..80f8dd14dbb7 100644 --- a/java-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationGrpc.java +++ b/owl-bot-staging/java-datacatalog/v1/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.cloud.datacatalog.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * Policy Tag Manager Serialization API service allows you to manipulate
  * your policy tags and taxonomies in a serialized format.
@@ -34,205 +17,147 @@ public final class PolicyTagManagerSerializationGrpc {
 
   private PolicyTagManagerSerializationGrpc() {}
 
-  public static final String SERVICE_NAME =
-      "google.cloud.datacatalog.v1.PolicyTagManagerSerialization";
+  public static final String SERVICE_NAME = "google.cloud.datacatalog.v1.PolicyTagManagerSerialization";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest,
-          com.google.cloud.datacatalog.v1.Taxonomy>
-      getReplaceTaxonomyMethod;
+  private static volatile io.grpc.MethodDescriptor getReplaceTaxonomyMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ReplaceTaxonomy",
       requestType = com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.class,
       responseType = com.google.cloud.datacatalog.v1.Taxonomy.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest,
-          com.google.cloud.datacatalog.v1.Taxonomy>
-      getReplaceTaxonomyMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest,
-            com.google.cloud.datacatalog.v1.Taxonomy>
-        getReplaceTaxonomyMethod;
-    if ((getReplaceTaxonomyMethod = PolicyTagManagerSerializationGrpc.getReplaceTaxonomyMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getReplaceTaxonomyMethod() {
+    io.grpc.MethodDescriptor getReplaceTaxonomyMethod;
+    if ((getReplaceTaxonomyMethod = PolicyTagManagerSerializationGrpc.getReplaceTaxonomyMethod) == null) {
       synchronized (PolicyTagManagerSerializationGrpc.class) {
-        if ((getReplaceTaxonomyMethod = PolicyTagManagerSerializationGrpc.getReplaceTaxonomyMethod)
-            == null) {
-          PolicyTagManagerSerializationGrpc.getReplaceTaxonomyMethod =
-              getReplaceTaxonomyMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReplaceTaxonomy"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new PolicyTagManagerSerializationMethodDescriptorSupplier(
-                              "ReplaceTaxonomy"))
-                      .build();
+        if ((getReplaceTaxonomyMethod = PolicyTagManagerSerializationGrpc.getReplaceTaxonomyMethod) == null) {
+          PolicyTagManagerSerializationGrpc.getReplaceTaxonomyMethod = getReplaceTaxonomyMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReplaceTaxonomy"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance()))
+              .setSchemaDescriptor(new PolicyTagManagerSerializationMethodDescriptorSupplier("ReplaceTaxonomy"))
+              .build();
         }
       }
     }
     return getReplaceTaxonomyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest,
-          com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse>
-      getImportTaxonomiesMethod;
+  private static volatile io.grpc.MethodDescriptor getImportTaxonomiesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ImportTaxonomies",
       requestType = com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest.class,
       responseType = com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest,
-          com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse>
-      getImportTaxonomiesMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest,
-            com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse>
-        getImportTaxonomiesMethod;
-    if ((getImportTaxonomiesMethod = PolicyTagManagerSerializationGrpc.getImportTaxonomiesMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getImportTaxonomiesMethod() {
+    io.grpc.MethodDescriptor getImportTaxonomiesMethod;
+    if ((getImportTaxonomiesMethod = PolicyTagManagerSerializationGrpc.getImportTaxonomiesMethod) == null) {
       synchronized (PolicyTagManagerSerializationGrpc.class) {
-        if ((getImportTaxonomiesMethod =
-                PolicyTagManagerSerializationGrpc.getImportTaxonomiesMethod)
-            == null) {
-          PolicyTagManagerSerializationGrpc.getImportTaxonomiesMethod =
-              getImportTaxonomiesMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportTaxonomies"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new PolicyTagManagerSerializationMethodDescriptorSupplier(
-                              "ImportTaxonomies"))
-                      .build();
+        if ((getImportTaxonomiesMethod = PolicyTagManagerSerializationGrpc.getImportTaxonomiesMethod) == null) {
+          PolicyTagManagerSerializationGrpc.getImportTaxonomiesMethod = getImportTaxonomiesMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportTaxonomies"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new PolicyTagManagerSerializationMethodDescriptorSupplier("ImportTaxonomies"))
+              .build();
         }
       }
     }
     return getImportTaxonomiesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest,
-          com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse>
-      getExportTaxonomiesMethod;
+  private static volatile io.grpc.MethodDescriptor getExportTaxonomiesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ExportTaxonomies",
       requestType = com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest.class,
       responseType = com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest,
-          com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse>
-      getExportTaxonomiesMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest,
-            com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse>
-        getExportTaxonomiesMethod;
-    if ((getExportTaxonomiesMethod = PolicyTagManagerSerializationGrpc.getExportTaxonomiesMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getExportTaxonomiesMethod() {
+    io.grpc.MethodDescriptor getExportTaxonomiesMethod;
+    if ((getExportTaxonomiesMethod = PolicyTagManagerSerializationGrpc.getExportTaxonomiesMethod) == null) {
       synchronized (PolicyTagManagerSerializationGrpc.class) {
-        if ((getExportTaxonomiesMethod =
-                PolicyTagManagerSerializationGrpc.getExportTaxonomiesMethod)
-            == null) {
-          PolicyTagManagerSerializationGrpc.getExportTaxonomiesMethod =
-              getExportTaxonomiesMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportTaxonomies"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new PolicyTagManagerSerializationMethodDescriptorSupplier(
-                              "ExportTaxonomies"))
-                      .build();
+        if ((getExportTaxonomiesMethod = PolicyTagManagerSerializationGrpc.getExportTaxonomiesMethod) == null) {
+          PolicyTagManagerSerializationGrpc.getExportTaxonomiesMethod = getExportTaxonomiesMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportTaxonomies"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new PolicyTagManagerSerializationMethodDescriptorSupplier("ExportTaxonomies"))
+              .build();
         }
       }
     }
     return getExportTaxonomiesMethod;
   }
 
-  /** 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 PolicyTagManagerSerializationStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public PolicyTagManagerSerializationStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new PolicyTagManagerSerializationStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public PolicyTagManagerSerializationStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new PolicyTagManagerSerializationStub(channel, callOptions);
+        }
+      };
     return PolicyTagManagerSerializationStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static PolicyTagManagerSerializationBlockingStub newBlockingStub(io.grpc.Channel channel) {
+  public static PolicyTagManagerSerializationBlockingStub newBlockingStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public PolicyTagManagerSerializationBlockingStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new PolicyTagManagerSerializationBlockingStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public PolicyTagManagerSerializationBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new PolicyTagManagerSerializationBlockingStub(channel, callOptions);
+        }
+      };
     return PolicyTagManagerSerializationBlockingStub.newStub(factory, channel);
   }
 
-  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
-  public static PolicyTagManagerSerializationFutureStub newFutureStub(io.grpc.Channel channel) {
+  /**
+   * Creates a new ListenableFuture-style stub that supports unary calls on the service
+   */
+  public static PolicyTagManagerSerializationFutureStub newFutureStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public PolicyTagManagerSerializationFutureStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new PolicyTagManagerSerializationFutureStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public PolicyTagManagerSerializationFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new PolicyTagManagerSerializationFutureStub(channel, callOptions);
+        }
+      };
     return PolicyTagManagerSerializationFutureStub.newStub(factory, channel);
   }
 
   /**
-   *
-   *
    * 
    * Policy Tag Manager Serialization API service allows you to manipulate
    * your policy tags and taxonomies in a serialized format.
@@ -242,8 +167,6 @@ public PolicyTagManagerSerializationFutureStub newStub(
   public interface AsyncService {
 
     /**
-     *
-     *
      * 
      * Replaces (updates) a taxonomy and all its policy tags.
      * The taxonomy and its entire hierarchy of policy tags must be
@@ -257,16 +180,12 @@ public interface AsyncService {
      * - Updates policy tags with valid resources names accordingly.
      * 
*/ - default void replaceTaxonomy( - com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest request, + default void replaceTaxonomy(com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getReplaceTaxonomyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReplaceTaxonomyMethod(), responseObserver); } /** - * - * *
      * Creates new taxonomies (including their policy tags) in a given project
      * by importing from inlined or cross-regional sources.
@@ -276,17 +195,12 @@ default void replaceTaxonomy(
      * nested protocol buffer structures.
      * 
*/ - default void importTaxonomies( - com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getImportTaxonomiesMethod(), responseObserver); + default void importTaxonomies(com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportTaxonomiesMethod(), responseObserver); } /** - * - * *
      * Exports taxonomies in the requested type and returns them,
      * including their policy tags. The requested taxonomies must belong to the
@@ -295,36 +209,30 @@ default void importTaxonomies(
      * policy tags that can be used as input for `ImportTaxonomies` calls.
      * 
*/ - default void exportTaxonomies( - com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getExportTaxonomiesMethod(), responseObserver); + default void exportTaxonomies(com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportTaxonomiesMethod(), responseObserver); } } /** * Base class for the server implementation of the service PolicyTagManagerSerialization. - * *
    * Policy Tag Manager Serialization API service allows you to manipulate
    * your policy tags and taxonomies in a serialized format.
    * Taxonomy is a hierarchical group of policy tags.
    * 
*/ - public abstract static class PolicyTagManagerSerializationImplBase + public static abstract class PolicyTagManagerSerializationImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return PolicyTagManagerSerializationGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service PolicyTagManagerSerialization. - * *
    * Policy Tag Manager Serialization API service allows you to manipulate
    * your policy tags and taxonomies in a serialized format.
@@ -345,8 +253,6 @@ protected PolicyTagManagerSerializationStub build(
     }
 
     /**
-     *
-     *
      * 
      * Replaces (updates) a taxonomy and all its policy tags.
      * The taxonomy and its entire hierarchy of policy tags must be
@@ -360,18 +266,13 @@ protected PolicyTagManagerSerializationStub build(
      * - Updates policy tags with valid resources names accordingly.
      * 
*/ - public void replaceTaxonomy( - com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest request, + public void replaceTaxonomy(com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getReplaceTaxonomyMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getReplaceTaxonomyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates new taxonomies (including their policy tags) in a given project
      * by importing from inlined or cross-regional sources.
@@ -381,19 +282,13 @@ public void replaceTaxonomy(
      * nested protocol buffer structures.
      * 
*/ - public void importTaxonomies( - com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void importTaxonomies(com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportTaxonomiesMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getImportTaxonomiesMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Exports taxonomies in the requested type and returns them,
      * including their policy tags. The requested taxonomies must belong to the
@@ -402,20 +297,15 @@ public void importTaxonomies(
      * policy tags that can be used as input for `ImportTaxonomies` calls.
      * 
*/ - public void exportTaxonomies( - com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void exportTaxonomies(com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExportTaxonomiesMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getExportTaxonomiesMethod(), getCallOptions()), request, responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service PolicyTagManagerSerialization. - * *
    * Policy Tag Manager Serialization API service allows you to manipulate
    * your policy tags and taxonomies in a serialized format.
@@ -436,8 +326,6 @@ protected PolicyTagManagerSerializationBlockingStub build(
     }
 
     /**
-     *
-     *
      * 
      * Replaces (updates) a taxonomy and all its policy tags.
      * The taxonomy and its entire hierarchy of policy tags must be
@@ -451,15 +339,12 @@ protected PolicyTagManagerSerializationBlockingStub build(
      * - Updates policy tags with valid resources names accordingly.
      * 
*/ - public com.google.cloud.datacatalog.v1.Taxonomy replaceTaxonomy( - com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest request) { + public com.google.cloud.datacatalog.v1.Taxonomy replaceTaxonomy(com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getReplaceTaxonomyMethod(), getCallOptions(), request); } /** - * - * *
      * Creates new taxonomies (including their policy tags) in a given project
      * by importing from inlined or cross-regional sources.
@@ -469,15 +354,12 @@ public com.google.cloud.datacatalog.v1.Taxonomy replaceTaxonomy(
      * nested protocol buffer structures.
      * 
*/ - public com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse importTaxonomies( - com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest request) { + public com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse importTaxonomies(com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getImportTaxonomiesMethod(), getCallOptions(), request); } /** - * - * *
      * Exports taxonomies in the requested type and returns them,
      * including their policy tags. The requested taxonomies must belong to the
@@ -486,17 +368,14 @@ public com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse importTaxonomies
      * policy tags that can be used as input for `ImportTaxonomies` calls.
      * 
*/ - public com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse exportTaxonomies( - com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest request) { + public com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse exportTaxonomies(com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getExportTaxonomiesMethod(), getCallOptions(), request); } } /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service - * PolicyTagManagerSerialization. - * + * A stub to allow clients to do ListenableFuture-style rpc calls to service PolicyTagManagerSerialization. *
    * Policy Tag Manager Serialization API service allows you to manipulate
    * your policy tags and taxonomies in a serialized format.
@@ -517,8 +396,6 @@ protected PolicyTagManagerSerializationFutureStub build(
     }
 
     /**
-     *
-     *
      * 
      * Replaces (updates) a taxonomy and all its policy tags.
      * The taxonomy and its entire hierarchy of policy tags must be
@@ -532,16 +409,13 @@ protected PolicyTagManagerSerializationFutureStub build(
      * - Updates policy tags with valid resources names accordingly.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1.Taxonomy> - replaceTaxonomy(com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest request) { + public com.google.common.util.concurrent.ListenableFuture replaceTaxonomy( + com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getReplaceTaxonomyMethod(), getCallOptions()), request); } /** - * - * *
      * Creates new taxonomies (including their policy tags) in a given project
      * by importing from inlined or cross-regional sources.
@@ -551,16 +425,13 @@ protected PolicyTagManagerSerializationFutureStub build(
      * nested protocol buffer structures.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse> - importTaxonomies(com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest request) { + public com.google.common.util.concurrent.ListenableFuture importTaxonomies( + com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getImportTaxonomiesMethod(), getCallOptions()), request); } /** - * - * *
      * Exports taxonomies in the requested type and returns them,
      * including their policy tags. The requested taxonomies must belong to the
@@ -569,9 +440,8 @@ protected PolicyTagManagerSerializationFutureStub build(
      * policy tags that can be used as input for `ImportTaxonomies` calls.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse> - exportTaxonomies(com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest request) { + public com.google.common.util.concurrent.ListenableFuture exportTaxonomies( + com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getExportTaxonomiesMethod(), getCallOptions()), request); } @@ -581,11 +451,11 @@ protected PolicyTagManagerSerializationFutureStub build( private static final int METHODID_IMPORT_TAXONOMIES = 1; private static final int METHODID_EXPORT_TAXONOMIES = 2; - 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; @@ -599,24 +469,16 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_REPLACE_TAXONOMY: - serviceImpl.replaceTaxonomy( - (com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.replaceTaxonomy((com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_IMPORT_TAXONOMIES: - serviceImpl.importTaxonomies( - (com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse>) - responseObserver); + serviceImpl.importTaxonomies((com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_EXPORT_TAXONOMIES: - serviceImpl.exportTaxonomies( - (com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse>) - responseObserver); + serviceImpl.exportTaxonomies((com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -637,31 +499,31 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getReplaceTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest, - com.google.cloud.datacatalog.v1.Taxonomy>(service, METHODID_REPLACE_TAXONOMY))) + getReplaceTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest, + com.google.cloud.datacatalog.v1.Taxonomy>( + service, METHODID_REPLACE_TAXONOMY))) .addMethod( - getImportTaxonomiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest, - com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse>( - service, METHODID_IMPORT_TAXONOMIES))) + getImportTaxonomiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest, + com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse>( + service, METHODID_IMPORT_TAXONOMIES))) .addMethod( - getExportTaxonomiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest, - com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse>( - service, METHODID_EXPORT_TAXONOMIES))) + getExportTaxonomiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest, + com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse>( + service, METHODID_EXPORT_TAXONOMIES))) .build(); } - private abstract static class PolicyTagManagerSerializationBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class PolicyTagManagerSerializationBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { PolicyTagManagerSerializationBaseDescriptorSupplier() {} @java.lang.Override @@ -703,15 +565,12 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (PolicyTagManagerSerializationGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor( - new PolicyTagManagerSerializationFileDescriptorSupplier()) - .addMethod(getReplaceTaxonomyMethod()) - .addMethod(getImportTaxonomiesMethod()) - .addMethod(getExportTaxonomiesMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new PolicyTagManagerSerializationFileDescriptorSupplier()) + .addMethod(getReplaceTaxonomyMethod()) + .addMethod(getImportTaxonomiesMethod()) + .addMethod(getExportTaxonomiesMethod()) + .build(); } } } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpec.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpec.java similarity index 67% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpec.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpec.java index 1b5204a2a220..2258ef69b730 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpec.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpec.java @@ -1,80 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/bigquery.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Specification for the BigQuery connection.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.BigQueryConnectionSpec} */ -public final class BigQueryConnectionSpec extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BigQueryConnectionSpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.BigQueryConnectionSpec) BigQueryConnectionSpecOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BigQueryConnectionSpec.newBuilder() to construct. private BigQueryConnectionSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BigQueryConnectionSpec() { connectionType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BigQueryConnectionSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.BigQueryProto - .internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.BigQueryProto.internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.BigQueryProto - .internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.BigQueryProto.internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.class, - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder.class); + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.class, com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder.class); } /** - * - * *
    * The type of the BigQuery connection.
    * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType} */ - public enum ConnectionType implements com.google.protobuf.ProtocolMessageEnum { + public enum ConnectionType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified type.
      * 
@@ -83,8 +61,6 @@ public enum ConnectionType implements com.google.protobuf.ProtocolMessageEnum { */ CONNECTION_TYPE_UNSPECIFIED(0), /** - * - * *
      * Cloud SQL connection.
      * 
@@ -96,8 +72,6 @@ public enum ConnectionType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified type.
      * 
@@ -106,8 +80,6 @@ public enum ConnectionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONNECTION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Cloud SQL connection.
      * 
@@ -116,6 +88,7 @@ public enum ConnectionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CLOUD_SQL_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -140,49 +113,48 @@ public static ConnectionType valueOf(int value) { */ public static ConnectionType forNumber(int value) { switch (value) { - case 0: - return CONNECTION_TYPE_UNSPECIFIED; - case 1: - return CLOUD_SQL; - default: - return null; + case 0: return CONNECTION_TYPE_UNSPECIFIED; + case 1: return CLOUD_SQL; + 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< + ConnectionType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ConnectionType findValueByNumber(int number) { + return ConnectionType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ConnectionType findValueByNumber(int number) { - return ConnectionType.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.datacatalog.v1.BigQueryConnectionSpec.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.getDescriptor().getEnumTypes().get(0); } private static final ConnectionType[] VALUES = values(); - public static ConnectionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ConnectionType 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; @@ -200,18 +172,14 @@ private ConnectionType(int value) { } private int connectionSpecCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object connectionSpec_; - public enum ConnectionSpecCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CLOUD_SQL(2), CONNECTIONSPEC_NOT_SET(0); private final int value; - private ConnectionSpecCase(int value) { this.value = value; } @@ -227,74 +195,55 @@ public static ConnectionSpecCase valueOf(int value) { public static ConnectionSpecCase forNumber(int value) { switch (value) { - case 2: - return CLOUD_SQL; - case 0: - return CONNECTIONSPEC_NOT_SET; - default: - return null; + case 2: return CLOUD_SQL; + case 0: return CONNECTIONSPEC_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ConnectionSpecCase getConnectionSpecCase() { - return ConnectionSpecCase.forNumber(connectionSpecCase_); + public ConnectionSpecCase + getConnectionSpecCase() { + return ConnectionSpecCase.forNumber( + connectionSpecCase_); } public static final int CONNECTION_TYPE_FIELD_NUMBER = 1; private int connectionType_ = 0; /** - * - * *
    * The type of the BigQuery connection.
    * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; - * - * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; * @return The enum numeric value on the wire for connectionType. */ - @java.lang.Override - public int getConnectionTypeValue() { + @java.lang.Override public int getConnectionTypeValue() { return connectionType_; } /** - * - * *
    * The type of the BigQuery connection.
    * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; - * - * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; * @return The connectionType. */ - @java.lang.Override - public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType getConnectionType() { - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType result = - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.forNumber( - connectionType_); - return result == null - ? com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType getConnectionType() { + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType result = com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.forNumber(connectionType_); + return result == null ? com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.UNRECOGNIZED : result; } public static final int CLOUD_SQL_FIELD_NUMBER = 2; /** - * - * *
    * Specification for the BigQuery connection to a Cloud SQL instance.
    * 
* * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; - * * @return Whether the cloudSql field is set. */ @java.lang.Override @@ -302,26 +251,21 @@ public boolean hasCloudSql() { return connectionSpecCase_ == 2; } /** - * - * *
    * Specification for the BigQuery connection to a Cloud SQL instance.
    * 
* * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; - * * @return The cloudSql. */ @java.lang.Override public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec getCloudSql() { if (connectionSpecCase_ == 2) { - return (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) connectionSpec_; + return (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) connectionSpec_; } return com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.getDefaultInstance(); } /** - * - * *
    * Specification for the BigQuery connection to a Cloud SQL instance.
    * 
@@ -329,10 +273,9 @@ public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec getCloudSq * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder - getCloudSqlOrBuilder() { + public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder getCloudSqlOrBuilder() { if (connectionSpecCase_ == 2) { - return (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) connectionSpec_; + return (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) connectionSpec_; } return com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.getDefaultInstance(); } @@ -340,15 +283,12 @@ public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec getCloudSq public static final int HAS_CREDENTIAL_FIELD_NUMBER = 3; private boolean hasCredential_ = false; /** - * - * *
    * True if there are credentials attached to the BigQuery connection; false
    * otherwise.
    * 
* * bool has_credential = 3; - * * @return The hasCredential. */ @java.lang.Override @@ -357,7 +297,6 @@ public boolean getHasCredential() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -369,16 +308,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (connectionType_ - != com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType - .CONNECTION_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (connectionType_ != com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.CONNECTION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, connectionType_); } if (connectionSpecCase_ == 2) { - output.writeMessage( - 2, (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) connectionSpec_); + output.writeMessage(2, (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) connectionSpec_); } if (hasCredential_ != false) { output.writeBool(3, hasCredential_); @@ -392,19 +328,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (connectionType_ - != com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType - .CONNECTION_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, connectionType_); + if (connectionType_ != com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.CONNECTION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, connectionType_); } if (connectionSpecCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) connectionSpec_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) connectionSpec_); } if (hasCredential_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, hasCredential_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, hasCredential_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -414,20 +348,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.BigQueryConnectionSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec other = - (com.google.cloud.datacatalog.v1.BigQueryConnectionSpec) obj; + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec other = (com.google.cloud.datacatalog.v1.BigQueryConnectionSpec) obj; if (connectionType_ != other.connectionType_) return false; - if (getHasCredential() != other.getHasCredential()) return false; + if (getHasCredential() + != other.getHasCredential()) return false; if (!getConnectionSpecCase().equals(other.getConnectionSpecCase())) return false; switch (connectionSpecCase_) { case 2: - if (!getCloudSql().equals(other.getCloudSql())) return false; + if (!getCloudSql() + .equals(other.getCloudSql())) return false; break; case 0: default: @@ -446,7 +381,8 @@ public int hashCode() { hash = (37 * hash) + CONNECTION_TYPE_FIELD_NUMBER; hash = (53 * hash) + connectionType_; hash = (37 * hash) + HAS_CREDENTIAL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHasCredential()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getHasCredential()); switch (connectionSpecCase_) { case 2: hash = (37 * hash) + CLOUD_SQL_FIELD_NUMBER; @@ -461,136 +397,131 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.BigQueryConnectionSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specification for the BigQuery connection.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.BigQueryConnectionSpec} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.BigQueryConnectionSpec) com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.BigQueryProto - .internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.BigQueryProto.internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.BigQueryProto - .internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.BigQueryProto.internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.class, - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder.class); + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.class, com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -606,9 +537,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.BigQueryProto - .internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.BigQueryProto.internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_descriptor; } @java.lang.Override @@ -627,11 +558,8 @@ public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec buildPartial() { - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec result = - new com.google.cloud.datacatalog.v1.BigQueryConnectionSpec(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec result = new com.google.cloud.datacatalog.v1.BigQueryConnectionSpec(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -650,7 +578,8 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.BigQueryConnectionSpe private void buildPartialOneofs(com.google.cloud.datacatalog.v1.BigQueryConnectionSpec result) { result.connectionSpecCase_ = connectionSpecCase_; result.connectionSpec_ = this.connectionSpec_; - if (connectionSpecCase_ == 2 && cloudSqlBuilder_ != null) { + if (connectionSpecCase_ == 2 && + cloudSqlBuilder_ != null) { result.connectionSpec_ = cloudSqlBuilder_.build(); } } @@ -659,39 +588,38 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.BigQueryConnecti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.BigQueryConnectionSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1.BigQueryConnectionSpec) other); + return mergeFrom((com.google.cloud.datacatalog.v1.BigQueryConnectionSpec)other); } else { super.mergeFrom(other); return this; @@ -699,8 +627,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.BigQueryConnectionSpec other) { - if (other == com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.getDefaultInstance()) - return this; + if (other == com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.getDefaultInstance()) return this; if (other.connectionType_ != 0) { setConnectionTypeValue(other.getConnectionTypeValue()); } @@ -708,15 +635,13 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.BigQueryConnectionSpec setHasCredential(other.getHasCredential()); } switch (other.getConnectionSpecCase()) { - case CLOUD_SQL: - { - mergeCloudSql(other.getCloudSql()); - break; - } - case CONNECTIONSPEC_NOT_SET: - { - break; - } + case CLOUD_SQL: { + mergeCloudSql(other.getCloudSql()); + break; + } + case CONNECTIONSPEC_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -744,31 +669,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - connectionType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - input.readMessage(getCloudSqlFieldBuilder().getBuilder(), extensionRegistry); - connectionSpecCase_ = 2; - break; - } // case 18 - case 24: - { - hasCredential_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + connectionType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getCloudSqlFieldBuilder().getBuilder(), + extensionRegistry); + connectionSpecCase_ = 2; + break; + } // case 18 + case 24: { + hasCredential_ = 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) { @@ -778,12 +701,12 @@ public Builder mergeFrom( } // finally return this; } - private int connectionSpecCase_ = 0; private java.lang.Object connectionSpec_; - - public ConnectionSpecCase getConnectionSpecCase() { - return ConnectionSpecCase.forNumber(connectionSpecCase_); + public ConnectionSpecCase + getConnectionSpecCase() { + return ConnectionSpecCase.forNumber( + connectionSpecCase_); } public Builder clearConnectionSpec() { @@ -797,31 +720,22 @@ public Builder clearConnectionSpec() { private int connectionType_ = 0; /** - * - * *
      * The type of the BigQuery connection.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; - * - * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; * @return The enum numeric value on the wire for connectionType. */ - @java.lang.Override - public int getConnectionTypeValue() { + @java.lang.Override public int getConnectionTypeValue() { return connectionType_; } /** - * - * *
      * The type of the BigQuery connection.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; - * - * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; * @param value The enum numeric value on the wire for connectionType to set. * @return This builder for chaining. */ @@ -832,42 +746,28 @@ public Builder setConnectionTypeValue(int value) { return this; } /** - * - * *
      * The type of the BigQuery connection.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; - * - * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; * @return The connectionType. */ @java.lang.Override - public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType - getConnectionType() { - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType result = - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.forNumber( - connectionType_); - return result == null - ? com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.UNRECOGNIZED - : result; + public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType getConnectionType() { + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType result = com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.forNumber(connectionType_); + return result == null ? com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.UNRECOGNIZED : result; } /** - * - * *
      * The type of the BigQuery connection.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; - * - * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; * @param value The connectionType to set. * @return This builder for chaining. */ - public Builder setConnectionType( - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType value) { + public Builder setConnectionType(com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType value) { if (value == null) { throw new NullPointerException(); } @@ -877,15 +777,11 @@ public Builder setConnectionType( return this; } /** - * - * *
      * The type of the BigQuery connection.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; - * - * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; * @return This builder for chaining. */ public Builder clearConnectionType() { @@ -896,19 +792,13 @@ public Builder clearConnectionType() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec, - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder, - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder> - cloudSqlBuilder_; + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec, com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder, com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder> cloudSqlBuilder_; /** - * - * *
      * Specification for the BigQuery connection to a Cloud SQL instance.
      * 
* * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; - * * @return Whether the cloudSql field is set. */ @java.lang.Override @@ -916,14 +806,11 @@ public boolean hasCloudSql() { return connectionSpecCase_ == 2; } /** - * - * *
      * Specification for the BigQuery connection to a Cloud SQL instance.
      * 
* * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; - * * @return The cloudSql. */ @java.lang.Override @@ -941,16 +828,13 @@ public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec getCloudSq } } /** - * - * *
      * Specification for the BigQuery connection to a Cloud SQL instance.
      * 
* * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; */ - public Builder setCloudSql( - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec value) { + public Builder setCloudSql(com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec value) { if (cloudSqlBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -964,8 +848,6 @@ public Builder setCloudSql( return this; } /** - * - * *
      * Specification for the BigQuery connection to a Cloud SQL instance.
      * 
@@ -984,27 +866,18 @@ public Builder setCloudSql( return this; } /** - * - * *
      * Specification for the BigQuery connection to a Cloud SQL instance.
      * 
* * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; */ - public Builder mergeCloudSql( - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec value) { + public Builder mergeCloudSql(com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec value) { if (cloudSqlBuilder_ == null) { - if (connectionSpecCase_ == 2 - && connectionSpec_ - != com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec - .getDefaultInstance()) { - connectionSpec_ = - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.newBuilder( - (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) - connectionSpec_) - .mergeFrom(value) - .buildPartial(); + if (connectionSpecCase_ == 2 && + connectionSpec_ != com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.getDefaultInstance()) { + connectionSpec_ = com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.newBuilder((com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) connectionSpec_) + .mergeFrom(value).buildPartial(); } else { connectionSpec_ = value; } @@ -1020,8 +893,6 @@ public Builder mergeCloudSql( return this; } /** - * - * *
      * Specification for the BigQuery connection to a Cloud SQL instance.
      * 
@@ -1045,21 +916,16 @@ public Builder clearCloudSql() { return this; } /** - * - * *
      * Specification for the BigQuery connection to a Cloud SQL instance.
      * 
* * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; */ - public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder - getCloudSqlBuilder() { + public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder getCloudSqlBuilder() { return getCloudSqlFieldBuilder().getBuilder(); } /** - * - * *
      * Specification for the BigQuery connection to a Cloud SQL instance.
      * 
@@ -1067,8 +933,7 @@ public Builder clearCloudSql() { * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder - getCloudSqlOrBuilder() { + public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder getCloudSqlOrBuilder() { if ((connectionSpecCase_ == 2) && (cloudSqlBuilder_ != null)) { return cloudSqlBuilder_.getMessageOrBuilder(); } else { @@ -1079,8 +944,6 @@ public Builder clearCloudSql() { } } /** - * - * *
      * Specification for the BigQuery connection to a Cloud SQL instance.
      * 
@@ -1088,20 +951,14 @@ public Builder clearCloudSql() { * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec, - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder, - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder> + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec, com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder, com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder> getCloudSqlFieldBuilder() { if (cloudSqlBuilder_ == null) { if (!(connectionSpecCase_ == 2)) { - connectionSpec_ = - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.getDefaultInstance(); + connectionSpec_ = com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.getDefaultInstance(); } - cloudSqlBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec, - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder, - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder>( + cloudSqlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec, com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder, com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder>( (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) connectionSpec_, getParentForChildren(), isClean()); @@ -1112,17 +969,14 @@ public Builder clearCloudSql() { return cloudSqlBuilder_; } - private boolean hasCredential_; + private boolean hasCredential_ ; /** - * - * *
      * True if there are credentials attached to the BigQuery connection; false
      * otherwise.
      * 
* * bool has_credential = 3; - * * @return The hasCredential. */ @java.lang.Override @@ -1130,15 +984,12 @@ public boolean getHasCredential() { return hasCredential_; } /** - * - * *
      * True if there are credentials attached to the BigQuery connection; false
      * otherwise.
      * 
* * bool has_credential = 3; - * * @param value The hasCredential to set. * @return This builder for chaining. */ @@ -1150,15 +1001,12 @@ public Builder setHasCredential(boolean value) { return this; } /** - * - * *
      * True if there are credentials attached to the BigQuery connection; false
      * otherwise.
      * 
* * bool has_credential = 3; - * * @return This builder for chaining. */ public Builder clearHasCredential() { @@ -1167,9 +1015,9 @@ public Builder clearHasCredential() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1179,12 +1027,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.BigQueryConnectionSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.BigQueryConnectionSpec) private static final com.google.cloud.datacatalog.v1.BigQueryConnectionSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.BigQueryConnectionSpec(); } @@ -1193,27 +1041,27 @@ public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryConnectionSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryConnectionSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1228,4 +1076,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpecOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpecOrBuilder.java similarity index 71% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpecOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpecOrBuilder.java index 325b3c6a28c5..2fed25b3eb18 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpecOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpecOrBuilder.java @@ -1,82 +1,50 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/bigquery.proto package com.google.cloud.datacatalog.v1; -public interface BigQueryConnectionSpecOrBuilder - extends +public interface BigQueryConnectionSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.BigQueryConnectionSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The type of the BigQuery connection.
    * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; - * - * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; * @return The enum numeric value on the wire for connectionType. */ int getConnectionTypeValue(); /** - * - * *
    * The type of the BigQuery connection.
    * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; - * - * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; * @return The connectionType. */ com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType getConnectionType(); /** - * - * *
    * Specification for the BigQuery connection to a Cloud SQL instance.
    * 
* * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; - * * @return Whether the cloudSql field is set. */ boolean hasCloudSql(); /** - * - * *
    * Specification for the BigQuery connection to a Cloud SQL instance.
    * 
* * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; - * * @return The cloudSql. */ com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec getCloudSql(); /** - * - * *
    * Specification for the BigQuery connection to a Cloud SQL instance.
    * 
@@ -86,15 +54,12 @@ public interface BigQueryConnectionSpecOrBuilder com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder getCloudSqlOrBuilder(); /** - * - * *
    * True if there are credentials attached to the BigQuery connection; false
    * otherwise.
    * 
* * bool has_credential = 3; - * * @return The hasCredential. */ boolean getHasCredential(); diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpec.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpec.java similarity index 70% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpec.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpec.java index 14698ed5024e..7f9dcabba262 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpec.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpec.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/table_spec.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD` name
  * pattern.
@@ -31,16 +14,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.BigQueryDateShardedSpec}
  */
-public final class BigQueryDateShardedSpec extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BigQueryDateShardedSpec extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.BigQueryDateShardedSpec)
     BigQueryDateShardedSpecOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BigQueryDateShardedSpec.newBuilder() to construct.
   private BigQueryDateShardedSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BigQueryDateShardedSpec() {
     dataset_ = "";
     tablePrefix_ = "";
@@ -49,32 +31,28 @@ private BigQueryDateShardedSpec() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BigQueryDateShardedSpec();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.TableSpecOuterClass
-        .internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.TableSpecOuterClass
-        .internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.class,
-            com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.Builder.class);
+            com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.class, com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.Builder.class);
   }
 
   public static final int DATASET_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object dataset_ = "";
   /**
-   *
-   *
    * 
    * Output only. The Data Catalog resource name of the dataset entry the
    * current table belongs to. For example:
@@ -82,10 +60,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
    * 
* - * - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The dataset. */ @java.lang.Override @@ -94,15 +69,14 @@ public java.lang.String getDataset() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataset_ = s; return s; } } /** - * - * *
    * Output only. The Data Catalog resource name of the dataset entry the
    * current table belongs to. For example:
@@ -110,18 +84,17 @@ public java.lang.String getDataset() {
    * `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
    * 
* - * - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for dataset. */ @java.lang.Override - public com.google.protobuf.ByteString getDatasetBytes() { + public com.google.protobuf.ByteString + getDatasetBytes() { java.lang.Object ref = dataset_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataset_ = b; return b; } else { @@ -130,12 +103,9 @@ public com.google.protobuf.ByteString getDatasetBytes() { } public static final int TABLE_PREFIX_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object tablePrefix_ = ""; /** - * - * *
    * Output only. The table name prefix of the shards.
    *
@@ -145,7 +115,6 @@ public com.google.protobuf.ByteString getDatasetBytes() {
    * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The tablePrefix. */ @java.lang.Override @@ -154,15 +123,14 @@ public java.lang.String getTablePrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tablePrefix_ = s; return s; } } /** - * - * *
    * Output only. The table name prefix of the shards.
    *
@@ -172,15 +140,16 @@ public java.lang.String getTablePrefix() {
    * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for tablePrefix. */ @java.lang.Override - public com.google.protobuf.ByteString getTablePrefixBytes() { + public com.google.protobuf.ByteString + getTablePrefixBytes() { java.lang.Object ref = tablePrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tablePrefix_ = b; return b; } else { @@ -191,14 +160,11 @@ public com.google.protobuf.ByteString getTablePrefixBytes() { public static final int SHARD_COUNT_FIELD_NUMBER = 3; private long shardCount_ = 0L; /** - * - * *
    * Output only. Total number of shards.
    * 
* * int64 shard_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The shardCount. */ @java.lang.Override @@ -207,18 +173,14 @@ public long getShardCount() { } public static final int LATEST_SHARD_RESOURCE_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object latestShardResource_ = ""; /** - * - * *
    * Output only. BigQuery resource name of the latest shard.
    * 
* * string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The latestShardResource. */ @java.lang.Override @@ -227,29 +189,29 @@ public java.lang.String getLatestShardResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); latestShardResource_ = s; return s; } } /** - * - * *
    * Output only. BigQuery resource name of the latest shard.
    * 
* * string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for latestShardResource. */ @java.lang.Override - public com.google.protobuf.ByteString getLatestShardResourceBytes() { + public com.google.protobuf.ByteString + getLatestShardResourceBytes() { java.lang.Object ref = latestShardResource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); latestShardResource_ = b; return b; } else { @@ -258,7 +220,6 @@ public com.google.protobuf.ByteString getLatestShardResourceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -270,7 +231,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dataset_); } @@ -299,7 +261,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tablePrefix_); } if (shardCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, shardCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, shardCount_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(latestShardResource_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, latestShardResource_); @@ -312,18 +275,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.datacatalog.v1.BigQueryDateShardedSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec other = - (com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec) obj; - - if (!getDataset().equals(other.getDataset())) return false; - if (!getTablePrefix().equals(other.getTablePrefix())) return false; - if (getShardCount() != other.getShardCount()) return false; - if (!getLatestShardResource().equals(other.getLatestShardResource())) return false; + com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec other = (com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec) obj; + + if (!getDataset() + .equals(other.getDataset())) return false; + if (!getTablePrefix() + .equals(other.getTablePrefix())) return false; + if (getShardCount() + != other.getShardCount()) return false; + if (!getLatestShardResource() + .equals(other.getLatestShardResource())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -340,7 +306,8 @@ public int hashCode() { hash = (37 * hash) + TABLE_PREFIX_FIELD_NUMBER; hash = (53 * hash) + getTablePrefix().hashCode(); hash = (37 * hash) + SHARD_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getShardCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getShardCount()); hash = (37 * hash) + LATEST_SHARD_RESOURCE_FIELD_NUMBER; hash = (53 * hash) + getLatestShardResource().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -349,104 +316,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD` name
    * pattern.
@@ -457,32 +418,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.BigQueryDateShardedSpec}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.BigQueryDateShardedSpec)
       com.google.cloud.datacatalog.v1.BigQueryDateShardedSpecOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.TableSpecOuterClass
-          .internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.TableSpecOuterClass
-          .internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.class,
-              com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.Builder.class);
+              com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.class, com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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 +457,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.TableSpecOuterClass
-          .internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_descriptor;
     }
 
     @java.lang.Override
@@ -516,11 +478,8 @@ public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec buildPartial() {
-      com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec result =
-          new com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec result = new com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -545,39 +504,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.BigQueryDateShardedSp
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -585,8 +543,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec other) {
-      if (other == com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.getDefaultInstance()) return this;
       if (!other.getDataset().isEmpty()) {
         dataset_ = other.dataset_;
         bitField0_ |= 0x00000001;
@@ -631,37 +588,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                dataset_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                tablePrefix_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
-                shardCount_ = input.readInt64();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 34:
-              {
-                latestShardResource_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              dataset_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              tablePrefix_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              shardCount_ = input.readInt64();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 34: {
+              latestShardResource_ = 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) {
@@ -671,13 +623,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object dataset_ = "";
     /**
-     *
-     *
      * 
      * Output only. The Data Catalog resource name of the dataset entry the
      * current table belongs to. For example:
@@ -685,16 +634,14 @@ public Builder mergeFrom(
      * `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
      * 
* - * - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The dataset. */ public java.lang.String getDataset() { java.lang.Object ref = dataset_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataset_ = s; return s; @@ -703,8 +650,6 @@ public java.lang.String getDataset() { } } /** - * - * *
      * Output only. The Data Catalog resource name of the dataset entry the
      * current table belongs to. For example:
@@ -712,17 +657,16 @@ public java.lang.String getDataset() {
      * `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
      * 
* - * - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for dataset. */ - public com.google.protobuf.ByteString getDatasetBytes() { + public com.google.protobuf.ByteString + getDatasetBytes() { java.lang.Object ref = dataset_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataset_ = b; return b; } else { @@ -730,8 +674,6 @@ public com.google.protobuf.ByteString getDatasetBytes() { } } /** - * - * *
      * Output only. The Data Catalog resource name of the dataset entry the
      * current table belongs to. For example:
@@ -739,25 +681,19 @@ public com.google.protobuf.ByteString getDatasetBytes() {
      * `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
      * 
* - * - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The dataset to set. * @return This builder for chaining. */ - public Builder setDataset(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataset( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } dataset_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The Data Catalog resource name of the dataset entry the
      * current table belongs to. For example:
@@ -765,10 +701,7 @@ public Builder setDataset(java.lang.String value) {
      * `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
      * 
* - * - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearDataset() { @@ -778,8 +711,6 @@ public Builder clearDataset() { return this; } /** - * - * *
      * Output only. The Data Catalog resource name of the dataset entry the
      * current table belongs to. For example:
@@ -787,17 +718,13 @@ public Builder clearDataset() {
      * `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
      * 
* - * - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for dataset to set. * @return This builder for chaining. */ - public Builder setDatasetBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatasetBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dataset_ = value; bitField0_ |= 0x00000001; @@ -807,8 +734,6 @@ public Builder setDatasetBytes(com.google.protobuf.ByteString value) { private java.lang.Object tablePrefix_ = ""; /** - * - * *
      * Output only. The table name prefix of the shards.
      *
@@ -818,13 +743,13 @@ public Builder setDatasetBytes(com.google.protobuf.ByteString value) {
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The tablePrefix. */ public java.lang.String getTablePrefix() { java.lang.Object ref = tablePrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tablePrefix_ = s; return s; @@ -833,8 +758,6 @@ public java.lang.String getTablePrefix() { } } /** - * - * *
      * Output only. The table name prefix of the shards.
      *
@@ -844,14 +767,15 @@ public java.lang.String getTablePrefix() {
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for tablePrefix. */ - public com.google.protobuf.ByteString getTablePrefixBytes() { + public com.google.protobuf.ByteString + getTablePrefixBytes() { java.lang.Object ref = tablePrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tablePrefix_ = b; return b; } else { @@ -859,8 +783,6 @@ public com.google.protobuf.ByteString getTablePrefixBytes() { } } /** - * - * *
      * Output only. The table name prefix of the shards.
      *
@@ -870,22 +792,18 @@ public com.google.protobuf.ByteString getTablePrefixBytes() {
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The tablePrefix to set. * @return This builder for chaining. */ - public Builder setTablePrefix(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTablePrefix( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tablePrefix_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. The table name prefix of the shards.
      *
@@ -895,7 +813,6 @@ public Builder setTablePrefix(java.lang.String value) {
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearTablePrefix() { @@ -905,8 +822,6 @@ public Builder clearTablePrefix() { return this; } /** - * - * *
      * Output only. The table name prefix of the shards.
      *
@@ -916,14 +831,12 @@ public Builder clearTablePrefix() {
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for tablePrefix to set. * @return This builder for chaining. */ - public Builder setTablePrefixBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTablePrefixBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tablePrefix_ = value; bitField0_ |= 0x00000002; @@ -931,16 +844,13 @@ public Builder setTablePrefixBytes(com.google.protobuf.ByteString value) { return this; } - private long shardCount_; + private long shardCount_ ; /** - * - * *
      * Output only. Total number of shards.
      * 
* * int64 shard_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The shardCount. */ @java.lang.Override @@ -948,14 +858,11 @@ public long getShardCount() { return shardCount_; } /** - * - * *
      * Output only. Total number of shards.
      * 
* * int64 shard_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The shardCount to set. * @return This builder for chaining. */ @@ -967,14 +874,11 @@ public Builder setShardCount(long value) { return this; } /** - * - * *
      * Output only. Total number of shards.
      * 
* * int64 shard_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearShardCount() { @@ -986,20 +890,18 @@ public Builder clearShardCount() { private java.lang.Object latestShardResource_ = ""; /** - * - * *
      * Output only. BigQuery resource name of the latest shard.
      * 
* * string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The latestShardResource. */ public java.lang.String getLatestShardResource() { java.lang.Object ref = latestShardResource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); latestShardResource_ = s; return s; @@ -1008,21 +910,20 @@ public java.lang.String getLatestShardResource() { } } /** - * - * *
      * Output only. BigQuery resource name of the latest shard.
      * 
* * string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for latestShardResource. */ - public com.google.protobuf.ByteString getLatestShardResourceBytes() { + public com.google.protobuf.ByteString + getLatestShardResourceBytes() { java.lang.Object ref = latestShardResource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); latestShardResource_ = b; return b; } else { @@ -1030,35 +931,28 @@ public com.google.protobuf.ByteString getLatestShardResourceBytes() { } } /** - * - * *
      * Output only. BigQuery resource name of the latest shard.
      * 
* * string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The latestShardResource to set. * @return This builder for chaining. */ - public Builder setLatestShardResource(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLatestShardResource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } latestShardResource_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Output only. BigQuery resource name of the latest shard.
      * 
* * string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearLatestShardResource() { @@ -1068,30 +962,26 @@ public Builder clearLatestShardResource() { return this; } /** - * - * *
      * Output only. BigQuery resource name of the latest shard.
      * 
* * string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for latestShardResource to set. * @return This builder for chaining. */ - public Builder setLatestShardResourceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLatestShardResourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); latestShardResource_ = 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); } @@ -1101,12 +991,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.BigQueryDateShardedSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.BigQueryDateShardedSpec) private static final com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec(); } @@ -1115,27 +1005,27 @@ public static com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryDateShardedSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryDateShardedSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1150,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpecOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpecOrBuilder.java similarity index 67% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpecOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpecOrBuilder.java index 48a87b3466eb..83243c3d4690 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpecOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpecOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/table_spec.proto package com.google.cloud.datacatalog.v1; -public interface BigQueryDateShardedSpecOrBuilder - extends +public interface BigQueryDateShardedSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.BigQueryDateShardedSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The Data Catalog resource name of the dataset entry the
    * current table belongs to. For example:
@@ -33,16 +15,11 @@ public interface BigQueryDateShardedSpecOrBuilder
    * `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
    * 
* - * - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The dataset. */ java.lang.String getDataset(); /** - * - * *
    * Output only. The Data Catalog resource name of the dataset entry the
    * current table belongs to. For example:
@@ -50,17 +27,13 @@ public interface BigQueryDateShardedSpecOrBuilder
    * `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
    * 
* - * - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for dataset. */ - com.google.protobuf.ByteString getDatasetBytes(); + com.google.protobuf.ByteString + getDatasetBytes(); /** - * - * *
    * Output only. The table name prefix of the shards.
    *
@@ -70,13 +43,10 @@ public interface BigQueryDateShardedSpecOrBuilder
    * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The tablePrefix. */ java.lang.String getTablePrefix(); /** - * - * *
    * Output only. The table name prefix of the shards.
    *
@@ -86,46 +56,38 @@ public interface BigQueryDateShardedSpecOrBuilder
    * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for tablePrefix. */ - com.google.protobuf.ByteString getTablePrefixBytes(); + com.google.protobuf.ByteString + getTablePrefixBytes(); /** - * - * *
    * Output only. Total number of shards.
    * 
* * int64 shard_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The shardCount. */ long getShardCount(); /** - * - * *
    * Output only. BigQuery resource name of the latest shard.
    * 
* * string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The latestShardResource. */ java.lang.String getLatestShardResource(); /** - * - * *
    * Output only. BigQuery resource name of the latest shard.
    * 
* * string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for latestShardResource. */ - com.google.protobuf.ByteString getLatestShardResourceBytes(); + com.google.protobuf.ByteString + getLatestShardResourceBytes(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryProto.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryProto.java new file mode 100644 index 000000000000..792635caa25b --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryProto.java @@ -0,0 +1,93 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/bigquery.proto + +package com.google.cloud.datacatalog.v1; + +public final class BigQueryProto { + private BigQueryProto() {} + 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_datacatalog_v1_BigQueryConnectionSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_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/datacatalog/v1/bigquery.p" + + "roto\022\033google.cloud.datacatalog.v1\032\037googl" + + "e/api/field_behavior.proto\"\264\002\n\026BigQueryC" + + "onnectionSpec\022[\n\017connection_type\030\001 \001(\0162B" + + ".google.cloud.datacatalog.v1.BigQueryCon" + + "nectionSpec.ConnectionType\022P\n\tcloud_sql\030" + + "\002 \001(\0132;.google.cloud.datacatalog.v1.Clou" + + "dSqlBigQueryConnectionSpecH\000\022\026\n\016has_cred" + + "ential\030\003 \001(\010\"@\n\016ConnectionType\022\037\n\033CONNEC" + + "TION_TYPE_UNSPECIFIED\020\000\022\r\n\tCLOUD_SQL\020\001B\021" + + "\n\017connection_spec\"\347\001\n\036CloudSqlBigQueryCo" + + "nnectionSpec\022\023\n\013instance_id\030\001 \001(\t\022\020\n\010dat" + + "abase\030\002 \001(\t\022V\n\004type\030\003 \001(\0162H.google.cloud" + + ".datacatalog.v1.CloudSqlBigQueryConnecti" + + "onSpec.DatabaseType\"F\n\014DatabaseType\022\035\n\031D" + + "ATABASE_TYPE_UNSPECIFIED\020\000\022\014\n\010POSTGRES\020\001" + + "\022\t\n\005MYSQL\020\002\"1\n\023BigQueryRoutineSpec\022\032\n\022im" + + "ported_libraries\030\001 \003(\tB\325\001\n\037com.google.cl" + + "oud.datacatalog.v1B\rBigQueryProtoP\001ZAclo" + + "ud.google.com/go/datacatalog/apiv1/datac" + + "atalogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud" + + ".DataCatalog.V1\312\002\033Google\\Cloud\\DataCatal" + + "og\\V1\352\002\036Google::Cloud::DataCatalog::V1b\006" + + "proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_descriptor, + new java.lang.String[] { "ConnectionType", "CloudSql", "HasCredential", "ConnectionSpec", }); + internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_descriptor, + new java.lang.String[] { "InstanceId", "Database", "Type", }); + internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_descriptor, + new java.lang.String[] { "ImportedLibraries", }); + com.google.api.FieldBehaviorProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpec.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpec.java similarity index 67% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpec.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpec.java index bae901d7fde9..3a228e889e65 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpec.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpec.java @@ -1,109 +1,82 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/bigquery.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Fields specific for BigQuery routines.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.BigQueryRoutineSpec} */ -public final class BigQueryRoutineSpec extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BigQueryRoutineSpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.BigQueryRoutineSpec) BigQueryRoutineSpecOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BigQueryRoutineSpec.newBuilder() to construct. private BigQueryRoutineSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BigQueryRoutineSpec() { - importedLibraries_ = com.google.protobuf.LazyStringArrayList.emptyList(); + importedLibraries_ = + 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 BigQueryRoutineSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.BigQueryProto - .internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.BigQueryProto.internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.BigQueryProto - .internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.BigQueryProto.internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.class, - com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder.class); + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.class, com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder.class); } public static final int IMPORTED_LIBRARIES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList importedLibraries_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Paths of the imported libraries.
    * 
* * repeated string imported_libraries = 1; - * * @return A list containing the importedLibraries. */ - public com.google.protobuf.ProtocolStringList getImportedLibrariesList() { + public com.google.protobuf.ProtocolStringList + getImportedLibrariesList() { return importedLibraries_; } /** - * - * *
    * Paths of the imported libraries.
    * 
* * repeated string imported_libraries = 1; - * * @return The count of importedLibraries. */ public int getImportedLibrariesCount() { return importedLibraries_.size(); } /** - * - * *
    * Paths of the imported libraries.
    * 
* * repeated string imported_libraries = 1; - * * @param index The index of the element to return. * @return The importedLibraries at the given index. */ @@ -111,23 +84,20 @@ public java.lang.String getImportedLibraries(int index) { return importedLibraries_.get(index); } /** - * - * *
    * Paths of the imported libraries.
    * 
* * repeated string imported_libraries = 1; - * * @param index The index of the value to return. * @return The bytes of the importedLibraries at the given index. */ - public com.google.protobuf.ByteString getImportedLibrariesBytes(int index) { + public com.google.protobuf.ByteString + getImportedLibrariesBytes(int index) { return importedLibraries_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < importedLibraries_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, importedLibraries_.getRaw(i)); } @@ -168,15 +139,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.BigQueryRoutineSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.BigQueryRoutineSpec other = - (com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) obj; + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec other = (com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) obj; - if (!getImportedLibrariesList().equals(other.getImportedLibrariesList())) return false; + if (!getImportedLibrariesList() + .equals(other.getImportedLibrariesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -198,147 +169,144 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.BigQueryRoutineSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Fields specific for BigQuery routines.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.BigQueryRoutineSpec} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.BigQueryRoutineSpec) com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.BigQueryProto - .internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.BigQueryProto.internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.BigQueryProto - .internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.BigQueryProto.internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.class, - com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder.class); + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.class, com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.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; - importedLibraries_ = com.google.protobuf.LazyStringArrayList.emptyList(); + importedLibraries_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.BigQueryProto - .internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.BigQueryProto.internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_descriptor; } @java.lang.Override @@ -357,11 +325,8 @@ public com.google.cloud.datacatalog.v1.BigQueryRoutineSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1.BigQueryRoutineSpec buildPartial() { - com.google.cloud.datacatalog.v1.BigQueryRoutineSpec result = - new com.google.cloud.datacatalog.v1.BigQueryRoutineSpec(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec result = new com.google.cloud.datacatalog.v1.BigQueryRoutineSpec(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -378,39 +343,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.BigQueryRoutineSpec 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.datacatalog.v1.BigQueryRoutineSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) other); + return mergeFrom((com.google.cloud.datacatalog.v1.BigQueryRoutineSpec)other); } else { super.mergeFrom(other); return this; @@ -418,8 +382,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.BigQueryRoutineSpec other) { - if (other == com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.getDefaultInstance()) - return this; + if (other == com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.getDefaultInstance()) return this; if (!other.importedLibraries_.isEmpty()) { if (importedLibraries_.isEmpty()) { importedLibraries_ = other.importedLibraries_; @@ -456,20 +419,18 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureImportedLibrariesIsMutable(); - importedLibraries_.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(); + ensureImportedLibrariesIsMutable(); + importedLibraries_.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) { @@ -479,12 +440,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.LazyStringArrayList importedLibraries_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureImportedLibrariesIsMutable() { if (!importedLibraries_.isModifiable()) { importedLibraries_ = new com.google.protobuf.LazyStringArrayList(importedLibraries_); @@ -492,43 +451,35 @@ private void ensureImportedLibrariesIsMutable() { bitField0_ |= 0x00000001; } /** - * - * *
      * Paths of the imported libraries.
      * 
* * repeated string imported_libraries = 1; - * * @return A list containing the importedLibraries. */ - public com.google.protobuf.ProtocolStringList getImportedLibrariesList() { + public com.google.protobuf.ProtocolStringList + getImportedLibrariesList() { importedLibraries_.makeImmutable(); return importedLibraries_; } /** - * - * *
      * Paths of the imported libraries.
      * 
* * repeated string imported_libraries = 1; - * * @return The count of importedLibraries. */ public int getImportedLibrariesCount() { return importedLibraries_.size(); } /** - * - * *
      * Paths of the imported libraries.
      * 
* * repeated string imported_libraries = 1; - * * @param index The index of the element to return. * @return The importedLibraries at the given index. */ @@ -536,37 +487,31 @@ public java.lang.String getImportedLibraries(int index) { return importedLibraries_.get(index); } /** - * - * *
      * Paths of the imported libraries.
      * 
* * repeated string imported_libraries = 1; - * * @param index The index of the value to return. * @return The bytes of the importedLibraries at the given index. */ - public com.google.protobuf.ByteString getImportedLibrariesBytes(int index) { + public com.google.protobuf.ByteString + getImportedLibrariesBytes(int index) { return importedLibraries_.getByteString(index); } /** - * - * *
      * Paths of the imported libraries.
      * 
* * repeated string imported_libraries = 1; - * * @param index The index to set the value at. * @param value The importedLibraries to set. * @return This builder for chaining. */ - public Builder setImportedLibraries(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setImportedLibraries( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureImportedLibrariesIsMutable(); importedLibraries_.set(index, value); bitField0_ |= 0x00000001; @@ -574,21 +519,17 @@ public Builder setImportedLibraries(int index, java.lang.String value) { return this; } /** - * - * *
      * Paths of the imported libraries.
      * 
* * repeated string imported_libraries = 1; - * * @param value The importedLibraries to add. * @return This builder for chaining. */ - public Builder addImportedLibraries(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addImportedLibraries( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureImportedLibrariesIsMutable(); importedLibraries_.add(value); bitField0_ |= 0x00000001; @@ -596,58 +537,50 @@ public Builder addImportedLibraries(java.lang.String value) { return this; } /** - * - * *
      * Paths of the imported libraries.
      * 
* * repeated string imported_libraries = 1; - * * @param values The importedLibraries to add. * @return This builder for chaining. */ - public Builder addAllImportedLibraries(java.lang.Iterable values) { + public Builder addAllImportedLibraries( + java.lang.Iterable values) { ensureImportedLibrariesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, importedLibraries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, importedLibraries_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Paths of the imported libraries.
      * 
* * repeated string imported_libraries = 1; - * * @return This builder for chaining. */ public Builder clearImportedLibraries() { - importedLibraries_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; + importedLibraries_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** - * - * *
      * Paths of the imported libraries.
      * 
* * repeated string imported_libraries = 1; - * * @param value The bytes of the importedLibraries to add. * @return This builder for chaining. */ - public Builder addImportedLibrariesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addImportedLibrariesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureImportedLibrariesIsMutable(); importedLibraries_.add(value); @@ -655,9 +588,9 @@ public Builder addImportedLibrariesBytes(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); } @@ -667,12 +600,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.BigQueryRoutineSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.BigQueryRoutineSpec) private static final com.google.cloud.datacatalog.v1.BigQueryRoutineSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.BigQueryRoutineSpec(); } @@ -681,27 +614,27 @@ public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryRoutineSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryRoutineSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -716,4 +649,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.BigQueryRoutineSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpecOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpecOrBuilder.java similarity index 59% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpecOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpecOrBuilder.java index d170dc9cd366..4a099b760569 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpecOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpecOrBuilder.java @@ -1,76 +1,50 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/bigquery.proto package com.google.cloud.datacatalog.v1; -public interface BigQueryRoutineSpecOrBuilder - extends +public interface BigQueryRoutineSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.BigQueryRoutineSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Paths of the imported libraries.
    * 
* * repeated string imported_libraries = 1; - * * @return A list containing the importedLibraries. */ - java.util.List getImportedLibrariesList(); + java.util.List + getImportedLibrariesList(); /** - * - * *
    * Paths of the imported libraries.
    * 
* * repeated string imported_libraries = 1; - * * @return The count of importedLibraries. */ int getImportedLibrariesCount(); /** - * - * *
    * Paths of the imported libraries.
    * 
* * repeated string imported_libraries = 1; - * * @param index The index of the element to return. * @return The importedLibraries at the given index. */ java.lang.String getImportedLibraries(int index); /** - * - * *
    * Paths of the imported libraries.
    * 
* * repeated string imported_libraries = 1; - * * @param index The index of the value to return. * @return The bytes of the importedLibraries at the given index. */ - com.google.protobuf.ByteString getImportedLibrariesBytes(int index); + com.google.protobuf.ByteString + getImportedLibrariesBytes(int index); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpec.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpec.java similarity index 69% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpec.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpec.java index 4bb6303361fc..57c080a1e571 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpec.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpec.java @@ -1,81 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/table_spec.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Describes a BigQuery table.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.BigQueryTableSpec} */ -public final class BigQueryTableSpec extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BigQueryTableSpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.BigQueryTableSpec) BigQueryTableSpecOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BigQueryTableSpec.newBuilder() to construct. private BigQueryTableSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BigQueryTableSpec() { tableSourceType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BigQueryTableSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.TableSpecOuterClass - .internal_static_google_cloud_datacatalog_v1_BigQueryTableSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_BigQueryTableSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.TableSpecOuterClass - .internal_static_google_cloud_datacatalog_v1_BigQueryTableSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_BigQueryTableSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.BigQueryTableSpec.class, - com.google.cloud.datacatalog.v1.BigQueryTableSpec.Builder.class); + com.google.cloud.datacatalog.v1.BigQueryTableSpec.class, com.google.cloud.datacatalog.v1.BigQueryTableSpec.Builder.class); } private int typeSpecCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object typeSpec_; - public enum TypeSpecCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { VIEW_SPEC(2), TABLE_SPEC(3), TYPESPEC_NOT_SET(0); private final int value; - private TypeSpecCase(int value) { this.value = value; } @@ -91,76 +68,57 @@ public static TypeSpecCase valueOf(int value) { public static TypeSpecCase forNumber(int value) { switch (value) { - case 2: - return VIEW_SPEC; - case 3: - return TABLE_SPEC; - case 0: - return TYPESPEC_NOT_SET; - default: - return null; + case 2: return VIEW_SPEC; + case 3: return TABLE_SPEC; + case 0: return TYPESPEC_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TypeSpecCase getTypeSpecCase() { - return TypeSpecCase.forNumber(typeSpecCase_); + public TypeSpecCase + getTypeSpecCase() { + return TypeSpecCase.forNumber( + typeSpecCase_); } public static final int TABLE_SOURCE_TYPE_FIELD_NUMBER = 1; private int tableSourceType_ = 0; /** - * - * *
    * Output only. The table source type.
    * 
* - * - * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for tableSourceType. */ - @java.lang.Override - public int getTableSourceTypeValue() { + @java.lang.Override public int getTableSourceTypeValue() { return tableSourceType_; } /** - * - * *
    * Output only. The table source type.
    * 
* - * - * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The tableSourceType. */ - @java.lang.Override - public com.google.cloud.datacatalog.v1.TableSourceType getTableSourceType() { - com.google.cloud.datacatalog.v1.TableSourceType result = - com.google.cloud.datacatalog.v1.TableSourceType.forNumber(tableSourceType_); + @java.lang.Override public com.google.cloud.datacatalog.v1.TableSourceType getTableSourceType() { + com.google.cloud.datacatalog.v1.TableSourceType result = com.google.cloud.datacatalog.v1.TableSourceType.forNumber(tableSourceType_); return result == null ? com.google.cloud.datacatalog.v1.TableSourceType.UNRECOGNIZED : result; } public static final int VIEW_SPEC_FIELD_NUMBER = 2; /** - * - * *
    * Table view specification. Populated only if
    * the `table_source_type` is `BIGQUERY_VIEW`.
    * 
* * .google.cloud.datacatalog.v1.ViewSpec view_spec = 2; - * * @return Whether the viewSpec field is set. */ @java.lang.Override @@ -168,27 +126,22 @@ public boolean hasViewSpec() { return typeSpecCase_ == 2; } /** - * - * *
    * Table view specification. Populated only if
    * the `table_source_type` is `BIGQUERY_VIEW`.
    * 
* * .google.cloud.datacatalog.v1.ViewSpec view_spec = 2; - * * @return The viewSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.ViewSpec getViewSpec() { if (typeSpecCase_ == 2) { - return (com.google.cloud.datacatalog.v1.ViewSpec) typeSpec_; + return (com.google.cloud.datacatalog.v1.ViewSpec) typeSpec_; } return com.google.cloud.datacatalog.v1.ViewSpec.getDefaultInstance(); } /** - * - * *
    * Table view specification. Populated only if
    * the `table_source_type` is `BIGQUERY_VIEW`.
@@ -199,22 +152,19 @@ public com.google.cloud.datacatalog.v1.ViewSpec getViewSpec() {
   @java.lang.Override
   public com.google.cloud.datacatalog.v1.ViewSpecOrBuilder getViewSpecOrBuilder() {
     if (typeSpecCase_ == 2) {
-      return (com.google.cloud.datacatalog.v1.ViewSpec) typeSpec_;
+       return (com.google.cloud.datacatalog.v1.ViewSpec) typeSpec_;
     }
     return com.google.cloud.datacatalog.v1.ViewSpec.getDefaultInstance();
   }
 
   public static final int TABLE_SPEC_FIELD_NUMBER = 3;
   /**
-   *
-   *
    * 
    * Specification of a BigQuery table. Populated only if
    * the `table_source_type` is `BIGQUERY_TABLE`.
    * 
* * .google.cloud.datacatalog.v1.TableSpec table_spec = 3; - * * @return Whether the tableSpec field is set. */ @java.lang.Override @@ -222,27 +172,22 @@ public boolean hasTableSpec() { return typeSpecCase_ == 3; } /** - * - * *
    * Specification of a BigQuery table. Populated only if
    * the `table_source_type` is `BIGQUERY_TABLE`.
    * 
* * .google.cloud.datacatalog.v1.TableSpec table_spec = 3; - * * @return The tableSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.TableSpec getTableSpec() { if (typeSpecCase_ == 3) { - return (com.google.cloud.datacatalog.v1.TableSpec) typeSpec_; + return (com.google.cloud.datacatalog.v1.TableSpec) typeSpec_; } return com.google.cloud.datacatalog.v1.TableSpec.getDefaultInstance(); } /** - * - * *
    * Specification of a BigQuery table. Populated only if
    * the `table_source_type` is `BIGQUERY_TABLE`.
@@ -253,13 +198,12 @@ public com.google.cloud.datacatalog.v1.TableSpec getTableSpec() {
   @java.lang.Override
   public com.google.cloud.datacatalog.v1.TableSpecOrBuilder getTableSpecOrBuilder() {
     if (typeSpecCase_ == 3) {
-      return (com.google.cloud.datacatalog.v1.TableSpec) typeSpec_;
+       return (com.google.cloud.datacatalog.v1.TableSpec) typeSpec_;
     }
     return com.google.cloud.datacatalog.v1.TableSpec.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -271,10 +215,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (tableSourceType_
-        != com.google.cloud.datacatalog.v1.TableSourceType.TABLE_SOURCE_TYPE_UNSPECIFIED
-            .getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
+    if (tableSourceType_ != com.google.cloud.datacatalog.v1.TableSourceType.TABLE_SOURCE_TYPE_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, tableSourceType_);
     }
     if (typeSpecCase_ == 2) {
@@ -292,20 +235,17 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (tableSourceType_
-        != com.google.cloud.datacatalog.v1.TableSourceType.TABLE_SOURCE_TYPE_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, tableSourceType_);
+    if (tableSourceType_ != com.google.cloud.datacatalog.v1.TableSourceType.TABLE_SOURCE_TYPE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(1, tableSourceType_);
     }
     if (typeSpecCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, (com.google.cloud.datacatalog.v1.ViewSpec) typeSpec_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, (com.google.cloud.datacatalog.v1.ViewSpec) typeSpec_);
     }
     if (typeSpecCase_ == 3) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              3, (com.google.cloud.datacatalog.v1.TableSpec) typeSpec_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, (com.google.cloud.datacatalog.v1.TableSpec) typeSpec_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -315,22 +255,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.datacatalog.v1.BigQueryTableSpec)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1.BigQueryTableSpec other =
-        (com.google.cloud.datacatalog.v1.BigQueryTableSpec) obj;
+    com.google.cloud.datacatalog.v1.BigQueryTableSpec other = (com.google.cloud.datacatalog.v1.BigQueryTableSpec) obj;
 
     if (tableSourceType_ != other.tableSourceType_) return false;
     if (!getTypeSpecCase().equals(other.getTypeSpecCase())) return false;
     switch (typeSpecCase_) {
       case 2:
-        if (!getViewSpec().equals(other.getViewSpec())) return false;
+        if (!getViewSpec()
+            .equals(other.getViewSpec())) return false;
         break;
       case 3:
-        if (!getTableSpec().equals(other.getTableSpec())) return false;
+        if (!getTableSpec()
+            .equals(other.getTableSpec())) return false;
         break;
       case 0:
       default:
@@ -366,135 +307,131 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1.BigQueryTableSpec parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.BigQueryTableSpec parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.BigQueryTableSpec parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.BigQueryTableSpec parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.BigQueryTableSpec parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.BigQueryTableSpec parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.datacatalog.v1.BigQueryTableSpec parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.BigQueryTableSpec parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1.BigQueryTableSpec parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1.BigQueryTableSpec parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.BigQueryTableSpec parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1.BigQueryTableSpec parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.BigQueryTableSpec parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1.BigQueryTableSpec parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.datacatalog.v1.BigQueryTableSpec prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 a BigQuery table.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.BigQueryTableSpec} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.BigQueryTableSpec) com.google.cloud.datacatalog.v1.BigQueryTableSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.TableSpecOuterClass - .internal_static_google_cloud_datacatalog_v1_BigQueryTableSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_BigQueryTableSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.TableSpecOuterClass - .internal_static_google_cloud_datacatalog_v1_BigQueryTableSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_BigQueryTableSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.BigQueryTableSpec.class, - com.google.cloud.datacatalog.v1.BigQueryTableSpec.Builder.class); + com.google.cloud.datacatalog.v1.BigQueryTableSpec.class, com.google.cloud.datacatalog.v1.BigQueryTableSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.BigQueryTableSpec.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -512,9 +449,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.TableSpecOuterClass - .internal_static_google_cloud_datacatalog_v1_BigQueryTableSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_BigQueryTableSpec_descriptor; } @java.lang.Override @@ -533,11 +470,8 @@ public com.google.cloud.datacatalog.v1.BigQueryTableSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1.BigQueryTableSpec buildPartial() { - com.google.cloud.datacatalog.v1.BigQueryTableSpec result = - new com.google.cloud.datacatalog.v1.BigQueryTableSpec(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1.BigQueryTableSpec result = new com.google.cloud.datacatalog.v1.BigQueryTableSpec(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -553,10 +487,12 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.BigQueryTableSpec res private void buildPartialOneofs(com.google.cloud.datacatalog.v1.BigQueryTableSpec result) { result.typeSpecCase_ = typeSpecCase_; result.typeSpec_ = this.typeSpec_; - if (typeSpecCase_ == 2 && viewSpecBuilder_ != null) { + if (typeSpecCase_ == 2 && + viewSpecBuilder_ != null) { result.typeSpec_ = viewSpecBuilder_.build(); } - if (typeSpecCase_ == 3 && tableSpecBuilder_ != null) { + if (typeSpecCase_ == 3 && + tableSpecBuilder_ != null) { result.typeSpec_ = tableSpecBuilder_.build(); } } @@ -565,39 +501,38 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.BigQueryTableSpe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.BigQueryTableSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1.BigQueryTableSpec) other); + return mergeFrom((com.google.cloud.datacatalog.v1.BigQueryTableSpec)other); } else { super.mergeFrom(other); return this; @@ -605,26 +540,22 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.BigQueryTableSpec other) { - if (other == com.google.cloud.datacatalog.v1.BigQueryTableSpec.getDefaultInstance()) - return this; + if (other == com.google.cloud.datacatalog.v1.BigQueryTableSpec.getDefaultInstance()) return this; if (other.tableSourceType_ != 0) { setTableSourceTypeValue(other.getTableSourceTypeValue()); } switch (other.getTypeSpecCase()) { - case VIEW_SPEC: - { - mergeViewSpec(other.getViewSpec()); - break; - } - case TABLE_SPEC: - { - mergeTableSpec(other.getTableSpec()); - break; - } - case TYPESPEC_NOT_SET: - { - break; - } + case VIEW_SPEC: { + mergeViewSpec(other.getViewSpec()); + break; + } + case TABLE_SPEC: { + mergeTableSpec(other.getTableSpec()); + break; + } + case TYPESPEC_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -652,31 +583,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - tableSourceType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - input.readMessage(getViewSpecFieldBuilder().getBuilder(), extensionRegistry); - typeSpecCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage(getTableSpecFieldBuilder().getBuilder(), extensionRegistry); - typeSpecCase_ = 3; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + tableSourceType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getViewSpecFieldBuilder().getBuilder(), + extensionRegistry); + typeSpecCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getTableSpecFieldBuilder().getBuilder(), + extensionRegistry); + typeSpecCase_ = 3; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -686,12 +617,12 @@ public Builder mergeFrom( } // finally return this; } - private int typeSpecCase_ = 0; private java.lang.Object typeSpec_; - - public TypeSpecCase getTypeSpecCase() { - return TypeSpecCase.forNumber(typeSpecCase_); + public TypeSpecCase + getTypeSpecCase() { + return TypeSpecCase.forNumber( + typeSpecCase_); } public Builder clearTypeSpec() { @@ -705,33 +636,22 @@ public Builder clearTypeSpec() { private int tableSourceType_ = 0; /** - * - * *
      * Output only. The table source type.
      * 
* - * - * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for tableSourceType. */ - @java.lang.Override - public int getTableSourceTypeValue() { + @java.lang.Override public int getTableSourceTypeValue() { return tableSourceType_; } /** - * - * *
      * Output only. The table source type.
      * 
* - * - * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for tableSourceType to set. * @return This builder for chaining. */ @@ -742,35 +662,24 @@ public Builder setTableSourceTypeValue(int value) { return this; } /** - * - * *
      * Output only. The table source type.
      * 
* - * - * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The tableSourceType. */ @java.lang.Override public com.google.cloud.datacatalog.v1.TableSourceType getTableSourceType() { - com.google.cloud.datacatalog.v1.TableSourceType result = - com.google.cloud.datacatalog.v1.TableSourceType.forNumber(tableSourceType_); + com.google.cloud.datacatalog.v1.TableSourceType result = com.google.cloud.datacatalog.v1.TableSourceType.forNumber(tableSourceType_); return result == null ? com.google.cloud.datacatalog.v1.TableSourceType.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The table source type.
      * 
* - * - * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The tableSourceType to set. * @return This builder for chaining. */ @@ -784,16 +693,11 @@ public Builder setTableSourceType(com.google.cloud.datacatalog.v1.TableSourceTyp return this; } /** - * - * *
      * Output only. The table source type.
      * 
* - * - * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearTableSourceType() { @@ -804,20 +708,14 @@ public Builder clearTableSourceType() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.ViewSpec, - com.google.cloud.datacatalog.v1.ViewSpec.Builder, - com.google.cloud.datacatalog.v1.ViewSpecOrBuilder> - viewSpecBuilder_; + com.google.cloud.datacatalog.v1.ViewSpec, com.google.cloud.datacatalog.v1.ViewSpec.Builder, com.google.cloud.datacatalog.v1.ViewSpecOrBuilder> viewSpecBuilder_; /** - * - * *
      * Table view specification. Populated only if
      * the `table_source_type` is `BIGQUERY_VIEW`.
      * 
* * .google.cloud.datacatalog.v1.ViewSpec view_spec = 2; - * * @return Whether the viewSpec field is set. */ @java.lang.Override @@ -825,15 +723,12 @@ public boolean hasViewSpec() { return typeSpecCase_ == 2; } /** - * - * *
      * Table view specification. Populated only if
      * the `table_source_type` is `BIGQUERY_VIEW`.
      * 
* * .google.cloud.datacatalog.v1.ViewSpec view_spec = 2; - * * @return The viewSpec. */ @java.lang.Override @@ -851,8 +746,6 @@ public com.google.cloud.datacatalog.v1.ViewSpec getViewSpec() { } } /** - * - * *
      * Table view specification. Populated only if
      * the `table_source_type` is `BIGQUERY_VIEW`.
@@ -874,8 +767,6 @@ public Builder setViewSpec(com.google.cloud.datacatalog.v1.ViewSpec value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Table view specification. Populated only if
      * the `table_source_type` is `BIGQUERY_VIEW`.
@@ -883,7 +774,8 @@ public Builder setViewSpec(com.google.cloud.datacatalog.v1.ViewSpec value) {
      *
      * .google.cloud.datacatalog.v1.ViewSpec view_spec = 2;
      */
-    public Builder setViewSpec(com.google.cloud.datacatalog.v1.ViewSpec.Builder builderForValue) {
+    public Builder setViewSpec(
+        com.google.cloud.datacatalog.v1.ViewSpec.Builder builderForValue) {
       if (viewSpecBuilder_ == null) {
         typeSpec_ = builderForValue.build();
         onChanged();
@@ -894,8 +786,6 @@ public Builder setViewSpec(com.google.cloud.datacatalog.v1.ViewSpec.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * Table view specification. Populated only if
      * the `table_source_type` is `BIGQUERY_VIEW`.
@@ -905,13 +795,10 @@ public Builder setViewSpec(com.google.cloud.datacatalog.v1.ViewSpec.Builder buil
      */
     public Builder mergeViewSpec(com.google.cloud.datacatalog.v1.ViewSpec value) {
       if (viewSpecBuilder_ == null) {
-        if (typeSpecCase_ == 2
-            && typeSpec_ != com.google.cloud.datacatalog.v1.ViewSpec.getDefaultInstance()) {
-          typeSpec_ =
-              com.google.cloud.datacatalog.v1.ViewSpec.newBuilder(
-                      (com.google.cloud.datacatalog.v1.ViewSpec) typeSpec_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (typeSpecCase_ == 2 &&
+            typeSpec_ != com.google.cloud.datacatalog.v1.ViewSpec.getDefaultInstance()) {
+          typeSpec_ = com.google.cloud.datacatalog.v1.ViewSpec.newBuilder((com.google.cloud.datacatalog.v1.ViewSpec) typeSpec_)
+              .mergeFrom(value).buildPartial();
         } else {
           typeSpec_ = value;
         }
@@ -927,8 +814,6 @@ public Builder mergeViewSpec(com.google.cloud.datacatalog.v1.ViewSpec value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Table view specification. Populated only if
      * the `table_source_type` is `BIGQUERY_VIEW`.
@@ -953,8 +838,6 @@ public Builder clearViewSpec() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Table view specification. Populated only if
      * the `table_source_type` is `BIGQUERY_VIEW`.
@@ -966,8 +849,6 @@ public com.google.cloud.datacatalog.v1.ViewSpec.Builder getViewSpecBuilder() {
       return getViewSpecFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Table view specification. Populated only if
      * the `table_source_type` is `BIGQUERY_VIEW`.
@@ -987,8 +868,6 @@ public com.google.cloud.datacatalog.v1.ViewSpecOrBuilder getViewSpecOrBuilder()
       }
     }
     /**
-     *
-     *
      * 
      * Table view specification. Populated only if
      * the `table_source_type` is `BIGQUERY_VIEW`.
@@ -997,19 +876,14 @@ public com.google.cloud.datacatalog.v1.ViewSpecOrBuilder getViewSpecOrBuilder()
      * .google.cloud.datacatalog.v1.ViewSpec view_spec = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.ViewSpec,
-            com.google.cloud.datacatalog.v1.ViewSpec.Builder,
-            com.google.cloud.datacatalog.v1.ViewSpecOrBuilder>
+        com.google.cloud.datacatalog.v1.ViewSpec, com.google.cloud.datacatalog.v1.ViewSpec.Builder, com.google.cloud.datacatalog.v1.ViewSpecOrBuilder> 
         getViewSpecFieldBuilder() {
       if (viewSpecBuilder_ == null) {
         if (!(typeSpecCase_ == 2)) {
           typeSpec_ = com.google.cloud.datacatalog.v1.ViewSpec.getDefaultInstance();
         }
-        viewSpecBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.datacatalog.v1.ViewSpec,
-                com.google.cloud.datacatalog.v1.ViewSpec.Builder,
-                com.google.cloud.datacatalog.v1.ViewSpecOrBuilder>(
+        viewSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.datacatalog.v1.ViewSpec, com.google.cloud.datacatalog.v1.ViewSpec.Builder, com.google.cloud.datacatalog.v1.ViewSpecOrBuilder>(
                 (com.google.cloud.datacatalog.v1.ViewSpec) typeSpec_,
                 getParentForChildren(),
                 isClean());
@@ -1021,20 +895,14 @@ public com.google.cloud.datacatalog.v1.ViewSpecOrBuilder getViewSpecOrBuilder()
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.TableSpec,
-            com.google.cloud.datacatalog.v1.TableSpec.Builder,
-            com.google.cloud.datacatalog.v1.TableSpecOrBuilder>
-        tableSpecBuilder_;
+        com.google.cloud.datacatalog.v1.TableSpec, com.google.cloud.datacatalog.v1.TableSpec.Builder, com.google.cloud.datacatalog.v1.TableSpecOrBuilder> tableSpecBuilder_;
     /**
-     *
-     *
      * 
      * Specification of a BigQuery table. Populated only if
      * the `table_source_type` is `BIGQUERY_TABLE`.
      * 
* * .google.cloud.datacatalog.v1.TableSpec table_spec = 3; - * * @return Whether the tableSpec field is set. */ @java.lang.Override @@ -1042,15 +910,12 @@ public boolean hasTableSpec() { return typeSpecCase_ == 3; } /** - * - * *
      * Specification of a BigQuery table. Populated only if
      * the `table_source_type` is `BIGQUERY_TABLE`.
      * 
* * .google.cloud.datacatalog.v1.TableSpec table_spec = 3; - * * @return The tableSpec. */ @java.lang.Override @@ -1068,8 +933,6 @@ public com.google.cloud.datacatalog.v1.TableSpec getTableSpec() { } } /** - * - * *
      * Specification of a BigQuery table. Populated only if
      * the `table_source_type` is `BIGQUERY_TABLE`.
@@ -1091,8 +954,6 @@ public Builder setTableSpec(com.google.cloud.datacatalog.v1.TableSpec value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification of a BigQuery table. Populated only if
      * the `table_source_type` is `BIGQUERY_TABLE`.
@@ -1100,7 +961,8 @@ public Builder setTableSpec(com.google.cloud.datacatalog.v1.TableSpec value) {
      *
      * .google.cloud.datacatalog.v1.TableSpec table_spec = 3;
      */
-    public Builder setTableSpec(com.google.cloud.datacatalog.v1.TableSpec.Builder builderForValue) {
+    public Builder setTableSpec(
+        com.google.cloud.datacatalog.v1.TableSpec.Builder builderForValue) {
       if (tableSpecBuilder_ == null) {
         typeSpec_ = builderForValue.build();
         onChanged();
@@ -1111,8 +973,6 @@ public Builder setTableSpec(com.google.cloud.datacatalog.v1.TableSpec.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification of a BigQuery table. Populated only if
      * the `table_source_type` is `BIGQUERY_TABLE`.
@@ -1122,13 +982,10 @@ public Builder setTableSpec(com.google.cloud.datacatalog.v1.TableSpec.Builder bu
      */
     public Builder mergeTableSpec(com.google.cloud.datacatalog.v1.TableSpec value) {
       if (tableSpecBuilder_ == null) {
-        if (typeSpecCase_ == 3
-            && typeSpec_ != com.google.cloud.datacatalog.v1.TableSpec.getDefaultInstance()) {
-          typeSpec_ =
-              com.google.cloud.datacatalog.v1.TableSpec.newBuilder(
-                      (com.google.cloud.datacatalog.v1.TableSpec) typeSpec_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (typeSpecCase_ == 3 &&
+            typeSpec_ != com.google.cloud.datacatalog.v1.TableSpec.getDefaultInstance()) {
+          typeSpec_ = com.google.cloud.datacatalog.v1.TableSpec.newBuilder((com.google.cloud.datacatalog.v1.TableSpec) typeSpec_)
+              .mergeFrom(value).buildPartial();
         } else {
           typeSpec_ = value;
         }
@@ -1144,8 +1001,6 @@ public Builder mergeTableSpec(com.google.cloud.datacatalog.v1.TableSpec value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification of a BigQuery table. Populated only if
      * the `table_source_type` is `BIGQUERY_TABLE`.
@@ -1170,8 +1025,6 @@ public Builder clearTableSpec() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification of a BigQuery table. Populated only if
      * the `table_source_type` is `BIGQUERY_TABLE`.
@@ -1183,8 +1036,6 @@ public com.google.cloud.datacatalog.v1.TableSpec.Builder getTableSpecBuilder() {
       return getTableSpecFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Specification of a BigQuery table. Populated only if
      * the `table_source_type` is `BIGQUERY_TABLE`.
@@ -1204,8 +1055,6 @@ public com.google.cloud.datacatalog.v1.TableSpecOrBuilder getTableSpecOrBuilder(
       }
     }
     /**
-     *
-     *
      * 
      * Specification of a BigQuery table. Populated only if
      * the `table_source_type` is `BIGQUERY_TABLE`.
@@ -1214,19 +1063,14 @@ public com.google.cloud.datacatalog.v1.TableSpecOrBuilder getTableSpecOrBuilder(
      * .google.cloud.datacatalog.v1.TableSpec table_spec = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.TableSpec,
-            com.google.cloud.datacatalog.v1.TableSpec.Builder,
-            com.google.cloud.datacatalog.v1.TableSpecOrBuilder>
+        com.google.cloud.datacatalog.v1.TableSpec, com.google.cloud.datacatalog.v1.TableSpec.Builder, com.google.cloud.datacatalog.v1.TableSpecOrBuilder> 
         getTableSpecFieldBuilder() {
       if (tableSpecBuilder_ == null) {
         if (!(typeSpecCase_ == 3)) {
           typeSpec_ = com.google.cloud.datacatalog.v1.TableSpec.getDefaultInstance();
         }
-        tableSpecBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.datacatalog.v1.TableSpec,
-                com.google.cloud.datacatalog.v1.TableSpec.Builder,
-                com.google.cloud.datacatalog.v1.TableSpecOrBuilder>(
+        tableSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.datacatalog.v1.TableSpec, com.google.cloud.datacatalog.v1.TableSpec.Builder, com.google.cloud.datacatalog.v1.TableSpecOrBuilder>(
                 (com.google.cloud.datacatalog.v1.TableSpec) typeSpec_,
                 getParentForChildren(),
                 isClean());
@@ -1236,9 +1080,9 @@ public com.google.cloud.datacatalog.v1.TableSpecOrBuilder getTableSpecOrBuilder(
       onChanged();
       return tableSpecBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1248,12 +1092,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.BigQueryTableSpec)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.BigQueryTableSpec)
   private static final com.google.cloud.datacatalog.v1.BigQueryTableSpec DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.BigQueryTableSpec();
   }
@@ -1262,27 +1106,27 @@ public static com.google.cloud.datacatalog.v1.BigQueryTableSpec getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BigQueryTableSpec parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BigQueryTableSpec parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1297,4 +1141,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1.BigQueryTableSpec getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpecOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpecOrBuilder.java
similarity index 70%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpecOrBuilder.java
rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpecOrBuilder.java
index 1b5567ad76e5..55cf067e9d94 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpecOrBuilder.java
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpecOrBuilder.java
@@ -1,86 +1,52 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/table_spec.proto
 
 package com.google.cloud.datacatalog.v1;
 
-public interface BigQueryTableSpecOrBuilder
-    extends
+public interface BigQueryTableSpecOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.BigQueryTableSpec)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Output only. The table source type.
    * 
* - * - * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for tableSourceType. */ int getTableSourceTypeValue(); /** - * - * *
    * Output only. The table source type.
    * 
* - * - * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The tableSourceType. */ com.google.cloud.datacatalog.v1.TableSourceType getTableSourceType(); /** - * - * *
    * Table view specification. Populated only if
    * the `table_source_type` is `BIGQUERY_VIEW`.
    * 
* * .google.cloud.datacatalog.v1.ViewSpec view_spec = 2; - * * @return Whether the viewSpec field is set. */ boolean hasViewSpec(); /** - * - * *
    * Table view specification. Populated only if
    * the `table_source_type` is `BIGQUERY_VIEW`.
    * 
* * .google.cloud.datacatalog.v1.ViewSpec view_spec = 2; - * * @return The viewSpec. */ com.google.cloud.datacatalog.v1.ViewSpec getViewSpec(); /** - * - * *
    * Table view specification. Populated only if
    * the `table_source_type` is `BIGQUERY_VIEW`.
@@ -91,34 +57,26 @@ public interface BigQueryTableSpecOrBuilder
   com.google.cloud.datacatalog.v1.ViewSpecOrBuilder getViewSpecOrBuilder();
 
   /**
-   *
-   *
    * 
    * Specification of a BigQuery table. Populated only if
    * the `table_source_type` is `BIGQUERY_TABLE`.
    * 
* * .google.cloud.datacatalog.v1.TableSpec table_spec = 3; - * * @return Whether the tableSpec field is set. */ boolean hasTableSpec(); /** - * - * *
    * Specification of a BigQuery table. Populated only if
    * the `table_source_type` is `BIGQUERY_TABLE`.
    * 
* * .google.cloud.datacatalog.v1.TableSpec table_spec = 3; - * * @return The tableSpec. */ com.google.cloud.datacatalog.v1.TableSpec getTableSpec(); /** - * - * *
    * Specification of a BigQuery table. Populated only if
    * the `table_source_type` is `BIGQUERY_TABLE`.
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContext.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContext.java
similarity index 67%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContext.java
rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContext.java
index 874ca66b9e11..02c771a006ac 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContext.java
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContext.java
@@ -1,76 +1,55 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
 /**
- *
- *
  * 
  * Business Context of the entry.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.BusinessContext} */ -public final class BusinessContext extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BusinessContext extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.BusinessContext) BusinessContextOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BusinessContext.newBuilder() to construct. private BusinessContext(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private BusinessContext() {} + private BusinessContext() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BusinessContext(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_BusinessContext_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_BusinessContext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_BusinessContext_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_BusinessContext_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.BusinessContext.class, - com.google.cloud.datacatalog.v1.BusinessContext.Builder.class); + com.google.cloud.datacatalog.v1.BusinessContext.class, com.google.cloud.datacatalog.v1.BusinessContext.Builder.class); } public static final int ENTRY_OVERVIEW_FIELD_NUMBER = 1; private com.google.cloud.datacatalog.v1.EntryOverview entryOverview_; /** - * - * *
    * Entry overview fields for rich text descriptions of entries.
    * 
* * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 1; - * * @return Whether the entryOverview field is set. */ @java.lang.Override @@ -78,25 +57,18 @@ public boolean hasEntryOverview() { return entryOverview_ != null; } /** - * - * *
    * Entry overview fields for rich text descriptions of entries.
    * 
* * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 1; - * * @return The entryOverview. */ @java.lang.Override public com.google.cloud.datacatalog.v1.EntryOverview getEntryOverview() { - return entryOverview_ == null - ? com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance() - : entryOverview_; + return entryOverview_ == null ? com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance() : entryOverview_; } /** - * - * *
    * Entry overview fields for rich text descriptions of entries.
    * 
@@ -105,22 +77,17 @@ public com.google.cloud.datacatalog.v1.EntryOverview getEntryOverview() { */ @java.lang.Override public com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder getEntryOverviewOrBuilder() { - return entryOverview_ == null - ? com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance() - : entryOverview_; + return entryOverview_ == null ? com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance() : entryOverview_; } public static final int CONTACTS_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1.Contacts contacts_; /** - * - * *
    * Contact people for the entry.
    * 
* * .google.cloud.datacatalog.v1.Contacts contacts = 2; - * * @return Whether the contacts field is set. */ @java.lang.Override @@ -128,25 +95,18 @@ public boolean hasContacts() { return contacts_ != null; } /** - * - * *
    * Contact people for the entry.
    * 
* * .google.cloud.datacatalog.v1.Contacts contacts = 2; - * * @return The contacts. */ @java.lang.Override public com.google.cloud.datacatalog.v1.Contacts getContacts() { - return contacts_ == null - ? com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance() - : contacts_; + return contacts_ == null ? com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance() : contacts_; } /** - * - * *
    * Contact people for the entry.
    * 
@@ -155,13 +115,10 @@ public com.google.cloud.datacatalog.v1.Contacts getContacts() { */ @java.lang.Override public com.google.cloud.datacatalog.v1.ContactsOrBuilder getContactsOrBuilder() { - return contacts_ == null - ? com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance() - : contacts_; + return contacts_ == null ? com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance() : contacts_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,7 +130,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (entryOverview_ != null) { output.writeMessage(1, getEntryOverview()); } @@ -190,10 +148,12 @@ public int getSerializedSize() { size = 0; if (entryOverview_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntryOverview()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getEntryOverview()); } if (contacts_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getContacts()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getContacts()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -203,21 +163,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.datacatalog.v1.BusinessContext)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.BusinessContext other = - (com.google.cloud.datacatalog.v1.BusinessContext) obj; + com.google.cloud.datacatalog.v1.BusinessContext other = (com.google.cloud.datacatalog.v1.BusinessContext) obj; if (hasEntryOverview() != other.hasEntryOverview()) return false; if (hasEntryOverview()) { - if (!getEntryOverview().equals(other.getEntryOverview())) return false; + if (!getEntryOverview() + .equals(other.getEntryOverview())) return false; } if (hasContacts() != other.hasContacts()) return false; if (hasContacts()) { - if (!getContacts().equals(other.getContacts())) return false; + if (!getContacts() + .equals(other.getContacts())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -243,136 +204,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.BusinessContext parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.BusinessContext parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.BusinessContext parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.BusinessContext parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.BusinessContext parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.BusinessContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.BusinessContext parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.BusinessContext parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.BusinessContext parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.BusinessContext parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.BusinessContext parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.BusinessContext parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.BusinessContext parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.BusinessContext parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.BusinessContext prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Business Context of the entry.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.BusinessContext} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.BusinessContext) com.google.cloud.datacatalog.v1.BusinessContextOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_BusinessContext_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_BusinessContext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_BusinessContext_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_BusinessContext_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.BusinessContext.class, - com.google.cloud.datacatalog.v1.BusinessContext.Builder.class); + com.google.cloud.datacatalog.v1.BusinessContext.class, com.google.cloud.datacatalog.v1.BusinessContext.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.BusinessContext.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -391,9 +348,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_BusinessContext_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_BusinessContext_descriptor; } @java.lang.Override @@ -412,11 +369,8 @@ public com.google.cloud.datacatalog.v1.BusinessContext build() { @java.lang.Override public com.google.cloud.datacatalog.v1.BusinessContext buildPartial() { - com.google.cloud.datacatalog.v1.BusinessContext result = - new com.google.cloud.datacatalog.v1.BusinessContext(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1.BusinessContext result = new com.google.cloud.datacatalog.v1.BusinessContext(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -424,11 +378,14 @@ public com.google.cloud.datacatalog.v1.BusinessContext buildPartial() { private void buildPartial0(com.google.cloud.datacatalog.v1.BusinessContext result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.entryOverview_ = - entryOverviewBuilder_ == null ? entryOverview_ : entryOverviewBuilder_.build(); + result.entryOverview_ = entryOverviewBuilder_ == null + ? entryOverview_ + : entryOverviewBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.contacts_ = contactsBuilder_ == null ? contacts_ : contactsBuilder_.build(); + result.contacts_ = contactsBuilder_ == null + ? contacts_ + : contactsBuilder_.build(); } } @@ -436,39 +393,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.BusinessContext 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.datacatalog.v1.BusinessContext) { - return mergeFrom((com.google.cloud.datacatalog.v1.BusinessContext) other); + return mergeFrom((com.google.cloud.datacatalog.v1.BusinessContext)other); } else { super.mergeFrom(other); return this; @@ -476,8 +432,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.BusinessContext other) { - if (other == com.google.cloud.datacatalog.v1.BusinessContext.getDefaultInstance()) - return this; + if (other == com.google.cloud.datacatalog.v1.BusinessContext.getDefaultInstance()) return this; if (other.hasEntryOverview()) { mergeEntryOverview(other.getEntryOverview()); } @@ -510,25 +465,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getEntryOverviewFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getContactsFieldBuilder().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( + getEntryOverviewFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getContactsFieldBuilder().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) { @@ -538,52 +494,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.datacatalog.v1.EntryOverview entryOverview_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.EntryOverview, - com.google.cloud.datacatalog.v1.EntryOverview.Builder, - com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder> - entryOverviewBuilder_; + com.google.cloud.datacatalog.v1.EntryOverview, com.google.cloud.datacatalog.v1.EntryOverview.Builder, com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder> entryOverviewBuilder_; /** - * - * *
      * Entry overview fields for rich text descriptions of entries.
      * 
* * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 1; - * * @return Whether the entryOverview field is set. */ public boolean hasEntryOverview() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Entry overview fields for rich text descriptions of entries.
      * 
* * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 1; - * * @return The entryOverview. */ public com.google.cloud.datacatalog.v1.EntryOverview getEntryOverview() { if (entryOverviewBuilder_ == null) { - return entryOverview_ == null - ? com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance() - : entryOverview_; + return entryOverview_ == null ? com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance() : entryOverview_; } else { return entryOverviewBuilder_.getMessage(); } } /** - * - * *
      * Entry overview fields for rich text descriptions of entries.
      * 
@@ -604,8 +546,6 @@ public Builder setEntryOverview(com.google.cloud.datacatalog.v1.EntryOverview va return this; } /** - * - * *
      * Entry overview fields for rich text descriptions of entries.
      * 
@@ -624,8 +564,6 @@ public Builder setEntryOverview( return this; } /** - * - * *
      * Entry overview fields for rich text descriptions of entries.
      * 
@@ -634,10 +572,9 @@ public Builder setEntryOverview( */ public Builder mergeEntryOverview(com.google.cloud.datacatalog.v1.EntryOverview value) { if (entryOverviewBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && entryOverview_ != null - && entryOverview_ - != com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + entryOverview_ != null && + entryOverview_ != com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance()) { getEntryOverviewBuilder().mergeFrom(value); } else { entryOverview_ = value; @@ -650,8 +587,6 @@ public Builder mergeEntryOverview(com.google.cloud.datacatalog.v1.EntryOverview return this; } /** - * - * *
      * Entry overview fields for rich text descriptions of entries.
      * 
@@ -669,8 +604,6 @@ public Builder clearEntryOverview() { return this; } /** - * - * *
      * Entry overview fields for rich text descriptions of entries.
      * 
@@ -683,8 +616,6 @@ public com.google.cloud.datacatalog.v1.EntryOverview.Builder getEntryOverviewBui return getEntryOverviewFieldBuilder().getBuilder(); } /** - * - * *
      * Entry overview fields for rich text descriptions of entries.
      * 
@@ -695,14 +626,11 @@ public com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder getEntryOverviewOr if (entryOverviewBuilder_ != null) { return entryOverviewBuilder_.getMessageOrBuilder(); } else { - return entryOverview_ == null - ? com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance() - : entryOverview_; + return entryOverview_ == null ? + com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance() : entryOverview_; } } /** - * - * *
      * Entry overview fields for rich text descriptions of entries.
      * 
@@ -710,17 +638,14 @@ public com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder getEntryOverviewOr * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.EntryOverview, - com.google.cloud.datacatalog.v1.EntryOverview.Builder, - com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder> + com.google.cloud.datacatalog.v1.EntryOverview, com.google.cloud.datacatalog.v1.EntryOverview.Builder, com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder> getEntryOverviewFieldBuilder() { if (entryOverviewBuilder_ == null) { - entryOverviewBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.EntryOverview, - com.google.cloud.datacatalog.v1.EntryOverview.Builder, - com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder>( - getEntryOverview(), getParentForChildren(), isClean()); + entryOverviewBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.EntryOverview, com.google.cloud.datacatalog.v1.EntryOverview.Builder, com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder>( + getEntryOverview(), + getParentForChildren(), + isClean()); entryOverview_ = null; } return entryOverviewBuilder_; @@ -728,47 +653,34 @@ public com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder getEntryOverviewOr private com.google.cloud.datacatalog.v1.Contacts contacts_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Contacts, - com.google.cloud.datacatalog.v1.Contacts.Builder, - com.google.cloud.datacatalog.v1.ContactsOrBuilder> - contactsBuilder_; + com.google.cloud.datacatalog.v1.Contacts, com.google.cloud.datacatalog.v1.Contacts.Builder, com.google.cloud.datacatalog.v1.ContactsOrBuilder> contactsBuilder_; /** - * - * *
      * Contact people for the entry.
      * 
* * .google.cloud.datacatalog.v1.Contacts contacts = 2; - * * @return Whether the contacts field is set. */ public boolean hasContacts() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Contact people for the entry.
      * 
* * .google.cloud.datacatalog.v1.Contacts contacts = 2; - * * @return The contacts. */ public com.google.cloud.datacatalog.v1.Contacts getContacts() { if (contactsBuilder_ == null) { - return contacts_ == null - ? com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance() - : contacts_; + return contacts_ == null ? com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance() : contacts_; } else { return contactsBuilder_.getMessage(); } } /** - * - * *
      * Contact people for the entry.
      * 
@@ -789,15 +701,14 @@ public Builder setContacts(com.google.cloud.datacatalog.v1.Contacts value) { return this; } /** - * - * *
      * Contact people for the entry.
      * 
* * .google.cloud.datacatalog.v1.Contacts contacts = 2; */ - public Builder setContacts(com.google.cloud.datacatalog.v1.Contacts.Builder builderForValue) { + public Builder setContacts( + com.google.cloud.datacatalog.v1.Contacts.Builder builderForValue) { if (contactsBuilder_ == null) { contacts_ = builderForValue.build(); } else { @@ -808,8 +719,6 @@ public Builder setContacts(com.google.cloud.datacatalog.v1.Contacts.Builder buil return this; } /** - * - * *
      * Contact people for the entry.
      * 
@@ -818,9 +727,9 @@ public Builder setContacts(com.google.cloud.datacatalog.v1.Contacts.Builder buil */ public Builder mergeContacts(com.google.cloud.datacatalog.v1.Contacts value) { if (contactsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && contacts_ != null - && contacts_ != com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + contacts_ != null && + contacts_ != com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance()) { getContactsBuilder().mergeFrom(value); } else { contacts_ = value; @@ -833,8 +742,6 @@ public Builder mergeContacts(com.google.cloud.datacatalog.v1.Contacts value) { return this; } /** - * - * *
      * Contact people for the entry.
      * 
@@ -852,8 +759,6 @@ public Builder clearContacts() { return this; } /** - * - * *
      * Contact people for the entry.
      * 
@@ -866,8 +771,6 @@ public com.google.cloud.datacatalog.v1.Contacts.Builder getContactsBuilder() { return getContactsFieldBuilder().getBuilder(); } /** - * - * *
      * Contact people for the entry.
      * 
@@ -878,14 +781,11 @@ public com.google.cloud.datacatalog.v1.ContactsOrBuilder getContactsOrBuilder() if (contactsBuilder_ != null) { return contactsBuilder_.getMessageOrBuilder(); } else { - return contacts_ == null - ? com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance() - : contacts_; + return contacts_ == null ? + com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance() : contacts_; } } /** - * - * *
      * Contact people for the entry.
      * 
@@ -893,24 +793,21 @@ public com.google.cloud.datacatalog.v1.ContactsOrBuilder getContactsOrBuilder() * .google.cloud.datacatalog.v1.Contacts contacts = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Contacts, - com.google.cloud.datacatalog.v1.Contacts.Builder, - com.google.cloud.datacatalog.v1.ContactsOrBuilder> + com.google.cloud.datacatalog.v1.Contacts, com.google.cloud.datacatalog.v1.Contacts.Builder, com.google.cloud.datacatalog.v1.ContactsOrBuilder> getContactsFieldBuilder() { if (contactsBuilder_ == null) { - contactsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Contacts, - com.google.cloud.datacatalog.v1.Contacts.Builder, - com.google.cloud.datacatalog.v1.ContactsOrBuilder>( - getContacts(), getParentForChildren(), isClean()); + contactsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.Contacts, com.google.cloud.datacatalog.v1.Contacts.Builder, com.google.cloud.datacatalog.v1.ContactsOrBuilder>( + getContacts(), + getParentForChildren(), + isClean()); contacts_ = null; } return contactsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -920,12 +817,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.BusinessContext) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.BusinessContext) private static final com.google.cloud.datacatalog.v1.BusinessContext DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.BusinessContext(); } @@ -934,27 +831,27 @@ public static com.google.cloud.datacatalog.v1.BusinessContext getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BusinessContext parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BusinessContext parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -969,4 +866,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.BusinessContext getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContextOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContextOrBuilder.java similarity index 71% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContextOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContextOrBuilder.java index b2e2d06119da..417c73f282d1 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContextOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContextOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface BusinessContextOrBuilder - extends +public interface BusinessContextOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.BusinessContext) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Entry overview fields for rich text descriptions of entries.
    * 
* * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 1; - * * @return Whether the entryOverview field is set. */ boolean hasEntryOverview(); /** - * - * *
    * Entry overview fields for rich text descriptions of entries.
    * 
* * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 1; - * * @return The entryOverview. */ com.google.cloud.datacatalog.v1.EntryOverview getEntryOverview(); /** - * - * *
    * Entry overview fields for rich text descriptions of entries.
    * 
@@ -59,32 +35,24 @@ public interface BusinessContextOrBuilder com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder getEntryOverviewOrBuilder(); /** - * - * *
    * Contact people for the entry.
    * 
* * .google.cloud.datacatalog.v1.Contacts contacts = 2; - * * @return Whether the contacts field is set. */ boolean hasContacts(); /** - * - * *
    * Contact people for the entry.
    * 
* * .google.cloud.datacatalog.v1.Contacts contacts = 2; - * * @return The contacts. */ com.google.cloud.datacatalog.v1.Contacts getContacts(); /** - * - * *
    * Contact people for the entry.
    * 
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpec.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpec.java similarity index 61% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpec.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpec.java index 9b30644da92c..3eef24dfbd48 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpec.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpec.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Specification that applies to Instance
  * entries that are part of `CLOUD_BIGTABLE` system.
@@ -29,166 +12,139 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.CloudBigtableInstanceSpec}
  */
-public final class CloudBigtableInstanceSpec extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CloudBigtableInstanceSpec extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.CloudBigtableInstanceSpec)
     CloudBigtableInstanceSpecOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CloudBigtableInstanceSpec.newBuilder() to construct.
   private CloudBigtableInstanceSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CloudBigtableInstanceSpec() {
     cloudBigtableClusterSpecs_ = 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 CloudBigtableInstanceSpec();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.class,
-            com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.Builder.class);
+            com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.class, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.Builder.class);
   }
 
-  public interface CloudBigtableClusterSpecOrBuilder
-      extends
+  public interface CloudBigtableClusterSpecOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Name of the cluster.
      * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
      * Name of the cluster.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
      * Location of the cluster, typically a Cloud zone.
      * 
* * string location = 2; - * * @return The location. */ java.lang.String getLocation(); /** - * - * *
      * Location of the cluster, typically a Cloud zone.
      * 
* * string location = 2; - * * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); /** - * - * *
      * Type of the resource. For a cluster this would be "CLUSTER".
      * 
* * string type = 3; - * * @return The type. */ java.lang.String getType(); /** - * - * *
      * Type of the resource. For a cluster this would be "CLUSTER".
      * 
* * string type = 3; - * * @return The bytes for type. */ - com.google.protobuf.ByteString getTypeBytes(); + com.google.protobuf.ByteString + getTypeBytes(); /** - * - * *
      * A link back to the parent resource, in this case Instance.
      * 
* * string linked_resource = 4; - * * @return The linkedResource. */ java.lang.String getLinkedResource(); /** - * - * *
      * A link back to the parent resource, in this case Instance.
      * 
* * string linked_resource = 4; - * * @return The bytes for linkedResource. */ - com.google.protobuf.ByteString getLinkedResourceBytes(); + com.google.protobuf.ByteString + getLinkedResourceBytes(); } /** - * - * *
    * Spec that applies to clusters of an Instance of Cloud Bigtable.
    * 
* - * Protobuf type {@code - * google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec} + * Protobuf type {@code google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec} */ - public static final class CloudBigtableClusterSpec extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CloudBigtableClusterSpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec) CloudBigtableClusterSpecOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CloudBigtableClusterSpec.newBuilder() to construct. private CloudBigtableClusterSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CloudBigtableClusterSpec() { displayName_ = ""; location_ = ""; @@ -198,40 +154,33 @@ private CloudBigtableClusterSpec() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CloudBigtableClusterSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - .class, - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - .Builder.class); + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.class, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
      * Name of the cluster.
      * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -240,29 +189,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; } } /** - * - * *
      * Name of the cluster.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -271,18 +220,14 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int LOCATION_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object location_ = ""; /** - * - * *
      * Location of the cluster, typically a Cloud zone.
      * 
* * string location = 2; - * * @return The location. */ @java.lang.Override @@ -291,29 +236,29 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
      * Location of the cluster, typically a Cloud zone.
      * 
* * string location = 2; - * * @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 { @@ -322,18 +267,14 @@ public com.google.protobuf.ByteString getLocationBytes() { } public static final int TYPE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object type_ = ""; /** - * - * *
      * Type of the resource. For a cluster this would be "CLUSTER".
      * 
* * string type = 3; - * * @return The type. */ @java.lang.Override @@ -342,29 +283,29 @@ public java.lang.String getType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } } /** - * - * *
      * Type of the resource. For a cluster this would be "CLUSTER".
      * 
* * string type = 3; - * * @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 { @@ -373,18 +314,14 @@ public com.google.protobuf.ByteString getTypeBytes() { } public static final int LINKED_RESOURCE_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object linkedResource_ = ""; /** - * - * *
      * A link back to the parent resource, in this case Instance.
      * 
* * string linked_resource = 4; - * * @return The linkedResource. */ @java.lang.Override @@ -393,29 +330,29 @@ public java.lang.String getLinkedResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); linkedResource_ = s; return s; } } /** - * - * *
      * A link back to the parent resource, in this case Instance.
      * 
* * string linked_resource = 4; - * * @return The bytes for linkedResource. */ @java.lang.Override - public com.google.protobuf.ByteString getLinkedResourceBytes() { + public com.google.protobuf.ByteString + getLinkedResourceBytes() { java.lang.Object ref = linkedResource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); linkedResource_ = b; return b; } else { @@ -424,7 +361,6 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -436,7 +372,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -478,20 +415,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.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec)) { + if (!(obj instanceof com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec other = - (com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec) obj; + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec other = (com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec) obj; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getLocation().equals(other.getLocation())) return false; - if (!getType().equals(other.getType())) return false; - if (!getLinkedResource().equals(other.getLinkedResource())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; + if (!getType() + .equals(other.getType())) return false; + if (!getLinkedResource() + .equals(other.getLinkedResource())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -516,102 +454,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec 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.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - parseFrom( - java.io.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.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec parseFrom( + java.io.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.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - parseDelimitedFrom( - java.io.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.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec parseDelimitedFrom( + java.io.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.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - 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.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec 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.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -621,46 +547,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Spec that applies to clusters of an Instance of Cloud Bigtable.
      * 
* - * Protobuf type {@code - * google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec} + * Protobuf type {@code google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec) - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec - .CloudBigtableClusterSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_descriptor; + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpecOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - .class, - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - .Builder.class); + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.class, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder.class); } - // Construct using - // com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.newBuilder() - private Builder() {} + // Construct using com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.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(); @@ -673,23 +592,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_descriptor; } @java.lang.Override - public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - getDefaultInstanceForType() { - return com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - .getDefaultInstance(); + public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec getDefaultInstanceForType() { + return com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - build() { - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec result = - buildPartial(); + public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec build() { + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -697,21 +612,14 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - buildPartial() { - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec result = - new com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec( - this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec buildPartial() { + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec result = new com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - result) { + private void buildPartial0(com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.displayName_ = displayName_; @@ -731,57 +639,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.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec) { - return mergeFrom( - (com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec) - other); + if (other instanceof com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec) { + return mergeFrom((com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - other) { - if (other - == com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec other) { + if (other == com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.getDefaultInstance()) return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -828,37 +725,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - location_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - type_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - linkedResource_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + location_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + type_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + linkedResource_ = 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) { @@ -868,25 +760,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object displayName_ = ""; /** - * - * *
        * Name of the cluster.
        * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -895,21 +784,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
        * Name of the cluster.
        * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -917,35 +805,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
        * Name of the cluster.
        * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Name of the cluster.
        * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -955,21 +836,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
        * Name of the cluster.
        * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -979,20 +856,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object location_ = ""; /** - * - * *
        * Location of the cluster, typically a Cloud zone.
        * 
* * string location = 2; - * * @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; @@ -1001,21 +876,20 @@ public java.lang.String getLocation() { } } /** - * - * *
        * Location of the cluster, typically a Cloud zone.
        * 
* * string location = 2; - * * @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 { @@ -1023,35 +897,28 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
        * Location of the cluster, typically a Cloud zone.
        * 
* * string location = 2; - * * @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_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Location of the cluster, typically a Cloud zone.
        * 
* * string location = 2; - * * @return This builder for chaining. */ public Builder clearLocation() { @@ -1061,21 +928,17 @@ public Builder clearLocation() { return this; } /** - * - * *
        * Location of the cluster, typically a Cloud zone.
        * 
* * string location = 2; - * * @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_ |= 0x00000002; @@ -1085,20 +948,18 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) { private java.lang.Object type_ = ""; /** - * - * *
        * Type of the resource. For a cluster this would be "CLUSTER".
        * 
* * string type = 3; - * * @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; @@ -1107,21 +968,20 @@ public java.lang.String getType() { } } /** - * - * *
        * Type of the resource. For a cluster this would be "CLUSTER".
        * 
* * string type = 3; - * * @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 { @@ -1129,35 +989,28 @@ public com.google.protobuf.ByteString getTypeBytes() { } } /** - * - * *
        * Type of the resource. For a cluster this would be "CLUSTER".
        * 
* * string type = 3; - * * @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_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * Type of the resource. For a cluster this would be "CLUSTER".
        * 
* * string type = 3; - * * @return This builder for chaining. */ public Builder clearType() { @@ -1167,21 +1020,17 @@ public Builder clearType() { return this; } /** - * - * *
        * Type of the resource. For a cluster this would be "CLUSTER".
        * 
* * string type = 3; - * * @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_ |= 0x00000004; @@ -1191,20 +1040,18 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) { private java.lang.Object linkedResource_ = ""; /** - * - * *
        * A link back to the parent resource, in this case Instance.
        * 
* * string linked_resource = 4; - * * @return The linkedResource. */ public java.lang.String getLinkedResource() { java.lang.Object ref = linkedResource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); linkedResource_ = s; return s; @@ -1213,21 +1060,20 @@ public java.lang.String getLinkedResource() { } } /** - * - * *
        * A link back to the parent resource, in this case Instance.
        * 
* * string linked_resource = 4; - * * @return The bytes for linkedResource. */ - public com.google.protobuf.ByteString getLinkedResourceBytes() { + public com.google.protobuf.ByteString + getLinkedResourceBytes() { java.lang.Object ref = linkedResource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); linkedResource_ = b; return b; } else { @@ -1235,35 +1081,28 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { } } /** - * - * *
        * A link back to the parent resource, in this case Instance.
        * 
* * string linked_resource = 4; - * * @param value The linkedResource to set. * @return This builder for chaining. */ - public Builder setLinkedResource(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLinkedResource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } linkedResource_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
        * A link back to the parent resource, in this case Instance.
        * 
* * string linked_resource = 4; - * * @return This builder for chaining. */ public Builder clearLinkedResource() { @@ -1273,28 +1112,23 @@ public Builder clearLinkedResource() { return this; } /** - * - * *
        * A link back to the parent resource, in this case Instance.
        * 
* * string linked_resource = 4; - * * @param value The bytes for linkedResource to set. * @return This builder for chaining. */ - public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLinkedResourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); linkedResource_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1307,46 +1141,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec) - private static final com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec - .CloudBigtableClusterSpec - DEFAULT_INSTANCE; - + private static final com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec(); + DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec(); } - public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - getDefaultInstance() { + public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudBigtableClusterSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudBigtableClusterSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1358,104 +1187,74 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int CLOUD_BIGTABLE_CLUSTER_SPECS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private java.util.List< - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec> - cloudBigtableClusterSpecs_; + private java.util.List cloudBigtableClusterSpecs_; /** - * - * *
    * The list of clusters for the Instance.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; */ @java.lang.Override - public java.util.List< - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec> - getCloudBigtableClusterSpecsList() { + public java.util.List getCloudBigtableClusterSpecsList() { return cloudBigtableClusterSpecs_; } /** - * - * *
    * The list of clusters for the Instance.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec - .CloudBigtableClusterSpecOrBuilder> + public java.util.List getCloudBigtableClusterSpecsOrBuilderList() { return cloudBigtableClusterSpecs_; } /** - * - * *
    * The list of clusters for the Instance.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; */ @java.lang.Override public int getCloudBigtableClusterSpecsCount() { return cloudBigtableClusterSpecs_.size(); } /** - * - * *
    * The list of clusters for the Instance.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - getCloudBigtableClusterSpecs(int index) { + public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec getCloudBigtableClusterSpecs(int index) { return cloudBigtableClusterSpecs_.get(index); } /** - * - * *
    * The list of clusters for the Instance.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpecOrBuilder - getCloudBigtableClusterSpecsOrBuilder(int index) { + public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpecOrBuilder getCloudBigtableClusterSpecsOrBuilder( + int index) { return cloudBigtableClusterSpecs_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1467,7 +1266,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < cloudBigtableClusterSpecs_.size(); i++) { output.writeMessage(1, cloudBigtableClusterSpecs_.get(i)); } @@ -1481,9 +1281,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < cloudBigtableClusterSpecs_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, cloudBigtableClusterSpecs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, cloudBigtableClusterSpecs_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1493,16 +1292,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec other = - (com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) obj; + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec other = (com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) obj; - if (!getCloudBigtableClusterSpecsList().equals(other.getCloudBigtableClusterSpecsList())) - return false; + if (!getCloudBigtableClusterSpecsList() + .equals(other.getCloudBigtableClusterSpecsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1524,104 +1322,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specification that applies to Instance
    * entries that are part of `CLOUD_BIGTABLE` system.
@@ -1630,32 +1422,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.CloudBigtableInstanceSpec}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.CloudBigtableInstanceSpec)
       com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpecOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.class,
-              com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.Builder.class);
+              com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.class, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1671,9 +1464,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_descriptor;
     }
 
     @java.lang.Override
@@ -1692,22 +1485,17 @@ public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec buildPartial() {
-      com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec result =
-          new com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec(this);
+      com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec result = new com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec result) {
+    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec result) {
       if (cloudBigtableClusterSpecsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
-          cloudBigtableClusterSpecs_ =
-              java.util.Collections.unmodifiableList(cloudBigtableClusterSpecs_);
+          cloudBigtableClusterSpecs_ = java.util.Collections.unmodifiableList(cloudBigtableClusterSpecs_);
           bitField0_ = (bitField0_ & ~0x00000001);
         }
         result.cloudBigtableClusterSpecs_ = cloudBigtableClusterSpecs_;
@@ -1724,39 +1512,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CloudBigtableInstance
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1764,8 +1551,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec other) {
-      if (other == com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.getDefaultInstance()) return this;
       if (cloudBigtableClusterSpecsBuilder_ == null) {
         if (!other.cloudBigtableClusterSpecs_.isEmpty()) {
           if (cloudBigtableClusterSpecs_.isEmpty()) {
@@ -1784,10 +1570,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.CloudBigtableInstanceSp
             cloudBigtableClusterSpecsBuilder_ = null;
             cloudBigtableClusterSpecs_ = other.cloudBigtableClusterSpecs_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            cloudBigtableClusterSpecsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getCloudBigtableClusterSpecsFieldBuilder()
-                    : null;
+            cloudBigtableClusterSpecsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getCloudBigtableClusterSpecsFieldBuilder() : null;
           } else {
             cloudBigtableClusterSpecsBuilder_.addAllMessages(other.cloudBigtableClusterSpecs_);
           }
@@ -1819,29 +1604,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec
-                    m =
-                        input.readMessage(
-                            com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec
-                                .CloudBigtableClusterSpec.parser(),
-                            extensionRegistry);
-                if (cloudBigtableClusterSpecsBuilder_ == null) {
-                  ensureCloudBigtableClusterSpecsIsMutable();
-                  cloudBigtableClusterSpecs_.add(m);
-                } else {
-                  cloudBigtableClusterSpecsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec m =
+                  input.readMessage(
+                      com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.parser(),
+                      extensionRegistry);
+              if (cloudBigtableClusterSpecsBuilder_ == null) {
+                ensureCloudBigtableClusterSpecsIsMutable();
+                cloudBigtableClusterSpecs_.add(m);
+              } else {
+                cloudBigtableClusterSpecsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1851,45 +1632,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List<
-            com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec>
-        cloudBigtableClusterSpecs_ = java.util.Collections.emptyList();
-
+    private java.util.List cloudBigtableClusterSpecs_ =
+      java.util.Collections.emptyList();
     private void ensureCloudBigtableClusterSpecsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        cloudBigtableClusterSpecs_ =
-            new java.util.ArrayList<
-                com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec>(
-                cloudBigtableClusterSpecs_);
+        cloudBigtableClusterSpecs_ = new java.util.ArrayList(cloudBigtableClusterSpecs_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec,
-            com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec
-                .Builder,
-            com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec
-                .CloudBigtableClusterSpecOrBuilder>
-        cloudBigtableClusterSpecsBuilder_;
+        com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpecOrBuilder> cloudBigtableClusterSpecsBuilder_;
 
     /**
-     *
-     *
      * 
      * The list of clusters for the Instance.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; */ - public java.util.List< - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec> - getCloudBigtableClusterSpecsList() { + public java.util.List getCloudBigtableClusterSpecsList() { if (cloudBigtableClusterSpecsBuilder_ == null) { return java.util.Collections.unmodifiableList(cloudBigtableClusterSpecs_); } else { @@ -1897,15 +1661,11 @@ private void ensureCloudBigtableClusterSpecsIsMutable() { } } /** - * - * *
      * The list of clusters for the Instance.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; */ public int getCloudBigtableClusterSpecsCount() { if (cloudBigtableClusterSpecsBuilder_ == null) { @@ -1915,18 +1675,13 @@ public int getCloudBigtableClusterSpecsCount() { } } /** - * - * *
      * The list of clusters for the Instance.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; */ - public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - getCloudBigtableClusterSpecs(int index) { + public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec getCloudBigtableClusterSpecs(int index) { if (cloudBigtableClusterSpecsBuilder_ == null) { return cloudBigtableClusterSpecs_.get(index); } else { @@ -1934,19 +1689,14 @@ public int getCloudBigtableClusterSpecsCount() { } } /** - * - * *
      * The list of clusters for the Instance.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; */ public Builder setCloudBigtableClusterSpecs( - int index, - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec value) { + int index, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec value) { if (cloudBigtableClusterSpecsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1960,20 +1710,14 @@ public Builder setCloudBigtableClusterSpecs( return this; } /** - * - * *
      * The list of clusters for the Instance.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; */ public Builder setCloudBigtableClusterSpecs( - int index, - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder - builderForValue) { + int index, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder builderForValue) { if (cloudBigtableClusterSpecsBuilder_ == null) { ensureCloudBigtableClusterSpecsIsMutable(); cloudBigtableClusterSpecs_.set(index, builderForValue.build()); @@ -1984,18 +1728,13 @@ public Builder setCloudBigtableClusterSpecs( return this; } /** - * - * *
      * The list of clusters for the Instance.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; */ - public Builder addCloudBigtableClusterSpecs( - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec value) { + public Builder addCloudBigtableClusterSpecs(com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec value) { if (cloudBigtableClusterSpecsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2009,19 +1748,14 @@ public Builder addCloudBigtableClusterSpecs( return this; } /** - * - * *
      * The list of clusters for the Instance.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; */ public Builder addCloudBigtableClusterSpecs( - int index, - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec value) { + int index, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec value) { if (cloudBigtableClusterSpecsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2035,19 +1769,14 @@ public Builder addCloudBigtableClusterSpecs( return this; } /** - * - * *
      * The list of clusters for the Instance.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; */ public Builder addCloudBigtableClusterSpecs( - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder - builderForValue) { + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder builderForValue) { if (cloudBigtableClusterSpecsBuilder_ == null) { ensureCloudBigtableClusterSpecsIsMutable(); cloudBigtableClusterSpecs_.add(builderForValue.build()); @@ -2058,20 +1787,14 @@ public Builder addCloudBigtableClusterSpecs( return this; } /** - * - * *
      * The list of clusters for the Instance.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; */ public Builder addCloudBigtableClusterSpecs( - int index, - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder - builderForValue) { + int index, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder builderForValue) { if (cloudBigtableClusterSpecsBuilder_ == null) { ensureCloudBigtableClusterSpecsIsMutable(); cloudBigtableClusterSpecs_.add(index, builderForValue.build()); @@ -2082,25 +1805,18 @@ public Builder addCloudBigtableClusterSpecs( return this; } /** - * - * *
      * The list of clusters for the Instance.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; */ public Builder addAllCloudBigtableClusterSpecs( - java.lang.Iterable< - ? extends - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec - .CloudBigtableClusterSpec> - values) { + java.lang.Iterable values) { if (cloudBigtableClusterSpecsBuilder_ == null) { ensureCloudBigtableClusterSpecsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, cloudBigtableClusterSpecs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, cloudBigtableClusterSpecs_); onChanged(); } else { cloudBigtableClusterSpecsBuilder_.addAllMessages(values); @@ -2108,15 +1824,11 @@ public Builder addAllCloudBigtableClusterSpecs( return this; } /** - * - * *
      * The list of clusters for the Instance.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; */ public Builder clearCloudBigtableClusterSpecs() { if (cloudBigtableClusterSpecsBuilder_ == null) { @@ -2129,15 +1841,11 @@ public Builder clearCloudBigtableClusterSpecs() { return this; } /** - * - * *
      * The list of clusters for the Instance.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; */ public Builder removeCloudBigtableClusterSpecs(int index) { if (cloudBigtableClusterSpecsBuilder_ == null) { @@ -2150,57 +1858,39 @@ public Builder removeCloudBigtableClusterSpecs(int index) { return this; } /** - * - * *
      * The list of clusters for the Instance.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; */ - public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - .Builder - getCloudBigtableClusterSpecsBuilder(int index) { + public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder getCloudBigtableClusterSpecsBuilder( + int index) { return getCloudBigtableClusterSpecsFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of clusters for the Instance.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; */ - public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec - .CloudBigtableClusterSpecOrBuilder - getCloudBigtableClusterSpecsOrBuilder(int index) { + public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpecOrBuilder getCloudBigtableClusterSpecsOrBuilder( + int index) { if (cloudBigtableClusterSpecsBuilder_ == null) { - return cloudBigtableClusterSpecs_.get(index); - } else { + return cloudBigtableClusterSpecs_.get(index); } else { return cloudBigtableClusterSpecsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of clusters for the Instance.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; */ - public java.util.List< - ? extends - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec - .CloudBigtableClusterSpecOrBuilder> - getCloudBigtableClusterSpecsOrBuilderList() { + public java.util.List + getCloudBigtableClusterSpecsOrBuilderList() { if (cloudBigtableClusterSpecsBuilder_ != null) { return cloudBigtableClusterSpecsBuilder_.getMessageOrBuilderList(); } else { @@ -2208,77 +1898,45 @@ public Builder removeCloudBigtableClusterSpecs(int index) { } } /** - * - * *
      * The list of clusters for the Instance.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; */ - public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - .Builder - addCloudBigtableClusterSpecsBuilder() { - return getCloudBigtableClusterSpecsFieldBuilder() - .addBuilder( - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - .getDefaultInstance()); + public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder addCloudBigtableClusterSpecsBuilder() { + return getCloudBigtableClusterSpecsFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.getDefaultInstance()); } /** - * - * *
      * The list of clusters for the Instance.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; */ - public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - .Builder - addCloudBigtableClusterSpecsBuilder(int index) { - return getCloudBigtableClusterSpecsFieldBuilder() - .addBuilder( - index, - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - .getDefaultInstance()); + public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder addCloudBigtableClusterSpecsBuilder( + int index) { + return getCloudBigtableClusterSpecsFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.getDefaultInstance()); } /** - * - * *
      * The list of clusters for the Instance.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; */ - public java.util.List< - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - .Builder> - getCloudBigtableClusterSpecsBuilderList() { + public java.util.List + getCloudBigtableClusterSpecsBuilderList() { return getCloudBigtableClusterSpecsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec, - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - .Builder, - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec - .CloudBigtableClusterSpecOrBuilder> + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpecOrBuilder> getCloudBigtableClusterSpecsFieldBuilder() { if (cloudBigtableClusterSpecsBuilder_ == null) { - cloudBigtableClusterSpecsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec, - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec - .Builder, - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec - .CloudBigtableClusterSpecOrBuilder>( + cloudBigtableClusterSpecsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpecOrBuilder>( cloudBigtableClusterSpecs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2287,9 +1945,9 @@ public Builder removeCloudBigtableClusterSpecs(int index) { } return cloudBigtableClusterSpecsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2299,12 +1957,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) private static final com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec(); } @@ -2313,27 +1971,27 @@ public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudBigtableInstanceSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudBigtableInstanceSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2348,4 +2006,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpecOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpecOrBuilder.java new file mode 100644 index 000000000000..2cd9842229b8 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpecOrBuilder.java @@ -0,0 +1,53 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/datacatalog.proto + +package com.google.cloud.datacatalog.v1; + +public interface CloudBigtableInstanceSpecOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The list of clusters for the Instance.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + */ + java.util.List + getCloudBigtableClusterSpecsList(); + /** + *
+   * The list of clusters for the Instance.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + */ + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec getCloudBigtableClusterSpecs(int index); + /** + *
+   * The list of clusters for the Instance.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + */ + int getCloudBigtableClusterSpecsCount(); + /** + *
+   * The list of clusters for the Instance.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + */ + java.util.List + getCloudBigtableClusterSpecsOrBuilderList(); + /** + *
+   * The list of clusters for the Instance.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + */ + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpecOrBuilder getCloudBigtableClusterSpecsOrBuilder( + int index); +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpec.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpec.java similarity index 66% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpec.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpec.java index 81572b5e830d..06728fd8588b 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpec.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpec.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Specification that applies to
  * all entries that are part of `CLOUD_BIGTABLE` system
@@ -29,55 +12,49 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.CloudBigtableSystemSpec}
  */
-public final class CloudBigtableSystemSpec extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CloudBigtableSystemSpec extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.CloudBigtableSystemSpec)
     CloudBigtableSystemSpecOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CloudBigtableSystemSpec.newBuilder() to construct.
   private CloudBigtableSystemSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CloudBigtableSystemSpec() {
     instanceDisplayName_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CloudBigtableSystemSpec();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.class,
-            com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.Builder.class);
+            com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.class, com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.Builder.class);
   }
 
   public static final int INSTANCE_DISPLAY_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object instanceDisplayName_ = "";
   /**
-   *
-   *
    * 
    * Display name of the Instance. This is user specified and different from
    * the resource name.
    * 
* * string instance_display_name = 1; - * * @return The instanceDisplayName. */ @java.lang.Override @@ -86,30 +63,30 @@ public java.lang.String getInstanceDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceDisplayName_ = s; return s; } } /** - * - * *
    * Display name of the Instance. This is user specified and different from
    * the resource name.
    * 
* * string instance_display_name = 1; - * * @return The bytes for instanceDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceDisplayNameBytes() { + public com.google.protobuf.ByteString + getInstanceDisplayNameBytes() { java.lang.Object ref = instanceDisplayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceDisplayName_ = b; return b; } else { @@ -118,7 +95,6 @@ public com.google.protobuf.ByteString getInstanceDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -130,7 +106,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceDisplayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceDisplayName_); } @@ -154,15 +131,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec other = - (com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec) obj; + com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec other = (com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec) obj; - if (!getInstanceDisplayName().equals(other.getInstanceDisplayName())) return false; + if (!getInstanceDisplayName() + .equals(other.getInstanceDisplayName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -182,104 +159,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specification that applies to
    * all entries that are part of `CLOUD_BIGTABLE` system
@@ -288,32 +259,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.CloudBigtableSystemSpec}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.CloudBigtableSystemSpec)
       com.google.cloud.datacatalog.v1.CloudBigtableSystemSpecOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.class,
-              com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.Builder.class);
+              com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.class, com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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 +295,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_descriptor;
     }
 
     @java.lang.Override
@@ -344,11 +316,8 @@ public com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec buildPartial() {
-      com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec result =
-          new com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec result = new com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -364,39 +333,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CloudBigtableSystemSp
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -404,8 +372,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec other) {
-      if (other == com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.getDefaultInstance()) return this;
       if (!other.getInstanceDisplayName().isEmpty()) {
         instanceDisplayName_ = other.instanceDisplayName_;
         bitField0_ |= 0x00000001;
@@ -437,19 +404,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                instanceDisplayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              instanceDisplayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -459,26 +424,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object instanceDisplayName_ = "";
     /**
-     *
-     *
      * 
      * Display name of the Instance. This is user specified and different from
      * the resource name.
      * 
* * string instance_display_name = 1; - * * @return The instanceDisplayName. */ public java.lang.String getInstanceDisplayName() { java.lang.Object ref = instanceDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceDisplayName_ = s; return s; @@ -487,22 +449,21 @@ public java.lang.String getInstanceDisplayName() { } } /** - * - * *
      * Display name of the Instance. This is user specified and different from
      * the resource name.
      * 
* * string instance_display_name = 1; - * * @return The bytes for instanceDisplayName. */ - public com.google.protobuf.ByteString getInstanceDisplayNameBytes() { + public com.google.protobuf.ByteString + getInstanceDisplayNameBytes() { java.lang.Object ref = instanceDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceDisplayName_ = b; return b; } else { @@ -510,37 +471,30 @@ public com.google.protobuf.ByteString getInstanceDisplayNameBytes() { } } /** - * - * *
      * Display name of the Instance. This is user specified and different from
      * the resource name.
      * 
* * string instance_display_name = 1; - * * @param value The instanceDisplayName to set. * @return This builder for chaining. */ - public Builder setInstanceDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceDisplayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Display name of the Instance. This is user specified and different from
      * the resource name.
      * 
* * string instance_display_name = 1; - * * @return This builder for chaining. */ public Builder clearInstanceDisplayName() { @@ -550,31 +504,27 @@ public Builder clearInstanceDisplayName() { return this; } /** - * - * *
      * Display name of the Instance. This is user specified and different from
      * the resource name.
      * 
* * string instance_display_name = 1; - * * @param value The bytes for instanceDisplayName to set. * @return This builder for chaining. */ - public Builder setInstanceDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceDisplayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -584,12 +534,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.CloudBigtableSystemSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.CloudBigtableSystemSpec) private static final com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec(); } @@ -598,27 +548,27 @@ public static com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudBigtableSystemSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudBigtableSystemSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -633,4 +583,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpecOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpecOrBuilder.java similarity index 52% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpecOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpecOrBuilder.java index af262b877519..337d21e00d86 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpecOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpecOrBuilder.java @@ -1,52 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface CloudBigtableSystemSpecOrBuilder - extends +public interface CloudBigtableSystemSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CloudBigtableSystemSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Display name of the Instance. This is user specified and different from
    * the resource name.
    * 
* * string instance_display_name = 1; - * * @return The instanceDisplayName. */ java.lang.String getInstanceDisplayName(); /** - * - * *
    * Display name of the Instance. This is user specified and different from
    * the resource name.
    * 
* * string instance_display_name = 1; - * * @return The bytes for instanceDisplayName. */ - com.google.protobuf.ByteString getInstanceDisplayNameBytes(); + com.google.protobuf.ByteString + getInstanceDisplayNameBytes(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpec.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpec.java similarity index 65% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpec.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpec.java index 94be8550ec4f..ef3dd02005d4 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpec.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpec.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/bigquery.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Specification for the BigQuery connection to a Cloud SQL instance.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec} */ -public final class CloudSqlBigQueryConnectionSpec extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CloudSqlBigQueryConnectionSpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) CloudSqlBigQueryConnectionSpecOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CloudSqlBigQueryConnectionSpec.newBuilder() to construct. - private CloudSqlBigQueryConnectionSpec( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CloudSqlBigQueryConnectionSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CloudSqlBigQueryConnectionSpec() { instanceId_ = ""; database_ = ""; @@ -46,38 +27,34 @@ private CloudSqlBigQueryConnectionSpec() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CloudSqlBigQueryConnectionSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.BigQueryProto - .internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.BigQueryProto.internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.BigQueryProto - .internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.BigQueryProto.internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.class, - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder.class); + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.class, com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder.class); } /** - * - * *
    * Supported Cloud SQL database types.
    * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType} */ - public enum DatabaseType implements com.google.protobuf.ProtocolMessageEnum { + public enum DatabaseType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified database type.
      * 
@@ -86,8 +63,6 @@ public enum DatabaseType implements com.google.protobuf.ProtocolMessageEnum { */ DATABASE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Cloud SQL for PostgreSQL.
      * 
@@ -96,8 +71,6 @@ public enum DatabaseType implements com.google.protobuf.ProtocolMessageEnum { */ POSTGRES(1), /** - * - * *
      * Cloud SQL for MySQL.
      * 
@@ -109,8 +82,6 @@ public enum DatabaseType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified database type.
      * 
@@ -119,8 +90,6 @@ public enum DatabaseType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATABASE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Cloud SQL for PostgreSQL.
      * 
@@ -129,8 +98,6 @@ public enum DatabaseType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POSTGRES_VALUE = 1; /** - * - * *
      * Cloud SQL for MySQL.
      * 
@@ -139,6 +106,7 @@ public enum DatabaseType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MYSQL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -163,51 +131,49 @@ public static DatabaseType valueOf(int value) { */ public static DatabaseType forNumber(int value) { switch (value) { - case 0: - return DATABASE_TYPE_UNSPECIFIED; - case 1: - return POSTGRES; - case 2: - return MYSQL; - default: - return null; + case 0: return DATABASE_TYPE_UNSPECIFIED; + case 1: return POSTGRES; + case 2: return MYSQL; + 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< + DatabaseType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DatabaseType findValueByNumber(int number) { + return DatabaseType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DatabaseType findValueByNumber(int number) { - return DatabaseType.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.datacatalog.v1.CloudSqlBigQueryConnectionSpec.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.getDescriptor().getEnumTypes().get(0); } private static final DatabaseType[] VALUES = values(); - public static DatabaseType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DatabaseType 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,18 +191,14 @@ private DatabaseType(int value) { } public static final int INSTANCE_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** - * - * *
    * Cloud SQL instance ID in the format of `project:location:instance`.
    * 
* * string instance_id = 1; - * * @return The instanceId. */ @java.lang.Override @@ -245,29 +207,29 @@ public java.lang.String getInstanceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } } /** - * - * *
    * Cloud SQL instance ID in the format of `project:location:instance`.
    * 
* * string instance_id = 1; - * * @return The bytes for instanceId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -276,18 +238,14 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } public static final int DATABASE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object database_ = ""; /** - * - * *
    * Database name.
    * 
* * string database = 2; - * * @return The database. */ @java.lang.Override @@ -296,29 +254,29 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * Database name.
    * 
* * string database = 2; - * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -329,43 +287,30 @@ public com.google.protobuf.ByteString getDatabaseBytes() { public static final int TYPE_FIELD_NUMBER = 3; private int type_ = 0; /** - * - * *
    * Type of the Cloud SQL database.
    * 
* * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType 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_; } /** - * - * *
    * Type of the Cloud SQL database.
    * 
* * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType getType() { - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType result = - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType.forNumber( - type_); - return result == null - ? com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType getType() { + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType result = com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType.forNumber(type_); + return result == null ? com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -377,17 +322,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(instanceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, database_); } - if (type_ - != com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType - .DATABASE_TYPE_UNSPECIFIED - .getNumber()) { + if (type_ != com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType.DATABASE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, type_); } getUnknownFields().writeTo(output); @@ -405,11 +348,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, database_); } - if (type_ - != com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType - .DATABASE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, type_); + if (type_ != com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType.DATABASE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -419,16 +360,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.datacatalog.v1.CloudSqlBigQueryConnectionSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec other = - (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) obj; + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec other = (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) obj; - if (!getInstanceId().equals(other.getInstanceId())) return false; - if (!getDatabase().equals(other.getDatabase())) return false; + if (!getInstanceId() + .equals(other.getInstanceId())) return false; + if (!getDatabase() + .equals(other.getDatabase())) return false; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -453,136 +395,131 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specification for the BigQuery connection to a Cloud SQL instance.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.BigQueryProto - .internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.BigQueryProto.internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.BigQueryProto - .internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.BigQueryProto.internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.class, - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder.class); + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.class, com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -594,14 +531,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.BigQueryProto - .internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.BigQueryProto.internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_descriptor; } @java.lang.Override - public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec - getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec getDefaultInstanceForType() { return com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.getDefaultInstance(); } @@ -616,17 +552,13 @@ public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec buildPartial() { - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec result = - new com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec result = new com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec result) { + private void buildPartial0(com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.instanceId_ = instanceId_; @@ -643,39 +575,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.datacatalog.v1.CloudSqlBigQueryConnectionSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) other); + return mergeFrom((com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec)other); } else { super.mergeFrom(other); return this; @@ -683,9 +614,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec other) { - if (other - == com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.getDefaultInstance()) - return this; + if (other == com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.getDefaultInstance()) return this; if (!other.getInstanceId().isEmpty()) { instanceId_ = other.instanceId_; bitField0_ |= 0x00000001; @@ -725,31 +654,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - database_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - type_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + database_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + type_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -759,25 +684,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object instanceId_ = ""; /** - * - * *
      * Cloud SQL instance ID in the format of `project:location:instance`.
      * 
* * string instance_id = 1; - * * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; @@ -786,21 +708,20 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Cloud SQL instance ID in the format of `project:location:instance`.
      * 
* * string instance_id = 1; - * * @return The bytes for instanceId. */ - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -808,35 +729,28 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Cloud SQL instance ID in the format of `project:location:instance`.
      * 
* * string instance_id = 1; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Cloud SQL instance ID in the format of `project:location:instance`.
      * 
* * string instance_id = 1; - * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -846,21 +760,17 @@ public Builder clearInstanceId() { return this; } /** - * - * *
      * Cloud SQL instance ID in the format of `project:location:instance`.
      * 
* * string instance_id = 1; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000001; @@ -870,20 +780,18 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object database_ = ""; /** - * - * *
      * Database name.
      * 
* * string database = 2; - * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -892,21 +800,20 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * Database name.
      * 
* * string database = 2; - * * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -914,35 +821,28 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * Database name.
      * 
* * string database = 2; - * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabase( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } database_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Database name.
      * 
* * string database = 2; - * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -952,21 +852,17 @@ public Builder clearDatabase() { return this; } /** - * - * *
      * Database name.
      * 
* * string database = 2; - * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000002; @@ -976,31 +872,22 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
      * Type of the Cloud SQL database.
      * 
* - * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; - * - * + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType 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_; } /** - * - * *
      * Type of the Cloud SQL database.
      * 
* - * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; - * - * + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -1011,41 +898,28 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * Type of the Cloud SQL database.
      * 
* - * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; - * - * + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; * @return The type. */ @java.lang.Override public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType getType() { - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType result = - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType.forNumber( - type_); - return result == null - ? com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType.UNRECOGNIZED - : result; + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType result = com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType.forNumber(type_); + return result == null ? com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType.UNRECOGNIZED : result; } /** - * - * *
      * Type of the Cloud SQL database.
      * 
* - * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; - * - * + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType value) { + public Builder setType(com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType value) { if (value == null) { throw new NullPointerException(); } @@ -1055,15 +929,11 @@ public Builder setType( return this; } /** - * - * *
      * Type of the Cloud SQL database.
      * 
* - * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; - * - * + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; * @return This builder for chaining. */ public Builder clearType() { @@ -1072,9 +942,9 @@ public Builder clearType() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1084,43 +954,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) - private static final com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec - DEFAULT_INSTANCE; - + private static final com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec(); } - public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec - getDefaultInstance() { + public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudSqlBigQueryConnectionSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudSqlBigQueryConnectionSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1132,8 +1000,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec - getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpecOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpecOrBuilder.java similarity index 64% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpecOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpecOrBuilder.java index cbeb5b3b8cc9..6215b3a0c169 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpecOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpecOrBuilder.java @@ -1,99 +1,67 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/bigquery.proto package com.google.cloud.datacatalog.v1; -public interface CloudSqlBigQueryConnectionSpecOrBuilder - extends +public interface CloudSqlBigQueryConnectionSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud SQL instance ID in the format of `project:location:instance`.
    * 
* * string instance_id = 1; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * Cloud SQL instance ID in the format of `project:location:instance`.
    * 
* * string instance_id = 1; - * * @return The bytes for instanceId. */ - com.google.protobuf.ByteString getInstanceIdBytes(); + com.google.protobuf.ByteString + getInstanceIdBytes(); /** - * - * *
    * Database name.
    * 
* * string database = 2; - * * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * Database name.
    * 
* * string database = 2; - * * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * Type of the Cloud SQL database.
    * 
* * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Type of the Cloud SQL database.
    * 
* * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; - * * @return The type. */ com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType getType(); diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchema.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchema.java similarity index 69% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchema.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchema.java index 4f6fea887a77..e235fd658331 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchema.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchema.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/schema.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * A column within a schema. Columns can be nested inside
  * other columns.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ColumnSchema}
  */
-public final class ColumnSchema extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ColumnSchema extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ColumnSchema)
     ColumnSchemaOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ColumnSchema.newBuilder() to construct.
   private ColumnSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ColumnSchema() {
     column_ = "";
     type_ = "";
@@ -51,38 +33,34 @@ private ColumnSchema() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ColumnSchema();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.SchemaOuterClass
-        .internal_static_google_cloud_datacatalog_v1_ColumnSchema_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1_ColumnSchema_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.SchemaOuterClass
-        .internal_static_google_cloud_datacatalog_v1_ColumnSchema_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1_ColumnSchema_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ColumnSchema.class,
-            com.google.cloud.datacatalog.v1.ColumnSchema.Builder.class);
+            com.google.cloud.datacatalog.v1.ColumnSchema.class, com.google.cloud.datacatalog.v1.ColumnSchema.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Specifies inclusion of the column in an index
    * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.ColumnSchema.IndexingType} */ - public enum IndexingType implements com.google.protobuf.ProtocolMessageEnum { + public enum IndexingType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified.
      * 
@@ -91,8 +69,6 @@ public enum IndexingType implements com.google.protobuf.ProtocolMessageEnum { */ INDEXING_TYPE_UNSPECIFIED(0), /** - * - * *
      * Column not a part of an index.
      * 
@@ -101,8 +77,6 @@ public enum IndexingType implements com.google.protobuf.ProtocolMessageEnum { */ INDEXING_TYPE_NONE(1), /** - * - * *
      * Column Part of non unique index.
      * 
@@ -111,8 +85,6 @@ public enum IndexingType implements com.google.protobuf.ProtocolMessageEnum { */ INDEXING_TYPE_NON_UNIQUE(2), /** - * - * *
      * Column part of unique index.
      * 
@@ -121,8 +93,6 @@ public enum IndexingType implements com.google.protobuf.ProtocolMessageEnum { */ INDEXING_TYPE_UNIQUE(3), /** - * - * *
      * Column part of the primary key.
      * 
@@ -134,8 +104,6 @@ public enum IndexingType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified.
      * 
@@ -144,8 +112,6 @@ public enum IndexingType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INDEXING_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Column not a part of an index.
      * 
@@ -154,8 +120,6 @@ public enum IndexingType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INDEXING_TYPE_NONE_VALUE = 1; /** - * - * *
      * Column Part of non unique index.
      * 
@@ -164,8 +128,6 @@ public enum IndexingType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INDEXING_TYPE_NON_UNIQUE_VALUE = 2; /** - * - * *
      * Column part of unique index.
      * 
@@ -174,8 +136,6 @@ public enum IndexingType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INDEXING_TYPE_UNIQUE_VALUE = 3; /** - * - * *
      * Column part of the primary key.
      * 
@@ -184,6 +144,7 @@ public enum IndexingType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INDEXING_TYPE_PRIMARY_KEY_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -208,53 +169,51 @@ public static IndexingType valueOf(int value) { */ public static IndexingType forNumber(int value) { switch (value) { - case 0: - return INDEXING_TYPE_UNSPECIFIED; - case 1: - return INDEXING_TYPE_NONE; - case 2: - return INDEXING_TYPE_NON_UNIQUE; - case 3: - return INDEXING_TYPE_UNIQUE; - case 4: - return INDEXING_TYPE_PRIMARY_KEY; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; + case 0: return INDEXING_TYPE_UNSPECIFIED; + case 1: return INDEXING_TYPE_NONE; + case 2: return INDEXING_TYPE_NON_UNIQUE; + case 3: return INDEXING_TYPE_UNIQUE; + case 4: return INDEXING_TYPE_PRIMARY_KEY; + default: return null; + } } - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public IndexingType findValueByNumber(int number) { - return IndexingType.forNumber(number); - } - }; + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + IndexingType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public IndexingType findValueByNumber(int number) { + return IndexingType.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.datacatalog.v1.ColumnSchema.getDescriptor().getEnumTypes().get(0); } private static final IndexingType[] VALUES = values(); - public static IndexingType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static IndexingType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -271,96 +230,79 @@ private IndexingType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1.ColumnSchema.IndexingType) } - public interface LookerColumnSpecOrBuilder - extends + public interface LookerColumnSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Looker specific column type of this column.
      * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; - * - * + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
      * Looker specific column type of this column.
      * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; - * - * + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; * @return The type. */ com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType getType(); } /** - * - * *
    * Column info specific to Looker System.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec} */ - public static final class LookerColumnSpec extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class LookerColumnSpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) LookerColumnSpecOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LookerColumnSpec.newBuilder() to construct. private LookerColumnSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LookerColumnSpec() { type_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LookerColumnSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.SchemaOuterClass - .internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.SchemaOuterClass - .internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.class, - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.Builder.class); + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.class, com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.Builder.class); } /** - * - * *
      * Column type in Looker.
      * 
* - * Protobuf enum {@code - * google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType} + * Protobuf enum {@code google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType} */ - public enum LookerColumnType implements com.google.protobuf.ProtocolMessageEnum { + public enum LookerColumnType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Unspecified.
        * 
@@ -369,8 +311,6 @@ public enum LookerColumnType implements com.google.protobuf.ProtocolMessageEnum */ LOOKER_COLUMN_TYPE_UNSPECIFIED(0), /** - * - * *
        * Dimension.
        * 
@@ -379,8 +319,6 @@ public enum LookerColumnType implements com.google.protobuf.ProtocolMessageEnum */ DIMENSION(1), /** - * - * *
        * Dimension group - parent for Dimension.
        * 
@@ -389,8 +327,6 @@ public enum LookerColumnType implements com.google.protobuf.ProtocolMessageEnum */ DIMENSION_GROUP(2), /** - * - * *
        * Filter.
        * 
@@ -399,8 +335,6 @@ public enum LookerColumnType implements com.google.protobuf.ProtocolMessageEnum */ FILTER(3), /** - * - * *
        * Measure.
        * 
@@ -409,8 +343,6 @@ public enum LookerColumnType implements com.google.protobuf.ProtocolMessageEnum */ MEASURE(4), /** - * - * *
        * Parameter.
        * 
@@ -422,8 +354,6 @@ public enum LookerColumnType implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
        * Unspecified.
        * 
@@ -432,8 +362,6 @@ public enum LookerColumnType implements com.google.protobuf.ProtocolMessageEnum */ public static final int LOOKER_COLUMN_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Dimension.
        * 
@@ -442,8 +370,6 @@ public enum LookerColumnType implements com.google.protobuf.ProtocolMessageEnum */ public static final int DIMENSION_VALUE = 1; /** - * - * *
        * Dimension group - parent for Dimension.
        * 
@@ -452,8 +378,6 @@ public enum LookerColumnType implements com.google.protobuf.ProtocolMessageEnum */ public static final int DIMENSION_GROUP_VALUE = 2; /** - * - * *
        * Filter.
        * 
@@ -462,8 +386,6 @@ public enum LookerColumnType implements com.google.protobuf.ProtocolMessageEnum */ public static final int FILTER_VALUE = 3; /** - * - * *
        * Measure.
        * 
@@ -472,8 +394,6 @@ public enum LookerColumnType implements com.google.protobuf.ProtocolMessageEnum */ public static final int MEASURE_VALUE = 4; /** - * - * *
        * Parameter.
        * 
@@ -482,6 +402,7 @@ public enum LookerColumnType implements com.google.protobuf.ProtocolMessageEnum */ public static final int PARAMETER_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -506,20 +427,13 @@ public static LookerColumnType valueOf(int value) { */ public static LookerColumnType forNumber(int value) { switch (value) { - case 0: - return LOOKER_COLUMN_TYPE_UNSPECIFIED; - case 1: - return DIMENSION; - case 2: - return DIMENSION_GROUP; - case 3: - return FILTER; - case 4: - return MEASURE; - case 5: - return PARAMETER; - default: - return null; + case 0: return LOOKER_COLUMN_TYPE_UNSPECIFIED; + case 1: return DIMENSION; + case 2: return DIMENSION_GROUP; + case 3: return FILTER; + case 4: return MEASURE; + case 5: return PARAMETER; + default: return null; } } @@ -527,31 +441,29 @@ public static LookerColumnType forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + LookerColumnType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LookerColumnType findValueByNumber(int number) { + return LookerColumnType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LookerColumnType findValueByNumber(int number) { - return LookerColumnType.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.datacatalog.v1.ColumnSchema.LookerColumnSpec.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.getDescriptor().getEnumTypes().get(0); } private static final LookerColumnType[] VALUES = values(); @@ -559,7 +471,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static LookerColumnType 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; @@ -579,47 +492,30 @@ private LookerColumnType(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_ = 0; /** - * - * *
      * Looker specific column type of this column.
      * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; - * - * + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Looker specific column type of this column.
      * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; - * - * + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; * @return The type. */ - @java.lang.Override - public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType - getType() { - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType result = - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType.forNumber( - type_); - return result == null - ? com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType - .UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType getType() { + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType result = com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType.forNumber(type_); + return result == null ? com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -631,11 +527,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (type_ - != com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType - .LOOKER_COLUMN_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (type_ != com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType.LOOKER_COLUMN_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } getUnknownFields().writeTo(output); @@ -647,11 +541,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ - != com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType - .LOOKER_COLUMN_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + if (type_ != com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType.LOOKER_COLUMN_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -661,13 +553,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.datacatalog.v1.ColumnSchema.LookerColumnSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec other = - (com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) obj; + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec other = (com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) obj; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -689,94 +580,89 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -786,41 +672,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Column info specific to Looker System.
      * 
* * Protobuf type {@code google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.SchemaOuterClass - .internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.SchemaOuterClass - .internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.class, - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.Builder.class); + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.class, com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -830,14 +714,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.SchemaOuterClass - .internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_descriptor; } @java.lang.Override - public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec - getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec getDefaultInstanceForType() { return com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.getDefaultInstance(); } @@ -852,17 +735,13 @@ public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec buildPartial() { - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec result = - new com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec result = new com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec result) { + private void buildPartial0(com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.type_ = type_; @@ -873,52 +752,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.datacatalog.v1.ColumnSchema.LookerColumnSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) other); + return mergeFrom((com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec other) { - if (other - == com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec other) { + if (other == com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.getDefaultInstance()) return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } @@ -948,19 +821,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - type_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + type_ = 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) { @@ -970,36 +841,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int type_ = 0; /** - * - * *
        * Looker specific column type of this column.
        * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; - * - * + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
        * Looker specific column type of this column.
        * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; - * - * + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -1010,43 +871,28 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
        * Looker specific column type of this column.
        * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; - * - * + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; * @return The type. */ @java.lang.Override - public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType - getType() { - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType result = - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType - .forNumber(type_); - return result == null - ? com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType - .UNRECOGNIZED - : result; + public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType getType() { + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType result = com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType.forNumber(type_); + return result == null ? com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType.UNRECOGNIZED : result; } /** - * - * *
        * Looker specific column type of this column.
        * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; - * - * + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType value) { + public Builder setType(com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType value) { if (value == null) { throw new NullPointerException(); } @@ -1056,15 +902,11 @@ public Builder setType( return this; } /** - * - * *
        * Looker specific column type of this column.
        * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; - * - * + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; * @return This builder for chaining. */ public Builder clearType() { @@ -1073,7 +915,6 @@ public Builder clearType() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1086,44 +927,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) - private static final com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec - DEFAULT_INSTANCE; - + private static final com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec(); } - public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec - getDefaultInstance() { + public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LookerColumnSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LookerColumnSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1135,25 +973,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec - getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int systemSpecCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object systemSpec_; - public enum SystemSpecCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { LOOKER_COLUMN_SPEC(18), SYSTEMSPEC_NOT_SET(0); private final int value; - private SystemSpecCase(int value) { this.value = value; } @@ -1169,31 +1003,26 @@ public static SystemSpecCase valueOf(int value) { public static SystemSpecCase forNumber(int value) { switch (value) { - case 18: - return LOOKER_COLUMN_SPEC; - case 0: - return SYSTEMSPEC_NOT_SET; - default: - return null; + case 18: return LOOKER_COLUMN_SPEC; + case 0: return SYSTEMSPEC_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public SystemSpecCase getSystemSpecCase() { - return SystemSpecCase.forNumber(systemSpecCase_); + public SystemSpecCase + getSystemSpecCase() { + return SystemSpecCase.forNumber( + systemSpecCase_); } public static final int COLUMN_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object column_ = ""; /** - * - * *
    * Required. Name of the column.
    *
@@ -1202,7 +1031,6 @@ public SystemSpecCase getSystemSpecCase() {
    * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The column. */ @java.lang.Override @@ -1211,15 +1039,14 @@ 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; } } /** - * - * *
    * Required. Name of the column.
    *
@@ -1228,15 +1055,16 @@ public java.lang.String getColumn() {
    * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -1245,12 +1073,9 @@ public com.google.protobuf.ByteString getColumnBytes() { } public static final int TYPE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object type_ = ""; /** - * - * *
    * Required. Type of the column.
    *
@@ -1258,7 +1083,6 @@ public com.google.protobuf.ByteString getColumnBytes() {
    * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The type. */ @java.lang.Override @@ -1267,15 +1091,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; } } /** - * - * *
    * Required. Type of the column.
    *
@@ -1283,15 +1106,16 @@ public java.lang.String getType() {
    * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -1300,12 +1124,9 @@ public com.google.protobuf.ByteString getTypeBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Optional. Description of the column. Default value is an empty string.
    *
@@ -1314,7 +1135,6 @@ public com.google.protobuf.ByteString getTypeBytes() {
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -1323,15 +1143,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 column. Default value is an empty string.
    *
@@ -1340,15 +1159,16 @@ public java.lang.String getDescription() {
    * 
* * 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 { @@ -1357,12 +1177,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int MODE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object mode_ = ""; /** - * - * *
    * Optional. A column's mode indicates whether values in this column are
    * required, nullable, or repeated.
@@ -1372,7 +1189,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
    * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The mode. */ @java.lang.Override @@ -1381,15 +1197,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; } } /** - * - * *
    * Optional. A column's mode indicates whether values in this column are
    * required, nullable, or repeated.
@@ -1399,15 +1214,16 @@ public java.lang.String getMode() {
    * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1416,18 +1232,14 @@ public com.google.protobuf.ByteString getModeBytes() { } public static final int DEFAULT_VALUE_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private volatile java.lang.Object defaultValue_ = ""; /** - * - * *
    * Optional. Default value for the column.
    * 
* * string default_value = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The defaultValue. */ @java.lang.Override @@ -1436,29 +1248,29 @@ public java.lang.String getDefaultValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultValue_ = s; return s; } } /** - * - * *
    * Optional. Default value for the column.
    * 
* * string default_value = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for defaultValue. */ @java.lang.Override - public com.google.protobuf.ByteString getDefaultValueBytes() { + public com.google.protobuf.ByteString + getDefaultValueBytes() { java.lang.Object ref = defaultValue_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultValue_ = b; return b; } else { @@ -1469,14 +1281,11 @@ public com.google.protobuf.ByteString getDefaultValueBytes() { public static final int ORDINAL_POSITION_FIELD_NUMBER = 9; private int ordinalPosition_ = 0; /** - * - * *
    * Optional. Ordinal position
    * 
* * int32 ordinal_position = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The ordinalPosition. */ @java.lang.Override @@ -1487,141 +1296,102 @@ public int getOrdinalPosition() { public static final int HIGHEST_INDEXING_TYPE_FIELD_NUMBER = 10; private int highestIndexingType_ = 0; /** - * - * *
    * Optional. Most important inclusion of this column.
    * 
* - * - * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for highestIndexingType. */ - @java.lang.Override - public int getHighestIndexingTypeValue() { + @java.lang.Override public int getHighestIndexingTypeValue() { return highestIndexingType_; } /** - * - * *
    * Optional. Most important inclusion of this column.
    * 
* - * - * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return The highestIndexingType. */ - @java.lang.Override - public com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType getHighestIndexingType() { - com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType result = - com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType.forNumber(highestIndexingType_); - return result == null - ? com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType getHighestIndexingType() { + com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType result = com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType.forNumber(highestIndexingType_); + return result == null ? com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType.UNRECOGNIZED : result; } public static final int SUBCOLUMNS_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private java.util.List subcolumns_; /** - * - * *
    * Optional. Schema of sub-columns. A column can have zero or more
    * sub-columns.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.List getSubcolumnsList() { return subcolumns_; } /** - * - * *
    * Optional. Schema of sub-columns. A column can have zero or more
    * sub-columns.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List + public java.util.List getSubcolumnsOrBuilderList() { return subcolumns_; } /** - * - * *
    * Optional. Schema of sub-columns. A column can have zero or more
    * sub-columns.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public int getSubcolumnsCount() { return subcolumns_.size(); } /** - * - * *
    * Optional. Schema of sub-columns. A column can have zero or more
    * sub-columns.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.datacatalog.v1.ColumnSchema getSubcolumns(int index) { return subcolumns_.get(index); } /** - * - * *
    * Optional. Schema of sub-columns. A column can have zero or more
    * sub-columns.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getSubcolumnsOrBuilder(int index) { + public com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getSubcolumnsOrBuilder( + int index) { return subcolumns_.get(index); } public static final int LOOKER_COLUMN_SPEC_FIELD_NUMBER = 18; /** - * - * *
    * Looker specific column info of this column.
    * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; - * - * + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; * @return Whether the lookerColumnSpec field is set. */ @java.lang.Override @@ -1629,57 +1399,45 @@ public boolean hasLookerColumnSpec() { return systemSpecCase_ == 18; } /** - * - * *
    * Looker specific column info of this column.
    * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; - * - * + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; * @return The lookerColumnSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec getLookerColumnSpec() { if (systemSpecCase_ == 18) { - return (com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) systemSpec_; + return (com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) systemSpec_; } return com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.getDefaultInstance(); } /** - * - * *
    * Looker specific column info of this column.
    * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; - * + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpecOrBuilder - getLookerColumnSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpecOrBuilder getLookerColumnSpecOrBuilder() { if (systemSpecCase_ == 18) { - return (com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) systemSpec_; + return (com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) systemSpec_; } return com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.getDefaultInstance(); } public static final int GC_RULE_FIELD_NUMBER = 11; - @SuppressWarnings("serial") private volatile java.lang.Object gcRule_ = ""; /** - * - * *
    * Optional. Garbage collection policy for the column or column family.
    * Applies to systems like Cloud Bigtable.
    * 
* * string gc_rule = 11 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The gcRule. */ @java.lang.Override @@ -1688,30 +1446,30 @@ public java.lang.String getGcRule() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gcRule_ = s; return s; } } /** - * - * *
    * Optional. Garbage collection policy for the column or column family.
    * Applies to systems like Cloud Bigtable.
    * 
* * string gc_rule = 11 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for gcRule. */ @java.lang.Override - public com.google.protobuf.ByteString getGcRuleBytes() { + public com.google.protobuf.ByteString + getGcRuleBytes() { java.lang.Object ref = gcRule_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); gcRule_ = b; return b; } else { @@ -1720,7 +1478,6 @@ public com.google.protobuf.ByteString getGcRuleBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1732,7 +1489,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1754,17 +1512,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (ordinalPosition_ != 0) { output.writeInt32(9, ordinalPosition_); } - if (highestIndexingType_ - != com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType.INDEXING_TYPE_UNSPECIFIED - .getNumber()) { + if (highestIndexingType_ != com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType.INDEXING_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(10, highestIndexingType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gcRule_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, gcRule_); } if (systemSpecCase_ == 18) { - output.writeMessage( - 18, (com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) systemSpec_); + output.writeMessage(18, (com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) systemSpec_); } getUnknownFields().writeTo(output); } @@ -1788,26 +1543,26 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, column_); } for (int i = 0; i < subcolumns_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, subcolumns_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, subcolumns_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultValue_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, defaultValue_); } if (ordinalPosition_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, ordinalPosition_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(9, ordinalPosition_); } - if (highestIndexingType_ - != com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType.INDEXING_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, highestIndexingType_); + if (highestIndexingType_ != com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType.INDEXING_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(10, highestIndexingType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gcRule_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, gcRule_); } if (systemSpecCase_ == 18) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 18, (com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) systemSpec_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, (com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) systemSpec_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1817,27 +1572,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.datacatalog.v1.ColumnSchema)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ColumnSchema other = - (com.google.cloud.datacatalog.v1.ColumnSchema) obj; - - if (!getColumn().equals(other.getColumn())) return false; - if (!getType().equals(other.getType())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getMode().equals(other.getMode())) return false; - if (!getDefaultValue().equals(other.getDefaultValue())) return false; - if (getOrdinalPosition() != other.getOrdinalPosition()) return false; + com.google.cloud.datacatalog.v1.ColumnSchema other = (com.google.cloud.datacatalog.v1.ColumnSchema) obj; + + if (!getColumn() + .equals(other.getColumn())) return false; + if (!getType() + .equals(other.getType())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getMode() + .equals(other.getMode())) return false; + if (!getDefaultValue() + .equals(other.getDefaultValue())) return false; + if (getOrdinalPosition() + != other.getOrdinalPosition()) return false; if (highestIndexingType_ != other.highestIndexingType_) return false; - if (!getSubcolumnsList().equals(other.getSubcolumnsList())) return false; - if (!getGcRule().equals(other.getGcRule())) return false; + if (!getSubcolumnsList() + .equals(other.getSubcolumnsList())) return false; + if (!getGcRule() + .equals(other.getGcRule())) return false; if (!getSystemSpecCase().equals(other.getSystemSpecCase())) return false; switch (systemSpecCase_) { case 18: - if (!getLookerColumnSpec().equals(other.getLookerColumnSpec())) return false; + if (!getLookerColumnSpec() + .equals(other.getLookerColumnSpec())) return false; break; case 0: default: @@ -1886,104 +1649,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.ColumnSchema parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.ColumnSchema parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ColumnSchema parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ColumnSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ColumnSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ColumnSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ColumnSchema parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ColumnSchema parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ColumnSchema parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ColumnSchema parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ColumnSchema parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ColumnSchema parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ColumnSchema parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ColumnSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.ColumnSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A column within a schema. Columns can be nested inside
    * other columns.
@@ -1991,32 +1749,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ColumnSchema}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ColumnSchema)
       com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.SchemaOuterClass
-          .internal_static_google_cloud_datacatalog_v1_ColumnSchema_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1_ColumnSchema_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.SchemaOuterClass
-          .internal_static_google_cloud_datacatalog_v1_ColumnSchema_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1_ColumnSchema_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ColumnSchema.class,
-              com.google.cloud.datacatalog.v1.ColumnSchema.Builder.class);
+              com.google.cloud.datacatalog.v1.ColumnSchema.class, com.google.cloud.datacatalog.v1.ColumnSchema.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ColumnSchema.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2045,9 +1804,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.SchemaOuterClass
-          .internal_static_google_cloud_datacatalog_v1_ColumnSchema_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1_ColumnSchema_descriptor;
     }
 
     @java.lang.Override
@@ -2066,12 +1825,9 @@ public com.google.cloud.datacatalog.v1.ColumnSchema build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ColumnSchema buildPartial() {
-      com.google.cloud.datacatalog.v1.ColumnSchema result =
-          new com.google.cloud.datacatalog.v1.ColumnSchema(this);
+      com.google.cloud.datacatalog.v1.ColumnSchema result = new com.google.cloud.datacatalog.v1.ColumnSchema(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -2120,7 +1876,8 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ColumnSchema result)
     private void buildPartialOneofs(com.google.cloud.datacatalog.v1.ColumnSchema result) {
       result.systemSpecCase_ = systemSpecCase_;
       result.systemSpec_ = this.systemSpec_;
-      if (systemSpecCase_ == 18 && lookerColumnSpecBuilder_ != null) {
+      if (systemSpecCase_ == 18 &&
+          lookerColumnSpecBuilder_ != null) {
         result.systemSpec_ = lookerColumnSpecBuilder_.build();
       }
     }
@@ -2129,39 +1886,38 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.ColumnSchema 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.datacatalog.v1.ColumnSchema) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ColumnSchema) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ColumnSchema)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2219,10 +1975,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.ColumnSchema other) {
             subcolumnsBuilder_ = null;
             subcolumns_ = other.subcolumns_;
             bitField0_ = (bitField0_ & ~0x00000080);
-            subcolumnsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getSubcolumnsFieldBuilder()
-                    : null;
+            subcolumnsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getSubcolumnsFieldBuilder() : null;
           } else {
             subcolumnsBuilder_.addAllMessages(other.subcolumns_);
           }
@@ -2234,15 +1989,13 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.ColumnSchema other) {
         onChanged();
       }
       switch (other.getSystemSpecCase()) {
-        case LOOKER_COLUMN_SPEC:
-          {
-            mergeLookerColumnSpec(other.getLookerColumnSpec());
-            break;
-          }
-        case SYSTEMSPEC_NOT_SET:
-          {
-            break;
-          }
+        case LOOKER_COLUMN_SPEC: {
+          mergeLookerColumnSpec(other.getLookerColumnSpec());
+          break;
+        }
+        case SYSTEMSPEC_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -2270,81 +2023,72 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                type_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 10
-            case 18:
-              {
-                description_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 18
-            case 26:
-              {
-                mode_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 26
-            case 50:
-              {
-                column_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 50
-            case 58:
-              {
-                com.google.cloud.datacatalog.v1.ColumnSchema m =
-                    input.readMessage(
-                        com.google.cloud.datacatalog.v1.ColumnSchema.parser(), extensionRegistry);
-                if (subcolumnsBuilder_ == null) {
-                  ensureSubcolumnsIsMutable();
-                  subcolumns_.add(m);
-                } else {
-                  subcolumnsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 58
-            case 66:
-              {
-                defaultValue_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 66
-            case 72:
-              {
-                ordinalPosition_ = input.readInt32();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 72
-            case 80:
-              {
-                highestIndexingType_ = input.readEnum();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 80
-            case 90:
-              {
-                gcRule_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000200;
-                break;
-              } // case 90
-            case 146:
-              {
-                input.readMessage(
-                    getLookerColumnSpecFieldBuilder().getBuilder(), extensionRegistry);
-                systemSpecCase_ = 18;
-                break;
-              } // case 146
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              type_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 10
+            case 18: {
+              description_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 18
+            case 26: {
+              mode_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 26
+            case 50: {
+              column_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 50
+            case 58: {
+              com.google.cloud.datacatalog.v1.ColumnSchema m =
+                  input.readMessage(
+                      com.google.cloud.datacatalog.v1.ColumnSchema.parser(),
+                      extensionRegistry);
+              if (subcolumnsBuilder_ == null) {
+                ensureSubcolumnsIsMutable();
+                subcolumns_.add(m);
+              } else {
+                subcolumnsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 58
+            case 66: {
+              defaultValue_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 66
+            case 72: {
+              ordinalPosition_ = input.readInt32();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 72
+            case 80: {
+              highestIndexingType_ = input.readEnum();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 80
+            case 90: {
+              gcRule_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000200;
+              break;
+            } // case 90
+            case 146: {
+              input.readMessage(
+                  getLookerColumnSpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              systemSpecCase_ = 18;
+              break;
+            } // case 146
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2354,12 +2098,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int systemSpecCase_ = 0;
     private java.lang.Object systemSpec_;
-
-    public SystemSpecCase getSystemSpecCase() {
-      return SystemSpecCase.forNumber(systemSpecCase_);
+    public SystemSpecCase
+        getSystemSpecCase() {
+      return SystemSpecCase.forNumber(
+          systemSpecCase_);
     }
 
     public Builder clearSystemSpec() {
@@ -2373,8 +2117,6 @@ public Builder clearSystemSpec() {
 
     private java.lang.Object column_ = "";
     /**
-     *
-     *
      * 
      * Required. Name of the column.
      *
@@ -2383,13 +2125,13 @@ public Builder clearSystemSpec() {
      * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -2398,8 +2140,6 @@ public java.lang.String getColumn() { } } /** - * - * *
      * Required. Name of the column.
      *
@@ -2408,14 +2148,15 @@ public java.lang.String getColumn() {
      * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -2423,8 +2164,6 @@ public com.google.protobuf.ByteString getColumnBytes() { } } /** - * - * *
      * Required. Name of the column.
      *
@@ -2433,22 +2172,18 @@ public com.google.protobuf.ByteString getColumnBytes() {
      * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @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; } /** - * - * *
      * Required. Name of the column.
      *
@@ -2457,7 +2192,6 @@ public Builder setColumn(java.lang.String value) {
      * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearColumn() { @@ -2467,8 +2201,6 @@ public Builder clearColumn() { return this; } /** - * - * *
      * Required. Name of the column.
      *
@@ -2477,14 +2209,12 @@ public Builder clearColumn() {
      * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -2494,8 +2224,6 @@ public Builder setColumnBytes(com.google.protobuf.ByteString value) { private java.lang.Object type_ = ""; /** - * - * *
      * Required. Type of the column.
      *
@@ -2503,13 +2231,13 @@ public Builder setColumnBytes(com.google.protobuf.ByteString value) {
      * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -2518,8 +2246,6 @@ public java.lang.String getType() { } } /** - * - * *
      * Required. Type of the column.
      *
@@ -2527,14 +2253,15 @@ public java.lang.String getType() {
      * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -2542,8 +2269,6 @@ public com.google.protobuf.ByteString getTypeBytes() { } } /** - * - * *
      * Required. Type of the column.
      *
@@ -2551,22 +2276,18 @@ public com.google.protobuf.ByteString getTypeBytes() {
      * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; } /** - * - * *
      * Required. Type of the column.
      *
@@ -2574,7 +2295,6 @@ public Builder setType(java.lang.String value) {
      * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearType() { @@ -2584,8 +2304,6 @@ public Builder clearType() { return this; } /** - * - * *
      * Required. Type of the column.
      *
@@ -2593,14 +2311,12 @@ public Builder clearType() {
      * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -2610,8 +2326,6 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Optional. Description of the column. Default value is an empty string.
      *
@@ -2620,13 +2334,13 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -2635,8 +2349,6 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. Description of the column. Default value is an empty string.
      *
@@ -2645,14 +2357,15 @@ public java.lang.String getDescription() {
      * 
* * 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 { @@ -2660,8 +2373,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. Description of the column. Default value is an empty string.
      *
@@ -2670,22 +2381,18 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
      * 
* * 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_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. Description of the column. Default value is an empty string.
      *
@@ -2694,7 +2401,6 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2704,8 +2410,6 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Optional. Description of the column. Default value is an empty string.
      *
@@ -2714,14 +2418,12 @@ public Builder clearDescription() {
      * 
* * 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_ |= 0x00000004; @@ -2731,8 +2433,6 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object mode_ = ""; /** - * - * *
      * Optional. A column's mode indicates whether values in this column are
      * required, nullable, or repeated.
@@ -2742,13 +2442,13 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
      * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -2757,8 +2457,6 @@ public java.lang.String getMode() { } } /** - * - * *
      * Optional. A column's mode indicates whether values in this column are
      * required, nullable, or repeated.
@@ -2768,14 +2466,15 @@ public java.lang.String getMode() {
      * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -2783,8 +2482,6 @@ public com.google.protobuf.ByteString getModeBytes() { } } /** - * - * *
      * Optional. A column's mode indicates whether values in this column are
      * required, nullable, or repeated.
@@ -2794,22 +2491,18 @@ public com.google.protobuf.ByteString getModeBytes() {
      * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. A column's mode indicates whether values in this column are
      * required, nullable, or repeated.
@@ -2819,7 +2512,6 @@ public Builder setMode(java.lang.String value) {
      * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearMode() { @@ -2829,8 +2521,6 @@ public Builder clearMode() { return this; } /** - * - * *
      * Optional. A column's mode indicates whether values in this column are
      * required, nullable, or repeated.
@@ -2840,14 +2530,12 @@ public Builder clearMode() {
      * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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_ |= 0x00000008; @@ -2857,20 +2545,18 @@ public Builder setModeBytes(com.google.protobuf.ByteString value) { private java.lang.Object defaultValue_ = ""; /** - * - * *
      * Optional. Default value for the column.
      * 
* * string default_value = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The defaultValue. */ public java.lang.String getDefaultValue() { java.lang.Object ref = defaultValue_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultValue_ = s; return s; @@ -2879,21 +2565,20 @@ public java.lang.String getDefaultValue() { } } /** - * - * *
      * Optional. Default value for the column.
      * 
* * string default_value = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for defaultValue. */ - public com.google.protobuf.ByteString getDefaultValueBytes() { + public com.google.protobuf.ByteString + getDefaultValueBytes() { java.lang.Object ref = defaultValue_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultValue_ = b; return b; } else { @@ -2901,35 +2586,28 @@ public com.google.protobuf.ByteString getDefaultValueBytes() { } } /** - * - * *
      * Optional. Default value for the column.
      * 
* * string default_value = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The defaultValue to set. * @return This builder for chaining. */ - public Builder setDefaultValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDefaultValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } defaultValue_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. Default value for the column.
      * 
* * string default_value = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDefaultValue() { @@ -2939,21 +2617,17 @@ public Builder clearDefaultValue() { return this; } /** - * - * *
      * Optional. Default value for the column.
      * 
* * string default_value = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for defaultValue to set. * @return This builder for chaining. */ - public Builder setDefaultValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDefaultValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); defaultValue_ = value; bitField0_ |= 0x00000010; @@ -2961,16 +2635,13 @@ public Builder setDefaultValueBytes(com.google.protobuf.ByteString value) { return this; } - private int ordinalPosition_; + private int ordinalPosition_ ; /** - * - * *
      * Optional. Ordinal position
      * 
* * int32 ordinal_position = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The ordinalPosition. */ @java.lang.Override @@ -2978,14 +2649,11 @@ public int getOrdinalPosition() { return ordinalPosition_; } /** - * - * *
      * Optional. Ordinal position
      * 
* * int32 ordinal_position = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The ordinalPosition to set. * @return This builder for chaining. */ @@ -2997,14 +2665,11 @@ public Builder setOrdinalPosition(int value) { return this; } /** - * - * *
      * Optional. Ordinal position
      * 
* * int32 ordinal_position = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrdinalPosition() { @@ -3016,33 +2681,22 @@ public Builder clearOrdinalPosition() { private int highestIndexingType_ = 0; /** - * - * *
      * Optional. Most important inclusion of this column.
      * 
* - * - * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for highestIndexingType. */ - @java.lang.Override - public int getHighestIndexingTypeValue() { + @java.lang.Override public int getHighestIndexingTypeValue() { return highestIndexingType_; } /** - * - * *
      * Optional. Most important inclusion of this column.
      * 
* - * - * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for highestIndexingType to set. * @return This builder for chaining. */ @@ -3053,42 +2707,28 @@ public Builder setHighestIndexingTypeValue(int value) { return this; } /** - * - * *
      * Optional. Most important inclusion of this column.
      * 
* - * - * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return The highestIndexingType. */ @java.lang.Override public com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType getHighestIndexingType() { - com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType result = - com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType.forNumber(highestIndexingType_); - return result == null - ? com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType.UNRECOGNIZED - : result; + com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType result = com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType.forNumber(highestIndexingType_); + return result == null ? com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType.UNRECOGNIZED : result; } /** - * - * *
      * Optional. Most important inclusion of this column.
      * 
* - * - * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; * @param value The highestIndexingType to set. * @return This builder for chaining. */ - public Builder setHighestIndexingType( - com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType value) { + public Builder setHighestIndexingType(com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType value) { if (value == null) { throw new NullPointerException(); } @@ -3098,16 +2738,11 @@ public Builder setHighestIndexingType( return this; } /** - * - * *
      * Optional. Most important inclusion of this column.
      * 
* - * - * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearHighestIndexingType() { @@ -3118,33 +2753,24 @@ public Builder clearHighestIndexingType() { } private java.util.List subcolumns_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureSubcolumnsIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { - subcolumns_ = - new java.util.ArrayList(subcolumns_); + subcolumns_ = new java.util.ArrayList(subcolumns_); bitField0_ |= 0x00000080; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.ColumnSchema, - com.google.cloud.datacatalog.v1.ColumnSchema.Builder, - com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder> - subcolumnsBuilder_; + com.google.cloud.datacatalog.v1.ColumnSchema, com.google.cloud.datacatalog.v1.ColumnSchema.Builder, com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder> subcolumnsBuilder_; /** - * - * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public java.util.List getSubcolumnsList() { if (subcolumnsBuilder_ == null) { @@ -3154,16 +2780,12 @@ public java.util.List getSubcolumn } } /** - * - * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public int getSubcolumnsCount() { if (subcolumnsBuilder_ == null) { @@ -3173,16 +2795,12 @@ public int getSubcolumnsCount() { } } /** - * - * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.datacatalog.v1.ColumnSchema getSubcolumns(int index) { if (subcolumnsBuilder_ == null) { @@ -3192,18 +2810,15 @@ public com.google.cloud.datacatalog.v1.ColumnSchema getSubcolumns(int index) { } } /** - * - * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setSubcolumns(int index, com.google.cloud.datacatalog.v1.ColumnSchema value) { + public Builder setSubcolumns( + int index, com.google.cloud.datacatalog.v1.ColumnSchema value) { if (subcolumnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3217,16 +2832,12 @@ public Builder setSubcolumns(int index, com.google.cloud.datacatalog.v1.ColumnSc return this; } /** - * - * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setSubcolumns( int index, com.google.cloud.datacatalog.v1.ColumnSchema.Builder builderForValue) { @@ -3240,16 +2851,12 @@ public Builder setSubcolumns( return this; } /** - * - * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addSubcolumns(com.google.cloud.datacatalog.v1.ColumnSchema value) { if (subcolumnsBuilder_ == null) { @@ -3265,18 +2872,15 @@ public Builder addSubcolumns(com.google.cloud.datacatalog.v1.ColumnSchema value) return this; } /** - * - * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder addSubcolumns(int index, com.google.cloud.datacatalog.v1.ColumnSchema value) { + public Builder addSubcolumns( + int index, com.google.cloud.datacatalog.v1.ColumnSchema value) { if (subcolumnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3290,16 +2894,12 @@ public Builder addSubcolumns(int index, com.google.cloud.datacatalog.v1.ColumnSc return this; } /** - * - * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addSubcolumns( com.google.cloud.datacatalog.v1.ColumnSchema.Builder builderForValue) { @@ -3313,16 +2913,12 @@ public Builder addSubcolumns( return this; } /** - * - * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addSubcolumns( int index, com.google.cloud.datacatalog.v1.ColumnSchema.Builder builderForValue) { @@ -3336,22 +2932,19 @@ public Builder addSubcolumns( return this; } /** - * - * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAllSubcolumns( java.lang.Iterable values) { if (subcolumnsBuilder_ == null) { ensureSubcolumnsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, subcolumns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, subcolumns_); onChanged(); } else { subcolumnsBuilder_.addAllMessages(values); @@ -3359,16 +2952,12 @@ public Builder addAllSubcolumns( return this; } /** - * - * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearSubcolumns() { if (subcolumnsBuilder_ == null) { @@ -3381,16 +2970,12 @@ public Builder clearSubcolumns() { return this; } /** - * - * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder removeSubcolumns(int index) { if (subcolumnsBuilder_ == null) { @@ -3403,53 +2988,42 @@ public Builder removeSubcolumns(int index) { return this; } /** - * - * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.datacatalog.v1.ColumnSchema.Builder getSubcolumnsBuilder(int index) { + public com.google.cloud.datacatalog.v1.ColumnSchema.Builder getSubcolumnsBuilder( + int index) { return getSubcolumnsFieldBuilder().getBuilder(index); } /** - * - * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getSubcolumnsOrBuilder(int index) { + public com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getSubcolumnsOrBuilder( + int index) { if (subcolumnsBuilder_ == null) { - return subcolumns_.get(index); - } else { + return subcolumns_.get(index); } else { return subcolumnsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getSubcolumnsOrBuilderList() { + public java.util.List + getSubcolumnsOrBuilderList() { if (subcolumnsBuilder_ != null) { return subcolumnsBuilder_.getMessageOrBuilderList(); } else { @@ -3457,86 +3031,65 @@ public com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getSubcolumnsOrBuil } } /** - * - * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.datacatalog.v1.ColumnSchema.Builder addSubcolumnsBuilder() { - return getSubcolumnsFieldBuilder() - .addBuilder(com.google.cloud.datacatalog.v1.ColumnSchema.getDefaultInstance()); + return getSubcolumnsFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1.ColumnSchema.getDefaultInstance()); } /** - * - * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.datacatalog.v1.ColumnSchema.Builder addSubcolumnsBuilder(int index) { - return getSubcolumnsFieldBuilder() - .addBuilder(index, com.google.cloud.datacatalog.v1.ColumnSchema.getDefaultInstance()); + public com.google.cloud.datacatalog.v1.ColumnSchema.Builder addSubcolumnsBuilder( + int index) { + return getSubcolumnsFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1.ColumnSchema.getDefaultInstance()); } /** - * - * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getSubcolumnsBuilderList() { + public java.util.List + getSubcolumnsBuilderList() { return getSubcolumnsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.ColumnSchema, - com.google.cloud.datacatalog.v1.ColumnSchema.Builder, - com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder> + com.google.cloud.datacatalog.v1.ColumnSchema, com.google.cloud.datacatalog.v1.ColumnSchema.Builder, com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder> getSubcolumnsFieldBuilder() { if (subcolumnsBuilder_ == null) { - subcolumnsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.ColumnSchema, - com.google.cloud.datacatalog.v1.ColumnSchema.Builder, - com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder>( - subcolumns_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), isClean()); + subcolumnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.ColumnSchema, com.google.cloud.datacatalog.v1.ColumnSchema.Builder, com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder>( + subcolumns_, + ((bitField0_ & 0x00000080) != 0), + getParentForChildren(), + isClean()); subcolumns_ = null; } return subcolumnsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec, - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.Builder, - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpecOrBuilder> - lookerColumnSpecBuilder_; + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec, com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.Builder, com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpecOrBuilder> lookerColumnSpecBuilder_; /** - * - * *
      * Looker specific column info of this column.
      * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; - * - * + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; * @return Whether the lookerColumnSpec field is set. */ @java.lang.Override @@ -3544,15 +3097,11 @@ public boolean hasLookerColumnSpec() { return systemSpecCase_ == 18; } /** - * - * *
      * Looker specific column info of this column.
      * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; - * - * + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; * @return The lookerColumnSpec. */ @java.lang.Override @@ -3570,17 +3119,13 @@ public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec getLookerCo } } /** - * - * *
      * Looker specific column info of this column.
      * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; - * + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; */ - public Builder setLookerColumnSpec( - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec value) { + public Builder setLookerColumnSpec(com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec value) { if (lookerColumnSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3594,14 +3139,11 @@ public Builder setLookerColumnSpec( return this; } /** - * - * *
      * Looker specific column info of this column.
      * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; - * + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; */ public Builder setLookerColumnSpec( com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.Builder builderForValue) { @@ -3615,27 +3157,18 @@ public Builder setLookerColumnSpec( return this; } /** - * - * *
      * Looker specific column info of this column.
      * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; - * + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; */ - public Builder mergeLookerColumnSpec( - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec value) { + public Builder mergeLookerColumnSpec(com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec value) { if (lookerColumnSpecBuilder_ == null) { - if (systemSpecCase_ == 18 - && systemSpec_ - != com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec - .getDefaultInstance()) { - systemSpec_ = - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.newBuilder( - (com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) systemSpec_) - .mergeFrom(value) - .buildPartial(); + if (systemSpecCase_ == 18 && + systemSpec_ != com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.getDefaultInstance()) { + systemSpec_ = com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.newBuilder((com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) systemSpec_) + .mergeFrom(value).buildPartial(); } else { systemSpec_ = value; } @@ -3651,14 +3184,11 @@ public Builder mergeLookerColumnSpec( return this; } /** - * - * *
      * Looker specific column info of this column.
      * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; - * + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; */ public Builder clearLookerColumnSpec() { if (lookerColumnSpecBuilder_ == null) { @@ -3677,32 +3207,24 @@ public Builder clearLookerColumnSpec() { return this; } /** - * - * *
      * Looker specific column info of this column.
      * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; - * + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; */ - public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.Builder - getLookerColumnSpecBuilder() { + public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.Builder getLookerColumnSpecBuilder() { return getLookerColumnSpecFieldBuilder().getBuilder(); } /** - * - * *
      * Looker specific column info of this column.
      * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; - * + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpecOrBuilder - getLookerColumnSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpecOrBuilder getLookerColumnSpecOrBuilder() { if ((systemSpecCase_ == 18) && (lookerColumnSpecBuilder_ != null)) { return lookerColumnSpecBuilder_.getMessageOrBuilder(); } else { @@ -3713,30 +3235,21 @@ public Builder clearLookerColumnSpec() { } } /** - * - * *
      * Looker specific column info of this column.
      * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; - * + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec, - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.Builder, - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpecOrBuilder> + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec, com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.Builder, com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpecOrBuilder> getLookerColumnSpecFieldBuilder() { if (lookerColumnSpecBuilder_ == null) { if (!(systemSpecCase_ == 18)) { - systemSpec_ = - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.getDefaultInstance(); + systemSpec_ = com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.getDefaultInstance(); } - lookerColumnSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec, - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.Builder, - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpecOrBuilder>( + lookerColumnSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec, com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.Builder, com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpecOrBuilder>( (com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) systemSpec_, getParentForChildren(), isClean()); @@ -3749,21 +3262,19 @@ public Builder clearLookerColumnSpec() { private java.lang.Object gcRule_ = ""; /** - * - * *
      * Optional. Garbage collection policy for the column or column family.
      * Applies to systems like Cloud Bigtable.
      * 
* * string gc_rule = 11 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The gcRule. */ public java.lang.String getGcRule() { java.lang.Object ref = gcRule_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gcRule_ = s; return s; @@ -3772,22 +3283,21 @@ public java.lang.String getGcRule() { } } /** - * - * *
      * Optional. Garbage collection policy for the column or column family.
      * Applies to systems like Cloud Bigtable.
      * 
* * string gc_rule = 11 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for gcRule. */ - public com.google.protobuf.ByteString getGcRuleBytes() { + public com.google.protobuf.ByteString + getGcRuleBytes() { java.lang.Object ref = gcRule_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); gcRule_ = b; return b; } else { @@ -3795,37 +3305,30 @@ public com.google.protobuf.ByteString getGcRuleBytes() { } } /** - * - * *
      * Optional. Garbage collection policy for the column or column family.
      * Applies to systems like Cloud Bigtable.
      * 
* * string gc_rule = 11 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The gcRule to set. * @return This builder for chaining. */ - public Builder setGcRule(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setGcRule( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } gcRule_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** - * - * *
      * Optional. Garbage collection policy for the column or column family.
      * Applies to systems like Cloud Bigtable.
      * 
* * string gc_rule = 11 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearGcRule() { @@ -3835,31 +3338,27 @@ public Builder clearGcRule() { return this; } /** - * - * *
      * Optional. Garbage collection policy for the column or column family.
      * Applies to systems like Cloud Bigtable.
      * 
* * string gc_rule = 11 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for gcRule to set. * @return This builder for chaining. */ - public Builder setGcRuleBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setGcRuleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); gcRule_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3869,12 +3368,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ColumnSchema) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ColumnSchema) private static final com.google.cloud.datacatalog.v1.ColumnSchema DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ColumnSchema(); } @@ -3883,27 +3382,27 @@ public static com.google.cloud.datacatalog.v1.ColumnSchema getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ColumnSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ColumnSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3918,4 +3417,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ColumnSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchemaOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchemaOrBuilder.java similarity index 70% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchemaOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchemaOrBuilder.java index 5c53d6a4cb16..9c1633597687 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchemaOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchemaOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/schema.proto package com.google.cloud.datacatalog.v1; -public interface ColumnSchemaOrBuilder - extends +public interface ColumnSchemaOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ColumnSchema) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Name of the column.
    *
@@ -34,13 +16,10 @@ public interface ColumnSchemaOrBuilder
    * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The column. */ java.lang.String getColumn(); /** - * - * *
    * Required. Name of the column.
    *
@@ -49,14 +28,12 @@ public interface ColumnSchemaOrBuilder
    * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for column. */ - com.google.protobuf.ByteString getColumnBytes(); + com.google.protobuf.ByteString + getColumnBytes(); /** - * - * *
    * Required. Type of the column.
    *
@@ -64,13 +41,10 @@ public interface ColumnSchemaOrBuilder
    * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The type. */ java.lang.String getType(); /** - * - * *
    * Required. Type of the column.
    *
@@ -78,14 +52,12 @@ public interface ColumnSchemaOrBuilder
    * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for type. */ - com.google.protobuf.ByteString getTypeBytes(); + com.google.protobuf.ByteString + getTypeBytes(); /** - * - * *
    * Optional. Description of the column. Default value is an empty string.
    *
@@ -94,13 +66,10 @@ public interface ColumnSchemaOrBuilder
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. Description of the column. Default value is an empty string.
    *
@@ -109,14 +78,12 @@ public interface ColumnSchemaOrBuilder
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Optional. A column's mode indicates whether values in this column are
    * required, nullable, or repeated.
@@ -126,13 +93,10 @@ public interface ColumnSchemaOrBuilder
    * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The mode. */ java.lang.String getMode(); /** - * - * *
    * Optional. A column's mode indicates whether values in this column are
    * required, nullable, or repeated.
@@ -142,210 +106,157 @@ public interface ColumnSchemaOrBuilder
    * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for mode. */ - com.google.protobuf.ByteString getModeBytes(); + com.google.protobuf.ByteString + getModeBytes(); /** - * - * *
    * Optional. Default value for the column.
    * 
* * string default_value = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The defaultValue. */ java.lang.String getDefaultValue(); /** - * - * *
    * Optional. Default value for the column.
    * 
* * string default_value = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for defaultValue. */ - com.google.protobuf.ByteString getDefaultValueBytes(); + com.google.protobuf.ByteString + getDefaultValueBytes(); /** - * - * *
    * Optional. Ordinal position
    * 
* * int32 ordinal_position = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The ordinalPosition. */ int getOrdinalPosition(); /** - * - * *
    * Optional. Most important inclusion of this column.
    * 
* - * - * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for highestIndexingType. */ int getHighestIndexingTypeValue(); /** - * - * *
    * Optional. Most important inclusion of this column.
    * 
* - * - * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return The highestIndexingType. */ com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType getHighestIndexingType(); /** - * - * *
    * Optional. Schema of sub-columns. A column can have zero or more
    * sub-columns.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List getSubcolumnsList(); + java.util.List + getSubcolumnsList(); /** - * - * *
    * Optional. Schema of sub-columns. A column can have zero or more
    * sub-columns.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.datacatalog.v1.ColumnSchema getSubcolumns(int index); /** - * - * *
    * Optional. Schema of sub-columns. A column can have zero or more
    * sub-columns.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ int getSubcolumnsCount(); /** - * - * *
    * Optional. Schema of sub-columns. A column can have zero or more
    * sub-columns.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getSubcolumnsOrBuilderList(); /** - * - * *
    * Optional. Schema of sub-columns. A column can have zero or more
    * sub-columns.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getSubcolumnsOrBuilder(int index); + com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getSubcolumnsOrBuilder( + int index); /** - * - * *
    * Looker specific column info of this column.
    * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; - * - * + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; * @return Whether the lookerColumnSpec field is set. */ boolean hasLookerColumnSpec(); /** - * - * *
    * Looker specific column info of this column.
    * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; - * - * + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; * @return The lookerColumnSpec. */ com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec getLookerColumnSpec(); /** - * - * *
    * Looker specific column info of this column.
    * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; - * + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; */ - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpecOrBuilder - getLookerColumnSpecOrBuilder(); + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpecOrBuilder getLookerColumnSpecOrBuilder(); /** - * - * *
    * Optional. Garbage collection policy for the column or column family.
    * Applies to systems like Cloud Bigtable.
    * 
* * string gc_rule = 11 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The gcRule. */ java.lang.String getGcRule(); /** - * - * *
    * Optional. Garbage collection policy for the column or column family.
    * Applies to systems like Cloud Bigtable.
    * 
* * string gc_rule = 11 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for gcRule. */ - com.google.protobuf.ByteString getGcRuleBytes(); + com.google.protobuf.ByteString + getGcRuleBytes(); com.google.cloud.datacatalog.v1.ColumnSchema.SystemSpecCase getSystemSpecCase(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Common.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Common.java new file mode 100644 index 000000000000..ea51f9728631 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Common.java @@ -0,0 +1,65 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/common.proto + +package com.google.cloud.datacatalog.v1; + +public final class Common { + private Common() {} + 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_datacatalog_v1_PersonalDetails_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_PersonalDetails_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/datacatalog/v1/common.pro" + + "to\022\033google.cloud.datacatalog.v1\032\037google/" + + "protobuf/timestamp.proto\"Q\n\017PersonalDeta" + + "ils\022\017\n\007starred\030\001 \001(\010\022-\n\tstar_time\030\002 \001(\0132" + + "\032.google.protobuf.Timestamp*\275\001\n\020Integrat" + + "edSystem\022!\n\035INTEGRATED_SYSTEM_UNSPECIFIE" + + "D\020\000\022\014\n\010BIGQUERY\020\001\022\020\n\014CLOUD_PUBSUB\020\002\022\026\n\022D" + + "ATAPROC_METASTORE\020\003\022\014\n\010DATAPLEX\020\004\022\021\n\rCLO" + + "UD_SPANNER\020\006\022\022\n\016CLOUD_BIGTABLE\020\007\022\r\n\tCLOU" + + "D_SQL\020\010\022\n\n\006LOOKER\020\t*j\n\016ManagingSystem\022\037\n" + + "\033MANAGING_SYSTEM_UNSPECIFIED\020\000\022\034\n\030MANAGI" + + "NG_SYSTEM_DATAPLEX\020\001\022\031\n\025MANAGING_SYSTEM_" + + "OTHER\020\002B\306\001\n\037com.google.cloud.datacatalog" + + ".v1P\001ZAcloud.google.com/go/datacatalog/a" + + "piv1/datacatalogpb;datacatalogpb\370\001\001\252\002\033Go" + + "ogle.Cloud.DataCatalog.V1\312\002\033Google\\Cloud" + + "\\DataCatalog\\V1\352\002\036Google::Cloud::DataCat" + + "alog::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1_PersonalDetails_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1_PersonalDetails_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_PersonalDetails_descriptor, + new java.lang.String[] { "Starred", "StarTime", }); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStats.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStats.java similarity index 66% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStats.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStats.java index 9e497c8dfcd5..4fd54d42ff2d 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStats.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStats.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/usage.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Common statistics on the entry's usage.
  *
@@ -29,51 +12,47 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.CommonUsageStats}
  */
-public final class CommonUsageStats extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CommonUsageStats extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.CommonUsageStats)
     CommonUsageStatsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CommonUsageStats.newBuilder() to construct.
   private CommonUsageStats(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private CommonUsageStats() {}
+  private CommonUsageStats() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CommonUsageStats();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Usage
-        .internal_static_google_cloud_datacatalog_v1_CommonUsageStats_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_CommonUsageStats_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Usage
-        .internal_static_google_cloud_datacatalog_v1_CommonUsageStats_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_CommonUsageStats_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.CommonUsageStats.class,
-            com.google.cloud.datacatalog.v1.CommonUsageStats.Builder.class);
+            com.google.cloud.datacatalog.v1.CommonUsageStats.class, com.google.cloud.datacatalog.v1.CommonUsageStats.Builder.class);
   }
 
   private int bitField0_;
   public static final int VIEW_COUNT_FIELD_NUMBER = 1;
   private long viewCount_ = 0L;
   /**
-   *
-   *
    * 
    * View count in source system.
    * 
* * optional int64 view_count = 1; - * * @return Whether the viewCount field is set. */ @java.lang.Override @@ -81,14 +60,11 @@ public boolean hasViewCount() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * View count in source system.
    * 
* * optional int64 view_count = 1; - * * @return The viewCount. */ @java.lang.Override @@ -97,7 +73,6 @@ public long getViewCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,7 +84,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(1, viewCount_); } @@ -123,7 +99,8 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, viewCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, viewCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -133,17 +110,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.datacatalog.v1.CommonUsageStats)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.CommonUsageStats other = - (com.google.cloud.datacatalog.v1.CommonUsageStats) obj; + com.google.cloud.datacatalog.v1.CommonUsageStats other = (com.google.cloud.datacatalog.v1.CommonUsageStats) obj; if (hasViewCount() != other.hasViewCount()) return false; if (hasViewCount()) { - if (getViewCount() != other.getViewCount()) return false; + if (getViewCount() + != other.getViewCount()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -158,111 +135,107 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); if (hasViewCount()) { hash = (37 * hash) + VIEW_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getViewCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getViewCount()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.datacatalog.v1.CommonUsageStats parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.CommonUsageStats parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CommonUsageStats parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CommonUsageStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CommonUsageStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CommonUsageStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CommonUsageStats parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.CommonUsageStats parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CommonUsageStats parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.CommonUsageStats parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CommonUsageStats parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CommonUsageStats parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.CommonUsageStats parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CommonUsageStats parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.CommonUsageStats parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.CommonUsageStats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Common statistics on the entry's usage.
    *
@@ -271,32 +244,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.CommonUsageStats}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.CommonUsageStats)
       com.google.cloud.datacatalog.v1.CommonUsageStatsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Usage
-          .internal_static_google_cloud_datacatalog_v1_CommonUsageStats_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_CommonUsageStats_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Usage
-          .internal_static_google_cloud_datacatalog_v1_CommonUsageStats_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_CommonUsageStats_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.CommonUsageStats.class,
-              com.google.cloud.datacatalog.v1.CommonUsageStats.Builder.class);
+              com.google.cloud.datacatalog.v1.CommonUsageStats.class, com.google.cloud.datacatalog.v1.CommonUsageStats.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.CommonUsageStats.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -306,9 +280,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Usage
-          .internal_static_google_cloud_datacatalog_v1_CommonUsageStats_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_CommonUsageStats_descriptor;
     }
 
     @java.lang.Override
@@ -327,11 +301,8 @@ public com.google.cloud.datacatalog.v1.CommonUsageStats build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.CommonUsageStats buildPartial() {
-      com.google.cloud.datacatalog.v1.CommonUsageStats result =
-          new com.google.cloud.datacatalog.v1.CommonUsageStats(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.CommonUsageStats result = new com.google.cloud.datacatalog.v1.CommonUsageStats(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -350,39 +321,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CommonUsageStats 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.datacatalog.v1.CommonUsageStats) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.CommonUsageStats) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.CommonUsageStats)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -390,8 +360,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.CommonUsageStats other) {
-      if (other == com.google.cloud.datacatalog.v1.CommonUsageStats.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.CommonUsageStats.getDefaultInstance()) return this;
       if (other.hasViewCount()) {
         setViewCount(other.getViewCount());
       }
@@ -421,19 +390,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                viewCount_ = input.readInt64();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              viewCount_ = 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) {
@@ -443,19 +410,15 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private long viewCount_;
+    private long viewCount_ ;
     /**
-     *
-     *
      * 
      * View count in source system.
      * 
* * optional int64 view_count = 1; - * * @return Whether the viewCount field is set. */ @java.lang.Override @@ -463,14 +426,11 @@ public boolean hasViewCount() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * View count in source system.
      * 
* * optional int64 view_count = 1; - * * @return The viewCount. */ @java.lang.Override @@ -478,14 +438,11 @@ public long getViewCount() { return viewCount_; } /** - * - * *
      * View count in source system.
      * 
* * optional int64 view_count = 1; - * * @param value The viewCount to set. * @return This builder for chaining. */ @@ -497,14 +454,11 @@ public Builder setViewCount(long value) { return this; } /** - * - * *
      * View count in source system.
      * 
* * optional int64 view_count = 1; - * * @return This builder for chaining. */ public Builder clearViewCount() { @@ -513,9 +467,9 @@ public Builder clearViewCount() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -525,12 +479,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.CommonUsageStats) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.CommonUsageStats) private static final com.google.cloud.datacatalog.v1.CommonUsageStats DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.CommonUsageStats(); } @@ -539,27 +493,27 @@ public static com.google.cloud.datacatalog.v1.CommonUsageStats getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CommonUsageStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CommonUsageStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -574,4 +528,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.CommonUsageStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStatsOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStatsOrBuilder.java new file mode 100644 index 000000000000..8f67f2150144 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStatsOrBuilder.java @@ -0,0 +1,28 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/usage.proto + +package com.google.cloud.datacatalog.v1; + +public interface CommonUsageStatsOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CommonUsageStats) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * View count in source system.
+   * 
+ * + * optional int64 view_count = 1; + * @return Whether the viewCount field is set. + */ + boolean hasViewCount(); + /** + *
+   * View count in source system.
+   * 
+ * + * optional int64 view_count = 1; + * @return The viewCount. + */ + long getViewCount(); +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Contacts.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Contacts.java similarity index 71% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Contacts.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Contacts.java index d28d6a228af3..4152bad2e853 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Contacts.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Contacts.java @@ -1,143 +1,110 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Contact people for the entry.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.Contacts} */ -public final class Contacts extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Contacts extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.Contacts) ContactsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Contacts.newBuilder() to construct. private Contacts(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Contacts() { people_ = 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 Contacts(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_Contacts_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_Contacts_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_Contacts_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_Contacts_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.Contacts.class, - com.google.cloud.datacatalog.v1.Contacts.Builder.class); + com.google.cloud.datacatalog.v1.Contacts.class, com.google.cloud.datacatalog.v1.Contacts.Builder.class); } - public interface PersonOrBuilder - extends + public interface PersonOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.Contacts.Person) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Designation of the person, for example, Data Steward.
      * 
* * string designation = 1; - * * @return The designation. */ java.lang.String getDesignation(); /** - * - * *
      * Designation of the person, for example, Data Steward.
      * 
* * string designation = 1; - * * @return The bytes for designation. */ - com.google.protobuf.ByteString getDesignationBytes(); + com.google.protobuf.ByteString + getDesignationBytes(); /** - * - * *
      * Email of the person in the format of `john.doe@xyz`,
      * `<john.doe@xyz>`, or `John Doe<john.doe@xyz>`.
      * 
* * string email = 2; - * * @return The email. */ java.lang.String getEmail(); /** - * - * *
      * Email of the person in the format of `john.doe@xyz`,
      * `<john.doe@xyz>`, or `John Doe<john.doe@xyz>`.
      * 
* * string email = 2; - * * @return The bytes for email. */ - com.google.protobuf.ByteString getEmailBytes(); + com.google.protobuf.ByteString + getEmailBytes(); } /** - * - * *
    * A contact person for the entry.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.Contacts.Person} */ - public static final class Person extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Person extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.Contacts.Person) PersonOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Person.newBuilder() to construct. private Person(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Person() { designation_ = ""; email_ = ""; @@ -145,38 +112,33 @@ private Person() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Person(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_Contacts_Person_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_Contacts_Person_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_Contacts_Person_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_Contacts_Person_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.Contacts.Person.class, - com.google.cloud.datacatalog.v1.Contacts.Person.Builder.class); + com.google.cloud.datacatalog.v1.Contacts.Person.class, com.google.cloud.datacatalog.v1.Contacts.Person.Builder.class); } public static final int DESIGNATION_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object designation_ = ""; /** - * - * *
      * Designation of the person, for example, Data Steward.
      * 
* * string designation = 1; - * * @return The designation. */ @java.lang.Override @@ -185,29 +147,29 @@ public java.lang.String getDesignation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); designation_ = s; return s; } } /** - * - * *
      * Designation of the person, for example, Data Steward.
      * 
* * string designation = 1; - * * @return The bytes for designation. */ @java.lang.Override - public com.google.protobuf.ByteString getDesignationBytes() { + public com.google.protobuf.ByteString + getDesignationBytes() { java.lang.Object ref = designation_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); designation_ = b; return b; } else { @@ -216,19 +178,15 @@ public com.google.protobuf.ByteString getDesignationBytes() { } public static final int EMAIL_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object email_ = ""; /** - * - * *
      * Email of the person in the format of `john.doe@xyz`,
      * `<john.doe@xyz>`, or `John Doe<john.doe@xyz>`.
      * 
* * string email = 2; - * * @return The email. */ @java.lang.Override @@ -237,30 +195,30 @@ public java.lang.String getEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; } } /** - * - * *
      * Email of the person in the format of `john.doe@xyz`,
      * `<john.doe@xyz>`, or `John Doe<john.doe@xyz>`.
      * 
* * string email = 2; - * * @return The bytes for email. */ @java.lang.Override - public com.google.protobuf.ByteString getEmailBytes() { + public com.google.protobuf.ByteString + getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); email_ = b; return b; } else { @@ -269,7 +227,6 @@ public com.google.protobuf.ByteString getEmailBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -281,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(designation_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, designation_); } @@ -311,16 +269,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.datacatalog.v1.Contacts.Person)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.Contacts.Person other = - (com.google.cloud.datacatalog.v1.Contacts.Person) obj; + com.google.cloud.datacatalog.v1.Contacts.Person other = (com.google.cloud.datacatalog.v1.Contacts.Person) obj; - if (!getDesignation().equals(other.getDesignation())) return false; - if (!getEmail().equals(other.getEmail())) return false; + if (!getDesignation() + .equals(other.getDesignation())) return false; + if (!getEmail() + .equals(other.getEmail())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -342,93 +301,89 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.Contacts.Person parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.Contacts.Person parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.Contacts.Person parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.Contacts.Person parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.Contacts.Person parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.Contacts.Person parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.Contacts.Person parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.Contacts.Person parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.Contacts.Person parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.Contacts.Person parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.Contacts.Person parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.Contacts.Person parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.Contacts.Person parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.Contacts.Person parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.Contacts.Person prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -438,41 +393,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A contact person for the entry.
      * 
* * Protobuf type {@code google.cloud.datacatalog.v1.Contacts.Person} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.Contacts.Person) com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_Contacts_Person_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_Contacts_Person_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_Contacts_Person_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_Contacts_Person_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.Contacts.Person.class, - com.google.cloud.datacatalog.v1.Contacts.Person.Builder.class); + com.google.cloud.datacatalog.v1.Contacts.Person.class, com.google.cloud.datacatalog.v1.Contacts.Person.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.Contacts.Person.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -483,9 +436,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_Contacts_Person_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_Contacts_Person_descriptor; } @java.lang.Override @@ -504,11 +457,8 @@ public com.google.cloud.datacatalog.v1.Contacts.Person build() { @java.lang.Override public com.google.cloud.datacatalog.v1.Contacts.Person buildPartial() { - com.google.cloud.datacatalog.v1.Contacts.Person result = - new com.google.cloud.datacatalog.v1.Contacts.Person(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1.Contacts.Person result = new com.google.cloud.datacatalog.v1.Contacts.Person(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -527,41 +477,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.Contacts.Person 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.datacatalog.v1.Contacts.Person) { - return mergeFrom((com.google.cloud.datacatalog.v1.Contacts.Person) other); + return mergeFrom((com.google.cloud.datacatalog.v1.Contacts.Person)other); } else { super.mergeFrom(other); return this; @@ -569,8 +516,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.Contacts.Person other) { - if (other == com.google.cloud.datacatalog.v1.Contacts.Person.getDefaultInstance()) - return this; + if (other == com.google.cloud.datacatalog.v1.Contacts.Person.getDefaultInstance()) return this; if (!other.getDesignation().isEmpty()) { designation_ = other.designation_; bitField0_ |= 0x00000001; @@ -607,25 +553,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - designation_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - email_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + designation_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + email_ = 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) { @@ -635,25 +578,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object designation_ = ""; /** - * - * *
        * Designation of the person, for example, Data Steward.
        * 
* * string designation = 1; - * * @return The designation. */ public java.lang.String getDesignation() { java.lang.Object ref = designation_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); designation_ = s; return s; @@ -662,21 +602,20 @@ public java.lang.String getDesignation() { } } /** - * - * *
        * Designation of the person, for example, Data Steward.
        * 
* * string designation = 1; - * * @return The bytes for designation. */ - public com.google.protobuf.ByteString getDesignationBytes() { + public com.google.protobuf.ByteString + getDesignationBytes() { java.lang.Object ref = designation_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); designation_ = b; return b; } else { @@ -684,35 +623,28 @@ public com.google.protobuf.ByteString getDesignationBytes() { } } /** - * - * *
        * Designation of the person, for example, Data Steward.
        * 
* * string designation = 1; - * * @param value The designation to set. * @return This builder for chaining. */ - public Builder setDesignation(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDesignation( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } designation_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Designation of the person, for example, Data Steward.
        * 
* * string designation = 1; - * * @return This builder for chaining. */ public Builder clearDesignation() { @@ -722,21 +654,17 @@ public Builder clearDesignation() { return this; } /** - * - * *
        * Designation of the person, for example, Data Steward.
        * 
* * string designation = 1; - * * @param value The bytes for designation to set. * @return This builder for chaining. */ - public Builder setDesignationBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDesignationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); designation_ = value; bitField0_ |= 0x00000001; @@ -746,21 +674,19 @@ public Builder setDesignationBytes(com.google.protobuf.ByteString value) { private java.lang.Object email_ = ""; /** - * - * *
        * Email of the person in the format of `john.doe@xyz`,
        * `<john.doe@xyz>`, or `John Doe<john.doe@xyz>`.
        * 
* * string email = 2; - * * @return The email. */ public java.lang.String getEmail() { java.lang.Object ref = email_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; @@ -769,22 +695,21 @@ public java.lang.String getEmail() { } } /** - * - * *
        * Email of the person in the format of `john.doe@xyz`,
        * `<john.doe@xyz>`, or `John Doe<john.doe@xyz>`.
        * 
* * string email = 2; - * * @return The bytes for email. */ - public com.google.protobuf.ByteString getEmailBytes() { + public com.google.protobuf.ByteString + getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); email_ = b; return b; } else { @@ -792,37 +717,30 @@ public com.google.protobuf.ByteString getEmailBytes() { } } /** - * - * *
        * Email of the person in the format of `john.doe@xyz`,
        * `<john.doe@xyz>`, or `John Doe<john.doe@xyz>`.
        * 
* * string email = 2; - * * @param value The email to set. * @return This builder for chaining. */ - public Builder setEmail(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEmail( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } email_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Email of the person in the format of `john.doe@xyz`,
        * `<john.doe@xyz>`, or `John Doe<john.doe@xyz>`.
        * 
* * string email = 2; - * * @return This builder for chaining. */ public Builder clearEmail() { @@ -832,29 +750,24 @@ public Builder clearEmail() { return this; } /** - * - * *
        * Email of the person in the format of `john.doe@xyz`,
        * `<john.doe@xyz>`, or `John Doe<john.doe@xyz>`.
        * 
* * string email = 2; - * * @param value The bytes for email to set. * @return This builder for chaining. */ - public Builder setEmailBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEmailBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); email_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -867,12 +780,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.Contacts.Person) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.Contacts.Person) private static final com.google.cloud.datacatalog.v1.Contacts.Person DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.Contacts.Person(); } @@ -881,28 +794,27 @@ public static com.google.cloud.datacatalog.v1.Contacts.Person getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Person parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Person parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -917,15 +829,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.Contacts.Person getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int PEOPLE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List people_; /** - * - * *
    * The list of contact people for the entry.
    * 
@@ -937,8 +847,6 @@ public java.util.List getPeople return people_; } /** - * - * *
    * The list of contact people for the entry.
    * 
@@ -946,13 +854,11 @@ public java.util.List getPeople * repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPeopleOrBuilderList() { return people_; } /** - * - * *
    * The list of contact people for the entry.
    * 
@@ -964,8 +870,6 @@ public int getPeopleCount() { return people_.size(); } /** - * - * *
    * The list of contact people for the entry.
    * 
@@ -977,8 +881,6 @@ public com.google.cloud.datacatalog.v1.Contacts.Person getPeople(int index) { return people_.get(index); } /** - * - * *
    * The list of contact people for the entry.
    * 
@@ -986,12 +888,12 @@ public com.google.cloud.datacatalog.v1.Contacts.Person getPeople(int index) { * repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder getPeopleOrBuilder(int index) { + public com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder getPeopleOrBuilder( + int index) { return people_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1003,7 +905,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < people_.size(); i++) { output.writeMessage(1, people_.get(i)); } @@ -1017,7 +920,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < people_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, people_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, people_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1027,14 +931,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.Contacts)) { return super.equals(obj); } com.google.cloud.datacatalog.v1.Contacts other = (com.google.cloud.datacatalog.v1.Contacts) obj; - if (!getPeopleList().equals(other.getPeopleList())) return false; + if (!getPeopleList() + .equals(other.getPeopleList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1055,136 +960,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.Contacts parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.Contacts parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.Contacts parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.Contacts parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.Contacts parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.Contacts parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.Contacts parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.Contacts parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.Contacts parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.Contacts parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.Contacts parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.Contacts parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.Contacts parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.Contacts parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.Contacts prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Contact people for the entry.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.Contacts} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.Contacts) com.google.cloud.datacatalog.v1.ContactsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_Contacts_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_Contacts_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_Contacts_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_Contacts_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.Contacts.class, - com.google.cloud.datacatalog.v1.Contacts.Builder.class); + com.google.cloud.datacatalog.v1.Contacts.class, com.google.cloud.datacatalog.v1.Contacts.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.Contacts.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1200,9 +1101,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_Contacts_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_Contacts_descriptor; } @java.lang.Override @@ -1221,12 +1122,9 @@ public com.google.cloud.datacatalog.v1.Contacts build() { @java.lang.Override public com.google.cloud.datacatalog.v1.Contacts buildPartial() { - com.google.cloud.datacatalog.v1.Contacts result = - new com.google.cloud.datacatalog.v1.Contacts(this); + com.google.cloud.datacatalog.v1.Contacts result = new com.google.cloud.datacatalog.v1.Contacts(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1251,39 +1149,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.Contacts result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.Contacts) { - return mergeFrom((com.google.cloud.datacatalog.v1.Contacts) other); + return mergeFrom((com.google.cloud.datacatalog.v1.Contacts)other); } else { super.mergeFrom(other); return this; @@ -1310,10 +1207,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.Contacts other) { peopleBuilder_ = null; people_ = other.people_; bitField0_ = (bitField0_ & ~0x00000001); - peopleBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPeopleFieldBuilder() - : null; + peopleBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPeopleFieldBuilder() : null; } else { peopleBuilder_.addAllMessages(other.people_); } @@ -1345,27 +1241,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.datacatalog.v1.Contacts.Person m = - input.readMessage( - com.google.cloud.datacatalog.v1.Contacts.Person.parser(), - extensionRegistry); - if (peopleBuilder_ == null) { - ensurePeopleIsMutable(); - people_.add(m); - } else { - peopleBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.datacatalog.v1.Contacts.Person m = + input.readMessage( + com.google.cloud.datacatalog.v1.Contacts.Person.parser(), + extensionRegistry); + if (peopleBuilder_ == null) { + ensurePeopleIsMutable(); + people_.add(m); + } else { + peopleBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1375,28 +1269,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List people_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePeopleIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { people_ = new java.util.ArrayList(people_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Contacts.Person, - com.google.cloud.datacatalog.v1.Contacts.Person.Builder, - com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder> - peopleBuilder_; + com.google.cloud.datacatalog.v1.Contacts.Person, com.google.cloud.datacatalog.v1.Contacts.Person.Builder, com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder> peopleBuilder_; /** - * - * *
      * The list of contact people for the entry.
      * 
@@ -1411,8 +1298,6 @@ public java.util.List getPeople } } /** - * - * *
      * The list of contact people for the entry.
      * 
@@ -1427,8 +1312,6 @@ public int getPeopleCount() { } } /** - * - * *
      * The list of contact people for the entry.
      * 
@@ -1443,15 +1326,14 @@ public com.google.cloud.datacatalog.v1.Contacts.Person getPeople(int index) { } } /** - * - * *
      * The list of contact people for the entry.
      * 
* * repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1; */ - public Builder setPeople(int index, com.google.cloud.datacatalog.v1.Contacts.Person value) { + public Builder setPeople( + int index, com.google.cloud.datacatalog.v1.Contacts.Person value) { if (peopleBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1465,8 +1347,6 @@ public Builder setPeople(int index, com.google.cloud.datacatalog.v1.Contacts.Per return this; } /** - * - * *
      * The list of contact people for the entry.
      * 
@@ -1485,8 +1365,6 @@ public Builder setPeople( return this; } /** - * - * *
      * The list of contact people for the entry.
      * 
@@ -1507,15 +1385,14 @@ public Builder addPeople(com.google.cloud.datacatalog.v1.Contacts.Person value) return this; } /** - * - * *
      * The list of contact people for the entry.
      * 
* * repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1; */ - public Builder addPeople(int index, com.google.cloud.datacatalog.v1.Contacts.Person value) { + public Builder addPeople( + int index, com.google.cloud.datacatalog.v1.Contacts.Person value) { if (peopleBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1529,8 +1406,6 @@ public Builder addPeople(int index, com.google.cloud.datacatalog.v1.Contacts.Per return this; } /** - * - * *
      * The list of contact people for the entry.
      * 
@@ -1549,8 +1424,6 @@ public Builder addPeople( return this; } /** - * - * *
      * The list of contact people for the entry.
      * 
@@ -1569,8 +1442,6 @@ public Builder addPeople( return this; } /** - * - * *
      * The list of contact people for the entry.
      * 
@@ -1581,7 +1452,8 @@ public Builder addAllPeople( java.lang.Iterable values) { if (peopleBuilder_ == null) { ensurePeopleIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, people_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, people_); onChanged(); } else { peopleBuilder_.addAllMessages(values); @@ -1589,8 +1461,6 @@ public Builder addAllPeople( return this; } /** - * - * *
      * The list of contact people for the entry.
      * 
@@ -1608,8 +1478,6 @@ public Builder clearPeople() { return this; } /** - * - * *
      * The list of contact people for the entry.
      * 
@@ -1627,44 +1495,39 @@ public Builder removePeople(int index) { return this; } /** - * - * *
      * The list of contact people for the entry.
      * 
* * repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1; */ - public com.google.cloud.datacatalog.v1.Contacts.Person.Builder getPeopleBuilder(int index) { + public com.google.cloud.datacatalog.v1.Contacts.Person.Builder getPeopleBuilder( + int index) { return getPeopleFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of contact people for the entry.
      * 
* * repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1; */ - public com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder getPeopleOrBuilder(int index) { + public com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder getPeopleOrBuilder( + int index) { if (peopleBuilder_ == null) { - return people_.get(index); - } else { + return people_.get(index); } else { return peopleBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of contact people for the entry.
      * 
* * repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1; */ - public java.util.List - getPeopleOrBuilderList() { + public java.util.List + getPeopleOrBuilderList() { if (peopleBuilder_ != null) { return peopleBuilder_.getMessageOrBuilderList(); } else { @@ -1672,8 +1535,6 @@ public com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder getPeopleOrBuild } } /** - * - * *
      * The list of contact people for the entry.
      * 
@@ -1681,55 +1542,49 @@ public com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder getPeopleOrBuild * repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1; */ public com.google.cloud.datacatalog.v1.Contacts.Person.Builder addPeopleBuilder() { - return getPeopleFieldBuilder() - .addBuilder(com.google.cloud.datacatalog.v1.Contacts.Person.getDefaultInstance()); + return getPeopleFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1.Contacts.Person.getDefaultInstance()); } /** - * - * *
      * The list of contact people for the entry.
      * 
* * repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1; */ - public com.google.cloud.datacatalog.v1.Contacts.Person.Builder addPeopleBuilder(int index) { - return getPeopleFieldBuilder() - .addBuilder(index, com.google.cloud.datacatalog.v1.Contacts.Person.getDefaultInstance()); + public com.google.cloud.datacatalog.v1.Contacts.Person.Builder addPeopleBuilder( + int index) { + return getPeopleFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1.Contacts.Person.getDefaultInstance()); } /** - * - * *
      * The list of contact people for the entry.
      * 
* * repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1; */ - public java.util.List - getPeopleBuilderList() { + public java.util.List + getPeopleBuilderList() { return getPeopleFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Contacts.Person, - com.google.cloud.datacatalog.v1.Contacts.Person.Builder, - com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder> + com.google.cloud.datacatalog.v1.Contacts.Person, com.google.cloud.datacatalog.v1.Contacts.Person.Builder, com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder> getPeopleFieldBuilder() { if (peopleBuilder_ == null) { - peopleBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Contacts.Person, - com.google.cloud.datacatalog.v1.Contacts.Person.Builder, - com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder>( - people_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + peopleBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.Contacts.Person, com.google.cloud.datacatalog.v1.Contacts.Person.Builder, com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder>( + people_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); people_ = null; } return peopleBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1739,12 +1594,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.Contacts) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.Contacts) private static final com.google.cloud.datacatalog.v1.Contacts DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.Contacts(); } @@ -1753,27 +1608,27 @@ public static com.google.cloud.datacatalog.v1.Contacts getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Contacts parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Contacts parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1788,4 +1643,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.Contacts getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ContactsOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ContactsOrBuilder.java similarity index 65% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ContactsOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ContactsOrBuilder.java index f2a1211c7024..119af210ddb6 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ContactsOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ContactsOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface ContactsOrBuilder - extends +public interface ContactsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.Contacts) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of contact people for the entry.
    * 
* * repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1; */ - java.util.List getPeopleList(); + java.util.List + getPeopleList(); /** - * - * *
    * The list of contact people for the entry.
    * 
@@ -44,8 +25,6 @@ public interface ContactsOrBuilder */ com.google.cloud.datacatalog.v1.Contacts.Person getPeople(int index); /** - * - * *
    * The list of contact people for the entry.
    * 
@@ -54,24 +33,21 @@ public interface ContactsOrBuilder */ int getPeopleCount(); /** - * - * *
    * The list of contact people for the entry.
    * 
* * repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1; */ - java.util.List + java.util.List getPeopleOrBuilderList(); /** - * - * *
    * The list of contact people for the entry.
    * 
* * repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1; */ - com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder getPeopleOrBuilder(int index); + com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder getPeopleOrBuilder( + int index); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequest.java similarity index 69% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequest.java index 137ed5d905bf..29db7ba26e9d 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [CreateEntryGroup][google.cloud.datacatalog.v1.DataCatalog.CreateEntryGroup].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.CreateEntryGroupRequest}
  */
-public final class CreateEntryGroupRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateEntryGroupRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.CreateEntryGroupRequest)
     CreateEntryGroupRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateEntryGroupRequest.newBuilder() to construct.
   private CreateEntryGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateEntryGroupRequest() {
     parent_ = "";
     entryGroupId_ = "";
@@ -45,32 +27,28 @@ private CreateEntryGroupRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateEntryGroupRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.CreateEntryGroupRequest.class,
-            com.google.cloud.datacatalog.v1.CreateEntryGroupRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.CreateEntryGroupRequest.class, com.google.cloud.datacatalog.v1.CreateEntryGroupRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The names of the project and location that the new entry group
    * belongs to.
@@ -79,10 +57,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * stored in the location specified in its name.
    * 
* - * - * string parent = 1 [(.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 names of the project and location that the new entry group
    * belongs to.
@@ -108,18 +82,17 @@ public java.lang.String getParent() {
    * stored in the location specified in its name.
    * 
* - * - * string parent = 1 [(.google.api.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,12 +101,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int ENTRY_GROUP_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object entryGroupId_ = ""; /** - * - * *
    * Required. The ID of the entry group to create.
    *
@@ -143,7 +113,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The entryGroupId. */ @java.lang.Override @@ -152,15 +121,14 @@ public java.lang.String getEntryGroupId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entryGroupId_ = s; return s; } } /** - * - * *
    * Required. The ID of the entry group to create.
    *
@@ -170,15 +138,16 @@ public java.lang.String getEntryGroupId() {
    * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for entryGroupId. */ @java.lang.Override - public com.google.protobuf.ByteString getEntryGroupIdBytes() { + public com.google.protobuf.ByteString + getEntryGroupIdBytes() { java.lang.Object ref = entryGroupId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); entryGroupId_ = b; return b; } else { @@ -189,14 +158,11 @@ public com.google.protobuf.ByteString getEntryGroupIdBytes() { public static final int ENTRY_GROUP_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1.EntryGroup entryGroup_; /** - * - * *
    * The entry group to create. Defaults to empty.
    * 
* * .google.cloud.datacatalog.v1.EntryGroup entry_group = 2; - * * @return Whether the entryGroup field is set. */ @java.lang.Override @@ -204,25 +170,18 @@ public boolean hasEntryGroup() { return entryGroup_ != null; } /** - * - * *
    * The entry group to create. Defaults to empty.
    * 
* * .google.cloud.datacatalog.v1.EntryGroup entry_group = 2; - * * @return The entryGroup. */ @java.lang.Override public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroup() { - return entryGroup_ == null - ? com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance() - : entryGroup_; + return entryGroup_ == null ? com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance() : entryGroup_; } /** - * - * *
    * The entry group to create. Defaults to empty.
    * 
@@ -231,13 +190,10 @@ public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroup() { */ @java.lang.Override public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupOrBuilder() { - return entryGroup_ == null - ? com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance() - : entryGroup_; + return entryGroup_ == null ? com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance() : entryGroup_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,7 +205,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -272,7 +229,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (entryGroup_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEntryGroup()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEntryGroup()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entryGroupId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, entryGroupId_); @@ -285,19 +243,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.datacatalog.v1.CreateEntryGroupRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.CreateEntryGroupRequest other = - (com.google.cloud.datacatalog.v1.CreateEntryGroupRequest) obj; + com.google.cloud.datacatalog.v1.CreateEntryGroupRequest other = (com.google.cloud.datacatalog.v1.CreateEntryGroupRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getEntryGroupId().equals(other.getEntryGroupId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getEntryGroupId() + .equals(other.getEntryGroupId())) return false; if (hasEntryGroup() != other.hasEntryGroup()) return false; if (hasEntryGroup()) { - if (!getEntryGroup().equals(other.getEntryGroup())) return false; + if (!getEntryGroup() + .equals(other.getEntryGroup())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -324,104 +284,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.CreateEntryGroupRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CreateEntryGroupRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateEntryGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CreateEntryGroupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateEntryGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CreateEntryGroupRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.CreateEntryGroupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CreateEntryGroupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.CreateEntryGroupRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateEntryGroupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CreateEntryGroupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.CreateEntryGroupRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateEntryGroupRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.CreateEntryGroupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.CreateEntryGroupRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.CreateEntryGroupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [CreateEntryGroup][google.cloud.datacatalog.v1.DataCatalog.CreateEntryGroup].
@@ -429,32 +383,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.CreateEntryGroupRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.CreateEntryGroupRequest)
       com.google.cloud.datacatalog.v1.CreateEntryGroupRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.CreateEntryGroupRequest.class,
-              com.google.cloud.datacatalog.v1.CreateEntryGroupRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.CreateEntryGroupRequest.class, com.google.cloud.datacatalog.v1.CreateEntryGroupRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.CreateEntryGroupRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -470,9 +425,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_descriptor;
     }
 
     @java.lang.Override
@@ -491,11 +446,8 @@ public com.google.cloud.datacatalog.v1.CreateEntryGroupRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.CreateEntryGroupRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.CreateEntryGroupRequest result =
-          new com.google.cloud.datacatalog.v1.CreateEntryGroupRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.CreateEntryGroupRequest result = new com.google.cloud.datacatalog.v1.CreateEntryGroupRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -509,7 +461,9 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CreateEntryGroupReque
         result.entryGroupId_ = entryGroupId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.entryGroup_ = entryGroupBuilder_ == null ? entryGroup_ : entryGroupBuilder_.build();
+        result.entryGroup_ = entryGroupBuilder_ == null
+            ? entryGroup_
+            : entryGroupBuilder_.build();
       }
     }
 
@@ -517,39 +471,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CreateEntryGroupReque
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.CreateEntryGroupRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.CreateEntryGroupRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.CreateEntryGroupRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -557,8 +510,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.CreateEntryGroupRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.CreateEntryGroupRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.CreateEntryGroupRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -598,31 +550,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getEntryGroupFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 18
-            case 26:
-              {
-                entryGroupId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getEntryGroupFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 18
+            case 26: {
+              entryGroupId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -632,13 +582,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The names of the project and location that the new entry group
      * belongs to.
@@ -647,16 +594,14 @@ public Builder mergeFrom(
      * stored in the location specified in its name.
      * 
* - * - * string parent = 1 [(.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; @@ -665,8 +610,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The names of the project and location that the new entry group
      * belongs to.
@@ -675,17 +618,16 @@ public java.lang.String getParent() {
      * stored in the location specified in its name.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -693,8 +635,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The names of the project and location that the new entry group
      * belongs to.
@@ -703,25 +643,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * stored in the location specified in its name.
      * 
* - * - * 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 names of the project and location that the new entry group
      * belongs to.
@@ -730,10 +664,7 @@ public Builder setParent(java.lang.String value) {
      * stored in the location specified in its name.
      * 
* - * - * string 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() { @@ -743,8 +674,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The names of the project and location that the new entry group
      * belongs to.
@@ -753,17 +682,13 @@ public Builder clearParent() {
      * stored in the location specified in its name.
      * 
* - * - * 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; @@ -773,8 +698,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object entryGroupId_ = ""; /** - * - * *
      * Required. The ID of the entry group to create.
      *
@@ -784,13 +707,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The entryGroupId. */ public java.lang.String getEntryGroupId() { java.lang.Object ref = entryGroupId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entryGroupId_ = s; return s; @@ -799,8 +722,6 @@ public java.lang.String getEntryGroupId() { } } /** - * - * *
      * Required. The ID of the entry group to create.
      *
@@ -810,14 +731,15 @@ public java.lang.String getEntryGroupId() {
      * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for entryGroupId. */ - public com.google.protobuf.ByteString getEntryGroupIdBytes() { + public com.google.protobuf.ByteString + getEntryGroupIdBytes() { java.lang.Object ref = entryGroupId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); entryGroupId_ = b; return b; } else { @@ -825,8 +747,6 @@ public com.google.protobuf.ByteString getEntryGroupIdBytes() { } } /** - * - * *
      * Required. The ID of the entry group to create.
      *
@@ -836,22 +756,18 @@ public com.google.protobuf.ByteString getEntryGroupIdBytes() {
      * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The entryGroupId to set. * @return This builder for chaining. */ - public Builder setEntryGroupId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEntryGroupId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } entryGroupId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The ID of the entry group to create.
      *
@@ -861,7 +777,6 @@ public Builder setEntryGroupId(java.lang.String value) {
      * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearEntryGroupId() { @@ -871,8 +786,6 @@ public Builder clearEntryGroupId() { return this; } /** - * - * *
      * Required. The ID of the entry group to create.
      *
@@ -882,14 +795,12 @@ public Builder clearEntryGroupId() {
      * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for entryGroupId to set. * @return This builder for chaining. */ - public Builder setEntryGroupIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEntryGroupIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); entryGroupId_ = value; bitField0_ |= 0x00000002; @@ -899,47 +810,34 @@ public Builder setEntryGroupIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datacatalog.v1.EntryGroup entryGroup_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.EntryGroup, - com.google.cloud.datacatalog.v1.EntryGroup.Builder, - com.google.cloud.datacatalog.v1.EntryGroupOrBuilder> - entryGroupBuilder_; + com.google.cloud.datacatalog.v1.EntryGroup, com.google.cloud.datacatalog.v1.EntryGroup.Builder, com.google.cloud.datacatalog.v1.EntryGroupOrBuilder> entryGroupBuilder_; /** - * - * *
      * The entry group to create. Defaults to empty.
      * 
* * .google.cloud.datacatalog.v1.EntryGroup entry_group = 2; - * * @return Whether the entryGroup field is set. */ public boolean hasEntryGroup() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The entry group to create. Defaults to empty.
      * 
* * .google.cloud.datacatalog.v1.EntryGroup entry_group = 2; - * * @return The entryGroup. */ public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroup() { if (entryGroupBuilder_ == null) { - return entryGroup_ == null - ? com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance() - : entryGroup_; + return entryGroup_ == null ? com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance() : entryGroup_; } else { return entryGroupBuilder_.getMessage(); } } /** - * - * *
      * The entry group to create. Defaults to empty.
      * 
@@ -960,8 +858,6 @@ public Builder setEntryGroup(com.google.cloud.datacatalog.v1.EntryGroup value) { return this; } /** - * - * *
      * The entry group to create. Defaults to empty.
      * 
@@ -980,8 +876,6 @@ public Builder setEntryGroup( return this; } /** - * - * *
      * The entry group to create. Defaults to empty.
      * 
@@ -990,9 +884,9 @@ public Builder setEntryGroup( */ public Builder mergeEntryGroup(com.google.cloud.datacatalog.v1.EntryGroup value) { if (entryGroupBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && entryGroup_ != null - && entryGroup_ != com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + entryGroup_ != null && + entryGroup_ != com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()) { getEntryGroupBuilder().mergeFrom(value); } else { entryGroup_ = value; @@ -1005,8 +899,6 @@ public Builder mergeEntryGroup(com.google.cloud.datacatalog.v1.EntryGroup value) return this; } /** - * - * *
      * The entry group to create. Defaults to empty.
      * 
@@ -1024,8 +916,6 @@ public Builder clearEntryGroup() { return this; } /** - * - * *
      * The entry group to create. Defaults to empty.
      * 
@@ -1038,8 +928,6 @@ public com.google.cloud.datacatalog.v1.EntryGroup.Builder getEntryGroupBuilder() return getEntryGroupFieldBuilder().getBuilder(); } /** - * - * *
      * The entry group to create. Defaults to empty.
      * 
@@ -1050,14 +938,11 @@ public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupOrBuilde if (entryGroupBuilder_ != null) { return entryGroupBuilder_.getMessageOrBuilder(); } else { - return entryGroup_ == null - ? com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance() - : entryGroup_; + return entryGroup_ == null ? + com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance() : entryGroup_; } } /** - * - * *
      * The entry group to create. Defaults to empty.
      * 
@@ -1065,24 +950,21 @@ public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupOrBuilde * .google.cloud.datacatalog.v1.EntryGroup entry_group = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.EntryGroup, - com.google.cloud.datacatalog.v1.EntryGroup.Builder, - com.google.cloud.datacatalog.v1.EntryGroupOrBuilder> + com.google.cloud.datacatalog.v1.EntryGroup, com.google.cloud.datacatalog.v1.EntryGroup.Builder, com.google.cloud.datacatalog.v1.EntryGroupOrBuilder> getEntryGroupFieldBuilder() { if (entryGroupBuilder_ == null) { - entryGroupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.EntryGroup, - com.google.cloud.datacatalog.v1.EntryGroup.Builder, - com.google.cloud.datacatalog.v1.EntryGroupOrBuilder>( - getEntryGroup(), getParentForChildren(), isClean()); + entryGroupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.EntryGroup, com.google.cloud.datacatalog.v1.EntryGroup.Builder, com.google.cloud.datacatalog.v1.EntryGroupOrBuilder>( + getEntryGroup(), + getParentForChildren(), + isClean()); entryGroup_ = null; } return entryGroupBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1092,12 +974,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.CreateEntryGroupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.CreateEntryGroupRequest) private static final com.google.cloud.datacatalog.v1.CreateEntryGroupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.CreateEntryGroupRequest(); } @@ -1106,27 +988,27 @@ public static com.google.cloud.datacatalog.v1.CreateEntryGroupRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateEntryGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateEntryGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1141,4 +1023,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.CreateEntryGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequestOrBuilder.java similarity index 69% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequestOrBuilder.java index 33f3f54a0ead..8d2672824e34 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface CreateEntryGroupRequestOrBuilder - extends +public interface CreateEntryGroupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CreateEntryGroupRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The names of the project and location that the new entry group
    * belongs to.
@@ -34,16 +16,11 @@ public interface CreateEntryGroupRequestOrBuilder
    * stored in the location specified in its name.
    * 
* - * - * string parent = 1 [(.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 names of the project and location that the new entry group
    * belongs to.
@@ -52,17 +29,13 @@ public interface CreateEntryGroupRequestOrBuilder
    * stored in the location specified in its name.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The ID of the entry group to create.
    *
@@ -72,13 +45,10 @@ public interface CreateEntryGroupRequestOrBuilder
    * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The entryGroupId. */ java.lang.String getEntryGroupId(); /** - * - * *
    * Required. The ID of the entry group to create.
    *
@@ -88,38 +58,30 @@ public interface CreateEntryGroupRequestOrBuilder
    * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for entryGroupId. */ - com.google.protobuf.ByteString getEntryGroupIdBytes(); + com.google.protobuf.ByteString + getEntryGroupIdBytes(); /** - * - * *
    * The entry group to create. Defaults to empty.
    * 
* * .google.cloud.datacatalog.v1.EntryGroup entry_group = 2; - * * @return Whether the entryGroup field is set. */ boolean hasEntryGroup(); /** - * - * *
    * The entry group to create. Defaults to empty.
    * 
* * .google.cloud.datacatalog.v1.EntryGroup entry_group = 2; - * * @return The entryGroup. */ com.google.cloud.datacatalog.v1.EntryGroup getEntryGroup(); /** - * - * *
    * The entry group to create. Defaults to empty.
    * 
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequest.java similarity index 67% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequest.java index 78bc95a0ff0b..188f106adf97 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.CreateEntryRequest}
  */
-public final class CreateEntryRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateEntryRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.CreateEntryRequest)
     CreateEntryRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateEntryRequest.newBuilder() to construct.
   private CreateEntryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateEntryRequest() {
     parent_ = "";
     entryId_ = "";
@@ -45,32 +27,28 @@ private CreateEntryRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateEntryRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.CreateEntryRequest.class,
-            com.google.cloud.datacatalog.v1.CreateEntryRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.CreateEntryRequest.class, com.google.cloud.datacatalog.v1.CreateEntryRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the entry group this entry belongs to.
    *
@@ -78,10 +56,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * the location specified in its name.
    * 
* - * - * string parent = 1 [(.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 name of the entry group this entry belongs to.
    *
@@ -106,18 +80,17 @@ public java.lang.String getParent() {
    * the location specified in its name.
    * 
* - * - * string parent = 1 [(.google.api.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,12 +99,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int ENTRY_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object entryId_ = ""; /** - * - * *
    * Required. The ID of the entry to create.
    *
@@ -141,7 +111,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The entryId. */ @java.lang.Override @@ -150,15 +119,14 @@ public java.lang.String getEntryId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entryId_ = s; return s; } } /** - * - * *
    * Required. The ID of the entry to create.
    *
@@ -168,15 +136,16 @@ public java.lang.String getEntryId() {
    * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for entryId. */ @java.lang.Override - public com.google.protobuf.ByteString getEntryIdBytes() { + public com.google.protobuf.ByteString + getEntryIdBytes() { java.lang.Object ref = entryId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); entryId_ = b; return b; } else { @@ -187,15 +156,11 @@ public com.google.protobuf.ByteString getEntryIdBytes() { public static final int ENTRY_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1.Entry entry_; /** - * - * *
    * Required. The entry to create.
    * 
* - * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the entry field is set. */ @java.lang.Override @@ -203,15 +168,11 @@ public boolean hasEntry() { return entry_ != null; } /** - * - * *
    * Required. The entry to create.
    * 
* - * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The entry. */ @java.lang.Override @@ -219,14 +180,11 @@ public com.google.cloud.datacatalog.v1.Entry getEntry() { return entry_ == null ? com.google.cloud.datacatalog.v1.Entry.getDefaultInstance() : entry_; } /** - * - * *
    * Required. The entry to create.
    * 
* - * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntryOrBuilder() { @@ -234,7 +192,6 @@ public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntryOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -246,7 +203,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -269,7 +227,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (entry_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEntry()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEntry()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entryId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, entryId_); @@ -282,19 +241,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.datacatalog.v1.CreateEntryRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.CreateEntryRequest other = - (com.google.cloud.datacatalog.v1.CreateEntryRequest) obj; + com.google.cloud.datacatalog.v1.CreateEntryRequest other = (com.google.cloud.datacatalog.v1.CreateEntryRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getEntryId().equals(other.getEntryId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getEntryId() + .equals(other.getEntryId())) return false; if (hasEntry() != other.hasEntry()) return false; if (hasEntry()) { - if (!getEntry().equals(other.getEntry())) return false; + if (!getEntry() + .equals(other.getEntry())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -321,103 +282,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.CreateEntryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CreateEntryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateEntryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CreateEntryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateEntryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CreateEntryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.CreateEntryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CreateEntryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.CreateEntryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateEntryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CreateEntryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.CreateEntryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateEntryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.CreateEntryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.CreateEntryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry].
@@ -425,32 +381,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.CreateEntryRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.CreateEntryRequest)
       com.google.cloud.datacatalog.v1.CreateEntryRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.CreateEntryRequest.class,
-              com.google.cloud.datacatalog.v1.CreateEntryRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.CreateEntryRequest.class, com.google.cloud.datacatalog.v1.CreateEntryRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.CreateEntryRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -466,9 +423,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_descriptor;
     }
 
     @java.lang.Override
@@ -487,11 +444,8 @@ public com.google.cloud.datacatalog.v1.CreateEntryRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.CreateEntryRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.CreateEntryRequest result =
-          new com.google.cloud.datacatalog.v1.CreateEntryRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.CreateEntryRequest result = new com.google.cloud.datacatalog.v1.CreateEntryRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -505,7 +459,9 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CreateEntryRequest re
         result.entryId_ = entryId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.entry_ = entryBuilder_ == null ? entry_ : entryBuilder_.build();
+        result.entry_ = entryBuilder_ == null
+            ? entry_
+            : entryBuilder_.build();
       }
     }
 
@@ -513,39 +469,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CreateEntryRequest 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.datacatalog.v1.CreateEntryRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.CreateEntryRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.CreateEntryRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -553,8 +508,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.CreateEntryRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.CreateEntryRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.CreateEntryRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -594,31 +548,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getEntryFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 18
-            case 26:
-              {
-                entryId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getEntryFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 18
+            case 26: {
+              entryId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -628,13 +580,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the entry group this entry belongs to.
      *
@@ -642,16 +591,14 @@ public Builder mergeFrom(
      * the location specified in its name.
      * 
* - * - * string parent = 1 [(.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; @@ -660,8 +607,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the entry group this entry belongs to.
      *
@@ -669,17 +614,16 @@ public java.lang.String getParent() {
      * the location specified in its name.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -687,8 +631,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the entry group this entry belongs to.
      *
@@ -696,25 +638,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * the location specified in its name.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the entry group this entry belongs to.
      *
@@ -722,10 +658,7 @@ public Builder setParent(java.lang.String value) {
      * the location specified in its name.
      * 
* - * - * string 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,8 +668,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the entry group this entry belongs to.
      *
@@ -744,17 +675,13 @@ public Builder clearParent() {
      * the location specified in its name.
      * 
* - * - * 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; @@ -764,8 +691,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object entryId_ = ""; /** - * - * *
      * Required. The ID of the entry to create.
      *
@@ -775,13 +700,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The entryId. */ public java.lang.String getEntryId() { java.lang.Object ref = entryId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entryId_ = s; return s; @@ -790,8 +715,6 @@ public java.lang.String getEntryId() { } } /** - * - * *
      * Required. The ID of the entry to create.
      *
@@ -801,14 +724,15 @@ public java.lang.String getEntryId() {
      * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for entryId. */ - public com.google.protobuf.ByteString getEntryIdBytes() { + public com.google.protobuf.ByteString + getEntryIdBytes() { java.lang.Object ref = entryId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); entryId_ = b; return b; } else { @@ -816,8 +740,6 @@ public com.google.protobuf.ByteString getEntryIdBytes() { } } /** - * - * *
      * Required. The ID of the entry to create.
      *
@@ -827,22 +749,18 @@ public com.google.protobuf.ByteString getEntryIdBytes() {
      * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The entryId to set. * @return This builder for chaining. */ - public Builder setEntryId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEntryId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } entryId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The ID of the entry to create.
      *
@@ -852,7 +770,6 @@ public Builder setEntryId(java.lang.String value) {
      * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearEntryId() { @@ -862,8 +779,6 @@ public Builder clearEntryId() { return this; } /** - * - * *
      * Required. The ID of the entry to create.
      *
@@ -873,14 +788,12 @@ public Builder clearEntryId() {
      * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for entryId to set. * @return This builder for chaining. */ - public Builder setEntryIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEntryIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); entryId_ = value; bitField0_ |= 0x00000002; @@ -890,35 +803,24 @@ public Builder setEntryIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datacatalog.v1.Entry entry_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Entry, - com.google.cloud.datacatalog.v1.Entry.Builder, - com.google.cloud.datacatalog.v1.EntryOrBuilder> - entryBuilder_; + com.google.cloud.datacatalog.v1.Entry, com.google.cloud.datacatalog.v1.Entry.Builder, com.google.cloud.datacatalog.v1.EntryOrBuilder> entryBuilder_; /** - * - * *
      * Required. The entry to create.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the entry field is set. */ public boolean hasEntry() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The entry to create.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The entry. */ public com.google.cloud.datacatalog.v1.Entry getEntry() { @@ -929,14 +831,11 @@ public com.google.cloud.datacatalog.v1.Entry getEntry() { } } /** - * - * *
      * Required. The entry to create.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setEntry(com.google.cloud.datacatalog.v1.Entry value) { if (entryBuilder_ == null) { @@ -952,16 +851,14 @@ public Builder setEntry(com.google.cloud.datacatalog.v1.Entry value) { return this; } /** - * - * *
      * Required. The entry to create.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setEntry(com.google.cloud.datacatalog.v1.Entry.Builder builderForValue) { + public Builder setEntry( + com.google.cloud.datacatalog.v1.Entry.Builder builderForValue) { if (entryBuilder_ == null) { entry_ = builderForValue.build(); } else { @@ -972,20 +869,17 @@ public Builder setEntry(com.google.cloud.datacatalog.v1.Entry.Builder builderFor return this; } /** - * - * *
      * Required. The entry to create.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeEntry(com.google.cloud.datacatalog.v1.Entry value) { if (entryBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && entry_ != null - && entry_ != com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + entry_ != null && + entry_ != com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()) { getEntryBuilder().mergeFrom(value); } else { entry_ = value; @@ -998,14 +892,11 @@ public Builder mergeEntry(com.google.cloud.datacatalog.v1.Entry value) { return this; } /** - * - * *
      * Required. The entry to create.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearEntry() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1018,14 +909,11 @@ public Builder clearEntry() { return this; } /** - * - * *
      * Required. The entry to create.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1.Entry.Builder getEntryBuilder() { bitField0_ |= 0x00000004; @@ -1033,51 +921,43 @@ public com.google.cloud.datacatalog.v1.Entry.Builder getEntryBuilder() { return getEntryFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The entry to create.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntryOrBuilder() { if (entryBuilder_ != null) { return entryBuilder_.getMessageOrBuilder(); } else { - return entry_ == null ? com.google.cloud.datacatalog.v1.Entry.getDefaultInstance() : entry_; + return entry_ == null ? + com.google.cloud.datacatalog.v1.Entry.getDefaultInstance() : entry_; } } /** - * - * *
      * Required. The entry to create.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Entry, - com.google.cloud.datacatalog.v1.Entry.Builder, - com.google.cloud.datacatalog.v1.EntryOrBuilder> + com.google.cloud.datacatalog.v1.Entry, com.google.cloud.datacatalog.v1.Entry.Builder, com.google.cloud.datacatalog.v1.EntryOrBuilder> getEntryFieldBuilder() { if (entryBuilder_ == null) { - entryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Entry, - com.google.cloud.datacatalog.v1.Entry.Builder, - com.google.cloud.datacatalog.v1.EntryOrBuilder>( - getEntry(), getParentForChildren(), isClean()); + entryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.Entry, com.google.cloud.datacatalog.v1.Entry.Builder, com.google.cloud.datacatalog.v1.EntryOrBuilder>( + getEntry(), + getParentForChildren(), + isClean()); entry_ = null; } return entryBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1087,12 +967,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.CreateEntryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.CreateEntryRequest) private static final com.google.cloud.datacatalog.v1.CreateEntryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.CreateEntryRequest(); } @@ -1101,27 +981,27 @@ public static com.google.cloud.datacatalog.v1.CreateEntryRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateEntryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateEntryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,4 +1016,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.CreateEntryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequestOrBuilder.java similarity index 63% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequestOrBuilder.java index 329e067529ab..faa9b0f774b6 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface CreateEntryRequestOrBuilder - extends +public interface CreateEntryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CreateEntryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the entry group this entry belongs to.
    *
@@ -33,16 +15,11 @@ public interface CreateEntryRequestOrBuilder
    * the location specified in its name.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the entry group this entry belongs to.
    *
@@ -50,17 +27,13 @@ public interface CreateEntryRequestOrBuilder
    * the location specified in its name.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The ID of the entry to create.
    *
@@ -70,13 +43,10 @@ public interface CreateEntryRequestOrBuilder
    * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The entryId. */ java.lang.String getEntryId(); /** - * - * *
    * Required. The ID of the entry to create.
    *
@@ -86,46 +56,35 @@ public interface CreateEntryRequestOrBuilder
    * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for entryId. */ - com.google.protobuf.ByteString getEntryIdBytes(); + com.google.protobuf.ByteString + getEntryIdBytes(); /** - * - * *
    * Required. The entry to create.
    * 
* - * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the entry field is set. */ boolean hasEntry(); /** - * - * *
    * Required. The entry to create.
    * 
* - * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The entry. */ com.google.cloud.datacatalog.v1.Entry getEntry(); /** - * - * *
    * Required. The entry to create.
    * 
* - * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datacatalog.v1.EntryOrBuilder getEntryOrBuilder(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequest.java similarity index 65% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequest.java index 0aa468bdbc2a..1cd25e298403 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [CreatePolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.CreatePolicyTag].
@@ -28,56 +11,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.CreatePolicyTagRequest}
  */
-public final class CreatePolicyTagRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreatePolicyTagRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.CreatePolicyTagRequest)
     CreatePolicyTagRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreatePolicyTagRequest.newBuilder() to construct.
   private CreatePolicyTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreatePolicyTagRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreatePolicyTagRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.CreatePolicyTagRequest.class,
-            com.google.cloud.datacatalog.v1.CreatePolicyTagRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.CreatePolicyTagRequest.class, com.google.cloud.datacatalog.v1.CreatePolicyTagRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. Resource name of the taxonomy that the policy tag will belong to.
    * 
* - * - * string parent = 1 [(.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,31 +61,29 @@ 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. Resource name of the taxonomy that the policy tag will belong to.
    * 
* - * - * string parent = 1 [(.google.api.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,14 +94,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int POLICY_TAG_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1.PolicyTag policyTag_; /** - * - * *
    * The policy tag to create.
    * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; - * * @return Whether the policyTag field is set. */ @java.lang.Override @@ -136,25 +106,18 @@ public boolean hasPolicyTag() { return policyTag_ != null; } /** - * - * *
    * The policy tag to create.
    * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; - * * @return The policyTag. */ @java.lang.Override public com.google.cloud.datacatalog.v1.PolicyTag getPolicyTag() { - return policyTag_ == null - ? com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance() - : policyTag_; + return policyTag_ == null ? com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance() : policyTag_; } /** - * - * *
    * The policy tag to create.
    * 
@@ -163,13 +126,10 @@ public com.google.cloud.datacatalog.v1.PolicyTag getPolicyTag() { */ @java.lang.Override public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagOrBuilder() { - return policyTag_ == null - ? com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance() - : policyTag_; + return policyTag_ == null ? com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance() : policyTag_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +141,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -201,7 +162,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (policyTag_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPolicyTag()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getPolicyTag()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -211,18 +173,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.datacatalog.v1.CreatePolicyTagRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.CreatePolicyTagRequest other = - (com.google.cloud.datacatalog.v1.CreatePolicyTagRequest) obj; + com.google.cloud.datacatalog.v1.CreatePolicyTagRequest other = (com.google.cloud.datacatalog.v1.CreatePolicyTagRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasPolicyTag() != other.hasPolicyTag()) return false; if (hasPolicyTag()) { - if (!getPolicyTag().equals(other.getPolicyTag())) return false; + if (!getPolicyTag() + .equals(other.getPolicyTag())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -247,104 +210,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.CreatePolicyTagRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CreatePolicyTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreatePolicyTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CreatePolicyTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreatePolicyTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CreatePolicyTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.CreatePolicyTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CreatePolicyTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.CreatePolicyTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreatePolicyTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CreatePolicyTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.CreatePolicyTagRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreatePolicyTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.CreatePolicyTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.CreatePolicyTagRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.CreatePolicyTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [CreatePolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.CreatePolicyTag].
@@ -352,32 +309,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.CreatePolicyTagRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.CreatePolicyTagRequest)
       com.google.cloud.datacatalog.v1.CreatePolicyTagRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.CreatePolicyTagRequest.class,
-              com.google.cloud.datacatalog.v1.CreatePolicyTagRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.CreatePolicyTagRequest.class, com.google.cloud.datacatalog.v1.CreatePolicyTagRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.CreatePolicyTagRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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,9 +350,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_descriptor;
     }
 
     @java.lang.Override
@@ -413,11 +371,8 @@ public com.google.cloud.datacatalog.v1.CreatePolicyTagRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.CreatePolicyTagRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.CreatePolicyTagRequest result =
-          new com.google.cloud.datacatalog.v1.CreatePolicyTagRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.CreatePolicyTagRequest result = new com.google.cloud.datacatalog.v1.CreatePolicyTagRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -428,7 +383,9 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CreatePolicyTagReques
         result.parent_ = parent_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.policyTag_ = policyTagBuilder_ == null ? policyTag_ : policyTagBuilder_.build();
+        result.policyTag_ = policyTagBuilder_ == null
+            ? policyTag_
+            : policyTagBuilder_.build();
       }
     }
 
@@ -436,39 +393,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CreatePolicyTagReques
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.CreatePolicyTagRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.CreatePolicyTagRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.CreatePolicyTagRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -476,8 +432,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.CreatePolicyTagRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.CreatePolicyTagRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.CreatePolicyTagRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -512,25 +467,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getPolicyTagFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            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(
+                  getPolicyTagFieldBuilder().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) {
@@ -540,27 +494,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. Resource name of the taxonomy that the policy tag will belong to.
      * 
* - * - * string parent = 1 [(.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; @@ -569,23 +518,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the taxonomy that the policy tag will belong to.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -593,39 +539,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the taxonomy that the policy tag will belong to.
      * 
* - * - * 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. Resource name of the taxonomy that the policy tag will belong to.
      * 
* - * - * string 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() { @@ -635,23 +570,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Resource name of the taxonomy that the policy tag will belong to.
      * 
* - * - * 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; @@ -661,47 +590,34 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datacatalog.v1.PolicyTag policyTag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PolicyTag, - com.google.cloud.datacatalog.v1.PolicyTag.Builder, - com.google.cloud.datacatalog.v1.PolicyTagOrBuilder> - policyTagBuilder_; + com.google.cloud.datacatalog.v1.PolicyTag, com.google.cloud.datacatalog.v1.PolicyTag.Builder, com.google.cloud.datacatalog.v1.PolicyTagOrBuilder> policyTagBuilder_; /** - * - * *
      * The policy tag to create.
      * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; - * * @return Whether the policyTag field is set. */ public boolean hasPolicyTag() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The policy tag to create.
      * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; - * * @return The policyTag. */ public com.google.cloud.datacatalog.v1.PolicyTag getPolicyTag() { if (policyTagBuilder_ == null) { - return policyTag_ == null - ? com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance() - : policyTag_; + return policyTag_ == null ? com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance() : policyTag_; } else { return policyTagBuilder_.getMessage(); } } /** - * - * *
      * The policy tag to create.
      * 
@@ -722,15 +638,14 @@ public Builder setPolicyTag(com.google.cloud.datacatalog.v1.PolicyTag value) { return this; } /** - * - * *
      * The policy tag to create.
      * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; */ - public Builder setPolicyTag(com.google.cloud.datacatalog.v1.PolicyTag.Builder builderForValue) { + public Builder setPolicyTag( + com.google.cloud.datacatalog.v1.PolicyTag.Builder builderForValue) { if (policyTagBuilder_ == null) { policyTag_ = builderForValue.build(); } else { @@ -741,8 +656,6 @@ public Builder setPolicyTag(com.google.cloud.datacatalog.v1.PolicyTag.Builder bu return this; } /** - * - * *
      * The policy tag to create.
      * 
@@ -751,9 +664,9 @@ public Builder setPolicyTag(com.google.cloud.datacatalog.v1.PolicyTag.Builder bu */ public Builder mergePolicyTag(com.google.cloud.datacatalog.v1.PolicyTag value) { if (policyTagBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && policyTag_ != null - && policyTag_ != com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + policyTag_ != null && + policyTag_ != com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance()) { getPolicyTagBuilder().mergeFrom(value); } else { policyTag_ = value; @@ -766,8 +679,6 @@ public Builder mergePolicyTag(com.google.cloud.datacatalog.v1.PolicyTag value) { return this; } /** - * - * *
      * The policy tag to create.
      * 
@@ -785,8 +696,6 @@ public Builder clearPolicyTag() { return this; } /** - * - * *
      * The policy tag to create.
      * 
@@ -799,8 +708,6 @@ public com.google.cloud.datacatalog.v1.PolicyTag.Builder getPolicyTagBuilder() { return getPolicyTagFieldBuilder().getBuilder(); } /** - * - * *
      * The policy tag to create.
      * 
@@ -811,14 +718,11 @@ public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagOrBuilder( if (policyTagBuilder_ != null) { return policyTagBuilder_.getMessageOrBuilder(); } else { - return policyTag_ == null - ? com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance() - : policyTag_; + return policyTag_ == null ? + com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance() : policyTag_; } } /** - * - * *
      * The policy tag to create.
      * 
@@ -826,24 +730,21 @@ public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagOrBuilder( * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PolicyTag, - com.google.cloud.datacatalog.v1.PolicyTag.Builder, - com.google.cloud.datacatalog.v1.PolicyTagOrBuilder> + com.google.cloud.datacatalog.v1.PolicyTag, com.google.cloud.datacatalog.v1.PolicyTag.Builder, com.google.cloud.datacatalog.v1.PolicyTagOrBuilder> getPolicyTagFieldBuilder() { if (policyTagBuilder_ == null) { - policyTagBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PolicyTag, - com.google.cloud.datacatalog.v1.PolicyTag.Builder, - com.google.cloud.datacatalog.v1.PolicyTagOrBuilder>( - getPolicyTag(), getParentForChildren(), isClean()); + policyTagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.PolicyTag, com.google.cloud.datacatalog.v1.PolicyTag.Builder, com.google.cloud.datacatalog.v1.PolicyTagOrBuilder>( + getPolicyTag(), + getParentForChildren(), + isClean()); policyTag_ = null; } return policyTagBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -853,12 +754,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.CreatePolicyTagRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.CreatePolicyTagRequest) private static final com.google.cloud.datacatalog.v1.CreatePolicyTagRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.CreatePolicyTagRequest(); } @@ -867,27 +768,27 @@ public static com.google.cloud.datacatalog.v1.CreatePolicyTagRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreatePolicyTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreatePolicyTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -902,4 +803,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.CreatePolicyTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequestOrBuilder.java similarity index 55% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequestOrBuilder.java index c459a713475c..f890c148e316 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequestOrBuilder.java @@ -1,84 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; -public interface CreatePolicyTagRequestOrBuilder - extends +public interface CreatePolicyTagRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CreatePolicyTagRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the taxonomy that the policy tag will belong to.
    * 
* - * - * string parent = 1 [(.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. Resource name of the taxonomy that the policy tag will belong to.
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * The policy tag to create.
    * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; - * * @return Whether the policyTag field is set. */ boolean hasPolicyTag(); /** - * - * *
    * The policy tag to create.
    * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; - * * @return The policyTag. */ com.google.cloud.datacatalog.v1.PolicyTag getPolicyTag(); /** - * - * *
    * The policy tag to create.
    * 
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequest.java similarity index 66% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequest.java index cb8f6eae0146..d5f88dfebf61 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [CreateTag][google.cloud.datacatalog.v1.DataCatalog.CreateTag].
@@ -28,48 +11,43 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.CreateTagRequest}
  */
-public final class CreateTagRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateTagRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.CreateTagRequest)
     CreateTagRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateTagRequest.newBuilder() to construct.
   private CreateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateTagRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateTagRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_CreateTagRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateTagRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_CreateTagRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateTagRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.CreateTagRequest.class,
-            com.google.cloud.datacatalog.v1.CreateTagRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.CreateTagRequest.class, com.google.cloud.datacatalog.v1.CreateTagRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the resource to attach this tag to.
    *
@@ -80,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * the location specified in its name.
    * 
* - * - * string parent = 1 [(.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 @@ -92,15 +67,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the resource to attach this tag to.
    *
@@ -111,18 +85,17 @@ public java.lang.String getParent() {
    * the location specified in its name.
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -133,15 +106,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TAG_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1.Tag tag_; /** - * - * *
    * Required. The tag to create.
    * 
* - * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tag field is set. */ @java.lang.Override @@ -149,15 +118,11 @@ public boolean hasTag() { return tag_ != null; } /** - * - * *
    * Required. The tag to create.
    * 
* - * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The tag. */ @java.lang.Override @@ -165,14 +130,11 @@ public com.google.cloud.datacatalog.v1.Tag getTag() { return tag_ == null ? com.google.cloud.datacatalog.v1.Tag.getDefaultInstance() : tag_; } /** - * - * *
    * Required. The tag to create.
    * 
* - * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datacatalog.v1.TagOrBuilder getTagOrBuilder() { @@ -180,7 +142,6 @@ public com.google.cloud.datacatalog.v1.TagOrBuilder getTagOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -192,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -212,7 +174,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (tag_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTag()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTag()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -222,18 +185,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.datacatalog.v1.CreateTagRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.CreateTagRequest other = - (com.google.cloud.datacatalog.v1.CreateTagRequest) obj; + com.google.cloud.datacatalog.v1.CreateTagRequest other = (com.google.cloud.datacatalog.v1.CreateTagRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasTag() != other.hasTag()) return false; if (hasTag()) { - if (!getTag().equals(other.getTag())) return false; + if (!getTag() + .equals(other.getTag())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -257,104 +221,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.CreateTagRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.CreateTagRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CreateTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CreateTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CreateTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.CreateTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CreateTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.CreateTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CreateTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.CreateTagRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.CreateTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.CreateTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [CreateTag][google.cloud.datacatalog.v1.DataCatalog.CreateTag].
@@ -362,32 +321,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.CreateTagRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.CreateTagRequest)
       com.google.cloud.datacatalog.v1.CreateTagRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_CreateTagRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateTagRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_CreateTagRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateTagRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.CreateTagRequest.class,
-              com.google.cloud.datacatalog.v1.CreateTagRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.CreateTagRequest.class, com.google.cloud.datacatalog.v1.CreateTagRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.CreateTagRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -402,9 +362,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_CreateTagRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateTagRequest_descriptor;
     }
 
     @java.lang.Override
@@ -423,11 +383,8 @@ public com.google.cloud.datacatalog.v1.CreateTagRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.CreateTagRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.CreateTagRequest result =
-          new com.google.cloud.datacatalog.v1.CreateTagRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.CreateTagRequest result = new com.google.cloud.datacatalog.v1.CreateTagRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -438,7 +395,9 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CreateTagRequest resu
         result.parent_ = parent_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.tag_ = tagBuilder_ == null ? tag_ : tagBuilder_.build();
+        result.tag_ = tagBuilder_ == null
+            ? tag_
+            : tagBuilder_.build();
       }
     }
 
@@ -446,39 +405,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CreateTagRequest 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.datacatalog.v1.CreateTagRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.CreateTagRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.CreateTagRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -486,8 +444,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.CreateTagRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.CreateTagRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.CreateTagRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -522,25 +479,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getTagFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            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(
+                  getTagFieldBuilder().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) {
@@ -550,13 +506,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the resource to attach this tag to.
      *
@@ -567,16 +520,14 @@ public Builder mergeFrom(
      * the location specified in its name.
      * 
* - * - * string parent = 1 [(.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; @@ -585,8 +536,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the resource to attach this tag to.
      *
@@ -597,17 +546,16 @@ public java.lang.String getParent() {
      * the location specified in its name.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -615,8 +563,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the resource to attach this tag to.
      *
@@ -627,25 +573,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * the location specified in its name.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource to attach this tag to.
      *
@@ -656,10 +596,7 @@ public Builder setParent(java.lang.String value) {
      * the location specified in its name.
      * 
* - * - * string 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() { @@ -669,8 +606,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the resource to attach this tag to.
      *
@@ -681,17 +616,13 @@ public Builder clearParent() {
      * the location specified in its name.
      * 
* - * - * 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; @@ -701,35 +632,24 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datacatalog.v1.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Tag, - com.google.cloud.datacatalog.v1.Tag.Builder, - com.google.cloud.datacatalog.v1.TagOrBuilder> - tagBuilder_; + com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder> tagBuilder_; /** - * - * *
      * Required. The tag to create.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tag field is set. */ public boolean hasTag() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The tag to create.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The tag. */ public com.google.cloud.datacatalog.v1.Tag getTag() { @@ -740,14 +660,11 @@ public com.google.cloud.datacatalog.v1.Tag getTag() { } } /** - * - * *
      * Required. The tag to create.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTag(com.google.cloud.datacatalog.v1.Tag value) { if (tagBuilder_ == null) { @@ -763,16 +680,14 @@ public Builder setTag(com.google.cloud.datacatalog.v1.Tag value) { return this; } /** - * - * *
      * Required. The tag to create.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTag(com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { + public Builder setTag( + com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { if (tagBuilder_ == null) { tag_ = builderForValue.build(); } else { @@ -783,20 +698,17 @@ public Builder setTag(com.google.cloud.datacatalog.v1.Tag.Builder builderForValu return this; } /** - * - * *
      * Required. The tag to create.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTag(com.google.cloud.datacatalog.v1.Tag value) { if (tagBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && tag_ != null - && tag_ != com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + tag_ != null && + tag_ != com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()) { getTagBuilder().mergeFrom(value); } else { tag_ = value; @@ -809,14 +721,11 @@ public Builder mergeTag(com.google.cloud.datacatalog.v1.Tag value) { return this; } /** - * - * *
      * Required. The tag to create.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTag() { bitField0_ = (bitField0_ & ~0x00000002); @@ -829,14 +738,11 @@ public Builder clearTag() { return this; } /** - * - * *
      * Required. The tag to create.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1.Tag.Builder getTagBuilder() { bitField0_ |= 0x00000002; @@ -844,51 +750,43 @@ public com.google.cloud.datacatalog.v1.Tag.Builder getTagBuilder() { return getTagFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The tag to create.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1.TagOrBuilder getTagOrBuilder() { if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null ? com.google.cloud.datacatalog.v1.Tag.getDefaultInstance() : tag_; + return tag_ == null ? + com.google.cloud.datacatalog.v1.Tag.getDefaultInstance() : tag_; } } /** - * - * *
      * Required. The tag to create.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Tag, - com.google.cloud.datacatalog.v1.Tag.Builder, - com.google.cloud.datacatalog.v1.TagOrBuilder> + com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Tag, - com.google.cloud.datacatalog.v1.Tag.Builder, - com.google.cloud.datacatalog.v1.TagOrBuilder>( - getTag(), getParentForChildren(), isClean()); + tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder>( + getTag(), + getParentForChildren(), + isClean()); tag_ = null; } return tagBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -898,12 +796,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.CreateTagRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.CreateTagRequest) private static final com.google.cloud.datacatalog.v1.CreateTagRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.CreateTagRequest(); } @@ -912,27 +810,27 @@ public static com.google.cloud.datacatalog.v1.CreateTagRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -947,4 +845,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.CreateTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequestOrBuilder.java similarity index 58% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequestOrBuilder.java index e95385139f4b..dfe40ffaf269 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface CreateTagRequestOrBuilder - extends +public interface CreateTagRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CreateTagRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the resource to attach this tag to.
    *
@@ -36,16 +18,11 @@ public interface CreateTagRequestOrBuilder
    * the location specified in its name.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the resource to attach this tag to.
    *
@@ -56,49 +33,36 @@ public interface CreateTagRequestOrBuilder
    * the location specified in its name.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The tag to create.
    * 
* - * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tag field is set. */ boolean hasTag(); /** - * - * *
    * Required. The tag to create.
    * 
* - * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The tag. */ com.google.cloud.datacatalog.v1.Tag getTag(); /** - * - * *
    * Required. The tag to create.
    * 
* - * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datacatalog.v1.TagOrBuilder getTagOrBuilder(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequest.java similarity index 64% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequest.java index a991d3c19831..c4a4cc93a9b2 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [CreateTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.CreateTagTemplateField].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest}
  */
-public final class CreateTagTemplateFieldRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateTagTemplateFieldRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest)
     CreateTagTemplateFieldRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateTagTemplateFieldRequest.newBuilder() to construct.
   private CreateTagTemplateFieldRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateTagTemplateFieldRequest() {
     parent_ = "";
     tagTemplateFieldId_ = "";
@@ -45,41 +27,34 @@ private CreateTagTemplateFieldRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateTagTemplateFieldRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest.class,
-            com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest.class, com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
    * 
* - * - * string parent = 1 [(.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 name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
    * 
* - * - * string parent = 1 [(.google.api.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 +95,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int TAG_TEMPLATE_FIELD_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object tagTemplateFieldId_ = ""; /** - * - * *
    * Required. The ID of the tag template field to create.
    *
@@ -140,7 +110,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tagTemplateFieldId. */ @java.lang.Override @@ -149,15 +118,14 @@ public java.lang.String getTagTemplateFieldId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagTemplateFieldId_ = s; return s; } } /** - * - * *
    * Required. The ID of the tag template field to create.
    *
@@ -170,15 +138,16 @@ public java.lang.String getTagTemplateFieldId() {
    * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tagTemplateFieldId. */ @java.lang.Override - public com.google.protobuf.ByteString getTagTemplateFieldIdBytes() { + public com.google.protobuf.ByteString + getTagTemplateFieldIdBytes() { java.lang.Object ref = tagTemplateFieldId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tagTemplateFieldId_ = b; return b; } else { @@ -189,16 +158,11 @@ public com.google.protobuf.ByteString getTagTemplateFieldIdBytes() { public static final int TAG_TEMPLATE_FIELD_FIELD_NUMBER = 3; private com.google.cloud.datacatalog.v1.TagTemplateField tagTemplateField_; /** - * - * *
    * Required. The tag template field to create.
    * 
* - * - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tagTemplateField field is set. */ @java.lang.Override @@ -206,44 +170,30 @@ public boolean hasTagTemplateField() { return tagTemplateField_ != null; } /** - * - * *
    * Required. The tag template field to create.
    * 
* - * - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The tagTemplateField. */ @java.lang.Override public com.google.cloud.datacatalog.v1.TagTemplateField getTagTemplateField() { - return tagTemplateField_ == null - ? com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance() - : tagTemplateField_; + return tagTemplateField_ == null ? com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance() : tagTemplateField_; } /** - * - * *
    * Required. The tag template field to create.
    * 
* - * - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder() { - return tagTemplateField_ == null - ? com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance() - : tagTemplateField_; + return tagTemplateField_ == null ? com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance() : tagTemplateField_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,7 +205,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -281,7 +232,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tagTemplateFieldId_); } if (tagTemplateField_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTagTemplateField()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getTagTemplateField()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -291,19 +243,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.datacatalog.v1.CreateTagTemplateFieldRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest other = - (com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest) obj; + com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest other = (com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getTagTemplateFieldId().equals(other.getTagTemplateFieldId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getTagTemplateFieldId() + .equals(other.getTagTemplateFieldId())) return false; if (hasTagTemplateField() != other.hasTagTemplateField()) return false; if (hasTagTemplateField()) { - if (!getTagTemplateField().equals(other.getTagTemplateField())) return false; + if (!getTagTemplateField() + .equals(other.getTagTemplateField())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -330,104 +284,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [CreateTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.CreateTagTemplateField].
@@ -435,32 +383,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest)
       com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest.class,
-              com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest.class, com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -476,14 +425,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest
-        getDefaultInstanceForType() {
+    public com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest getDefaultInstanceForType() {
       return com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest.getDefaultInstance();
     }
 
@@ -498,17 +446,13 @@ public com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest result =
-          new com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest result = new com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest result) {
+    private void buildPartial0(com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -517,8 +461,9 @@ private void buildPartial0(
         result.tagTemplateFieldId_ = tagTemplateFieldId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.tagTemplateField_ =
-            tagTemplateFieldBuilder_ == null ? tagTemplateField_ : tagTemplateFieldBuilder_.build();
+        result.tagTemplateField_ = tagTemplateFieldBuilder_ == null
+            ? tagTemplateField_
+            : tagTemplateFieldBuilder_.build();
       }
     }
 
@@ -526,39 +471,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.datacatalog.v1.CreateTagTemplateFieldRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -566,9 +510,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest other) {
-      if (other
-          == com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -608,32 +550,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                tagTemplateFieldId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(
-                    getTagTemplateFieldFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              tagTemplateFieldId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getTagTemplateFieldFieldBuilder().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) {
@@ -643,28 +582,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
      * 
* - * - * string parent = 1 [(.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; @@ -673,24 +607,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
      * 
* - * - * string parent = 1 [(.google.api.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,41 +629,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
      * 
* - * - * string 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() { @@ -742,24 +662,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
      * 
* - * - * 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; @@ -769,8 +683,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object tagTemplateFieldId_ = ""; /** - * - * *
      * Required. The ID of the tag template field to create.
      *
@@ -783,13 +695,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tagTemplateFieldId. */ public java.lang.String getTagTemplateFieldId() { java.lang.Object ref = tagTemplateFieldId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagTemplateFieldId_ = s; return s; @@ -798,8 +710,6 @@ public java.lang.String getTagTemplateFieldId() { } } /** - * - * *
      * Required. The ID of the tag template field to create.
      *
@@ -812,14 +722,15 @@ public java.lang.String getTagTemplateFieldId() {
      * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tagTemplateFieldId. */ - public com.google.protobuf.ByteString getTagTemplateFieldIdBytes() { + public com.google.protobuf.ByteString + getTagTemplateFieldIdBytes() { java.lang.Object ref = tagTemplateFieldId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tagTemplateFieldId_ = b; return b; } else { @@ -827,8 +738,6 @@ public com.google.protobuf.ByteString getTagTemplateFieldIdBytes() { } } /** - * - * *
      * Required. The ID of the tag template field to create.
      *
@@ -841,22 +750,18 @@ public com.google.protobuf.ByteString getTagTemplateFieldIdBytes() {
      * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The tagTemplateFieldId to set. * @return This builder for chaining. */ - public Builder setTagTemplateFieldId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTagTemplateFieldId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tagTemplateFieldId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The ID of the tag template field to create.
      *
@@ -869,7 +774,6 @@ public Builder setTagTemplateFieldId(java.lang.String value) {
      * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTagTemplateFieldId() { @@ -879,8 +783,6 @@ public Builder clearTagTemplateFieldId() { return this; } /** - * - * *
      * Required. The ID of the tag template field to create.
      *
@@ -893,14 +795,12 @@ public Builder clearTagTemplateFieldId() {
      * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for tagTemplateFieldId to set. * @return This builder for chaining. */ - public Builder setTagTemplateFieldIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTagTemplateFieldIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tagTemplateFieldId_ = value; bitField0_ |= 0x00000002; @@ -910,58 +810,39 @@ public Builder setTagTemplateFieldIdBytes(com.google.protobuf.ByteString value) private com.google.cloud.datacatalog.v1.TagTemplateField tagTemplateField_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.TagTemplateField, - com.google.cloud.datacatalog.v1.TagTemplateField.Builder, - com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder> - tagTemplateFieldBuilder_; + com.google.cloud.datacatalog.v1.TagTemplateField, com.google.cloud.datacatalog.v1.TagTemplateField.Builder, com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder> tagTemplateFieldBuilder_; /** - * - * *
      * Required. The tag template field to create.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tagTemplateField field is set. */ public boolean hasTagTemplateField() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The tag template field to create.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The tagTemplateField. */ public com.google.cloud.datacatalog.v1.TagTemplateField getTagTemplateField() { if (tagTemplateFieldBuilder_ == null) { - return tagTemplateField_ == null - ? com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance() - : tagTemplateField_; + return tagTemplateField_ == null ? com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance() : tagTemplateField_; } else { return tagTemplateFieldBuilder_.getMessage(); } } /** - * - * *
      * Required. The tag template field to create.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTagTemplateField(com.google.cloud.datacatalog.v1.TagTemplateField value) { if (tagTemplateFieldBuilder_ == null) { @@ -977,15 +858,11 @@ public Builder setTagTemplateField(com.google.cloud.datacatalog.v1.TagTemplateFi return this; } /** - * - * *
      * Required. The tag template field to create.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTagTemplateField( com.google.cloud.datacatalog.v1.TagTemplateField.Builder builderForValue) { @@ -999,22 +876,17 @@ public Builder setTagTemplateField( return this; } /** - * - * *
      * Required. The tag template field to create.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTagTemplateField(com.google.cloud.datacatalog.v1.TagTemplateField value) { if (tagTemplateFieldBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && tagTemplateField_ != null - && tagTemplateField_ - != com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + tagTemplateField_ != null && + tagTemplateField_ != com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance()) { getTagTemplateFieldBuilder().mergeFrom(value); } else { tagTemplateField_ = value; @@ -1027,15 +899,11 @@ public Builder mergeTagTemplateField(com.google.cloud.datacatalog.v1.TagTemplate return this; } /** - * - * *
      * Required. The tag template field to create.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTagTemplateField() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1048,15 +916,11 @@ public Builder clearTagTemplateField() { return this; } /** - * - * *
      * Required. The tag template field to create.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1.TagTemplateField.Builder getTagTemplateFieldBuilder() { bitField0_ |= 0x00000004; @@ -1064,56 +928,43 @@ public com.google.cloud.datacatalog.v1.TagTemplateField.Builder getTagTemplateFi return getTagTemplateFieldFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The tag template field to create.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder - getTagTemplateFieldOrBuilder() { + public com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder() { if (tagTemplateFieldBuilder_ != null) { return tagTemplateFieldBuilder_.getMessageOrBuilder(); } else { - return tagTemplateField_ == null - ? com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance() - : tagTemplateField_; + return tagTemplateField_ == null ? + com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance() : tagTemplateField_; } } /** - * - * *
      * Required. The tag template field to create.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.TagTemplateField, - com.google.cloud.datacatalog.v1.TagTemplateField.Builder, - com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder> + com.google.cloud.datacatalog.v1.TagTemplateField, com.google.cloud.datacatalog.v1.TagTemplateField.Builder, com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder> getTagTemplateFieldFieldBuilder() { if (tagTemplateFieldBuilder_ == null) { - tagTemplateFieldBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.TagTemplateField, - com.google.cloud.datacatalog.v1.TagTemplateField.Builder, - com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder>( - getTagTemplateField(), getParentForChildren(), isClean()); + tagTemplateFieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.TagTemplateField, com.google.cloud.datacatalog.v1.TagTemplateField.Builder, com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder>( + getTagTemplateField(), + getParentForChildren(), + isClean()); tagTemplateField_ = null; } return tagTemplateFieldBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1123,13 +974,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest) - private static final com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest(); } @@ -1138,27 +988,27 @@ public static com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTagTemplateFieldRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTagTemplateFieldRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1173,4 +1023,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequestOrBuilder.java similarity index 61% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequestOrBuilder.java index 8769233aa5b3..2379c1d89e7e 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface CreateTagTemplateFieldRequestOrBuilder - extends +public interface CreateTagTemplateFieldRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The ID of the tag template field to create.
    *
@@ -69,13 +42,10 @@ public interface CreateTagTemplateFieldRequestOrBuilder
    * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tagTemplateFieldId. */ java.lang.String getTagTemplateFieldId(); /** - * - * *
    * Required. The ID of the tag template field to create.
    *
@@ -88,49 +58,35 @@ public interface CreateTagTemplateFieldRequestOrBuilder
    * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tagTemplateFieldId. */ - com.google.protobuf.ByteString getTagTemplateFieldIdBytes(); + com.google.protobuf.ByteString + getTagTemplateFieldIdBytes(); /** - * - * *
    * Required. The tag template field to create.
    * 
* - * - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tagTemplateField field is set. */ boolean hasTagTemplateField(); /** - * - * *
    * Required. The tag template field to create.
    * 
* - * - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The tagTemplateField. */ com.google.cloud.datacatalog.v1.TagTemplateField getTagTemplateField(); /** - * - * *
    * Required. The tag template field to create.
    * 
* - * - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequest.java similarity index 64% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequest.java index 86892e9d889c..7694de299e2f 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [CreateTagTemplate][google.cloud.datacatalog.v1.DataCatalog.CreateTagTemplate].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.CreateTagTemplateRequest}
  */
-public final class CreateTagTemplateRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateTagTemplateRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.CreateTagTemplateRequest)
     CreateTagTemplateRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateTagTemplateRequest.newBuilder() to construct.
   private CreateTagTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateTagTemplateRequest() {
     parent_ = "";
     tagTemplateId_ = "";
@@ -45,41 +27,34 @@ private CreateTagTemplateRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateTagTemplateRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.CreateTagTemplateRequest.class,
-            com.google.cloud.datacatalog.v1.CreateTagTemplateRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.CreateTagTemplateRequest.class, com.google.cloud.datacatalog.v1.CreateTagTemplateRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
    * 
* - * - * string parent = 1 [(.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 name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
    * 
* - * - * string parent = 1 [(.google.api.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 +95,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int TAG_TEMPLATE_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object tagTemplateId_ = ""; /** - * - * *
    * Required. The ID of the tag template to create.
    *
@@ -137,7 +107,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tagTemplateId. */ @java.lang.Override @@ -146,15 +115,14 @@ public java.lang.String getTagTemplateId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagTemplateId_ = s; return s; } } /** - * - * *
    * Required. The ID of the tag template to create.
    *
@@ -164,15 +132,16 @@ public java.lang.String getTagTemplateId() {
    * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tagTemplateId. */ @java.lang.Override - public com.google.protobuf.ByteString getTagTemplateIdBytes() { + public com.google.protobuf.ByteString + getTagTemplateIdBytes() { java.lang.Object ref = tagTemplateId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tagTemplateId_ = b; return b; } else { @@ -183,16 +152,11 @@ public com.google.protobuf.ByteString getTagTemplateIdBytes() { public static final int TAG_TEMPLATE_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1.TagTemplate tagTemplate_; /** - * - * *
    * Required. The tag template to create.
    * 
* - * - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tagTemplate field is set. */ @java.lang.Override @@ -200,44 +164,30 @@ public boolean hasTagTemplate() { return tagTemplate_ != null; } /** - * - * *
    * Required. The tag template to create.
    * 
* - * - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The tagTemplate. */ @java.lang.Override public com.google.cloud.datacatalog.v1.TagTemplate getTagTemplate() { - return tagTemplate_ == null - ? com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance() - : tagTemplate_; + return tagTemplate_ == null ? com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance() : tagTemplate_; } /** - * - * *
    * Required. The tag template to create.
    * 
* - * - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datacatalog.v1.TagTemplateOrBuilder getTagTemplateOrBuilder() { - return tagTemplate_ == null - ? com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance() - : tagTemplate_; + return tagTemplate_ == null ? com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance() : tagTemplate_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,7 +199,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -272,7 +223,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (tagTemplate_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTagTemplate()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTagTemplate()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tagTemplateId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, tagTemplateId_); @@ -285,19 +237,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.datacatalog.v1.CreateTagTemplateRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.CreateTagTemplateRequest other = - (com.google.cloud.datacatalog.v1.CreateTagTemplateRequest) obj; + com.google.cloud.datacatalog.v1.CreateTagTemplateRequest other = (com.google.cloud.datacatalog.v1.CreateTagTemplateRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getTagTemplateId().equals(other.getTagTemplateId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getTagTemplateId() + .equals(other.getTagTemplateId())) return false; if (hasTagTemplate() != other.hasTagTemplate()) return false; if (hasTagTemplate()) { - if (!getTagTemplate().equals(other.getTagTemplate())) return false; + if (!getTagTemplate() + .equals(other.getTagTemplate())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -324,104 +278,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.CreateTagTemplateRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CreateTagTemplateRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateTagTemplateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CreateTagTemplateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateTagTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CreateTagTemplateRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.CreateTagTemplateRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CreateTagTemplateRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.CreateTagTemplateRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateTagTemplateRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CreateTagTemplateRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.CreateTagTemplateRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateTagTemplateRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.CreateTagTemplateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.CreateTagTemplateRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.CreateTagTemplateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [CreateTagTemplate][google.cloud.datacatalog.v1.DataCatalog.CreateTagTemplate].
@@ -429,32 +377,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.CreateTagTemplateRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.CreateTagTemplateRequest)
       com.google.cloud.datacatalog.v1.CreateTagTemplateRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.CreateTagTemplateRequest.class,
-              com.google.cloud.datacatalog.v1.CreateTagTemplateRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.CreateTagTemplateRequest.class, com.google.cloud.datacatalog.v1.CreateTagTemplateRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.CreateTagTemplateRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -470,9 +419,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_descriptor;
     }
 
     @java.lang.Override
@@ -491,11 +440,8 @@ public com.google.cloud.datacatalog.v1.CreateTagTemplateRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.CreateTagTemplateRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.CreateTagTemplateRequest result =
-          new com.google.cloud.datacatalog.v1.CreateTagTemplateRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.CreateTagTemplateRequest result = new com.google.cloud.datacatalog.v1.CreateTagTemplateRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -509,8 +455,9 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CreateTagTemplateRequ
         result.tagTemplateId_ = tagTemplateId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.tagTemplate_ =
-            tagTemplateBuilder_ == null ? tagTemplate_ : tagTemplateBuilder_.build();
+        result.tagTemplate_ = tagTemplateBuilder_ == null
+            ? tagTemplate_
+            : tagTemplateBuilder_.build();
       }
     }
 
@@ -518,39 +465,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CreateTagTemplateRequ
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.CreateTagTemplateRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.CreateTagTemplateRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.CreateTagTemplateRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -558,8 +504,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.CreateTagTemplateRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.CreateTagTemplateRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.CreateTagTemplateRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -599,31 +544,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getTagTemplateFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 18
-            case 26:
-              {
-                tagTemplateId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getTagTemplateFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 18
+            case 26: {
+              tagTemplateId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -633,28 +576,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
      * 
* - * - * string parent = 1 [(.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; @@ -663,24 +601,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -688,41 +623,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
      * 
* - * - * string 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() { @@ -732,24 +656,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
      * 
* - * - * 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; @@ -759,8 +677,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object tagTemplateId_ = ""; /** - * - * *
      * Required. The ID of the tag template to create.
      *
@@ -770,13 +686,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tagTemplateId. */ public java.lang.String getTagTemplateId() { java.lang.Object ref = tagTemplateId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagTemplateId_ = s; return s; @@ -785,8 +701,6 @@ public java.lang.String getTagTemplateId() { } } /** - * - * *
      * Required. The ID of the tag template to create.
      *
@@ -796,14 +710,15 @@ public java.lang.String getTagTemplateId() {
      * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tagTemplateId. */ - public com.google.protobuf.ByteString getTagTemplateIdBytes() { + public com.google.protobuf.ByteString + getTagTemplateIdBytes() { java.lang.Object ref = tagTemplateId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tagTemplateId_ = b; return b; } else { @@ -811,8 +726,6 @@ public com.google.protobuf.ByteString getTagTemplateIdBytes() { } } /** - * - * *
      * Required. The ID of the tag template to create.
      *
@@ -822,22 +735,18 @@ public com.google.protobuf.ByteString getTagTemplateIdBytes() {
      * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The tagTemplateId to set. * @return This builder for chaining. */ - public Builder setTagTemplateId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTagTemplateId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tagTemplateId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The ID of the tag template to create.
      *
@@ -847,7 +756,6 @@ public Builder setTagTemplateId(java.lang.String value) {
      * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTagTemplateId() { @@ -857,8 +765,6 @@ public Builder clearTagTemplateId() { return this; } /** - * - * *
      * Required. The ID of the tag template to create.
      *
@@ -868,14 +774,12 @@ public Builder clearTagTemplateId() {
      * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for tagTemplateId to set. * @return This builder for chaining. */ - public Builder setTagTemplateIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTagTemplateIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tagTemplateId_ = value; bitField0_ |= 0x00000002; @@ -885,58 +789,39 @@ public Builder setTagTemplateIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datacatalog.v1.TagTemplate tagTemplate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.TagTemplate, - com.google.cloud.datacatalog.v1.TagTemplate.Builder, - com.google.cloud.datacatalog.v1.TagTemplateOrBuilder> - tagTemplateBuilder_; + com.google.cloud.datacatalog.v1.TagTemplate, com.google.cloud.datacatalog.v1.TagTemplate.Builder, com.google.cloud.datacatalog.v1.TagTemplateOrBuilder> tagTemplateBuilder_; /** - * - * *
      * Required. The tag template to create.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tagTemplate field is set. */ public boolean hasTagTemplate() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The tag template to create.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The tagTemplate. */ public com.google.cloud.datacatalog.v1.TagTemplate getTagTemplate() { if (tagTemplateBuilder_ == null) { - return tagTemplate_ == null - ? com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance() - : tagTemplate_; + return tagTemplate_ == null ? com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance() : tagTemplate_; } else { return tagTemplateBuilder_.getMessage(); } } /** - * - * *
      * Required. The tag template to create.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTagTemplate(com.google.cloud.datacatalog.v1.TagTemplate value) { if (tagTemplateBuilder_ == null) { @@ -952,15 +837,11 @@ public Builder setTagTemplate(com.google.cloud.datacatalog.v1.TagTemplate value) return this; } /** - * - * *
      * Required. The tag template to create.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTagTemplate( com.google.cloud.datacatalog.v1.TagTemplate.Builder builderForValue) { @@ -974,21 +855,17 @@ public Builder setTagTemplate( return this; } /** - * - * *
      * Required. The tag template to create.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTagTemplate(com.google.cloud.datacatalog.v1.TagTemplate value) { if (tagTemplateBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && tagTemplate_ != null - && tagTemplate_ != com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + tagTemplate_ != null && + tagTemplate_ != com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance()) { getTagTemplateBuilder().mergeFrom(value); } else { tagTemplate_ = value; @@ -1001,15 +878,11 @@ public Builder mergeTagTemplate(com.google.cloud.datacatalog.v1.TagTemplate valu return this; } /** - * - * *
      * Required. The tag template to create.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTagTemplate() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1022,15 +895,11 @@ public Builder clearTagTemplate() { return this; } /** - * - * *
      * Required. The tag template to create.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1.TagTemplate.Builder getTagTemplateBuilder() { bitField0_ |= 0x00000004; @@ -1038,55 +907,43 @@ public com.google.cloud.datacatalog.v1.TagTemplate.Builder getTagTemplateBuilder return getTagTemplateFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The tag template to create.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1.TagTemplateOrBuilder getTagTemplateOrBuilder() { if (tagTemplateBuilder_ != null) { return tagTemplateBuilder_.getMessageOrBuilder(); } else { - return tagTemplate_ == null - ? com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance() - : tagTemplate_; + return tagTemplate_ == null ? + com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance() : tagTemplate_; } } /** - * - * *
      * Required. The tag template to create.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.TagTemplate, - com.google.cloud.datacatalog.v1.TagTemplate.Builder, - com.google.cloud.datacatalog.v1.TagTemplateOrBuilder> + com.google.cloud.datacatalog.v1.TagTemplate, com.google.cloud.datacatalog.v1.TagTemplate.Builder, com.google.cloud.datacatalog.v1.TagTemplateOrBuilder> getTagTemplateFieldBuilder() { if (tagTemplateBuilder_ == null) { - tagTemplateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.TagTemplate, - com.google.cloud.datacatalog.v1.TagTemplate.Builder, - com.google.cloud.datacatalog.v1.TagTemplateOrBuilder>( - getTagTemplate(), getParentForChildren(), isClean()); + tagTemplateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.TagTemplate, com.google.cloud.datacatalog.v1.TagTemplate.Builder, com.google.cloud.datacatalog.v1.TagTemplateOrBuilder>( + getTagTemplate(), + getParentForChildren(), + isClean()); tagTemplate_ = null; } return tagTemplateBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1096,12 +953,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.CreateTagTemplateRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.CreateTagTemplateRequest) private static final com.google.cloud.datacatalog.v1.CreateTagTemplateRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.CreateTagTemplateRequest(); } @@ -1110,27 +967,27 @@ public static com.google.cloud.datacatalog.v1.CreateTagTemplateRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTagTemplateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTagTemplateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1145,4 +1002,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.CreateTagTemplateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequestOrBuilder.java similarity index 58% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequestOrBuilder.java index b1fc5b5bab15..79e8142181be 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface CreateTagTemplateRequestOrBuilder - extends +public interface CreateTagTemplateRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CreateTagTemplateRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The ID of the tag template to create.
    *
@@ -66,13 +39,10 @@ public interface CreateTagTemplateRequestOrBuilder
    * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tagTemplateId. */ java.lang.String getTagTemplateId(); /** - * - * *
    * Required. The ID of the tag template to create.
    *
@@ -82,49 +52,35 @@ public interface CreateTagTemplateRequestOrBuilder
    * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tagTemplateId. */ - com.google.protobuf.ByteString getTagTemplateIdBytes(); + com.google.protobuf.ByteString + getTagTemplateIdBytes(); /** - * - * *
    * Required. The tag template to create.
    * 
* - * - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tagTemplate field is set. */ boolean hasTagTemplate(); /** - * - * *
    * Required. The tag template to create.
    * 
* - * - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The tagTemplate. */ com.google.cloud.datacatalog.v1.TagTemplate getTagTemplate(); /** - * - * *
    * Required. The tag template to create.
    * 
* - * - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datacatalog.v1.TagTemplateOrBuilder getTagTemplateOrBuilder(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequest.java similarity index 65% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequest.java index 91ca6651248a..399152b1f82e 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [CreateTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.CreateTaxonomy].
@@ -28,56 +11,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.CreateTaxonomyRequest}
  */
-public final class CreateTaxonomyRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateTaxonomyRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.CreateTaxonomyRequest)
     CreateTaxonomyRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateTaxonomyRequest.newBuilder() to construct.
   private CreateTaxonomyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateTaxonomyRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateTaxonomyRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.CreateTaxonomyRequest.class,
-            com.google.cloud.datacatalog.v1.CreateTaxonomyRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.CreateTaxonomyRequest.class, com.google.cloud.datacatalog.v1.CreateTaxonomyRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. Resource name of the project that the taxonomy will belong to.
    * 
* - * - * string parent = 1 [(.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,31 +61,29 @@ 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. Resource name of the project that the taxonomy will belong to.
    * 
* - * - * string parent = 1 [(.google.api.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,14 +94,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TAXONOMY_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1.Taxonomy taxonomy_; /** - * - * *
    * The taxonomy to create.
    * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; - * * @return Whether the taxonomy field is set. */ @java.lang.Override @@ -136,25 +106,18 @@ public boolean hasTaxonomy() { return taxonomy_ != null; } /** - * - * *
    * The taxonomy to create.
    * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; - * * @return The taxonomy. */ @java.lang.Override public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomy() { - return taxonomy_ == null - ? com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance() - : taxonomy_; + return taxonomy_ == null ? com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance() : taxonomy_; } /** - * - * *
    * The taxonomy to create.
    * 
@@ -163,13 +126,10 @@ public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomy() { */ @java.lang.Override public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomyOrBuilder() { - return taxonomy_ == null - ? com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance() - : taxonomy_; + return taxonomy_ == null ? com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance() : taxonomy_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +141,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -201,7 +162,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (taxonomy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTaxonomy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTaxonomy()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -211,18 +173,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.datacatalog.v1.CreateTaxonomyRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.CreateTaxonomyRequest other = - (com.google.cloud.datacatalog.v1.CreateTaxonomyRequest) obj; + com.google.cloud.datacatalog.v1.CreateTaxonomyRequest other = (com.google.cloud.datacatalog.v1.CreateTaxonomyRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasTaxonomy() != other.hasTaxonomy()) return false; if (hasTaxonomy()) { - if (!getTaxonomy().equals(other.getTaxonomy())) return false; + if (!getTaxonomy() + .equals(other.getTaxonomy())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -247,104 +210,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.CreateTaxonomyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CreateTaxonomyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateTaxonomyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CreateTaxonomyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateTaxonomyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CreateTaxonomyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.CreateTaxonomyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CreateTaxonomyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.CreateTaxonomyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CreateTaxonomyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.CreateTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateTaxonomyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.CreateTaxonomyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.CreateTaxonomyRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.CreateTaxonomyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [CreateTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.CreateTaxonomy].
@@ -352,32 +309,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.CreateTaxonomyRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.CreateTaxonomyRequest)
       com.google.cloud.datacatalog.v1.CreateTaxonomyRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.CreateTaxonomyRequest.class,
-              com.google.cloud.datacatalog.v1.CreateTaxonomyRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.CreateTaxonomyRequest.class, com.google.cloud.datacatalog.v1.CreateTaxonomyRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.CreateTaxonomyRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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,9 +350,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
@@ -413,11 +371,8 @@ public com.google.cloud.datacatalog.v1.CreateTaxonomyRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.CreateTaxonomyRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.CreateTaxonomyRequest result =
-          new com.google.cloud.datacatalog.v1.CreateTaxonomyRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.CreateTaxonomyRequest result = new com.google.cloud.datacatalog.v1.CreateTaxonomyRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -428,7 +383,9 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CreateTaxonomyRequest
         result.parent_ = parent_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.taxonomy_ = taxonomyBuilder_ == null ? taxonomy_ : taxonomyBuilder_.build();
+        result.taxonomy_ = taxonomyBuilder_ == null
+            ? taxonomy_
+            : taxonomyBuilder_.build();
       }
     }
 
@@ -436,39 +393,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CreateTaxonomyRequest
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.CreateTaxonomyRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.CreateTaxonomyRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.CreateTaxonomyRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -476,8 +432,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.CreateTaxonomyRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.CreateTaxonomyRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.CreateTaxonomyRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -512,25 +467,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getTaxonomyFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            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(
+                  getTaxonomyFieldBuilder().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) {
@@ -540,27 +494,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. Resource name of the project that the taxonomy will belong to.
      * 
* - * - * string parent = 1 [(.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; @@ -569,23 +518,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the project that the taxonomy will belong to.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -593,39 +539,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the project that the taxonomy will belong to.
      * 
* - * - * 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. Resource name of the project that the taxonomy will belong to.
      * 
* - * - * string 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() { @@ -635,23 +570,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Resource name of the project that the taxonomy will belong to.
      * 
* - * - * 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; @@ -661,47 +590,34 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datacatalog.v1.Taxonomy taxonomy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Taxonomy, - com.google.cloud.datacatalog.v1.Taxonomy.Builder, - com.google.cloud.datacatalog.v1.TaxonomyOrBuilder> - taxonomyBuilder_; + com.google.cloud.datacatalog.v1.Taxonomy, com.google.cloud.datacatalog.v1.Taxonomy.Builder, com.google.cloud.datacatalog.v1.TaxonomyOrBuilder> taxonomyBuilder_; /** - * - * *
      * The taxonomy to create.
      * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; - * * @return Whether the taxonomy field is set. */ public boolean hasTaxonomy() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The taxonomy to create.
      * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; - * * @return The taxonomy. */ public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomy() { if (taxonomyBuilder_ == null) { - return taxonomy_ == null - ? com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance() - : taxonomy_; + return taxonomy_ == null ? com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance() : taxonomy_; } else { return taxonomyBuilder_.getMessage(); } } /** - * - * *
      * The taxonomy to create.
      * 
@@ -722,15 +638,14 @@ public Builder setTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy value) { return this; } /** - * - * *
      * The taxonomy to create.
      * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; */ - public Builder setTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy.Builder builderForValue) { + public Builder setTaxonomy( + com.google.cloud.datacatalog.v1.Taxonomy.Builder builderForValue) { if (taxonomyBuilder_ == null) { taxonomy_ = builderForValue.build(); } else { @@ -741,8 +656,6 @@ public Builder setTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy.Builder buil return this; } /** - * - * *
      * The taxonomy to create.
      * 
@@ -751,9 +664,9 @@ public Builder setTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy.Builder buil */ public Builder mergeTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy value) { if (taxonomyBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && taxonomy_ != null - && taxonomy_ != com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + taxonomy_ != null && + taxonomy_ != com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance()) { getTaxonomyBuilder().mergeFrom(value); } else { taxonomy_ = value; @@ -766,8 +679,6 @@ public Builder mergeTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy value) { return this; } /** - * - * *
      * The taxonomy to create.
      * 
@@ -785,8 +696,6 @@ public Builder clearTaxonomy() { return this; } /** - * - * *
      * The taxonomy to create.
      * 
@@ -799,8 +708,6 @@ public com.google.cloud.datacatalog.v1.Taxonomy.Builder getTaxonomyBuilder() { return getTaxonomyFieldBuilder().getBuilder(); } /** - * - * *
      * The taxonomy to create.
      * 
@@ -811,14 +718,11 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomyOrBuilder() if (taxonomyBuilder_ != null) { return taxonomyBuilder_.getMessageOrBuilder(); } else { - return taxonomy_ == null - ? com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance() - : taxonomy_; + return taxonomy_ == null ? + com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance() : taxonomy_; } } /** - * - * *
      * The taxonomy to create.
      * 
@@ -826,24 +730,21 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomyOrBuilder() * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Taxonomy, - com.google.cloud.datacatalog.v1.Taxonomy.Builder, - com.google.cloud.datacatalog.v1.TaxonomyOrBuilder> + com.google.cloud.datacatalog.v1.Taxonomy, com.google.cloud.datacatalog.v1.Taxonomy.Builder, com.google.cloud.datacatalog.v1.TaxonomyOrBuilder> getTaxonomyFieldBuilder() { if (taxonomyBuilder_ == null) { - taxonomyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Taxonomy, - com.google.cloud.datacatalog.v1.Taxonomy.Builder, - com.google.cloud.datacatalog.v1.TaxonomyOrBuilder>( - getTaxonomy(), getParentForChildren(), isClean()); + taxonomyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.Taxonomy, com.google.cloud.datacatalog.v1.Taxonomy.Builder, com.google.cloud.datacatalog.v1.TaxonomyOrBuilder>( + getTaxonomy(), + getParentForChildren(), + isClean()); taxonomy_ = null; } return taxonomyBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -853,12 +754,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.CreateTaxonomyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.CreateTaxonomyRequest) private static final com.google.cloud.datacatalog.v1.CreateTaxonomyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.CreateTaxonomyRequest(); } @@ -867,27 +768,27 @@ public static com.google.cloud.datacatalog.v1.CreateTaxonomyRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTaxonomyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTaxonomyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -902,4 +803,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.CreateTaxonomyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequestOrBuilder.java similarity index 55% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequestOrBuilder.java index f6370896a7f7..d0ab0ff65e86 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequestOrBuilder.java @@ -1,84 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; -public interface CreateTaxonomyRequestOrBuilder - extends +public interface CreateTaxonomyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CreateTaxonomyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the project that the taxonomy will belong to.
    * 
* - * - * string parent = 1 [(.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. Resource name of the project that the taxonomy will belong to.
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * The taxonomy to create.
    * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; - * * @return Whether the taxonomy field is set. */ boolean hasTaxonomy(); /** - * - * *
    * The taxonomy to create.
    * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; - * * @return The taxonomy. */ com.google.cloud.datacatalog.v1.Taxonomy getTaxonomy(); /** - * - * *
    * The taxonomy to create.
    * 
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSource.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSource.java similarity index 63% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSource.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSource.java index 6d10d1fadfe1..c3fc078d59d1 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSource.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSource.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Cross-regional source used to import an existing taxonomy into a different
  * region.
@@ -28,56 +11,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.CrossRegionalSource}
  */
-public final class CrossRegionalSource extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CrossRegionalSource extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.CrossRegionalSource)
     CrossRegionalSourceOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CrossRegionalSource.newBuilder() to construct.
   private CrossRegionalSource(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CrossRegionalSource() {
     taxonomy_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CrossRegionalSource();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-        .internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-        .internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.CrossRegionalSource.class,
-            com.google.cloud.datacatalog.v1.CrossRegionalSource.Builder.class);
+            com.google.cloud.datacatalog.v1.CrossRegionalSource.class, com.google.cloud.datacatalog.v1.CrossRegionalSource.Builder.class);
   }
 
   public static final int TAXONOMY_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object taxonomy_ = "";
   /**
-   *
-   *
    * 
    * Required. The resource name of the source taxonomy to import.
    * 
* - * - * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The taxonomy. */ @java.lang.Override @@ -86,31 +61,29 @@ public java.lang.String getTaxonomy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); taxonomy_ = s; return s; } } /** - * - * *
    * Required. The resource name of the source taxonomy to import.
    * 
* - * - * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for taxonomy. */ @java.lang.Override - public com.google.protobuf.ByteString getTaxonomyBytes() { + public com.google.protobuf.ByteString + getTaxonomyBytes() { java.lang.Object ref = taxonomy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); taxonomy_ = b; return b; } else { @@ -119,7 +92,6 @@ public com.google.protobuf.ByteString getTaxonomyBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,7 +103,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taxonomy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, taxonomy_); } @@ -155,15 +128,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.CrossRegionalSource)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.CrossRegionalSource other = - (com.google.cloud.datacatalog.v1.CrossRegionalSource) obj; + com.google.cloud.datacatalog.v1.CrossRegionalSource other = (com.google.cloud.datacatalog.v1.CrossRegionalSource) obj; - if (!getTaxonomy().equals(other.getTaxonomy())) return false; + if (!getTaxonomy() + .equals(other.getTaxonomy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -183,103 +156,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.CrossRegionalSource parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CrossRegionalSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CrossRegionalSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CrossRegionalSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CrossRegionalSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CrossRegionalSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.CrossRegionalSource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CrossRegionalSource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.CrossRegionalSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CrossRegionalSource parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CrossRegionalSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.CrossRegionalSource parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CrossRegionalSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.CrossRegionalSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.CrossRegionalSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Cross-regional source used to import an existing taxonomy into a different
    * region.
@@ -287,32 +255,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.CrossRegionalSource}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.CrossRegionalSource)
       com.google.cloud.datacatalog.v1.CrossRegionalSourceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.CrossRegionalSource.class,
-              com.google.cloud.datacatalog.v1.CrossRegionalSource.Builder.class);
+              com.google.cloud.datacatalog.v1.CrossRegionalSource.class, com.google.cloud.datacatalog.v1.CrossRegionalSource.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.CrossRegionalSource.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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.datacatalog.v1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_descriptor;
     }
 
     @java.lang.Override
@@ -343,11 +312,8 @@ public com.google.cloud.datacatalog.v1.CrossRegionalSource build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.CrossRegionalSource buildPartial() {
-      com.google.cloud.datacatalog.v1.CrossRegionalSource result =
-          new com.google.cloud.datacatalog.v1.CrossRegionalSource(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.CrossRegionalSource result = new com.google.cloud.datacatalog.v1.CrossRegionalSource(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -363,39 +329,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CrossRegionalSource 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.datacatalog.v1.CrossRegionalSource) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.CrossRegionalSource) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.CrossRegionalSource)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.datacatalog.v1.CrossRegionalSource other) {
-      if (other == com.google.cloud.datacatalog.v1.CrossRegionalSource.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.CrossRegionalSource.getDefaultInstance()) return this;
       if (!other.getTaxonomy().isEmpty()) {
         taxonomy_ = other.taxonomy_;
         bitField0_ |= 0x00000001;
@@ -436,19 +400,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                taxonomy_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              taxonomy_ = 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,27 +420,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object taxonomy_ = "";
     /**
-     *
-     *
      * 
      * Required. The resource name of the source taxonomy to import.
      * 
* - * - * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The taxonomy. */ public java.lang.String getTaxonomy() { java.lang.Object ref = taxonomy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); taxonomy_ = s; return s; @@ -487,23 +444,20 @@ public java.lang.String getTaxonomy() { } } /** - * - * *
      * Required. The resource name of the source taxonomy to import.
      * 
* - * - * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for taxonomy. */ - public com.google.protobuf.ByteString getTaxonomyBytes() { + public com.google.protobuf.ByteString + getTaxonomyBytes() { java.lang.Object ref = taxonomy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); taxonomy_ = b; return b; } else { @@ -511,39 +465,28 @@ public com.google.protobuf.ByteString getTaxonomyBytes() { } } /** - * - * *
      * Required. The resource name of the source taxonomy to import.
      * 
* - * - * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The taxonomy to set. * @return This builder for chaining. */ - public Builder setTaxonomy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTaxonomy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } taxonomy_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the source taxonomy to import.
      * 
* - * - * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearTaxonomy() { @@ -553,32 +496,26 @@ public Builder clearTaxonomy() { return this; } /** - * - * *
      * Required. The resource name of the source taxonomy to import.
      * 
* - * - * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for taxonomy to set. * @return This builder for chaining. */ - public Builder setTaxonomyBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTaxonomyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); taxonomy_ = 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 +525,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.CrossRegionalSource) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.CrossRegionalSource) private static final com.google.cloud.datacatalog.v1.CrossRegionalSource DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.CrossRegionalSource(); } @@ -602,27 +539,27 @@ public static com.google.cloud.datacatalog.v1.CrossRegionalSource getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CrossRegionalSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CrossRegionalSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +574,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.CrossRegionalSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSourceOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSourceOrBuilder.java new file mode 100644 index 000000000000..79710282ddb0 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSourceOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto + +package com.google.cloud.datacatalog.v1; + +public interface CrossRegionalSourceOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CrossRegionalSource) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the source taxonomy to import.
+   * 
+ * + * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The taxonomy. + */ + java.lang.String getTaxonomy(); + /** + *
+   * Required. The resource name of the source taxonomy to import.
+   * 
+ * + * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for taxonomy. + */ + com.google.protobuf.ByteString + getTaxonomyBytes(); +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSource.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSource.java similarity index 71% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSource.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSource.java index f07d1d8fe73b..3ce07465cb99 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSource.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSource.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/data_source.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Physical location of an entry.
  * 
* * Protobuf type {@code google.cloud.datacatalog.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.datacatalog.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() { service_ = 0; resource_ = ""; @@ -45,38 +27,34 @@ 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.datacatalog.v1.DataSourceProto - .internal_static_google_cloud_datacatalog_v1_DataSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.DataSourceProto.internal_static_google_cloud_datacatalog_v1_DataSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.DataSourceProto - .internal_static_google_cloud_datacatalog_v1_DataSource_fieldAccessorTable + return com.google.cloud.datacatalog.v1.DataSourceProto.internal_static_google_cloud_datacatalog_v1_DataSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.DataSource.class, - com.google.cloud.datacatalog.v1.DataSource.Builder.class); + com.google.cloud.datacatalog.v1.DataSource.class, com.google.cloud.datacatalog.v1.DataSource.Builder.class); } /** - * - * *
    * Name of a service that stores the data.
    * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.DataSource.Service} */ - public enum Service implements com.google.protobuf.ProtocolMessageEnum { + public enum Service + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default unknown service.
      * 
@@ -85,8 +63,6 @@ public enum Service implements com.google.protobuf.ProtocolMessageEnum { */ SERVICE_UNSPECIFIED(0), /** - * - * *
      * Google Cloud Storage service.
      * 
@@ -95,8 +71,6 @@ public enum Service implements com.google.protobuf.ProtocolMessageEnum { */ CLOUD_STORAGE(1), /** - * - * *
      * BigQuery service.
      * 
@@ -108,8 +82,6 @@ public enum Service implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default unknown service.
      * 
@@ -118,8 +90,6 @@ public enum Service implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SERVICE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Google Cloud Storage service.
      * 
@@ -128,8 +98,6 @@ public enum Service implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CLOUD_STORAGE_VALUE = 1; /** - * - * *
      * BigQuery service.
      * 
@@ -138,6 +106,7 @@ public enum Service implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIGQUERY_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -162,49 +131,49 @@ public static Service valueOf(int value) { */ public static Service forNumber(int value) { switch (value) { - case 0: - return SERVICE_UNSPECIFIED; - case 1: - return CLOUD_STORAGE; - case 2: - return BIGQUERY; - default: - return null; + case 0: return SERVICE_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< + 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.datacatalog.v1.DataSource.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; @@ -222,18 +191,14 @@ private Service(int value) { } private int propertiesCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object properties_; - public enum PropertiesCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STORAGE_PROPERTIES(4), PROPERTIES_NOT_SET(0); private final int value; - private PropertiesCase(int value) { this.value = value; } @@ -249,68 +214,52 @@ public static PropertiesCase valueOf(int value) { public static PropertiesCase forNumber(int value) { switch (value) { - case 4: - return STORAGE_PROPERTIES; - case 0: - return PROPERTIES_NOT_SET; - default: - return null; + case 4: return STORAGE_PROPERTIES; + case 0: return PROPERTIES_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public PropertiesCase getPropertiesCase() { - return PropertiesCase.forNumber(propertiesCase_); + public PropertiesCase + getPropertiesCase() { + return PropertiesCase.forNumber( + propertiesCase_); } public static final int SERVICE_FIELD_NUMBER = 1; private int service_ = 0; /** - * - * *
    * Service that physically stores the data.
    * 
* * .google.cloud.datacatalog.v1.DataSource.Service service = 1; - * * @return The enum numeric value on the wire for service. */ - @java.lang.Override - public int getServiceValue() { + @java.lang.Override public int getServiceValue() { return service_; } /** - * - * *
    * Service that physically stores the data.
    * 
* * .google.cloud.datacatalog.v1.DataSource.Service service = 1; - * * @return The service. */ - @java.lang.Override - public com.google.cloud.datacatalog.v1.DataSource.Service getService() { - com.google.cloud.datacatalog.v1.DataSource.Service result = - com.google.cloud.datacatalog.v1.DataSource.Service.forNumber(service_); - return result == null - ? com.google.cloud.datacatalog.v1.DataSource.Service.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.datacatalog.v1.DataSource.Service getService() { + com.google.cloud.datacatalog.v1.DataSource.Service result = com.google.cloud.datacatalog.v1.DataSource.Service.forNumber(service_); + return result == null ? com.google.cloud.datacatalog.v1.DataSource.Service.UNRECOGNIZED : result; } public static final int RESOURCE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object resource_ = ""; /** - * - * *
    * Full name of a resource as defined by the service. For example:
    *
@@ -318,7 +267,6 @@ public com.google.cloud.datacatalog.v1.DataSource.Service getService() {
    * 
* * string resource = 2; - * * @return The resource. */ @java.lang.Override @@ -327,15 +275,14 @@ public java.lang.String getResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; } } /** - * - * *
    * Full name of a resource as defined by the service. For example:
    *
@@ -343,15 +290,16 @@ public java.lang.String getResource() {
    * 
* * string resource = 2; - * * @return The bytes for resource. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceBytes() { + public com.google.protobuf.ByteString + getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resource_ = b; return b; } else { @@ -360,18 +308,14 @@ public com.google.protobuf.ByteString getResourceBytes() { } public static final int SOURCE_ENTRY_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object sourceEntry_ = ""; /** - * - * *
    * Output only. Data Catalog entry name, if applicable.
    * 
* * string source_entry = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sourceEntry. */ @java.lang.Override @@ -380,29 +324,29 @@ public java.lang.String getSourceEntry() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceEntry_ = s; return s; } } /** - * - * *
    * Output only. Data Catalog entry name, if applicable.
    * 
* * string source_entry = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for sourceEntry. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceEntryBytes() { + public com.google.protobuf.ByteString + getSourceEntryBytes() { java.lang.Object ref = sourceEntry_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceEntry_ = b; return b; } else { @@ -412,14 +356,11 @@ public com.google.protobuf.ByteString getSourceEntryBytes() { public static final int STORAGE_PROPERTIES_FIELD_NUMBER = 4; /** - * - * *
    * Detailed properties of the underlying storage.
    * 
* * .google.cloud.datacatalog.v1.StorageProperties storage_properties = 4; - * * @return Whether the storageProperties field is set. */ @java.lang.Override @@ -427,26 +368,21 @@ public boolean hasStorageProperties() { return propertiesCase_ == 4; } /** - * - * *
    * Detailed properties of the underlying storage.
    * 
* * .google.cloud.datacatalog.v1.StorageProperties storage_properties = 4; - * * @return The storageProperties. */ @java.lang.Override public com.google.cloud.datacatalog.v1.StorageProperties getStorageProperties() { if (propertiesCase_ == 4) { - return (com.google.cloud.datacatalog.v1.StorageProperties) properties_; + return (com.google.cloud.datacatalog.v1.StorageProperties) properties_; } return com.google.cloud.datacatalog.v1.StorageProperties.getDefaultInstance(); } /** - * - * *
    * Detailed properties of the underlying storage.
    * 
@@ -454,16 +390,14 @@ public com.google.cloud.datacatalog.v1.StorageProperties getStorageProperties() * .google.cloud.datacatalog.v1.StorageProperties storage_properties = 4; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.StoragePropertiesOrBuilder - getStoragePropertiesOrBuilder() { + public com.google.cloud.datacatalog.v1.StoragePropertiesOrBuilder getStoragePropertiesOrBuilder() { if (propertiesCase_ == 4) { - return (com.google.cloud.datacatalog.v1.StorageProperties) properties_; + return (com.google.cloud.datacatalog.v1.StorageProperties) properties_; } return com.google.cloud.datacatalog.v1.StorageProperties.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -475,9 +409,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (service_ - != com.google.cloud.datacatalog.v1.DataSource.Service.SERVICE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (service_ != com.google.cloud.datacatalog.v1.DataSource.Service.SERVICE_UNSPECIFIED.getNumber()) { output.writeEnum(1, service_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { @@ -498,9 +432,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (service_ - != com.google.cloud.datacatalog.v1.DataSource.Service.SERVICE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, service_); + if (service_ != com.google.cloud.datacatalog.v1.DataSource.Service.SERVICE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, service_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resource_); @@ -509,9 +443,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sourceEntry_); } if (propertiesCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.cloud.datacatalog.v1.StorageProperties) properties_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.datacatalog.v1.StorageProperties) properties_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -521,21 +454,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.datacatalog.v1.DataSource)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.DataSource other = - (com.google.cloud.datacatalog.v1.DataSource) obj; + com.google.cloud.datacatalog.v1.DataSource other = (com.google.cloud.datacatalog.v1.DataSource) obj; if (service_ != other.service_) return false; - if (!getResource().equals(other.getResource())) return false; - if (!getSourceEntry().equals(other.getSourceEntry())) return false; + if (!getResource() + .equals(other.getResource())) return false; + if (!getSourceEntry() + .equals(other.getSourceEntry())) return false; if (!getPropertiesCase().equals(other.getPropertiesCase())) return false; switch (propertiesCase_) { case 4: - if (!getStorageProperties().equals(other.getStorageProperties())) return false; + if (!getStorageProperties() + .equals(other.getStorageProperties())) return false; break; case 0: default: @@ -570,136 +505,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.DataSource parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.DataSource parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.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.datacatalog.v1.DataSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.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.datacatalog.v1.DataSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.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.datacatalog.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.datacatalog.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.datacatalog.v1.DataSource parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DataSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.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.datacatalog.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.datacatalog.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.datacatalog.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; } /** - * - * *
    * Physical location of an entry.
    * 
* * Protobuf type {@code google.cloud.datacatalog.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.datacatalog.v1.DataSource) com.google.cloud.datacatalog.v1.DataSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.DataSourceProto - .internal_static_google_cloud_datacatalog_v1_DataSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.DataSourceProto.internal_static_google_cloud_datacatalog_v1_DataSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.DataSourceProto - .internal_static_google_cloud_datacatalog_v1_DataSource_fieldAccessorTable + return com.google.cloud.datacatalog.v1.DataSourceProto.internal_static_google_cloud_datacatalog_v1_DataSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.DataSource.class, - com.google.cloud.datacatalog.v1.DataSource.Builder.class); + com.google.cloud.datacatalog.v1.DataSource.class, com.google.cloud.datacatalog.v1.DataSource.Builder.class); } // Construct using com.google.cloud.datacatalog.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(); @@ -716,9 +647,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.DataSourceProto - .internal_static_google_cloud_datacatalog_v1_DataSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.DataSourceProto.internal_static_google_cloud_datacatalog_v1_DataSource_descriptor; } @java.lang.Override @@ -737,11 +668,8 @@ public com.google.cloud.datacatalog.v1.DataSource build() { @java.lang.Override public com.google.cloud.datacatalog.v1.DataSource buildPartial() { - com.google.cloud.datacatalog.v1.DataSource result = - new com.google.cloud.datacatalog.v1.DataSource(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1.DataSource result = new com.google.cloud.datacatalog.v1.DataSource(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -763,7 +691,8 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DataSource result) { private void buildPartialOneofs(com.google.cloud.datacatalog.v1.DataSource result) { result.propertiesCase_ = propertiesCase_; result.properties_ = this.properties_; - if (propertiesCase_ == 4 && storagePropertiesBuilder_ != null) { + if (propertiesCase_ == 4 && + storagePropertiesBuilder_ != null) { result.properties_ = storagePropertiesBuilder_.build(); } } @@ -772,39 +701,38 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.DataSource 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.datacatalog.v1.DataSource) { - return mergeFrom((com.google.cloud.datacatalog.v1.DataSource) other); + return mergeFrom((com.google.cloud.datacatalog.v1.DataSource)other); } else { super.mergeFrom(other); return this; @@ -827,15 +755,13 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.DataSource other) { onChanged(); } switch (other.getPropertiesCase()) { - case STORAGE_PROPERTIES: - { - mergeStorageProperties(other.getStorageProperties()); - break; - } - case PROPERTIES_NOT_SET: - { - break; - } + case STORAGE_PROPERTIES: { + mergeStorageProperties(other.getStorageProperties()); + break; + } + case PROPERTIES_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -863,38 +789,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - service_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - resource_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - sourceEntry_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage( - getStoragePropertiesFieldBuilder().getBuilder(), extensionRegistry); - propertiesCase_ = 4; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + service_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + resource_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + sourceEntry_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getStoragePropertiesFieldBuilder().getBuilder(), + extensionRegistry); + propertiesCase_ = 4; + 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) { @@ -904,12 +826,12 @@ public Builder mergeFrom( } // finally return this; } - private int propertiesCase_ = 0; private java.lang.Object properties_; - - public PropertiesCase getPropertiesCase() { - return PropertiesCase.forNumber(propertiesCase_); + public PropertiesCase + getPropertiesCase() { + return PropertiesCase.forNumber( + propertiesCase_); } public Builder clearProperties() { @@ -923,29 +845,22 @@ public Builder clearProperties() { private int service_ = 0; /** - * - * *
      * Service that physically stores the data.
      * 
* * .google.cloud.datacatalog.v1.DataSource.Service service = 1; - * * @return The enum numeric value on the wire for service. */ - @java.lang.Override - public int getServiceValue() { + @java.lang.Override public int getServiceValue() { return service_; } /** - * - * *
      * Service that physically stores the data.
      * 
* * .google.cloud.datacatalog.v1.DataSource.Service service = 1; - * * @param value The enum numeric value on the wire for service to set. * @return This builder for chaining. */ @@ -956,33 +871,24 @@ public Builder setServiceValue(int value) { return this; } /** - * - * *
      * Service that physically stores the data.
      * 
* * .google.cloud.datacatalog.v1.DataSource.Service service = 1; - * * @return The service. */ @java.lang.Override public com.google.cloud.datacatalog.v1.DataSource.Service getService() { - com.google.cloud.datacatalog.v1.DataSource.Service result = - com.google.cloud.datacatalog.v1.DataSource.Service.forNumber(service_); - return result == null - ? com.google.cloud.datacatalog.v1.DataSource.Service.UNRECOGNIZED - : result; + com.google.cloud.datacatalog.v1.DataSource.Service result = com.google.cloud.datacatalog.v1.DataSource.Service.forNumber(service_); + return result == null ? com.google.cloud.datacatalog.v1.DataSource.Service.UNRECOGNIZED : result; } /** - * - * *
      * Service that physically stores the data.
      * 
* * .google.cloud.datacatalog.v1.DataSource.Service service = 1; - * * @param value The service to set. * @return This builder for chaining. */ @@ -996,14 +902,11 @@ public Builder setService(com.google.cloud.datacatalog.v1.DataSource.Service val return this; } /** - * - * *
      * Service that physically stores the data.
      * 
* * .google.cloud.datacatalog.v1.DataSource.Service service = 1; - * * @return This builder for chaining. */ public Builder clearService() { @@ -1015,8 +918,6 @@ public Builder clearService() { private java.lang.Object resource_ = ""; /** - * - * *
      * Full name of a resource as defined by the service. For example:
      *
@@ -1024,13 +925,13 @@ public Builder clearService() {
      * 
* * string resource = 2; - * * @return The resource. */ public java.lang.String getResource() { java.lang.Object ref = resource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; @@ -1039,8 +940,6 @@ public java.lang.String getResource() { } } /** - * - * *
      * Full name of a resource as defined by the service. For example:
      *
@@ -1048,14 +947,15 @@ public java.lang.String getResource() {
      * 
* * string resource = 2; - * * @return The bytes for resource. */ - public com.google.protobuf.ByteString getResourceBytes() { + public com.google.protobuf.ByteString + getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resource_ = b; return b; } else { @@ -1063,8 +963,6 @@ public com.google.protobuf.ByteString getResourceBytes() { } } /** - * - * *
      * Full name of a resource as defined by the service. For example:
      *
@@ -1072,22 +970,18 @@ public com.google.protobuf.ByteString getResourceBytes() {
      * 
* * string resource = 2; - * * @param value The resource to set. * @return This builder for chaining. */ - public Builder setResource(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } resource_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Full name of a resource as defined by the service. For example:
      *
@@ -1095,7 +989,6 @@ public Builder setResource(java.lang.String value) {
      * 
* * string resource = 2; - * * @return This builder for chaining. */ public Builder clearResource() { @@ -1105,8 +998,6 @@ public Builder clearResource() { return this; } /** - * - * *
      * Full name of a resource as defined by the service. For example:
      *
@@ -1114,14 +1005,12 @@ public Builder clearResource() {
      * 
* * string resource = 2; - * * @param value The bytes for resource to set. * @return This builder for chaining. */ - public Builder setResourceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resource_ = value; bitField0_ |= 0x00000002; @@ -1131,20 +1020,18 @@ public Builder setResourceBytes(com.google.protobuf.ByteString value) { private java.lang.Object sourceEntry_ = ""; /** - * - * *
      * Output only. Data Catalog entry name, if applicable.
      * 
* * string source_entry = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sourceEntry. */ public java.lang.String getSourceEntry() { java.lang.Object ref = sourceEntry_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceEntry_ = s; return s; @@ -1153,21 +1040,20 @@ public java.lang.String getSourceEntry() { } } /** - * - * *
      * Output only. Data Catalog entry name, if applicable.
      * 
* * string source_entry = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for sourceEntry. */ - public com.google.protobuf.ByteString getSourceEntryBytes() { + public com.google.protobuf.ByteString + getSourceEntryBytes() { java.lang.Object ref = sourceEntry_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceEntry_ = b; return b; } else { @@ -1175,35 +1061,28 @@ public com.google.protobuf.ByteString getSourceEntryBytes() { } } /** - * - * *
      * Output only. Data Catalog entry name, if applicable.
      * 
* * string source_entry = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The sourceEntry to set. * @return This builder for chaining. */ - public Builder setSourceEntry(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceEntry( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceEntry_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Output only. Data Catalog entry name, if applicable.
      * 
* * string source_entry = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSourceEntry() { @@ -1213,21 +1092,17 @@ public Builder clearSourceEntry() { return this; } /** - * - * *
      * Output only. Data Catalog entry name, if applicable.
      * 
* * string source_entry = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for sourceEntry to set. * @return This builder for chaining. */ - public Builder setSourceEntryBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceEntryBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceEntry_ = value; bitField0_ |= 0x00000004; @@ -1236,19 +1111,13 @@ public Builder setSourceEntryBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.StorageProperties, - com.google.cloud.datacatalog.v1.StorageProperties.Builder, - com.google.cloud.datacatalog.v1.StoragePropertiesOrBuilder> - storagePropertiesBuilder_; + com.google.cloud.datacatalog.v1.StorageProperties, com.google.cloud.datacatalog.v1.StorageProperties.Builder, com.google.cloud.datacatalog.v1.StoragePropertiesOrBuilder> storagePropertiesBuilder_; /** - * - * *
      * Detailed properties of the underlying storage.
      * 
* * .google.cloud.datacatalog.v1.StorageProperties storage_properties = 4; - * * @return Whether the storageProperties field is set. */ @java.lang.Override @@ -1256,14 +1125,11 @@ public boolean hasStorageProperties() { return propertiesCase_ == 4; } /** - * - * *
      * Detailed properties of the underlying storage.
      * 
* * .google.cloud.datacatalog.v1.StorageProperties storage_properties = 4; - * * @return The storageProperties. */ @java.lang.Override @@ -1281,8 +1147,6 @@ public com.google.cloud.datacatalog.v1.StorageProperties getStorageProperties() } } /** - * - * *
      * Detailed properties of the underlying storage.
      * 
@@ -1303,8 +1167,6 @@ public Builder setStorageProperties(com.google.cloud.datacatalog.v1.StoragePrope return this; } /** - * - * *
      * Detailed properties of the underlying storage.
      * 
@@ -1323,8 +1185,6 @@ public Builder setStorageProperties( return this; } /** - * - * *
      * Detailed properties of the underlying storage.
      * 
@@ -1333,14 +1193,10 @@ public Builder setStorageProperties( */ public Builder mergeStorageProperties(com.google.cloud.datacatalog.v1.StorageProperties value) { if (storagePropertiesBuilder_ == null) { - if (propertiesCase_ == 4 - && properties_ - != com.google.cloud.datacatalog.v1.StorageProperties.getDefaultInstance()) { - properties_ = - com.google.cloud.datacatalog.v1.StorageProperties.newBuilder( - (com.google.cloud.datacatalog.v1.StorageProperties) properties_) - .mergeFrom(value) - .buildPartial(); + if (propertiesCase_ == 4 && + properties_ != com.google.cloud.datacatalog.v1.StorageProperties.getDefaultInstance()) { + properties_ = com.google.cloud.datacatalog.v1.StorageProperties.newBuilder((com.google.cloud.datacatalog.v1.StorageProperties) properties_) + .mergeFrom(value).buildPartial(); } else { properties_ = value; } @@ -1356,8 +1212,6 @@ public Builder mergeStorageProperties(com.google.cloud.datacatalog.v1.StoragePro return this; } /** - * - * *
      * Detailed properties of the underlying storage.
      * 
@@ -1381,8 +1235,6 @@ public Builder clearStorageProperties() { return this; } /** - * - * *
      * Detailed properties of the underlying storage.
      * 
@@ -1393,8 +1245,6 @@ public com.google.cloud.datacatalog.v1.StorageProperties.Builder getStoragePrope return getStoragePropertiesFieldBuilder().getBuilder(); } /** - * - * *
      * Detailed properties of the underlying storage.
      * 
@@ -1402,8 +1252,7 @@ public com.google.cloud.datacatalog.v1.StorageProperties.Builder getStoragePrope * .google.cloud.datacatalog.v1.StorageProperties storage_properties = 4; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.StoragePropertiesOrBuilder - getStoragePropertiesOrBuilder() { + public com.google.cloud.datacatalog.v1.StoragePropertiesOrBuilder getStoragePropertiesOrBuilder() { if ((propertiesCase_ == 4) && (storagePropertiesBuilder_ != null)) { return storagePropertiesBuilder_.getMessageOrBuilder(); } else { @@ -1414,8 +1263,6 @@ public com.google.cloud.datacatalog.v1.StorageProperties.Builder getStoragePrope } } /** - * - * *
      * Detailed properties of the underlying storage.
      * 
@@ -1423,19 +1270,14 @@ public com.google.cloud.datacatalog.v1.StorageProperties.Builder getStoragePrope * .google.cloud.datacatalog.v1.StorageProperties storage_properties = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.StorageProperties, - com.google.cloud.datacatalog.v1.StorageProperties.Builder, - com.google.cloud.datacatalog.v1.StoragePropertiesOrBuilder> + com.google.cloud.datacatalog.v1.StorageProperties, com.google.cloud.datacatalog.v1.StorageProperties.Builder, com.google.cloud.datacatalog.v1.StoragePropertiesOrBuilder> getStoragePropertiesFieldBuilder() { if (storagePropertiesBuilder_ == null) { if (!(propertiesCase_ == 4)) { properties_ = com.google.cloud.datacatalog.v1.StorageProperties.getDefaultInstance(); } - storagePropertiesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.StorageProperties, - com.google.cloud.datacatalog.v1.StorageProperties.Builder, - com.google.cloud.datacatalog.v1.StoragePropertiesOrBuilder>( + storagePropertiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.StorageProperties, com.google.cloud.datacatalog.v1.StorageProperties.Builder, com.google.cloud.datacatalog.v1.StoragePropertiesOrBuilder>( (com.google.cloud.datacatalog.v1.StorageProperties) properties_, getParentForChildren(), isClean()); @@ -1445,9 +1287,9 @@ public com.google.cloud.datacatalog.v1.StorageProperties.Builder getStoragePrope onChanged(); return storagePropertiesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1457,12 +1299,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.DataSource) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DataSource) private static final com.google.cloud.datacatalog.v1.DataSource DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DataSource(); } @@ -1471,27 +1313,27 @@ public static com.google.cloud.datacatalog.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; @@ -1506,4 +1348,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.DataSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpec.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpec.java similarity index 63% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpec.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpec.java index e8e43c0cfb44..d3a40a71ff1d 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpec.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpec.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Specification that applies to a data source connection. Valid only for
  * entries with the `DATA_SOURCE_CONNECTION` type.
@@ -30,50 +13,46 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.DataSourceConnectionSpec}
  */
-public final class DataSourceConnectionSpec extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DataSourceConnectionSpec extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.DataSourceConnectionSpec)
     DataSourceConnectionSpecOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DataSourceConnectionSpec.newBuilder() to construct.
   private DataSourceConnectionSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private DataSourceConnectionSpec() {}
+  private DataSourceConnectionSpec() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DataSourceConnectionSpec();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.class,
-            com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder.class);
+            com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.class, com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder.class);
   }
 
   public static final int BIGQUERY_CONNECTION_SPEC_FIELD_NUMBER = 1;
   private com.google.cloud.datacatalog.v1.BigQueryConnectionSpec bigqueryConnectionSpec_;
   /**
-   *
-   *
    * 
    * Output only. Fields specific to BigQuery connections.
    * 
* * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; - * * @return Whether the bigqueryConnectionSpec field is set. */ @java.lang.Override @@ -81,25 +60,18 @@ public boolean hasBigqueryConnectionSpec() { return bigqueryConnectionSpec_ != null; } /** - * - * *
    * Output only. Fields specific to BigQuery connections.
    * 
* * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; - * * @return The bigqueryConnectionSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec getBigqueryConnectionSpec() { - return bigqueryConnectionSpec_ == null - ? com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.getDefaultInstance() - : bigqueryConnectionSpec_; + return bigqueryConnectionSpec_ == null ? com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.getDefaultInstance() : bigqueryConnectionSpec_; } /** - * - * *
    * Output only. Fields specific to BigQuery connections.
    * 
@@ -107,15 +79,11 @@ public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec getBigqueryConnect * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder - getBigqueryConnectionSpecOrBuilder() { - return bigqueryConnectionSpec_ == null - ? com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.getDefaultInstance() - : bigqueryConnectionSpec_; + public com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder getBigqueryConnectionSpecOrBuilder() { + return bigqueryConnectionSpec_ == null ? com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.getDefaultInstance() : bigqueryConnectionSpec_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -127,7 +95,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (bigqueryConnectionSpec_ != null) { output.writeMessage(1, getBigqueryConnectionSpec()); } @@ -141,8 +110,8 @@ public int getSerializedSize() { size = 0; if (bigqueryConnectionSpec_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBigqueryConnectionSpec()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getBigqueryConnectionSpec()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -152,17 +121,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.datacatalog.v1.DataSourceConnectionSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.DataSourceConnectionSpec other = - (com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) obj; + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec other = (com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) obj; if (hasBigqueryConnectionSpec() != other.hasBigqueryConnectionSpec()) return false; if (hasBigqueryConnectionSpec()) { - if (!getBigqueryConnectionSpec().equals(other.getBigqueryConnectionSpec())) return false; + if (!getBigqueryConnectionSpec() + .equals(other.getBigqueryConnectionSpec())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -185,104 +154,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.DataSourceConnectionSpec prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.DataSourceConnectionSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specification that applies to a data source connection. Valid only for
    * entries with the `DATA_SOURCE_CONNECTION` type.
@@ -292,32 +255,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.DataSourceConnectionSpec}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.DataSourceConnectionSpec)
       com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.class,
-              com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder.class);
+              com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.class, com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -331,9 +295,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_descriptor;
     }
 
     @java.lang.Override
@@ -352,11 +316,8 @@ public com.google.cloud.datacatalog.v1.DataSourceConnectionSpec build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.DataSourceConnectionSpec buildPartial() {
-      com.google.cloud.datacatalog.v1.DataSourceConnectionSpec result =
-          new com.google.cloud.datacatalog.v1.DataSourceConnectionSpec(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.DataSourceConnectionSpec result = new com.google.cloud.datacatalog.v1.DataSourceConnectionSpec(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -364,10 +325,9 @@ public com.google.cloud.datacatalog.v1.DataSourceConnectionSpec buildPartial() {
     private void buildPartial0(com.google.cloud.datacatalog.v1.DataSourceConnectionSpec result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.bigqueryConnectionSpec_ =
-            bigqueryConnectionSpecBuilder_ == null
-                ? bigqueryConnectionSpec_
-                : bigqueryConnectionSpecBuilder_.build();
+        result.bigqueryConnectionSpec_ = bigqueryConnectionSpecBuilder_ == null
+            ? bigqueryConnectionSpec_
+            : bigqueryConnectionSpecBuilder_.build();
       }
     }
 
@@ -375,39 +335,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DataSourceConnectionS
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.DataSourceConnectionSpec)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -415,8 +374,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.DataSourceConnectionSpec other) {
-      if (other == com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.getDefaultInstance()) return this;
       if (other.hasBigqueryConnectionSpec()) {
         mergeBigqueryConnectionSpec(other.getBigqueryConnectionSpec());
       }
@@ -446,20 +404,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(
-                    getBigqueryConnectionSpecFieldBuilder().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(
+                  getBigqueryConnectionSpecFieldBuilder().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) {
@@ -469,63 +426,45 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.datacatalog.v1.BigQueryConnectionSpec bigqueryConnectionSpec_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.BigQueryConnectionSpec,
-            com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder,
-            com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder>
-        bigqueryConnectionSpecBuilder_;
+        com.google.cloud.datacatalog.v1.BigQueryConnectionSpec, com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder, com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder> bigqueryConnectionSpecBuilder_;
     /**
-     *
-     *
      * 
      * Output only. Fields specific to BigQuery connections.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; - * - * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; * @return Whether the bigqueryConnectionSpec field is set. */ public boolean hasBigqueryConnectionSpec() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Output only. Fields specific to BigQuery connections.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; - * - * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; * @return The bigqueryConnectionSpec. */ public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec getBigqueryConnectionSpec() { if (bigqueryConnectionSpecBuilder_ == null) { - return bigqueryConnectionSpec_ == null - ? com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.getDefaultInstance() - : bigqueryConnectionSpec_; + return bigqueryConnectionSpec_ == null ? com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.getDefaultInstance() : bigqueryConnectionSpec_; } else { return bigqueryConnectionSpecBuilder_.getMessage(); } } /** - * - * *
      * Output only. Fields specific to BigQuery connections.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; - * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; */ - public Builder setBigqueryConnectionSpec( - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec value) { + public Builder setBigqueryConnectionSpec(com.google.cloud.datacatalog.v1.BigQueryConnectionSpec value) { if (bigqueryConnectionSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -539,14 +478,11 @@ public Builder setBigqueryConnectionSpec( return this; } /** - * - * *
      * Output only. Fields specific to BigQuery connections.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; - * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; */ public Builder setBigqueryConnectionSpec( com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder builderForValue) { @@ -560,22 +496,17 @@ public Builder setBigqueryConnectionSpec( return this; } /** - * - * *
      * Output only. Fields specific to BigQuery connections.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; - * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; */ - public Builder mergeBigqueryConnectionSpec( - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec value) { + public Builder mergeBigqueryConnectionSpec(com.google.cloud.datacatalog.v1.BigQueryConnectionSpec value) { if (bigqueryConnectionSpecBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && bigqueryConnectionSpec_ != null - && bigqueryConnectionSpec_ - != com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + bigqueryConnectionSpec_ != null && + bigqueryConnectionSpec_ != com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.getDefaultInstance()) { getBigqueryConnectionSpecBuilder().mergeFrom(value); } else { bigqueryConnectionSpec_ = value; @@ -588,14 +519,11 @@ public Builder mergeBigqueryConnectionSpec( return this; } /** - * - * *
      * Output only. Fields specific to BigQuery connections.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; - * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; */ public Builder clearBigqueryConnectionSpec() { bitField0_ = (bitField0_ & ~0x00000001); @@ -608,70 +536,55 @@ public Builder clearBigqueryConnectionSpec() { return this; } /** - * - * *
      * Output only. Fields specific to BigQuery connections.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; - * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; */ - public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder - getBigqueryConnectionSpecBuilder() { + public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder getBigqueryConnectionSpecBuilder() { bitField0_ |= 0x00000001; onChanged(); return getBigqueryConnectionSpecFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Fields specific to BigQuery connections.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; - * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; */ - public com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder - getBigqueryConnectionSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder getBigqueryConnectionSpecOrBuilder() { if (bigqueryConnectionSpecBuilder_ != null) { return bigqueryConnectionSpecBuilder_.getMessageOrBuilder(); } else { - return bigqueryConnectionSpec_ == null - ? com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.getDefaultInstance() - : bigqueryConnectionSpec_; + return bigqueryConnectionSpec_ == null ? + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.getDefaultInstance() : bigqueryConnectionSpec_; } } /** - * - * *
      * Output only. Fields specific to BigQuery connections.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; - * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec, - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder, - com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder> + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec, com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder, com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder> getBigqueryConnectionSpecFieldBuilder() { if (bigqueryConnectionSpecBuilder_ == null) { - bigqueryConnectionSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec, - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder, - com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder>( - getBigqueryConnectionSpec(), getParentForChildren(), isClean()); + bigqueryConnectionSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec, com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder, com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder>( + getBigqueryConnectionSpec(), + getParentForChildren(), + isClean()); bigqueryConnectionSpec_ = null; } return bigqueryConnectionSpecBuilder_; } - @java.lang.Override - 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 +594,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.DataSourceConnectionSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DataSourceConnectionSpec) private static final com.google.cloud.datacatalog.v1.DataSourceConnectionSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DataSourceConnectionSpec(); } @@ -695,27 +608,27 @@ public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataSourceConnectionSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataSourceConnectionSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,4 +643,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.DataSourceConnectionSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpecOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpecOrBuilder.java similarity index 61% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpecOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpecOrBuilder.java index 3dd6040e4de3..7bdce6bdbaf7 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpecOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpecOrBuilder.java @@ -1,61 +1,36 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface DataSourceConnectionSpecOrBuilder - extends +public interface DataSourceConnectionSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DataSourceConnectionSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Fields specific to BigQuery connections.
    * 
* * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; - * * @return Whether the bigqueryConnectionSpec field is set. */ boolean hasBigqueryConnectionSpec(); /** - * - * *
    * Output only. Fields specific to BigQuery connections.
    * 
* * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; - * * @return The bigqueryConnectionSpec. */ com.google.cloud.datacatalog.v1.BigQueryConnectionSpec getBigqueryConnectionSpec(); /** - * - * *
    * Output only. Fields specific to BigQuery connections.
    * 
* * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; */ - com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder - getBigqueryConnectionSpecOrBuilder(); + com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder getBigqueryConnectionSpecOrBuilder(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceOrBuilder.java similarity index 76% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceOrBuilder.java index e88579a03dae..ceb8a706a156 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/data_source.proto package com.google.cloud.datacatalog.v1; -public interface DataSourceOrBuilder - extends +public interface DataSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DataSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Service that physically stores the data.
    * 
* * .google.cloud.datacatalog.v1.DataSource.Service service = 1; - * * @return The enum numeric value on the wire for service. */ int getServiceValue(); /** - * - * *
    * Service that physically stores the data.
    * 
* * .google.cloud.datacatalog.v1.DataSource.Service service = 1; - * * @return The service. */ com.google.cloud.datacatalog.v1.DataSource.Service getService(); /** - * - * *
    * Full name of a resource as defined by the service. For example:
    *
@@ -58,13 +34,10 @@ public interface DataSourceOrBuilder
    * 
* * string resource = 2; - * * @return The resource. */ java.lang.String getResource(); /** - * - * *
    * Full name of a resource as defined by the service. For example:
    *
@@ -72,63 +45,50 @@ public interface DataSourceOrBuilder
    * 
* * string resource = 2; - * * @return The bytes for resource. */ - com.google.protobuf.ByteString getResourceBytes(); + com.google.protobuf.ByteString + getResourceBytes(); /** - * - * *
    * Output only. Data Catalog entry name, if applicable.
    * 
* * string source_entry = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sourceEntry. */ java.lang.String getSourceEntry(); /** - * - * *
    * Output only. Data Catalog entry name, if applicable.
    * 
* * string source_entry = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for sourceEntry. */ - com.google.protobuf.ByteString getSourceEntryBytes(); + com.google.protobuf.ByteString + getSourceEntryBytes(); /** - * - * *
    * Detailed properties of the underlying storage.
    * 
* * .google.cloud.datacatalog.v1.StorageProperties storage_properties = 4; - * * @return Whether the storageProperties field is set. */ boolean hasStorageProperties(); /** - * - * *
    * Detailed properties of the underlying storage.
    * 
* * .google.cloud.datacatalog.v1.StorageProperties storage_properties = 4; - * * @return The storageProperties. */ com.google.cloud.datacatalog.v1.StorageProperties getStorageProperties(); /** - * - * *
    * Detailed properties of the underlying storage.
    * 
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceProto.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceProto.java new file mode 100644 index 000000000000..adbbb7335bfe --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceProto.java @@ -0,0 +1,81 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/data_source.proto + +package com.google.cloud.datacatalog.v1; + +public final class DataSourceProto { + private DataSourceProto() {} + 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_datacatalog_v1_DataSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DataSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_StorageProperties_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_StorageProperties_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/datacatalog/v1/data_sourc" + + "e.proto\022\033google.cloud.datacatalog.v1\032\037go" + + "ogle/api/field_behavior.proto\"\235\002\n\nDataSo" + + "urce\022@\n\007service\030\001 \001(\0162/.google.cloud.dat" + + "acatalog.v1.DataSource.Service\022\020\n\010resour" + + "ce\030\002 \001(\t\022\032\n\014source_entry\030\003 \001(\tB\004\342A\001\003\022L\n\022" + + "storage_properties\030\004 \001(\0132..google.cloud." + + "datacatalog.v1.StoragePropertiesH\000\"C\n\007Se" + + "rvice\022\027\n\023SERVICE_UNSPECIFIED\020\000\022\021\n\rCLOUD_" + + "STORAGE\020\001\022\014\n\010BIGQUERY\020\002B\014\n\nproperties\"<\n" + + "\021StorageProperties\022\024\n\014file_pattern\030\001 \003(\t" + + "\022\021\n\tfile_type\030\002 \001(\tB\327\001\n\037com.google.cloud" + + ".datacatalog.v1B\017DataSourceProtoP\001ZAclou" + + "d.google.com/go/datacatalog/apiv1/dataca" + + "talogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud." + + "DataCatalog.V1\312\002\033Google\\Cloud\\DataCatalo" + + "g\\V1\352\002\036Google::Cloud::DataCatalog::V1b\006p" + + "roto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1_DataSource_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1_DataSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DataSource_descriptor, + new java.lang.String[] { "Service", "Resource", "SourceEntry", "StorageProperties", "Properties", }); + internal_static_google_cloud_datacatalog_v1_StorageProperties_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1_StorageProperties_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_StorageProperties_descriptor, + new java.lang.String[] { "FilePattern", "FileType", }); + 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpec.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpec.java similarity index 66% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpec.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpec.java index 180d2397ecc1..c2ebf9c0d14e 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpec.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpec.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Specification that applies to a table resource. Valid only
  * for entries with the `TABLE` type.
@@ -28,54 +11,49 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.DatabaseTableSpec}
  */
-public final class DatabaseTableSpec extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DatabaseTableSpec extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.DatabaseTableSpec)
     DatabaseTableSpecOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DatabaseTableSpec.newBuilder() to construct.
   private DatabaseTableSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DatabaseTableSpec() {
     type_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DatabaseTableSpec();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.DatabaseTableSpec.class,
-            com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder.class);
+            com.google.cloud.datacatalog.v1.DatabaseTableSpec.class, com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Type of the table.
    * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.DatabaseTableSpec.TableType} */ - public enum TableType implements com.google.protobuf.ProtocolMessageEnum { + public enum TableType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default unknown table type.
      * 
@@ -84,8 +62,6 @@ public enum TableType implements com.google.protobuf.ProtocolMessageEnum { */ TABLE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Native table.
      * 
@@ -94,8 +70,6 @@ public enum TableType implements com.google.protobuf.ProtocolMessageEnum { */ NATIVE(1), /** - * - * *
      * External table.
      * 
@@ -107,8 +81,6 @@ public enum TableType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default unknown table type.
      * 
@@ -117,8 +89,6 @@ public enum TableType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TABLE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Native table.
      * 
@@ -127,8 +97,6 @@ public enum TableType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NATIVE_VALUE = 1; /** - * - * *
      * External table.
      * 
@@ -137,6 +105,7 @@ public enum TableType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EXTERNAL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -161,51 +130,49 @@ public static TableType valueOf(int value) { */ public static TableType forNumber(int value) { switch (value) { - case 0: - return TABLE_TYPE_UNSPECIFIED; - case 1: - return NATIVE; - case 2: - return EXTERNAL; - default: - return null; + case 0: return TABLE_TYPE_UNSPECIFIED; + case 1: return NATIVE; + case 2: return EXTERNAL; + 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< + TableType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TableType findValueByNumber(int number) { + return TableType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TableType findValueByNumber(int number) { - return TableType.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.datacatalog.v1.DatabaseTableSpec.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.DatabaseTableSpec.getDescriptor().getEnumTypes().get(0); } private static final TableType[] VALUES = values(); - public static TableType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static TableType 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,172 +189,139 @@ private TableType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1.DatabaseTableSpec.TableType) } - public interface DatabaseViewSpecOrBuilder - extends + public interface DatabaseViewSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Type of this view.
      * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; - * - * + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; * @return The enum numeric value on the wire for viewType. */ int getViewTypeValue(); /** - * - * *
      * Type of this view.
      * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; - * - * + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; * @return The viewType. */ com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType getViewType(); /** - * - * *
      * Name of a singular table this view reflects one to one.
      * 
* * string base_table = 2; - * * @return Whether the baseTable field is set. */ boolean hasBaseTable(); /** - * - * *
      * Name of a singular table this view reflects one to one.
      * 
* * string base_table = 2; - * * @return The baseTable. */ java.lang.String getBaseTable(); /** - * - * *
      * Name of a singular table this view reflects one to one.
      * 
* * string base_table = 2; - * * @return The bytes for baseTable. */ - com.google.protobuf.ByteString getBaseTableBytes(); + com.google.protobuf.ByteString + getBaseTableBytes(); /** - * - * *
      * SQL query used to generate this view.
      * 
* * string sql_query = 3; - * * @return Whether the sqlQuery field is set. */ boolean hasSqlQuery(); /** - * - * *
      * SQL query used to generate this view.
      * 
* * string sql_query = 3; - * * @return The sqlQuery. */ java.lang.String getSqlQuery(); /** - * - * *
      * SQL query used to generate this view.
      * 
* * string sql_query = 3; - * * @return The bytes for sqlQuery. */ - com.google.protobuf.ByteString getSqlQueryBytes(); + com.google.protobuf.ByteString + getSqlQueryBytes(); - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.SourceDefinitionCase - getSourceDefinitionCase(); + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.SourceDefinitionCase getSourceDefinitionCase(); } /** - * - * *
    * Specification that applies to database view.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec} */ - public static final class DatabaseViewSpec extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DatabaseViewSpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec) DatabaseViewSpecOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DatabaseViewSpec.newBuilder() to construct. private DatabaseViewSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DatabaseViewSpec() { viewType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DatabaseViewSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.class, - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.Builder.class); + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.class, com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.Builder.class); } /** - * - * *
      * Concrete type of the view.
      * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType} */ - public enum ViewType implements com.google.protobuf.ProtocolMessageEnum { + public enum ViewType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Default unknown view type.
        * 
@@ -396,8 +330,6 @@ public enum ViewType implements com.google.protobuf.ProtocolMessageEnum { */ VIEW_TYPE_UNSPECIFIED(0), /** - * - * *
        * Standard view.
        * 
@@ -406,8 +338,6 @@ public enum ViewType implements com.google.protobuf.ProtocolMessageEnum { */ STANDARD_VIEW(1), /** - * - * *
        * Materialized view.
        * 
@@ -419,8 +349,6 @@ public enum ViewType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Default unknown view type.
        * 
@@ -429,8 +357,6 @@ public enum ViewType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VIEW_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Standard view.
        * 
@@ -439,8 +365,6 @@ public enum ViewType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STANDARD_VIEW_VALUE = 1; /** - * - * *
        * Materialized view.
        * 
@@ -449,6 +373,7 @@ public enum ViewType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MATERIALIZED_VIEW_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -473,51 +398,49 @@ public static ViewType valueOf(int value) { */ public static ViewType forNumber(int value) { switch (value) { - case 0: - return VIEW_TYPE_UNSPECIFIED; - case 1: - return STANDARD_VIEW; - case 2: - return MATERIALIZED_VIEW; - default: - return null; + case 0: return VIEW_TYPE_UNSPECIFIED; + case 1: return STANDARD_VIEW; + case 2: return MATERIALIZED_VIEW; + 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< + ViewType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ViewType findValueByNumber(int number) { + return ViewType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ViewType findValueByNumber(int number) { - return ViewType.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.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.getDescriptor().getEnumTypes().get(0); } private static final ViewType[] VALUES = values(); - public static ViewType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ViewType 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; @@ -535,19 +458,15 @@ private ViewType(int value) { } private int sourceDefinitionCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object sourceDefinition_; - public enum SourceDefinitionCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BASE_TABLE(2), SQL_QUERY(3), SOURCEDEFINITION_NOT_SET(0); private final int value; - private SourceDefinitionCase(int value) { this.value = value; } @@ -563,91 +482,67 @@ public static SourceDefinitionCase valueOf(int value) { public static SourceDefinitionCase forNumber(int value) { switch (value) { - case 2: - return BASE_TABLE; - case 3: - return SQL_QUERY; - case 0: - return SOURCEDEFINITION_NOT_SET; - default: - return null; + case 2: return BASE_TABLE; + case 3: return SQL_QUERY; + case 0: return SOURCEDEFINITION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public SourceDefinitionCase getSourceDefinitionCase() { - return SourceDefinitionCase.forNumber(sourceDefinitionCase_); + public SourceDefinitionCase + getSourceDefinitionCase() { + return SourceDefinitionCase.forNumber( + sourceDefinitionCase_); } public static final int VIEW_TYPE_FIELD_NUMBER = 1; private int viewType_ = 0; /** - * - * *
      * Type of this view.
      * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; - * - * + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; * @return The enum numeric value on the wire for viewType. */ - @java.lang.Override - public int getViewTypeValue() { + @java.lang.Override public int getViewTypeValue() { return viewType_; } /** - * - * *
      * Type of this view.
      * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; - * - * + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; * @return The viewType. */ - @java.lang.Override - public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType - getViewType() { - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType result = - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType.forNumber( - viewType_); - return result == null - ? com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType getViewType() { + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType result = com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType.forNumber(viewType_); + return result == null ? com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType.UNRECOGNIZED : result; } public static final int BASE_TABLE_FIELD_NUMBER = 2; /** - * - * *
      * Name of a singular table this view reflects one to one.
      * 
* * string base_table = 2; - * * @return Whether the baseTable field is set. */ public boolean hasBaseTable() { return sourceDefinitionCase_ == 2; } /** - * - * *
      * Name of a singular table this view reflects one to one.
      * 
* * string base_table = 2; - * * @return The baseTable. */ public java.lang.String getBaseTable() { @@ -658,7 +553,8 @@ public java.lang.String getBaseTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (sourceDefinitionCase_ == 2) { sourceDefinition_ = s; @@ -667,24 +563,23 @@ public java.lang.String getBaseTable() { } } /** - * - * *
      * Name of a singular table this view reflects one to one.
      * 
* * string base_table = 2; - * * @return The bytes for baseTable. */ - public com.google.protobuf.ByteString getBaseTableBytes() { + public com.google.protobuf.ByteString + getBaseTableBytes() { java.lang.Object ref = ""; if (sourceDefinitionCase_ == 2) { ref = sourceDefinition_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (sourceDefinitionCase_ == 2) { sourceDefinition_ = b; } @@ -696,28 +591,22 @@ public com.google.protobuf.ByteString getBaseTableBytes() { public static final int SQL_QUERY_FIELD_NUMBER = 3; /** - * - * *
      * SQL query used to generate this view.
      * 
* * string sql_query = 3; - * * @return Whether the sqlQuery field is set. */ public boolean hasSqlQuery() { return sourceDefinitionCase_ == 3; } /** - * - * *
      * SQL query used to generate this view.
      * 
* * string sql_query = 3; - * * @return The sqlQuery. */ public java.lang.String getSqlQuery() { @@ -728,7 +617,8 @@ public java.lang.String getSqlQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (sourceDefinitionCase_ == 3) { sourceDefinition_ = s; @@ -737,24 +627,23 @@ public java.lang.String getSqlQuery() { } } /** - * - * *
      * SQL query used to generate this view.
      * 
* * string sql_query = 3; - * * @return The bytes for sqlQuery. */ - public com.google.protobuf.ByteString getSqlQueryBytes() { + public com.google.protobuf.ByteString + getSqlQueryBytes() { java.lang.Object ref = ""; if (sourceDefinitionCase_ == 3) { ref = sourceDefinition_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (sourceDefinitionCase_ == 3) { sourceDefinition_ = b; } @@ -765,7 +654,6 @@ public com.google.protobuf.ByteString getSqlQueryBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -777,11 +665,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (viewType_ - != com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType - .VIEW_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (viewType_ != com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType.VIEW_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, viewType_); } if (sourceDefinitionCase_ == 2) { @@ -799,11 +685,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (viewType_ - != com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType - .VIEW_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, viewType_); + if (viewType_ != com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType.VIEW_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, viewType_); } if (sourceDefinitionCase_ == 2) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceDefinition_); @@ -819,22 +703,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.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec other = - (com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec) obj; + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec other = (com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec) obj; if (viewType_ != other.viewType_) return false; if (!getSourceDefinitionCase().equals(other.getSourceDefinitionCase())) return false; switch (sourceDefinitionCase_) { case 2: - if (!getBaseTable().equals(other.getBaseTable())) return false; + if (!getBaseTable() + .equals(other.getBaseTable())) return false; break; case 3: - if (!getSqlQuery().equals(other.getSqlQuery())) return false; + if (!getSqlQuery() + .equals(other.getSqlQuery())) return false; break; case 0: default: @@ -870,95 +755,89 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec - parseDelimitedFrom( - java.io.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.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec parseDelimitedFrom( + java.io.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.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -968,42 +847,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Specification that applies to database view.
      * 
* * Protobuf type {@code google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec) com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.class, - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.Builder.class); + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.class, com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.Builder.class); } - // Construct using - // com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.newBuilder() - private Builder() {} + // Construct using com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.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(); @@ -1015,16 +891,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_descriptor; } @java.lang.Override - public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec - getDefaultInstanceForType() { - return com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec - .getDefaultInstance(); + public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec getDefaultInstanceForType() { + return com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.getDefaultInstance(); } @java.lang.Override @@ -1038,26 +912,21 @@ public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec build( @java.lang.Override public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec buildPartial() { - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec result = - new com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec result = new com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec result) { + private void buildPartial0(com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.viewType_ = viewType_; } } - private void buildPartialOneofs( - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec result) { + private void buildPartialOneofs(com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec result) { result.sourceDefinitionCase_ = sourceDefinitionCase_; result.sourceDefinition_ = this.sourceDefinition_; } @@ -1066,75 +935,65 @@ 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.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec) { - return mergeFrom( - (com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec) other); + return mergeFrom((com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec other) { - if (other - == com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec other) { + if (other == com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.getDefaultInstance()) return this; if (other.viewType_ != 0) { setViewTypeValue(other.getViewTypeValue()); } switch (other.getSourceDefinitionCase()) { - case BASE_TABLE: - { - sourceDefinitionCase_ = 2; - sourceDefinition_ = other.sourceDefinition_; - onChanged(); - break; - } - case SQL_QUERY: - { - sourceDefinitionCase_ = 3; - sourceDefinition_ = other.sourceDefinition_; - onChanged(); - break; - } - case SOURCEDEFINITION_NOT_SET: - { - break; - } + case BASE_TABLE: { + sourceDefinitionCase_ = 2; + sourceDefinition_ = other.sourceDefinition_; + onChanged(); + break; + } + case SQL_QUERY: { + sourceDefinitionCase_ = 3; + sourceDefinition_ = other.sourceDefinition_; + onChanged(); + break; + } + case SOURCEDEFINITION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1162,33 +1021,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - viewType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - sourceDefinitionCase_ = 2; - sourceDefinition_ = s; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - sourceDefinitionCase_ = 3; - sourceDefinition_ = s; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + viewType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + sourceDefinitionCase_ = 2; + sourceDefinition_ = s; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + sourceDefinitionCase_ = 3; + sourceDefinition_ = 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) { @@ -1198,12 +1053,12 @@ public Builder mergeFrom( } // finally return this; } - private int sourceDefinitionCase_ = 0; private java.lang.Object sourceDefinition_; - - public SourceDefinitionCase getSourceDefinitionCase() { - return SourceDefinitionCase.forNumber(sourceDefinitionCase_); + public SourceDefinitionCase + getSourceDefinitionCase() { + return SourceDefinitionCase.forNumber( + sourceDefinitionCase_); } public Builder clearSourceDefinition() { @@ -1217,33 +1072,22 @@ public Builder clearSourceDefinition() { private int viewType_ = 0; /** - * - * *
        * Type of this view.
        * 
* - * - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; - * - * + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; * @return The enum numeric value on the wire for viewType. */ - @java.lang.Override - public int getViewTypeValue() { + @java.lang.Override public int getViewTypeValue() { return viewType_; } /** - * - * *
        * Type of this view.
        * 
* - * - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; - * - * + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; * @param value The enum numeric value on the wire for viewType to set. * @return This builder for chaining. */ @@ -1254,45 +1098,28 @@ public Builder setViewTypeValue(int value) { return this; } /** - * - * *
        * Type of this view.
        * 
* - * - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; - * - * + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; * @return The viewType. */ @java.lang.Override - public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType - getViewType() { - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType result = - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType.forNumber( - viewType_); - return result == null - ? com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType - .UNRECOGNIZED - : result; + public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType getViewType() { + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType result = com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType.forNumber(viewType_); + return result == null ? com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType.UNRECOGNIZED : result; } /** - * - * *
        * Type of this view.
        * 
* - * - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; - * - * + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; * @param value The viewType to set. * @return This builder for chaining. */ - public Builder setViewType( - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType value) { + public Builder setViewType(com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType value) { if (value == null) { throw new NullPointerException(); } @@ -1302,16 +1129,11 @@ public Builder setViewType( return this; } /** - * - * *
        * Type of this view.
        * 
* - * - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; - * - * + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; * @return This builder for chaining. */ public Builder clearViewType() { @@ -1322,14 +1144,11 @@ public Builder clearViewType() { } /** - * - * *
        * Name of a singular table this view reflects one to one.
        * 
* * string base_table = 2; - * * @return Whether the baseTable field is set. */ @java.lang.Override @@ -1337,14 +1156,11 @@ public boolean hasBaseTable() { return sourceDefinitionCase_ == 2; } /** - * - * *
        * Name of a singular table this view reflects one to one.
        * 
* * string base_table = 2; - * * @return The baseTable. */ @java.lang.Override @@ -1354,7 +1170,8 @@ public java.lang.String getBaseTable() { ref = sourceDefinition_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (sourceDefinitionCase_ == 2) { sourceDefinition_ = s; @@ -1365,25 +1182,24 @@ public java.lang.String getBaseTable() { } } /** - * - * *
        * Name of a singular table this view reflects one to one.
        * 
* * string base_table = 2; - * * @return The bytes for baseTable. */ @java.lang.Override - public com.google.protobuf.ByteString getBaseTableBytes() { + public com.google.protobuf.ByteString + getBaseTableBytes() { java.lang.Object ref = ""; if (sourceDefinitionCase_ == 2) { ref = sourceDefinition_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (sourceDefinitionCase_ == 2) { sourceDefinition_ = b; } @@ -1393,35 +1209,28 @@ public com.google.protobuf.ByteString getBaseTableBytes() { } } /** - * - * *
        * Name of a singular table this view reflects one to one.
        * 
* * string base_table = 2; - * * @param value The baseTable to set. * @return This builder for chaining. */ - public Builder setBaseTable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBaseTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceDefinitionCase_ = 2; sourceDefinition_ = value; onChanged(); return this; } /** - * - * *
        * Name of a singular table this view reflects one to one.
        * 
* * string base_table = 2; - * * @return This builder for chaining. */ public Builder clearBaseTable() { @@ -1433,21 +1242,17 @@ public Builder clearBaseTable() { return this; } /** - * - * *
        * Name of a singular table this view reflects one to one.
        * 
* * string base_table = 2; - * * @param value The bytes for baseTable to set. * @return This builder for chaining. */ - public Builder setBaseTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBaseTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceDefinitionCase_ = 2; sourceDefinition_ = value; @@ -1456,14 +1261,11 @@ public Builder setBaseTableBytes(com.google.protobuf.ByteString value) { } /** - * - * *
        * SQL query used to generate this view.
        * 
* * string sql_query = 3; - * * @return Whether the sqlQuery field is set. */ @java.lang.Override @@ -1471,14 +1273,11 @@ public boolean hasSqlQuery() { return sourceDefinitionCase_ == 3; } /** - * - * *
        * SQL query used to generate this view.
        * 
* * string sql_query = 3; - * * @return The sqlQuery. */ @java.lang.Override @@ -1488,7 +1287,8 @@ public java.lang.String getSqlQuery() { ref = sourceDefinition_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (sourceDefinitionCase_ == 3) { sourceDefinition_ = s; @@ -1499,25 +1299,24 @@ public java.lang.String getSqlQuery() { } } /** - * - * *
        * SQL query used to generate this view.
        * 
* * string sql_query = 3; - * * @return The bytes for sqlQuery. */ @java.lang.Override - public com.google.protobuf.ByteString getSqlQueryBytes() { + public com.google.protobuf.ByteString + getSqlQueryBytes() { java.lang.Object ref = ""; if (sourceDefinitionCase_ == 3) { ref = sourceDefinition_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (sourceDefinitionCase_ == 3) { sourceDefinition_ = b; } @@ -1527,35 +1326,28 @@ public com.google.protobuf.ByteString getSqlQueryBytes() { } } /** - * - * *
        * SQL query used to generate this view.
        * 
* * string sql_query = 3; - * * @param value The sqlQuery to set. * @return This builder for chaining. */ - public Builder setSqlQuery(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSqlQuery( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceDefinitionCase_ = 3; sourceDefinition_ = value; onChanged(); return this; } /** - * - * *
        * SQL query used to generate this view.
        * 
* * string sql_query = 3; - * * @return This builder for chaining. */ public Builder clearSqlQuery() { @@ -1567,28 +1359,23 @@ public Builder clearSqlQuery() { return this; } /** - * - * *
        * SQL query used to generate this view.
        * 
* * string sql_query = 3; - * * @param value The bytes for sqlQuery to set. * @return This builder for chaining. */ - public Builder setSqlQueryBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSqlQueryBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceDefinitionCase_ = 3; sourceDefinition_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1601,44 +1388,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec) - private static final com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec - DEFAULT_INSTANCE; - + private static final com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec(); } - public static com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec - getDefaultInstance() { + public static com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DatabaseViewSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DatabaseViewSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1650,63 +1434,47 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec - getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int TYPE_FIELD_NUMBER = 1; private int type_ = 0; /** - * - * *
    * Type of this table.
    * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Type of this table.
    * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType getType() { - com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType result = - com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType.forNumber(type_); - return result == null - ? com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType getType() { + com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType result = com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType.forNumber(type_); + return result == null ? com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType.UNRECOGNIZED : result; } public static final int DATAPLEX_TABLE_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1.DataplexTableSpec dataplexTable_; /** - * - * *
    * Output only. Fields specific to a Dataplex table and present only in the
    * Dataplex table entries.
    * 
* - * - * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataplexTable field is set. */ @java.lang.Override @@ -1714,57 +1482,40 @@ public boolean hasDataplexTable() { return dataplexTable_ != null; } /** - * - * *
    * Output only. Fields specific to a Dataplex table and present only in the
    * Dataplex table entries.
    * 
* - * - * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dataplexTable. */ @java.lang.Override public com.google.cloud.datacatalog.v1.DataplexTableSpec getDataplexTable() { - return dataplexTable_ == null - ? com.google.cloud.datacatalog.v1.DataplexTableSpec.getDefaultInstance() - : dataplexTable_; + return dataplexTable_ == null ? com.google.cloud.datacatalog.v1.DataplexTableSpec.getDefaultInstance() : dataplexTable_; } /** - * - * *
    * Output only. Fields specific to a Dataplex table and present only in the
    * Dataplex table entries.
    * 
* - * - * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.datacatalog.v1.DataplexTableSpecOrBuilder getDataplexTableOrBuilder() { - return dataplexTable_ == null - ? com.google.cloud.datacatalog.v1.DataplexTableSpec.getDefaultInstance() - : dataplexTable_; + return dataplexTable_ == null ? com.google.cloud.datacatalog.v1.DataplexTableSpec.getDefaultInstance() : dataplexTable_; } public static final int DATABASE_VIEW_SPEC_FIELD_NUMBER = 3; private com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec databaseViewSpec_; /** - * - * *
    * Spec what aplies to tables that are actually views.
    * Not set for "real" tables.
    * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; - * - * + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; * @return Whether the databaseViewSpec field is set. */ @java.lang.Override @@ -1772,45 +1523,32 @@ public boolean hasDatabaseViewSpec() { return databaseViewSpec_ != null; } /** - * - * *
    * Spec what aplies to tables that are actually views.
    * Not set for "real" tables.
    * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; - * - * + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; * @return The databaseViewSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec getDatabaseViewSpec() { - return databaseViewSpec_ == null - ? com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.getDefaultInstance() - : databaseViewSpec_; + return databaseViewSpec_ == null ? com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.getDefaultInstance() : databaseViewSpec_; } /** - * - * *
    * Spec what aplies to tables that are actually views.
    * Not set for "real" tables.
    * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; - * + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpecOrBuilder - getDatabaseViewSpecOrBuilder() { - return databaseViewSpec_ == null - ? com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.getDefaultInstance() - : databaseViewSpec_; + public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpecOrBuilder getDatabaseViewSpecOrBuilder() { + return databaseViewSpec_ == null ? com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.getDefaultInstance() : databaseViewSpec_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1822,10 +1560,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (type_ - != com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType.TABLE_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (type_ != com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType.TABLE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } if (dataplexTable_ != null) { @@ -1843,16 +1580,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ - != com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType.TABLE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + if (type_ != com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType.TABLE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } if (dataplexTable_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDataplexTable()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getDataplexTable()); } if (databaseViewSpec_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDatabaseViewSpec()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getDatabaseViewSpec()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1862,22 +1600,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.datacatalog.v1.DatabaseTableSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.DatabaseTableSpec other = - (com.google.cloud.datacatalog.v1.DatabaseTableSpec) obj; + com.google.cloud.datacatalog.v1.DatabaseTableSpec other = (com.google.cloud.datacatalog.v1.DatabaseTableSpec) obj; if (type_ != other.type_) return false; if (hasDataplexTable() != other.hasDataplexTable()) return false; if (hasDataplexTable()) { - if (!getDataplexTable().equals(other.getDataplexTable())) return false; + if (!getDataplexTable() + .equals(other.getDataplexTable())) return false; } if (hasDatabaseViewSpec() != other.hasDatabaseViewSpec()) return false; if (hasDatabaseViewSpec()) { - if (!getDatabaseViewSpec().equals(other.getDatabaseViewSpec())) return false; + if (!getDatabaseViewSpec() + .equals(other.getDatabaseViewSpec())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1906,103 +1645,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.DatabaseTableSpec parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DatabaseTableSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DatabaseTableSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DatabaseTableSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DatabaseTableSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DatabaseTableSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.DatabaseTableSpec parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DatabaseTableSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.DatabaseTableSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DatabaseTableSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DatabaseTableSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.DatabaseTableSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DatabaseTableSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.DatabaseTableSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.DatabaseTableSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specification that applies to a table resource. Valid only
    * for entries with the `TABLE` type.
@@ -2010,32 +1744,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.DatabaseTableSpec}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.DatabaseTableSpec)
       com.google.cloud.datacatalog.v1.DatabaseTableSpecOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.DatabaseTableSpec.class,
-              com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder.class);
+              com.google.cloud.datacatalog.v1.DatabaseTableSpec.class, com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.DatabaseTableSpec.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2055,9 +1790,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_descriptor;
     }
 
     @java.lang.Override
@@ -2076,11 +1811,8 @@ public com.google.cloud.datacatalog.v1.DatabaseTableSpec build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.DatabaseTableSpec buildPartial() {
-      com.google.cloud.datacatalog.v1.DatabaseTableSpec result =
-          new com.google.cloud.datacatalog.v1.DatabaseTableSpec(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.DatabaseTableSpec result = new com.google.cloud.datacatalog.v1.DatabaseTableSpec(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -2091,12 +1823,14 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DatabaseTableSpec res
         result.type_ = type_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.dataplexTable_ =
-            dataplexTableBuilder_ == null ? dataplexTable_ : dataplexTableBuilder_.build();
+        result.dataplexTable_ = dataplexTableBuilder_ == null
+            ? dataplexTable_
+            : dataplexTableBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.databaseViewSpec_ =
-            databaseViewSpecBuilder_ == null ? databaseViewSpec_ : databaseViewSpecBuilder_.build();
+        result.databaseViewSpec_ = databaseViewSpecBuilder_ == null
+            ? databaseViewSpec_
+            : databaseViewSpecBuilder_.build();
       }
     }
 
@@ -2104,39 +1838,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DatabaseTableSpec 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.datacatalog.v1.DatabaseTableSpec) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.DatabaseTableSpec) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.DatabaseTableSpec)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2144,8 +1877,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.DatabaseTableSpec other) {
-      if (other == com.google.cloud.datacatalog.v1.DatabaseTableSpec.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.DatabaseTableSpec.getDefaultInstance()) return this;
       if (other.type_ != 0) {
         setTypeValue(other.getTypeValue());
       }
@@ -2181,32 +1913,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                type_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 18:
-              {
-                input.readMessage(getDataplexTableFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(
-                    getDatabaseViewSpecFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              type_ = input.readEnum();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 18: {
+              input.readMessage(
+                  getDataplexTableFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getDatabaseViewSpecFieldBuilder().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) {
@@ -2216,34 +1947,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int type_ = 0;
     /**
-     *
-     *
      * 
      * Type of this table.
      * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Type of this table.
      * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -2254,33 +1977,24 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * Type of this table.
      * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1; - * * @return The type. */ @java.lang.Override public com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType getType() { - com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType result = - com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType.forNumber(type_); - return result == null - ? com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType.UNRECOGNIZED - : result; + com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType result = com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType.forNumber(type_); + return result == null ? com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType.UNRECOGNIZED : result; } /** - * - * *
      * Type of this table.
      * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1; - * * @param value The type to set. * @return This builder for chaining. */ @@ -2294,14 +2008,11 @@ public Builder setType(com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableTy return this; } /** - * - * *
      * Type of this table.
      * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1; - * * @return This builder for chaining. */ public Builder clearType() { @@ -2313,61 +2024,42 @@ public Builder clearType() { private com.google.cloud.datacatalog.v1.DataplexTableSpec dataplexTable_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.DataplexTableSpec, - com.google.cloud.datacatalog.v1.DataplexTableSpec.Builder, - com.google.cloud.datacatalog.v1.DataplexTableSpecOrBuilder> - dataplexTableBuilder_; + com.google.cloud.datacatalog.v1.DataplexTableSpec, com.google.cloud.datacatalog.v1.DataplexTableSpec.Builder, com.google.cloud.datacatalog.v1.DataplexTableSpecOrBuilder> dataplexTableBuilder_; /** - * - * *
      * Output only. Fields specific to a Dataplex table and present only in the
      * Dataplex table entries.
      * 
* - * - * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataplexTable field is set. */ public boolean hasDataplexTable() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. Fields specific to a Dataplex table and present only in the
      * Dataplex table entries.
      * 
* - * - * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dataplexTable. */ public com.google.cloud.datacatalog.v1.DataplexTableSpec getDataplexTable() { if (dataplexTableBuilder_ == null) { - return dataplexTable_ == null - ? com.google.cloud.datacatalog.v1.DataplexTableSpec.getDefaultInstance() - : dataplexTable_; + return dataplexTable_ == null ? com.google.cloud.datacatalog.v1.DataplexTableSpec.getDefaultInstance() : dataplexTable_; } else { return dataplexTableBuilder_.getMessage(); } } /** - * - * *
      * Output only. Fields specific to a Dataplex table and present only in the
      * Dataplex table entries.
      * 
* - * - * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDataplexTable(com.google.cloud.datacatalog.v1.DataplexTableSpec value) { if (dataplexTableBuilder_ == null) { @@ -2383,16 +2075,12 @@ public Builder setDataplexTable(com.google.cloud.datacatalog.v1.DataplexTableSpe return this; } /** - * - * *
      * Output only. Fields specific to a Dataplex table and present only in the
      * Dataplex table entries.
      * 
* - * - * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDataplexTable( com.google.cloud.datacatalog.v1.DataplexTableSpec.Builder builderForValue) { @@ -2406,23 +2094,18 @@ public Builder setDataplexTable( return this; } /** - * - * *
      * Output only. Fields specific to a Dataplex table and present only in the
      * Dataplex table entries.
      * 
* - * - * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDataplexTable(com.google.cloud.datacatalog.v1.DataplexTableSpec value) { if (dataplexTableBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && dataplexTable_ != null - && dataplexTable_ - != com.google.cloud.datacatalog.v1.DataplexTableSpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + dataplexTable_ != null && + dataplexTable_ != com.google.cloud.datacatalog.v1.DataplexTableSpec.getDefaultInstance()) { getDataplexTableBuilder().mergeFrom(value); } else { dataplexTable_ = value; @@ -2435,16 +2118,12 @@ public Builder mergeDataplexTable(com.google.cloud.datacatalog.v1.DataplexTableS return this; } /** - * - * *
      * Output only. Fields specific to a Dataplex table and present only in the
      * Dataplex table entries.
      * 
* - * - * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDataplexTable() { bitField0_ = (bitField0_ & ~0x00000002); @@ -2457,16 +2136,12 @@ public Builder clearDataplexTable() { return this; } /** - * - * *
      * Output only. Fields specific to a Dataplex table and present only in the
      * Dataplex table entries.
      * 
* - * - * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datacatalog.v1.DataplexTableSpec.Builder getDataplexTableBuilder() { bitField0_ |= 0x00000002; @@ -2474,50 +2149,38 @@ public com.google.cloud.datacatalog.v1.DataplexTableSpec.Builder getDataplexTabl return getDataplexTableFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Fields specific to a Dataplex table and present only in the
      * Dataplex table entries.
      * 
* - * - * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datacatalog.v1.DataplexTableSpecOrBuilder getDataplexTableOrBuilder() { if (dataplexTableBuilder_ != null) { return dataplexTableBuilder_.getMessageOrBuilder(); } else { - return dataplexTable_ == null - ? com.google.cloud.datacatalog.v1.DataplexTableSpec.getDefaultInstance() - : dataplexTable_; + return dataplexTable_ == null ? + com.google.cloud.datacatalog.v1.DataplexTableSpec.getDefaultInstance() : dataplexTable_; } } /** - * - * *
      * Output only. Fields specific to a Dataplex table and present only in the
      * Dataplex table entries.
      * 
* - * - * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.DataplexTableSpec, - com.google.cloud.datacatalog.v1.DataplexTableSpec.Builder, - com.google.cloud.datacatalog.v1.DataplexTableSpecOrBuilder> + com.google.cloud.datacatalog.v1.DataplexTableSpec, com.google.cloud.datacatalog.v1.DataplexTableSpec.Builder, com.google.cloud.datacatalog.v1.DataplexTableSpecOrBuilder> getDataplexTableFieldBuilder() { if (dataplexTableBuilder_ == null) { - dataplexTableBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.DataplexTableSpec, - com.google.cloud.datacatalog.v1.DataplexTableSpec.Builder, - com.google.cloud.datacatalog.v1.DataplexTableSpecOrBuilder>( - getDataplexTable(), getParentForChildren(), isClean()); + dataplexTableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.DataplexTableSpec, com.google.cloud.datacatalog.v1.DataplexTableSpec.Builder, com.google.cloud.datacatalog.v1.DataplexTableSpecOrBuilder>( + getDataplexTable(), + getParentForChildren(), + isClean()); dataplexTable_ = null; } return dataplexTableBuilder_; @@ -2525,63 +2188,44 @@ public com.google.cloud.datacatalog.v1.DataplexTableSpecOrBuilder getDataplexTab private com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec databaseViewSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec, - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.Builder, - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpecOrBuilder> - databaseViewSpecBuilder_; + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec, com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.Builder, com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpecOrBuilder> databaseViewSpecBuilder_; /** - * - * *
      * Spec what aplies to tables that are actually views.
      * Not set for "real" tables.
      * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; - * - * + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; * @return Whether the databaseViewSpec field is set. */ public boolean hasDatabaseViewSpec() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Spec what aplies to tables that are actually views.
      * Not set for "real" tables.
      * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; - * - * + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; * @return The databaseViewSpec. */ - public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec - getDatabaseViewSpec() { + public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec getDatabaseViewSpec() { if (databaseViewSpecBuilder_ == null) { - return databaseViewSpec_ == null - ? com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec - .getDefaultInstance() - : databaseViewSpec_; + return databaseViewSpec_ == null ? com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.getDefaultInstance() : databaseViewSpec_; } else { return databaseViewSpecBuilder_.getMessage(); } } /** - * - * *
      * Spec what aplies to tables that are actually views.
      * Not set for "real" tables.
      * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; - * + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; */ - public Builder setDatabaseViewSpec( - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec value) { + public Builder setDatabaseViewSpec(com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec value) { if (databaseViewSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2595,19 +2239,15 @@ public Builder setDatabaseViewSpec( return this; } /** - * - * *
      * Spec what aplies to tables that are actually views.
      * Not set for "real" tables.
      * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; - * + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; */ public Builder setDatabaseViewSpec( - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.Builder - builderForValue) { + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.Builder builderForValue) { if (databaseViewSpecBuilder_ == null) { databaseViewSpec_ = builderForValue.build(); } else { @@ -2618,24 +2258,18 @@ public Builder setDatabaseViewSpec( return this; } /** - * - * *
      * Spec what aplies to tables that are actually views.
      * Not set for "real" tables.
      * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; - * + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; */ - public Builder mergeDatabaseViewSpec( - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec value) { + public Builder mergeDatabaseViewSpec(com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec value) { if (databaseViewSpecBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && databaseViewSpec_ != null - && databaseViewSpec_ - != com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec - .getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + databaseViewSpec_ != null && + databaseViewSpec_ != com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.getDefaultInstance()) { getDatabaseViewSpecBuilder().mergeFrom(value); } else { databaseViewSpec_ = value; @@ -2648,15 +2282,12 @@ public Builder mergeDatabaseViewSpec( return this; } /** - * - * *
      * Spec what aplies to tables that are actually views.
      * Not set for "real" tables.
      * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; - * + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; */ public Builder clearDatabaseViewSpec() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2669,74 +2300,58 @@ public Builder clearDatabaseViewSpec() { return this; } /** - * - * *
      * Spec what aplies to tables that are actually views.
      * Not set for "real" tables.
      * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; - * + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; */ - public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.Builder - getDatabaseViewSpecBuilder() { + public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.Builder getDatabaseViewSpecBuilder() { bitField0_ |= 0x00000004; onChanged(); return getDatabaseViewSpecFieldBuilder().getBuilder(); } /** - * - * *
      * Spec what aplies to tables that are actually views.
      * Not set for "real" tables.
      * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; - * + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; */ - public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpecOrBuilder - getDatabaseViewSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpecOrBuilder getDatabaseViewSpecOrBuilder() { if (databaseViewSpecBuilder_ != null) { return databaseViewSpecBuilder_.getMessageOrBuilder(); } else { - return databaseViewSpec_ == null - ? com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec - .getDefaultInstance() - : databaseViewSpec_; + return databaseViewSpec_ == null ? + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.getDefaultInstance() : databaseViewSpec_; } } /** - * - * *
      * Spec what aplies to tables that are actually views.
      * Not set for "real" tables.
      * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; - * + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec, - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.Builder, - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpecOrBuilder> + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec, com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.Builder, com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpecOrBuilder> getDatabaseViewSpecFieldBuilder() { if (databaseViewSpecBuilder_ == null) { - databaseViewSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec, - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.Builder, - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpecOrBuilder>( - getDatabaseViewSpec(), getParentForChildren(), isClean()); + databaseViewSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec, com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.Builder, com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpecOrBuilder>( + getDatabaseViewSpec(), + getParentForChildren(), + isClean()); databaseViewSpec_ = null; } return databaseViewSpecBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2746,12 +2361,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.DatabaseTableSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DatabaseTableSpec) private static final com.google.cloud.datacatalog.v1.DatabaseTableSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DatabaseTableSpec(); } @@ -2760,27 +2375,27 @@ public static com.google.cloud.datacatalog.v1.DatabaseTableSpec getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DatabaseTableSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DatabaseTableSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2795,4 +2410,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.DatabaseTableSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpecOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpecOrBuilder.java similarity index 63% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpecOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpecOrBuilder.java index d78413928dd7..86c8f233c95d 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpecOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpecOrBuilder.java @@ -1,136 +1,88 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface DatabaseTableSpecOrBuilder - extends +public interface DatabaseTableSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DatabaseTableSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Type of this table.
    * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Type of this table.
    * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1; - * * @return The type. */ com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType getType(); /** - * - * *
    * Output only. Fields specific to a Dataplex table and present only in the
    * Dataplex table entries.
    * 
* - * - * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataplexTable field is set. */ boolean hasDataplexTable(); /** - * - * *
    * Output only. Fields specific to a Dataplex table and present only in the
    * Dataplex table entries.
    * 
* - * - * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dataplexTable. */ com.google.cloud.datacatalog.v1.DataplexTableSpec getDataplexTable(); /** - * - * *
    * Output only. Fields specific to a Dataplex table and present only in the
    * Dataplex table entries.
    * 
* - * - * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.datacatalog.v1.DataplexTableSpecOrBuilder getDataplexTableOrBuilder(); /** - * - * *
    * Spec what aplies to tables that are actually views.
    * Not set for "real" tables.
    * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; - * - * + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; * @return Whether the databaseViewSpec field is set. */ boolean hasDatabaseViewSpec(); /** - * - * *
    * Spec what aplies to tables that are actually views.
    * Not set for "real" tables.
    * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; - * - * + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; * @return The databaseViewSpec. */ com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec getDatabaseViewSpec(); /** - * - * *
    * Spec what aplies to tables that are actually views.
    * Not set for "real" tables.
    * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; - * + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; */ - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpecOrBuilder - getDatabaseViewSpecOrBuilder(); + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpecOrBuilder getDatabaseViewSpecOrBuilder(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Datacatalog.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Datacatalog.java new file mode 100644 index 000000000000..e4bc07067acd --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Datacatalog.java @@ -0,0 +1,1268 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/datacatalog.proto + +package com.google.cloud.datacatalog.v1; + +public final class Datacatalog { + private Datacatalog() {} + 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_datacatalog_v1_SearchCatalogRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_GetEntryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_GetEntryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_Entry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_Entry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_Entry_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_Entry_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_FilesetSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_FilesetSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_RoutineSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ServiceSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ServiceSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_BusinessContext_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_BusinessContext_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_EntryOverview_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_EntryOverview_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_Contacts_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_Contacts_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_Contacts_Person_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_Contacts_Person_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_EntryGroup_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_EntryGroup_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_CreateTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_CreateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ListTagsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ListTagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ListTagsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ListTagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_ErrorsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_ErrorsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_StarEntryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_StarEntryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_StarEntryResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_StarEntryResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_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/datacatalog/v1/datacatalo" + + "g.proto\022\033google.cloud.datacatalog.v1\032\034go" + + "ogle/api/annotations.proto\032\027google/api/c" + + "lient.proto\032\037google/api/field_behavior.p" + + "roto\032\031google/api/resource.proto\032*google/" + + "cloud/datacatalog/v1/bigquery.proto\032(goo" + + "gle/cloud/datacatalog/v1/common.proto\032-g" + + "oogle/cloud/datacatalog/v1/data_source.p" + + "roto\032/google/cloud/datacatalog/v1/datapl" + + "ex_spec.proto\0322google/cloud/datacatalog/" + + "v1/gcs_fileset_spec.proto\032(google/cloud/" + + "datacatalog/v1/schema.proto\032(google/clou" + + "d/datacatalog/v1/search.proto\032,google/cl" + + "oud/datacatalog/v1/table_spec.proto\032&goo" + + "gle/cloud/datacatalog/v1/tags.proto\032,goo" + + "gle/cloud/datacatalog/v1/timestamps.prot" + + "o\032\'google/cloud/datacatalog/v1/usage.pro" + + "to\032\036google/iam/v1/iam_policy.proto\032\032goog" + + "le/iam/v1/policy.proto\032#google/longrunni" + + "ng/operations.proto\032\033google/protobuf/emp" + + "ty.proto\032 google/protobuf/field_mask.pro" + + "to\032\027google/rpc/status.proto\"\213\003\n\024SearchCa" + + "talogRequest\022L\n\005scope\030\006 \001(\01327.google.clo" + + "ud.datacatalog.v1.SearchCatalogRequest.S" + + "copeB\004\342A\001\002\022\023\n\005query\030\001 \001(\tB\004\342A\001\001\022\021\n\tpage_" + + "size\030\002 \001(\005\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\020\n\010" + + "order_by\030\005 \001(\t\032\320\001\n\005Scope\022\027\n\017include_org_" + + "ids\030\002 \003(\t\022\033\n\023include_project_ids\030\003 \003(\t\022#" + + "\n\033include_gcp_public_datasets\030\007 \001(\010\022\"\n\024r" + + "estricted_locations\030\020 \003(\tB\004\342A\001\001\022\032\n\014starr" + + "ed_only\030\022 \001(\010B\004\342A\001\001\022,\n\034include_public_ta" + + "g_templates\030\023 \001(\010B\006\030\001\342A\001\001\"\234\001\n\025SearchCata" + + "logResponse\022A\n\007results\030\001 \003(\01320.google.cl" + + "oud.datacatalog.v1.SearchCatalogResult\022\022" + + "\n\ntotal_size\030\002 \001(\005\022\027\n\017next_page_token\030\003 " + + "\001(\t\022\023\n\013unreachable\030\006 \003(\t\"\265\001\n\027CreateEntry" + + "GroupRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\022%d" + + "atacatalog.googleapis.com/EntryGroup\022\034\n\016" + + "entry_group_id\030\003 \001(\tB\004\342A\001\002\022<\n\013entry_grou" + + "p\030\002 \001(\0132\'.google.cloud.datacatalog.v1.En" + + "tryGroup\"\216\001\n\027UpdateEntryGroupRequest\022B\n\013" + + "entry_group\030\001 \001(\0132\'.google.cloud.datacat" + + "alog.v1.EntryGroupB\004\342A\001\002\022/\n\013update_mask\030" + + "\002 \001(\0132\032.google.protobuf.FieldMask\"\203\001\n\024Ge" + + "tEntryGroupRequest\022<\n\004name\030\001 \001(\tB.\342A\001\002\372A" + + "\'\n%datacatalog.googleapis.com/EntryGroup" + + "\022-\n\tread_mask\030\002 \001(\0132\032.google.protobuf.Fi" + + "eldMask\"l\n\027DeleteEntryGroupRequest\022<\n\004na" + + "me\030\001 \001(\tB.\342A\001\002\372A\'\n%datacatalog.googleapi" + + "s.com/EntryGroup\022\023\n\005force\030\002 \001(\010B\004\342A\001\001\"\213\001" + + "\n\026ListEntryGroupsRequest\022>\n\006parent\030\001 \001(\t" + + "B.\342A\001\002\372A\'\022%datacatalog.googleapis.com/En" + + "tryGroup\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\"q\n\027ListEntryGroupsRe" + + "sponse\022=\n\014entry_groups\030\001 \003(\0132\'.google.cl" + + "oud.datacatalog.v1.EntryGroup\022\027\n\017next_pa" + + "ge_token\030\002 \001(\t\"\245\001\n\022CreateEntryRequest\022>\n" + + "\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n%datacatalog.goog" + + "leapis.com/EntryGroup\022\026\n\010entry_id\030\003 \001(\tB" + + "\004\342A\001\002\0227\n\005entry\030\002 \001(\0132\".google.cloud.data" + + "catalog.v1.EntryB\004\342A\001\002\"~\n\022UpdateEntryReq" + + "uest\0227\n\005entry\030\001 \001(\0132\".google.cloud.datac" + + "atalog.v1.EntryB\004\342A\001\002\022/\n\013update_mask\030\002 \001" + + "(\0132\032.google.protobuf.FieldMask\"M\n\022Delete" + + "EntryRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n dat" + + "acatalog.googleapis.com/Entry\"J\n\017GetEntr" + + "yRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n datacat" + + "alog.googleapis.com/Entry\"\231\001\n\022LookupEntr" + + "yRequest\022\031\n\017linked_resource\030\001 \001(\tH\000\022\026\n\014s" + + "ql_resource\030\003 \001(\tH\000\022\036\n\024fully_qualified_n" + + "ame\030\005 \001(\tH\000\022\017\n\007project\030\006 \001(\t\022\020\n\010location" + + "\030\007 \001(\tB\r\n\013target_name\"\252\017\n\005Entry\022<\n\004name\030" + + "\001 \001(\tB.\342A\001\003\372A\'\n%datacatalog.googleapis.c" + + "om/EntryGroup\022\027\n\017linked_resource\030\t \001(\t\022\034" + + "\n\024fully_qualified_name\030\035 \001(\t\0226\n\004type\030\002 \001" + + "(\0162&.google.cloud.datacatalog.v1.EntryTy" + + "peH\000\022\035\n\023user_specified_type\030\020 \001(\tH\000\022P\n\021i" + + "ntegrated_system\030\021 \001(\0162-.google.cloud.da" + + "tacatalog.v1.IntegratedSystemB\004\342A\001\003H\001\022\037\n" + + "\025user_specified_system\030\022 \001(\tH\001\022V\n\030sql_da" + + "tabase_system_spec\030\' \001(\01322.google.cloud." + + "datacatalog.v1.SqlDatabaseSystemSpecH\002\022K" + + "\n\022looker_system_spec\030( \001(\0132-.google.clou" + + "d.datacatalog.v1.LookerSystemSpecH\002\022Z\n\032c" + + "loud_bigtable_system_spec\030) \001(\01324.google" + + ".cloud.datacatalog.v1.CloudBigtableSyste" + + "mSpecH\002\022G\n\020gcs_fileset_spec\030\006 \001(\0132+.goog" + + "le.cloud.datacatalog.v1.GcsFilesetSpecH\003" + + "\022S\n\023bigquery_table_spec\030\014 \001(\0132..google.c" + + "loud.datacatalog.v1.BigQueryTableSpecB\004\342" + + "A\001\003H\003\022`\n\032bigquery_date_sharded_spec\030\017 \001(" + + "\01324.google.cloud.datacatalog.v1.BigQuery" + + "DateShardedSpecB\004\342A\001\003H\003\022M\n\023database_tabl" + + "e_spec\030\030 \001(\0132..google.cloud.datacatalog." + + "v1.DatabaseTableSpecH\004\022\\\n\033data_source_co" + + "nnection_spec\030\033 \001(\01325.google.cloud.datac" + + "atalog.v1.DataSourceConnectionSpecH\004\022@\n\014" + + "routine_spec\030\034 \001(\0132(.google.cloud.dataca" + + "talog.v1.RoutineSpecH\004\022@\n\014fileset_spec\030!" + + " \001(\0132(.google.cloud.datacatalog.v1.Files" + + "etSpecH\004\022@\n\014service_spec\030* \001(\0132(.google." + + "cloud.datacatalog.v1.ServiceSpecH\004\022\024\n\014di" + + "splay_name\030\003 \001(\t\022\023\n\013description\030\004 \001(\t\022F\n" + + "\020business_context\030% \001(\0132,.google.cloud.d" + + "atacatalog.v1.BusinessContext\0223\n\006schema\030" + + "\005 \001(\0132#.google.cloud.datacatalog.v1.Sche" + + "ma\022O\n\030source_system_timestamps\030\007 \001(\0132-.g" + + "oogle.cloud.datacatalog.v1.SystemTimesta" + + "mps\022>\n\014usage_signal\030\r \001(\0132(.google.cloud" + + ".datacatalog.v1.UsageSignal\022>\n\006labels\030\016 " + + "\003(\0132..google.cloud.datacatalog.v1.Entry." + + "LabelsEntry\022B\n\013data_source\030\024 \001(\0132\'.googl" + + "e.cloud.datacatalog.v1.DataSourceB\004\342A\001\003\022" + + "L\n\020personal_details\030\032 \001(\0132,.google.cloud" + + ".datacatalog.v1.PersonalDetailsB\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:x\352Au\n datacatalog.googleapis.com/En" + + "try\022Qprojects/{project}/locations/{locat" + + "ion}/entryGroups/{entry_group}/entries/{" + + "entry}B\014\n\nentry_typeB\010\n\006systemB\r\n\013system" + + "_specB\013\n\ttype_specB\006\n\004spec\"\314\004\n\021DatabaseT" + + "ableSpec\022F\n\004type\030\001 \001(\01628.google.cloud.da" + + "tacatalog.v1.DatabaseTableSpec.TableType" + + "\022L\n\016dataplex_table\030\002 \001(\0132..google.cloud." + + "datacatalog.v1.DataplexTableSpecB\004\342A\001\003\022[" + + "\n\022database_view_spec\030\003 \001(\0132?.google.clou" + + "d.datacatalog.v1.DatabaseTableSpec.Datab" + + "aseViewSpec\032\200\002\n\020DatabaseViewSpec\022[\n\tview" + + "_type\030\001 \001(\0162H.google.cloud.datacatalog.v" + + "1.DatabaseTableSpec.DatabaseViewSpec.Vie" + + "wType\022\024\n\nbase_table\030\002 \001(\tH\000\022\023\n\tsql_query" + + "\030\003 \001(\tH\000\"O\n\010ViewType\022\031\n\025VIEW_TYPE_UNSPEC" + + "IFIED\020\000\022\021\n\rSTANDARD_VIEW\020\001\022\025\n\021MATERIALIZ" + + "ED_VIEW\020\002B\023\n\021source_definition\"A\n\tTableT" + + "ype\022\032\n\026TABLE_TYPE_UNSPECIFIED\020\000\022\n\n\006NATIV" + + "E\020\001\022\014\n\010EXTERNAL\020\002\"Y\n\013FilesetSpec\022J\n\020data" + + "plex_fileset\030\001 \001(\01320.google.cloud.dataca" + + "talog.v1.DataplexFilesetSpec\"q\n\030DataSour" + + "ceConnectionSpec\022U\n\030bigquery_connection_" + + "spec\030\001 \001(\01323.google.cloud.datacatalog.v1" + + ".BigQueryConnectionSpec\"\303\004\n\013RoutineSpec\022" + + "J\n\014routine_type\030\001 \001(\01624.google.cloud.dat" + + "acatalog.v1.RoutineSpec.RoutineType\022\020\n\010l" + + "anguage\030\002 \001(\t\022L\n\021routine_arguments\030\003 \003(\013" + + "21.google.cloud.datacatalog.v1.RoutineSp" + + "ec.Argument\022\023\n\013return_type\030\004 \001(\t\022\027\n\017defi" + + "nition_body\030\005 \001(\t\022Q\n\025bigquery_routine_sp" + + "ec\030\006 \001(\01320.google.cloud.datacatalog.v1.B" + + "igQueryRoutineSpecH\000\032\246\001\n\010Argument\022\014\n\004nam" + + "e\030\001 \001(\t\022D\n\004mode\030\002 \001(\01626.google.cloud.dat" + + "acatalog.v1.RoutineSpec.Argument.Mode\022\014\n" + + "\004type\030\003 \001(\t\"8\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020" + + "\000\022\006\n\002IN\020\001\022\007\n\003OUT\020\002\022\t\n\005INOUT\020\003\"O\n\013Routine" + + "Type\022\034\n\030ROUTINE_TYPE_UNSPECIFIED\020\000\022\023\n\017SC" + + "ALAR_FUNCTION\020\001\022\r\n\tPROCEDURE\020\002B\r\n\013system" + + "_spec\"\\\n\025SqlDatabaseSystemSpec\022\022\n\nsql_en" + + "gine\030\001 \001(\t\022\030\n\020database_version\030\002 \001(\t\022\025\n\r" + + "instance_host\030\003 \001(\t\"\312\001\n\020LookerSystemSpec" + + "\022\032\n\022parent_instance_id\030\001 \001(\t\022$\n\034parent_i" + + "nstance_display_name\030\002 \001(\t\022\027\n\017parent_mod" + + "el_id\030\003 \001(\t\022!\n\031parent_model_display_name" + + "\030\004 \001(\t\022\026\n\016parent_view_id\030\005 \001(\t\022 \n\030parent" + + "_view_display_name\030\006 \001(\t\"8\n\027CloudBigtabl" + + "eSystemSpec\022\035\n\025instance_display_name\030\001 \001" + + "(\t\"\375\001\n\031CloudBigtableInstanceSpec\022u\n\034clou" + + "d_bigtable_cluster_specs\030\001 \003(\0132O.google." + + "cloud.datacatalog.v1.CloudBigtableInstan" + + "ceSpec.CloudBigtableClusterSpec\032i\n\030Cloud" + + "BigtableClusterSpec\022\024\n\014display_name\030\001 \001(" + + "\t\022\020\n\010location\030\002 \001(\t\022\014\n\004type\030\003 \001(\t\022\027\n\017lin" + + "ked_resource\030\004 \001(\t\"|\n\013ServiceSpec\022^\n\034clo" + + "ud_bigtable_instance_spec\030\001 \001(\01326.google" + + ".cloud.datacatalog.v1.CloudBigtableInsta" + + "nceSpecH\000B\r\n\013system_spec\"\216\001\n\017BusinessCon" + + "text\022B\n\016entry_overview\030\001 \001(\0132*.google.cl" + + "oud.datacatalog.v1.EntryOverview\0227\n\010cont" + + "acts\030\002 \001(\0132%.google.cloud.datacatalog.v1" + + ".Contacts\"!\n\rEntryOverview\022\020\n\010overview\030\001" + + " \001(\t\"v\n\010Contacts\022<\n\006people\030\001 \003(\0132,.googl" + + "e.cloud.datacatalog.v1.Contacts.Person\032," + + "\n\006Person\022\023\n\013designation\030\001 \001(\t\022\r\n\005email\030\002" + + " \001(\t\"\212\002\n\nEntryGroup\022\014\n\004name\030\001 \001(\t\022\024\n\014dis" + + "play_name\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022T\n\027" + + "data_catalog_timestamps\030\004 \001(\0132-.google.c" + + "loud.datacatalog.v1.SystemTimestampsB\004\342A" + + "\001\003:m\352Aj\n%datacatalog.googleapis.com/Entr" + + "yGroup\022Aprojects/{project}/locations/{lo" + + "cation}/entryGroups/{entry_group}\"\300\001\n\030Cr" + + "eateTagTemplateRequest\022?\n\006parent\030\001 \001(\tB/" + + "\342A\001\002\372A(\022&datacatalog.googleapis.com/TagT" + + "emplate\022\035\n\017tag_template_id\030\003 \001(\tB\004\342A\001\002\022D" + + "\n\014tag_template\030\002 \001(\0132(.google.cloud.data" + + "catalog.v1.TagTemplateB\004\342A\001\002\"V\n\025GetTagTe" + + "mplateRequest\022=\n\004name\030\001 \001(\tB/\342A\001\002\372A(\n&da" + + "tacatalog.googleapis.com/TagTemplate\"\221\001\n" + + "\030UpdateTagTemplateRequest\022D\n\014tag_templat" + + "e\030\001 \001(\0132(.google.cloud.datacatalog.v1.Ta" + + "gTemplateB\004\342A\001\002\022/\n\013update_mask\030\002 \001(\0132\032.g" + + "oogle.protobuf.FieldMask\"n\n\030DeleteTagTem" + + "plateRequest\022=\n\004name\030\001 \001(\tB/\342A\001\002\372A(\n&dat" + + "acatalog.googleapis.com/TagTemplate\022\023\n\005f" + + "orce\030\002 \001(\010B\004\342A\001\002\"\200\001\n\020CreateTagRequest\0227\n" + + "\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036datacatalog.goog" + + "leapis.com/Tag\0223\n\003tag\030\002 \001(\0132 .google.clo" + + "ud.datacatalog.v1.TagB\004\342A\001\002\"x\n\020UpdateTag" + + "Request\0223\n\003tag\030\001 \001(\0132 .google.cloud.data" + + "catalog.v1.TagB\004\342A\001\002\022/\n\013update_mask\030\002 \001(" + + "\0132\032.google.protobuf.FieldMask\"I\n\020DeleteT" + + "agRequest\0225\n\004name\030\001 \001(\tB\'\342A\001\002\372A \022\036dataca" + + "talog.googleapis.com/Tag\"\326\001\n\035CreateTagTe" + + "mplateFieldRequest\022?\n\006parent\030\001 \001(\tB/\342A\001\002" + + "\372A(\n&datacatalog.googleapis.com/TagTempl" + + "ate\022#\n\025tag_template_field_id\030\002 \001(\tB\004\342A\001\002" + + "\022O\n\022tag_template_field\030\003 \001(\0132-.google.cl" + + "oud.datacatalog.v1.TagTemplateFieldB\004\342A\001" + + "\002\"\353\001\n\035UpdateTagTemplateFieldRequest\022B\n\004n" + + "ame\030\001 \001(\tB4\342A\001\002\372A-\n+datacatalog.googleap" + + "is.com/TagTemplateField\022O\n\022tag_template_" + + "field\030\002 \001(\0132-.google.cloud.datacatalog.v" + + "1.TagTemplateFieldB\004\342A\001\002\0225\n\013update_mask\030" + + "\003 \001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\001\"" + + "\214\001\n\035RenameTagTemplateFieldRequest\022B\n\004nam" + + "e\030\001 \001(\tB4\342A\001\002\372A-\n+datacatalog.googleapis" + + ".com/TagTemplateField\022\'\n\031new_tag_templat" + + "e_field_id\030\002 \001(\tB\004\342A\001\002\"\240\001\n&RenameTagTemp" + + "lateFieldEnumValueRequest\022K\n\004name\030\001 \001(\tB" + + "=\342A\001\002\372A6\n4datacatalog.googleapis.com/Tag" + + "TemplateFieldEnumValue\022)\n\033new_enum_value" + + "_display_name\030\002 \001(\tB\004\342A\001\002\"x\n\035DeleteTagTe" + + "mplateFieldRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A" + + "-\n+datacatalog.googleapis.com/TagTemplat" + + "eField\022\023\n\005force\030\002 \001(\010B\004\342A\001\002\"q\n\017ListTagsR" + + "equest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036datacat" + + "alog.googleapis.com/Tag\022\021\n\tpage_size\030\002 \001" + + "(\005\022\022\n\npage_token\030\003 \001(\t\"[\n\020ListTagsRespon" + + "se\022.\n\004tags\030\001 \003(\0132 .google.cloud.datacata" + + "log.v1.Tag\022\027\n\017next_page_token\030\002 \001(\t\"\346\001\n\024" + + "ReconcileTagsRequest\0229\n\006parent\030\001 \001(\tB)\342A" + + "\001\002\372A\"\n datacatalog.googleapis.com/Entry\022" + + "E\n\014tag_template\030\002 \001(\tB/\342A\001\002\372A(\n&datacata" + + "log.googleapis.com/TagTemplate\022\034\n\024force_" + + "delete_missing\030\003 \001(\010\022.\n\004tags\030\004 \003(\0132 .goo" + + "gle.cloud.datacatalog.v1.Tag\"k\n\025Reconcil" + + "eTagsResponse\022\032\n\022created_tags_count\030\001 \001(" + + "\003\022\032\n\022updated_tags_count\030\002 \001(\003\022\032\n\022deleted" + + "_tags_count\030\003 \001(\003\"\223\003\n\025ReconcileTagsMetad" + + "ata\022U\n\005state\030\001 \001(\0162F.google.cloud.dataca" + + "talog.v1.ReconcileTagsMetadata.Reconcili" + + "ationState\022N\n\006errors\030\002 \003(\0132>.google.clou" + + "d.datacatalog.v1.ReconcileTagsMetadata.E" + + "rrorsEntry\032A\n\013ErrorsEntry\022\013\n\003key\030\001 \001(\t\022!" + + "\n\005value\030\002 \001(\0132\022.google.rpc.Status:\0028\001\"\217\001" + + "\n\023ReconciliationState\022$\n RECONCILIATION_" + + "STATE_UNSPECIFIED\020\000\022\031\n\025RECONCILIATION_QU" + + "EUED\020\001\022\036\n\032RECONCILIATION_IN_PROGRESS\020\002\022\027" + + "\n\023RECONCILIATION_DONE\020\003\"\252\001\n\022ListEntriesR" + + "equest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n%datacat" + + "alog.googleapis.com/EntryGroup\022\021\n\tpage_s" + + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022-\n\tread_ma" + + "sk\030\004 \001(\0132\032.google.protobuf.FieldMask\"c\n\023" + + "ListEntriesResponse\0223\n\007entries\030\001 \003(\0132\".g" + + "oogle.cloud.datacatalog.v1.Entry\022\027\n\017next" + + "_page_token\030\002 \001(\t\"K\n\020StarEntryRequest\0227\n" + + "\004name\030\001 \001(\tB)\342A\001\002\372A\"\n datacatalog.google" + + "apis.com/Entry\"\023\n\021StarEntryResponse\"M\n\022U" + + "nstarEntryRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"" + + "\n datacatalog.googleapis.com/Entry\"\025\n\023Un" + + "starEntryResponse\"\214\001\n\024ImportEntriesReque" + + "st\0229\n\006parent\030\001 \001(\tB)\342A\001\002\372A\"\022 datacatalog" + + ".googleapis.com/Entry\022\031\n\017gcs_bucket_path" + + "\030\002 \001(\tH\000\022\024\n\006job_id\030\003 \001(\tB\004\342A\001\001B\010\n\006source" + + "\"\225\001\n\025ImportEntriesResponse\022#\n\026upserted_e" + + "ntries_count\030\005 \001(\003H\000\210\001\001\022\"\n\025deleted_entri" + + "es_count\030\006 \001(\003H\001\210\001\001B\031\n\027_upserted_entries" + + "_countB\030\n\026_deleted_entries_count\"\210\002\n\025Imp" + + "ortEntriesMetadata\022M\n\005state\030\001 \001(\0162>.goog" + + "le.cloud.datacatalog.v1.ImportEntriesMet" + + "adata.ImportState\022\"\n\006errors\030\002 \003(\0132\022.goog" + + "le.rpc.Status\"|\n\013ImportState\022\034\n\030IMPORT_S" + + "TATE_UNSPECIFIED\020\000\022\021\n\rIMPORT_QUEUED\020\001\022\026\n" + + "\022IMPORT_IN_PROGRESS\020\002\022\017\n\013IMPORT_DONE\020\003\022\023" + + "\n\017IMPORT_OBSOLETE\020\004\"\237\001\n\032ModifyEntryOverv" + + "iewRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n datac" + + "atalog.googleapis.com/Entry\022H\n\016entry_ove" + + "rview\030\002 \001(\0132*.google.cloud.datacatalog.v" + + "1.EntryOverviewB\004\342A\001\002\"\224\001\n\032ModifyEntryCon" + + "tactsRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n dat" + + "acatalog.googleapis.com/Entry\022=\n\010contact" + + "s\030\002 \001(\0132%.google.cloud.datacatalog.v1.Co" + + "ntactsB\004\342A\001\002*\373\001\n\tEntryType\022\032\n\026ENTRY_TYPE" + + "_UNSPECIFIED\020\000\022\t\n\005TABLE\020\002\022\t\n\005MODEL\020\005\022\017\n\013" + + "DATA_STREAM\020\003\022\013\n\007FILESET\020\004\022\013\n\007CLUSTER\020\006\022" + + "\014\n\010DATABASE\020\007\022\032\n\026DATA_SOURCE_CONNECTION\020" + + "\010\022\013\n\007ROUTINE\020\t\022\010\n\004LAKE\020\n\022\010\n\004ZONE\020\013\022\013\n\007SE" + + "RVICE\020\016\022\023\n\017DATABASE_SCHEMA\020\017\022\r\n\tDASHBOAR" + + "D\020\020\022\013\n\007EXPLORE\020\021\022\010\n\004LOOK\020\0222\300;\n\013DataCatal" + + "og\022\243\001\n\rSearchCatalog\0221.google.cloud.data" + + "catalog.v1.SearchCatalogRequest\0322.google" + + ".cloud.datacatalog.v1.SearchCatalogRespo" + + "nse\"+\332A\013scope,query\202\323\344\223\002\027\"\022/v1/catalog:s" + + "earch:\001*\022\333\001\n\020CreateEntryGroup\0224.google.c" + + "loud.datacatalog.v1.CreateEntryGroupRequ" + + "est\032\'.google.cloud.datacatalog.v1.EntryG" + + "roup\"h\332A!parent,entry_group_id,entry_gro" + + "up\202\323\344\223\002>\"//v1/{parent=projects/*/locatio" + + "ns/*}/entryGroups:\013entry_group\022\274\001\n\rGetEn" + + "tryGroup\0221.google.cloud.datacatalog.v1.G" + + "etEntryGroupRequest\032\'.google.cloud.datac" + + "atalog.v1.EntryGroup\"O\332A\004name\332A\016name,rea" + + "d_mask\202\323\344\223\0021\022//v1/{name=projects/*/locat" + + "ions/*/entryGroups/*}\022\353\001\n\020UpdateEntryGro" + + "up\0224.google.cloud.datacatalog.v1.UpdateE" + + "ntryGroupRequest\032\'.google.cloud.datacata" + + "log.v1.EntryGroup\"x\332A\013entry_group\332A\027entr" + + "y_group,update_mask\202\323\344\223\002J2;/v1/{entry_gr" + + "oup.name=projects/*/locations/*/entryGro" + + "ups/*}:\013entry_group\022\240\001\n\020DeleteEntryGroup" + + "\0224.google.cloud.datacatalog.v1.DeleteEnt" + + "ryGroupRequest\032\026.google.protobuf.Empty\">" + + "\332A\004name\202\323\344\223\0021*//v1/{name=projects/*/loca" + + "tions/*/entryGroups/*}\022\276\001\n\017ListEntryGrou" + + "ps\0223.google.cloud.datacatalog.v1.ListEnt" + + "ryGroupsRequest\0324.google.cloud.datacatal" + + "og.v1.ListEntryGroupsResponse\"@\332A\006parent" + + "\202\323\344\223\0021\022//v1/{parent=projects/*/locations" + + "/*}/entryGroups\022\304\001\n\013CreateEntry\022/.google" + + ".cloud.datacatalog.v1.CreateEntryRequest" + + "\032\".google.cloud.datacatalog.v1.Entry\"`\332A" + + "\025parent,entry_id,entry\202\323\344\223\002B\"9/v1/{paren" + + "t=projects/*/locations/*/entryGroups/*}/" + + "entries:\005entry\022\316\001\n\013UpdateEntry\022/.google." + + "cloud.datacatalog.v1.UpdateEntryRequest\032" + + "\".google.cloud.datacatalog.v1.Entry\"j\332A\005" + + "entry\332A\021entry,update_mask\202\323\344\223\002H2?/v1/{en" + + "try.name=projects/*/locations/*/entryGro" + + "ups/*/entries/*}:\005entry\022\240\001\n\013DeleteEntry\022" + + "/.google.cloud.datacatalog.v1.DeleteEntr" + + "yRequest\032\026.google.protobuf.Empty\"H\332A\004nam" + + "e\202\323\344\223\002;*9/v1/{name=projects/*/locations/" + + "*/entryGroups/*/entries/*}\022\246\001\n\010GetEntry\022" + + ",.google.cloud.datacatalog.v1.GetEntryRe" + + "quest\032\".google.cloud.datacatalog.v1.Entr" + + "y\"H\332A\004name\202\323\344\223\002;\0229/v1/{name=projects/*/l" + + "ocations/*/entryGroups/*/entries/*}\022~\n\013L" + + "ookupEntry\022/.google.cloud.datacatalog.v1" + + ".LookupEntryRequest\032\".google.cloud.datac" + + "atalog.v1.Entry\"\032\202\323\344\223\002\024\022\022/v1/entries:loo" + + "kup\022\274\001\n\013ListEntries\022/.google.cloud.datac" + + "atalog.v1.ListEntriesRequest\0320.google.cl" + + "oud.datacatalog.v1.ListEntriesResponse\"J" + + "\332A\006parent\202\323\344\223\002;\0229/v1/{parent=projects/*/" + + "locations/*/entryGroups/*}/entries\022\324\001\n\023M" + + "odifyEntryOverview\0227.google.cloud.dataca" + + "talog.v1.ModifyEntryOverviewRequest\032*.go" + + "ogle.cloud.datacatalog.v1.EntryOverview\"" + + "X\202\323\344\223\002R\"M/v1/{name=projects/*/locations/" + + "*/entryGroups/*/entries/*}:modifyEntryOv" + + "erview:\001*\022\317\001\n\023ModifyEntryContacts\0227.goog" + + "le.cloud.datacatalog.v1.ModifyEntryConta" + + "ctsRequest\032%.google.cloud.datacatalog.v1" + + ".Contacts\"X\202\323\344\223\002R\"M/v1/{name=projects/*/" + + "locations/*/entryGroups/*/entries/*}:mod" + + "ifyEntryContacts:\001*\022\342\001\n\021CreateTagTemplat" + + "e\0225.google.cloud.datacatalog.v1.CreateTa" + + "gTemplateRequest\032(.google.cloud.datacata" + + "log.v1.TagTemplate\"l\332A#parent,tag_templa" + + "te_id,tag_template\202\323\344\223\002@\"0/v1/{parent=pr" + + "ojects/*/locations/*}/tagTemplates:\014tag_" + + "template\022\257\001\n\016GetTagTemplate\0222.google.clo" + + "ud.datacatalog.v1.GetTagTemplateRequest\032" + + "(.google.cloud.datacatalog.v1.TagTemplat" + + "e\"?\332A\004name\202\323\344\223\0022\0220/v1/{name=projects/*/l" + + "ocations/*/tagTemplates/*}\022\363\001\n\021UpdateTag" + + "Template\0225.google.cloud.datacatalog.v1.U" + + "pdateTagTemplateRequest\032(.google.cloud.d" + + "atacatalog.v1.TagTemplate\"}\332A\014tag_templa" + + "te\332A\030tag_template,update_mask\202\323\344\223\002M2=/v1" + + "/{tag_template.name=projects/*/locations" + + "/*/tagTemplates/*}:\014tag_template\022\251\001\n\021Del" + + "eteTagTemplate\0225.google.cloud.datacatalo" + + "g.v1.DeleteTagTemplateRequest\032\026.google.p" + + "rotobuf.Empty\"E\332A\nname,force\202\323\344\223\0022*0/v1/" + + "{name=projects/*/locations/*/tagTemplate" + + "s/*}\022\215\002\n\026CreateTagTemplateField\022:.google" + + ".cloud.datacatalog.v1.CreateTagTemplateF" + + "ieldRequest\032-.google.cloud.datacatalog.v" + + "1.TagTemplateField\"\207\001\332A/parent,tag_templ" + + "ate_field_id,tag_template_field\202\323\344\223\002O\"9/" + + "v1/{parent=projects/*/locations/*/tagTem" + + "plates/*}/fields:\022tag_template_field\022\233\002\n" + + "\026UpdateTagTemplateField\022:.google.cloud.d" + + "atacatalog.v1.UpdateTagTemplateFieldRequ" + + "est\032-.google.cloud.datacatalog.v1.TagTem" + + "plateField\"\225\001\332A\027name,tag_template_field\332" + + "A#name,tag_template_field,update_mask\202\323\344" + + "\223\002O29/v1/{name=projects/*/locations/*/ta" + + "gTemplates/*/fields/*}:\022tag_template_fie" + + "ld\022\361\001\n\026RenameTagTemplateField\022:.google.c" + + "loud.datacatalog.v1.RenameTagTemplateFie" + + "ldRequest\032-.google.cloud.datacatalog.v1.", + "TagTemplateField\"l\332A\036name,new_tag_templa" + + "te_field_id\202\323\344\223\002E\"@/v1/{name=projects/*/" + + "locations/*/tagTemplates/*/fields/*}:ren" + + "ame:\001*\022\222\002\n\037RenameTagTemplateFieldEnumVal" + + "ue\022C.google.cloud.datacatalog.v1.RenameT" + + "agTemplateFieldEnumValueRequest\032-.google" + + ".cloud.datacatalog.v1.TagTemplateField\"{" + + "\332A name,new_enum_value_display_name\202\323\344\223\002" + + "R\"M/v1/{name=projects/*/locations/*/tagT" + + "emplates/*/fields/*/enumValues/*}:rename" + + ":\001*\022\274\001\n\026DeleteTagTemplateField\022:.google." + + "cloud.datacatalog.v1.DeleteTagTemplateFi" + + "eldRequest\032\026.google.protobuf.Empty\"N\332A\nn" + + "ame,force\202\323\344\223\002;*9/v1/{name=projects/*/lo" + + "cations/*/tagTemplates/*/fields/*}\022\371\001\n\tC" + + "reateTag\022-.google.cloud.datacatalog.v1.C" + + "reateTagRequest\032 .google.cloud.datacatal" + + "og.v1.Tag\"\232\001\332A\nparent,tag\202\323\344\223\002\206\001\"@/v1/{p" + + "arent=projects/*/locations/*/entryGroups" + + "/*/entries/*}/tags:\003tagZ=\"6/v1/{parent=p" + + "rojects/*/locations/*/entryGroups/*}/tag" + + "s:\003tag\022\214\002\n\tUpdateTag\022-.google.cloud.data" + + "catalog.v1.UpdateTagRequest\032 .google.clo" + + "ud.datacatalog.v1.Tag\"\255\001\332A\003tag\332A\017tag,upd" + + "ate_mask\202\323\344\223\002\216\0012D/v1/{tag.name=projects/" + + "*/locations/*/entryGroups/*/entries/*/ta" + + "gs/*}:\003tagZA2:/v1/{tag.name=projects/*/l" + + "ocations/*/entryGroups/*/tags/*}:\003tag\022\336\001" + + "\n\tDeleteTag\022-.google.cloud.datacatalog.v" + + "1.DeleteTagRequest\032\026.google.protobuf.Emp" + + "ty\"\211\001\332A\004name\202\323\344\223\002|*@/v1/{name=projects/*" + + "/locations/*/entryGroups/*/entries/*/tag" + + "s/*}Z8*6/v1/{name=projects/*/locations/*" + + "/entryGroups/*/tags/*}\022\365\001\n\010ListTags\022,.go" + + "ogle.cloud.datacatalog.v1.ListTagsReques" + + "t\032-.google.cloud.datacatalog.v1.ListTags" + + "Response\"\213\001\332A\006parent\202\323\344\223\002|\022@/v1/{parent=" + + "projects/*/locations/*/entryGroups/*/ent" + + "ries/*}/tagsZ8\0226/v1/{parent=projects/*/l" + + "ocations/*/entryGroups/*}/tags\022\352\001\n\rRecon" + + "cileTags\0221.google.cloud.datacatalog.v1.R" + + "econcileTagsRequest\032\035.google.longrunning" + + ".Operation\"\206\001\312A.\n\025ReconcileTagsResponse\022" + + "\025ReconcileTagsMetadata\202\323\344\223\002O\"J/v1/{paren" + + "t=projects/*/locations/*/entryGroups/*/e" + + "ntries/*}/tags:reconcile:\001*\022\274\001\n\tStarEntr" + + "y\022-.google.cloud.datacatalog.v1.StarEntr" + + "yRequest\032..google.cloud.datacatalog.v1.S" + + "tarEntryResponse\"P\332A\004name\202\323\344\223\002C\">/v1/{na" + + "me=projects/*/locations/*/entryGroups/*/" + + "entries/*}:star:\001*\022\304\001\n\013UnstarEntry\022/.goo" + + "gle.cloud.datacatalog.v1.UnstarEntryRequ" + + "est\0320.google.cloud.datacatalog.v1.Unstar" + + "EntryResponse\"R\332A\004name\202\323\344\223\002E\"@/v1/{name=" + + "projects/*/locations/*/entryGroups/*/ent" + + "ries/*}:unstar:\001*\022\362\001\n\014SetIamPolicy\022\".goo" + + "gle.iam.v1.SetIamPolicyRequest\032\025.google." + + "iam.v1.Policy\"\246\001\332A\017resource,policy\202\323\344\223\002\215" + + "\001\"A/v1/{resource=projects/*/locations/*/" + + "tagTemplates/*}:setIamPolicy:\001*ZE\"@/v1/{" + + "resource=projects/*/locations/*/entryGro" + + "ups/*}:setIamPolicy:\001*\022\274\002\n\014GetIamPolicy\022" + + "\".google.iam.v1.GetIamPolicyRequest\032\025.go" + + "ogle.iam.v1.Policy\"\360\001\332A\010resource\202\323\344\223\002\336\001\"" + + "A/v1/{resource=projects/*/locations/*/ta" + + "gTemplates/*}:getIamPolicy:\001*ZE\"@/v1/{re" + + "source=projects/*/locations/*/entryGroup" + + "s/*}:getIamPolicy:\001*ZO\"J/v1/{resource=pr" + + "ojects/*/locations/*/entryGroups/*/entri" + + "es/*}:getIamPolicy:\001*\022\343\002\n\022TestIamPermiss" + + "ions\022(.google.iam.v1.TestIamPermissionsR" + + "equest\032).google.iam.v1.TestIamPermission" + + "sResponse\"\367\001\202\323\344\223\002\360\001\"G/v1/{resource=proje" + + "cts/*/locations/*/tagTemplates/*}:testIa" + + "mPermissions:\001*ZK\"F/v1/{resource=project" + + "s/*/locations/*/entryGroups/*}:testIamPe" + + "rmissions:\001*ZU\"P/v1/{resource=projects/*" + + "/locations/*/entryGroups/*/entries/*}:te" + + "stIamPermissions:\001*\022\337\001\n\rImportEntries\0221." + + "google.cloud.datacatalog.v1.ImportEntrie" + + "sRequest\032\035.google.longrunning.Operation\"" + + "|\312A.\n\025ImportEntriesResponse\022\025ImportEntri" + + "esMetadata\202\323\344\223\002E\"@/v1/{parent=projects/*" + + "/locations/*/entryGroups/*}/entries:impo" + + "rt:\001*\032N\312A\032datacatalog.googleapis.com\322A.h" + + "ttps://www.googleapis.com/auth/cloud-pla" + + "tformB\212\003\n\037com.google.cloud.datacatalog.v" + + "1P\001ZAcloud.google.com/go/datacatalog/api" + + "v1/datacatalogpb;datacatalogpb\370\001\001\252\002\033Goog" + + "le.Cloud.DataCatalog.V1\312\002\033Google\\Cloud\\D" + + "ataCatalog\\V1\352\002\036Google::Cloud::DataCatal" + + "og::V1\352A\300\001\n4datacatalog.googleapis.com/T" + + "agTemplateFieldEnumValue\022\207\001projects/{pro" + + "ject}/locations/{location}/tagTemplates/" + + "{tag_template}/fields/{tag_template_fiel" + + "d_id}/enumValues/{enum_value_display_nam" + + "e}b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.datacatalog.v1.BigQueryProto.getDescriptor(), + com.google.cloud.datacatalog.v1.Common.getDescriptor(), + com.google.cloud.datacatalog.v1.DataSourceProto.getDescriptor(), + com.google.cloud.datacatalog.v1.DataplexSpecProto.getDescriptor(), + com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass.getDescriptor(), + com.google.cloud.datacatalog.v1.SchemaOuterClass.getDescriptor(), + com.google.cloud.datacatalog.v1.Search.getDescriptor(), + com.google.cloud.datacatalog.v1.TableSpecOuterClass.getDescriptor(), + com.google.cloud.datacatalog.v1.Tags.getDescriptor(), + com.google.cloud.datacatalog.v1.Timestamps.getDescriptor(), + com.google.cloud.datacatalog.v1.Usage.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_descriptor, + new java.lang.String[] { "Scope", "Query", "PageSize", "PageToken", "OrderBy", }); + internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_descriptor = + internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_descriptor, + new java.lang.String[] { "IncludeOrgIds", "IncludeProjectIds", "IncludeGcpPublicDatasets", "RestrictedLocations", "StarredOnly", "IncludePublicTagTemplates", }); + internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_descriptor, + new java.lang.String[] { "Results", "TotalSize", "NextPageToken", "Unreachable", }); + internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_descriptor, + new java.lang.String[] { "Parent", "EntryGroupId", "EntryGroup", }); + internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_descriptor, + new java.lang.String[] { "EntryGroup", "UpdateMask", }); + internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_descriptor, + new java.lang.String[] { "Name", "ReadMask", }); + internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_descriptor, + new java.lang.String[] { "Name", "Force", }); + internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_descriptor, + new java.lang.String[] { "EntryGroups", "NextPageToken", }); + internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_descriptor, + new java.lang.String[] { "Parent", "EntryId", "Entry", }); + internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_descriptor, + new java.lang.String[] { "Entry", "UpdateMask", }); + internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_datacatalog_v1_GetEntryRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_datacatalog_v1_GetEntryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_GetEntryRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_descriptor, + new java.lang.String[] { "LinkedResource", "SqlResource", "FullyQualifiedName", "Project", "Location", "TargetName", }); + internal_static_google_cloud_datacatalog_v1_Entry_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_datacatalog_v1_Entry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_Entry_descriptor, + new java.lang.String[] { "Name", "LinkedResource", "FullyQualifiedName", "Type", "UserSpecifiedType", "IntegratedSystem", "UserSpecifiedSystem", "SqlDatabaseSystemSpec", "LookerSystemSpec", "CloudBigtableSystemSpec", "GcsFilesetSpec", "BigqueryTableSpec", "BigqueryDateShardedSpec", "DatabaseTableSpec", "DataSourceConnectionSpec", "RoutineSpec", "FilesetSpec", "ServiceSpec", "DisplayName", "Description", "BusinessContext", "Schema", "SourceSystemTimestamps", "UsageSignal", "Labels", "DataSource", "PersonalDetails", "EntryType", "System", "SystemSpec", "TypeSpec", "Spec", }); + internal_static_google_cloud_datacatalog_v1_Entry_LabelsEntry_descriptor = + internal_static_google_cloud_datacatalog_v1_Entry_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datacatalog_v1_Entry_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_Entry_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_descriptor, + new java.lang.String[] { "Type", "DataplexTable", "DatabaseViewSpec", }); + internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_descriptor = + internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_descriptor, + new java.lang.String[] { "ViewType", "BaseTable", "SqlQuery", "SourceDefinition", }); + internal_static_google_cloud_datacatalog_v1_FilesetSpec_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_datacatalog_v1_FilesetSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_FilesetSpec_descriptor, + new java.lang.String[] { "DataplexFileset", }); + internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_descriptor, + new java.lang.String[] { "BigqueryConnectionSpec", }); + internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_datacatalog_v1_RoutineSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor, + new java.lang.String[] { "RoutineType", "Language", "RoutineArguments", "ReturnType", "DefinitionBody", "BigqueryRoutineSpec", "SystemSpec", }); + internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_descriptor = + internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_descriptor, + new java.lang.String[] { "Name", "Mode", "Type", }); + internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_descriptor, + new java.lang.String[] { "SqlEngine", "DatabaseVersion", "InstanceHost", }); + internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_descriptor, + new java.lang.String[] { "ParentInstanceId", "ParentInstanceDisplayName", "ParentModelId", "ParentModelDisplayName", "ParentViewId", "ParentViewDisplayName", }); + internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_descriptor, + new java.lang.String[] { "InstanceDisplayName", }); + internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_descriptor, + new java.lang.String[] { "CloudBigtableClusterSpecs", }); + internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_descriptor = + internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_descriptor, + new java.lang.String[] { "DisplayName", "Location", "Type", "LinkedResource", }); + internal_static_google_cloud_datacatalog_v1_ServiceSpec_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_datacatalog_v1_ServiceSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ServiceSpec_descriptor, + new java.lang.String[] { "CloudBigtableInstanceSpec", "SystemSpec", }); + internal_static_google_cloud_datacatalog_v1_BusinessContext_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_datacatalog_v1_BusinessContext_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_BusinessContext_descriptor, + new java.lang.String[] { "EntryOverview", "Contacts", }); + internal_static_google_cloud_datacatalog_v1_EntryOverview_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_datacatalog_v1_EntryOverview_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_EntryOverview_descriptor, + new java.lang.String[] { "Overview", }); + internal_static_google_cloud_datacatalog_v1_Contacts_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_datacatalog_v1_Contacts_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_Contacts_descriptor, + new java.lang.String[] { "People", }); + internal_static_google_cloud_datacatalog_v1_Contacts_Person_descriptor = + internal_static_google_cloud_datacatalog_v1_Contacts_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datacatalog_v1_Contacts_Person_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_Contacts_Person_descriptor, + new java.lang.String[] { "Designation", "Email", }); + internal_static_google_cloud_datacatalog_v1_EntryGroup_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_datacatalog_v1_EntryGroup_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_EntryGroup_descriptor, + new java.lang.String[] { "Name", "DisplayName", "Description", "DataCatalogTimestamps", }); + internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_descriptor, + new java.lang.String[] { "Parent", "TagTemplateId", "TagTemplate", }); + internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_descriptor, + new java.lang.String[] { "TagTemplate", "UpdateMask", }); + internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_descriptor, + new java.lang.String[] { "Name", "Force", }); + internal_static_google_cloud_datacatalog_v1_CreateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_cloud_datacatalog_v1_CreateTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_CreateTagRequest_descriptor, + new java.lang.String[] { "Parent", "Tag", }); + internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_descriptor, + new java.lang.String[] { "Tag", "UpdateMask", }); + internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_descriptor, + new java.lang.String[] { "Parent", "TagTemplateFieldId", "TagTemplateField", }); + internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_descriptor, + new java.lang.String[] { "Name", "TagTemplateField", "UpdateMask", }); + internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_descriptor, + new java.lang.String[] { "Name", "NewTagTemplateFieldId", }); + internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_descriptor, + new java.lang.String[] { "Name", "NewEnumValueDisplayName", }); + internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_descriptor, + new java.lang.String[] { "Name", "Force", }); + internal_static_google_cloud_datacatalog_v1_ListTagsRequest_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_cloud_datacatalog_v1_ListTagsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ListTagsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_cloud_datacatalog_v1_ListTagsResponse_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_cloud_datacatalog_v1_ListTagsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ListTagsResponse_descriptor, + new java.lang.String[] { "Tags", "NextPageToken", }); + internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_descriptor, + new java.lang.String[] { "Parent", "TagTemplate", "ForceDeleteMissing", "Tags", }); + internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_descriptor = + getDescriptor().getMessageTypes().get(42); + internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_descriptor, + new java.lang.String[] { "CreatedTagsCount", "UpdatedTagsCount", "DeletedTagsCount", }); + internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_descriptor = + getDescriptor().getMessageTypes().get(43); + internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_descriptor, + new java.lang.String[] { "State", "Errors", }); + internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_ErrorsEntry_descriptor = + internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_ErrorsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_ErrorsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_descriptor = + getDescriptor().getMessageTypes().get(44); + internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "ReadMask", }); + internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_descriptor = + getDescriptor().getMessageTypes().get(45); + internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_descriptor, + new java.lang.String[] { "Entries", "NextPageToken", }); + internal_static_google_cloud_datacatalog_v1_StarEntryRequest_descriptor = + getDescriptor().getMessageTypes().get(46); + internal_static_google_cloud_datacatalog_v1_StarEntryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_StarEntryRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_datacatalog_v1_StarEntryResponse_descriptor = + getDescriptor().getMessageTypes().get(47); + internal_static_google_cloud_datacatalog_v1_StarEntryResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_StarEntryResponse_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_descriptor = + getDescriptor().getMessageTypes().get(48); + internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_descriptor = + getDescriptor().getMessageTypes().get(49); + internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_descriptor = + getDescriptor().getMessageTypes().get(50); + internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_descriptor, + new java.lang.String[] { "Parent", "GcsBucketPath", "JobId", "Source", }); + internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_descriptor = + getDescriptor().getMessageTypes().get(51); + internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_descriptor, + new java.lang.String[] { "UpsertedEntriesCount", "DeletedEntriesCount", "UpsertedEntriesCount", "DeletedEntriesCount", }); + internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_descriptor = + getDescriptor().getMessageTypes().get(52); + internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_descriptor, + new java.lang.String[] { "State", "Errors", }); + internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_descriptor = + getDescriptor().getMessageTypes().get(53); + internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_descriptor, + new java.lang.String[] { "Name", "EntryOverview", }); + internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_descriptor = + getDescriptor().getMessageTypes().get(54); + internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_descriptor, + new java.lang.String[] { "Name", "Contacts", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + 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.datacatalog.v1.BigQueryProto.getDescriptor(); + com.google.cloud.datacatalog.v1.Common.getDescriptor(); + com.google.cloud.datacatalog.v1.DataSourceProto.getDescriptor(); + com.google.cloud.datacatalog.v1.DataplexSpecProto.getDescriptor(); + com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass.getDescriptor(); + com.google.cloud.datacatalog.v1.SchemaOuterClass.getDescriptor(); + com.google.cloud.datacatalog.v1.Search.getDescriptor(); + com.google.cloud.datacatalog.v1.TableSpecOuterClass.getDescriptor(); + com.google.cloud.datacatalog.v1.Tags.getDescriptor(); + com.google.cloud.datacatalog.v1.Timestamps.getDescriptor(); + com.google.cloud.datacatalog.v1.Usage.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTable.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTable.java similarity index 70% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTable.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTable.java index 37137ed73ce0..7e00ab7973a3 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTable.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTable.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/dataplex_spec.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * External table registered by Dataplex.
  * Dataplex publishes data discovered from an asset into multiple other systems
@@ -33,16 +16,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.DataplexExternalTable}
  */
-public final class DataplexExternalTable extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DataplexExternalTable extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.DataplexExternalTable)
     DataplexExternalTableOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DataplexExternalTable.newBuilder() to construct.
   private DataplexExternalTable(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DataplexExternalTable() {
     system_ = 0;
     fullyQualifiedName_ = "";
@@ -52,73 +34,59 @@ private DataplexExternalTable() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DataplexExternalTable();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.DataplexSpecProto
-        .internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.DataplexSpecProto
-        .internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.DataplexExternalTable.class,
-            com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder.class);
+            com.google.cloud.datacatalog.v1.DataplexExternalTable.class, com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder.class);
   }
 
   public static final int SYSTEM_FIELD_NUMBER = 1;
   private int system_ = 0;
   /**
-   *
-   *
    * 
    * Service in which the external table is registered.
    * 
* * .google.cloud.datacatalog.v1.IntegratedSystem system = 1; - * * @return The enum numeric value on the wire for system. */ - @java.lang.Override - public int getSystemValue() { + @java.lang.Override public int getSystemValue() { return system_; } /** - * - * *
    * Service in which the external table is registered.
    * 
* * .google.cloud.datacatalog.v1.IntegratedSystem system = 1; - * * @return The system. */ - @java.lang.Override - public com.google.cloud.datacatalog.v1.IntegratedSystem getSystem() { - com.google.cloud.datacatalog.v1.IntegratedSystem result = - com.google.cloud.datacatalog.v1.IntegratedSystem.forNumber(system_); + @java.lang.Override public com.google.cloud.datacatalog.v1.IntegratedSystem getSystem() { + com.google.cloud.datacatalog.v1.IntegratedSystem result = com.google.cloud.datacatalog.v1.IntegratedSystem.forNumber(system_); return result == null ? com.google.cloud.datacatalog.v1.IntegratedSystem.UNRECOGNIZED : result; } public static final int FULLY_QUALIFIED_NAME_FIELD_NUMBER = 28; - @SuppressWarnings("serial") private volatile java.lang.Object fullyQualifiedName_ = ""; /** - * - * *
    * Fully qualified name (FQN) of the external table.
    * 
* * string fully_qualified_name = 28; - * * @return The fullyQualifiedName. */ @java.lang.Override @@ -127,29 +95,29 @@ public java.lang.String getFullyQualifiedName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullyQualifiedName_ = s; return s; } } /** - * - * *
    * Fully qualified name (FQN) of the external table.
    * 
* * string fully_qualified_name = 28; - * * @return The bytes for fullyQualifiedName. */ @java.lang.Override - public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { + public com.google.protobuf.ByteString + getFullyQualifiedNameBytes() { java.lang.Object ref = fullyQualifiedName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fullyQualifiedName_ = b; return b; } else { @@ -158,18 +126,14 @@ public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { } public static final int GOOGLE_CLOUD_RESOURCE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object googleCloudResource_ = ""; /** - * - * *
    * Google Cloud resource name of the external table.
    * 
* * string google_cloud_resource = 3; - * * @return The googleCloudResource. */ @java.lang.Override @@ -178,29 +142,29 @@ public java.lang.String getGoogleCloudResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); googleCloudResource_ = s; return s; } } /** - * - * *
    * Google Cloud resource name of the external table.
    * 
* * string google_cloud_resource = 3; - * * @return The bytes for googleCloudResource. */ @java.lang.Override - public com.google.protobuf.ByteString getGoogleCloudResourceBytes() { + public com.google.protobuf.ByteString + getGoogleCloudResourceBytes() { java.lang.Object ref = googleCloudResource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); googleCloudResource_ = b; return b; } else { @@ -209,18 +173,14 @@ public com.google.protobuf.ByteString getGoogleCloudResourceBytes() { } public static final int DATA_CATALOG_ENTRY_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object dataCatalogEntry_ = ""; /** - * - * *
    * Name of the Data Catalog entry representing the external table.
    * 
* * string data_catalog_entry = 4; - * * @return The dataCatalogEntry. */ @java.lang.Override @@ -229,29 +189,29 @@ public java.lang.String getDataCatalogEntry() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataCatalogEntry_ = s; return s; } } /** - * - * *
    * Name of the Data Catalog entry representing the external table.
    * 
* * string data_catalog_entry = 4; - * * @return The bytes for dataCatalogEntry. */ @java.lang.Override - public com.google.protobuf.ByteString getDataCatalogEntryBytes() { + public com.google.protobuf.ByteString + getDataCatalogEntryBytes() { java.lang.Object ref = dataCatalogEntry_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataCatalogEntry_ = b; return b; } else { @@ -260,7 +220,6 @@ public com.google.protobuf.ByteString getDataCatalogEntryBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -272,10 +231,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (system_ - != com.google.cloud.datacatalog.v1.IntegratedSystem.INTEGRATED_SYSTEM_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (system_ != com.google.cloud.datacatalog.v1.IntegratedSystem.INTEGRATED_SYSTEM_UNSPECIFIED.getNumber()) { output.writeEnum(1, system_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(googleCloudResource_)) { @@ -296,10 +254,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (system_ - != com.google.cloud.datacatalog.v1.IntegratedSystem.INTEGRATED_SYSTEM_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, system_); + if (system_ != com.google.cloud.datacatalog.v1.IntegratedSystem.INTEGRATED_SYSTEM_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, system_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(googleCloudResource_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, googleCloudResource_); @@ -318,18 +275,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.datacatalog.v1.DataplexExternalTable)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.DataplexExternalTable other = - (com.google.cloud.datacatalog.v1.DataplexExternalTable) obj; + com.google.cloud.datacatalog.v1.DataplexExternalTable other = (com.google.cloud.datacatalog.v1.DataplexExternalTable) obj; if (system_ != other.system_) return false; - if (!getFullyQualifiedName().equals(other.getFullyQualifiedName())) return false; - if (!getGoogleCloudResource().equals(other.getGoogleCloudResource())) return false; - if (!getDataCatalogEntry().equals(other.getDataCatalogEntry())) return false; + if (!getFullyQualifiedName() + .equals(other.getFullyQualifiedName())) return false; + if (!getGoogleCloudResource() + .equals(other.getGoogleCloudResource())) return false; + if (!getDataCatalogEntry() + .equals(other.getDataCatalogEntry())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -355,104 +314,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.DataplexExternalTable parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DataplexExternalTable parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DataplexExternalTable parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DataplexExternalTable parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DataplexExternalTable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DataplexExternalTable parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.DataplexExternalTable parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DataplexExternalTable parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.DataplexExternalTable parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DataplexExternalTable parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DataplexExternalTable parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.DataplexExternalTable parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DataplexExternalTable parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.DataplexExternalTable parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.DataplexExternalTable prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.DataplexExternalTable prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * External table registered by Dataplex.
    * Dataplex publishes data discovered from an asset into multiple other systems
@@ -465,32 +418,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.DataplexExternalTable}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.DataplexExternalTable)
       com.google.cloud.datacatalog.v1.DataplexExternalTableOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.DataplexSpecProto
-          .internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.DataplexSpecProto
-          .internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.DataplexExternalTable.class,
-              com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder.class);
+              com.google.cloud.datacatalog.v1.DataplexExternalTable.class, com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.DataplexExternalTable.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -503,9 +457,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.DataplexSpecProto
-          .internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_descriptor;
     }
 
     @java.lang.Override
@@ -524,11 +478,8 @@ public com.google.cloud.datacatalog.v1.DataplexExternalTable build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.DataplexExternalTable buildPartial() {
-      com.google.cloud.datacatalog.v1.DataplexExternalTable result =
-          new com.google.cloud.datacatalog.v1.DataplexExternalTable(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.DataplexExternalTable result = new com.google.cloud.datacatalog.v1.DataplexExternalTable(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -553,39 +504,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DataplexExternalTable
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.DataplexExternalTable) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.DataplexExternalTable) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.DataplexExternalTable)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -593,8 +543,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.DataplexExternalTable other) {
-      if (other == com.google.cloud.datacatalog.v1.DataplexExternalTable.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.DataplexExternalTable.getDefaultInstance()) return this;
       if (other.system_ != 0) {
         setSystemValue(other.getSystemValue());
       }
@@ -639,37 +588,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                system_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 26:
-              {
-                googleCloudResource_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                dataCatalogEntry_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 226:
-              {
-                fullyQualifiedName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 226
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              system_ = input.readEnum();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 26: {
+              googleCloudResource_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              dataCatalogEntry_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 226: {
+              fullyQualifiedName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 226
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -679,34 +623,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int system_ = 0;
     /**
-     *
-     *
      * 
      * Service in which the external table is registered.
      * 
* * .google.cloud.datacatalog.v1.IntegratedSystem system = 1; - * * @return The enum numeric value on the wire for system. */ - @java.lang.Override - public int getSystemValue() { + @java.lang.Override public int getSystemValue() { return system_; } /** - * - * *
      * Service in which the external table is registered.
      * 
* * .google.cloud.datacatalog.v1.IntegratedSystem system = 1; - * * @param value The enum numeric value on the wire for system to set. * @return This builder for chaining. */ @@ -717,33 +653,24 @@ public Builder setSystemValue(int value) { return this; } /** - * - * *
      * Service in which the external table is registered.
      * 
* * .google.cloud.datacatalog.v1.IntegratedSystem system = 1; - * * @return The system. */ @java.lang.Override public com.google.cloud.datacatalog.v1.IntegratedSystem getSystem() { - com.google.cloud.datacatalog.v1.IntegratedSystem result = - com.google.cloud.datacatalog.v1.IntegratedSystem.forNumber(system_); - return result == null - ? com.google.cloud.datacatalog.v1.IntegratedSystem.UNRECOGNIZED - : result; + com.google.cloud.datacatalog.v1.IntegratedSystem result = com.google.cloud.datacatalog.v1.IntegratedSystem.forNumber(system_); + return result == null ? com.google.cloud.datacatalog.v1.IntegratedSystem.UNRECOGNIZED : result; } /** - * - * *
      * Service in which the external table is registered.
      * 
* * .google.cloud.datacatalog.v1.IntegratedSystem system = 1; - * * @param value The system to set. * @return This builder for chaining. */ @@ -757,14 +684,11 @@ public Builder setSystem(com.google.cloud.datacatalog.v1.IntegratedSystem value) return this; } /** - * - * *
      * Service in which the external table is registered.
      * 
* * .google.cloud.datacatalog.v1.IntegratedSystem system = 1; - * * @return This builder for chaining. */ public Builder clearSystem() { @@ -776,20 +700,18 @@ public Builder clearSystem() { private java.lang.Object fullyQualifiedName_ = ""; /** - * - * *
      * Fully qualified name (FQN) of the external table.
      * 
* * string fully_qualified_name = 28; - * * @return The fullyQualifiedName. */ public java.lang.String getFullyQualifiedName() { java.lang.Object ref = fullyQualifiedName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullyQualifiedName_ = s; return s; @@ -798,21 +720,20 @@ public java.lang.String getFullyQualifiedName() { } } /** - * - * *
      * Fully qualified name (FQN) of the external table.
      * 
* * string fully_qualified_name = 28; - * * @return The bytes for fullyQualifiedName. */ - public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { + public com.google.protobuf.ByteString + getFullyQualifiedNameBytes() { java.lang.Object ref = fullyQualifiedName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fullyQualifiedName_ = b; return b; } else { @@ -820,35 +741,28 @@ public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { } } /** - * - * *
      * Fully qualified name (FQN) of the external table.
      * 
* * string fully_qualified_name = 28; - * * @param value The fullyQualifiedName to set. * @return This builder for chaining. */ - public Builder setFullyQualifiedName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFullyQualifiedName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } fullyQualifiedName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Fully qualified name (FQN) of the external table.
      * 
* * string fully_qualified_name = 28; - * * @return This builder for chaining. */ public Builder clearFullyQualifiedName() { @@ -858,21 +772,17 @@ public Builder clearFullyQualifiedName() { return this; } /** - * - * *
      * Fully qualified name (FQN) of the external table.
      * 
* * string fully_qualified_name = 28; - * * @param value The bytes for fullyQualifiedName to set. * @return This builder for chaining. */ - public Builder setFullyQualifiedNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFullyQualifiedNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fullyQualifiedName_ = value; bitField0_ |= 0x00000002; @@ -882,20 +792,18 @@ public Builder setFullyQualifiedNameBytes(com.google.protobuf.ByteString value) private java.lang.Object googleCloudResource_ = ""; /** - * - * *
      * Google Cloud resource name of the external table.
      * 
* * string google_cloud_resource = 3; - * * @return The googleCloudResource. */ public java.lang.String getGoogleCloudResource() { java.lang.Object ref = googleCloudResource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); googleCloudResource_ = s; return s; @@ -904,21 +812,20 @@ public java.lang.String getGoogleCloudResource() { } } /** - * - * *
      * Google Cloud resource name of the external table.
      * 
* * string google_cloud_resource = 3; - * * @return The bytes for googleCloudResource. */ - public com.google.protobuf.ByteString getGoogleCloudResourceBytes() { + public com.google.protobuf.ByteString + getGoogleCloudResourceBytes() { java.lang.Object ref = googleCloudResource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); googleCloudResource_ = b; return b; } else { @@ -926,35 +833,28 @@ public com.google.protobuf.ByteString getGoogleCloudResourceBytes() { } } /** - * - * *
      * Google Cloud resource name of the external table.
      * 
* * string google_cloud_resource = 3; - * * @param value The googleCloudResource to set. * @return This builder for chaining. */ - public Builder setGoogleCloudResource(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setGoogleCloudResource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } googleCloudResource_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Google Cloud resource name of the external table.
      * 
* * string google_cloud_resource = 3; - * * @return This builder for chaining. */ public Builder clearGoogleCloudResource() { @@ -964,21 +864,17 @@ public Builder clearGoogleCloudResource() { return this; } /** - * - * *
      * Google Cloud resource name of the external table.
      * 
* * string google_cloud_resource = 3; - * * @param value The bytes for googleCloudResource to set. * @return This builder for chaining. */ - public Builder setGoogleCloudResourceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setGoogleCloudResourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); googleCloudResource_ = value; bitField0_ |= 0x00000004; @@ -988,20 +884,18 @@ public Builder setGoogleCloudResourceBytes(com.google.protobuf.ByteString value) private java.lang.Object dataCatalogEntry_ = ""; /** - * - * *
      * Name of the Data Catalog entry representing the external table.
      * 
* * string data_catalog_entry = 4; - * * @return The dataCatalogEntry. */ public java.lang.String getDataCatalogEntry() { java.lang.Object ref = dataCatalogEntry_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataCatalogEntry_ = s; return s; @@ -1010,21 +904,20 @@ public java.lang.String getDataCatalogEntry() { } } /** - * - * *
      * Name of the Data Catalog entry representing the external table.
      * 
* * string data_catalog_entry = 4; - * * @return The bytes for dataCatalogEntry. */ - public com.google.protobuf.ByteString getDataCatalogEntryBytes() { + public com.google.protobuf.ByteString + getDataCatalogEntryBytes() { java.lang.Object ref = dataCatalogEntry_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataCatalogEntry_ = b; return b; } else { @@ -1032,35 +925,28 @@ public com.google.protobuf.ByteString getDataCatalogEntryBytes() { } } /** - * - * *
      * Name of the Data Catalog entry representing the external table.
      * 
* * string data_catalog_entry = 4; - * * @param value The dataCatalogEntry to set. * @return This builder for chaining. */ - public Builder setDataCatalogEntry(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataCatalogEntry( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } dataCatalogEntry_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Name of the Data Catalog entry representing the external table.
      * 
* * string data_catalog_entry = 4; - * * @return This builder for chaining. */ public Builder clearDataCatalogEntry() { @@ -1070,30 +956,26 @@ public Builder clearDataCatalogEntry() { return this; } /** - * - * *
      * Name of the Data Catalog entry representing the external table.
      * 
* * string data_catalog_entry = 4; - * * @param value The bytes for dataCatalogEntry to set. * @return This builder for chaining. */ - public Builder setDataCatalogEntryBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataCatalogEntryBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dataCatalogEntry_ = 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); } @@ -1103,12 +985,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.DataplexExternalTable) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DataplexExternalTable) private static final com.google.cloud.datacatalog.v1.DataplexExternalTable DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DataplexExternalTable(); } @@ -1117,27 +999,27 @@ public static com.google.cloud.datacatalog.v1.DataplexExternalTable getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataplexExternalTable parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataplexExternalTable parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1152,4 +1034,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.DataplexExternalTable getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTableOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTableOrBuilder.java similarity index 68% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTableOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTableOrBuilder.java index 8f34c2d90397..c1b9528d1c1d 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTableOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTableOrBuilder.java @@ -1,125 +1,88 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/dataplex_spec.proto package com.google.cloud.datacatalog.v1; -public interface DataplexExternalTableOrBuilder - extends +public interface DataplexExternalTableOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DataplexExternalTable) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Service in which the external table is registered.
    * 
* * .google.cloud.datacatalog.v1.IntegratedSystem system = 1; - * * @return The enum numeric value on the wire for system. */ int getSystemValue(); /** - * - * *
    * Service in which the external table is registered.
    * 
* * .google.cloud.datacatalog.v1.IntegratedSystem system = 1; - * * @return The system. */ com.google.cloud.datacatalog.v1.IntegratedSystem getSystem(); /** - * - * *
    * Fully qualified name (FQN) of the external table.
    * 
* * string fully_qualified_name = 28; - * * @return The fullyQualifiedName. */ java.lang.String getFullyQualifiedName(); /** - * - * *
    * Fully qualified name (FQN) of the external table.
    * 
* * string fully_qualified_name = 28; - * * @return The bytes for fullyQualifiedName. */ - com.google.protobuf.ByteString getFullyQualifiedNameBytes(); + com.google.protobuf.ByteString + getFullyQualifiedNameBytes(); /** - * - * *
    * Google Cloud resource name of the external table.
    * 
* * string google_cloud_resource = 3; - * * @return The googleCloudResource. */ java.lang.String getGoogleCloudResource(); /** - * - * *
    * Google Cloud resource name of the external table.
    * 
* * string google_cloud_resource = 3; - * * @return The bytes for googleCloudResource. */ - com.google.protobuf.ByteString getGoogleCloudResourceBytes(); + com.google.protobuf.ByteString + getGoogleCloudResourceBytes(); /** - * - * *
    * Name of the Data Catalog entry representing the external table.
    * 
* * string data_catalog_entry = 4; - * * @return The dataCatalogEntry. */ java.lang.String getDataCatalogEntry(); /** - * - * *
    * Name of the Data Catalog entry representing the external table.
    * 
* * string data_catalog_entry = 4; - * * @return The bytes for dataCatalogEntry. */ - com.google.protobuf.ByteString getDataCatalogEntryBytes(); + com.google.protobuf.ByteString + getDataCatalogEntryBytes(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpec.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpec.java similarity index 65% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpec.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpec.java index 290097434274..69581c365827 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpec.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpec.java @@ -1,76 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/dataplex_spec.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Entry specyfication for a Dataplex fileset.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.DataplexFilesetSpec} */ -public final class DataplexFilesetSpec extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DataplexFilesetSpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.DataplexFilesetSpec) DataplexFilesetSpecOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DataplexFilesetSpec.newBuilder() to construct. private DataplexFilesetSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DataplexFilesetSpec() {} + private DataplexFilesetSpec() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DataplexFilesetSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.DataplexSpecProto - .internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.DataplexSpecProto - .internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.DataplexFilesetSpec.class, - com.google.cloud.datacatalog.v1.DataplexFilesetSpec.Builder.class); + com.google.cloud.datacatalog.v1.DataplexFilesetSpec.class, com.google.cloud.datacatalog.v1.DataplexFilesetSpec.Builder.class); } public static final int DATAPLEX_SPEC_FIELD_NUMBER = 1; private com.google.cloud.datacatalog.v1.DataplexSpec dataplexSpec_; /** - * - * *
    * Common Dataplex fields.
    * 
* * .google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 1; - * * @return Whether the dataplexSpec field is set. */ @java.lang.Override @@ -78,25 +57,18 @@ public boolean hasDataplexSpec() { return dataplexSpec_ != null; } /** - * - * *
    * Common Dataplex fields.
    * 
* * .google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 1; - * * @return The dataplexSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.DataplexSpec getDataplexSpec() { - return dataplexSpec_ == null - ? com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance() - : dataplexSpec_; + return dataplexSpec_ == null ? com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance() : dataplexSpec_; } /** - * - * *
    * Common Dataplex fields.
    * 
@@ -105,13 +77,10 @@ public com.google.cloud.datacatalog.v1.DataplexSpec getDataplexSpec() { */ @java.lang.Override public com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder getDataplexSpecOrBuilder() { - return dataplexSpec_ == null - ? com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance() - : dataplexSpec_; + return dataplexSpec_ == null ? com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance() : dataplexSpec_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -123,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 (dataplexSpec_ != null) { output.writeMessage(1, getDataplexSpec()); } @@ -137,7 +107,8 @@ public int getSerializedSize() { size = 0; if (dataplexSpec_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDataplexSpec()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getDataplexSpec()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -147,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.datacatalog.v1.DataplexFilesetSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.DataplexFilesetSpec other = - (com.google.cloud.datacatalog.v1.DataplexFilesetSpec) obj; + com.google.cloud.datacatalog.v1.DataplexFilesetSpec other = (com.google.cloud.datacatalog.v1.DataplexFilesetSpec) obj; if (hasDataplexSpec() != other.hasDataplexSpec()) return false; if (hasDataplexSpec()) { - if (!getDataplexSpec().equals(other.getDataplexSpec())) return false; + if (!getDataplexSpec() + .equals(other.getDataplexSpec())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -180,135 +151,131 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.DataplexFilesetSpec parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DataplexFilesetSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DataplexFilesetSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DataplexFilesetSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DataplexFilesetSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DataplexFilesetSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.DataplexFilesetSpec parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DataplexFilesetSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.DataplexFilesetSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DataplexFilesetSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DataplexFilesetSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.DataplexFilesetSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DataplexFilesetSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.DataplexFilesetSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.DataplexFilesetSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Entry specyfication for a Dataplex fileset.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.DataplexFilesetSpec} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.DataplexFilesetSpec) com.google.cloud.datacatalog.v1.DataplexFilesetSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.DataplexSpecProto - .internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.DataplexSpecProto - .internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.DataplexFilesetSpec.class, - com.google.cloud.datacatalog.v1.DataplexFilesetSpec.Builder.class); + com.google.cloud.datacatalog.v1.DataplexFilesetSpec.class, com.google.cloud.datacatalog.v1.DataplexFilesetSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.DataplexFilesetSpec.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.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 +289,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.DataplexSpecProto - .internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_descriptor; } @java.lang.Override @@ -343,11 +310,8 @@ public com.google.cloud.datacatalog.v1.DataplexFilesetSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1.DataplexFilesetSpec buildPartial() { - com.google.cloud.datacatalog.v1.DataplexFilesetSpec result = - new com.google.cloud.datacatalog.v1.DataplexFilesetSpec(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1.DataplexFilesetSpec result = new com.google.cloud.datacatalog.v1.DataplexFilesetSpec(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -355,8 +319,9 @@ public com.google.cloud.datacatalog.v1.DataplexFilesetSpec buildPartial() { private void buildPartial0(com.google.cloud.datacatalog.v1.DataplexFilesetSpec result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.dataplexSpec_ = - dataplexSpecBuilder_ == null ? dataplexSpec_ : dataplexSpecBuilder_.build(); + result.dataplexSpec_ = dataplexSpecBuilder_ == null + ? dataplexSpec_ + : dataplexSpecBuilder_.build(); } } @@ -364,39 +329,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DataplexFilesetSpec 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.datacatalog.v1.DataplexFilesetSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1.DataplexFilesetSpec) other); + return mergeFrom((com.google.cloud.datacatalog.v1.DataplexFilesetSpec)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.datacatalog.v1.DataplexFilesetSpec other) { - if (other == com.google.cloud.datacatalog.v1.DataplexFilesetSpec.getDefaultInstance()) - return this; + if (other == com.google.cloud.datacatalog.v1.DataplexFilesetSpec.getDefaultInstance()) return this; if (other.hasDataplexSpec()) { mergeDataplexSpec(other.getDataplexSpec()); } @@ -435,19 +398,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getDataplexSpecFieldBuilder().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( + getDataplexSpecFieldBuilder().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) { @@ -457,52 +420,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.datacatalog.v1.DataplexSpec dataplexSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.DataplexSpec, - com.google.cloud.datacatalog.v1.DataplexSpec.Builder, - com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder> - dataplexSpecBuilder_; + com.google.cloud.datacatalog.v1.DataplexSpec, com.google.cloud.datacatalog.v1.DataplexSpec.Builder, com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder> dataplexSpecBuilder_; /** - * - * *
      * Common Dataplex fields.
      * 
* * .google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 1; - * * @return Whether the dataplexSpec field is set. */ public boolean hasDataplexSpec() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Common Dataplex fields.
      * 
* * .google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 1; - * * @return The dataplexSpec. */ public com.google.cloud.datacatalog.v1.DataplexSpec getDataplexSpec() { if (dataplexSpecBuilder_ == null) { - return dataplexSpec_ == null - ? com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance() - : dataplexSpec_; + return dataplexSpec_ == null ? com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance() : dataplexSpec_; } else { return dataplexSpecBuilder_.getMessage(); } } /** - * - * *
      * Common Dataplex fields.
      * 
@@ -523,8 +472,6 @@ public Builder setDataplexSpec(com.google.cloud.datacatalog.v1.DataplexSpec valu return this; } /** - * - * *
      * Common Dataplex fields.
      * 
@@ -543,8 +490,6 @@ public Builder setDataplexSpec( return this; } /** - * - * *
      * Common Dataplex fields.
      * 
@@ -553,9 +498,9 @@ public Builder setDataplexSpec( */ public Builder mergeDataplexSpec(com.google.cloud.datacatalog.v1.DataplexSpec value) { if (dataplexSpecBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && dataplexSpec_ != null - && dataplexSpec_ != com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + dataplexSpec_ != null && + dataplexSpec_ != com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance()) { getDataplexSpecBuilder().mergeFrom(value); } else { dataplexSpec_ = value; @@ -568,8 +513,6 @@ public Builder mergeDataplexSpec(com.google.cloud.datacatalog.v1.DataplexSpec va return this; } /** - * - * *
      * Common Dataplex fields.
      * 
@@ -587,8 +530,6 @@ public Builder clearDataplexSpec() { return this; } /** - * - * *
      * Common Dataplex fields.
      * 
@@ -601,8 +542,6 @@ public com.google.cloud.datacatalog.v1.DataplexSpec.Builder getDataplexSpecBuild return getDataplexSpecFieldBuilder().getBuilder(); } /** - * - * *
      * Common Dataplex fields.
      * 
@@ -613,14 +552,11 @@ public com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder getDataplexSpecOrBu if (dataplexSpecBuilder_ != null) { return dataplexSpecBuilder_.getMessageOrBuilder(); } else { - return dataplexSpec_ == null - ? com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance() - : dataplexSpec_; + return dataplexSpec_ == null ? + com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance() : dataplexSpec_; } } /** - * - * *
      * Common Dataplex fields.
      * 
@@ -628,24 +564,21 @@ public com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder getDataplexSpecOrBu * .google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.DataplexSpec, - com.google.cloud.datacatalog.v1.DataplexSpec.Builder, - com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder> + com.google.cloud.datacatalog.v1.DataplexSpec, com.google.cloud.datacatalog.v1.DataplexSpec.Builder, com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder> getDataplexSpecFieldBuilder() { if (dataplexSpecBuilder_ == null) { - dataplexSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.DataplexSpec, - com.google.cloud.datacatalog.v1.DataplexSpec.Builder, - com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder>( - getDataplexSpec(), getParentForChildren(), isClean()); + dataplexSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.DataplexSpec, com.google.cloud.datacatalog.v1.DataplexSpec.Builder, com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder>( + getDataplexSpec(), + getParentForChildren(), + isClean()); dataplexSpec_ = null; } return dataplexSpecBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -655,12 +588,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.DataplexFilesetSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DataplexFilesetSpec) private static final com.google.cloud.datacatalog.v1.DataplexFilesetSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DataplexFilesetSpec(); } @@ -669,27 +602,27 @@ public static com.google.cloud.datacatalog.v1.DataplexFilesetSpec getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataplexFilesetSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataplexFilesetSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -704,4 +637,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.DataplexFilesetSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpecOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpecOrBuilder.java similarity index 59% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpecOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpecOrBuilder.java index 2c297ed2c80a..111c8a153491 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpecOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpecOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/dataplex_spec.proto package com.google.cloud.datacatalog.v1; -public interface DataplexFilesetSpecOrBuilder - extends +public interface DataplexFilesetSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DataplexFilesetSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Common Dataplex fields.
    * 
* * .google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 1; - * * @return Whether the dataplexSpec field is set. */ boolean hasDataplexSpec(); /** - * - * *
    * Common Dataplex fields.
    * 
* * .google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 1; - * * @return The dataplexSpec. */ com.google.cloud.datacatalog.v1.DataplexSpec getDataplexSpec(); /** - * - * *
    * Common Dataplex fields.
    * 
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpec.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpec.java similarity index 70% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpec.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpec.java index 46caf875e6a0..55747646182e 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpec.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpec.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/dataplex_spec.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Common Dataplex fields.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.DataplexSpec} */ -public final class DataplexSpec extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DataplexSpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.DataplexSpec) DataplexSpecOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DataplexSpec.newBuilder() to construct. private DataplexSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DataplexSpec() { asset_ = ""; compressionFormat_ = ""; @@ -45,32 +27,28 @@ private DataplexSpec() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DataplexSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.DataplexSpecProto - .internal_static_google_cloud_datacatalog_v1_DataplexSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.DataplexSpecProto - .internal_static_google_cloud_datacatalog_v1_DataplexSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.DataplexSpec.class, - com.google.cloud.datacatalog.v1.DataplexSpec.Builder.class); + com.google.cloud.datacatalog.v1.DataplexSpec.class, com.google.cloud.datacatalog.v1.DataplexSpec.Builder.class); } public static final int ASSET_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object asset_ = ""; /** - * - * *
    * Fully qualified resource name of an asset in Dataplex, to which the
    * underlying data source (Cloud Storage bucket or BigQuery dataset) of the
@@ -78,7 +56,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string asset = 1; - * * @return The asset. */ @java.lang.Override @@ -87,15 +64,14 @@ public java.lang.String getAsset() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); asset_ = s; return s; } } /** - * - * *
    * Fully qualified resource name of an asset in Dataplex, to which the
    * underlying data source (Cloud Storage bucket or BigQuery dataset) of the
@@ -103,15 +79,16 @@ public java.lang.String getAsset() {
    * 
* * 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 { @@ -122,14 +99,11 @@ public com.google.protobuf.ByteString getAssetBytes() { public static final int DATA_FORMAT_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1.PhysicalSchema dataFormat_; /** - * - * *
    * Format of the data.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema data_format = 2; - * * @return Whether the dataFormat field is set. */ @java.lang.Override @@ -137,25 +111,18 @@ public boolean hasDataFormat() { return dataFormat_ != null; } /** - * - * *
    * Format of the data.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema data_format = 2; - * * @return The dataFormat. */ @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema getDataFormat() { - return dataFormat_ == null - ? com.google.cloud.datacatalog.v1.PhysicalSchema.getDefaultInstance() - : dataFormat_; + return dataFormat_ == null ? com.google.cloud.datacatalog.v1.PhysicalSchema.getDefaultInstance() : dataFormat_; } /** - * - * *
    * Format of the data.
    * 
@@ -164,24 +131,18 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema getDataFormat() { */ @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchemaOrBuilder getDataFormatOrBuilder() { - return dataFormat_ == null - ? com.google.cloud.datacatalog.v1.PhysicalSchema.getDefaultInstance() - : dataFormat_; + return dataFormat_ == null ? com.google.cloud.datacatalog.v1.PhysicalSchema.getDefaultInstance() : dataFormat_; } public static final int COMPRESSION_FORMAT_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object compressionFormat_ = ""; /** - * - * *
    * Compression format of the data, e.g., zip, gzip etc.
    * 
* * string compression_format = 3; - * * @return The compressionFormat. */ @java.lang.Override @@ -190,29 +151,29 @@ public java.lang.String getCompressionFormat() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); compressionFormat_ = s; return s; } } /** - * - * *
    * Compression format of the data, e.g., zip, gzip etc.
    * 
* * string compression_format = 3; - * * @return The bytes for compressionFormat. */ @java.lang.Override - public com.google.protobuf.ByteString getCompressionFormatBytes() { + public com.google.protobuf.ByteString + getCompressionFormatBytes() { java.lang.Object ref = compressionFormat_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); compressionFormat_ = b; return b; } else { @@ -221,12 +182,9 @@ public com.google.protobuf.ByteString getCompressionFormatBytes() { } public static final int PROJECT_ID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Project ID of the underlying Cloud Storage or BigQuery data. Note that
    * this may not be the same project as the correspondingly Dataplex lake /
@@ -234,7 +192,6 @@ public com.google.protobuf.ByteString getCompressionFormatBytes() {
    * 
* * string project_id = 4; - * * @return The projectId. */ @java.lang.Override @@ -243,15 +200,14 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Project ID of the underlying Cloud Storage or BigQuery data. Note that
    * this may not be the same project as the correspondingly Dataplex lake /
@@ -259,15 +215,16 @@ public java.lang.String getProjectId() {
    * 
* * string project_id = 4; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -276,7 +233,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -288,7 +244,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(asset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, asset_); } @@ -314,7 +271,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, asset_); } if (dataFormat_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDataFormat()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getDataFormat()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(compressionFormat_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, compressionFormat_); @@ -330,21 +288,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.datacatalog.v1.DataplexSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.DataplexSpec other = - (com.google.cloud.datacatalog.v1.DataplexSpec) obj; + com.google.cloud.datacatalog.v1.DataplexSpec other = (com.google.cloud.datacatalog.v1.DataplexSpec) obj; - if (!getAsset().equals(other.getAsset())) return false; + if (!getAsset() + .equals(other.getAsset())) return false; if (hasDataFormat() != other.hasDataFormat()) return false; if (hasDataFormat()) { - if (!getDataFormat().equals(other.getDataFormat())) return false; + if (!getDataFormat() + .equals(other.getDataFormat())) return false; } - if (!getCompressionFormat().equals(other.getCompressionFormat())) return false; - if (!getProjectId().equals(other.getProjectId())) return false; + if (!getCompressionFormat() + .equals(other.getCompressionFormat())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -371,136 +332,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.DataplexSpec parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.DataplexSpec parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DataplexSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DataplexSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DataplexSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DataplexSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DataplexSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DataplexSpec parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.DataplexSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DataplexSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DataplexSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.DataplexSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DataplexSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.DataplexSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.DataplexSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Common Dataplex fields.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.DataplexSpec} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.DataplexSpec) com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.DataplexSpecProto - .internal_static_google_cloud_datacatalog_v1_DataplexSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.DataplexSpecProto - .internal_static_google_cloud_datacatalog_v1_DataplexSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.DataplexSpec.class, - com.google.cloud.datacatalog.v1.DataplexSpec.Builder.class); + com.google.cloud.datacatalog.v1.DataplexSpec.class, com.google.cloud.datacatalog.v1.DataplexSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.DataplexSpec.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -517,9 +474,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.DataplexSpecProto - .internal_static_google_cloud_datacatalog_v1_DataplexSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexSpec_descriptor; } @java.lang.Override @@ -538,11 +495,8 @@ public com.google.cloud.datacatalog.v1.DataplexSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1.DataplexSpec buildPartial() { - com.google.cloud.datacatalog.v1.DataplexSpec result = - new com.google.cloud.datacatalog.v1.DataplexSpec(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1.DataplexSpec result = new com.google.cloud.datacatalog.v1.DataplexSpec(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -553,7 +507,9 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DataplexSpec result) result.asset_ = asset_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.dataFormat_ = dataFormatBuilder_ == null ? dataFormat_ : dataFormatBuilder_.build(); + result.dataFormat_ = dataFormatBuilder_ == null + ? dataFormat_ + : dataFormatBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.compressionFormat_ = compressionFormat_; @@ -567,39 +523,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DataplexSpec result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.DataplexSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1.DataplexSpec) other); + return mergeFrom((com.google.cloud.datacatalog.v1.DataplexSpec)other); } else { super.mergeFrom(other); return this; @@ -652,37 +607,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - asset_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getDataFormatFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - compressionFormat_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + asset_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getDataFormatFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + compressionFormat_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + projectId_ = 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) { @@ -692,13 +644,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object asset_ = ""; /** - * - * *
      * Fully qualified resource name of an asset in Dataplex, to which the
      * underlying data source (Cloud Storage bucket or BigQuery dataset) of the
@@ -706,13 +655,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -721,8 +670,6 @@ public java.lang.String getAsset() { } } /** - * - * *
      * Fully qualified resource name of an asset in Dataplex, to which the
      * underlying data source (Cloud Storage bucket or BigQuery dataset) of the
@@ -730,14 +677,15 @@ public java.lang.String getAsset() {
      * 
* * 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 { @@ -745,8 +693,6 @@ public com.google.protobuf.ByteString getAssetBytes() { } } /** - * - * *
      * Fully qualified resource name of an asset in Dataplex, to which the
      * underlying data source (Cloud Storage bucket or BigQuery dataset) of the
@@ -754,22 +700,18 @@ public com.google.protobuf.ByteString getAssetBytes() {
      * 
* * 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; } /** - * - * *
      * Fully qualified resource name of an asset in Dataplex, to which the
      * underlying data source (Cloud Storage bucket or BigQuery dataset) of the
@@ -777,7 +719,6 @@ public Builder setAsset(java.lang.String value) {
      * 
* * string asset = 1; - * * @return This builder for chaining. */ public Builder clearAsset() { @@ -787,8 +728,6 @@ public Builder clearAsset() { return this; } /** - * - * *
      * Fully qualified resource name of an asset in Dataplex, to which the
      * underlying data source (Cloud Storage bucket or BigQuery dataset) of the
@@ -796,14 +735,12 @@ public Builder clearAsset() {
      * 
* * 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; @@ -813,47 +750,34 @@ public Builder setAssetBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datacatalog.v1.PhysicalSchema dataFormat_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema, - com.google.cloud.datacatalog.v1.PhysicalSchema.Builder, - com.google.cloud.datacatalog.v1.PhysicalSchemaOrBuilder> - dataFormatBuilder_; + com.google.cloud.datacatalog.v1.PhysicalSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchemaOrBuilder> dataFormatBuilder_; /** - * - * *
      * Format of the data.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema data_format = 2; - * * @return Whether the dataFormat field is set. */ public boolean hasDataFormat() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Format of the data.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema data_format = 2; - * * @return The dataFormat. */ public com.google.cloud.datacatalog.v1.PhysicalSchema getDataFormat() { if (dataFormatBuilder_ == null) { - return dataFormat_ == null - ? com.google.cloud.datacatalog.v1.PhysicalSchema.getDefaultInstance() - : dataFormat_; + return dataFormat_ == null ? com.google.cloud.datacatalog.v1.PhysicalSchema.getDefaultInstance() : dataFormat_; } else { return dataFormatBuilder_.getMessage(); } } /** - * - * *
      * Format of the data.
      * 
@@ -874,8 +798,6 @@ public Builder setDataFormat(com.google.cloud.datacatalog.v1.PhysicalSchema valu return this; } /** - * - * *
      * Format of the data.
      * 
@@ -894,8 +816,6 @@ public Builder setDataFormat( return this; } /** - * - * *
      * Format of the data.
      * 
@@ -904,9 +824,9 @@ public Builder setDataFormat( */ public Builder mergeDataFormat(com.google.cloud.datacatalog.v1.PhysicalSchema value) { if (dataFormatBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && dataFormat_ != null - && dataFormat_ != com.google.cloud.datacatalog.v1.PhysicalSchema.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + dataFormat_ != null && + dataFormat_ != com.google.cloud.datacatalog.v1.PhysicalSchema.getDefaultInstance()) { getDataFormatBuilder().mergeFrom(value); } else { dataFormat_ = value; @@ -919,8 +839,6 @@ public Builder mergeDataFormat(com.google.cloud.datacatalog.v1.PhysicalSchema va return this; } /** - * - * *
      * Format of the data.
      * 
@@ -938,8 +856,6 @@ public Builder clearDataFormat() { return this; } /** - * - * *
      * Format of the data.
      * 
@@ -952,8 +868,6 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.Builder getDataFormatBuild return getDataFormatFieldBuilder().getBuilder(); } /** - * - * *
      * Format of the data.
      * 
@@ -964,14 +878,11 @@ public com.google.cloud.datacatalog.v1.PhysicalSchemaOrBuilder getDataFormatOrBu if (dataFormatBuilder_ != null) { return dataFormatBuilder_.getMessageOrBuilder(); } else { - return dataFormat_ == null - ? com.google.cloud.datacatalog.v1.PhysicalSchema.getDefaultInstance() - : dataFormat_; + return dataFormat_ == null ? + com.google.cloud.datacatalog.v1.PhysicalSchema.getDefaultInstance() : dataFormat_; } } /** - * - * *
      * Format of the data.
      * 
@@ -979,17 +890,14 @@ public com.google.cloud.datacatalog.v1.PhysicalSchemaOrBuilder getDataFormatOrBu * .google.cloud.datacatalog.v1.PhysicalSchema data_format = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema, - com.google.cloud.datacatalog.v1.PhysicalSchema.Builder, - com.google.cloud.datacatalog.v1.PhysicalSchemaOrBuilder> + com.google.cloud.datacatalog.v1.PhysicalSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchemaOrBuilder> getDataFormatFieldBuilder() { if (dataFormatBuilder_ == null) { - dataFormatBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema, - com.google.cloud.datacatalog.v1.PhysicalSchema.Builder, - com.google.cloud.datacatalog.v1.PhysicalSchemaOrBuilder>( - getDataFormat(), getParentForChildren(), isClean()); + dataFormatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.PhysicalSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchemaOrBuilder>( + getDataFormat(), + getParentForChildren(), + isClean()); dataFormat_ = null; } return dataFormatBuilder_; @@ -997,20 +905,18 @@ public com.google.cloud.datacatalog.v1.PhysicalSchemaOrBuilder getDataFormatOrBu private java.lang.Object compressionFormat_ = ""; /** - * - * *
      * Compression format of the data, e.g., zip, gzip etc.
      * 
* * string compression_format = 3; - * * @return The compressionFormat. */ public java.lang.String getCompressionFormat() { java.lang.Object ref = compressionFormat_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); compressionFormat_ = s; return s; @@ -1019,21 +925,20 @@ public java.lang.String getCompressionFormat() { } } /** - * - * *
      * Compression format of the data, e.g., zip, gzip etc.
      * 
* * string compression_format = 3; - * * @return The bytes for compressionFormat. */ - public com.google.protobuf.ByteString getCompressionFormatBytes() { + public com.google.protobuf.ByteString + getCompressionFormatBytes() { java.lang.Object ref = compressionFormat_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); compressionFormat_ = b; return b; } else { @@ -1041,35 +946,28 @@ public com.google.protobuf.ByteString getCompressionFormatBytes() { } } /** - * - * *
      * Compression format of the data, e.g., zip, gzip etc.
      * 
* * string compression_format = 3; - * * @param value The compressionFormat to set. * @return This builder for chaining. */ - public Builder setCompressionFormat(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCompressionFormat( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } compressionFormat_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Compression format of the data, e.g., zip, gzip etc.
      * 
* * string compression_format = 3; - * * @return This builder for chaining. */ public Builder clearCompressionFormat() { @@ -1079,21 +977,17 @@ public Builder clearCompressionFormat() { return this; } /** - * - * *
      * Compression format of the data, e.g., zip, gzip etc.
      * 
* * string compression_format = 3; - * * @param value The bytes for compressionFormat to set. * @return This builder for chaining. */ - public Builder setCompressionFormatBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCompressionFormatBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); compressionFormat_ = value; bitField0_ |= 0x00000004; @@ -1103,8 +997,6 @@ public Builder setCompressionFormatBytes(com.google.protobuf.ByteString value) { private java.lang.Object projectId_ = ""; /** - * - * *
      * Project ID of the underlying Cloud Storage or BigQuery data. Note that
      * this may not be the same project as the correspondingly Dataplex lake /
@@ -1112,13 +1004,13 @@ public Builder setCompressionFormatBytes(com.google.protobuf.ByteString value) {
      * 
* * string project_id = 4; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -1127,8 +1019,6 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Project ID of the underlying Cloud Storage or BigQuery data. Note that
      * this may not be the same project as the correspondingly Dataplex lake /
@@ -1136,14 +1026,15 @@ public java.lang.String getProjectId() {
      * 
* * string project_id = 4; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -1151,8 +1042,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Project ID of the underlying Cloud Storage or BigQuery data. Note that
      * this may not be the same project as the correspondingly Dataplex lake /
@@ -1160,22 +1049,18 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
      * 
* * string project_id = 4; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Project ID of the underlying Cloud Storage or BigQuery data. Note that
      * this may not be the same project as the correspondingly Dataplex lake /
@@ -1183,7 +1068,6 @@ public Builder setProjectId(java.lang.String value) {
      * 
* * string project_id = 4; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -1193,8 +1077,6 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Project ID of the underlying Cloud Storage or BigQuery data. Note that
      * this may not be the same project as the correspondingly Dataplex lake /
@@ -1202,23 +1084,21 @@ public Builder clearProjectId() {
      * 
* * string project_id = 4; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = 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); } @@ -1228,12 +1108,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.DataplexSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DataplexSpec) private static final com.google.cloud.datacatalog.v1.DataplexSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DataplexSpec(); } @@ -1242,27 +1122,27 @@ public static com.google.cloud.datacatalog.v1.DataplexSpec getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataplexSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataplexSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1277,4 +1157,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.DataplexSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecOrBuilder.java similarity index 73% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecOrBuilder.java index d923dec3297b..cb2db7ffee4f 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/dataplex_spec.proto package com.google.cloud.datacatalog.v1; -public interface DataplexSpecOrBuilder - extends +public interface DataplexSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DataplexSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Fully qualified resource name of an asset in Dataplex, to which the
    * underlying data source (Cloud Storage bucket or BigQuery dataset) of the
@@ -33,13 +15,10 @@ public interface DataplexSpecOrBuilder
    * 
* * string asset = 1; - * * @return The asset. */ java.lang.String getAsset(); /** - * - * *
    * Fully qualified resource name of an asset in Dataplex, to which the
    * underlying data source (Cloud Storage bucket or BigQuery dataset) of the
@@ -47,38 +26,30 @@ public interface DataplexSpecOrBuilder
    * 
* * string asset = 1; - * * @return The bytes for asset. */ - com.google.protobuf.ByteString getAssetBytes(); + com.google.protobuf.ByteString + getAssetBytes(); /** - * - * *
    * Format of the data.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema data_format = 2; - * * @return Whether the dataFormat field is set. */ boolean hasDataFormat(); /** - * - * *
    * Format of the data.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema data_format = 2; - * * @return The dataFormat. */ com.google.cloud.datacatalog.v1.PhysicalSchema getDataFormat(); /** - * - * *
    * Format of the data.
    * 
@@ -88,33 +59,26 @@ public interface DataplexSpecOrBuilder com.google.cloud.datacatalog.v1.PhysicalSchemaOrBuilder getDataFormatOrBuilder(); /** - * - * *
    * Compression format of the data, e.g., zip, gzip etc.
    * 
* * string compression_format = 3; - * * @return The compressionFormat. */ java.lang.String getCompressionFormat(); /** - * - * *
    * Compression format of the data, e.g., zip, gzip etc.
    * 
* * string compression_format = 3; - * * @return The bytes for compressionFormat. */ - com.google.protobuf.ByteString getCompressionFormatBytes(); + com.google.protobuf.ByteString + getCompressionFormatBytes(); /** - * - * *
    * Project ID of the underlying Cloud Storage or BigQuery data. Note that
    * this may not be the same project as the correspondingly Dataplex lake /
@@ -122,13 +86,10 @@ public interface DataplexSpecOrBuilder
    * 
* * string project_id = 4; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Project ID of the underlying Cloud Storage or BigQuery data. Note that
    * this may not be the same project as the correspondingly Dataplex lake /
@@ -136,8 +97,8 @@ public interface DataplexSpecOrBuilder
    * 
* * string project_id = 4; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecProto.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecProto.java new file mode 100644 index 000000000000..fdd7835a088c --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecProto.java @@ -0,0 +1,107 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/dataplex_spec.proto + +package com.google.cloud.datacatalog.v1; + +public final class DataplexSpecProto { + private DataplexSpecProto() {} + 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_datacatalog_v1_DataplexSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DataplexSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_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/datacatalog/v1/dataplex_s" + + "pec.proto\022\033google.cloud.datacatalog.v1\032(" + + "google/cloud/datacatalog/v1/common.proto" + + "\0321google/cloud/datacatalog/v1/physical_s" + + "chema.proto\"\217\001\n\014DataplexSpec\022\r\n\005asset\030\001 " + + "\001(\t\022@\n\013data_format\030\002 \001(\0132+.google.cloud." + + "datacatalog.v1.PhysicalSchema\022\032\n\022compres" + + "sion_format\030\003 \001(\t\022\022\n\nproject_id\030\004 \001(\t\"W\n" + + "\023DataplexFilesetSpec\022@\n\rdataplex_spec\030\001 " + + "\001(\0132).google.cloud.datacatalog.v1.Datapl" + + "exSpec\"\270\001\n\021DataplexTableSpec\022K\n\017external" + + "_tables\030\001 \003(\01322.google.cloud.datacatalog" + + ".v1.DataplexExternalTable\022@\n\rdataplex_sp" + + "ec\030\002 \001(\0132).google.cloud.datacatalog.v1.D" + + "ataplexSpec\022\024\n\014user_managed\030\003 \001(\010\"\257\001\n\025Da" + + "taplexExternalTable\022=\n\006system\030\001 \001(\0162-.go" + + "ogle.cloud.datacatalog.v1.IntegratedSyst" + + "em\022\034\n\024fully_qualified_name\030\034 \001(\t\022\035\n\025goog" + + "le_cloud_resource\030\003 \001(\t\022\032\n\022data_catalog_" + + "entry\030\004 \001(\tB\331\001\n\037com.google.cloud.datacat" + + "alog.v1B\021DataplexSpecProtoP\001ZAcloud.goog" + + "le.com/go/datacatalog/apiv1/datacatalogp" + + "b;datacatalogpb\370\001\001\252\002\033Google.Cloud.DataCa" + + "talog.V1\312\002\033Google\\Cloud\\DataCatalog\\V1\352\002" + + "\036Google::Cloud::DataCatalog::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.cloud.datacatalog.v1.Common.getDescriptor(), + com.google.cloud.datacatalog.v1.PhysicalSchemaProto.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1_DataplexSpec_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1_DataplexSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DataplexSpec_descriptor, + new java.lang.String[] { "Asset", "DataFormat", "CompressionFormat", "ProjectId", }); + internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_descriptor, + new java.lang.String[] { "DataplexSpec", }); + internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_descriptor, + new java.lang.String[] { "ExternalTables", "DataplexSpec", "UserManaged", }); + internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_descriptor, + new java.lang.String[] { "System", "FullyQualifiedName", "GoogleCloudResource", "DataCatalogEntry", }); + com.google.cloud.datacatalog.v1.Common.getDescriptor(); + com.google.cloud.datacatalog.v1.PhysicalSchemaProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpec.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpec.java similarity index 74% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpec.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpec.java index 57d3369da818..d6abc87373e1 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpec.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpec.java @@ -1,74 +1,52 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/dataplex_spec.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Entry specification for a Dataplex table.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.DataplexTableSpec} */ -public final class DataplexTableSpec extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DataplexTableSpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.DataplexTableSpec) DataplexTableSpecOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DataplexTableSpec.newBuilder() to construct. private DataplexTableSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DataplexTableSpec() { externalTables_ = 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 DataplexTableSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.DataplexSpecProto - .internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.DataplexSpecProto - .internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.DataplexTableSpec.class, - com.google.cloud.datacatalog.v1.DataplexTableSpec.Builder.class); + com.google.cloud.datacatalog.v1.DataplexTableSpec.class, com.google.cloud.datacatalog.v1.DataplexTableSpec.Builder.class); } public static final int EXTERNAL_TABLES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List externalTables_; /** - * - * *
    * List of external tables registered by Dataplex in other systems based on
    * the same underlying data.
@@ -79,13 +57,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;
    */
   @java.lang.Override
-  public java.util.List
-      getExternalTablesList() {
+  public java.util.List getExternalTablesList() {
     return externalTables_;
   }
   /**
-   *
-   *
    * 
    * List of external tables registered by Dataplex in other systems based on
    * the same underlying data.
@@ -96,13 +71,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getExternalTablesOrBuilderList() {
     return externalTables_;
   }
   /**
-   *
-   *
    * 
    * List of external tables registered by Dataplex in other systems based on
    * the same underlying data.
@@ -117,8 +90,6 @@ public int getExternalTablesCount() {
     return externalTables_.size();
   }
   /**
-   *
-   *
    * 
    * List of external tables registered by Dataplex in other systems based on
    * the same underlying data.
@@ -133,8 +104,6 @@ public com.google.cloud.datacatalog.v1.DataplexExternalTable getExternalTables(i
     return externalTables_.get(index);
   }
   /**
-   *
-   *
    * 
    * List of external tables registered by Dataplex in other systems based on
    * the same underlying data.
@@ -153,14 +122,11 @@ public com.google.cloud.datacatalog.v1.DataplexExternalTableOrBuilder getExterna
   public static final int DATAPLEX_SPEC_FIELD_NUMBER = 2;
   private com.google.cloud.datacatalog.v1.DataplexSpec dataplexSpec_;
   /**
-   *
-   *
    * 
    * Common Dataplex fields.
    * 
* * .google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 2; - * * @return Whether the dataplexSpec field is set. */ @java.lang.Override @@ -168,25 +134,18 @@ public boolean hasDataplexSpec() { return dataplexSpec_ != null; } /** - * - * *
    * Common Dataplex fields.
    * 
* * .google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 2; - * * @return The dataplexSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.DataplexSpec getDataplexSpec() { - return dataplexSpec_ == null - ? com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance() - : dataplexSpec_; + return dataplexSpec_ == null ? com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance() : dataplexSpec_; } /** - * - * *
    * Common Dataplex fields.
    * 
@@ -195,22 +154,17 @@ public com.google.cloud.datacatalog.v1.DataplexSpec getDataplexSpec() { */ @java.lang.Override public com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder getDataplexSpecOrBuilder() { - return dataplexSpec_ == null - ? com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance() - : dataplexSpec_; + return dataplexSpec_ == null ? com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance() : dataplexSpec_; } public static final int USER_MANAGED_FIELD_NUMBER = 3; private boolean userManaged_ = false; /** - * - * *
    * Indicates if the table schema is managed by the user or not.
    * 
* * bool user_managed = 3; - * * @return The userManaged. */ @java.lang.Override @@ -219,7 +173,6 @@ public boolean getUserManaged() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -231,7 +184,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < externalTables_.size(); i++) { output.writeMessage(1, externalTables_.get(i)); } @@ -251,13 +205,16 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < externalTables_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, externalTables_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, externalTables_.get(i)); } if (dataplexSpec_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDataplexSpec()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getDataplexSpec()); } if (userManaged_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, userManaged_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, userManaged_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -267,20 +224,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.DataplexTableSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.DataplexTableSpec other = - (com.google.cloud.datacatalog.v1.DataplexTableSpec) obj; + com.google.cloud.datacatalog.v1.DataplexTableSpec other = (com.google.cloud.datacatalog.v1.DataplexTableSpec) obj; - if (!getExternalTablesList().equals(other.getExternalTablesList())) return false; + if (!getExternalTablesList() + .equals(other.getExternalTablesList())) return false; if (hasDataplexSpec() != other.hasDataplexSpec()) return false; if (hasDataplexSpec()) { - if (!getDataplexSpec().equals(other.getDataplexSpec())) return false; + if (!getDataplexSpec() + .equals(other.getDataplexSpec())) return false; } - if (getUserManaged() != other.getUserManaged()) return false; + if (getUserManaged() + != other.getUserManaged()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -301,142 +260,139 @@ public int hashCode() { hash = (53 * hash) + getDataplexSpec().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()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datacatalog.v1.DataplexTableSpec parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DataplexTableSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DataplexTableSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DataplexTableSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DataplexTableSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DataplexTableSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.DataplexTableSpec parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DataplexTableSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.DataplexTableSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DataplexTableSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DataplexTableSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.DataplexTableSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DataplexTableSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.DataplexTableSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.DataplexTableSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Entry specification for a Dataplex table.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.DataplexTableSpec} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.DataplexTableSpec) com.google.cloud.datacatalog.v1.DataplexTableSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.DataplexSpecProto - .internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.DataplexSpecProto - .internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.DataplexTableSpec.class, - com.google.cloud.datacatalog.v1.DataplexTableSpec.Builder.class); + com.google.cloud.datacatalog.v1.DataplexTableSpec.class, com.google.cloud.datacatalog.v1.DataplexTableSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.DataplexTableSpec.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -458,9 +414,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.DataplexSpecProto - .internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_descriptor; } @java.lang.Override @@ -479,18 +435,14 @@ public com.google.cloud.datacatalog.v1.DataplexTableSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1.DataplexTableSpec buildPartial() { - com.google.cloud.datacatalog.v1.DataplexTableSpec result = - new com.google.cloud.datacatalog.v1.DataplexTableSpec(this); + com.google.cloud.datacatalog.v1.DataplexTableSpec result = new com.google.cloud.datacatalog.v1.DataplexTableSpec(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.datacatalog.v1.DataplexTableSpec result) { + private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1.DataplexTableSpec result) { if (externalTablesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { externalTables_ = java.util.Collections.unmodifiableList(externalTables_); @@ -505,8 +457,9 @@ private void buildPartialRepeatedFields( private void buildPartial0(com.google.cloud.datacatalog.v1.DataplexTableSpec result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { - result.dataplexSpec_ = - dataplexSpecBuilder_ == null ? dataplexSpec_ : dataplexSpecBuilder_.build(); + result.dataplexSpec_ = dataplexSpecBuilder_ == null + ? dataplexSpec_ + : dataplexSpecBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.userManaged_ = userManaged_; @@ -517,39 +470,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DataplexTableSpec 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.datacatalog.v1.DataplexTableSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1.DataplexTableSpec) other); + return mergeFrom((com.google.cloud.datacatalog.v1.DataplexTableSpec)other); } else { super.mergeFrom(other); return this; @@ -557,8 +509,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.DataplexTableSpec other) { - if (other == com.google.cloud.datacatalog.v1.DataplexTableSpec.getDefaultInstance()) - return this; + if (other == com.google.cloud.datacatalog.v1.DataplexTableSpec.getDefaultInstance()) return this; if (externalTablesBuilder_ == null) { if (!other.externalTables_.isEmpty()) { if (externalTables_.isEmpty()) { @@ -577,10 +528,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.DataplexTableSpec other externalTablesBuilder_ = null; externalTables_ = other.externalTables_; bitField0_ = (bitField0_ & ~0x00000001); - externalTablesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getExternalTablesFieldBuilder() - : null; + externalTablesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getExternalTablesFieldBuilder() : null; } else { externalTablesBuilder_.addAllMessages(other.externalTables_); } @@ -618,39 +568,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.datacatalog.v1.DataplexExternalTable m = - input.readMessage( - com.google.cloud.datacatalog.v1.DataplexExternalTable.parser(), - extensionRegistry); - if (externalTablesBuilder_ == null) { - ensureExternalTablesIsMutable(); - externalTables_.add(m); - } else { - externalTablesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - input.readMessage(getDataplexSpecFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - userManaged_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.datacatalog.v1.DataplexExternalTable m = + input.readMessage( + com.google.cloud.datacatalog.v1.DataplexExternalTable.parser(), + extensionRegistry); + if (externalTablesBuilder_ == null) { + ensureExternalTablesIsMutable(); + externalTables_.add(m); + } else { + externalTablesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + input.readMessage( + getDataplexSpecFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + userManaged_ = 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) { @@ -660,30 +608,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List externalTables_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureExternalTablesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - externalTables_ = - new java.util.ArrayList( - externalTables_); + externalTables_ = new java.util.ArrayList(externalTables_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.DataplexExternalTable, - com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder, - com.google.cloud.datacatalog.v1.DataplexExternalTableOrBuilder> - externalTablesBuilder_; + com.google.cloud.datacatalog.v1.DataplexExternalTable, com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder, com.google.cloud.datacatalog.v1.DataplexExternalTableOrBuilder> externalTablesBuilder_; /** - * - * *
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -693,8 +632,7 @@ private void ensureExternalTablesIsMutable() {
      *
      * repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;
      */
-    public java.util.List
-        getExternalTablesList() {
+    public java.util.List getExternalTablesList() {
       if (externalTablesBuilder_ == null) {
         return java.util.Collections.unmodifiableList(externalTables_);
       } else {
@@ -702,8 +640,6 @@ private void ensureExternalTablesIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -721,8 +657,6 @@ public int getExternalTablesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -740,8 +674,6 @@ public com.google.cloud.datacatalog.v1.DataplexExternalTable getExternalTables(i
       }
     }
     /**
-     *
-     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -766,8 +698,6 @@ public Builder setExternalTables(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -789,8 +719,6 @@ public Builder setExternalTables(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -814,8 +742,6 @@ public Builder addExternalTables(com.google.cloud.datacatalog.v1.DataplexExterna
       return this;
     }
     /**
-     *
-     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -840,8 +766,6 @@ public Builder addExternalTables(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -863,8 +787,6 @@ public Builder addExternalTables(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -886,8 +808,6 @@ public Builder addExternalTables(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -898,11 +818,11 @@ public Builder addExternalTables(
      * repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;
      */
     public Builder addAllExternalTables(
-        java.lang.Iterable
-            values) {
+        java.lang.Iterable values) {
       if (externalTablesBuilder_ == null) {
         ensureExternalTablesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, externalTables_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, externalTables_);
         onChanged();
       } else {
         externalTablesBuilder_.addAllMessages(values);
@@ -910,8 +830,6 @@ public Builder addAllExternalTables(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -932,8 +850,6 @@ public Builder clearExternalTables() {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -954,8 +870,6 @@ public Builder removeExternalTables(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -970,8 +884,6 @@ public com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder getExternal
       return getExternalTablesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -981,17 +893,14 @@ public com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder getExternal
      *
      * repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;
      */
-    public com.google.cloud.datacatalog.v1.DataplexExternalTableOrBuilder
-        getExternalTablesOrBuilder(int index) {
+    public com.google.cloud.datacatalog.v1.DataplexExternalTableOrBuilder getExternalTablesOrBuilder(
+        int index) {
       if (externalTablesBuilder_ == null) {
-        return externalTables_.get(index);
-      } else {
+        return externalTables_.get(index);  } else {
         return externalTablesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -1001,8 +910,8 @@ public com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder getExternal
      *
      * repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;
      */
-    public java.util.List
-        getExternalTablesOrBuilderList() {
+    public java.util.List 
+         getExternalTablesOrBuilderList() {
       if (externalTablesBuilder_ != null) {
         return externalTablesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1010,8 +919,6 @@ public com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder getExternal
       }
     }
     /**
-     *
-     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -1021,14 +928,11 @@ public com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder getExternal
      *
      * repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;
      */
-    public com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder
-        addExternalTablesBuilder() {
-      return getExternalTablesFieldBuilder()
-          .addBuilder(com.google.cloud.datacatalog.v1.DataplexExternalTable.getDefaultInstance());
+    public com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder addExternalTablesBuilder() {
+      return getExternalTablesFieldBuilder().addBuilder(
+          com.google.cloud.datacatalog.v1.DataplexExternalTable.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -1040,13 +944,10 @@ public com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder getExternal
      */
     public com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder addExternalTablesBuilder(
         int index) {
-      return getExternalTablesFieldBuilder()
-          .addBuilder(
-              index, com.google.cloud.datacatalog.v1.DataplexExternalTable.getDefaultInstance());
+      return getExternalTablesFieldBuilder().addBuilder(
+          index, com.google.cloud.datacatalog.v1.DataplexExternalTable.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -1056,22 +957,16 @@ public com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder addExternal
      *
      * repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;
      */
-    public java.util.List
-        getExternalTablesBuilderList() {
+    public java.util.List 
+         getExternalTablesBuilderList() {
       return getExternalTablesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.DataplexExternalTable,
-            com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder,
-            com.google.cloud.datacatalog.v1.DataplexExternalTableOrBuilder>
+        com.google.cloud.datacatalog.v1.DataplexExternalTable, com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder, com.google.cloud.datacatalog.v1.DataplexExternalTableOrBuilder> 
         getExternalTablesFieldBuilder() {
       if (externalTablesBuilder_ == null) {
-        externalTablesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.datacatalog.v1.DataplexExternalTable,
-                com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder,
-                com.google.cloud.datacatalog.v1.DataplexExternalTableOrBuilder>(
+        externalTablesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.datacatalog.v1.DataplexExternalTable, com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder, com.google.cloud.datacatalog.v1.DataplexExternalTableOrBuilder>(
                 externalTables_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1083,47 +978,34 @@ public com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder addExternal
 
     private com.google.cloud.datacatalog.v1.DataplexSpec dataplexSpec_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.DataplexSpec,
-            com.google.cloud.datacatalog.v1.DataplexSpec.Builder,
-            com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder>
-        dataplexSpecBuilder_;
+        com.google.cloud.datacatalog.v1.DataplexSpec, com.google.cloud.datacatalog.v1.DataplexSpec.Builder, com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder> dataplexSpecBuilder_;
     /**
-     *
-     *
      * 
      * Common Dataplex fields.
      * 
* * .google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 2; - * * @return Whether the dataplexSpec field is set. */ public boolean hasDataplexSpec() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Common Dataplex fields.
      * 
* * .google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 2; - * * @return The dataplexSpec. */ public com.google.cloud.datacatalog.v1.DataplexSpec getDataplexSpec() { if (dataplexSpecBuilder_ == null) { - return dataplexSpec_ == null - ? com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance() - : dataplexSpec_; + return dataplexSpec_ == null ? com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance() : dataplexSpec_; } else { return dataplexSpecBuilder_.getMessage(); } } /** - * - * *
      * Common Dataplex fields.
      * 
@@ -1144,8 +1026,6 @@ public Builder setDataplexSpec(com.google.cloud.datacatalog.v1.DataplexSpec valu return this; } /** - * - * *
      * Common Dataplex fields.
      * 
@@ -1164,8 +1044,6 @@ public Builder setDataplexSpec( return this; } /** - * - * *
      * Common Dataplex fields.
      * 
@@ -1174,9 +1052,9 @@ public Builder setDataplexSpec( */ public Builder mergeDataplexSpec(com.google.cloud.datacatalog.v1.DataplexSpec value) { if (dataplexSpecBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && dataplexSpec_ != null - && dataplexSpec_ != com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + dataplexSpec_ != null && + dataplexSpec_ != com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance()) { getDataplexSpecBuilder().mergeFrom(value); } else { dataplexSpec_ = value; @@ -1189,8 +1067,6 @@ public Builder mergeDataplexSpec(com.google.cloud.datacatalog.v1.DataplexSpec va return this; } /** - * - * *
      * Common Dataplex fields.
      * 
@@ -1208,8 +1084,6 @@ public Builder clearDataplexSpec() { return this; } /** - * - * *
      * Common Dataplex fields.
      * 
@@ -1222,8 +1096,6 @@ public com.google.cloud.datacatalog.v1.DataplexSpec.Builder getDataplexSpecBuild return getDataplexSpecFieldBuilder().getBuilder(); } /** - * - * *
      * Common Dataplex fields.
      * 
@@ -1234,14 +1106,11 @@ public com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder getDataplexSpecOrBu if (dataplexSpecBuilder_ != null) { return dataplexSpecBuilder_.getMessageOrBuilder(); } else { - return dataplexSpec_ == null - ? com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance() - : dataplexSpec_; + return dataplexSpec_ == null ? + com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance() : dataplexSpec_; } } /** - * - * *
      * Common Dataplex fields.
      * 
@@ -1249,32 +1118,26 @@ public com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder getDataplexSpecOrBu * .google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.DataplexSpec, - com.google.cloud.datacatalog.v1.DataplexSpec.Builder, - com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder> + com.google.cloud.datacatalog.v1.DataplexSpec, com.google.cloud.datacatalog.v1.DataplexSpec.Builder, com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder> getDataplexSpecFieldBuilder() { if (dataplexSpecBuilder_ == null) { - dataplexSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.DataplexSpec, - com.google.cloud.datacatalog.v1.DataplexSpec.Builder, - com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder>( - getDataplexSpec(), getParentForChildren(), isClean()); + dataplexSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.DataplexSpec, com.google.cloud.datacatalog.v1.DataplexSpec.Builder, com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder>( + getDataplexSpec(), + getParentForChildren(), + isClean()); dataplexSpec_ = null; } return dataplexSpecBuilder_; } - private boolean userManaged_; + private boolean userManaged_ ; /** - * - * *
      * Indicates if the table schema is managed by the user or not.
      * 
* * bool user_managed = 3; - * * @return The userManaged. */ @java.lang.Override @@ -1282,14 +1145,11 @@ public boolean getUserManaged() { return userManaged_; } /** - * - * *
      * Indicates if the table schema is managed by the user or not.
      * 
* * bool user_managed = 3; - * * @param value The userManaged to set. * @return This builder for chaining. */ @@ -1301,14 +1161,11 @@ public Builder setUserManaged(boolean value) { return this; } /** - * - * *
      * Indicates if the table schema is managed by the user or not.
      * 
* * bool user_managed = 3; - * * @return This builder for chaining. */ public Builder clearUserManaged() { @@ -1317,9 +1174,9 @@ public Builder clearUserManaged() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1329,12 +1186,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.DataplexTableSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DataplexTableSpec) private static final com.google.cloud.datacatalog.v1.DataplexTableSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DataplexTableSpec(); } @@ -1343,27 +1200,27 @@ public static com.google.cloud.datacatalog.v1.DataplexTableSpec getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataplexTableSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataplexTableSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1378,4 +1235,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.DataplexTableSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpecOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpecOrBuilder.java similarity index 79% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpecOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpecOrBuilder.java index dd73c3d609d5..89f0441d401e 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpecOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpecOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/dataplex_spec.proto package com.google.cloud.datacatalog.v1; -public interface DataplexTableSpecOrBuilder - extends +public interface DataplexTableSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DataplexTableSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of external tables registered by Dataplex in other systems based on
    * the same underlying data.
@@ -35,10 +17,9 @@ public interface DataplexTableSpecOrBuilder
    *
    * repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;
    */
-  java.util.List getExternalTablesList();
+  java.util.List 
+      getExternalTablesList();
   /**
-   *
-   *
    * 
    * List of external tables registered by Dataplex in other systems based on
    * the same underlying data.
@@ -50,8 +31,6 @@ public interface DataplexTableSpecOrBuilder
    */
   com.google.cloud.datacatalog.v1.DataplexExternalTable getExternalTables(int index);
   /**
-   *
-   *
    * 
    * List of external tables registered by Dataplex in other systems based on
    * the same underlying data.
@@ -63,8 +42,6 @@ public interface DataplexTableSpecOrBuilder
    */
   int getExternalTablesCount();
   /**
-   *
-   *
    * 
    * List of external tables registered by Dataplex in other systems based on
    * the same underlying data.
@@ -74,11 +51,9 @@ public interface DataplexTableSpecOrBuilder
    *
    * repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;
    */
-  java.util.List
+  java.util.List 
       getExternalTablesOrBuilderList();
   /**
-   *
-   *
    * 
    * List of external tables registered by Dataplex in other systems based on
    * the same underlying data.
@@ -92,32 +67,24 @@ com.google.cloud.datacatalog.v1.DataplexExternalTableOrBuilder getExternalTables
       int index);
 
   /**
-   *
-   *
    * 
    * Common Dataplex fields.
    * 
* * .google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 2; - * * @return Whether the dataplexSpec field is set. */ boolean hasDataplexSpec(); /** - * - * *
    * Common Dataplex fields.
    * 
* * .google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 2; - * * @return The dataplexSpec. */ com.google.cloud.datacatalog.v1.DataplexSpec getDataplexSpec(); /** - * - * *
    * Common Dataplex fields.
    * 
@@ -127,14 +94,11 @@ com.google.cloud.datacatalog.v1.DataplexExternalTableOrBuilder getExternalTables com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder getDataplexSpecOrBuilder(); /** - * - * *
    * Indicates if the table schema is managed by the user or not.
    * 
* * bool user_managed = 3; - * * @return The userManaged. */ boolean getUserManaged(); diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequest.java similarity index 63% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequest.java index ed77e58d0ded..1bd016cd6361 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [DeleteEntryGroup][google.cloud.datacatalog.v1.DataCatalog.DeleteEntryGroup].
@@ -28,56 +11,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.DeleteEntryGroupRequest}
  */
-public final class DeleteEntryGroupRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteEntryGroupRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.DeleteEntryGroupRequest)
     DeleteEntryGroupRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteEntryGroupRequest.newBuilder() to construct.
   private DeleteEntryGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteEntryGroupRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteEntryGroupRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest.class,
-            com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest.class, com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the entry group to delete.
    * 
* - * - * string name = 1 [(.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,31 +61,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the entry group to delete.
    * 
* - * - * string name = 1 [(.google.api.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,14 +94,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_ = false; /** - * - * *
    * Optional. If true, deletes all entries in the entry group.
    * 
* * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ @java.lang.Override @@ -137,7 +107,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,7 +118,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -169,7 +139,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, force_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -179,16 +150,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.datacatalog.v1.DeleteEntryGroupRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest other = - (com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest) obj; + com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest other = (com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getForce() != other.getForce()) return false; + if (!getName() + .equals(other.getName())) return false; + if (getForce() + != other.getForce()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -203,111 +175,106 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [DeleteEntryGroup][google.cloud.datacatalog.v1.DataCatalog.DeleteEntryGroup].
@@ -315,32 +282,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.DeleteEntryGroupRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.DeleteEntryGroupRequest)
       com.google.cloud.datacatalog.v1.DeleteEntryGroupRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest.class,
-              com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest.class, com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -351,9 +319,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_descriptor;
     }
 
     @java.lang.Override
@@ -372,11 +340,8 @@ public com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest result =
-          new com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest result = new com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -395,39 +360,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DeleteEntryGroupReque
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -435,8 +399,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -471,25 +434,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                force_ = input.readBool();
-                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: {
+              force_ = 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) {
@@ -499,27 +459,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the entry group to delete.
      * 
* - * - * string name = 1 [(.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; @@ -528,23 +483,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the entry group to delete.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -552,39 +504,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the entry group to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the entry group to delete.
      * 
* - * - * string 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,23 +535,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the entry group to delete.
      * 
* - * - * string name = 1 [(.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,16 +553,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * Optional. If true, deletes all entries in the entry group.
      * 
* * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ @java.lang.Override @@ -635,14 +567,11 @@ public boolean getForce() { return force_; } /** - * - * *
      * Optional. If true, deletes all entries in the entry group.
      * 
* * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The force to set. * @return This builder for chaining. */ @@ -654,14 +583,11 @@ public Builder setForce(boolean value) { return this; } /** - * - * *
      * Optional. If true, deletes all entries in the entry group.
      * 
* * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearForce() { @@ -670,9 +596,9 @@ public Builder clearForce() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -682,12 +608,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.DeleteEntryGroupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DeleteEntryGroupRequest) private static final com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest(); } @@ -696,27 +622,27 @@ public static com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteEntryGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteEntryGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -731,4 +657,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequestOrBuilder.java new file mode 100644 index 000000000000..1ec1cd1c36b2 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequestOrBuilder.java @@ -0,0 +1,39 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/datacatalog.proto + +package com.google.cloud.datacatalog.v1; + +public interface DeleteEntryGroupRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DeleteEntryGroupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the entry group to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the entry group to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * Optional. If true, deletes all entries in the entry group.
+   * 
+ * + * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The force. + */ + boolean getForce(); +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequest.java similarity index 61% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequest.java index d5de9434cb5d..742ae05d1f3c 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [DeleteEntry][google.cloud.datacatalog.v1.DataCatalog.DeleteEntry].
@@ -28,56 +11,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.DeleteEntryRequest}
  */
-public final class DeleteEntryRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteEntryRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.DeleteEntryRequest)
     DeleteEntryRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteEntryRequest.newBuilder() to construct.
   private DeleteEntryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteEntryRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteEntryRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.DeleteEntryRequest.class,
-            com.google.cloud.datacatalog.v1.DeleteEntryRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.DeleteEntryRequest.class, com.google.cloud.datacatalog.v1.DeleteEntryRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the entry to delete.
    * 
* - * - * string name = 1 [(.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,31 +61,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the entry to delete.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -119,7 +92,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,7 +103,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(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 +128,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.DeleteEntryRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.DeleteEntryRequest other = - (com.google.cloud.datacatalog.v1.DeleteEntryRequest) obj; + com.google.cloud.datacatalog.v1.DeleteEntryRequest other = (com.google.cloud.datacatalog.v1.DeleteEntryRequest) 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 +156,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.DeleteEntryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DeleteEntryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteEntryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DeleteEntryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteEntryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DeleteEntryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.DeleteEntryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DeleteEntryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.DeleteEntryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteEntryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DeleteEntryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.DeleteEntryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteEntryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.DeleteEntryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.DeleteEntryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [DeleteEntry][google.cloud.datacatalog.v1.DataCatalog.DeleteEntry].
@@ -287,32 +255,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.DeleteEntryRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.DeleteEntryRequest)
       com.google.cloud.datacatalog.v1.DeleteEntryRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.DeleteEntryRequest.class,
-              com.google.cloud.datacatalog.v1.DeleteEntryRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.DeleteEntryRequest.class, com.google.cloud.datacatalog.v1.DeleteEntryRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.DeleteEntryRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_descriptor;
     }
 
     @java.lang.Override
@@ -343,11 +312,8 @@ public com.google.cloud.datacatalog.v1.DeleteEntryRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.DeleteEntryRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.DeleteEntryRequest result =
-          new com.google.cloud.datacatalog.v1.DeleteEntryRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.DeleteEntryRequest result = new com.google.cloud.datacatalog.v1.DeleteEntryRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -363,39 +329,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DeleteEntryRequest 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.datacatalog.v1.DeleteEntryRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.DeleteEntryRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.DeleteEntryRequest)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.datacatalog.v1.DeleteEntryRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.DeleteEntryRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.DeleteEntryRequest.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,27 +420,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the entry to delete.
      * 
* - * - * string name = 1 [(.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,23 +444,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the entry to delete.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -511,39 +465,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the entry to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the entry to delete.
      * 
* - * - * string 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() { @@ -553,32 +496,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the entry to delete.
      * 
* - * - * string name = 1 [(.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); } @@ -588,12 +525,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.DeleteEntryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DeleteEntryRequest) private static final com.google.cloud.datacatalog.v1.DeleteEntryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DeleteEntryRequest(); } @@ -602,27 +539,27 @@ public static com.google.cloud.datacatalog.v1.DeleteEntryRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteEntryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteEntryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +574,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.DeleteEntryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequestOrBuilder.java new file mode 100644 index 000000000000..818295005fec --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/datacatalog.proto + +package com.google.cloud.datacatalog.v1; + +public interface DeleteEntryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DeleteEntryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the entry to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the entry to delete.
+   * 
+ * + * 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequest.java similarity index 64% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequest.java index 79b7265cc5da..16847015f3f4 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [DeletePolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.DeletePolicyTag].
@@ -28,58 +11,50 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.DeletePolicyTagRequest}
  */
-public final class DeletePolicyTagRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeletePolicyTagRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.DeletePolicyTagRequest)
     DeletePolicyTagRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeletePolicyTagRequest.newBuilder() to construct.
   private DeletePolicyTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeletePolicyTagRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeletePolicyTagRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.DeletePolicyTagRequest.class,
-            com.google.cloud.datacatalog.v1.DeletePolicyTagRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.DeletePolicyTagRequest.class, com.google.cloud.datacatalog.v1.DeletePolicyTagRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. Resource name of the policy tag to delete.
    *
    * Note: All of its descendant policy tags are also deleted.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -88,33 +63,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Resource name of the policy tag to delete.
    *
    * Note: All of its descendant policy tags are also deleted.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,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_); } @@ -159,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.datacatalog.v1.DeletePolicyTagRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.DeletePolicyTagRequest other = - (com.google.cloud.datacatalog.v1.DeletePolicyTagRequest) obj; + com.google.cloud.datacatalog.v1.DeletePolicyTagRequest other = (com.google.cloud.datacatalog.v1.DeletePolicyTagRequest) 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,104 +160,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.DeletePolicyTagRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DeletePolicyTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeletePolicyTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DeletePolicyTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeletePolicyTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DeletePolicyTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.DeletePolicyTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DeletePolicyTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.DeletePolicyTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeletePolicyTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DeletePolicyTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.DeletePolicyTagRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeletePolicyTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.DeletePolicyTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.DeletePolicyTagRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.DeletePolicyTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [DeletePolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.DeletePolicyTag].
@@ -292,32 +259,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.DeletePolicyTagRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.DeletePolicyTagRequest)
       com.google.cloud.datacatalog.v1.DeletePolicyTagRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.DeletePolicyTagRequest.class,
-              com.google.cloud.datacatalog.v1.DeletePolicyTagRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.DeletePolicyTagRequest.class, com.google.cloud.datacatalog.v1.DeletePolicyTagRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.DeletePolicyTagRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -327,9 +295,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_descriptor;
     }
 
     @java.lang.Override
@@ -348,11 +316,8 @@ public com.google.cloud.datacatalog.v1.DeletePolicyTagRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.DeletePolicyTagRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.DeletePolicyTagRequest result =
-          new com.google.cloud.datacatalog.v1.DeletePolicyTagRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.DeletePolicyTagRequest result = new com.google.cloud.datacatalog.v1.DeletePolicyTagRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -368,39 +333,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DeletePolicyTagReques
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.DeletePolicyTagRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.DeletePolicyTagRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.DeletePolicyTagRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -408,8 +372,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.DeletePolicyTagRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.DeletePolicyTagRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.DeletePolicyTagRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -441,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) {
@@ -463,29 +424,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. Resource name of the policy tag to delete.
      *
      * Note: All of its descendant policy tags are also deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -494,25 +450,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Resource name of the policy tag to delete.
      *
      * Note: All of its descendant policy tags are also deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -520,43 +473,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Resource name of the policy tag to delete.
      *
      * Note: All of its descendant policy tags are also deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - 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. Resource name of the policy tag to delete.
      *
      * Note: All of its descendant policy tags are also deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -566,34 +508,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Resource name of the policy tag to delete.
      *
      * Note: All of its descendant policy tags are also deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - 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); } @@ -603,12 +539,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.DeletePolicyTagRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DeletePolicyTagRequest) private static final com.google.cloud.datacatalog.v1.DeletePolicyTagRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DeletePolicyTagRequest(); } @@ -617,27 +553,27 @@ public static com.google.cloud.datacatalog.v1.DeletePolicyTagRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePolicyTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePolicyTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -652,4 +588,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.DeletePolicyTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequestOrBuilder.java new file mode 100644 index 000000000000..5312a89e96cb --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/policytagmanager.proto + +package com.google.cloud.datacatalog.v1; + +public interface DeletePolicyTagRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DeletePolicyTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Resource name of the policy tag to delete.
+   *
+   * Note: All of its descendant policy tags are also deleted.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Resource name of the policy tag to delete.
+   *
+   * Note: All of its descendant policy tags are also deleted.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequest.java similarity index 61% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequest.java index 9e4b6933a697..e8bce8875c0b 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [DeleteTag][google.cloud.datacatalog.v1.DataCatalog.DeleteTag].
@@ -28,56 +11,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.DeleteTagRequest}
  */
-public final class DeleteTagRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteTagRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.DeleteTagRequest)
     DeleteTagRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteTagRequest.newBuilder() to construct.
   private DeleteTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteTagRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteTagRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.DeleteTagRequest.class,
-            com.google.cloud.datacatalog.v1.DeleteTagRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.DeleteTagRequest.class, com.google.cloud.datacatalog.v1.DeleteTagRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the tag to delete.
    * 
* - * - * string name = 1 [(.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,31 +61,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the tag to delete.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -119,7 +92,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,7 +103,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(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 +128,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.DeleteTagRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.DeleteTagRequest other = - (com.google.cloud.datacatalog.v1.DeleteTagRequest) obj; + com.google.cloud.datacatalog.v1.DeleteTagRequest other = (com.google.cloud.datacatalog.v1.DeleteTagRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -182,104 +155,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.DeleteTagRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.DeleteTagRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DeleteTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DeleteTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.DeleteTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DeleteTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.DeleteTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DeleteTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.DeleteTagRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.DeleteTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.DeleteTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [DeleteTag][google.cloud.datacatalog.v1.DataCatalog.DeleteTag].
@@ -287,32 +255,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.DeleteTagRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.DeleteTagRequest)
       com.google.cloud.datacatalog.v1.DeleteTagRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.DeleteTagRequest.class,
-              com.google.cloud.datacatalog.v1.DeleteTagRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.DeleteTagRequest.class, com.google.cloud.datacatalog.v1.DeleteTagRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.DeleteTagRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_descriptor;
     }
 
     @java.lang.Override
@@ -343,11 +312,8 @@ public com.google.cloud.datacatalog.v1.DeleteTagRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.DeleteTagRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.DeleteTagRequest result =
-          new com.google.cloud.datacatalog.v1.DeleteTagRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.DeleteTagRequest result = new com.google.cloud.datacatalog.v1.DeleteTagRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -363,39 +329,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DeleteTagRequest 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.datacatalog.v1.DeleteTagRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.DeleteTagRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.DeleteTagRequest)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.datacatalog.v1.DeleteTagRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.DeleteTagRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.DeleteTagRequest.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,27 +420,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the tag to delete.
      * 
* - * - * string name = 1 [(.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,23 +444,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the tag to delete.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -511,39 +465,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the tag to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the tag to delete.
      * 
* - * - * string 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() { @@ -553,32 +496,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the tag to delete.
      * 
* - * - * string name = 1 [(.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); } @@ -588,12 +525,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.DeleteTagRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DeleteTagRequest) private static final com.google.cloud.datacatalog.v1.DeleteTagRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DeleteTagRequest(); } @@ -602,27 +539,27 @@ public static com.google.cloud.datacatalog.v1.DeleteTagRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +574,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.DeleteTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequestOrBuilder.java new file mode 100644 index 000000000000..e69f75434f99 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/datacatalog.proto + +package com.google.cloud.datacatalog.v1; + +public interface DeleteTagRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DeleteTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the tag to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the tag to delete.
+   * 
+ * + * 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequest.java similarity index 63% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequest.java index e8d2b3261f0d..879d8207d467 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [DeleteTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.DeleteTagTemplateField].
@@ -28,56 +11,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest}
  */
-public final class DeleteTagTemplateFieldRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteTagTemplateFieldRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest)
     DeleteTagTemplateFieldRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteTagTemplateFieldRequest.newBuilder() to construct.
   private DeleteTagTemplateFieldRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteTagTemplateFieldRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteTagTemplateFieldRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest.class,
-            com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest.class, com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the tag template field to delete.
    * 
* - * - * string name = 1 [(.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,31 +61,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the tag template field to delete.
    * 
* - * - * string name = 1 [(.google.api.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,8 +94,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_ = false; /** - * - * *
    * Required. If true, deletes this field from any tags that use it.
    *
@@ -130,7 +101,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The force. */ @java.lang.Override @@ -139,7 +109,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,7 +120,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -171,7 +141,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, force_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -181,16 +152,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.datacatalog.v1.DeleteTagTemplateFieldRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest other = - (com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest) obj; + com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest other = (com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getForce() != other.getForce()) return false; + if (!getName() + .equals(other.getName())) return false; + if (getForce() + != other.getForce()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -205,111 +177,106 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [DeleteTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.DeleteTagTemplateField].
@@ -317,32 +284,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest)
       com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest.class,
-              com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest.class, com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -353,14 +321,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest
-        getDefaultInstanceForType() {
+    public com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest getDefaultInstanceForType() {
       return com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest.getDefaultInstance();
     }
 
@@ -375,17 +342,13 @@ public com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest result =
-          new com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest result = new com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest result) {
+    private void buildPartial0(com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -399,39 +362,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.datacatalog.v1.DeleteTagTemplateFieldRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -439,9 +401,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest other) {
-      if (other
-          == com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -476,25 +436,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                force_ = input.readBool();
-                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: {
+              force_ = 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) {
@@ -504,27 +461,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the tag template field to delete.
      * 
* - * - * string name = 1 [(.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; @@ -533,23 +485,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the tag template field to delete.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -557,39 +506,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the tag template field to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the tag template field to delete.
      * 
* - * - * string 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() { @@ -599,23 +537,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the tag template field to delete.
      * 
* - * - * string name = 1 [(.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; @@ -623,10 +555,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * Required. If true, deletes this field from any tags that use it.
      *
@@ -634,7 +564,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The force. */ @java.lang.Override @@ -642,8 +571,6 @@ public boolean getForce() { return force_; } /** - * - * *
      * Required. If true, deletes this field from any tags that use it.
      *
@@ -651,7 +578,6 @@ public boolean getForce() {
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The force to set. * @return This builder for chaining. */ @@ -663,8 +589,6 @@ public Builder setForce(boolean value) { return this; } /** - * - * *
      * Required. If true, deletes this field from any tags that use it.
      *
@@ -672,7 +596,6 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearForce() { @@ -681,9 +604,9 @@ public Builder clearForce() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -693,13 +616,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest) - private static final com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest(); } @@ -708,27 +630,27 @@ public static com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTagTemplateFieldRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTagTemplateFieldRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -743,4 +665,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequestOrBuilder.java new file mode 100644 index 000000000000..1d1a955c0bc9 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequestOrBuilder.java @@ -0,0 +1,41 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/datacatalog.proto + +package com.google.cloud.datacatalog.v1; + +public interface DeleteTagTemplateFieldRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the tag template field to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the tag template field to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * Required. If true, deletes this field from any tags that use it.
+   *
+   * Currently, `true` is the only supported value.
+   * 
+ * + * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The force. + */ + boolean getForce(); +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequest.java similarity index 64% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequest.java index ce2c1465efd4..aef6d51b3a4c 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [DeleteTagTemplate][google.cloud.datacatalog.v1.DataCatalog.DeleteTagTemplate].
@@ -28,56 +11,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.DeleteTagTemplateRequest}
  */
-public final class DeleteTagTemplateRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteTagTemplateRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.DeleteTagTemplateRequest)
     DeleteTagTemplateRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteTagTemplateRequest.newBuilder() to construct.
   private DeleteTagTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteTagTemplateRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteTagTemplateRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest.class,
-            com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest.class, com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the tag template to delete.
    * 
* - * - * string name = 1 [(.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,31 +61,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the tag template to delete.
    * 
* - * - * string name = 1 [(.google.api.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,8 +94,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_ = false; /** - * - * *
    * Required. If true, deletes all tags that use this template.
    *
@@ -130,7 +101,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The force. */ @java.lang.Override @@ -139,7 +109,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,7 +120,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -171,7 +141,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, force_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -181,16 +152,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.datacatalog.v1.DeleteTagTemplateRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest other = - (com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest) obj; + com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest other = (com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getForce() != other.getForce()) return false; + if (!getName() + .equals(other.getName())) return false; + if (getForce() + != other.getForce()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -205,111 +177,106 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [DeleteTagTemplate][google.cloud.datacatalog.v1.DataCatalog.DeleteTagTemplate].
@@ -317,32 +284,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.DeleteTagTemplateRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.DeleteTagTemplateRequest)
       com.google.cloud.datacatalog.v1.DeleteTagTemplateRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest.class,
-              com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest.class, com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -353,9 +321,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_descriptor;
     }
 
     @java.lang.Override
@@ -374,11 +342,8 @@ public com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest result =
-          new com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest result = new com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -397,39 +362,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DeleteTagTemplateRequ
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -437,8 +401,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -473,25 +436,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                force_ = input.readBool();
-                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: {
+              force_ = 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) {
@@ -501,27 +461,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the tag template to delete.
      * 
* - * - * string name = 1 [(.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,23 +485,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the tag template to delete.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -554,39 +506,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the tag template to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the tag template to delete.
      * 
* - * - * string 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() { @@ -596,23 +537,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the tag template to delete.
      * 
* - * - * string name = 1 [(.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; @@ -620,10 +555,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * Required. If true, deletes all tags that use this template.
      *
@@ -631,7 +564,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The force. */ @java.lang.Override @@ -639,8 +571,6 @@ public boolean getForce() { return force_; } /** - * - * *
      * Required. If true, deletes all tags that use this template.
      *
@@ -648,7 +578,6 @@ public boolean getForce() {
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The force to set. * @return This builder for chaining. */ @@ -660,8 +589,6 @@ public Builder setForce(boolean value) { return this; } /** - * - * *
      * Required. If true, deletes all tags that use this template.
      *
@@ -669,7 +596,6 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearForce() { @@ -678,9 +604,9 @@ public Builder clearForce() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -690,12 +616,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.DeleteTagTemplateRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DeleteTagTemplateRequest) private static final com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest(); } @@ -704,27 +630,27 @@ public static com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTagTemplateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTagTemplateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -739,4 +665,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequestOrBuilder.java new file mode 100644 index 000000000000..0053ddaf62b8 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequestOrBuilder.java @@ -0,0 +1,41 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/datacatalog.proto + +package com.google.cloud.datacatalog.v1; + +public interface DeleteTagTemplateRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DeleteTagTemplateRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the tag template to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the tag template to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * Required. If true, deletes all tags that use this template.
+   *
+   * Currently, `true` is the only supported value.
+   * 
+ * + * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The force. + */ + boolean getForce(); +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequest.java similarity index 64% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequest.java index 69a9e4373ac1..32fb9e2d5072 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [DeleteTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.DeleteTaxonomy].
@@ -28,58 +11,50 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.DeleteTaxonomyRequest}
  */
-public final class DeleteTaxonomyRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteTaxonomyRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.DeleteTaxonomyRequest)
     DeleteTaxonomyRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteTaxonomyRequest.newBuilder() to construct.
   private DeleteTaxonomyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteTaxonomyRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteTaxonomyRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest.class,
-            com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest.class, com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. Resource name of the taxonomy to delete.
    *
    * Note: All policy tags in this taxonomy are also deleted.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -88,33 +63,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Resource name of the taxonomy to delete.
    *
    * Note: All policy tags in this taxonomy are also deleted.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,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_); } @@ -159,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.datacatalog.v1.DeleteTaxonomyRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest other = - (com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest) obj; + com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest other = (com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest) 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,104 +160,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [DeleteTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.DeleteTaxonomy].
@@ -292,32 +259,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.DeleteTaxonomyRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.DeleteTaxonomyRequest)
       com.google.cloud.datacatalog.v1.DeleteTaxonomyRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest.class,
-              com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest.class, com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -327,9 +295,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
@@ -348,11 +316,8 @@ public com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest result =
-          new com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest result = new com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -368,39 +333,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -408,8 +372,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -441,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) {
@@ -463,29 +424,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. Resource name of the taxonomy to delete.
      *
      * Note: All policy tags in this taxonomy are also deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -494,25 +450,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Resource name of the taxonomy to delete.
      *
      * Note: All policy tags in this taxonomy are also deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -520,43 +473,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Resource name of the taxonomy to delete.
      *
      * Note: All policy tags in this taxonomy are also deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - 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. Resource name of the taxonomy to delete.
      *
      * Note: All policy tags in this taxonomy are also deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -566,34 +508,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Resource name of the taxonomy to delete.
      *
      * Note: All policy tags in this taxonomy are also deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - 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); } @@ -603,12 +539,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.DeleteTaxonomyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DeleteTaxonomyRequest) private static final com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest(); } @@ -617,27 +553,27 @@ public static com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTaxonomyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTaxonomyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -652,4 +588,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequestOrBuilder.java new file mode 100644 index 000000000000..14b982735722 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/policytagmanager.proto + +package com.google.cloud.datacatalog.v1; + +public interface DeleteTaxonomyRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DeleteTaxonomyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Resource name of the taxonomy to delete.
+   *
+   * Note: All policy tags in this taxonomy are also deleted.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Resource name of the taxonomy to delete.
+   *
+   * Note: All policy tags in this taxonomy are also deleted.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpContentProto.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpContentProto.java new file mode 100644 index 000000000000..a6e94c27c086 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpContentProto.java @@ -0,0 +1,85 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/dump_content.proto + +package com.google.cloud.datacatalog.v1; + +public final class DumpContentProto { + private DumpContentProto() {} + 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_datacatalog_v1_TaggedEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_TaggedEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_DumpItem_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DumpItem_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/datacatalog/v1/dump_conte" + + "nt.proto\022\033google.cloud.datacatalog.v1\032\037g" + + "oogle/api/field_behavior.proto\032-google/c" + + "loud/datacatalog/v1/datacatalog.proto\032&g" + + "oogle/cloud/datacatalog/v1/tags.proto\"\311\001" + + "\n\013TaggedEntry\0226\n\010v1_entry\030\001 \001(\0132\".google" + + ".cloud.datacatalog.v1.EntryH\000\022<\n\014present" + + "_tags\030\002 \003(\0132 .google.cloud.datacatalog.v" + + "1.TagB\004\342A\001\001\022;\n\013absent_tags\030\003 \003(\0132 .googl" + + "e.cloud.datacatalog.v1.TagB\004\342A\001\001B\007\n\005entr" + + "y\"T\n\010DumpItem\022@\n\014tagged_entry\030\001 \001(\0132(.go" + + "ogle.cloud.datacatalog.v1.TaggedEntryH\000B" + + "\006\n\004itemB\330\001\n\037com.google.cloud.datacatalog" + + ".v1B\020DumpContentProtoP\001ZAcloud.google.co" + + "m/go/datacatalog/apiv1/datacatalogpb;dat" + + "acatalogpb\370\001\001\252\002\033Google.Cloud.DataCatalog" + + ".V1\312\002\033Google\\Cloud\\DataCatalog\\V1\352\002\036Goog" + + "le::Cloud::DataCatalog::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.cloud.datacatalog.v1.Datacatalog.getDescriptor(), + com.google.cloud.datacatalog.v1.Tags.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1_TaggedEntry_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1_TaggedEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_TaggedEntry_descriptor, + new java.lang.String[] { "V1Entry", "PresentTags", "AbsentTags", "Entry", }); + internal_static_google_cloud_datacatalog_v1_DumpItem_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1_DumpItem_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DumpItem_descriptor, + new java.lang.String[] { "TaggedEntry", "Item", }); + 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.datacatalog.v1.Datacatalog.getDescriptor(); + com.google.cloud.datacatalog.v1.Tags.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItem.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItem.java similarity index 67% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItem.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItem.java index e5a036c7fa51..8f184d655d3c 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItem.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItem.java @@ -1,78 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/dump_content.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Wrapper for any item that can be contained in the dump.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.DumpItem} */ -public final class DumpItem extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DumpItem extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.DumpItem) DumpItemOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DumpItem.newBuilder() to construct. private DumpItem(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DumpItem() {} + private DumpItem() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DumpItem(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.DumpContentProto - .internal_static_google_cloud_datacatalog_v1_DumpItem_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.DumpContentProto.internal_static_google_cloud_datacatalog_v1_DumpItem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.DumpContentProto - .internal_static_google_cloud_datacatalog_v1_DumpItem_fieldAccessorTable + return com.google.cloud.datacatalog.v1.DumpContentProto.internal_static_google_cloud_datacatalog_v1_DumpItem_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.DumpItem.class, - com.google.cloud.datacatalog.v1.DumpItem.Builder.class); + com.google.cloud.datacatalog.v1.DumpItem.class, com.google.cloud.datacatalog.v1.DumpItem.Builder.class); } private int itemCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object item_; - public enum ItemCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TAGGED_ENTRY(1), ITEM_NOT_SET(0); private final int value; - private ItemCase(int value) { this.value = value; } @@ -88,34 +66,29 @@ public static ItemCase valueOf(int value) { public static ItemCase forNumber(int value) { switch (value) { - case 1: - return TAGGED_ENTRY; - case 0: - return ITEM_NOT_SET; - default: - return null; + case 1: return TAGGED_ENTRY; + case 0: return ITEM_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ItemCase getItemCase() { - return ItemCase.forNumber(itemCase_); + public ItemCase + getItemCase() { + return ItemCase.forNumber( + itemCase_); } public static final int TAGGED_ENTRY_FIELD_NUMBER = 1; /** - * - * *
    * Entry and its tags.
    * 
* * .google.cloud.datacatalog.v1.TaggedEntry tagged_entry = 1; - * * @return Whether the taggedEntry field is set. */ @java.lang.Override @@ -123,26 +96,21 @@ public boolean hasTaggedEntry() { return itemCase_ == 1; } /** - * - * *
    * Entry and its tags.
    * 
* * .google.cloud.datacatalog.v1.TaggedEntry tagged_entry = 1; - * * @return The taggedEntry. */ @java.lang.Override public com.google.cloud.datacatalog.v1.TaggedEntry getTaggedEntry() { if (itemCase_ == 1) { - return (com.google.cloud.datacatalog.v1.TaggedEntry) item_; + return (com.google.cloud.datacatalog.v1.TaggedEntry) item_; } return com.google.cloud.datacatalog.v1.TaggedEntry.getDefaultInstance(); } /** - * - * *
    * Entry and its tags.
    * 
@@ -152,13 +120,12 @@ public com.google.cloud.datacatalog.v1.TaggedEntry getTaggedEntry() { @java.lang.Override public com.google.cloud.datacatalog.v1.TaggedEntryOrBuilder getTaggedEntryOrBuilder() { if (itemCase_ == 1) { - return (com.google.cloud.datacatalog.v1.TaggedEntry) item_; + return (com.google.cloud.datacatalog.v1.TaggedEntry) item_; } return com.google.cloud.datacatalog.v1.TaggedEntry.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -170,7 +137,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (itemCase_ == 1) { output.writeMessage(1, (com.google.cloud.datacatalog.v1.TaggedEntry) item_); } @@ -184,9 +152,8 @@ public int getSerializedSize() { size = 0; if (itemCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.datacatalog.v1.TaggedEntry) item_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.datacatalog.v1.TaggedEntry) item_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -196,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.datacatalog.v1.DumpItem)) { return super.equals(obj); @@ -206,7 +173,8 @@ public boolean equals(final java.lang.Object obj) { if (!getItemCase().equals(other.getItemCase())) return false; switch (itemCase_) { case 1: - if (!getTaggedEntry().equals(other.getTaggedEntry())) return false; + if (!getTaggedEntry() + .equals(other.getTaggedEntry())) return false; break; case 0: default: @@ -235,136 +203,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.DumpItem parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.DumpItem parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DumpItem parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DumpItem parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DumpItem parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DumpItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.DumpItem parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DumpItem parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.DumpItem parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DumpItem parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DumpItem parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.DumpItem parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DumpItem parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.DumpItem parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.DumpItem prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Wrapper for any item that can be contained in the dump.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.DumpItem} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.DumpItem) com.google.cloud.datacatalog.v1.DumpItemOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.DumpContentProto - .internal_static_google_cloud_datacatalog_v1_DumpItem_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.DumpContentProto.internal_static_google_cloud_datacatalog_v1_DumpItem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.DumpContentProto - .internal_static_google_cloud_datacatalog_v1_DumpItem_fieldAccessorTable + return com.google.cloud.datacatalog.v1.DumpContentProto.internal_static_google_cloud_datacatalog_v1_DumpItem_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.DumpItem.class, - com.google.cloud.datacatalog.v1.DumpItem.Builder.class); + com.google.cloud.datacatalog.v1.DumpItem.class, com.google.cloud.datacatalog.v1.DumpItem.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.DumpItem.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +342,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.DumpContentProto - .internal_static_google_cloud_datacatalog_v1_DumpItem_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.DumpContentProto.internal_static_google_cloud_datacatalog_v1_DumpItem_descriptor; } @java.lang.Override @@ -399,11 +363,8 @@ public com.google.cloud.datacatalog.v1.DumpItem build() { @java.lang.Override public com.google.cloud.datacatalog.v1.DumpItem buildPartial() { - com.google.cloud.datacatalog.v1.DumpItem result = - new com.google.cloud.datacatalog.v1.DumpItem(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1.DumpItem result = new com.google.cloud.datacatalog.v1.DumpItem(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -416,7 +377,8 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DumpItem result) { private void buildPartialOneofs(com.google.cloud.datacatalog.v1.DumpItem result) { result.itemCase_ = itemCase_; result.item_ = this.item_; - if (itemCase_ == 1 && taggedEntryBuilder_ != null) { + if (itemCase_ == 1 && + taggedEntryBuilder_ != null) { result.item_ = taggedEntryBuilder_.build(); } } @@ -425,39 +387,38 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.DumpItem result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.DumpItem) { - return mergeFrom((com.google.cloud.datacatalog.v1.DumpItem) other); + return mergeFrom((com.google.cloud.datacatalog.v1.DumpItem)other); } else { super.mergeFrom(other); return this; @@ -467,15 +428,13 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.datacatalog.v1.DumpItem other) { if (other == com.google.cloud.datacatalog.v1.DumpItem.getDefaultInstance()) return this; switch (other.getItemCase()) { - case TAGGED_ENTRY: - { - mergeTaggedEntry(other.getTaggedEntry()); - break; - } - case ITEM_NOT_SET: - { - break; - } + case TAGGED_ENTRY: { + mergeTaggedEntry(other.getTaggedEntry()); + break; + } + case ITEM_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -503,19 +462,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getTaggedEntryFieldBuilder().getBuilder(), extensionRegistry); - itemCase_ = 1; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getTaggedEntryFieldBuilder().getBuilder(), + extensionRegistry); + itemCase_ = 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) { @@ -525,12 +484,12 @@ public Builder mergeFrom( } // finally return this; } - private int itemCase_ = 0; private java.lang.Object item_; - - public ItemCase getItemCase() { - return ItemCase.forNumber(itemCase_); + public ItemCase + getItemCase() { + return ItemCase.forNumber( + itemCase_); } public Builder clearItem() { @@ -543,19 +502,13 @@ public Builder clearItem() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.TaggedEntry, - com.google.cloud.datacatalog.v1.TaggedEntry.Builder, - com.google.cloud.datacatalog.v1.TaggedEntryOrBuilder> - taggedEntryBuilder_; + com.google.cloud.datacatalog.v1.TaggedEntry, com.google.cloud.datacatalog.v1.TaggedEntry.Builder, com.google.cloud.datacatalog.v1.TaggedEntryOrBuilder> taggedEntryBuilder_; /** - * - * *
      * Entry and its tags.
      * 
* * .google.cloud.datacatalog.v1.TaggedEntry tagged_entry = 1; - * * @return Whether the taggedEntry field is set. */ @java.lang.Override @@ -563,14 +516,11 @@ public boolean hasTaggedEntry() { return itemCase_ == 1; } /** - * - * *
      * Entry and its tags.
      * 
* * .google.cloud.datacatalog.v1.TaggedEntry tagged_entry = 1; - * * @return The taggedEntry. */ @java.lang.Override @@ -588,8 +538,6 @@ public com.google.cloud.datacatalog.v1.TaggedEntry getTaggedEntry() { } } /** - * - * *
      * Entry and its tags.
      * 
@@ -610,8 +558,6 @@ public Builder setTaggedEntry(com.google.cloud.datacatalog.v1.TaggedEntry value) return this; } /** - * - * *
      * Entry and its tags.
      * 
@@ -630,8 +576,6 @@ public Builder setTaggedEntry( return this; } /** - * - * *
      * Entry and its tags.
      * 
@@ -640,13 +584,10 @@ public Builder setTaggedEntry( */ public Builder mergeTaggedEntry(com.google.cloud.datacatalog.v1.TaggedEntry value) { if (taggedEntryBuilder_ == null) { - if (itemCase_ == 1 - && item_ != com.google.cloud.datacatalog.v1.TaggedEntry.getDefaultInstance()) { - item_ = - com.google.cloud.datacatalog.v1.TaggedEntry.newBuilder( - (com.google.cloud.datacatalog.v1.TaggedEntry) item_) - .mergeFrom(value) - .buildPartial(); + if (itemCase_ == 1 && + item_ != com.google.cloud.datacatalog.v1.TaggedEntry.getDefaultInstance()) { + item_ = com.google.cloud.datacatalog.v1.TaggedEntry.newBuilder((com.google.cloud.datacatalog.v1.TaggedEntry) item_) + .mergeFrom(value).buildPartial(); } else { item_ = value; } @@ -662,8 +603,6 @@ public Builder mergeTaggedEntry(com.google.cloud.datacatalog.v1.TaggedEntry valu return this; } /** - * - * *
      * Entry and its tags.
      * 
@@ -687,8 +626,6 @@ public Builder clearTaggedEntry() { return this; } /** - * - * *
      * Entry and its tags.
      * 
@@ -699,8 +636,6 @@ public com.google.cloud.datacatalog.v1.TaggedEntry.Builder getTaggedEntryBuilder return getTaggedEntryFieldBuilder().getBuilder(); } /** - * - * *
      * Entry and its tags.
      * 
@@ -719,8 +654,6 @@ public com.google.cloud.datacatalog.v1.TaggedEntryOrBuilder getTaggedEntryOrBuil } } /** - * - * *
      * Entry and its tags.
      * 
@@ -728,19 +661,14 @@ public com.google.cloud.datacatalog.v1.TaggedEntryOrBuilder getTaggedEntryOrBuil * .google.cloud.datacatalog.v1.TaggedEntry tagged_entry = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.TaggedEntry, - com.google.cloud.datacatalog.v1.TaggedEntry.Builder, - com.google.cloud.datacatalog.v1.TaggedEntryOrBuilder> + com.google.cloud.datacatalog.v1.TaggedEntry, com.google.cloud.datacatalog.v1.TaggedEntry.Builder, com.google.cloud.datacatalog.v1.TaggedEntryOrBuilder> getTaggedEntryFieldBuilder() { if (taggedEntryBuilder_ == null) { if (!(itemCase_ == 1)) { item_ = com.google.cloud.datacatalog.v1.TaggedEntry.getDefaultInstance(); } - taggedEntryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.TaggedEntry, - com.google.cloud.datacatalog.v1.TaggedEntry.Builder, - com.google.cloud.datacatalog.v1.TaggedEntryOrBuilder>( + taggedEntryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.TaggedEntry, com.google.cloud.datacatalog.v1.TaggedEntry.Builder, com.google.cloud.datacatalog.v1.TaggedEntryOrBuilder>( (com.google.cloud.datacatalog.v1.TaggedEntry) item_, getParentForChildren(), isClean()); @@ -750,9 +678,9 @@ public com.google.cloud.datacatalog.v1.TaggedEntryOrBuilder getTaggedEntryOrBuil onChanged(); return taggedEntryBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -762,12 +690,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.DumpItem) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DumpItem) private static final com.google.cloud.datacatalog.v1.DumpItem DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DumpItem(); } @@ -776,27 +704,27 @@ public static com.google.cloud.datacatalog.v1.DumpItem getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DumpItem parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DumpItem parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -811,4 +739,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.DumpItem getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItemOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItemOrBuilder.java similarity index 60% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItemOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItemOrBuilder.java index ddc50a2b0ca5..edba41a9ebed 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItemOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItemOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/dump_content.proto package com.google.cloud.datacatalog.v1; -public interface DumpItemOrBuilder - extends +public interface DumpItemOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DumpItem) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Entry and its tags.
    * 
* * .google.cloud.datacatalog.v1.TaggedEntry tagged_entry = 1; - * * @return Whether the taggedEntry field is set. */ boolean hasTaggedEntry(); /** - * - * *
    * Entry and its tags.
    * 
* * .google.cloud.datacatalog.v1.TaggedEntry tagged_entry = 1; - * * @return The taggedEntry. */ com.google.cloud.datacatalog.v1.TaggedEntry getTaggedEntry(); /** - * - * *
    * Entry and its tags.
    * 
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Entry.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Entry.java similarity index 72% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Entry.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Entry.java index 27de47faf43d..b612db25de81 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Entry.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Entry.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Entry metadata.
  * A Data Catalog entry represents another resource in Google
@@ -36,16 +19,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.Entry}
  */
-public final class Entry extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Entry extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.Entry)
     EntryOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Entry.newBuilder() to construct.
   private Entry(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Entry() {
     name_ = "";
     linkedResource_ = "";
@@ -56,50 +38,46 @@ private Entry() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Entry();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_Entry_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_Entry_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 14:
         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.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_Entry_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_Entry_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.Entry.class,
-            com.google.cloud.datacatalog.v1.Entry.Builder.class);
+            com.google.cloud.datacatalog.v1.Entry.class, com.google.cloud.datacatalog.v1.Entry.Builder.class);
   }
 
   private int entryTypeCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object entryType_;
-
   public enum EntryTypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     TYPE(2),
     USER_SPECIFIED_TYPE(16),
     ENTRYTYPE_NOT_SET(0);
     private final int value;
-
     private EntryTypeCase(int value) {
       this.value = value;
     }
@@ -115,40 +93,33 @@ public static EntryTypeCase valueOf(int value) {
 
     public static EntryTypeCase forNumber(int value) {
       switch (value) {
-        case 2:
-          return TYPE;
-        case 16:
-          return USER_SPECIFIED_TYPE;
-        case 0:
-          return ENTRYTYPE_NOT_SET;
-        default:
-          return null;
+        case 2: return TYPE;
+        case 16: return USER_SPECIFIED_TYPE;
+        case 0: return ENTRYTYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public EntryTypeCase getEntryTypeCase() {
-    return EntryTypeCase.forNumber(entryTypeCase_);
+  public EntryTypeCase
+  getEntryTypeCase() {
+    return EntryTypeCase.forNumber(
+        entryTypeCase_);
   }
 
   private int systemCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object system_;
-
   public enum SystemCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     INTEGRATED_SYSTEM(17),
     USER_SPECIFIED_SYSTEM(18),
     SYSTEM_NOT_SET(0);
     private final int value;
-
     private SystemCase(int value) {
       this.value = value;
     }
@@ -164,41 +135,34 @@ public static SystemCase valueOf(int value) {
 
     public static SystemCase forNumber(int value) {
       switch (value) {
-        case 17:
-          return INTEGRATED_SYSTEM;
-        case 18:
-          return USER_SPECIFIED_SYSTEM;
-        case 0:
-          return SYSTEM_NOT_SET;
-        default:
-          return null;
+        case 17: return INTEGRATED_SYSTEM;
+        case 18: return USER_SPECIFIED_SYSTEM;
+        case 0: return SYSTEM_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SystemCase getSystemCase() {
-    return SystemCase.forNumber(systemCase_);
+  public SystemCase
+  getSystemCase() {
+    return SystemCase.forNumber(
+        systemCase_);
   }
 
   private int systemSpecCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object systemSpec_;
-
   public enum SystemSpecCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     SQL_DATABASE_SYSTEM_SPEC(39),
     LOOKER_SYSTEM_SPEC(40),
     CLOUD_BIGTABLE_SYSTEM_SPEC(41),
     SYSTEMSPEC_NOT_SET(0);
     private final int value;
-
     private SystemSpecCase(int value) {
       this.value = value;
     }
@@ -214,43 +178,35 @@ public static SystemSpecCase valueOf(int value) {
 
     public static SystemSpecCase forNumber(int value) {
       switch (value) {
-        case 39:
-          return SQL_DATABASE_SYSTEM_SPEC;
-        case 40:
-          return LOOKER_SYSTEM_SPEC;
-        case 41:
-          return CLOUD_BIGTABLE_SYSTEM_SPEC;
-        case 0:
-          return SYSTEMSPEC_NOT_SET;
-        default:
-          return null;
+        case 39: return SQL_DATABASE_SYSTEM_SPEC;
+        case 40: return LOOKER_SYSTEM_SPEC;
+        case 41: return CLOUD_BIGTABLE_SYSTEM_SPEC;
+        case 0: return SYSTEMSPEC_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SystemSpecCase getSystemSpecCase() {
-    return SystemSpecCase.forNumber(systemSpecCase_);
+  public SystemSpecCase
+  getSystemSpecCase() {
+    return SystemSpecCase.forNumber(
+        systemSpecCase_);
   }
 
   private int typeSpecCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object typeSpec_;
-
   public enum TypeSpecCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     GCS_FILESET_SPEC(6),
     BIGQUERY_TABLE_SPEC(12),
     BIGQUERY_DATE_SHARDED_SPEC(15),
     TYPESPEC_NOT_SET(0);
     private final int value;
-
     private TypeSpecCase(int value) {
       this.value = value;
     }
@@ -266,36 +222,29 @@ public static TypeSpecCase valueOf(int value) {
 
     public static TypeSpecCase forNumber(int value) {
       switch (value) {
-        case 6:
-          return GCS_FILESET_SPEC;
-        case 12:
-          return BIGQUERY_TABLE_SPEC;
-        case 15:
-          return BIGQUERY_DATE_SHARDED_SPEC;
-        case 0:
-          return TYPESPEC_NOT_SET;
-        default:
-          return null;
+        case 6: return GCS_FILESET_SPEC;
+        case 12: return BIGQUERY_TABLE_SPEC;
+        case 15: return BIGQUERY_DATE_SHARDED_SPEC;
+        case 0: return TYPESPEC_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TypeSpecCase getTypeSpecCase() {
-    return TypeSpecCase.forNumber(typeSpecCase_);
+  public TypeSpecCase
+  getTypeSpecCase() {
+    return TypeSpecCase.forNumber(
+        typeSpecCase_);
   }
 
   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 {
     DATABASE_TABLE_SPEC(24),
     DATA_SOURCE_CONNECTION_SPEC(27),
@@ -304,7 +253,6 @@ public enum SpecCase
     SERVICE_SPEC(42),
     SPEC_NOT_SET(0);
     private final int value;
-
     private SpecCase(int value) {
       this.value = value;
     }
@@ -320,39 +268,30 @@ public static SpecCase valueOf(int value) {
 
     public static SpecCase forNumber(int value) {
       switch (value) {
-        case 24:
-          return DATABASE_TABLE_SPEC;
-        case 27:
-          return DATA_SOURCE_CONNECTION_SPEC;
-        case 28:
-          return ROUTINE_SPEC;
-        case 33:
-          return FILESET_SPEC;
-        case 42:
-          return SERVICE_SPEC;
-        case 0:
-          return SPEC_NOT_SET;
-        default:
-          return null;
+        case 24: return DATABASE_TABLE_SPEC;
+        case 27: return DATA_SOURCE_CONNECTION_SPEC;
+        case 28: return ROUTINE_SPEC;
+        case 33: return FILESET_SPEC;
+        case 42: return SERVICE_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_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Output only. The resource name of an entry in URL format.
    *
@@ -360,10 +299,7 @@ public SpecCase getSpecCase() {
    * stored in the location specified in its name.
    * 
* - * - * 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 @@ -372,15 +308,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 resource name of an entry in URL format.
    *
@@ -388,18 +323,17 @@ public java.lang.String getName() {
    * stored in the location specified in its name.
    * 
* - * - * 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 { @@ -408,12 +342,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int LINKED_RESOURCE_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object linkedResource_ = ""; /** - * - * *
    * The resource this metadata entry refers to.
    *
@@ -436,7 +367,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string linked_resource = 9; - * * @return The linkedResource. */ @java.lang.Override @@ -445,15 +375,14 @@ public java.lang.String getLinkedResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); linkedResource_ = s; return s; } } /** - * - * *
    * The resource this metadata entry refers to.
    *
@@ -476,15 +405,16 @@ public java.lang.String getLinkedResource() {
    * 
* * string linked_resource = 9; - * * @return The bytes for linkedResource. */ @java.lang.Override - public com.google.protobuf.ByteString getLinkedResourceBytes() { + public com.google.protobuf.ByteString + getLinkedResourceBytes() { java.lang.Object ref = linkedResource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); linkedResource_ = b; return b; } else { @@ -493,12 +423,9 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { } public static final int FULLY_QUALIFIED_NAME_FIELD_NUMBER = 29; - @SuppressWarnings("serial") private volatile java.lang.Object fullyQualifiedName_ = ""; /** - * - * *
    * [Fully Qualified Name
    * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -508,7 +435,6 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() {
    * 
* * string fully_qualified_name = 29; - * * @return The fullyQualifiedName. */ @java.lang.Override @@ -517,15 +443,14 @@ public java.lang.String getFullyQualifiedName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullyQualifiedName_ = s; return s; } } /** - * - * *
    * [Fully Qualified Name
    * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -535,15 +460,16 @@ public java.lang.String getFullyQualifiedName() {
    * 
* * string fully_qualified_name = 29; - * * @return The bytes for fullyQualifiedName. */ @java.lang.Override - public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { + public com.google.protobuf.ByteString + getFullyQualifiedNameBytes() { java.lang.Object ref = fullyQualifiedName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fullyQualifiedName_ = b; return b; } else { @@ -553,36 +479,26 @@ public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { public static final int TYPE_FIELD_NUMBER = 2; /** - * - * *
    * The type of the entry.
-   * Only used for entries with types listed in the `EntryType` enum.
    *
-   * Currently, only `FILESET` enum value is allowed. All other entries
-   * created in Data Catalog must use the `user_specified_type`.
+   * For details, see [`EntryType`](#entrytype).
    * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; - * * @return Whether the type field is set. */ public boolean hasType() { return entryTypeCase_ == 2; } /** - * - * *
    * The type of the entry.
-   * Only used for entries with types listed in the `EntryType` enum.
    *
-   * Currently, only `FILESET` enum value is allowed. All other entries
-   * created in Data Catalog must use the `user_specified_type`.
+   * For details, see [`EntryType`](#entrytype).
    * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; - * * @return The enum numeric value on the wire for type. */ public int getTypeValue() { @@ -592,24 +508,19 @@ public int getTypeValue() { return 0; } /** - * - * *
    * The type of the entry.
-   * Only used for entries with types listed in the `EntryType` enum.
    *
-   * Currently, only `FILESET` enum value is allowed. All other entries
-   * created in Data Catalog must use the `user_specified_type`.
+   * For details, see [`EntryType`](#entrytype).
    * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; - * * @return The type. */ public com.google.cloud.datacatalog.v1.EntryType getType() { if (entryTypeCase_ == 2) { - com.google.cloud.datacatalog.v1.EntryType result = - com.google.cloud.datacatalog.v1.EntryType.forNumber((java.lang.Integer) entryType_); + com.google.cloud.datacatalog.v1.EntryType result = com.google.cloud.datacatalog.v1.EntryType.forNumber( + (java.lang.Integer) entryType_); return result == null ? com.google.cloud.datacatalog.v1.EntryType.UNRECOGNIZED : result; } return com.google.cloud.datacatalog.v1.EntryType.ENTRY_TYPE_UNSPECIFIED; @@ -617,8 +528,6 @@ public com.google.cloud.datacatalog.v1.EntryType getType() { public static final int USER_SPECIFIED_TYPE_FIELD_NUMBER = 16; /** - * - * *
    * Custom entry type that doesn't match any of the values allowed for input
    * and listed in the `EntryType` enum.
@@ -636,15 +545,12 @@ public com.google.cloud.datacatalog.v1.EntryType getType() {
    * 
* * string user_specified_type = 16; - * * @return Whether the userSpecifiedType field is set. */ public boolean hasUserSpecifiedType() { return entryTypeCase_ == 16; } /** - * - * *
    * Custom entry type that doesn't match any of the values allowed for input
    * and listed in the `EntryType` enum.
@@ -662,7 +568,6 @@ public boolean hasUserSpecifiedType() {
    * 
* * string user_specified_type = 16; - * * @return The userSpecifiedType. */ public java.lang.String getUserSpecifiedType() { @@ -673,7 +578,8 @@ public java.lang.String getUserSpecifiedType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (entryTypeCase_ == 16) { entryType_ = s; @@ -682,8 +588,6 @@ public java.lang.String getUserSpecifiedType() { } } /** - * - * *
    * Custom entry type that doesn't match any of the values allowed for input
    * and listed in the `EntryType` enum.
@@ -701,17 +605,18 @@ public java.lang.String getUserSpecifiedType() {
    * 
* * string user_specified_type = 16; - * * @return The bytes for userSpecifiedType. */ - public com.google.protobuf.ByteString getUserSpecifiedTypeBytes() { + public com.google.protobuf.ByteString + getUserSpecifiedTypeBytes() { java.lang.Object ref = ""; if (entryTypeCase_ == 16) { ref = entryType_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (entryTypeCase_ == 16) { entryType_ = b; } @@ -723,34 +628,24 @@ public com.google.protobuf.ByteString getUserSpecifiedTypeBytes() { public static final int INTEGRATED_SYSTEM_FIELD_NUMBER = 17; /** - * - * *
    * Output only. Indicates the entry's source system that Data Catalog
    * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
    * 
* - * - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the integratedSystem field is set. */ public boolean hasIntegratedSystem() { return systemCase_ == 17; } /** - * - * *
    * Output only. Indicates the entry's source system that Data Catalog
    * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
    * 
* - * - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for integratedSystem. */ public int getIntegratedSystemValue() { @@ -760,34 +655,25 @@ public int getIntegratedSystemValue() { return 0; } /** - * - * *
    * Output only. Indicates the entry's source system that Data Catalog
    * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
    * 
* - * - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The integratedSystem. */ public com.google.cloud.datacatalog.v1.IntegratedSystem getIntegratedSystem() { if (systemCase_ == 17) { - com.google.cloud.datacatalog.v1.IntegratedSystem result = - com.google.cloud.datacatalog.v1.IntegratedSystem.forNumber((java.lang.Integer) system_); - return result == null - ? com.google.cloud.datacatalog.v1.IntegratedSystem.UNRECOGNIZED - : result; + com.google.cloud.datacatalog.v1.IntegratedSystem result = com.google.cloud.datacatalog.v1.IntegratedSystem.forNumber( + (java.lang.Integer) system_); + return result == null ? com.google.cloud.datacatalog.v1.IntegratedSystem.UNRECOGNIZED : result; } return com.google.cloud.datacatalog.v1.IntegratedSystem.INTEGRATED_SYSTEM_UNSPECIFIED; } public static final int USER_SPECIFIED_SYSTEM_FIELD_NUMBER = 18; /** - * - * *
    * Indicates the entry's source system that Data Catalog doesn't
    * automatically integrate with.
@@ -801,15 +687,12 @@ public com.google.cloud.datacatalog.v1.IntegratedSystem getIntegratedSystem() {
    * 
* * string user_specified_system = 18; - * * @return Whether the userSpecifiedSystem field is set. */ public boolean hasUserSpecifiedSystem() { return systemCase_ == 18; } /** - * - * *
    * Indicates the entry's source system that Data Catalog doesn't
    * automatically integrate with.
@@ -823,7 +706,6 @@ public boolean hasUserSpecifiedSystem() {
    * 
* * string user_specified_system = 18; - * * @return The userSpecifiedSystem. */ public java.lang.String getUserSpecifiedSystem() { @@ -834,7 +716,8 @@ public java.lang.String getUserSpecifiedSystem() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (systemCase_ == 18) { system_ = s; @@ -843,8 +726,6 @@ public java.lang.String getUserSpecifiedSystem() { } } /** - * - * *
    * Indicates the entry's source system that Data Catalog doesn't
    * automatically integrate with.
@@ -858,17 +739,18 @@ public java.lang.String getUserSpecifiedSystem() {
    * 
* * string user_specified_system = 18; - * * @return The bytes for userSpecifiedSystem. */ - public com.google.protobuf.ByteString getUserSpecifiedSystemBytes() { + public com.google.protobuf.ByteString + getUserSpecifiedSystemBytes() { java.lang.Object ref = ""; if (systemCase_ == 18) { ref = system_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (systemCase_ == 18) { system_ = b; } @@ -880,15 +762,12 @@ public com.google.protobuf.ByteString getUserSpecifiedSystemBytes() { public static final int SQL_DATABASE_SYSTEM_SPEC_FIELD_NUMBER = 39; /** - * - * *
    * Specification that applies to a relational database system. Only settable
    * when `user_specified_system` is equal to `SQL_DATABASE`
    * 
* * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; - * * @return Whether the sqlDatabaseSystemSpec field is set. */ @java.lang.Override @@ -896,27 +775,22 @@ public boolean hasSqlDatabaseSystemSpec() { return systemSpecCase_ == 39; } /** - * - * *
    * Specification that applies to a relational database system. Only settable
    * when `user_specified_system` is equal to `SQL_DATABASE`
    * 
* * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; - * * @return The sqlDatabaseSystemSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec getSqlDatabaseSystemSpec() { if (systemSpecCase_ == 39) { - return (com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec) systemSpec_; + return (com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec) systemSpec_; } return com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.getDefaultInstance(); } /** - * - * *
    * Specification that applies to a relational database system. Only settable
    * when `user_specified_system` is equal to `SQL_DATABASE`
@@ -925,25 +799,21 @@ public com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec getSqlDatabaseSyste
    * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39;
    */
   @java.lang.Override
-  public com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpecOrBuilder
-      getSqlDatabaseSystemSpecOrBuilder() {
+  public com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpecOrBuilder getSqlDatabaseSystemSpecOrBuilder() {
     if (systemSpecCase_ == 39) {
-      return (com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec) systemSpec_;
+       return (com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec) systemSpec_;
     }
     return com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.getDefaultInstance();
   }
 
   public static final int LOOKER_SYSTEM_SPEC_FIELD_NUMBER = 40;
   /**
-   *
-   *
    * 
    * Specification that applies to Looker sysstem. Only settable when
    * `user_specified_system` is equal to `LOOKER`
    * 
* * .google.cloud.datacatalog.v1.LookerSystemSpec looker_system_spec = 40; - * * @return Whether the lookerSystemSpec field is set. */ @java.lang.Override @@ -951,27 +821,22 @@ public boolean hasLookerSystemSpec() { return systemSpecCase_ == 40; } /** - * - * *
    * Specification that applies to Looker sysstem. Only settable when
    * `user_specified_system` is equal to `LOOKER`
    * 
* * .google.cloud.datacatalog.v1.LookerSystemSpec looker_system_spec = 40; - * * @return The lookerSystemSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.LookerSystemSpec getLookerSystemSpec() { if (systemSpecCase_ == 40) { - return (com.google.cloud.datacatalog.v1.LookerSystemSpec) systemSpec_; + return (com.google.cloud.datacatalog.v1.LookerSystemSpec) systemSpec_; } return com.google.cloud.datacatalog.v1.LookerSystemSpec.getDefaultInstance(); } /** - * - * *
    * Specification that applies to Looker sysstem. Only settable when
    * `user_specified_system` is equal to `LOOKER`
@@ -982,23 +847,19 @@ public com.google.cloud.datacatalog.v1.LookerSystemSpec getLookerSystemSpec() {
   @java.lang.Override
   public com.google.cloud.datacatalog.v1.LookerSystemSpecOrBuilder getLookerSystemSpecOrBuilder() {
     if (systemSpecCase_ == 40) {
-      return (com.google.cloud.datacatalog.v1.LookerSystemSpec) systemSpec_;
+       return (com.google.cloud.datacatalog.v1.LookerSystemSpec) systemSpec_;
     }
     return com.google.cloud.datacatalog.v1.LookerSystemSpec.getDefaultInstance();
   }
 
   public static final int CLOUD_BIGTABLE_SYSTEM_SPEC_FIELD_NUMBER = 41;
   /**
-   *
-   *
    * 
    * Specification that applies to Cloud Bigtable system. Only settable when
    * `integrated_system` is equal to `CLOUD_BIGTABLE`
    * 
* - * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; - * - * + * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; * @return Whether the cloudBigtableSystemSpec field is set. */ @java.lang.Override @@ -1006,56 +867,45 @@ public boolean hasCloudBigtableSystemSpec() { return systemSpecCase_ == 41; } /** - * - * *
    * Specification that applies to Cloud Bigtable system. Only settable when
    * `integrated_system` is equal to `CLOUD_BIGTABLE`
    * 
* - * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; - * - * + * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; * @return The cloudBigtableSystemSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec getCloudBigtableSystemSpec() { if (systemSpecCase_ == 41) { - return (com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec) systemSpec_; + return (com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec) systemSpec_; } return com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.getDefaultInstance(); } /** - * - * *
    * Specification that applies to Cloud Bigtable system. Only settable when
    * `integrated_system` is equal to `CLOUD_BIGTABLE`
    * 
* - * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; - * + * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.CloudBigtableSystemSpecOrBuilder - getCloudBigtableSystemSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.CloudBigtableSystemSpecOrBuilder getCloudBigtableSystemSpecOrBuilder() { if (systemSpecCase_ == 41) { - return (com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec) systemSpec_; + return (com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec) systemSpec_; } return com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.getDefaultInstance(); } public static final int GCS_FILESET_SPEC_FIELD_NUMBER = 6; /** - * - * *
    * Specification that applies to a Cloud Storage fileset. Valid only
    * for entries with the `FILESET` type.
    * 
* * .google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6; - * * @return Whether the gcsFilesetSpec field is set. */ @java.lang.Override @@ -1063,27 +913,22 @@ public boolean hasGcsFilesetSpec() { return typeSpecCase_ == 6; } /** - * - * *
    * Specification that applies to a Cloud Storage fileset. Valid only
    * for entries with the `FILESET` type.
    * 
* * .google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6; - * * @return The gcsFilesetSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.GcsFilesetSpec getGcsFilesetSpec() { if (typeSpecCase_ == 6) { - return (com.google.cloud.datacatalog.v1.GcsFilesetSpec) typeSpec_; + return (com.google.cloud.datacatalog.v1.GcsFilesetSpec) typeSpec_; } return com.google.cloud.datacatalog.v1.GcsFilesetSpec.getDefaultInstance(); } /** - * - * *
    * Specification that applies to a Cloud Storage fileset. Valid only
    * for entries with the `FILESET` type.
@@ -1094,24 +939,19 @@ public com.google.cloud.datacatalog.v1.GcsFilesetSpec getGcsFilesetSpec() {
   @java.lang.Override
   public com.google.cloud.datacatalog.v1.GcsFilesetSpecOrBuilder getGcsFilesetSpecOrBuilder() {
     if (typeSpecCase_ == 6) {
-      return (com.google.cloud.datacatalog.v1.GcsFilesetSpec) typeSpec_;
+       return (com.google.cloud.datacatalog.v1.GcsFilesetSpec) typeSpec_;
     }
     return com.google.cloud.datacatalog.v1.GcsFilesetSpec.getDefaultInstance();
   }
 
   public static final int BIGQUERY_TABLE_SPEC_FIELD_NUMBER = 12;
   /**
-   *
-   *
    * 
    * Output only. Specification that applies to a BigQuery table. Valid only
    * for entries with the `TABLE` type.
    * 
* - * - * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the bigqueryTableSpec field is set. */ @java.lang.Override @@ -1119,51 +959,39 @@ public boolean hasBigqueryTableSpec() { return typeSpecCase_ == 12; } /** - * - * *
    * Output only. Specification that applies to a BigQuery table. Valid only
    * for entries with the `TABLE` type.
    * 
* - * - * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bigqueryTableSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.BigQueryTableSpec getBigqueryTableSpec() { if (typeSpecCase_ == 12) { - return (com.google.cloud.datacatalog.v1.BigQueryTableSpec) typeSpec_; + return (com.google.cloud.datacatalog.v1.BigQueryTableSpec) typeSpec_; } return com.google.cloud.datacatalog.v1.BigQueryTableSpec.getDefaultInstance(); } /** - * - * *
    * Output only. Specification that applies to a BigQuery table. Valid only
    * for entries with the `TABLE` type.
    * 
* - * - * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.BigQueryTableSpecOrBuilder - getBigqueryTableSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.BigQueryTableSpecOrBuilder getBigqueryTableSpecOrBuilder() { if (typeSpecCase_ == 12) { - return (com.google.cloud.datacatalog.v1.BigQueryTableSpec) typeSpec_; + return (com.google.cloud.datacatalog.v1.BigQueryTableSpec) typeSpec_; } return com.google.cloud.datacatalog.v1.BigQueryTableSpec.getDefaultInstance(); } public static final int BIGQUERY_DATE_SHARDED_SPEC_FIELD_NUMBER = 15; /** - * - * *
    * Output only. Specification for a group of BigQuery tables with
    * the `[prefix]YYYYMMDD` name pattern.
@@ -1172,10 +1000,7 @@ public com.google.cloud.datacatalog.v1.BigQueryTableSpec getBigqueryTableSpec()
    * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
    * 
* - * - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the bigqueryDateShardedSpec field is set. */ @java.lang.Override @@ -1183,8 +1008,6 @@ public boolean hasBigqueryDateShardedSpec() { return typeSpecCase_ == 15; } /** - * - * *
    * Output only. Specification for a group of BigQuery tables with
    * the `[prefix]YYYYMMDD` name pattern.
@@ -1193,22 +1016,17 @@ public boolean hasBigqueryDateShardedSpec() {
    * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
    * 
* - * - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bigqueryDateShardedSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec getBigqueryDateShardedSpec() { if (typeSpecCase_ == 15) { - return (com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec) typeSpec_; + return (com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec) typeSpec_; } return com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.getDefaultInstance(); } /** - * - * *
    * Output only. Specification for a group of BigQuery tables with
    * the `[prefix]YYYYMMDD` name pattern.
@@ -1217,30 +1035,24 @@ public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec getBigqueryDateSh
    * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
    * 
* - * - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpecOrBuilder - getBigqueryDateShardedSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpecOrBuilder getBigqueryDateShardedSpecOrBuilder() { if (typeSpecCase_ == 15) { - return (com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec) typeSpec_; + return (com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec) typeSpec_; } return com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.getDefaultInstance(); } public static final int DATABASE_TABLE_SPEC_FIELD_NUMBER = 24; /** - * - * *
    * Specification that applies to a table resource. Valid only
    * for entries with the `TABLE` or `EXPLORE` type.
    * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; - * * @return Whether the databaseTableSpec field is set. */ @java.lang.Override @@ -1248,27 +1060,22 @@ public boolean hasDatabaseTableSpec() { return specCase_ == 24; } /** - * - * *
    * Specification that applies to a table resource. Valid only
    * for entries with the `TABLE` or `EXPLORE` type.
    * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; - * * @return The databaseTableSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.DatabaseTableSpec getDatabaseTableSpec() { if (specCase_ == 24) { - return (com.google.cloud.datacatalog.v1.DatabaseTableSpec) spec_; + return (com.google.cloud.datacatalog.v1.DatabaseTableSpec) spec_; } return com.google.cloud.datacatalog.v1.DatabaseTableSpec.getDefaultInstance(); } /** - * - * *
    * Specification that applies to a table resource. Valid only
    * for entries with the `TABLE` or `EXPLORE` type.
@@ -1277,26 +1084,21 @@ public com.google.cloud.datacatalog.v1.DatabaseTableSpec getDatabaseTableSpec()
    * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24;
    */
   @java.lang.Override
-  public com.google.cloud.datacatalog.v1.DatabaseTableSpecOrBuilder
-      getDatabaseTableSpecOrBuilder() {
+  public com.google.cloud.datacatalog.v1.DatabaseTableSpecOrBuilder getDatabaseTableSpecOrBuilder() {
     if (specCase_ == 24) {
-      return (com.google.cloud.datacatalog.v1.DatabaseTableSpec) spec_;
+       return (com.google.cloud.datacatalog.v1.DatabaseTableSpec) spec_;
     }
     return com.google.cloud.datacatalog.v1.DatabaseTableSpec.getDefaultInstance();
   }
 
   public static final int DATA_SOURCE_CONNECTION_SPEC_FIELD_NUMBER = 27;
   /**
-   *
-   *
    * 
    * Specification that applies to a data source connection. Valid only
    * for entries with the `DATA_SOURCE_CONNECTION` type.
    * 
* - * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; - * - * + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; * @return Whether the dataSourceConnectionSpec field is set. */ @java.lang.Override @@ -1304,56 +1106,45 @@ public boolean hasDataSourceConnectionSpec() { return specCase_ == 27; } /** - * - * *
    * Specification that applies to a data source connection. Valid only
    * for entries with the `DATA_SOURCE_CONNECTION` type.
    * 
* - * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; - * - * + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; * @return The dataSourceConnectionSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.DataSourceConnectionSpec getDataSourceConnectionSpec() { if (specCase_ == 27) { - return (com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) spec_; + return (com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) spec_; } return com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.getDefaultInstance(); } /** - * - * *
    * Specification that applies to a data source connection. Valid only
    * for entries with the `DATA_SOURCE_CONNECTION` type.
    * 
* - * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; - * + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder - getDataSourceConnectionSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder getDataSourceConnectionSpecOrBuilder() { if (specCase_ == 27) { - return (com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) spec_; + return (com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) spec_; } return com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.getDefaultInstance(); } public static final int ROUTINE_SPEC_FIELD_NUMBER = 28; /** - * - * *
    * Specification that applies to a user-defined function or procedure. Valid
    * only for entries with the `ROUTINE` type.
    * 
* * .google.cloud.datacatalog.v1.RoutineSpec routine_spec = 28; - * * @return Whether the routineSpec field is set. */ @java.lang.Override @@ -1361,27 +1152,22 @@ public boolean hasRoutineSpec() { return specCase_ == 28; } /** - * - * *
    * Specification that applies to a user-defined function or procedure. Valid
    * only for entries with the `ROUTINE` type.
    * 
* * .google.cloud.datacatalog.v1.RoutineSpec routine_spec = 28; - * * @return The routineSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.RoutineSpec getRoutineSpec() { if (specCase_ == 28) { - return (com.google.cloud.datacatalog.v1.RoutineSpec) spec_; + return (com.google.cloud.datacatalog.v1.RoutineSpec) spec_; } return com.google.cloud.datacatalog.v1.RoutineSpec.getDefaultInstance(); } /** - * - * *
    * Specification that applies to a user-defined function or procedure. Valid
    * only for entries with the `ROUTINE` type.
@@ -1392,22 +1178,19 @@ public com.google.cloud.datacatalog.v1.RoutineSpec getRoutineSpec() {
   @java.lang.Override
   public com.google.cloud.datacatalog.v1.RoutineSpecOrBuilder getRoutineSpecOrBuilder() {
     if (specCase_ == 28) {
-      return (com.google.cloud.datacatalog.v1.RoutineSpec) spec_;
+       return (com.google.cloud.datacatalog.v1.RoutineSpec) spec_;
     }
     return com.google.cloud.datacatalog.v1.RoutineSpec.getDefaultInstance();
   }
 
   public static final int FILESET_SPEC_FIELD_NUMBER = 33;
   /**
-   *
-   *
    * 
    * Specification that applies to a fileset resource. Valid only
    * for entries with the `FILESET` type.
    * 
* * .google.cloud.datacatalog.v1.FilesetSpec fileset_spec = 33; - * * @return Whether the filesetSpec field is set. */ @java.lang.Override @@ -1415,27 +1198,22 @@ public boolean hasFilesetSpec() { return specCase_ == 33; } /** - * - * *
    * Specification that applies to a fileset resource. Valid only
    * for entries with the `FILESET` type.
    * 
* * .google.cloud.datacatalog.v1.FilesetSpec fileset_spec = 33; - * * @return The filesetSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.FilesetSpec getFilesetSpec() { if (specCase_ == 33) { - return (com.google.cloud.datacatalog.v1.FilesetSpec) spec_; + return (com.google.cloud.datacatalog.v1.FilesetSpec) spec_; } return com.google.cloud.datacatalog.v1.FilesetSpec.getDefaultInstance(); } /** - * - * *
    * Specification that applies to a fileset resource. Valid only
    * for entries with the `FILESET` type.
@@ -1446,21 +1224,18 @@ public com.google.cloud.datacatalog.v1.FilesetSpec getFilesetSpec() {
   @java.lang.Override
   public com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder getFilesetSpecOrBuilder() {
     if (specCase_ == 33) {
-      return (com.google.cloud.datacatalog.v1.FilesetSpec) spec_;
+       return (com.google.cloud.datacatalog.v1.FilesetSpec) spec_;
     }
     return com.google.cloud.datacatalog.v1.FilesetSpec.getDefaultInstance();
   }
 
   public static final int SERVICE_SPEC_FIELD_NUMBER = 42;
   /**
-   *
-   *
    * 
    * Specification that applies to a Service resource.
    * 
* * .google.cloud.datacatalog.v1.ServiceSpec service_spec = 42; - * * @return Whether the serviceSpec field is set. */ @java.lang.Override @@ -1468,26 +1243,21 @@ public boolean hasServiceSpec() { return specCase_ == 42; } /** - * - * *
    * Specification that applies to a Service resource.
    * 
* * .google.cloud.datacatalog.v1.ServiceSpec service_spec = 42; - * * @return The serviceSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.ServiceSpec getServiceSpec() { if (specCase_ == 42) { - return (com.google.cloud.datacatalog.v1.ServiceSpec) spec_; + return (com.google.cloud.datacatalog.v1.ServiceSpec) spec_; } return com.google.cloud.datacatalog.v1.ServiceSpec.getDefaultInstance(); } /** - * - * *
    * Specification that applies to a Service resource.
    * 
@@ -1497,18 +1267,15 @@ public com.google.cloud.datacatalog.v1.ServiceSpec getServiceSpec() { @java.lang.Override public com.google.cloud.datacatalog.v1.ServiceSpecOrBuilder getServiceSpecOrBuilder() { if (specCase_ == 42) { - return (com.google.cloud.datacatalog.v1.ServiceSpec) spec_; + return (com.google.cloud.datacatalog.v1.ServiceSpec) spec_; } return com.google.cloud.datacatalog.v1.ServiceSpec.getDefaultInstance(); } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Display name of an entry.
    *
@@ -1517,7 +1284,6 @@ public com.google.cloud.datacatalog.v1.ServiceSpecOrBuilder getServiceSpecOrBuil
    * 
* * string display_name = 3; - * * @return The displayName. */ @java.lang.Override @@ -1526,15 +1292,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; } } /** - * - * *
    * Display name of an entry.
    *
@@ -1543,15 +1308,16 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 3; - * * @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 { @@ -1560,12 +1326,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Entry description that can consist of several sentences or paragraphs
    * that describe entry contents.
@@ -1578,7 +1341,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string description = 4; - * * @return The description. */ @java.lang.Override @@ -1587,15 +1349,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; } } /** - * - * *
    * Entry description that can consist of several sentences or paragraphs
    * that describe entry contents.
@@ -1608,15 +1369,16 @@ public java.lang.String getDescription() {
    * 
* * string description = 4; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1627,14 +1389,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int BUSINESS_CONTEXT_FIELD_NUMBER = 37; private com.google.cloud.datacatalog.v1.BusinessContext businessContext_; /** - * - * *
    * Business Context of the entry. Not supported for BigQuery datasets
    * 
* * .google.cloud.datacatalog.v1.BusinessContext business_context = 37; - * * @return Whether the businessContext field is set. */ @java.lang.Override @@ -1642,25 +1401,18 @@ public boolean hasBusinessContext() { return businessContext_ != null; } /** - * - * *
    * Business Context of the entry. Not supported for BigQuery datasets
    * 
* * .google.cloud.datacatalog.v1.BusinessContext business_context = 37; - * * @return The businessContext. */ @java.lang.Override public com.google.cloud.datacatalog.v1.BusinessContext getBusinessContext() { - return businessContext_ == null - ? com.google.cloud.datacatalog.v1.BusinessContext.getDefaultInstance() - : businessContext_; + return businessContext_ == null ? com.google.cloud.datacatalog.v1.BusinessContext.getDefaultInstance() : businessContext_; } /** - * - * *
    * Business Context of the entry. Not supported for BigQuery datasets
    * 
@@ -1669,22 +1421,17 @@ public com.google.cloud.datacatalog.v1.BusinessContext getBusinessContext() { */ @java.lang.Override public com.google.cloud.datacatalog.v1.BusinessContextOrBuilder getBusinessContextOrBuilder() { - return businessContext_ == null - ? com.google.cloud.datacatalog.v1.BusinessContext.getDefaultInstance() - : businessContext_; + return businessContext_ == null ? com.google.cloud.datacatalog.v1.BusinessContext.getDefaultInstance() : businessContext_; } public static final int SCHEMA_FIELD_NUMBER = 5; private com.google.cloud.datacatalog.v1.Schema schema_; /** - * - * *
    * Schema of the entry. An entry might not have any schema attached to it.
    * 
* * .google.cloud.datacatalog.v1.Schema schema = 5; - * * @return Whether the schema field is set. */ @java.lang.Override @@ -1692,14 +1439,11 @@ public boolean hasSchema() { return schema_ != null; } /** - * - * *
    * Schema of the entry. An entry might not have any schema attached to it.
    * 
* * .google.cloud.datacatalog.v1.Schema schema = 5; - * * @return The schema. */ @java.lang.Override @@ -1707,8 +1451,6 @@ public com.google.cloud.datacatalog.v1.Schema getSchema() { return schema_ == null ? com.google.cloud.datacatalog.v1.Schema.getDefaultInstance() : schema_; } /** - * - * *
    * Schema of the entry. An entry might not have any schema attached to it.
    * 
@@ -1723,8 +1465,6 @@ public com.google.cloud.datacatalog.v1.SchemaOrBuilder getSchemaOrBuilder() { public static final int SOURCE_SYSTEM_TIMESTAMPS_FIELD_NUMBER = 7; private com.google.cloud.datacatalog.v1.SystemTimestamps sourceSystemTimestamps_; /** - * - * *
    * Timestamps from the underlying resource, not from the Data Catalog
    * entry.
@@ -1735,7 +1475,6 @@ public com.google.cloud.datacatalog.v1.SchemaOrBuilder getSchemaOrBuilder() {
    * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; - * * @return Whether the sourceSystemTimestamps field is set. */ @java.lang.Override @@ -1743,8 +1482,6 @@ public boolean hasSourceSystemTimestamps() { return sourceSystemTimestamps_ != null; } /** - * - * *
    * Timestamps from the underlying resource, not from the Data Catalog
    * entry.
@@ -1755,18 +1492,13 @@ public boolean hasSourceSystemTimestamps() {
    * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; - * * @return The sourceSystemTimestamps. */ @java.lang.Override public com.google.cloud.datacatalog.v1.SystemTimestamps getSourceSystemTimestamps() { - return sourceSystemTimestamps_ == null - ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() - : sourceSystemTimestamps_; + return sourceSystemTimestamps_ == null ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() : sourceSystemTimestamps_; } /** - * - * *
    * Timestamps from the underlying resource, not from the Data Catalog
    * entry.
@@ -1779,24 +1511,18 @@ public com.google.cloud.datacatalog.v1.SystemTimestamps getSourceSystemTimestamp
    * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7;
    */
   @java.lang.Override
-  public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder
-      getSourceSystemTimestampsOrBuilder() {
-    return sourceSystemTimestamps_ == null
-        ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance()
-        : sourceSystemTimestamps_;
+  public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getSourceSystemTimestampsOrBuilder() {
+    return sourceSystemTimestamps_ == null ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() : sourceSystemTimestamps_;
   }
 
   public static final int USAGE_SIGNAL_FIELD_NUMBER = 13;
   private com.google.cloud.datacatalog.v1.UsageSignal usageSignal_;
   /**
-   *
-   *
    * 
    * Resource usage statistics.
    * 
* * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13; - * * @return Whether the usageSignal field is set. */ @java.lang.Override @@ -1804,25 +1530,18 @@ public boolean hasUsageSignal() { return usageSignal_ != null; } /** - * - * *
    * Resource usage statistics.
    * 
* * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13; - * * @return The usageSignal. */ @java.lang.Override public com.google.cloud.datacatalog.v1.UsageSignal getUsageSignal() { - return usageSignal_ == null - ? com.google.cloud.datacatalog.v1.UsageSignal.getDefaultInstance() - : usageSignal_; + return usageSignal_ == null ? com.google.cloud.datacatalog.v1.UsageSignal.getDefaultInstance() : usageSignal_; } /** - * - * *
    * Resource usage statistics.
    * 
@@ -1831,40 +1550,36 @@ public com.google.cloud.datacatalog.v1.UsageSignal getUsageSignal() { */ @java.lang.Override public com.google.cloud.datacatalog.v1.UsageSignalOrBuilder getUsageSignalOrBuilder() { - return usageSignal_ == null - ? com.google.cloud.datacatalog.v1.UsageSignal.getDefaultInstance() - : usageSignal_; + return usageSignal_ == null ? com.google.cloud.datacatalog.v1.UsageSignal.getDefaultInstance() : usageSignal_; } public static final int LABELS_FIELD_NUMBER = 14; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_Entry_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.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_Entry_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(); } /** - * - * *
    * Cloud labels attached to the entry.
    *
@@ -1876,21 +1591,20 @@ public int getLabelsCount() {
    * map<string, string> labels = 14;
    */
   @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();
   }
   /**
-   *
-   *
    * 
    * Cloud labels attached to the entry.
    *
@@ -1906,8 +1620,6 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Cloud labels attached to the entry.
    *
@@ -1919,19 +1631,17 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 14;
    */
   @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;
   }
   /**
-   *
-   *
    * 
    * Cloud labels attached to the entry.
    *
@@ -1943,11 +1653,11 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 14;
    */
   @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();
     }
@@ -1957,16 +1667,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   public static final int DATA_SOURCE_FIELD_NUMBER = 20;
   private com.google.cloud.datacatalog.v1.DataSource dataSource_;
   /**
-   *
-   *
    * 
    * Output only. Physical location of the entry.
    * 
* - * - * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataSource field is set. */ @java.lang.Override @@ -1974,56 +1679,38 @@ public boolean hasDataSource() { return dataSource_ != null; } /** - * - * *
    * Output only. Physical location of the entry.
    * 
* - * - * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dataSource. */ @java.lang.Override public com.google.cloud.datacatalog.v1.DataSource getDataSource() { - return dataSource_ == null - ? com.google.cloud.datacatalog.v1.DataSource.getDefaultInstance() - : dataSource_; + return dataSource_ == null ? com.google.cloud.datacatalog.v1.DataSource.getDefaultInstance() : dataSource_; } /** - * - * *
    * Output only. Physical location of the entry.
    * 
* - * - * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.datacatalog.v1.DataSourceOrBuilder getDataSourceOrBuilder() { - return dataSource_ == null - ? com.google.cloud.datacatalog.v1.DataSource.getDefaultInstance() - : dataSource_; + return dataSource_ == null ? com.google.cloud.datacatalog.v1.DataSource.getDefaultInstance() : dataSource_; } public static final int PERSONAL_DETAILS_FIELD_NUMBER = 26; private com.google.cloud.datacatalog.v1.PersonalDetails personalDetails_; /** - * - * *
    * Output only. Additional information related to the entry. Private to the
    * current user.
    * 
* - * - * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the personalDetails field is set. */ @java.lang.Override @@ -2031,46 +1718,32 @@ public boolean hasPersonalDetails() { return personalDetails_ != null; } /** - * - * *
    * Output only. Additional information related to the entry. Private to the
    * current user.
    * 
* - * - * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The personalDetails. */ @java.lang.Override public com.google.cloud.datacatalog.v1.PersonalDetails getPersonalDetails() { - return personalDetails_ == null - ? com.google.cloud.datacatalog.v1.PersonalDetails.getDefaultInstance() - : personalDetails_; + return personalDetails_ == null ? com.google.cloud.datacatalog.v1.PersonalDetails.getDefaultInstance() : personalDetails_; } /** - * - * *
    * Output only. Additional information related to the entry. Private to the
    * current user.
    * 
* - * - * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.datacatalog.v1.PersonalDetailsOrBuilder getPersonalDetailsOrBuilder() { - return personalDetails_ == null - ? com.google.cloud.datacatalog.v1.PersonalDetails.getDefaultInstance() - : personalDetails_; + return personalDetails_ == null ? com.google.cloud.datacatalog.v1.PersonalDetails.getDefaultInstance() : personalDetails_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2082,7 +1755,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -2113,8 +1787,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (usageSignal_ != null) { output.writeMessage(13, getUsageSignal()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 14); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 14); if (typeSpecCase_ == 15) { output.writeMessage(15, (com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec) typeSpec_); } @@ -2158,8 +1836,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(40, (com.google.cloud.datacatalog.v1.LookerSystemSpec) systemSpec_); } if (systemSpecCase_ == 41) { - output.writeMessage( - 41, (com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec) systemSpec_); + output.writeMessage(41, (com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec) systemSpec_); } if (specCase_ == 42) { output.writeMessage(42, (com.google.cloud.datacatalog.v1.ServiceSpec) spec_); @@ -2177,9 +1854,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (entryTypeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeEnumSize( - 2, ((java.lang.Integer) entryType_)); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, ((java.lang.Integer) entryType_)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_); @@ -2188,104 +1864,98 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); } if (schema_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getSchema()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getSchema()); } if (typeSpecCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.cloud.datacatalog.v1.GcsFilesetSpec) typeSpec_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.cloud.datacatalog.v1.GcsFilesetSpec) typeSpec_); } if (sourceSystemTimestamps_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(7, getSourceSystemTimestamps()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getSourceSystemTimestamps()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(linkedResource_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, linkedResource_); } if (typeSpecCase_ == 12) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 12, (com.google.cloud.datacatalog.v1.BigQueryTableSpec) typeSpec_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, (com.google.cloud.datacatalog.v1.BigQueryTableSpec) typeSpec_); } if (usageSignal_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getUsageSignal()); - } - 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(14, labels__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, getUsageSignal()); + } + 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(14, labels__); } if (typeSpecCase_ == 15) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 15, (com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec) typeSpec_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, (com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec) typeSpec_); } if (entryTypeCase_ == 16) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, entryType_); } if (systemCase_ == 17) { - size += - com.google.protobuf.CodedOutputStream.computeEnumSize(17, ((java.lang.Integer) system_)); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(17, ((java.lang.Integer) system_)); } if (systemCase_ == 18) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, system_); } if (dataSource_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getDataSource()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(20, getDataSource()); } if (specCase_ == 24) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 24, (com.google.cloud.datacatalog.v1.DatabaseTableSpec) spec_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(24, (com.google.cloud.datacatalog.v1.DatabaseTableSpec) spec_); } if (personalDetails_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(26, getPersonalDetails()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(26, getPersonalDetails()); } if (specCase_ == 27) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 27, (com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) spec_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(27, (com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) spec_); } if (specCase_ == 28) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 28, (com.google.cloud.datacatalog.v1.RoutineSpec) spec_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(28, (com.google.cloud.datacatalog.v1.RoutineSpec) spec_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullyQualifiedName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(29, fullyQualifiedName_); } if (specCase_ == 33) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 33, (com.google.cloud.datacatalog.v1.FilesetSpec) spec_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(33, (com.google.cloud.datacatalog.v1.FilesetSpec) spec_); } if (businessContext_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(37, getBusinessContext()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(37, getBusinessContext()); } if (systemSpecCase_ == 39) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 39, (com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec) systemSpec_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(39, (com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec) systemSpec_); } if (systemSpecCase_ == 40) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 40, (com.google.cloud.datacatalog.v1.LookerSystemSpec) systemSpec_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(40, (com.google.cloud.datacatalog.v1.LookerSystemSpec) systemSpec_); } if (systemSpecCase_ == 41) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 41, (com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec) systemSpec_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(41, (com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec) systemSpec_); } if (specCase_ == 42) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 42, (com.google.cloud.datacatalog.v1.ServiceSpec) spec_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(42, (com.google.cloud.datacatalog.v1.ServiceSpec) spec_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2295,50 +1965,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.datacatalog.v1.Entry)) { return super.equals(obj); } com.google.cloud.datacatalog.v1.Entry other = (com.google.cloud.datacatalog.v1.Entry) obj; - if (!getName().equals(other.getName())) return false; - if (!getLinkedResource().equals(other.getLinkedResource())) return false; - if (!getFullyQualifiedName().equals(other.getFullyQualifiedName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getLinkedResource() + .equals(other.getLinkedResource())) return false; + if (!getFullyQualifiedName() + .equals(other.getFullyQualifiedName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (hasBusinessContext() != other.hasBusinessContext()) return false; if (hasBusinessContext()) { - if (!getBusinessContext().equals(other.getBusinessContext())) return false; + if (!getBusinessContext() + .equals(other.getBusinessContext())) 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 (hasSourceSystemTimestamps() != other.hasSourceSystemTimestamps()) return false; if (hasSourceSystemTimestamps()) { - if (!getSourceSystemTimestamps().equals(other.getSourceSystemTimestamps())) return false; + if (!getSourceSystemTimestamps() + .equals(other.getSourceSystemTimestamps())) return false; } if (hasUsageSignal() != other.hasUsageSignal()) return false; if (hasUsageSignal()) { - if (!getUsageSignal().equals(other.getUsageSignal())) return false; + if (!getUsageSignal() + .equals(other.getUsageSignal())) return false; } - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (hasDataSource() != other.hasDataSource()) return false; if (hasDataSource()) { - if (!getDataSource().equals(other.getDataSource())) return false; + if (!getDataSource() + .equals(other.getDataSource())) return false; } if (hasPersonalDetails() != other.hasPersonalDetails()) return false; if (hasPersonalDetails()) { - if (!getPersonalDetails().equals(other.getPersonalDetails())) return false; + if (!getPersonalDetails() + .equals(other.getPersonalDetails())) return false; } if (!getEntryTypeCase().equals(other.getEntryTypeCase())) return false; switch (entryTypeCase_) { case 2: - if (getTypeValue() != other.getTypeValue()) return false; + if (getTypeValue() + != other.getTypeValue()) return false; break; case 16: - if (!getUserSpecifiedType().equals(other.getUserSpecifiedType())) return false; + if (!getUserSpecifiedType() + .equals(other.getUserSpecifiedType())) return false; break; case 0: default: @@ -2346,10 +2030,12 @@ public boolean equals(final java.lang.Object obj) { if (!getSystemCase().equals(other.getSystemCase())) return false; switch (systemCase_) { case 17: - if (getIntegratedSystemValue() != other.getIntegratedSystemValue()) return false; + if (getIntegratedSystemValue() + != other.getIntegratedSystemValue()) return false; break; case 18: - if (!getUserSpecifiedSystem().equals(other.getUserSpecifiedSystem())) return false; + if (!getUserSpecifiedSystem() + .equals(other.getUserSpecifiedSystem())) return false; break; case 0: default: @@ -2357,13 +2043,16 @@ public boolean equals(final java.lang.Object obj) { if (!getSystemSpecCase().equals(other.getSystemSpecCase())) return false; switch (systemSpecCase_) { case 39: - if (!getSqlDatabaseSystemSpec().equals(other.getSqlDatabaseSystemSpec())) return false; + if (!getSqlDatabaseSystemSpec() + .equals(other.getSqlDatabaseSystemSpec())) return false; break; case 40: - if (!getLookerSystemSpec().equals(other.getLookerSystemSpec())) return false; + if (!getLookerSystemSpec() + .equals(other.getLookerSystemSpec())) return false; break; case 41: - if (!getCloudBigtableSystemSpec().equals(other.getCloudBigtableSystemSpec())) return false; + if (!getCloudBigtableSystemSpec() + .equals(other.getCloudBigtableSystemSpec())) return false; break; case 0: default: @@ -2371,13 +2060,16 @@ public boolean equals(final java.lang.Object obj) { if (!getTypeSpecCase().equals(other.getTypeSpecCase())) return false; switch (typeSpecCase_) { case 6: - if (!getGcsFilesetSpec().equals(other.getGcsFilesetSpec())) return false; + if (!getGcsFilesetSpec() + .equals(other.getGcsFilesetSpec())) return false; break; case 12: - if (!getBigqueryTableSpec().equals(other.getBigqueryTableSpec())) return false; + if (!getBigqueryTableSpec() + .equals(other.getBigqueryTableSpec())) return false; break; case 15: - if (!getBigqueryDateShardedSpec().equals(other.getBigqueryDateShardedSpec())) return false; + if (!getBigqueryDateShardedSpec() + .equals(other.getBigqueryDateShardedSpec())) return false; break; case 0: default: @@ -2385,20 +2077,24 @@ public boolean equals(final java.lang.Object obj) { if (!getSpecCase().equals(other.getSpecCase())) return false; switch (specCase_) { case 24: - if (!getDatabaseTableSpec().equals(other.getDatabaseTableSpec())) return false; + if (!getDatabaseTableSpec() + .equals(other.getDatabaseTableSpec())) return false; break; case 27: - if (!getDataSourceConnectionSpec().equals(other.getDataSourceConnectionSpec())) - return false; + if (!getDataSourceConnectionSpec() + .equals(other.getDataSourceConnectionSpec())) return false; break; case 28: - if (!getRoutineSpec().equals(other.getRoutineSpec())) return false; + if (!getRoutineSpec() + .equals(other.getRoutineSpec())) return false; break; case 33: - if (!getFilesetSpec().equals(other.getFilesetSpec())) return false; + if (!getFilesetSpec() + .equals(other.getFilesetSpec())) return false; break; case 42: - if (!getServiceSpec().equals(other.getServiceSpec())) return false; + if (!getServiceSpec() + .equals(other.getServiceSpec())) return false; break; case 0: default: @@ -2537,103 +2233,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.Entry parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.Entry parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.Entry parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.Entry parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.datacatalog.v1.Entry parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.Entry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.Entry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.Entry parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.Entry parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.Entry parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.cloud.datacatalog.v1.Entry 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.datacatalog.v1.Entry parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.Entry parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.Entry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.Entry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Entry metadata.
    * A Data Catalog entry represents another resource in Google
@@ -2649,52 +2341,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.Entry}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.Entry)
       com.google.cloud.datacatalog.v1.EntryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_Entry_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_Entry_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 14:
           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 14:
           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.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_Entry_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_Entry_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.Entry.class,
-              com.google.cloud.datacatalog.v1.Entry.Builder.class);
+              com.google.cloud.datacatalog.v1.Entry.class, com.google.cloud.datacatalog.v1.Entry.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.Entry.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2782,9 +2477,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_Entry_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_Entry_descriptor;
     }
 
     @java.lang.Override
@@ -2803,11 +2498,8 @@ public com.google.cloud.datacatalog.v1.Entry build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.Entry buildPartial() {
-      com.google.cloud.datacatalog.v1.Entry result =
-          new com.google.cloud.datacatalog.v1.Entry(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.Entry result = new com.google.cloud.datacatalog.v1.Entry(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -2831,32 +2523,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.Entry result) {
         result.description_ = description_;
       }
       if (((from_bitField0_ & 0x00100000) != 0)) {
-        result.businessContext_ =
-            businessContextBuilder_ == null ? businessContext_ : businessContextBuilder_.build();
+        result.businessContext_ = businessContextBuilder_ == null
+            ? businessContext_
+            : businessContextBuilder_.build();
       }
       if (((from_bitField0_ & 0x00200000) != 0)) {
-        result.schema_ = schemaBuilder_ == null ? schema_ : schemaBuilder_.build();
+        result.schema_ = schemaBuilder_ == null
+            ? schema_
+            : schemaBuilder_.build();
       }
       if (((from_bitField0_ & 0x00400000) != 0)) {
-        result.sourceSystemTimestamps_ =
-            sourceSystemTimestampsBuilder_ == null
-                ? sourceSystemTimestamps_
-                : sourceSystemTimestampsBuilder_.build();
+        result.sourceSystemTimestamps_ = sourceSystemTimestampsBuilder_ == null
+            ? sourceSystemTimestamps_
+            : sourceSystemTimestampsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00800000) != 0)) {
-        result.usageSignal_ =
-            usageSignalBuilder_ == null ? usageSignal_ : usageSignalBuilder_.build();
+        result.usageSignal_ = usageSignalBuilder_ == null
+            ? usageSignal_
+            : usageSignalBuilder_.build();
       }
       if (((from_bitField0_ & 0x01000000) != 0)) {
         result.labels_ = internalGetLabels();
         result.labels_.makeImmutable();
       }
       if (((from_bitField0_ & 0x02000000) != 0)) {
-        result.dataSource_ = dataSourceBuilder_ == null ? dataSource_ : dataSourceBuilder_.build();
+        result.dataSource_ = dataSourceBuilder_ == null
+            ? dataSource_
+            : dataSourceBuilder_.build();
       }
       if (((from_bitField0_ & 0x04000000) != 0)) {
-        result.personalDetails_ =
-            personalDetailsBuilder_ == null ? personalDetails_ : personalDetailsBuilder_.build();
+        result.personalDetails_ = personalDetailsBuilder_ == null
+            ? personalDetails_
+            : personalDetailsBuilder_.build();
       }
     }
 
@@ -2867,41 +2565,52 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.Entry result) {
       result.system_ = this.system_;
       result.systemSpecCase_ = systemSpecCase_;
       result.systemSpec_ = this.systemSpec_;
-      if (systemSpecCase_ == 39 && sqlDatabaseSystemSpecBuilder_ != null) {
+      if (systemSpecCase_ == 39 &&
+          sqlDatabaseSystemSpecBuilder_ != null) {
         result.systemSpec_ = sqlDatabaseSystemSpecBuilder_.build();
       }
-      if (systemSpecCase_ == 40 && lookerSystemSpecBuilder_ != null) {
+      if (systemSpecCase_ == 40 &&
+          lookerSystemSpecBuilder_ != null) {
         result.systemSpec_ = lookerSystemSpecBuilder_.build();
       }
-      if (systemSpecCase_ == 41 && cloudBigtableSystemSpecBuilder_ != null) {
+      if (systemSpecCase_ == 41 &&
+          cloudBigtableSystemSpecBuilder_ != null) {
         result.systemSpec_ = cloudBigtableSystemSpecBuilder_.build();
       }
       result.typeSpecCase_ = typeSpecCase_;
       result.typeSpec_ = this.typeSpec_;
-      if (typeSpecCase_ == 6 && gcsFilesetSpecBuilder_ != null) {
+      if (typeSpecCase_ == 6 &&
+          gcsFilesetSpecBuilder_ != null) {
         result.typeSpec_ = gcsFilesetSpecBuilder_.build();
       }
-      if (typeSpecCase_ == 12 && bigqueryTableSpecBuilder_ != null) {
+      if (typeSpecCase_ == 12 &&
+          bigqueryTableSpecBuilder_ != null) {
         result.typeSpec_ = bigqueryTableSpecBuilder_.build();
       }
-      if (typeSpecCase_ == 15 && bigqueryDateShardedSpecBuilder_ != null) {
+      if (typeSpecCase_ == 15 &&
+          bigqueryDateShardedSpecBuilder_ != null) {
         result.typeSpec_ = bigqueryDateShardedSpecBuilder_.build();
       }
       result.specCase_ = specCase_;
       result.spec_ = this.spec_;
-      if (specCase_ == 24 && databaseTableSpecBuilder_ != null) {
+      if (specCase_ == 24 &&
+          databaseTableSpecBuilder_ != null) {
         result.spec_ = databaseTableSpecBuilder_.build();
       }
-      if (specCase_ == 27 && dataSourceConnectionSpecBuilder_ != null) {
+      if (specCase_ == 27 &&
+          dataSourceConnectionSpecBuilder_ != null) {
         result.spec_ = dataSourceConnectionSpecBuilder_.build();
       }
-      if (specCase_ == 28 && routineSpecBuilder_ != null) {
+      if (specCase_ == 28 &&
+          routineSpecBuilder_ != null) {
         result.spec_ = routineSpecBuilder_.build();
       }
-      if (specCase_ == 33 && filesetSpecBuilder_ != null) {
+      if (specCase_ == 33 &&
+          filesetSpecBuilder_ != null) {
         result.spec_ = filesetSpecBuilder_.build();
       }
-      if (specCase_ == 42 && serviceSpecBuilder_ != null) {
+      if (specCase_ == 42 &&
+          serviceSpecBuilder_ != null) {
         result.spec_ = serviceSpecBuilder_.build();
       }
     }
@@ -2910,39 +2619,38 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.Entry result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.Entry) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.Entry) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.Entry)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2988,7 +2696,8 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.Entry other) {
       if (other.hasUsageSignal()) {
         mergeUsageSignal(other.getUsageSignal());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       bitField0_ |= 0x01000000;
       if (other.hasDataSource()) {
         mergeDataSource(other.getDataSource());
@@ -2997,113 +2706,93 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.Entry other) {
         mergePersonalDetails(other.getPersonalDetails());
       }
       switch (other.getEntryTypeCase()) {
-        case TYPE:
-          {
-            setTypeValue(other.getTypeValue());
-            break;
-          }
-        case USER_SPECIFIED_TYPE:
-          {
-            entryTypeCase_ = 16;
-            entryType_ = other.entryType_;
-            onChanged();
-            break;
-          }
-        case ENTRYTYPE_NOT_SET:
-          {
-            break;
-          }
+        case TYPE: {
+          setTypeValue(other.getTypeValue());
+          break;
+        }
+        case USER_SPECIFIED_TYPE: {
+          entryTypeCase_ = 16;
+          entryType_ = other.entryType_;
+          onChanged();
+          break;
+        }
+        case ENTRYTYPE_NOT_SET: {
+          break;
+        }
       }
       switch (other.getSystemCase()) {
-        case INTEGRATED_SYSTEM:
-          {
-            setIntegratedSystemValue(other.getIntegratedSystemValue());
-            break;
-          }
-        case USER_SPECIFIED_SYSTEM:
-          {
-            systemCase_ = 18;
-            system_ = other.system_;
-            onChanged();
-            break;
-          }
-        case SYSTEM_NOT_SET:
-          {
-            break;
-          }
+        case INTEGRATED_SYSTEM: {
+          setIntegratedSystemValue(other.getIntegratedSystemValue());
+          break;
+        }
+        case USER_SPECIFIED_SYSTEM: {
+          systemCase_ = 18;
+          system_ = other.system_;
+          onChanged();
+          break;
+        }
+        case SYSTEM_NOT_SET: {
+          break;
+        }
       }
       switch (other.getSystemSpecCase()) {
-        case SQL_DATABASE_SYSTEM_SPEC:
-          {
-            mergeSqlDatabaseSystemSpec(other.getSqlDatabaseSystemSpec());
-            break;
-          }
-        case LOOKER_SYSTEM_SPEC:
-          {
-            mergeLookerSystemSpec(other.getLookerSystemSpec());
-            break;
-          }
-        case CLOUD_BIGTABLE_SYSTEM_SPEC:
-          {
-            mergeCloudBigtableSystemSpec(other.getCloudBigtableSystemSpec());
-            break;
-          }
-        case SYSTEMSPEC_NOT_SET:
-          {
-            break;
-          }
+        case SQL_DATABASE_SYSTEM_SPEC: {
+          mergeSqlDatabaseSystemSpec(other.getSqlDatabaseSystemSpec());
+          break;
+        }
+        case LOOKER_SYSTEM_SPEC: {
+          mergeLookerSystemSpec(other.getLookerSystemSpec());
+          break;
+        }
+        case CLOUD_BIGTABLE_SYSTEM_SPEC: {
+          mergeCloudBigtableSystemSpec(other.getCloudBigtableSystemSpec());
+          break;
+        }
+        case SYSTEMSPEC_NOT_SET: {
+          break;
+        }
       }
       switch (other.getTypeSpecCase()) {
-        case GCS_FILESET_SPEC:
-          {
-            mergeGcsFilesetSpec(other.getGcsFilesetSpec());
-            break;
-          }
-        case BIGQUERY_TABLE_SPEC:
-          {
-            mergeBigqueryTableSpec(other.getBigqueryTableSpec());
-            break;
-          }
-        case BIGQUERY_DATE_SHARDED_SPEC:
-          {
-            mergeBigqueryDateShardedSpec(other.getBigqueryDateShardedSpec());
-            break;
-          }
-        case TYPESPEC_NOT_SET:
-          {
-            break;
-          }
+        case GCS_FILESET_SPEC: {
+          mergeGcsFilesetSpec(other.getGcsFilesetSpec());
+          break;
+        }
+        case BIGQUERY_TABLE_SPEC: {
+          mergeBigqueryTableSpec(other.getBigqueryTableSpec());
+          break;
+        }
+        case BIGQUERY_DATE_SHARDED_SPEC: {
+          mergeBigqueryDateShardedSpec(other.getBigqueryDateShardedSpec());
+          break;
+        }
+        case TYPESPEC_NOT_SET: {
+          break;
+        }
       }
       switch (other.getSpecCase()) {
-        case DATABASE_TABLE_SPEC:
-          {
-            mergeDatabaseTableSpec(other.getDatabaseTableSpec());
-            break;
-          }
-        case DATA_SOURCE_CONNECTION_SPEC:
-          {
-            mergeDataSourceConnectionSpec(other.getDataSourceConnectionSpec());
-            break;
-          }
-        case ROUTINE_SPEC:
-          {
-            mergeRoutineSpec(other.getRoutineSpec());
-            break;
-          }
-        case FILESET_SPEC:
-          {
-            mergeFilesetSpec(other.getFilesetSpec());
-            break;
-          }
-        case SERVICE_SPEC:
-          {
-            mergeServiceSpec(other.getServiceSpec());
-            break;
-          }
-        case SPEC_NOT_SET:
-          {
-            break;
-          }
+        case DATABASE_TABLE_SPEC: {
+          mergeDatabaseTableSpec(other.getDatabaseTableSpec());
+          break;
+        }
+        case DATA_SOURCE_CONNECTION_SPEC: {
+          mergeDataSourceConnectionSpec(other.getDataSourceConnectionSpec());
+          break;
+        }
+        case ROUTINE_SPEC: {
+          mergeRoutineSpec(other.getRoutineSpec());
+          break;
+        }
+        case FILESET_SPEC: {
+          mergeFilesetSpec(other.getFilesetSpec());
+          break;
+        }
+        case SERVICE_SPEC: {
+          mergeServiceSpec(other.getServiceSpec());
+          break;
+        }
+        case SPEC_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -3131,193 +2820,189 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                int rawValue = input.readEnum();
-                entryTypeCase_ = 2;
-                entryType_ = rawValue;
-                break;
-              } // case 16
-            case 26:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00040000;
-                break;
-              } // case 26
-            case 34:
-              {
-                description_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00080000;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getSchemaFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00200000;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getGcsFilesetSpecFieldBuilder().getBuilder(), extensionRegistry);
-                typeSpecCase_ = 6;
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(
-                    getSourceSystemTimestampsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00400000;
-                break;
-              } // case 58
-            case 74:
-              {
-                linkedResource_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 74
-            case 98:
-              {
-                input.readMessage(
-                    getBigqueryTableSpecFieldBuilder().getBuilder(), extensionRegistry);
-                typeSpecCase_ = 12;
-                break;
-              } // case 98
-            case 106:
-              {
-                input.readMessage(getUsageSignalFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00800000;
-                break;
-              } // case 106
-            case 114:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                bitField0_ |= 0x01000000;
-                break;
-              } // case 114
-            case 122:
-              {
-                input.readMessage(
-                    getBigqueryDateShardedSpecFieldBuilder().getBuilder(), extensionRegistry);
-                typeSpecCase_ = 15;
-                break;
-              } // case 122
-            case 130:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                entryTypeCase_ = 16;
-                entryType_ = s;
-                break;
-              } // case 130
-            case 136:
-              {
-                int rawValue = input.readEnum();
-                systemCase_ = 17;
-                system_ = rawValue;
-                break;
-              } // case 136
-            case 146:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                systemCase_ = 18;
-                system_ = s;
-                break;
-              } // case 146
-            case 162:
-              {
-                input.readMessage(getDataSourceFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x02000000;
-                break;
-              } // case 162
-            case 194:
-              {
-                input.readMessage(
-                    getDatabaseTableSpecFieldBuilder().getBuilder(), extensionRegistry);
-                specCase_ = 24;
-                break;
-              } // case 194
-            case 210:
-              {
-                input.readMessage(getPersonalDetailsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x04000000;
-                break;
-              } // case 210
-            case 218:
-              {
-                input.readMessage(
-                    getDataSourceConnectionSpecFieldBuilder().getBuilder(), extensionRegistry);
-                specCase_ = 27;
-                break;
-              } // case 218
-            case 226:
-              {
-                input.readMessage(getRoutineSpecFieldBuilder().getBuilder(), extensionRegistry);
-                specCase_ = 28;
-                break;
-              } // case 226
-            case 234:
-              {
-                fullyQualifiedName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 234
-            case 266:
-              {
-                input.readMessage(getFilesetSpecFieldBuilder().getBuilder(), extensionRegistry);
-                specCase_ = 33;
-                break;
-              } // case 266
-            case 298:
-              {
-                input.readMessage(getBusinessContextFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00100000;
-                break;
-              } // case 298
-            case 314:
-              {
-                input.readMessage(
-                    getSqlDatabaseSystemSpecFieldBuilder().getBuilder(), extensionRegistry);
-                systemSpecCase_ = 39;
-                break;
-              } // case 314
-            case 322:
-              {
-                input.readMessage(
-                    getLookerSystemSpecFieldBuilder().getBuilder(), extensionRegistry);
-                systemSpecCase_ = 40;
-                break;
-              } // case 322
-            case 330:
-              {
-                input.readMessage(
-                    getCloudBigtableSystemSpecFieldBuilder().getBuilder(), extensionRegistry);
-                systemSpecCase_ = 41;
-                break;
-              } // case 330
-            case 338:
-              {
-                input.readMessage(getServiceSpecFieldBuilder().getBuilder(), extensionRegistry);
-                specCase_ = 42;
-                break;
-              } // case 338
-            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: {
+              int rawValue = input.readEnum();
+              entryTypeCase_ = 2;
+              entryType_ = rawValue;
+              break;
+            } // case 16
+            case 26: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00040000;
+              break;
+            } // case 26
+            case 34: {
+              description_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00080000;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getSchemaFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00200000;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getGcsFilesetSpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              typeSpecCase_ = 6;
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getSourceSystemTimestampsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00400000;
+              break;
+            } // case 58
+            case 74: {
+              linkedResource_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 74
+            case 98: {
+              input.readMessage(
+                  getBigqueryTableSpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              typeSpecCase_ = 12;
+              break;
+            } // case 98
+            case 106: {
+              input.readMessage(
+                  getUsageSignalFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00800000;
+              break;
+            } // case 106
+            case 114: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              bitField0_ |= 0x01000000;
+              break;
+            } // case 114
+            case 122: {
+              input.readMessage(
+                  getBigqueryDateShardedSpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              typeSpecCase_ = 15;
+              break;
+            } // case 122
+            case 130: {
+              java.lang.String s = input.readStringRequireUtf8();
+              entryTypeCase_ = 16;
+              entryType_ = s;
+              break;
+            } // case 130
+            case 136: {
+              int rawValue = input.readEnum();
+              systemCase_ = 17;
+              system_ = rawValue;
+              break;
+            } // case 136
+            case 146: {
+              java.lang.String s = input.readStringRequireUtf8();
+              systemCase_ = 18;
+              system_ = s;
+              break;
+            } // case 146
+            case 162: {
+              input.readMessage(
+                  getDataSourceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x02000000;
+              break;
+            } // case 162
+            case 194: {
+              input.readMessage(
+                  getDatabaseTableSpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              specCase_ = 24;
+              break;
+            } // case 194
+            case 210: {
+              input.readMessage(
+                  getPersonalDetailsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x04000000;
+              break;
+            } // case 210
+            case 218: {
+              input.readMessage(
+                  getDataSourceConnectionSpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              specCase_ = 27;
+              break;
+            } // case 218
+            case 226: {
+              input.readMessage(
+                  getRoutineSpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              specCase_ = 28;
+              break;
+            } // case 226
+            case 234: {
+              fullyQualifiedName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 234
+            case 266: {
+              input.readMessage(
+                  getFilesetSpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              specCase_ = 33;
+              break;
+            } // case 266
+            case 298: {
+              input.readMessage(
+                  getBusinessContextFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00100000;
+              break;
+            } // case 298
+            case 314: {
+              input.readMessage(
+                  getSqlDatabaseSystemSpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              systemSpecCase_ = 39;
+              break;
+            } // case 314
+            case 322: {
+              input.readMessage(
+                  getLookerSystemSpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              systemSpecCase_ = 40;
+              break;
+            } // case 322
+            case 330: {
+              input.readMessage(
+                  getCloudBigtableSystemSpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              systemSpecCase_ = 41;
+              break;
+            } // case 330
+            case 338: {
+              input.readMessage(
+                  getServiceSpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              specCase_ = 42;
+              break;
+            } // case 338
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3327,12 +3012,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int entryTypeCase_ = 0;
     private java.lang.Object entryType_;
-
-    public EntryTypeCase getEntryTypeCase() {
-      return EntryTypeCase.forNumber(entryTypeCase_);
+    public EntryTypeCase
+        getEntryTypeCase() {
+      return EntryTypeCase.forNumber(
+          entryTypeCase_);
     }
 
     public Builder clearEntryType() {
@@ -3344,9 +3029,10 @@ public Builder clearEntryType() {
 
     private int systemCase_ = 0;
     private java.lang.Object system_;
-
-    public SystemCase getSystemCase() {
-      return SystemCase.forNumber(systemCase_);
+    public SystemCase
+        getSystemCase() {
+      return SystemCase.forNumber(
+          systemCase_);
     }
 
     public Builder clearSystem() {
@@ -3358,9 +3044,10 @@ public Builder clearSystem() {
 
     private int systemSpecCase_ = 0;
     private java.lang.Object systemSpec_;
-
-    public SystemSpecCase getSystemSpecCase() {
-      return SystemSpecCase.forNumber(systemSpecCase_);
+    public SystemSpecCase
+        getSystemSpecCase() {
+      return SystemSpecCase.forNumber(
+          systemSpecCase_);
     }
 
     public Builder clearSystemSpec() {
@@ -3372,9 +3059,10 @@ public Builder clearSystemSpec() {
 
     private int typeSpecCase_ = 0;
     private java.lang.Object typeSpec_;
-
-    public TypeSpecCase getTypeSpecCase() {
-      return TypeSpecCase.forNumber(typeSpecCase_);
+    public TypeSpecCase
+        getTypeSpecCase() {
+      return TypeSpecCase.forNumber(
+          typeSpecCase_);
     }
 
     public Builder clearTypeSpec() {
@@ -3386,9 +3074,10 @@ public Builder clearTypeSpec() {
 
     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() {
@@ -3402,8 +3091,6 @@ public Builder clearSpec() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The resource name of an entry in URL format.
      *
@@ -3411,16 +3098,14 @@ public Builder clearSpec() {
      * stored in the location specified in its name.
      * 
* - * - * 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; @@ -3429,8 +3114,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The resource name of an entry in URL format.
      *
@@ -3438,17 +3121,16 @@ public java.lang.String getName() {
      * stored in the location specified in its name.
      * 
* - * - * 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 { @@ -3456,8 +3138,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The resource name of an entry in URL format.
      *
@@ -3465,25 +3145,19 @@ public com.google.protobuf.ByteString getNameBytes() {
      * stored in the location specified in its name.
      * 
* - * - * 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 an entry in URL format.
      *
@@ -3491,10 +3165,7 @@ public Builder setName(java.lang.String value) {
      * stored in the location specified in its name.
      * 
* - * - * 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,8 +3175,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. The resource name of an entry in URL format.
      *
@@ -3513,17 +3182,13 @@ public Builder clearName() {
      * stored in the location specified in its name.
      * 
* - * - * 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; @@ -3533,8 +3198,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object linkedResource_ = ""; /** - * - * *
      * The resource this metadata entry refers to.
      *
@@ -3557,13 +3220,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string linked_resource = 9; - * * @return The linkedResource. */ public java.lang.String getLinkedResource() { java.lang.Object ref = linkedResource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); linkedResource_ = s; return s; @@ -3572,8 +3235,6 @@ public java.lang.String getLinkedResource() { } } /** - * - * *
      * The resource this metadata entry refers to.
      *
@@ -3596,14 +3257,15 @@ public java.lang.String getLinkedResource() {
      * 
* * string linked_resource = 9; - * * @return The bytes for linkedResource. */ - public com.google.protobuf.ByteString getLinkedResourceBytes() { + public com.google.protobuf.ByteString + getLinkedResourceBytes() { java.lang.Object ref = linkedResource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); linkedResource_ = b; return b; } else { @@ -3611,8 +3273,6 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { } } /** - * - * *
      * The resource this metadata entry refers to.
      *
@@ -3635,22 +3295,18 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() {
      * 
* * string linked_resource = 9; - * * @param value The linkedResource to set. * @return This builder for chaining. */ - public Builder setLinkedResource(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLinkedResource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } linkedResource_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The resource this metadata entry refers to.
      *
@@ -3673,7 +3329,6 @@ public Builder setLinkedResource(java.lang.String value) {
      * 
* * string linked_resource = 9; - * * @return This builder for chaining. */ public Builder clearLinkedResource() { @@ -3683,8 +3338,6 @@ public Builder clearLinkedResource() { return this; } /** - * - * *
      * The resource this metadata entry refers to.
      *
@@ -3707,14 +3360,12 @@ public Builder clearLinkedResource() {
      * 
* * string linked_resource = 9; - * * @param value The bytes for linkedResource to set. * @return This builder for chaining. */ - public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLinkedResourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); linkedResource_ = value; bitField0_ |= 0x00000002; @@ -3724,8 +3375,6 @@ public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { private java.lang.Object fullyQualifiedName_ = ""; /** - * - * *
      * [Fully Qualified Name
      * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -3735,13 +3384,13 @@ public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) {
      * 
* * string fully_qualified_name = 29; - * * @return The fullyQualifiedName. */ public java.lang.String getFullyQualifiedName() { java.lang.Object ref = fullyQualifiedName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullyQualifiedName_ = s; return s; @@ -3750,8 +3399,6 @@ public java.lang.String getFullyQualifiedName() { } } /** - * - * *
      * [Fully Qualified Name
      * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -3761,14 +3408,15 @@ public java.lang.String getFullyQualifiedName() {
      * 
* * string fully_qualified_name = 29; - * * @return The bytes for fullyQualifiedName. */ - public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { + public com.google.protobuf.ByteString + getFullyQualifiedNameBytes() { java.lang.Object ref = fullyQualifiedName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fullyQualifiedName_ = b; return b; } else { @@ -3776,8 +3424,6 @@ public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { } } /** - * - * *
      * [Fully Qualified Name
      * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -3787,22 +3433,18 @@ public com.google.protobuf.ByteString getFullyQualifiedNameBytes() {
      * 
* * string fully_qualified_name = 29; - * * @param value The fullyQualifiedName to set. * @return This builder for chaining. */ - public Builder setFullyQualifiedName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFullyQualifiedName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } fullyQualifiedName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * [Fully Qualified Name
      * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -3812,7 +3454,6 @@ public Builder setFullyQualifiedName(java.lang.String value) {
      * 
* * string fully_qualified_name = 29; - * * @return This builder for chaining. */ public Builder clearFullyQualifiedName() { @@ -3822,8 +3463,6 @@ public Builder clearFullyQualifiedName() { return this; } /** - * - * *
      * [Fully Qualified Name
      * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -3833,14 +3472,12 @@ public Builder clearFullyQualifiedName() {
      * 
* * string fully_qualified_name = 29; - * * @param value The bytes for fullyQualifiedName to set. * @return This builder for chaining. */ - public Builder setFullyQualifiedNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFullyQualifiedNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fullyQualifiedName_ = value; bitField0_ |= 0x00000004; @@ -3849,18 +3486,13 @@ public Builder setFullyQualifiedNameBytes(com.google.protobuf.ByteString value) } /** - * - * *
      * The type of the entry.
-     * Only used for entries with types listed in the `EntryType` enum.
      *
-     * Currently, only `FILESET` enum value is allowed. All other entries
-     * created in Data Catalog must use the `user_specified_type`.
+     * For details, see [`EntryType`](#entrytype).
      * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; - * * @return Whether the type field is set. */ @java.lang.Override @@ -3868,18 +3500,13 @@ public boolean hasType() { return entryTypeCase_ == 2; } /** - * - * *
      * The type of the entry.
-     * Only used for entries with types listed in the `EntryType` enum.
      *
-     * Currently, only `FILESET` enum value is allowed. All other entries
-     * created in Data Catalog must use the `user_specified_type`.
+     * For details, see [`EntryType`](#entrytype).
      * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; - * * @return The enum numeric value on the wire for type. */ @java.lang.Override @@ -3890,18 +3517,13 @@ public int getTypeValue() { return 0; } /** - * - * *
      * The type of the entry.
-     * Only used for entries with types listed in the `EntryType` enum.
      *
-     * Currently, only `FILESET` enum value is allowed. All other entries
-     * created in Data Catalog must use the `user_specified_type`.
+     * For details, see [`EntryType`](#entrytype).
      * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -3912,42 +3534,32 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * The type of the entry.
-     * Only used for entries with types listed in the `EntryType` enum.
      *
-     * Currently, only `FILESET` enum value is allowed. All other entries
-     * created in Data Catalog must use the `user_specified_type`.
+     * For details, see [`EntryType`](#entrytype).
      * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; - * * @return The type. */ @java.lang.Override public com.google.cloud.datacatalog.v1.EntryType getType() { if (entryTypeCase_ == 2) { - com.google.cloud.datacatalog.v1.EntryType result = - com.google.cloud.datacatalog.v1.EntryType.forNumber((java.lang.Integer) entryType_); + com.google.cloud.datacatalog.v1.EntryType result = com.google.cloud.datacatalog.v1.EntryType.forNumber( + (java.lang.Integer) entryType_); return result == null ? com.google.cloud.datacatalog.v1.EntryType.UNRECOGNIZED : result; } return com.google.cloud.datacatalog.v1.EntryType.ENTRY_TYPE_UNSPECIFIED; } /** - * - * *
      * The type of the entry.
-     * Only used for entries with types listed in the `EntryType` enum.
      *
-     * Currently, only `FILESET` enum value is allowed. All other entries
-     * created in Data Catalog must use the `user_specified_type`.
+     * For details, see [`EntryType`](#entrytype).
      * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; - * * @param value The type to set. * @return This builder for chaining. */ @@ -3961,18 +3573,13 @@ public Builder setType(com.google.cloud.datacatalog.v1.EntryType value) { return this; } /** - * - * *
      * The type of the entry.
-     * Only used for entries with types listed in the `EntryType` enum.
      *
-     * Currently, only `FILESET` enum value is allowed. All other entries
-     * created in Data Catalog must use the `user_specified_type`.
+     * For details, see [`EntryType`](#entrytype).
      * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; - * * @return This builder for chaining. */ public Builder clearType() { @@ -3984,9 +3591,7 @@ public Builder clearType() { return this; } - /** - * - * + /** *
      * Custom entry type that doesn't match any of the values allowed for input
      * and listed in the `EntryType` enum.
@@ -4004,7 +3609,6 @@ public Builder clearType() {
      * 
* * string user_specified_type = 16; - * * @return Whether the userSpecifiedType field is set. */ @java.lang.Override @@ -4012,8 +3616,6 @@ public boolean hasUserSpecifiedType() { return entryTypeCase_ == 16; } /** - * - * *
      * Custom entry type that doesn't match any of the values allowed for input
      * and listed in the `EntryType` enum.
@@ -4031,7 +3633,6 @@ public boolean hasUserSpecifiedType() {
      * 
* * string user_specified_type = 16; - * * @return The userSpecifiedType. */ @java.lang.Override @@ -4041,7 +3642,8 @@ public java.lang.String getUserSpecifiedType() { ref = entryType_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (entryTypeCase_ == 16) { entryType_ = s; @@ -4052,8 +3654,6 @@ public java.lang.String getUserSpecifiedType() { } } /** - * - * *
      * Custom entry type that doesn't match any of the values allowed for input
      * and listed in the `EntryType` enum.
@@ -4071,18 +3671,19 @@ public java.lang.String getUserSpecifiedType() {
      * 
* * string user_specified_type = 16; - * * @return The bytes for userSpecifiedType. */ @java.lang.Override - public com.google.protobuf.ByteString getUserSpecifiedTypeBytes() { + public com.google.protobuf.ByteString + getUserSpecifiedTypeBytes() { java.lang.Object ref = ""; if (entryTypeCase_ == 16) { ref = entryType_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (entryTypeCase_ == 16) { entryType_ = b; } @@ -4092,8 +3693,6 @@ public com.google.protobuf.ByteString getUserSpecifiedTypeBytes() { } } /** - * - * *
      * Custom entry type that doesn't match any of the values allowed for input
      * and listed in the `EntryType` enum.
@@ -4111,22 +3710,18 @@ public com.google.protobuf.ByteString getUserSpecifiedTypeBytes() {
      * 
* * string user_specified_type = 16; - * * @param value The userSpecifiedType to set. * @return This builder for chaining. */ - public Builder setUserSpecifiedType(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserSpecifiedType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } entryTypeCase_ = 16; entryType_ = value; onChanged(); return this; } /** - * - * *
      * Custom entry type that doesn't match any of the values allowed for input
      * and listed in the `EntryType` enum.
@@ -4144,7 +3739,6 @@ public Builder setUserSpecifiedType(java.lang.String value) {
      * 
* * string user_specified_type = 16; - * * @return This builder for chaining. */ public Builder clearUserSpecifiedType() { @@ -4156,8 +3750,6 @@ public Builder clearUserSpecifiedType() { return this; } /** - * - * *
      * Custom entry type that doesn't match any of the values allowed for input
      * and listed in the `EntryType` enum.
@@ -4175,14 +3767,12 @@ public Builder clearUserSpecifiedType() {
      * 
* * string user_specified_type = 16; - * * @param value The bytes for userSpecifiedType to set. * @return This builder for chaining. */ - public Builder setUserSpecifiedTypeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserSpecifiedTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); entryTypeCase_ = 16; entryType_ = value; @@ -4191,17 +3781,12 @@ public Builder setUserSpecifiedTypeBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * Output only. Indicates the entry's source system that Data Catalog
      * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
      * 
* - * - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the integratedSystem field is set. */ @java.lang.Override @@ -4209,17 +3794,12 @@ public boolean hasIntegratedSystem() { return systemCase_ == 17; } /** - * - * *
      * Output only. Indicates the entry's source system that Data Catalog
      * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
      * 
* - * - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for integratedSystem. */ @java.lang.Override @@ -4230,17 +3810,12 @@ public int getIntegratedSystemValue() { return 0; } /** - * - * *
      * Output only. Indicates the entry's source system that Data Catalog
      * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
      * 
* - * - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for integratedSystem to set. * @return This builder for chaining. */ @@ -4251,42 +3826,30 @@ public Builder setIntegratedSystemValue(int value) { return this; } /** - * - * *
      * Output only. Indicates the entry's source system that Data Catalog
      * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
      * 
* - * - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The integratedSystem. */ @java.lang.Override public com.google.cloud.datacatalog.v1.IntegratedSystem getIntegratedSystem() { if (systemCase_ == 17) { - com.google.cloud.datacatalog.v1.IntegratedSystem result = - com.google.cloud.datacatalog.v1.IntegratedSystem.forNumber((java.lang.Integer) system_); - return result == null - ? com.google.cloud.datacatalog.v1.IntegratedSystem.UNRECOGNIZED - : result; + com.google.cloud.datacatalog.v1.IntegratedSystem result = com.google.cloud.datacatalog.v1.IntegratedSystem.forNumber( + (java.lang.Integer) system_); + return result == null ? com.google.cloud.datacatalog.v1.IntegratedSystem.UNRECOGNIZED : result; } return com.google.cloud.datacatalog.v1.IntegratedSystem.INTEGRATED_SYSTEM_UNSPECIFIED; } /** - * - * *
      * Output only. Indicates the entry's source system that Data Catalog
      * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
      * 
* - * - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The integratedSystem to set. * @return This builder for chaining. */ @@ -4300,17 +3863,12 @@ public Builder setIntegratedSystem(com.google.cloud.datacatalog.v1.IntegratedSys return this; } /** - * - * *
      * Output only. Indicates the entry's source system that Data Catalog
      * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
      * 
* - * - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearIntegratedSystem() { @@ -4323,8 +3881,6 @@ public Builder clearIntegratedSystem() { } /** - * - * *
      * Indicates the entry's source system that Data Catalog doesn't
      * automatically integrate with.
@@ -4338,7 +3894,6 @@ public Builder clearIntegratedSystem() {
      * 
* * string user_specified_system = 18; - * * @return Whether the userSpecifiedSystem field is set. */ @java.lang.Override @@ -4346,8 +3901,6 @@ public boolean hasUserSpecifiedSystem() { return systemCase_ == 18; } /** - * - * *
      * Indicates the entry's source system that Data Catalog doesn't
      * automatically integrate with.
@@ -4361,7 +3914,6 @@ public boolean hasUserSpecifiedSystem() {
      * 
* * string user_specified_system = 18; - * * @return The userSpecifiedSystem. */ @java.lang.Override @@ -4371,7 +3923,8 @@ public java.lang.String getUserSpecifiedSystem() { ref = system_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (systemCase_ == 18) { system_ = s; @@ -4382,8 +3935,6 @@ public java.lang.String getUserSpecifiedSystem() { } } /** - * - * *
      * Indicates the entry's source system that Data Catalog doesn't
      * automatically integrate with.
@@ -4397,18 +3948,19 @@ public java.lang.String getUserSpecifiedSystem() {
      * 
* * string user_specified_system = 18; - * * @return The bytes for userSpecifiedSystem. */ @java.lang.Override - public com.google.protobuf.ByteString getUserSpecifiedSystemBytes() { + public com.google.protobuf.ByteString + getUserSpecifiedSystemBytes() { java.lang.Object ref = ""; if (systemCase_ == 18) { ref = system_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (systemCase_ == 18) { system_ = b; } @@ -4418,8 +3970,6 @@ public com.google.protobuf.ByteString getUserSpecifiedSystemBytes() { } } /** - * - * *
      * Indicates the entry's source system that Data Catalog doesn't
      * automatically integrate with.
@@ -4433,22 +3983,18 @@ public com.google.protobuf.ByteString getUserSpecifiedSystemBytes() {
      * 
* * string user_specified_system = 18; - * * @param value The userSpecifiedSystem to set. * @return This builder for chaining. */ - public Builder setUserSpecifiedSystem(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserSpecifiedSystem( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } systemCase_ = 18; system_ = value; onChanged(); return this; } /** - * - * *
      * Indicates the entry's source system that Data Catalog doesn't
      * automatically integrate with.
@@ -4462,7 +4008,6 @@ public Builder setUserSpecifiedSystem(java.lang.String value) {
      * 
* * string user_specified_system = 18; - * * @return This builder for chaining. */ public Builder clearUserSpecifiedSystem() { @@ -4474,8 +4019,6 @@ public Builder clearUserSpecifiedSystem() { return this; } /** - * - * *
      * Indicates the entry's source system that Data Catalog doesn't
      * automatically integrate with.
@@ -4489,14 +4032,12 @@ public Builder clearUserSpecifiedSystem() {
      * 
* * string user_specified_system = 18; - * * @param value The bytes for userSpecifiedSystem to set. * @return This builder for chaining. */ - public Builder setUserSpecifiedSystemBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserSpecifiedSystemBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); systemCase_ = 18; system_ = value; @@ -4505,21 +4046,14 @@ public Builder setUserSpecifiedSystemBytes(com.google.protobuf.ByteString value) } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec, - com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.Builder, - com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpecOrBuilder> - sqlDatabaseSystemSpecBuilder_; + com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec, com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.Builder, com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpecOrBuilder> sqlDatabaseSystemSpecBuilder_; /** - * - * *
      * Specification that applies to a relational database system. Only settable
      * when `user_specified_system` is equal to `SQL_DATABASE`
      * 
* - * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; - * - * + * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; * @return Whether the sqlDatabaseSystemSpec field is set. */ @java.lang.Override @@ -4527,16 +4061,12 @@ public boolean hasSqlDatabaseSystemSpec() { return systemSpecCase_ == 39; } /** - * - * *
      * Specification that applies to a relational database system. Only settable
      * when `user_specified_system` is equal to `SQL_DATABASE`
      * 
* - * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; - * - * + * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; * @return The sqlDatabaseSystemSpec. */ @java.lang.Override @@ -4554,18 +4084,14 @@ public com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec getSqlDatabaseSyste } } /** - * - * *
      * Specification that applies to a relational database system. Only settable
      * when `user_specified_system` is equal to `SQL_DATABASE`
      * 
* - * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; - * + * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; */ - public Builder setSqlDatabaseSystemSpec( - com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec value) { + public Builder setSqlDatabaseSystemSpec(com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec value) { if (sqlDatabaseSystemSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4579,15 +4105,12 @@ public Builder setSqlDatabaseSystemSpec( return this; } /** - * - * *
      * Specification that applies to a relational database system. Only settable
      * when `user_specified_system` is equal to `SQL_DATABASE`
      * 
* - * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; - * + * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; */ public Builder setSqlDatabaseSystemSpec( com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.Builder builderForValue) { @@ -4601,27 +4124,19 @@ public Builder setSqlDatabaseSystemSpec( return this; } /** - * - * *
      * Specification that applies to a relational database system. Only settable
      * when `user_specified_system` is equal to `SQL_DATABASE`
      * 
* - * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; - * + * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; */ - public Builder mergeSqlDatabaseSystemSpec( - com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec value) { + public Builder mergeSqlDatabaseSystemSpec(com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec value) { if (sqlDatabaseSystemSpecBuilder_ == null) { - if (systemSpecCase_ == 39 - && systemSpec_ - != com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.getDefaultInstance()) { - systemSpec_ = - com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.newBuilder( - (com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec) systemSpec_) - .mergeFrom(value) - .buildPartial(); + if (systemSpecCase_ == 39 && + systemSpec_ != com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.getDefaultInstance()) { + systemSpec_ = com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.newBuilder((com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec) systemSpec_) + .mergeFrom(value).buildPartial(); } else { systemSpec_ = value; } @@ -4637,15 +4152,12 @@ public Builder mergeSqlDatabaseSystemSpec( return this; } /** - * - * *
      * Specification that applies to a relational database system. Only settable
      * when `user_specified_system` is equal to `SQL_DATABASE`
      * 
* - * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; - * + * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; */ public Builder clearSqlDatabaseSystemSpec() { if (sqlDatabaseSystemSpecBuilder_ == null) { @@ -4664,34 +4176,26 @@ public Builder clearSqlDatabaseSystemSpec() { return this; } /** - * - * *
      * Specification that applies to a relational database system. Only settable
      * when `user_specified_system` is equal to `SQL_DATABASE`
      * 
* - * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; - * + * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; */ - public com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.Builder - getSqlDatabaseSystemSpecBuilder() { + public com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.Builder getSqlDatabaseSystemSpecBuilder() { return getSqlDatabaseSystemSpecFieldBuilder().getBuilder(); } /** - * - * *
      * Specification that applies to a relational database system. Only settable
      * when `user_specified_system` is equal to `SQL_DATABASE`
      * 
* - * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; - * + * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpecOrBuilder - getSqlDatabaseSystemSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpecOrBuilder getSqlDatabaseSystemSpecOrBuilder() { if ((systemSpecCase_ == 39) && (sqlDatabaseSystemSpecBuilder_ != null)) { return sqlDatabaseSystemSpecBuilder_.getMessageOrBuilder(); } else { @@ -4702,30 +4206,22 @@ public Builder clearSqlDatabaseSystemSpec() { } } /** - * - * *
      * Specification that applies to a relational database system. Only settable
      * when `user_specified_system` is equal to `SQL_DATABASE`
      * 
* - * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; - * + * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec, - com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.Builder, - com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpecOrBuilder> + com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec, com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.Builder, com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpecOrBuilder> getSqlDatabaseSystemSpecFieldBuilder() { if (sqlDatabaseSystemSpecBuilder_ == null) { if (!(systemSpecCase_ == 39)) { systemSpec_ = com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.getDefaultInstance(); } - sqlDatabaseSystemSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec, - com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.Builder, - com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpecOrBuilder>( + sqlDatabaseSystemSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec, com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.Builder, com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpecOrBuilder>( (com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec) systemSpec_, getParentForChildren(), isClean()); @@ -4737,20 +4233,14 @@ public Builder clearSqlDatabaseSystemSpec() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.LookerSystemSpec, - com.google.cloud.datacatalog.v1.LookerSystemSpec.Builder, - com.google.cloud.datacatalog.v1.LookerSystemSpecOrBuilder> - lookerSystemSpecBuilder_; + com.google.cloud.datacatalog.v1.LookerSystemSpec, com.google.cloud.datacatalog.v1.LookerSystemSpec.Builder, com.google.cloud.datacatalog.v1.LookerSystemSpecOrBuilder> lookerSystemSpecBuilder_; /** - * - * *
      * Specification that applies to Looker sysstem. Only settable when
      * `user_specified_system` is equal to `LOOKER`
      * 
* * .google.cloud.datacatalog.v1.LookerSystemSpec looker_system_spec = 40; - * * @return Whether the lookerSystemSpec field is set. */ @java.lang.Override @@ -4758,15 +4248,12 @@ public boolean hasLookerSystemSpec() { return systemSpecCase_ == 40; } /** - * - * *
      * Specification that applies to Looker sysstem. Only settable when
      * `user_specified_system` is equal to `LOOKER`
      * 
* * .google.cloud.datacatalog.v1.LookerSystemSpec looker_system_spec = 40; - * * @return The lookerSystemSpec. */ @java.lang.Override @@ -4784,8 +4271,6 @@ public com.google.cloud.datacatalog.v1.LookerSystemSpec getLookerSystemSpec() { } } /** - * - * *
      * Specification that applies to Looker sysstem. Only settable when
      * `user_specified_system` is equal to `LOOKER`
@@ -4807,8 +4292,6 @@ public Builder setLookerSystemSpec(com.google.cloud.datacatalog.v1.LookerSystemS
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to Looker sysstem. Only settable when
      * `user_specified_system` is equal to `LOOKER`
@@ -4828,8 +4311,6 @@ public Builder setLookerSystemSpec(
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to Looker sysstem. Only settable when
      * `user_specified_system` is equal to `LOOKER`
@@ -4839,14 +4320,10 @@ public Builder setLookerSystemSpec(
      */
     public Builder mergeLookerSystemSpec(com.google.cloud.datacatalog.v1.LookerSystemSpec value) {
       if (lookerSystemSpecBuilder_ == null) {
-        if (systemSpecCase_ == 40
-            && systemSpec_
-                != com.google.cloud.datacatalog.v1.LookerSystemSpec.getDefaultInstance()) {
-          systemSpec_ =
-              com.google.cloud.datacatalog.v1.LookerSystemSpec.newBuilder(
-                      (com.google.cloud.datacatalog.v1.LookerSystemSpec) systemSpec_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (systemSpecCase_ == 40 &&
+            systemSpec_ != com.google.cloud.datacatalog.v1.LookerSystemSpec.getDefaultInstance()) {
+          systemSpec_ = com.google.cloud.datacatalog.v1.LookerSystemSpec.newBuilder((com.google.cloud.datacatalog.v1.LookerSystemSpec) systemSpec_)
+              .mergeFrom(value).buildPartial();
         } else {
           systemSpec_ = value;
         }
@@ -4862,8 +4339,6 @@ public Builder mergeLookerSystemSpec(com.google.cloud.datacatalog.v1.LookerSyste
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to Looker sysstem. Only settable when
      * `user_specified_system` is equal to `LOOKER`
@@ -4888,8 +4363,6 @@ public Builder clearLookerSystemSpec() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to Looker sysstem. Only settable when
      * `user_specified_system` is equal to `LOOKER`
@@ -4901,8 +4374,6 @@ public com.google.cloud.datacatalog.v1.LookerSystemSpec.Builder getLookerSystemS
       return getLookerSystemSpecFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Specification that applies to Looker sysstem. Only settable when
      * `user_specified_system` is equal to `LOOKER`
@@ -4911,8 +4382,7 @@ public com.google.cloud.datacatalog.v1.LookerSystemSpec.Builder getLookerSystemS
      * .google.cloud.datacatalog.v1.LookerSystemSpec looker_system_spec = 40;
      */
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1.LookerSystemSpecOrBuilder
-        getLookerSystemSpecOrBuilder() {
+    public com.google.cloud.datacatalog.v1.LookerSystemSpecOrBuilder getLookerSystemSpecOrBuilder() {
       if ((systemSpecCase_ == 40) && (lookerSystemSpecBuilder_ != null)) {
         return lookerSystemSpecBuilder_.getMessageOrBuilder();
       } else {
@@ -4923,8 +4393,6 @@ public com.google.cloud.datacatalog.v1.LookerSystemSpec.Builder getLookerSystemS
       }
     }
     /**
-     *
-     *
      * 
      * Specification that applies to Looker sysstem. Only settable when
      * `user_specified_system` is equal to `LOOKER`
@@ -4933,19 +4401,14 @@ public com.google.cloud.datacatalog.v1.LookerSystemSpec.Builder getLookerSystemS
      * .google.cloud.datacatalog.v1.LookerSystemSpec looker_system_spec = 40;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.LookerSystemSpec,
-            com.google.cloud.datacatalog.v1.LookerSystemSpec.Builder,
-            com.google.cloud.datacatalog.v1.LookerSystemSpecOrBuilder>
+        com.google.cloud.datacatalog.v1.LookerSystemSpec, com.google.cloud.datacatalog.v1.LookerSystemSpec.Builder, com.google.cloud.datacatalog.v1.LookerSystemSpecOrBuilder> 
         getLookerSystemSpecFieldBuilder() {
       if (lookerSystemSpecBuilder_ == null) {
         if (!(systemSpecCase_ == 40)) {
           systemSpec_ = com.google.cloud.datacatalog.v1.LookerSystemSpec.getDefaultInstance();
         }
-        lookerSystemSpecBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.datacatalog.v1.LookerSystemSpec,
-                com.google.cloud.datacatalog.v1.LookerSystemSpec.Builder,
-                com.google.cloud.datacatalog.v1.LookerSystemSpecOrBuilder>(
+        lookerSystemSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.datacatalog.v1.LookerSystemSpec, com.google.cloud.datacatalog.v1.LookerSystemSpec.Builder, com.google.cloud.datacatalog.v1.LookerSystemSpecOrBuilder>(
                 (com.google.cloud.datacatalog.v1.LookerSystemSpec) systemSpec_,
                 getParentForChildren(),
                 isClean());
@@ -4957,21 +4420,14 @@ public com.google.cloud.datacatalog.v1.LookerSystemSpec.Builder getLookerSystemS
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec,
-            com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.Builder,
-            com.google.cloud.datacatalog.v1.CloudBigtableSystemSpecOrBuilder>
-        cloudBigtableSystemSpecBuilder_;
+        com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec, com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.Builder, com.google.cloud.datacatalog.v1.CloudBigtableSystemSpecOrBuilder> cloudBigtableSystemSpecBuilder_;
     /**
-     *
-     *
      * 
      * Specification that applies to Cloud Bigtable system. Only settable when
      * `integrated_system` is equal to `CLOUD_BIGTABLE`
      * 
* - * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; - * - * + * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; * @return Whether the cloudBigtableSystemSpec field is set. */ @java.lang.Override @@ -4979,16 +4435,12 @@ public boolean hasCloudBigtableSystemSpec() { return systemSpecCase_ == 41; } /** - * - * *
      * Specification that applies to Cloud Bigtable system. Only settable when
      * `integrated_system` is equal to `CLOUD_BIGTABLE`
      * 
* - * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; - * - * + * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; * @return The cloudBigtableSystemSpec. */ @java.lang.Override @@ -5006,18 +4458,14 @@ public com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec getCloudBigtableS } } /** - * - * *
      * Specification that applies to Cloud Bigtable system. Only settable when
      * `integrated_system` is equal to `CLOUD_BIGTABLE`
      * 
* - * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; - * + * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; */ - public Builder setCloudBigtableSystemSpec( - com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec value) { + public Builder setCloudBigtableSystemSpec(com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec value) { if (cloudBigtableSystemSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5031,15 +4479,12 @@ public Builder setCloudBigtableSystemSpec( return this; } /** - * - * *
      * Specification that applies to Cloud Bigtable system. Only settable when
      * `integrated_system` is equal to `CLOUD_BIGTABLE`
      * 
* - * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; - * + * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; */ public Builder setCloudBigtableSystemSpec( com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.Builder builderForValue) { @@ -5053,27 +4498,19 @@ public Builder setCloudBigtableSystemSpec( return this; } /** - * - * *
      * Specification that applies to Cloud Bigtable system. Only settable when
      * `integrated_system` is equal to `CLOUD_BIGTABLE`
      * 
* - * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; - * + * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; */ - public Builder mergeCloudBigtableSystemSpec( - com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec value) { + public Builder mergeCloudBigtableSystemSpec(com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec value) { if (cloudBigtableSystemSpecBuilder_ == null) { - if (systemSpecCase_ == 41 - && systemSpec_ - != com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.getDefaultInstance()) { - systemSpec_ = - com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.newBuilder( - (com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec) systemSpec_) - .mergeFrom(value) - .buildPartial(); + if (systemSpecCase_ == 41 && + systemSpec_ != com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.getDefaultInstance()) { + systemSpec_ = com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.newBuilder((com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec) systemSpec_) + .mergeFrom(value).buildPartial(); } else { systemSpec_ = value; } @@ -5089,15 +4526,12 @@ public Builder mergeCloudBigtableSystemSpec( return this; } /** - * - * *
      * Specification that applies to Cloud Bigtable system. Only settable when
      * `integrated_system` is equal to `CLOUD_BIGTABLE`
      * 
* - * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; - * + * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; */ public Builder clearCloudBigtableSystemSpec() { if (cloudBigtableSystemSpecBuilder_ == null) { @@ -5116,34 +4550,26 @@ public Builder clearCloudBigtableSystemSpec() { return this; } /** - * - * *
      * Specification that applies to Cloud Bigtable system. Only settable when
      * `integrated_system` is equal to `CLOUD_BIGTABLE`
      * 
* - * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; - * + * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; */ - public com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.Builder - getCloudBigtableSystemSpecBuilder() { + public com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.Builder getCloudBigtableSystemSpecBuilder() { return getCloudBigtableSystemSpecFieldBuilder().getBuilder(); } /** - * - * *
      * Specification that applies to Cloud Bigtable system. Only settable when
      * `integrated_system` is equal to `CLOUD_BIGTABLE`
      * 
* - * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; - * + * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.CloudBigtableSystemSpecOrBuilder - getCloudBigtableSystemSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.CloudBigtableSystemSpecOrBuilder getCloudBigtableSystemSpecOrBuilder() { if ((systemSpecCase_ == 41) && (cloudBigtableSystemSpecBuilder_ != null)) { return cloudBigtableSystemSpecBuilder_.getMessageOrBuilder(); } else { @@ -5154,31 +4580,22 @@ public Builder clearCloudBigtableSystemSpec() { } } /** - * - * *
      * Specification that applies to Cloud Bigtable system. Only settable when
      * `integrated_system` is equal to `CLOUD_BIGTABLE`
      * 
* - * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; - * + * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec, - com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.Builder, - com.google.cloud.datacatalog.v1.CloudBigtableSystemSpecOrBuilder> + com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec, com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.Builder, com.google.cloud.datacatalog.v1.CloudBigtableSystemSpecOrBuilder> getCloudBigtableSystemSpecFieldBuilder() { if (cloudBigtableSystemSpecBuilder_ == null) { if (!(systemSpecCase_ == 41)) { - systemSpec_ = - com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.getDefaultInstance(); - } - cloudBigtableSystemSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec, - com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.Builder, - com.google.cloud.datacatalog.v1.CloudBigtableSystemSpecOrBuilder>( + systemSpec_ = com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.getDefaultInstance(); + } + cloudBigtableSystemSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec, com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.Builder, com.google.cloud.datacatalog.v1.CloudBigtableSystemSpecOrBuilder>( (com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec) systemSpec_, getParentForChildren(), isClean()); @@ -5190,20 +4607,14 @@ public Builder clearCloudBigtableSystemSpec() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.GcsFilesetSpec, - com.google.cloud.datacatalog.v1.GcsFilesetSpec.Builder, - com.google.cloud.datacatalog.v1.GcsFilesetSpecOrBuilder> - gcsFilesetSpecBuilder_; + com.google.cloud.datacatalog.v1.GcsFilesetSpec, com.google.cloud.datacatalog.v1.GcsFilesetSpec.Builder, com.google.cloud.datacatalog.v1.GcsFilesetSpecOrBuilder> gcsFilesetSpecBuilder_; /** - * - * *
      * Specification that applies to a Cloud Storage fileset. Valid only
      * for entries with the `FILESET` type.
      * 
* * .google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6; - * * @return Whether the gcsFilesetSpec field is set. */ @java.lang.Override @@ -5211,15 +4622,12 @@ public boolean hasGcsFilesetSpec() { return typeSpecCase_ == 6; } /** - * - * *
      * Specification that applies to a Cloud Storage fileset. Valid only
      * for entries with the `FILESET` type.
      * 
* * .google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6; - * * @return The gcsFilesetSpec. */ @java.lang.Override @@ -5237,8 +4645,6 @@ public com.google.cloud.datacatalog.v1.GcsFilesetSpec getGcsFilesetSpec() { } } /** - * - * *
      * Specification that applies to a Cloud Storage fileset. Valid only
      * for entries with the `FILESET` type.
@@ -5260,8 +4666,6 @@ public Builder setGcsFilesetSpec(com.google.cloud.datacatalog.v1.GcsFilesetSpec
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a Cloud Storage fileset. Valid only
      * for entries with the `FILESET` type.
@@ -5281,8 +4685,6 @@ public Builder setGcsFilesetSpec(
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a Cloud Storage fileset. Valid only
      * for entries with the `FILESET` type.
@@ -5292,13 +4694,10 @@ public Builder setGcsFilesetSpec(
      */
     public Builder mergeGcsFilesetSpec(com.google.cloud.datacatalog.v1.GcsFilesetSpec value) {
       if (gcsFilesetSpecBuilder_ == null) {
-        if (typeSpecCase_ == 6
-            && typeSpec_ != com.google.cloud.datacatalog.v1.GcsFilesetSpec.getDefaultInstance()) {
-          typeSpec_ =
-              com.google.cloud.datacatalog.v1.GcsFilesetSpec.newBuilder(
-                      (com.google.cloud.datacatalog.v1.GcsFilesetSpec) typeSpec_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (typeSpecCase_ == 6 &&
+            typeSpec_ != com.google.cloud.datacatalog.v1.GcsFilesetSpec.getDefaultInstance()) {
+          typeSpec_ = com.google.cloud.datacatalog.v1.GcsFilesetSpec.newBuilder((com.google.cloud.datacatalog.v1.GcsFilesetSpec) typeSpec_)
+              .mergeFrom(value).buildPartial();
         } else {
           typeSpec_ = value;
         }
@@ -5314,8 +4713,6 @@ public Builder mergeGcsFilesetSpec(com.google.cloud.datacatalog.v1.GcsFilesetSpe
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a Cloud Storage fileset. Valid only
      * for entries with the `FILESET` type.
@@ -5340,8 +4737,6 @@ public Builder clearGcsFilesetSpec() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a Cloud Storage fileset. Valid only
      * for entries with the `FILESET` type.
@@ -5353,8 +4748,6 @@ public com.google.cloud.datacatalog.v1.GcsFilesetSpec.Builder getGcsFilesetSpecB
       return getGcsFilesetSpecFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a Cloud Storage fileset. Valid only
      * for entries with the `FILESET` type.
@@ -5374,8 +4767,6 @@ public com.google.cloud.datacatalog.v1.GcsFilesetSpecOrBuilder getGcsFilesetSpec
       }
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a Cloud Storage fileset. Valid only
      * for entries with the `FILESET` type.
@@ -5384,19 +4775,14 @@ public com.google.cloud.datacatalog.v1.GcsFilesetSpecOrBuilder getGcsFilesetSpec
      * .google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.GcsFilesetSpec,
-            com.google.cloud.datacatalog.v1.GcsFilesetSpec.Builder,
-            com.google.cloud.datacatalog.v1.GcsFilesetSpecOrBuilder>
+        com.google.cloud.datacatalog.v1.GcsFilesetSpec, com.google.cloud.datacatalog.v1.GcsFilesetSpec.Builder, com.google.cloud.datacatalog.v1.GcsFilesetSpecOrBuilder> 
         getGcsFilesetSpecFieldBuilder() {
       if (gcsFilesetSpecBuilder_ == null) {
         if (!(typeSpecCase_ == 6)) {
           typeSpec_ = com.google.cloud.datacatalog.v1.GcsFilesetSpec.getDefaultInstance();
         }
-        gcsFilesetSpecBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.datacatalog.v1.GcsFilesetSpec,
-                com.google.cloud.datacatalog.v1.GcsFilesetSpec.Builder,
-                com.google.cloud.datacatalog.v1.GcsFilesetSpecOrBuilder>(
+        gcsFilesetSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.datacatalog.v1.GcsFilesetSpec, com.google.cloud.datacatalog.v1.GcsFilesetSpec.Builder, com.google.cloud.datacatalog.v1.GcsFilesetSpecOrBuilder>(
                 (com.google.cloud.datacatalog.v1.GcsFilesetSpec) typeSpec_,
                 getParentForChildren(),
                 isClean());
@@ -5408,22 +4794,14 @@ public com.google.cloud.datacatalog.v1.GcsFilesetSpecOrBuilder getGcsFilesetSpec
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.BigQueryTableSpec,
-            com.google.cloud.datacatalog.v1.BigQueryTableSpec.Builder,
-            com.google.cloud.datacatalog.v1.BigQueryTableSpecOrBuilder>
-        bigqueryTableSpecBuilder_;
+        com.google.cloud.datacatalog.v1.BigQueryTableSpec, com.google.cloud.datacatalog.v1.BigQueryTableSpec.Builder, com.google.cloud.datacatalog.v1.BigQueryTableSpecOrBuilder> bigqueryTableSpecBuilder_;
     /**
-     *
-     *
      * 
      * Output only. Specification that applies to a BigQuery table. Valid only
      * for entries with the `TABLE` type.
      * 
* - * - * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the bigqueryTableSpec field is set. */ @java.lang.Override @@ -5431,17 +4809,12 @@ public boolean hasBigqueryTableSpec() { return typeSpecCase_ == 12; } /** - * - * *
      * Output only. Specification that applies to a BigQuery table. Valid only
      * for entries with the `TABLE` type.
      * 
* - * - * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bigqueryTableSpec. */ @java.lang.Override @@ -5459,16 +4832,12 @@ public com.google.cloud.datacatalog.v1.BigQueryTableSpec getBigqueryTableSpec() } } /** - * - * *
      * Output only. Specification that applies to a BigQuery table. Valid only
      * for entries with the `TABLE` type.
      * 
* - * - * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setBigqueryTableSpec(com.google.cloud.datacatalog.v1.BigQueryTableSpec value) { if (bigqueryTableSpecBuilder_ == null) { @@ -5484,16 +4853,12 @@ public Builder setBigqueryTableSpec(com.google.cloud.datacatalog.v1.BigQueryTabl return this; } /** - * - * *
      * Output only. Specification that applies to a BigQuery table. Valid only
      * for entries with the `TABLE` type.
      * 
* - * - * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setBigqueryTableSpec( com.google.cloud.datacatalog.v1.BigQueryTableSpec.Builder builderForValue) { @@ -5507,27 +4872,19 @@ public Builder setBigqueryTableSpec( return this; } /** - * - * *
      * Output only. Specification that applies to a BigQuery table. Valid only
      * for entries with the `TABLE` type.
      * 
* - * - * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeBigqueryTableSpec(com.google.cloud.datacatalog.v1.BigQueryTableSpec value) { if (bigqueryTableSpecBuilder_ == null) { - if (typeSpecCase_ == 12 - && typeSpec_ - != com.google.cloud.datacatalog.v1.BigQueryTableSpec.getDefaultInstance()) { - typeSpec_ = - com.google.cloud.datacatalog.v1.BigQueryTableSpec.newBuilder( - (com.google.cloud.datacatalog.v1.BigQueryTableSpec) typeSpec_) - .mergeFrom(value) - .buildPartial(); + if (typeSpecCase_ == 12 && + typeSpec_ != com.google.cloud.datacatalog.v1.BigQueryTableSpec.getDefaultInstance()) { + typeSpec_ = com.google.cloud.datacatalog.v1.BigQueryTableSpec.newBuilder((com.google.cloud.datacatalog.v1.BigQueryTableSpec) typeSpec_) + .mergeFrom(value).buildPartial(); } else { typeSpec_ = value; } @@ -5543,16 +4900,12 @@ public Builder mergeBigqueryTableSpec(com.google.cloud.datacatalog.v1.BigQueryTa return this; } /** - * - * *
      * Output only. Specification that applies to a BigQuery table. Valid only
      * for entries with the `TABLE` type.
      * 
* - * - * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearBigqueryTableSpec() { if (bigqueryTableSpecBuilder_ == null) { @@ -5571,35 +4924,26 @@ public Builder clearBigqueryTableSpec() { return this; } /** - * - * *
      * Output only. Specification that applies to a BigQuery table. Valid only
      * for entries with the `TABLE` type.
      * 
* - * - * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datacatalog.v1.BigQueryTableSpec.Builder getBigqueryTableSpecBuilder() { return getBigqueryTableSpecFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Specification that applies to a BigQuery table. Valid only
      * for entries with the `TABLE` type.
      * 
* - * - * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.BigQueryTableSpecOrBuilder - getBigqueryTableSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.BigQueryTableSpecOrBuilder getBigqueryTableSpecOrBuilder() { if ((typeSpecCase_ == 12) && (bigqueryTableSpecBuilder_ != null)) { return bigqueryTableSpecBuilder_.getMessageOrBuilder(); } else { @@ -5610,31 +4954,22 @@ public com.google.cloud.datacatalog.v1.BigQueryTableSpec.Builder getBigqueryTabl } } /** - * - * *
      * Output only. Specification that applies to a BigQuery table. Valid only
      * for entries with the `TABLE` type.
      * 
* - * - * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.BigQueryTableSpec, - com.google.cloud.datacatalog.v1.BigQueryTableSpec.Builder, - com.google.cloud.datacatalog.v1.BigQueryTableSpecOrBuilder> + com.google.cloud.datacatalog.v1.BigQueryTableSpec, com.google.cloud.datacatalog.v1.BigQueryTableSpec.Builder, com.google.cloud.datacatalog.v1.BigQueryTableSpecOrBuilder> getBigqueryTableSpecFieldBuilder() { if (bigqueryTableSpecBuilder_ == null) { if (!(typeSpecCase_ == 12)) { typeSpec_ = com.google.cloud.datacatalog.v1.BigQueryTableSpec.getDefaultInstance(); } - bigqueryTableSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.BigQueryTableSpec, - com.google.cloud.datacatalog.v1.BigQueryTableSpec.Builder, - com.google.cloud.datacatalog.v1.BigQueryTableSpecOrBuilder>( + bigqueryTableSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.BigQueryTableSpec, com.google.cloud.datacatalog.v1.BigQueryTableSpec.Builder, com.google.cloud.datacatalog.v1.BigQueryTableSpecOrBuilder>( (com.google.cloud.datacatalog.v1.BigQueryTableSpec) typeSpec_, getParentForChildren(), isClean()); @@ -5646,13 +4981,8 @@ public com.google.cloud.datacatalog.v1.BigQueryTableSpec.Builder getBigqueryTabl } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec, - com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.Builder, - com.google.cloud.datacatalog.v1.BigQueryDateShardedSpecOrBuilder> - bigqueryDateShardedSpecBuilder_; + com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec, com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.Builder, com.google.cloud.datacatalog.v1.BigQueryDateShardedSpecOrBuilder> bigqueryDateShardedSpecBuilder_; /** - * - * *
      * Output only. Specification for a group of BigQuery tables with
      * the `[prefix]YYYYMMDD` name pattern.
@@ -5661,10 +4991,7 @@ public com.google.cloud.datacatalog.v1.BigQueryTableSpec.Builder getBigqueryTabl
      * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* - * - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the bigqueryDateShardedSpec field is set. */ @java.lang.Override @@ -5672,8 +4999,6 @@ public boolean hasBigqueryDateShardedSpec() { return typeSpecCase_ == 15; } /** - * - * *
      * Output only. Specification for a group of BigQuery tables with
      * the `[prefix]YYYYMMDD` name pattern.
@@ -5682,10 +5007,7 @@ public boolean hasBigqueryDateShardedSpec() {
      * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* - * - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bigqueryDateShardedSpec. */ @java.lang.Override @@ -5703,8 +5025,6 @@ public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec getBigqueryDateSh } } /** - * - * *
      * Output only. Specification for a group of BigQuery tables with
      * the `[prefix]YYYYMMDD` name pattern.
@@ -5713,12 +5033,9 @@ public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec getBigqueryDateSh
      * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* - * - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setBigqueryDateShardedSpec( - com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec value) { + public Builder setBigqueryDateShardedSpec(com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec value) { if (bigqueryDateShardedSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5732,8 +5049,6 @@ public Builder setBigqueryDateShardedSpec( return this; } /** - * - * *
      * Output only. Specification for a group of BigQuery tables with
      * the `[prefix]YYYYMMDD` name pattern.
@@ -5742,9 +5057,7 @@ public Builder setBigqueryDateShardedSpec(
      * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* - * - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setBigqueryDateShardedSpec( com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.Builder builderForValue) { @@ -5758,8 +5071,6 @@ public Builder setBigqueryDateShardedSpec( return this; } /** - * - * *
      * Output only. Specification for a group of BigQuery tables with
      * the `[prefix]YYYYMMDD` name pattern.
@@ -5768,21 +5079,14 @@ public Builder setBigqueryDateShardedSpec(
      * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* - * - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeBigqueryDateShardedSpec( - com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec value) { + public Builder mergeBigqueryDateShardedSpec(com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec value) { if (bigqueryDateShardedSpecBuilder_ == null) { - if (typeSpecCase_ == 15 - && typeSpec_ - != com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.getDefaultInstance()) { - typeSpec_ = - com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.newBuilder( - (com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec) typeSpec_) - .mergeFrom(value) - .buildPartial(); + if (typeSpecCase_ == 15 && + typeSpec_ != com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.getDefaultInstance()) { + typeSpec_ = com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.newBuilder((com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec) typeSpec_) + .mergeFrom(value).buildPartial(); } else { typeSpec_ = value; } @@ -5798,8 +5102,6 @@ public Builder mergeBigqueryDateShardedSpec( return this; } /** - * - * *
      * Output only. Specification for a group of BigQuery tables with
      * the `[prefix]YYYYMMDD` name pattern.
@@ -5808,9 +5110,7 @@ public Builder mergeBigqueryDateShardedSpec(
      * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* - * - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearBigqueryDateShardedSpec() { if (bigqueryDateShardedSpecBuilder_ == null) { @@ -5829,8 +5129,6 @@ public Builder clearBigqueryDateShardedSpec() { return this; } /** - * - * *
      * Output only. Specification for a group of BigQuery tables with
      * the `[prefix]YYYYMMDD` name pattern.
@@ -5839,17 +5137,12 @@ public Builder clearBigqueryDateShardedSpec() {
      * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* - * - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.Builder - getBigqueryDateShardedSpecBuilder() { + public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.Builder getBigqueryDateShardedSpecBuilder() { return getBigqueryDateShardedSpecFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Specification for a group of BigQuery tables with
      * the `[prefix]YYYYMMDD` name pattern.
@@ -5858,13 +5151,10 @@ public Builder clearBigqueryDateShardedSpec() {
      * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* - * - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpecOrBuilder - getBigqueryDateShardedSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpecOrBuilder getBigqueryDateShardedSpecOrBuilder() { if ((typeSpecCase_ == 15) && (bigqueryDateShardedSpecBuilder_ != null)) { return bigqueryDateShardedSpecBuilder_.getMessageOrBuilder(); } else { @@ -5875,8 +5165,6 @@ public Builder clearBigqueryDateShardedSpec() { } } /** - * - * *
      * Output only. Specification for a group of BigQuery tables with
      * the `[prefix]YYYYMMDD` name pattern.
@@ -5885,24 +5173,17 @@ public Builder clearBigqueryDateShardedSpec() {
      * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* - * - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec, - com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.Builder, - com.google.cloud.datacatalog.v1.BigQueryDateShardedSpecOrBuilder> + com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec, com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.Builder, com.google.cloud.datacatalog.v1.BigQueryDateShardedSpecOrBuilder> getBigqueryDateShardedSpecFieldBuilder() { if (bigqueryDateShardedSpecBuilder_ == null) { if (!(typeSpecCase_ == 15)) { typeSpec_ = com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.getDefaultInstance(); } - bigqueryDateShardedSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec, - com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.Builder, - com.google.cloud.datacatalog.v1.BigQueryDateShardedSpecOrBuilder>( + bigqueryDateShardedSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec, com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.Builder, com.google.cloud.datacatalog.v1.BigQueryDateShardedSpecOrBuilder>( (com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec) typeSpec_, getParentForChildren(), isClean()); @@ -5914,20 +5195,14 @@ public Builder clearBigqueryDateShardedSpec() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.DatabaseTableSpec, - com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder, - com.google.cloud.datacatalog.v1.DatabaseTableSpecOrBuilder> - databaseTableSpecBuilder_; + com.google.cloud.datacatalog.v1.DatabaseTableSpec, com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder, com.google.cloud.datacatalog.v1.DatabaseTableSpecOrBuilder> databaseTableSpecBuilder_; /** - * - * *
      * Specification that applies to a table resource. Valid only
      * for entries with the `TABLE` or `EXPLORE` type.
      * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; - * * @return Whether the databaseTableSpec field is set. */ @java.lang.Override @@ -5935,15 +5210,12 @@ public boolean hasDatabaseTableSpec() { return specCase_ == 24; } /** - * - * *
      * Specification that applies to a table resource. Valid only
      * for entries with the `TABLE` or `EXPLORE` type.
      * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; - * * @return The databaseTableSpec. */ @java.lang.Override @@ -5961,8 +5233,6 @@ public com.google.cloud.datacatalog.v1.DatabaseTableSpec getDatabaseTableSpec() } } /** - * - * *
      * Specification that applies to a table resource. Valid only
      * for entries with the `TABLE` or `EXPLORE` type.
@@ -5984,8 +5254,6 @@ public Builder setDatabaseTableSpec(com.google.cloud.datacatalog.v1.DatabaseTabl
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a table resource. Valid only
      * for entries with the `TABLE` or `EXPLORE` type.
@@ -6005,8 +5273,6 @@ public Builder setDatabaseTableSpec(
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a table resource. Valid only
      * for entries with the `TABLE` or `EXPLORE` type.
@@ -6016,13 +5282,10 @@ public Builder setDatabaseTableSpec(
      */
     public Builder mergeDatabaseTableSpec(com.google.cloud.datacatalog.v1.DatabaseTableSpec value) {
       if (databaseTableSpecBuilder_ == null) {
-        if (specCase_ == 24
-            && spec_ != com.google.cloud.datacatalog.v1.DatabaseTableSpec.getDefaultInstance()) {
-          spec_ =
-              com.google.cloud.datacatalog.v1.DatabaseTableSpec.newBuilder(
-                      (com.google.cloud.datacatalog.v1.DatabaseTableSpec) spec_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (specCase_ == 24 &&
+            spec_ != com.google.cloud.datacatalog.v1.DatabaseTableSpec.getDefaultInstance()) {
+          spec_ = com.google.cloud.datacatalog.v1.DatabaseTableSpec.newBuilder((com.google.cloud.datacatalog.v1.DatabaseTableSpec) spec_)
+              .mergeFrom(value).buildPartial();
         } else {
           spec_ = value;
         }
@@ -6038,8 +5301,6 @@ public Builder mergeDatabaseTableSpec(com.google.cloud.datacatalog.v1.DatabaseTa
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a table resource. Valid only
      * for entries with the `TABLE` or `EXPLORE` type.
@@ -6064,8 +5325,6 @@ public Builder clearDatabaseTableSpec() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a table resource. Valid only
      * for entries with the `TABLE` or `EXPLORE` type.
@@ -6077,8 +5336,6 @@ public com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder getDatabaseTabl
       return getDatabaseTableSpecFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a table resource. Valid only
      * for entries with the `TABLE` or `EXPLORE` type.
@@ -6087,8 +5344,7 @@ public com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder getDatabaseTabl
      * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24;
      */
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1.DatabaseTableSpecOrBuilder
-        getDatabaseTableSpecOrBuilder() {
+    public com.google.cloud.datacatalog.v1.DatabaseTableSpecOrBuilder getDatabaseTableSpecOrBuilder() {
       if ((specCase_ == 24) && (databaseTableSpecBuilder_ != null)) {
         return databaseTableSpecBuilder_.getMessageOrBuilder();
       } else {
@@ -6099,8 +5355,6 @@ public com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder getDatabaseTabl
       }
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a table resource. Valid only
      * for entries with the `TABLE` or `EXPLORE` type.
@@ -6109,19 +5363,14 @@ public com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder getDatabaseTabl
      * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.DatabaseTableSpec,
-            com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder,
-            com.google.cloud.datacatalog.v1.DatabaseTableSpecOrBuilder>
+        com.google.cloud.datacatalog.v1.DatabaseTableSpec, com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder, com.google.cloud.datacatalog.v1.DatabaseTableSpecOrBuilder> 
         getDatabaseTableSpecFieldBuilder() {
       if (databaseTableSpecBuilder_ == null) {
         if (!(specCase_ == 24)) {
           spec_ = com.google.cloud.datacatalog.v1.DatabaseTableSpec.getDefaultInstance();
         }
-        databaseTableSpecBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.datacatalog.v1.DatabaseTableSpec,
-                com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder,
-                com.google.cloud.datacatalog.v1.DatabaseTableSpecOrBuilder>(
+        databaseTableSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.datacatalog.v1.DatabaseTableSpec, com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder, com.google.cloud.datacatalog.v1.DatabaseTableSpecOrBuilder>(
                 (com.google.cloud.datacatalog.v1.DatabaseTableSpec) spec_,
                 getParentForChildren(),
                 isClean());
@@ -6133,21 +5382,14 @@ public com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder getDatabaseTabl
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.DataSourceConnectionSpec,
-            com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder,
-            com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder>
-        dataSourceConnectionSpecBuilder_;
+        com.google.cloud.datacatalog.v1.DataSourceConnectionSpec, com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder, com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder> dataSourceConnectionSpecBuilder_;
     /**
-     *
-     *
      * 
      * Specification that applies to a data source connection. Valid only
      * for entries with the `DATA_SOURCE_CONNECTION` type.
      * 
* - * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; - * - * + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; * @return Whether the dataSourceConnectionSpec field is set. */ @java.lang.Override @@ -6155,16 +5397,12 @@ public boolean hasDataSourceConnectionSpec() { return specCase_ == 27; } /** - * - * *
      * Specification that applies to a data source connection. Valid only
      * for entries with the `DATA_SOURCE_CONNECTION` type.
      * 
* - * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; - * - * + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; * @return The dataSourceConnectionSpec. */ @java.lang.Override @@ -6182,18 +5420,14 @@ public com.google.cloud.datacatalog.v1.DataSourceConnectionSpec getDataSourceCon } } /** - * - * *
      * Specification that applies to a data source connection. Valid only
      * for entries with the `DATA_SOURCE_CONNECTION` type.
      * 
* - * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; - * + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; */ - public Builder setDataSourceConnectionSpec( - com.google.cloud.datacatalog.v1.DataSourceConnectionSpec value) { + public Builder setDataSourceConnectionSpec(com.google.cloud.datacatalog.v1.DataSourceConnectionSpec value) { if (dataSourceConnectionSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6207,15 +5441,12 @@ public Builder setDataSourceConnectionSpec( return this; } /** - * - * *
      * Specification that applies to a data source connection. Valid only
      * for entries with the `DATA_SOURCE_CONNECTION` type.
      * 
* - * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; - * + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; */ public Builder setDataSourceConnectionSpec( com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder builderForValue) { @@ -6229,27 +5460,19 @@ public Builder setDataSourceConnectionSpec( return this; } /** - * - * *
      * Specification that applies to a data source connection. Valid only
      * for entries with the `DATA_SOURCE_CONNECTION` type.
      * 
* - * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; - * + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; */ - public Builder mergeDataSourceConnectionSpec( - com.google.cloud.datacatalog.v1.DataSourceConnectionSpec value) { + public Builder mergeDataSourceConnectionSpec(com.google.cloud.datacatalog.v1.DataSourceConnectionSpec value) { if (dataSourceConnectionSpecBuilder_ == null) { - if (specCase_ == 27 - && spec_ - != com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.getDefaultInstance()) { - spec_ = - com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.newBuilder( - (com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) spec_) - .mergeFrom(value) - .buildPartial(); + if (specCase_ == 27 && + spec_ != com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.getDefaultInstance()) { + spec_ = com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.newBuilder((com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) spec_) + .mergeFrom(value).buildPartial(); } else { spec_ = value; } @@ -6265,15 +5488,12 @@ public Builder mergeDataSourceConnectionSpec( return this; } /** - * - * *
      * Specification that applies to a data source connection. Valid only
      * for entries with the `DATA_SOURCE_CONNECTION` type.
      * 
* - * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; - * + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; */ public Builder clearDataSourceConnectionSpec() { if (dataSourceConnectionSpecBuilder_ == null) { @@ -6292,34 +5512,26 @@ public Builder clearDataSourceConnectionSpec() { return this; } /** - * - * *
      * Specification that applies to a data source connection. Valid only
      * for entries with the `DATA_SOURCE_CONNECTION` type.
      * 
* - * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; - * + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; */ - public com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder - getDataSourceConnectionSpecBuilder() { + public com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder getDataSourceConnectionSpecBuilder() { return getDataSourceConnectionSpecFieldBuilder().getBuilder(); } /** - * - * *
      * Specification that applies to a data source connection. Valid only
      * for entries with the `DATA_SOURCE_CONNECTION` type.
      * 
* - * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; - * + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder - getDataSourceConnectionSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder getDataSourceConnectionSpecOrBuilder() { if ((specCase_ == 27) && (dataSourceConnectionSpecBuilder_ != null)) { return dataSourceConnectionSpecBuilder_.getMessageOrBuilder(); } else { @@ -6330,30 +5542,22 @@ public Builder clearDataSourceConnectionSpec() { } } /** - * - * *
      * Specification that applies to a data source connection. Valid only
      * for entries with the `DATA_SOURCE_CONNECTION` type.
      * 
* - * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; - * + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.DataSourceConnectionSpec, - com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder, - com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder> + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec, com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder, com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder> getDataSourceConnectionSpecFieldBuilder() { if (dataSourceConnectionSpecBuilder_ == null) { if (!(specCase_ == 27)) { spec_ = com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.getDefaultInstance(); } - dataSourceConnectionSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.DataSourceConnectionSpec, - com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder, - com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder>( + dataSourceConnectionSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec, com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder, com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder>( (com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) spec_, getParentForChildren(), isClean()); @@ -6365,20 +5569,14 @@ public Builder clearDataSourceConnectionSpec() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.RoutineSpec, - com.google.cloud.datacatalog.v1.RoutineSpec.Builder, - com.google.cloud.datacatalog.v1.RoutineSpecOrBuilder> - routineSpecBuilder_; + com.google.cloud.datacatalog.v1.RoutineSpec, com.google.cloud.datacatalog.v1.RoutineSpec.Builder, com.google.cloud.datacatalog.v1.RoutineSpecOrBuilder> routineSpecBuilder_; /** - * - * *
      * Specification that applies to a user-defined function or procedure. Valid
      * only for entries with the `ROUTINE` type.
      * 
* * .google.cloud.datacatalog.v1.RoutineSpec routine_spec = 28; - * * @return Whether the routineSpec field is set. */ @java.lang.Override @@ -6386,15 +5584,12 @@ public boolean hasRoutineSpec() { return specCase_ == 28; } /** - * - * *
      * Specification that applies to a user-defined function or procedure. Valid
      * only for entries with the `ROUTINE` type.
      * 
* * .google.cloud.datacatalog.v1.RoutineSpec routine_spec = 28; - * * @return The routineSpec. */ @java.lang.Override @@ -6412,8 +5607,6 @@ public com.google.cloud.datacatalog.v1.RoutineSpec getRoutineSpec() { } } /** - * - * *
      * Specification that applies to a user-defined function or procedure. Valid
      * only for entries with the `ROUTINE` type.
@@ -6435,8 +5628,6 @@ public Builder setRoutineSpec(com.google.cloud.datacatalog.v1.RoutineSpec value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a user-defined function or procedure. Valid
      * only for entries with the `ROUTINE` type.
@@ -6456,8 +5647,6 @@ public Builder setRoutineSpec(
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a user-defined function or procedure. Valid
      * only for entries with the `ROUTINE` type.
@@ -6467,13 +5656,10 @@ public Builder setRoutineSpec(
      */
     public Builder mergeRoutineSpec(com.google.cloud.datacatalog.v1.RoutineSpec value) {
       if (routineSpecBuilder_ == null) {
-        if (specCase_ == 28
-            && spec_ != com.google.cloud.datacatalog.v1.RoutineSpec.getDefaultInstance()) {
-          spec_ =
-              com.google.cloud.datacatalog.v1.RoutineSpec.newBuilder(
-                      (com.google.cloud.datacatalog.v1.RoutineSpec) spec_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (specCase_ == 28 &&
+            spec_ != com.google.cloud.datacatalog.v1.RoutineSpec.getDefaultInstance()) {
+          spec_ = com.google.cloud.datacatalog.v1.RoutineSpec.newBuilder((com.google.cloud.datacatalog.v1.RoutineSpec) spec_)
+              .mergeFrom(value).buildPartial();
         } else {
           spec_ = value;
         }
@@ -6489,8 +5675,6 @@ public Builder mergeRoutineSpec(com.google.cloud.datacatalog.v1.RoutineSpec valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a user-defined function or procedure. Valid
      * only for entries with the `ROUTINE` type.
@@ -6515,8 +5699,6 @@ public Builder clearRoutineSpec() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a user-defined function or procedure. Valid
      * only for entries with the `ROUTINE` type.
@@ -6528,8 +5710,6 @@ public com.google.cloud.datacatalog.v1.RoutineSpec.Builder getRoutineSpecBuilder
       return getRoutineSpecFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a user-defined function or procedure. Valid
      * only for entries with the `ROUTINE` type.
@@ -6549,8 +5729,6 @@ public com.google.cloud.datacatalog.v1.RoutineSpecOrBuilder getRoutineSpecOrBuil
       }
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a user-defined function or procedure. Valid
      * only for entries with the `ROUTINE` type.
@@ -6559,19 +5737,14 @@ public com.google.cloud.datacatalog.v1.RoutineSpecOrBuilder getRoutineSpecOrBuil
      * .google.cloud.datacatalog.v1.RoutineSpec routine_spec = 28;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.RoutineSpec,
-            com.google.cloud.datacatalog.v1.RoutineSpec.Builder,
-            com.google.cloud.datacatalog.v1.RoutineSpecOrBuilder>
+        com.google.cloud.datacatalog.v1.RoutineSpec, com.google.cloud.datacatalog.v1.RoutineSpec.Builder, com.google.cloud.datacatalog.v1.RoutineSpecOrBuilder> 
         getRoutineSpecFieldBuilder() {
       if (routineSpecBuilder_ == null) {
         if (!(specCase_ == 28)) {
           spec_ = com.google.cloud.datacatalog.v1.RoutineSpec.getDefaultInstance();
         }
-        routineSpecBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.datacatalog.v1.RoutineSpec,
-                com.google.cloud.datacatalog.v1.RoutineSpec.Builder,
-                com.google.cloud.datacatalog.v1.RoutineSpecOrBuilder>(
+        routineSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.datacatalog.v1.RoutineSpec, com.google.cloud.datacatalog.v1.RoutineSpec.Builder, com.google.cloud.datacatalog.v1.RoutineSpecOrBuilder>(
                 (com.google.cloud.datacatalog.v1.RoutineSpec) spec_,
                 getParentForChildren(),
                 isClean());
@@ -6583,36 +5756,27 @@ public com.google.cloud.datacatalog.v1.RoutineSpecOrBuilder getRoutineSpecOrBuil
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.FilesetSpec,
-            com.google.cloud.datacatalog.v1.FilesetSpec.Builder,
-            com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder>
-        filesetSpecBuilder_;
+        com.google.cloud.datacatalog.v1.FilesetSpec, com.google.cloud.datacatalog.v1.FilesetSpec.Builder, com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder> filesetSpecBuilder_;
     /**
-     *
-     *
      * 
      * Specification that applies to a fileset resource. Valid only
      * for entries with the `FILESET` type.
      * 
* * .google.cloud.datacatalog.v1.FilesetSpec fileset_spec = 33; - * * @return Whether the filesetSpec field is set. */ @java.lang.Override public boolean hasFilesetSpec() { return specCase_ == 33; } - /** - * - * + /** *
      * Specification that applies to a fileset resource. Valid only
      * for entries with the `FILESET` type.
      * 
* * .google.cloud.datacatalog.v1.FilesetSpec fileset_spec = 33; - * * @return The filesetSpec. */ @java.lang.Override @@ -6630,8 +5794,6 @@ public com.google.cloud.datacatalog.v1.FilesetSpec getFilesetSpec() { } } /** - * - * *
      * Specification that applies to a fileset resource. Valid only
      * for entries with the `FILESET` type.
@@ -6653,8 +5815,6 @@ public Builder setFilesetSpec(com.google.cloud.datacatalog.v1.FilesetSpec value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a fileset resource. Valid only
      * for entries with the `FILESET` type.
@@ -6674,8 +5834,6 @@ public Builder setFilesetSpec(
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a fileset resource. Valid only
      * for entries with the `FILESET` type.
@@ -6685,13 +5843,10 @@ public Builder setFilesetSpec(
      */
     public Builder mergeFilesetSpec(com.google.cloud.datacatalog.v1.FilesetSpec value) {
       if (filesetSpecBuilder_ == null) {
-        if (specCase_ == 33
-            && spec_ != com.google.cloud.datacatalog.v1.FilesetSpec.getDefaultInstance()) {
-          spec_ =
-              com.google.cloud.datacatalog.v1.FilesetSpec.newBuilder(
-                      (com.google.cloud.datacatalog.v1.FilesetSpec) spec_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (specCase_ == 33 &&
+            spec_ != com.google.cloud.datacatalog.v1.FilesetSpec.getDefaultInstance()) {
+          spec_ = com.google.cloud.datacatalog.v1.FilesetSpec.newBuilder((com.google.cloud.datacatalog.v1.FilesetSpec) spec_)
+              .mergeFrom(value).buildPartial();
         } else {
           spec_ = value;
         }
@@ -6707,8 +5862,6 @@ public Builder mergeFilesetSpec(com.google.cloud.datacatalog.v1.FilesetSpec valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a fileset resource. Valid only
      * for entries with the `FILESET` type.
@@ -6733,8 +5886,6 @@ public Builder clearFilesetSpec() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a fileset resource. Valid only
      * for entries with the `FILESET` type.
@@ -6746,8 +5897,6 @@ public com.google.cloud.datacatalog.v1.FilesetSpec.Builder getFilesetSpecBuilder
       return getFilesetSpecFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a fileset resource. Valid only
      * for entries with the `FILESET` type.
@@ -6767,8 +5916,6 @@ public com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder getFilesetSpecOrBuil
       }
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a fileset resource. Valid only
      * for entries with the `FILESET` type.
@@ -6777,19 +5924,14 @@ public com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder getFilesetSpecOrBuil
      * .google.cloud.datacatalog.v1.FilesetSpec fileset_spec = 33;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.FilesetSpec,
-            com.google.cloud.datacatalog.v1.FilesetSpec.Builder,
-            com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder>
+        com.google.cloud.datacatalog.v1.FilesetSpec, com.google.cloud.datacatalog.v1.FilesetSpec.Builder, com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder> 
         getFilesetSpecFieldBuilder() {
       if (filesetSpecBuilder_ == null) {
         if (!(specCase_ == 33)) {
           spec_ = com.google.cloud.datacatalog.v1.FilesetSpec.getDefaultInstance();
         }
-        filesetSpecBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.datacatalog.v1.FilesetSpec,
-                com.google.cloud.datacatalog.v1.FilesetSpec.Builder,
-                com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder>(
+        filesetSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.datacatalog.v1.FilesetSpec, com.google.cloud.datacatalog.v1.FilesetSpec.Builder, com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder>(
                 (com.google.cloud.datacatalog.v1.FilesetSpec) spec_,
                 getParentForChildren(),
                 isClean());
@@ -6801,19 +5943,13 @@ public com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder getFilesetSpecOrBuil
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.ServiceSpec,
-            com.google.cloud.datacatalog.v1.ServiceSpec.Builder,
-            com.google.cloud.datacatalog.v1.ServiceSpecOrBuilder>
-        serviceSpecBuilder_;
+        com.google.cloud.datacatalog.v1.ServiceSpec, com.google.cloud.datacatalog.v1.ServiceSpec.Builder, com.google.cloud.datacatalog.v1.ServiceSpecOrBuilder> serviceSpecBuilder_;
     /**
-     *
-     *
      * 
      * Specification that applies to a Service resource.
      * 
* * .google.cloud.datacatalog.v1.ServiceSpec service_spec = 42; - * * @return Whether the serviceSpec field is set. */ @java.lang.Override @@ -6821,14 +5957,11 @@ public boolean hasServiceSpec() { return specCase_ == 42; } /** - * - * *
      * Specification that applies to a Service resource.
      * 
* * .google.cloud.datacatalog.v1.ServiceSpec service_spec = 42; - * * @return The serviceSpec. */ @java.lang.Override @@ -6846,8 +5979,6 @@ public com.google.cloud.datacatalog.v1.ServiceSpec getServiceSpec() { } } /** - * - * *
      * Specification that applies to a Service resource.
      * 
@@ -6868,8 +5999,6 @@ public Builder setServiceSpec(com.google.cloud.datacatalog.v1.ServiceSpec value) return this; } /** - * - * *
      * Specification that applies to a Service resource.
      * 
@@ -6888,8 +6017,6 @@ public Builder setServiceSpec( return this; } /** - * - * *
      * Specification that applies to a Service resource.
      * 
@@ -6898,13 +6025,10 @@ public Builder setServiceSpec( */ public Builder mergeServiceSpec(com.google.cloud.datacatalog.v1.ServiceSpec value) { if (serviceSpecBuilder_ == null) { - if (specCase_ == 42 - && spec_ != com.google.cloud.datacatalog.v1.ServiceSpec.getDefaultInstance()) { - spec_ = - com.google.cloud.datacatalog.v1.ServiceSpec.newBuilder( - (com.google.cloud.datacatalog.v1.ServiceSpec) spec_) - .mergeFrom(value) - .buildPartial(); + if (specCase_ == 42 && + spec_ != com.google.cloud.datacatalog.v1.ServiceSpec.getDefaultInstance()) { + spec_ = com.google.cloud.datacatalog.v1.ServiceSpec.newBuilder((com.google.cloud.datacatalog.v1.ServiceSpec) spec_) + .mergeFrom(value).buildPartial(); } else { spec_ = value; } @@ -6920,8 +6044,6 @@ public Builder mergeServiceSpec(com.google.cloud.datacatalog.v1.ServiceSpec valu return this; } /** - * - * *
      * Specification that applies to a Service resource.
      * 
@@ -6945,8 +6067,6 @@ public Builder clearServiceSpec() { return this; } /** - * - * *
      * Specification that applies to a Service resource.
      * 
@@ -6957,8 +6077,6 @@ public com.google.cloud.datacatalog.v1.ServiceSpec.Builder getServiceSpecBuilder return getServiceSpecFieldBuilder().getBuilder(); } /** - * - * *
      * Specification that applies to a Service resource.
      * 
@@ -6977,8 +6095,6 @@ public com.google.cloud.datacatalog.v1.ServiceSpecOrBuilder getServiceSpecOrBuil } } /** - * - * *
      * Specification that applies to a Service resource.
      * 
@@ -6986,19 +6102,14 @@ public com.google.cloud.datacatalog.v1.ServiceSpecOrBuilder getServiceSpecOrBuil * .google.cloud.datacatalog.v1.ServiceSpec service_spec = 42; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.ServiceSpec, - com.google.cloud.datacatalog.v1.ServiceSpec.Builder, - com.google.cloud.datacatalog.v1.ServiceSpecOrBuilder> + com.google.cloud.datacatalog.v1.ServiceSpec, com.google.cloud.datacatalog.v1.ServiceSpec.Builder, com.google.cloud.datacatalog.v1.ServiceSpecOrBuilder> getServiceSpecFieldBuilder() { if (serviceSpecBuilder_ == null) { if (!(specCase_ == 42)) { spec_ = com.google.cloud.datacatalog.v1.ServiceSpec.getDefaultInstance(); } - serviceSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.ServiceSpec, - com.google.cloud.datacatalog.v1.ServiceSpec.Builder, - com.google.cloud.datacatalog.v1.ServiceSpecOrBuilder>( + serviceSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.ServiceSpec, com.google.cloud.datacatalog.v1.ServiceSpec.Builder, com.google.cloud.datacatalog.v1.ServiceSpecOrBuilder>( (com.google.cloud.datacatalog.v1.ServiceSpec) spec_, getParentForChildren(), isClean()); @@ -7011,8 +6122,6 @@ public com.google.cloud.datacatalog.v1.ServiceSpecOrBuilder getServiceSpecOrBuil private java.lang.Object displayName_ = ""; /** - * - * *
      * Display name of an entry.
      *
@@ -7021,13 +6130,13 @@ public com.google.cloud.datacatalog.v1.ServiceSpecOrBuilder getServiceSpecOrBuil
      * 
* * string display_name = 3; - * * @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; @@ -7036,8 +6145,6 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Display name of an entry.
      *
@@ -7046,14 +6153,15 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 3; - * * @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 { @@ -7061,8 +6169,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Display name of an entry.
      *
@@ -7071,22 +6177,18 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
      * 
* * string display_name = 3; - * * @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_ |= 0x00040000; onChanged(); return this; } /** - * - * *
      * Display name of an entry.
      *
@@ -7095,7 +6197,6 @@ public Builder setDisplayName(java.lang.String value) {
      * 
* * string display_name = 3; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -7105,8 +6206,6 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Display name of an entry.
      *
@@ -7115,14 +6214,12 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 3; - * * @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_ |= 0x00040000; @@ -7132,8 +6229,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Entry description that can consist of several sentences or paragraphs
      * that describe entry contents.
@@ -7146,13 +6241,13 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string description = 4; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -7161,8 +6256,6 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Entry description that can consist of several sentences or paragraphs
      * that describe entry contents.
@@ -7175,14 +6268,15 @@ public java.lang.String getDescription() {
      * 
* * string description = 4; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -7190,8 +6284,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Entry description that can consist of several sentences or paragraphs
      * that describe entry contents.
@@ -7204,22 +6296,18 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
      * 
* * string description = 4; - * * @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_ |= 0x00080000; onChanged(); return this; } /** - * - * *
      * Entry description that can consist of several sentences or paragraphs
      * that describe entry contents.
@@ -7232,7 +6320,6 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 4; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -7242,8 +6329,6 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Entry description that can consist of several sentences or paragraphs
      * that describe entry contents.
@@ -7256,14 +6341,12 @@ public Builder clearDescription() {
      * 
* * string description = 4; - * * @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_ |= 0x00080000; @@ -7273,47 +6356,34 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datacatalog.v1.BusinessContext businessContext_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.BusinessContext, - com.google.cloud.datacatalog.v1.BusinessContext.Builder, - com.google.cloud.datacatalog.v1.BusinessContextOrBuilder> - businessContextBuilder_; + com.google.cloud.datacatalog.v1.BusinessContext, com.google.cloud.datacatalog.v1.BusinessContext.Builder, com.google.cloud.datacatalog.v1.BusinessContextOrBuilder> businessContextBuilder_; /** - * - * *
      * Business Context of the entry. Not supported for BigQuery datasets
      * 
* * .google.cloud.datacatalog.v1.BusinessContext business_context = 37; - * * @return Whether the businessContext field is set. */ public boolean hasBusinessContext() { return ((bitField0_ & 0x00100000) != 0); } /** - * - * *
      * Business Context of the entry. Not supported for BigQuery datasets
      * 
* * .google.cloud.datacatalog.v1.BusinessContext business_context = 37; - * * @return The businessContext. */ public com.google.cloud.datacatalog.v1.BusinessContext getBusinessContext() { if (businessContextBuilder_ == null) { - return businessContext_ == null - ? com.google.cloud.datacatalog.v1.BusinessContext.getDefaultInstance() - : businessContext_; + return businessContext_ == null ? com.google.cloud.datacatalog.v1.BusinessContext.getDefaultInstance() : businessContext_; } else { return businessContextBuilder_.getMessage(); } } /** - * - * *
      * Business Context of the entry. Not supported for BigQuery datasets
      * 
@@ -7334,8 +6404,6 @@ public Builder setBusinessContext(com.google.cloud.datacatalog.v1.BusinessContex return this; } /** - * - * *
      * Business Context of the entry. Not supported for BigQuery datasets
      * 
@@ -7354,8 +6422,6 @@ public Builder setBusinessContext( return this; } /** - * - * *
      * Business Context of the entry. Not supported for BigQuery datasets
      * 
@@ -7364,10 +6430,9 @@ public Builder setBusinessContext( */ public Builder mergeBusinessContext(com.google.cloud.datacatalog.v1.BusinessContext value) { if (businessContextBuilder_ == null) { - if (((bitField0_ & 0x00100000) != 0) - && businessContext_ != null - && businessContext_ - != com.google.cloud.datacatalog.v1.BusinessContext.getDefaultInstance()) { + if (((bitField0_ & 0x00100000) != 0) && + businessContext_ != null && + businessContext_ != com.google.cloud.datacatalog.v1.BusinessContext.getDefaultInstance()) { getBusinessContextBuilder().mergeFrom(value); } else { businessContext_ = value; @@ -7380,8 +6445,6 @@ public Builder mergeBusinessContext(com.google.cloud.datacatalog.v1.BusinessCont return this; } /** - * - * *
      * Business Context of the entry. Not supported for BigQuery datasets
      * 
@@ -7399,8 +6462,6 @@ public Builder clearBusinessContext() { return this; } /** - * - * *
      * Business Context of the entry. Not supported for BigQuery datasets
      * 
@@ -7413,8 +6474,6 @@ public com.google.cloud.datacatalog.v1.BusinessContext.Builder getBusinessContex return getBusinessContextFieldBuilder().getBuilder(); } /** - * - * *
      * Business Context of the entry. Not supported for BigQuery datasets
      * 
@@ -7425,14 +6484,11 @@ public com.google.cloud.datacatalog.v1.BusinessContextOrBuilder getBusinessConte if (businessContextBuilder_ != null) { return businessContextBuilder_.getMessageOrBuilder(); } else { - return businessContext_ == null - ? com.google.cloud.datacatalog.v1.BusinessContext.getDefaultInstance() - : businessContext_; + return businessContext_ == null ? + com.google.cloud.datacatalog.v1.BusinessContext.getDefaultInstance() : businessContext_; } } /** - * - * *
      * Business Context of the entry. Not supported for BigQuery datasets
      * 
@@ -7440,17 +6496,14 @@ public com.google.cloud.datacatalog.v1.BusinessContextOrBuilder getBusinessConte * .google.cloud.datacatalog.v1.BusinessContext business_context = 37; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.BusinessContext, - com.google.cloud.datacatalog.v1.BusinessContext.Builder, - com.google.cloud.datacatalog.v1.BusinessContextOrBuilder> + com.google.cloud.datacatalog.v1.BusinessContext, com.google.cloud.datacatalog.v1.BusinessContext.Builder, com.google.cloud.datacatalog.v1.BusinessContextOrBuilder> getBusinessContextFieldBuilder() { if (businessContextBuilder_ == null) { - businessContextBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.BusinessContext, - com.google.cloud.datacatalog.v1.BusinessContext.Builder, - com.google.cloud.datacatalog.v1.BusinessContextOrBuilder>( - getBusinessContext(), getParentForChildren(), isClean()); + businessContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.BusinessContext, com.google.cloud.datacatalog.v1.BusinessContext.Builder, com.google.cloud.datacatalog.v1.BusinessContextOrBuilder>( + getBusinessContext(), + getParentForChildren(), + isClean()); businessContext_ = null; } return businessContextBuilder_; @@ -7458,47 +6511,34 @@ public com.google.cloud.datacatalog.v1.BusinessContextOrBuilder getBusinessConte private com.google.cloud.datacatalog.v1.Schema schema_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Schema, - com.google.cloud.datacatalog.v1.Schema.Builder, - com.google.cloud.datacatalog.v1.SchemaOrBuilder> - schemaBuilder_; + com.google.cloud.datacatalog.v1.Schema, com.google.cloud.datacatalog.v1.Schema.Builder, com.google.cloud.datacatalog.v1.SchemaOrBuilder> schemaBuilder_; /** - * - * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
* * .google.cloud.datacatalog.v1.Schema schema = 5; - * * @return Whether the schema field is set. */ public boolean hasSchema() { return ((bitField0_ & 0x00200000) != 0); } /** - * - * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
* * .google.cloud.datacatalog.v1.Schema schema = 5; - * * @return The schema. */ public com.google.cloud.datacatalog.v1.Schema getSchema() { if (schemaBuilder_ == null) { - return schema_ == null - ? com.google.cloud.datacatalog.v1.Schema.getDefaultInstance() - : schema_; + return schema_ == null ? com.google.cloud.datacatalog.v1.Schema.getDefaultInstance() : schema_; } else { return schemaBuilder_.getMessage(); } } /** - * - * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -7519,15 +6559,14 @@ public Builder setSchema(com.google.cloud.datacatalog.v1.Schema value) { return this; } /** - * - * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
* * .google.cloud.datacatalog.v1.Schema schema = 5; */ - public Builder setSchema(com.google.cloud.datacatalog.v1.Schema.Builder builderForValue) { + public Builder setSchema( + com.google.cloud.datacatalog.v1.Schema.Builder builderForValue) { if (schemaBuilder_ == null) { schema_ = builderForValue.build(); } else { @@ -7538,8 +6577,6 @@ public Builder setSchema(com.google.cloud.datacatalog.v1.Schema.Builder builderF return this; } /** - * - * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -7548,9 +6585,9 @@ public Builder setSchema(com.google.cloud.datacatalog.v1.Schema.Builder builderF */ public Builder mergeSchema(com.google.cloud.datacatalog.v1.Schema value) { if (schemaBuilder_ == null) { - if (((bitField0_ & 0x00200000) != 0) - && schema_ != null - && schema_ != com.google.cloud.datacatalog.v1.Schema.getDefaultInstance()) { + if (((bitField0_ & 0x00200000) != 0) && + schema_ != null && + schema_ != com.google.cloud.datacatalog.v1.Schema.getDefaultInstance()) { getSchemaBuilder().mergeFrom(value); } else { schema_ = value; @@ -7563,8 +6600,6 @@ public Builder mergeSchema(com.google.cloud.datacatalog.v1.Schema value) { return this; } /** - * - * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -7582,8 +6617,6 @@ public Builder clearSchema() { return this; } /** - * - * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -7596,8 +6629,6 @@ public com.google.cloud.datacatalog.v1.Schema.Builder getSchemaBuilder() { return getSchemaFieldBuilder().getBuilder(); } /** - * - * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -7608,14 +6639,11 @@ public com.google.cloud.datacatalog.v1.SchemaOrBuilder getSchemaOrBuilder() { if (schemaBuilder_ != null) { return schemaBuilder_.getMessageOrBuilder(); } else { - return schema_ == null - ? com.google.cloud.datacatalog.v1.Schema.getDefaultInstance() - : schema_; + return schema_ == null ? + com.google.cloud.datacatalog.v1.Schema.getDefaultInstance() : schema_; } } /** - * - * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -7623,17 +6651,14 @@ public com.google.cloud.datacatalog.v1.SchemaOrBuilder getSchemaOrBuilder() { * .google.cloud.datacatalog.v1.Schema schema = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Schema, - com.google.cloud.datacatalog.v1.Schema.Builder, - com.google.cloud.datacatalog.v1.SchemaOrBuilder> + com.google.cloud.datacatalog.v1.Schema, com.google.cloud.datacatalog.v1.Schema.Builder, com.google.cloud.datacatalog.v1.SchemaOrBuilder> getSchemaFieldBuilder() { if (schemaBuilder_ == null) { - schemaBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Schema, - com.google.cloud.datacatalog.v1.Schema.Builder, - com.google.cloud.datacatalog.v1.SchemaOrBuilder>( - getSchema(), getParentForChildren(), isClean()); + schemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.Schema, com.google.cloud.datacatalog.v1.Schema.Builder, com.google.cloud.datacatalog.v1.SchemaOrBuilder>( + getSchema(), + getParentForChildren(), + isClean()); schema_ = null; } return schemaBuilder_; @@ -7641,13 +6666,8 @@ public com.google.cloud.datacatalog.v1.SchemaOrBuilder getSchemaOrBuilder() { private com.google.cloud.datacatalog.v1.SystemTimestamps sourceSystemTimestamps_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SystemTimestamps, - com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, - com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder> - sourceSystemTimestampsBuilder_; + com.google.cloud.datacatalog.v1.SystemTimestamps, com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder> sourceSystemTimestampsBuilder_; /** - * - * *
      * Timestamps from the underlying resource, not from the Data Catalog
      * entry.
@@ -7658,15 +6678,12 @@ public com.google.cloud.datacatalog.v1.SchemaOrBuilder getSchemaOrBuilder() {
      * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; - * * @return Whether the sourceSystemTimestamps field is set. */ public boolean hasSourceSystemTimestamps() { return ((bitField0_ & 0x00400000) != 0); } /** - * - * *
      * Timestamps from the underlying resource, not from the Data Catalog
      * entry.
@@ -7677,21 +6694,16 @@ public boolean hasSourceSystemTimestamps() {
      * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; - * * @return The sourceSystemTimestamps. */ public com.google.cloud.datacatalog.v1.SystemTimestamps getSourceSystemTimestamps() { if (sourceSystemTimestampsBuilder_ == null) { - return sourceSystemTimestamps_ == null - ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() - : sourceSystemTimestamps_; + return sourceSystemTimestamps_ == null ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() : sourceSystemTimestamps_; } else { return sourceSystemTimestampsBuilder_.getMessage(); } } /** - * - * *
      * Timestamps from the underlying resource, not from the Data Catalog
      * entry.
@@ -7703,8 +6715,7 @@ public com.google.cloud.datacatalog.v1.SystemTimestamps getSourceSystemTimestamp
      *
      * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7;
      */
-    public Builder setSourceSystemTimestamps(
-        com.google.cloud.datacatalog.v1.SystemTimestamps value) {
+    public Builder setSourceSystemTimestamps(com.google.cloud.datacatalog.v1.SystemTimestamps value) {
       if (sourceSystemTimestampsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -7718,8 +6729,6 @@ public Builder setSourceSystemTimestamps(
       return this;
     }
     /**
-     *
-     *
      * 
      * Timestamps from the underlying resource, not from the Data Catalog
      * entry.
@@ -7743,8 +6752,6 @@ public Builder setSourceSystemTimestamps(
       return this;
     }
     /**
-     *
-     *
      * 
      * Timestamps from the underlying resource, not from the Data Catalog
      * entry.
@@ -7756,13 +6763,11 @@ public Builder setSourceSystemTimestamps(
      *
      * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7;
      */
-    public Builder mergeSourceSystemTimestamps(
-        com.google.cloud.datacatalog.v1.SystemTimestamps value) {
+    public Builder mergeSourceSystemTimestamps(com.google.cloud.datacatalog.v1.SystemTimestamps value) {
       if (sourceSystemTimestampsBuilder_ == null) {
-        if (((bitField0_ & 0x00400000) != 0)
-            && sourceSystemTimestamps_ != null
-            && sourceSystemTimestamps_
-                != com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance()) {
+        if (((bitField0_ & 0x00400000) != 0) &&
+          sourceSystemTimestamps_ != null &&
+          sourceSystemTimestamps_ != com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance()) {
           getSourceSystemTimestampsBuilder().mergeFrom(value);
         } else {
           sourceSystemTimestamps_ = value;
@@ -7775,8 +6780,6 @@ public Builder mergeSourceSystemTimestamps(
       return this;
     }
     /**
-     *
-     *
      * 
      * Timestamps from the underlying resource, not from the Data Catalog
      * entry.
@@ -7799,8 +6802,6 @@ public Builder clearSourceSystemTimestamps() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Timestamps from the underlying resource, not from the Data Catalog
      * entry.
@@ -7812,15 +6813,12 @@ public Builder clearSourceSystemTimestamps() {
      *
      * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7;
      */
-    public com.google.cloud.datacatalog.v1.SystemTimestamps.Builder
-        getSourceSystemTimestampsBuilder() {
+    public com.google.cloud.datacatalog.v1.SystemTimestamps.Builder getSourceSystemTimestampsBuilder() {
       bitField0_ |= 0x00400000;
       onChanged();
       return getSourceSystemTimestampsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Timestamps from the underlying resource, not from the Data Catalog
      * entry.
@@ -7832,19 +6830,15 @@ public Builder clearSourceSystemTimestamps() {
      *
      * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7;
      */
-    public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder
-        getSourceSystemTimestampsOrBuilder() {
+    public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getSourceSystemTimestampsOrBuilder() {
       if (sourceSystemTimestampsBuilder_ != null) {
         return sourceSystemTimestampsBuilder_.getMessageOrBuilder();
       } else {
-        return sourceSystemTimestamps_ == null
-            ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance()
-            : sourceSystemTimestamps_;
+        return sourceSystemTimestamps_ == null ?
+            com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() : sourceSystemTimestamps_;
       }
     }
     /**
-     *
-     *
      * 
      * Timestamps from the underlying resource, not from the Data Catalog
      * entry.
@@ -7857,17 +6851,14 @@ public Builder clearSourceSystemTimestamps() {
      * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.SystemTimestamps,
-            com.google.cloud.datacatalog.v1.SystemTimestamps.Builder,
-            com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder>
+        com.google.cloud.datacatalog.v1.SystemTimestamps, com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder> 
         getSourceSystemTimestampsFieldBuilder() {
       if (sourceSystemTimestampsBuilder_ == null) {
-        sourceSystemTimestampsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.datacatalog.v1.SystemTimestamps,
-                com.google.cloud.datacatalog.v1.SystemTimestamps.Builder,
-                com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder>(
-                getSourceSystemTimestamps(), getParentForChildren(), isClean());
+        sourceSystemTimestampsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.datacatalog.v1.SystemTimestamps, com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder>(
+                getSourceSystemTimestamps(),
+                getParentForChildren(),
+                isClean());
         sourceSystemTimestamps_ = null;
       }
       return sourceSystemTimestampsBuilder_;
@@ -7875,47 +6866,34 @@ public Builder clearSourceSystemTimestamps() {
 
     private com.google.cloud.datacatalog.v1.UsageSignal usageSignal_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.UsageSignal,
-            com.google.cloud.datacatalog.v1.UsageSignal.Builder,
-            com.google.cloud.datacatalog.v1.UsageSignalOrBuilder>
-        usageSignalBuilder_;
+        com.google.cloud.datacatalog.v1.UsageSignal, com.google.cloud.datacatalog.v1.UsageSignal.Builder, com.google.cloud.datacatalog.v1.UsageSignalOrBuilder> usageSignalBuilder_;
     /**
-     *
-     *
      * 
      * Resource usage statistics.
      * 
* * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13; - * * @return Whether the usageSignal field is set. */ public boolean hasUsageSignal() { return ((bitField0_ & 0x00800000) != 0); } /** - * - * *
      * Resource usage statistics.
      * 
* * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13; - * * @return The usageSignal. */ public com.google.cloud.datacatalog.v1.UsageSignal getUsageSignal() { if (usageSignalBuilder_ == null) { - return usageSignal_ == null - ? com.google.cloud.datacatalog.v1.UsageSignal.getDefaultInstance() - : usageSignal_; + return usageSignal_ == null ? com.google.cloud.datacatalog.v1.UsageSignal.getDefaultInstance() : usageSignal_; } else { return usageSignalBuilder_.getMessage(); } } /** - * - * *
      * Resource usage statistics.
      * 
@@ -7936,8 +6914,6 @@ public Builder setUsageSignal(com.google.cloud.datacatalog.v1.UsageSignal value) return this; } /** - * - * *
      * Resource usage statistics.
      * 
@@ -7956,8 +6932,6 @@ public Builder setUsageSignal( return this; } /** - * - * *
      * Resource usage statistics.
      * 
@@ -7966,9 +6940,9 @@ public Builder setUsageSignal( */ public Builder mergeUsageSignal(com.google.cloud.datacatalog.v1.UsageSignal value) { if (usageSignalBuilder_ == null) { - if (((bitField0_ & 0x00800000) != 0) - && usageSignal_ != null - && usageSignal_ != com.google.cloud.datacatalog.v1.UsageSignal.getDefaultInstance()) { + if (((bitField0_ & 0x00800000) != 0) && + usageSignal_ != null && + usageSignal_ != com.google.cloud.datacatalog.v1.UsageSignal.getDefaultInstance()) { getUsageSignalBuilder().mergeFrom(value); } else { usageSignal_ = value; @@ -7981,8 +6955,6 @@ public Builder mergeUsageSignal(com.google.cloud.datacatalog.v1.UsageSignal valu return this; } /** - * - * *
      * Resource usage statistics.
      * 
@@ -8000,8 +6972,6 @@ public Builder clearUsageSignal() { return this; } /** - * - * *
      * Resource usage statistics.
      * 
@@ -8014,8 +6984,6 @@ public com.google.cloud.datacatalog.v1.UsageSignal.Builder getUsageSignalBuilder return getUsageSignalFieldBuilder().getBuilder(); } /** - * - * *
      * Resource usage statistics.
      * 
@@ -8026,14 +6994,11 @@ public com.google.cloud.datacatalog.v1.UsageSignalOrBuilder getUsageSignalOrBuil if (usageSignalBuilder_ != null) { return usageSignalBuilder_.getMessageOrBuilder(); } else { - return usageSignal_ == null - ? com.google.cloud.datacatalog.v1.UsageSignal.getDefaultInstance() - : usageSignal_; + return usageSignal_ == null ? + com.google.cloud.datacatalog.v1.UsageSignal.getDefaultInstance() : usageSignal_; } } /** - * - * *
      * Resource usage statistics.
      * 
@@ -8041,35 +7006,34 @@ public com.google.cloud.datacatalog.v1.UsageSignalOrBuilder getUsageSignalOrBuil * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.UsageSignal, - com.google.cloud.datacatalog.v1.UsageSignal.Builder, - com.google.cloud.datacatalog.v1.UsageSignalOrBuilder> + com.google.cloud.datacatalog.v1.UsageSignal, com.google.cloud.datacatalog.v1.UsageSignal.Builder, com.google.cloud.datacatalog.v1.UsageSignalOrBuilder> getUsageSignalFieldBuilder() { if (usageSignalBuilder_ == null) { - usageSignalBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.UsageSignal, - com.google.cloud.datacatalog.v1.UsageSignal.Builder, - com.google.cloud.datacatalog.v1.UsageSignalOrBuilder>( - getUsageSignal(), getParentForChildren(), isClean()); + usageSignalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.UsageSignal, com.google.cloud.datacatalog.v1.UsageSignal.Builder, com.google.cloud.datacatalog.v1.UsageSignalOrBuilder>( + getUsageSignal(), + getParentForChildren(), + isClean()); usageSignal_ = null; } return usageSignalBuilder_; } - 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(); @@ -8078,13 +7042,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Cloud labels attached to the entry.
      *
@@ -8096,21 +7057,20 @@ public int getLabelsCount() {
      * map<string, string> labels = 14;
      */
     @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();
     }
     /**
-     *
-     *
      * 
      * Cloud labels attached to the entry.
      *
@@ -8126,8 +7086,6 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Cloud labels attached to the entry.
      *
@@ -8139,19 +7097,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 14;
      */
     @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;
     }
     /**
-     *
-     *
      * 
      * Cloud labels attached to the entry.
      *
@@ -8163,25 +7119,23 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 14;
      */
     @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_ & ~0x01000000);
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Cloud labels attached to the entry.
      *
@@ -8192,22 +7146,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 14;
      */
-    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_ |= 0x01000000;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Cloud labels attached to the entry.
      *
@@ -8218,20 +7173,17 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 14;
      */
-    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_ |= 0x01000000;
       return this;
     }
     /**
-     *
-     *
      * 
      * Cloud labels attached to the entry.
      *
@@ -8242,66 +7194,49 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 14;
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x01000000;
       return this;
     }
 
     private com.google.cloud.datacatalog.v1.DataSource dataSource_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.DataSource,
-            com.google.cloud.datacatalog.v1.DataSource.Builder,
-            com.google.cloud.datacatalog.v1.DataSourceOrBuilder>
-        dataSourceBuilder_;
+        com.google.cloud.datacatalog.v1.DataSource, com.google.cloud.datacatalog.v1.DataSource.Builder, com.google.cloud.datacatalog.v1.DataSourceOrBuilder> dataSourceBuilder_;
     /**
-     *
-     *
      * 
      * Output only. Physical location of the entry.
      * 
* - * - * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataSource field is set. */ public boolean hasDataSource() { return ((bitField0_ & 0x02000000) != 0); } /** - * - * *
      * Output only. Physical location of the entry.
      * 
* - * - * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dataSource. */ public com.google.cloud.datacatalog.v1.DataSource getDataSource() { if (dataSourceBuilder_ == null) { - return dataSource_ == null - ? com.google.cloud.datacatalog.v1.DataSource.getDefaultInstance() - : dataSource_; + return dataSource_ == null ? com.google.cloud.datacatalog.v1.DataSource.getDefaultInstance() : dataSource_; } else { return dataSourceBuilder_.getMessage(); } } /** - * - * *
      * Output only. Physical location of the entry.
      * 
* - * - * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDataSource(com.google.cloud.datacatalog.v1.DataSource value) { if (dataSourceBuilder_ == null) { @@ -8317,15 +7252,11 @@ public Builder setDataSource(com.google.cloud.datacatalog.v1.DataSource value) { return this; } /** - * - * *
      * Output only. Physical location of the entry.
      * 
* - * - * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDataSource( com.google.cloud.datacatalog.v1.DataSource.Builder builderForValue) { @@ -8339,21 +7270,17 @@ public Builder setDataSource( return this; } /** - * - * *
      * Output only. Physical location of the entry.
      * 
* - * - * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDataSource(com.google.cloud.datacatalog.v1.DataSource value) { if (dataSourceBuilder_ == null) { - if (((bitField0_ & 0x02000000) != 0) - && dataSource_ != null - && dataSource_ != com.google.cloud.datacatalog.v1.DataSource.getDefaultInstance()) { + if (((bitField0_ & 0x02000000) != 0) && + dataSource_ != null && + dataSource_ != com.google.cloud.datacatalog.v1.DataSource.getDefaultInstance()) { getDataSourceBuilder().mergeFrom(value); } else { dataSource_ = value; @@ -8366,15 +7293,11 @@ public Builder mergeDataSource(com.google.cloud.datacatalog.v1.DataSource value) return this; } /** - * - * *
      * Output only. Physical location of the entry.
      * 
* - * - * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDataSource() { bitField0_ = (bitField0_ & ~0x02000000); @@ -8387,15 +7310,11 @@ public Builder clearDataSource() { return this; } /** - * - * *
      * Output only. Physical location of the entry.
      * 
* - * - * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datacatalog.v1.DataSource.Builder getDataSourceBuilder() { bitField0_ |= 0x02000000; @@ -8403,48 +7322,36 @@ public com.google.cloud.datacatalog.v1.DataSource.Builder getDataSourceBuilder() return getDataSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Physical location of the entry.
      * 
* - * - * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datacatalog.v1.DataSourceOrBuilder getDataSourceOrBuilder() { if (dataSourceBuilder_ != null) { return dataSourceBuilder_.getMessageOrBuilder(); } else { - return dataSource_ == null - ? com.google.cloud.datacatalog.v1.DataSource.getDefaultInstance() - : dataSource_; + return dataSource_ == null ? + com.google.cloud.datacatalog.v1.DataSource.getDefaultInstance() : dataSource_; } } /** - * - * *
      * Output only. Physical location of the entry.
      * 
* - * - * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.DataSource, - com.google.cloud.datacatalog.v1.DataSource.Builder, - com.google.cloud.datacatalog.v1.DataSourceOrBuilder> + com.google.cloud.datacatalog.v1.DataSource, com.google.cloud.datacatalog.v1.DataSource.Builder, com.google.cloud.datacatalog.v1.DataSourceOrBuilder> getDataSourceFieldBuilder() { if (dataSourceBuilder_ == null) { - dataSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.DataSource, - com.google.cloud.datacatalog.v1.DataSource.Builder, - com.google.cloud.datacatalog.v1.DataSourceOrBuilder>( - getDataSource(), getParentForChildren(), isClean()); + dataSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.DataSource, com.google.cloud.datacatalog.v1.DataSource.Builder, com.google.cloud.datacatalog.v1.DataSourceOrBuilder>( + getDataSource(), + getParentForChildren(), + isClean()); dataSource_ = null; } return dataSourceBuilder_; @@ -8452,61 +7359,42 @@ public com.google.cloud.datacatalog.v1.DataSourceOrBuilder getDataSourceOrBuilde private com.google.cloud.datacatalog.v1.PersonalDetails personalDetails_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PersonalDetails, - com.google.cloud.datacatalog.v1.PersonalDetails.Builder, - com.google.cloud.datacatalog.v1.PersonalDetailsOrBuilder> - personalDetailsBuilder_; + com.google.cloud.datacatalog.v1.PersonalDetails, com.google.cloud.datacatalog.v1.PersonalDetails.Builder, com.google.cloud.datacatalog.v1.PersonalDetailsOrBuilder> personalDetailsBuilder_; /** - * - * *
      * Output only. Additional information related to the entry. Private to the
      * current user.
      * 
* - * - * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the personalDetails field is set. */ public boolean hasPersonalDetails() { return ((bitField0_ & 0x04000000) != 0); } /** - * - * *
      * Output only. Additional information related to the entry. Private to the
      * current user.
      * 
* - * - * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The personalDetails. */ public com.google.cloud.datacatalog.v1.PersonalDetails getPersonalDetails() { if (personalDetailsBuilder_ == null) { - return personalDetails_ == null - ? com.google.cloud.datacatalog.v1.PersonalDetails.getDefaultInstance() - : personalDetails_; + return personalDetails_ == null ? com.google.cloud.datacatalog.v1.PersonalDetails.getDefaultInstance() : personalDetails_; } else { return personalDetailsBuilder_.getMessage(); } } /** - * - * *
      * Output only. Additional information related to the entry. Private to the
      * current user.
      * 
* - * - * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setPersonalDetails(com.google.cloud.datacatalog.v1.PersonalDetails value) { if (personalDetailsBuilder_ == null) { @@ -8522,16 +7410,12 @@ public Builder setPersonalDetails(com.google.cloud.datacatalog.v1.PersonalDetail return this; } /** - * - * *
      * Output only. Additional information related to the entry. Private to the
      * current user.
      * 
* - * - * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setPersonalDetails( com.google.cloud.datacatalog.v1.PersonalDetails.Builder builderForValue) { @@ -8545,23 +7429,18 @@ public Builder setPersonalDetails( return this; } /** - * - * *
      * Output only. Additional information related to the entry. Private to the
      * current user.
      * 
* - * - * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergePersonalDetails(com.google.cloud.datacatalog.v1.PersonalDetails value) { if (personalDetailsBuilder_ == null) { - if (((bitField0_ & 0x04000000) != 0) - && personalDetails_ != null - && personalDetails_ - != com.google.cloud.datacatalog.v1.PersonalDetails.getDefaultInstance()) { + if (((bitField0_ & 0x04000000) != 0) && + personalDetails_ != null && + personalDetails_ != com.google.cloud.datacatalog.v1.PersonalDetails.getDefaultInstance()) { getPersonalDetailsBuilder().mergeFrom(value); } else { personalDetails_ = value; @@ -8574,16 +7453,12 @@ public Builder mergePersonalDetails(com.google.cloud.datacatalog.v1.PersonalDeta return this; } /** - * - * *
      * Output only. Additional information related to the entry. Private to the
      * current user.
      * 
* - * - * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearPersonalDetails() { bitField0_ = (bitField0_ & ~0x04000000); @@ -8596,16 +7471,12 @@ public Builder clearPersonalDetails() { return this; } /** - * - * *
      * Output only. Additional information related to the entry. Private to the
      * current user.
      * 
* - * - * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datacatalog.v1.PersonalDetails.Builder getPersonalDetailsBuilder() { bitField0_ |= 0x04000000; @@ -8613,57 +7484,45 @@ public com.google.cloud.datacatalog.v1.PersonalDetails.Builder getPersonalDetail return getPersonalDetailsFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Additional information related to the entry. Private to the
      * current user.
      * 
* - * - * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datacatalog.v1.PersonalDetailsOrBuilder getPersonalDetailsOrBuilder() { if (personalDetailsBuilder_ != null) { return personalDetailsBuilder_.getMessageOrBuilder(); } else { - return personalDetails_ == null - ? com.google.cloud.datacatalog.v1.PersonalDetails.getDefaultInstance() - : personalDetails_; + return personalDetails_ == null ? + com.google.cloud.datacatalog.v1.PersonalDetails.getDefaultInstance() : personalDetails_; } } /** - * - * *
      * Output only. Additional information related to the entry. Private to the
      * current user.
      * 
* - * - * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PersonalDetails, - com.google.cloud.datacatalog.v1.PersonalDetails.Builder, - com.google.cloud.datacatalog.v1.PersonalDetailsOrBuilder> + com.google.cloud.datacatalog.v1.PersonalDetails, com.google.cloud.datacatalog.v1.PersonalDetails.Builder, com.google.cloud.datacatalog.v1.PersonalDetailsOrBuilder> getPersonalDetailsFieldBuilder() { if (personalDetailsBuilder_ == null) { - personalDetailsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PersonalDetails, - com.google.cloud.datacatalog.v1.PersonalDetails.Builder, - com.google.cloud.datacatalog.v1.PersonalDetailsOrBuilder>( - getPersonalDetails(), getParentForChildren(), isClean()); + personalDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.PersonalDetails, com.google.cloud.datacatalog.v1.PersonalDetails.Builder, com.google.cloud.datacatalog.v1.PersonalDetailsOrBuilder>( + getPersonalDetails(), + getParentForChildren(), + isClean()); personalDetails_ = null; } return personalDetailsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -8673,12 +7532,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.Entry) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.Entry) private static final com.google.cloud.datacatalog.v1.Entry DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.Entry(); } @@ -8687,27 +7546,27 @@ public static com.google.cloud.datacatalog.v1.Entry getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Entry parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Entry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8722,4 +7581,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.Entry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroup.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroup.java similarity index 66% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroup.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroup.java index 19f06c1e3c60..51435e1079dc 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroup.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroup.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Entry group metadata.
  *
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.EntryGroup}
  */
-public final class EntryGroup extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class EntryGroup extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.EntryGroup)
     EntryGroupOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use EntryGroup.newBuilder() to construct.
   private EntryGroup(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private EntryGroup() {
     name_ = "";
     displayName_ = "";
@@ -48,32 +30,28 @@ private EntryGroup() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new EntryGroup();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_EntryGroup_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_EntryGroup_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_EntryGroup_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_EntryGroup_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.EntryGroup.class,
-            com.google.cloud.datacatalog.v1.EntryGroup.Builder.class);
+            com.google.cloud.datacatalog.v1.EntryGroup.class, com.google.cloud.datacatalog.v1.EntryGroup.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The resource name of the entry group in URL format.
    *
@@ -82,7 +60,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -91,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; } } /** - * - * *
    * The resource name of the entry group in URL format.
    *
@@ -108,15 +84,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 { @@ -125,19 +102,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * A short name to identify the entry group, for example,
    * "analytics data - jan 2011". Default value is an empty string.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -146,30 +119,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * A short name to identify the entry group, for example,
    * "analytics data - jan 2011". Default value is an empty string.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -178,12 +151,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Entry group description. Can consist of several sentences or
    * paragraphs that describe the entry group contents.
@@ -191,7 +161,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -200,15 +169,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; } } /** - * - * *
    * Entry group description. Can consist of several sentences or
    * paragraphs that describe the entry group contents.
@@ -216,15 +184,16 @@ public java.lang.String getDescription() {
    * 
* * string description = 3; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -235,16 +204,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int DATA_CATALOG_TIMESTAMPS_FIELD_NUMBER = 4; private com.google.cloud.datacatalog.v1.SystemTimestamps dataCatalogTimestamps_; /** - * - * *
    * Output only. Timestamps of the entry group. Default value is empty.
    * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataCatalogTimestamps field is set. */ @java.lang.Override @@ -252,45 +216,30 @@ public boolean hasDataCatalogTimestamps() { return dataCatalogTimestamps_ != null; } /** - * - * *
    * Output only. Timestamps of the entry group. Default value is empty.
    * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dataCatalogTimestamps. */ @java.lang.Override public com.google.cloud.datacatalog.v1.SystemTimestamps getDataCatalogTimestamps() { - return dataCatalogTimestamps_ == null - ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() - : dataCatalogTimestamps_; + return dataCatalogTimestamps_ == null ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() : dataCatalogTimestamps_; } /** - * - * *
    * Output only. Timestamps of the entry group. Default value is empty.
    * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder - getDataCatalogTimestampsOrBuilder() { - return dataCatalogTimestamps_ == null - ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() - : dataCatalogTimestamps_; + public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getDataCatalogTimestampsOrBuilder() { + return dataCatalogTimestamps_ == null ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() : dataCatalogTimestamps_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -302,7 +251,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -334,8 +284,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } if (dataCatalogTimestamps_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(4, getDataCatalogTimestamps()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getDataCatalogTimestamps()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -345,20 +295,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.datacatalog.v1.EntryGroup)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.EntryGroup other = - (com.google.cloud.datacatalog.v1.EntryGroup) obj; + com.google.cloud.datacatalog.v1.EntryGroup other = (com.google.cloud.datacatalog.v1.EntryGroup) 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 (hasDataCatalogTimestamps() != other.hasDataCatalogTimestamps()) return false; if (hasDataCatalogTimestamps()) { - if (!getDataCatalogTimestamps().equals(other.getDataCatalogTimestamps())) return false; + if (!getDataCatalogTimestamps() + .equals(other.getDataCatalogTimestamps())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -386,104 +339,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.EntryGroup parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.EntryGroup parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.EntryGroup parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.EntryGroup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.EntryGroup parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.EntryGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.EntryGroup parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.EntryGroup parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.EntryGroup parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.EntryGroup parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.EntryGroup parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.EntryGroup parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.EntryGroup parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.EntryGroup parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.EntryGroup prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Entry group metadata.
    *
@@ -493,32 +441,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.EntryGroup}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.EntryGroup)
       com.google.cloud.datacatalog.v1.EntryGroupOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_EntryGroup_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_EntryGroup_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_EntryGroup_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_EntryGroup_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.EntryGroup.class,
-              com.google.cloud.datacatalog.v1.EntryGroup.Builder.class);
+              com.google.cloud.datacatalog.v1.EntryGroup.class, com.google.cloud.datacatalog.v1.EntryGroup.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.EntryGroup.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -535,9 +484,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_EntryGroup_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_EntryGroup_descriptor;
     }
 
     @java.lang.Override
@@ -556,11 +505,8 @@ public com.google.cloud.datacatalog.v1.EntryGroup build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.EntryGroup buildPartial() {
-      com.google.cloud.datacatalog.v1.EntryGroup result =
-          new com.google.cloud.datacatalog.v1.EntryGroup(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.EntryGroup result = new com.google.cloud.datacatalog.v1.EntryGroup(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -577,10 +523,9 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.EntryGroup result) {
         result.description_ = description_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.dataCatalogTimestamps_ =
-            dataCatalogTimestampsBuilder_ == null
-                ? dataCatalogTimestamps_
-                : dataCatalogTimestampsBuilder_.build();
+        result.dataCatalogTimestamps_ = dataCatalogTimestampsBuilder_ == null
+            ? dataCatalogTimestamps_
+            : dataCatalogTimestampsBuilder_.build();
       }
     }
 
@@ -588,39 +533,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.EntryGroup result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.EntryGroup) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.EntryGroup) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.EntryGroup)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -673,38 +617,34 @@ 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 34:
-              {
-                input.readMessage(
-                    getDataCatalogTimestampsFieldBuilder().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: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              description_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getDataCatalogTimestampsFieldBuilder().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) {
@@ -714,13 +654,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The resource name of the entry group in URL format.
      *
@@ -729,13 +666,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; @@ -744,8 +681,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the entry group in URL format.
      *
@@ -754,14 +689,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 { @@ -769,8 +705,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The resource name of the entry group in URL format.
      *
@@ -779,22 +713,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The resource name of the entry group in URL format.
      *
@@ -803,7 +733,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -813,8 +742,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The resource name of the entry group in URL format.
      *
@@ -823,14 +750,12 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -840,21 +765,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * A short name to identify the entry group, for example,
      * "analytics data - jan 2011". Default value is an empty string.
      * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -863,22 +786,21 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * A short name to identify the entry group, for example,
      * "analytics data - jan 2011". Default value is an empty string.
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -886,37 +808,30 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * A short name to identify the entry group, for example,
      * "analytics data - jan 2011". Default value is an empty string.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A short name to identify the entry group, for example,
      * "analytics data - jan 2011". Default value is an empty string.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -926,22 +841,18 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * A short name to identify the entry group, for example,
      * "analytics data - jan 2011". Default value is an empty string.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -951,8 +862,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Entry group description. Can consist of several sentences or
      * paragraphs that describe the entry group contents.
@@ -960,13 +869,13 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string description = 3; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -975,8 +884,6 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Entry group description. Can consist of several sentences or
      * paragraphs that describe the entry group contents.
@@ -984,14 +891,15 @@ public java.lang.String getDescription() {
      * 
* * string description = 3; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -999,8 +907,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Entry group description. Can consist of several sentences or
      * paragraphs that describe the entry group contents.
@@ -1008,22 +914,18 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Entry group description. Can consist of several sentences or
      * paragraphs that describe the entry group contents.
@@ -1031,7 +933,6 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1041,8 +942,6 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Entry group description. Can consist of several sentences or
      * paragraphs that describe the entry group contents.
@@ -1050,14 +949,12 @@ public Builder clearDescription() {
      * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -1067,61 +964,41 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datacatalog.v1.SystemTimestamps dataCatalogTimestamps_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SystemTimestamps, - com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, - com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder> - dataCatalogTimestampsBuilder_; + com.google.cloud.datacatalog.v1.SystemTimestamps, com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder> dataCatalogTimestampsBuilder_; /** - * - * *
      * Output only. Timestamps of the entry group. Default value is empty.
      * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataCatalogTimestamps field is set. */ public boolean hasDataCatalogTimestamps() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. Timestamps of the entry group. Default value is empty.
      * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dataCatalogTimestamps. */ public com.google.cloud.datacatalog.v1.SystemTimestamps getDataCatalogTimestamps() { if (dataCatalogTimestampsBuilder_ == null) { - return dataCatalogTimestamps_ == null - ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() - : dataCatalogTimestamps_; + return dataCatalogTimestamps_ == null ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() : dataCatalogTimestamps_; } else { return dataCatalogTimestampsBuilder_.getMessage(); } } /** - * - * *
      * Output only. Timestamps of the entry group. Default value is empty.
      * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setDataCatalogTimestamps( - com.google.cloud.datacatalog.v1.SystemTimestamps value) { + public Builder setDataCatalogTimestamps(com.google.cloud.datacatalog.v1.SystemTimestamps value) { if (dataCatalogTimestampsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1135,15 +1012,11 @@ public Builder setDataCatalogTimestamps( return this; } /** - * - * *
      * Output only. Timestamps of the entry group. Default value is empty.
      * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDataCatalogTimestamps( com.google.cloud.datacatalog.v1.SystemTimestamps.Builder builderForValue) { @@ -1157,23 +1030,17 @@ public Builder setDataCatalogTimestamps( return this; } /** - * - * *
      * Output only. Timestamps of the entry group. Default value is empty.
      * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeDataCatalogTimestamps( - com.google.cloud.datacatalog.v1.SystemTimestamps value) { + public Builder mergeDataCatalogTimestamps(com.google.cloud.datacatalog.v1.SystemTimestamps value) { if (dataCatalogTimestampsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && dataCatalogTimestamps_ != null - && dataCatalogTimestamps_ - != com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + dataCatalogTimestamps_ != null && + dataCatalogTimestamps_ != com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance()) { getDataCatalogTimestampsBuilder().mergeFrom(value); } else { dataCatalogTimestamps_ = value; @@ -1186,15 +1053,11 @@ public Builder mergeDataCatalogTimestamps( return this; } /** - * - * *
      * Output only. Timestamps of the entry group. Default value is empty.
      * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDataCatalogTimestamps() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1207,73 +1070,55 @@ public Builder clearDataCatalogTimestamps() { return this; } /** - * - * *
      * Output only. Timestamps of the entry group. Default value is empty.
      * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.datacatalog.v1.SystemTimestamps.Builder - getDataCatalogTimestampsBuilder() { + public com.google.cloud.datacatalog.v1.SystemTimestamps.Builder getDataCatalogTimestampsBuilder() { bitField0_ |= 0x00000008; onChanged(); return getDataCatalogTimestampsFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Timestamps of the entry group. Default value is empty.
      * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder - getDataCatalogTimestampsOrBuilder() { + public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getDataCatalogTimestampsOrBuilder() { if (dataCatalogTimestampsBuilder_ != null) { return dataCatalogTimestampsBuilder_.getMessageOrBuilder(); } else { - return dataCatalogTimestamps_ == null - ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() - : dataCatalogTimestamps_; + return dataCatalogTimestamps_ == null ? + com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() : dataCatalogTimestamps_; } } /** - * - * *
      * Output only. Timestamps of the entry group. Default value is empty.
      * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SystemTimestamps, - com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, - com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder> + com.google.cloud.datacatalog.v1.SystemTimestamps, com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder> getDataCatalogTimestampsFieldBuilder() { if (dataCatalogTimestampsBuilder_ == null) { - dataCatalogTimestampsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SystemTimestamps, - com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, - com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder>( - getDataCatalogTimestamps(), getParentForChildren(), isClean()); + dataCatalogTimestampsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.SystemTimestamps, com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder>( + getDataCatalogTimestamps(), + getParentForChildren(), + isClean()); dataCatalogTimestamps_ = null; } return dataCatalogTimestampsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1283,12 +1128,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.EntryGroup) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.EntryGroup) private static final com.google.cloud.datacatalog.v1.EntryGroup DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.EntryGroup(); } @@ -1297,27 +1142,27 @@ public static com.google.cloud.datacatalog.v1.EntryGroup getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EntryGroup parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EntryGroup parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1332,4 +1177,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.EntryGroup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupName.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupName.java similarity index 100% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupName.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupName.java diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupOrBuilder.java similarity index 65% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupOrBuilder.java index 32a08960388b..8316977fdd30 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface EntryGroupOrBuilder - extends +public interface EntryGroupOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.EntryGroup) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resource name of the entry group in URL format.
    *
@@ -34,13 +16,10 @@ public interface EntryGroupOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The resource name of the entry group in URL format.
    *
@@ -49,41 +28,34 @@ public interface EntryGroupOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * A short name to identify the entry group, for example,
    * "analytics data - jan 2011". Default value is an empty string.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * A short name to identify the entry group, for example,
    * "analytics data - jan 2011". Default value is an empty string.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Entry group description. Can consist of several sentences or
    * paragraphs that describe the entry group contents.
@@ -91,13 +63,10 @@ public interface EntryGroupOrBuilder
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Entry group description. Can consist of several sentences or
    * paragraphs that describe the entry group contents.
@@ -105,49 +74,35 @@ public interface EntryGroupOrBuilder
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Output only. Timestamps of the entry group. Default value is empty.
    * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataCatalogTimestamps field is set. */ boolean hasDataCatalogTimestamps(); /** - * - * *
    * Output only. Timestamps of the entry group. Default value is empty.
    * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dataCatalogTimestamps. */ com.google.cloud.datacatalog.v1.SystemTimestamps getDataCatalogTimestamps(); /** - * - * *
    * Output only. Timestamps of the entry group. Default value is empty.
    * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getDataCatalogTimestampsOrBuilder(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryName.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryName.java similarity index 100% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryName.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryName.java diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOrBuilder.java similarity index 82% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOrBuilder.java index 7cd4977b6850..36cd49e8bed6 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface EntryOrBuilder - extends +public interface EntryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.Entry) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The resource name of an entry in URL format.
    *
@@ -33,16 +15,11 @@ public interface EntryOrBuilder
    * stored in the location specified in its name.
    * 
* - * - * 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 an entry in URL format.
    *
@@ -50,17 +27,13 @@ public interface EntryOrBuilder
    * stored in the location specified in its name.
    * 
* - * - * 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(); /** - * - * *
    * The resource this metadata entry refers to.
    *
@@ -83,13 +56,10 @@ public interface EntryOrBuilder
    * 
* * string linked_resource = 9; - * * @return The linkedResource. */ java.lang.String getLinkedResource(); /** - * - * *
    * The resource this metadata entry refers to.
    *
@@ -112,14 +82,12 @@ public interface EntryOrBuilder
    * 
* * string linked_resource = 9; - * * @return The bytes for linkedResource. */ - com.google.protobuf.ByteString getLinkedResourceBytes(); + com.google.protobuf.ByteString + getLinkedResourceBytes(); /** - * - * *
    * [Fully Qualified Name
    * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -129,13 +97,10 @@ public interface EntryOrBuilder
    * 
* * string fully_qualified_name = 29; - * * @return The fullyQualifiedName. */ java.lang.String getFullyQualifiedName(); /** - * - * *
    * [Fully Qualified Name
    * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -145,63 +110,46 @@ public interface EntryOrBuilder
    * 
* * string fully_qualified_name = 29; - * * @return The bytes for fullyQualifiedName. */ - com.google.protobuf.ByteString getFullyQualifiedNameBytes(); + com.google.protobuf.ByteString + getFullyQualifiedNameBytes(); /** - * - * *
    * The type of the entry.
-   * Only used for entries with types listed in the `EntryType` enum.
    *
-   * Currently, only `FILESET` enum value is allowed. All other entries
-   * created in Data Catalog must use the `user_specified_type`.
+   * For details, see [`EntryType`](#entrytype).
    * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; - * * @return Whether the type field is set. */ boolean hasType(); /** - * - * *
    * The type of the entry.
-   * Only used for entries with types listed in the `EntryType` enum.
    *
-   * Currently, only `FILESET` enum value is allowed. All other entries
-   * created in Data Catalog must use the `user_specified_type`.
+   * For details, see [`EntryType`](#entrytype).
    * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The type of the entry.
-   * Only used for entries with types listed in the `EntryType` enum.
    *
-   * Currently, only `FILESET` enum value is allowed. All other entries
-   * created in Data Catalog must use the `user_specified_type`.
+   * For details, see [`EntryType`](#entrytype).
    * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; - * * @return The type. */ com.google.cloud.datacatalog.v1.EntryType getType(); /** - * - * *
    * Custom entry type that doesn't match any of the values allowed for input
    * and listed in the `EntryType` enum.
@@ -219,13 +167,10 @@ public interface EntryOrBuilder
    * 
* * string user_specified_type = 16; - * * @return Whether the userSpecifiedType field is set. */ boolean hasUserSpecifiedType(); /** - * - * *
    * Custom entry type that doesn't match any of the values allowed for input
    * and listed in the `EntryType` enum.
@@ -243,13 +188,10 @@ public interface EntryOrBuilder
    * 
* * string user_specified_type = 16; - * * @return The userSpecifiedType. */ java.lang.String getUserSpecifiedType(); /** - * - * *
    * Custom entry type that doesn't match any of the values allowed for input
    * and listed in the `EntryType` enum.
@@ -267,60 +209,43 @@ public interface EntryOrBuilder
    * 
* * string user_specified_type = 16; - * * @return The bytes for userSpecifiedType. */ - com.google.protobuf.ByteString getUserSpecifiedTypeBytes(); + com.google.protobuf.ByteString + getUserSpecifiedTypeBytes(); /** - * - * *
    * Output only. Indicates the entry's source system that Data Catalog
    * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
    * 
* - * - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the integratedSystem field is set. */ boolean hasIntegratedSystem(); /** - * - * *
    * Output only. Indicates the entry's source system that Data Catalog
    * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
    * 
* - * - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for integratedSystem. */ int getIntegratedSystemValue(); /** - * - * *
    * Output only. Indicates the entry's source system that Data Catalog
    * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
    * 
* - * - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The integratedSystem. */ com.google.cloud.datacatalog.v1.IntegratedSystem getIntegratedSystem(); /** - * - * *
    * Indicates the entry's source system that Data Catalog doesn't
    * automatically integrate with.
@@ -334,13 +259,10 @@ public interface EntryOrBuilder
    * 
* * string user_specified_system = 18; - * * @return Whether the userSpecifiedSystem field is set. */ boolean hasUserSpecifiedSystem(); /** - * - * *
    * Indicates the entry's source system that Data Catalog doesn't
    * automatically integrate with.
@@ -354,13 +276,10 @@ public interface EntryOrBuilder
    * 
* * string user_specified_system = 18; - * * @return The userSpecifiedSystem. */ java.lang.String getUserSpecifiedSystem(); /** - * - * *
    * Indicates the entry's source system that Data Catalog doesn't
    * automatically integrate with.
@@ -374,40 +293,32 @@ public interface EntryOrBuilder
    * 
* * string user_specified_system = 18; - * * @return The bytes for userSpecifiedSystem. */ - com.google.protobuf.ByteString getUserSpecifiedSystemBytes(); + com.google.protobuf.ByteString + getUserSpecifiedSystemBytes(); /** - * - * *
    * Specification that applies to a relational database system. Only settable
    * when `user_specified_system` is equal to `SQL_DATABASE`
    * 
* * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; - * * @return Whether the sqlDatabaseSystemSpec field is set. */ boolean hasSqlDatabaseSystemSpec(); /** - * - * *
    * Specification that applies to a relational database system. Only settable
    * when `user_specified_system` is equal to `SQL_DATABASE`
    * 
* * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; - * * @return The sqlDatabaseSystemSpec. */ com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec getSqlDatabaseSystemSpec(); /** - * - * *
    * Specification that applies to a relational database system. Only settable
    * when `user_specified_system` is equal to `SQL_DATABASE`
@@ -415,38 +326,29 @@ public interface EntryOrBuilder
    *
    * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39;
    */
-  com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpecOrBuilder
-      getSqlDatabaseSystemSpecOrBuilder();
+  com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpecOrBuilder getSqlDatabaseSystemSpecOrBuilder();
 
   /**
-   *
-   *
    * 
    * Specification that applies to Looker sysstem. Only settable when
    * `user_specified_system` is equal to `LOOKER`
    * 
* * .google.cloud.datacatalog.v1.LookerSystemSpec looker_system_spec = 40; - * * @return Whether the lookerSystemSpec field is set. */ boolean hasLookerSystemSpec(); /** - * - * *
    * Specification that applies to Looker sysstem. Only settable when
    * `user_specified_system` is equal to `LOOKER`
    * 
* * .google.cloud.datacatalog.v1.LookerSystemSpec looker_system_spec = 40; - * * @return The lookerSystemSpec. */ com.google.cloud.datacatalog.v1.LookerSystemSpec getLookerSystemSpec(); /** - * - * *
    * Specification that applies to Looker sysstem. Only settable when
    * `user_specified_system` is equal to `LOOKER`
@@ -457,76 +359,56 @@ public interface EntryOrBuilder
   com.google.cloud.datacatalog.v1.LookerSystemSpecOrBuilder getLookerSystemSpecOrBuilder();
 
   /**
-   *
-   *
    * 
    * Specification that applies to Cloud Bigtable system. Only settable when
    * `integrated_system` is equal to `CLOUD_BIGTABLE`
    * 
* - * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; - * - * + * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; * @return Whether the cloudBigtableSystemSpec field is set. */ boolean hasCloudBigtableSystemSpec(); /** - * - * *
    * Specification that applies to Cloud Bigtable system. Only settable when
    * `integrated_system` is equal to `CLOUD_BIGTABLE`
    * 
* - * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; - * - * + * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; * @return The cloudBigtableSystemSpec. */ com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec getCloudBigtableSystemSpec(); /** - * - * *
    * Specification that applies to Cloud Bigtable system. Only settable when
    * `integrated_system` is equal to `CLOUD_BIGTABLE`
    * 
* - * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; - * + * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; */ - com.google.cloud.datacatalog.v1.CloudBigtableSystemSpecOrBuilder - getCloudBigtableSystemSpecOrBuilder(); + com.google.cloud.datacatalog.v1.CloudBigtableSystemSpecOrBuilder getCloudBigtableSystemSpecOrBuilder(); /** - * - * *
    * Specification that applies to a Cloud Storage fileset. Valid only
    * for entries with the `FILESET` type.
    * 
* * .google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6; - * * @return Whether the gcsFilesetSpec field is set. */ boolean hasGcsFilesetSpec(); /** - * - * *
    * Specification that applies to a Cloud Storage fileset. Valid only
    * for entries with the `FILESET` type.
    * 
* * .google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6; - * * @return The gcsFilesetSpec. */ com.google.cloud.datacatalog.v1.GcsFilesetSpec getGcsFilesetSpec(); /** - * - * *
    * Specification that applies to a Cloud Storage fileset. Valid only
    * for entries with the `FILESET` type.
@@ -537,52 +419,36 @@ public interface EntryOrBuilder
   com.google.cloud.datacatalog.v1.GcsFilesetSpecOrBuilder getGcsFilesetSpecOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. Specification that applies to a BigQuery table. Valid only
    * for entries with the `TABLE` type.
    * 
* - * - * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the bigqueryTableSpec field is set. */ boolean hasBigqueryTableSpec(); /** - * - * *
    * Output only. Specification that applies to a BigQuery table. Valid only
    * for entries with the `TABLE` type.
    * 
* - * - * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bigqueryTableSpec. */ com.google.cloud.datacatalog.v1.BigQueryTableSpec getBigqueryTableSpec(); /** - * - * *
    * Output only. Specification that applies to a BigQuery table. Valid only
    * for entries with the `TABLE` type.
    * 
* - * - * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.datacatalog.v1.BigQueryTableSpecOrBuilder getBigqueryTableSpecOrBuilder(); /** - * - * *
    * Output only. Specification for a group of BigQuery tables with
    * the `[prefix]YYYYMMDD` name pattern.
@@ -591,16 +457,11 @@ public interface EntryOrBuilder
    * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
    * 
* - * - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the bigqueryDateShardedSpec field is set. */ boolean hasBigqueryDateShardedSpec(); /** - * - * *
    * Output only. Specification for a group of BigQuery tables with
    * the `[prefix]YYYYMMDD` name pattern.
@@ -609,16 +470,11 @@ public interface EntryOrBuilder
    * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
    * 
* - * - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bigqueryDateShardedSpec. */ com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec getBigqueryDateShardedSpec(); /** - * - * *
    * Output only. Specification for a group of BigQuery tables with
    * the `[prefix]YYYYMMDD` name pattern.
@@ -627,42 +483,31 @@ public interface EntryOrBuilder
    * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
    * 
* - * - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.datacatalog.v1.BigQueryDateShardedSpecOrBuilder - getBigqueryDateShardedSpecOrBuilder(); + com.google.cloud.datacatalog.v1.BigQueryDateShardedSpecOrBuilder getBigqueryDateShardedSpecOrBuilder(); /** - * - * *
    * Specification that applies to a table resource. Valid only
    * for entries with the `TABLE` or `EXPLORE` type.
    * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; - * * @return Whether the databaseTableSpec field is set. */ boolean hasDatabaseTableSpec(); /** - * - * *
    * Specification that applies to a table resource. Valid only
    * for entries with the `TABLE` or `EXPLORE` type.
    * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; - * * @return The databaseTableSpec. */ com.google.cloud.datacatalog.v1.DatabaseTableSpec getDatabaseTableSpec(); /** - * - * *
    * Specification that applies to a table resource. Valid only
    * for entries with the `TABLE` or `EXPLORE` type.
@@ -673,76 +518,56 @@ public interface EntryOrBuilder
   com.google.cloud.datacatalog.v1.DatabaseTableSpecOrBuilder getDatabaseTableSpecOrBuilder();
 
   /**
-   *
-   *
    * 
    * Specification that applies to a data source connection. Valid only
    * for entries with the `DATA_SOURCE_CONNECTION` type.
    * 
* - * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; - * - * + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; * @return Whether the dataSourceConnectionSpec field is set. */ boolean hasDataSourceConnectionSpec(); /** - * - * *
    * Specification that applies to a data source connection. Valid only
    * for entries with the `DATA_SOURCE_CONNECTION` type.
    * 
* - * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; - * - * + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; * @return The dataSourceConnectionSpec. */ com.google.cloud.datacatalog.v1.DataSourceConnectionSpec getDataSourceConnectionSpec(); /** - * - * *
    * Specification that applies to a data source connection. Valid only
    * for entries with the `DATA_SOURCE_CONNECTION` type.
    * 
* - * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; - * + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; */ - com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder - getDataSourceConnectionSpecOrBuilder(); + com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder getDataSourceConnectionSpecOrBuilder(); /** - * - * *
    * Specification that applies to a user-defined function or procedure. Valid
    * only for entries with the `ROUTINE` type.
    * 
* * .google.cloud.datacatalog.v1.RoutineSpec routine_spec = 28; - * * @return Whether the routineSpec field is set. */ boolean hasRoutineSpec(); /** - * - * *
    * Specification that applies to a user-defined function or procedure. Valid
    * only for entries with the `ROUTINE` type.
    * 
* * .google.cloud.datacatalog.v1.RoutineSpec routine_spec = 28; - * * @return The routineSpec. */ com.google.cloud.datacatalog.v1.RoutineSpec getRoutineSpec(); /** - * - * *
    * Specification that applies to a user-defined function or procedure. Valid
    * only for entries with the `ROUTINE` type.
@@ -753,34 +578,26 @@ public interface EntryOrBuilder
   com.google.cloud.datacatalog.v1.RoutineSpecOrBuilder getRoutineSpecOrBuilder();
 
   /**
-   *
-   *
    * 
    * Specification that applies to a fileset resource. Valid only
    * for entries with the `FILESET` type.
    * 
* * .google.cloud.datacatalog.v1.FilesetSpec fileset_spec = 33; - * * @return Whether the filesetSpec field is set. */ boolean hasFilesetSpec(); /** - * - * *
    * Specification that applies to a fileset resource. Valid only
    * for entries with the `FILESET` type.
    * 
* * .google.cloud.datacatalog.v1.FilesetSpec fileset_spec = 33; - * * @return The filesetSpec. */ com.google.cloud.datacatalog.v1.FilesetSpec getFilesetSpec(); /** - * - * *
    * Specification that applies to a fileset resource. Valid only
    * for entries with the `FILESET` type.
@@ -791,32 +608,24 @@ public interface EntryOrBuilder
   com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder getFilesetSpecOrBuilder();
 
   /**
-   *
-   *
    * 
    * Specification that applies to a Service resource.
    * 
* * .google.cloud.datacatalog.v1.ServiceSpec service_spec = 42; - * * @return Whether the serviceSpec field is set. */ boolean hasServiceSpec(); /** - * - * *
    * Specification that applies to a Service resource.
    * 
* * .google.cloud.datacatalog.v1.ServiceSpec service_spec = 42; - * * @return The serviceSpec. */ com.google.cloud.datacatalog.v1.ServiceSpec getServiceSpec(); /** - * - * *
    * Specification that applies to a Service resource.
    * 
@@ -826,8 +635,6 @@ public interface EntryOrBuilder com.google.cloud.datacatalog.v1.ServiceSpecOrBuilder getServiceSpecOrBuilder(); /** - * - * *
    * Display name of an entry.
    *
@@ -836,13 +643,10 @@ public interface EntryOrBuilder
    * 
* * string display_name = 3; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Display name of an entry.
    *
@@ -851,14 +655,12 @@ public interface EntryOrBuilder
    * 
* * string display_name = 3; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Entry description that can consist of several sentences or paragraphs
    * that describe entry contents.
@@ -871,13 +673,10 @@ public interface EntryOrBuilder
    * 
* * string description = 4; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Entry description that can consist of several sentences or paragraphs
    * that describe entry contents.
@@ -890,38 +689,30 @@ public interface EntryOrBuilder
    * 
* * string description = 4; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Business Context of the entry. Not supported for BigQuery datasets
    * 
* * .google.cloud.datacatalog.v1.BusinessContext business_context = 37; - * * @return Whether the businessContext field is set. */ boolean hasBusinessContext(); /** - * - * *
    * Business Context of the entry. Not supported for BigQuery datasets
    * 
* * .google.cloud.datacatalog.v1.BusinessContext business_context = 37; - * * @return The businessContext. */ com.google.cloud.datacatalog.v1.BusinessContext getBusinessContext(); /** - * - * *
    * Business Context of the entry. Not supported for BigQuery datasets
    * 
@@ -931,32 +722,24 @@ public interface EntryOrBuilder com.google.cloud.datacatalog.v1.BusinessContextOrBuilder getBusinessContextOrBuilder(); /** - * - * *
    * Schema of the entry. An entry might not have any schema attached to it.
    * 
* * .google.cloud.datacatalog.v1.Schema schema = 5; - * * @return Whether the schema field is set. */ boolean hasSchema(); /** - * - * *
    * Schema of the entry. An entry might not have any schema attached to it.
    * 
* * .google.cloud.datacatalog.v1.Schema schema = 5; - * * @return The schema. */ com.google.cloud.datacatalog.v1.Schema getSchema(); /** - * - * *
    * Schema of the entry. An entry might not have any schema attached to it.
    * 
@@ -966,8 +749,6 @@ public interface EntryOrBuilder com.google.cloud.datacatalog.v1.SchemaOrBuilder getSchemaOrBuilder(); /** - * - * *
    * Timestamps from the underlying resource, not from the Data Catalog
    * entry.
@@ -978,13 +759,10 @@ public interface EntryOrBuilder
    * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; - * * @return Whether the sourceSystemTimestamps field is set. */ boolean hasSourceSystemTimestamps(); /** - * - * *
    * Timestamps from the underlying resource, not from the Data Catalog
    * entry.
@@ -995,13 +773,10 @@ public interface EntryOrBuilder
    * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; - * * @return The sourceSystemTimestamps. */ com.google.cloud.datacatalog.v1.SystemTimestamps getSourceSystemTimestamps(); /** - * - * *
    * Timestamps from the underlying resource, not from the Data Catalog
    * entry.
@@ -1016,32 +791,24 @@ public interface EntryOrBuilder
   com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getSourceSystemTimestampsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Resource usage statistics.
    * 
* * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13; - * * @return Whether the usageSignal field is set. */ boolean hasUsageSignal(); /** - * - * *
    * Resource usage statistics.
    * 
* * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13; - * * @return The usageSignal. */ com.google.cloud.datacatalog.v1.UsageSignal getUsageSignal(); /** - * - * *
    * Resource usage statistics.
    * 
@@ -1051,8 +818,6 @@ public interface EntryOrBuilder com.google.cloud.datacatalog.v1.UsageSignalOrBuilder getUsageSignalOrBuilder(); /** - * - * *
    * Cloud labels attached to the entry.
    *
@@ -1065,8 +830,6 @@ public interface EntryOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * Cloud labels attached to the entry.
    *
@@ -1077,13 +840,15 @@ public interface EntryOrBuilder
    *
    * map<string, string> labels = 14;
    */
-  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();
   /**
-   *
-   *
    * 
    * Cloud labels attached to the entry.
    *
@@ -1094,10 +859,9 @@ public interface EntryOrBuilder
    *
    * map<string, string> labels = 14;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * Cloud labels attached to the entry.
    *
@@ -1109,13 +873,11 @@ public interface EntryOrBuilder
    * map<string, string> labels = 14;
    */
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Cloud labels attached to the entry.
    *
@@ -1126,90 +888,63 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 14;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Output only. Physical location of the entry.
    * 
* - * - * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataSource field is set. */ boolean hasDataSource(); /** - * - * *
    * Output only. Physical location of the entry.
    * 
* - * - * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dataSource. */ com.google.cloud.datacatalog.v1.DataSource getDataSource(); /** - * - * *
    * Output only. Physical location of the entry.
    * 
* - * - * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.datacatalog.v1.DataSourceOrBuilder getDataSourceOrBuilder(); /** - * - * *
    * Output only. Additional information related to the entry. Private to the
    * current user.
    * 
* - * - * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the personalDetails field is set. */ boolean hasPersonalDetails(); /** - * - * *
    * Output only. Additional information related to the entry. Private to the
    * current user.
    * 
* - * - * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The personalDetails. */ com.google.cloud.datacatalog.v1.PersonalDetails getPersonalDetails(); /** - * - * *
    * Output only. Additional information related to the entry. Private to the
    * current user.
    * 
* - * - * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.datacatalog.v1.PersonalDetailsOrBuilder getPersonalDetailsOrBuilder(); diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverview.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverview.java similarity index 68% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverview.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverview.java index ad65c99121e6..10d5cb351144 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverview.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverview.java @@ -1,74 +1,52 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Entry overview fields for rich text descriptions of entries.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.EntryOverview} */ -public final class EntryOverview extends com.google.protobuf.GeneratedMessageV3 - implements +public final class EntryOverview extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.EntryOverview) EntryOverviewOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use EntryOverview.newBuilder() to construct. private EntryOverview(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private EntryOverview() { overview_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new EntryOverview(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_EntryOverview_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_EntryOverview_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_EntryOverview_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_EntryOverview_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.EntryOverview.class, - com.google.cloud.datacatalog.v1.EntryOverview.Builder.class); + com.google.cloud.datacatalog.v1.EntryOverview.class, com.google.cloud.datacatalog.v1.EntryOverview.Builder.class); } public static final int OVERVIEW_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object overview_ = ""; /** - * - * *
    * Entry overview with support for rich text.
    *
@@ -80,7 +58,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string overview = 1; - * * @return The overview. */ @java.lang.Override @@ -89,15 +66,14 @@ public java.lang.String getOverview() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); overview_ = s; return s; } } /** - * - * *
    * Entry overview with support for rich text.
    *
@@ -109,15 +85,16 @@ public java.lang.String getOverview() {
    * 
* * string overview = 1; - * * @return The bytes for overview. */ @java.lang.Override - public com.google.protobuf.ByteString getOverviewBytes() { + public com.google.protobuf.ByteString + getOverviewBytes() { java.lang.Object ref = overview_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); overview_ = b; return b; } else { @@ -126,7 +103,6 @@ public com.google.protobuf.ByteString getOverviewBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -138,7 +114,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(overview_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, overview_); } @@ -162,15 +139,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.EntryOverview)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.EntryOverview other = - (com.google.cloud.datacatalog.v1.EntryOverview) obj; + com.google.cloud.datacatalog.v1.EntryOverview other = (com.google.cloud.datacatalog.v1.EntryOverview) obj; - if (!getOverview().equals(other.getOverview())) return false; + if (!getOverview() + .equals(other.getOverview())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -189,136 +166,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.EntryOverview parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.EntryOverview parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.EntryOverview parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.EntryOverview parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.EntryOverview parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.EntryOverview parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.EntryOverview parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.EntryOverview parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.EntryOverview parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.EntryOverview parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.EntryOverview parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.EntryOverview parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.EntryOverview parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.EntryOverview parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.EntryOverview prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Entry overview fields for rich text descriptions of entries.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.EntryOverview} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.EntryOverview) com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_EntryOverview_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_EntryOverview_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_EntryOverview_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_EntryOverview_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.EntryOverview.class, - com.google.cloud.datacatalog.v1.EntryOverview.Builder.class); + com.google.cloud.datacatalog.v1.EntryOverview.class, com.google.cloud.datacatalog.v1.EntryOverview.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.EntryOverview.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -328,9 +301,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_EntryOverview_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_EntryOverview_descriptor; } @java.lang.Override @@ -349,11 +322,8 @@ public com.google.cloud.datacatalog.v1.EntryOverview build() { @java.lang.Override public com.google.cloud.datacatalog.v1.EntryOverview buildPartial() { - com.google.cloud.datacatalog.v1.EntryOverview result = - new com.google.cloud.datacatalog.v1.EntryOverview(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1.EntryOverview result = new com.google.cloud.datacatalog.v1.EntryOverview(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -369,39 +339,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.EntryOverview result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.EntryOverview) { - return mergeFrom((com.google.cloud.datacatalog.v1.EntryOverview) other); + return mergeFrom((com.google.cloud.datacatalog.v1.EntryOverview)other); } else { super.mergeFrom(other); return this; @@ -441,19 +410,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - overview_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + overview_ = 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) { @@ -463,13 +430,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object overview_ = ""; /** - * - * *
      * Entry overview with support for rich text.
      *
@@ -481,13 +445,13 @@ public Builder mergeFrom(
      * 
* * string overview = 1; - * * @return The overview. */ public java.lang.String getOverview() { java.lang.Object ref = overview_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); overview_ = s; return s; @@ -496,8 +460,6 @@ public java.lang.String getOverview() { } } /** - * - * *
      * Entry overview with support for rich text.
      *
@@ -509,14 +471,15 @@ public java.lang.String getOverview() {
      * 
* * string overview = 1; - * * @return The bytes for overview. */ - public com.google.protobuf.ByteString getOverviewBytes() { + public com.google.protobuf.ByteString + getOverviewBytes() { java.lang.Object ref = overview_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); overview_ = b; return b; } else { @@ -524,8 +487,6 @@ public com.google.protobuf.ByteString getOverviewBytes() { } } /** - * - * *
      * Entry overview with support for rich text.
      *
@@ -537,22 +498,18 @@ public com.google.protobuf.ByteString getOverviewBytes() {
      * 
* * string overview = 1; - * * @param value The overview to set. * @return This builder for chaining. */ - public Builder setOverview(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOverview( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } overview_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Entry overview with support for rich text.
      *
@@ -564,7 +521,6 @@ public Builder setOverview(java.lang.String value) {
      * 
* * string overview = 1; - * * @return This builder for chaining. */ public Builder clearOverview() { @@ -574,8 +530,6 @@ public Builder clearOverview() { return this; } /** - * - * *
      * Entry overview with support for rich text.
      *
@@ -587,23 +541,21 @@ public Builder clearOverview() {
      * 
* * string overview = 1; - * * @param value The bytes for overview to set. * @return This builder for chaining. */ - public Builder setOverviewBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOverviewBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); overview_ = 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); } @@ -613,12 +565,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.EntryOverview) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.EntryOverview) private static final com.google.cloud.datacatalog.v1.EntryOverview DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.EntryOverview(); } @@ -627,27 +579,27 @@ public static com.google.cloud.datacatalog.v1.EntryOverview getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EntryOverview parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EntryOverview parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -662,4 +614,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.EntryOverview getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverviewOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverviewOrBuilder.java similarity index 61% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverviewOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverviewOrBuilder.java index d245a2ad1429..e66201e8d9ec 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverviewOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverviewOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface EntryOverviewOrBuilder - extends +public interface EntryOverviewOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.EntryOverview) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Entry overview with support for rich text.
    *
@@ -37,13 +19,10 @@ public interface EntryOverviewOrBuilder
    * 
* * string overview = 1; - * * @return The overview. */ java.lang.String getOverview(); /** - * - * *
    * Entry overview with support for rich text.
    *
@@ -55,8 +34,8 @@ public interface EntryOverviewOrBuilder
    * 
* * string overview = 1; - * * @return The bytes for overview. */ - com.google.protobuf.ByteString getOverviewBytes(); + com.google.protobuf.ByteString + getOverviewBytes(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryType.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryType.java similarity index 70% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryType.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryType.java index 821ef5378bf5..8869e1fc3d37 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryType.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryType.java @@ -1,37 +1,29 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
- * The enum field that lists all the types of entry resources in Data
- * Catalog. For example, a BigQuery table entry has the `TABLE` type.
+ * Metadata automatically ingested from Google Cloud resources like BigQuery
+ * tables or Pub/Sub topics always uses enum values from `EntryType` as the type
+ * of entry.
+ *
+ * Other sources of metadata like Hive or Oracle databases can identify the type
+ * by either using one of the enum values from `EntryType` (for example,
+ * `FILESET` for a Cloud Storage fileset) or specifying a custom value using
+ * the [`Entry`](#resource:-entry) field `user_specified_type`. For more
+ * information, see
+ * [Surface files from Cloud Storage with fileset
+ * entries](/data-catalog/docs/how-to/filesets) or [Create custom entries for
+ * your data sources](/data-catalog/docs/how-to/custom-entries).
  * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.EntryType} */ -public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { +public enum EntryType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Default unknown type.
    * 
@@ -40,8 +32,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ ENTRY_TYPE_UNSPECIFIED(0), /** - * - * *
    * The entry type that has a GoogleSQL schema, including
    * logical views.
@@ -51,21 +41,17 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum {
    */
   TABLE(2),
   /**
-   *
-   *
    * 
-   * Output only. The type of models.
+   * The type of models.
    *
-   * For more information, see [Supported models in BigQuery ML]
-   * (https://cloud.google.com/bigquery-ml/docs/introduction#supported_models_in).
+   * For more information, see [Supported models in BigQuery
+   * ML](/bigquery/docs/bqml-introduction#supported_models).
    * 
* * MODEL = 5; */ MODEL(5), /** - * - * *
    * An entry type for streaming entries. For example, a Pub/Sub topic.
    * 
@@ -74,8 +60,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ DATA_STREAM(3), /** - * - * *
    * An entry type for a set of files or objects. For example, a
    * Cloud Storage fileset.
@@ -85,8 +69,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum {
    */
   FILESET(4),
   /**
-   *
-   *
    * 
    * A group of servers that work together. For example, a Kafka cluster.
    * 
@@ -95,8 +77,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ CLUSTER(6), /** - * - * *
    * A database.
    * 
@@ -105,10 +85,8 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ DATABASE(7), /** - * - * *
-   * Output only. Connection to a data source. For example, a BigQuery
+   * Connection to a data source. For example, a BigQuery
    * connection.
    * 
* @@ -116,18 +94,14 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ DATA_SOURCE_CONNECTION(8), /** - * - * *
-   * Output only. Routine, for example, a BigQuery routine.
+   * Routine, for example, a BigQuery routine.
    * 
* * ROUTINE = 9; */ ROUTINE(9), /** - * - * *
    * A Dataplex lake.
    * 
@@ -136,8 +110,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ LAKE(10), /** - * - * *
    * A Dataplex zone.
    * 
@@ -146,8 +118,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ ZONE(11), /** - * - * *
    * A service, for example, a Dataproc Metastore service.
    * 
@@ -156,8 +126,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ SERVICE(14), /** - * - * *
    * Schema within a relational database.
    * 
@@ -166,8 +134,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ DATABASE_SCHEMA(15), /** - * - * *
    * A Dashboard, for example from Looker.
    * 
@@ -176,8 +142,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ DASHBOARD(16), /** - * - * *
    * A Looker Explore.
    *
@@ -189,8 +153,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum {
    */
   EXPLORE(17),
   /**
-   *
-   *
    * 
    * A Looker Look.
    *
@@ -205,8 +167,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * Default unknown type.
    * 
@@ -215,8 +175,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENTRY_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * The entry type that has a GoogleSQL schema, including
    * logical views.
@@ -226,21 +184,17 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int TABLE_VALUE = 2;
   /**
-   *
-   *
    * 
-   * Output only. The type of models.
+   * The type of models.
    *
-   * For more information, see [Supported models in BigQuery ML]
-   * (https://cloud.google.com/bigquery-ml/docs/introduction#supported_models_in).
+   * For more information, see [Supported models in BigQuery
+   * ML](/bigquery/docs/bqml-introduction#supported_models).
    * 
* * MODEL = 5; */ public static final int MODEL_VALUE = 5; /** - * - * *
    * An entry type for streaming entries. For example, a Pub/Sub topic.
    * 
@@ -249,8 +203,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATA_STREAM_VALUE = 3; /** - * - * *
    * An entry type for a set of files or objects. For example, a
    * Cloud Storage fileset.
@@ -260,8 +212,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int FILESET_VALUE = 4;
   /**
-   *
-   *
    * 
    * A group of servers that work together. For example, a Kafka cluster.
    * 
@@ -270,8 +220,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CLUSTER_VALUE = 6; /** - * - * *
    * A database.
    * 
@@ -280,10 +228,8 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATABASE_VALUE = 7; /** - * - * *
-   * Output only. Connection to a data source. For example, a BigQuery
+   * Connection to a data source. For example, a BigQuery
    * connection.
    * 
* @@ -291,18 +237,14 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATA_SOURCE_CONNECTION_VALUE = 8; /** - * - * *
-   * Output only. Routine, for example, a BigQuery routine.
+   * Routine, for example, a BigQuery routine.
    * 
* * ROUTINE = 9; */ public static final int ROUTINE_VALUE = 9; /** - * - * *
    * A Dataplex lake.
    * 
@@ -311,8 +253,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LAKE_VALUE = 10; /** - * - * *
    * A Dataplex zone.
    * 
@@ -321,8 +261,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ZONE_VALUE = 11; /** - * - * *
    * A service, for example, a Dataproc Metastore service.
    * 
@@ -331,8 +269,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SERVICE_VALUE = 14; /** - * - * *
    * Schema within a relational database.
    * 
@@ -341,8 +277,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATABASE_SCHEMA_VALUE = 15; /** - * - * *
    * A Dashboard, for example from Looker.
    * 
@@ -351,8 +285,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DASHBOARD_VALUE = 16; /** - * - * *
    * A Looker Explore.
    *
@@ -364,8 +296,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int EXPLORE_VALUE = 17;
   /**
-   *
-   *
    * 
    * A Looker Look.
    *
@@ -377,6 +307,7 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int LOOK_VALUE = 18;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -401,75 +332,62 @@ public static EntryType valueOf(int value) {
    */
   public static EntryType forNumber(int value) {
     switch (value) {
-      case 0:
-        return ENTRY_TYPE_UNSPECIFIED;
-      case 2:
-        return TABLE;
-      case 5:
-        return MODEL;
-      case 3:
-        return DATA_STREAM;
-      case 4:
-        return FILESET;
-      case 6:
-        return CLUSTER;
-      case 7:
-        return DATABASE;
-      case 8:
-        return DATA_SOURCE_CONNECTION;
-      case 9:
-        return ROUTINE;
-      case 10:
-        return LAKE;
-      case 11:
-        return ZONE;
-      case 14:
-        return SERVICE;
-      case 15:
-        return DATABASE_SCHEMA;
-      case 16:
-        return DASHBOARD;
-      case 17:
-        return EXPLORE;
-      case 18:
-        return LOOK;
-      default:
-        return null;
+      case 0: return ENTRY_TYPE_UNSPECIFIED;
+      case 2: return TABLE;
+      case 5: return MODEL;
+      case 3: return DATA_STREAM;
+      case 4: return FILESET;
+      case 6: return CLUSTER;
+      case 7: return DATABASE;
+      case 8: return DATA_SOURCE_CONNECTION;
+      case 9: return ROUTINE;
+      case 10: return LAKE;
+      case 11: return ZONE;
+      case 14: return SERVICE;
+      case 15: return DATABASE_SCHEMA;
+      case 16: return DASHBOARD;
+      case 17: return EXPLORE;
+      case 18: return LOOK;
+      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<
+      EntryType> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public EntryType findValueByNumber(int number) {
+            return EntryType.forNumber(number);
+          }
+        };
 
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public EntryType findValueByNumber(int number) {
-          return EntryType.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.datacatalog.v1.Datacatalog.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final EntryType[] VALUES = values();
 
-  public static EntryType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static EntryType 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;
@@ -485,3 +403,4 @@ private EntryType(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1.EntryType)
 }
+
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequest.java
similarity index 64%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequest.java
rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequest.java
index 521fa1be362d..7f38a3d9369f 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequest.java
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequest.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto
 
 package com.google.cloud.datacatalog.v1;
 
 /**
- *
- *
  * 
  * Request message for
  * [ExportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ExportTaxonomies].
@@ -28,55 +11,50 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ExportTaxonomiesRequest}
  */
-public final class ExportTaxonomiesRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ExportTaxonomiesRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ExportTaxonomiesRequest)
     ExportTaxonomiesRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ExportTaxonomiesRequest.newBuilder() to construct.
   private ExportTaxonomiesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ExportTaxonomiesRequest() {
     parent_ = "";
-    taxonomies_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    taxonomies_ =
+        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 ExportTaxonomiesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-        .internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-        .internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest.class,
-            com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest.class, com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest.Builder.class);
   }
 
   private int destinationCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object destination_;
-
   public enum DestinationCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     SERIALIZED_TAXONOMIES(3),
     DESTINATION_NOT_SET(0);
     private final int value;
-
     private DestinationCase(int value) {
       this.value = value;
     }
@@ -92,40 +70,32 @@ public static DestinationCase valueOf(int value) {
 
     public static DestinationCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return SERIALIZED_TAXONOMIES;
-        case 0:
-          return DESTINATION_NOT_SET;
-        default:
-          return null;
+        case 3: return SERIALIZED_TAXONOMIES;
+        case 0: return DESTINATION_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public DestinationCase getDestinationCase() {
-    return DestinationCase.forNumber(destinationCase_);
+  public DestinationCase
+  getDestinationCase() {
+    return DestinationCase.forNumber(
+        destinationCase_);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. Resource name of the project that the exported taxonomies belong
    * to.
    * 
* - * - * string parent = 1 [(.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 @@ -134,32 +104,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. Resource name of the project that the exported taxonomies belong
    * to.
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -168,53 +136,38 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int TAXONOMIES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList taxonomies_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Required. Resource names of the taxonomies to export.
    * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return A list containing the taxonomies. */ - public com.google.protobuf.ProtocolStringList getTaxonomiesList() { + public com.google.protobuf.ProtocolStringList + getTaxonomiesList() { return taxonomies_; } /** - * - * *
    * Required. Resource names of the taxonomies to export.
    * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The count of taxonomies. */ public int getTaxonomiesCount() { return taxonomies_.size(); } /** - * - * *
    * Required. Resource names of the taxonomies to export.
    * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The taxonomies at the given index. */ @@ -222,34 +175,27 @@ public java.lang.String getTaxonomies(int index) { return taxonomies_.get(index); } /** - * - * *
    * Required. Resource names of the taxonomies to export.
    * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the taxonomies at the given index. */ - public com.google.protobuf.ByteString getTaxonomiesBytes(int index) { + public com.google.protobuf.ByteString + getTaxonomiesBytes(int index) { return taxonomies_.getByteString(index); } public static final int SERIALIZED_TAXONOMIES_FIELD_NUMBER = 3; /** - * - * *
    * Serialized export taxonomies that contain all the policy
    * tags as nested protocol buffers.
    * 
* * bool serialized_taxonomies = 3; - * * @return Whether the serializedTaxonomies field is set. */ @java.lang.Override @@ -257,15 +203,12 @@ public boolean hasSerializedTaxonomies() { return destinationCase_ == 3; } /** - * - * *
    * Serialized export taxonomies that contain all the policy
    * tags as nested protocol buffers.
    * 
* * bool serialized_taxonomies = 3; - * * @return The serializedTaxonomies. */ @java.lang.Override @@ -277,7 +220,6 @@ public boolean getSerializedTaxonomies() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -289,7 +231,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -297,7 +240,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 2, taxonomies_.getRaw(i)); } if (destinationCase_ == 3) { - output.writeBool(3, (boolean) ((java.lang.Boolean) destination_)); + output.writeBool( + 3, (boolean)((java.lang.Boolean) destination_)); } getUnknownFields().writeTo(output); } @@ -320,9 +264,9 @@ public int getSerializedSize() { size += 1 * getTaxonomiesList().size(); } if (destinationCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 3, (boolean) ((java.lang.Boolean) destination_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 3, (boolean)((java.lang.Boolean) destination_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -332,20 +276,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.datacatalog.v1.ExportTaxonomiesRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest other = - (com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest) obj; + com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest other = (com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getTaxonomiesList().equals(other.getTaxonomiesList())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getTaxonomiesList() + .equals(other.getTaxonomiesList())) return false; if (!getDestinationCase().equals(other.getDestinationCase())) return false; switch (destinationCase_) { case 3: - if (getSerializedTaxonomies() != other.getSerializedTaxonomies()) return false; + if (getSerializedTaxonomies() + != other.getSerializedTaxonomies()) return false; break; case 0: default: @@ -370,7 +316,8 @@ public int hashCode() { switch (destinationCase_) { case 3: hash = (37 * hash) + SERIALIZED_TAXONOMIES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSerializedTaxonomies()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSerializedTaxonomies()); break; case 0: default: @@ -381,104 +328,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [ExportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ExportTaxonomies].
@@ -486,47 +427,49 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ExportTaxonomiesRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ExportTaxonomiesRequest)
       com.google.cloud.datacatalog.v1.ExportTaxonomiesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest.class,
-              com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest.class, com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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;
       parent_ = "";
-      taxonomies_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      taxonomies_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       destinationCase_ = 0;
       destination_ = null;
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -545,11 +488,8 @@ public com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest result =
-          new com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest result = new com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -566,8 +506,7 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ExportTaxonomiesReque
       }
     }
 
-    private void buildPartialOneofs(
-        com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest result) {
+    private void buildPartialOneofs(com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest result) {
       result.destinationCase_ = destinationCase_;
       result.destination_ = this.destination_;
     }
@@ -576,39 +515,38 @@ private void buildPartialOneofs(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -616,8 +554,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -634,15 +571,13 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest
         onChanged();
       }
       switch (other.getDestinationCase()) {
-        case SERIALIZED_TAXONOMIES:
-          {
-            setSerializedTaxonomies(other.getSerializedTaxonomies());
-            break;
-          }
-        case DESTINATION_NOT_SET:
-          {
-            break;
-          }
+        case SERIALIZED_TAXONOMIES: {
+          setSerializedTaxonomies(other.getSerializedTaxonomies());
+          break;
+        }
+        case DESTINATION_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -670,32 +605,28 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureTaxonomiesIsMutable();
-                taxonomies_.add(s);
-                break;
-              } // case 18
-            case 24:
-              {
-                destination_ = input.readBool();
-                destinationCase_ = 3;
-                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: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureTaxonomiesIsMutable();
+              taxonomies_.add(s);
+              break;
+            } // case 18
+            case 24: {
+              destination_ = input.readBool();
+              destinationCase_ = 3;
+              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) {
@@ -705,12 +636,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int destinationCase_ = 0;
     private java.lang.Object destination_;
-
-    public DestinationCase getDestinationCase() {
-      return DestinationCase.forNumber(destinationCase_);
+    public DestinationCase
+        getDestinationCase() {
+      return DestinationCase.forNumber(
+          destinationCase_);
     }
 
     public Builder clearDestination() {
@@ -724,23 +655,19 @@ public Builder clearDestination() {
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. Resource name of the project that the exported taxonomies belong
      * to.
      * 
* - * - * string parent = 1 [(.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; @@ -749,24 +676,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the project that the exported taxonomies belong
      * to.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -774,41 +698,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the project that the exported taxonomies belong
      * to.
      * 
* - * - * 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. Resource name of the project that the exported taxonomies belong
      * to.
      * 
* - * - * string 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() { @@ -818,24 +731,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Resource name of the project that the exported taxonomies belong
      * to.
      * 
* - * - * 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; @@ -845,7 +752,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList taxonomies_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureTaxonomiesIsMutable() { if (!taxonomies_.isModifiable()) { taxonomies_ = new com.google.protobuf.LazyStringArrayList(taxonomies_); @@ -853,49 +759,35 @@ private void ensureTaxonomiesIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
      * Required. Resource names of the taxonomies to export.
      * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return A list containing the taxonomies. */ - public com.google.protobuf.ProtocolStringList getTaxonomiesList() { + public com.google.protobuf.ProtocolStringList + getTaxonomiesList() { taxonomies_.makeImmutable(); return taxonomies_; } /** - * - * *
      * Required. Resource names of the taxonomies to export.
      * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The count of taxonomies. */ public int getTaxonomiesCount() { return taxonomies_.size(); } /** - * - * *
      * Required. Resource names of the taxonomies to export.
      * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The taxonomies at the given index. */ @@ -903,41 +795,31 @@ public java.lang.String getTaxonomies(int index) { return taxonomies_.get(index); } /** - * - * *
      * Required. Resource names of the taxonomies to export.
      * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the taxonomies at the given index. */ - public com.google.protobuf.ByteString getTaxonomiesBytes(int index) { + public com.google.protobuf.ByteString + getTaxonomiesBytes(int index) { return taxonomies_.getByteString(index); } /** - * - * *
      * Required. Resource names of the taxonomies to export.
      * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index to set the value at. * @param value The taxonomies to set. * @return This builder for chaining. */ - public Builder setTaxonomies(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTaxonomies( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureTaxonomiesIsMutable(); taxonomies_.set(index, value); bitField0_ |= 0x00000002; @@ -945,23 +827,17 @@ public Builder setTaxonomies(int index, java.lang.String value) { return this; } /** - * - * *
      * Required. Resource names of the taxonomies to export.
      * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The taxonomies to add. * @return This builder for chaining. */ - public Builder addTaxonomies(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addTaxonomies( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureTaxonomiesIsMutable(); taxonomies_.add(value); bitField0_ |= 0x00000002; @@ -969,64 +845,50 @@ public Builder addTaxonomies(java.lang.String value) { return this; } /** - * - * *
      * Required. Resource names of the taxonomies to export.
      * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param values The taxonomies to add. * @return This builder for chaining. */ - public Builder addAllTaxonomies(java.lang.Iterable values) { + public Builder addAllTaxonomies( + java.lang.Iterable values) { ensureTaxonomiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taxonomies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, taxonomies_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. Resource names of the taxonomies to export.
      * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearTaxonomies() { - taxonomies_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + taxonomies_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
      * Required. Resource names of the taxonomies to export.
      * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes of the taxonomies to add. * @return This builder for chaining. */ - public Builder addTaxonomiesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addTaxonomiesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureTaxonomiesIsMutable(); taxonomies_.add(value); @@ -1036,30 +898,24 @@ public Builder addTaxonomiesBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * Serialized export taxonomies that contain all the policy
      * tags as nested protocol buffers.
      * 
* * bool serialized_taxonomies = 3; - * * @return Whether the serializedTaxonomies field is set. */ public boolean hasSerializedTaxonomies() { return destinationCase_ == 3; } /** - * - * *
      * Serialized export taxonomies that contain all the policy
      * tags as nested protocol buffers.
      * 
* * bool serialized_taxonomies = 3; - * * @return The serializedTaxonomies. */ public boolean getSerializedTaxonomies() { @@ -1069,15 +925,12 @@ public boolean getSerializedTaxonomies() { return false; } /** - * - * *
      * Serialized export taxonomies that contain all the policy
      * tags as nested protocol buffers.
      * 
* * bool serialized_taxonomies = 3; - * * @param value The serializedTaxonomies to set. * @return This builder for chaining. */ @@ -1089,15 +942,12 @@ public Builder setSerializedTaxonomies(boolean value) { return this; } /** - * - * *
      * Serialized export taxonomies that contain all the policy
      * tags as nested protocol buffers.
      * 
* * bool serialized_taxonomies = 3; - * * @return This builder for chaining. */ public Builder clearSerializedTaxonomies() { @@ -1108,9 +958,9 @@ public Builder clearSerializedTaxonomies() { } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1120,12 +970,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ExportTaxonomiesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ExportTaxonomiesRequest) private static final com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest(); } @@ -1134,27 +984,27 @@ public static com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportTaxonomiesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportTaxonomiesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1169,4 +1019,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequestOrBuilder.java similarity index 53% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequestOrBuilder.java index 2e17347b425c..094e777b7133 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequestOrBuilder.java @@ -1,141 +1,92 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1; -public interface ExportTaxonomiesRequestOrBuilder - extends +public interface ExportTaxonomiesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ExportTaxonomiesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the project that the exported taxonomies belong
    * to.
    * 
* - * - * string parent = 1 [(.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. Resource name of the project that the exported taxonomies belong
    * to.
    * 
* - * - * string parent = 1 [(.google.api.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. Resource names of the taxonomies to export.
    * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return A list containing the taxonomies. */ - java.util.List getTaxonomiesList(); + java.util.List + getTaxonomiesList(); /** - * - * *
    * Required. Resource names of the taxonomies to export.
    * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The count of taxonomies. */ int getTaxonomiesCount(); /** - * - * *
    * Required. Resource names of the taxonomies to export.
    * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The taxonomies at the given index. */ java.lang.String getTaxonomies(int index); /** - * - * *
    * Required. Resource names of the taxonomies to export.
    * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the taxonomies at the given index. */ - com.google.protobuf.ByteString getTaxonomiesBytes(int index); + com.google.protobuf.ByteString + getTaxonomiesBytes(int index); /** - * - * *
    * Serialized export taxonomies that contain all the policy
    * tags as nested protocol buffers.
    * 
* * bool serialized_taxonomies = 3; - * * @return Whether the serializedTaxonomies field is set. */ boolean hasSerializedTaxonomies(); /** - * - * *
    * Serialized export taxonomies that contain all the policy
    * tags as nested protocol buffers.
    * 
* * bool serialized_taxonomies = 3; - * * @return The serializedTaxonomies. */ boolean getSerializedTaxonomies(); diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponse.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponse.java similarity index 72% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponse.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponse.java index 1eb4e4ea64a2..b30b2e5927cf 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponse.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Response message for
  * [ExportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ExportTaxonomies].
@@ -28,48 +11,43 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ExportTaxonomiesResponse}
  */
-public final class ExportTaxonomiesResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ExportTaxonomiesResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ExportTaxonomiesResponse)
     ExportTaxonomiesResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ExportTaxonomiesResponse.newBuilder() to construct.
   private ExportTaxonomiesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ExportTaxonomiesResponse() {
     taxonomies_ = 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 ExportTaxonomiesResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-        .internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-        .internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse.class,
-            com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse.Builder.class);
+            com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse.class, com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse.Builder.class);
   }
 
   public static final int TAXONOMIES_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List taxonomies_;
   /**
-   *
-   *
    * 
    * List of taxonomies and policy tags as nested protocol buffers.
    * 
@@ -81,8 +59,6 @@ public java.util.List getTax return taxonomies_; } /** - * - * *
    * List of taxonomies and policy tags as nested protocol buffers.
    * 
@@ -90,13 +66,11 @@ public java.util.List getTax * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTaxonomiesOrBuilderList() { return taxonomies_; } /** - * - * *
    * List of taxonomies and policy tags as nested protocol buffers.
    * 
@@ -108,8 +82,6 @@ public int getTaxonomiesCount() { return taxonomies_.size(); } /** - * - * *
    * List of taxonomies and policy tags as nested protocol buffers.
    * 
@@ -121,8 +93,6 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomy getTaxonomies(int inde return taxonomies_.get(index); } /** - * - * *
    * List of taxonomies and policy tags as nested protocol buffers.
    * 
@@ -136,7 +106,6 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomies } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -148,7 +117,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < taxonomies_.size(); i++) { output.writeMessage(1, taxonomies_.get(i)); } @@ -162,7 +132,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < taxonomies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, taxonomies_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, taxonomies_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -172,15 +143,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse other = - (com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse) obj; + com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse other = (com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse) obj; - if (!getTaxonomiesList().equals(other.getTaxonomiesList())) return false; + if (!getTaxonomiesList() + .equals(other.getTaxonomiesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -202,104 +173,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for
    * [ExportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ExportTaxonomies].
@@ -307,32 +272,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ExportTaxonomiesResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ExportTaxonomiesResponse)
       com.google.cloud.datacatalog.v1.ExportTaxonomiesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse.class,
-              com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse.Builder.class);
+              com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse.class, com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -348,9 +314,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_descriptor;
     }
 
     @java.lang.Override
@@ -369,18 +335,14 @@ public com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse buildPartial() {
-      com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse result =
-          new com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse(this);
+      com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse result = new com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse result) {
+    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse result) {
       if (taxonomiesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           taxonomies_ = java.util.Collections.unmodifiableList(taxonomies_);
@@ -400,39 +362,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ExportTaxonomiesRespo
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -440,8 +401,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse other) {
-      if (other == com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse.getDefaultInstance()) return this;
       if (taxonomiesBuilder_ == null) {
         if (!other.taxonomies_.isEmpty()) {
           if (taxonomies_.isEmpty()) {
@@ -460,10 +420,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.ExportTaxonomiesRespons
             taxonomiesBuilder_ = null;
             taxonomies_ = other.taxonomies_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            taxonomiesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getTaxonomiesFieldBuilder()
-                    : null;
+            taxonomiesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getTaxonomiesFieldBuilder() : null;
           } else {
             taxonomiesBuilder_.addAllMessages(other.taxonomies_);
           }
@@ -495,27 +454,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.datacatalog.v1.SerializedTaxonomy m =
-                    input.readMessage(
-                        com.google.cloud.datacatalog.v1.SerializedTaxonomy.parser(),
-                        extensionRegistry);
-                if (taxonomiesBuilder_ == null) {
-                  ensureTaxonomiesIsMutable();
-                  taxonomies_.add(m);
-                } else {
-                  taxonomiesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.cloud.datacatalog.v1.SerializedTaxonomy m =
+                  input.readMessage(
+                      com.google.cloud.datacatalog.v1.SerializedTaxonomy.parser(),
+                      extensionRegistry);
+              if (taxonomiesBuilder_ == null) {
+                ensureTaxonomiesIsMutable();
+                taxonomies_.add(m);
+              } else {
+                taxonomiesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -525,30 +482,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List taxonomies_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureTaxonomiesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        taxonomies_ =
-            new java.util.ArrayList(
-                taxonomies_);
+        taxonomies_ = new java.util.ArrayList(taxonomies_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.SerializedTaxonomy,
-            com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder,
-            com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder>
-        taxonomiesBuilder_;
+        com.google.cloud.datacatalog.v1.SerializedTaxonomy, com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder> taxonomiesBuilder_;
 
     /**
-     *
-     *
      * 
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -563,8 +511,6 @@ public java.util.List getTax } } /** - * - * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -579,8 +525,6 @@ public int getTaxonomiesCount() { } } /** - * - * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -595,8 +539,6 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomy getTaxonomies(int inde } } /** - * - * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -618,8 +560,6 @@ public Builder setTaxonomies( return this; } /** - * - * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -638,8 +578,6 @@ public Builder setTaxonomies( return this; } /** - * - * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -660,8 +598,6 @@ public Builder addTaxonomies(com.google.cloud.datacatalog.v1.SerializedTaxonomy return this; } /** - * - * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -683,8 +619,6 @@ public Builder addTaxonomies( return this; } /** - * - * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -703,8 +637,6 @@ public Builder addTaxonomies( return this; } /** - * - * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -723,8 +655,6 @@ public Builder addTaxonomies( return this; } /** - * - * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -735,7 +665,8 @@ public Builder addAllTaxonomies( java.lang.Iterable values) { if (taxonomiesBuilder_ == null) { ensureTaxonomiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taxonomies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, taxonomies_); onChanged(); } else { taxonomiesBuilder_.addAllMessages(values); @@ -743,8 +674,6 @@ public Builder addAllTaxonomies( return this; } /** - * - * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -762,8 +691,6 @@ public Builder clearTaxonomies() { return this; } /** - * - * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -781,8 +708,6 @@ public Builder removeTaxonomies(int index) { return this; } /** - * - * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -794,8 +719,6 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder getTaxonomiesB return getTaxonomiesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -805,22 +728,19 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder getTaxonomiesB public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomiesOrBuilder( int index) { if (taxonomiesBuilder_ == null) { - return taxonomies_.get(index); - } else { + return taxonomies_.get(index); } else { return taxonomiesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; */ - public java.util.List - getTaxonomiesOrBuilderList() { + public java.util.List + getTaxonomiesOrBuilderList() { if (taxonomiesBuilder_ != null) { return taxonomiesBuilder_.getMessageOrBuilderList(); } else { @@ -828,8 +748,6 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomies } } /** - * - * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -837,12 +755,10 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomies * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; */ public com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder addTaxonomiesBuilder() { - return getTaxonomiesFieldBuilder() - .addBuilder(com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance()); + return getTaxonomiesFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance()); } /** - * - * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -851,43 +767,37 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder addTaxonomiesB */ public com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder addTaxonomiesBuilder( int index) { - return getTaxonomiesFieldBuilder() - .addBuilder( - index, com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance()); + return getTaxonomiesFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance()); } /** - * - * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; */ - public java.util.List - getTaxonomiesBuilderList() { + public java.util.List + getTaxonomiesBuilderList() { return getTaxonomiesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.SerializedTaxonomy, - com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, - com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder> + com.google.cloud.datacatalog.v1.SerializedTaxonomy, com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder> getTaxonomiesFieldBuilder() { if (taxonomiesBuilder_ == null) { - taxonomiesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.SerializedTaxonomy, - com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, - com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder>( - taxonomies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + taxonomiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.SerializedTaxonomy, com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder>( + taxonomies_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); taxonomies_ = null; } return taxonomiesBuilder_; } - @java.lang.Override - 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 +807,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ExportTaxonomiesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ExportTaxonomiesResponse) private static final com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse(); } @@ -911,27 +821,27 @@ public static com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportTaxonomiesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportTaxonomiesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +856,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponseOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponseOrBuilder.java similarity index 67% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponseOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponseOrBuilder.java index 5ab817d544dc..74c938677ccf 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponseOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1; -public interface ExportTaxonomiesResponseOrBuilder - extends +public interface ExportTaxonomiesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ExportTaxonomiesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of taxonomies and policy tags as nested protocol buffers.
    * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; */ - java.util.List getTaxonomiesList(); + java.util.List + getTaxonomiesList(); /** - * - * *
    * List of taxonomies and policy tags as nested protocol buffers.
    * 
@@ -44,8 +25,6 @@ public interface ExportTaxonomiesResponseOrBuilder */ com.google.cloud.datacatalog.v1.SerializedTaxonomy getTaxonomies(int index); /** - * - * *
    * List of taxonomies and policy tags as nested protocol buffers.
    * 
@@ -54,24 +33,21 @@ public interface ExportTaxonomiesResponseOrBuilder */ int getTaxonomiesCount(); /** - * - * *
    * List of taxonomies and policy tags as nested protocol buffers.
    * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; */ - java.util.List + java.util.List getTaxonomiesOrBuilderList(); /** - * - * *
    * List of taxonomies and policy tags as nested protocol buffers.
    * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; */ - com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomiesOrBuilder(int index); + com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomiesOrBuilder( + int index); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldType.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldType.java similarity index 73% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldType.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldType.java index a0e6df7d02ff..cd54e15cff36 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldType.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldType.java @@ -1,62 +1,49 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/tags.proto package com.google.cloud.datacatalog.v1; -/** Protobuf type {@code google.cloud.datacatalog.v1.FieldType} */ -public final class FieldType extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.datacatalog.v1.FieldType} + */ +public final class FieldType extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.FieldType) FieldTypeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FieldType.newBuilder() to construct. private FieldType(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private FieldType() {} + private FieldType() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FieldType(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.Tags - .internal_static_google_cloud_datacatalog_v1_FieldType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_FieldType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Tags - .internal_static_google_cloud_datacatalog_v1_FieldType_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_FieldType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.FieldType.class, - com.google.cloud.datacatalog.v1.FieldType.Builder.class); + com.google.cloud.datacatalog.v1.FieldType.class, com.google.cloud.datacatalog.v1.FieldType.Builder.class); } - /** Protobuf enum {@code google.cloud.datacatalog.v1.FieldType.PrimitiveType} */ - public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { + /** + * Protobuf enum {@code google.cloud.datacatalog.v1.FieldType.PrimitiveType} + */ + public enum PrimitiveType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The default invalid value for a type.
      * 
@@ -65,8 +52,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ PRIMITIVE_TYPE_UNSPECIFIED(0), /** - * - * *
      * A double precision number.
      * 
@@ -75,8 +60,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ DOUBLE(1), /** - * - * *
      * An UTF-8 string.
      * 
@@ -85,8 +68,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ STRING(2), /** - * - * *
      * A boolean value.
      * 
@@ -95,8 +76,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ BOOL(3), /** - * - * *
      * A timestamp.
      * 
@@ -105,8 +84,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ TIMESTAMP(4), /** - * - * *
      * A Richtext description.
      * 
@@ -118,8 +95,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The default invalid value for a type.
      * 
@@ -128,8 +103,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRIMITIVE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * A double precision number.
      * 
@@ -138,8 +111,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOUBLE_VALUE = 1; /** - * - * *
      * An UTF-8 string.
      * 
@@ -148,8 +119,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STRING_VALUE = 2; /** - * - * *
      * A boolean value.
      * 
@@ -158,8 +127,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BOOL_VALUE = 3; /** - * - * *
      * A timestamp.
      * 
@@ -168,8 +135,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TIMESTAMP_VALUE = 4; /** - * - * *
      * A Richtext description.
      * 
@@ -178,6 +143,7 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RICHTEXT_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -202,55 +168,52 @@ public static PrimitiveType valueOf(int value) { */ public static PrimitiveType forNumber(int value) { switch (value) { - case 0: - return PRIMITIVE_TYPE_UNSPECIFIED; - case 1: - return DOUBLE; - case 2: - return STRING; - case 3: - return BOOL; - case 4: - return TIMESTAMP; - case 5: - return RICHTEXT; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; + case 0: return PRIMITIVE_TYPE_UNSPECIFIED; + case 1: return DOUBLE; + case 2: return STRING; + case 3: return BOOL; + case 4: return TIMESTAMP; + case 5: return RICHTEXT; + default: return null; + } } - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PrimitiveType findValueByNumber(int number) { - return PrimitiveType.forNumber(number); - } - }; + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + PrimitiveType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PrimitiveType findValueByNumber(int number) { + return PrimitiveType.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.datacatalog.v1.FieldType.getDescriptor().getEnumTypes().get(0); } private static final PrimitiveType[] VALUES = values(); - public static PrimitiveType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PrimitiveType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -267,14 +230,11 @@ private PrimitiveType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1.FieldType.PrimitiveType) } - public interface EnumTypeOrBuilder - extends + public interface EnumTypeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.FieldType.EnumType) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The set of allowed values for this enum.
      *
@@ -287,14 +247,11 @@ public interface EnumTypeOrBuilder
      * `RenameTagTemplateFieldEnumValue` method.
      * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; */ - java.util.List + java.util.List getAllowedValuesList(); /** - * - * *
      * The set of allowed values for this enum.
      *
@@ -307,13 +264,10 @@ public interface EnumTypeOrBuilder
      * `RenameTagTemplateFieldEnumValue` method.
      * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; */ com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue getAllowedValues(int index); /** - * - * *
      * The set of allowed values for this enum.
      *
@@ -326,13 +280,10 @@ public interface EnumTypeOrBuilder
      * `RenameTagTemplateFieldEnumValue` method.
      * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; */ int getAllowedValuesCount(); /** - * - * *
      * The set of allowed values for this enum.
      *
@@ -345,14 +296,11 @@ public interface EnumTypeOrBuilder
      * `RenameTagTemplateFieldEnumValue` method.
      * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; */ - java.util.List + java.util.List getAllowedValuesOrBuilderList(); /** - * - * *
      * The set of allowed values for this enum.
      *
@@ -365,56 +313,52 @@ public interface EnumTypeOrBuilder
      * `RenameTagTemplateFieldEnumValue` method.
      * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; */ com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder getAllowedValuesOrBuilder( int index); } - /** Protobuf type {@code google.cloud.datacatalog.v1.FieldType.EnumType} */ - public static final class EnumType extends com.google.protobuf.GeneratedMessageV3 - implements + /** + * Protobuf type {@code google.cloud.datacatalog.v1.FieldType.EnumType} + */ + public static final class EnumType extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.FieldType.EnumType) EnumTypeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use EnumType.newBuilder() to construct. private EnumType(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private EnumType() { allowedValues_ = 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 EnumType(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.Tags - .internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Tags - .internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.FieldType.EnumType.class, - com.google.cloud.datacatalog.v1.FieldType.EnumType.Builder.class); + com.google.cloud.datacatalog.v1.FieldType.EnumType.class, com.google.cloud.datacatalog.v1.FieldType.EnumType.Builder.class); } - public interface EnumValueOrBuilder - extends + public interface EnumValueOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Required. The display name of the enum value. Must not be an empty
        * string.
@@ -425,13 +369,10 @@ public interface EnumValueOrBuilder
        * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
        * Required. The display name of the enum value. Must not be an empty
        * string.
@@ -442,54 +383,51 @@ public interface EnumValueOrBuilder
        * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); } - /** Protobuf type {@code google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue} */ - public static final class EnumValue extends com.google.protobuf.GeneratedMessageV3 - implements + /** + * Protobuf type {@code google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue} + */ + public static final class EnumValue extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue) EnumValueOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use EnumValue.newBuilder() to construct. private EnumValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private EnumValue() { displayName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new EnumValue(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.Tags - .internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Tags - .internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.class, - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder.class); + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.class, com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
        * Required. The display name of the enum value. Must not be an empty
        * string.
@@ -500,7 +438,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -509,15 +446,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; } } /** - * - * *
        * Required. The display name of the enum value. Must not be an empty
        * string.
@@ -528,15 +464,16 @@ public java.lang.String getDisplayName() {
        * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -545,7 +482,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -557,7 +493,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -581,15 +518,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue other = - (com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue) obj; + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue other = (com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue) obj; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -609,94 +546,89 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -705,34 +637,36 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue) com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.Tags - .internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Tags - .internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.class, - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder.class); + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.class, com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -742,14 +676,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.Tags - .internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_descriptor; } @java.lang.Override - public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue - getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue getDefaultInstanceForType() { return com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.getDefaultInstance(); } @@ -764,17 +697,13 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue build() { @java.lang.Override public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue buildPartial() { - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue result = - new com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue result = new com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue result) { + private void buildPartial0(com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.displayName_ = displayName_; @@ -785,52 +714,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.datacatalog.v1.FieldType.EnumType.EnumValue) { - return mergeFrom((com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue) other); + return mergeFrom((com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue other) { - if (other - == com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue other) { + if (other == com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.getDefaultInstance()) return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -862,19 +785,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -884,13 +805,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object displayName_ = ""; /** - * - * *
          * Required. The display name of the enum value. Must not be an empty
          * string.
@@ -901,13 +819,13 @@ public Builder mergeFrom(
          * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -916,8 +834,6 @@ public java.lang.String getDisplayName() { } } /** - * - * *
          * Required. The display name of the enum value. Must not be an empty
          * string.
@@ -928,14 +844,15 @@ public java.lang.String getDisplayName() {
          * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -943,8 +860,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
          * Required. The display name of the enum value. Must not be an empty
          * string.
@@ -955,22 +870,18 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
          * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
          * Required. The display name of the enum value. Must not be an empty
          * string.
@@ -981,7 +892,6 @@ public Builder setDisplayName(java.lang.String value) {
          * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -991,8 +901,6 @@ public Builder clearDisplayName() { return this; } /** - * - * *
          * Required. The display name of the enum value. Must not be an empty
          * string.
@@ -1003,21 +911,18 @@ public Builder clearDisplayName() {
          * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1030,44 +935,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue) - private static final com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue - DEFAULT_INSTANCE; - + private static final com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue(); } - public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue - getDefaultInstance() { + public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EnumValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EnumValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1079,20 +981,16 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue - getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int ALLOWED_VALUES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private java.util.List - allowedValues_; + private java.util.List allowedValues_; /** - * - * *
      * The set of allowed values for this enum.
      *
@@ -1105,17 +1003,13 @@ public com.google.protobuf.Parser getParserForType() {
      * `RenameTagTemplateFieldEnumValue` method.
      * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; */ @java.lang.Override - public java.util.List - getAllowedValuesList() { + public java.util.List getAllowedValuesList() { return allowedValues_; } /** - * - * *
      * The set of allowed values for this enum.
      *
@@ -1128,18 +1022,14 @@ public com.google.protobuf.Parser getParserForType() {
      * `RenameTagTemplateFieldEnumValue` method.
      * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder> + public java.util.List getAllowedValuesOrBuilderList() { return allowedValues_; } /** - * - * *
      * The set of allowed values for this enum.
      *
@@ -1152,16 +1042,13 @@ public com.google.protobuf.Parser getParserForType() {
      * `RenameTagTemplateFieldEnumValue` method.
      * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; */ @java.lang.Override public int getAllowedValuesCount() { return allowedValues_.size(); } /** - * - * *
      * The set of allowed values for this enum.
      *
@@ -1174,17 +1061,13 @@ public int getAllowedValuesCount() {
      * `RenameTagTemplateFieldEnumValue` method.
      * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue getAllowedValues( - int index) { + public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue getAllowedValues(int index) { return allowedValues_.get(index); } /** - * - * *
      * The set of allowed values for this enum.
      *
@@ -1197,17 +1080,15 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue getAllowedVa
      * `RenameTagTemplateFieldEnumValue` method.
      * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder - getAllowedValuesOrBuilder(int index) { + public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder getAllowedValuesOrBuilder( + int index) { return allowedValues_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1219,7 +1100,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < allowedValues_.size(); i++) { output.writeMessage(1, allowedValues_.get(i)); } @@ -1233,7 +1115,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < allowedValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, allowedValues_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, allowedValues_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1243,15 +1126,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.FieldType.EnumType)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.FieldType.EnumType other = - (com.google.cloud.datacatalog.v1.FieldType.EnumType) obj; + com.google.cloud.datacatalog.v1.FieldType.EnumType other = (com.google.cloud.datacatalog.v1.FieldType.EnumType) obj; - if (!getAllowedValuesList().equals(other.getAllowedValuesList())) return false; + if (!getAllowedValuesList() + .equals(other.getAllowedValuesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1273,93 +1156,89 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.FieldType.EnumType parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.FieldType.EnumType parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.FieldType.EnumType parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.FieldType.EnumType parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.FieldType.EnumType parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.FieldType.EnumType parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.FieldType.EnumType parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.FieldType.EnumType parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.FieldType.EnumType parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.FieldType.EnumType parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.FieldType.EnumType parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.FieldType.EnumType parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.FieldType.EnumType parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.FieldType.EnumType parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.FieldType.EnumType prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1368,34 +1247,36 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.datacatalog.v1.FieldType.EnumType} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.datacatalog.v1.FieldType.EnumType} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.FieldType.EnumType) com.google.cloud.datacatalog.v1.FieldType.EnumTypeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.Tags - .internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Tags - .internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.FieldType.EnumType.class, - com.google.cloud.datacatalog.v1.FieldType.EnumType.Builder.class); + com.google.cloud.datacatalog.v1.FieldType.EnumType.class, com.google.cloud.datacatalog.v1.FieldType.EnumType.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.FieldType.EnumType.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1411,9 +1292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.Tags - .internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_descriptor; } @java.lang.Override @@ -1432,18 +1313,14 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType build() { @java.lang.Override public com.google.cloud.datacatalog.v1.FieldType.EnumType buildPartial() { - com.google.cloud.datacatalog.v1.FieldType.EnumType result = - new com.google.cloud.datacatalog.v1.FieldType.EnumType(this); + com.google.cloud.datacatalog.v1.FieldType.EnumType result = new com.google.cloud.datacatalog.v1.FieldType.EnumType(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.datacatalog.v1.FieldType.EnumType result) { + private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1.FieldType.EnumType result) { if (allowedValuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { allowedValues_ = java.util.Collections.unmodifiableList(allowedValues_); @@ -1463,41 +1340,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.FieldType.EnumType 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.datacatalog.v1.FieldType.EnumType) { - return mergeFrom((com.google.cloud.datacatalog.v1.FieldType.EnumType) other); + return mergeFrom((com.google.cloud.datacatalog.v1.FieldType.EnumType)other); } else { super.mergeFrom(other); return this; @@ -1505,8 +1379,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.FieldType.EnumType other) { - if (other == com.google.cloud.datacatalog.v1.FieldType.EnumType.getDefaultInstance()) - return this; + if (other == com.google.cloud.datacatalog.v1.FieldType.EnumType.getDefaultInstance()) return this; if (allowedValuesBuilder_ == null) { if (!other.allowedValues_.isEmpty()) { if (allowedValues_.isEmpty()) { @@ -1525,10 +1398,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.FieldType.EnumType othe allowedValuesBuilder_ = null; allowedValues_ = other.allowedValues_; bitField0_ = (bitField0_ & ~0x00000001); - allowedValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAllowedValuesFieldBuilder() - : null; + allowedValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAllowedValuesFieldBuilder() : null; } else { allowedValuesBuilder_.addAllMessages(other.allowedValues_); } @@ -1560,27 +1432,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue m = - input.readMessage( - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.parser(), - extensionRegistry); - if (allowedValuesBuilder_ == null) { - ensureAllowedValuesIsMutable(); - allowedValues_.add(m); - } else { - allowedValuesBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue m = + input.readMessage( + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.parser(), + extensionRegistry); + if (allowedValuesBuilder_ == null) { + ensureAllowedValuesIsMutable(); + allowedValues_.add(m); + } else { + allowedValuesBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1590,30 +1460,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - allowedValues_ = java.util.Collections.emptyList(); - + private java.util.List allowedValues_ = + java.util.Collections.emptyList(); private void ensureAllowedValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - allowedValues_ = - new java.util.ArrayList( - allowedValues_); + allowedValues_ = new java.util.ArrayList(allowedValues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue, - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder, - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder> - allowedValuesBuilder_; + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue, com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder, com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder> allowedValuesBuilder_; /** - * - * *
        * The set of allowed values for this enum.
        *
@@ -1626,12 +1487,9 @@ private void ensureAllowedValuesIsMutable() {
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; */ - public java.util.List - getAllowedValuesList() { + public java.util.List getAllowedValuesList() { if (allowedValuesBuilder_ == null) { return java.util.Collections.unmodifiableList(allowedValues_); } else { @@ -1639,8 +1497,6 @@ private void ensureAllowedValuesIsMutable() { } } /** - * - * *
        * The set of allowed values for this enum.
        *
@@ -1653,9 +1509,7 @@ private void ensureAllowedValuesIsMutable() {
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; */ public int getAllowedValuesCount() { if (allowedValuesBuilder_ == null) { @@ -1665,8 +1519,6 @@ public int getAllowedValuesCount() { } } /** - * - * *
        * The set of allowed values for this enum.
        *
@@ -1679,12 +1531,9 @@ public int getAllowedValuesCount() {
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; */ - public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue getAllowedValues( - int index) { + public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue getAllowedValues(int index) { if (allowedValuesBuilder_ == null) { return allowedValues_.get(index); } else { @@ -1692,8 +1541,6 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue getAllowedVa } } /** - * - * *
        * The set of allowed values for this enum.
        *
@@ -1706,9 +1553,7 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue getAllowedVa
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; */ public Builder setAllowedValues( int index, com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue value) { @@ -1725,8 +1570,6 @@ public Builder setAllowedValues( return this; } /** - * - * *
        * The set of allowed values for this enum.
        *
@@ -1739,13 +1582,10 @@ public Builder setAllowedValues(
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; */ public Builder setAllowedValues( - int index, - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder builderForValue) { + int index, com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder builderForValue) { if (allowedValuesBuilder_ == null) { ensureAllowedValuesIsMutable(); allowedValues_.set(index, builderForValue.build()); @@ -1756,8 +1596,6 @@ public Builder setAllowedValues( return this; } /** - * - * *
        * The set of allowed values for this enum.
        *
@@ -1770,12 +1608,9 @@ public Builder setAllowedValues(
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; */ - public Builder addAllowedValues( - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue value) { + public Builder addAllowedValues(com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue value) { if (allowedValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1789,8 +1624,6 @@ public Builder addAllowedValues( return this; } /** - * - * *
        * The set of allowed values for this enum.
        *
@@ -1803,9 +1636,7 @@ public Builder addAllowedValues(
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; */ public Builder addAllowedValues( int index, com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue value) { @@ -1822,8 +1653,6 @@ public Builder addAllowedValues( return this; } /** - * - * *
        * The set of allowed values for this enum.
        *
@@ -1836,9 +1665,7 @@ public Builder addAllowedValues(
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; */ public Builder addAllowedValues( com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder builderForValue) { @@ -1852,8 +1679,6 @@ public Builder addAllowedValues( return this; } /** - * - * *
        * The set of allowed values for this enum.
        *
@@ -1866,13 +1691,10 @@ public Builder addAllowedValues(
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; */ public Builder addAllowedValues( - int index, - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder builderForValue) { + int index, com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder builderForValue) { if (allowedValuesBuilder_ == null) { ensureAllowedValuesIsMutable(); allowedValues_.add(index, builderForValue.build()); @@ -1883,8 +1705,6 @@ public Builder addAllowedValues( return this; } /** - * - * *
        * The set of allowed values for this enum.
        *
@@ -1897,16 +1717,14 @@ public Builder addAllowedValues(
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; */ public Builder addAllAllowedValues( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (allowedValuesBuilder_ == null) { ensureAllowedValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, allowedValues_); onChanged(); } else { allowedValuesBuilder_.addAllMessages(values); @@ -1914,8 +1732,6 @@ public Builder addAllAllowedValues( return this; } /** - * - * *
        * The set of allowed values for this enum.
        *
@@ -1928,9 +1744,7 @@ public Builder addAllAllowedValues(
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; */ public Builder clearAllowedValues() { if (allowedValuesBuilder_ == null) { @@ -1943,8 +1757,6 @@ public Builder clearAllowedValues() { return this; } /** - * - * *
        * The set of allowed values for this enum.
        *
@@ -1957,9 +1769,7 @@ public Builder clearAllowedValues() {
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; */ public Builder removeAllowedValues(int index) { if (allowedValuesBuilder_ == null) { @@ -1972,8 +1782,6 @@ public Builder removeAllowedValues(int index) { return this; } /** - * - * *
        * The set of allowed values for this enum.
        *
@@ -1986,17 +1794,13 @@ public Builder removeAllowedValues(int index) {
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; */ - public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder - getAllowedValuesBuilder(int index) { + public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder getAllowedValuesBuilder( + int index) { return getAllowedValuesFieldBuilder().getBuilder(index); } /** - * - * *
        * The set of allowed values for this enum.
        *
@@ -2009,21 +1813,16 @@ public Builder removeAllowedValues(int index) {
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; */ - public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder - getAllowedValuesOrBuilder(int index) { + public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder getAllowedValuesOrBuilder( + int index) { if (allowedValuesBuilder_ == null) { - return allowedValues_.get(index); - } else { + return allowedValues_.get(index); } else { return allowedValuesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * The set of allowed values for this enum.
        *
@@ -2036,13 +1835,10 @@ public Builder removeAllowedValues(int index) {
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; */ - public java.util.List< - ? extends com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder> - getAllowedValuesOrBuilderList() { + public java.util.List + getAllowedValuesOrBuilderList() { if (allowedValuesBuilder_ != null) { return allowedValuesBuilder_.getMessageOrBuilderList(); } else { @@ -2050,8 +1846,6 @@ public Builder removeAllowedValues(int index) { } } /** - * - * *
        * The set of allowed values for this enum.
        *
@@ -2064,19 +1858,13 @@ public Builder removeAllowedValues(int index) {
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; */ - public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder - addAllowedValuesBuilder() { - return getAllowedValuesFieldBuilder() - .addBuilder( - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.getDefaultInstance()); + public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder addAllowedValuesBuilder() { + return getAllowedValuesFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.getDefaultInstance()); } /** - * - * *
        * The set of allowed values for this enum.
        *
@@ -2089,20 +1877,14 @@ public Builder removeAllowedValues(int index) {
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; */ - public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder - addAllowedValuesBuilder(int index) { - return getAllowedValuesFieldBuilder() - .addBuilder( - index, - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.getDefaultInstance()); + public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder addAllowedValuesBuilder( + int index) { + return getAllowedValuesFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.getDefaultInstance()); } /** - * - * *
        * The set of allowed values for this enum.
        *
@@ -2115,26 +1897,18 @@ public Builder removeAllowedValues(int index) {
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; */ - public java.util.List - getAllowedValuesBuilderList() { + public java.util.List + getAllowedValuesBuilderList() { return getAllowedValuesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue, - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder, - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder> + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue, com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder, com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder> getAllowedValuesFieldBuilder() { if (allowedValuesBuilder_ == null) { - allowedValuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue, - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder, - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder>( + allowedValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue, com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder, com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder>( allowedValues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2143,7 +1917,6 @@ public Builder removeAllowedValues(int index) { } return allowedValuesBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2156,12 +1929,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.FieldType.EnumType) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.FieldType.EnumType) private static final com.google.cloud.datacatalog.v1.FieldType.EnumType DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.FieldType.EnumType(); } @@ -2170,28 +1943,27 @@ public static com.google.cloud.datacatalog.v1.FieldType.EnumType getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EnumType parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EnumType parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2206,22 +1978,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.FieldType.EnumType getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int typeDeclCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object typeDecl_; - public enum TypeDeclCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { PRIMITIVE_TYPE(1), ENUM_TYPE(2), TYPEDECL_NOT_SET(0); private final int value; - private TypeDeclCase(int value) { this.value = value; } @@ -2237,50 +2006,41 @@ public static TypeDeclCase valueOf(int value) { public static TypeDeclCase forNumber(int value) { switch (value) { - case 1: - return PRIMITIVE_TYPE; - case 2: - return ENUM_TYPE; - case 0: - return TYPEDECL_NOT_SET; - default: - return null; + case 1: return PRIMITIVE_TYPE; + case 2: return ENUM_TYPE; + case 0: return TYPEDECL_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TypeDeclCase getTypeDeclCase() { - return TypeDeclCase.forNumber(typeDeclCase_); + public TypeDeclCase + getTypeDeclCase() { + return TypeDeclCase.forNumber( + typeDeclCase_); } public static final int PRIMITIVE_TYPE_FIELD_NUMBER = 1; /** - * - * *
    * Primitive types, such as string, boolean, etc.
    * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; - * * @return Whether the primitiveType field is set. */ public boolean hasPrimitiveType() { return typeDeclCase_ == 1; } /** - * - * *
    * Primitive types, such as string, boolean, etc.
    * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; - * * @return The enum numeric value on the wire for primitiveType. */ public int getPrimitiveTypeValue() { @@ -2290,38 +2050,29 @@ public int getPrimitiveTypeValue() { return 0; } /** - * - * *
    * Primitive types, such as string, boolean, etc.
    * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; - * * @return The primitiveType. */ public com.google.cloud.datacatalog.v1.FieldType.PrimitiveType getPrimitiveType() { if (typeDeclCase_ == 1) { - com.google.cloud.datacatalog.v1.FieldType.PrimitiveType result = - com.google.cloud.datacatalog.v1.FieldType.PrimitiveType.forNumber( - (java.lang.Integer) typeDecl_); - return result == null - ? com.google.cloud.datacatalog.v1.FieldType.PrimitiveType.UNRECOGNIZED - : result; + com.google.cloud.datacatalog.v1.FieldType.PrimitiveType result = com.google.cloud.datacatalog.v1.FieldType.PrimitiveType.forNumber( + (java.lang.Integer) typeDecl_); + return result == null ? com.google.cloud.datacatalog.v1.FieldType.PrimitiveType.UNRECOGNIZED : result; } return com.google.cloud.datacatalog.v1.FieldType.PrimitiveType.PRIMITIVE_TYPE_UNSPECIFIED; } public static final int ENUM_TYPE_FIELD_NUMBER = 2; /** - * - * *
    * An enum type.
    * 
* * .google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2; - * * @return Whether the enumType field is set. */ @java.lang.Override @@ -2329,26 +2080,21 @@ public boolean hasEnumType() { return typeDeclCase_ == 2; } /** - * - * *
    * An enum type.
    * 
* * .google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2; - * * @return The enumType. */ @java.lang.Override public com.google.cloud.datacatalog.v1.FieldType.EnumType getEnumType() { if (typeDeclCase_ == 2) { - return (com.google.cloud.datacatalog.v1.FieldType.EnumType) typeDecl_; + return (com.google.cloud.datacatalog.v1.FieldType.EnumType) typeDecl_; } return com.google.cloud.datacatalog.v1.FieldType.EnumType.getDefaultInstance(); } /** - * - * *
    * An enum type.
    * 
@@ -2358,13 +2104,12 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType getEnumType() { @java.lang.Override public com.google.cloud.datacatalog.v1.FieldType.EnumTypeOrBuilder getEnumTypeOrBuilder() { if (typeDeclCase_ == 2) { - return (com.google.cloud.datacatalog.v1.FieldType.EnumType) typeDecl_; + return (com.google.cloud.datacatalog.v1.FieldType.EnumType) typeDecl_; } return com.google.cloud.datacatalog.v1.FieldType.EnumType.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2376,7 +2121,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (typeDeclCase_ == 1) { output.writeEnum(1, ((java.lang.Integer) typeDecl_)); } @@ -2393,13 +2139,12 @@ public int getSerializedSize() { size = 0; if (typeDeclCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeEnumSize(1, ((java.lang.Integer) typeDecl_)); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, ((java.lang.Integer) typeDecl_)); } if (typeDeclCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.datacatalog.v1.FieldType.EnumType) typeDecl_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.datacatalog.v1.FieldType.EnumType) typeDecl_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2409,21 +2154,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.datacatalog.v1.FieldType)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.FieldType other = - (com.google.cloud.datacatalog.v1.FieldType) obj; + com.google.cloud.datacatalog.v1.FieldType other = (com.google.cloud.datacatalog.v1.FieldType) obj; if (!getTypeDeclCase().equals(other.getTypeDeclCase())) return false; switch (typeDeclCase_) { case 1: - if (getPrimitiveTypeValue() != other.getPrimitiveTypeValue()) return false; + if (getPrimitiveTypeValue() + != other.getPrimitiveTypeValue()) return false; break; case 2: - if (!getEnumType().equals(other.getEnumType())) return false; + if (!getEnumType() + .equals(other.getEnumType())) return false; break; case 0: default: @@ -2456,128 +2202,128 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.FieldType parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.FieldType parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.FieldType parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.FieldType parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.FieldType parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.FieldType parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.FieldType parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.FieldType parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.FieldType parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.FieldType parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.FieldType parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.FieldType parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.FieldType parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.FieldType parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.FieldType prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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.datacatalog.v1.FieldType} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.datacatalog.v1.FieldType} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.FieldType) com.google.cloud.datacatalog.v1.FieldTypeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.Tags - .internal_static_google_cloud_datacatalog_v1_FieldType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_FieldType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Tags - .internal_static_google_cloud_datacatalog_v1_FieldType_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_FieldType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.FieldType.class, - com.google.cloud.datacatalog.v1.FieldType.Builder.class); + com.google.cloud.datacatalog.v1.FieldType.class, com.google.cloud.datacatalog.v1.FieldType.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.FieldType.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2591,9 +2337,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.Tags - .internal_static_google_cloud_datacatalog_v1_FieldType_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_FieldType_descriptor; } @java.lang.Override @@ -2612,11 +2358,8 @@ public com.google.cloud.datacatalog.v1.FieldType build() { @java.lang.Override public com.google.cloud.datacatalog.v1.FieldType buildPartial() { - com.google.cloud.datacatalog.v1.FieldType result = - new com.google.cloud.datacatalog.v1.FieldType(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1.FieldType result = new com.google.cloud.datacatalog.v1.FieldType(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -2629,7 +2372,8 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.FieldType result) { private void buildPartialOneofs(com.google.cloud.datacatalog.v1.FieldType result) { result.typeDeclCase_ = typeDeclCase_; result.typeDecl_ = this.typeDecl_; - if (typeDeclCase_ == 2 && enumTypeBuilder_ != null) { + if (typeDeclCase_ == 2 && + enumTypeBuilder_ != null) { result.typeDecl_ = enumTypeBuilder_.build(); } } @@ -2638,39 +2382,38 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.FieldType result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.FieldType) { - return mergeFrom((com.google.cloud.datacatalog.v1.FieldType) other); + return mergeFrom((com.google.cloud.datacatalog.v1.FieldType)other); } else { super.mergeFrom(other); return this; @@ -2680,20 +2423,17 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.datacatalog.v1.FieldType other) { if (other == com.google.cloud.datacatalog.v1.FieldType.getDefaultInstance()) return this; switch (other.getTypeDeclCase()) { - case PRIMITIVE_TYPE: - { - setPrimitiveTypeValue(other.getPrimitiveTypeValue()); - break; - } - case ENUM_TYPE: - { - mergeEnumType(other.getEnumType()); - break; - } - case TYPEDECL_NOT_SET: - { - break; - } + case PRIMITIVE_TYPE: { + setPrimitiveTypeValue(other.getPrimitiveTypeValue()); + break; + } + case ENUM_TYPE: { + mergeEnumType(other.getEnumType()); + break; + } + case TYPEDECL_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2721,26 +2461,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); - typeDeclCase_ = 1; - typeDecl_ = rawValue; - break; - } // case 8 - case 18: - { - input.readMessage(getEnumTypeFieldBuilder().getBuilder(), extensionRegistry); - typeDeclCase_ = 2; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + int rawValue = input.readEnum(); + typeDeclCase_ = 1; + typeDecl_ = rawValue; + break; + } // case 8 + case 18: { + input.readMessage( + getEnumTypeFieldBuilder().getBuilder(), + extensionRegistry); + typeDeclCase_ = 2; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2750,12 +2489,12 @@ public Builder mergeFrom( } // finally return this; } - private int typeDeclCase_ = 0; private java.lang.Object typeDecl_; - - public TypeDeclCase getTypeDeclCase() { - return TypeDeclCase.forNumber(typeDeclCase_); + public TypeDeclCase + getTypeDeclCase() { + return TypeDeclCase.forNumber( + typeDeclCase_); } public Builder clearTypeDecl() { @@ -2768,14 +2507,11 @@ public Builder clearTypeDecl() { private int bitField0_; /** - * - * *
      * Primitive types, such as string, boolean, etc.
      * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; - * * @return Whether the primitiveType field is set. */ @java.lang.Override @@ -2783,14 +2519,11 @@ public boolean hasPrimitiveType() { return typeDeclCase_ == 1; } /** - * - * *
      * Primitive types, such as string, boolean, etc.
      * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; - * * @return The enum numeric value on the wire for primitiveType. */ @java.lang.Override @@ -2801,14 +2534,11 @@ public int getPrimitiveTypeValue() { return 0; } /** - * - * *
      * Primitive types, such as string, boolean, etc.
      * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; - * * @param value The enum numeric value on the wire for primitiveType to set. * @return This builder for chaining. */ @@ -2819,37 +2549,28 @@ public Builder setPrimitiveTypeValue(int value) { return this; } /** - * - * *
      * Primitive types, such as string, boolean, etc.
      * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; - * * @return The primitiveType. */ @java.lang.Override public com.google.cloud.datacatalog.v1.FieldType.PrimitiveType getPrimitiveType() { if (typeDeclCase_ == 1) { - com.google.cloud.datacatalog.v1.FieldType.PrimitiveType result = - com.google.cloud.datacatalog.v1.FieldType.PrimitiveType.forNumber( - (java.lang.Integer) typeDecl_); - return result == null - ? com.google.cloud.datacatalog.v1.FieldType.PrimitiveType.UNRECOGNIZED - : result; + com.google.cloud.datacatalog.v1.FieldType.PrimitiveType result = com.google.cloud.datacatalog.v1.FieldType.PrimitiveType.forNumber( + (java.lang.Integer) typeDecl_); + return result == null ? com.google.cloud.datacatalog.v1.FieldType.PrimitiveType.UNRECOGNIZED : result; } return com.google.cloud.datacatalog.v1.FieldType.PrimitiveType.PRIMITIVE_TYPE_UNSPECIFIED; } /** - * - * *
      * Primitive types, such as string, boolean, etc.
      * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; - * * @param value The primitiveType to set. * @return This builder for chaining. */ @@ -2863,14 +2584,11 @@ public Builder setPrimitiveType(com.google.cloud.datacatalog.v1.FieldType.Primit return this; } /** - * - * *
      * Primitive types, such as string, boolean, etc.
      * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; - * * @return This builder for chaining. */ public Builder clearPrimitiveType() { @@ -2883,19 +2601,13 @@ public Builder clearPrimitiveType() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.FieldType.EnumType, - com.google.cloud.datacatalog.v1.FieldType.EnumType.Builder, - com.google.cloud.datacatalog.v1.FieldType.EnumTypeOrBuilder> - enumTypeBuilder_; + com.google.cloud.datacatalog.v1.FieldType.EnumType, com.google.cloud.datacatalog.v1.FieldType.EnumType.Builder, com.google.cloud.datacatalog.v1.FieldType.EnumTypeOrBuilder> enumTypeBuilder_; /** - * - * *
      * An enum type.
      * 
* * .google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2; - * * @return Whether the enumType field is set. */ @java.lang.Override @@ -2903,14 +2615,11 @@ public boolean hasEnumType() { return typeDeclCase_ == 2; } /** - * - * *
      * An enum type.
      * 
* * .google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2; - * * @return The enumType. */ @java.lang.Override @@ -2928,8 +2637,6 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType getEnumType() { } } /** - * - * *
      * An enum type.
      * 
@@ -2950,8 +2657,6 @@ public Builder setEnumType(com.google.cloud.datacatalog.v1.FieldType.EnumType va return this; } /** - * - * *
      * An enum type.
      * 
@@ -2970,8 +2675,6 @@ public Builder setEnumType( return this; } /** - * - * *
      * An enum type.
      * 
@@ -2980,14 +2683,10 @@ public Builder setEnumType( */ public Builder mergeEnumType(com.google.cloud.datacatalog.v1.FieldType.EnumType value) { if (enumTypeBuilder_ == null) { - if (typeDeclCase_ == 2 - && typeDecl_ - != com.google.cloud.datacatalog.v1.FieldType.EnumType.getDefaultInstance()) { - typeDecl_ = - com.google.cloud.datacatalog.v1.FieldType.EnumType.newBuilder( - (com.google.cloud.datacatalog.v1.FieldType.EnumType) typeDecl_) - .mergeFrom(value) - .buildPartial(); + if (typeDeclCase_ == 2 && + typeDecl_ != com.google.cloud.datacatalog.v1.FieldType.EnumType.getDefaultInstance()) { + typeDecl_ = com.google.cloud.datacatalog.v1.FieldType.EnumType.newBuilder((com.google.cloud.datacatalog.v1.FieldType.EnumType) typeDecl_) + .mergeFrom(value).buildPartial(); } else { typeDecl_ = value; } @@ -3003,8 +2702,6 @@ public Builder mergeEnumType(com.google.cloud.datacatalog.v1.FieldType.EnumType return this; } /** - * - * *
      * An enum type.
      * 
@@ -3028,8 +2725,6 @@ public Builder clearEnumType() { return this; } /** - * - * *
      * An enum type.
      * 
@@ -3040,8 +2735,6 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType.Builder getEnumTypeBui return getEnumTypeFieldBuilder().getBuilder(); } /** - * - * *
      * An enum type.
      * 
@@ -3060,8 +2753,6 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumTypeOrBuilder getEnumTypeOr } } /** - * - * *
      * An enum type.
      * 
@@ -3069,19 +2760,14 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumTypeOrBuilder getEnumTypeOr * .google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.FieldType.EnumType, - com.google.cloud.datacatalog.v1.FieldType.EnumType.Builder, - com.google.cloud.datacatalog.v1.FieldType.EnumTypeOrBuilder> + com.google.cloud.datacatalog.v1.FieldType.EnumType, com.google.cloud.datacatalog.v1.FieldType.EnumType.Builder, com.google.cloud.datacatalog.v1.FieldType.EnumTypeOrBuilder> getEnumTypeFieldBuilder() { if (enumTypeBuilder_ == null) { if (!(typeDeclCase_ == 2)) { typeDecl_ = com.google.cloud.datacatalog.v1.FieldType.EnumType.getDefaultInstance(); } - enumTypeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.FieldType.EnumType, - com.google.cloud.datacatalog.v1.FieldType.EnumType.Builder, - com.google.cloud.datacatalog.v1.FieldType.EnumTypeOrBuilder>( + enumTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.FieldType.EnumType, com.google.cloud.datacatalog.v1.FieldType.EnumType.Builder, com.google.cloud.datacatalog.v1.FieldType.EnumTypeOrBuilder>( (com.google.cloud.datacatalog.v1.FieldType.EnumType) typeDecl_, getParentForChildren(), isClean()); @@ -3091,9 +2777,9 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumTypeOrBuilder getEnumTypeOr onChanged(); return enumTypeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3103,12 +2789,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.FieldType) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.FieldType) private static final com.google.cloud.datacatalog.v1.FieldType DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.FieldType(); } @@ -3117,27 +2803,27 @@ public static com.google.cloud.datacatalog.v1.FieldType getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FieldType parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FieldType parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3152,4 +2838,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.FieldType getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldTypeOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldTypeOrBuilder.java similarity index 72% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldTypeOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldTypeOrBuilder.java index 3cd8d24a511b..aabcf24892f1 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldTypeOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldTypeOrBuilder.java @@ -1,92 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/tags.proto package com.google.cloud.datacatalog.v1; -public interface FieldTypeOrBuilder - extends +public interface FieldTypeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.FieldType) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Primitive types, such as string, boolean, etc.
    * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; - * * @return Whether the primitiveType field is set. */ boolean hasPrimitiveType(); /** - * - * *
    * Primitive types, such as string, boolean, etc.
    * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; - * * @return The enum numeric value on the wire for primitiveType. */ int getPrimitiveTypeValue(); /** - * - * *
    * Primitive types, such as string, boolean, etc.
    * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; - * * @return The primitiveType. */ com.google.cloud.datacatalog.v1.FieldType.PrimitiveType getPrimitiveType(); /** - * - * *
    * An enum type.
    * 
* * .google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2; - * * @return Whether the enumType field is set. */ boolean hasEnumType(); /** - * - * *
    * An enum type.
    * 
* * .google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2; - * * @return The enumType. */ com.google.cloud.datacatalog.v1.FieldType.EnumType getEnumType(); /** - * - * *
    * An enum type.
    * 
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpec.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpec.java similarity index 67% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpec.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpec.java index 998c7c29ae81..ef17e8f4e85e 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpec.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpec.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Specification that applies to a fileset. Valid only for entries with the
  * 'FILESET' type.
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.FilesetSpec}
  */
-public final class FilesetSpec extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class FilesetSpec extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.FilesetSpec)
     FilesetSpecOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use FilesetSpec.newBuilder() to construct.
   private FilesetSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private FilesetSpec() {}
+  private FilesetSpec() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new FilesetSpec();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_FilesetSpec_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_FilesetSpec_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_FilesetSpec_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_FilesetSpec_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.FilesetSpec.class,
-            com.google.cloud.datacatalog.v1.FilesetSpec.Builder.class);
+            com.google.cloud.datacatalog.v1.FilesetSpec.class, com.google.cloud.datacatalog.v1.FilesetSpec.Builder.class);
   }
 
   public static final int DATAPLEX_FILESET_FIELD_NUMBER = 1;
   private com.google.cloud.datacatalog.v1.DataplexFilesetSpec dataplexFileset_;
   /**
-   *
-   *
    * 
    * Fields specific to a Dataplex fileset and present only in the Dataplex
    * fileset entries.
    * 
* * .google.cloud.datacatalog.v1.DataplexFilesetSpec dataplex_fileset = 1; - * * @return Whether the dataplexFileset field is set. */ @java.lang.Override @@ -80,26 +59,19 @@ public boolean hasDataplexFileset() { return dataplexFileset_ != null; } /** - * - * *
    * Fields specific to a Dataplex fileset and present only in the Dataplex
    * fileset entries.
    * 
* * .google.cloud.datacatalog.v1.DataplexFilesetSpec dataplex_fileset = 1; - * * @return The dataplexFileset. */ @java.lang.Override public com.google.cloud.datacatalog.v1.DataplexFilesetSpec getDataplexFileset() { - return dataplexFileset_ == null - ? com.google.cloud.datacatalog.v1.DataplexFilesetSpec.getDefaultInstance() - : dataplexFileset_; + return dataplexFileset_ == null ? com.google.cloud.datacatalog.v1.DataplexFilesetSpec.getDefaultInstance() : dataplexFileset_; } /** - * - * *
    * Fields specific to a Dataplex fileset and present only in the Dataplex
    * fileset entries.
@@ -108,15 +80,11 @@ public com.google.cloud.datacatalog.v1.DataplexFilesetSpec getDataplexFileset()
    * .google.cloud.datacatalog.v1.DataplexFilesetSpec dataplex_fileset = 1;
    */
   @java.lang.Override
-  public com.google.cloud.datacatalog.v1.DataplexFilesetSpecOrBuilder
-      getDataplexFilesetOrBuilder() {
-    return dataplexFileset_ == null
-        ? com.google.cloud.datacatalog.v1.DataplexFilesetSpec.getDefaultInstance()
-        : dataplexFileset_;
+  public com.google.cloud.datacatalog.v1.DataplexFilesetSpecOrBuilder getDataplexFilesetOrBuilder() {
+    return dataplexFileset_ == null ? com.google.cloud.datacatalog.v1.DataplexFilesetSpec.getDefaultInstance() : dataplexFileset_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -128,7 +96,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (dataplexFileset_ != null) {
       output.writeMessage(1, getDataplexFileset());
     }
@@ -142,7 +111,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (dataplexFileset_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDataplexFileset());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getDataplexFileset());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -152,17 +122,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.datacatalog.v1.FilesetSpec)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1.FilesetSpec other =
-        (com.google.cloud.datacatalog.v1.FilesetSpec) obj;
+    com.google.cloud.datacatalog.v1.FilesetSpec other = (com.google.cloud.datacatalog.v1.FilesetSpec) obj;
 
     if (hasDataplexFileset() != other.hasDataplexFileset()) return false;
     if (hasDataplexFileset()) {
-      if (!getDataplexFileset().equals(other.getDataplexFileset())) return false;
+      if (!getDataplexFileset()
+          .equals(other.getDataplexFileset())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -184,104 +154,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.datacatalog.v1.FilesetSpec parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.datacatalog.v1.FilesetSpec parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.FilesetSpec parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.FilesetSpec parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.FilesetSpec parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.FilesetSpec parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.FilesetSpec parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.FilesetSpec parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1.FilesetSpec parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1.FilesetSpec parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.FilesetSpec parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1.FilesetSpec parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.FilesetSpec parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1.FilesetSpec parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.datacatalog.v1.FilesetSpec prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Specification that applies to a fileset. Valid only for entries with the
    * 'FILESET' type.
@@ -289,32 +254,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.FilesetSpec}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.FilesetSpec)
       com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_FilesetSpec_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_FilesetSpec_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_FilesetSpec_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_FilesetSpec_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.FilesetSpec.class,
-              com.google.cloud.datacatalog.v1.FilesetSpec.Builder.class);
+              com.google.cloud.datacatalog.v1.FilesetSpec.class, com.google.cloud.datacatalog.v1.FilesetSpec.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.FilesetSpec.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -328,9 +294,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_FilesetSpec_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_FilesetSpec_descriptor;
     }
 
     @java.lang.Override
@@ -349,11 +315,8 @@ public com.google.cloud.datacatalog.v1.FilesetSpec build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.FilesetSpec buildPartial() {
-      com.google.cloud.datacatalog.v1.FilesetSpec result =
-          new com.google.cloud.datacatalog.v1.FilesetSpec(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.FilesetSpec result = new com.google.cloud.datacatalog.v1.FilesetSpec(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -361,8 +324,9 @@ public com.google.cloud.datacatalog.v1.FilesetSpec buildPartial() {
     private void buildPartial0(com.google.cloud.datacatalog.v1.FilesetSpec result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.dataplexFileset_ =
-            dataplexFilesetBuilder_ == null ? dataplexFileset_ : dataplexFilesetBuilder_.build();
+        result.dataplexFileset_ = dataplexFilesetBuilder_ == null
+            ? dataplexFileset_
+            : dataplexFilesetBuilder_.build();
       }
     }
 
@@ -370,39 +334,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.FilesetSpec result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.FilesetSpec) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.FilesetSpec) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.FilesetSpec)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -440,19 +403,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getDataplexFilesetFieldBuilder().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(
+                  getDataplexFilesetFieldBuilder().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) {
@@ -462,54 +425,40 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.datacatalog.v1.DataplexFilesetSpec dataplexFileset_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.DataplexFilesetSpec,
-            com.google.cloud.datacatalog.v1.DataplexFilesetSpec.Builder,
-            com.google.cloud.datacatalog.v1.DataplexFilesetSpecOrBuilder>
-        dataplexFilesetBuilder_;
+        com.google.cloud.datacatalog.v1.DataplexFilesetSpec, com.google.cloud.datacatalog.v1.DataplexFilesetSpec.Builder, com.google.cloud.datacatalog.v1.DataplexFilesetSpecOrBuilder> dataplexFilesetBuilder_;
     /**
-     *
-     *
      * 
      * Fields specific to a Dataplex fileset and present only in the Dataplex
      * fileset entries.
      * 
* * .google.cloud.datacatalog.v1.DataplexFilesetSpec dataplex_fileset = 1; - * * @return Whether the dataplexFileset field is set. */ public boolean hasDataplexFileset() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Fields specific to a Dataplex fileset and present only in the Dataplex
      * fileset entries.
      * 
* * .google.cloud.datacatalog.v1.DataplexFilesetSpec dataplex_fileset = 1; - * * @return The dataplexFileset. */ public com.google.cloud.datacatalog.v1.DataplexFilesetSpec getDataplexFileset() { if (dataplexFilesetBuilder_ == null) { - return dataplexFileset_ == null - ? com.google.cloud.datacatalog.v1.DataplexFilesetSpec.getDefaultInstance() - : dataplexFileset_; + return dataplexFileset_ == null ? com.google.cloud.datacatalog.v1.DataplexFilesetSpec.getDefaultInstance() : dataplexFileset_; } else { return dataplexFilesetBuilder_.getMessage(); } } /** - * - * *
      * Fields specific to a Dataplex fileset and present only in the Dataplex
      * fileset entries.
@@ -531,8 +480,6 @@ public Builder setDataplexFileset(com.google.cloud.datacatalog.v1.DataplexFilese
       return this;
     }
     /**
-     *
-     *
      * 
      * Fields specific to a Dataplex fileset and present only in the Dataplex
      * fileset entries.
@@ -552,8 +499,6 @@ public Builder setDataplexFileset(
       return this;
     }
     /**
-     *
-     *
      * 
      * Fields specific to a Dataplex fileset and present only in the Dataplex
      * fileset entries.
@@ -563,10 +508,9 @@ public Builder setDataplexFileset(
      */
     public Builder mergeDataplexFileset(com.google.cloud.datacatalog.v1.DataplexFilesetSpec value) {
       if (dataplexFilesetBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && dataplexFileset_ != null
-            && dataplexFileset_
-                != com.google.cloud.datacatalog.v1.DataplexFilesetSpec.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          dataplexFileset_ != null &&
+          dataplexFileset_ != com.google.cloud.datacatalog.v1.DataplexFilesetSpec.getDefaultInstance()) {
           getDataplexFilesetBuilder().mergeFrom(value);
         } else {
           dataplexFileset_ = value;
@@ -579,8 +523,6 @@ public Builder mergeDataplexFileset(com.google.cloud.datacatalog.v1.DataplexFile
       return this;
     }
     /**
-     *
-     *
      * 
      * Fields specific to a Dataplex fileset and present only in the Dataplex
      * fileset entries.
@@ -599,8 +541,6 @@ public Builder clearDataplexFileset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Fields specific to a Dataplex fileset and present only in the Dataplex
      * fileset entries.
@@ -614,8 +554,6 @@ public com.google.cloud.datacatalog.v1.DataplexFilesetSpec.Builder getDataplexFi
       return getDataplexFilesetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Fields specific to a Dataplex fileset and present only in the Dataplex
      * fileset entries.
@@ -623,19 +561,15 @@ public com.google.cloud.datacatalog.v1.DataplexFilesetSpec.Builder getDataplexFi
      *
      * .google.cloud.datacatalog.v1.DataplexFilesetSpec dataplex_fileset = 1;
      */
-    public com.google.cloud.datacatalog.v1.DataplexFilesetSpecOrBuilder
-        getDataplexFilesetOrBuilder() {
+    public com.google.cloud.datacatalog.v1.DataplexFilesetSpecOrBuilder getDataplexFilesetOrBuilder() {
       if (dataplexFilesetBuilder_ != null) {
         return dataplexFilesetBuilder_.getMessageOrBuilder();
       } else {
-        return dataplexFileset_ == null
-            ? com.google.cloud.datacatalog.v1.DataplexFilesetSpec.getDefaultInstance()
-            : dataplexFileset_;
+        return dataplexFileset_ == null ?
+            com.google.cloud.datacatalog.v1.DataplexFilesetSpec.getDefaultInstance() : dataplexFileset_;
       }
     }
     /**
-     *
-     *
      * 
      * Fields specific to a Dataplex fileset and present only in the Dataplex
      * fileset entries.
@@ -644,24 +578,21 @@ public com.google.cloud.datacatalog.v1.DataplexFilesetSpec.Builder getDataplexFi
      * .google.cloud.datacatalog.v1.DataplexFilesetSpec dataplex_fileset = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.DataplexFilesetSpec,
-            com.google.cloud.datacatalog.v1.DataplexFilesetSpec.Builder,
-            com.google.cloud.datacatalog.v1.DataplexFilesetSpecOrBuilder>
+        com.google.cloud.datacatalog.v1.DataplexFilesetSpec, com.google.cloud.datacatalog.v1.DataplexFilesetSpec.Builder, com.google.cloud.datacatalog.v1.DataplexFilesetSpecOrBuilder> 
         getDataplexFilesetFieldBuilder() {
       if (dataplexFilesetBuilder_ == null) {
-        dataplexFilesetBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.datacatalog.v1.DataplexFilesetSpec,
-                com.google.cloud.datacatalog.v1.DataplexFilesetSpec.Builder,
-                com.google.cloud.datacatalog.v1.DataplexFilesetSpecOrBuilder>(
-                getDataplexFileset(), getParentForChildren(), isClean());
+        dataplexFilesetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.datacatalog.v1.DataplexFilesetSpec, com.google.cloud.datacatalog.v1.DataplexFilesetSpec.Builder, com.google.cloud.datacatalog.v1.DataplexFilesetSpecOrBuilder>(
+                getDataplexFileset(),
+                getParentForChildren(),
+                isClean());
         dataplexFileset_ = null;
       }
       return dataplexFilesetBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -671,12 +602,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.FilesetSpec)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.FilesetSpec)
   private static final com.google.cloud.datacatalog.v1.FilesetSpec DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.FilesetSpec();
   }
@@ -685,27 +616,27 @@ public static com.google.cloud.datacatalog.v1.FilesetSpec getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public FilesetSpec parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public FilesetSpec parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -720,4 +651,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1.FilesetSpec getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpecOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpecOrBuilder.java
similarity index 64%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpecOrBuilder.java
rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpecOrBuilder.java
index b53fd9ae7427..897a46af28aa 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpecOrBuilder.java
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpecOrBuilder.java
@@ -1,57 +1,33 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
-public interface FilesetSpecOrBuilder
-    extends
+public interface FilesetSpecOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.FilesetSpec)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Fields specific to a Dataplex fileset and present only in the Dataplex
    * fileset entries.
    * 
* * .google.cloud.datacatalog.v1.DataplexFilesetSpec dataplex_fileset = 1; - * * @return Whether the dataplexFileset field is set. */ boolean hasDataplexFileset(); /** - * - * *
    * Fields specific to a Dataplex fileset and present only in the Dataplex
    * fileset entries.
    * 
* * .google.cloud.datacatalog.v1.DataplexFilesetSpec dataplex_fileset = 1; - * * @return The dataplexFileset. */ com.google.cloud.datacatalog.v1.DataplexFilesetSpec getDataplexFileset(); /** - * - * *
    * Fields specific to a Dataplex fileset and present only in the Dataplex
    * fileset entries.
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpec.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpec.java
similarity index 65%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpec.java
rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpec.java
index 7be75317d2da..72140dd88d6b 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpec.java
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpec.java
@@ -1,80 +1,57 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/gcs_fileset_spec.proto
 
 package com.google.cloud.datacatalog.v1;
 
 /**
- *
- *
  * 
  * Specification of a single file in Cloud Storage.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.GcsFileSpec} */ -public final class GcsFileSpec extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GcsFileSpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.GcsFileSpec) GcsFileSpecOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GcsFileSpec.newBuilder() to construct. private GcsFileSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GcsFileSpec() { filePath_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GcsFileSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass - .internal_static_google_cloud_datacatalog_v1_GcsFileSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1_GcsFileSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass - .internal_static_google_cloud_datacatalog_v1_GcsFileSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1_GcsFileSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.GcsFileSpec.class, - com.google.cloud.datacatalog.v1.GcsFileSpec.Builder.class); + com.google.cloud.datacatalog.v1.GcsFileSpec.class, com.google.cloud.datacatalog.v1.GcsFileSpec.Builder.class); } public static final int FILE_PATH_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object filePath_ = ""; /** - * - * *
    * Required. Full file path. Example: `gs://bucket_name/a/b.txt`.
    * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filePath. */ @java.lang.Override @@ -83,29 +60,29 @@ public java.lang.String getFilePath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filePath_ = s; return s; } } /** - * - * *
    * Required. Full file path. Example: `gs://bucket_name/a/b.txt`.
    * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filePath. */ @java.lang.Override - public com.google.protobuf.ByteString getFilePathBytes() { + public com.google.protobuf.ByteString + getFilePathBytes() { java.lang.Object ref = filePath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filePath_ = b; return b; } else { @@ -116,17 +93,12 @@ public com.google.protobuf.ByteString getFilePathBytes() { public static final int GCS_TIMESTAMPS_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1.SystemTimestamps gcsTimestamps_; /** - * - * *
    * Output only. Creation, modification, and expiration timestamps of a Cloud
    * Storage file.
    * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the gcsTimestamps field is set. */ @java.lang.Override @@ -134,55 +106,39 @@ public boolean hasGcsTimestamps() { return gcsTimestamps_ != null; } /** - * - * *
    * Output only. Creation, modification, and expiration timestamps of a Cloud
    * Storage file.
    * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The gcsTimestamps. */ @java.lang.Override public com.google.cloud.datacatalog.v1.SystemTimestamps getGcsTimestamps() { - return gcsTimestamps_ == null - ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() - : gcsTimestamps_; + return gcsTimestamps_ == null ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() : gcsTimestamps_; } /** - * - * *
    * Output only. Creation, modification, and expiration timestamps of a Cloud
    * Storage file.
    * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getGcsTimestampsOrBuilder() { - return gcsTimestamps_ == null - ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() - : gcsTimestamps_; + return gcsTimestamps_ == null ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() : gcsTimestamps_; } public static final int SIZE_BYTES_FIELD_NUMBER = 4; private long sizeBytes_ = 0L; /** - * - * *
    * Output only. File size in bytes.
    * 
* * int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ @java.lang.Override @@ -191,7 +147,6 @@ public long getSizeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,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(filePath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filePath_); } @@ -226,10 +182,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, filePath_); } if (gcsTimestamps_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getGcsTimestamps()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getGcsTimestamps()); } if (sizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, sizeBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, sizeBytes_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -239,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.datacatalog.v1.GcsFileSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.GcsFileSpec other = - (com.google.cloud.datacatalog.v1.GcsFileSpec) obj; + com.google.cloud.datacatalog.v1.GcsFileSpec other = (com.google.cloud.datacatalog.v1.GcsFileSpec) obj; - if (!getFilePath().equals(other.getFilePath())) return false; + if (!getFilePath() + .equals(other.getFilePath())) return false; if (hasGcsTimestamps() != other.hasGcsTimestamps()) return false; if (hasGcsTimestamps()) { - if (!getGcsTimestamps().equals(other.getGcsTimestamps())) return false; + if (!getGcsTimestamps() + .equals(other.getGcsTimestamps())) return false; } - if (getSizeBytes() != other.getSizeBytes()) return false; + if (getSizeBytes() + != other.getSizeBytes()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -271,142 +231,139 @@ public int hashCode() { hash = (53 * hash) + getGcsTimestamps().hashCode(); } hash = (37 * hash) + SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSizeBytes()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.datacatalog.v1.GcsFileSpec parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.GcsFileSpec parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.GcsFileSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GcsFileSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.GcsFileSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GcsFileSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.GcsFileSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GcsFileSpec parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.GcsFileSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GcsFileSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.GcsFileSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.GcsFileSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GcsFileSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.GcsFileSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.GcsFileSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specification of a single file in Cloud Storage.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.GcsFileSpec} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.GcsFileSpec) com.google.cloud.datacatalog.v1.GcsFileSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass - .internal_static_google_cloud_datacatalog_v1_GcsFileSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1_GcsFileSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass - .internal_static_google_cloud_datacatalog_v1_GcsFileSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1_GcsFileSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.GcsFileSpec.class, - com.google.cloud.datacatalog.v1.GcsFileSpec.Builder.class); + com.google.cloud.datacatalog.v1.GcsFileSpec.class, com.google.cloud.datacatalog.v1.GcsFileSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.GcsFileSpec.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -422,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass - .internal_static_google_cloud_datacatalog_v1_GcsFileSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1_GcsFileSpec_descriptor; } @java.lang.Override @@ -443,11 +400,8 @@ public com.google.cloud.datacatalog.v1.GcsFileSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1.GcsFileSpec buildPartial() { - com.google.cloud.datacatalog.v1.GcsFileSpec result = - new com.google.cloud.datacatalog.v1.GcsFileSpec(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1.GcsFileSpec result = new com.google.cloud.datacatalog.v1.GcsFileSpec(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -458,8 +412,9 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.GcsFileSpec result) { result.filePath_ = filePath_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.gcsTimestamps_ = - gcsTimestampsBuilder_ == null ? gcsTimestamps_ : gcsTimestampsBuilder_.build(); + result.gcsTimestamps_ = gcsTimestampsBuilder_ == null + ? gcsTimestamps_ + : gcsTimestampsBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.sizeBytes_ = sizeBytes_; @@ -470,39 +425,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.GcsFileSpec result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.GcsFileSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1.GcsFileSpec) other); + return mergeFrom((com.google.cloud.datacatalog.v1.GcsFileSpec)other); } else { super.mergeFrom(other); return this; @@ -548,31 +502,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - filePath_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getGcsTimestampsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 32: - { - sizeBytes_ = input.readInt64(); - bitField0_ |= 0x00000004; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + filePath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getGcsTimestampsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 32: { + sizeBytes_ = input.readInt64(); + 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) { @@ -582,25 +534,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object filePath_ = ""; /** - * - * *
      * Required. Full file path. Example: `gs://bucket_name/a/b.txt`.
      * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filePath. */ public java.lang.String getFilePath() { java.lang.Object ref = filePath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filePath_ = s; return s; @@ -609,21 +558,20 @@ public java.lang.String getFilePath() { } } /** - * - * *
      * Required. Full file path. Example: `gs://bucket_name/a/b.txt`.
      * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filePath. */ - public com.google.protobuf.ByteString getFilePathBytes() { + public com.google.protobuf.ByteString + getFilePathBytes() { java.lang.Object ref = filePath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filePath_ = b; return b; } else { @@ -631,35 +579,28 @@ public com.google.protobuf.ByteString getFilePathBytes() { } } /** - * - * *
      * Required. Full file path. Example: `gs://bucket_name/a/b.txt`.
      * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The filePath to set. * @return This builder for chaining. */ - public Builder setFilePath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilePath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filePath_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Full file path. Example: `gs://bucket_name/a/b.txt`.
      * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearFilePath() { @@ -669,21 +610,17 @@ public Builder clearFilePath() { return this; } /** - * - * *
      * Required. Full file path. Example: `gs://bucket_name/a/b.txt`.
      * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for filePath to set. * @return This builder for chaining. */ - public Builder setFilePathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilePathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filePath_ = value; bitField0_ |= 0x00000001; @@ -693,61 +630,42 @@ public Builder setFilePathBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datacatalog.v1.SystemTimestamps gcsTimestamps_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SystemTimestamps, - com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, - com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder> - gcsTimestampsBuilder_; + com.google.cloud.datacatalog.v1.SystemTimestamps, com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder> gcsTimestampsBuilder_; /** - * - * *
      * Output only. Creation, modification, and expiration timestamps of a Cloud
      * Storage file.
      * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the gcsTimestamps field is set. */ public boolean hasGcsTimestamps() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. Creation, modification, and expiration timestamps of a Cloud
      * Storage file.
      * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The gcsTimestamps. */ public com.google.cloud.datacatalog.v1.SystemTimestamps getGcsTimestamps() { if (gcsTimestampsBuilder_ == null) { - return gcsTimestamps_ == null - ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() - : gcsTimestamps_; + return gcsTimestamps_ == null ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() : gcsTimestamps_; } else { return gcsTimestampsBuilder_.getMessage(); } } /** - * - * *
      * Output only. Creation, modification, and expiration timestamps of a Cloud
      * Storage file.
      * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setGcsTimestamps(com.google.cloud.datacatalog.v1.SystemTimestamps value) { if (gcsTimestampsBuilder_ == null) { @@ -763,16 +681,12 @@ public Builder setGcsTimestamps(com.google.cloud.datacatalog.v1.SystemTimestamps return this; } /** - * - * *
      * Output only. Creation, modification, and expiration timestamps of a Cloud
      * Storage file.
      * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setGcsTimestamps( com.google.cloud.datacatalog.v1.SystemTimestamps.Builder builderForValue) { @@ -786,23 +700,18 @@ public Builder setGcsTimestamps( return this; } /** - * - * *
      * Output only. Creation, modification, and expiration timestamps of a Cloud
      * Storage file.
      * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeGcsTimestamps(com.google.cloud.datacatalog.v1.SystemTimestamps value) { if (gcsTimestampsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && gcsTimestamps_ != null - && gcsTimestamps_ - != com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + gcsTimestamps_ != null && + gcsTimestamps_ != com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance()) { getGcsTimestampsBuilder().mergeFrom(value); } else { gcsTimestamps_ = value; @@ -815,16 +724,12 @@ public Builder mergeGcsTimestamps(com.google.cloud.datacatalog.v1.SystemTimestam return this; } /** - * - * *
      * Output only. Creation, modification, and expiration timestamps of a Cloud
      * Storage file.
      * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearGcsTimestamps() { bitField0_ = (bitField0_ & ~0x00000002); @@ -837,16 +742,12 @@ public Builder clearGcsTimestamps() { return this; } /** - * - * *
      * Output only. Creation, modification, and expiration timestamps of a Cloud
      * Storage file.
      * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datacatalog.v1.SystemTimestamps.Builder getGcsTimestampsBuilder() { bitField0_ |= 0x00000002; @@ -854,65 +755,50 @@ public com.google.cloud.datacatalog.v1.SystemTimestamps.Builder getGcsTimestamps return getGcsTimestampsFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Creation, modification, and expiration timestamps of a Cloud
      * Storage file.
      * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getGcsTimestampsOrBuilder() { if (gcsTimestampsBuilder_ != null) { return gcsTimestampsBuilder_.getMessageOrBuilder(); } else { - return gcsTimestamps_ == null - ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() - : gcsTimestamps_; + return gcsTimestamps_ == null ? + com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() : gcsTimestamps_; } } /** - * - * *
      * Output only. Creation, modification, and expiration timestamps of a Cloud
      * Storage file.
      * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SystemTimestamps, - com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, - com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder> + com.google.cloud.datacatalog.v1.SystemTimestamps, com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder> getGcsTimestampsFieldBuilder() { if (gcsTimestampsBuilder_ == null) { - gcsTimestampsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SystemTimestamps, - com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, - com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder>( - getGcsTimestamps(), getParentForChildren(), isClean()); + gcsTimestampsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.SystemTimestamps, com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder>( + getGcsTimestamps(), + getParentForChildren(), + isClean()); gcsTimestamps_ = null; } return gcsTimestampsBuilder_; } - private long sizeBytes_; + private long sizeBytes_ ; /** - * - * *
      * Output only. File size in bytes.
      * 
* * int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ @java.lang.Override @@ -920,14 +806,11 @@ public long getSizeBytes() { return sizeBytes_; } /** - * - * *
      * Output only. File size in bytes.
      * 
* * int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The sizeBytes to set. * @return This builder for chaining. */ @@ -939,14 +822,11 @@ public Builder setSizeBytes(long value) { return this; } /** - * - * *
      * Output only. File size in bytes.
      * 
* * int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSizeBytes() { @@ -955,9 +835,9 @@ public Builder clearSizeBytes() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -967,12 +847,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.GcsFileSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.GcsFileSpec) private static final com.google.cloud.datacatalog.v1.GcsFileSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.GcsFileSpec(); } @@ -981,27 +861,27 @@ public static com.google.cloud.datacatalog.v1.GcsFileSpec getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsFileSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsFileSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1016,4 +896,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.GcsFileSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpecOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpecOrBuilder.java similarity index 58% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpecOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpecOrBuilder.java index 0eaa3ac6200f..4a97a08a6a08 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpecOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpecOrBuilder.java @@ -1,106 +1,68 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/gcs_fileset_spec.proto package com.google.cloud.datacatalog.v1; -public interface GcsFileSpecOrBuilder - extends +public interface GcsFileSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.GcsFileSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Full file path. Example: `gs://bucket_name/a/b.txt`.
    * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filePath. */ java.lang.String getFilePath(); /** - * - * *
    * Required. Full file path. Example: `gs://bucket_name/a/b.txt`.
    * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filePath. */ - com.google.protobuf.ByteString getFilePathBytes(); + com.google.protobuf.ByteString + getFilePathBytes(); /** - * - * *
    * Output only. Creation, modification, and expiration timestamps of a Cloud
    * Storage file.
    * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the gcsTimestamps field is set. */ boolean hasGcsTimestamps(); /** - * - * *
    * Output only. Creation, modification, and expiration timestamps of a Cloud
    * Storage file.
    * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The gcsTimestamps. */ com.google.cloud.datacatalog.v1.SystemTimestamps getGcsTimestamps(); /** - * - * *
    * Output only. Creation, modification, and expiration timestamps of a Cloud
    * Storage file.
    * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getGcsTimestampsOrBuilder(); /** - * - * *
    * Output only. File size in bytes.
    * 
* * int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ long getSizeBytes(); diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpec.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpec.java similarity index 78% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpec.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpec.java index a3559ee7eb47..a270b9ef2105 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpec.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpec.java @@ -1,76 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/gcs_fileset_spec.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Describes a Cloud Storage fileset entry.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.GcsFilesetSpec} */ -public final class GcsFilesetSpec extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GcsFilesetSpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.GcsFilesetSpec) GcsFilesetSpecOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GcsFilesetSpec.newBuilder() to construct. private GcsFilesetSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GcsFilesetSpec() { - filePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); + filePatterns_ = + com.google.protobuf.LazyStringArrayList.emptyList(); sampleGcsFileSpecs_ = 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 GcsFilesetSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass - .internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass - .internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.GcsFilesetSpec.class, - com.google.cloud.datacatalog.v1.GcsFilesetSpec.Builder.class); + com.google.cloud.datacatalog.v1.GcsFilesetSpec.class, com.google.cloud.datacatalog.v1.GcsFilesetSpec.Builder.class); } public static final int FILE_PATTERNS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList filePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    *
@@ -104,15 +83,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the filePatterns. */ - public com.google.protobuf.ProtocolStringList getFilePatternsList() { + public com.google.protobuf.ProtocolStringList + getFilePatternsList() { return filePatterns_; } /** - * - * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    *
@@ -146,15 +123,12 @@ public com.google.protobuf.ProtocolStringList getFilePatternsList() {
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of filePatterns. */ public int getFilePatternsCount() { return filePatterns_.size(); } /** - * - * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    *
@@ -188,7 +162,6 @@ public int getFilePatternsCount() {
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The filePatterns at the given index. */ @@ -196,8 +169,6 @@ public java.lang.String getFilePatterns(int index) { return filePatterns_.get(index); } /** - * - * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    *
@@ -231,94 +202,73 @@ public java.lang.String getFilePatterns(int index) {
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the filePatterns at the given index. */ - public com.google.protobuf.ByteString getFilePatternsBytes(int index) { + public com.google.protobuf.ByteString + getFilePatternsBytes(int index) { return filePatterns_.getByteString(index); } public static final int SAMPLE_GCS_FILE_SPECS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List sampleGcsFileSpecs_; /** - * - * *
    * Output only. Sample files contained in this fileset, not all files
    * contained in this fileset are represented here.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getSampleGcsFileSpecsList() { return sampleGcsFileSpecs_; } /** - * - * *
    * Output only. Sample files contained in this fileset, not all files
    * contained in this fileset are represented here.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getSampleGcsFileSpecsOrBuilderList() { return sampleGcsFileSpecs_; } /** - * - * *
    * Output only. Sample files contained in this fileset, not all files
    * contained in this fileset are represented here.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getSampleGcsFileSpecsCount() { return sampleGcsFileSpecs_.size(); } /** - * - * *
    * Output only. Sample files contained in this fileset, not all files
    * contained in this fileset are represented here.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.datacatalog.v1.GcsFileSpec getSampleGcsFileSpecs(int index) { return sampleGcsFileSpecs_.get(index); } /** - * - * *
    * Output only. Sample files contained in this fileset, not all files
    * contained in this fileset are represented here.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.datacatalog.v1.GcsFileSpecOrBuilder getSampleGcsFileSpecsOrBuilder( @@ -327,7 +277,6 @@ public com.google.cloud.datacatalog.v1.GcsFileSpecOrBuilder getSampleGcsFileSpec } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -339,7 +288,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < filePatterns_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filePatterns_.getRaw(i)); } @@ -364,8 +314,8 @@ public int getSerializedSize() { size += 1 * getFilePatternsList().size(); } for (int i = 0; i < sampleGcsFileSpecs_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, sampleGcsFileSpecs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, sampleGcsFileSpecs_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -375,16 +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.datacatalog.v1.GcsFilesetSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.GcsFilesetSpec other = - (com.google.cloud.datacatalog.v1.GcsFilesetSpec) obj; + com.google.cloud.datacatalog.v1.GcsFilesetSpec other = (com.google.cloud.datacatalog.v1.GcsFilesetSpec) obj; - if (!getFilePatternsList().equals(other.getFilePatternsList())) return false; - if (!getSampleGcsFileSpecsList().equals(other.getSampleGcsFileSpecsList())) return false; + if (!getFilePatternsList() + .equals(other.getFilePatternsList())) return false; + if (!getSampleGcsFileSpecsList() + .equals(other.getSampleGcsFileSpecsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -409,141 +360,138 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.GcsFilesetSpec parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.GcsFilesetSpec parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.GcsFilesetSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GcsFilesetSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.GcsFilesetSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GcsFilesetSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.GcsFilesetSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GcsFilesetSpec parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.GcsFilesetSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GcsFilesetSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.GcsFilesetSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.GcsFilesetSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GcsFilesetSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.GcsFilesetSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.GcsFilesetSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 a Cloud Storage fileset entry.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.GcsFilesetSpec} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.GcsFilesetSpec) com.google.cloud.datacatalog.v1.GcsFilesetSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass - .internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass - .internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.GcsFilesetSpec.class, - com.google.cloud.datacatalog.v1.GcsFilesetSpec.Builder.class); + com.google.cloud.datacatalog.v1.GcsFilesetSpec.class, com.google.cloud.datacatalog.v1.GcsFilesetSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.GcsFilesetSpec.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.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; - filePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); + filePatterns_ = + com.google.protobuf.LazyStringArrayList.emptyList(); if (sampleGcsFileSpecsBuilder_ == null) { sampleGcsFileSpecs_ = java.util.Collections.emptyList(); } else { @@ -555,9 +503,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass - .internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_descriptor; } @java.lang.Override @@ -576,12 +524,9 @@ public com.google.cloud.datacatalog.v1.GcsFilesetSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1.GcsFilesetSpec buildPartial() { - com.google.cloud.datacatalog.v1.GcsFilesetSpec result = - new com.google.cloud.datacatalog.v1.GcsFilesetSpec(this); + com.google.cloud.datacatalog.v1.GcsFilesetSpec result = new com.google.cloud.datacatalog.v1.GcsFilesetSpec(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -610,39 +555,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.GcsFilesetSpec result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.GcsFilesetSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1.GcsFilesetSpec) other); + return mergeFrom((com.google.cloud.datacatalog.v1.GcsFilesetSpec)other); } else { super.mergeFrom(other); return this; @@ -679,10 +623,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.GcsFilesetSpec other) { sampleGcsFileSpecsBuilder_ = null; sampleGcsFileSpecs_ = other.sampleGcsFileSpecs_; bitField0_ = (bitField0_ & ~0x00000002); - sampleGcsFileSpecsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSampleGcsFileSpecsFieldBuilder() - : null; + sampleGcsFileSpecsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSampleGcsFileSpecsFieldBuilder() : null; } else { sampleGcsFileSpecsBuilder_.addAllMessages(other.sampleGcsFileSpecs_); } @@ -714,33 +657,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureFilePatternsIsMutable(); - filePatterns_.add(s); - break; - } // case 10 - case 18: - { - com.google.cloud.datacatalog.v1.GcsFileSpec m = - input.readMessage( - com.google.cloud.datacatalog.v1.GcsFileSpec.parser(), extensionRegistry); - if (sampleGcsFileSpecsBuilder_ == null) { - ensureSampleGcsFileSpecsIsMutable(); - sampleGcsFileSpecs_.add(m); - } else { - sampleGcsFileSpecsBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureFilePatternsIsMutable(); + filePatterns_.add(s); + break; + } // case 10 + case 18: { + com.google.cloud.datacatalog.v1.GcsFileSpec m = + input.readMessage( + com.google.cloud.datacatalog.v1.GcsFileSpec.parser(), + extensionRegistry); + if (sampleGcsFileSpecsBuilder_ == null) { + ensureSampleGcsFileSpecsIsMutable(); + sampleGcsFileSpecs_.add(m); + } else { + sampleGcsFileSpecsBuilder_.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) { @@ -750,12 +691,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.LazyStringArrayList filePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureFilePatternsIsMutable() { if (!filePatterns_.isModifiable()) { filePatterns_ = new com.google.protobuf.LazyStringArrayList(filePatterns_); @@ -763,8 +702,6 @@ private void ensureFilePatternsIsMutable() { bitField0_ |= 0x00000001; } /** - * - * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      *
@@ -798,16 +735,14 @@ private void ensureFilePatternsIsMutable() {
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the filePatterns. */ - public com.google.protobuf.ProtocolStringList getFilePatternsList() { + public com.google.protobuf.ProtocolStringList + getFilePatternsList() { filePatterns_.makeImmutable(); return filePatterns_; } /** - * - * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      *
@@ -841,15 +776,12 @@ public com.google.protobuf.ProtocolStringList getFilePatternsList() {
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of filePatterns. */ public int getFilePatternsCount() { return filePatterns_.size(); } /** - * - * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      *
@@ -883,7 +815,6 @@ public int getFilePatternsCount() {
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The filePatterns at the given index. */ @@ -891,8 +822,6 @@ public java.lang.String getFilePatterns(int index) { return filePatterns_.get(index); } /** - * - * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      *
@@ -926,16 +855,14 @@ public java.lang.String getFilePatterns(int index) {
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the filePatterns at the given index. */ - public com.google.protobuf.ByteString getFilePatternsBytes(int index) { + public com.google.protobuf.ByteString + getFilePatternsBytes(int index) { return filePatterns_.getByteString(index); } /** - * - * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      *
@@ -969,15 +896,13 @@ public com.google.protobuf.ByteString getFilePatternsBytes(int index) {
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index to set the value at. * @param value The filePatterns to set. * @return This builder for chaining. */ - public Builder setFilePatterns(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilePatterns( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFilePatternsIsMutable(); filePatterns_.set(index, value); bitField0_ |= 0x00000001; @@ -985,8 +910,6 @@ public Builder setFilePatterns(int index, java.lang.String value) { return this; } /** - * - * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      *
@@ -1020,14 +943,12 @@ public Builder setFilePatterns(int index, java.lang.String value) {
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The filePatterns to add. * @return This builder for chaining. */ - public Builder addFilePatterns(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFilePatterns( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFilePatternsIsMutable(); filePatterns_.add(value); bitField0_ |= 0x00000001; @@ -1035,8 +956,6 @@ public Builder addFilePatterns(java.lang.String value) { return this; } /** - * - * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      *
@@ -1070,20 +989,19 @@ public Builder addFilePatterns(java.lang.String value) {
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param values The filePatterns to add. * @return This builder for chaining. */ - public Builder addAllFilePatterns(java.lang.Iterable values) { + public Builder addAllFilePatterns( + java.lang.Iterable values) { ensureFilePatternsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, filePatterns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, filePatterns_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      *
@@ -1117,19 +1035,16 @@ public Builder addAllFilePatterns(java.lang.Iterable values) {
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearFilePatterns() { - filePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; + filePatterns_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** - * - * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      *
@@ -1163,14 +1078,12 @@ public Builder clearFilePatterns() {
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes of the filePatterns to add. * @return This builder for chaining. */ - public Builder addFilePatternsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFilePatternsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureFilePatternsIsMutable(); filePatterns_.add(value); @@ -1180,34 +1093,24 @@ public Builder addFilePatternsBytes(com.google.protobuf.ByteString value) { } private java.util.List sampleGcsFileSpecs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureSampleGcsFileSpecsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - sampleGcsFileSpecs_ = - new java.util.ArrayList( - sampleGcsFileSpecs_); + sampleGcsFileSpecs_ = new java.util.ArrayList(sampleGcsFileSpecs_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.GcsFileSpec, - com.google.cloud.datacatalog.v1.GcsFileSpec.Builder, - com.google.cloud.datacatalog.v1.GcsFileSpecOrBuilder> - sampleGcsFileSpecsBuilder_; + com.google.cloud.datacatalog.v1.GcsFileSpec, com.google.cloud.datacatalog.v1.GcsFileSpec.Builder, com.google.cloud.datacatalog.v1.GcsFileSpecOrBuilder> sampleGcsFileSpecsBuilder_; /** - * - * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getSampleGcsFileSpecsList() { if (sampleGcsFileSpecsBuilder_ == null) { @@ -1217,16 +1120,12 @@ public java.util.List getSampleGcsF } } /** - * - * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getSampleGcsFileSpecsCount() { if (sampleGcsFileSpecsBuilder_ == null) { @@ -1236,16 +1135,12 @@ public int getSampleGcsFileSpecsCount() { } } /** - * - * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datacatalog.v1.GcsFileSpec getSampleGcsFileSpecs(int index) { if (sampleGcsFileSpecsBuilder_ == null) { @@ -1255,16 +1150,12 @@ public com.google.cloud.datacatalog.v1.GcsFileSpec getSampleGcsFileSpecs(int ind } } /** - * - * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setSampleGcsFileSpecs( int index, com.google.cloud.datacatalog.v1.GcsFileSpec value) { @@ -1281,16 +1172,12 @@ public Builder setSampleGcsFileSpecs( return this; } /** - * - * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setSampleGcsFileSpecs( int index, com.google.cloud.datacatalog.v1.GcsFileSpec.Builder builderForValue) { @@ -1304,16 +1191,12 @@ public Builder setSampleGcsFileSpecs( return this; } /** - * - * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addSampleGcsFileSpecs(com.google.cloud.datacatalog.v1.GcsFileSpec value) { if (sampleGcsFileSpecsBuilder_ == null) { @@ -1329,16 +1212,12 @@ public Builder addSampleGcsFileSpecs(com.google.cloud.datacatalog.v1.GcsFileSpec return this; } /** - * - * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addSampleGcsFileSpecs( int index, com.google.cloud.datacatalog.v1.GcsFileSpec value) { @@ -1355,16 +1234,12 @@ public Builder addSampleGcsFileSpecs( return this; } /** - * - * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addSampleGcsFileSpecs( com.google.cloud.datacatalog.v1.GcsFileSpec.Builder builderForValue) { @@ -1378,16 +1253,12 @@ public Builder addSampleGcsFileSpecs( return this; } /** - * - * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addSampleGcsFileSpecs( int index, com.google.cloud.datacatalog.v1.GcsFileSpec.Builder builderForValue) { @@ -1401,22 +1272,19 @@ public Builder addSampleGcsFileSpecs( return this; } /** - * - * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllSampleGcsFileSpecs( java.lang.Iterable values) { if (sampleGcsFileSpecsBuilder_ == null) { ensureSampleGcsFileSpecsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sampleGcsFileSpecs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sampleGcsFileSpecs_); onChanged(); } else { sampleGcsFileSpecsBuilder_.addAllMessages(values); @@ -1424,16 +1292,12 @@ public Builder addAllSampleGcsFileSpecs( return this; } /** - * - * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearSampleGcsFileSpecs() { if (sampleGcsFileSpecsBuilder_ == null) { @@ -1446,16 +1310,12 @@ public Builder clearSampleGcsFileSpecs() { return this; } /** - * - * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeSampleGcsFileSpecs(int index) { if (sampleGcsFileSpecsBuilder_ == null) { @@ -1468,55 +1328,42 @@ public Builder removeSampleGcsFileSpecs(int index) { return this; } /** - * - * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datacatalog.v1.GcsFileSpec.Builder getSampleGcsFileSpecsBuilder( int index) { return getSampleGcsFileSpecsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datacatalog.v1.GcsFileSpecOrBuilder getSampleGcsFileSpecsOrBuilder( int index) { if (sampleGcsFileSpecsBuilder_ == null) { - return sampleGcsFileSpecs_.get(index); - } else { + return sampleGcsFileSpecs_.get(index); } else { return sampleGcsFileSpecsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getSampleGcsFileSpecsOrBuilderList() { + public java.util.List + getSampleGcsFileSpecsOrBuilderList() { if (sampleGcsFileSpecsBuilder_ != null) { return sampleGcsFileSpecsBuilder_.getMessageOrBuilderList(); } else { @@ -1524,66 +1371,48 @@ public com.google.cloud.datacatalog.v1.GcsFileSpecOrBuilder getSampleGcsFileSpec } } /** - * - * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datacatalog.v1.GcsFileSpec.Builder addSampleGcsFileSpecsBuilder() { - return getSampleGcsFileSpecsFieldBuilder() - .addBuilder(com.google.cloud.datacatalog.v1.GcsFileSpec.getDefaultInstance()); + return getSampleGcsFileSpecsFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1.GcsFileSpec.getDefaultInstance()); } /** - * - * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datacatalog.v1.GcsFileSpec.Builder addSampleGcsFileSpecsBuilder( int index) { - return getSampleGcsFileSpecsFieldBuilder() - .addBuilder(index, com.google.cloud.datacatalog.v1.GcsFileSpec.getDefaultInstance()); + return getSampleGcsFileSpecsFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1.GcsFileSpec.getDefaultInstance()); } /** - * - * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getSampleGcsFileSpecsBuilderList() { + public java.util.List + getSampleGcsFileSpecsBuilderList() { return getSampleGcsFileSpecsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.GcsFileSpec, - com.google.cloud.datacatalog.v1.GcsFileSpec.Builder, - com.google.cloud.datacatalog.v1.GcsFileSpecOrBuilder> + com.google.cloud.datacatalog.v1.GcsFileSpec, com.google.cloud.datacatalog.v1.GcsFileSpec.Builder, com.google.cloud.datacatalog.v1.GcsFileSpecOrBuilder> getSampleGcsFileSpecsFieldBuilder() { if (sampleGcsFileSpecsBuilder_ == null) { - sampleGcsFileSpecsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.GcsFileSpec, - com.google.cloud.datacatalog.v1.GcsFileSpec.Builder, - com.google.cloud.datacatalog.v1.GcsFileSpecOrBuilder>( + sampleGcsFileSpecsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.GcsFileSpec, com.google.cloud.datacatalog.v1.GcsFileSpec.Builder, com.google.cloud.datacatalog.v1.GcsFileSpecOrBuilder>( sampleGcsFileSpecs_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -1592,9 +1421,9 @@ public com.google.cloud.datacatalog.v1.GcsFileSpec.Builder addSampleGcsFileSpecs } return sampleGcsFileSpecsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1604,12 +1433,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.GcsFilesetSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.GcsFilesetSpec) private static final com.google.cloud.datacatalog.v1.GcsFilesetSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.GcsFilesetSpec(); } @@ -1618,27 +1447,27 @@ public static com.google.cloud.datacatalog.v1.GcsFilesetSpec getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsFilesetSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsFilesetSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1653,4 +1482,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.GcsFilesetSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOrBuilder.java similarity index 82% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOrBuilder.java index d25e304dcad5..a0925605aff9 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/gcs_fileset_spec.proto package com.google.cloud.datacatalog.v1; -public interface GcsFilesetSpecOrBuilder - extends +public interface GcsFilesetSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.GcsFilesetSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    *
@@ -59,13 +41,11 @@ public interface GcsFilesetSpecOrBuilder
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the filePatterns. */ - java.util.List getFilePatternsList(); + java.util.List + getFilePatternsList(); /** - * - * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    *
@@ -99,13 +79,10 @@ public interface GcsFilesetSpecOrBuilder
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of filePatterns. */ int getFilePatternsCount(); /** - * - * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    *
@@ -139,14 +116,11 @@ public interface GcsFilesetSpecOrBuilder
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The filePatterns at the given index. */ java.lang.String getFilePatterns(int index); /** - * - * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    *
@@ -180,76 +154,58 @@ public interface GcsFilesetSpecOrBuilder
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the filePatterns at the given index. */ - com.google.protobuf.ByteString getFilePatternsBytes(int index); + com.google.protobuf.ByteString + getFilePatternsBytes(int index); /** - * - * *
    * Output only. Sample files contained in this fileset, not all files
    * contained in this fileset are represented here.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getSampleGcsFileSpecsList(); + java.util.List + getSampleGcsFileSpecsList(); /** - * - * *
    * Output only. Sample files contained in this fileset, not all files
    * contained in this fileset are represented here.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.datacatalog.v1.GcsFileSpec getSampleGcsFileSpecs(int index); /** - * - * *
    * Output only. Sample files contained in this fileset, not all files
    * contained in this fileset are represented here.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getSampleGcsFileSpecsCount(); /** - * - * *
    * Output only. Sample files contained in this fileset, not all files
    * contained in this fileset are represented here.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getSampleGcsFileSpecsOrBuilderList(); /** - * - * *
    * Output only. Sample files contained in this fileset, not all files
    * contained in this fileset are represented here.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.datacatalog.v1.GcsFileSpecOrBuilder getSampleGcsFileSpecsOrBuilder(int index); + com.google.cloud.datacatalog.v1.GcsFileSpecOrBuilder getSampleGcsFileSpecsOrBuilder( + int index); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOuterClass.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOuterClass.java new file mode 100644 index 000000000000..ff39fda5c9a9 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOuterClass.java @@ -0,0 +1,81 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/gcs_fileset_spec.proto + +package com.google.cloud.datacatalog.v1; + +public final class GcsFilesetSpecOuterClass { + private GcsFilesetSpecOuterClass() {} + 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_datacatalog_v1_GcsFilesetSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_GcsFileSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_GcsFileSpec_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n2google/cloud/datacatalog/v1/gcs_filese" + + "t_spec.proto\022\033google.cloud.datacatalog.v" + + "1\032\037google/api/field_behavior.proto\032,goog" + + "le/cloud/datacatalog/v1/timestamps.proto" + + "\"|\n\016GcsFilesetSpec\022\033\n\rfile_patterns\030\001 \003(" + + "\tB\004\342A\001\002\022M\n\025sample_gcs_file_specs\030\002 \003(\0132(" + + ".google.cloud.datacatalog.v1.GcsFileSpec" + + "B\004\342A\001\003\"\215\001\n\013GcsFileSpec\022\027\n\tfile_path\030\001 \001(" + + "\tB\004\342A\001\002\022K\n\016gcs_timestamps\030\002 \001(\0132-.google" + + ".cloud.datacatalog.v1.SystemTimestampsB\004" + + "\342A\001\003\022\030\n\nsize_bytes\030\004 \001(\003B\004\342A\001\003B\306\001\n\037com.g" + + "oogle.cloud.datacatalog.v1P\001ZAcloud.goog" + + "le.com/go/datacatalog/apiv1/datacatalogp" + + "b;datacatalogpb\370\001\001\252\002\033Google.Cloud.DataCa" + + "talog.V1\312\002\033Google\\Cloud\\DataCatalog\\V1\352\002" + + "\036Google::Cloud::DataCatalog::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.cloud.datacatalog.v1.Timestamps.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_descriptor, + new java.lang.String[] { "FilePatterns", "SampleGcsFileSpecs", }); + internal_static_google_cloud_datacatalog_v1_GcsFileSpec_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1_GcsFileSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_GcsFileSpec_descriptor, + new java.lang.String[] { "FilePath", "GcsTimestamps", "SizeBytes", }); + 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.datacatalog.v1.Timestamps.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequest.java similarity index 66% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequest.java index 25f28474f52a..0416eaa694e1 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [GetEntryGroup][google.cloud.datacatalog.v1.DataCatalog.GetEntryGroup].
@@ -28,56 +11,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.GetEntryGroupRequest}
  */
-public final class GetEntryGroupRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GetEntryGroupRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.GetEntryGroupRequest)
     GetEntryGroupRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GetEntryGroupRequest.newBuilder() to construct.
   private GetEntryGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GetEntryGroupRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetEntryGroupRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.GetEntryGroupRequest.class,
-            com.google.cloud.datacatalog.v1.GetEntryGroupRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.GetEntryGroupRequest.class, com.google.cloud.datacatalog.v1.GetEntryGroupRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the entry group to get.
    * 
* - * - * string name = 1 [(.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,31 +61,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the entry group to get.
    * 
* - * - * string name = 1 [(.google.api.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,14 +94,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int READ_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask readMask_; /** - * - * *
    * The fields to return. If empty or omitted, all fields are returned.
    * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return Whether the readMask field is set. */ @java.lang.Override @@ -136,14 +106,11 @@ public boolean hasReadMask() { return readMask_ != null; } /** - * - * *
    * The fields to return. If empty or omitted, all fields are returned.
    * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return The readMask. */ @java.lang.Override @@ -151,8 +118,6 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** - * - * *
    * The fields to return. If empty or omitted, all fields are returned.
    * 
@@ -165,7 +130,6 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,7 +141,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -197,7 +162,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getReadMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -207,18 +173,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.datacatalog.v1.GetEntryGroupRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.GetEntryGroupRequest other = - (com.google.cloud.datacatalog.v1.GetEntryGroupRequest) obj; + com.google.cloud.datacatalog.v1.GetEntryGroupRequest other = (com.google.cloud.datacatalog.v1.GetEntryGroupRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask().equals(other.getReadMask())) return false; + if (!getReadMask() + .equals(other.getReadMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -243,103 +210,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.GetEntryGroupRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.GetEntryGroupRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GetEntryGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.GetEntryGroupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GetEntryGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.GetEntryGroupRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.GetEntryGroupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.GetEntryGroupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.GetEntryGroupRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GetEntryGroupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.GetEntryGroupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.GetEntryGroupRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GetEntryGroupRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.GetEntryGroupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.GetEntryGroupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [GetEntryGroup][google.cloud.datacatalog.v1.DataCatalog.GetEntryGroup].
@@ -347,32 +309,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.GetEntryGroupRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.GetEntryGroupRequest)
       com.google.cloud.datacatalog.v1.GetEntryGroupRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.GetEntryGroupRequest.class,
-              com.google.cloud.datacatalog.v1.GetEntryGroupRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.GetEntryGroupRequest.class, com.google.cloud.datacatalog.v1.GetEntryGroupRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.GetEntryGroupRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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 +350,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_descriptor;
     }
 
     @java.lang.Override
@@ -408,11 +371,8 @@ public com.google.cloud.datacatalog.v1.GetEntryGroupRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.GetEntryGroupRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.GetEntryGroupRequest result =
-          new com.google.cloud.datacatalog.v1.GetEntryGroupRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.GetEntryGroupRequest result = new com.google.cloud.datacatalog.v1.GetEntryGroupRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -423,7 +383,9 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.GetEntryGroupRequest
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.readMask_ = readMaskBuilder_ == null ? readMask_ : readMaskBuilder_.build();
+        result.readMask_ = readMaskBuilder_ == null
+            ? readMask_
+            : readMaskBuilder_.build();
       }
     }
 
@@ -431,39 +393,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.GetEntryGroupRequest
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.GetEntryGroupRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.GetEntryGroupRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.GetEntryGroupRequest)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.datacatalog.v1.GetEntryGroupRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.GetEntryGroupRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.GetEntryGroupRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -507,25 +467,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getReadMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getReadMaskFieldBuilder().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) {
@@ -535,27 +494,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the entry group to get.
      * 
* - * - * string name = 1 [(.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; @@ -564,23 +518,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the entry group to get.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -588,39 +539,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the entry group to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the entry group to get.
      * 
* - * - * string 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() { @@ -630,23 +570,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the entry group to get.
      * 
* - * - * string name = 1 [(.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; @@ -656,33 +590,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - readMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; /** - * - * *
      * The fields to return. If empty or omitted, all fields are returned.
      * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The fields to return. If empty or omitted, all fields are returned.
      * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -693,8 +618,6 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** - * - * *
      * The fields to return. If empty or omitted, all fields are returned.
      * 
@@ -715,15 +638,14 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The fields to return. If empty or omitted, all fields are returned.
      * 
* * .google.protobuf.FieldMask read_mask = 2; */ - public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); } else { @@ -734,8 +656,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue return this; } /** - * - * *
      * The fields to return. If empty or omitted, all fields are returned.
      * 
@@ -744,9 +664,9 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && readMask_ != null - && readMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + readMask_ != null && + readMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getReadMaskBuilder().mergeFrom(value); } else { readMask_ = value; @@ -759,8 +679,6 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The fields to return. If empty or omitted, all fields are returned.
      * 
@@ -778,8 +696,6 @@ public Builder clearReadMask() { return this; } /** - * - * *
      * The fields to return. If empty or omitted, all fields are returned.
      * 
@@ -792,8 +708,6 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { return getReadMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The fields to return. If empty or omitted, all fields are returned.
      * 
@@ -804,12 +718,11 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** - * - * *
      * The fields to return. If empty or omitted, all fields are returned.
      * 
@@ -817,24 +730,21 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { * .google.protobuf.FieldMask read_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), getParentForChildren(), isClean()); + readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), + getParentForChildren(), + isClean()); readMask_ = null; } return readMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -844,12 +754,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.GetEntryGroupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.GetEntryGroupRequest) private static final com.google.cloud.datacatalog.v1.GetEntryGroupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.GetEntryGroupRequest(); } @@ -858,27 +768,27 @@ public static com.google.cloud.datacatalog.v1.GetEntryGroupRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetEntryGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetEntryGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -893,4 +803,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.GetEntryGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequestOrBuilder.java similarity index 55% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequestOrBuilder.java index 5693a4c7e396..580920d70316 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequestOrBuilder.java @@ -1,84 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface GetEntryGroupRequestOrBuilder - extends +public interface GetEntryGroupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.GetEntryGroupRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the entry group to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the entry group to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The fields to return. If empty or omitted, all fields are returned.
    * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** - * - * *
    * The fields to return. If empty or omitted, all fields are returned.
    * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** - * - * *
    * The fields to return. If empty or omitted, all fields are returned.
    * 
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequest.java similarity index 62% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequest.java index 8626d2ca845c..d0ec140a1a60 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [GetEntry][google.cloud.datacatalog.v1.DataCatalog.GetEntry].
@@ -28,56 +11,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.GetEntryRequest}
  */
-public final class GetEntryRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GetEntryRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.GetEntryRequest)
     GetEntryRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GetEntryRequest.newBuilder() to construct.
   private GetEntryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GetEntryRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetEntryRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_GetEntryRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_GetEntryRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_GetEntryRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_GetEntryRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.GetEntryRequest.class,
-            com.google.cloud.datacatalog.v1.GetEntryRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.GetEntryRequest.class, com.google.cloud.datacatalog.v1.GetEntryRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the entry to get.
    * 
* - * - * string name = 1 [(.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,31 +61,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the entry to get.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -119,7 +92,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,7 +103,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(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 +128,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.GetEntryRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.GetEntryRequest other = - (com.google.cloud.datacatalog.v1.GetEntryRequest) obj; + com.google.cloud.datacatalog.v1.GetEntryRequest other = (com.google.cloud.datacatalog.v1.GetEntryRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -182,104 +155,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.GetEntryRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.GetEntryRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.GetEntryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GetEntryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.GetEntryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GetEntryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.GetEntryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GetEntryRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.GetEntryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GetEntryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.GetEntryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.GetEntryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GetEntryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.GetEntryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.GetEntryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [GetEntry][google.cloud.datacatalog.v1.DataCatalog.GetEntry].
@@ -287,32 +255,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.GetEntryRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.GetEntryRequest)
       com.google.cloud.datacatalog.v1.GetEntryRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_GetEntryRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_GetEntryRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_GetEntryRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_GetEntryRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.GetEntryRequest.class,
-              com.google.cloud.datacatalog.v1.GetEntryRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.GetEntryRequest.class, com.google.cloud.datacatalog.v1.GetEntryRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.GetEntryRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_GetEntryRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_GetEntryRequest_descriptor;
     }
 
     @java.lang.Override
@@ -343,11 +312,8 @@ public com.google.cloud.datacatalog.v1.GetEntryRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.GetEntryRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.GetEntryRequest result =
-          new com.google.cloud.datacatalog.v1.GetEntryRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.GetEntryRequest result = new com.google.cloud.datacatalog.v1.GetEntryRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -363,39 +329,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.GetEntryRequest 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.datacatalog.v1.GetEntryRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.GetEntryRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.GetEntryRequest)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.datacatalog.v1.GetEntryRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.GetEntryRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.GetEntryRequest.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,27 +420,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the entry to get.
      * 
* - * - * string name = 1 [(.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,23 +444,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the entry to get.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -511,39 +465,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the entry to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the entry to get.
      * 
* - * - * string 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() { @@ -553,32 +496,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the entry to get.
      * 
* - * - * string name = 1 [(.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); } @@ -588,12 +525,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.GetEntryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.GetEntryRequest) private static final com.google.cloud.datacatalog.v1.GetEntryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.GetEntryRequest(); } @@ -602,27 +539,27 @@ public static com.google.cloud.datacatalog.v1.GetEntryRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetEntryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetEntryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +574,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.GetEntryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequestOrBuilder.java new file mode 100644 index 000000000000..5f7d02f02b58 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/datacatalog.proto + +package com.google.cloud.datacatalog.v1; + +public interface GetEntryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.GetEntryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the entry to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the entry to get.
+   * 
+ * + * 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequest.java similarity index 63% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequest.java index 9ad79e1fd14e..c6ecbcb8fceb 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [GetPolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.GetPolicyTag].
@@ -28,56 +11,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.GetPolicyTagRequest}
  */
-public final class GetPolicyTagRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GetPolicyTagRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.GetPolicyTagRequest)
     GetPolicyTagRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GetPolicyTagRequest.newBuilder() to construct.
   private GetPolicyTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GetPolicyTagRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetPolicyTagRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.GetPolicyTagRequest.class,
-            com.google.cloud.datacatalog.v1.GetPolicyTagRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.GetPolicyTagRequest.class, com.google.cloud.datacatalog.v1.GetPolicyTagRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. Resource name of the policy tag.
    * 
* - * - * string name = 1 [(.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,31 +61,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Resource name of the policy tag.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -119,7 +92,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,7 +103,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(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 +128,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.GetPolicyTagRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.GetPolicyTagRequest other = - (com.google.cloud.datacatalog.v1.GetPolicyTagRequest) obj; + com.google.cloud.datacatalog.v1.GetPolicyTagRequest other = (com.google.cloud.datacatalog.v1.GetPolicyTagRequest) 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 +156,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.GetPolicyTagRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.GetPolicyTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GetPolicyTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.GetPolicyTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GetPolicyTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.GetPolicyTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.GetPolicyTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.GetPolicyTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.GetPolicyTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GetPolicyTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.GetPolicyTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.GetPolicyTagRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GetPolicyTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.GetPolicyTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.GetPolicyTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [GetPolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.GetPolicyTag].
@@ -287,32 +255,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.GetPolicyTagRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.GetPolicyTagRequest)
       com.google.cloud.datacatalog.v1.GetPolicyTagRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.GetPolicyTagRequest.class,
-              com.google.cloud.datacatalog.v1.GetPolicyTagRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.GetPolicyTagRequest.class, com.google.cloud.datacatalog.v1.GetPolicyTagRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.GetPolicyTagRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_descriptor;
     }
 
     @java.lang.Override
@@ -343,11 +312,8 @@ public com.google.cloud.datacatalog.v1.GetPolicyTagRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.GetPolicyTagRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.GetPolicyTagRequest result =
-          new com.google.cloud.datacatalog.v1.GetPolicyTagRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.GetPolicyTagRequest result = new com.google.cloud.datacatalog.v1.GetPolicyTagRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -363,39 +329,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.GetPolicyTagRequest 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.datacatalog.v1.GetPolicyTagRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.GetPolicyTagRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.GetPolicyTagRequest)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.datacatalog.v1.GetPolicyTagRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.GetPolicyTagRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.GetPolicyTagRequest.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,27 +420,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. Resource name of the policy tag.
      * 
* - * - * string name = 1 [(.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,23 +444,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Resource name of the policy tag.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -511,39 +465,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Resource name of the policy tag.
      * 
* - * - * string name = 1 [(.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. Resource name of the policy tag.
      * 
* - * - * string 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() { @@ -553,32 +496,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Resource name of the policy tag.
      * 
* - * - * string name = 1 [(.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); } @@ -588,12 +525,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.GetPolicyTagRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.GetPolicyTagRequest) private static final com.google.cloud.datacatalog.v1.GetPolicyTagRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.GetPolicyTagRequest(); } @@ -602,27 +539,27 @@ public static com.google.cloud.datacatalog.v1.GetPolicyTagRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPolicyTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPolicyTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +574,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.GetPolicyTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequestOrBuilder.java new file mode 100644 index 000000000000..390bf76f337d --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/policytagmanager.proto + +package com.google.cloud.datacatalog.v1; + +public interface GetPolicyTagRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.GetPolicyTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Resource name of the policy tag.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Resource name of the policy tag.
+   * 
+ * + * 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequest.java similarity index 61% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequest.java index 06700b6f0b39..6ec1d6cc3b44 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [GetTagTemplate][google.cloud.datacatalog.v1.DataCatalog.GetTagTemplate].
@@ -28,56 +11,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.GetTagTemplateRequest}
  */
-public final class GetTagTemplateRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GetTagTemplateRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.GetTagTemplateRequest)
     GetTagTemplateRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GetTagTemplateRequest.newBuilder() to construct.
   private GetTagTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GetTagTemplateRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetTagTemplateRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.GetTagTemplateRequest.class,
-            com.google.cloud.datacatalog.v1.GetTagTemplateRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.GetTagTemplateRequest.class, com.google.cloud.datacatalog.v1.GetTagTemplateRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the tag template to get.
    * 
* - * - * string name = 1 [(.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,31 +61,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the tag template to get.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -119,7 +92,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,7 +103,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(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 +128,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.GetTagTemplateRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.GetTagTemplateRequest other = - (com.google.cloud.datacatalog.v1.GetTagTemplateRequest) obj; + com.google.cloud.datacatalog.v1.GetTagTemplateRequest other = (com.google.cloud.datacatalog.v1.GetTagTemplateRequest) 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,104 +156,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.GetTagTemplateRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.GetTagTemplateRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GetTagTemplateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.GetTagTemplateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GetTagTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.GetTagTemplateRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.GetTagTemplateRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.GetTagTemplateRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.GetTagTemplateRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GetTagTemplateRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.GetTagTemplateRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.GetTagTemplateRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GetTagTemplateRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.GetTagTemplateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.GetTagTemplateRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.GetTagTemplateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [GetTagTemplate][google.cloud.datacatalog.v1.DataCatalog.GetTagTemplate].
@@ -288,32 +255,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.GetTagTemplateRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.GetTagTemplateRequest)
       com.google.cloud.datacatalog.v1.GetTagTemplateRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.GetTagTemplateRequest.class,
-              com.google.cloud.datacatalog.v1.GetTagTemplateRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.GetTagTemplateRequest.class, com.google.cloud.datacatalog.v1.GetTagTemplateRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.GetTagTemplateRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_descriptor;
     }
 
     @java.lang.Override
@@ -344,11 +312,8 @@ public com.google.cloud.datacatalog.v1.GetTagTemplateRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.GetTagTemplateRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.GetTagTemplateRequest result =
-          new com.google.cloud.datacatalog.v1.GetTagTemplateRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.GetTagTemplateRequest result = new com.google.cloud.datacatalog.v1.GetTagTemplateRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -364,39 +329,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.GetTagTemplateRequest
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.GetTagTemplateRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.GetTagTemplateRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.GetTagTemplateRequest)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.datacatalog.v1.GetTagTemplateRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.GetTagTemplateRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.GetTagTemplateRequest.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,27 +420,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the tag template to get.
      * 
* - * - * string name = 1 [(.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,23 +444,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the tag template to get.
      * 
* - * - * string name = 1 [(.google.api.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,39 +465,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the tag template to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the tag template to get.
      * 
* - * - * string 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() { @@ -554,32 +496,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the tag template to get.
      * 
* - * - * string name = 1 [(.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); } @@ -589,12 +525,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.GetTagTemplateRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.GetTagTemplateRequest) private static final com.google.cloud.datacatalog.v1.GetTagTemplateRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.GetTagTemplateRequest(); } @@ -603,27 +539,27 @@ public static com.google.cloud.datacatalog.v1.GetTagTemplateRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTagTemplateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTagTemplateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -638,4 +574,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.GetTagTemplateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequestOrBuilder.java new file mode 100644 index 000000000000..a686c82f7dee --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/datacatalog.proto + +package com.google.cloud.datacatalog.v1; + +public interface GetTagTemplateRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.GetTagTemplateRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the tag template to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the tag template to get.
+   * 
+ * + * 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequest.java similarity index 63% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequest.java index 2ff8876bd0f7..b31dc1f28db2 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [GetTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.GetTaxonomy].
@@ -28,56 +11,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.GetTaxonomyRequest}
  */
-public final class GetTaxonomyRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GetTaxonomyRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.GetTaxonomyRequest)
     GetTaxonomyRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GetTaxonomyRequest.newBuilder() to construct.
   private GetTaxonomyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GetTaxonomyRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetTaxonomyRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.GetTaxonomyRequest.class,
-            com.google.cloud.datacatalog.v1.GetTaxonomyRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.GetTaxonomyRequest.class, com.google.cloud.datacatalog.v1.GetTaxonomyRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. Resource name of the taxonomy to get.
    * 
* - * - * string name = 1 [(.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,31 +61,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Resource name of the taxonomy to get.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -119,7 +92,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,7 +103,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(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 +128,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.GetTaxonomyRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.GetTaxonomyRequest other = - (com.google.cloud.datacatalog.v1.GetTaxonomyRequest) obj; + com.google.cloud.datacatalog.v1.GetTaxonomyRequest other = (com.google.cloud.datacatalog.v1.GetTaxonomyRequest) 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 +156,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.GetTaxonomyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.GetTaxonomyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GetTaxonomyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.GetTaxonomyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GetTaxonomyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.GetTaxonomyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.GetTaxonomyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.GetTaxonomyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.GetTaxonomyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GetTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.GetTaxonomyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.GetTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GetTaxonomyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.GetTaxonomyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.GetTaxonomyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [GetTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.GetTaxonomy].
@@ -287,32 +255,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.GetTaxonomyRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.GetTaxonomyRequest)
       com.google.cloud.datacatalog.v1.GetTaxonomyRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.GetTaxonomyRequest.class,
-              com.google.cloud.datacatalog.v1.GetTaxonomyRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.GetTaxonomyRequest.class, com.google.cloud.datacatalog.v1.GetTaxonomyRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.GetTaxonomyRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
@@ -343,11 +312,8 @@ public com.google.cloud.datacatalog.v1.GetTaxonomyRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.GetTaxonomyRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.GetTaxonomyRequest result =
-          new com.google.cloud.datacatalog.v1.GetTaxonomyRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.GetTaxonomyRequest result = new com.google.cloud.datacatalog.v1.GetTaxonomyRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -363,39 +329,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.GetTaxonomyRequest 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.datacatalog.v1.GetTaxonomyRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.GetTaxonomyRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.GetTaxonomyRequest)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.datacatalog.v1.GetTaxonomyRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.GetTaxonomyRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.GetTaxonomyRequest.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,27 +420,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. Resource name of the taxonomy to get.
      * 
* - * - * string name = 1 [(.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,23 +444,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Resource name of the taxonomy to get.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -511,39 +465,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Resource name of the taxonomy to get.
      * 
* - * - * string name = 1 [(.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. Resource name of the taxonomy to get.
      * 
* - * - * string 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() { @@ -553,32 +496,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Resource name of the taxonomy to get.
      * 
* - * - * string name = 1 [(.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); } @@ -588,12 +525,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.GetTaxonomyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.GetTaxonomyRequest) private static final com.google.cloud.datacatalog.v1.GetTaxonomyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.GetTaxonomyRequest(); } @@ -602,27 +539,27 @@ public static com.google.cloud.datacatalog.v1.GetTaxonomyRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTaxonomyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTaxonomyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +574,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.GetTaxonomyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequestOrBuilder.java new file mode 100644 index 000000000000..57f7380e97cb --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/policytagmanager.proto + +package com.google.cloud.datacatalog.v1; + +public interface GetTaxonomyRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.GetTaxonomyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Resource name of the taxonomy to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Resource name of the taxonomy to get.
+   * 
+ * + * 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadata.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadata.java similarity index 72% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadata.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadata.java index bc0c20651e10..2d5f2563e12f 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadata.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadata.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Metadata message for [long-running operation][google.longrunning.Operation]
  * returned by the
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ImportEntriesMetadata}
  */
-public final class ImportEntriesMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ImportEntriesMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ImportEntriesMetadata)
     ImportEntriesMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ImportEntriesMetadata.newBuilder() to construct.
   private ImportEntriesMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ImportEntriesMetadata() {
     state_ = 0;
     errors_ = java.util.Collections.emptyList();
@@ -46,38 +28,34 @@ private ImportEntriesMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ImportEntriesMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ImportEntriesMetadata.class,
-            com.google.cloud.datacatalog.v1.ImportEntriesMetadata.Builder.class);
+            com.google.cloud.datacatalog.v1.ImportEntriesMetadata.class, com.google.cloud.datacatalog.v1.ImportEntriesMetadata.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Enum holding possible states of the import operation.
    * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState} */ - public enum ImportState implements com.google.protobuf.ProtocolMessageEnum { + public enum ImportState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value. This value is unused.
      * 
@@ -86,8 +64,6 @@ public enum ImportState implements com.google.protobuf.ProtocolMessageEnum { */ IMPORT_STATE_UNSPECIFIED(0), /** - * - * *
      * The dump with entries has been queued for import.
      * 
@@ -96,8 +72,6 @@ public enum ImportState implements com.google.protobuf.ProtocolMessageEnum { */ IMPORT_QUEUED(1), /** - * - * *
      * The import of entries is in progress.
      * 
@@ -106,8 +80,6 @@ public enum ImportState implements com.google.protobuf.ProtocolMessageEnum { */ IMPORT_IN_PROGRESS(2), /** - * - * *
      * The import of entries has been finished.
      * 
@@ -116,8 +88,6 @@ public enum ImportState implements com.google.protobuf.ProtocolMessageEnum { */ IMPORT_DONE(3), /** - * - * *
      * The import of entries has been abandoned in favor of a newer request.
      * 
@@ -129,8 +99,6 @@ public enum ImportState implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default value. This value is unused.
      * 
@@ -139,8 +107,6 @@ public enum ImportState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMPORT_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The dump with entries has been queued for import.
      * 
@@ -149,8 +115,6 @@ public enum ImportState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMPORT_QUEUED_VALUE = 1; /** - * - * *
      * The import of entries is in progress.
      * 
@@ -159,8 +123,6 @@ public enum ImportState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMPORT_IN_PROGRESS_VALUE = 2; /** - * - * *
      * The import of entries has been finished.
      * 
@@ -169,8 +131,6 @@ public enum ImportState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMPORT_DONE_VALUE = 3; /** - * - * *
      * The import of entries has been abandoned in favor of a newer request.
      * 
@@ -179,6 +139,7 @@ public enum ImportState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMPORT_OBSOLETE_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -203,55 +164,51 @@ public static ImportState valueOf(int value) { */ public static ImportState forNumber(int value) { switch (value) { - case 0: - return IMPORT_STATE_UNSPECIFIED; - case 1: - return IMPORT_QUEUED; - case 2: - return IMPORT_IN_PROGRESS; - case 3: - return IMPORT_DONE; - case 4: - return IMPORT_OBSOLETE; - default: - return null; + case 0: return IMPORT_STATE_UNSPECIFIED; + case 1: return IMPORT_QUEUED; + case 2: return IMPORT_IN_PROGRESS; + case 3: return IMPORT_DONE; + case 4: return IMPORT_OBSOLETE; + 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< + ImportState> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ImportState findValueByNumber(int number) { + return ImportState.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ImportState findValueByNumber(int number) { - return ImportState.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.datacatalog.v1.ImportEntriesMetadata.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.ImportEntriesMetadata.getDescriptor().getEnumTypes().get(0); } private static final ImportState[] VALUES = values(); - public static ImportState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ImportState valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -271,47 +228,33 @@ private ImportState(int value) { public static final int STATE_FIELD_NUMBER = 1; private int state_ = 0; /** - * - * *
    * State of the import operation.
    * 
* * .google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState 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_; } /** - * - * *
    * State of the import operation.
    * 
* * .google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState state = 1; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState getState() { - com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState result = - com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState.forNumber(state_); - return result == null - ? com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState getState() { + com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState result = com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState.forNumber(state_); + return result == null ? com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState.UNRECOGNIZED : result; } public static final int ERRORS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List errors_; /** - * - * *
    * Partial errors that are encountered during the ImportEntries operation.
    * There is no guarantee that all the encountered errors are reported.
@@ -326,8 +269,6 @@ public java.util.List getErrorsList() {
     return errors_;
   }
   /**
-   *
-   *
    * 
    * Partial errors that are encountered during the ImportEntries operation.
    * There is no guarantee that all the encountered errors are reported.
@@ -338,12 +279,11 @@ public java.util.List getErrorsList() {
    * repeated .google.rpc.Status errors = 2;
    */
   @java.lang.Override
-  public java.util.List getErrorsOrBuilderList() {
+  public java.util.List 
+      getErrorsOrBuilderList() {
     return errors_;
   }
   /**
-   *
-   *
    * 
    * Partial errors that are encountered during the ImportEntries operation.
    * There is no guarantee that all the encountered errors are reported.
@@ -358,8 +298,6 @@ public int getErrorsCount() {
     return errors_.size();
   }
   /**
-   *
-   *
    * 
    * Partial errors that are encountered during the ImportEntries operation.
    * There is no guarantee that all the encountered errors are reported.
@@ -374,8 +312,6 @@ public com.google.rpc.Status getErrors(int index) {
     return errors_.get(index);
   }
   /**
-   *
-   *
    * 
    * Partial errors that are encountered during the ImportEntries operation.
    * There is no guarantee that all the encountered errors are reported.
@@ -386,12 +322,12 @@ public com.google.rpc.Status getErrors(int index) {
    * repeated .google.rpc.Status errors = 2;
    */
   @java.lang.Override
-  public com.google.rpc.StatusOrBuilder getErrorsOrBuilder(int index) {
+  public com.google.rpc.StatusOrBuilder getErrorsOrBuilder(
+      int index) {
     return errors_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -403,11 +339,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.datacatalog.v1.ImportEntriesMetadata.ImportState
-            .IMPORT_STATE_UNSPECIFIED
-            .getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
+    if (state_ != com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState.IMPORT_STATE_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, state_);
     }
     for (int i = 0; i < errors_.size(); i++) {
@@ -422,14 +356,13 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (state_
-        != com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState
-            .IMPORT_STATE_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_);
+    if (state_ != com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState.IMPORT_STATE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(1, state_);
     }
     for (int i = 0; i < errors_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, errors_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -439,16 +372,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.datacatalog.v1.ImportEntriesMetadata)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1.ImportEntriesMetadata other =
-        (com.google.cloud.datacatalog.v1.ImportEntriesMetadata) obj;
+    com.google.cloud.datacatalog.v1.ImportEntriesMetadata other = (com.google.cloud.datacatalog.v1.ImportEntriesMetadata) obj;
 
     if (state_ != other.state_) return false;
-    if (!getErrorsList().equals(other.getErrorsList())) return false;
+    if (!getErrorsList()
+        .equals(other.getErrorsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -472,104 +405,98 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1.ImportEntriesMetadata parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.ImportEntriesMetadata parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.ImportEntriesMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.ImportEntriesMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.ImportEntriesMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.ImportEntriesMetadata parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.datacatalog.v1.ImportEntriesMetadata parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.ImportEntriesMetadata parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1.ImportEntriesMetadata parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1.ImportEntriesMetadata parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.ImportEntriesMetadata parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1.ImportEntriesMetadata parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.ImportEntriesMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1.ImportEntriesMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.datacatalog.v1.ImportEntriesMetadata prototype) {
+  public static Builder newBuilder(com.google.cloud.datacatalog.v1.ImportEntriesMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Metadata message for [long-running operation][google.longrunning.Operation]
    * returned by the
@@ -578,32 +505,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ImportEntriesMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ImportEntriesMetadata)
       com.google.cloud.datacatalog.v1.ImportEntriesMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ImportEntriesMetadata.class,
-              com.google.cloud.datacatalog.v1.ImportEntriesMetadata.Builder.class);
+              com.google.cloud.datacatalog.v1.ImportEntriesMetadata.class, com.google.cloud.datacatalog.v1.ImportEntriesMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ImportEntriesMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -620,9 +548,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -641,18 +569,14 @@ public com.google.cloud.datacatalog.v1.ImportEntriesMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ImportEntriesMetadata buildPartial() {
-      com.google.cloud.datacatalog.v1.ImportEntriesMetadata result =
-          new com.google.cloud.datacatalog.v1.ImportEntriesMetadata(this);
+      com.google.cloud.datacatalog.v1.ImportEntriesMetadata result = new com.google.cloud.datacatalog.v1.ImportEntriesMetadata(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.datacatalog.v1.ImportEntriesMetadata result) {
+    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1.ImportEntriesMetadata result) {
       if (errorsBuilder_ == null) {
         if (((bitField0_ & 0x00000002) != 0)) {
           errors_ = java.util.Collections.unmodifiableList(errors_);
@@ -675,39 +599,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ImportEntriesMetadata
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ImportEntriesMetadata) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ImportEntriesMetadata) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ImportEntriesMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -715,8 +638,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ImportEntriesMetadata other) {
-      if (other == com.google.cloud.datacatalog.v1.ImportEntriesMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.ImportEntriesMetadata.getDefaultInstance()) return this;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
       }
@@ -738,10 +660,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.ImportEntriesMetadata o
             errorsBuilder_ = null;
             errors_ = other.errors_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            errorsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getErrorsFieldBuilder()
-                    : null;
+            errorsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getErrorsFieldBuilder() : null;
           } else {
             errorsBuilder_.addAllMessages(other.errors_);
           }
@@ -773,31 +694,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 18:
-              {
-                com.google.rpc.Status m =
-                    input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
-                if (errorsBuilder_ == null) {
-                  ensureErrorsIsMutable();
-                  errors_.add(m);
-                } else {
-                  errorsBuilder_.addMessage(m);
-                }
-                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: {
+              com.google.rpc.Status m =
+                  input.readMessage(
+                      com.google.rpc.Status.parser(),
+                      extensionRegistry);
+              if (errorsBuilder_ == null) {
+                ensureErrorsIsMutable();
+                errors_.add(m);
+              } else {
+                errorsBuilder_.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) {
@@ -807,34 +727,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * State of the import operation.
      * 
* * .google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState 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_; } /** - * - * *
      * State of the import operation.
      * 
* * .google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState state = 1; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -845,38 +757,28 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * State of the import operation.
      * 
* * .google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState state = 1; - * * @return The state. */ @java.lang.Override public com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState getState() { - com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState result = - com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState.forNumber(state_); - return result == null - ? com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState.UNRECOGNIZED - : result; + com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState result = com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState.forNumber(state_); + return result == null ? com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState.UNRECOGNIZED : result; } /** - * - * *
      * State of the import operation.
      * 
* * .google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState state = 1; - * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState( - com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState value) { + public Builder setState(com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState value) { if (value == null) { throw new NullPointerException(); } @@ -886,14 +788,11 @@ public Builder setState( return this; } /** - * - * *
      * State of the import operation.
      * 
* * .google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState state = 1; - * * @return This builder for chaining. */ public Builder clearState() { @@ -903,22 +802,19 @@ public Builder clearState() { return this; } - private java.util.List errors_ = java.util.Collections.emptyList(); - + private java.util.List errors_ = + java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - errorsBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorsBuilder_; /** - * - * *
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -936,8 +832,6 @@ public java.util.List getErrorsList() {
       }
     }
     /**
-     *
-     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -955,8 +849,6 @@ public int getErrorsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -974,8 +866,6 @@ public com.google.rpc.Status getErrors(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -985,7 +875,8 @@ public com.google.rpc.Status getErrors(int index) {
      *
      * repeated .google.rpc.Status errors = 2;
      */
-    public Builder setErrors(int index, com.google.rpc.Status value) {
+    public Builder setErrors(
+        int index, com.google.rpc.Status value) {
       if (errorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -999,8 +890,6 @@ public Builder setErrors(int index, com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -1010,7 +899,8 @@ public Builder setErrors(int index, com.google.rpc.Status value) {
      *
      * repeated .google.rpc.Status errors = 2;
      */
-    public Builder setErrors(int index, com.google.rpc.Status.Builder builderForValue) {
+    public Builder setErrors(
+        int index, com.google.rpc.Status.Builder builderForValue) {
       if (errorsBuilder_ == null) {
         ensureErrorsIsMutable();
         errors_.set(index, builderForValue.build());
@@ -1021,8 +911,6 @@ public Builder setErrors(int index, com.google.rpc.Status.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -1046,8 +934,6 @@ public Builder addErrors(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -1057,7 +943,8 @@ public Builder addErrors(com.google.rpc.Status value) {
      *
      * repeated .google.rpc.Status errors = 2;
      */
-    public Builder addErrors(int index, com.google.rpc.Status value) {
+    public Builder addErrors(
+        int index, com.google.rpc.Status value) {
       if (errorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1071,8 +958,6 @@ public Builder addErrors(int index, com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -1082,7 +967,8 @@ public Builder addErrors(int index, com.google.rpc.Status value) {
      *
      * repeated .google.rpc.Status errors = 2;
      */
-    public Builder addErrors(com.google.rpc.Status.Builder builderForValue) {
+    public Builder addErrors(
+        com.google.rpc.Status.Builder builderForValue) {
       if (errorsBuilder_ == null) {
         ensureErrorsIsMutable();
         errors_.add(builderForValue.build());
@@ -1093,8 +979,6 @@ public Builder addErrors(com.google.rpc.Status.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -1104,7 +988,8 @@ public Builder addErrors(com.google.rpc.Status.Builder builderForValue) {
      *
      * repeated .google.rpc.Status errors = 2;
      */
-    public Builder addErrors(int index, com.google.rpc.Status.Builder builderForValue) {
+    public Builder addErrors(
+        int index, com.google.rpc.Status.Builder builderForValue) {
       if (errorsBuilder_ == null) {
         ensureErrorsIsMutable();
         errors_.add(index, builderForValue.build());
@@ -1115,8 +1000,6 @@ public Builder addErrors(int index, com.google.rpc.Status.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -1126,10 +1009,12 @@ public Builder addErrors(int index, com.google.rpc.Status.Builder builderForValu
      *
      * repeated .google.rpc.Status errors = 2;
      */
-    public Builder addAllErrors(java.lang.Iterable values) {
+    public Builder addAllErrors(
+        java.lang.Iterable values) {
       if (errorsBuilder_ == null) {
         ensureErrorsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, errors_);
         onChanged();
       } else {
         errorsBuilder_.addAllMessages(values);
@@ -1137,8 +1022,6 @@ public Builder addAllErrors(java.lang.Iterable
       return this;
     }
     /**
-     *
-     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -1159,8 +1042,6 @@ public Builder clearErrors() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -1181,8 +1062,6 @@ public Builder removeErrors(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -1192,12 +1071,11 @@ public Builder removeErrors(int index) {
      *
      * repeated .google.rpc.Status errors = 2;
      */
-    public com.google.rpc.Status.Builder getErrorsBuilder(int index) {
+    public com.google.rpc.Status.Builder getErrorsBuilder(
+        int index) {
       return getErrorsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -1207,16 +1085,14 @@ public com.google.rpc.Status.Builder getErrorsBuilder(int index) {
      *
      * repeated .google.rpc.Status errors = 2;
      */
-    public com.google.rpc.StatusOrBuilder getErrorsOrBuilder(int index) {
+    public com.google.rpc.StatusOrBuilder getErrorsOrBuilder(
+        int index) {
       if (errorsBuilder_ == null) {
-        return errors_.get(index);
-      } else {
+        return errors_.get(index);  } else {
         return errorsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -1226,7 +1102,8 @@ public com.google.rpc.StatusOrBuilder getErrorsOrBuilder(int index) {
      *
      * repeated .google.rpc.Status errors = 2;
      */
-    public java.util.List getErrorsOrBuilderList() {
+    public java.util.List 
+         getErrorsOrBuilderList() {
       if (errorsBuilder_ != null) {
         return errorsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1234,8 +1111,6 @@ public java.util.List getErrorsOrBuild
       }
     }
     /**
-     *
-     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -1246,11 +1121,10 @@ public java.util.List getErrorsOrBuild
      * repeated .google.rpc.Status errors = 2;
      */
     public com.google.rpc.Status.Builder addErrorsBuilder() {
-      return getErrorsFieldBuilder().addBuilder(com.google.rpc.Status.getDefaultInstance());
+      return getErrorsFieldBuilder().addBuilder(
+          com.google.rpc.Status.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -1260,12 +1134,12 @@ public com.google.rpc.Status.Builder addErrorsBuilder() {
      *
      * repeated .google.rpc.Status errors = 2;
      */
-    public com.google.rpc.Status.Builder addErrorsBuilder(int index) {
-      return getErrorsFieldBuilder().addBuilder(index, com.google.rpc.Status.getDefaultInstance());
+    public com.google.rpc.Status.Builder addErrorsBuilder(
+        int index) {
+      return getErrorsFieldBuilder().addBuilder(
+          index, com.google.rpc.Status.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -1275,27 +1149,27 @@ public com.google.rpc.Status.Builder addErrorsBuilder(int index) {
      *
      * repeated .google.rpc.Status errors = 2;
      */
-    public java.util.List getErrorsBuilderList() {
+    public java.util.List 
+         getErrorsBuilderList() {
       return getErrorsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
         getErrorsFieldBuilder() {
       if (errorsBuilder_ == null) {
-        errorsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.rpc.Status,
-                com.google.rpc.Status.Builder,
-                com.google.rpc.StatusOrBuilder>(
-                errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
+                errors_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         errors_ = null;
       }
       return errorsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1305,12 +1179,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ImportEntriesMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ImportEntriesMetadata)
   private static final com.google.cloud.datacatalog.v1.ImportEntriesMetadata DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ImportEntriesMetadata();
   }
@@ -1319,27 +1193,27 @@ public static com.google.cloud.datacatalog.v1.ImportEntriesMetadata getDefaultIn
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ImportEntriesMetadata parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ImportEntriesMetadata parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1354,4 +1228,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1.ImportEntriesMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadataOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadataOrBuilder.java
similarity index 73%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadataOrBuilder.java
rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadataOrBuilder.java
index b1d6d670549b..e229a74d117e 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadataOrBuilder.java
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadataOrBuilder.java
@@ -1,56 +1,32 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
-public interface ImportEntriesMetadataOrBuilder
-    extends
+public interface ImportEntriesMetadataOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ImportEntriesMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * State of the import operation.
    * 
* * .google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState state = 1; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * State of the import operation.
    * 
* * .google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState state = 1; - * * @return The state. */ com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState getState(); /** - * - * *
    * Partial errors that are encountered during the ImportEntries operation.
    * There is no guarantee that all the encountered errors are reported.
@@ -60,10 +36,9 @@ public interface ImportEntriesMetadataOrBuilder
    *
    * repeated .google.rpc.Status errors = 2;
    */
-  java.util.List getErrorsList();
+  java.util.List 
+      getErrorsList();
   /**
-   *
-   *
    * 
    * Partial errors that are encountered during the ImportEntries operation.
    * There is no guarantee that all the encountered errors are reported.
@@ -75,8 +50,6 @@ public interface ImportEntriesMetadataOrBuilder
    */
   com.google.rpc.Status getErrors(int index);
   /**
-   *
-   *
    * 
    * Partial errors that are encountered during the ImportEntries operation.
    * There is no guarantee that all the encountered errors are reported.
@@ -88,8 +61,6 @@ public interface ImportEntriesMetadataOrBuilder
    */
   int getErrorsCount();
   /**
-   *
-   *
    * 
    * Partial errors that are encountered during the ImportEntries operation.
    * There is no guarantee that all the encountered errors are reported.
@@ -99,10 +70,9 @@ public interface ImportEntriesMetadataOrBuilder
    *
    * repeated .google.rpc.Status errors = 2;
    */
-  java.util.List getErrorsOrBuilderList();
+  java.util.List 
+      getErrorsOrBuilderList();
   /**
-   *
-   *
    * 
    * Partial errors that are encountered during the ImportEntries operation.
    * There is no guarantee that all the encountered errors are reported.
@@ -112,5 +82,6 @@ public interface ImportEntriesMetadataOrBuilder
    *
    * repeated .google.rpc.Status errors = 2;
    */
-  com.google.rpc.StatusOrBuilder getErrorsOrBuilder(int index);
+  com.google.rpc.StatusOrBuilder getErrorsOrBuilder(
+      int index);
 }
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequest.java
similarity index 68%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequest.java
rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequest.java
index 6d239935bc5d..f0066e0a1652 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequest.java
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequest.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
 /**
- *
- *
  * 
  * Request message for
  * [ImportEntries][google.cloud.datacatalog.v1.DataCatalog.ImportEntries]
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ImportEntriesRequest}
  */
-public final class ImportEntriesRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ImportEntriesRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ImportEntriesRequest)
     ImportEntriesRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ImportEntriesRequest.newBuilder() to construct.
   private ImportEntriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ImportEntriesRequest() {
     parent_ = "";
     jobId_ = "";
@@ -46,38 +28,33 @@ private ImportEntriesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ImportEntriesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ImportEntriesRequest.class,
-            com.google.cloud.datacatalog.v1.ImportEntriesRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.ImportEntriesRequest.class, com.google.cloud.datacatalog.v1.ImportEntriesRequest.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 {
     GCS_BUCKET_PATH(2),
     SOURCE_NOT_SET(0);
     private final int value;
-
     private SourceCase(int value) {
       this.value = value;
     }
@@ -93,39 +70,31 @@ public static SourceCase valueOf(int value) {
 
     public static SourceCase forNumber(int value) {
       switch (value) {
-        case 2:
-          return GCS_BUCKET_PATH;
-        case 0:
-          return SOURCE_NOT_SET;
-        default:
-          return null;
+        case 2: return GCS_BUCKET_PATH;
+        case 0: return SOURCE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SourceCase getSourceCase() {
-    return SourceCase.forNumber(sourceCase_);
+  public SourceCase
+  getSourceCase() {
+    return SourceCase.forNumber(
+        sourceCase_);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. Target entry group for ingested entries.
    * 
* - * - * string parent = 1 [(.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 @@ -134,31 +103,29 @@ 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. Target entry group for ingested entries.
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -168,28 +135,22 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int GCS_BUCKET_PATH_FIELD_NUMBER = 2; /** - * - * *
    * Path to a Cloud Storage bucket that contains a dump ready for ingestion.
    * 
* * string gcs_bucket_path = 2; - * * @return Whether the gcsBucketPath field is set. */ public boolean hasGcsBucketPath() { return sourceCase_ == 2; } /** - * - * *
    * Path to a Cloud Storage bucket that contains a dump ready for ingestion.
    * 
* * string gcs_bucket_path = 2; - * * @return The gcsBucketPath. */ public java.lang.String getGcsBucketPath() { @@ -200,7 +161,8 @@ public java.lang.String getGcsBucketPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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_ == 2) { source_ = s; @@ -209,24 +171,23 @@ public java.lang.String getGcsBucketPath() { } } /** - * - * *
    * Path to a Cloud Storage bucket that contains a dump ready for ingestion.
    * 
* * string gcs_bucket_path = 2; - * * @return The bytes for gcsBucketPath. */ - public com.google.protobuf.ByteString getGcsBucketPathBytes() { + public com.google.protobuf.ByteString + getGcsBucketPathBytes() { java.lang.Object ref = ""; if (sourceCase_ == 2) { 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_ == 2) { source_ = b; } @@ -237,19 +198,15 @@ public com.google.protobuf.ByteString getGcsBucketPathBytes() { } public static final int JOB_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object jobId_ = ""; /** - * - * *
    * Optional. (Optional) Dataplex task job id, if specified will be used as
    * part of ImportEntries LRO ID
    * 
* * string job_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The jobId. */ @java.lang.Override @@ -258,30 +215,30 @@ 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; } } /** - * - * *
    * Optional. (Optional) Dataplex task job id, if specified will be used as
    * part of ImportEntries LRO ID
    * 
* * string job_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -290,7 +247,6 @@ public com.google.protobuf.ByteString getJobIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -302,7 +258,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -338,20 +295,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.ImportEntriesRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ImportEntriesRequest other = - (com.google.cloud.datacatalog.v1.ImportEntriesRequest) obj; + com.google.cloud.datacatalog.v1.ImportEntriesRequest other = (com.google.cloud.datacatalog.v1.ImportEntriesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getJobId().equals(other.getJobId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getJobId() + .equals(other.getJobId())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsBucketPath().equals(other.getGcsBucketPath())) return false; + if (!getGcsBucketPath() + .equals(other.getGcsBucketPath())) return false; break; case 0: default: @@ -385,103 +344,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ImportEntriesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ImportEntriesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ImportEntriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ImportEntriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ImportEntriesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ImportEntriesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.ImportEntriesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ImportEntriesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ImportEntriesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ImportEntriesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ImportEntriesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ImportEntriesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ImportEntriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ImportEntriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.ImportEntriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [ImportEntries][google.cloud.datacatalog.v1.DataCatalog.ImportEntries]
@@ -490,32 +444,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ImportEntriesRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ImportEntriesRequest)
       com.google.cloud.datacatalog.v1.ImportEntriesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ImportEntriesRequest.class,
-              com.google.cloud.datacatalog.v1.ImportEntriesRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.ImportEntriesRequest.class, com.google.cloud.datacatalog.v1.ImportEntriesRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ImportEntriesRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -528,9 +483,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -549,11 +504,8 @@ public com.google.cloud.datacatalog.v1.ImportEntriesRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ImportEntriesRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.ImportEntriesRequest result =
-          new com.google.cloud.datacatalog.v1.ImportEntriesRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.ImportEntriesRequest result = new com.google.cloud.datacatalog.v1.ImportEntriesRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -578,39 +530,38 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.ImportEntriesReq
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ImportEntriesRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ImportEntriesRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ImportEntriesRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -618,8 +569,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ImportEntriesRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.ImportEntriesRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.ImportEntriesRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -631,17 +581,15 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.ImportEntriesRequest ot
         onChanged();
       }
       switch (other.getSourceCase()) {
-        case GCS_BUCKET_PATH:
-          {
-            sourceCase_ = 2;
-            source_ = other.source_;
-            onChanged();
-            break;
-          }
-        case SOURCE_NOT_SET:
-          {
-            break;
-          }
+        case GCS_BUCKET_PATH: {
+          sourceCase_ = 2;
+          source_ = other.source_;
+          onChanged();
+          break;
+        }
+        case SOURCE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -669,32 +617,28 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                sourceCase_ = 2;
-                source_ = s;
-                break;
-              } // case 18
-            case 26:
-              {
-                jobId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              sourceCase_ = 2;
+              source_ = s;
+              break;
+            } // case 18
+            case 26: {
+              jobId_ = 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) {
@@ -704,12 +648,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() {
@@ -723,22 +667,18 @@ public Builder clearSource() {
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. Target entry group for ingested entries.
      * 
* - * - * string parent = 1 [(.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; @@ -747,23 +687,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Target entry group for ingested entries.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -771,39 +708,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Target entry group for ingested entries.
      * 
* - * - * 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. Target entry group for ingested entries.
      * 
* - * - * string 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() { @@ -813,23 +739,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Target entry group for ingested entries.
      * 
* - * - * 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; @@ -838,14 +758,11 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * Path to a Cloud Storage bucket that contains a dump ready for ingestion.
      * 
* * string gcs_bucket_path = 2; - * * @return Whether the gcsBucketPath field is set. */ @java.lang.Override @@ -853,14 +770,11 @@ public boolean hasGcsBucketPath() { return sourceCase_ == 2; } /** - * - * *
      * Path to a Cloud Storage bucket that contains a dump ready for ingestion.
      * 
* * string gcs_bucket_path = 2; - * * @return The gcsBucketPath. */ @java.lang.Override @@ -870,7 +784,8 @@ public java.lang.String getGcsBucketPath() { 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_ == 2) { source_ = s; @@ -881,25 +796,24 @@ public java.lang.String getGcsBucketPath() { } } /** - * - * *
      * Path to a Cloud Storage bucket that contains a dump ready for ingestion.
      * 
* * string gcs_bucket_path = 2; - * * @return The bytes for gcsBucketPath. */ @java.lang.Override - public com.google.protobuf.ByteString getGcsBucketPathBytes() { + public com.google.protobuf.ByteString + getGcsBucketPathBytes() { java.lang.Object ref = ""; if (sourceCase_ == 2) { 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_ == 2) { source_ = b; } @@ -909,35 +823,28 @@ public com.google.protobuf.ByteString getGcsBucketPathBytes() { } } /** - * - * *
      * Path to a Cloud Storage bucket that contains a dump ready for ingestion.
      * 
* * string gcs_bucket_path = 2; - * * @param value The gcsBucketPath to set. * @return This builder for chaining. */ - public Builder setGcsBucketPath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setGcsBucketPath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceCase_ = 2; source_ = value; onChanged(); return this; } /** - * - * *
      * Path to a Cloud Storage bucket that contains a dump ready for ingestion.
      * 
* * string gcs_bucket_path = 2; - * * @return This builder for chaining. */ public Builder clearGcsBucketPath() { @@ -949,21 +856,17 @@ public Builder clearGcsBucketPath() { return this; } /** - * - * *
      * Path to a Cloud Storage bucket that contains a dump ready for ingestion.
      * 
* * string gcs_bucket_path = 2; - * * @param value The bytes for gcsBucketPath to set. * @return This builder for chaining. */ - public Builder setGcsBucketPathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setGcsBucketPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceCase_ = 2; source_ = value; @@ -973,21 +876,19 @@ public Builder setGcsBucketPathBytes(com.google.protobuf.ByteString value) { private java.lang.Object jobId_ = ""; /** - * - * *
      * Optional. (Optional) Dataplex task job id, if specified will be used as
      * part of ImportEntries LRO ID
      * 
* * string job_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -996,22 +897,21 @@ public java.lang.String getJobId() { } } /** - * - * *
      * Optional. (Optional) Dataplex task job id, if specified will be used as
      * part of ImportEntries LRO ID
      * 
* * string job_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1019,37 +919,30 @@ public com.google.protobuf.ByteString getJobIdBytes() { } } /** - * - * *
      * Optional. (Optional) Dataplex task job id, if specified will be used as
      * part of ImportEntries LRO ID
      * 
* * string job_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. (Optional) Dataplex task job id, if specified will be used as
      * part of ImportEntries LRO ID
      * 
* * string job_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearJobId() { @@ -1059,31 +952,27 @@ public Builder clearJobId() { return this; } /** - * - * *
      * Optional. (Optional) Dataplex task job id, if specified will be used as
      * part of ImportEntries LRO ID
      * 
* * string job_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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_ |= 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); } @@ -1093,12 +982,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ImportEntriesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ImportEntriesRequest) private static final com.google.cloud.datacatalog.v1.ImportEntriesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ImportEntriesRequest(); } @@ -1107,27 +996,27 @@ public static com.google.cloud.datacatalog.v1.ImportEntriesRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportEntriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportEntriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1142,4 +1031,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ImportEntriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequestOrBuilder.java similarity index 61% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequestOrBuilder.java index 0beef7044ab5..cbcc1c1deef8 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequestOrBuilder.java @@ -1,120 +1,82 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface ImportEntriesRequestOrBuilder - extends +public interface ImportEntriesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ImportEntriesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Target entry group for ingested entries.
    * 
* - * - * string parent = 1 [(.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. Target entry group for ingested entries.
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * Path to a Cloud Storage bucket that contains a dump ready for ingestion.
    * 
* * string gcs_bucket_path = 2; - * * @return Whether the gcsBucketPath field is set. */ boolean hasGcsBucketPath(); /** - * - * *
    * Path to a Cloud Storage bucket that contains a dump ready for ingestion.
    * 
* * string gcs_bucket_path = 2; - * * @return The gcsBucketPath. */ java.lang.String getGcsBucketPath(); /** - * - * *
    * Path to a Cloud Storage bucket that contains a dump ready for ingestion.
    * 
* * string gcs_bucket_path = 2; - * * @return The bytes for gcsBucketPath. */ - com.google.protobuf.ByteString getGcsBucketPathBytes(); + com.google.protobuf.ByteString + getGcsBucketPathBytes(); /** - * - * *
    * Optional. (Optional) Dataplex task job id, if specified will be used as
    * part of ImportEntries LRO ID
    * 
* * string job_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The jobId. */ java.lang.String getJobId(); /** - * - * *
    * Optional. (Optional) Dataplex task job id, if specified will be used as
    * part of ImportEntries LRO ID
    * 
* * string job_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for jobId. */ - com.google.protobuf.ByteString getJobIdBytes(); + com.google.protobuf.ByteString + getJobIdBytes(); com.google.cloud.datacatalog.v1.ImportEntriesRequest.SourceCase getSourceCase(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponse.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponse.java similarity index 69% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponse.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponse.java index 8f57edc075fc..b2ae625bd951 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponse.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Response message for [long-running operation][google.longrunning.Operation]
  * returned by the
@@ -29,52 +12,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ImportEntriesResponse}
  */
-public final class ImportEntriesResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ImportEntriesResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ImportEntriesResponse)
     ImportEntriesResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ImportEntriesResponse.newBuilder() to construct.
   private ImportEntriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ImportEntriesResponse() {}
+  private ImportEntriesResponse() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ImportEntriesResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ImportEntriesResponse.class,
-            com.google.cloud.datacatalog.v1.ImportEntriesResponse.Builder.class);
+            com.google.cloud.datacatalog.v1.ImportEntriesResponse.class, com.google.cloud.datacatalog.v1.ImportEntriesResponse.Builder.class);
   }
 
   private int bitField0_;
   public static final int UPSERTED_ENTRIES_COUNT_FIELD_NUMBER = 5;
   private long upsertedEntriesCount_ = 0L;
   /**
-   *
-   *
    * 
    * Cumulative number of entries created and entries updated as a result of
    * import operation.
    * 
* * optional int64 upserted_entries_count = 5; - * * @return Whether the upsertedEntriesCount field is set. */ @java.lang.Override @@ -82,15 +61,12 @@ public boolean hasUpsertedEntriesCount() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Cumulative number of entries created and entries updated as a result of
    * import operation.
    * 
* * optional int64 upserted_entries_count = 5; - * * @return The upsertedEntriesCount. */ @java.lang.Override @@ -101,14 +77,11 @@ public long getUpsertedEntriesCount() { public static final int DELETED_ENTRIES_COUNT_FIELD_NUMBER = 6; private long deletedEntriesCount_ = 0L; /** - * - * *
    * Number of entries deleted as a result of import operation.
    * 
* * optional int64 deleted_entries_count = 6; - * * @return Whether the deletedEntriesCount field is set. */ @java.lang.Override @@ -116,14 +89,11 @@ public boolean hasDeletedEntriesCount() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Number of entries deleted as a result of import operation.
    * 
* * optional int64 deleted_entries_count = 6; - * * @return The deletedEntriesCount. */ @java.lang.Override @@ -132,7 +102,6 @@ public long getDeletedEntriesCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -144,7 +113,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(5, upsertedEntriesCount_); } @@ -161,10 +131,12 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, upsertedEntriesCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(5, upsertedEntriesCount_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(6, deletedEntriesCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(6, deletedEntriesCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -174,21 +146,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.datacatalog.v1.ImportEntriesResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ImportEntriesResponse other = - (com.google.cloud.datacatalog.v1.ImportEntriesResponse) obj; + com.google.cloud.datacatalog.v1.ImportEntriesResponse other = (com.google.cloud.datacatalog.v1.ImportEntriesResponse) obj; if (hasUpsertedEntriesCount() != other.hasUpsertedEntriesCount()) return false; if (hasUpsertedEntriesCount()) { - if (getUpsertedEntriesCount() != other.getUpsertedEntriesCount()) return false; + if (getUpsertedEntriesCount() + != other.getUpsertedEntriesCount()) return false; } if (hasDeletedEntriesCount() != other.hasDeletedEntriesCount()) return false; if (hasDeletedEntriesCount()) { - if (getDeletedEntriesCount() != other.getDeletedEntriesCount()) return false; + if (getDeletedEntriesCount() + != other.getDeletedEntriesCount()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -203,11 +176,13 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); if (hasUpsertedEntriesCount()) { hash = (37 * hash) + UPSERTED_ENTRIES_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUpsertedEntriesCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getUpsertedEntriesCount()); } if (hasDeletedEntriesCount()) { hash = (37 * hash) + DELETED_ENTRIES_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDeletedEntriesCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getDeletedEntriesCount()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -215,104 +190,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ImportEntriesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ImportEntriesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ImportEntriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ImportEntriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ImportEntriesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ImportEntriesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.ImportEntriesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ImportEntriesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ImportEntriesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ImportEntriesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ImportEntriesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ImportEntriesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ImportEntriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ImportEntriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.ImportEntriesResponse prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.ImportEntriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for [long-running operation][google.longrunning.Operation]
    * returned by the
@@ -321,32 +290,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ImportEntriesResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ImportEntriesResponse)
       com.google.cloud.datacatalog.v1.ImportEntriesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ImportEntriesResponse.class,
-              com.google.cloud.datacatalog.v1.ImportEntriesResponse.Builder.class);
+              com.google.cloud.datacatalog.v1.ImportEntriesResponse.class, com.google.cloud.datacatalog.v1.ImportEntriesResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ImportEntriesResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -357,9 +327,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_descriptor;
     }
 
     @java.lang.Override
@@ -378,11 +348,8 @@ public com.google.cloud.datacatalog.v1.ImportEntriesResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ImportEntriesResponse buildPartial() {
-      com.google.cloud.datacatalog.v1.ImportEntriesResponse result =
-          new com.google.cloud.datacatalog.v1.ImportEntriesResponse(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.ImportEntriesResponse result = new com.google.cloud.datacatalog.v1.ImportEntriesResponse(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -405,39 +372,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ImportEntriesResponse
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ImportEntriesResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ImportEntriesResponse) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ImportEntriesResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -445,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ImportEntriesResponse other) {
-      if (other == com.google.cloud.datacatalog.v1.ImportEntriesResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.ImportEntriesResponse.getDefaultInstance()) return this;
       if (other.hasUpsertedEntriesCount()) {
         setUpsertedEntriesCount(other.getUpsertedEntriesCount());
       }
@@ -479,25 +444,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 40:
-              {
-                upsertedEntriesCount_ = input.readInt64();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 40
-            case 48:
-              {
-                deletedEntriesCount_ = input.readInt64();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 48
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 40: {
+              upsertedEntriesCount_ = input.readInt64();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 40
+            case 48: {
+              deletedEntriesCount_ = input.readInt64();
+              bitField0_ |= 0x00000002;
+              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) {
@@ -507,20 +469,16 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private long upsertedEntriesCount_;
+    private long upsertedEntriesCount_ ;
     /**
-     *
-     *
      * 
      * Cumulative number of entries created and entries updated as a result of
      * import operation.
      * 
* * optional int64 upserted_entries_count = 5; - * * @return Whether the upsertedEntriesCount field is set. */ @java.lang.Override @@ -528,15 +486,12 @@ public boolean hasUpsertedEntriesCount() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Cumulative number of entries created and entries updated as a result of
      * import operation.
      * 
* * optional int64 upserted_entries_count = 5; - * * @return The upsertedEntriesCount. */ @java.lang.Override @@ -544,15 +499,12 @@ public long getUpsertedEntriesCount() { return upsertedEntriesCount_; } /** - * - * *
      * Cumulative number of entries created and entries updated as a result of
      * import operation.
      * 
* * optional int64 upserted_entries_count = 5; - * * @param value The upsertedEntriesCount to set. * @return This builder for chaining. */ @@ -564,15 +516,12 @@ public Builder setUpsertedEntriesCount(long value) { return this; } /** - * - * *
      * Cumulative number of entries created and entries updated as a result of
      * import operation.
      * 
* * optional int64 upserted_entries_count = 5; - * * @return This builder for chaining. */ public Builder clearUpsertedEntriesCount() { @@ -582,16 +531,13 @@ public Builder clearUpsertedEntriesCount() { return this; } - private long deletedEntriesCount_; + private long deletedEntriesCount_ ; /** - * - * *
      * Number of entries deleted as a result of import operation.
      * 
* * optional int64 deleted_entries_count = 6; - * * @return Whether the deletedEntriesCount field is set. */ @java.lang.Override @@ -599,14 +545,11 @@ public boolean hasDeletedEntriesCount() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Number of entries deleted as a result of import operation.
      * 
* * optional int64 deleted_entries_count = 6; - * * @return The deletedEntriesCount. */ @java.lang.Override @@ -614,14 +557,11 @@ public long getDeletedEntriesCount() { return deletedEntriesCount_; } /** - * - * *
      * Number of entries deleted as a result of import operation.
      * 
* * optional int64 deleted_entries_count = 6; - * * @param value The deletedEntriesCount to set. * @return This builder for chaining. */ @@ -633,14 +573,11 @@ public Builder setDeletedEntriesCount(long value) { return this; } /** - * - * *
      * Number of entries deleted as a result of import operation.
      * 
* * optional int64 deleted_entries_count = 6; - * * @return This builder for chaining. */ public Builder clearDeletedEntriesCount() { @@ -649,9 +586,9 @@ public Builder clearDeletedEntriesCount() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -661,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ImportEntriesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ImportEntriesResponse) private static final com.google.cloud.datacatalog.v1.ImportEntriesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ImportEntriesResponse(); } @@ -675,27 +612,27 @@ public static com.google.cloud.datacatalog.v1.ImportEntriesResponse getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportEntriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportEntriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -710,4 +647,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ImportEntriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponseOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponseOrBuilder.java similarity index 65% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponseOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponseOrBuilder.java index c943d1311175..cd875f5eab6c 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponseOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponseOrBuilder.java @@ -1,76 +1,48 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface ImportEntriesResponseOrBuilder - extends +public interface ImportEntriesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ImportEntriesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cumulative number of entries created and entries updated as a result of
    * import operation.
    * 
* * optional int64 upserted_entries_count = 5; - * * @return Whether the upsertedEntriesCount field is set. */ boolean hasUpsertedEntriesCount(); /** - * - * *
    * Cumulative number of entries created and entries updated as a result of
    * import operation.
    * 
* * optional int64 upserted_entries_count = 5; - * * @return The upsertedEntriesCount. */ long getUpsertedEntriesCount(); /** - * - * *
    * Number of entries deleted as a result of import operation.
    * 
* * optional int64 deleted_entries_count = 6; - * * @return Whether the deletedEntriesCount field is set. */ boolean hasDeletedEntriesCount(); /** - * - * *
    * Number of entries deleted as a result of import operation.
    * 
* * optional int64 deleted_entries_count = 6; - * * @return The deletedEntriesCount. */ long getDeletedEntriesCount(); diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequest.java similarity index 69% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequest.java index d890b4694d73..de46e48df81a 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [ImportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ImportTaxonomies].
@@ -28,55 +11,49 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ImportTaxonomiesRequest}
  */
-public final class ImportTaxonomiesRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ImportTaxonomiesRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ImportTaxonomiesRequest)
     ImportTaxonomiesRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ImportTaxonomiesRequest.newBuilder() to construct.
   private ImportTaxonomiesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ImportTaxonomiesRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ImportTaxonomiesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-        .internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-        .internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest.class,
-            com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest.class, com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest.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 {
     INLINE_SOURCE(2),
     CROSS_REGIONAL_SOURCE(3),
     SOURCE_NOT_SET(0);
     private final int value;
-
     private SourceCase(int value) {
       this.value = value;
     }
@@ -92,42 +69,33 @@ public static SourceCase valueOf(int value) {
 
     public static SourceCase forNumber(int value) {
       switch (value) {
-        case 2:
-          return INLINE_SOURCE;
-        case 3:
-          return CROSS_REGIONAL_SOURCE;
-        case 0:
-          return SOURCE_NOT_SET;
-        default:
-          return null;
+        case 2: return INLINE_SOURCE;
+        case 3: return CROSS_REGIONAL_SOURCE;
+        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 PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. Resource name of project that the imported taxonomies will belong
    * to.
    * 
* - * - * string parent = 1 [(.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 @@ -136,32 +104,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. Resource name of project that the imported taxonomies will belong
    * to.
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -171,14 +137,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int INLINE_SOURCE_FIELD_NUMBER = 2; /** - * - * *
    * Inline source taxonomy to import.
    * 
* * .google.cloud.datacatalog.v1.InlineSource inline_source = 2; - * * @return Whether the inlineSource field is set. */ @java.lang.Override @@ -186,26 +149,21 @@ public boolean hasInlineSource() { return sourceCase_ == 2; } /** - * - * *
    * Inline source taxonomy to import.
    * 
* * .google.cloud.datacatalog.v1.InlineSource inline_source = 2; - * * @return The inlineSource. */ @java.lang.Override public com.google.cloud.datacatalog.v1.InlineSource getInlineSource() { if (sourceCase_ == 2) { - return (com.google.cloud.datacatalog.v1.InlineSource) source_; + return (com.google.cloud.datacatalog.v1.InlineSource) source_; } return com.google.cloud.datacatalog.v1.InlineSource.getDefaultInstance(); } /** - * - * *
    * Inline source taxonomy to import.
    * 
@@ -215,21 +173,18 @@ public com.google.cloud.datacatalog.v1.InlineSource getInlineSource() { @java.lang.Override public com.google.cloud.datacatalog.v1.InlineSourceOrBuilder getInlineSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.cloud.datacatalog.v1.InlineSource) source_; + return (com.google.cloud.datacatalog.v1.InlineSource) source_; } return com.google.cloud.datacatalog.v1.InlineSource.getDefaultInstance(); } public static final int CROSS_REGIONAL_SOURCE_FIELD_NUMBER = 3; /** - * - * *
    * Cross-regional source taxonomy to import.
    * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; - * * @return Whether the crossRegionalSource field is set. */ @java.lang.Override @@ -237,26 +192,21 @@ public boolean hasCrossRegionalSource() { return sourceCase_ == 3; } /** - * - * *
    * Cross-regional source taxonomy to import.
    * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; - * * @return The crossRegionalSource. */ @java.lang.Override public com.google.cloud.datacatalog.v1.CrossRegionalSource getCrossRegionalSource() { if (sourceCase_ == 3) { - return (com.google.cloud.datacatalog.v1.CrossRegionalSource) source_; + return (com.google.cloud.datacatalog.v1.CrossRegionalSource) source_; } return com.google.cloud.datacatalog.v1.CrossRegionalSource.getDefaultInstance(); } /** - * - * *
    * Cross-regional source taxonomy to import.
    * 
@@ -264,16 +214,14 @@ public com.google.cloud.datacatalog.v1.CrossRegionalSource getCrossRegionalSourc * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.CrossRegionalSourceOrBuilder - getCrossRegionalSourceOrBuilder() { + public com.google.cloud.datacatalog.v1.CrossRegionalSourceOrBuilder getCrossRegionalSourceOrBuilder() { if (sourceCase_ == 3) { - return (com.google.cloud.datacatalog.v1.CrossRegionalSource) source_; + return (com.google.cloud.datacatalog.v1.CrossRegionalSource) source_; } return com.google.cloud.datacatalog.v1.CrossRegionalSource.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -285,7 +233,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -308,14 +257,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.datacatalog.v1.InlineSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.datacatalog.v1.InlineSource) source_); } if (sourceCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.cloud.datacatalog.v1.CrossRegionalSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.datacatalog.v1.CrossRegionalSource) source_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -325,22 +272,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.datacatalog.v1.ImportTaxonomiesRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest other = - (com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest) obj; + com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest other = (com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getInlineSource().equals(other.getInlineSource())) return false; + if (!getInlineSource() + .equals(other.getInlineSource())) return false; break; case 3: - if (!getCrossRegionalSource().equals(other.getCrossRegionalSource())) return false; + if (!getCrossRegionalSource() + .equals(other.getCrossRegionalSource())) return false; break; case 0: default: @@ -376,104 +325,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [ImportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ImportTaxonomies].
@@ -481,32 +424,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ImportTaxonomiesRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ImportTaxonomiesRequest)
       com.google.cloud.datacatalog.v1.ImportTaxonomiesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest.class,
-              com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest.class, com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -524,9 +468,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -545,11 +489,8 @@ public com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest result =
-          new com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest result = new com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -562,14 +503,15 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ImportTaxonomiesReque
       }
     }
 
-    private void buildPartialOneofs(
-        com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest result) {
+    private void buildPartialOneofs(com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest result) {
       result.sourceCase_ = sourceCase_;
       result.source_ = this.source_;
-      if (sourceCase_ == 2 && inlineSourceBuilder_ != null) {
+      if (sourceCase_ == 2 &&
+          inlineSourceBuilder_ != null) {
         result.source_ = inlineSourceBuilder_.build();
       }
-      if (sourceCase_ == 3 && crossRegionalSourceBuilder_ != null) {
+      if (sourceCase_ == 3 &&
+          crossRegionalSourceBuilder_ != null) {
         result.source_ = crossRegionalSourceBuilder_.build();
       }
     }
@@ -578,39 +520,38 @@ private void buildPartialOneofs(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -618,28 +559,24 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
         onChanged();
       }
       switch (other.getSourceCase()) {
-        case INLINE_SOURCE:
-          {
-            mergeInlineSource(other.getInlineSource());
-            break;
-          }
-        case CROSS_REGIONAL_SOURCE:
-          {
-            mergeCrossRegionalSource(other.getCrossRegionalSource());
-            break;
-          }
-        case SOURCE_NOT_SET:
-          {
-            break;
-          }
+        case INLINE_SOURCE: {
+          mergeInlineSource(other.getInlineSource());
+          break;
+        }
+        case CROSS_REGIONAL_SOURCE: {
+          mergeCrossRegionalSource(other.getCrossRegionalSource());
+          break;
+        }
+        case SOURCE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -667,32 +604,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getInlineSourceFieldBuilder().getBuilder(), extensionRegistry);
-                sourceCase_ = 2;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(
-                    getCrossRegionalSourceFieldBuilder().getBuilder(), extensionRegistry);
-                sourceCase_ = 3;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getInlineSourceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              sourceCase_ = 2;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getCrossRegionalSourceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              sourceCase_ = 3;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -702,12 +638,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() {
@@ -721,23 +657,19 @@ public Builder clearSource() {
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. Resource name of project that the imported taxonomies will belong
      * to.
      * 
* - * - * string parent = 1 [(.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; @@ -746,24 +678,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of project that the imported taxonomies will belong
      * to.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -771,41 +700,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of project that the imported taxonomies will belong
      * to.
      * 
* - * - * 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. Resource name of project that the imported taxonomies will belong
      * to.
      * 
* - * - * string 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() { @@ -815,24 +733,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Resource name of project that the imported taxonomies will belong
      * to.
      * 
* - * - * 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; @@ -841,19 +753,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.InlineSource, - com.google.cloud.datacatalog.v1.InlineSource.Builder, - com.google.cloud.datacatalog.v1.InlineSourceOrBuilder> - inlineSourceBuilder_; + com.google.cloud.datacatalog.v1.InlineSource, com.google.cloud.datacatalog.v1.InlineSource.Builder, com.google.cloud.datacatalog.v1.InlineSourceOrBuilder> inlineSourceBuilder_; /** - * - * *
      * Inline source taxonomy to import.
      * 
* * .google.cloud.datacatalog.v1.InlineSource inline_source = 2; - * * @return Whether the inlineSource field is set. */ @java.lang.Override @@ -861,14 +767,11 @@ public boolean hasInlineSource() { return sourceCase_ == 2; } /** - * - * *
      * Inline source taxonomy to import.
      * 
* * .google.cloud.datacatalog.v1.InlineSource inline_source = 2; - * * @return The inlineSource. */ @java.lang.Override @@ -886,8 +789,6 @@ public com.google.cloud.datacatalog.v1.InlineSource getInlineSource() { } } /** - * - * *
      * Inline source taxonomy to import.
      * 
@@ -908,8 +809,6 @@ public Builder setInlineSource(com.google.cloud.datacatalog.v1.InlineSource valu return this; } /** - * - * *
      * Inline source taxonomy to import.
      * 
@@ -928,8 +827,6 @@ public Builder setInlineSource( return this; } /** - * - * *
      * Inline source taxonomy to import.
      * 
@@ -938,13 +835,10 @@ public Builder setInlineSource( */ public Builder mergeInlineSource(com.google.cloud.datacatalog.v1.InlineSource value) { if (inlineSourceBuilder_ == null) { - if (sourceCase_ == 2 - && source_ != com.google.cloud.datacatalog.v1.InlineSource.getDefaultInstance()) { - source_ = - com.google.cloud.datacatalog.v1.InlineSource.newBuilder( - (com.google.cloud.datacatalog.v1.InlineSource) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 2 && + source_ != com.google.cloud.datacatalog.v1.InlineSource.getDefaultInstance()) { + source_ = com.google.cloud.datacatalog.v1.InlineSource.newBuilder((com.google.cloud.datacatalog.v1.InlineSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -960,8 +854,6 @@ public Builder mergeInlineSource(com.google.cloud.datacatalog.v1.InlineSource va return this; } /** - * - * *
      * Inline source taxonomy to import.
      * 
@@ -985,8 +877,6 @@ public Builder clearInlineSource() { return this; } /** - * - * *
      * Inline source taxonomy to import.
      * 
@@ -997,8 +887,6 @@ public com.google.cloud.datacatalog.v1.InlineSource.Builder getInlineSourceBuild return getInlineSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Inline source taxonomy to import.
      * 
@@ -1017,8 +905,6 @@ public com.google.cloud.datacatalog.v1.InlineSourceOrBuilder getInlineSourceOrBu } } /** - * - * *
      * Inline source taxonomy to import.
      * 
@@ -1026,19 +912,14 @@ public com.google.cloud.datacatalog.v1.InlineSourceOrBuilder getInlineSourceOrBu * .google.cloud.datacatalog.v1.InlineSource inline_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.InlineSource, - com.google.cloud.datacatalog.v1.InlineSource.Builder, - com.google.cloud.datacatalog.v1.InlineSourceOrBuilder> + com.google.cloud.datacatalog.v1.InlineSource, com.google.cloud.datacatalog.v1.InlineSource.Builder, com.google.cloud.datacatalog.v1.InlineSourceOrBuilder> getInlineSourceFieldBuilder() { if (inlineSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { source_ = com.google.cloud.datacatalog.v1.InlineSource.getDefaultInstance(); } - inlineSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.InlineSource, - com.google.cloud.datacatalog.v1.InlineSource.Builder, - com.google.cloud.datacatalog.v1.InlineSourceOrBuilder>( + inlineSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.InlineSource, com.google.cloud.datacatalog.v1.InlineSource.Builder, com.google.cloud.datacatalog.v1.InlineSourceOrBuilder>( (com.google.cloud.datacatalog.v1.InlineSource) source_, getParentForChildren(), isClean()); @@ -1050,19 +931,13 @@ public com.google.cloud.datacatalog.v1.InlineSourceOrBuilder getInlineSourceOrBu } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.CrossRegionalSource, - com.google.cloud.datacatalog.v1.CrossRegionalSource.Builder, - com.google.cloud.datacatalog.v1.CrossRegionalSourceOrBuilder> - crossRegionalSourceBuilder_; + com.google.cloud.datacatalog.v1.CrossRegionalSource, com.google.cloud.datacatalog.v1.CrossRegionalSource.Builder, com.google.cloud.datacatalog.v1.CrossRegionalSourceOrBuilder> crossRegionalSourceBuilder_; /** - * - * *
      * Cross-regional source taxonomy to import.
      * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; - * * @return Whether the crossRegionalSource field is set. */ @java.lang.Override @@ -1070,14 +945,11 @@ public boolean hasCrossRegionalSource() { return sourceCase_ == 3; } /** - * - * *
      * Cross-regional source taxonomy to import.
      * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; - * * @return The crossRegionalSource. */ @java.lang.Override @@ -1095,16 +967,13 @@ public com.google.cloud.datacatalog.v1.CrossRegionalSource getCrossRegionalSourc } } /** - * - * *
      * Cross-regional source taxonomy to import.
      * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; */ - public Builder setCrossRegionalSource( - com.google.cloud.datacatalog.v1.CrossRegionalSource value) { + public Builder setCrossRegionalSource(com.google.cloud.datacatalog.v1.CrossRegionalSource value) { if (crossRegionalSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1118,8 +987,6 @@ public Builder setCrossRegionalSource( return this; } /** - * - * *
      * Cross-regional source taxonomy to import.
      * 
@@ -1138,25 +1005,18 @@ public Builder setCrossRegionalSource( return this; } /** - * - * *
      * Cross-regional source taxonomy to import.
      * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; */ - public Builder mergeCrossRegionalSource( - com.google.cloud.datacatalog.v1.CrossRegionalSource value) { + public Builder mergeCrossRegionalSource(com.google.cloud.datacatalog.v1.CrossRegionalSource value) { if (crossRegionalSourceBuilder_ == null) { - if (sourceCase_ == 3 - && source_ - != com.google.cloud.datacatalog.v1.CrossRegionalSource.getDefaultInstance()) { - source_ = - com.google.cloud.datacatalog.v1.CrossRegionalSource.newBuilder( - (com.google.cloud.datacatalog.v1.CrossRegionalSource) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 3 && + source_ != com.google.cloud.datacatalog.v1.CrossRegionalSource.getDefaultInstance()) { + source_ = com.google.cloud.datacatalog.v1.CrossRegionalSource.newBuilder((com.google.cloud.datacatalog.v1.CrossRegionalSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -1172,8 +1032,6 @@ public Builder mergeCrossRegionalSource( return this; } /** - * - * *
      * Cross-regional source taxonomy to import.
      * 
@@ -1197,21 +1055,16 @@ public Builder clearCrossRegionalSource() { return this; } /** - * - * *
      * Cross-regional source taxonomy to import.
      * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; */ - public com.google.cloud.datacatalog.v1.CrossRegionalSource.Builder - getCrossRegionalSourceBuilder() { + public com.google.cloud.datacatalog.v1.CrossRegionalSource.Builder getCrossRegionalSourceBuilder() { return getCrossRegionalSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Cross-regional source taxonomy to import.
      * 
@@ -1219,8 +1072,7 @@ public Builder clearCrossRegionalSource() { * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.CrossRegionalSourceOrBuilder - getCrossRegionalSourceOrBuilder() { + public com.google.cloud.datacatalog.v1.CrossRegionalSourceOrBuilder getCrossRegionalSourceOrBuilder() { if ((sourceCase_ == 3) && (crossRegionalSourceBuilder_ != null)) { return crossRegionalSourceBuilder_.getMessageOrBuilder(); } else { @@ -1231,8 +1083,6 @@ public Builder clearCrossRegionalSource() { } } /** - * - * *
      * Cross-regional source taxonomy to import.
      * 
@@ -1240,19 +1090,14 @@ public Builder clearCrossRegionalSource() { * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.CrossRegionalSource, - com.google.cloud.datacatalog.v1.CrossRegionalSource.Builder, - com.google.cloud.datacatalog.v1.CrossRegionalSourceOrBuilder> + com.google.cloud.datacatalog.v1.CrossRegionalSource, com.google.cloud.datacatalog.v1.CrossRegionalSource.Builder, com.google.cloud.datacatalog.v1.CrossRegionalSourceOrBuilder> getCrossRegionalSourceFieldBuilder() { if (crossRegionalSourceBuilder_ == null) { if (!(sourceCase_ == 3)) { source_ = com.google.cloud.datacatalog.v1.CrossRegionalSource.getDefaultInstance(); } - crossRegionalSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.CrossRegionalSource, - com.google.cloud.datacatalog.v1.CrossRegionalSource.Builder, - com.google.cloud.datacatalog.v1.CrossRegionalSourceOrBuilder>( + crossRegionalSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.CrossRegionalSource, com.google.cloud.datacatalog.v1.CrossRegionalSource.Builder, com.google.cloud.datacatalog.v1.CrossRegionalSourceOrBuilder>( (com.google.cloud.datacatalog.v1.CrossRegionalSource) source_, getParentForChildren(), isClean()); @@ -1262,9 +1107,9 @@ public Builder clearCrossRegionalSource() { onChanged(); return crossRegionalSourceBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1274,12 +1119,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ImportTaxonomiesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ImportTaxonomiesRequest) private static final com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest(); } @@ -1288,27 +1133,27 @@ public static com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportTaxonomiesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportTaxonomiesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1323,4 +1168,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequestOrBuilder.java similarity index 68% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequestOrBuilder.java index e7b63966c41b..4ed92f09d014 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequestOrBuilder.java @@ -1,86 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1; -public interface ImportTaxonomiesRequestOrBuilder - extends +public interface ImportTaxonomiesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ImportTaxonomiesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of project that the imported taxonomies will belong
    * to.
    * 
* - * - * string parent = 1 [(.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. Resource name of project that the imported taxonomies will belong
    * to.
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * Inline source taxonomy to import.
    * 
* * .google.cloud.datacatalog.v1.InlineSource inline_source = 2; - * * @return Whether the inlineSource field is set. */ boolean hasInlineSource(); /** - * - * *
    * Inline source taxonomy to import.
    * 
* * .google.cloud.datacatalog.v1.InlineSource inline_source = 2; - * * @return The inlineSource. */ com.google.cloud.datacatalog.v1.InlineSource getInlineSource(); /** - * - * *
    * Inline source taxonomy to import.
    * 
@@ -90,32 +57,24 @@ public interface ImportTaxonomiesRequestOrBuilder com.google.cloud.datacatalog.v1.InlineSourceOrBuilder getInlineSourceOrBuilder(); /** - * - * *
    * Cross-regional source taxonomy to import.
    * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; - * * @return Whether the crossRegionalSource field is set. */ boolean hasCrossRegionalSource(); /** - * - * *
    * Cross-regional source taxonomy to import.
    * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; - * * @return The crossRegionalSource. */ com.google.cloud.datacatalog.v1.CrossRegionalSource getCrossRegionalSource(); /** - * - * *
    * Cross-regional source taxonomy to import.
    * 
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponse.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponse.java similarity index 70% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponse.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponse.java index f0d1287788b1..2568dc4d2f8f 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponse.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Response message for
  * [ImportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ImportTaxonomies].
@@ -28,48 +11,43 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ImportTaxonomiesResponse}
  */
-public final class ImportTaxonomiesResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ImportTaxonomiesResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ImportTaxonomiesResponse)
     ImportTaxonomiesResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ImportTaxonomiesResponse.newBuilder() to construct.
   private ImportTaxonomiesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ImportTaxonomiesResponse() {
     taxonomies_ = 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 ImportTaxonomiesResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-        .internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-        .internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse.class,
-            com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse.Builder.class);
+            com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse.class, com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse.Builder.class);
   }
 
   public static final int TAXONOMIES_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List taxonomies_;
   /**
-   *
-   *
    * 
    * Imported taxonomies.
    * 
@@ -81,8 +59,6 @@ public java.util.List getTaxonomiesLis return taxonomies_; } /** - * - * *
    * Imported taxonomies.
    * 
@@ -90,13 +66,11 @@ public java.util.List getTaxonomiesLis * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTaxonomiesOrBuilderList() { return taxonomies_; } /** - * - * *
    * Imported taxonomies.
    * 
@@ -108,8 +82,6 @@ public int getTaxonomiesCount() { return taxonomies_.size(); } /** - * - * *
    * Imported taxonomies.
    * 
@@ -121,8 +93,6 @@ public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomies(int index) { return taxonomies_.get(index); } /** - * - * *
    * Imported taxonomies.
    * 
@@ -130,12 +100,12 @@ public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomies(int index) { * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder(int index) { + public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder( + int index) { return taxonomies_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,7 +117,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < taxonomies_.size(); i++) { output.writeMessage(1, taxonomies_.get(i)); } @@ -161,7 +132,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < taxonomies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, taxonomies_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, taxonomies_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -171,15 +143,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse other = - (com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse) obj; + com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse other = (com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse) obj; - if (!getTaxonomiesList().equals(other.getTaxonomiesList())) return false; + if (!getTaxonomiesList() + .equals(other.getTaxonomiesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -201,104 +173,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for
    * [ImportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ImportTaxonomies].
@@ -306,32 +272,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ImportTaxonomiesResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ImportTaxonomiesResponse)
       com.google.cloud.datacatalog.v1.ImportTaxonomiesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse.class,
-              com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse.Builder.class);
+              com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse.class, com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -347,9 +314,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_descriptor;
     }
 
     @java.lang.Override
@@ -368,18 +335,14 @@ public com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse buildPartial() {
-      com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse result =
-          new com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse(this);
+      com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse result = new com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse result) {
+    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse result) {
       if (taxonomiesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           taxonomies_ = java.util.Collections.unmodifiableList(taxonomies_);
@@ -399,39 +362,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ImportTaxonomiesRespo
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -439,8 +401,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse other) {
-      if (other == com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse.getDefaultInstance()) return this;
       if (taxonomiesBuilder_ == null) {
         if (!other.taxonomies_.isEmpty()) {
           if (taxonomies_.isEmpty()) {
@@ -459,10 +420,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.ImportTaxonomiesRespons
             taxonomiesBuilder_ = null;
             taxonomies_ = other.taxonomies_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            taxonomiesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getTaxonomiesFieldBuilder()
-                    : null;
+            taxonomiesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getTaxonomiesFieldBuilder() : null;
           } else {
             taxonomiesBuilder_.addAllMessages(other.taxonomies_);
           }
@@ -494,26 +454,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.datacatalog.v1.Taxonomy m =
-                    input.readMessage(
-                        com.google.cloud.datacatalog.v1.Taxonomy.parser(), extensionRegistry);
-                if (taxonomiesBuilder_ == null) {
-                  ensureTaxonomiesIsMutable();
-                  taxonomies_.add(m);
-                } else {
-                  taxonomiesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.cloud.datacatalog.v1.Taxonomy m =
+                  input.readMessage(
+                      com.google.cloud.datacatalog.v1.Taxonomy.parser(),
+                      extensionRegistry);
+              if (taxonomiesBuilder_ == null) {
+                ensureTaxonomiesIsMutable();
+                taxonomies_.add(m);
+              } else {
+                taxonomiesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -523,29 +482,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List taxonomies_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureTaxonomiesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        taxonomies_ =
-            new java.util.ArrayList(taxonomies_);
+        taxonomies_ = new java.util.ArrayList(taxonomies_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.Taxonomy,
-            com.google.cloud.datacatalog.v1.Taxonomy.Builder,
-            com.google.cloud.datacatalog.v1.TaxonomyOrBuilder>
-        taxonomiesBuilder_;
+        com.google.cloud.datacatalog.v1.Taxonomy, com.google.cloud.datacatalog.v1.Taxonomy.Builder, com.google.cloud.datacatalog.v1.TaxonomyOrBuilder> taxonomiesBuilder_;
 
     /**
-     *
-     *
      * 
      * Imported taxonomies.
      * 
@@ -560,8 +511,6 @@ public java.util.List getTaxonomiesLis } } /** - * - * *
      * Imported taxonomies.
      * 
@@ -576,8 +525,6 @@ public int getTaxonomiesCount() { } } /** - * - * *
      * Imported taxonomies.
      * 
@@ -592,15 +539,14 @@ public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomies(int index) { } } /** - * - * *
      * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - public Builder setTaxonomies(int index, com.google.cloud.datacatalog.v1.Taxonomy value) { + public Builder setTaxonomies( + int index, com.google.cloud.datacatalog.v1.Taxonomy value) { if (taxonomiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -614,8 +560,6 @@ public Builder setTaxonomies(int index, com.google.cloud.datacatalog.v1.Taxonomy return this; } /** - * - * *
      * Imported taxonomies.
      * 
@@ -634,8 +578,6 @@ public Builder setTaxonomies( return this; } /** - * - * *
      * Imported taxonomies.
      * 
@@ -656,15 +598,14 @@ public Builder addTaxonomies(com.google.cloud.datacatalog.v1.Taxonomy value) { return this; } /** - * - * *
      * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - public Builder addTaxonomies(int index, com.google.cloud.datacatalog.v1.Taxonomy value) { + public Builder addTaxonomies( + int index, com.google.cloud.datacatalog.v1.Taxonomy value) { if (taxonomiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -678,15 +619,14 @@ public Builder addTaxonomies(int index, com.google.cloud.datacatalog.v1.Taxonomy return this; } /** - * - * *
      * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - public Builder addTaxonomies(com.google.cloud.datacatalog.v1.Taxonomy.Builder builderForValue) { + public Builder addTaxonomies( + com.google.cloud.datacatalog.v1.Taxonomy.Builder builderForValue) { if (taxonomiesBuilder_ == null) { ensureTaxonomiesIsMutable(); taxonomies_.add(builderForValue.build()); @@ -697,8 +637,6 @@ public Builder addTaxonomies(com.google.cloud.datacatalog.v1.Taxonomy.Builder bu return this; } /** - * - * *
      * Imported taxonomies.
      * 
@@ -717,8 +655,6 @@ public Builder addTaxonomies( return this; } /** - * - * *
      * Imported taxonomies.
      * 
@@ -729,7 +665,8 @@ public Builder addAllTaxonomies( java.lang.Iterable values) { if (taxonomiesBuilder_ == null) { ensureTaxonomiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taxonomies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, taxonomies_); onChanged(); } else { taxonomiesBuilder_.addAllMessages(values); @@ -737,8 +674,6 @@ public Builder addAllTaxonomies( return this; } /** - * - * *
      * Imported taxonomies.
      * 
@@ -756,8 +691,6 @@ public Builder clearTaxonomies() { return this; } /** - * - * *
      * Imported taxonomies.
      * 
@@ -775,44 +708,39 @@ public Builder removeTaxonomies(int index) { return this; } /** - * - * *
      * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - public com.google.cloud.datacatalog.v1.Taxonomy.Builder getTaxonomiesBuilder(int index) { + public com.google.cloud.datacatalog.v1.Taxonomy.Builder getTaxonomiesBuilder( + int index) { return getTaxonomiesFieldBuilder().getBuilder(index); } /** - * - * *
      * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder(int index) { + public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder( + int index) { if (taxonomiesBuilder_ == null) { - return taxonomies_.get(index); - } else { + return taxonomies_.get(index); } else { return taxonomiesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - public java.util.List - getTaxonomiesOrBuilderList() { + public java.util.List + getTaxonomiesOrBuilderList() { if (taxonomiesBuilder_ != null) { return taxonomiesBuilder_.getMessageOrBuilderList(); } else { @@ -820,8 +748,6 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder( } } /** - * - * *
      * Imported taxonomies.
      * 
@@ -829,55 +755,49 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder( * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ public com.google.cloud.datacatalog.v1.Taxonomy.Builder addTaxonomiesBuilder() { - return getTaxonomiesFieldBuilder() - .addBuilder(com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance()); + return getTaxonomiesFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance()); } /** - * - * *
      * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - public com.google.cloud.datacatalog.v1.Taxonomy.Builder addTaxonomiesBuilder(int index) { - return getTaxonomiesFieldBuilder() - .addBuilder(index, com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance()); + public com.google.cloud.datacatalog.v1.Taxonomy.Builder addTaxonomiesBuilder( + int index) { + return getTaxonomiesFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance()); } /** - * - * *
      * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - public java.util.List - getTaxonomiesBuilderList() { + public java.util.List + getTaxonomiesBuilderList() { return getTaxonomiesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Taxonomy, - com.google.cloud.datacatalog.v1.Taxonomy.Builder, - com.google.cloud.datacatalog.v1.TaxonomyOrBuilder> + com.google.cloud.datacatalog.v1.Taxonomy, com.google.cloud.datacatalog.v1.Taxonomy.Builder, com.google.cloud.datacatalog.v1.TaxonomyOrBuilder> getTaxonomiesFieldBuilder() { if (taxonomiesBuilder_ == null) { - taxonomiesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Taxonomy, - com.google.cloud.datacatalog.v1.Taxonomy.Builder, - com.google.cloud.datacatalog.v1.TaxonomyOrBuilder>( - taxonomies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + taxonomiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.Taxonomy, com.google.cloud.datacatalog.v1.Taxonomy.Builder, com.google.cloud.datacatalog.v1.TaxonomyOrBuilder>( + taxonomies_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); taxonomies_ = null; } return taxonomiesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -887,12 +807,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ImportTaxonomiesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ImportTaxonomiesResponse) private static final com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse(); } @@ -901,27 +821,27 @@ public static com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportTaxonomiesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportTaxonomiesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -936,4 +856,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponseOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponseOrBuilder.java similarity index 61% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponseOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponseOrBuilder.java index f87b9b49cf2a..e9df0b81d75e 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponseOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1; -public interface ImportTaxonomiesResponseOrBuilder - extends +public interface ImportTaxonomiesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ImportTaxonomiesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Imported taxonomies.
    * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - java.util.List getTaxonomiesList(); + java.util.List + getTaxonomiesList(); /** - * - * *
    * Imported taxonomies.
    * 
@@ -44,8 +25,6 @@ public interface ImportTaxonomiesResponseOrBuilder */ com.google.cloud.datacatalog.v1.Taxonomy getTaxonomies(int index); /** - * - * *
    * Imported taxonomies.
    * 
@@ -54,24 +33,21 @@ public interface ImportTaxonomiesResponseOrBuilder */ int getTaxonomiesCount(); /** - * - * *
    * Imported taxonomies.
    * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - java.util.List + java.util.List getTaxonomiesOrBuilderList(); /** - * - * *
    * Imported taxonomies.
    * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder(int index); + com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder( + int index); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSource.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSource.java similarity index 62% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSource.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSource.java index c137eb3fcbca..e9864bd1c705 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSource.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSource.java @@ -1,142 +1,102 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Inline source containing taxonomies to import.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.InlineSource} */ -public final class InlineSource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class InlineSource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.InlineSource) InlineSourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use InlineSource.newBuilder() to construct. private InlineSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InlineSource() { taxonomies_ = 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 InlineSource(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto - .internal_static_google_cloud_datacatalog_v1_InlineSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_InlineSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto - .internal_static_google_cloud_datacatalog_v1_InlineSource_fieldAccessorTable + return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_InlineSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.InlineSource.class, - com.google.cloud.datacatalog.v1.InlineSource.Builder.class); + com.google.cloud.datacatalog.v1.InlineSource.class, com.google.cloud.datacatalog.v1.InlineSource.Builder.class); } public static final int TAXONOMIES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List taxonomies_; /** - * - * *
    * Required. Taxonomies to import.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getTaxonomiesList() { return taxonomies_; } /** - * - * *
    * Required. Taxonomies to import.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getTaxonomiesOrBuilderList() { return taxonomies_; } /** - * - * *
    * Required. Taxonomies to import.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getTaxonomiesCount() { return taxonomies_.size(); } /** - * - * *
    * Required. Taxonomies to import.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datacatalog.v1.SerializedTaxonomy getTaxonomies(int index) { return taxonomies_.get(index); } /** - * - * *
    * Required. Taxonomies to import.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomiesOrBuilder( @@ -145,7 +105,6 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomies } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -157,7 +116,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < taxonomies_.size(); i++) { output.writeMessage(1, taxonomies_.get(i)); } @@ -171,7 +131,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < taxonomies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, taxonomies_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, taxonomies_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -181,15 +142,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.InlineSource)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.InlineSource other = - (com.google.cloud.datacatalog.v1.InlineSource) obj; + com.google.cloud.datacatalog.v1.InlineSource other = (com.google.cloud.datacatalog.v1.InlineSource) obj; - if (!getTaxonomiesList().equals(other.getTaxonomiesList())) return false; + if (!getTaxonomiesList() + .equals(other.getTaxonomiesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -210,136 +171,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.InlineSource parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.InlineSource parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.InlineSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.InlineSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.InlineSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.InlineSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.InlineSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.InlineSource parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.InlineSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.InlineSource parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.InlineSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.InlineSource parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.InlineSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.InlineSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.InlineSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Inline source containing taxonomies to import.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.InlineSource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.InlineSource) com.google.cloud.datacatalog.v1.InlineSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto - .internal_static_google_cloud_datacatalog_v1_InlineSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_InlineSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto - .internal_static_google_cloud_datacatalog_v1_InlineSource_fieldAccessorTable + return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_InlineSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.InlineSource.class, - com.google.cloud.datacatalog.v1.InlineSource.Builder.class); + com.google.cloud.datacatalog.v1.InlineSource.class, com.google.cloud.datacatalog.v1.InlineSource.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.InlineSource.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.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,9 +312,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto - .internal_static_google_cloud_datacatalog_v1_InlineSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_InlineSource_descriptor; } @java.lang.Override @@ -376,12 +333,9 @@ public com.google.cloud.datacatalog.v1.InlineSource build() { @java.lang.Override public com.google.cloud.datacatalog.v1.InlineSource buildPartial() { - com.google.cloud.datacatalog.v1.InlineSource result = - new com.google.cloud.datacatalog.v1.InlineSource(this); + com.google.cloud.datacatalog.v1.InlineSource result = new com.google.cloud.datacatalog.v1.InlineSource(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -406,39 +360,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.InlineSource result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.InlineSource) { - return mergeFrom((com.google.cloud.datacatalog.v1.InlineSource) other); + return mergeFrom((com.google.cloud.datacatalog.v1.InlineSource)other); } else { super.mergeFrom(other); return this; @@ -465,10 +418,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.InlineSource other) { taxonomiesBuilder_ = null; taxonomies_ = other.taxonomies_; bitField0_ = (bitField0_ & ~0x00000001); - taxonomiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTaxonomiesFieldBuilder() - : null; + taxonomiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTaxonomiesFieldBuilder() : null; } else { taxonomiesBuilder_.addAllMessages(other.taxonomies_); } @@ -500,27 +452,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.datacatalog.v1.SerializedTaxonomy m = - input.readMessage( - com.google.cloud.datacatalog.v1.SerializedTaxonomy.parser(), - extensionRegistry); - if (taxonomiesBuilder_ == null) { - ensureTaxonomiesIsMutable(); - taxonomies_.add(m); - } else { - taxonomiesBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.datacatalog.v1.SerializedTaxonomy m = + input.readMessage( + com.google.cloud.datacatalog.v1.SerializedTaxonomy.parser(), + extensionRegistry); + if (taxonomiesBuilder_ == null) { + ensureTaxonomiesIsMutable(); + taxonomies_.add(m); + } else { + taxonomiesBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -530,37 +480,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List taxonomies_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTaxonomiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - taxonomies_ = - new java.util.ArrayList( - taxonomies_); + taxonomies_ = new java.util.ArrayList(taxonomies_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.SerializedTaxonomy, - com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, - com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder> - taxonomiesBuilder_; + com.google.cloud.datacatalog.v1.SerializedTaxonomy, com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder> taxonomiesBuilder_; /** - * - * *
      * Required. Taxonomies to import.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getTaxonomiesList() { if (taxonomiesBuilder_ == null) { @@ -570,15 +509,11 @@ public java.util.List getTax } } /** - * - * *
      * Required. Taxonomies to import.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ public int getTaxonomiesCount() { if (taxonomiesBuilder_ == null) { @@ -588,15 +523,11 @@ public int getTaxonomiesCount() { } } /** - * - * *
      * Required. Taxonomies to import.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1.SerializedTaxonomy getTaxonomies(int index) { if (taxonomiesBuilder_ == null) { @@ -606,15 +537,11 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomy getTaxonomies(int inde } } /** - * - * *
      * Required. Taxonomies to import.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTaxonomies( int index, com.google.cloud.datacatalog.v1.SerializedTaxonomy value) { @@ -631,15 +558,11 @@ public Builder setTaxonomies( return this; } /** - * - * *
      * Required. Taxonomies to import.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTaxonomies( int index, com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder builderForValue) { @@ -653,15 +576,11 @@ public Builder setTaxonomies( return this; } /** - * - * *
      * Required. Taxonomies to import.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addTaxonomies(com.google.cloud.datacatalog.v1.SerializedTaxonomy value) { if (taxonomiesBuilder_ == null) { @@ -677,15 +596,11 @@ public Builder addTaxonomies(com.google.cloud.datacatalog.v1.SerializedTaxonomy return this; } /** - * - * *
      * Required. Taxonomies to import.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addTaxonomies( int index, com.google.cloud.datacatalog.v1.SerializedTaxonomy value) { @@ -702,15 +617,11 @@ public Builder addTaxonomies( return this; } /** - * - * *
      * Required. Taxonomies to import.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addTaxonomies( com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder builderForValue) { @@ -724,15 +635,11 @@ public Builder addTaxonomies( return this; } /** - * - * *
      * Required. Taxonomies to import.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addTaxonomies( int index, com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder builderForValue) { @@ -746,21 +653,18 @@ public Builder addTaxonomies( return this; } /** - * - * *
      * Required. Taxonomies to import.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllTaxonomies( java.lang.Iterable values) { if (taxonomiesBuilder_ == null) { ensureTaxonomiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taxonomies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, taxonomies_); onChanged(); } else { taxonomiesBuilder_.addAllMessages(values); @@ -768,15 +672,11 @@ public Builder addAllTaxonomies( return this; } /** - * - * *
      * Required. Taxonomies to import.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTaxonomies() { if (taxonomiesBuilder_ == null) { @@ -789,15 +689,11 @@ public Builder clearTaxonomies() { return this; } /** - * - * *
      * Required. Taxonomies to import.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeTaxonomies(int index) { if (taxonomiesBuilder_ == null) { @@ -810,52 +706,39 @@ public Builder removeTaxonomies(int index) { return this; } /** - * - * *
      * Required. Taxonomies to import.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder getTaxonomiesBuilder( int index) { return getTaxonomiesFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. Taxonomies to import.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomiesOrBuilder( int index) { if (taxonomiesBuilder_ == null) { - return taxonomies_.get(index); - } else { + return taxonomies_.get(index); } else { return taxonomiesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. Taxonomies to import.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getTaxonomiesOrBuilderList() { + public java.util.List + getTaxonomiesOrBuilderList() { if (taxonomiesBuilder_ != null) { return taxonomiesBuilder_.getMessageOrBuilderList(); } else { @@ -863,72 +746,56 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomies } } /** - * - * *
      * Required. Taxonomies to import.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder addTaxonomiesBuilder() { - return getTaxonomiesFieldBuilder() - .addBuilder(com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance()); + return getTaxonomiesFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance()); } /** - * - * *
      * Required. Taxonomies to import.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder addTaxonomiesBuilder( int index) { - return getTaxonomiesFieldBuilder() - .addBuilder( - index, com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance()); + return getTaxonomiesFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance()); } /** - * - * *
      * Required. Taxonomies to import.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getTaxonomiesBuilderList() { + public java.util.List + getTaxonomiesBuilderList() { return getTaxonomiesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.SerializedTaxonomy, - com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, - com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder> + com.google.cloud.datacatalog.v1.SerializedTaxonomy, com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder> getTaxonomiesFieldBuilder() { if (taxonomiesBuilder_ == null) { - taxonomiesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.SerializedTaxonomy, - com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, - com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder>( - taxonomies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + taxonomiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.SerializedTaxonomy, com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder>( + taxonomies_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); taxonomies_ = null; } return taxonomiesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -938,12 +805,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.InlineSource) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.InlineSource) private static final com.google.cloud.datacatalog.v1.InlineSource DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.InlineSource(); } @@ -952,27 +819,27 @@ public static com.google.cloud.datacatalog.v1.InlineSource getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InlineSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InlineSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -987,4 +854,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.InlineSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSourceOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSourceOrBuilder.java new file mode 100644 index 000000000000..701e06a8ddd8 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSourceOrBuilder.java @@ -0,0 +1,53 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto + +package com.google.cloud.datacatalog.v1; + +public interface InlineSourceOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.InlineSource) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Taxonomies to import.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + java.util.List + getTaxonomiesList(); + /** + *
+   * Required. Taxonomies to import.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.datacatalog.v1.SerializedTaxonomy getTaxonomies(int index); + /** + *
+   * Required. Taxonomies to import.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + int getTaxonomiesCount(); + /** + *
+   * Required. Taxonomies to import.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + java.util.List + getTaxonomiesOrBuilderList(); + /** + *
+   * Required. Taxonomies to import.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomiesOrBuilder( + int index); +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/IntegratedSystem.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/IntegratedSystem.java similarity index 70% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/IntegratedSystem.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/IntegratedSystem.java index f44af24be6f8..bb6ee00e8008 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/IntegratedSystem.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/IntegratedSystem.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/common.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * This enum lists all the systems that Data Catalog integrates with.
  * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.IntegratedSystem} */ -public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum { +public enum IntegratedSystem + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Default unknown system.
    * 
@@ -39,8 +21,6 @@ public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum */ INTEGRATED_SYSTEM_UNSPECIFIED(0), /** - * - * *
    * BigQuery.
    * 
@@ -49,8 +29,6 @@ public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum */ BIGQUERY(1), /** - * - * *
    * Cloud Pub/Sub.
    * 
@@ -59,8 +37,6 @@ public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum */ CLOUD_PUBSUB(2), /** - * - * *
    * Dataproc Metastore.
    * 
@@ -69,8 +45,6 @@ public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum */ DATAPROC_METASTORE(3), /** - * - * *
    * Dataplex.
    * 
@@ -79,8 +53,6 @@ public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum */ DATAPLEX(4), /** - * - * *
    * Cloud Spanner
    * 
@@ -89,8 +61,6 @@ public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum */ CLOUD_SPANNER(6), /** - * - * *
    * Cloud Bigtable
    * 
@@ -99,8 +69,6 @@ public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum */ CLOUD_BIGTABLE(7), /** - * - * *
    * Cloud Sql
    * 
@@ -109,8 +77,6 @@ public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum */ CLOUD_SQL(8), /** - * - * *
    * Looker
    * 
@@ -122,8 +88,6 @@ public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
    * Default unknown system.
    * 
@@ -132,8 +96,6 @@ public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum */ public static final int INTEGRATED_SYSTEM_UNSPECIFIED_VALUE = 0; /** - * - * *
    * BigQuery.
    * 
@@ -142,8 +104,6 @@ public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum */ public static final int BIGQUERY_VALUE = 1; /** - * - * *
    * Cloud Pub/Sub.
    * 
@@ -152,8 +112,6 @@ public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum */ public static final int CLOUD_PUBSUB_VALUE = 2; /** - * - * *
    * Dataproc Metastore.
    * 
@@ -162,8 +120,6 @@ public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum */ public static final int DATAPROC_METASTORE_VALUE = 3; /** - * - * *
    * Dataplex.
    * 
@@ -172,8 +128,6 @@ public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum */ public static final int DATAPLEX_VALUE = 4; /** - * - * *
    * Cloud Spanner
    * 
@@ -182,8 +136,6 @@ public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum */ public static final int CLOUD_SPANNER_VALUE = 6; /** - * - * *
    * Cloud Bigtable
    * 
@@ -192,8 +144,6 @@ public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum */ public static final int CLOUD_BIGTABLE_VALUE = 7; /** - * - * *
    * Cloud Sql
    * 
@@ -202,8 +152,6 @@ public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum */ public static final int CLOUD_SQL_VALUE = 8; /** - * - * *
    * Looker
    * 
@@ -212,6 +160,7 @@ public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum */ public static final int LOOKER_VALUE = 9; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -236,61 +185,55 @@ public static IntegratedSystem valueOf(int value) { */ public static IntegratedSystem forNumber(int value) { switch (value) { - case 0: - return INTEGRATED_SYSTEM_UNSPECIFIED; - case 1: - return BIGQUERY; - case 2: - return CLOUD_PUBSUB; - case 3: - return DATAPROC_METASTORE; - case 4: - return DATAPLEX; - case 6: - return CLOUD_SPANNER; - case 7: - return CLOUD_BIGTABLE; - case 8: - return CLOUD_SQL; - case 9: - return LOOKER; - default: - return null; + case 0: return INTEGRATED_SYSTEM_UNSPECIFIED; + case 1: return BIGQUERY; + case 2: return CLOUD_PUBSUB; + case 3: return DATAPROC_METASTORE; + case 4: return DATAPLEX; + case 6: return CLOUD_SPANNER; + case 7: return CLOUD_BIGTABLE; + case 8: return CLOUD_SQL; + case 9: return LOOKER; + 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 IntegratedSystem findValueByNumber(int number) { - return IntegratedSystem.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + IntegratedSystem> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public IntegratedSystem findValueByNumber(int number) { + return IntegratedSystem.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.datacatalog.v1.Common.getDescriptor().getEnumTypes().get(0); } private static final IntegratedSystem[] VALUES = values(); - public static IntegratedSystem valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static IntegratedSystem valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -306,3 +249,4 @@ private IntegratedSystem(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1.IntegratedSystem) } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequest.java similarity index 70% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequest.java index f35020d303f5..67cf779d66de 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [ListEntries][google.cloud.datacatalog.v1.DataCatalog.ListEntries].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ListEntriesRequest}
  */
-public final class ListEntriesRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListEntriesRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ListEntriesRequest)
     ListEntriesRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListEntriesRequest.newBuilder() to construct.
   private ListEntriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListEntriesRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -45,42 +27,35 @@ private ListEntriesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListEntriesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ListEntriesRequest.class,
-            com.google.cloud.datacatalog.v1.ListEntriesRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.ListEntriesRequest.class, com.google.cloud.datacatalog.v1.ListEntriesRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the entry group that contains the entries to list.
    *
    * Can be provided in URL format.
    * 
* - * - * string parent = 1 [(.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,33 +64,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 name of the entry group that contains the entries to list.
    *
    * Can be provided in URL format.
    * 
* - * - * string parent = 1 [(.google.api.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,15 +99,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * The maximum number of items to return. Default is 10. Maximum limit is
    * 1000. Throws an invalid argument if `page_size` is more than 1000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -143,19 +113,15 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Pagination token that specifies the next page to return. If empty, the
    * first page is returned.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -164,30 +130,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Pagination token that specifies the next page to return. If empty, the
    * first page is returned.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -198,8 +164,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int READ_MASK_FIELD_NUMBER = 4; private com.google.protobuf.FieldMask readMask_; /** - * - * *
    * The fields to return for each entry. If empty or omitted, all
    * fields are returned.
@@ -209,7 +173,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * .google.protobuf.FieldMask read_mask = 4; - * * @return Whether the readMask field is set. */ @java.lang.Override @@ -217,8 +180,6 @@ public boolean hasReadMask() { return readMask_ != null; } /** - * - * *
    * The fields to return for each entry. If empty or omitted, all
    * fields are returned.
@@ -228,7 +189,6 @@ public boolean hasReadMask() {
    * 
* * .google.protobuf.FieldMask read_mask = 4; - * * @return The readMask. */ @java.lang.Override @@ -236,8 +196,6 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** - * - * *
    * The fields to return for each entry. If empty or omitted, all
    * fields are returned.
@@ -254,7 +212,6 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -266,7 +223,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -292,13 +250,15 @@ 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_);
     }
     if (readMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getReadMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getReadMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -308,20 +268,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.datacatalog.v1.ListEntriesRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1.ListEntriesRequest other =
-        (com.google.cloud.datacatalog.v1.ListEntriesRequest) obj;
-
-    if (!getParent().equals(other.getParent())) return false;
-    if (getPageSize() != other.getPageSize()) return false;
-    if (!getPageToken().equals(other.getPageToken())) return false;
+    com.google.cloud.datacatalog.v1.ListEntriesRequest other = (com.google.cloud.datacatalog.v1.ListEntriesRequest) obj;
+
+    if (!getParent()
+        .equals(other.getParent())) return false;
+    if (getPageSize()
+        != other.getPageSize()) return false;
+    if (!getPageToken()
+        .equals(other.getPageToken())) return false;
     if (hasReadMask() != other.hasReadMask()) return false;
     if (hasReadMask()) {
-      if (!getReadMask().equals(other.getReadMask())) return false;
+      if (!getReadMask()
+          .equals(other.getReadMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -350,103 +313,98 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1.ListEntriesRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.ListEntriesRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.ListEntriesRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.ListEntriesRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.ListEntriesRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.ListEntriesRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.datacatalog.v1.ListEntriesRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.ListEntriesRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1.ListEntriesRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1.ListEntriesRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.ListEntriesRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1.ListEntriesRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.ListEntriesRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1.ListEntriesRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.datacatalog.v1.ListEntriesRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Request message for
    * [ListEntries][google.cloud.datacatalog.v1.DataCatalog.ListEntries].
@@ -454,32 +412,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ListEntriesRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ListEntriesRequest)
       com.google.cloud.datacatalog.v1.ListEntriesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ListEntriesRequest.class,
-              com.google.cloud.datacatalog.v1.ListEntriesRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.ListEntriesRequest.class, com.google.cloud.datacatalog.v1.ListEntriesRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ListEntriesRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -496,9 +455,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -517,11 +476,8 @@ public com.google.cloud.datacatalog.v1.ListEntriesRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ListEntriesRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.ListEntriesRequest result =
-          new com.google.cloud.datacatalog.v1.ListEntriesRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.ListEntriesRequest result = new com.google.cloud.datacatalog.v1.ListEntriesRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -538,7 +494,9 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ListEntriesRequest re
         result.pageToken_ = pageToken_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.readMask_ = readMaskBuilder_ == null ? readMask_ : readMaskBuilder_.build();
+        result.readMask_ = readMaskBuilder_ == null
+            ? readMask_
+            : readMaskBuilder_.build();
       }
     }
 
@@ -546,39 +504,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ListEntriesRequest 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.datacatalog.v1.ListEntriesRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ListEntriesRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ListEntriesRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -586,8 +543,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ListEntriesRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.ListEntriesRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.ListEntriesRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -630,37 +586,34 @@ 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:
-              {
-                input.readMessage(getReadMaskFieldBuilder().getBuilder(), extensionRegistry);
-                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: {
+              input.readMessage(
+                  getReadMaskFieldBuilder().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) {
@@ -670,29 +623,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the entry group that contains the entries to list.
      *
      * Can be provided in URL format.
      * 
* - * - * string parent = 1 [(.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; @@ -701,25 +649,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the entry group that contains the entries to list.
      *
      * Can be provided in URL format.
      * 
* - * - * string parent = 1 [(.google.api.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,43 +672,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the entry group that contains the entries to list.
      *
      * Can be provided in URL format.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the entry group that contains the entries to list.
      *
      * Can be provided in URL format.
      * 
* - * - * string 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,25 +707,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the entry group that contains the entries to list.
      *
      * Can be provided in URL format.
      * 
* - * - * 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; @@ -799,17 +727,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return. Default is 10. Maximum limit is
      * 1000. Throws an invalid argument if `page_size` is more than 1000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -817,15 +742,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return. Default is 10. Maximum limit is
      * 1000. Throws an invalid argument if `page_size` is more than 1000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -837,15 +759,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * The maximum number of items to return. Default is 10. Maximum limit is
      * 1000. Throws an invalid argument if `page_size` is more than 1000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -857,21 +776,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Pagination token that specifies the next page to return. If empty, the
      * first page is returned.
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -880,22 +797,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Pagination token that specifies the next page to return. If empty, the
      * first page is returned.
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -903,37 +819,30 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Pagination token that specifies the next page to return. If empty, the
      * first page is returned.
      * 
* * string page_token = 3; - * * @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; } /** - * - * *
      * Pagination token that specifies the next page to return. If empty, the
      * first page is returned.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -943,22 +852,18 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Pagination token that specifies the next page to return. If empty, the
      * first page is returned.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - 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; @@ -968,13 +873,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - readMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; /** - * - * *
      * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
@@ -984,15 +884,12 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.FieldMask read_mask = 4; - * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
@@ -1002,7 +899,6 @@ public boolean hasReadMask() {
      * 
* * .google.protobuf.FieldMask read_mask = 4; - * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -1013,8 +909,6 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** - * - * *
      * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
@@ -1039,8 +933,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
@@ -1051,7 +943,8 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask read_mask = 4;
      */
-    public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setReadMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (readMaskBuilder_ == null) {
         readMask_ = builderForValue.build();
       } else {
@@ -1062,8 +955,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
@@ -1076,9 +967,9 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue
      */
     public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
       if (readMaskBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && readMask_ != null
-            && readMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          readMask_ != null &&
+          readMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) {
           getReadMaskBuilder().mergeFrom(value);
         } else {
           readMask_ = value;
@@ -1091,8 +982,6 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
@@ -1114,8 +1003,6 @@ public Builder clearReadMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
@@ -1132,8 +1019,6 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
       return getReadMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
@@ -1148,12 +1033,11 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
       if (readMaskBuilder_ != null) {
         return readMaskBuilder_.getMessageOrBuilder();
       } else {
-        return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_;
+        return readMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : readMask_;
       }
     }
     /**
-     *
-     *
      * 
      * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
@@ -1165,24 +1049,21 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
      * .google.protobuf.FieldMask read_mask = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getReadMaskFieldBuilder() {
       if (readMaskBuilder_ == null) {
-        readMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getReadMask(), getParentForChildren(), isClean());
+        readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getReadMask(),
+                getParentForChildren(),
+                isClean());
         readMask_ = null;
       }
       return readMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1192,12 +1073,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ListEntriesRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ListEntriesRequest)
   private static final com.google.cloud.datacatalog.v1.ListEntriesRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ListEntriesRequest();
   }
@@ -1206,27 +1087,27 @@ public static com.google.cloud.datacatalog.v1.ListEntriesRequest getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ListEntriesRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ListEntriesRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.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 +1122,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1.ListEntriesRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequestOrBuilder.java
similarity index 70%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequestOrBuilder.java
rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequestOrBuilder.java
index afa3825182c8..1c65f4a515e3 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequestOrBuilder.java
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequestOrBuilder.java
@@ -1,105 +1,70 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
-public interface ListEntriesRequestOrBuilder
-    extends
+public interface ListEntriesRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ListEntriesRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The name of the entry group that contains the entries to list.
    *
    * Can be provided in URL format.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the entry group that contains the entries to list.
    *
    * Can be provided in URL format.
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * The maximum number of items to return. Default is 10. Maximum limit is
    * 1000. Throws an invalid argument if `page_size` is more than 1000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Pagination token that specifies the next page to return. If empty, the
    * first page is returned.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Pagination token that specifies the next page to return. If empty, the
    * first page is returned.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The fields to return for each entry. If empty or omitted, all
    * fields are returned.
@@ -109,13 +74,10 @@ public interface ListEntriesRequestOrBuilder
    * 
* * .google.protobuf.FieldMask read_mask = 4; - * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** - * - * *
    * The fields to return for each entry. If empty or omitted, all
    * fields are returned.
@@ -125,13 +87,10 @@ public interface ListEntriesRequestOrBuilder
    * 
* * .google.protobuf.FieldMask read_mask = 4; - * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** - * - * *
    * The fields to return for each entry. If empty or omitted, all
    * fields are returned.
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponse.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponse.java
similarity index 71%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponse.java
rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponse.java
index 09adeb79bfaa..42fedb24210e 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponse.java
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponse.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
 /**
- *
- *
  * 
  * Response message for
  * [ListEntries][google.cloud.datacatalog.v1.DataCatalog.ListEntries].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ListEntriesResponse}
  */
-public final class ListEntriesResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListEntriesResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ListEntriesResponse)
     ListEntriesResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListEntriesResponse.newBuilder() to construct.
   private ListEntriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListEntriesResponse() {
     entries_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -45,32 +27,28 @@ private ListEntriesResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListEntriesResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ListEntriesResponse.class,
-            com.google.cloud.datacatalog.v1.ListEntriesResponse.Builder.class);
+            com.google.cloud.datacatalog.v1.ListEntriesResponse.class, com.google.cloud.datacatalog.v1.ListEntriesResponse.Builder.class);
   }
 
   public static final int ENTRIES_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List entries_;
   /**
-   *
-   *
    * 
    * Entry details.
    * 
@@ -82,8 +60,6 @@ public java.util.List getEntriesList() { return entries_; } /** - * - * *
    * Entry details.
    * 
@@ -91,13 +67,11 @@ public java.util.List getEntriesList() { * repeated .google.cloud.datacatalog.v1.Entry entries = 1; */ @java.lang.Override - public java.util.List + public java.util.List getEntriesOrBuilderList() { return entries_; } /** - * - * *
    * Entry details.
    * 
@@ -109,8 +83,6 @@ public int getEntriesCount() { return entries_.size(); } /** - * - * *
    * Entry details.
    * 
@@ -122,8 +94,6 @@ public com.google.cloud.datacatalog.v1.Entry getEntries(int index) { return entries_.get(index); } /** - * - * *
    * Entry details.
    * 
@@ -131,24 +101,21 @@ public com.google.cloud.datacatalog.v1.Entry getEntries(int index) { * repeated .google.cloud.datacatalog.v1.Entry entries = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntriesOrBuilder(int index) { + public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntriesOrBuilder( + int index) { return entries_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Pagination token of the next results page. Empty if there are no more items
    * in results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -157,30 +124,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; } } /** - * - * *
    * Pagination token of the next results page. Empty if there are no more items
    * in results.
    * 
* * 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,7 +156,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +167,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < entries_.size(); i++) { output.writeMessage(1, entries_.get(i)); } @@ -218,7 +185,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < entries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, entries_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, entries_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -231,16 +199,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.datacatalog.v1.ListEntriesResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ListEntriesResponse other = - (com.google.cloud.datacatalog.v1.ListEntriesResponse) obj; + com.google.cloud.datacatalog.v1.ListEntriesResponse other = (com.google.cloud.datacatalog.v1.ListEntriesResponse) obj; - if (!getEntriesList().equals(other.getEntriesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getEntriesList() + .equals(other.getEntriesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -264,103 +233,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ListEntriesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ListEntriesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListEntriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ListEntriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListEntriesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ListEntriesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.ListEntriesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ListEntriesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ListEntriesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListEntriesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ListEntriesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ListEntriesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListEntriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ListEntriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.ListEntriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for
    * [ListEntries][google.cloud.datacatalog.v1.DataCatalog.ListEntries].
@@ -368,32 +332,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ListEntriesResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ListEntriesResponse)
       com.google.cloud.datacatalog.v1.ListEntriesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ListEntriesResponse.class,
-              com.google.cloud.datacatalog.v1.ListEntriesResponse.Builder.class);
+              com.google.cloud.datacatalog.v1.ListEntriesResponse.class, com.google.cloud.datacatalog.v1.ListEntriesResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ListEntriesResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -410,9 +375,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_descriptor;
     }
 
     @java.lang.Override
@@ -431,18 +396,14 @@ public com.google.cloud.datacatalog.v1.ListEntriesResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ListEntriesResponse buildPartial() {
-      com.google.cloud.datacatalog.v1.ListEntriesResponse result =
-          new com.google.cloud.datacatalog.v1.ListEntriesResponse(this);
+      com.google.cloud.datacatalog.v1.ListEntriesResponse result = new com.google.cloud.datacatalog.v1.ListEntriesResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.datacatalog.v1.ListEntriesResponse result) {
+    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1.ListEntriesResponse result) {
       if (entriesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           entries_ = java.util.Collections.unmodifiableList(entries_);
@@ -465,39 +426,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ListEntriesResponse 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.datacatalog.v1.ListEntriesResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ListEntriesResponse) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ListEntriesResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -505,8 +465,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ListEntriesResponse other) {
-      if (other == com.google.cloud.datacatalog.v1.ListEntriesResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.ListEntriesResponse.getDefaultInstance()) return this;
       if (entriesBuilder_ == null) {
         if (!other.entries_.isEmpty()) {
           if (entries_.isEmpty()) {
@@ -525,10 +484,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.ListEntriesResponse oth
             entriesBuilder_ = null;
             entries_ = other.entries_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            entriesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getEntriesFieldBuilder()
-                    : null;
+            entriesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getEntriesFieldBuilder() : null;
           } else {
             entriesBuilder_.addAllMessages(other.entries_);
           }
@@ -565,32 +523,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.datacatalog.v1.Entry m =
-                    input.readMessage(
-                        com.google.cloud.datacatalog.v1.Entry.parser(), extensionRegistry);
-                if (entriesBuilder_ == null) {
-                  ensureEntriesIsMutable();
-                  entries_.add(m);
-                } else {
-                  entriesBuilder_.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.datacatalog.v1.Entry m =
+                  input.readMessage(
+                      com.google.cloud.datacatalog.v1.Entry.parser(),
+                      extensionRegistry);
+              if (entriesBuilder_ == null) {
+                ensureEntriesIsMutable();
+                entries_.add(m);
+              } else {
+                entriesBuilder_.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) {
@@ -600,28 +556,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List entries_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureEntriesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         entries_ = new java.util.ArrayList(entries_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.Entry,
-            com.google.cloud.datacatalog.v1.Entry.Builder,
-            com.google.cloud.datacatalog.v1.EntryOrBuilder>
-        entriesBuilder_;
+        com.google.cloud.datacatalog.v1.Entry, com.google.cloud.datacatalog.v1.Entry.Builder, com.google.cloud.datacatalog.v1.EntryOrBuilder> entriesBuilder_;
 
     /**
-     *
-     *
      * 
      * Entry details.
      * 
@@ -636,8 +585,6 @@ public java.util.List getEntriesList() { } } /** - * - * *
      * Entry details.
      * 
@@ -652,8 +599,6 @@ public int getEntriesCount() { } } /** - * - * *
      * Entry details.
      * 
@@ -668,15 +613,14 @@ public com.google.cloud.datacatalog.v1.Entry getEntries(int index) { } } /** - * - * *
      * Entry details.
      * 
* * repeated .google.cloud.datacatalog.v1.Entry entries = 1; */ - public Builder setEntries(int index, com.google.cloud.datacatalog.v1.Entry value) { + public Builder setEntries( + int index, com.google.cloud.datacatalog.v1.Entry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -690,8 +634,6 @@ public Builder setEntries(int index, com.google.cloud.datacatalog.v1.Entry value return this; } /** - * - * *
      * Entry details.
      * 
@@ -710,8 +652,6 @@ public Builder setEntries( return this; } /** - * - * *
      * Entry details.
      * 
@@ -732,15 +672,14 @@ public Builder addEntries(com.google.cloud.datacatalog.v1.Entry value) { return this; } /** - * - * *
      * Entry details.
      * 
* * repeated .google.cloud.datacatalog.v1.Entry entries = 1; */ - public Builder addEntries(int index, com.google.cloud.datacatalog.v1.Entry value) { + public Builder addEntries( + int index, com.google.cloud.datacatalog.v1.Entry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -754,15 +693,14 @@ public Builder addEntries(int index, com.google.cloud.datacatalog.v1.Entry value return this; } /** - * - * *
      * Entry details.
      * 
* * repeated .google.cloud.datacatalog.v1.Entry entries = 1; */ - public Builder addEntries(com.google.cloud.datacatalog.v1.Entry.Builder builderForValue) { + public Builder addEntries( + com.google.cloud.datacatalog.v1.Entry.Builder builderForValue) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.add(builderForValue.build()); @@ -773,8 +711,6 @@ public Builder addEntries(com.google.cloud.datacatalog.v1.Entry.Builder builderF return this; } /** - * - * *
      * Entry details.
      * 
@@ -793,8 +729,6 @@ public Builder addEntries( return this; } /** - * - * *
      * Entry details.
      * 
@@ -805,7 +739,8 @@ public Builder addAllEntries( java.lang.Iterable values) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, entries_); onChanged(); } else { entriesBuilder_.addAllMessages(values); @@ -813,8 +748,6 @@ public Builder addAllEntries( return this; } /** - * - * *
      * Entry details.
      * 
@@ -832,8 +765,6 @@ public Builder clearEntries() { return this; } /** - * - * *
      * Entry details.
      * 
@@ -851,44 +782,39 @@ public Builder removeEntries(int index) { return this; } /** - * - * *
      * Entry details.
      * 
* * repeated .google.cloud.datacatalog.v1.Entry entries = 1; */ - public com.google.cloud.datacatalog.v1.Entry.Builder getEntriesBuilder(int index) { + public com.google.cloud.datacatalog.v1.Entry.Builder getEntriesBuilder( + int index) { return getEntriesFieldBuilder().getBuilder(index); } /** - * - * *
      * Entry details.
      * 
* * repeated .google.cloud.datacatalog.v1.Entry entries = 1; */ - public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntriesOrBuilder(int index) { + public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntriesOrBuilder( + int index) { if (entriesBuilder_ == null) { - return entries_.get(index); - } else { + return entries_.get(index); } else { return entriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Entry details.
      * 
* * repeated .google.cloud.datacatalog.v1.Entry entries = 1; */ - public java.util.List - getEntriesOrBuilderList() { + public java.util.List + getEntriesOrBuilderList() { if (entriesBuilder_ != null) { return entriesBuilder_.getMessageOrBuilderList(); } else { @@ -896,8 +822,6 @@ public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntriesOrBuilder(int in } } /** - * - * *
      * Entry details.
      * 
@@ -905,47 +829,42 @@ public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntriesOrBuilder(int in * repeated .google.cloud.datacatalog.v1.Entry entries = 1; */ public com.google.cloud.datacatalog.v1.Entry.Builder addEntriesBuilder() { - return getEntriesFieldBuilder() - .addBuilder(com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()); + return getEntriesFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()); } /** - * - * *
      * Entry details.
      * 
* * repeated .google.cloud.datacatalog.v1.Entry entries = 1; */ - public com.google.cloud.datacatalog.v1.Entry.Builder addEntriesBuilder(int index) { - return getEntriesFieldBuilder() - .addBuilder(index, com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()); + public com.google.cloud.datacatalog.v1.Entry.Builder addEntriesBuilder( + int index) { + return getEntriesFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()); } /** - * - * *
      * Entry details.
      * 
* * repeated .google.cloud.datacatalog.v1.Entry entries = 1; */ - public java.util.List getEntriesBuilderList() { + public java.util.List + getEntriesBuilderList() { return getEntriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Entry, - com.google.cloud.datacatalog.v1.Entry.Builder, - com.google.cloud.datacatalog.v1.EntryOrBuilder> + com.google.cloud.datacatalog.v1.Entry, com.google.cloud.datacatalog.v1.Entry.Builder, com.google.cloud.datacatalog.v1.EntryOrBuilder> getEntriesFieldBuilder() { if (entriesBuilder_ == null) { - entriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Entry, - com.google.cloud.datacatalog.v1.Entry.Builder, - com.google.cloud.datacatalog.v1.EntryOrBuilder>( - entries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + entriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.Entry, com.google.cloud.datacatalog.v1.Entry.Builder, com.google.cloud.datacatalog.v1.EntryOrBuilder>( + entries_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); entries_ = null; } return entriesBuilder_; @@ -953,21 +872,19 @@ public java.util.List getEntriesB private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Pagination token of the next results page. Empty if there are no more items
      * in results.
      * 
* * 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; @@ -976,22 +893,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Pagination token of the next results page. Empty if there are no more items
      * in results.
      * 
* * 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 { @@ -999,37 +915,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Pagination token of the next results page. Empty if there are no more items
      * in results.
      * 
* * 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; } /** - * - * *
      * Pagination token of the next results page. Empty if there are no more items
      * in results.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1039,31 +948,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Pagination token of the next results page. Empty if there are no more items
      * in results.
      * 
* * 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); } @@ -1073,12 +978,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ListEntriesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ListEntriesResponse) private static final com.google.cloud.datacatalog.v1.ListEntriesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ListEntriesResponse(); } @@ -1087,27 +992,27 @@ public static com.google.cloud.datacatalog.v1.ListEntriesResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEntriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEntriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1122,4 +1027,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ListEntriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponseOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponseOrBuilder.java similarity index 65% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponseOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponseOrBuilder.java index 32c64d5971a0..b4817e03f031 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponseOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface ListEntriesResponseOrBuilder - extends +public interface ListEntriesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ListEntriesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Entry details.
    * 
* * repeated .google.cloud.datacatalog.v1.Entry entries = 1; */ - java.util.List getEntriesList(); + java.util.List + getEntriesList(); /** - * - * *
    * Entry details.
    * 
@@ -44,8 +25,6 @@ public interface ListEntriesResponseOrBuilder */ com.google.cloud.datacatalog.v1.Entry getEntries(int index); /** - * - * *
    * Entry details.
    * 
@@ -54,51 +33,43 @@ public interface ListEntriesResponseOrBuilder */ int getEntriesCount(); /** - * - * *
    * Entry details.
    * 
* * repeated .google.cloud.datacatalog.v1.Entry entries = 1; */ - java.util.List + java.util.List getEntriesOrBuilderList(); /** - * - * *
    * Entry details.
    * 
* * repeated .google.cloud.datacatalog.v1.Entry entries = 1; */ - com.google.cloud.datacatalog.v1.EntryOrBuilder getEntriesOrBuilder(int index); + com.google.cloud.datacatalog.v1.EntryOrBuilder getEntriesOrBuilder( + int index); /** - * - * *
    * Pagination token of the next results page. Empty if there are no more items
    * in results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Pagination token of the next results page. Empty if there are no more items
    * in results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequest.java similarity index 67% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequest.java index cc54af07a894..ee5190decc23 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [ListEntryGroups][google.cloud.datacatalog.v1.DataCatalog.ListEntryGroups].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ListEntryGroupsRequest}
  */
-public final class ListEntryGroupsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListEntryGroupsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ListEntryGroupsRequest)
     ListEntryGroupsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListEntryGroupsRequest.newBuilder() to construct.
   private ListEntryGroupsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListEntryGroupsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -45,42 +27,35 @@ private ListEntryGroupsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListEntryGroupsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ListEntryGroupsRequest.class,
-            com.google.cloud.datacatalog.v1.ListEntryGroupsRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.ListEntryGroupsRequest.class, com.google.cloud.datacatalog.v1.ListEntryGroupsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the location that contains the entry groups to list.
    *
    * Can be provided as a URL.
    * 
* - * - * string parent = 1 [(.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,33 +64,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 name of the location that contains the entry groups to list.
    *
    * Can be provided as a URL.
    * 
* - * - * string parent = 1 [(.google.api.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 +99,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Optional. The maximum number of items to return.
    *
@@ -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,19 +115,15 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Optional. Pagination token that specifies the next page to return.
    * If empty, returns the first page.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -166,30 +132,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. Pagination token that specifies the next page to return.
    * If empty, returns the first page.
    * 
* * 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.datacatalog.v1.ListEntryGroupsRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ListEntryGroupsRequest other = - (com.google.cloud.datacatalog.v1.ListEntryGroupsRequest) obj; + com.google.cloud.datacatalog.v1.ListEntryGroupsRequest other = (com.google.cloud.datacatalog.v1.ListEntryGroupsRequest) 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,104 +249,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ListEntryGroupsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ListEntryGroupsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListEntryGroupsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ListEntryGroupsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListEntryGroupsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ListEntryGroupsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.ListEntryGroupsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ListEntryGroupsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ListEntryGroupsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListEntryGroupsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ListEntryGroupsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ListEntryGroupsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListEntryGroupsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ListEntryGroupsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.ListEntryGroupsRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.ListEntryGroupsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [ListEntryGroups][google.cloud.datacatalog.v1.DataCatalog.ListEntryGroups].
@@ -385,32 +348,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ListEntryGroupsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ListEntryGroupsRequest)
       com.google.cloud.datacatalog.v1.ListEntryGroupsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ListEntryGroupsRequest.class,
-              com.google.cloud.datacatalog.v1.ListEntryGroupsRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.ListEntryGroupsRequest.class, com.google.cloud.datacatalog.v1.ListEntryGroupsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ListEntryGroupsRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -422,9 +386,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -443,11 +407,8 @@ public com.google.cloud.datacatalog.v1.ListEntryGroupsRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ListEntryGroupsRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.ListEntryGroupsRequest result =
-          new com.google.cloud.datacatalog.v1.ListEntryGroupsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.ListEntryGroupsRequest result = new com.google.cloud.datacatalog.v1.ListEntryGroupsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -469,39 +430,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ListEntryGroupsReques
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ListEntryGroupsRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ListEntryGroupsRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ListEntryGroupsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -509,8 +469,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ListEntryGroupsRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.ListEntryGroupsRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.ListEntryGroupsRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -550,31 +509,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) {
@@ -584,29 +539,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the location that contains the entry groups to list.
      *
      * Can be provided as a URL.
      * 
* - * - * string parent = 1 [(.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; @@ -615,25 +565,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the location that contains the entry groups to list.
      *
      * Can be provided as a URL.
      * 
* - * - * string parent = 1 [(.google.api.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,43 +588,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the location that contains the entry groups to list.
      *
      * Can be provided as a URL.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the location that contains the entry groups to list.
      *
      * Can be provided as a URL.
      * 
* - * - * string 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() { @@ -687,25 +623,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the location that contains the entry groups to list.
      *
      * Can be provided as a URL.
      * 
* - * - * 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; @@ -713,10 +643,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. The maximum number of items to return.
      *
@@ -725,7 +653,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -733,8 +660,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. The maximum number of items to return.
      *
@@ -743,7 +668,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -755,8 +679,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Optional. The maximum number of items to return.
      *
@@ -765,7 +687,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -777,21 +698,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. Pagination token that specifies the next page to return.
      * If empty, returns the first page.
      * 
* * 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,22 +719,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. Pagination token that specifies the next page to return.
      * If empty, returns the first page.
      * 
* * 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 { @@ -823,37 +741,30 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. Pagination token that specifies the next page to return.
      * If empty, returns the first page.
      * 
* * 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. Pagination token that specifies the next page to return.
      * If empty, returns the first page.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -863,31 +774,27 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Optional. Pagination token that specifies the next page to return.
      * If empty, returns the first page.
      * 
* * 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 +804,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ListEntryGroupsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ListEntryGroupsRequest) private static final com.google.cloud.datacatalog.v1.ListEntryGroupsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ListEntryGroupsRequest(); } @@ -911,27 +818,27 @@ public static com.google.cloud.datacatalog.v1.ListEntryGroupsRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEntryGroupsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEntryGroupsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +853,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ListEntryGroupsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequestOrBuilder.java similarity index 59% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequestOrBuilder.java index cd7747f259e8..6d0c060e1893 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface ListEntryGroupsRequestOrBuilder - extends +public interface ListEntryGroupsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ListEntryGroupsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the location that contains the entry groups to list.
    *
    * Can be provided as a URL.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the location that contains the entry groups to list.
    *
    * Can be provided as a URL.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. The maximum number of items to return.
    *
@@ -67,35 +40,29 @@ public interface ListEntryGroupsRequestOrBuilder
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. Pagination token that specifies the next page to return.
    * If empty, returns the first page.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. Pagination token that specifies the next page to return.
    * If empty, returns the first page.
    * 
* * 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponse.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponse.java similarity index 71% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponse.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponse.java index 12cda4bae68c..e6e6748d5024 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponse.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Response message for
  * [ListEntryGroups][google.cloud.datacatalog.v1.DataCatalog.ListEntryGroups].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ListEntryGroupsResponse}
  */
-public final class ListEntryGroupsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListEntryGroupsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ListEntryGroupsResponse)
     ListEntryGroupsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListEntryGroupsResponse.newBuilder() to construct.
   private ListEntryGroupsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListEntryGroupsResponse() {
     entryGroups_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -45,32 +27,28 @@ private ListEntryGroupsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListEntryGroupsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ListEntryGroupsResponse.class,
-            com.google.cloud.datacatalog.v1.ListEntryGroupsResponse.Builder.class);
+            com.google.cloud.datacatalog.v1.ListEntryGroupsResponse.class, com.google.cloud.datacatalog.v1.ListEntryGroupsResponse.Builder.class);
   }
 
   public static final int ENTRY_GROUPS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List entryGroups_;
   /**
-   *
-   *
    * 
    * Entry group details.
    * 
@@ -82,8 +60,6 @@ public java.util.List getEntryGroups return entryGroups_; } /** - * - * *
    * Entry group details.
    * 
@@ -91,13 +67,11 @@ public java.util.List getEntryGroups * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; */ @java.lang.Override - public java.util.List + public java.util.List getEntryGroupsOrBuilderList() { return entryGroups_; } /** - * - * *
    * Entry group details.
    * 
@@ -109,8 +83,6 @@ public int getEntryGroupsCount() { return entryGroups_.size(); } /** - * - * *
    * Entry group details.
    * 
@@ -122,8 +94,6 @@ public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroups(int index) { return entryGroups_.get(index); } /** - * - * *
    * Entry group details.
    * 
@@ -131,24 +101,21 @@ public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroups(int index) { * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupsOrBuilder(int index) { + public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupsOrBuilder( + int index) { return entryGroups_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Pagination token to specify in the next call to retrieve the next page of
    * results. Empty if there are no more items.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -157,30 +124,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; } } /** - * - * *
    * Pagination token to specify in the next call to retrieve the next page of
    * results. Empty if there are no more items.
    * 
* * 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,7 +156,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +167,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < entryGroups_.size(); i++) { output.writeMessage(1, entryGroups_.get(i)); } @@ -218,7 +185,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < entryGroups_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, entryGroups_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, entryGroups_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -231,16 +199,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.datacatalog.v1.ListEntryGroupsResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ListEntryGroupsResponse other = - (com.google.cloud.datacatalog.v1.ListEntryGroupsResponse) obj; + com.google.cloud.datacatalog.v1.ListEntryGroupsResponse other = (com.google.cloud.datacatalog.v1.ListEntryGroupsResponse) obj; - if (!getEntryGroupsList().equals(other.getEntryGroupsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getEntryGroupsList() + .equals(other.getEntryGroupsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -264,104 +233,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ListEntryGroupsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ListEntryGroupsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListEntryGroupsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ListEntryGroupsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListEntryGroupsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ListEntryGroupsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.ListEntryGroupsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ListEntryGroupsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ListEntryGroupsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListEntryGroupsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ListEntryGroupsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ListEntryGroupsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListEntryGroupsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ListEntryGroupsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.ListEntryGroupsResponse prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.ListEntryGroupsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for
    * [ListEntryGroups][google.cloud.datacatalog.v1.DataCatalog.ListEntryGroups].
@@ -369,32 +332,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ListEntryGroupsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ListEntryGroupsResponse)
       com.google.cloud.datacatalog.v1.ListEntryGroupsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ListEntryGroupsResponse.class,
-              com.google.cloud.datacatalog.v1.ListEntryGroupsResponse.Builder.class);
+              com.google.cloud.datacatalog.v1.ListEntryGroupsResponse.class, com.google.cloud.datacatalog.v1.ListEntryGroupsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ListEntryGroupsResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -411,9 +375,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -432,18 +396,14 @@ public com.google.cloud.datacatalog.v1.ListEntryGroupsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ListEntryGroupsResponse buildPartial() {
-      com.google.cloud.datacatalog.v1.ListEntryGroupsResponse result =
-          new com.google.cloud.datacatalog.v1.ListEntryGroupsResponse(this);
+      com.google.cloud.datacatalog.v1.ListEntryGroupsResponse result = new com.google.cloud.datacatalog.v1.ListEntryGroupsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.datacatalog.v1.ListEntryGroupsResponse result) {
+    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1.ListEntryGroupsResponse result) {
       if (entryGroupsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           entryGroups_ = java.util.Collections.unmodifiableList(entryGroups_);
@@ -466,39 +426,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ListEntryGroupsRespon
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ListEntryGroupsResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ListEntryGroupsResponse) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ListEntryGroupsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -506,8 +465,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ListEntryGroupsResponse other) {
-      if (other == com.google.cloud.datacatalog.v1.ListEntryGroupsResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.ListEntryGroupsResponse.getDefaultInstance()) return this;
       if (entryGroupsBuilder_ == null) {
         if (!other.entryGroups_.isEmpty()) {
           if (entryGroups_.isEmpty()) {
@@ -526,10 +484,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.ListEntryGroupsResponse
             entryGroupsBuilder_ = null;
             entryGroups_ = other.entryGroups_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            entryGroupsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getEntryGroupsFieldBuilder()
-                    : null;
+            entryGroupsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getEntryGroupsFieldBuilder() : null;
           } else {
             entryGroupsBuilder_.addAllMessages(other.entryGroups_);
           }
@@ -566,32 +523,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.datacatalog.v1.EntryGroup m =
-                    input.readMessage(
-                        com.google.cloud.datacatalog.v1.EntryGroup.parser(), extensionRegistry);
-                if (entryGroupsBuilder_ == null) {
-                  ensureEntryGroupsIsMutable();
-                  entryGroups_.add(m);
-                } else {
-                  entryGroupsBuilder_.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.datacatalog.v1.EntryGroup m =
+                  input.readMessage(
+                      com.google.cloud.datacatalog.v1.EntryGroup.parser(),
+                      extensionRegistry);
+              if (entryGroupsBuilder_ == null) {
+                ensureEntryGroupsIsMutable();
+                entryGroups_.add(m);
+              } else {
+                entryGroupsBuilder_.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) {
@@ -601,29 +556,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List entryGroups_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureEntryGroupsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        entryGroups_ =
-            new java.util.ArrayList(entryGroups_);
+        entryGroups_ = new java.util.ArrayList(entryGroups_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.EntryGroup,
-            com.google.cloud.datacatalog.v1.EntryGroup.Builder,
-            com.google.cloud.datacatalog.v1.EntryGroupOrBuilder>
-        entryGroupsBuilder_;
+        com.google.cloud.datacatalog.v1.EntryGroup, com.google.cloud.datacatalog.v1.EntryGroup.Builder, com.google.cloud.datacatalog.v1.EntryGroupOrBuilder> entryGroupsBuilder_;
 
     /**
-     *
-     *
      * 
      * Entry group details.
      * 
@@ -638,8 +585,6 @@ public java.util.List getEntryGroups } } /** - * - * *
      * Entry group details.
      * 
@@ -654,8 +599,6 @@ public int getEntryGroupsCount() { } } /** - * - * *
      * Entry group details.
      * 
@@ -670,15 +613,14 @@ public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroups(int index) { } } /** - * - * *
      * Entry group details.
      * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; */ - public Builder setEntryGroups(int index, com.google.cloud.datacatalog.v1.EntryGroup value) { + public Builder setEntryGroups( + int index, com.google.cloud.datacatalog.v1.EntryGroup value) { if (entryGroupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -692,8 +634,6 @@ public Builder setEntryGroups(int index, com.google.cloud.datacatalog.v1.EntryGr return this; } /** - * - * *
      * Entry group details.
      * 
@@ -712,8 +652,6 @@ public Builder setEntryGroups( return this; } /** - * - * *
      * Entry group details.
      * 
@@ -734,15 +672,14 @@ public Builder addEntryGroups(com.google.cloud.datacatalog.v1.EntryGroup value) return this; } /** - * - * *
      * Entry group details.
      * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; */ - public Builder addEntryGroups(int index, com.google.cloud.datacatalog.v1.EntryGroup value) { + public Builder addEntryGroups( + int index, com.google.cloud.datacatalog.v1.EntryGroup value) { if (entryGroupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -756,8 +693,6 @@ public Builder addEntryGroups(int index, com.google.cloud.datacatalog.v1.EntryGr return this; } /** - * - * *
      * Entry group details.
      * 
@@ -776,8 +711,6 @@ public Builder addEntryGroups( return this; } /** - * - * *
      * Entry group details.
      * 
@@ -796,8 +729,6 @@ public Builder addEntryGroups( return this; } /** - * - * *
      * Entry group details.
      * 
@@ -808,7 +739,8 @@ public Builder addAllEntryGroups( java.lang.Iterable values) { if (entryGroupsBuilder_ == null) { ensureEntryGroupsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entryGroups_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, entryGroups_); onChanged(); } else { entryGroupsBuilder_.addAllMessages(values); @@ -816,8 +748,6 @@ public Builder addAllEntryGroups( return this; } /** - * - * *
      * Entry group details.
      * 
@@ -835,8 +765,6 @@ public Builder clearEntryGroups() { return this; } /** - * - * *
      * Entry group details.
      * 
@@ -854,44 +782,39 @@ public Builder removeEntryGroups(int index) { return this; } /** - * - * *
      * Entry group details.
      * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; */ - public com.google.cloud.datacatalog.v1.EntryGroup.Builder getEntryGroupsBuilder(int index) { + public com.google.cloud.datacatalog.v1.EntryGroup.Builder getEntryGroupsBuilder( + int index) { return getEntryGroupsFieldBuilder().getBuilder(index); } /** - * - * *
      * Entry group details.
      * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; */ - public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupsOrBuilder(int index) { + public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupsOrBuilder( + int index) { if (entryGroupsBuilder_ == null) { - return entryGroups_.get(index); - } else { + return entryGroups_.get(index); } else { return entryGroupsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Entry group details.
      * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; */ - public java.util.List - getEntryGroupsOrBuilderList() { + public java.util.List + getEntryGroupsOrBuilderList() { if (entryGroupsBuilder_ != null) { return entryGroupsBuilder_.getMessageOrBuilderList(); } else { @@ -899,8 +822,6 @@ public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupsOrBuild } } /** - * - * *
      * Entry group details.
      * 
@@ -908,48 +829,42 @@ public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupsOrBuild * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; */ public com.google.cloud.datacatalog.v1.EntryGroup.Builder addEntryGroupsBuilder() { - return getEntryGroupsFieldBuilder() - .addBuilder(com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()); + return getEntryGroupsFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()); } /** - * - * *
      * Entry group details.
      * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; */ - public com.google.cloud.datacatalog.v1.EntryGroup.Builder addEntryGroupsBuilder(int index) { - return getEntryGroupsFieldBuilder() - .addBuilder(index, com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()); + public com.google.cloud.datacatalog.v1.EntryGroup.Builder addEntryGroupsBuilder( + int index) { + return getEntryGroupsFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()); } /** - * - * *
      * Entry group details.
      * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; */ - public java.util.List - getEntryGroupsBuilderList() { + public java.util.List + getEntryGroupsBuilderList() { return getEntryGroupsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.EntryGroup, - com.google.cloud.datacatalog.v1.EntryGroup.Builder, - com.google.cloud.datacatalog.v1.EntryGroupOrBuilder> + com.google.cloud.datacatalog.v1.EntryGroup, com.google.cloud.datacatalog.v1.EntryGroup.Builder, com.google.cloud.datacatalog.v1.EntryGroupOrBuilder> getEntryGroupsFieldBuilder() { if (entryGroupsBuilder_ == null) { - entryGroupsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.EntryGroup, - com.google.cloud.datacatalog.v1.EntryGroup.Builder, - com.google.cloud.datacatalog.v1.EntryGroupOrBuilder>( - entryGroups_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + entryGroupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.EntryGroup, com.google.cloud.datacatalog.v1.EntryGroup.Builder, com.google.cloud.datacatalog.v1.EntryGroupOrBuilder>( + entryGroups_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); entryGroups_ = null; } return entryGroupsBuilder_; @@ -957,21 +872,19 @@ public com.google.cloud.datacatalog.v1.EntryGroup.Builder addEntryGroupsBuilder( private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Pagination token to specify in the next call to retrieve the next page of
      * results. Empty if there are no more items.
      * 
* * 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; @@ -980,22 +893,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Pagination token to specify in the next call to retrieve the next page of
      * results. Empty if there are no more items.
      * 
* * 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 { @@ -1003,37 +915,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Pagination token to specify in the next call to retrieve the next page of
      * results. Empty if there are no more items.
      * 
* * 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; } /** - * - * *
      * Pagination token to specify in the next call to retrieve the next page of
      * results. Empty if there are no more items.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1043,31 +948,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Pagination token to specify in the next call to retrieve the next page of
      * results. Empty if there are no more items.
      * 
* * 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); } @@ -1077,12 +978,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ListEntryGroupsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ListEntryGroupsResponse) private static final com.google.cloud.datacatalog.v1.ListEntryGroupsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ListEntryGroupsResponse(); } @@ -1091,27 +992,27 @@ public static com.google.cloud.datacatalog.v1.ListEntryGroupsResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEntryGroupsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEntryGroupsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1126,4 +1027,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ListEntryGroupsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponseOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponseOrBuilder.java similarity index 67% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponseOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponseOrBuilder.java index bfb6b8501ad0..7905abbf9d46 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponseOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface ListEntryGroupsResponseOrBuilder - extends +public interface ListEntryGroupsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ListEntryGroupsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Entry group details.
    * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; */ - java.util.List getEntryGroupsList(); + java.util.List + getEntryGroupsList(); /** - * - * *
    * Entry group details.
    * 
@@ -44,8 +25,6 @@ public interface ListEntryGroupsResponseOrBuilder */ com.google.cloud.datacatalog.v1.EntryGroup getEntryGroups(int index); /** - * - * *
    * Entry group details.
    * 
@@ -54,51 +33,43 @@ public interface ListEntryGroupsResponseOrBuilder */ int getEntryGroupsCount(); /** - * - * *
    * Entry group details.
    * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; */ - java.util.List + java.util.List getEntryGroupsOrBuilderList(); /** - * - * *
    * Entry group details.
    * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; */ - com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupsOrBuilder(int index); + com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupsOrBuilder( + int index); /** - * - * *
    * Pagination token to specify in the next call to retrieve the next page of
    * results. Empty if there are no more items.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Pagination token to specify in the next call to retrieve the next page of
    * results. Empty if there are no more items.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequest.java similarity index 68% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequest.java index 7c4ff61d5298..d1e535368613 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [ListPolicyTags][google.cloud.datacatalog.v1.PolicyTagManager.ListPolicyTags].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ListPolicyTagsRequest}
  */
-public final class ListPolicyTagsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListPolicyTagsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ListPolicyTagsRequest)
     ListPolicyTagsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListPolicyTagsRequest.newBuilder() to construct.
   private ListPolicyTagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListPolicyTagsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -45,40 +27,33 @@ private ListPolicyTagsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListPolicyTagsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ListPolicyTagsRequest.class,
-            com.google.cloud.datacatalog.v1.ListPolicyTagsRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.ListPolicyTagsRequest.class, com.google.cloud.datacatalog.v1.ListPolicyTagsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. Resource name of the taxonomy to list the policy tags of.
    * 
* - * - * string parent = 1 [(.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,31 +62,29 @@ 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. Resource name of the taxonomy to list the policy tags of.
    * 
* - * - * string parent = 1 [(.google.api.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,8 +95,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * The maximum number of items to return. Must be a value between 1 and 1000
    * inclusively.
@@ -131,7 +102,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -140,12 +110,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * The pagination token of the next results page. If not set, returns the
    * first page.
@@ -154,7 +121,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -163,15 +129,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The pagination token of the next results page. If not set, returns the
    * first page.
@@ -180,15 +145,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -197,7 +163,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -209,7 +174,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -232,7 +198,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_); @@ -245,17 +212,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.datacatalog.v1.ListPolicyTagsRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ListPolicyTagsRequest other = - (com.google.cloud.datacatalog.v1.ListPolicyTagsRequest) obj; + com.google.cloud.datacatalog.v1.ListPolicyTagsRequest other = (com.google.cloud.datacatalog.v1.ListPolicyTagsRequest) 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,104 +248,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ListPolicyTagsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ListPolicyTagsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListPolicyTagsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ListPolicyTagsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListPolicyTagsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ListPolicyTagsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.ListPolicyTagsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ListPolicyTagsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ListPolicyTagsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListPolicyTagsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ListPolicyTagsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ListPolicyTagsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListPolicyTagsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ListPolicyTagsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.ListPolicyTagsRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.ListPolicyTagsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [ListPolicyTags][google.cloud.datacatalog.v1.PolicyTagManager.ListPolicyTags].
@@ -384,32 +347,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ListPolicyTagsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ListPolicyTagsRequest)
       com.google.cloud.datacatalog.v1.ListPolicyTagsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ListPolicyTagsRequest.class,
-              com.google.cloud.datacatalog.v1.ListPolicyTagsRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.ListPolicyTagsRequest.class, com.google.cloud.datacatalog.v1.ListPolicyTagsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ListPolicyTagsRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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 +385,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -442,11 +406,8 @@ public com.google.cloud.datacatalog.v1.ListPolicyTagsRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ListPolicyTagsRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.ListPolicyTagsRequest result =
-          new com.google.cloud.datacatalog.v1.ListPolicyTagsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.ListPolicyTagsRequest result = new com.google.cloud.datacatalog.v1.ListPolicyTagsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -468,39 +429,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ListPolicyTagsRequest
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ListPolicyTagsRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ListPolicyTagsRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ListPolicyTagsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -508,8 +468,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ListPolicyTagsRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.ListPolicyTagsRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.ListPolicyTagsRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -549,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) {
@@ -583,27 +538,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. Resource name of the taxonomy to list the policy tags of.
      * 
* - * - * string parent = 1 [(.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,23 +562,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the taxonomy to list the policy tags of.
      * 
* - * - * string parent = 1 [(.google.api.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,39 +583,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the taxonomy to list the policy tags of.
      * 
* - * - * 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. Resource name of the taxonomy to list the policy tags of.
      * 
* - * - * string 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,23 +614,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Resource name of the taxonomy to list the policy tags of.
      * 
* - * - * 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; @@ -702,10 +632,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return. Must be a value between 1 and 1000
      * inclusively.
@@ -713,7 +641,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -721,8 +648,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return. Must be a value between 1 and 1000
      * inclusively.
@@ -730,7 +655,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -742,8 +666,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * The maximum number of items to return. Must be a value between 1 and 1000
      * inclusively.
@@ -751,7 +673,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -763,8 +684,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The pagination token of the next results page. If not set, returns the
      * first page.
@@ -773,13 +692,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -788,8 +707,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The pagination token of the next results page. If not set, returns the
      * first page.
@@ -798,14 +715,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -813,8 +731,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The pagination token of the next results page. If not set, returns the
      * first page.
@@ -823,22 +739,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @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; } /** - * - * *
      * The pagination token of the next results page. If not set, returns the
      * first page.
@@ -847,7 +759,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -857,8 +768,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The pagination token of the next results page. If not set, returns the
      * first page.
@@ -867,23 +776,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - 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); } @@ -893,12 +800,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ListPolicyTagsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ListPolicyTagsRequest) private static final com.google.cloud.datacatalog.v1.ListPolicyTagsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ListPolicyTagsRequest(); } @@ -907,27 +814,27 @@ public static com.google.cloud.datacatalog.v1.ListPolicyTagsRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPolicyTagsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPolicyTagsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -942,4 +849,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ListPolicyTagsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequestOrBuilder.java similarity index 57% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequestOrBuilder.java index 102c2d77ff8c..b61b50eeb423 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; -public interface ListPolicyTagsRequestOrBuilder - extends +public interface ListPolicyTagsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ListPolicyTagsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the taxonomy to list the policy tags of.
    * 
* - * - * string parent = 1 [(.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. Resource name of the taxonomy to list the policy tags of.
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * The maximum number of items to return. Must be a value between 1 and 1000
    * inclusively.
@@ -62,14 +35,11 @@ public interface ListPolicyTagsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The pagination token of the next results page. If not set, returns the
    * first page.
@@ -78,13 +48,10 @@ public interface ListPolicyTagsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The pagination token of the next results page. If not set, returns the
    * first page.
@@ -93,8 +60,8 @@ public interface ListPolicyTagsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponse.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponse.java similarity index 72% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponse.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponse.java index e02214f66fd7..751f3cb79e17 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponse.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Response message for
  * [ListPolicyTags][google.cloud.datacatalog.v1.PolicyTagManager.ListPolicyTags].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ListPolicyTagsResponse}
  */
-public final class ListPolicyTagsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListPolicyTagsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ListPolicyTagsResponse)
     ListPolicyTagsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListPolicyTagsResponse.newBuilder() to construct.
   private ListPolicyTagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListPolicyTagsResponse() {
     policyTags_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -45,32 +27,28 @@ private ListPolicyTagsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListPolicyTagsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ListPolicyTagsResponse.class,
-            com.google.cloud.datacatalog.v1.ListPolicyTagsResponse.Builder.class);
+            com.google.cloud.datacatalog.v1.ListPolicyTagsResponse.class, com.google.cloud.datacatalog.v1.ListPolicyTagsResponse.Builder.class);
   }
 
   public static final int POLICY_TAGS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List policyTags_;
   /**
-   *
-   *
    * 
    * The policy tags that belong to the taxonomy.
    * 
@@ -82,8 +60,6 @@ public java.util.List getPolicyTagsLi return policyTags_; } /** - * - * *
    * The policy tags that belong to the taxonomy.
    * 
@@ -91,13 +67,11 @@ public java.util.List getPolicyTagsLi * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPolicyTagsOrBuilderList() { return policyTags_; } /** - * - * *
    * The policy tags that belong to the taxonomy.
    * 
@@ -109,8 +83,6 @@ public int getPolicyTagsCount() { return policyTags_.size(); } /** - * - * *
    * The policy tags that belong to the taxonomy.
    * 
@@ -122,8 +94,6 @@ public com.google.cloud.datacatalog.v1.PolicyTag getPolicyTags(int index) { return policyTags_.get(index); } /** - * - * *
    * The policy tags that belong to the taxonomy.
    * 
@@ -131,24 +101,21 @@ public com.google.cloud.datacatalog.v1.PolicyTag getPolicyTags(int index) { * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagsOrBuilder(int index) { + public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagsOrBuilder( + int index) { return policyTags_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Pagination token of the next results page. Empty if there are no
    * more results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -157,30 +124,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; } } /** - * - * *
    * Pagination token of the next results page. 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,7 +156,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +167,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < policyTags_.size(); i++) { output.writeMessage(1, policyTags_.get(i)); } @@ -218,7 +185,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < policyTags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, policyTags_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, policyTags_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -231,16 +199,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.datacatalog.v1.ListPolicyTagsResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ListPolicyTagsResponse other = - (com.google.cloud.datacatalog.v1.ListPolicyTagsResponse) obj; + com.google.cloud.datacatalog.v1.ListPolicyTagsResponse other = (com.google.cloud.datacatalog.v1.ListPolicyTagsResponse) obj; - if (!getPolicyTagsList().equals(other.getPolicyTagsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getPolicyTagsList() + .equals(other.getPolicyTagsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -264,104 +233,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ListPolicyTagsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ListPolicyTagsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListPolicyTagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ListPolicyTagsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListPolicyTagsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ListPolicyTagsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.ListPolicyTagsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ListPolicyTagsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ListPolicyTagsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListPolicyTagsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ListPolicyTagsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ListPolicyTagsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListPolicyTagsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ListPolicyTagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.ListPolicyTagsResponse prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.ListPolicyTagsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for
    * [ListPolicyTags][google.cloud.datacatalog.v1.PolicyTagManager.ListPolicyTags].
@@ -369,32 +332,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ListPolicyTagsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ListPolicyTagsResponse)
       com.google.cloud.datacatalog.v1.ListPolicyTagsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ListPolicyTagsResponse.class,
-              com.google.cloud.datacatalog.v1.ListPolicyTagsResponse.Builder.class);
+              com.google.cloud.datacatalog.v1.ListPolicyTagsResponse.class, com.google.cloud.datacatalog.v1.ListPolicyTagsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ListPolicyTagsResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -411,9 +375,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -432,18 +396,14 @@ public com.google.cloud.datacatalog.v1.ListPolicyTagsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ListPolicyTagsResponse buildPartial() {
-      com.google.cloud.datacatalog.v1.ListPolicyTagsResponse result =
-          new com.google.cloud.datacatalog.v1.ListPolicyTagsResponse(this);
+      com.google.cloud.datacatalog.v1.ListPolicyTagsResponse result = new com.google.cloud.datacatalog.v1.ListPolicyTagsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.datacatalog.v1.ListPolicyTagsResponse result) {
+    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1.ListPolicyTagsResponse result) {
       if (policyTagsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           policyTags_ = java.util.Collections.unmodifiableList(policyTags_);
@@ -466,39 +426,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ListPolicyTagsRespons
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ListPolicyTagsResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ListPolicyTagsResponse) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ListPolicyTagsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -506,8 +465,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ListPolicyTagsResponse other) {
-      if (other == com.google.cloud.datacatalog.v1.ListPolicyTagsResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.ListPolicyTagsResponse.getDefaultInstance()) return this;
       if (policyTagsBuilder_ == null) {
         if (!other.policyTags_.isEmpty()) {
           if (policyTags_.isEmpty()) {
@@ -526,10 +484,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.ListPolicyTagsResponse
             policyTagsBuilder_ = null;
             policyTags_ = other.policyTags_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            policyTagsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getPolicyTagsFieldBuilder()
-                    : null;
+            policyTagsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getPolicyTagsFieldBuilder() : null;
           } else {
             policyTagsBuilder_.addAllMessages(other.policyTags_);
           }
@@ -566,32 +523,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.datacatalog.v1.PolicyTag m =
-                    input.readMessage(
-                        com.google.cloud.datacatalog.v1.PolicyTag.parser(), extensionRegistry);
-                if (policyTagsBuilder_ == null) {
-                  ensurePolicyTagsIsMutable();
-                  policyTags_.add(m);
-                } else {
-                  policyTagsBuilder_.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.datacatalog.v1.PolicyTag m =
+                  input.readMessage(
+                      com.google.cloud.datacatalog.v1.PolicyTag.parser(),
+                      extensionRegistry);
+              if (policyTagsBuilder_ == null) {
+                ensurePolicyTagsIsMutable();
+                policyTags_.add(m);
+              } else {
+                policyTagsBuilder_.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) {
@@ -601,29 +556,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List policyTags_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensurePolicyTagsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        policyTags_ =
-            new java.util.ArrayList(policyTags_);
+        policyTags_ = new java.util.ArrayList(policyTags_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.PolicyTag,
-            com.google.cloud.datacatalog.v1.PolicyTag.Builder,
-            com.google.cloud.datacatalog.v1.PolicyTagOrBuilder>
-        policyTagsBuilder_;
+        com.google.cloud.datacatalog.v1.PolicyTag, com.google.cloud.datacatalog.v1.PolicyTag.Builder, com.google.cloud.datacatalog.v1.PolicyTagOrBuilder> policyTagsBuilder_;
 
     /**
-     *
-     *
      * 
      * The policy tags that belong to the taxonomy.
      * 
@@ -638,8 +585,6 @@ public java.util.List getPolicyTagsLi } } /** - * - * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -654,8 +599,6 @@ public int getPolicyTagsCount() { } } /** - * - * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -670,15 +613,14 @@ public com.google.cloud.datacatalog.v1.PolicyTag getPolicyTags(int index) { } } /** - * - * *
      * The policy tags that belong to the taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; */ - public Builder setPolicyTags(int index, com.google.cloud.datacatalog.v1.PolicyTag value) { + public Builder setPolicyTags( + int index, com.google.cloud.datacatalog.v1.PolicyTag value) { if (policyTagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -692,8 +634,6 @@ public Builder setPolicyTags(int index, com.google.cloud.datacatalog.v1.PolicyTa return this; } /** - * - * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -712,8 +652,6 @@ public Builder setPolicyTags( return this; } /** - * - * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -734,15 +672,14 @@ public Builder addPolicyTags(com.google.cloud.datacatalog.v1.PolicyTag value) { return this; } /** - * - * *
      * The policy tags that belong to the taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; */ - public Builder addPolicyTags(int index, com.google.cloud.datacatalog.v1.PolicyTag value) { + public Builder addPolicyTags( + int index, com.google.cloud.datacatalog.v1.PolicyTag value) { if (policyTagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -756,8 +693,6 @@ public Builder addPolicyTags(int index, com.google.cloud.datacatalog.v1.PolicyTa return this; } /** - * - * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -776,8 +711,6 @@ public Builder addPolicyTags( return this; } /** - * - * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -796,8 +729,6 @@ public Builder addPolicyTags( return this; } /** - * - * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -808,7 +739,8 @@ public Builder addAllPolicyTags( java.lang.Iterable values) { if (policyTagsBuilder_ == null) { ensurePolicyTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, policyTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, policyTags_); onChanged(); } else { policyTagsBuilder_.addAllMessages(values); @@ -816,8 +748,6 @@ public Builder addAllPolicyTags( return this; } /** - * - * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -835,8 +765,6 @@ public Builder clearPolicyTags() { return this; } /** - * - * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -854,44 +782,39 @@ public Builder removePolicyTags(int index) { return this; } /** - * - * *
      * The policy tags that belong to the taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; */ - public com.google.cloud.datacatalog.v1.PolicyTag.Builder getPolicyTagsBuilder(int index) { + public com.google.cloud.datacatalog.v1.PolicyTag.Builder getPolicyTagsBuilder( + int index) { return getPolicyTagsFieldBuilder().getBuilder(index); } /** - * - * *
      * The policy tags that belong to the taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; */ - public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagsOrBuilder(int index) { + public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagsOrBuilder( + int index) { if (policyTagsBuilder_ == null) { - return policyTags_.get(index); - } else { + return policyTags_.get(index); } else { return policyTagsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The policy tags that belong to the taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; */ - public java.util.List - getPolicyTagsOrBuilderList() { + public java.util.List + getPolicyTagsOrBuilderList() { if (policyTagsBuilder_ != null) { return policyTagsBuilder_.getMessageOrBuilderList(); } else { @@ -899,8 +822,6 @@ public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagsOrBuilder } } /** - * - * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -908,48 +829,42 @@ public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagsOrBuilder * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; */ public com.google.cloud.datacatalog.v1.PolicyTag.Builder addPolicyTagsBuilder() { - return getPolicyTagsFieldBuilder() - .addBuilder(com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance()); + return getPolicyTagsFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance()); } /** - * - * *
      * The policy tags that belong to the taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; */ - public com.google.cloud.datacatalog.v1.PolicyTag.Builder addPolicyTagsBuilder(int index) { - return getPolicyTagsFieldBuilder() - .addBuilder(index, com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance()); + public com.google.cloud.datacatalog.v1.PolicyTag.Builder addPolicyTagsBuilder( + int index) { + return getPolicyTagsFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance()); } /** - * - * *
      * The policy tags that belong to the taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; */ - public java.util.List - getPolicyTagsBuilderList() { + public java.util.List + getPolicyTagsBuilderList() { return getPolicyTagsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.PolicyTag, - com.google.cloud.datacatalog.v1.PolicyTag.Builder, - com.google.cloud.datacatalog.v1.PolicyTagOrBuilder> + com.google.cloud.datacatalog.v1.PolicyTag, com.google.cloud.datacatalog.v1.PolicyTag.Builder, com.google.cloud.datacatalog.v1.PolicyTagOrBuilder> getPolicyTagsFieldBuilder() { if (policyTagsBuilder_ == null) { - policyTagsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.PolicyTag, - com.google.cloud.datacatalog.v1.PolicyTag.Builder, - com.google.cloud.datacatalog.v1.PolicyTagOrBuilder>( - policyTags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + policyTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.PolicyTag, com.google.cloud.datacatalog.v1.PolicyTag.Builder, com.google.cloud.datacatalog.v1.PolicyTagOrBuilder>( + policyTags_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); policyTags_ = null; } return policyTagsBuilder_; @@ -957,21 +872,19 @@ public com.google.cloud.datacatalog.v1.PolicyTag.Builder addPolicyTagsBuilder(in private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Pagination token of the next results page. 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; @@ -980,22 +893,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Pagination token of the next results page. 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 { @@ -1003,37 +915,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Pagination token of the next results page. 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; } /** - * - * *
      * Pagination token of the next results page. Empty if there are no
      * more results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1043,31 +948,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Pagination token of the next results page. 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); } @@ -1077,12 +978,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ListPolicyTagsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ListPolicyTagsResponse) private static final com.google.cloud.datacatalog.v1.ListPolicyTagsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ListPolicyTagsResponse(); } @@ -1091,27 +992,27 @@ public static com.google.cloud.datacatalog.v1.ListPolicyTagsResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPolicyTagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPolicyTagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1126,4 +1027,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ListPolicyTagsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponseOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponseOrBuilder.java similarity index 67% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponseOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponseOrBuilder.java index f8999959c582..99a5d4b0ff14 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponseOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; -public interface ListPolicyTagsResponseOrBuilder - extends +public interface ListPolicyTagsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ListPolicyTagsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The policy tags that belong to the taxonomy.
    * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; */ - java.util.List getPolicyTagsList(); + java.util.List + getPolicyTagsList(); /** - * - * *
    * The policy tags that belong to the taxonomy.
    * 
@@ -44,8 +25,6 @@ public interface ListPolicyTagsResponseOrBuilder */ com.google.cloud.datacatalog.v1.PolicyTag getPolicyTags(int index); /** - * - * *
    * The policy tags that belong to the taxonomy.
    * 
@@ -54,51 +33,43 @@ public interface ListPolicyTagsResponseOrBuilder */ int getPolicyTagsCount(); /** - * - * *
    * The policy tags that belong to the taxonomy.
    * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; */ - java.util.List + java.util.List getPolicyTagsOrBuilderList(); /** - * - * *
    * The policy tags that belong to the taxonomy.
    * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; */ - com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagsOrBuilder(int index); + com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagsOrBuilder( + int index); /** - * - * *
    * Pagination token of the next results page. Empty if there are no
    * more results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Pagination token of the next results page. 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequest.java similarity index 68% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequest.java index ab435a981813..38aa4a21ef1c 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [ListTags][google.cloud.datacatalog.v1.DataCatalog.ListTags].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ListTagsRequest}
  */
-public final class ListTagsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListTagsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ListTagsRequest)
     ListTagsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListTagsRequest.newBuilder() to construct.
   private ListTagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListTagsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -45,32 +27,28 @@ private ListTagsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListTagsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_ListTagsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListTagsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_ListTagsRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListTagsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ListTagsRequest.class,
-            com.google.cloud.datacatalog.v1.ListTagsRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.ListTagsRequest.class, com.google.cloud.datacatalog.v1.ListTagsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the Data Catalog resource to list the tags of.
    *
@@ -79,10 +57,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * (without `/entries/{entries}` at the end).
    * 
* - * - * string parent = 1 [(.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 name of the Data Catalog resource to list the tags of.
    *
@@ -108,18 +82,17 @@ public java.lang.String getParent() {
    * (without `/entries/{entries}` at the end).
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -130,14 +103,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * The maximum number of tags to return. Default is 10. Maximum limit is 1000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -146,19 +116,15 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Pagination token that specifies the next page to return. If empty, the
    * first page is returned.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -167,30 +133,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Pagination token that specifies the next page to return. If empty, the
    * first page is returned.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -199,7 +165,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -211,7 +176,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -234,7 +200,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_); @@ -247,17 +214,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.datacatalog.v1.ListTagsRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ListTagsRequest other = - (com.google.cloud.datacatalog.v1.ListTagsRequest) obj; + com.google.cloud.datacatalog.v1.ListTagsRequest other = (com.google.cloud.datacatalog.v1.ListTagsRequest) 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,104 +249,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.ListTagsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.ListTagsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ListTagsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListTagsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ListTagsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListTagsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ListTagsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListTagsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ListTagsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListTagsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ListTagsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ListTagsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListTagsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ListTagsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.ListTagsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [ListTags][google.cloud.datacatalog.v1.DataCatalog.ListTags].
@@ -385,32 +349,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ListTagsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ListTagsRequest)
       com.google.cloud.datacatalog.v1.ListTagsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ListTagsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListTagsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ListTagsRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListTagsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ListTagsRequest.class,
-              com.google.cloud.datacatalog.v1.ListTagsRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.ListTagsRequest.class, com.google.cloud.datacatalog.v1.ListTagsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ListTagsRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -422,9 +387,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ListTagsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListTagsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -443,11 +408,8 @@ public com.google.cloud.datacatalog.v1.ListTagsRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ListTagsRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.ListTagsRequest result =
-          new com.google.cloud.datacatalog.v1.ListTagsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.ListTagsRequest result = new com.google.cloud.datacatalog.v1.ListTagsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -469,39 +431,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ListTagsRequest 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.datacatalog.v1.ListTagsRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ListTagsRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ListTagsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -509,8 +470,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ListTagsRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.ListTagsRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.ListTagsRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -550,31 +510,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) {
@@ -584,13 +540,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the Data Catalog resource to list the tags of.
      *
@@ -599,16 +552,14 @@ public Builder mergeFrom(
      * (without `/entries/{entries}` at the end).
      * 
* - * - * string parent = 1 [(.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; @@ -617,8 +568,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the Data Catalog resource to list the tags of.
      *
@@ -627,17 +576,16 @@ public java.lang.String getParent() {
      * (without `/entries/{entries}` at the end).
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -645,8 +593,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the Data Catalog resource to list the tags of.
      *
@@ -655,25 +601,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * (without `/entries/{entries}` at the end).
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the Data Catalog resource to list the tags of.
      *
@@ -682,10 +622,7 @@ public Builder setParent(java.lang.String value) {
      * (without `/entries/{entries}` at the end).
      * 
* - * - * string 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() { @@ -695,8 +632,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the Data Catalog resource to list the tags of.
      *
@@ -705,17 +640,13 @@ public Builder clearParent() {
      * (without `/entries/{entries}` at the end).
      * 
* - * - * 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,16 +654,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of tags to return. Default is 10. Maximum limit is 1000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -740,14 +668,11 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of tags to return. Default is 10. Maximum limit is 1000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -759,14 +684,11 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * The maximum number of tags to return. Default is 10. Maximum limit is 1000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -778,21 +700,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Pagination token that specifies the next page to return. If empty, the
      * first page is returned.
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -801,22 +721,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Pagination token that specifies the next page to return. If empty, the
      * first page is returned.
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -824,37 +743,30 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Pagination token that specifies the next page to return. If empty, the
      * first page is returned.
      * 
* * string page_token = 3; - * * @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; } /** - * - * *
      * Pagination token that specifies the next page to return. If empty, the
      * first page is returned.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -864,31 +776,27 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Pagination token that specifies the next page to return. If empty, the
      * first page is returned.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - 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); } @@ -898,12 +806,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ListTagsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ListTagsRequest) private static final com.google.cloud.datacatalog.v1.ListTagsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ListTagsRequest(); } @@ -912,27 +820,27 @@ public static com.google.cloud.datacatalog.v1.ListTagsRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -947,4 +855,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ListTagsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequestOrBuilder.java similarity index 60% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequestOrBuilder.java index 0d97f3dc0403..fb840d5c25e1 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface ListTagsRequestOrBuilder - extends +public interface ListTagsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ListTagsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the Data Catalog resource to list the tags of.
    *
@@ -34,16 +16,11 @@ public interface ListTagsRequestOrBuilder
    * (without `/entries/{entries}` at the end).
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the Data Catalog resource to list the tags of.
    *
@@ -52,51 +29,41 @@ public interface ListTagsRequestOrBuilder
    * (without `/entries/{entries}` at the end).
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * The maximum number of tags to return. Default is 10. Maximum limit is 1000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Pagination token that specifies the next page to return. If empty, the
    * first page is returned.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Pagination token that specifies the next page to return. If empty, the
    * first page is returned.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponse.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponse.java similarity index 71% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponse.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponse.java index 101869c48f8b..1156c6c87de5 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponse.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Response message for
  * [ListTags][google.cloud.datacatalog.v1.DataCatalog.ListTags].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ListTagsResponse}
  */
-public final class ListTagsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListTagsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ListTagsResponse)
     ListTagsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListTagsResponse.newBuilder() to construct.
   private ListTagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListTagsResponse() {
     tags_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -45,32 +27,28 @@ private ListTagsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListTagsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_ListTagsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListTagsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_ListTagsResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListTagsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ListTagsResponse.class,
-            com.google.cloud.datacatalog.v1.ListTagsResponse.Builder.class);
+            com.google.cloud.datacatalog.v1.ListTagsResponse.class, com.google.cloud.datacatalog.v1.ListTagsResponse.Builder.class);
   }
 
   public static final int TAGS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List tags_;
   /**
-   *
-   *
    * 
    * [Tag][google.cloud.datacatalog.v1.Tag] details.
    * 
@@ -82,8 +60,6 @@ public java.util.List getTagsList() { return tags_; } /** - * - * *
    * [Tag][google.cloud.datacatalog.v1.Tag] details.
    * 
@@ -91,13 +67,11 @@ public java.util.List getTagsList() { * repeated .google.cloud.datacatalog.v1.Tag tags = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTagsOrBuilderList() { return tags_; } /** - * - * *
    * [Tag][google.cloud.datacatalog.v1.Tag] details.
    * 
@@ -109,8 +83,6 @@ public int getTagsCount() { return tags_.size(); } /** - * - * *
    * [Tag][google.cloud.datacatalog.v1.Tag] details.
    * 
@@ -122,8 +94,6 @@ public com.google.cloud.datacatalog.v1.Tag getTags(int index) { return tags_.get(index); } /** - * - * *
    * [Tag][google.cloud.datacatalog.v1.Tag] details.
    * 
@@ -131,24 +101,21 @@ public com.google.cloud.datacatalog.v1.Tag getTags(int index) { * repeated .google.cloud.datacatalog.v1.Tag tags = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder(int index) { + public com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder( + int index) { return tags_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Pagination token of the next results page. Empty if there are
    * no more items in results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -157,30 +124,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; } } /** - * - * *
    * Pagination token of the next results page. Empty if there are
    * no more items in results.
    * 
* * 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,7 +156,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +167,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < tags_.size(); i++) { output.writeMessage(1, tags_.get(i)); } @@ -218,7 +185,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tags_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, tags_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -231,16 +199,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.datacatalog.v1.ListTagsResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ListTagsResponse other = - (com.google.cloud.datacatalog.v1.ListTagsResponse) obj; + com.google.cloud.datacatalog.v1.ListTagsResponse other = (com.google.cloud.datacatalog.v1.ListTagsResponse) obj; - if (!getTagsList().equals(other.getTagsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getTagsList() + .equals(other.getTagsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -263,104 +232,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.ListTagsResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.ListTagsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ListTagsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListTagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ListTagsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListTagsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ListTagsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.ListTagsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ListTagsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ListTagsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListTagsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ListTagsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ListTagsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListTagsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ListTagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.ListTagsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for
    * [ListTags][google.cloud.datacatalog.v1.DataCatalog.ListTags].
@@ -368,32 +332,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ListTagsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ListTagsResponse)
       com.google.cloud.datacatalog.v1.ListTagsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ListTagsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListTagsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ListTagsResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListTagsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ListTagsResponse.class,
-              com.google.cloud.datacatalog.v1.ListTagsResponse.Builder.class);
+              com.google.cloud.datacatalog.v1.ListTagsResponse.class, com.google.cloud.datacatalog.v1.ListTagsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ListTagsResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -410,9 +375,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ListTagsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListTagsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -431,18 +396,14 @@ public com.google.cloud.datacatalog.v1.ListTagsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ListTagsResponse buildPartial() {
-      com.google.cloud.datacatalog.v1.ListTagsResponse result =
-          new com.google.cloud.datacatalog.v1.ListTagsResponse(this);
+      com.google.cloud.datacatalog.v1.ListTagsResponse result = new com.google.cloud.datacatalog.v1.ListTagsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.datacatalog.v1.ListTagsResponse result) {
+    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1.ListTagsResponse result) {
       if (tagsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           tags_ = java.util.Collections.unmodifiableList(tags_);
@@ -465,39 +426,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ListTagsResponse 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.datacatalog.v1.ListTagsResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ListTagsResponse) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ListTagsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -505,8 +465,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ListTagsResponse other) {
-      if (other == com.google.cloud.datacatalog.v1.ListTagsResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.ListTagsResponse.getDefaultInstance()) return this;
       if (tagsBuilder_ == null) {
         if (!other.tags_.isEmpty()) {
           if (tags_.isEmpty()) {
@@ -525,10 +484,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.ListTagsResponse other)
             tagsBuilder_ = null;
             tags_ = other.tags_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            tagsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getTagsFieldBuilder()
-                    : null;
+            tagsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getTagsFieldBuilder() : null;
           } else {
             tagsBuilder_.addAllMessages(other.tags_);
           }
@@ -565,32 +523,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.datacatalog.v1.Tag m =
-                    input.readMessage(
-                        com.google.cloud.datacatalog.v1.Tag.parser(), extensionRegistry);
-                if (tagsBuilder_ == null) {
-                  ensureTagsIsMutable();
-                  tags_.add(m);
-                } else {
-                  tagsBuilder_.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.datacatalog.v1.Tag m =
+                  input.readMessage(
+                      com.google.cloud.datacatalog.v1.Tag.parser(),
+                      extensionRegistry);
+              if (tagsBuilder_ == null) {
+                ensureTagsIsMutable();
+                tags_.add(m);
+              } else {
+                tagsBuilder_.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) {
@@ -600,28 +556,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List tags_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureTagsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         tags_ = new java.util.ArrayList(tags_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.Tag,
-            com.google.cloud.datacatalog.v1.Tag.Builder,
-            com.google.cloud.datacatalog.v1.TagOrBuilder>
-        tagsBuilder_;
+        com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder> tagsBuilder_;
 
     /**
-     *
-     *
      * 
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
@@ -636,8 +585,6 @@ public java.util.List getTagsList() { } } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
@@ -652,8 +599,6 @@ public int getTagsCount() { } } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
@@ -668,15 +613,14 @@ public com.google.cloud.datacatalog.v1.Tag getTags(int index) { } } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1.Tag tags = 1; */ - public Builder setTags(int index, com.google.cloud.datacatalog.v1.Tag value) { + public Builder setTags( + int index, com.google.cloud.datacatalog.v1.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -690,15 +634,14 @@ public Builder setTags(int index, com.google.cloud.datacatalog.v1.Tag value) { return this; } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1.Tag tags = 1; */ - public Builder setTags(int index, com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { + public Builder setTags( + int index, com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); tags_.set(index, builderForValue.build()); @@ -709,8 +652,6 @@ public Builder setTags(int index, com.google.cloud.datacatalog.v1.Tag.Builder bu return this; } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
@@ -731,15 +672,14 @@ public Builder addTags(com.google.cloud.datacatalog.v1.Tag value) { return this; } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1.Tag tags = 1; */ - public Builder addTags(int index, com.google.cloud.datacatalog.v1.Tag value) { + public Builder addTags( + int index, com.google.cloud.datacatalog.v1.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -753,15 +693,14 @@ public Builder addTags(int index, com.google.cloud.datacatalog.v1.Tag value) { return this; } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1.Tag tags = 1; */ - public Builder addTags(com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { + public Builder addTags( + com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); tags_.add(builderForValue.build()); @@ -772,15 +711,14 @@ public Builder addTags(com.google.cloud.datacatalog.v1.Tag.Builder builderForVal return this; } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1.Tag tags = 1; */ - public Builder addTags(int index, com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { + public Builder addTags( + int index, com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); tags_.add(index, builderForValue.build()); @@ -791,8 +729,6 @@ public Builder addTags(int index, com.google.cloud.datacatalog.v1.Tag.Builder bu return this; } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
@@ -803,7 +739,8 @@ public Builder addAllTags( java.lang.Iterable values) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tags_); onChanged(); } else { tagsBuilder_.addAllMessages(values); @@ -811,8 +748,6 @@ public Builder addAllTags( return this; } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
@@ -830,8 +765,6 @@ public Builder clearTags() { return this; } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
@@ -849,44 +782,39 @@ public Builder removeTags(int index) { return this; } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1.Tag tags = 1; */ - public com.google.cloud.datacatalog.v1.Tag.Builder getTagsBuilder(int index) { + public com.google.cloud.datacatalog.v1.Tag.Builder getTagsBuilder( + int index) { return getTagsFieldBuilder().getBuilder(index); } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1.Tag tags = 1; */ - public com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder(int index) { + public com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder( + int index) { if (tagsBuilder_ == null) { - return tags_.get(index); - } else { + return tags_.get(index); } else { return tagsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1.Tag tags = 1; */ - public java.util.List - getTagsOrBuilderList() { + public java.util.List + getTagsOrBuilderList() { if (tagsBuilder_ != null) { return tagsBuilder_.getMessageOrBuilderList(); } else { @@ -894,8 +822,6 @@ public com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder(int index) } } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
@@ -903,47 +829,42 @@ public com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder(int index) * repeated .google.cloud.datacatalog.v1.Tag tags = 1; */ public com.google.cloud.datacatalog.v1.Tag.Builder addTagsBuilder() { - return getTagsFieldBuilder() - .addBuilder(com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()); + return getTagsFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()); } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1.Tag tags = 1; */ - public com.google.cloud.datacatalog.v1.Tag.Builder addTagsBuilder(int index) { - return getTagsFieldBuilder() - .addBuilder(index, com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()); + public com.google.cloud.datacatalog.v1.Tag.Builder addTagsBuilder( + int index) { + return getTagsFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()); } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1.Tag tags = 1; */ - public java.util.List getTagsBuilderList() { + public java.util.List + getTagsBuilderList() { return getTagsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Tag, - com.google.cloud.datacatalog.v1.Tag.Builder, - com.google.cloud.datacatalog.v1.TagOrBuilder> + com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder> getTagsFieldBuilder() { if (tagsBuilder_ == null) { - tagsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Tag, - com.google.cloud.datacatalog.v1.Tag.Builder, - com.google.cloud.datacatalog.v1.TagOrBuilder>( - tags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder>( + tags_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tags_ = null; } return tagsBuilder_; @@ -951,21 +872,19 @@ public java.util.List getTagsBuilde private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Pagination token of the next results page. Empty if there are
      * no more items in results.
      * 
* * 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 +893,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Pagination token of the next results page. Empty if there are
      * no more items in results.
      * 
* * 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 +915,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Pagination token of the next results page. Empty if there are
      * no more items in results.
      * 
* * 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; } /** - * - * *
      * Pagination token of the next results page. Empty if there are
      * no more items in results.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1037,31 +948,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Pagination token of the next results page. Empty if there are
      * no more items in results.
      * 
* * 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 +978,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ListTagsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ListTagsResponse) private static final com.google.cloud.datacatalog.v1.ListTagsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ListTagsResponse(); } @@ -1085,27 +992,27 @@ public static com.google.cloud.datacatalog.v1.ListTagsResponse getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +1027,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ListTagsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponseOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponseOrBuilder.java similarity index 66% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponseOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponseOrBuilder.java index 3594b50f47f9..e2ec2d91bb5e 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponseOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface ListTagsResponseOrBuilder - extends +public interface ListTagsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ListTagsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * [Tag][google.cloud.datacatalog.v1.Tag] details.
    * 
* * repeated .google.cloud.datacatalog.v1.Tag tags = 1; */ - java.util.List getTagsList(); + java.util.List + getTagsList(); /** - * - * *
    * [Tag][google.cloud.datacatalog.v1.Tag] details.
    * 
@@ -44,8 +25,6 @@ public interface ListTagsResponseOrBuilder */ com.google.cloud.datacatalog.v1.Tag getTags(int index); /** - * - * *
    * [Tag][google.cloud.datacatalog.v1.Tag] details.
    * 
@@ -54,50 +33,43 @@ public interface ListTagsResponseOrBuilder */ int getTagsCount(); /** - * - * *
    * [Tag][google.cloud.datacatalog.v1.Tag] details.
    * 
* * repeated .google.cloud.datacatalog.v1.Tag tags = 1; */ - java.util.List getTagsOrBuilderList(); + java.util.List + getTagsOrBuilderList(); /** - * - * *
    * [Tag][google.cloud.datacatalog.v1.Tag] details.
    * 
* * repeated .google.cloud.datacatalog.v1.Tag tags = 1; */ - com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder(int index); + com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder( + int index); /** - * - * *
    * Pagination token of the next results page. Empty if there are
    * no more items in results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Pagination token of the next results page. Empty if there are
    * no more items in results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequest.java similarity index 69% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequest.java index a1e5781e9645..eeaab757b7e9 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [ListTaxonomies][google.cloud.datacatalog.v1.PolicyTagManager.ListTaxonomies].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ListTaxonomiesRequest}
  */
-public final class ListTaxonomiesRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListTaxonomiesRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ListTaxonomiesRequest)
     ListTaxonomiesRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListTaxonomiesRequest.newBuilder() to construct.
   private ListTaxonomiesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListTaxonomiesRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -46,40 +28,33 @@ private ListTaxonomiesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListTaxonomiesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ListTaxonomiesRequest.class,
-            com.google.cloud.datacatalog.v1.ListTaxonomiesRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.ListTaxonomiesRequest.class, com.google.cloud.datacatalog.v1.ListTaxonomiesRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. Resource name of the project to list the taxonomies of.
    * 
* - * - * string parent = 1 [(.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,31 +63,29 @@ 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. Resource name of the project to list the taxonomies of.
    * 
* - * - * string parent = 1 [(.google.api.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,15 +96,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * The maximum number of items to return. Must be a value between 1 and 1000
    * inclusively. If not set, defaults to 50.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -140,12 +110,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * The pagination token of the next results page. If not set,
    * the first page is returned.
@@ -154,7 +121,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -163,15 +129,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The pagination token of the next results page. If not set,
    * the first page is returned.
@@ -180,15 +145,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -197,19 +163,15 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Supported field for filter is 'service' and value is 'dataplex'.
    * Eg: service=dataplex.
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -218,30 +180,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Supported field for filter is 'service' and value is 'dataplex'.
    * Eg: service=dataplex.
    * 
* * string filter = 4; - * * @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 { @@ -250,7 +212,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,7 +223,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -288,7 +250,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_); @@ -304,18 +267,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.datacatalog.v1.ListTaxonomiesRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ListTaxonomiesRequest other = - (com.google.cloud.datacatalog.v1.ListTaxonomiesRequest) obj; + com.google.cloud.datacatalog.v1.ListTaxonomiesRequest other = (com.google.cloud.datacatalog.v1.ListTaxonomiesRequest) 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 (!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; } @@ -341,104 +307,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ListTaxonomiesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ListTaxonomiesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListTaxonomiesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ListTaxonomiesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListTaxonomiesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ListTaxonomiesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.ListTaxonomiesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ListTaxonomiesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ListTaxonomiesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListTaxonomiesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ListTaxonomiesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ListTaxonomiesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListTaxonomiesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ListTaxonomiesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.ListTaxonomiesRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.ListTaxonomiesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [ListTaxonomies][google.cloud.datacatalog.v1.PolicyTagManager.ListTaxonomies].
@@ -446,32 +406,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ListTaxonomiesRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ListTaxonomiesRequest)
       com.google.cloud.datacatalog.v1.ListTaxonomiesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ListTaxonomiesRequest.class,
-              com.google.cloud.datacatalog.v1.ListTaxonomiesRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.ListTaxonomiesRequest.class, com.google.cloud.datacatalog.v1.ListTaxonomiesRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ListTaxonomiesRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -484,9 +445,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -505,11 +466,8 @@ public com.google.cloud.datacatalog.v1.ListTaxonomiesRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ListTaxonomiesRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.ListTaxonomiesRequest result =
-          new com.google.cloud.datacatalog.v1.ListTaxonomiesRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.ListTaxonomiesRequest result = new com.google.cloud.datacatalog.v1.ListTaxonomiesRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -534,39 +492,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ListTaxonomiesRequest
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ListTaxonomiesRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ListTaxonomiesRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ListTaxonomiesRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -574,8 +531,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ListTaxonomiesRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.ListTaxonomiesRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.ListTaxonomiesRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -620,37 +576,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) {
@@ -660,27 +611,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. Resource name of the project to list the taxonomies of.
      * 
* - * - * string parent = 1 [(.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; @@ -689,23 +635,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the project to list the taxonomies of.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -713,39 +656,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the project to list the taxonomies of.
      * 
* - * - * 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. Resource name of the project to list the taxonomies of.
      * 
* - * - * string 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() { @@ -755,23 +687,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Resource name of the project to list the taxonomies of.
      * 
* - * - * 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,17 +705,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return. Must be a value between 1 and 1000
      * inclusively. If not set, defaults to 50.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -797,15 +720,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return. Must be a value between 1 and 1000
      * inclusively. If not set, defaults to 50.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -817,15 +737,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * The maximum number of items to return. Must be a value between 1 and 1000
      * inclusively. If not set, defaults to 50.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -837,8 +754,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The pagination token of the next results page. If not set,
      * the first page is returned.
@@ -847,13 +762,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -862,8 +777,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The pagination token of the next results page. If not set,
      * the first page is returned.
@@ -872,14 +785,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -887,8 +801,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The pagination token of the next results page. If not set,
      * the first page is returned.
@@ -897,22 +809,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @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; } /** - * - * *
      * The pagination token of the next results page. If not set,
      * the first page is returned.
@@ -921,7 +829,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -931,8 +838,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The pagination token of the next results page. If not set,
      * the first page is returned.
@@ -941,14 +846,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - 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; @@ -958,21 +861,19 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Supported field for filter is 'service' and value is 'dataplex'.
      * Eg: service=dataplex.
      * 
* * string filter = 4; - * * @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; @@ -981,22 +882,21 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Supported field for filter is 'service' and value is 'dataplex'.
      * Eg: service=dataplex.
      * 
* * string filter = 4; - * * @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 { @@ -1004,37 +904,30 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Supported field for filter is 'service' and value is 'dataplex'.
      * Eg: service=dataplex.
      * 
* * string filter = 4; - * * @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; } /** - * - * *
      * Supported field for filter is 'service' and value is 'dataplex'.
      * Eg: service=dataplex.
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1044,31 +937,27 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Supported field for filter is 'service' and value is 'dataplex'.
      * Eg: service=dataplex.
      * 
* * string filter = 4; - * * @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); } @@ -1078,12 +967,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ListTaxonomiesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ListTaxonomiesRequest) private static final com.google.cloud.datacatalog.v1.ListTaxonomiesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ListTaxonomiesRequest(); } @@ -1092,27 +981,27 @@ public static com.google.cloud.datacatalog.v1.ListTaxonomiesRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTaxonomiesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTaxonomiesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1127,4 +1016,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ListTaxonomiesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequestOrBuilder.java similarity index 62% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequestOrBuilder.java index 2fb802f7cdd9..9d8042300e9f 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequestOrBuilder.java @@ -1,74 +1,44 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; -public interface ListTaxonomiesRequestOrBuilder - extends +public interface ListTaxonomiesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ListTaxonomiesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the project to list the taxonomies of.
    * 
* - * - * string parent = 1 [(.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. Resource name of the project to list the taxonomies of.
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * The maximum number of items to return. Must be a value between 1 and 1000
    * inclusively. If not set, defaults to 50.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The pagination token of the next results page. If not set,
    * the first page is returned.
@@ -77,13 +47,10 @@ public interface ListTaxonomiesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The pagination token of the next results page. If not set,
    * the first page is returned.
@@ -92,35 +59,30 @@ public interface ListTaxonomiesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Supported field for filter is 'service' and value is 'dataplex'.
    * Eg: service=dataplex.
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Supported field for filter is 'service' and value is 'dataplex'.
    * Eg: service=dataplex.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponse.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponse.java similarity index 72% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponse.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponse.java index 24a5f013cbe6..a95acc83874a 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponse.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Response message for
  * [ListTaxonomies][google.cloud.datacatalog.v1.PolicyTagManager.ListTaxonomies].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ListTaxonomiesResponse}
  */
-public final class ListTaxonomiesResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListTaxonomiesResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ListTaxonomiesResponse)
     ListTaxonomiesResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListTaxonomiesResponse.newBuilder() to construct.
   private ListTaxonomiesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListTaxonomiesResponse() {
     taxonomies_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -45,32 +27,28 @@ private ListTaxonomiesResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListTaxonomiesResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ListTaxonomiesResponse.class,
-            com.google.cloud.datacatalog.v1.ListTaxonomiesResponse.Builder.class);
+            com.google.cloud.datacatalog.v1.ListTaxonomiesResponse.class, com.google.cloud.datacatalog.v1.ListTaxonomiesResponse.Builder.class);
   }
 
   public static final int TAXONOMIES_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List taxonomies_;
   /**
-   *
-   *
    * 
    * Taxonomies that the project contains.
    * 
@@ -82,8 +60,6 @@ public java.util.List getTaxonomiesLis return taxonomies_; } /** - * - * *
    * Taxonomies that the project contains.
    * 
@@ -91,13 +67,11 @@ public java.util.List getTaxonomiesLis * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTaxonomiesOrBuilderList() { return taxonomies_; } /** - * - * *
    * Taxonomies that the project contains.
    * 
@@ -109,8 +83,6 @@ public int getTaxonomiesCount() { return taxonomies_.size(); } /** - * - * *
    * Taxonomies that the project contains.
    * 
@@ -122,8 +94,6 @@ public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomies(int index) { return taxonomies_.get(index); } /** - * - * *
    * Taxonomies that the project contains.
    * 
@@ -131,24 +101,21 @@ public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomies(int index) { * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder(int index) { + public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder( + int index) { return taxonomies_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Pagination token of the next results page. Empty if there are no
    * more results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -157,30 +124,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; } } /** - * - * *
    * Pagination token of the next results page. 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,7 +156,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +167,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < taxonomies_.size(); i++) { output.writeMessage(1, taxonomies_.get(i)); } @@ -218,7 +185,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < taxonomies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, taxonomies_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, taxonomies_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -231,16 +199,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.datacatalog.v1.ListTaxonomiesResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ListTaxonomiesResponse other = - (com.google.cloud.datacatalog.v1.ListTaxonomiesResponse) obj; + com.google.cloud.datacatalog.v1.ListTaxonomiesResponse other = (com.google.cloud.datacatalog.v1.ListTaxonomiesResponse) obj; - if (!getTaxonomiesList().equals(other.getTaxonomiesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getTaxonomiesList() + .equals(other.getTaxonomiesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -264,104 +233,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ListTaxonomiesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ListTaxonomiesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListTaxonomiesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ListTaxonomiesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListTaxonomiesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ListTaxonomiesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.ListTaxonomiesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ListTaxonomiesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ListTaxonomiesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListTaxonomiesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ListTaxonomiesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ListTaxonomiesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListTaxonomiesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ListTaxonomiesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.ListTaxonomiesResponse prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.ListTaxonomiesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for
    * [ListTaxonomies][google.cloud.datacatalog.v1.PolicyTagManager.ListTaxonomies].
@@ -369,32 +332,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ListTaxonomiesResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ListTaxonomiesResponse)
       com.google.cloud.datacatalog.v1.ListTaxonomiesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ListTaxonomiesResponse.class,
-              com.google.cloud.datacatalog.v1.ListTaxonomiesResponse.Builder.class);
+              com.google.cloud.datacatalog.v1.ListTaxonomiesResponse.class, com.google.cloud.datacatalog.v1.ListTaxonomiesResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ListTaxonomiesResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -411,9 +375,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_descriptor;
     }
 
     @java.lang.Override
@@ -432,18 +396,14 @@ public com.google.cloud.datacatalog.v1.ListTaxonomiesResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ListTaxonomiesResponse buildPartial() {
-      com.google.cloud.datacatalog.v1.ListTaxonomiesResponse result =
-          new com.google.cloud.datacatalog.v1.ListTaxonomiesResponse(this);
+      com.google.cloud.datacatalog.v1.ListTaxonomiesResponse result = new com.google.cloud.datacatalog.v1.ListTaxonomiesResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.datacatalog.v1.ListTaxonomiesResponse result) {
+    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1.ListTaxonomiesResponse result) {
       if (taxonomiesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           taxonomies_ = java.util.Collections.unmodifiableList(taxonomies_);
@@ -466,39 +426,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ListTaxonomiesRespons
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ListTaxonomiesResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ListTaxonomiesResponse) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ListTaxonomiesResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -506,8 +465,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ListTaxonomiesResponse other) {
-      if (other == com.google.cloud.datacatalog.v1.ListTaxonomiesResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.ListTaxonomiesResponse.getDefaultInstance()) return this;
       if (taxonomiesBuilder_ == null) {
         if (!other.taxonomies_.isEmpty()) {
           if (taxonomies_.isEmpty()) {
@@ -526,10 +484,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.ListTaxonomiesResponse
             taxonomiesBuilder_ = null;
             taxonomies_ = other.taxonomies_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            taxonomiesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getTaxonomiesFieldBuilder()
-                    : null;
+            taxonomiesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getTaxonomiesFieldBuilder() : null;
           } else {
             taxonomiesBuilder_.addAllMessages(other.taxonomies_);
           }
@@ -566,32 +523,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.datacatalog.v1.Taxonomy m =
-                    input.readMessage(
-                        com.google.cloud.datacatalog.v1.Taxonomy.parser(), extensionRegistry);
-                if (taxonomiesBuilder_ == null) {
-                  ensureTaxonomiesIsMutable();
-                  taxonomies_.add(m);
-                } else {
-                  taxonomiesBuilder_.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.datacatalog.v1.Taxonomy m =
+                  input.readMessage(
+                      com.google.cloud.datacatalog.v1.Taxonomy.parser(),
+                      extensionRegistry);
+              if (taxonomiesBuilder_ == null) {
+                ensureTaxonomiesIsMutable();
+                taxonomies_.add(m);
+              } else {
+                taxonomiesBuilder_.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) {
@@ -601,29 +556,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List taxonomies_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureTaxonomiesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        taxonomies_ =
-            new java.util.ArrayList(taxonomies_);
+        taxonomies_ = new java.util.ArrayList(taxonomies_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.Taxonomy,
-            com.google.cloud.datacatalog.v1.Taxonomy.Builder,
-            com.google.cloud.datacatalog.v1.TaxonomyOrBuilder>
-        taxonomiesBuilder_;
+        com.google.cloud.datacatalog.v1.Taxonomy, com.google.cloud.datacatalog.v1.Taxonomy.Builder, com.google.cloud.datacatalog.v1.TaxonomyOrBuilder> taxonomiesBuilder_;
 
     /**
-     *
-     *
      * 
      * Taxonomies that the project contains.
      * 
@@ -638,8 +585,6 @@ public java.util.List getTaxonomiesLis } } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -654,8 +599,6 @@ public int getTaxonomiesCount() { } } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -670,15 +613,14 @@ public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomies(int index) { } } /** - * - * *
      * Taxonomies that the project contains.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - public Builder setTaxonomies(int index, com.google.cloud.datacatalog.v1.Taxonomy value) { + public Builder setTaxonomies( + int index, com.google.cloud.datacatalog.v1.Taxonomy value) { if (taxonomiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -692,8 +634,6 @@ public Builder setTaxonomies(int index, com.google.cloud.datacatalog.v1.Taxonomy return this; } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -712,8 +652,6 @@ public Builder setTaxonomies( return this; } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -734,15 +672,14 @@ public Builder addTaxonomies(com.google.cloud.datacatalog.v1.Taxonomy value) { return this; } /** - * - * *
      * Taxonomies that the project contains.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - public Builder addTaxonomies(int index, com.google.cloud.datacatalog.v1.Taxonomy value) { + public Builder addTaxonomies( + int index, com.google.cloud.datacatalog.v1.Taxonomy value) { if (taxonomiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -756,15 +693,14 @@ public Builder addTaxonomies(int index, com.google.cloud.datacatalog.v1.Taxonomy return this; } /** - * - * *
      * Taxonomies that the project contains.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - public Builder addTaxonomies(com.google.cloud.datacatalog.v1.Taxonomy.Builder builderForValue) { + public Builder addTaxonomies( + com.google.cloud.datacatalog.v1.Taxonomy.Builder builderForValue) { if (taxonomiesBuilder_ == null) { ensureTaxonomiesIsMutable(); taxonomies_.add(builderForValue.build()); @@ -775,8 +711,6 @@ public Builder addTaxonomies(com.google.cloud.datacatalog.v1.Taxonomy.Builder bu return this; } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -795,8 +729,6 @@ public Builder addTaxonomies( return this; } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -807,7 +739,8 @@ public Builder addAllTaxonomies( java.lang.Iterable values) { if (taxonomiesBuilder_ == null) { ensureTaxonomiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taxonomies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, taxonomies_); onChanged(); } else { taxonomiesBuilder_.addAllMessages(values); @@ -815,8 +748,6 @@ public Builder addAllTaxonomies( return this; } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -834,8 +765,6 @@ public Builder clearTaxonomies() { return this; } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -853,44 +782,39 @@ public Builder removeTaxonomies(int index) { return this; } /** - * - * *
      * Taxonomies that the project contains.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - public com.google.cloud.datacatalog.v1.Taxonomy.Builder getTaxonomiesBuilder(int index) { + public com.google.cloud.datacatalog.v1.Taxonomy.Builder getTaxonomiesBuilder( + int index) { return getTaxonomiesFieldBuilder().getBuilder(index); } /** - * - * *
      * Taxonomies that the project contains.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder(int index) { + public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder( + int index) { if (taxonomiesBuilder_ == null) { - return taxonomies_.get(index); - } else { + return taxonomies_.get(index); } else { return taxonomiesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Taxonomies that the project contains.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - public java.util.List - getTaxonomiesOrBuilderList() { + public java.util.List + getTaxonomiesOrBuilderList() { if (taxonomiesBuilder_ != null) { return taxonomiesBuilder_.getMessageOrBuilderList(); } else { @@ -898,8 +822,6 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder( } } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -907,48 +829,42 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder( * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ public com.google.cloud.datacatalog.v1.Taxonomy.Builder addTaxonomiesBuilder() { - return getTaxonomiesFieldBuilder() - .addBuilder(com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance()); + return getTaxonomiesFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance()); } /** - * - * *
      * Taxonomies that the project contains.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - public com.google.cloud.datacatalog.v1.Taxonomy.Builder addTaxonomiesBuilder(int index) { - return getTaxonomiesFieldBuilder() - .addBuilder(index, com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance()); + public com.google.cloud.datacatalog.v1.Taxonomy.Builder addTaxonomiesBuilder( + int index) { + return getTaxonomiesFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance()); } /** - * - * *
      * Taxonomies that the project contains.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - public java.util.List - getTaxonomiesBuilderList() { + public java.util.List + getTaxonomiesBuilderList() { return getTaxonomiesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Taxonomy, - com.google.cloud.datacatalog.v1.Taxonomy.Builder, - com.google.cloud.datacatalog.v1.TaxonomyOrBuilder> + com.google.cloud.datacatalog.v1.Taxonomy, com.google.cloud.datacatalog.v1.Taxonomy.Builder, com.google.cloud.datacatalog.v1.TaxonomyOrBuilder> getTaxonomiesFieldBuilder() { if (taxonomiesBuilder_ == null) { - taxonomiesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Taxonomy, - com.google.cloud.datacatalog.v1.Taxonomy.Builder, - com.google.cloud.datacatalog.v1.TaxonomyOrBuilder>( - taxonomies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + taxonomiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.Taxonomy, com.google.cloud.datacatalog.v1.Taxonomy.Builder, com.google.cloud.datacatalog.v1.TaxonomyOrBuilder>( + taxonomies_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); taxonomies_ = null; } return taxonomiesBuilder_; @@ -956,21 +872,19 @@ public com.google.cloud.datacatalog.v1.Taxonomy.Builder addTaxonomiesBuilder(int private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Pagination token of the next results page. 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; @@ -979,22 +893,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Pagination token of the next results page. 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 { @@ -1002,37 +915,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Pagination token of the next results page. 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; } /** - * - * *
      * Pagination token of the next results page. Empty if there are no
      * more results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1042,31 +948,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Pagination token of the next results page. 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); } @@ -1076,12 +978,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ListTaxonomiesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ListTaxonomiesResponse) private static final com.google.cloud.datacatalog.v1.ListTaxonomiesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ListTaxonomiesResponse(); } @@ -1090,27 +992,27 @@ public static com.google.cloud.datacatalog.v1.ListTaxonomiesResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTaxonomiesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTaxonomiesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1125,4 +1027,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ListTaxonomiesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponseOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponseOrBuilder.java similarity index 67% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponseOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponseOrBuilder.java index ff8be78bfc8a..204cf994888d 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponseOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; -public interface ListTaxonomiesResponseOrBuilder - extends +public interface ListTaxonomiesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ListTaxonomiesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Taxonomies that the project contains.
    * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - java.util.List getTaxonomiesList(); + java.util.List + getTaxonomiesList(); /** - * - * *
    * Taxonomies that the project contains.
    * 
@@ -44,8 +25,6 @@ public interface ListTaxonomiesResponseOrBuilder */ com.google.cloud.datacatalog.v1.Taxonomy getTaxonomies(int index); /** - * - * *
    * Taxonomies that the project contains.
    * 
@@ -54,51 +33,43 @@ public interface ListTaxonomiesResponseOrBuilder */ int getTaxonomiesCount(); /** - * - * *
    * Taxonomies that the project contains.
    * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - java.util.List + java.util.List getTaxonomiesOrBuilderList(); /** - * - * *
    * Taxonomies that the project contains.
    * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder(int index); + com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder( + int index); /** - * - * *
    * Pagination token of the next results page. Empty if there are no
    * more results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Pagination token of the next results page. 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LocationName.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LocationName.java similarity index 100% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LocationName.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LocationName.java diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpec.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpec.java similarity index 72% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpec.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpec.java index b2d499928dc9..676bd3f674d1 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpec.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpec.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Specification that applies to
  * entries that are part `LOOKER` system
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.LookerSystemSpec}
  */
-public final class LookerSystemSpec extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class LookerSystemSpec extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.LookerSystemSpec)
     LookerSystemSpecOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use LookerSystemSpec.newBuilder() to construct.
   private LookerSystemSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private LookerSystemSpec() {
     parentInstanceId_ = "";
     parentInstanceDisplayName_ = "";
@@ -50,39 +32,34 @@ private LookerSystemSpec() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new LookerSystemSpec();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.LookerSystemSpec.class,
-            com.google.cloud.datacatalog.v1.LookerSystemSpec.Builder.class);
+            com.google.cloud.datacatalog.v1.LookerSystemSpec.class, com.google.cloud.datacatalog.v1.LookerSystemSpec.Builder.class);
   }
 
   public static final int PARENT_INSTANCE_ID_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parentInstanceId_ = "";
   /**
-   *
-   *
    * 
    * ID of the parent Looker Instance. Empty if it does not exist.
    * Example value: `someinstance.looker.com`
    * 
* * string parent_instance_id = 1; - * * @return The parentInstanceId. */ @java.lang.Override @@ -91,30 +68,30 @@ public java.lang.String getParentInstanceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentInstanceId_ = s; return s; } } /** - * - * *
    * ID of the parent Looker Instance. Empty if it does not exist.
    * Example value: `someinstance.looker.com`
    * 
* * string parent_instance_id = 1; - * * @return The bytes for parentInstanceId. */ @java.lang.Override - public com.google.protobuf.ByteString getParentInstanceIdBytes() { + public com.google.protobuf.ByteString + getParentInstanceIdBytes() { java.lang.Object ref = parentInstanceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parentInstanceId_ = b; return b; } else { @@ -123,18 +100,14 @@ public com.google.protobuf.ByteString getParentInstanceIdBytes() { } public static final int PARENT_INSTANCE_DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object parentInstanceDisplayName_ = ""; /** - * - * *
    * Name of the parent Looker Instance. Empty if it does not exist.
    * 
* * string parent_instance_display_name = 2; - * * @return The parentInstanceDisplayName. */ @java.lang.Override @@ -143,29 +116,29 @@ public java.lang.String getParentInstanceDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentInstanceDisplayName_ = s; return s; } } /** - * - * *
    * Name of the parent Looker Instance. Empty if it does not exist.
    * 
* * string parent_instance_display_name = 2; - * * @return The bytes for parentInstanceDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString getParentInstanceDisplayNameBytes() { + public com.google.protobuf.ByteString + getParentInstanceDisplayNameBytes() { java.lang.Object ref = parentInstanceDisplayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parentInstanceDisplayName_ = b; return b; } else { @@ -174,18 +147,14 @@ public com.google.protobuf.ByteString getParentInstanceDisplayNameBytes() { } public static final int PARENT_MODEL_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object parentModelId_ = ""; /** - * - * *
    * ID of the parent Model. Empty if it does not exist.
    * 
* * string parent_model_id = 3; - * * @return The parentModelId. */ @java.lang.Override @@ -194,29 +163,29 @@ public java.lang.String getParentModelId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentModelId_ = s; return s; } } /** - * - * *
    * ID of the parent Model. Empty if it does not exist.
    * 
* * string parent_model_id = 3; - * * @return The bytes for parentModelId. */ @java.lang.Override - public com.google.protobuf.ByteString getParentModelIdBytes() { + public com.google.protobuf.ByteString + getParentModelIdBytes() { java.lang.Object ref = parentModelId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parentModelId_ = b; return b; } else { @@ -225,18 +194,14 @@ public com.google.protobuf.ByteString getParentModelIdBytes() { } public static final int PARENT_MODEL_DISPLAY_NAME_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object parentModelDisplayName_ = ""; /** - * - * *
    * Name of the parent Model. Empty if it does not exist.
    * 
* * string parent_model_display_name = 4; - * * @return The parentModelDisplayName. */ @java.lang.Override @@ -245,29 +210,29 @@ public java.lang.String getParentModelDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentModelDisplayName_ = s; return s; } } /** - * - * *
    * Name of the parent Model. Empty if it does not exist.
    * 
* * string parent_model_display_name = 4; - * * @return The bytes for parentModelDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString getParentModelDisplayNameBytes() { + public com.google.protobuf.ByteString + getParentModelDisplayNameBytes() { java.lang.Object ref = parentModelDisplayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parentModelDisplayName_ = b; return b; } else { @@ -276,18 +241,14 @@ public com.google.protobuf.ByteString getParentModelDisplayNameBytes() { } public static final int PARENT_VIEW_ID_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object parentViewId_ = ""; /** - * - * *
    * ID of the parent View. Empty if it does not exist.
    * 
* * string parent_view_id = 5; - * * @return The parentViewId. */ @java.lang.Override @@ -296,29 +257,29 @@ public java.lang.String getParentViewId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentViewId_ = s; return s; } } /** - * - * *
    * ID of the parent View. Empty if it does not exist.
    * 
* * string parent_view_id = 5; - * * @return The bytes for parentViewId. */ @java.lang.Override - public com.google.protobuf.ByteString getParentViewIdBytes() { + public com.google.protobuf.ByteString + getParentViewIdBytes() { java.lang.Object ref = parentViewId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parentViewId_ = b; return b; } else { @@ -327,18 +288,14 @@ public com.google.protobuf.ByteString getParentViewIdBytes() { } public static final int PARENT_VIEW_DISPLAY_NAME_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object parentViewDisplayName_ = ""; /** - * - * *
    * Name of the parent View. Empty if it does not exist.
    * 
* * string parent_view_display_name = 6; - * * @return The parentViewDisplayName. */ @java.lang.Override @@ -347,29 +304,29 @@ public java.lang.String getParentViewDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentViewDisplayName_ = s; return s; } } /** - * - * *
    * Name of the parent View. Empty if it does not exist.
    * 
* * string parent_view_display_name = 6; - * * @return The bytes for parentViewDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString getParentViewDisplayNameBytes() { + public com.google.protobuf.ByteString + getParentViewDisplayNameBytes() { java.lang.Object ref = parentViewDisplayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parentViewDisplayName_ = b; return b; } else { @@ -378,7 +335,6 @@ public com.google.protobuf.ByteString getParentViewDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -390,7 +346,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parentInstanceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parentInstanceId_); } @@ -422,8 +379,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parentInstanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parentInstanceDisplayName_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(2, parentInstanceDisplayName_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, parentInstanceDisplayName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parentModelId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, parentModelId_); @@ -445,20 +401,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.datacatalog.v1.LookerSystemSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.LookerSystemSpec other = - (com.google.cloud.datacatalog.v1.LookerSystemSpec) obj; - - if (!getParentInstanceId().equals(other.getParentInstanceId())) return false; - if (!getParentInstanceDisplayName().equals(other.getParentInstanceDisplayName())) return false; - if (!getParentModelId().equals(other.getParentModelId())) return false; - if (!getParentModelDisplayName().equals(other.getParentModelDisplayName())) return false; - if (!getParentViewId().equals(other.getParentViewId())) return false; - if (!getParentViewDisplayName().equals(other.getParentViewDisplayName())) return false; + com.google.cloud.datacatalog.v1.LookerSystemSpec other = (com.google.cloud.datacatalog.v1.LookerSystemSpec) obj; + + if (!getParentInstanceId() + .equals(other.getParentInstanceId())) return false; + if (!getParentInstanceDisplayName() + .equals(other.getParentInstanceDisplayName())) return false; + if (!getParentModelId() + .equals(other.getParentModelId())) return false; + if (!getParentModelDisplayName() + .equals(other.getParentModelDisplayName())) return false; + if (!getParentViewId() + .equals(other.getParentViewId())) return false; + if (!getParentViewDisplayName() + .equals(other.getParentViewDisplayName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -487,104 +448,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.LookerSystemSpec parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.LookerSystemSpec parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.LookerSystemSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.LookerSystemSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.LookerSystemSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.LookerSystemSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.LookerSystemSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.LookerSystemSpec parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.LookerSystemSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.LookerSystemSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.LookerSystemSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.LookerSystemSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.LookerSystemSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.LookerSystemSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.LookerSystemSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.LookerSystemSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specification that applies to
    * entries that are part `LOOKER` system
@@ -593,32 +549,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.LookerSystemSpec}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.LookerSystemSpec)
       com.google.cloud.datacatalog.v1.LookerSystemSpecOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.LookerSystemSpec.class,
-              com.google.cloud.datacatalog.v1.LookerSystemSpec.Builder.class);
+              com.google.cloud.datacatalog.v1.LookerSystemSpec.class, com.google.cloud.datacatalog.v1.LookerSystemSpec.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.LookerSystemSpec.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -633,9 +590,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_descriptor;
     }
 
     @java.lang.Override
@@ -654,11 +611,8 @@ public com.google.cloud.datacatalog.v1.LookerSystemSpec build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.LookerSystemSpec buildPartial() {
-      com.google.cloud.datacatalog.v1.LookerSystemSpec result =
-          new com.google.cloud.datacatalog.v1.LookerSystemSpec(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.LookerSystemSpec result = new com.google.cloud.datacatalog.v1.LookerSystemSpec(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -689,39 +643,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.LookerSystemSpec 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.datacatalog.v1.LookerSystemSpec) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.LookerSystemSpec) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.LookerSystemSpec)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -729,8 +682,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.LookerSystemSpec other) {
-      if (other == com.google.cloud.datacatalog.v1.LookerSystemSpec.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.LookerSystemSpec.getDefaultInstance()) return this;
       if (!other.getParentInstanceId().isEmpty()) {
         parentInstanceId_ = other.parentInstanceId_;
         bitField0_ |= 0x00000001;
@@ -787,49 +739,42 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parentInstanceId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                parentInstanceDisplayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                parentModelId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                parentModelDisplayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                parentViewId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 50:
-              {
-                parentViewDisplayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parentInstanceId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              parentInstanceDisplayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              parentModelId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              parentModelDisplayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              parentViewId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 50: {
+              parentViewDisplayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 50
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -839,26 +784,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parentInstanceId_ = "";
     /**
-     *
-     *
      * 
      * ID of the parent Looker Instance. Empty if it does not exist.
      * Example value: `someinstance.looker.com`
      * 
* * string parent_instance_id = 1; - * * @return The parentInstanceId. */ public java.lang.String getParentInstanceId() { java.lang.Object ref = parentInstanceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentInstanceId_ = s; return s; @@ -867,22 +809,21 @@ public java.lang.String getParentInstanceId() { } } /** - * - * *
      * ID of the parent Looker Instance. Empty if it does not exist.
      * Example value: `someinstance.looker.com`
      * 
* * string parent_instance_id = 1; - * * @return The bytes for parentInstanceId. */ - public com.google.protobuf.ByteString getParentInstanceIdBytes() { + public com.google.protobuf.ByteString + getParentInstanceIdBytes() { java.lang.Object ref = parentInstanceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parentInstanceId_ = b; return b; } else { @@ -890,37 +831,30 @@ public com.google.protobuf.ByteString getParentInstanceIdBytes() { } } /** - * - * *
      * ID of the parent Looker Instance. Empty if it does not exist.
      * Example value: `someinstance.looker.com`
      * 
* * string parent_instance_id = 1; - * * @param value The parentInstanceId to set. * @return This builder for chaining. */ - public Builder setParentInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parentInstanceId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * ID of the parent Looker Instance. Empty if it does not exist.
      * Example value: `someinstance.looker.com`
      * 
* * string parent_instance_id = 1; - * * @return This builder for chaining. */ public Builder clearParentInstanceId() { @@ -930,22 +864,18 @@ public Builder clearParentInstanceId() { return this; } /** - * - * *
      * ID of the parent Looker Instance. Empty if it does not exist.
      * Example value: `someinstance.looker.com`
      * 
* * string parent_instance_id = 1; - * * @param value The bytes for parentInstanceId to set. * @return This builder for chaining. */ - public Builder setParentInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parentInstanceId_ = value; bitField0_ |= 0x00000001; @@ -955,20 +885,18 @@ public Builder setParentInstanceIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object parentInstanceDisplayName_ = ""; /** - * - * *
      * Name of the parent Looker Instance. Empty if it does not exist.
      * 
* * string parent_instance_display_name = 2; - * * @return The parentInstanceDisplayName. */ public java.lang.String getParentInstanceDisplayName() { java.lang.Object ref = parentInstanceDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentInstanceDisplayName_ = s; return s; @@ -977,21 +905,20 @@ public java.lang.String getParentInstanceDisplayName() { } } /** - * - * *
      * Name of the parent Looker Instance. Empty if it does not exist.
      * 
* * string parent_instance_display_name = 2; - * * @return The bytes for parentInstanceDisplayName. */ - public com.google.protobuf.ByteString getParentInstanceDisplayNameBytes() { + public com.google.protobuf.ByteString + getParentInstanceDisplayNameBytes() { java.lang.Object ref = parentInstanceDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parentInstanceDisplayName_ = b; return b; } else { @@ -999,35 +926,28 @@ public com.google.protobuf.ByteString getParentInstanceDisplayNameBytes() { } } /** - * - * *
      * Name of the parent Looker Instance. Empty if it does not exist.
      * 
* * string parent_instance_display_name = 2; - * * @param value The parentInstanceDisplayName to set. * @return This builder for chaining. */ - public Builder setParentInstanceDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentInstanceDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parentInstanceDisplayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Name of the parent Looker Instance. Empty if it does not exist.
      * 
* * string parent_instance_display_name = 2; - * * @return This builder for chaining. */ public Builder clearParentInstanceDisplayName() { @@ -1037,21 +957,17 @@ public Builder clearParentInstanceDisplayName() { return this; } /** - * - * *
      * Name of the parent Looker Instance. Empty if it does not exist.
      * 
* * string parent_instance_display_name = 2; - * * @param value The bytes for parentInstanceDisplayName to set. * @return This builder for chaining. */ - public Builder setParentInstanceDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentInstanceDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parentInstanceDisplayName_ = value; bitField0_ |= 0x00000002; @@ -1061,20 +977,18 @@ public Builder setParentInstanceDisplayNameBytes(com.google.protobuf.ByteString private java.lang.Object parentModelId_ = ""; /** - * - * *
      * ID of the parent Model. Empty if it does not exist.
      * 
* * string parent_model_id = 3; - * * @return The parentModelId. */ public java.lang.String getParentModelId() { java.lang.Object ref = parentModelId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentModelId_ = s; return s; @@ -1083,21 +997,20 @@ public java.lang.String getParentModelId() { } } /** - * - * *
      * ID of the parent Model. Empty if it does not exist.
      * 
* * string parent_model_id = 3; - * * @return The bytes for parentModelId. */ - public com.google.protobuf.ByteString getParentModelIdBytes() { + public com.google.protobuf.ByteString + getParentModelIdBytes() { java.lang.Object ref = parentModelId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parentModelId_ = b; return b; } else { @@ -1105,35 +1018,28 @@ public com.google.protobuf.ByteString getParentModelIdBytes() { } } /** - * - * *
      * ID of the parent Model. Empty if it does not exist.
      * 
* * string parent_model_id = 3; - * * @param value The parentModelId to set. * @return This builder for chaining. */ - public Builder setParentModelId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentModelId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parentModelId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * ID of the parent Model. Empty if it does not exist.
      * 
* * string parent_model_id = 3; - * * @return This builder for chaining. */ public Builder clearParentModelId() { @@ -1143,21 +1049,17 @@ public Builder clearParentModelId() { return this; } /** - * - * *
      * ID of the parent Model. Empty if it does not exist.
      * 
* * string parent_model_id = 3; - * * @param value The bytes for parentModelId to set. * @return This builder for chaining. */ - public Builder setParentModelIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentModelIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parentModelId_ = value; bitField0_ |= 0x00000004; @@ -1167,20 +1069,18 @@ public Builder setParentModelIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object parentModelDisplayName_ = ""; /** - * - * *
      * Name of the parent Model. Empty if it does not exist.
      * 
* * string parent_model_display_name = 4; - * * @return The parentModelDisplayName. */ public java.lang.String getParentModelDisplayName() { java.lang.Object ref = parentModelDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentModelDisplayName_ = s; return s; @@ -1189,21 +1089,20 @@ public java.lang.String getParentModelDisplayName() { } } /** - * - * *
      * Name of the parent Model. Empty if it does not exist.
      * 
* * string parent_model_display_name = 4; - * * @return The bytes for parentModelDisplayName. */ - public com.google.protobuf.ByteString getParentModelDisplayNameBytes() { + public com.google.protobuf.ByteString + getParentModelDisplayNameBytes() { java.lang.Object ref = parentModelDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parentModelDisplayName_ = b; return b; } else { @@ -1211,35 +1110,28 @@ public com.google.protobuf.ByteString getParentModelDisplayNameBytes() { } } /** - * - * *
      * Name of the parent Model. Empty if it does not exist.
      * 
* * string parent_model_display_name = 4; - * * @param value The parentModelDisplayName to set. * @return This builder for chaining. */ - public Builder setParentModelDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentModelDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parentModelDisplayName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Name of the parent Model. Empty if it does not exist.
      * 
* * string parent_model_display_name = 4; - * * @return This builder for chaining. */ public Builder clearParentModelDisplayName() { @@ -1249,21 +1141,17 @@ public Builder clearParentModelDisplayName() { return this; } /** - * - * *
      * Name of the parent Model. Empty if it does not exist.
      * 
* * string parent_model_display_name = 4; - * * @param value The bytes for parentModelDisplayName to set. * @return This builder for chaining. */ - public Builder setParentModelDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentModelDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parentModelDisplayName_ = value; bitField0_ |= 0x00000008; @@ -1273,20 +1161,18 @@ public Builder setParentModelDisplayNameBytes(com.google.protobuf.ByteString val private java.lang.Object parentViewId_ = ""; /** - * - * *
      * ID of the parent View. Empty if it does not exist.
      * 
* * string parent_view_id = 5; - * * @return The parentViewId. */ public java.lang.String getParentViewId() { java.lang.Object ref = parentViewId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentViewId_ = s; return s; @@ -1295,21 +1181,20 @@ public java.lang.String getParentViewId() { } } /** - * - * *
      * ID of the parent View. Empty if it does not exist.
      * 
* * string parent_view_id = 5; - * * @return The bytes for parentViewId. */ - public com.google.protobuf.ByteString getParentViewIdBytes() { + public com.google.protobuf.ByteString + getParentViewIdBytes() { java.lang.Object ref = parentViewId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parentViewId_ = b; return b; } else { @@ -1317,35 +1202,28 @@ public com.google.protobuf.ByteString getParentViewIdBytes() { } } /** - * - * *
      * ID of the parent View. Empty if it does not exist.
      * 
* * string parent_view_id = 5; - * * @param value The parentViewId to set. * @return This builder for chaining. */ - public Builder setParentViewId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentViewId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parentViewId_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * ID of the parent View. Empty if it does not exist.
      * 
* * string parent_view_id = 5; - * * @return This builder for chaining. */ public Builder clearParentViewId() { @@ -1355,21 +1233,17 @@ public Builder clearParentViewId() { return this; } /** - * - * *
      * ID of the parent View. Empty if it does not exist.
      * 
* * string parent_view_id = 5; - * * @param value The bytes for parentViewId to set. * @return This builder for chaining. */ - public Builder setParentViewIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentViewIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parentViewId_ = value; bitField0_ |= 0x00000010; @@ -1379,20 +1253,18 @@ public Builder setParentViewIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object parentViewDisplayName_ = ""; /** - * - * *
      * Name of the parent View. Empty if it does not exist.
      * 
* * string parent_view_display_name = 6; - * * @return The parentViewDisplayName. */ public java.lang.String getParentViewDisplayName() { java.lang.Object ref = parentViewDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentViewDisplayName_ = s; return s; @@ -1401,21 +1273,20 @@ public java.lang.String getParentViewDisplayName() { } } /** - * - * *
      * Name of the parent View. Empty if it does not exist.
      * 
* * string parent_view_display_name = 6; - * * @return The bytes for parentViewDisplayName. */ - public com.google.protobuf.ByteString getParentViewDisplayNameBytes() { + public com.google.protobuf.ByteString + getParentViewDisplayNameBytes() { java.lang.Object ref = parentViewDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parentViewDisplayName_ = b; return b; } else { @@ -1423,35 +1294,28 @@ public com.google.protobuf.ByteString getParentViewDisplayNameBytes() { } } /** - * - * *
      * Name of the parent View. Empty if it does not exist.
      * 
* * string parent_view_display_name = 6; - * * @param value The parentViewDisplayName to set. * @return This builder for chaining. */ - public Builder setParentViewDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentViewDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parentViewDisplayName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Name of the parent View. Empty if it does not exist.
      * 
* * string parent_view_display_name = 6; - * * @return This builder for chaining. */ public Builder clearParentViewDisplayName() { @@ -1461,30 +1325,26 @@ public Builder clearParentViewDisplayName() { return this; } /** - * - * *
      * Name of the parent View. Empty if it does not exist.
      * 
* * string parent_view_display_name = 6; - * * @param value The bytes for parentViewDisplayName to set. * @return This builder for chaining. */ - public Builder setParentViewDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentViewDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parentViewDisplayName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1494,12 +1354,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.LookerSystemSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.LookerSystemSpec) private static final com.google.cloud.datacatalog.v1.LookerSystemSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.LookerSystemSpec(); } @@ -1508,27 +1368,27 @@ public static com.google.cloud.datacatalog.v1.LookerSystemSpec getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LookerSystemSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LookerSystemSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1543,4 +1403,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.LookerSystemSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpecOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpecOrBuilder.java similarity index 71% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpecOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpecOrBuilder.java index 733779f124d7..dd194476deff 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpecOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpecOrBuilder.java @@ -1,177 +1,131 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface LookerSystemSpecOrBuilder - extends +public interface LookerSystemSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.LookerSystemSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * ID of the parent Looker Instance. Empty if it does not exist.
    * Example value: `someinstance.looker.com`
    * 
* * string parent_instance_id = 1; - * * @return The parentInstanceId. */ java.lang.String getParentInstanceId(); /** - * - * *
    * ID of the parent Looker Instance. Empty if it does not exist.
    * Example value: `someinstance.looker.com`
    * 
* * string parent_instance_id = 1; - * * @return The bytes for parentInstanceId. */ - com.google.protobuf.ByteString getParentInstanceIdBytes(); + com.google.protobuf.ByteString + getParentInstanceIdBytes(); /** - * - * *
    * Name of the parent Looker Instance. Empty if it does not exist.
    * 
* * string parent_instance_display_name = 2; - * * @return The parentInstanceDisplayName. */ java.lang.String getParentInstanceDisplayName(); /** - * - * *
    * Name of the parent Looker Instance. Empty if it does not exist.
    * 
* * string parent_instance_display_name = 2; - * * @return The bytes for parentInstanceDisplayName. */ - com.google.protobuf.ByteString getParentInstanceDisplayNameBytes(); + com.google.protobuf.ByteString + getParentInstanceDisplayNameBytes(); /** - * - * *
    * ID of the parent Model. Empty if it does not exist.
    * 
* * string parent_model_id = 3; - * * @return The parentModelId. */ java.lang.String getParentModelId(); /** - * - * *
    * ID of the parent Model. Empty if it does not exist.
    * 
* * string parent_model_id = 3; - * * @return The bytes for parentModelId. */ - com.google.protobuf.ByteString getParentModelIdBytes(); + com.google.protobuf.ByteString + getParentModelIdBytes(); /** - * - * *
    * Name of the parent Model. Empty if it does not exist.
    * 
* * string parent_model_display_name = 4; - * * @return The parentModelDisplayName. */ java.lang.String getParentModelDisplayName(); /** - * - * *
    * Name of the parent Model. Empty if it does not exist.
    * 
* * string parent_model_display_name = 4; - * * @return The bytes for parentModelDisplayName. */ - com.google.protobuf.ByteString getParentModelDisplayNameBytes(); + com.google.protobuf.ByteString + getParentModelDisplayNameBytes(); /** - * - * *
    * ID of the parent View. Empty if it does not exist.
    * 
* * string parent_view_id = 5; - * * @return The parentViewId. */ java.lang.String getParentViewId(); /** - * - * *
    * ID of the parent View. Empty if it does not exist.
    * 
* * string parent_view_id = 5; - * * @return The bytes for parentViewId. */ - com.google.protobuf.ByteString getParentViewIdBytes(); + com.google.protobuf.ByteString + getParentViewIdBytes(); /** - * - * *
    * Name of the parent View. Empty if it does not exist.
    * 
* * string parent_view_display_name = 6; - * * @return The parentViewDisplayName. */ java.lang.String getParentViewDisplayName(); /** - * - * *
    * Name of the parent View. Empty if it does not exist.
    * 
* * string parent_view_display_name = 6; - * * @return The bytes for parentViewDisplayName. */ - com.google.protobuf.ByteString getParentViewDisplayNameBytes(); + com.google.protobuf.ByteString + getParentViewDisplayNameBytes(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequest.java similarity index 77% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequest.java index 431d50ee8f57..ce3c1a70d13d 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [LookupEntry][google.cloud.datacatalog.v1.DataCatalog.LookupEntry].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.LookupEntryRequest}
  */
-public final class LookupEntryRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class LookupEntryRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.LookupEntryRequest)
     LookupEntryRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use LookupEntryRequest.newBuilder() to construct.
   private LookupEntryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private LookupEntryRequest() {
     project_ = "";
     location_ = "";
@@ -45,40 +27,35 @@ private LookupEntryRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new LookupEntryRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.LookupEntryRequest.class,
-            com.google.cloud.datacatalog.v1.LookupEntryRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.LookupEntryRequest.class, com.google.cloud.datacatalog.v1.LookupEntryRequest.Builder.class);
   }
 
   private int targetNameCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object targetName_;
-
   public enum TargetNameCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     LINKED_RESOURCE(1),
     SQL_RESOURCE(3),
     FULLY_QUALIFIED_NAME(5),
     TARGETNAME_NOT_SET(0);
     private final int value;
-
     private TargetNameCase(int value) {
       this.value = value;
     }
@@ -94,32 +71,26 @@ public static TargetNameCase valueOf(int value) {
 
     public static TargetNameCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return LINKED_RESOURCE;
-        case 3:
-          return SQL_RESOURCE;
-        case 5:
-          return FULLY_QUALIFIED_NAME;
-        case 0:
-          return TARGETNAME_NOT_SET;
-        default:
-          return null;
+        case 1: return LINKED_RESOURCE;
+        case 3: return SQL_RESOURCE;
+        case 5: return FULLY_QUALIFIED_NAME;
+        case 0: return TARGETNAME_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TargetNameCase getTargetNameCase() {
-    return TargetNameCase.forNumber(targetNameCase_);
+  public TargetNameCase
+  getTargetNameCase() {
+    return TargetNameCase.forNumber(
+        targetNameCase_);
   }
 
   public static final int LINKED_RESOURCE_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * The full name of the Google Cloud Platform resource the Data Catalog
    * entry represents. For more information, see [Full Resource Name]
@@ -132,15 +103,12 @@ public TargetNameCase getTargetNameCase() {
    * 
* * string linked_resource = 1; - * * @return Whether the linkedResource field is set. */ public boolean hasLinkedResource() { return targetNameCase_ == 1; } /** - * - * *
    * The full name of the Google Cloud Platform resource the Data Catalog
    * entry represents. For more information, see [Full Resource Name]
@@ -153,7 +121,6 @@ public boolean hasLinkedResource() {
    * 
* * string linked_resource = 1; - * * @return The linkedResource. */ public java.lang.String getLinkedResource() { @@ -164,7 +131,8 @@ public java.lang.String getLinkedResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (targetNameCase_ == 1) { targetName_ = s; @@ -173,8 +141,6 @@ public java.lang.String getLinkedResource() { } } /** - * - * *
    * The full name of the Google Cloud Platform resource the Data Catalog
    * entry represents. For more information, see [Full Resource Name]
@@ -187,17 +153,18 @@ public java.lang.String getLinkedResource() {
    * 
* * string linked_resource = 1; - * * @return The bytes for linkedResource. */ - public com.google.protobuf.ByteString getLinkedResourceBytes() { + public com.google.protobuf.ByteString + getLinkedResourceBytes() { java.lang.Object ref = ""; if (targetNameCase_ == 1) { ref = targetName_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (targetNameCase_ == 1) { targetName_ = b; } @@ -209,8 +176,6 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { public static final int SQL_RESOURCE_FIELD_NUMBER = 3; /** - * - * *
    * The SQL name of the entry. SQL names are case-sensitive.
    *
@@ -228,15 +193,12 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() {
    * 
* * string sql_resource = 3; - * * @return Whether the sqlResource field is set. */ public boolean hasSqlResource() { return targetNameCase_ == 3; } /** - * - * *
    * The SQL name of the entry. SQL names are case-sensitive.
    *
@@ -254,7 +216,6 @@ public boolean hasSqlResource() {
    * 
* * string sql_resource = 3; - * * @return The sqlResource. */ public java.lang.String getSqlResource() { @@ -265,7 +226,8 @@ public java.lang.String getSqlResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (targetNameCase_ == 3) { targetName_ = s; @@ -274,8 +236,6 @@ public java.lang.String getSqlResource() { } } /** - * - * *
    * The SQL name of the entry. SQL names are case-sensitive.
    *
@@ -293,17 +253,18 @@ public java.lang.String getSqlResource() {
    * 
* * string sql_resource = 3; - * * @return The bytes for sqlResource. */ - public com.google.protobuf.ByteString getSqlResourceBytes() { + public com.google.protobuf.ByteString + getSqlResourceBytes() { java.lang.Object ref = ""; if (targetNameCase_ == 3) { ref = targetName_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (targetNameCase_ == 3) { targetName_ = b; } @@ -315,8 +276,6 @@ public com.google.protobuf.ByteString getSqlResourceBytes() { public static final int FULLY_QUALIFIED_NAME_FIELD_NUMBER = 5; /** - * - * *
    * [Fully Qualified Name
    * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -338,15 +297,12 @@ public com.google.protobuf.ByteString getSqlResourceBytes() {
    * 
* * string fully_qualified_name = 5; - * * @return Whether the fullyQualifiedName field is set. */ public boolean hasFullyQualifiedName() { return targetNameCase_ == 5; } /** - * - * *
    * [Fully Qualified Name
    * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -368,7 +324,6 @@ public boolean hasFullyQualifiedName() {
    * 
* * string fully_qualified_name = 5; - * * @return The fullyQualifiedName. */ public java.lang.String getFullyQualifiedName() { @@ -379,7 +334,8 @@ public java.lang.String getFullyQualifiedName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (targetNameCase_ == 5) { targetName_ = s; @@ -388,8 +344,6 @@ public java.lang.String getFullyQualifiedName() { } } /** - * - * *
    * [Fully Qualified Name
    * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -411,17 +365,18 @@ public java.lang.String getFullyQualifiedName() {
    * 
* * string fully_qualified_name = 5; - * * @return The bytes for fullyQualifiedName. */ - public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { + public com.google.protobuf.ByteString + getFullyQualifiedNameBytes() { java.lang.Object ref = ""; if (targetNameCase_ == 5) { ref = targetName_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (targetNameCase_ == 5) { targetName_ = b; } @@ -432,12 +387,9 @@ public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { } public static final int PROJECT_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object project_ = ""; /** - * - * *
    * Project where the lookup should be performed. Required to lookup
    * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -445,7 +397,6 @@ public com.google.protobuf.ByteString getFullyQualifiedNameBytes() {
    * 
* * string project = 6; - * * @return The project. */ @java.lang.Override @@ -454,15 +405,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; } } /** - * - * *
    * Project where the lookup should be performed. Required to lookup
    * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -470,15 +420,16 @@ public java.lang.String getProject() {
    * 
* * string project = 6; - * * @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 { @@ -487,12 +438,9 @@ public com.google.protobuf.ByteString getProjectBytes() { } public static final int LOCATION_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object location_ = ""; /** - * - * *
    * Location where the lookup should be performed. Required to lookup
    * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -500,7 +448,6 @@ public com.google.protobuf.ByteString getProjectBytes() {
    * 
* * string location = 7; - * * @return The location. */ @java.lang.Override @@ -509,15 +456,14 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
    * Location where the lookup should be performed. Required to lookup
    * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -525,15 +471,16 @@ public java.lang.String getLocation() {
    * 
* * string location = 7; - * * @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 { @@ -542,7 +489,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -554,7 +500,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (targetNameCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, targetName_); } @@ -602,26 +549,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.datacatalog.v1.LookupEntryRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.LookupEntryRequest other = - (com.google.cloud.datacatalog.v1.LookupEntryRequest) obj; + com.google.cloud.datacatalog.v1.LookupEntryRequest other = (com.google.cloud.datacatalog.v1.LookupEntryRequest) obj; - if (!getProject().equals(other.getProject())) return false; - if (!getLocation().equals(other.getLocation())) return false; + if (!getProject() + .equals(other.getProject())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; if (!getTargetNameCase().equals(other.getTargetNameCase())) return false; switch (targetNameCase_) { case 1: - if (!getLinkedResource().equals(other.getLinkedResource())) return false; + if (!getLinkedResource() + .equals(other.getLinkedResource())) return false; break; case 3: - if (!getSqlResource().equals(other.getSqlResource())) return false; + if (!getSqlResource() + .equals(other.getSqlResource())) return false; break; case 5: - if (!getFullyQualifiedName().equals(other.getFullyQualifiedName())) return false; + if (!getFullyQualifiedName() + .equals(other.getFullyQualifiedName())) return false; break; case 0: default: @@ -663,103 +614,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.LookupEntryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.LookupEntryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.LookupEntryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.LookupEntryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.LookupEntryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.LookupEntryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.LookupEntryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.LookupEntryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.LookupEntryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.LookupEntryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.LookupEntryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.LookupEntryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.LookupEntryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.LookupEntryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.LookupEntryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [LookupEntry][google.cloud.datacatalog.v1.DataCatalog.LookupEntry].
@@ -767,32 +713,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.LookupEntryRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.LookupEntryRequest)
       com.google.cloud.datacatalog.v1.LookupEntryRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.LookupEntryRequest.class,
-              com.google.cloud.datacatalog.v1.LookupEntryRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.LookupEntryRequest.class, com.google.cloud.datacatalog.v1.LookupEntryRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.LookupEntryRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -805,9 +752,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_descriptor;
     }
 
     @java.lang.Override
@@ -826,11 +773,8 @@ public com.google.cloud.datacatalog.v1.LookupEntryRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.LookupEntryRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.LookupEntryRequest result =
-          new com.google.cloud.datacatalog.v1.LookupEntryRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.LookupEntryRequest result = new com.google.cloud.datacatalog.v1.LookupEntryRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -855,39 +799,38 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.LookupEntryReque
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.LookupEntryRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.LookupEntryRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.LookupEntryRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -895,8 +838,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.LookupEntryRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.LookupEntryRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.LookupEntryRequest.getDefaultInstance()) return this;
       if (!other.getProject().isEmpty()) {
         project_ = other.project_;
         bitField0_ |= 0x00000008;
@@ -908,31 +850,27 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.LookupEntryRequest othe
         onChanged();
       }
       switch (other.getTargetNameCase()) {
-        case LINKED_RESOURCE:
-          {
-            targetNameCase_ = 1;
-            targetName_ = other.targetName_;
-            onChanged();
-            break;
-          }
-        case SQL_RESOURCE:
-          {
-            targetNameCase_ = 3;
-            targetName_ = other.targetName_;
-            onChanged();
-            break;
-          }
-        case FULLY_QUALIFIED_NAME:
-          {
-            targetNameCase_ = 5;
-            targetName_ = other.targetName_;
-            onChanged();
-            break;
-          }
-        case TARGETNAME_NOT_SET:
-          {
-            break;
-          }
+        case LINKED_RESOURCE: {
+          targetNameCase_ = 1;
+          targetName_ = other.targetName_;
+          onChanged();
+          break;
+        }
+        case SQL_RESOURCE: {
+          targetNameCase_ = 3;
+          targetName_ = other.targetName_;
+          onChanged();
+          break;
+        }
+        case FULLY_QUALIFIED_NAME: {
+          targetNameCase_ = 5;
+          targetName_ = other.targetName_;
+          onChanged();
+          break;
+        }
+        case TARGETNAME_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -960,46 +898,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                targetNameCase_ = 1;
-                targetName_ = s;
-                break;
-              } // case 10
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                targetNameCase_ = 3;
-                targetName_ = s;
-                break;
-              } // case 26
-            case 42:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                targetNameCase_ = 5;
-                targetName_ = s;
-                break;
-              } // case 42
-            case 50:
-              {
-                project_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 50
-            case 58:
-              {
-                location_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 58
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
+              targetNameCase_ = 1;
+              targetName_ = s;
+              break;
+            } // case 10
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              targetNameCase_ = 3;
+              targetName_ = s;
+              break;
+            } // case 26
+            case 42: {
+              java.lang.String s = input.readStringRequireUtf8();
+              targetNameCase_ = 5;
+              targetName_ = s;
+              break;
+            } // case 42
+            case 50: {
+              project_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 50
+            case 58: {
+              location_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 58
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1009,12 +941,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int targetNameCase_ = 0;
     private java.lang.Object targetName_;
-
-    public TargetNameCase getTargetNameCase() {
-      return TargetNameCase.forNumber(targetNameCase_);
+    public TargetNameCase
+        getTargetNameCase() {
+      return TargetNameCase.forNumber(
+          targetNameCase_);
     }
 
     public Builder clearTargetName() {
@@ -1027,8 +959,6 @@ public Builder clearTargetName() {
     private int bitField0_;
 
     /**
-     *
-     *
      * 
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. For more information, see [Full Resource Name]
@@ -1041,7 +971,6 @@ public Builder clearTargetName() {
      * 
* * string linked_resource = 1; - * * @return Whether the linkedResource field is set. */ @java.lang.Override @@ -1049,8 +978,6 @@ public boolean hasLinkedResource() { return targetNameCase_ == 1; } /** - * - * *
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. For more information, see [Full Resource Name]
@@ -1063,7 +990,6 @@ public boolean hasLinkedResource() {
      * 
* * string linked_resource = 1; - * * @return The linkedResource. */ @java.lang.Override @@ -1073,7 +999,8 @@ public java.lang.String getLinkedResource() { ref = targetName_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (targetNameCase_ == 1) { targetName_ = s; @@ -1084,8 +1011,6 @@ public java.lang.String getLinkedResource() { } } /** - * - * *
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. For more information, see [Full Resource Name]
@@ -1098,18 +1023,19 @@ public java.lang.String getLinkedResource() {
      * 
* * string linked_resource = 1; - * * @return The bytes for linkedResource. */ @java.lang.Override - public com.google.protobuf.ByteString getLinkedResourceBytes() { + public com.google.protobuf.ByteString + getLinkedResourceBytes() { java.lang.Object ref = ""; if (targetNameCase_ == 1) { ref = targetName_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (targetNameCase_ == 1) { targetName_ = b; } @@ -1119,8 +1045,6 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { } } /** - * - * *
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. For more information, see [Full Resource Name]
@@ -1133,22 +1057,18 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() {
      * 
* * string linked_resource = 1; - * * @param value The linkedResource to set. * @return This builder for chaining. */ - public Builder setLinkedResource(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLinkedResource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } targetNameCase_ = 1; targetName_ = value; onChanged(); return this; } /** - * - * *
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. For more information, see [Full Resource Name]
@@ -1161,7 +1081,6 @@ public Builder setLinkedResource(java.lang.String value) {
      * 
* * string linked_resource = 1; - * * @return This builder for chaining. */ public Builder clearLinkedResource() { @@ -1173,8 +1092,6 @@ public Builder clearLinkedResource() { return this; } /** - * - * *
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. For more information, see [Full Resource Name]
@@ -1187,14 +1104,12 @@ public Builder clearLinkedResource() {
      * 
* * string linked_resource = 1; - * * @param value The bytes for linkedResource to set. * @return This builder for chaining. */ - public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLinkedResourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); targetNameCase_ = 1; targetName_ = value; @@ -1203,8 +1118,6 @@ public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * The SQL name of the entry. SQL names are case-sensitive.
      *
@@ -1222,7 +1135,6 @@ public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) {
      * 
* * string sql_resource = 3; - * * @return Whether the sqlResource field is set. */ @java.lang.Override @@ -1230,8 +1142,6 @@ public boolean hasSqlResource() { return targetNameCase_ == 3; } /** - * - * *
      * The SQL name of the entry. SQL names are case-sensitive.
      *
@@ -1249,7 +1159,6 @@ public boolean hasSqlResource() {
      * 
* * string sql_resource = 3; - * * @return The sqlResource. */ @java.lang.Override @@ -1259,7 +1168,8 @@ public java.lang.String getSqlResource() { ref = targetName_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (targetNameCase_ == 3) { targetName_ = s; @@ -1270,8 +1180,6 @@ public java.lang.String getSqlResource() { } } /** - * - * *
      * The SQL name of the entry. SQL names are case-sensitive.
      *
@@ -1289,18 +1197,19 @@ public java.lang.String getSqlResource() {
      * 
* * string sql_resource = 3; - * * @return The bytes for sqlResource. */ @java.lang.Override - public com.google.protobuf.ByteString getSqlResourceBytes() { + public com.google.protobuf.ByteString + getSqlResourceBytes() { java.lang.Object ref = ""; if (targetNameCase_ == 3) { ref = targetName_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (targetNameCase_ == 3) { targetName_ = b; } @@ -1310,8 +1219,6 @@ public com.google.protobuf.ByteString getSqlResourceBytes() { } } /** - * - * *
      * The SQL name of the entry. SQL names are case-sensitive.
      *
@@ -1329,22 +1236,18 @@ public com.google.protobuf.ByteString getSqlResourceBytes() {
      * 
* * string sql_resource = 3; - * * @param value The sqlResource to set. * @return This builder for chaining. */ - public Builder setSqlResource(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSqlResource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } targetNameCase_ = 3; targetName_ = value; onChanged(); return this; } /** - * - * *
      * The SQL name of the entry. SQL names are case-sensitive.
      *
@@ -1362,7 +1265,6 @@ public Builder setSqlResource(java.lang.String value) {
      * 
* * string sql_resource = 3; - * * @return This builder for chaining. */ public Builder clearSqlResource() { @@ -1374,8 +1276,6 @@ public Builder clearSqlResource() { return this; } /** - * - * *
      * The SQL name of the entry. SQL names are case-sensitive.
      *
@@ -1393,14 +1293,12 @@ public Builder clearSqlResource() {
      * 
* * string sql_resource = 3; - * * @param value The bytes for sqlResource to set. * @return This builder for chaining. */ - public Builder setSqlResourceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSqlResourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); targetNameCase_ = 3; targetName_ = value; @@ -1409,8 +1307,6 @@ public Builder setSqlResourceBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * [Fully Qualified Name
      * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -1432,7 +1328,6 @@ public Builder setSqlResourceBytes(com.google.protobuf.ByteString value) {
      * 
* * string fully_qualified_name = 5; - * * @return Whether the fullyQualifiedName field is set. */ @java.lang.Override @@ -1440,8 +1335,6 @@ public boolean hasFullyQualifiedName() { return targetNameCase_ == 5; } /** - * - * *
      * [Fully Qualified Name
      * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -1463,7 +1356,6 @@ public boolean hasFullyQualifiedName() {
      * 
* * string fully_qualified_name = 5; - * * @return The fullyQualifiedName. */ @java.lang.Override @@ -1473,7 +1365,8 @@ public java.lang.String getFullyQualifiedName() { ref = targetName_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (targetNameCase_ == 5) { targetName_ = s; @@ -1484,8 +1377,6 @@ public java.lang.String getFullyQualifiedName() { } } /** - * - * *
      * [Fully Qualified Name
      * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -1507,18 +1398,19 @@ public java.lang.String getFullyQualifiedName() {
      * 
* * string fully_qualified_name = 5; - * * @return The bytes for fullyQualifiedName. */ @java.lang.Override - public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { + public com.google.protobuf.ByteString + getFullyQualifiedNameBytes() { java.lang.Object ref = ""; if (targetNameCase_ == 5) { ref = targetName_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (targetNameCase_ == 5) { targetName_ = b; } @@ -1528,8 +1420,6 @@ public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { } } /** - * - * *
      * [Fully Qualified Name
      * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -1551,22 +1441,18 @@ public com.google.protobuf.ByteString getFullyQualifiedNameBytes() {
      * 
* * string fully_qualified_name = 5; - * * @param value The fullyQualifiedName to set. * @return This builder for chaining. */ - public Builder setFullyQualifiedName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFullyQualifiedName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } targetNameCase_ = 5; targetName_ = value; onChanged(); return this; } /** - * - * *
      * [Fully Qualified Name
      * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -1588,7 +1474,6 @@ public Builder setFullyQualifiedName(java.lang.String value) {
      * 
* * string fully_qualified_name = 5; - * * @return This builder for chaining. */ public Builder clearFullyQualifiedName() { @@ -1600,8 +1485,6 @@ public Builder clearFullyQualifiedName() { return this; } /** - * - * *
      * [Fully Qualified Name
      * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -1623,14 +1506,12 @@ public Builder clearFullyQualifiedName() {
      * 
* * string fully_qualified_name = 5; - * * @param value The bytes for fullyQualifiedName to set. * @return This builder for chaining. */ - public Builder setFullyQualifiedNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFullyQualifiedNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); targetNameCase_ = 5; targetName_ = value; @@ -1640,8 +1521,6 @@ public Builder setFullyQualifiedNameBytes(com.google.protobuf.ByteString value) private java.lang.Object project_ = ""; /** - * - * *
      * Project where the lookup should be performed. Required to lookup
      * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -1649,13 +1528,13 @@ public Builder setFullyQualifiedNameBytes(com.google.protobuf.ByteString value)
      * 
* * string project = 6; - * * @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; @@ -1664,8 +1543,6 @@ public java.lang.String getProject() { } } /** - * - * *
      * Project where the lookup should be performed. Required to lookup
      * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -1673,14 +1550,15 @@ public java.lang.String getProject() {
      * 
* * string project = 6; - * * @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 { @@ -1688,8 +1566,6 @@ public com.google.protobuf.ByteString getProjectBytes() { } } /** - * - * *
      * Project where the lookup should be performed. Required to lookup
      * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -1697,22 +1573,18 @@ public com.google.protobuf.ByteString getProjectBytes() {
      * 
* * string project = 6; - * * @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_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Project where the lookup should be performed. Required to lookup
      * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -1720,7 +1592,6 @@ public Builder setProject(java.lang.String value) {
      * 
* * string project = 6; - * * @return This builder for chaining. */ public Builder clearProject() { @@ -1730,8 +1601,6 @@ public Builder clearProject() { return this; } /** - * - * *
      * Project where the lookup should be performed. Required to lookup
      * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -1739,14 +1608,12 @@ public Builder clearProject() {
      * 
* * string project = 6; - * * @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_ |= 0x00000008; @@ -1756,8 +1623,6 @@ public Builder setProjectBytes(com.google.protobuf.ByteString value) { private java.lang.Object location_ = ""; /** - * - * *
      * Location where the lookup should be performed. Required to lookup
      * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -1765,13 +1630,13 @@ public Builder setProjectBytes(com.google.protobuf.ByteString value) {
      * 
* * string location = 7; - * * @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; @@ -1780,8 +1645,6 @@ public java.lang.String getLocation() { } } /** - * - * *
      * Location where the lookup should be performed. Required to lookup
      * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -1789,14 +1652,15 @@ public java.lang.String getLocation() {
      * 
* * string location = 7; - * * @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 { @@ -1804,8 +1668,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * Location where the lookup should be performed. Required to lookup
      * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -1813,22 +1675,18 @@ public com.google.protobuf.ByteString getLocationBytes() {
      * 
* * string location = 7; - * * @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_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Location where the lookup should be performed. Required to lookup
      * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -1836,7 +1694,6 @@ public Builder setLocation(java.lang.String value) {
      * 
* * string location = 7; - * * @return This builder for chaining. */ public Builder clearLocation() { @@ -1846,8 +1703,6 @@ public Builder clearLocation() { return this; } /** - * - * *
      * Location where the lookup should be performed. Required to lookup
      * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -1855,23 +1710,21 @@ public Builder clearLocation() {
      * 
* * string location = 7; - * * @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_ |= 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); } @@ -1881,12 +1734,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.LookupEntryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.LookupEntryRequest) private static final com.google.cloud.datacatalog.v1.LookupEntryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.LookupEntryRequest(); } @@ -1895,27 +1748,27 @@ public static com.google.cloud.datacatalog.v1.LookupEntryRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LookupEntryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LookupEntryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1930,4 +1783,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.LookupEntryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequestOrBuilder.java similarity index 87% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequestOrBuilder.java index 6c436dfeb8c2..8af4b83e1155 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface LookupEntryRequestOrBuilder - extends +public interface LookupEntryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.LookupEntryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The full name of the Google Cloud Platform resource the Data Catalog
    * entry represents. For more information, see [Full Resource Name]
@@ -38,13 +20,10 @@ public interface LookupEntryRequestOrBuilder
    * 
* * string linked_resource = 1; - * * @return Whether the linkedResource field is set. */ boolean hasLinkedResource(); /** - * - * *
    * The full name of the Google Cloud Platform resource the Data Catalog
    * entry represents. For more information, see [Full Resource Name]
@@ -57,13 +36,10 @@ public interface LookupEntryRequestOrBuilder
    * 
* * string linked_resource = 1; - * * @return The linkedResource. */ java.lang.String getLinkedResource(); /** - * - * *
    * The full name of the Google Cloud Platform resource the Data Catalog
    * entry represents. For more information, see [Full Resource Name]
@@ -76,14 +52,12 @@ public interface LookupEntryRequestOrBuilder
    * 
* * string linked_resource = 1; - * * @return The bytes for linkedResource. */ - com.google.protobuf.ByteString getLinkedResourceBytes(); + com.google.protobuf.ByteString + getLinkedResourceBytes(); /** - * - * *
    * The SQL name of the entry. SQL names are case-sensitive.
    *
@@ -101,13 +75,10 @@ public interface LookupEntryRequestOrBuilder
    * 
* * string sql_resource = 3; - * * @return Whether the sqlResource field is set. */ boolean hasSqlResource(); /** - * - * *
    * The SQL name of the entry. SQL names are case-sensitive.
    *
@@ -125,13 +96,10 @@ public interface LookupEntryRequestOrBuilder
    * 
* * string sql_resource = 3; - * * @return The sqlResource. */ java.lang.String getSqlResource(); /** - * - * *
    * The SQL name of the entry. SQL names are case-sensitive.
    *
@@ -149,14 +117,12 @@ public interface LookupEntryRequestOrBuilder
    * 
* * string sql_resource = 3; - * * @return The bytes for sqlResource. */ - com.google.protobuf.ByteString getSqlResourceBytes(); + com.google.protobuf.ByteString + getSqlResourceBytes(); /** - * - * *
    * [Fully Qualified Name
    * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -178,13 +144,10 @@ public interface LookupEntryRequestOrBuilder
    * 
* * string fully_qualified_name = 5; - * * @return Whether the fullyQualifiedName field is set. */ boolean hasFullyQualifiedName(); /** - * - * *
    * [Fully Qualified Name
    * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -206,13 +169,10 @@ public interface LookupEntryRequestOrBuilder
    * 
* * string fully_qualified_name = 5; - * * @return The fullyQualifiedName. */ java.lang.String getFullyQualifiedName(); /** - * - * *
    * [Fully Qualified Name
    * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -234,14 +194,12 @@ public interface LookupEntryRequestOrBuilder
    * 
* * string fully_qualified_name = 5; - * * @return The bytes for fullyQualifiedName. */ - com.google.protobuf.ByteString getFullyQualifiedNameBytes(); + com.google.protobuf.ByteString + getFullyQualifiedNameBytes(); /** - * - * *
    * Project where the lookup should be performed. Required to lookup
    * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -249,13 +207,10 @@ public interface LookupEntryRequestOrBuilder
    * 
* * string project = 6; - * * @return The project. */ java.lang.String getProject(); /** - * - * *
    * Project where the lookup should be performed. Required to lookup
    * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -263,14 +218,12 @@ public interface LookupEntryRequestOrBuilder
    * 
* * string project = 6; - * * @return The bytes for project. */ - com.google.protobuf.ByteString getProjectBytes(); + com.google.protobuf.ByteString + getProjectBytes(); /** - * - * *
    * Location where the lookup should be performed. Required to lookup
    * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -278,13 +231,10 @@ public interface LookupEntryRequestOrBuilder
    * 
* * string location = 7; - * * @return The location. */ java.lang.String getLocation(); /** - * - * *
    * Location where the lookup should be performed. Required to lookup
    * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -292,10 +242,10 @@ public interface LookupEntryRequestOrBuilder
    * 
* * string location = 7; - * * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); com.google.cloud.datacatalog.v1.LookupEntryRequest.TargetNameCase getTargetNameCase(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ManagingSystem.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ManagingSystem.java similarity index 66% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ManagingSystem.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ManagingSystem.java index 2162cf739d9a..95375a84f805 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ManagingSystem.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ManagingSystem.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/common.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * This enum describes all the systems that manage
  * Taxonomy and PolicyTag resources in DataCatalog.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.cloud.datacatalog.v1.ManagingSystem}
  */
-public enum ManagingSystem implements com.google.protobuf.ProtocolMessageEnum {
+public enum ManagingSystem
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Default value
    * 
@@ -40,8 +22,6 @@ public enum ManagingSystem implements com.google.protobuf.ProtocolMessageEnum { */ MANAGING_SYSTEM_UNSPECIFIED(0), /** - * - * *
    * Dataplex.
    * 
@@ -50,8 +30,6 @@ public enum ManagingSystem implements com.google.protobuf.ProtocolMessageEnum { */ MANAGING_SYSTEM_DATAPLEX(1), /** - * - * *
    * Other
    * 
@@ -63,8 +41,6 @@ public enum ManagingSystem implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Default value
    * 
@@ -73,8 +49,6 @@ public enum ManagingSystem implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MANAGING_SYSTEM_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Dataplex.
    * 
@@ -83,8 +57,6 @@ public enum ManagingSystem implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MANAGING_SYSTEM_DATAPLEX_VALUE = 1; /** - * - * *
    * Other
    * 
@@ -93,6 +65,7 @@ public enum ManagingSystem implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MANAGING_SYSTEM_OTHER_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -117,49 +90,49 @@ public static ManagingSystem valueOf(int value) { */ public static ManagingSystem forNumber(int value) { switch (value) { - case 0: - return MANAGING_SYSTEM_UNSPECIFIED; - case 1: - return MANAGING_SYSTEM_DATAPLEX; - case 2: - return MANAGING_SYSTEM_OTHER; - default: - return null; + case 0: return MANAGING_SYSTEM_UNSPECIFIED; + case 1: return MANAGING_SYSTEM_DATAPLEX; + case 2: return MANAGING_SYSTEM_OTHER; + 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 ManagingSystem findValueByNumber(int number) { - return ManagingSystem.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + ManagingSystem> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ManagingSystem findValueByNumber(int number) { + return ManagingSystem.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.datacatalog.v1.Common.getDescriptor().getEnumTypes().get(1); } private static final ManagingSystem[] VALUES = values(); - public static ManagingSystem valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ManagingSystem 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; @@ -175,3 +148,4 @@ private ManagingSystem(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1.ManagingSystem) } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequest.java similarity index 60% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequest.java index 11a92befd2c7..6ec55360aa81 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [ModifyEntryContacts][google.cloud.datacatalog.v1.DataCatalog.ModifyEntryContacts].
@@ -28,56 +11,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ModifyEntryContactsRequest}
  */
-public final class ModifyEntryContactsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ModifyEntryContactsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ModifyEntryContactsRequest)
     ModifyEntryContactsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ModifyEntryContactsRequest.newBuilder() to construct.
   private ModifyEntryContactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ModifyEntryContactsRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ModifyEntryContactsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest.class,
-            com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest.class, com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The full resource name of the entry.
    * 
* - * - * string name = 1 [(.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,31 +61,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The full resource name of the entry.
    * 
* - * - * string name = 1 [(.google.api.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,16 +94,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CONTACTS_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1.Contacts contacts_; /** - * - * *
    * Required. The new value for the Contacts.
    * 
* - * - * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the contacts field is set. */ @java.lang.Override @@ -138,44 +106,30 @@ public boolean hasContacts() { return contacts_ != null; } /** - * - * *
    * Required. The new value for the Contacts.
    * 
* - * - * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The contacts. */ @java.lang.Override public com.google.cloud.datacatalog.v1.Contacts getContacts() { - return contacts_ == null - ? com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance() - : contacts_; + return contacts_ == null ? com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance() : contacts_; } /** - * - * *
    * Required. The new value for the Contacts.
    * 
* - * - * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datacatalog.v1.ContactsOrBuilder getContactsOrBuilder() { - return contacts_ == null - ? com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance() - : contacts_; + return contacts_ == null ? com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance() : contacts_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,7 +141,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -207,7 +162,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (contacts_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getContacts()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getContacts()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -217,18 +173,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.datacatalog.v1.ModifyEntryContactsRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest other = - (com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest) obj; + com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest other = (com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasContacts() != other.hasContacts()) return false; if (hasContacts()) { - if (!getContacts().equals(other.getContacts())) return false; + if (!getContacts() + .equals(other.getContacts())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -253,104 +210,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [ModifyEntryContacts][google.cloud.datacatalog.v1.DataCatalog.ModifyEntryContacts].
@@ -358,32 +309,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ModifyEntryContactsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ModifyEntryContactsRequest)
       com.google.cloud.datacatalog.v1.ModifyEntryContactsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest.class,
-              com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest.class, com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -398,9 +350,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -419,11 +371,8 @@ public com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest result =
-          new com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest result = new com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -434,7 +383,9 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ModifyEntryContactsRe
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.contacts_ = contactsBuilder_ == null ? contacts_ : contactsBuilder_.build();
+        result.contacts_ = contactsBuilder_ == null
+            ? contacts_
+            : contactsBuilder_.build();
       }
     }
 
@@ -442,39 +393,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ModifyEntryContactsRe
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -482,8 +432,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -518,25 +467,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getContactsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getContactsFieldBuilder().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) {
@@ -546,27 +494,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The full resource name of the entry.
      * 
* - * - * string name = 1 [(.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,23 +518,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The full resource name of the entry.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -599,39 +539,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The full resource name of the entry.
      * 
* - * - * string name = 1 [(.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 full resource name of the entry.
      * 
* - * - * string 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() { @@ -641,23 +570,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The full resource name of the entry.
      * 
* - * - * string name = 1 [(.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; @@ -667,58 +590,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datacatalog.v1.Contacts contacts_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Contacts, - com.google.cloud.datacatalog.v1.Contacts.Builder, - com.google.cloud.datacatalog.v1.ContactsOrBuilder> - contactsBuilder_; + com.google.cloud.datacatalog.v1.Contacts, com.google.cloud.datacatalog.v1.Contacts.Builder, com.google.cloud.datacatalog.v1.ContactsOrBuilder> contactsBuilder_; /** - * - * *
      * Required. The new value for the Contacts.
      * 
* - * - * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the contacts field is set. */ public boolean hasContacts() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The new value for the Contacts.
      * 
* - * - * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The contacts. */ public com.google.cloud.datacatalog.v1.Contacts getContacts() { if (contactsBuilder_ == null) { - return contacts_ == null - ? com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance() - : contacts_; + return contacts_ == null ? com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance() : contacts_; } else { return contactsBuilder_.getMessage(); } } /** - * - * *
      * Required. The new value for the Contacts.
      * 
* - * - * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setContacts(com.google.cloud.datacatalog.v1.Contacts value) { if (contactsBuilder_ == null) { @@ -734,17 +638,14 @@ public Builder setContacts(com.google.cloud.datacatalog.v1.Contacts value) { return this; } /** - * - * *
      * Required. The new value for the Contacts.
      * 
* - * - * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setContacts(com.google.cloud.datacatalog.v1.Contacts.Builder builderForValue) { + public Builder setContacts( + com.google.cloud.datacatalog.v1.Contacts.Builder builderForValue) { if (contactsBuilder_ == null) { contacts_ = builderForValue.build(); } else { @@ -755,21 +656,17 @@ public Builder setContacts(com.google.cloud.datacatalog.v1.Contacts.Builder buil return this; } /** - * - * *
      * Required. The new value for the Contacts.
      * 
* - * - * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeContacts(com.google.cloud.datacatalog.v1.Contacts value) { if (contactsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && contacts_ != null - && contacts_ != com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + contacts_ != null && + contacts_ != com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance()) { getContactsBuilder().mergeFrom(value); } else { contacts_ = value; @@ -782,15 +679,11 @@ public Builder mergeContacts(com.google.cloud.datacatalog.v1.Contacts value) { return this; } /** - * - * *
      * Required. The new value for the Contacts.
      * 
* - * - * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearContacts() { bitField0_ = (bitField0_ & ~0x00000002); @@ -803,15 +696,11 @@ public Builder clearContacts() { return this; } /** - * - * *
      * Required. The new value for the Contacts.
      * 
* - * - * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1.Contacts.Builder getContactsBuilder() { bitField0_ |= 0x00000002; @@ -819,55 +708,43 @@ public com.google.cloud.datacatalog.v1.Contacts.Builder getContactsBuilder() { return getContactsFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The new value for the Contacts.
      * 
* - * - * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1.ContactsOrBuilder getContactsOrBuilder() { if (contactsBuilder_ != null) { return contactsBuilder_.getMessageOrBuilder(); } else { - return contacts_ == null - ? com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance() - : contacts_; + return contacts_ == null ? + com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance() : contacts_; } } /** - * - * *
      * Required. The new value for the Contacts.
      * 
* - * - * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Contacts, - com.google.cloud.datacatalog.v1.Contacts.Builder, - com.google.cloud.datacatalog.v1.ContactsOrBuilder> + com.google.cloud.datacatalog.v1.Contacts, com.google.cloud.datacatalog.v1.Contacts.Builder, com.google.cloud.datacatalog.v1.ContactsOrBuilder> getContactsFieldBuilder() { if (contactsBuilder_ == null) { - contactsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Contacts, - com.google.cloud.datacatalog.v1.Contacts.Builder, - com.google.cloud.datacatalog.v1.ContactsOrBuilder>( - getContacts(), getParentForChildren(), isClean()); + contactsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.Contacts, com.google.cloud.datacatalog.v1.Contacts.Builder, com.google.cloud.datacatalog.v1.ContactsOrBuilder>( + getContacts(), + getParentForChildren(), + isClean()); contacts_ = null; } return contactsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -877,12 +754,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ModifyEntryContactsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ModifyEntryContactsRequest) private static final com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest(); } @@ -891,27 +768,27 @@ public static com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ModifyEntryContactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ModifyEntryContactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -926,4 +803,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequestOrBuilder.java new file mode 100644 index 000000000000..edd16d24cae4 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequestOrBuilder.java @@ -0,0 +1,56 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/datacatalog.proto + +package com.google.cloud.datacatalog.v1; + +public interface ModifyEntryContactsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ModifyEntryContactsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The full resource name of the entry.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The full resource name of the entry.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * Required. The new value for the Contacts.
+   * 
+ * + * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the contacts field is set. + */ + boolean hasContacts(); + /** + *
+   * Required. The new value for the Contacts.
+   * 
+ * + * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The contacts. + */ + com.google.cloud.datacatalog.v1.Contacts getContacts(); + /** + *
+   * Required. The new value for the Contacts.
+   * 
+ * + * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.datacatalog.v1.ContactsOrBuilder getContactsOrBuilder(); +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequest.java similarity index 60% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequest.java index a6f426210ade..a0dd9d9cca78 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [ModifyEntryOverview][google.cloud.datacatalog.v1.DataCatalog.ModifyEntryOverview].
@@ -28,56 +11,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ModifyEntryOverviewRequest}
  */
-public final class ModifyEntryOverviewRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ModifyEntryOverviewRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ModifyEntryOverviewRequest)
     ModifyEntryOverviewRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ModifyEntryOverviewRequest.newBuilder() to construct.
   private ModifyEntryOverviewRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ModifyEntryOverviewRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ModifyEntryOverviewRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest.class,
-            com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest.class, com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The full resource name of the entry.
    * 
* - * - * string name = 1 [(.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,31 +61,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The full resource name of the entry.
    * 
* - * - * string name = 1 [(.google.api.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,16 +94,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ENTRY_OVERVIEW_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1.EntryOverview entryOverview_; /** - * - * *
    * Required. The new value for the Entry Overview.
    * 
* - * - * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the entryOverview field is set. */ @java.lang.Override @@ -138,44 +106,30 @@ public boolean hasEntryOverview() { return entryOverview_ != null; } /** - * - * *
    * Required. The new value for the Entry Overview.
    * 
* - * - * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The entryOverview. */ @java.lang.Override public com.google.cloud.datacatalog.v1.EntryOverview getEntryOverview() { - return entryOverview_ == null - ? com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance() - : entryOverview_; + return entryOverview_ == null ? com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance() : entryOverview_; } /** - * - * *
    * Required. The new value for the Entry Overview.
    * 
* - * - * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder getEntryOverviewOrBuilder() { - return entryOverview_ == null - ? com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance() - : entryOverview_; + return entryOverview_ == null ? com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance() : entryOverview_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,7 +141,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -207,7 +162,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (entryOverview_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEntryOverview()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEntryOverview()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -217,18 +173,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.datacatalog.v1.ModifyEntryOverviewRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest other = - (com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest) obj; + com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest other = (com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasEntryOverview() != other.hasEntryOverview()) return false; if (hasEntryOverview()) { - if (!getEntryOverview().equals(other.getEntryOverview())) return false; + if (!getEntryOverview() + .equals(other.getEntryOverview())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -253,104 +210,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [ModifyEntryOverview][google.cloud.datacatalog.v1.DataCatalog.ModifyEntryOverview].
@@ -358,32 +309,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ModifyEntryOverviewRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ModifyEntryOverviewRequest)
       com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest.class,
-              com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest.class, com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -398,9 +350,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_descriptor;
     }
 
     @java.lang.Override
@@ -419,11 +371,8 @@ public com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest result =
-          new com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest result = new com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -434,8 +383,9 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ModifyEntryOverviewRe
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.entryOverview_ =
-            entryOverviewBuilder_ == null ? entryOverview_ : entryOverviewBuilder_.build();
+        result.entryOverview_ = entryOverviewBuilder_ == null
+            ? entryOverview_
+            : entryOverviewBuilder_.build();
       }
     }
 
@@ -443,39 +393,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ModifyEntryOverviewRe
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -483,8 +432,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -519,25 +467,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getEntryOverviewFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getEntryOverviewFieldBuilder().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) {
@@ -547,27 +494,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The full resource name of the entry.
      * 
* - * - * string name = 1 [(.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; @@ -576,23 +518,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The full resource name of the entry.
      * 
* - * - * string name = 1 [(.google.api.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,39 +539,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The full resource name of the entry.
      * 
* - * - * string name = 1 [(.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 full resource name of the entry.
      * 
* - * - * string 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() { @@ -642,23 +570,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The full resource name of the entry.
      * 
* - * - * string name = 1 [(.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; @@ -668,58 +590,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datacatalog.v1.EntryOverview entryOverview_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.EntryOverview, - com.google.cloud.datacatalog.v1.EntryOverview.Builder, - com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder> - entryOverviewBuilder_; + com.google.cloud.datacatalog.v1.EntryOverview, com.google.cloud.datacatalog.v1.EntryOverview.Builder, com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder> entryOverviewBuilder_; /** - * - * *
      * Required. The new value for the Entry Overview.
      * 
* - * - * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the entryOverview field is set. */ public boolean hasEntryOverview() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The new value for the Entry Overview.
      * 
* - * - * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The entryOverview. */ public com.google.cloud.datacatalog.v1.EntryOverview getEntryOverview() { if (entryOverviewBuilder_ == null) { - return entryOverview_ == null - ? com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance() - : entryOverview_; + return entryOverview_ == null ? com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance() : entryOverview_; } else { return entryOverviewBuilder_.getMessage(); } } /** - * - * *
      * Required. The new value for the Entry Overview.
      * 
* - * - * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setEntryOverview(com.google.cloud.datacatalog.v1.EntryOverview value) { if (entryOverviewBuilder_ == null) { @@ -735,15 +638,11 @@ public Builder setEntryOverview(com.google.cloud.datacatalog.v1.EntryOverview va return this; } /** - * - * *
      * Required. The new value for the Entry Overview.
      * 
* - * - * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setEntryOverview( com.google.cloud.datacatalog.v1.EntryOverview.Builder builderForValue) { @@ -757,22 +656,17 @@ public Builder setEntryOverview( return this; } /** - * - * *
      * Required. The new value for the Entry Overview.
      * 
* - * - * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeEntryOverview(com.google.cloud.datacatalog.v1.EntryOverview value) { if (entryOverviewBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && entryOverview_ != null - && entryOverview_ - != com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + entryOverview_ != null && + entryOverview_ != com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance()) { getEntryOverviewBuilder().mergeFrom(value); } else { entryOverview_ = value; @@ -785,15 +679,11 @@ public Builder mergeEntryOverview(com.google.cloud.datacatalog.v1.EntryOverview return this; } /** - * - * *
      * Required. The new value for the Entry Overview.
      * 
* - * - * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearEntryOverview() { bitField0_ = (bitField0_ & ~0x00000002); @@ -806,15 +696,11 @@ public Builder clearEntryOverview() { return this; } /** - * - * *
      * Required. The new value for the Entry Overview.
      * 
* - * - * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1.EntryOverview.Builder getEntryOverviewBuilder() { bitField0_ |= 0x00000002; @@ -822,55 +708,43 @@ public com.google.cloud.datacatalog.v1.EntryOverview.Builder getEntryOverviewBui return getEntryOverviewFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The new value for the Entry Overview.
      * 
* - * - * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder getEntryOverviewOrBuilder() { if (entryOverviewBuilder_ != null) { return entryOverviewBuilder_.getMessageOrBuilder(); } else { - return entryOverview_ == null - ? com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance() - : entryOverview_; + return entryOverview_ == null ? + com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance() : entryOverview_; } } /** - * - * *
      * Required. The new value for the Entry Overview.
      * 
* - * - * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.EntryOverview, - com.google.cloud.datacatalog.v1.EntryOverview.Builder, - com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder> + com.google.cloud.datacatalog.v1.EntryOverview, com.google.cloud.datacatalog.v1.EntryOverview.Builder, com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder> getEntryOverviewFieldBuilder() { if (entryOverviewBuilder_ == null) { - entryOverviewBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.EntryOverview, - com.google.cloud.datacatalog.v1.EntryOverview.Builder, - com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder>( - getEntryOverview(), getParentForChildren(), isClean()); + entryOverviewBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.EntryOverview, com.google.cloud.datacatalog.v1.EntryOverview.Builder, com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder>( + getEntryOverview(), + getParentForChildren(), + isClean()); entryOverview_ = null; } return entryOverviewBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -880,12 +754,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ModifyEntryOverviewRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ModifyEntryOverviewRequest) private static final com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest(); } @@ -894,27 +768,27 @@ public static com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ModifyEntryOverviewRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ModifyEntryOverviewRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -929,4 +803,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequestOrBuilder.java new file mode 100644 index 000000000000..a4f07463bd57 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequestOrBuilder.java @@ -0,0 +1,56 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/datacatalog.proto + +package com.google.cloud.datacatalog.v1; + +public interface ModifyEntryOverviewRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ModifyEntryOverviewRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The full resource name of the entry.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The full resource name of the entry.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * Required. The new value for the Entry Overview.
+   * 
+ * + * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the entryOverview field is set. + */ + boolean hasEntryOverview(); + /** + *
+   * Required. The new value for the Entry Overview.
+   * 
+ * + * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The entryOverview. + */ + com.google.cloud.datacatalog.v1.EntryOverview getEntryOverview(); + /** + *
+   * Required. The new value for the Entry Overview.
+   * 
+ * + * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder getEntryOverviewOrBuilder(); +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetails.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetails.java similarity index 68% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetails.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetails.java index 6bfd5b288bbf..900adbaf098f 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetails.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetails.java @@ -1,76 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/common.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Entry metadata relevant only to the user and private to them.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.PersonalDetails} */ -public final class PersonalDetails extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PersonalDetails extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.PersonalDetails) PersonalDetailsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PersonalDetails.newBuilder() to construct. private PersonalDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PersonalDetails() {} + private PersonalDetails() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PersonalDetails(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.Common - .internal_static_google_cloud_datacatalog_v1_PersonalDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.Common.internal_static_google_cloud_datacatalog_v1_PersonalDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Common - .internal_static_google_cloud_datacatalog_v1_PersonalDetails_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Common.internal_static_google_cloud_datacatalog_v1_PersonalDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.PersonalDetails.class, - com.google.cloud.datacatalog.v1.PersonalDetails.Builder.class); + com.google.cloud.datacatalog.v1.PersonalDetails.class, com.google.cloud.datacatalog.v1.PersonalDetails.Builder.class); } public static final int STARRED_FIELD_NUMBER = 1; private boolean starred_ = false; /** - * - * *
    * True if the entry is starred by the user; false otherwise.
    * 
* * bool starred = 1; - * * @return The starred. */ @java.lang.Override @@ -81,14 +60,11 @@ public boolean getStarred() { public static final int STAR_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp starTime_; /** - * - * *
    * Set if the entry is starred; unset otherwise.
    * 
* * .google.protobuf.Timestamp star_time = 2; - * * @return Whether the starTime field is set. */ @java.lang.Override @@ -96,14 +72,11 @@ public boolean hasStarTime() { return starTime_ != null; } /** - * - * *
    * Set if the entry is starred; unset otherwise.
    * 
* * .google.protobuf.Timestamp star_time = 2; - * * @return The starTime. */ @java.lang.Override @@ -111,8 +84,6 @@ public com.google.protobuf.Timestamp getStarTime() { return starTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : starTime_; } /** - * - * *
    * Set if the entry is starred; unset otherwise.
    * 
@@ -125,7 +96,6 @@ public com.google.protobuf.TimestampOrBuilder getStarTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,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 (starred_ != false) { output.writeBool(1, starred_); } @@ -154,10 +125,12 @@ public int getSerializedSize() { size = 0; if (starred_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, starred_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, starred_); } if (starTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStarTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStarTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -167,18 +140,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.datacatalog.v1.PersonalDetails)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.PersonalDetails other = - (com.google.cloud.datacatalog.v1.PersonalDetails) obj; + com.google.cloud.datacatalog.v1.PersonalDetails other = (com.google.cloud.datacatalog.v1.PersonalDetails) obj; - if (getStarred() != other.getStarred()) return false; + if (getStarred() + != other.getStarred()) return false; if (hasStarTime() != other.hasStarTime()) return false; if (hasStarTime()) { - if (!getStarTime().equals(other.getStarTime())) return false; + if (!getStarTime() + .equals(other.getStarTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -192,7 +166,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + STARRED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStarred()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getStarred()); if (hasStarTime()) { hash = (37 * hash) + STAR_TIME_FIELD_NUMBER; hash = (53 * hash) + getStarTime().hashCode(); @@ -202,136 +177,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.PersonalDetails parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.PersonalDetails parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.PersonalDetails parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PersonalDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.PersonalDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PersonalDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.PersonalDetails parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PersonalDetails parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.PersonalDetails parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PersonalDetails parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.PersonalDetails parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.PersonalDetails parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PersonalDetails parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.PersonalDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.PersonalDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Entry metadata relevant only to the user and private to them.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.PersonalDetails} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.PersonalDetails) com.google.cloud.datacatalog.v1.PersonalDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.Common - .internal_static_google_cloud_datacatalog_v1_PersonalDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.Common.internal_static_google_cloud_datacatalog_v1_PersonalDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Common - .internal_static_google_cloud_datacatalog_v1_PersonalDetails_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Common.internal_static_google_cloud_datacatalog_v1_PersonalDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.PersonalDetails.class, - com.google.cloud.datacatalog.v1.PersonalDetails.Builder.class); + com.google.cloud.datacatalog.v1.PersonalDetails.class, com.google.cloud.datacatalog.v1.PersonalDetails.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.PersonalDetails.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -346,9 +317,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.Common - .internal_static_google_cloud_datacatalog_v1_PersonalDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Common.internal_static_google_cloud_datacatalog_v1_PersonalDetails_descriptor; } @java.lang.Override @@ -367,11 +338,8 @@ public com.google.cloud.datacatalog.v1.PersonalDetails build() { @java.lang.Override public com.google.cloud.datacatalog.v1.PersonalDetails buildPartial() { - com.google.cloud.datacatalog.v1.PersonalDetails result = - new com.google.cloud.datacatalog.v1.PersonalDetails(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1.PersonalDetails result = new com.google.cloud.datacatalog.v1.PersonalDetails(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -382,7 +350,9 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.PersonalDetails resul result.starred_ = starred_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.starTime_ = starTimeBuilder_ == null ? starTime_ : starTimeBuilder_.build(); + result.starTime_ = starTimeBuilder_ == null + ? starTime_ + : starTimeBuilder_.build(); } } @@ -390,39 +360,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.PersonalDetails 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.datacatalog.v1.PersonalDetails) { - return mergeFrom((com.google.cloud.datacatalog.v1.PersonalDetails) other); + return mergeFrom((com.google.cloud.datacatalog.v1.PersonalDetails)other); } else { super.mergeFrom(other); return this; @@ -430,8 +399,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.PersonalDetails other) { - if (other == com.google.cloud.datacatalog.v1.PersonalDetails.getDefaultInstance()) - return this; + if (other == com.google.cloud.datacatalog.v1.PersonalDetails.getDefaultInstance()) return this; if (other.getStarred() != false) { setStarred(other.getStarred()); } @@ -464,25 +432,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - starred_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - input.readMessage(getStarTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + starred_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getStarTimeFieldBuilder().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) { @@ -492,19 +459,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private boolean starred_; + private boolean starred_ ; /** - * - * *
      * True if the entry is starred by the user; false otherwise.
      * 
* * bool starred = 1; - * * @return The starred. */ @java.lang.Override @@ -512,14 +475,11 @@ public boolean getStarred() { return starred_; } /** - * - * *
      * True if the entry is starred by the user; false otherwise.
      * 
* * bool starred = 1; - * * @param value The starred to set. * @return This builder for chaining. */ @@ -531,14 +491,11 @@ public Builder setStarred(boolean value) { return this; } /** - * - * *
      * True if the entry is starred by the user; false otherwise.
      * 
* * bool starred = 1; - * * @return This builder for chaining. */ public Builder clearStarred() { @@ -550,33 +507,24 @@ public Builder clearStarred() { private com.google.protobuf.Timestamp starTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - starTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> starTimeBuilder_; /** - * - * *
      * Set if the entry is starred; unset otherwise.
      * 
* * .google.protobuf.Timestamp star_time = 2; - * * @return Whether the starTime field is set. */ public boolean hasStarTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Set if the entry is starred; unset otherwise.
      * 
* * .google.protobuf.Timestamp star_time = 2; - * * @return The starTime. */ public com.google.protobuf.Timestamp getStarTime() { @@ -587,8 +535,6 @@ public com.google.protobuf.Timestamp getStarTime() { } } /** - * - * *
      * Set if the entry is starred; unset otherwise.
      * 
@@ -609,15 +555,14 @@ public Builder setStarTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Set if the entry is starred; unset otherwise.
      * 
* * .google.protobuf.Timestamp star_time = 2; */ - public Builder setStarTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStarTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (starTimeBuilder_ == null) { starTime_ = builderForValue.build(); } else { @@ -628,8 +573,6 @@ public Builder setStarTime(com.google.protobuf.Timestamp.Builder builderForValue return this; } /** - * - * *
      * Set if the entry is starred; unset otherwise.
      * 
@@ -638,9 +581,9 @@ public Builder setStarTime(com.google.protobuf.Timestamp.Builder builderForValue */ public Builder mergeStarTime(com.google.protobuf.Timestamp value) { if (starTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && starTime_ != null - && starTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + starTime_ != null && + starTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStarTimeBuilder().mergeFrom(value); } else { starTime_ = value; @@ -653,8 +596,6 @@ public Builder mergeStarTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Set if the entry is starred; unset otherwise.
      * 
@@ -672,8 +613,6 @@ public Builder clearStarTime() { return this; } /** - * - * *
      * Set if the entry is starred; unset otherwise.
      * 
@@ -686,8 +625,6 @@ public com.google.protobuf.Timestamp.Builder getStarTimeBuilder() { return getStarTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Set if the entry is starred; unset otherwise.
      * 
@@ -698,12 +635,11 @@ public com.google.protobuf.TimestampOrBuilder getStarTimeOrBuilder() { if (starTimeBuilder_ != null) { return starTimeBuilder_.getMessageOrBuilder(); } else { - return starTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : starTime_; + return starTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : starTime_; } } /** - * - * *
      * Set if the entry is starred; unset otherwise.
      * 
@@ -711,24 +647,21 @@ public com.google.protobuf.TimestampOrBuilder getStarTimeOrBuilder() { * .google.protobuf.Timestamp star_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStarTimeFieldBuilder() { if (starTimeBuilder_ == null) { - starTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStarTime(), getParentForChildren(), isClean()); + starTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStarTime(), + getParentForChildren(), + isClean()); starTime_ = null; } return starTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -738,12 +671,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.PersonalDetails) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.PersonalDetails) private static final com.google.cloud.datacatalog.v1.PersonalDetails DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.PersonalDetails(); } @@ -752,27 +685,27 @@ public static com.google.cloud.datacatalog.v1.PersonalDetails getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PersonalDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PersonalDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -787,4 +720,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.PersonalDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetailsOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetailsOrBuilder.java similarity index 62% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetailsOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetailsOrBuilder.java index 9ecd76aafd75..7cf11cbf4838 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetailsOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetailsOrBuilder.java @@ -1,68 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/common.proto package com.google.cloud.datacatalog.v1; -public interface PersonalDetailsOrBuilder - extends +public interface PersonalDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.PersonalDetails) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * True if the entry is starred by the user; false otherwise.
    * 
* * bool starred = 1; - * * @return The starred. */ boolean getStarred(); /** - * - * *
    * Set if the entry is starred; unset otherwise.
    * 
* * .google.protobuf.Timestamp star_time = 2; - * * @return Whether the starTime field is set. */ boolean hasStarTime(); /** - * - * *
    * Set if the entry is starred; unset otherwise.
    * 
* * .google.protobuf.Timestamp star_time = 2; - * * @return The starTime. */ com.google.protobuf.Timestamp getStarTime(); /** - * - * *
    * Set if the entry is starred; unset otherwise.
    * 
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchema.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchema.java similarity index 70% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchema.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchema.java index 7e971388855a..9ffdf3d66ea7 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchema.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchema.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/physical_schema.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Native schema used by a resource represented as an entry. Used by query
  * engines for deserializing and parsing source data.
@@ -28,126 +11,111 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.PhysicalSchema}
  */
-public final class PhysicalSchema extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class PhysicalSchema extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.PhysicalSchema)
     PhysicalSchemaOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use PhysicalSchema.newBuilder() to construct.
   private PhysicalSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private PhysicalSchema() {}
+  private PhysicalSchema() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new PhysicalSchema();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PhysicalSchemaProto
-        .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PhysicalSchemaProto
-        .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.PhysicalSchema.class,
-            com.google.cloud.datacatalog.v1.PhysicalSchema.Builder.class);
+            com.google.cloud.datacatalog.v1.PhysicalSchema.class, com.google.cloud.datacatalog.v1.PhysicalSchema.Builder.class);
   }
 
-  public interface AvroSchemaOrBuilder
-      extends
+  public interface AvroSchemaOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * JSON source of the Avro schema.
      * 
* * string text = 1; - * * @return The text. */ java.lang.String getText(); /** - * - * *
      * JSON source of the Avro schema.
      * 
* * string text = 1; - * * @return The bytes for text. */ - com.google.protobuf.ByteString getTextBytes(); + com.google.protobuf.ByteString + getTextBytes(); } /** - * - * *
    * Schema in Avro JSON format.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema} */ - public static final class AvroSchema extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class AvroSchema extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) AvroSchemaOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AvroSchema.newBuilder() to construct. private AvroSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AvroSchema() { text_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AvroSchema(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto - .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto - .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_fieldAccessorTable + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.class, - com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.Builder.class); + com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.class, com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.Builder.class); } public static final int TEXT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object text_ = ""; /** - * - * *
      * JSON source of the Avro schema.
      * 
* * string text = 1; - * * @return The text. */ @java.lang.Override @@ -156,29 +124,29 @@ public java.lang.String getText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); text_ = s; return s; } } /** - * - * *
      * JSON source of the Avro schema.
      * 
* * string text = 1; - * * @return The bytes for text. */ @java.lang.Override - public com.google.protobuf.ByteString getTextBytes() { + public com.google.protobuf.ByteString + getTextBytes() { java.lang.Object ref = text_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); text_ = b; return b; } else { @@ -187,7 +155,6 @@ public com.google.protobuf.ByteString getTextBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, text_); } @@ -223,15 +191,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema other = - (com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) obj; + com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema other = (com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) obj; - if (!getText().equals(other.getText())) return false; + if (!getText() + .equals(other.getText())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -251,94 +219,89 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -348,41 +311,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Schema in Avro JSON format.
      * 
* * Protobuf type {@code google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto - .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto - .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_fieldAccessorTable + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.class, - com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.Builder.class); + com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.class, com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.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,9 +353,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto - .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_descriptor; } @java.lang.Override @@ -413,11 +374,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema build() { @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema buildPartial() { - com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema result = - new com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema result = new com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -433,41 +391,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSc public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) { - return mergeFrom((com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) other); + return mergeFrom((com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema)other); } else { super.mergeFrom(other); return this; @@ -475,8 +430,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema other) { - if (other == com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.getDefaultInstance()) - return this; + if (other == com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.getDefaultInstance()) return this; if (!other.getText().isEmpty()) { text_ = other.text_; bitField0_ |= 0x00000001; @@ -508,19 +462,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - text_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + text_ = 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) { @@ -530,25 +482,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object text_ = ""; /** - * - * *
        * JSON source of the Avro schema.
        * 
* * string text = 1; - * * @return The text. */ public java.lang.String getText() { java.lang.Object ref = text_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); text_ = s; return s; @@ -557,21 +506,20 @@ public java.lang.String getText() { } } /** - * - * *
        * JSON source of the Avro schema.
        * 
* * string text = 1; - * * @return The bytes for text. */ - public com.google.protobuf.ByteString getTextBytes() { + public com.google.protobuf.ByteString + getTextBytes() { java.lang.Object ref = text_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); text_ = b; return b; } else { @@ -579,35 +527,28 @@ public com.google.protobuf.ByteString getTextBytes() { } } /** - * - * *
        * JSON source of the Avro schema.
        * 
* * string text = 1; - * * @param value The text to set. * @return This builder for chaining. */ - public Builder setText(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setText( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } text_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * JSON source of the Avro schema.
        * 
* * string text = 1; - * * @return This builder for chaining. */ public Builder clearText() { @@ -617,28 +558,23 @@ public Builder clearText() { return this; } /** - * - * *
        * JSON source of the Avro schema.
        * 
* * string text = 1; - * * @param value The bytes for text to set. * @return This builder for chaining. */ - public Builder setTextBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTextBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); text_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -651,12 +587,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) private static final com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema(); } @@ -665,28 +601,27 @@ public static com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AvroSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AvroSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -701,95 +636,82 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ThriftSchemaOrBuilder - extends + public interface ThriftSchemaOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Thrift IDL source of the schema.
      * 
* * string text = 1; - * * @return The text. */ java.lang.String getText(); /** - * - * *
      * Thrift IDL source of the schema.
      * 
* * string text = 1; - * * @return The bytes for text. */ - com.google.protobuf.ByteString getTextBytes(); + com.google.protobuf.ByteString + getTextBytes(); } /** - * - * *
    * Schema in Thrift format.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema} */ - public static final class ThriftSchema extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ThriftSchema extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) ThriftSchemaOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ThriftSchema.newBuilder() to construct. private ThriftSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ThriftSchema() { text_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ThriftSchema(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto - .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto - .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_fieldAccessorTable + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.class, - com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.Builder.class); + com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.class, com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.Builder.class); } public static final int TEXT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object text_ = ""; /** - * - * *
      * Thrift IDL source of the schema.
      * 
* * string text = 1; - * * @return The text. */ @java.lang.Override @@ -798,29 +720,29 @@ public java.lang.String getText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); text_ = s; return s; } } /** - * - * *
      * Thrift IDL source of the schema.
      * 
* * string text = 1; - * * @return The bytes for text. */ @java.lang.Override - public com.google.protobuf.ByteString getTextBytes() { + public com.google.protobuf.ByteString + getTextBytes() { java.lang.Object ref = text_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); text_ = b; return b; } else { @@ -829,7 +751,6 @@ public com.google.protobuf.ByteString getTextBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -841,7 +762,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, text_); } @@ -865,15 +787,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema other = - (com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) obj; + com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema other = (com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) obj; - if (!getText().equals(other.getText())) return false; + if (!getText() + .equals(other.getText())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -893,94 +815,89 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -990,41 +907,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Schema in Thrift format.
      * 
* * Protobuf type {@code google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto - .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto - .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_fieldAccessorTable + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.class, - com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.Builder.class); + com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.class, com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1034,14 +949,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto - .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_descriptor; } @java.lang.Override - public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema - getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema getDefaultInstanceForType() { return com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.getDefaultInstance(); } @@ -1056,17 +970,13 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema build() { @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema buildPartial() { - com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema result = - new com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema result = new com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema result) { + private void buildPartial0(com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.text_ = text_; @@ -1077,41 +987,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.datacatalog.v1.PhysicalSchema.ThriftSchema) { - return mergeFrom((com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) other); + return mergeFrom((com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema)other); } else { super.mergeFrom(other); return this; @@ -1119,9 +1026,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema other) { - if (other - == com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.getDefaultInstance()) - return this; + if (other == com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.getDefaultInstance()) return this; if (!other.getText().isEmpty()) { text_ = other.text_; bitField0_ |= 0x00000001; @@ -1153,19 +1058,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - text_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + text_ = 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) { @@ -1175,25 +1078,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object text_ = ""; /** - * - * *
        * Thrift IDL source of the schema.
        * 
* * string text = 1; - * * @return The text. */ public java.lang.String getText() { java.lang.Object ref = text_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); text_ = s; return s; @@ -1202,21 +1102,20 @@ public java.lang.String getText() { } } /** - * - * *
        * Thrift IDL source of the schema.
        * 
* * string text = 1; - * * @return The bytes for text. */ - public com.google.protobuf.ByteString getTextBytes() { + public com.google.protobuf.ByteString + getTextBytes() { java.lang.Object ref = text_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); text_ = b; return b; } else { @@ -1224,35 +1123,28 @@ public com.google.protobuf.ByteString getTextBytes() { } } /** - * - * *
        * Thrift IDL source of the schema.
        * 
* * string text = 1; - * * @param value The text to set. * @return This builder for chaining. */ - public Builder setText(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setText( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } text_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Thrift IDL source of the schema.
        * 
* * string text = 1; - * * @return This builder for chaining. */ public Builder clearText() { @@ -1262,28 +1154,23 @@ public Builder clearText() { return this; } /** - * - * *
        * Thrift IDL source of the schema.
        * 
* * string text = 1; - * * @param value The bytes for text to set. * @return This builder for chaining. */ - public Builder setTextBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTextBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); text_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1296,13 +1183,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) - private static final com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema - DEFAULT_INSTANCE; - + private static final com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema(); } @@ -1311,28 +1197,27 @@ public static com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ThriftSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ThriftSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1347,95 +1232,82 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ProtobufSchemaOrBuilder - extends + public interface ProtobufSchemaOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Protocol buffer source of the schema.
      * 
* * string text = 1; - * * @return The text. */ java.lang.String getText(); /** - * - * *
      * Protocol buffer source of the schema.
      * 
* * string text = 1; - * * @return The bytes for text. */ - com.google.protobuf.ByteString getTextBytes(); + com.google.protobuf.ByteString + getTextBytes(); } /** - * - * *
    * Schema in protocol buffer format.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema} */ - public static final class ProtobufSchema extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ProtobufSchema extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) ProtobufSchemaOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProtobufSchema.newBuilder() to construct. private ProtobufSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ProtobufSchema() { text_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ProtobufSchema(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto - .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto - .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_fieldAccessorTable + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.class, - com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.Builder.class); + com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.class, com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.Builder.class); } public static final int TEXT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object text_ = ""; /** - * - * *
      * Protocol buffer source of the schema.
      * 
* * string text = 1; - * * @return The text. */ @java.lang.Override @@ -1444,29 +1316,29 @@ public java.lang.String getText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); text_ = s; return s; } } /** - * - * *
      * Protocol buffer source of the schema.
      * 
* * string text = 1; - * * @return The bytes for text. */ @java.lang.Override - public com.google.protobuf.ByteString getTextBytes() { + public com.google.protobuf.ByteString + getTextBytes() { java.lang.Object ref = text_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); text_ = b; return b; } else { @@ -1475,7 +1347,6 @@ public com.google.protobuf.ByteString getTextBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1487,7 +1358,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, text_); } @@ -1511,15 +1383,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema other = - (com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) obj; + com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema other = (com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) obj; - if (!getText().equals(other.getText())) return false; + if (!getText() + .equals(other.getText())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1539,94 +1411,89 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1636,41 +1503,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Schema in protocol buffer format.
      * 
* * Protobuf type {@code google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto - .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto - .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_fieldAccessorTable + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.class, - com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.Builder.class); + com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.class, com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1680,14 +1545,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto - .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_descriptor; } @java.lang.Override - public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema - getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema getDefaultInstanceForType() { return com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.getDefaultInstance(); } @@ -1702,17 +1566,13 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema build() { @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema buildPartial() { - com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema result = - new com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema result = new com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema result) { + private void buildPartial0(com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.text_ = text_; @@ -1723,52 +1583,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.datacatalog.v1.PhysicalSchema.ProtobufSchema) { - return mergeFrom((com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) other); + return mergeFrom((com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema other) { - if (other - == com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema other) { + if (other == com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.getDefaultInstance()) return this; if (!other.getText().isEmpty()) { text_ = other.text_; bitField0_ |= 0x00000001; @@ -1800,19 +1654,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - text_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + text_ = 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) { @@ -1822,25 +1674,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object text_ = ""; /** - * - * *
        * Protocol buffer source of the schema.
        * 
* * string text = 1; - * * @return The text. */ public java.lang.String getText() { java.lang.Object ref = text_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); text_ = s; return s; @@ -1849,21 +1698,20 @@ public java.lang.String getText() { } } /** - * - * *
        * Protocol buffer source of the schema.
        * 
* * string text = 1; - * * @return The bytes for text. */ - public com.google.protobuf.ByteString getTextBytes() { + public com.google.protobuf.ByteString + getTextBytes() { java.lang.Object ref = text_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); text_ = b; return b; } else { @@ -1871,35 +1719,28 @@ public com.google.protobuf.ByteString getTextBytes() { } } /** - * - * *
        * Protocol buffer source of the schema.
        * 
* * string text = 1; - * * @param value The text to set. * @return This builder for chaining. */ - public Builder setText(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setText( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } text_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Protocol buffer source of the schema.
        * 
* * string text = 1; - * * @return This builder for chaining. */ public Builder clearText() { @@ -1909,28 +1750,23 @@ public Builder clearText() { return this; } /** - * - * *
        * Protocol buffer source of the schema.
        * 
* * string text = 1; - * * @param value The bytes for text to set. * @return This builder for chaining. */ - public Builder setTextBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTextBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); text_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1943,44 +1779,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) - private static final com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema - DEFAULT_INSTANCE; - + private static final com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema(); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema - getDefaultInstance() { + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProtobufSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProtobufSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1992,60 +1825,56 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema - getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ParquetSchemaOrBuilder - extends + public interface ParquetSchemaOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) - com.google.protobuf.MessageOrBuilder {} + com.google.protobuf.MessageOrBuilder { + } /** - * - * *
    * Marks a Parquet-encoded data source.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema} */ - public static final class ParquetSchema extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ParquetSchema extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) ParquetSchemaOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ParquetSchema.newBuilder() to construct. private ParquetSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ParquetSchema() {} + private ParquetSchema() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ParquetSchema(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto - .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto - .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_fieldAccessorTable + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.class, - com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.Builder.class); + com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.class, com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2057,7 +1886,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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); } @@ -2075,13 +1905,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.datacatalog.v1.PhysicalSchema.ParquetSchema)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema other = - (com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) obj; + com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema other = (com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2100,94 +1929,89 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2197,41 +2021,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Marks a Parquet-encoded data source.
      * 
* * Protobuf type {@code google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto - .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto - .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_fieldAccessorTable + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.class, - com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.Builder.class); + com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.class, com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2239,14 +2061,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto - .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_descriptor; } @java.lang.Override - public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema - getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema getDefaultInstanceForType() { return com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.getDefaultInstance(); } @@ -2261,8 +2082,7 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema build() { @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema buildPartial() { - com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema result = - new com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema(this); + com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema result = new com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema(this); onBuilt(); return result; } @@ -2271,41 +2091,38 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) { - return mergeFrom((com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) other); + return mergeFrom((com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema)other); } else { super.mergeFrom(other); return this; @@ -2313,9 +2130,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema other) { - if (other - == com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.getDefaultInstance()) - return this; + if (other == com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -2342,13 +2157,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) { @@ -2358,7 +2172,6 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2371,44 +2184,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) - private static final com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema - DEFAULT_INSTANCE; - + private static final com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema(); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema - getDefaultInstance() { + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ParquetSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ParquetSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2420,60 +2230,56 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema - getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface OrcSchemaOrBuilder - extends + public interface OrcSchemaOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) - com.google.protobuf.MessageOrBuilder {} + com.google.protobuf.MessageOrBuilder { + } /** - * - * *
    * Marks an ORC-encoded data source.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema} */ - public static final class OrcSchema extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class OrcSchema extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) OrcSchemaOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OrcSchema.newBuilder() to construct. private OrcSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private OrcSchema() {} + private OrcSchema() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OrcSchema(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto - .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto - .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_fieldAccessorTable + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.class, - com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.Builder.class); + com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.class, com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2485,7 +2291,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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); } @@ -2503,13 +2310,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.datacatalog.v1.PhysicalSchema.OrcSchema)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema other = - (com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) obj; + com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema other = (com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2528,94 +2334,89 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2625,41 +2426,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Marks an ORC-encoded data source.
      * 
* * Protobuf type {@code google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto - .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto - .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_fieldAccessorTable + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.class, - com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.Builder.class); + com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.class, com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2667,9 +2466,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto - .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_descriptor; } @java.lang.Override @@ -2688,8 +2487,7 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema build() { @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema buildPartial() { - com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema result = - new com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema(this); + com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema result = new com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema(this); onBuilt(); return result; } @@ -2698,41 +2496,38 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) { - return mergeFrom((com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) other); + return mergeFrom((com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema)other); } else { super.mergeFrom(other); return this; @@ -2740,8 +2535,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema other) { - if (other == com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.getDefaultInstance()) - return this; + if (other == com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -2768,13 +2562,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) { @@ -2784,7 +2577,6 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2797,12 +2589,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) private static final com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema(); } @@ -2811,28 +2603,27 @@ public static com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OrcSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OrcSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2847,56 +2638,53 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface CsvSchemaOrBuilder - extends + public interface CsvSchemaOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) - com.google.protobuf.MessageOrBuilder {} + com.google.protobuf.MessageOrBuilder { + } /** - * - * *
    * Marks a CSV-encoded data source.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema} */ - public static final class CsvSchema extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CsvSchema extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) CsvSchemaOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CsvSchema.newBuilder() to construct. private CsvSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CsvSchema() {} + private CsvSchema() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CsvSchema(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto - .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto - .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_fieldAccessorTable + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.class, - com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.Builder.class); + com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.class, com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2908,7 +2696,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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); } @@ -2926,13 +2715,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.datacatalog.v1.PhysicalSchema.CsvSchema)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema other = - (com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) obj; + com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema other = (com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2951,94 +2739,89 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3048,41 +2831,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Marks a CSV-encoded data source.
      * 
* * Protobuf type {@code google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto - .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto - .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_fieldAccessorTable + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.class, - com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.Builder.class); + com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.class, com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3090,9 +2871,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto - .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_descriptor; } @java.lang.Override @@ -3111,8 +2892,7 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema build() { @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema buildPartial() { - com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema result = - new com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema(this); + com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema result = new com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema(this); onBuilt(); return result; } @@ -3121,41 +2901,38 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) { - return mergeFrom((com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) other); + return mergeFrom((com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema)other); } else { super.mergeFrom(other); return this; @@ -3163,8 +2940,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema other) { - if (other == com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.getDefaultInstance()) - return this; + if (other == com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -3191,13 +2967,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) { @@ -3207,7 +2982,6 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3220,12 +2994,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) private static final com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema(); } @@ -3234,28 +3008,27 @@ public static com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CsvSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CsvSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3270,16 +3043,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int schemaCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object schema_; - public enum SchemaCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { AVRO(1), THRIFT(2), @@ -3289,7 +3060,6 @@ public enum SchemaCase CSV(6), SCHEMA_NOT_SET(0); private final int value; - private SchemaCase(int value) { this.value = value; } @@ -3305,44 +3075,34 @@ public static SchemaCase valueOf(int value) { public static SchemaCase forNumber(int value) { switch (value) { - case 1: - return AVRO; - case 2: - return THRIFT; - case 3: - return PROTOBUF; - case 4: - return PARQUET; - case 5: - return ORC; - case 6: - return CSV; - case 0: - return SCHEMA_NOT_SET; - default: - return null; + case 1: return AVRO; + case 2: return THRIFT; + case 3: return PROTOBUF; + case 4: return PARQUET; + case 5: return ORC; + case 6: return CSV; + case 0: return SCHEMA_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public SchemaCase getSchemaCase() { - return SchemaCase.forNumber(schemaCase_); + public SchemaCase + getSchemaCase() { + return SchemaCase.forNumber( + schemaCase_); } public static final int AVRO_FIELD_NUMBER = 1; /** - * - * *
    * Schema in Avro JSON format.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema avro = 1; - * * @return Whether the avro field is set. */ @java.lang.Override @@ -3350,26 +3110,21 @@ public boolean hasAvro() { return schemaCase_ == 1; } /** - * - * *
    * Schema in Avro JSON format.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema avro = 1; - * * @return The avro. */ @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema getAvro() { if (schemaCase_ == 1) { - return (com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) schema_; + return (com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) schema_; } return com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.getDefaultInstance(); } /** - * - * *
    * Schema in Avro JSON format.
    * 
@@ -3379,21 +3134,18 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema getAvro() { @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchemaOrBuilder getAvroOrBuilder() { if (schemaCase_ == 1) { - return (com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) schema_; + return (com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) schema_; } return com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.getDefaultInstance(); } public static final int THRIFT_FIELD_NUMBER = 2; /** - * - * *
    * Schema in Thrift format.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2; - * * @return Whether the thrift field is set. */ @java.lang.Override @@ -3401,26 +3153,21 @@ public boolean hasThrift() { return schemaCase_ == 2; } /** - * - * *
    * Schema in Thrift format.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2; - * * @return The thrift. */ @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema getThrift() { if (schemaCase_ == 2) { - return (com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) schema_; + return (com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) schema_; } return com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.getDefaultInstance(); } /** - * - * *
    * Schema in Thrift format.
    * 
@@ -3430,21 +3177,18 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema getThrift() { @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchemaOrBuilder getThriftOrBuilder() { if (schemaCase_ == 2) { - return (com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) schema_; + return (com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) schema_; } return com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.getDefaultInstance(); } public static final int PROTOBUF_FIELD_NUMBER = 3; /** - * - * *
    * Schema in protocol buffer format.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3; - * * @return Whether the protobuf field is set. */ @java.lang.Override @@ -3452,26 +3196,21 @@ public boolean hasProtobuf() { return schemaCase_ == 3; } /** - * - * *
    * Schema in protocol buffer format.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3; - * * @return The protobuf. */ @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema getProtobuf() { if (schemaCase_ == 3) { - return (com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) schema_; + return (com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) schema_; } return com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.getDefaultInstance(); } /** - * - * *
    * Schema in protocol buffer format.
    * 
@@ -3479,24 +3218,20 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema getProtobuf * .google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchemaOrBuilder - getProtobufOrBuilder() { + public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchemaOrBuilder getProtobufOrBuilder() { if (schemaCase_ == 3) { - return (com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) schema_; + return (com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) schema_; } return com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.getDefaultInstance(); } public static final int PARQUET_FIELD_NUMBER = 4; /** - * - * *
    * Marks a Parquet-encoded data source.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4; - * * @return Whether the parquet field is set. */ @java.lang.Override @@ -3504,26 +3239,21 @@ public boolean hasParquet() { return schemaCase_ == 4; } /** - * - * *
    * Marks a Parquet-encoded data source.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4; - * * @return The parquet. */ @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema getParquet() { if (schemaCase_ == 4) { - return (com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) schema_; + return (com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) schema_; } return com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.getDefaultInstance(); } /** - * - * *
    * Marks a Parquet-encoded data source.
    * 
@@ -3531,24 +3261,20 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema getParquet() * .google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchemaOrBuilder - getParquetOrBuilder() { + public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchemaOrBuilder getParquetOrBuilder() { if (schemaCase_ == 4) { - return (com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) schema_; + return (com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) schema_; } return com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.getDefaultInstance(); } public static final int ORC_FIELD_NUMBER = 5; /** - * - * *
    * Marks an ORC-encoded data source.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema orc = 5; - * * @return Whether the orc field is set. */ @java.lang.Override @@ -3556,26 +3282,21 @@ public boolean hasOrc() { return schemaCase_ == 5; } /** - * - * *
    * Marks an ORC-encoded data source.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema orc = 5; - * * @return The orc. */ @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema getOrc() { if (schemaCase_ == 5) { - return (com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) schema_; + return (com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) schema_; } return com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.getDefaultInstance(); } /** - * - * *
    * Marks an ORC-encoded data source.
    * 
@@ -3585,21 +3306,18 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema getOrc() { @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchemaOrBuilder getOrcOrBuilder() { if (schemaCase_ == 5) { - return (com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) schema_; + return (com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) schema_; } return com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.getDefaultInstance(); } public static final int CSV_FIELD_NUMBER = 6; /** - * - * *
    * Marks a CSV-encoded data source.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema csv = 6; - * * @return Whether the csv field is set. */ @java.lang.Override @@ -3607,26 +3325,21 @@ public boolean hasCsv() { return schemaCase_ == 6; } /** - * - * *
    * Marks a CSV-encoded data source.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema csv = 6; - * * @return The csv. */ @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema getCsv() { if (schemaCase_ == 6) { - return (com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) schema_; + return (com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) schema_; } return com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.getDefaultInstance(); } /** - * - * *
    * Marks a CSV-encoded data source.
    * 
@@ -3636,13 +3349,12 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema getCsv() { @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchemaOrBuilder getCsvOrBuilder() { if (schemaCase_ == 6) { - return (com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) schema_; + return (com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) schema_; } return com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3654,7 +3366,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (schemaCase_ == 1) { output.writeMessage(1, (com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) schema_); } @@ -3662,12 +3375,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(2, (com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) schema_); } if (schemaCase_ == 3) { - output.writeMessage( - 3, (com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) schema_); + output.writeMessage(3, (com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) schema_); } if (schemaCase_ == 4) { - output.writeMessage( - 4, (com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) schema_); + output.writeMessage(4, (com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) schema_); } if (schemaCase_ == 5) { output.writeMessage(5, (com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) schema_); @@ -3685,34 +3396,28 @@ public int getSerializedSize() { size = 0; if (schemaCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) schema_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) schema_); } if (schemaCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) schema_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) schema_); } if (schemaCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) schema_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) schema_); } if (schemaCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) schema_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) schema_); } if (schemaCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) schema_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) schema_); } if (schemaCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) schema_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) schema_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3722,33 +3427,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.datacatalog.v1.PhysicalSchema)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.PhysicalSchema other = - (com.google.cloud.datacatalog.v1.PhysicalSchema) obj; + com.google.cloud.datacatalog.v1.PhysicalSchema other = (com.google.cloud.datacatalog.v1.PhysicalSchema) obj; if (!getSchemaCase().equals(other.getSchemaCase())) return false; switch (schemaCase_) { case 1: - if (!getAvro().equals(other.getAvro())) return false; + if (!getAvro() + .equals(other.getAvro())) return false; break; case 2: - if (!getThrift().equals(other.getThrift())) return false; + if (!getThrift() + .equals(other.getThrift())) return false; break; case 3: - if (!getProtobuf().equals(other.getProtobuf())) return false; + if (!getProtobuf() + .equals(other.getProtobuf())) return false; break; case 4: - if (!getParquet().equals(other.getParquet())) return false; + if (!getParquet() + .equals(other.getParquet())) return false; break; case 5: - if (!getOrc().equals(other.getOrc())) return false; + if (!getOrc() + .equals(other.getOrc())) return false; break; case 6: - if (!getCsv().equals(other.getCsv())) return false; + if (!getCsv() + .equals(other.getCsv())) return false; break; case 0: default: @@ -3797,104 +3507,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.PhysicalSchema parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.PhysicalSchema parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.PhysicalSchema parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.PhysicalSchema parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.PhysicalSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Native schema used by a resource represented as an entry. Used by query
    * engines for deserializing and parsing source data.
@@ -3902,32 +3607,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.PhysicalSchema}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.PhysicalSchema)
       com.google.cloud.datacatalog.v1.PhysicalSchemaOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PhysicalSchemaProto
-          .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PhysicalSchemaProto
-          .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.PhysicalSchema.class,
-              com.google.cloud.datacatalog.v1.PhysicalSchema.Builder.class);
+              com.google.cloud.datacatalog.v1.PhysicalSchema.class, com.google.cloud.datacatalog.v1.PhysicalSchema.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.PhysicalSchema.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -3956,9 +3662,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PhysicalSchemaProto
-          .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor;
     }
 
     @java.lang.Override
@@ -3977,11 +3683,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.PhysicalSchema buildPartial() {
-      com.google.cloud.datacatalog.v1.PhysicalSchema result =
-          new com.google.cloud.datacatalog.v1.PhysicalSchema(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.PhysicalSchema result = new com.google.cloud.datacatalog.v1.PhysicalSchema(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -3994,22 +3697,28 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.PhysicalSchema result
     private void buildPartialOneofs(com.google.cloud.datacatalog.v1.PhysicalSchema result) {
       result.schemaCase_ = schemaCase_;
       result.schema_ = this.schema_;
-      if (schemaCase_ == 1 && avroBuilder_ != null) {
+      if (schemaCase_ == 1 &&
+          avroBuilder_ != null) {
         result.schema_ = avroBuilder_.build();
       }
-      if (schemaCase_ == 2 && thriftBuilder_ != null) {
+      if (schemaCase_ == 2 &&
+          thriftBuilder_ != null) {
         result.schema_ = thriftBuilder_.build();
       }
-      if (schemaCase_ == 3 && protobufBuilder_ != null) {
+      if (schemaCase_ == 3 &&
+          protobufBuilder_ != null) {
         result.schema_ = protobufBuilder_.build();
       }
-      if (schemaCase_ == 4 && parquetBuilder_ != null) {
+      if (schemaCase_ == 4 &&
+          parquetBuilder_ != null) {
         result.schema_ = parquetBuilder_.build();
       }
-      if (schemaCase_ == 5 && orcBuilder_ != null) {
+      if (schemaCase_ == 5 &&
+          orcBuilder_ != null) {
         result.schema_ = orcBuilder_.build();
       }
-      if (schemaCase_ == 6 && csvBuilder_ != null) {
+      if (schemaCase_ == 6 &&
+          csvBuilder_ != null) {
         result.schema_ = csvBuilder_.build();
       }
     }
@@ -4018,39 +3727,38 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.PhysicalSchema 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.datacatalog.v1.PhysicalSchema) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.PhysicalSchema) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.PhysicalSchema)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -4060,40 +3768,33 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.PhysicalSchema other) {
       if (other == com.google.cloud.datacatalog.v1.PhysicalSchema.getDefaultInstance()) return this;
       switch (other.getSchemaCase()) {
-        case AVRO:
-          {
-            mergeAvro(other.getAvro());
-            break;
-          }
-        case THRIFT:
-          {
-            mergeThrift(other.getThrift());
-            break;
-          }
-        case PROTOBUF:
-          {
-            mergeProtobuf(other.getProtobuf());
-            break;
-          }
-        case PARQUET:
-          {
-            mergeParquet(other.getParquet());
-            break;
-          }
-        case ORC:
-          {
-            mergeOrc(other.getOrc());
-            break;
-          }
-        case CSV:
-          {
-            mergeCsv(other.getCsv());
-            break;
-          }
-        case SCHEMA_NOT_SET:
-          {
-            break;
-          }
+        case AVRO: {
+          mergeAvro(other.getAvro());
+          break;
+        }
+        case THRIFT: {
+          mergeThrift(other.getThrift());
+          break;
+        }
+        case PROTOBUF: {
+          mergeProtobuf(other.getProtobuf());
+          break;
+        }
+        case PARQUET: {
+          mergeParquet(other.getParquet());
+          break;
+        }
+        case ORC: {
+          mergeOrc(other.getOrc());
+          break;
+        }
+        case CSV: {
+          mergeCsv(other.getCsv());
+          break;
+        }
+        case SCHEMA_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -4121,49 +3822,54 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getAvroFieldBuilder().getBuilder(), extensionRegistry);
-                schemaCase_ = 1;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getThriftFieldBuilder().getBuilder(), extensionRegistry);
-                schemaCase_ = 2;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getProtobufFieldBuilder().getBuilder(), extensionRegistry);
-                schemaCase_ = 3;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getParquetFieldBuilder().getBuilder(), extensionRegistry);
-                schemaCase_ = 4;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getOrcFieldBuilder().getBuilder(), extensionRegistry);
-                schemaCase_ = 5;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getCsvFieldBuilder().getBuilder(), extensionRegistry);
-                schemaCase_ = 6;
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getAvroFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              schemaCase_ = 1;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getThriftFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              schemaCase_ = 2;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getProtobufFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              schemaCase_ = 3;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getParquetFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              schemaCase_ = 4;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getOrcFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              schemaCase_ = 5;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getCsvFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              schemaCase_ = 6;
+              break;
+            } // case 50
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -4173,12 +3879,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int schemaCase_ = 0;
     private java.lang.Object schema_;
-
-    public SchemaCase getSchemaCase() {
-      return SchemaCase.forNumber(schemaCase_);
+    public SchemaCase
+        getSchemaCase() {
+      return SchemaCase.forNumber(
+          schemaCase_);
     }
 
     public Builder clearSchema() {
@@ -4191,19 +3897,13 @@ public Builder clearSchema() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema,
-            com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.Builder,
-            com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchemaOrBuilder>
-        avroBuilder_;
+        com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchemaOrBuilder> avroBuilder_;
     /**
-     *
-     *
      * 
      * Schema in Avro JSON format.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema avro = 1; - * * @return Whether the avro field is set. */ @java.lang.Override @@ -4211,14 +3911,11 @@ public boolean hasAvro() { return schemaCase_ == 1; } /** - * - * *
      * Schema in Avro JSON format.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema avro = 1; - * * @return The avro. */ @java.lang.Override @@ -4236,8 +3933,6 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema getAvro() { } } /** - * - * *
      * Schema in Avro JSON format.
      * 
@@ -4258,8 +3953,6 @@ public Builder setAvro(com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema return this; } /** - * - * *
      * Schema in Avro JSON format.
      * 
@@ -4278,8 +3971,6 @@ public Builder setAvro( return this; } /** - * - * *
      * Schema in Avro JSON format.
      * 
@@ -4288,14 +3979,10 @@ public Builder setAvro( */ public Builder mergeAvro(com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema value) { if (avroBuilder_ == null) { - if (schemaCase_ == 1 - && schema_ - != com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.getDefaultInstance()) { - schema_ = - com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.newBuilder( - (com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) schema_) - .mergeFrom(value) - .buildPartial(); + if (schemaCase_ == 1 && + schema_ != com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.getDefaultInstance()) { + schema_ = com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.newBuilder((com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) schema_) + .mergeFrom(value).buildPartial(); } else { schema_ = value; } @@ -4311,8 +3998,6 @@ public Builder mergeAvro(com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSche return this; } /** - * - * *
      * Schema in Avro JSON format.
      * 
@@ -4336,8 +4021,6 @@ public Builder clearAvro() { return this; } /** - * - * *
      * Schema in Avro JSON format.
      * 
@@ -4348,8 +4031,6 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.Builder getAvro return getAvroFieldBuilder().getBuilder(); } /** - * - * *
      * Schema in Avro JSON format.
      * 
@@ -4368,8 +4049,6 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchemaOrBuilder getAvr } } /** - * - * *
      * Schema in Avro JSON format.
      * 
@@ -4377,19 +4056,14 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchemaOrBuilder getAvr * .google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema avro = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema, - com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.Builder, - com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchemaOrBuilder> + com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchemaOrBuilder> getAvroFieldBuilder() { if (avroBuilder_ == null) { if (!(schemaCase_ == 1)) { schema_ = com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.getDefaultInstance(); } - avroBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema, - com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.Builder, - com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchemaOrBuilder>( + avroBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchemaOrBuilder>( (com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) schema_, getParentForChildren(), isClean()); @@ -4401,19 +4075,13 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchemaOrBuilder getAvr } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema, - com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.Builder, - com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchemaOrBuilder> - thriftBuilder_; + com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchemaOrBuilder> thriftBuilder_; /** - * - * *
      * Schema in Thrift format.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2; - * * @return Whether the thrift field is set. */ @java.lang.Override @@ -4421,14 +4089,11 @@ public boolean hasThrift() { return schemaCase_ == 2; } /** - * - * *
      * Schema in Thrift format.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2; - * * @return The thrift. */ @java.lang.Override @@ -4446,8 +4111,6 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema getThrift() { } } /** - * - * *
      * Schema in Thrift format.
      * 
@@ -4468,8 +4131,6 @@ public Builder setThrift(com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSc return this; } /** - * - * *
      * Schema in Thrift format.
      * 
@@ -4488,8 +4149,6 @@ public Builder setThrift( return this; } /** - * - * *
      * Schema in Thrift format.
      * 
@@ -4498,15 +4157,10 @@ public Builder setThrift( */ public Builder mergeThrift(com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema value) { if (thriftBuilder_ == null) { - if (schemaCase_ == 2 - && schema_ - != com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema - .getDefaultInstance()) { - schema_ = - com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.newBuilder( - (com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) schema_) - .mergeFrom(value) - .buildPartial(); + if (schemaCase_ == 2 && + schema_ != com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.getDefaultInstance()) { + schema_ = com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.newBuilder((com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) schema_) + .mergeFrom(value).buildPartial(); } else { schema_ = value; } @@ -4522,8 +4176,6 @@ public Builder mergeThrift(com.google.cloud.datacatalog.v1.PhysicalSchema.Thrift return this; } /** - * - * *
      * Schema in Thrift format.
      * 
@@ -4547,8 +4199,6 @@ public Builder clearThrift() { return this; } /** - * - * *
      * Schema in Thrift format.
      * 
@@ -4559,8 +4209,6 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.Builder getTh return getThriftFieldBuilder().getBuilder(); } /** - * - * *
      * Schema in Thrift format.
      * 
@@ -4568,8 +4216,7 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.Builder getTh * .google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchemaOrBuilder - getThriftOrBuilder() { + public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchemaOrBuilder getThriftOrBuilder() { if ((schemaCase_ == 2) && (thriftBuilder_ != null)) { return thriftBuilder_.getMessageOrBuilder(); } else { @@ -4580,8 +4227,6 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.Builder getTh } } /** - * - * *
      * Schema in Thrift format.
      * 
@@ -4589,20 +4234,14 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.Builder getTh * .google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema, - com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.Builder, - com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchemaOrBuilder> + com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchemaOrBuilder> getThriftFieldBuilder() { if (thriftBuilder_ == null) { if (!(schemaCase_ == 2)) { - schema_ = - com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.getDefaultInstance(); + schema_ = com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.getDefaultInstance(); } - thriftBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema, - com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.Builder, - com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchemaOrBuilder>( + thriftBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchemaOrBuilder>( (com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) schema_, getParentForChildren(), isClean()); @@ -4614,19 +4253,13 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.Builder getTh } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema, - com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.Builder, - com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchemaOrBuilder> - protobufBuilder_; + com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchemaOrBuilder> protobufBuilder_; /** - * - * *
      * Schema in protocol buffer format.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3; - * * @return Whether the protobuf field is set. */ @java.lang.Override @@ -4634,14 +4267,11 @@ public boolean hasProtobuf() { return schemaCase_ == 3; } /** - * - * *
      * Schema in protocol buffer format.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3; - * * @return The protobuf. */ @java.lang.Override @@ -4659,16 +4289,13 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema getProtobuf } } /** - * - * *
      * Schema in protocol buffer format.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3; */ - public Builder setProtobuf( - com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema value) { + public Builder setProtobuf(com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema value) { if (protobufBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4682,8 +4309,6 @@ public Builder setProtobuf( return this; } /** - * - * *
      * Schema in protocol buffer format.
      * 
@@ -4702,26 +4327,18 @@ public Builder setProtobuf( return this; } /** - * - * *
      * Schema in protocol buffer format.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3; */ - public Builder mergeProtobuf( - com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema value) { + public Builder mergeProtobuf(com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema value) { if (protobufBuilder_ == null) { - if (schemaCase_ == 3 - && schema_ - != com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema - .getDefaultInstance()) { - schema_ = - com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.newBuilder( - (com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) schema_) - .mergeFrom(value) - .buildPartial(); + if (schemaCase_ == 3 && + schema_ != com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.getDefaultInstance()) { + schema_ = com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.newBuilder((com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) schema_) + .mergeFrom(value).buildPartial(); } else { schema_ = value; } @@ -4737,8 +4354,6 @@ public Builder mergeProtobuf( return this; } /** - * - * *
      * Schema in protocol buffer format.
      * 
@@ -4762,21 +4377,16 @@ public Builder clearProtobuf() { return this; } /** - * - * *
      * Schema in protocol buffer format.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3; */ - public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.Builder - getProtobufBuilder() { + public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.Builder getProtobufBuilder() { return getProtobufFieldBuilder().getBuilder(); } /** - * - * *
      * Schema in protocol buffer format.
      * 
@@ -4784,8 +4394,7 @@ public Builder clearProtobuf() { * .google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchemaOrBuilder - getProtobufOrBuilder() { + public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchemaOrBuilder getProtobufOrBuilder() { if ((schemaCase_ == 3) && (protobufBuilder_ != null)) { return protobufBuilder_.getMessageOrBuilder(); } else { @@ -4796,8 +4405,6 @@ public Builder clearProtobuf() { } } /** - * - * *
      * Schema in protocol buffer format.
      * 
@@ -4805,20 +4412,14 @@ public Builder clearProtobuf() { * .google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema, - com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.Builder, - com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchemaOrBuilder> + com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchemaOrBuilder> getProtobufFieldBuilder() { if (protobufBuilder_ == null) { if (!(schemaCase_ == 3)) { - schema_ = - com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.getDefaultInstance(); + schema_ = com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.getDefaultInstance(); } - protobufBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema, - com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.Builder, - com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchemaOrBuilder>( + protobufBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchemaOrBuilder>( (com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) schema_, getParentForChildren(), isClean()); @@ -4830,19 +4431,13 @@ public Builder clearProtobuf() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema, - com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.Builder, - com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchemaOrBuilder> - parquetBuilder_; + com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchemaOrBuilder> parquetBuilder_; /** - * - * *
      * Marks a Parquet-encoded data source.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4; - * * @return Whether the parquet field is set. */ @java.lang.Override @@ -4850,14 +4445,11 @@ public boolean hasParquet() { return schemaCase_ == 4; } /** - * - * *
      * Marks a Parquet-encoded data source.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4; - * * @return The parquet. */ @java.lang.Override @@ -4875,8 +4467,6 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema getParquet() } } /** - * - * *
      * Marks a Parquet-encoded data source.
      * 
@@ -4897,8 +4487,6 @@ public Builder setParquet(com.google.cloud.datacatalog.v1.PhysicalSchema.Parquet return this; } /** - * - * *
      * Marks a Parquet-encoded data source.
      * 
@@ -4917,26 +4505,18 @@ public Builder setParquet( return this; } /** - * - * *
      * Marks a Parquet-encoded data source.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4; */ - public Builder mergeParquet( - com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema value) { + public Builder mergeParquet(com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema value) { if (parquetBuilder_ == null) { - if (schemaCase_ == 4 - && schema_ - != com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema - .getDefaultInstance()) { - schema_ = - com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.newBuilder( - (com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) schema_) - .mergeFrom(value) - .buildPartial(); + if (schemaCase_ == 4 && + schema_ != com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.getDefaultInstance()) { + schema_ = com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.newBuilder((com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) schema_) + .mergeFrom(value).buildPartial(); } else { schema_ = value; } @@ -4952,8 +4532,6 @@ public Builder mergeParquet( return this; } /** - * - * *
      * Marks a Parquet-encoded data source.
      * 
@@ -4977,21 +4555,16 @@ public Builder clearParquet() { return this; } /** - * - * *
      * Marks a Parquet-encoded data source.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4; */ - public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.Builder - getParquetBuilder() { + public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.Builder getParquetBuilder() { return getParquetFieldBuilder().getBuilder(); } /** - * - * *
      * Marks a Parquet-encoded data source.
      * 
@@ -4999,8 +4572,7 @@ public Builder clearParquet() { * .google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchemaOrBuilder - getParquetOrBuilder() { + public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchemaOrBuilder getParquetOrBuilder() { if ((schemaCase_ == 4) && (parquetBuilder_ != null)) { return parquetBuilder_.getMessageOrBuilder(); } else { @@ -5011,8 +4583,6 @@ public Builder clearParquet() { } } /** - * - * *
      * Marks a Parquet-encoded data source.
      * 
@@ -5020,20 +4590,14 @@ public Builder clearParquet() { * .google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema, - com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.Builder, - com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchemaOrBuilder> + com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchemaOrBuilder> getParquetFieldBuilder() { if (parquetBuilder_ == null) { if (!(schemaCase_ == 4)) { - schema_ = - com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.getDefaultInstance(); + schema_ = com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.getDefaultInstance(); } - parquetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema, - com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.Builder, - com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchemaOrBuilder>( + parquetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchemaOrBuilder>( (com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) schema_, getParentForChildren(), isClean()); @@ -5045,19 +4609,13 @@ public Builder clearParquet() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema, - com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.Builder, - com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchemaOrBuilder> - orcBuilder_; + com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchemaOrBuilder> orcBuilder_; /** - * - * *
      * Marks an ORC-encoded data source.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema orc = 5; - * * @return Whether the orc field is set. */ @java.lang.Override @@ -5065,14 +4623,11 @@ public boolean hasOrc() { return schemaCase_ == 5; } /** - * - * *
      * Marks an ORC-encoded data source.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema orc = 5; - * * @return The orc. */ @java.lang.Override @@ -5090,8 +4645,6 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema getOrc() { } } /** - * - * *
      * Marks an ORC-encoded data source.
      * 
@@ -5112,8 +4665,6 @@ public Builder setOrc(com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema v return this; } /** - * - * *
      * Marks an ORC-encoded data source.
      * 
@@ -5132,8 +4683,6 @@ public Builder setOrc( return this; } /** - * - * *
      * Marks an ORC-encoded data source.
      * 
@@ -5142,14 +4691,10 @@ public Builder setOrc( */ public Builder mergeOrc(com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema value) { if (orcBuilder_ == null) { - if (schemaCase_ == 5 - && schema_ - != com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.getDefaultInstance()) { - schema_ = - com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.newBuilder( - (com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) schema_) - .mergeFrom(value) - .buildPartial(); + if (schemaCase_ == 5 && + schema_ != com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.getDefaultInstance()) { + schema_ = com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.newBuilder((com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) schema_) + .mergeFrom(value).buildPartial(); } else { schema_ = value; } @@ -5165,8 +4710,6 @@ public Builder mergeOrc(com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema return this; } /** - * - * *
      * Marks an ORC-encoded data source.
      * 
@@ -5190,8 +4733,6 @@ public Builder clearOrc() { return this; } /** - * - * *
      * Marks an ORC-encoded data source.
      * 
@@ -5202,8 +4743,6 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.Builder getOrcBu return getOrcFieldBuilder().getBuilder(); } /** - * - * *
      * Marks an ORC-encoded data source.
      * 
@@ -5222,8 +4761,6 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchemaOrBuilder getOrcO } } /** - * - * *
      * Marks an ORC-encoded data source.
      * 
@@ -5231,19 +4768,14 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchemaOrBuilder getOrcO * .google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema orc = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema, - com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.Builder, - com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchemaOrBuilder> + com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchemaOrBuilder> getOrcFieldBuilder() { if (orcBuilder_ == null) { if (!(schemaCase_ == 5)) { schema_ = com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.getDefaultInstance(); } - orcBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema, - com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.Builder, - com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchemaOrBuilder>( + orcBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchemaOrBuilder>( (com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) schema_, getParentForChildren(), isClean()); @@ -5255,19 +4787,13 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchemaOrBuilder getOrcO } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema, - com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.Builder, - com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchemaOrBuilder> - csvBuilder_; + com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchemaOrBuilder> csvBuilder_; /** - * - * *
      * Marks a CSV-encoded data source.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema csv = 6; - * * @return Whether the csv field is set. */ @java.lang.Override @@ -5275,14 +4801,11 @@ public boolean hasCsv() { return schemaCase_ == 6; } /** - * - * *
      * Marks a CSV-encoded data source.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema csv = 6; - * * @return The csv. */ @java.lang.Override @@ -5300,8 +4823,6 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema getCsv() { } } /** - * - * *
      * Marks a CSV-encoded data source.
      * 
@@ -5322,8 +4843,6 @@ public Builder setCsv(com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema v return this; } /** - * - * *
      * Marks a CSV-encoded data source.
      * 
@@ -5342,8 +4861,6 @@ public Builder setCsv( return this; } /** - * - * *
      * Marks a CSV-encoded data source.
      * 
@@ -5352,14 +4869,10 @@ public Builder setCsv( */ public Builder mergeCsv(com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema value) { if (csvBuilder_ == null) { - if (schemaCase_ == 6 - && schema_ - != com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.getDefaultInstance()) { - schema_ = - com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.newBuilder( - (com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) schema_) - .mergeFrom(value) - .buildPartial(); + if (schemaCase_ == 6 && + schema_ != com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.getDefaultInstance()) { + schema_ = com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.newBuilder((com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) schema_) + .mergeFrom(value).buildPartial(); } else { schema_ = value; } @@ -5375,8 +4888,6 @@ public Builder mergeCsv(com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema return this; } /** - * - * *
      * Marks a CSV-encoded data source.
      * 
@@ -5400,8 +4911,6 @@ public Builder clearCsv() { return this; } /** - * - * *
      * Marks a CSV-encoded data source.
      * 
@@ -5412,8 +4921,6 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.Builder getCsvBu return getCsvFieldBuilder().getBuilder(); } /** - * - * *
      * Marks a CSV-encoded data source.
      * 
@@ -5432,8 +4939,6 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchemaOrBuilder getCsvO } } /** - * - * *
      * Marks a CSV-encoded data source.
      * 
@@ -5441,19 +4946,14 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchemaOrBuilder getCsvO * .google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema csv = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema, - com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.Builder, - com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchemaOrBuilder> + com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchemaOrBuilder> getCsvFieldBuilder() { if (csvBuilder_ == null) { if (!(schemaCase_ == 6)) { schema_ = com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.getDefaultInstance(); } - csvBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema, - com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.Builder, - com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchemaOrBuilder>( + csvBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchemaOrBuilder>( (com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) schema_, getParentForChildren(), isClean()); @@ -5463,9 +4963,9 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchemaOrBuilder getCsvO onChanged(); return csvBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5475,12 +4975,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.PhysicalSchema) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.PhysicalSchema) private static final com.google.cloud.datacatalog.v1.PhysicalSchema DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.PhysicalSchema(); } @@ -5489,27 +4989,27 @@ public static com.google.cloud.datacatalog.v1.PhysicalSchema getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PhysicalSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PhysicalSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5524,4 +5024,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.PhysicalSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaOrBuilder.java similarity index 84% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaOrBuilder.java index 9c7160ec1eea..177effb23fa9 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/physical_schema.proto package com.google.cloud.datacatalog.v1; -public interface PhysicalSchemaOrBuilder - extends +public interface PhysicalSchemaOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.PhysicalSchema) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Schema in Avro JSON format.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema avro = 1; - * * @return Whether the avro field is set. */ boolean hasAvro(); /** - * - * *
    * Schema in Avro JSON format.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema avro = 1; - * * @return The avro. */ com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema getAvro(); /** - * - * *
    * Schema in Avro JSON format.
    * 
@@ -59,32 +35,24 @@ public interface PhysicalSchemaOrBuilder com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchemaOrBuilder getAvroOrBuilder(); /** - * - * *
    * Schema in Thrift format.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2; - * * @return Whether the thrift field is set. */ boolean hasThrift(); /** - * - * *
    * Schema in Thrift format.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2; - * * @return The thrift. */ com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema getThrift(); /** - * - * *
    * Schema in Thrift format.
    * 
@@ -94,32 +62,24 @@ public interface PhysicalSchemaOrBuilder com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchemaOrBuilder getThriftOrBuilder(); /** - * - * *
    * Schema in protocol buffer format.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3; - * * @return Whether the protobuf field is set. */ boolean hasProtobuf(); /** - * - * *
    * Schema in protocol buffer format.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3; - * * @return The protobuf. */ com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema getProtobuf(); /** - * - * *
    * Schema in protocol buffer format.
    * 
@@ -129,32 +89,24 @@ public interface PhysicalSchemaOrBuilder com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchemaOrBuilder getProtobufOrBuilder(); /** - * - * *
    * Marks a Parquet-encoded data source.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4; - * * @return Whether the parquet field is set. */ boolean hasParquet(); /** - * - * *
    * Marks a Parquet-encoded data source.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4; - * * @return The parquet. */ com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema getParquet(); /** - * - * *
    * Marks a Parquet-encoded data source.
    * 
@@ -164,32 +116,24 @@ public interface PhysicalSchemaOrBuilder com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchemaOrBuilder getParquetOrBuilder(); /** - * - * *
    * Marks an ORC-encoded data source.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema orc = 5; - * * @return Whether the orc field is set. */ boolean hasOrc(); /** - * - * *
    * Marks an ORC-encoded data source.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema orc = 5; - * * @return The orc. */ com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema getOrc(); /** - * - * *
    * Marks an ORC-encoded data source.
    * 
@@ -199,32 +143,24 @@ public interface PhysicalSchemaOrBuilder com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchemaOrBuilder getOrcOrBuilder(); /** - * - * *
    * Marks a CSV-encoded data source.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema csv = 6; - * * @return Whether the csv field is set. */ boolean hasCsv(); /** - * - * *
    * Marks a CSV-encoded data source.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema csv = 6; - * * @return The csv. */ com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema getCsv(); /** - * - * *
    * Marks a CSV-encoded data source.
    * 
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaProto.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaProto.java new file mode 100644 index 000000000000..6058b070ca0b --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaProto.java @@ -0,0 +1,134 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/physical_schema.proto + +package com.google.cloud.datacatalog.v1; + +public final class PhysicalSchemaProto { + private PhysicalSchemaProto() {} + 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_datacatalog_v1_PhysicalSchema_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n1google/cloud/datacatalog/v1/physical_s" + + "chema.proto\022\033google.cloud.datacatalog.v1" + + "\"\335\004\n\016PhysicalSchema\022F\n\004avro\030\001 \001(\01326.goog" + + "le.cloud.datacatalog.v1.PhysicalSchema.A" + + "vroSchemaH\000\022J\n\006thrift\030\002 \001(\01328.google.clo" + + "ud.datacatalog.v1.PhysicalSchema.ThriftS" + + "chemaH\000\022N\n\010protobuf\030\003 \001(\0132:.google.cloud" + + ".datacatalog.v1.PhysicalSchema.ProtobufS" + + "chemaH\000\022L\n\007parquet\030\004 \001(\01329.google.cloud." + + "datacatalog.v1.PhysicalSchema.ParquetSch" + + "emaH\000\022D\n\003orc\030\005 \001(\01325.google.cloud.dataca" + + "talog.v1.PhysicalSchema.OrcSchemaH\000\022D\n\003c" + + "sv\030\006 \001(\01325.google.cloud.datacatalog.v1.P" + + "hysicalSchema.CsvSchemaH\000\032\032\n\nAvroSchema\022" + + "\014\n\004text\030\001 \001(\t\032\034\n\014ThriftSchema\022\014\n\004text\030\001 " + + "\001(\t\032\036\n\016ProtobufSchema\022\014\n\004text\030\001 \001(\t\032\017\n\rP" + + "arquetSchema\032\013\n\tOrcSchema\032\013\n\tCsvSchemaB\010" + + "\n\006schemaB\333\001\n\037com.google.cloud.datacatalo" + + "g.v1B\023PhysicalSchemaProtoP\001ZAcloud.googl" + + "e.com/go/datacatalog/apiv1/datacatalogpb" + + ";datacatalogpb\370\001\001\252\002\033Google.Cloud.DataCat" + + "alog.V1\312\002\033Google\\Cloud\\DataCatalog\\V1\352\002\036" + + "Google::Cloud::DataCatalog::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor, + new java.lang.String[] { "Avro", "Thrift", "Protobuf", "Parquet", "Orc", "Csv", "Schema", }); + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_descriptor = + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_descriptor, + new java.lang.String[] { "Text", }); + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_descriptor = + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_descriptor, + new java.lang.String[] { "Text", }); + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_descriptor = + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_descriptor, + new java.lang.String[] { "Text", }); + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_descriptor = + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_descriptor = + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_descriptor = + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor.getNestedTypes().get(5); + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_descriptor, + new java.lang.String[] { }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTag.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTag.java similarity index 74% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTag.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTag.java index 34f53c2132c2..baa93c88dd65 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTag.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTag.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Denotes one policy tag in a taxonomy, for example, SSN.
  *
@@ -38,52 +21,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.PolicyTag}
  */
-public final class PolicyTag extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class PolicyTag extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.PolicyTag)
     PolicyTagOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use PolicyTag.newBuilder() to construct.
   private PolicyTag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private PolicyTag() {
     name_ = "";
     displayName_ = "";
     description_ = "";
     parentPolicyTag_ = "";
-    childPolicyTags_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    childPolicyTags_ =
+        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 PolicyTag();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1_PolicyTag_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_PolicyTag_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1_PolicyTag_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_PolicyTag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.PolicyTag.class,
-            com.google.cloud.datacatalog.v1.PolicyTag.Builder.class);
+            com.google.cloud.datacatalog.v1.PolicyTag.class, com.google.cloud.datacatalog.v1.PolicyTag.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Output only. Resource name of this policy tag in the URL format.
    *
@@ -91,7 +70,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -100,15 +78,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Resource name of this policy tag in the URL format.
    *
@@ -116,15 +93,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 { @@ -133,12 +111,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Required. User-defined name of this policy tag.
    *
@@ -148,7 +123,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -157,15 +131,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; } } /** - * - * *
    * Required. User-defined name of this policy tag.
    *
@@ -175,15 +148,16 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -192,12 +166,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Description of this policy tag. If not set, defaults to empty.
    *
@@ -207,7 +178,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -216,15 +186,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; } } /** - * - * *
    * Description of this policy tag. If not set, defaults to empty.
    *
@@ -234,15 +203,16 @@ public java.lang.String getDescription() {
    * 
* * string description = 3; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -251,12 +221,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int PARENT_POLICY_TAG_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object parentPolicyTag_ = ""; /** - * - * *
    * Resource name of this policy tag's parent policy tag. If empty, this is a
    * top level tag. If not set, defaults to an empty string.
@@ -267,7 +234,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
    * 
* * string parent_policy_tag = 4; - * * @return The parentPolicyTag. */ @java.lang.Override @@ -276,15 +242,14 @@ public java.lang.String getParentPolicyTag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentPolicyTag_ = s; return s; } } /** - * - * *
    * Resource name of this policy tag's parent policy tag. If empty, this is a
    * top level tag. If not set, defaults to an empty string.
@@ -295,15 +260,16 @@ public java.lang.String getParentPolicyTag() {
    * 
* * string parent_policy_tag = 4; - * * @return The bytes for parentPolicyTag. */ @java.lang.Override - public com.google.protobuf.ByteString getParentPolicyTagBytes() { + public com.google.protobuf.ByteString + getParentPolicyTagBytes() { java.lang.Object ref = parentPolicyTag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parentPolicyTag_ = b; return b; } else { @@ -312,50 +278,38 @@ public com.google.protobuf.ByteString getParentPolicyTagBytes() { } public static final int CHILD_POLICY_TAGS_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList childPolicyTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Output only. Resource names of child policy tags of this policy tag.
    * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the childPolicyTags. */ - public com.google.protobuf.ProtocolStringList getChildPolicyTagsList() { + public com.google.protobuf.ProtocolStringList + getChildPolicyTagsList() { return childPolicyTags_; } /** - * - * *
    * Output only. Resource names of child policy tags of this policy tag.
    * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of childPolicyTags. */ public int getChildPolicyTagsCount() { return childPolicyTags_.size(); } /** - * - * *
    * Output only. Resource names of child policy tags of this policy tag.
    * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The childPolicyTags at the given index. */ @@ -363,24 +317,20 @@ public java.lang.String getChildPolicyTags(int index) { return childPolicyTags_.get(index); } /** - * - * *
    * Output only. Resource names of child policy tags of this policy tag.
    * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the childPolicyTags at the given index. */ - public com.google.protobuf.ByteString getChildPolicyTagsBytes(int index) { + public com.google.protobuf.ByteString + getChildPolicyTagsBytes(int index) { return childPolicyTags_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -392,7 +342,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -445,19 +396,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.datacatalog.v1.PolicyTag)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.PolicyTag other = - (com.google.cloud.datacatalog.v1.PolicyTag) obj; - - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getParentPolicyTag().equals(other.getParentPolicyTag())) return false; - if (!getChildPolicyTagsList().equals(other.getChildPolicyTagsList())) return false; + com.google.cloud.datacatalog.v1.PolicyTag other = (com.google.cloud.datacatalog.v1.PolicyTag) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getParentPolicyTag() + .equals(other.getParentPolicyTag())) return false; + if (!getChildPolicyTagsList() + .equals(other.getChildPolicyTagsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -486,104 +441,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.PolicyTag parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.PolicyTag parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.PolicyTag parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PolicyTag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.PolicyTag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PolicyTag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.PolicyTag parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PolicyTag parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.PolicyTag parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PolicyTag parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.PolicyTag parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.PolicyTag parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PolicyTag parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.PolicyTag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.PolicyTag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 policy tag in a taxonomy, for example, SSN.
    *
@@ -601,32 +551,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.PolicyTag}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.PolicyTag)
       com.google.cloud.datacatalog.v1.PolicyTagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_PolicyTag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_PolicyTag_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_PolicyTag_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_PolicyTag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.PolicyTag.class,
-              com.google.cloud.datacatalog.v1.PolicyTag.Builder.class);
+              com.google.cloud.datacatalog.v1.PolicyTag.class, com.google.cloud.datacatalog.v1.PolicyTag.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.PolicyTag.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -635,14 +586,15 @@ public Builder clear() {
       displayName_ = "";
       description_ = "";
       parentPolicyTag_ = "";
-      childPolicyTags_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      childPolicyTags_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_PolicyTag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_PolicyTag_descriptor;
     }
 
     @java.lang.Override
@@ -661,11 +613,8 @@ public com.google.cloud.datacatalog.v1.PolicyTag build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.PolicyTag buildPartial() {
-      com.google.cloud.datacatalog.v1.PolicyTag result =
-          new com.google.cloud.datacatalog.v1.PolicyTag(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.PolicyTag result = new com.google.cloud.datacatalog.v1.PolicyTag(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -694,39 +643,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.PolicyTag result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.PolicyTag) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.PolicyTag) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.PolicyTag)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -791,44 +739,38 @@ 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 34:
-              {
-                parentPolicyTag_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureChildPolicyTagsIsMutable();
-                childPolicyTags_.add(s);
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              description_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              parentPolicyTag_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureChildPolicyTagsIsMutable();
+              childPolicyTags_.add(s);
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -838,13 +780,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. Resource name of this policy tag in the URL format.
      *
@@ -852,13 +791,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -867,8 +806,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name of this policy tag in the URL format.
      *
@@ -876,14 +813,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 { @@ -891,8 +829,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name of this policy tag in the URL format.
      *
@@ -900,22 +836,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. Resource name of this policy tag in the URL format.
      *
@@ -923,7 +855,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() { @@ -933,8 +864,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Resource name of this policy tag in the URL format.
      *
@@ -942,14 +871,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; @@ -959,8 +886,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. User-defined name of this policy tag.
      *
@@ -970,13 +895,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -985,8 +910,6 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. User-defined name of this policy tag.
      *
@@ -996,14 +919,15 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -1011,8 +935,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. User-defined name of this policy tag.
      *
@@ -1022,22 +944,18 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @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; } /** - * - * *
      * Required. User-defined name of this policy tag.
      *
@@ -1047,7 +965,6 @@ public Builder setDisplayName(java.lang.String value) {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1057,8 +974,6 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Required. User-defined name of this policy tag.
      *
@@ -1068,14 +983,12 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -1085,8 +998,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Description of this policy tag. If not set, defaults to empty.
      *
@@ -1096,13 +1007,13 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string description = 3; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1111,8 +1022,6 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Description of this policy tag. If not set, defaults to empty.
      *
@@ -1122,14 +1031,15 @@ public java.lang.String getDescription() {
      * 
* * string description = 3; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1137,8 +1047,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Description of this policy tag. If not set, defaults to empty.
      *
@@ -1148,22 +1056,18 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Description of this policy tag. If not set, defaults to empty.
      *
@@ -1173,7 +1077,6 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1183,8 +1086,6 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Description of this policy tag. If not set, defaults to empty.
      *
@@ -1194,14 +1095,12 @@ public Builder clearDescription() {
      * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -1211,8 +1110,6 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object parentPolicyTag_ = ""; /** - * - * *
      * Resource name of this policy tag's parent policy tag. If empty, this is a
      * top level tag. If not set, defaults to an empty string.
@@ -1223,13 +1120,13 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
      * 
* * string parent_policy_tag = 4; - * * @return The parentPolicyTag. */ public java.lang.String getParentPolicyTag() { java.lang.Object ref = parentPolicyTag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentPolicyTag_ = s; return s; @@ -1238,8 +1135,6 @@ public java.lang.String getParentPolicyTag() { } } /** - * - * *
      * Resource name of this policy tag's parent policy tag. If empty, this is a
      * top level tag. If not set, defaults to an empty string.
@@ -1250,14 +1145,15 @@ public java.lang.String getParentPolicyTag() {
      * 
* * string parent_policy_tag = 4; - * * @return The bytes for parentPolicyTag. */ - public com.google.protobuf.ByteString getParentPolicyTagBytes() { + public com.google.protobuf.ByteString + getParentPolicyTagBytes() { java.lang.Object ref = parentPolicyTag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parentPolicyTag_ = b; return b; } else { @@ -1265,8 +1161,6 @@ public com.google.protobuf.ByteString getParentPolicyTagBytes() { } } /** - * - * *
      * Resource name of this policy tag's parent policy tag. If empty, this is a
      * top level tag. If not set, defaults to an empty string.
@@ -1277,22 +1171,18 @@ public com.google.protobuf.ByteString getParentPolicyTagBytes() {
      * 
* * string parent_policy_tag = 4; - * * @param value The parentPolicyTag to set. * @return This builder for chaining. */ - public Builder setParentPolicyTag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentPolicyTag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parentPolicyTag_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Resource name of this policy tag's parent policy tag. If empty, this is a
      * top level tag. If not set, defaults to an empty string.
@@ -1303,7 +1193,6 @@ public Builder setParentPolicyTag(java.lang.String value) {
      * 
* * string parent_policy_tag = 4; - * * @return This builder for chaining. */ public Builder clearParentPolicyTag() { @@ -1313,8 +1202,6 @@ public Builder clearParentPolicyTag() { return this; } /** - * - * *
      * Resource name of this policy tag's parent policy tag. If empty, this is a
      * top level tag. If not set, defaults to an empty string.
@@ -1325,14 +1212,12 @@ public Builder clearParentPolicyTag() {
      * 
* * string parent_policy_tag = 4; - * * @param value The bytes for parentPolicyTag to set. * @return This builder for chaining. */ - public Builder setParentPolicyTagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentPolicyTagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parentPolicyTag_ = value; bitField0_ |= 0x00000008; @@ -1342,7 +1227,6 @@ public Builder setParentPolicyTagBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList childPolicyTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureChildPolicyTagsIsMutable() { if (!childPolicyTags_.isModifiable()) { childPolicyTags_ = new com.google.protobuf.LazyStringArrayList(childPolicyTags_); @@ -1350,46 +1234,35 @@ private void ensureChildPolicyTagsIsMutable() { bitField0_ |= 0x00000010; } /** - * - * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the childPolicyTags. */ - public com.google.protobuf.ProtocolStringList getChildPolicyTagsList() { + public com.google.protobuf.ProtocolStringList + getChildPolicyTagsList() { childPolicyTags_.makeImmutable(); return childPolicyTags_; } /** - * - * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of childPolicyTags. */ public int getChildPolicyTagsCount() { return childPolicyTags_.size(); } /** - * - * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The childPolicyTags at the given index. */ @@ -1397,39 +1270,31 @@ public java.lang.String getChildPolicyTags(int index) { return childPolicyTags_.get(index); } /** - * - * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the childPolicyTags at the given index. */ - public com.google.protobuf.ByteString getChildPolicyTagsBytes(int index) { + public com.google.protobuf.ByteString + getChildPolicyTagsBytes(int index) { return childPolicyTags_.getByteString(index); } /** - * - * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index to set the value at. * @param value The childPolicyTags to set. * @return This builder for chaining. */ - public Builder setChildPolicyTags(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setChildPolicyTags( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureChildPolicyTagsIsMutable(); childPolicyTags_.set(index, value); bitField0_ |= 0x00000010; @@ -1437,22 +1302,17 @@ public Builder setChildPolicyTags(int index, java.lang.String value) { return this; } /** - * - * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The childPolicyTags to add. * @return This builder for chaining. */ - public Builder addChildPolicyTags(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addChildPolicyTags( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureChildPolicyTagsIsMutable(); childPolicyTags_.add(value); bitField0_ |= 0x00000010; @@ -1460,61 +1320,50 @@ public Builder addChildPolicyTags(java.lang.String value) { return this; } /** - * - * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The childPolicyTags to add. * @return This builder for chaining. */ - public Builder addAllChildPolicyTags(java.lang.Iterable values) { + public Builder addAllChildPolicyTags( + java.lang.Iterable values) { ensureChildPolicyTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, childPolicyTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, childPolicyTags_); bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearChildPolicyTags() { - childPolicyTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - ; + childPolicyTags_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010);; onChanged(); return this; } /** - * - * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes of the childPolicyTags to add. * @return This builder for chaining. */ - public Builder addChildPolicyTagsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addChildPolicyTagsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureChildPolicyTagsIsMutable(); childPolicyTags_.add(value); @@ -1522,9 +1371,9 @@ public Builder addChildPolicyTagsBytes(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); } @@ -1534,12 +1383,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.PolicyTag) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.PolicyTag) private static final com.google.cloud.datacatalog.v1.PolicyTag DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.PolicyTag(); } @@ -1548,27 +1397,27 @@ public static com.google.cloud.datacatalog.v1.PolicyTag getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PolicyTag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PolicyTag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1583,4 +1432,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.PolicyTag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerProto.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerProto.java new file mode 100644 index 000000000000..fa20fc54d491 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerProto.java @@ -0,0 +1,373 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/policytagmanager.proto + +package com.google.cloud.datacatalog.v1; + +public final class PolicyTagManagerProto { + private PolicyTagManagerProto() {} + 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_datacatalog_v1_Taxonomy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_Taxonomy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_PolicyTag_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_PolicyTag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n2google/cloud/datacatalog/v1/policytagm" + + "anager.proto\022\033google.cloud.datacatalog.v" + + "1\032\034google/api/annotations.proto\032\027google/" + + "api/client.proto\032\037google/api/field_behav" + + "ior.proto\032\031google/api/resource.proto\032(go" + + "ogle/cloud/datacatalog/v1/common.proto\032," + + "google/cloud/datacatalog/v1/timestamps.p" + + "roto\032\036google/iam/v1/iam_policy.proto\032\032go" + + "ogle/iam/v1/policy.proto\032\033google/protobu" + + "f/empty.proto\032 google/protobuf/field_mas" + + "k.proto\"\362\004\n\010Taxonomy\022\022\n\004name\030\001 \001(\tB\004\342A\001\003" + + "\022\032\n\014display_name\030\002 \001(\tB\004\342A\001\002\022\031\n\013descript" + + "ion\030\003 \001(\tB\004\342A\001\001\022\036\n\020policy_tag_count\030\004 \001(" + + "\005B\004\342A\001\003\022P\n\023taxonomy_timestamps\030\005 \001(\0132-.g" + + "oogle.cloud.datacatalog.v1.SystemTimesta" + + "mpsB\004\342A\001\003\022V\n\026activated_policy_types\030\006 \003(" + + "\01620.google.cloud.datacatalog.v1.Taxonomy" + + ".PolicyTypeB\004\342A\001\001\022D\n\007service\030\007 \001(\0132-.goo" + + "gle.cloud.datacatalog.v1.Taxonomy.Servic" + + "eB\004\342A\001\003\032V\n\007Service\0229\n\004name\030\001 \001(\0162+.googl" + + "e.cloud.datacatalog.v1.ManagingSystem\022\020\n" + + "\010identity\030\002 \001(\t\"J\n\nPolicyType\022\033\n\027POLICY_" + + "TYPE_UNSPECIFIED\020\000\022\037\n\033FINE_GRAINED_ACCES" + + "S_CONTROL\020\001:g\352Ad\n#datacatalog.googleapis" + + ".com/Taxonomy\022=projects/{project}/locati" + + "ons/{location}/taxonomies/{taxonomy}\"\217\002\n" + + "\tPolicyTag\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\032\n\014displa" + + "y_name\030\002 \001(\tB\004\342A\001\002\022\023\n\013description\030\003 \001(\t\022" + + "\031\n\021parent_policy_tag\030\004 \001(\t\022\037\n\021child_poli" + + "cy_tags\030\005 \003(\tB\004\342A\001\003:\200\001\352A}\n$datacatalog.g" + + "oogleapis.com/PolicyTag\022Uprojects/{proje" + + "ct}/locations/{location}/taxonomies/{tax" + + "onomy}/policyTags/{policy_tag}\"\216\001\n\025Creat" + + "eTaxonomyRequest\022<\n\006parent\030\001 \001(\tB,\342A\001\002\372A" + + "%\022#datacatalog.googleapis.com/Taxonomy\0227" + + "\n\010taxonomy\030\002 \001(\0132%.google.cloud.datacata" + + "log.v1.Taxonomy\"S\n\025DeleteTaxonomyRequest" + + "\022:\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#datacatalog.goo" + + "gleapis.com/Taxonomy\"\201\001\n\025UpdateTaxonomyR" + + "equest\0227\n\010taxonomy\030\001 \001(\0132%.google.cloud." + + "datacatalog.v1.Taxonomy\022/\n\013update_mask\030\002" + + " \001(\0132\032.google.protobuf.FieldMask\"\214\001\n\025Lis" + + "tTaxonomiesRequest\022<\n\006parent\030\001 \001(\tB,\342A\001\002" + + "\372A%\022#datacatalog.googleapis.com/Taxonomy" + + "\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022" + + "\016\n\006filter\030\004 \001(\t\"l\n\026ListTaxonomiesRespons" + + "e\0229\n\ntaxonomies\030\001 \003(\0132%.google.cloud.dat" + + "acatalog.v1.Taxonomy\022\027\n\017next_page_token\030" + + "\002 \001(\t\"P\n\022GetTaxonomyRequest\022:\n\004name\030\001 \001(" + + "\tB,\342A\001\002\372A%\n#datacatalog.googleapis.com/T" + + "axonomy\"\223\001\n\026CreatePolicyTagRequest\022=\n\006pa" + + "rent\030\001 \001(\tB-\342A\001\002\372A&\022$datacatalog.googlea" + + "pis.com/PolicyTag\022:\n\npolicy_tag\030\002 \001(\0132&." + + "google.cloud.datacatalog.v1.PolicyTag\"U\n" + + "\026DeletePolicyTagRequest\022;\n\004name\030\001 \001(\tB-\342" + + "A\001\002\372A&\n$datacatalog.googleapis.com/Polic" + + "yTag\"\205\001\n\026UpdatePolicyTagRequest\022:\n\npolic" + + "y_tag\030\001 \001(\0132&.google.cloud.datacatalog.v" + + "1.PolicyTag\022/\n\013update_mask\030\002 \001(\0132\032.googl" + + "e.protobuf.FieldMask\"}\n\025ListPolicyTagsRe" + + "quest\022=\n\006parent\030\001 \001(\tB-\342A\001\002\372A&\022$datacata" + + "log.googleapis.com/PolicyTag\022\021\n\tpage_siz" + + "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"n\n\026ListPolic" + + "yTagsResponse\022;\n\013policy_tags\030\001 \003(\0132&.goo" + + "gle.cloud.datacatalog.v1.PolicyTag\022\027\n\017ne" + + "xt_page_token\030\002 \001(\t\"R\n\023GetPolicyTagReque" + + "st\022;\n\004name\030\001 \001(\tB-\342A\001\002\372A&\n$datacatalog.g" + + "oogleapis.com/PolicyTag2\273\025\n\020PolicyTagMan" + + "ager\022\277\001\n\016CreateTaxonomy\0222.google.cloud.d" + + "atacatalog.v1.CreateTaxonomyRequest\032%.go" + + "ogle.cloud.datacatalog.v1.Taxonomy\"R\332A\017p" + + "arent,taxonomy\202\323\344\223\002:\"./v1/{parent=projec" + + "ts/*/locations/*}/taxonomies:\010taxonomy\022\233" + + "\001\n\016DeleteTaxonomy\0222.google.cloud.datacat" + + "alog.v1.DeleteTaxonomyRequest\032\026.google.p" + + "rotobuf.Empty\"=\332A\004name\202\323\344\223\0020*./v1/{name=" + + "projects/*/locations/*/taxonomies/*}\022\301\001\n" + + "\016UpdateTaxonomy\0222.google.cloud.datacatal" + + "og.v1.UpdateTaxonomyRequest\032%.google.clo" + + "ud.datacatalog.v1.Taxonomy\"T\332A\010taxonomy\202" + + "\323\344\223\002C27/v1/{taxonomy.name=projects/*/loc" + + "ations/*/taxonomies/*}:\010taxonomy\022\272\001\n\016Lis" + + "tTaxonomies\0222.google.cloud.datacatalog.v" + + "1.ListTaxonomiesRequest\0323.google.cloud.d" + + "atacatalog.v1.ListTaxonomiesResponse\"?\332A" + + "\006parent\202\323\344\223\0020\022./v1/{parent=projects/*/lo" + + "cations/*}/taxonomies\022\244\001\n\013GetTaxonomy\022/." + + "google.cloud.datacatalog.v1.GetTaxonomyR" + + "equest\032%.google.cloud.datacatalog.v1.Tax" + + "onomy\"=\332A\004name\202\323\344\223\0020\022./v1/{name=projects" + + "/*/locations/*/taxonomies/*}\022\323\001\n\017CreateP" + + "olicyTag\0223.google.cloud.datacatalog.v1.C" + + "reatePolicyTagRequest\032&.google.cloud.dat" + + "acatalog.v1.PolicyTag\"c\332A\021parent,policy_" + + "tag\202\323\344\223\002I\";/v1/{parent=projects/*/locati" + + "ons/*/taxonomies/*}/policyTags:\npolicy_t" + + "ag\022\252\001\n\017DeletePolicyTag\0223.google.cloud.da" + + "tacatalog.v1.DeletePolicyTagRequest\032\026.go" + + "ogle.protobuf.Empty\"J\332A\004name\202\323\344\223\002=*;/v1/" + + "{name=projects/*/locations/*/taxonomies/" + + "*/policyTags/*}\022\327\001\n\017UpdatePolicyTag\0223.go" + + "ogle.cloud.datacatalog.v1.UpdatePolicyTa" + + "gRequest\032&.google.cloud.datacatalog.v1.P" + + "olicyTag\"g\332A\npolicy_tag\202\323\344\223\002T2F/v1/{poli" + + "cy_tag.name=projects/*/locations/*/taxon" + + "omies/*/policyTags/*}:\npolicy_tag\022\307\001\n\016Li" + + "stPolicyTags\0222.google.cloud.datacatalog." + + "v1.ListPolicyTagsRequest\0323.google.cloud." + + "datacatalog.v1.ListPolicyTagsResponse\"L\332" + + "A\006parent\202\323\344\223\002=\022;/v1/{parent=projects/*/l" + + "ocations/*/taxonomies/*}/policyTags\022\264\001\n\014" + + "GetPolicyTag\0220.google.cloud.datacatalog." + + "v1.GetPolicyTagRequest\032&.google.cloud.da" + + "tacatalog.v1.PolicyTag\"J\332A\004name\202\323\344\223\002=\022;/" + + "v1/{name=projects/*/locations/*/taxonomi" + + "es/*/policyTags/*}\022\352\001\n\014GetIamPolicy\022\".go" + + "ogle.iam.v1.GetIamPolicyRequest\032\025.google" + + ".iam.v1.Policy\"\236\001\202\323\344\223\002\227\001\"?/v1/{resource=" + + "projects/*/locations/*/taxonomies/*}:get" + + "IamPolicy:\001*ZQ\"L/v1/{resource=projects/*" + + "/locations/*/taxonomies/*/policyTags/*}:" + + "getIamPolicy:\001*\022\352\001\n\014SetIamPolicy\022\".googl" + + "e.iam.v1.SetIamPolicyRequest\032\025.google.ia" + + "m.v1.Policy\"\236\001\202\323\344\223\002\227\001\"?/v1/{resource=pro" + + "jects/*/locations/*/taxonomies/*}:setIam" + + "Policy:\001*ZQ\"L/v1/{resource=projects/*/lo" + + "cations/*/taxonomies/*/policyTags/*}:set" + + "IamPolicy:\001*\022\226\002\n\022TestIamPermissions\022(.go" + + "ogle.iam.v1.TestIamPermissionsRequest\032)." + + "google.iam.v1.TestIamPermissionsResponse" + + "\"\252\001\202\323\344\223\002\243\001\"E/v1/{resource=projects/*/loc" + + "ations/*/taxonomies/*}:testIamPermission" + + "s:\001*ZW\"R/v1/{resource=projects/*/locatio" + + "ns/*/taxonomies/*/policyTags/*}:testIamP" + + "ermissions:\001*\032N\312A\032datacatalog.googleapis" + + ".com\322A.https://www.googleapis.com/auth/c" + + "loud-platformB\335\001\n\037com.google.cloud.datac" + + "atalog.v1B\025PolicyTagManagerProtoP\001ZAclou" + + "d.google.com/go/datacatalog/apiv1/dataca" + + "talogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud." + + "DataCatalog.V1\312\002\033Google\\Cloud\\DataCatalo" + + "g\\V1\352\002\036Google::Cloud::DataCatalog::V1b\006p" + + "roto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.datacatalog.v1.Common.getDescriptor(), + com.google.cloud.datacatalog.v1.Timestamps.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1_Taxonomy_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1_Taxonomy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_Taxonomy_descriptor, + new java.lang.String[] { "Name", "DisplayName", "Description", "PolicyTagCount", "TaxonomyTimestamps", "ActivatedPolicyTypes", "Service", }); + internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_descriptor = + internal_static_google_cloud_datacatalog_v1_Taxonomy_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_descriptor, + new java.lang.String[] { "Name", "Identity", }); + internal_static_google_cloud_datacatalog_v1_PolicyTag_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1_PolicyTag_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_PolicyTag_descriptor, + new java.lang.String[] { "Name", "DisplayName", "Description", "ParentPolicyTag", "ChildPolicyTags", }); + internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_descriptor, + new java.lang.String[] { "Parent", "Taxonomy", }); + internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_descriptor, + new java.lang.String[] { "Taxonomy", "UpdateMask", }); + internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); + internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_descriptor, + new java.lang.String[] { "Taxonomies", "NextPageToken", }); + internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_descriptor, + new java.lang.String[] { "Parent", "PolicyTag", }); + internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_descriptor, + new java.lang.String[] { "PolicyTag", "UpdateMask", }); + internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_descriptor, + new java.lang.String[] { "PolicyTags", "NextPageToken", }); + internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.datacatalog.v1.Common.getDescriptor(); + com.google.cloud.datacatalog.v1.Timestamps.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationProto.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationProto.java new file mode 100644 index 000000000000..d0615775599b --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationProto.java @@ -0,0 +1,217 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto + +package com.google.cloud.datacatalog.v1; + +public final class PolicyTagManagerSerializationProto { + private PolicyTagManagerSerializationProto() {} + 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_datacatalog_v1_SerializedTaxonomy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_InlineSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_InlineSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_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/datacatalog/v1/policytagm" + + "anagerserialization.proto\022\033google.cloud." + + "datacatalog.v1\032\034google/api/annotations.p" + + "roto\032\027google/api/client.proto\032\037google/ap" + + "i/field_behavior.proto\032\031google/api/resou" + + "rce.proto\0322google/cloud/datacatalog/v1/p" + + "olicytagmanager.proto\"\336\001\n\022SerializedTaxo" + + "nomy\022\032\n\014display_name\030\001 \001(\tB\004\342A\001\002\022\023\n\013desc" + + "ription\030\002 \001(\t\022E\n\013policy_tags\030\003 \003(\01320.goo" + + "gle.cloud.datacatalog.v1.SerializedPolic" + + "yTag\022P\n\026activated_policy_types\030\004 \003(\01620.g" + + "oogle.cloud.datacatalog.v1.Taxonomy.Poli" + + "cyType\"\247\001\n\023SerializedPolicyTag\022\022\n\npolicy" + + "_tag\030\001 \001(\t\022\032\n\014display_name\030\002 \001(\tB\004\342A\001\002\022\023" + + "\n\013description\030\003 \001(\t\022K\n\021child_policy_tags" + + "\030\004 \003(\01320.google.cloud.datacatalog.v1.Ser" + + "ializedPolicyTag\"\250\001\n\026ReplaceTaxonomyRequ" + + "est\022:\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#datacatalog." + + "googleapis.com/Taxonomy\022R\n\023serialized_ta" + + "xonomy\030\002 \001(\0132/.google.cloud.datacatalog." + + "v1.SerializedTaxonomyB\004\342A\001\002\"\370\001\n\027ImportTa" + + "xonomiesRequest\022<\n\006parent\030\001 \001(\tB,\342A\001\002\372A%" + + "\022#datacatalog.googleapis.com/Taxonomy\022B\n" + + "\rinline_source\030\002 \001(\0132).google.cloud.data" + + "catalog.v1.InlineSourceH\000\022Q\n\025cross_regio" + + "nal_source\030\003 \001(\01320.google.cloud.datacata" + + "log.v1.CrossRegionalSourceH\000B\010\n\006source\"Y" + + "\n\014InlineSource\022I\n\ntaxonomies\030\001 \003(\0132/.goo" + + "gle.cloud.datacatalog.v1.SerializedTaxon" + + "omyB\004\342A\001\002\"U\n\023CrossRegionalSource\022>\n\010taxo" + + "nomy\030\001 \001(\tB,\342A\001\002\372A%\n#datacatalog.googlea" + + "pis.com/Taxonomy\"U\n\030ImportTaxonomiesResp" + + "onse\0229\n\ntaxonomies\030\001 \003(\0132%.google.cloud." + + "datacatalog.v1.Taxonomy\"\311\001\n\027ExportTaxono" + + "miesRequest\022<\n\006parent\030\001 \001(\tB,\342A\001\002\372A%\022#da" + + "tacatalog.googleapis.com/Taxonomy\022@\n\ntax" + + "onomies\030\002 \003(\tB,\342A\001\002\372A%\n#datacatalog.goog" + + "leapis.com/Taxonomy\022\037\n\025serialized_taxono" + + "mies\030\003 \001(\010H\000B\r\n\013destination\"_\n\030ExportTax" + + "onomiesResponse\022C\n\ntaxonomies\030\001 \003(\0132/.go" + + "ogle.cloud.datacatalog.v1.SerializedTaxo" + + "nomy2\247\005\n\035PolicyTagManagerSerialization\022\260" + + "\001\n\017ReplaceTaxonomy\0223.google.cloud.dataca" + + "talog.v1.ReplaceTaxonomyRequest\032%.google" + + ".cloud.datacatalog.v1.Taxonomy\"A\202\323\344\223\002;\"6" + + "/v1/{name=projects/*/locations/*/taxonom" + + "ies/*}:replace:\001*\022\301\001\n\020ImportTaxonomies\0224" + + ".google.cloud.datacatalog.v1.ImportTaxon" + + "omiesRequest\0325.google.cloud.datacatalog." + + "v1.ImportTaxonomiesResponse\"@\202\323\344\223\002:\"5/v1" + + "/{parent=projects/*/locations/*}/taxonom" + + "ies:import:\001*\022\276\001\n\020ExportTaxonomies\0224.goo" + + "gle.cloud.datacatalog.v1.ExportTaxonomie" + + "sRequest\0325.google.cloud.datacatalog.v1.E" + + "xportTaxonomiesResponse\"=\202\323\344\223\0027\0225/v1/{pa" + + "rent=projects/*/locations/*}/taxonomies:" + + "export\032N\312A\032datacatalog.googleapis.com\322A." + + "https://www.googleapis.com/auth/cloud-pl" + + "atformB\352\001\n\037com.google.cloud.datacatalog." + + "v1B\"PolicyTagManagerSerializationProtoP\001" + + "ZAcloud.google.com/go/datacatalog/apiv1/" + + "datacatalogpb;datacatalogpb\370\001\001\252\002\033Google." + + "Cloud.DataCatalog.V1\312\002\033Google\\Cloud\\Data" + + "Catalog\\V1\352\002\036Google::Cloud::DataCatalog:" + + ":V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.datacatalog.v1.PolicyTagManagerProto.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_descriptor, + new java.lang.String[] { "DisplayName", "Description", "PolicyTags", "ActivatedPolicyTypes", }); + internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_descriptor, + new java.lang.String[] { "PolicyTag", "DisplayName", "Description", "ChildPolicyTags", }); + internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_descriptor, + new java.lang.String[] { "Name", "SerializedTaxonomy", }); + internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_descriptor, + new java.lang.String[] { "Parent", "InlineSource", "CrossRegionalSource", "Source", }); + internal_static_google_cloud_datacatalog_v1_InlineSource_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_datacatalog_v1_InlineSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_InlineSource_descriptor, + new java.lang.String[] { "Taxonomies", }); + internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_descriptor, + new java.lang.String[] { "Taxonomy", }); + internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_descriptor, + new java.lang.String[] { "Taxonomies", }); + internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_descriptor, + new java.lang.String[] { "Parent", "Taxonomies", "SerializedTaxonomies", "Destination", }); + internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_descriptor, + new java.lang.String[] { "Taxonomies", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + 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.datacatalog.v1.PolicyTagManagerProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagName.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagName.java similarity index 100% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagName.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagName.java diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagOrBuilder.java similarity index 77% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagOrBuilder.java index 40d959b420b4..320e7c03025c 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; -public interface PolicyTagOrBuilder - extends +public interface PolicyTagOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.PolicyTag) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name of this policy tag in the URL format.
    *
@@ -33,13 +15,10 @@ public interface PolicyTagOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name of this policy tag in the URL format.
    *
@@ -47,14 +26,12 @@ public interface PolicyTagOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. User-defined name of this policy tag.
    *
@@ -64,13 +41,10 @@ public interface PolicyTagOrBuilder
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. User-defined name of this policy tag.
    *
@@ -80,14 +54,12 @@ public interface PolicyTagOrBuilder
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Description of this policy tag. If not set, defaults to empty.
    *
@@ -97,13 +69,10 @@ public interface PolicyTagOrBuilder
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Description of this policy tag. If not set, defaults to empty.
    *
@@ -113,14 +82,12 @@ public interface PolicyTagOrBuilder
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Resource name of this policy tag's parent policy tag. If empty, this is a
    * top level tag. If not set, defaults to an empty string.
@@ -131,13 +98,10 @@ public interface PolicyTagOrBuilder
    * 
* * string parent_policy_tag = 4; - * * @return The parentPolicyTag. */ java.lang.String getParentPolicyTag(); /** - * - * *
    * Resource name of this policy tag's parent policy tag. If empty, this is a
    * top level tag. If not set, defaults to an empty string.
@@ -148,63 +112,49 @@ public interface PolicyTagOrBuilder
    * 
* * string parent_policy_tag = 4; - * * @return The bytes for parentPolicyTag. */ - com.google.protobuf.ByteString getParentPolicyTagBytes(); + com.google.protobuf.ByteString + getParentPolicyTagBytes(); /** - * - * *
    * Output only. Resource names of child policy tags of this policy tag.
    * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the childPolicyTags. */ - java.util.List getChildPolicyTagsList(); + java.util.List + getChildPolicyTagsList(); /** - * - * *
    * Output only. Resource names of child policy tags of this policy tag.
    * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of childPolicyTags. */ int getChildPolicyTagsCount(); /** - * - * *
    * Output only. Resource names of child policy tags of this policy tag.
    * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The childPolicyTags at the given index. */ java.lang.String getChildPolicyTags(int index); /** - * - * *
    * Output only. Resource names of child policy tags of this policy tag.
    * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the childPolicyTags at the given index. */ - com.google.protobuf.ByteString getChildPolicyTagsBytes(int index); + com.google.protobuf.ByteString + getChildPolicyTagsBytes(int index); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadata.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadata.java similarity index 63% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadata.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadata.java index 502ecdfff2da..178bf07b6dfc 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadata.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadata.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * [Long-running operation][google.longrunning.Operation]
  * metadata message returned by the
@@ -29,65 +12,61 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ReconcileTagsMetadata}
  */
-public final class ReconcileTagsMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ReconcileTagsMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ReconcileTagsMetadata)
     ReconcileTagsMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ReconcileTagsMetadata.newBuilder() to construct.
   private ReconcileTagsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ReconcileTagsMetadata() {
     state_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReconcileTagsMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_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 2:
         return internalGetErrors();
       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.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.class,
-            com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.Builder.class);
+            com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.class, com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Enum holding possible states of the reconciliation operation.
    * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState} */ - public enum ReconciliationState implements com.google.protobuf.ProtocolMessageEnum { + public enum ReconciliationState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value. This value is unused.
      * 
@@ -96,8 +75,6 @@ public enum ReconciliationState implements com.google.protobuf.ProtocolMessageEn */ RECONCILIATION_STATE_UNSPECIFIED(0), /** - * - * *
      * The reconciliation has been queued and awaits for execution.
      * 
@@ -106,8 +83,6 @@ public enum ReconciliationState implements com.google.protobuf.ProtocolMessageEn */ RECONCILIATION_QUEUED(1), /** - * - * *
      * The reconciliation is in progress.
      * 
@@ -116,8 +91,6 @@ public enum ReconciliationState implements com.google.protobuf.ProtocolMessageEn */ RECONCILIATION_IN_PROGRESS(2), /** - * - * *
      * The reconciliation has been finished.
      * 
@@ -129,8 +102,6 @@ public enum ReconciliationState implements com.google.protobuf.ProtocolMessageEn ; /** - * - * *
      * Default value. This value is unused.
      * 
@@ -139,8 +110,6 @@ public enum ReconciliationState implements com.google.protobuf.ProtocolMessageEn */ public static final int RECONCILIATION_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The reconciliation has been queued and awaits for execution.
      * 
@@ -149,8 +118,6 @@ public enum ReconciliationState implements com.google.protobuf.ProtocolMessageEn */ public static final int RECONCILIATION_QUEUED_VALUE = 1; /** - * - * *
      * The reconciliation is in progress.
      * 
@@ -159,8 +126,6 @@ public enum ReconciliationState implements com.google.protobuf.ProtocolMessageEn */ public static final int RECONCILIATION_IN_PROGRESS_VALUE = 2; /** - * - * *
      * The reconciliation has been finished.
      * 
@@ -169,6 +134,7 @@ public enum ReconciliationState implements com.google.protobuf.ProtocolMessageEn */ public static final int RECONCILIATION_DONE_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -193,16 +159,11 @@ public static ReconciliationState valueOf(int value) { */ public static ReconciliationState forNumber(int value) { switch (value) { - case 0: - return RECONCILIATION_STATE_UNSPECIFIED; - case 1: - return RECONCILIATION_QUEUED; - case 2: - return RECONCILIATION_IN_PROGRESS; - case 3: - return RECONCILIATION_DONE; - default: - return null; + case 0: return RECONCILIATION_STATE_UNSPECIFIED; + case 1: return RECONCILIATION_QUEUED; + case 2: return RECONCILIATION_IN_PROGRESS; + case 3: return RECONCILIATION_DONE; + default: return null; } } @@ -210,31 +171,29 @@ public static ReconciliationState forNumber(int value) { internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ReconciliationState findValueByNumber(int number) { - return ReconciliationState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + ReconciliationState> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ReconciliationState findValueByNumber(int number) { + return ReconciliationState.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.datacatalog.v1.ReconcileTagsMetadata.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.getDescriptor().getEnumTypes().get(0); } private static final ReconciliationState[] VALUES = values(); @@ -242,7 +201,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static ReconciliationState valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -262,72 +222,56 @@ private ReconciliationState(int value) { public static final int STATE_FIELD_NUMBER = 1; private int state_ = 0; /** - * - * *
    * State of the reconciliation operation.
    * 
* * .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState 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_; } /** - * - * *
    * State of the reconciliation operation.
    * 
* * .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState state = 1; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState getState() { - com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState result = - com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState.forNumber(state_); - return result == null - ? com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState getState() { + com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState result = com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState.forNumber(state_); + return result == null ? com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState.UNRECOGNIZED : result; } public static final int ERRORS_FIELD_NUMBER = 2; - private static final class ErrorsDefaultEntryHolder { - static final com.google.protobuf.MapEntry - defaultEntry = + static final com.google.protobuf.MapEntry< + java.lang.String, com.google.rpc.Status> defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_ErrorsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.rpc.Status.getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_ErrorsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.rpc.Status.getDefaultInstance()); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField errors_; - + private com.google.protobuf.MapField< + java.lang.String, com.google.rpc.Status> errors_; private com.google.protobuf.MapField - internalGetErrors() { + internalGetErrors() { if (errors_ == null) { - return com.google.protobuf.MapField.emptyMapField(ErrorsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + ErrorsDefaultEntryHolder.defaultEntry); } return errors_; } - public int getErrorsCount() { return internalGetErrors().getMap().size(); } /** - * - * *
    * Maps the name of each tagged column (or empty string for a
    * sole entry) to tagging operation [status][google.rpc.Status].
@@ -336,21 +280,20 @@ public int getErrorsCount() {
    * map<string, .google.rpc.Status> errors = 2;
    */
   @java.lang.Override
-  public boolean containsErrors(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsErrors(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetErrors().getMap().containsKey(key);
   }
-  /** Use {@link #getErrorsMap()} instead. */
+  /**
+   * Use {@link #getErrorsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getErrors() {
     return getErrorsMap();
   }
   /**
-   *
-   *
    * 
    * Maps the name of each tagged column (or empty string for a
    * sole entry) to tagging operation [status][google.rpc.Status].
@@ -363,8 +306,6 @@ public java.util.Map getErrorsMap() {
     return internalGetErrors().getMap();
   }
   /**
-   *
-   *
    * 
    * Maps the name of each tagged column (or empty string for a
    * sole entry) to tagging operation [status][google.rpc.Status].
@@ -373,19 +314,17 @@ public java.util.Map getErrorsMap() {
    * map<string, .google.rpc.Status> errors = 2;
    */
   @java.lang.Override
-  public /* nullable */ com.google.rpc.Status getErrorsOrDefault(
+  public /* nullable */
+com.google.rpc.Status getErrorsOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.rpc.Status defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetErrors().getMap();
+com.google.rpc.Status defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetErrors().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Maps the name of each tagged column (or empty string for a
    * sole entry) to tagging operation [status][google.rpc.Status].
@@ -394,11 +333,11 @@ public java.util.Map getErrorsMap() {
    * map<string, .google.rpc.Status> errors = 2;
    */
   @java.lang.Override
-  public com.google.rpc.Status getErrorsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetErrors().getMap();
+  public com.google.rpc.Status getErrorsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetErrors().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -406,7 +345,6 @@ public com.google.rpc.Status getErrorsOrThrow(java.lang.String key) {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -418,15 +356,17 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (state_
-        != com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState
-            .RECONCILIATION_STATE_UNSPECIFIED
-            .getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
+    if (state_ != com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState.RECONCILIATION_STATE_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, state_);
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetErrors(), ErrorsDefaultEntryHolder.defaultEntry, 2);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetErrors(),
+        ErrorsDefaultEntryHolder.defaultEntry,
+        2);
     getUnknownFields().writeTo(output);
   }
 
@@ -436,21 +376,19 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (state_
-        != com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState
-            .RECONCILIATION_STATE_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_);
+    if (state_ != com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState.RECONCILIATION_STATE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(1, state_);
     }
-    for (java.util.Map.Entry entry :
-        internalGetErrors().getMap().entrySet()) {
-      com.google.protobuf.MapEntry errors__ =
-          ErrorsDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors__);
+    for (java.util.Map.Entry entry
+         : internalGetErrors().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      errors__ = ErrorsDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, errors__);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -460,16 +398,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.datacatalog.v1.ReconcileTagsMetadata)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1.ReconcileTagsMetadata other =
-        (com.google.cloud.datacatalog.v1.ReconcileTagsMetadata) obj;
+    com.google.cloud.datacatalog.v1.ReconcileTagsMetadata other = (com.google.cloud.datacatalog.v1.ReconcileTagsMetadata) obj;
 
     if (state_ != other.state_) return false;
-    if (!internalGetErrors().equals(other.internalGetErrors())) return false;
+    if (!internalGetErrors().equals(
+        other.internalGetErrors())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -493,104 +431,98 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1.ReconcileTagsMetadata parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.ReconcileTagsMetadata parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.ReconcileTagsMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.ReconcileTagsMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.ReconcileTagsMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.ReconcileTagsMetadata parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.datacatalog.v1.ReconcileTagsMetadata parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.ReconcileTagsMetadata parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1.ReconcileTagsMetadata parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1.ReconcileTagsMetadata parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.ReconcileTagsMetadata parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1.ReconcileTagsMetadata parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.ReconcileTagsMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1.ReconcileTagsMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.datacatalog.v1.ReconcileTagsMetadata prototype) {
+  public static Builder newBuilder(com.google.cloud.datacatalog.v1.ReconcileTagsMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * [Long-running operation][google.longrunning.Operation]
    * metadata message returned by the
@@ -599,52 +531,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ReconcileTagsMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ReconcileTagsMetadata)
       com.google.cloud.datacatalog.v1.ReconcileTagsMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 2:
           return internalGetErrors();
         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 2:
           return internalGetMutableErrors();
         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.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.class,
-              com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.Builder.class);
+              com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.class, com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -655,9 +590,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -676,11 +611,8 @@ public com.google.cloud.datacatalog.v1.ReconcileTagsMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ReconcileTagsMetadata buildPartial() {
-      com.google.cloud.datacatalog.v1.ReconcileTagsMetadata result =
-          new com.google.cloud.datacatalog.v1.ReconcileTagsMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.ReconcileTagsMetadata result = new com.google.cloud.datacatalog.v1.ReconcileTagsMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -700,39 +632,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ReconcileTagsMetadata
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ReconcileTagsMetadata) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ReconcileTagsMetadata) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ReconcileTagsMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -740,12 +671,12 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ReconcileTagsMetadata other) {
-      if (other == com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.getDefaultInstance()) return this;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
       }
-      internalGetMutableErrors().mergeFrom(other.internalGetErrors());
+      internalGetMutableErrors().mergeFrom(
+          other.internalGetErrors());
       bitField0_ |= 0x00000002;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -773,31 +704,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 18:
-              {
-                com.google.protobuf.MapEntry errors__ =
-                    input.readMessage(
-                        ErrorsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableErrors()
-                    .getMutableMap()
-                    .put(errors__.getKey(), errors__.getValue());
-                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: {
+              com.google.protobuf.MapEntry
+              errors__ = input.readMessage(
+                  ErrorsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableErrors().getMutableMap().put(
+                  errors__.getKey(), errors__.getValue());
+              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) {
@@ -807,36 +733,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * State of the reconciliation operation.
      * 
* - * .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState state = 1; - * - * + * .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState 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_; } /** - * - * *
      * State of the reconciliation operation.
      * 
* - * .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState state = 1; - * - * + * .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState state = 1; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -847,41 +763,28 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * State of the reconciliation operation.
      * 
* - * .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState state = 1; - * - * + * .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState state = 1; * @return The state. */ @java.lang.Override public com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState getState() { - com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState result = - com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState.forNumber( - state_); - return result == null - ? com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState.UNRECOGNIZED - : result; + com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState result = com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState.forNumber(state_); + return result == null ? com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState.UNRECOGNIZED : result; } /** - * - * *
      * State of the reconciliation operation.
      * 
* - * .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState state = 1; - * - * + * .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState state = 1; * @param value The state to set. * @return This builder for chaining. */ - public Builder setState( - com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState value) { + public Builder setState(com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState value) { if (value == null) { throw new NullPointerException(); } @@ -891,15 +794,11 @@ public Builder setState( return this; } /** - * - * *
      * State of the reconciliation operation.
      * 
* - * .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState state = 1; - * - * + * .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState state = 1; * @return This builder for chaining. */ public Builder clearState() { @@ -909,20 +808,21 @@ public Builder clearState() { return this; } - private com.google.protobuf.MapField errors_; - + private com.google.protobuf.MapField< + java.lang.String, com.google.rpc.Status> errors_; private com.google.protobuf.MapField internalGetErrors() { if (errors_ == null) { - return com.google.protobuf.MapField.emptyMapField(ErrorsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + ErrorsDefaultEntryHolder.defaultEntry); } return errors_; } - private com.google.protobuf.MapField internalGetMutableErrors() { if (errors_ == null) { - errors_ = com.google.protobuf.MapField.newMapField(ErrorsDefaultEntryHolder.defaultEntry); + errors_ = com.google.protobuf.MapField.newMapField( + ErrorsDefaultEntryHolder.defaultEntry); } if (!errors_.isMutable()) { errors_ = errors_.copy(); @@ -931,13 +831,10 @@ public Builder clearState() { onChanged(); return errors_; } - public int getErrorsCount() { return internalGetErrors().getMap().size(); } /** - * - * *
      * Maps the name of each tagged column (or empty string for a
      * sole entry) to tagging operation [status][google.rpc.Status].
@@ -946,21 +843,20 @@ public int getErrorsCount() {
      * map<string, .google.rpc.Status> errors = 2;
      */
     @java.lang.Override
-    public boolean containsErrors(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsErrors(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetErrors().getMap().containsKey(key);
     }
-    /** Use {@link #getErrorsMap()} instead. */
+    /**
+     * Use {@link #getErrorsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getErrors() {
       return getErrorsMap();
     }
     /**
-     *
-     *
      * 
      * Maps the name of each tagged column (or empty string for a
      * sole entry) to tagging operation [status][google.rpc.Status].
@@ -973,8 +869,6 @@ public java.util.Map getErrorsMap() {
       return internalGetErrors().getMap();
     }
     /**
-     *
-     *
      * 
      * Maps the name of each tagged column (or empty string for a
      * sole entry) to tagging operation [status][google.rpc.Status].
@@ -983,19 +877,17 @@ public java.util.Map getErrorsMap() {
      * map<string, .google.rpc.Status> errors = 2;
      */
     @java.lang.Override
-    public /* nullable */ com.google.rpc.Status getErrorsOrDefault(
+    public /* nullable */
+com.google.rpc.Status getErrorsOrDefault(
         java.lang.String key,
         /* nullable */
-        com.google.rpc.Status defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetErrors().getMap();
+com.google.rpc.Status defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetErrors().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Maps the name of each tagged column (or empty string for a
      * sole entry) to tagging operation [status][google.rpc.Status].
@@ -1004,25 +896,23 @@ public java.util.Map getErrorsMap() {
      * map<string, .google.rpc.Status> errors = 2;
      */
     @java.lang.Override
-    public com.google.rpc.Status getErrorsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetErrors().getMap();
+    public com.google.rpc.Status getErrorsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetErrors().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearErrors() {
       bitField0_ = (bitField0_ & ~0x00000002);
-      internalGetMutableErrors().getMutableMap().clear();
+      internalGetMutableErrors().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Maps the name of each tagged column (or empty string for a
      * sole entry) to tagging operation [status][google.rpc.Status].
@@ -1030,22 +920,23 @@ public Builder clearErrors() {
      *
      * map<string, .google.rpc.Status> errors = 2;
      */
-    public Builder removeErrors(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableErrors().getMutableMap().remove(key);
+    public Builder removeErrors(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableErrors().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableErrors() {
+    public java.util.Map
+        getMutableErrors() {
       bitField0_ |= 0x00000002;
       return internalGetMutableErrors().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Maps the name of each tagged column (or empty string for a
      * sole entry) to tagging operation [status][google.rpc.Status].
@@ -1053,20 +944,17 @@ public java.util.Map getMutableErrors()
      *
      * map<string, .google.rpc.Status> errors = 2;
      */
-    public Builder putErrors(java.lang.String key, com.google.rpc.Status value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableErrors().getMutableMap().put(key, value);
+    public Builder putErrors(
+        java.lang.String key,
+        com.google.rpc.Status value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableErrors().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000002;
       return this;
     }
     /**
-     *
-     *
      * 
      * Maps the name of each tagged column (or empty string for a
      * sole entry) to tagging operation [status][google.rpc.Status].
@@ -1074,14 +962,16 @@ public Builder putErrors(java.lang.String key, com.google.rpc.Status value) {
      *
      * map<string, .google.rpc.Status> errors = 2;
      */
-    public Builder putAllErrors(java.util.Map values) {
-      internalGetMutableErrors().getMutableMap().putAll(values);
+    public Builder putAllErrors(
+        java.util.Map values) {
+      internalGetMutableErrors().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000002;
       return this;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1091,12 +981,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ReconcileTagsMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ReconcileTagsMetadata)
   private static final com.google.cloud.datacatalog.v1.ReconcileTagsMetadata DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ReconcileTagsMetadata();
   }
@@ -1105,27 +995,27 @@ public static com.google.cloud.datacatalog.v1.ReconcileTagsMetadata getDefaultIn
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ReconcileTagsMetadata parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ReconcileTagsMetadata parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1140,4 +1030,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1.ReconcileTagsMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadataOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadataOrBuilder.java
similarity index 65%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadataOrBuilder.java
rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadataOrBuilder.java
index 2d706401f35f..141cab5c0f89 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadataOrBuilder.java
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadataOrBuilder.java
@@ -1,56 +1,32 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
-public interface ReconcileTagsMetadataOrBuilder
-    extends
+public interface ReconcileTagsMetadataOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ReconcileTagsMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * State of the reconciliation operation.
    * 
* * .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState state = 1; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * State of the reconciliation operation.
    * 
* * .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState state = 1; - * * @return The state. */ com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState getState(); /** - * - * *
    * Maps the name of each tagged column (or empty string for a
    * sole entry) to tagging operation [status][google.rpc.Status].
@@ -60,8 +36,6 @@ public interface ReconcileTagsMetadataOrBuilder
    */
   int getErrorsCount();
   /**
-   *
-   *
    * 
    * Maps the name of each tagged column (or empty string for a
    * sole entry) to tagging operation [status][google.rpc.Status].
@@ -69,13 +43,15 @@ public interface ReconcileTagsMetadataOrBuilder
    *
    * map<string, .google.rpc.Status> errors = 2;
    */
-  boolean containsErrors(java.lang.String key);
-  /** Use {@link #getErrorsMap()} instead. */
+  boolean containsErrors(
+      java.lang.String key);
+  /**
+   * Use {@link #getErrorsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getErrors();
+  java.util.Map
+  getErrors();
   /**
-   *
-   *
    * 
    * Maps the name of each tagged column (or empty string for a
    * sole entry) to tagging operation [status][google.rpc.Status].
@@ -83,10 +59,9 @@ public interface ReconcileTagsMetadataOrBuilder
    *
    * map<string, .google.rpc.Status> errors = 2;
    */
-  java.util.Map getErrorsMap();
+  java.util.Map
+  getErrorsMap();
   /**
-   *
-   *
    * 
    * Maps the name of each tagged column (or empty string for a
    * sole entry) to tagging operation [status][google.rpc.Status].
@@ -95,13 +70,11 @@ public interface ReconcileTagsMetadataOrBuilder
    * map<string, .google.rpc.Status> errors = 2;
    */
   /* nullable */
-  com.google.rpc.Status getErrorsOrDefault(
+com.google.rpc.Status getErrorsOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.rpc.Status defaultValue);
+com.google.rpc.Status defaultValue);
   /**
-   *
-   *
    * 
    * Maps the name of each tagged column (or empty string for a
    * sole entry) to tagging operation [status][google.rpc.Status].
@@ -109,5 +82,6 @@ com.google.rpc.Status getErrorsOrDefault(
    *
    * map<string, .google.rpc.Status> errors = 2;
    */
-  com.google.rpc.Status getErrorsOrThrow(java.lang.String key);
+  com.google.rpc.Status getErrorsOrThrow(
+      java.lang.String key);
 }
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequest.java
similarity index 71%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequest.java
rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequest.java
index ba24bb232805..1b8baa7b65fe 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequest.java
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequest.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
 /**
- *
- *
  * 
  * Request message for
  * [ReconcileTags][google.cloud.datacatalog.v1.DataCatalog.ReconcileTags].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ReconcileTagsRequest}
  */
-public final class ReconcileTagsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ReconcileTagsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ReconcileTagsRequest)
     ReconcileTagsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ReconcileTagsRequest.newBuilder() to construct.
   private ReconcileTagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ReconcileTagsRequest() {
     parent_ = "";
     tagTemplate_ = "";
@@ -46,40 +28,33 @@ private ReconcileTagsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReconcileTagsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ReconcileTagsRequest.class,
-            com.google.cloud.datacatalog.v1.ReconcileTagsRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.ReconcileTagsRequest.class, com.google.cloud.datacatalog.v1.ReconcileTagsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. Name of [Entry][google.cloud.datacatalog.v1.Entry] to be tagged.
    * 
* - * - * string parent = 1 [(.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,31 +63,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Name of [Entry][google.cloud.datacatalog.v1.Entry] to be tagged.
    * 
* - * - * string parent = 1 [(.google.api.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,20 +94,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int TAG_TEMPLATE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object tagTemplate_ = ""; /** - * - * *
    * Required. The name of the tag template, which is used for reconciliation.
    * 
* - * - * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tagTemplate. */ @java.lang.Override @@ -143,31 +110,29 @@ public java.lang.String getTagTemplate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagTemplate_ = s; return s; } } /** - * - * *
    * Required. The name of the tag template, which is used for reconciliation.
    * 
* - * - * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tagTemplate. */ @java.lang.Override - public com.google.protobuf.ByteString getTagTemplateBytes() { + public com.google.protobuf.ByteString + getTagTemplateBytes() { java.lang.Object ref = tagTemplate_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tagTemplate_ = b; return b; } else { @@ -178,8 +143,6 @@ public com.google.protobuf.ByteString getTagTemplateBytes() { public static final int FORCE_DELETE_MISSING_FIELD_NUMBER = 3; private boolean forceDeleteMissing_ = false; /** - * - * *
    * If set to `true`, deletes entry tags related to a tag template
    * not listed in the tags source from an entry. If set to `false`,
@@ -187,7 +150,6 @@ public com.google.protobuf.ByteString getTagTemplateBytes() {
    * 
* * bool force_delete_missing = 3; - * * @return The forceDeleteMissing. */ @java.lang.Override @@ -196,12 +158,9 @@ public boolean getForceDeleteMissing() { } public static final int TAGS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private java.util.List tags_; /** - * - * *
    * A list of tags to apply to an entry. A tag can specify a
    * tag template, which must be the template specified in the
@@ -216,8 +175,6 @@ public java.util.List getTagsList() {
     return tags_;
   }
   /**
-   *
-   *
    * 
    * A list of tags to apply to an entry. A tag can specify a
    * tag template, which must be the template specified in the
@@ -228,13 +185,11 @@ public java.util.List getTagsList() {
    * repeated .google.cloud.datacatalog.v1.Tag tags = 4;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getTagsOrBuilderList() {
     return tags_;
   }
   /**
-   *
-   *
    * 
    * A list of tags to apply to an entry. A tag can specify a
    * tag template, which must be the template specified in the
@@ -249,8 +204,6 @@ public int getTagsCount() {
     return tags_.size();
   }
   /**
-   *
-   *
    * 
    * A list of tags to apply to an entry. A tag can specify a
    * tag template, which must be the template specified in the
@@ -265,8 +218,6 @@ public com.google.cloud.datacatalog.v1.Tag getTags(int index) {
     return tags_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of tags to apply to an entry. A tag can specify a
    * tag template, which must be the template specified in the
@@ -277,12 +228,12 @@ public com.google.cloud.datacatalog.v1.Tag getTags(int index) {
    * repeated .google.cloud.datacatalog.v1.Tag tags = 4;
    */
   @java.lang.Override
-  public com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder(int index) {
+  public com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder(
+      int index) {
     return tags_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -294,7 +245,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -323,10 +275,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tagTemplate_);
     }
     if (forceDeleteMissing_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, forceDeleteMissing_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(3, forceDeleteMissing_);
     }
     for (int i = 0; i < tags_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, tags_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, tags_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -336,18 +290,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.datacatalog.v1.ReconcileTagsRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1.ReconcileTagsRequest other =
-        (com.google.cloud.datacatalog.v1.ReconcileTagsRequest) obj;
+    com.google.cloud.datacatalog.v1.ReconcileTagsRequest other = (com.google.cloud.datacatalog.v1.ReconcileTagsRequest) obj;
 
-    if (!getParent().equals(other.getParent())) return false;
-    if (!getTagTemplate().equals(other.getTagTemplate())) return false;
-    if (getForceDeleteMissing() != other.getForceDeleteMissing()) return false;
-    if (!getTagsList().equals(other.getTagsList())) return false;
+    if (!getParent()
+        .equals(other.getParent())) return false;
+    if (!getTagTemplate()
+        .equals(other.getTagTemplate())) return false;
+    if (getForceDeleteMissing()
+        != other.getForceDeleteMissing()) return false;
+    if (!getTagsList()
+        .equals(other.getTagsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -364,7 +321,8 @@ public int hashCode() {
     hash = (37 * hash) + TAG_TEMPLATE_FIELD_NUMBER;
     hash = (53 * hash) + getTagTemplate().hashCode();
     hash = (37 * hash) + FORCE_DELETE_MISSING_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForceDeleteMissing());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getForceDeleteMissing());
     if (getTagsCount() > 0) {
       hash = (37 * hash) + TAGS_FIELD_NUMBER;
       hash = (53 * hash) + getTagsList().hashCode();
@@ -375,103 +333,98 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1.ReconcileTagsRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.ReconcileTagsRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.ReconcileTagsRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.ReconcileTagsRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.ReconcileTagsRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.ReconcileTagsRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.datacatalog.v1.ReconcileTagsRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.ReconcileTagsRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1.ReconcileTagsRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1.ReconcileTagsRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.ReconcileTagsRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1.ReconcileTagsRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.ReconcileTagsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1.ReconcileTagsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.datacatalog.v1.ReconcileTagsRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Request message for
    * [ReconcileTags][google.cloud.datacatalog.v1.DataCatalog.ReconcileTags].
@@ -479,32 +432,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ReconcileTagsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ReconcileTagsRequest)
       com.google.cloud.datacatalog.v1.ReconcileTagsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ReconcileTagsRequest.class,
-              com.google.cloud.datacatalog.v1.ReconcileTagsRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.ReconcileTagsRequest.class, com.google.cloud.datacatalog.v1.ReconcileTagsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ReconcileTagsRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -523,9 +477,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -544,18 +498,14 @@ public com.google.cloud.datacatalog.v1.ReconcileTagsRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ReconcileTagsRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.ReconcileTagsRequest result =
-          new com.google.cloud.datacatalog.v1.ReconcileTagsRequest(this);
+      com.google.cloud.datacatalog.v1.ReconcileTagsRequest result = new com.google.cloud.datacatalog.v1.ReconcileTagsRequest(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.datacatalog.v1.ReconcileTagsRequest result) {
+    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1.ReconcileTagsRequest result) {
       if (tagsBuilder_ == null) {
         if (((bitField0_ & 0x00000008) != 0)) {
           tags_ = java.util.Collections.unmodifiableList(tags_);
@@ -584,39 +534,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ReconcileTagsRequest
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ReconcileTagsRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ReconcileTagsRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ReconcileTagsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -624,8 +573,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ReconcileTagsRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.ReconcileTagsRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.ReconcileTagsRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -657,10 +605,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.ReconcileTagsRequest ot
             tagsBuilder_ = null;
             tags_ = other.tags_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            tagsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getTagsFieldBuilder()
-                    : null;
+            tagsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getTagsFieldBuilder() : null;
           } else {
             tagsBuilder_.addAllMessages(other.tags_);
           }
@@ -692,44 +639,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                tagTemplate_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
-                forceDeleteMissing_ = input.readBool();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 34:
-              {
-                com.google.cloud.datacatalog.v1.Tag m =
-                    input.readMessage(
-                        com.google.cloud.datacatalog.v1.Tag.parser(), extensionRegistry);
-                if (tagsBuilder_ == null) {
-                  ensureTagsIsMutable();
-                  tags_.add(m);
-                } else {
-                  tagsBuilder_.addMessage(m);
-                }
-                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 18: {
+              tagTemplate_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              forceDeleteMissing_ = input.readBool();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 34: {
+              com.google.cloud.datacatalog.v1.Tag m =
+                  input.readMessage(
+                      com.google.cloud.datacatalog.v1.Tag.parser(),
+                      extensionRegistry);
+              if (tagsBuilder_ == null) {
+                ensureTagsIsMutable();
+                tags_.add(m);
+              } else {
+                tagsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -739,27 +682,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. Name of [Entry][google.cloud.datacatalog.v1.Entry] to be tagged.
      * 
* - * - * string parent = 1 [(.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; @@ -768,23 +706,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Name of [Entry][google.cloud.datacatalog.v1.Entry] to be tagged.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -792,39 +727,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Name of [Entry][google.cloud.datacatalog.v1.Entry] to be tagged.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of [Entry][google.cloud.datacatalog.v1.Entry] to be tagged.
      * 
* - * - * string 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,23 +758,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Name of [Entry][google.cloud.datacatalog.v1.Entry] to be tagged.
      * 
* - * - * 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,22 +778,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object tagTemplate_ = ""; /** - * - * *
      * Required. The name of the tag template, which is used for reconciliation.
      * 
* - * - * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tagTemplate. */ public java.lang.String getTagTemplate() { java.lang.Object ref = tagTemplate_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagTemplate_ = s; return s; @@ -884,23 +798,20 @@ public java.lang.String getTagTemplate() { } } /** - * - * *
      * Required. The name of the tag template, which is used for reconciliation.
      * 
* - * - * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tagTemplate. */ - public com.google.protobuf.ByteString getTagTemplateBytes() { + public com.google.protobuf.ByteString + getTagTemplateBytes() { java.lang.Object ref = tagTemplate_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tagTemplate_ = b; return b; } else { @@ -908,39 +819,28 @@ public com.google.protobuf.ByteString getTagTemplateBytes() { } } /** - * - * *
      * Required. The name of the tag template, which is used for reconciliation.
      * 
* - * - * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The tagTemplate to set. * @return This builder for chaining. */ - public Builder setTagTemplate(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTagTemplate( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tagTemplate_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The name of the tag template, which is used for reconciliation.
      * 
* - * - * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearTagTemplate() { @@ -950,23 +850,17 @@ public Builder clearTagTemplate() { return this; } /** - * - * *
      * Required. The name of the tag template, which is used for reconciliation.
      * 
* - * - * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for tagTemplate to set. * @return This builder for chaining. */ - public Builder setTagTemplateBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTagTemplateBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tagTemplate_ = value; bitField0_ |= 0x00000002; @@ -974,10 +868,8 @@ public Builder setTagTemplateBytes(com.google.protobuf.ByteString value) { return this; } - private boolean forceDeleteMissing_; + private boolean forceDeleteMissing_ ; /** - * - * *
      * If set to `true`, deletes entry tags related to a tag template
      * not listed in the tags source from an entry. If set to `false`,
@@ -985,7 +877,6 @@ public Builder setTagTemplateBytes(com.google.protobuf.ByteString value) {
      * 
* * bool force_delete_missing = 3; - * * @return The forceDeleteMissing. */ @java.lang.Override @@ -993,8 +884,6 @@ public boolean getForceDeleteMissing() { return forceDeleteMissing_; } /** - * - * *
      * If set to `true`, deletes entry tags related to a tag template
      * not listed in the tags source from an entry. If set to `false`,
@@ -1002,7 +891,6 @@ public boolean getForceDeleteMissing() {
      * 
* * bool force_delete_missing = 3; - * * @param value The forceDeleteMissing to set. * @return This builder for chaining. */ @@ -1014,8 +902,6 @@ public Builder setForceDeleteMissing(boolean value) { return this; } /** - * - * *
      * If set to `true`, deletes entry tags related to a tag template
      * not listed in the tags source from an entry. If set to `false`,
@@ -1023,7 +909,6 @@ public Builder setForceDeleteMissing(boolean value) {
      * 
* * bool force_delete_missing = 3; - * * @return This builder for chaining. */ public Builder clearForceDeleteMissing() { @@ -1034,24 +919,18 @@ public Builder clearForceDeleteMissing() { } private java.util.List tags_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { tags_ = new java.util.ArrayList(tags_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Tag, - com.google.cloud.datacatalog.v1.Tag.Builder, - com.google.cloud.datacatalog.v1.TagOrBuilder> - tagsBuilder_; + com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder> tagsBuilder_; /** - * - * *
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -1069,8 +948,6 @@ public java.util.List getTagsList() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -1088,8 +965,6 @@ public int getTagsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -1107,8 +982,6 @@ public com.google.cloud.datacatalog.v1.Tag getTags(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -1118,7 +991,8 @@ public com.google.cloud.datacatalog.v1.Tag getTags(int index) {
      *
      * repeated .google.cloud.datacatalog.v1.Tag tags = 4;
      */
-    public Builder setTags(int index, com.google.cloud.datacatalog.v1.Tag value) {
+    public Builder setTags(
+        int index, com.google.cloud.datacatalog.v1.Tag value) {
       if (tagsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1132,8 +1006,6 @@ public Builder setTags(int index, com.google.cloud.datacatalog.v1.Tag value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -1143,7 +1015,8 @@ public Builder setTags(int index, com.google.cloud.datacatalog.v1.Tag value) {
      *
      * repeated .google.cloud.datacatalog.v1.Tag tags = 4;
      */
-    public Builder setTags(int index, com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) {
+    public Builder setTags(
+        int index, com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) {
       if (tagsBuilder_ == null) {
         ensureTagsIsMutable();
         tags_.set(index, builderForValue.build());
@@ -1154,8 +1027,6 @@ public Builder setTags(int index, com.google.cloud.datacatalog.v1.Tag.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -1179,8 +1050,6 @@ public Builder addTags(com.google.cloud.datacatalog.v1.Tag value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -1190,7 +1059,8 @@ public Builder addTags(com.google.cloud.datacatalog.v1.Tag value) {
      *
      * repeated .google.cloud.datacatalog.v1.Tag tags = 4;
      */
-    public Builder addTags(int index, com.google.cloud.datacatalog.v1.Tag value) {
+    public Builder addTags(
+        int index, com.google.cloud.datacatalog.v1.Tag value) {
       if (tagsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1204,8 +1074,6 @@ public Builder addTags(int index, com.google.cloud.datacatalog.v1.Tag value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -1215,7 +1083,8 @@ public Builder addTags(int index, com.google.cloud.datacatalog.v1.Tag value) {
      *
      * repeated .google.cloud.datacatalog.v1.Tag tags = 4;
      */
-    public Builder addTags(com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) {
+    public Builder addTags(
+        com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) {
       if (tagsBuilder_ == null) {
         ensureTagsIsMutable();
         tags_.add(builderForValue.build());
@@ -1226,8 +1095,6 @@ public Builder addTags(com.google.cloud.datacatalog.v1.Tag.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -1237,7 +1104,8 @@ public Builder addTags(com.google.cloud.datacatalog.v1.Tag.Builder builderForVal
      *
      * repeated .google.cloud.datacatalog.v1.Tag tags = 4;
      */
-    public Builder addTags(int index, com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) {
+    public Builder addTags(
+        int index, com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) {
       if (tagsBuilder_ == null) {
         ensureTagsIsMutable();
         tags_.add(index, builderForValue.build());
@@ -1248,8 +1116,6 @@ public Builder addTags(int index, com.google.cloud.datacatalog.v1.Tag.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -1263,7 +1129,8 @@ public Builder addAllTags(
         java.lang.Iterable values) {
       if (tagsBuilder_ == null) {
         ensureTagsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, tags_);
         onChanged();
       } else {
         tagsBuilder_.addAllMessages(values);
@@ -1271,8 +1138,6 @@ public Builder addAllTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -1293,8 +1158,6 @@ public Builder clearTags() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -1315,8 +1178,6 @@ public Builder removeTags(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -1326,12 +1187,11 @@ public Builder removeTags(int index) {
      *
      * repeated .google.cloud.datacatalog.v1.Tag tags = 4;
      */
-    public com.google.cloud.datacatalog.v1.Tag.Builder getTagsBuilder(int index) {
+    public com.google.cloud.datacatalog.v1.Tag.Builder getTagsBuilder(
+        int index) {
       return getTagsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -1341,16 +1201,14 @@ public com.google.cloud.datacatalog.v1.Tag.Builder getTagsBuilder(int index) {
      *
      * repeated .google.cloud.datacatalog.v1.Tag tags = 4;
      */
-    public com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder(int index) {
+    public com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder(
+        int index) {
       if (tagsBuilder_ == null) {
-        return tags_.get(index);
-      } else {
+        return tags_.get(index);  } else {
         return tagsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -1360,8 +1218,8 @@ public com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder(int index)
      *
      * repeated .google.cloud.datacatalog.v1.Tag tags = 4;
      */
-    public java.util.List
-        getTagsOrBuilderList() {
+    public java.util.List 
+         getTagsOrBuilderList() {
       if (tagsBuilder_ != null) {
         return tagsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1369,8 +1227,6 @@ public com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder(int index)
       }
     }
     /**
-     *
-     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -1381,12 +1237,10 @@ public com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder(int index)
      * repeated .google.cloud.datacatalog.v1.Tag tags = 4;
      */
     public com.google.cloud.datacatalog.v1.Tag.Builder addTagsBuilder() {
-      return getTagsFieldBuilder()
-          .addBuilder(com.google.cloud.datacatalog.v1.Tag.getDefaultInstance());
+      return getTagsFieldBuilder().addBuilder(
+          com.google.cloud.datacatalog.v1.Tag.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -1396,13 +1250,12 @@ public com.google.cloud.datacatalog.v1.Tag.Builder addTagsBuilder() {
      *
      * repeated .google.cloud.datacatalog.v1.Tag tags = 4;
      */
-    public com.google.cloud.datacatalog.v1.Tag.Builder addTagsBuilder(int index) {
-      return getTagsFieldBuilder()
-          .addBuilder(index, com.google.cloud.datacatalog.v1.Tag.getDefaultInstance());
+    public com.google.cloud.datacatalog.v1.Tag.Builder addTagsBuilder(
+        int index) {
+      return getTagsFieldBuilder().addBuilder(
+          index, com.google.cloud.datacatalog.v1.Tag.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -1412,29 +1265,27 @@ public com.google.cloud.datacatalog.v1.Tag.Builder addTagsBuilder(int index) {
      *
      * repeated .google.cloud.datacatalog.v1.Tag tags = 4;
      */
-    public java.util.List getTagsBuilderList() {
+    public java.util.List 
+         getTagsBuilderList() {
       return getTagsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.Tag,
-            com.google.cloud.datacatalog.v1.Tag.Builder,
-            com.google.cloud.datacatalog.v1.TagOrBuilder>
+        com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder> 
         getTagsFieldBuilder() {
       if (tagsBuilder_ == null) {
-        tagsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.datacatalog.v1.Tag,
-                com.google.cloud.datacatalog.v1.Tag.Builder,
-                com.google.cloud.datacatalog.v1.TagOrBuilder>(
-                tags_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
+        tagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder>(
+                tags_,
+                ((bitField0_ & 0x00000008) != 0),
+                getParentForChildren(),
+                isClean());
         tags_ = null;
       }
       return tagsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1444,12 +1295,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ReconcileTagsRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ReconcileTagsRequest)
   private static final com.google.cloud.datacatalog.v1.ReconcileTagsRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ReconcileTagsRequest();
   }
@@ -1458,27 +1309,27 @@ public static com.google.cloud.datacatalog.v1.ReconcileTagsRequest getDefaultIns
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ReconcileTagsRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ReconcileTagsRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1493,4 +1344,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1.ReconcileTagsRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequestOrBuilder.java
similarity index 67%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequestOrBuilder.java
rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequestOrBuilder.java
index d473ed1d8e76..fefea36cf326 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequestOrBuilder.java
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequestOrBuilder.java
@@ -1,89 +1,53 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
-public interface ReconcileTagsRequestOrBuilder
-    extends
+public interface ReconcileTagsRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ReconcileTagsRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. Name of [Entry][google.cloud.datacatalog.v1.Entry] to be tagged.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Name of [Entry][google.cloud.datacatalog.v1.Entry] to be tagged.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The name of the tag template, which is used for reconciliation.
    * 
* - * - * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tagTemplate. */ java.lang.String getTagTemplate(); /** - * - * *
    * Required. The name of the tag template, which is used for reconciliation.
    * 
* - * - * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tagTemplate. */ - com.google.protobuf.ByteString getTagTemplateBytes(); + com.google.protobuf.ByteString + getTagTemplateBytes(); /** - * - * *
    * If set to `true`, deletes entry tags related to a tag template
    * not listed in the tags source from an entry. If set to `false`,
@@ -91,14 +55,11 @@ public interface ReconcileTagsRequestOrBuilder
    * 
* * bool force_delete_missing = 3; - * * @return The forceDeleteMissing. */ boolean getForceDeleteMissing(); /** - * - * *
    * A list of tags to apply to an entry. A tag can specify a
    * tag template, which must be the template specified in the
@@ -108,10 +69,9 @@ public interface ReconcileTagsRequestOrBuilder
    *
    * repeated .google.cloud.datacatalog.v1.Tag tags = 4;
    */
-  java.util.List getTagsList();
+  java.util.List 
+      getTagsList();
   /**
-   *
-   *
    * 
    * A list of tags to apply to an entry. A tag can specify a
    * tag template, which must be the template specified in the
@@ -123,8 +83,6 @@ public interface ReconcileTagsRequestOrBuilder
    */
   com.google.cloud.datacatalog.v1.Tag getTags(int index);
   /**
-   *
-   *
    * 
    * A list of tags to apply to an entry. A tag can specify a
    * tag template, which must be the template specified in the
@@ -136,8 +94,6 @@ public interface ReconcileTagsRequestOrBuilder
    */
   int getTagsCount();
   /**
-   *
-   *
    * 
    * A list of tags to apply to an entry. A tag can specify a
    * tag template, which must be the template specified in the
@@ -147,10 +103,9 @@ public interface ReconcileTagsRequestOrBuilder
    *
    * repeated .google.cloud.datacatalog.v1.Tag tags = 4;
    */
-  java.util.List getTagsOrBuilderList();
+  java.util.List 
+      getTagsOrBuilderList();
   /**
-   *
-   *
    * 
    * A list of tags to apply to an entry. A tag can specify a
    * tag template, which must be the template specified in the
@@ -160,5 +115,6 @@ public interface ReconcileTagsRequestOrBuilder
    *
    * repeated .google.cloud.datacatalog.v1.Tag tags = 4;
    */
-  com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder(int index);
+  com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder(
+      int index);
 }
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponse.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponse.java
similarity index 66%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponse.java
rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponse.java
index bbb41a9c9564..a5ee8a9c5dd6 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponse.java
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponse.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
 /**
- *
- *
  * 
  * [Long-running operation][google.longrunning.Operation]
  * response message returned by
@@ -29,50 +12,46 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ReconcileTagsResponse}
  */
-public final class ReconcileTagsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ReconcileTagsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ReconcileTagsResponse)
     ReconcileTagsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ReconcileTagsResponse.newBuilder() to construct.
   private ReconcileTagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ReconcileTagsResponse() {}
+  private ReconcileTagsResponse() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReconcileTagsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ReconcileTagsResponse.class,
-            com.google.cloud.datacatalog.v1.ReconcileTagsResponse.Builder.class);
+            com.google.cloud.datacatalog.v1.ReconcileTagsResponse.class, com.google.cloud.datacatalog.v1.ReconcileTagsResponse.Builder.class);
   }
 
   public static final int CREATED_TAGS_COUNT_FIELD_NUMBER = 1;
   private long createdTagsCount_ = 0L;
   /**
-   *
-   *
    * 
    * Number of tags created in the request.
    * 
* * int64 created_tags_count = 1; - * * @return The createdTagsCount. */ @java.lang.Override @@ -83,14 +62,11 @@ public long getCreatedTagsCount() { public static final int UPDATED_TAGS_COUNT_FIELD_NUMBER = 2; private long updatedTagsCount_ = 0L; /** - * - * *
    * Number of tags updated in the request.
    * 
* * int64 updated_tags_count = 2; - * * @return The updatedTagsCount. */ @java.lang.Override @@ -101,14 +77,11 @@ public long getUpdatedTagsCount() { public static final int DELETED_TAGS_COUNT_FIELD_NUMBER = 3; private long deletedTagsCount_ = 0L; /** - * - * *
    * Number of tags deleted in the request.
    * 
* * int64 deleted_tags_count = 3; - * * @return The deletedTagsCount. */ @java.lang.Override @@ -117,7 +90,6 @@ public long getDeletedTagsCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -129,7 +101,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (createdTagsCount_ != 0L) { output.writeInt64(1, createdTagsCount_); } @@ -149,13 +122,16 @@ public int getSerializedSize() { size = 0; if (createdTagsCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, createdTagsCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, createdTagsCount_); } if (updatedTagsCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, updatedTagsCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, updatedTagsCount_); } if (deletedTagsCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, deletedTagsCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, deletedTagsCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -165,17 +141,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.datacatalog.v1.ReconcileTagsResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ReconcileTagsResponse other = - (com.google.cloud.datacatalog.v1.ReconcileTagsResponse) obj; + com.google.cloud.datacatalog.v1.ReconcileTagsResponse other = (com.google.cloud.datacatalog.v1.ReconcileTagsResponse) obj; - if (getCreatedTagsCount() != other.getCreatedTagsCount()) return false; - if (getUpdatedTagsCount() != other.getUpdatedTagsCount()) return false; - if (getDeletedTagsCount() != other.getDeletedTagsCount()) return false; + if (getCreatedTagsCount() + != other.getCreatedTagsCount()) return false; + if (getUpdatedTagsCount() + != other.getUpdatedTagsCount()) return false; + if (getDeletedTagsCount() + != other.getDeletedTagsCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -188,115 +166,112 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CREATED_TAGS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCreatedTagsCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getCreatedTagsCount()); hash = (37 * hash) + UPDATED_TAGS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUpdatedTagsCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getUpdatedTagsCount()); hash = (37 * hash) + DELETED_TAGS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDeletedTagsCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getDeletedTagsCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datacatalog.v1.ReconcileTagsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ReconcileTagsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ReconcileTagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ReconcileTagsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ReconcileTagsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ReconcileTagsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.ReconcileTagsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ReconcileTagsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ReconcileTagsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ReconcileTagsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ReconcileTagsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ReconcileTagsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ReconcileTagsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ReconcileTagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.ReconcileTagsResponse prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.ReconcileTagsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * [Long-running operation][google.longrunning.Operation]
    * response message returned by
@@ -305,32 +280,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ReconcileTagsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ReconcileTagsResponse)
       com.google.cloud.datacatalog.v1.ReconcileTagsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ReconcileTagsResponse.class,
-              com.google.cloud.datacatalog.v1.ReconcileTagsResponse.Builder.class);
+              com.google.cloud.datacatalog.v1.ReconcileTagsResponse.class, com.google.cloud.datacatalog.v1.ReconcileTagsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ReconcileTagsResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -342,9 +318,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -363,11 +339,8 @@ public com.google.cloud.datacatalog.v1.ReconcileTagsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ReconcileTagsResponse buildPartial() {
-      com.google.cloud.datacatalog.v1.ReconcileTagsResponse result =
-          new com.google.cloud.datacatalog.v1.ReconcileTagsResponse(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.ReconcileTagsResponse result = new com.google.cloud.datacatalog.v1.ReconcileTagsResponse(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -389,39 +362,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ReconcileTagsResponse
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ReconcileTagsResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ReconcileTagsResponse) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ReconcileTagsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -429,8 +401,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ReconcileTagsResponse other) {
-      if (other == com.google.cloud.datacatalog.v1.ReconcileTagsResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.ReconcileTagsResponse.getDefaultInstance()) return this;
       if (other.getCreatedTagsCount() != 0L) {
         setCreatedTagsCount(other.getCreatedTagsCount());
       }
@@ -466,31 +437,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                createdTagsCount_ = input.readInt64();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 16:
-              {
-                updatedTagsCount_ = input.readInt64();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 24:
-              {
-                deletedTagsCount_ = input.readInt64();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              createdTagsCount_ = input.readInt64();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 16: {
+              updatedTagsCount_ = input.readInt64();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 24: {
+              deletedTagsCount_ = input.readInt64();
+              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) {
@@ -500,19 +467,15 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private long createdTagsCount_;
+    private long createdTagsCount_ ;
     /**
-     *
-     *
      * 
      * Number of tags created in the request.
      * 
* * int64 created_tags_count = 1; - * * @return The createdTagsCount. */ @java.lang.Override @@ -520,14 +483,11 @@ public long getCreatedTagsCount() { return createdTagsCount_; } /** - * - * *
      * Number of tags created in the request.
      * 
* * int64 created_tags_count = 1; - * * @param value The createdTagsCount to set. * @return This builder for chaining. */ @@ -539,14 +499,11 @@ public Builder setCreatedTagsCount(long value) { return this; } /** - * - * *
      * Number of tags created in the request.
      * 
* * int64 created_tags_count = 1; - * * @return This builder for chaining. */ public Builder clearCreatedTagsCount() { @@ -556,16 +513,13 @@ public Builder clearCreatedTagsCount() { return this; } - private long updatedTagsCount_; + private long updatedTagsCount_ ; /** - * - * *
      * Number of tags updated in the request.
      * 
* * int64 updated_tags_count = 2; - * * @return The updatedTagsCount. */ @java.lang.Override @@ -573,14 +527,11 @@ public long getUpdatedTagsCount() { return updatedTagsCount_; } /** - * - * *
      * Number of tags updated in the request.
      * 
* * int64 updated_tags_count = 2; - * * @param value The updatedTagsCount to set. * @return This builder for chaining. */ @@ -592,14 +543,11 @@ public Builder setUpdatedTagsCount(long value) { return this; } /** - * - * *
      * Number of tags updated in the request.
      * 
* * int64 updated_tags_count = 2; - * * @return This builder for chaining. */ public Builder clearUpdatedTagsCount() { @@ -609,16 +557,13 @@ public Builder clearUpdatedTagsCount() { return this; } - private long deletedTagsCount_; + private long deletedTagsCount_ ; /** - * - * *
      * Number of tags deleted in the request.
      * 
* * int64 deleted_tags_count = 3; - * * @return The deletedTagsCount. */ @java.lang.Override @@ -626,14 +571,11 @@ public long getDeletedTagsCount() { return deletedTagsCount_; } /** - * - * *
      * Number of tags deleted in the request.
      * 
* * int64 deleted_tags_count = 3; - * * @param value The deletedTagsCount to set. * @return This builder for chaining. */ @@ -645,14 +587,11 @@ public Builder setDeletedTagsCount(long value) { return this; } /** - * - * *
      * Number of tags deleted in the request.
      * 
* * int64 deleted_tags_count = 3; - * * @return This builder for chaining. */ public Builder clearDeletedTagsCount() { @@ -661,9 +600,9 @@ public Builder clearDeletedTagsCount() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -673,12 +612,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ReconcileTagsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ReconcileTagsResponse) private static final com.google.cloud.datacatalog.v1.ReconcileTagsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ReconcileTagsResponse(); } @@ -687,27 +626,27 @@ public static com.google.cloud.datacatalog.v1.ReconcileTagsResponse getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReconcileTagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReconcileTagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -722,4 +661,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ReconcileTagsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponseOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponseOrBuilder.java similarity index 56% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponseOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponseOrBuilder.java index 9aca49dda771..bb222f363e2b 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponseOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponseOrBuilder.java @@ -1,63 +1,38 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface ReconcileTagsResponseOrBuilder - extends +public interface ReconcileTagsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ReconcileTagsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Number of tags created in the request.
    * 
* * int64 created_tags_count = 1; - * * @return The createdTagsCount. */ long getCreatedTagsCount(); /** - * - * *
    * Number of tags updated in the request.
    * 
* * int64 updated_tags_count = 2; - * * @return The updatedTagsCount. */ long getUpdatedTagsCount(); /** - * - * *
    * Number of tags deleted in the request.
    * 
* * int64 deleted_tags_count = 3; - * * @return The deletedTagsCount. */ long getDeletedTagsCount(); diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequest.java similarity index 61% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequest.java index 3ecede5c3ffd..ede6f75d2dfe 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [RenameTagTemplateFieldEnumValue][google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateFieldEnumValue].
@@ -28,18 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest}
  */
-public final class RenameTagTemplateFieldEnumValueRequest
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RenameTagTemplateFieldEnumValueRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest)
     RenameTagTemplateFieldEnumValueRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RenameTagTemplateFieldEnumValueRequest.newBuilder() to construct.
-  private RenameTagTemplateFieldEnumValueRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private RenameTagTemplateFieldEnumValueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RenameTagTemplateFieldEnumValueRequest() {
     name_ = "";
     newEnumValueDisplayName_ = "";
@@ -47,40 +27,33 @@ private RenameTagTemplateFieldEnumValueRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RenameTagTemplateFieldEnumValueRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest.class,
-            com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest.class, com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the enum field value.
    * 
* - * - * string name = 1 [(.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 @@ -89,31 +62,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the enum field value.
    * 
* - * - * string name = 1 [(.google.api.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,19 +93,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int NEW_ENUM_VALUE_DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object newEnumValueDisplayName_ = ""; /** - * - * *
    * Required. The new display name of the enum value. For example,
    * `my_new_enum_value`.
    * 
* * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The newEnumValueDisplayName. */ @java.lang.Override @@ -143,30 +110,30 @@ public java.lang.String getNewEnumValueDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newEnumValueDisplayName_ = s; return s; } } /** - * - * *
    * Required. The new display name of the enum value. For example,
    * `my_new_enum_value`.
    * 
* * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for newEnumValueDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString getNewEnumValueDisplayNameBytes() { + public com.google.protobuf.ByteString + getNewEnumValueDisplayNameBytes() { java.lang.Object ref = newEnumValueDisplayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); newEnumValueDisplayName_ = b; return b; } else { @@ -175,7 +142,6 @@ public com.google.protobuf.ByteString getNewEnumValueDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -217,16 +184,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.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest other = - (com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest) obj; + com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest other = (com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getNewEnumValueDisplayName().equals(other.getNewEnumValueDisplayName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getNewEnumValueDisplayName() + .equals(other.getNewEnumValueDisplayName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -248,105 +216,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest - parseDelimitedFrom( - java.io.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.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest parseDelimitedFrom( + java.io.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.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [RenameTagTemplateFieldEnumValue][google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateFieldEnumValue].
@@ -354,33 +315,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest)
       com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest.class,
-              com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest.class, com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest.newBuilder()
-    private Builder() {}
+    // Construct using com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest.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();
@@ -391,22 +352,19 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest
-        getDefaultInstanceForType() {
-      return com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest
-          .getDefaultInstance();
+    public com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest getDefaultInstanceForType() {
+      return com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest.getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest build() {
-      com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest result =
-          buildPartial();
+      com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest result = buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -415,17 +373,13 @@ public com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest bu
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest result =
-          new com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest result = new com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest result) {
+    private void buildPartial0(com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -439,51 +393,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest) {
-        return mergeFrom(
-            (com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest other) {
-      if (other
-          == com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest other) {
+      if (other == com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -520,25 +469,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                newEnumValueDisplayName_ = 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: {
+              newEnumValueDisplayName_ = 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) {
@@ -548,27 +494,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the enum field value.
      * 
* - * - * string name = 1 [(.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; @@ -577,23 +518,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the enum field value.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -601,39 +539,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the enum field value.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the enum field value.
      * 
* - * - * string 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() { @@ -643,23 +570,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the enum field value.
      * 
* - * - * string name = 1 [(.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; @@ -669,22 +590,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object newEnumValueDisplayName_ = ""; /** - * - * *
      * Required. The new display name of the enum value. For example,
      * `my_new_enum_value`.
      * 
* - * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The newEnumValueDisplayName. */ public java.lang.String getNewEnumValueDisplayName() { java.lang.Object ref = newEnumValueDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newEnumValueDisplayName_ = s; return s; @@ -693,23 +611,21 @@ public java.lang.String getNewEnumValueDisplayName() { } } /** - * - * *
      * Required. The new display name of the enum value. For example,
      * `my_new_enum_value`.
      * 
* - * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for newEnumValueDisplayName. */ - public com.google.protobuf.ByteString getNewEnumValueDisplayNameBytes() { + public com.google.protobuf.ByteString + getNewEnumValueDisplayNameBytes() { java.lang.Object ref = newEnumValueDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); newEnumValueDisplayName_ = b; return b; } else { @@ -717,39 +633,30 @@ public com.google.protobuf.ByteString getNewEnumValueDisplayNameBytes() { } } /** - * - * *
      * Required. The new display name of the enum value. For example,
      * `my_new_enum_value`.
      * 
* - * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The newEnumValueDisplayName to set. * @return This builder for chaining. */ - public Builder setNewEnumValueDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNewEnumValueDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } newEnumValueDisplayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The new display name of the enum value. For example,
      * `my_new_enum_value`.
      * 
* - * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearNewEnumValueDisplayName() { @@ -759,32 +666,27 @@ public Builder clearNewEnumValueDisplayName() { return this; } /** - * - * *
      * Required. The new display name of the enum value. For example,
      * `my_new_enum_value`.
      * 
* - * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The bytes for newEnumValueDisplayName to set. * @return This builder for chaining. */ - public Builder setNewEnumValueDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNewEnumValueDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); newEnumValueDisplayName_ = 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); } @@ -794,43 +696,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest) - private static final com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest(); } - public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest - getDefaultInstance() { + public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RenameTagTemplateFieldEnumValueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RenameTagTemplateFieldEnumValueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,8 +742,9 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest - getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java similarity index 54% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java index e5c40c9769c6..2b8938a76e42 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java @@ -1,81 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface RenameTagTemplateFieldEnumValueRequestOrBuilder - extends +public interface RenameTagTemplateFieldEnumValueRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the enum field value.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the enum field value.
    * 
* - * - * string name = 1 [(.google.api.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 new display name of the enum value. For example,
    * `my_new_enum_value`.
    * 
* * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The newEnumValueDisplayName. */ java.lang.String getNewEnumValueDisplayName(); /** - * - * *
    * Required. The new display name of the enum value. For example,
    * `my_new_enum_value`.
    * 
* * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for newEnumValueDisplayName. */ - com.google.protobuf.ByteString getNewEnumValueDisplayNameBytes(); + com.google.protobuf.ByteString + getNewEnumValueDisplayNameBytes(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequest.java similarity index 64% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequest.java index c77f5c560960..3441206fb50b 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [RenameTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateField].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest}
  */
-public final class RenameTagTemplateFieldRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RenameTagTemplateFieldRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest)
     RenameTagTemplateFieldRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RenameTagTemplateFieldRequest.newBuilder() to construct.
   private RenameTagTemplateFieldRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RenameTagTemplateFieldRequest() {
     name_ = "";
     newTagTemplateFieldId_ = "";
@@ -45,40 +27,33 @@ private RenameTagTemplateFieldRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RenameTagTemplateFieldRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest.class,
-            com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest.class, com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the tag template field.
    * 
* - * - * string name = 1 [(.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,31 +62,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the tag template field.
    * 
* - * - * string name = 1 [(.google.api.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,19 +93,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int NEW_TAG_TEMPLATE_FIELD_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object newTagTemplateFieldId_ = ""; /** - * - * *
    * Required. The new ID of this tag template field. For example,
    * `my_new_field`.
    * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The newTagTemplateFieldId. */ @java.lang.Override @@ -141,30 +110,30 @@ public java.lang.String getNewTagTemplateFieldId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newTagTemplateFieldId_ = s; return s; } } /** - * - * *
    * Required. The new ID of this tag template field. For example,
    * `my_new_field`.
    * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for newTagTemplateFieldId. */ @java.lang.Override - public com.google.protobuf.ByteString getNewTagTemplateFieldIdBytes() { + public com.google.protobuf.ByteString + getNewTagTemplateFieldIdBytes() { java.lang.Object ref = newTagTemplateFieldId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); newTagTemplateFieldId_ = b; return b; } else { @@ -173,7 +142,6 @@ public com.google.protobuf.ByteString getNewTagTemplateFieldIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -215,16 +184,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.datacatalog.v1.RenameTagTemplateFieldRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest other = - (com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest) obj; + com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest other = (com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getNewTagTemplateFieldId().equals(other.getNewTagTemplateFieldId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getNewTagTemplateFieldId() + .equals(other.getNewTagTemplateFieldId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -246,104 +216,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [RenameTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateField].
@@ -351,32 +315,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest)
       com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest.class,
-              com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest.class, com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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,14 +352,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest
-        getDefaultInstanceForType() {
+    public com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest getDefaultInstanceForType() {
       return com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest.getDefaultInstance();
     }
 
@@ -409,17 +373,13 @@ public com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest result =
-          new com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest result = new com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest result) {
+    private void buildPartial0(com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -433,39 +393,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.datacatalog.v1.RenameTagTemplateFieldRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -473,9 +432,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest other) {
-      if (other
-          == com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -512,25 +469,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                newTagTemplateFieldId_ = 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: {
+              newTagTemplateFieldId_ = 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) {
@@ -540,27 +494,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the tag template field.
      * 
* - * - * string name = 1 [(.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; @@ -569,23 +518,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the tag template field.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -593,39 +539,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the tag template field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the tag template field.
      * 
* - * - * string 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,23 +570,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the tag template field.
      * 
* - * - * string name = 1 [(.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; @@ -661,21 +590,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object newTagTemplateFieldId_ = ""; /** - * - * *
      * Required. The new ID of this tag template field. For example,
      * `my_new_field`.
      * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The newTagTemplateFieldId. */ public java.lang.String getNewTagTemplateFieldId() { java.lang.Object ref = newTagTemplateFieldId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newTagTemplateFieldId_ = s; return s; @@ -684,22 +611,21 @@ public java.lang.String getNewTagTemplateFieldId() { } } /** - * - * *
      * Required. The new ID of this tag template field. For example,
      * `my_new_field`.
      * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for newTagTemplateFieldId. */ - public com.google.protobuf.ByteString getNewTagTemplateFieldIdBytes() { + public com.google.protobuf.ByteString + getNewTagTemplateFieldIdBytes() { java.lang.Object ref = newTagTemplateFieldId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); newTagTemplateFieldId_ = b; return b; } else { @@ -707,37 +633,30 @@ public com.google.protobuf.ByteString getNewTagTemplateFieldIdBytes() { } } /** - * - * *
      * Required. The new ID of this tag template field. For example,
      * `my_new_field`.
      * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The newTagTemplateFieldId to set. * @return This builder for chaining. */ - public Builder setNewTagTemplateFieldId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNewTagTemplateFieldId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } newTagTemplateFieldId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The new ID of this tag template field. For example,
      * `my_new_field`.
      * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearNewTagTemplateFieldId() { @@ -747,31 +666,27 @@ public Builder clearNewTagTemplateFieldId() { return this; } /** - * - * *
      * Required. The new ID of this tag template field. For example,
      * `my_new_field`.
      * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for newTagTemplateFieldId to set. * @return This builder for chaining. */ - public Builder setNewTagTemplateFieldIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNewTagTemplateFieldIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); newTagTemplateFieldId_ = 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); } @@ -781,13 +696,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest) - private static final com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest(); } @@ -796,27 +710,27 @@ public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RenameTagTemplateFieldRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RenameTagTemplateFieldRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +745,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequestOrBuilder.java similarity index 51% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequestOrBuilder.java index b751cb516c94..e9945b69da19 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequestOrBuilder.java @@ -1,81 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface RenameTagTemplateFieldRequestOrBuilder - extends +public interface RenameTagTemplateFieldRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the tag template field.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the tag template field.
    * 
* - * - * string name = 1 [(.google.api.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 new ID of this tag template field. For example,
    * `my_new_field`.
    * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The newTagTemplateFieldId. */ java.lang.String getNewTagTemplateFieldId(); /** - * - * *
    * Required. The new ID of this tag template field. For example,
    * `my_new_field`.
    * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for newTagTemplateFieldId. */ - com.google.protobuf.ByteString getNewTagTemplateFieldIdBytes(); + com.google.protobuf.ByteString + getNewTagTemplateFieldIdBytes(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequest.java similarity index 60% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequest.java index 482468242733..73f958beccdc 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [ReplaceTaxonomy][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ReplaceTaxonomy].
@@ -28,56 +11,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ReplaceTaxonomyRequest}
  */
-public final class ReplaceTaxonomyRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ReplaceTaxonomyRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ReplaceTaxonomyRequest)
     ReplaceTaxonomyRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ReplaceTaxonomyRequest.newBuilder() to construct.
   private ReplaceTaxonomyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ReplaceTaxonomyRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReplaceTaxonomyRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-        .internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-        .internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.class,
-            com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.class, com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. Resource name of the taxonomy to update.
    * 
* - * - * string name = 1 [(.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,31 +61,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Resource name of the taxonomy to update.
    * 
* - * - * string name = 1 [(.google.api.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,16 +94,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SERIALIZED_TAXONOMY_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1.SerializedTaxonomy serializedTaxonomy_; /** - * - * *
    * Required. Taxonomy to update along with its child policy tags.
    * 
* - * - * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the serializedTaxonomy field is set. */ @java.lang.Override @@ -138,45 +106,30 @@ public boolean hasSerializedTaxonomy() { return serializedTaxonomy_ != null; } /** - * - * *
    * Required. Taxonomy to update along with its child policy tags.
    * 
* - * - * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The serializedTaxonomy. */ @java.lang.Override public com.google.cloud.datacatalog.v1.SerializedTaxonomy getSerializedTaxonomy() { - return serializedTaxonomy_ == null - ? com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance() - : serializedTaxonomy_; + return serializedTaxonomy_ == null ? com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance() : serializedTaxonomy_; } /** - * - * *
    * Required. Taxonomy to update along with its child policy tags.
    * 
* - * - * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder - getSerializedTaxonomyOrBuilder() { - return serializedTaxonomy_ == null - ? com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance() - : serializedTaxonomy_; + public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getSerializedTaxonomyOrBuilder() { + return serializedTaxonomy_ == null ? com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance() : serializedTaxonomy_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -188,7 +141,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -208,7 +162,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (serializedTaxonomy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSerializedTaxonomy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSerializedTaxonomy()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -218,18 +173,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.datacatalog.v1.ReplaceTaxonomyRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest other = - (com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest) obj; + com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest other = (com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasSerializedTaxonomy() != other.hasSerializedTaxonomy()) return false; if (hasSerializedTaxonomy()) { - if (!getSerializedTaxonomy().equals(other.getSerializedTaxonomy())) return false; + if (!getSerializedTaxonomy() + .equals(other.getSerializedTaxonomy())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -254,104 +210,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [ReplaceTaxonomy][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ReplaceTaxonomy].
@@ -359,32 +309,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ReplaceTaxonomyRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ReplaceTaxonomyRequest)
       com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.class,
-              com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.class, com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -399,9 +350,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
@@ -420,11 +371,8 @@ public com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest result =
-          new com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest result = new com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -435,10 +383,9 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ReplaceTaxonomyReques
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.serializedTaxonomy_ =
-            serializedTaxonomyBuilder_ == null
-                ? serializedTaxonomy_
-                : serializedTaxonomyBuilder_.build();
+        result.serializedTaxonomy_ = serializedTaxonomyBuilder_ == null
+            ? serializedTaxonomy_
+            : serializedTaxonomyBuilder_.build();
       }
     }
 
@@ -446,39 +393,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ReplaceTaxonomyReques
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -486,8 +432,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -522,26 +467,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(
-                    getSerializedTaxonomyFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getSerializedTaxonomyFieldBuilder().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) {
@@ -551,27 +494,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. Resource name of the taxonomy to update.
      * 
* - * - * string name = 1 [(.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; @@ -580,23 +518,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Resource name of the taxonomy to update.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -604,39 +539,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Resource name of the taxonomy to update.
      * 
* - * - * string name = 1 [(.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. Resource name of the taxonomy to update.
      * 
* - * - * string 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() { @@ -646,23 +570,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Resource name of the taxonomy to update.
      * 
* - * - * string name = 1 [(.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; @@ -672,58 +590,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datacatalog.v1.SerializedTaxonomy serializedTaxonomy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SerializedTaxonomy, - com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, - com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder> - serializedTaxonomyBuilder_; + com.google.cloud.datacatalog.v1.SerializedTaxonomy, com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder> serializedTaxonomyBuilder_; /** - * - * *
      * Required. Taxonomy to update along with its child policy tags.
      * 
* - * - * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the serializedTaxonomy field is set. */ public boolean hasSerializedTaxonomy() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Taxonomy to update along with its child policy tags.
      * 
* - * - * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The serializedTaxonomy. */ public com.google.cloud.datacatalog.v1.SerializedTaxonomy getSerializedTaxonomy() { if (serializedTaxonomyBuilder_ == null) { - return serializedTaxonomy_ == null - ? com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance() - : serializedTaxonomy_; + return serializedTaxonomy_ == null ? com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance() : serializedTaxonomy_; } else { return serializedTaxonomyBuilder_.getMessage(); } } /** - * - * *
      * Required. Taxonomy to update along with its child policy tags.
      * 
* - * - * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSerializedTaxonomy(com.google.cloud.datacatalog.v1.SerializedTaxonomy value) { if (serializedTaxonomyBuilder_ == null) { @@ -739,15 +638,11 @@ public Builder setSerializedTaxonomy(com.google.cloud.datacatalog.v1.SerializedT return this; } /** - * - * *
      * Required. Taxonomy to update along with its child policy tags.
      * 
* - * - * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSerializedTaxonomy( com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder builderForValue) { @@ -761,23 +656,17 @@ public Builder setSerializedTaxonomy( return this; } /** - * - * *
      * Required. Taxonomy to update along with its child policy tags.
      * 
* - * - * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeSerializedTaxonomy( - com.google.cloud.datacatalog.v1.SerializedTaxonomy value) { + public Builder mergeSerializedTaxonomy(com.google.cloud.datacatalog.v1.SerializedTaxonomy value) { if (serializedTaxonomyBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && serializedTaxonomy_ != null - && serializedTaxonomy_ - != com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + serializedTaxonomy_ != null && + serializedTaxonomy_ != com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance()) { getSerializedTaxonomyBuilder().mergeFrom(value); } else { serializedTaxonomy_ = value; @@ -790,15 +679,11 @@ public Builder mergeSerializedTaxonomy( return this; } /** - * - * *
      * Required. Taxonomy to update along with its child policy tags.
      * 
* - * - * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearSerializedTaxonomy() { bitField0_ = (bitField0_ & ~0x00000002); @@ -811,73 +696,55 @@ public Builder clearSerializedTaxonomy() { return this; } /** - * - * *
      * Required. Taxonomy to update along with its child policy tags.
      * 
* - * - * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder - getSerializedTaxonomyBuilder() { + public com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder getSerializedTaxonomyBuilder() { bitField0_ |= 0x00000002; onChanged(); return getSerializedTaxonomyFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Taxonomy to update along with its child policy tags.
      * 
* - * - * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder - getSerializedTaxonomyOrBuilder() { + public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getSerializedTaxonomyOrBuilder() { if (serializedTaxonomyBuilder_ != null) { return serializedTaxonomyBuilder_.getMessageOrBuilder(); } else { - return serializedTaxonomy_ == null - ? com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance() - : serializedTaxonomy_; + return serializedTaxonomy_ == null ? + com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance() : serializedTaxonomy_; } } /** - * - * *
      * Required. Taxonomy to update along with its child policy tags.
      * 
* - * - * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SerializedTaxonomy, - com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, - com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder> + com.google.cloud.datacatalog.v1.SerializedTaxonomy, com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder> getSerializedTaxonomyFieldBuilder() { if (serializedTaxonomyBuilder_ == null) { - serializedTaxonomyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SerializedTaxonomy, - com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, - com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder>( - getSerializedTaxonomy(), getParentForChildren(), isClean()); + serializedTaxonomyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.SerializedTaxonomy, com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder>( + getSerializedTaxonomy(), + getParentForChildren(), + isClean()); serializedTaxonomy_ = null; } return serializedTaxonomyBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -887,12 +754,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ReplaceTaxonomyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ReplaceTaxonomyRequest) private static final com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest(); } @@ -901,27 +768,27 @@ public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReplaceTaxonomyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReplaceTaxonomyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -936,4 +803,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequestOrBuilder.java new file mode 100644 index 000000000000..73280516ee7c --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequestOrBuilder.java @@ -0,0 +1,56 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto + +package com.google.cloud.datacatalog.v1; + +public interface ReplaceTaxonomyRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ReplaceTaxonomyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Resource name of the taxonomy to update.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Resource name of the taxonomy to update.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * Required. Taxonomy to update along with its child policy tags.
+   * 
+ * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the serializedTaxonomy field is set. + */ + boolean hasSerializedTaxonomy(); + /** + *
+   * Required. Taxonomy to update along with its child policy tags.
+   * 
+ * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The serializedTaxonomy. + */ + com.google.cloud.datacatalog.v1.SerializedTaxonomy getSerializedTaxonomy(); + /** + *
+   * Required. Taxonomy to update along with its child policy tags.
+   * 
+ * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getSerializedTaxonomyOrBuilder(); +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpec.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpec.java similarity index 73% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpec.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpec.java index 5a8915016ccc..726bb3825387 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpec.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpec.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Specification that applies to a routine. Valid only for
  * entries with the `ROUTINE` type.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.RoutineSpec}
  */
-public final class RoutineSpec extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RoutineSpec extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.RoutineSpec)
     RoutineSpecOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RoutineSpec.newBuilder() to construct.
   private RoutineSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RoutineSpec() {
     routineType_ = 0;
     language_ = "";
@@ -48,38 +30,34 @@ private RoutineSpec() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RoutineSpec();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_RoutineSpec_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RoutineSpec_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.RoutineSpec.class,
-            com.google.cloud.datacatalog.v1.RoutineSpec.Builder.class);
+            com.google.cloud.datacatalog.v1.RoutineSpec.class, com.google.cloud.datacatalog.v1.RoutineSpec.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The fine-grained type of the routine.
    * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.RoutineSpec.RoutineType} */ - public enum RoutineType implements com.google.protobuf.ProtocolMessageEnum { + public enum RoutineType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified type.
      * 
@@ -88,8 +66,6 @@ public enum RoutineType implements com.google.protobuf.ProtocolMessageEnum { */ ROUTINE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Non-builtin permanent scalar function.
      * 
@@ -98,8 +74,6 @@ public enum RoutineType implements com.google.protobuf.ProtocolMessageEnum { */ SCALAR_FUNCTION(1), /** - * - * *
      * Stored procedure.
      * 
@@ -111,8 +85,6 @@ public enum RoutineType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified type.
      * 
@@ -121,8 +93,6 @@ public enum RoutineType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROUTINE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Non-builtin permanent scalar function.
      * 
@@ -131,8 +101,6 @@ public enum RoutineType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SCALAR_FUNCTION_VALUE = 1; /** - * - * *
      * Stored procedure.
      * 
@@ -141,6 +109,7 @@ public enum RoutineType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROCEDURE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -165,49 +134,49 @@ public static RoutineType valueOf(int value) { */ public static RoutineType forNumber(int value) { switch (value) { - case 0: - return ROUTINE_TYPE_UNSPECIFIED; - case 1: - return SCALAR_FUNCTION; - case 2: - return PROCEDURE; - default: - return null; + case 0: return ROUTINE_TYPE_UNSPECIFIED; + case 1: return SCALAR_FUNCTION; + case 2: return PROCEDURE; + 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< + RoutineType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RoutineType findValueByNumber(int number) { + return RoutineType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RoutineType findValueByNumber(int number) { - return RoutineType.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.datacatalog.v1.RoutineSpec.getDescriptor().getEnumTypes().get(0); } private static final RoutineType[] VALUES = values(); - public static RoutineType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RoutineType 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,109 +193,89 @@ private RoutineType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1.RoutineSpec.RoutineType) } - public interface ArgumentOrBuilder - extends + public interface ArgumentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.RoutineSpec.Argument) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The name of the argument. A return argument of a function might not have
      * a name.
      * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * The name of the argument. A return argument of a function might not have
      * a name.
      * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * Specifies whether the argument is input or output.
      * 
* * .google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode mode = 2; - * * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** - * - * *
      * Specifies whether the argument is input or output.
      * 
* * .google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode mode = 2; - * * @return The mode. */ com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode getMode(); /** - * - * *
      * Type of the argument. The exact value depends on the source system and
      * the language.
      * 
* * string type = 3; - * * @return The type. */ java.lang.String getType(); /** - * - * *
      * Type of the argument. The exact value depends on the source system and
      * the language.
      * 
* * string type = 3; - * * @return The bytes for type. */ - com.google.protobuf.ByteString getTypeBytes(); + com.google.protobuf.ByteString + getTypeBytes(); } /** - * - * *
    * Input or output argument of a function or stored procedure.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.RoutineSpec.Argument} */ - public static final class Argument extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Argument extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.RoutineSpec.Argument) ArgumentOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Argument.newBuilder() to construct. private Argument(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Argument() { name_ = ""; mode_ = 0; @@ -335,38 +284,34 @@ private Argument() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Argument(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.RoutineSpec.Argument.class, - com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder.class); + com.google.cloud.datacatalog.v1.RoutineSpec.Argument.class, com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder.class); } /** - * - * *
      * The input or output mode of the argument.
      * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode} */ - public enum Mode implements com.google.protobuf.ProtocolMessageEnum { + public enum Mode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Unspecified mode.
        * 
@@ -375,8 +320,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ MODE_UNSPECIFIED(0), /** - * - * *
        * The argument is input-only.
        * 
@@ -385,8 +328,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ IN(1), /** - * - * *
        * The argument is output-only.
        * 
@@ -395,8 +336,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ OUT(2), /** - * - * *
        * The argument is both an input and an output.
        * 
@@ -408,8 +347,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Unspecified mode.
        * 
@@ -418,8 +355,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The argument is input-only.
        * 
@@ -428,8 +363,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IN_VALUE = 1; /** - * - * *
        * The argument is output-only.
        * 
@@ -438,8 +371,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OUT_VALUE = 2; /** - * - * *
        * The argument is both an input and an output.
        * 
@@ -448,6 +379,7 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INOUT_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -472,53 +404,50 @@ public static Mode valueOf(int value) { */ public static Mode forNumber(int value) { switch (value) { - case 0: - return MODE_UNSPECIFIED; - case 1: - return IN; - case 2: - return OUT; - case 3: - return INOUT; - default: - return null; + case 0: return MODE_UNSPECIFIED; + case 1: return IN; + case 2: return OUT; + case 3: return INOUT; + 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() { - return com.google.cloud.datacatalog.v1.RoutineSpec.Argument.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.RoutineSpec.Argument.getDescriptor().getEnumTypes().get(0); } 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; @@ -536,19 +465,15 @@ private Mode(int value) { } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
      * The name of the argument. A return argument of a function might not have
      * a name.
      * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -557,30 +482,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; } } /** - * - * *
      * The name of the argument. A return argument of a function might not have
      * a name.
      * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -591,54 +516,39 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int MODE_FIELD_NUMBER = 2; private int mode_ = 0; /** - * - * *
      * Specifies whether the argument is input or output.
      * 
* * .google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode mode = 2; - * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override - public int getModeValue() { + @java.lang.Override public int getModeValue() { return mode_; } /** - * - * *
      * Specifies whether the argument is input or output.
      * 
* * .google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode mode = 2; - * * @return The mode. */ - @java.lang.Override - public com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode getMode() { - com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode result = - com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.forNumber(mode_); - return result == null - ? com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode getMode() { + com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode result = com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.forNumber(mode_); + return result == null ? com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.UNRECOGNIZED : result; } public static final int TYPE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object type_ = ""; /** - * - * *
      * Type of the argument. The exact value depends on the source system and
      * the language.
      * 
* * string type = 3; - * * @return The type. */ @java.lang.Override @@ -647,30 +557,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; } } /** - * - * *
      * Type of the argument. The exact value depends on the source system and
      * the language.
      * 
* * string type = 3; - * * @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 { @@ -679,7 +589,6 @@ public com.google.protobuf.ByteString getTypeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -691,13 +600,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 (mode_ - != com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.MODE_UNSPECIFIED - .getNumber()) { + if (mode_ != com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.MODE_UNSPECIFIED.getNumber()) { output.writeEnum(2, mode_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { @@ -715,10 +623,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (mode_ - != com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, mode_); + if (mode_ != com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, mode_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, type_); @@ -731,17 +638,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.datacatalog.v1.RoutineSpec.Argument)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.RoutineSpec.Argument other = - (com.google.cloud.datacatalog.v1.RoutineSpec.Argument) obj; + com.google.cloud.datacatalog.v1.RoutineSpec.Argument other = (com.google.cloud.datacatalog.v1.RoutineSpec.Argument) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (mode_ != other.mode_) return false; - if (!getType().equals(other.getType())) return false; + if (!getType() + .equals(other.getType())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -765,94 +673,89 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.RoutineSpec.Argument prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.RoutineSpec.Argument prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -862,41 +765,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Input or output argument of a function or stored procedure.
      * 
* * Protobuf type {@code google.cloud.datacatalog.v1.RoutineSpec.Argument} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.RoutineSpec.Argument) com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.RoutineSpec.Argument.class, - com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder.class); + com.google.cloud.datacatalog.v1.RoutineSpec.Argument.class, com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.RoutineSpec.Argument.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -908,9 +809,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_descriptor; } @java.lang.Override @@ -929,11 +830,8 @@ public com.google.cloud.datacatalog.v1.RoutineSpec.Argument build() { @java.lang.Override public com.google.cloud.datacatalog.v1.RoutineSpec.Argument buildPartial() { - com.google.cloud.datacatalog.v1.RoutineSpec.Argument result = - new com.google.cloud.datacatalog.v1.RoutineSpec.Argument(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1.RoutineSpec.Argument result = new com.google.cloud.datacatalog.v1.RoutineSpec.Argument(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -955,41 +853,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.RoutineSpec.Argument public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.RoutineSpec.Argument) { - return mergeFrom((com.google.cloud.datacatalog.v1.RoutineSpec.Argument) other); + return mergeFrom((com.google.cloud.datacatalog.v1.RoutineSpec.Argument)other); } else { super.mergeFrom(other); return this; @@ -997,8 +892,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.RoutineSpec.Argument other) { - if (other == com.google.cloud.datacatalog.v1.RoutineSpec.Argument.getDefaultInstance()) - return this; + if (other == com.google.cloud.datacatalog.v1.RoutineSpec.Argument.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1038,31 +932,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - mode_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - type_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - 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: { + mode_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + type_ = 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) { @@ -1072,26 +962,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
        * The name of the argument. A return argument of a function might not have
        * a name.
        * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1100,22 +987,21 @@ public java.lang.String getName() { } } /** - * - * *
        * The name of the argument. A return argument of a function might not have
        * a name.
        * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1123,37 +1009,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * The name of the argument. A return argument of a function might not have
        * a name.
        * 
* * 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 argument. A return argument of a function might not have
        * a name.
        * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1163,22 +1042,18 @@ public Builder clearName() { return this; } /** - * - * *
        * The name of the argument. A return argument of a function might not have
        * a name.
        * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - 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; @@ -1188,29 +1063,22 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int mode_ = 0; /** - * - * *
        * Specifies whether the argument is input or output.
        * 
* * .google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode mode = 2; - * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override - public int getModeValue() { + @java.lang.Override public int getModeValue() { return mode_; } /** - * - * *
        * Specifies whether the argument is input or output.
        * 
* * .google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode mode = 2; - * * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ @@ -1221,33 +1089,24 @@ public Builder setModeValue(int value) { return this; } /** - * - * *
        * Specifies whether the argument is input or output.
        * 
* * .google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode mode = 2; - * * @return The mode. */ @java.lang.Override public com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode getMode() { - com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode result = - com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.forNumber(mode_); - return result == null - ? com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.UNRECOGNIZED - : result; + com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode result = com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.forNumber(mode_); + return result == null ? com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.UNRECOGNIZED : result; } /** - * - * *
        * Specifies whether the argument is input or output.
        * 
* * .google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode mode = 2; - * * @param value The mode to set. * @return This builder for chaining. */ @@ -1261,14 +1120,11 @@ public Builder setMode(com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode return this; } /** - * - * *
        * Specifies whether the argument is input or output.
        * 
* * .google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode mode = 2; - * * @return This builder for chaining. */ public Builder clearMode() { @@ -1280,21 +1136,19 @@ public Builder clearMode() { private java.lang.Object type_ = ""; /** - * - * *
        * Type of the argument. The exact value depends on the source system and
        * the language.
        * 
* * string type = 3; - * * @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; @@ -1303,22 +1157,21 @@ public java.lang.String getType() { } } /** - * - * *
        * Type of the argument. The exact value depends on the source system and
        * the language.
        * 
* * string type = 3; - * * @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 { @@ -1326,37 +1179,30 @@ public com.google.protobuf.ByteString getTypeBytes() { } } /** - * - * *
        * Type of the argument. The exact value depends on the source system and
        * the language.
        * 
* * string type = 3; - * * @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_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * Type of the argument. The exact value depends on the source system and
        * the language.
        * 
* * string type = 3; - * * @return This builder for chaining. */ public Builder clearType() { @@ -1366,29 +1212,24 @@ public Builder clearType() { return this; } /** - * - * *
        * Type of the argument. The exact value depends on the source system and
        * the language.
        * 
* * string type = 3; - * * @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_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1401,12 +1242,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.RoutineSpec.Argument) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.RoutineSpec.Argument) private static final com.google.cloud.datacatalog.v1.RoutineSpec.Argument DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.RoutineSpec.Argument(); } @@ -1415,28 +1256,27 @@ public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Argument parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Argument parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1451,21 +1291,18 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.RoutineSpec.Argument getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int systemSpecCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object systemSpec_; - public enum SystemSpecCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BIGQUERY_ROUTINE_SPEC(6), SYSTEMSPEC_NOT_SET(0); private final int value; - private SystemSpecCase(int value) { this.value = value; } @@ -1481,68 +1318,52 @@ public static SystemSpecCase valueOf(int value) { public static SystemSpecCase forNumber(int value) { switch (value) { - case 6: - return BIGQUERY_ROUTINE_SPEC; - case 0: - return SYSTEMSPEC_NOT_SET; - default: - return null; + case 6: return BIGQUERY_ROUTINE_SPEC; + case 0: return SYSTEMSPEC_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public SystemSpecCase getSystemSpecCase() { - return SystemSpecCase.forNumber(systemSpecCase_); + public SystemSpecCase + getSystemSpecCase() { + return SystemSpecCase.forNumber( + systemSpecCase_); } public static final int ROUTINE_TYPE_FIELD_NUMBER = 1; private int routineType_ = 0; /** - * - * *
    * The type of the routine.
    * 
* * .google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1; - * * @return The enum numeric value on the wire for routineType. */ - @java.lang.Override - public int getRoutineTypeValue() { + @java.lang.Override public int getRoutineTypeValue() { return routineType_; } /** - * - * *
    * The type of the routine.
    * 
* * .google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1; - * * @return The routineType. */ - @java.lang.Override - public com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType getRoutineType() { - com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType result = - com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.forNumber(routineType_); - return result == null - ? com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType getRoutineType() { + com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType result = com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.forNumber(routineType_); + return result == null ? com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.UNRECOGNIZED : result; } public static final int LANGUAGE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object language_ = ""; /** - * - * *
    * The language the routine is written in. The exact value depends on the
    * source system. For BigQuery routines, possible values are:
@@ -1552,7 +1373,6 @@ public com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType getRoutineType()
    * 
* * string language = 2; - * * @return The language. */ @java.lang.Override @@ -1561,15 +1381,14 @@ public java.lang.String getLanguage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); language_ = s; return s; } } /** - * - * *
    * The language the routine is written in. The exact value depends on the
    * source system. For BigQuery routines, possible values are:
@@ -1579,15 +1398,16 @@ public java.lang.String getLanguage() {
    * 
* * string language = 2; - * * @return The bytes for language. */ @java.lang.Override - public com.google.protobuf.ByteString getLanguageBytes() { + public com.google.protobuf.ByteString + getLanguageBytes() { java.lang.Object ref = language_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); language_ = b; return b; } else { @@ -1596,12 +1416,9 @@ public com.google.protobuf.ByteString getLanguageBytes() { } public static final int ROUTINE_ARGUMENTS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List routineArguments_; /** - * - * *
    * Arguments of the routine.
    * 
@@ -1609,13 +1426,10 @@ public com.google.protobuf.ByteString getLanguageBytes() { * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; */ @java.lang.Override - public java.util.List - getRoutineArgumentsList() { + public java.util.List getRoutineArgumentsList() { return routineArguments_; } /** - * - * *
    * Arguments of the routine.
    * 
@@ -1623,13 +1437,11 @@ public com.google.protobuf.ByteString getLanguageBytes() { * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; */ @java.lang.Override - public java.util.List + public java.util.List getRoutineArgumentsOrBuilderList() { return routineArguments_; } /** - * - * *
    * Arguments of the routine.
    * 
@@ -1641,8 +1453,6 @@ public int getRoutineArgumentsCount() { return routineArguments_.size(); } /** - * - * *
    * Arguments of the routine.
    * 
@@ -1654,8 +1464,6 @@ public com.google.cloud.datacatalog.v1.RoutineSpec.Argument getRoutineArguments( return routineArguments_.get(index); } /** - * - * *
    * Arguments of the routine.
    * 
@@ -1669,19 +1477,15 @@ public com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder getRoutineA } public static final int RETURN_TYPE_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object returnType_ = ""; /** - * - * *
    * Return type of the argument. The exact value depends on the source system
    * and the language.
    * 
* * string return_type = 4; - * * @return The returnType. */ @java.lang.Override @@ -1690,30 +1494,30 @@ public java.lang.String getReturnType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); returnType_ = s; return s; } } /** - * - * *
    * Return type of the argument. The exact value depends on the source system
    * and the language.
    * 
* * string return_type = 4; - * * @return The bytes for returnType. */ @java.lang.Override - public com.google.protobuf.ByteString getReturnTypeBytes() { + public com.google.protobuf.ByteString + getReturnTypeBytes() { java.lang.Object ref = returnType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); returnType_ = b; return b; } else { @@ -1722,18 +1526,14 @@ public com.google.protobuf.ByteString getReturnTypeBytes() { } public static final int DEFINITION_BODY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object definitionBody_ = ""; /** - * - * *
    * The body of the routine.
    * 
* * string definition_body = 5; - * * @return The definitionBody. */ @java.lang.Override @@ -1742,29 +1542,29 @@ public java.lang.String getDefinitionBody() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); definitionBody_ = s; return s; } } /** - * - * *
    * The body of the routine.
    * 
* * string definition_body = 5; - * * @return The bytes for definitionBody. */ @java.lang.Override - public com.google.protobuf.ByteString getDefinitionBodyBytes() { + public com.google.protobuf.ByteString + getDefinitionBodyBytes() { java.lang.Object ref = definitionBody_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); definitionBody_ = b; return b; } else { @@ -1774,14 +1574,11 @@ public com.google.protobuf.ByteString getDefinitionBodyBytes() { public static final int BIGQUERY_ROUTINE_SPEC_FIELD_NUMBER = 6; /** - * - * *
    * Fields specific for BigQuery routines.
    * 
* * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; - * * @return Whether the bigqueryRoutineSpec field is set. */ @java.lang.Override @@ -1789,26 +1586,21 @@ public boolean hasBigqueryRoutineSpec() { return systemSpecCase_ == 6; } /** - * - * *
    * Fields specific for BigQuery routines.
    * 
* * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; - * * @return The bigqueryRoutineSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.BigQueryRoutineSpec getBigqueryRoutineSpec() { if (systemSpecCase_ == 6) { - return (com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) systemSpec_; + return (com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) systemSpec_; } return com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.getDefaultInstance(); } /** - * - * *
    * Fields specific for BigQuery routines.
    * 
@@ -1816,16 +1608,14 @@ public com.google.cloud.datacatalog.v1.BigQueryRoutineSpec getBigqueryRoutineSpe * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder - getBigqueryRoutineSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder getBigqueryRoutineSpecOrBuilder() { if (systemSpecCase_ == 6) { - return (com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) systemSpec_; + return (com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) systemSpec_; } return com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1837,10 +1627,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (routineType_ - != com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.ROUTINE_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (routineType_ != com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.ROUTINE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, routineType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(language_)) { @@ -1867,16 +1656,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (routineType_ - != com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.ROUTINE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, routineType_); + if (routineType_ != com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.ROUTINE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, routineType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(language_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, language_); } for (int i = 0; i < routineArguments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, routineArguments_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, routineArguments_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(returnType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, returnType_); @@ -1885,9 +1674,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, definitionBody_); } if (systemSpecCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) systemSpec_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) systemSpec_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1897,23 +1685,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.datacatalog.v1.RoutineSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.RoutineSpec other = - (com.google.cloud.datacatalog.v1.RoutineSpec) obj; + com.google.cloud.datacatalog.v1.RoutineSpec other = (com.google.cloud.datacatalog.v1.RoutineSpec) obj; if (routineType_ != other.routineType_) return false; - if (!getLanguage().equals(other.getLanguage())) return false; - if (!getRoutineArgumentsList().equals(other.getRoutineArgumentsList())) return false; - if (!getReturnType().equals(other.getReturnType())) return false; - if (!getDefinitionBody().equals(other.getDefinitionBody())) return false; + if (!getLanguage() + .equals(other.getLanguage())) return false; + if (!getRoutineArgumentsList() + .equals(other.getRoutineArgumentsList())) return false; + if (!getReturnType() + .equals(other.getReturnType())) return false; + if (!getDefinitionBody() + .equals(other.getDefinitionBody())) return false; if (!getSystemSpecCase().equals(other.getSystemSpecCase())) return false; switch (systemSpecCase_) { case 6: - if (!getBigqueryRoutineSpec().equals(other.getBigqueryRoutineSpec())) return false; + if (!getBigqueryRoutineSpec() + .equals(other.getBigqueryRoutineSpec())) return false; break; case 0: default: @@ -1954,104 +1746,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.RoutineSpec parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.RoutineSpec parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.RoutineSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.RoutineSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.RoutineSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.RoutineSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.RoutineSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.RoutineSpec parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.RoutineSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.RoutineSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.RoutineSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.RoutineSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.RoutineSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.RoutineSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.RoutineSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specification that applies to a routine. Valid only for
    * entries with the `ROUTINE` type.
@@ -2059,32 +1846,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.RoutineSpec}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.RoutineSpec)
       com.google.cloud.datacatalog.v1.RoutineSpecOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_RoutineSpec_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RoutineSpec_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.RoutineSpec.class,
-              com.google.cloud.datacatalog.v1.RoutineSpec.Builder.class);
+              com.google.cloud.datacatalog.v1.RoutineSpec.class, com.google.cloud.datacatalog.v1.RoutineSpec.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.RoutineSpec.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2109,9 +1897,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor;
     }
 
     @java.lang.Override
@@ -2130,12 +1918,9 @@ public com.google.cloud.datacatalog.v1.RoutineSpec build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.RoutineSpec buildPartial() {
-      com.google.cloud.datacatalog.v1.RoutineSpec result =
-          new com.google.cloud.datacatalog.v1.RoutineSpec(this);
+      com.google.cloud.datacatalog.v1.RoutineSpec result = new com.google.cloud.datacatalog.v1.RoutineSpec(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -2172,7 +1957,8 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.RoutineSpec result) {
     private void buildPartialOneofs(com.google.cloud.datacatalog.v1.RoutineSpec result) {
       result.systemSpecCase_ = systemSpecCase_;
       result.systemSpec_ = this.systemSpec_;
-      if (systemSpecCase_ == 6 && bigqueryRoutineSpecBuilder_ != null) {
+      if (systemSpecCase_ == 6 &&
+          bigqueryRoutineSpecBuilder_ != null) {
         result.systemSpec_ = bigqueryRoutineSpecBuilder_.build();
       }
     }
@@ -2181,39 +1967,38 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.RoutineSpec 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.datacatalog.v1.RoutineSpec) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.RoutineSpec) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.RoutineSpec)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2248,10 +2033,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.RoutineSpec other) {
             routineArgumentsBuilder_ = null;
             routineArguments_ = other.routineArguments_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            routineArgumentsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getRoutineArgumentsFieldBuilder()
-                    : null;
+            routineArgumentsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getRoutineArgumentsFieldBuilder() : null;
           } else {
             routineArgumentsBuilder_.addAllMessages(other.routineArguments_);
           }
@@ -2268,15 +2052,13 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.RoutineSpec other) {
         onChanged();
       }
       switch (other.getSystemSpecCase()) {
-        case BIGQUERY_ROUTINE_SPEC:
-          {
-            mergeBigqueryRoutineSpec(other.getBigqueryRoutineSpec());
-            break;
-          }
-        case SYSTEMSPEC_NOT_SET:
-          {
-            break;
-          }
+        case BIGQUERY_ROUTINE_SPEC: {
+          mergeBigqueryRoutineSpec(other.getBigqueryRoutineSpec());
+          break;
+        }
+        case SYSTEMSPEC_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -2304,58 +2086,52 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                routineType_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 18:
-              {
-                language_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                com.google.cloud.datacatalog.v1.RoutineSpec.Argument m =
-                    input.readMessage(
-                        com.google.cloud.datacatalog.v1.RoutineSpec.Argument.parser(),
-                        extensionRegistry);
-                if (routineArgumentsBuilder_ == null) {
-                  ensureRoutineArgumentsIsMutable();
-                  routineArguments_.add(m);
-                } else {
-                  routineArgumentsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 26
-            case 34:
-              {
-                returnType_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                definitionBody_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(
-                    getBigqueryRoutineSpecFieldBuilder().getBuilder(), extensionRegistry);
-                systemSpecCase_ = 6;
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              routineType_ = input.readEnum();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 18: {
+              language_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              com.google.cloud.datacatalog.v1.RoutineSpec.Argument m =
+                  input.readMessage(
+                      com.google.cloud.datacatalog.v1.RoutineSpec.Argument.parser(),
+                      extensionRegistry);
+              if (routineArgumentsBuilder_ == null) {
+                ensureRoutineArgumentsIsMutable();
+                routineArguments_.add(m);
+              } else {
+                routineArgumentsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 26
+            case 34: {
+              returnType_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              definitionBody_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getBigqueryRoutineSpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              systemSpecCase_ = 6;
+              break;
+            } // case 50
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2365,12 +2141,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int systemSpecCase_ = 0;
     private java.lang.Object systemSpec_;
-
-    public SystemSpecCase getSystemSpecCase() {
-      return SystemSpecCase.forNumber(systemSpecCase_);
+    public SystemSpecCase
+        getSystemSpecCase() {
+      return SystemSpecCase.forNumber(
+          systemSpecCase_);
     }
 
     public Builder clearSystemSpec() {
@@ -2384,29 +2160,22 @@ public Builder clearSystemSpec() {
 
     private int routineType_ = 0;
     /**
-     *
-     *
      * 
      * The type of the routine.
      * 
* * .google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1; - * * @return The enum numeric value on the wire for routineType. */ - @java.lang.Override - public int getRoutineTypeValue() { + @java.lang.Override public int getRoutineTypeValue() { return routineType_; } /** - * - * *
      * The type of the routine.
      * 
* * .google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1; - * * @param value The enum numeric value on the wire for routineType to set. * @return This builder for chaining. */ @@ -2417,33 +2186,24 @@ public Builder setRoutineTypeValue(int value) { return this; } /** - * - * *
      * The type of the routine.
      * 
* * .google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1; - * * @return The routineType. */ @java.lang.Override public com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType getRoutineType() { - com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType result = - com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.forNumber(routineType_); - return result == null - ? com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.UNRECOGNIZED - : result; + com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType result = com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.forNumber(routineType_); + return result == null ? com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.UNRECOGNIZED : result; } /** - * - * *
      * The type of the routine.
      * 
* * .google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1; - * * @param value The routineType to set. * @return This builder for chaining. */ @@ -2457,14 +2217,11 @@ public Builder setRoutineType(com.google.cloud.datacatalog.v1.RoutineSpec.Routin return this; } /** - * - * *
      * The type of the routine.
      * 
* * .google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1; - * * @return This builder for chaining. */ public Builder clearRoutineType() { @@ -2476,8 +2233,6 @@ public Builder clearRoutineType() { private java.lang.Object language_ = ""; /** - * - * *
      * The language the routine is written in. The exact value depends on the
      * source system. For BigQuery routines, possible values are:
@@ -2487,13 +2242,13 @@ public Builder clearRoutineType() {
      * 
* * string language = 2; - * * @return The language. */ public java.lang.String getLanguage() { java.lang.Object ref = language_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); language_ = s; return s; @@ -2502,8 +2257,6 @@ public java.lang.String getLanguage() { } } /** - * - * *
      * The language the routine is written in. The exact value depends on the
      * source system. For BigQuery routines, possible values are:
@@ -2513,14 +2266,15 @@ public java.lang.String getLanguage() {
      * 
* * string language = 2; - * * @return The bytes for language. */ - public com.google.protobuf.ByteString getLanguageBytes() { + public com.google.protobuf.ByteString + getLanguageBytes() { java.lang.Object ref = language_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); language_ = b; return b; } else { @@ -2528,8 +2282,6 @@ public com.google.protobuf.ByteString getLanguageBytes() { } } /** - * - * *
      * The language the routine is written in. The exact value depends on the
      * source system. For BigQuery routines, possible values are:
@@ -2539,22 +2291,18 @@ public com.google.protobuf.ByteString getLanguageBytes() {
      * 
* * string language = 2; - * * @param value The language to set. * @return This builder for chaining. */ - public Builder setLanguage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLanguage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } language_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The language the routine is written in. The exact value depends on the
      * source system. For BigQuery routines, possible values are:
@@ -2564,7 +2312,6 @@ public Builder setLanguage(java.lang.String value) {
      * 
* * string language = 2; - * * @return This builder for chaining. */ public Builder clearLanguage() { @@ -2574,8 +2321,6 @@ public Builder clearLanguage() { return this; } /** - * - * *
      * The language the routine is written in. The exact value depends on the
      * source system. For BigQuery routines, possible values are:
@@ -2585,14 +2330,12 @@ public Builder clearLanguage() {
      * 
* * string language = 2; - * * @param value The bytes for language to set. * @return This builder for chaining. */ - public Builder setLanguageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLanguageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); language_ = value; bitField0_ |= 0x00000002; @@ -2601,35 +2344,25 @@ public Builder setLanguageBytes(com.google.protobuf.ByteString value) { } private java.util.List routineArguments_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRoutineArgumentsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - routineArguments_ = - new java.util.ArrayList( - routineArguments_); + routineArguments_ = new java.util.ArrayList(routineArguments_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.RoutineSpec.Argument, - com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder, - com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder> - routineArgumentsBuilder_; + com.google.cloud.datacatalog.v1.RoutineSpec.Argument, com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder, com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder> routineArgumentsBuilder_; /** - * - * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; - * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; */ - public java.util.List - getRoutineArgumentsList() { + public java.util.List getRoutineArgumentsList() { if (routineArgumentsBuilder_ == null) { return java.util.Collections.unmodifiableList(routineArguments_); } else { @@ -2637,14 +2370,11 @@ private void ensureRoutineArgumentsIsMutable() { } } /** - * - * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; - * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; */ public int getRoutineArgumentsCount() { if (routineArgumentsBuilder_ == null) { @@ -2654,14 +2384,11 @@ public int getRoutineArgumentsCount() { } } /** - * - * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; - * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; */ public com.google.cloud.datacatalog.v1.RoutineSpec.Argument getRoutineArguments(int index) { if (routineArgumentsBuilder_ == null) { @@ -2671,14 +2398,11 @@ public com.google.cloud.datacatalog.v1.RoutineSpec.Argument getRoutineArguments( } } /** - * - * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; - * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; */ public Builder setRoutineArguments( int index, com.google.cloud.datacatalog.v1.RoutineSpec.Argument value) { @@ -2695,14 +2419,11 @@ public Builder setRoutineArguments( return this; } /** - * - * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; - * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; */ public Builder setRoutineArguments( int index, com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder builderForValue) { @@ -2716,14 +2437,11 @@ public Builder setRoutineArguments( return this; } /** - * - * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; - * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; */ public Builder addRoutineArguments(com.google.cloud.datacatalog.v1.RoutineSpec.Argument value) { if (routineArgumentsBuilder_ == null) { @@ -2739,14 +2457,11 @@ public Builder addRoutineArguments(com.google.cloud.datacatalog.v1.RoutineSpec.A return this; } /** - * - * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; - * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; */ public Builder addRoutineArguments( int index, com.google.cloud.datacatalog.v1.RoutineSpec.Argument value) { @@ -2763,14 +2478,11 @@ public Builder addRoutineArguments( return this; } /** - * - * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; - * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; */ public Builder addRoutineArguments( com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder builderForValue) { @@ -2784,14 +2496,11 @@ public Builder addRoutineArguments( return this; } /** - * - * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; - * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; */ public Builder addRoutineArguments( int index, com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder builderForValue) { @@ -2805,20 +2514,18 @@ public Builder addRoutineArguments( return this; } /** - * - * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; - * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; */ public Builder addAllRoutineArguments( java.lang.Iterable values) { if (routineArgumentsBuilder_ == null) { ensureRoutineArgumentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, routineArguments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, routineArguments_); onChanged(); } else { routineArgumentsBuilder_.addAllMessages(values); @@ -2826,14 +2533,11 @@ public Builder addAllRoutineArguments( return this; } /** - * - * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; - * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; */ public Builder clearRoutineArguments() { if (routineArgumentsBuilder_ == null) { @@ -2846,14 +2550,11 @@ public Builder clearRoutineArguments() { return this; } /** - * - * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; - * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; */ public Builder removeRoutineArguments(int index) { if (routineArgumentsBuilder_ == null) { @@ -2866,49 +2567,39 @@ public Builder removeRoutineArguments(int index) { return this; } /** - * - * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; - * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; */ public com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder getRoutineArgumentsBuilder( int index) { return getRoutineArgumentsFieldBuilder().getBuilder(index); } /** - * - * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; - * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; */ - public com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder - getRoutineArgumentsOrBuilder(int index) { + public com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder getRoutineArgumentsOrBuilder( + int index) { if (routineArgumentsBuilder_ == null) { - return routineArguments_.get(index); - } else { + return routineArguments_.get(index); } else { return routineArgumentsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; - * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; */ - public java.util.List - getRoutineArgumentsOrBuilderList() { + public java.util.List + getRoutineArgumentsOrBuilderList() { if (routineArgumentsBuilder_ != null) { return routineArgumentsBuilder_.getMessageOrBuilderList(); } else { @@ -2916,62 +2607,45 @@ public com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder getRoutineAr } } /** - * - * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; - * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; */ - public com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder - addRoutineArgumentsBuilder() { - return getRoutineArgumentsFieldBuilder() - .addBuilder(com.google.cloud.datacatalog.v1.RoutineSpec.Argument.getDefaultInstance()); + public com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder addRoutineArgumentsBuilder() { + return getRoutineArgumentsFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1.RoutineSpec.Argument.getDefaultInstance()); } /** - * - * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; - * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; */ public com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder addRoutineArgumentsBuilder( int index) { - return getRoutineArgumentsFieldBuilder() - .addBuilder( - index, com.google.cloud.datacatalog.v1.RoutineSpec.Argument.getDefaultInstance()); + return getRoutineArgumentsFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1.RoutineSpec.Argument.getDefaultInstance()); } /** - * - * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; - * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; */ - public java.util.List - getRoutineArgumentsBuilderList() { + public java.util.List + getRoutineArgumentsBuilderList() { return getRoutineArgumentsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.RoutineSpec.Argument, - com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder, - com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder> + com.google.cloud.datacatalog.v1.RoutineSpec.Argument, com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder, com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder> getRoutineArgumentsFieldBuilder() { if (routineArgumentsBuilder_ == null) { - routineArgumentsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.RoutineSpec.Argument, - com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder, - com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder>( + routineArgumentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.RoutineSpec.Argument, com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder, com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder>( routineArguments_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -2983,21 +2657,19 @@ public com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder addRoutineAr private java.lang.Object returnType_ = ""; /** - * - * *
      * Return type of the argument. The exact value depends on the source system
      * and the language.
      * 
* * string return_type = 4; - * * @return The returnType. */ public java.lang.String getReturnType() { java.lang.Object ref = returnType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); returnType_ = s; return s; @@ -3006,22 +2678,21 @@ public java.lang.String getReturnType() { } } /** - * - * *
      * Return type of the argument. The exact value depends on the source system
      * and the language.
      * 
* * string return_type = 4; - * * @return The bytes for returnType. */ - public com.google.protobuf.ByteString getReturnTypeBytes() { + public com.google.protobuf.ByteString + getReturnTypeBytes() { java.lang.Object ref = returnType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); returnType_ = b; return b; } else { @@ -3029,37 +2700,30 @@ public com.google.protobuf.ByteString getReturnTypeBytes() { } } /** - * - * *
      * Return type of the argument. The exact value depends on the source system
      * and the language.
      * 
* * string return_type = 4; - * * @param value The returnType to set. * @return This builder for chaining. */ - public Builder setReturnType(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setReturnType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } returnType_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Return type of the argument. The exact value depends on the source system
      * and the language.
      * 
* * string return_type = 4; - * * @return This builder for chaining. */ public Builder clearReturnType() { @@ -3069,22 +2733,18 @@ public Builder clearReturnType() { return this; } /** - * - * *
      * Return type of the argument. The exact value depends on the source system
      * and the language.
      * 
* * string return_type = 4; - * * @param value The bytes for returnType to set. * @return This builder for chaining. */ - public Builder setReturnTypeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setReturnTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); returnType_ = value; bitField0_ |= 0x00000008; @@ -3094,20 +2754,18 @@ public Builder setReturnTypeBytes(com.google.protobuf.ByteString value) { private java.lang.Object definitionBody_ = ""; /** - * - * *
      * The body of the routine.
      * 
* * string definition_body = 5; - * * @return The definitionBody. */ public java.lang.String getDefinitionBody() { java.lang.Object ref = definitionBody_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); definitionBody_ = s; return s; @@ -3116,21 +2774,20 @@ public java.lang.String getDefinitionBody() { } } /** - * - * *
      * The body of the routine.
      * 
* * string definition_body = 5; - * * @return The bytes for definitionBody. */ - public com.google.protobuf.ByteString getDefinitionBodyBytes() { + public com.google.protobuf.ByteString + getDefinitionBodyBytes() { java.lang.Object ref = definitionBody_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); definitionBody_ = b; return b; } else { @@ -3138,35 +2795,28 @@ public com.google.protobuf.ByteString getDefinitionBodyBytes() { } } /** - * - * *
      * The body of the routine.
      * 
* * string definition_body = 5; - * * @param value The definitionBody to set. * @return This builder for chaining. */ - public Builder setDefinitionBody(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDefinitionBody( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } definitionBody_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The body of the routine.
      * 
* * string definition_body = 5; - * * @return This builder for chaining. */ public Builder clearDefinitionBody() { @@ -3176,21 +2826,17 @@ public Builder clearDefinitionBody() { return this; } /** - * - * *
      * The body of the routine.
      * 
* * string definition_body = 5; - * * @param value The bytes for definitionBody to set. * @return This builder for chaining. */ - public Builder setDefinitionBodyBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDefinitionBodyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); definitionBody_ = value; bitField0_ |= 0x00000010; @@ -3199,19 +2845,13 @@ public Builder setDefinitionBodyBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.BigQueryRoutineSpec, - com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder, - com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder> - bigqueryRoutineSpecBuilder_; + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec, com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder, com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder> bigqueryRoutineSpecBuilder_; /** - * - * *
      * Fields specific for BigQuery routines.
      * 
* * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; - * * @return Whether the bigqueryRoutineSpec field is set. */ @java.lang.Override @@ -3219,14 +2859,11 @@ public boolean hasBigqueryRoutineSpec() { return systemSpecCase_ == 6; } /** - * - * *
      * Fields specific for BigQuery routines.
      * 
* * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; - * * @return The bigqueryRoutineSpec. */ @java.lang.Override @@ -3244,16 +2881,13 @@ public com.google.cloud.datacatalog.v1.BigQueryRoutineSpec getBigqueryRoutineSpe } } /** - * - * *
      * Fields specific for BigQuery routines.
      * 
* * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; */ - public Builder setBigqueryRoutineSpec( - com.google.cloud.datacatalog.v1.BigQueryRoutineSpec value) { + public Builder setBigqueryRoutineSpec(com.google.cloud.datacatalog.v1.BigQueryRoutineSpec value) { if (bigqueryRoutineSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3267,8 +2901,6 @@ public Builder setBigqueryRoutineSpec( return this; } /** - * - * *
      * Fields specific for BigQuery routines.
      * 
@@ -3287,25 +2919,18 @@ public Builder setBigqueryRoutineSpec( return this; } /** - * - * *
      * Fields specific for BigQuery routines.
      * 
* * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; */ - public Builder mergeBigqueryRoutineSpec( - com.google.cloud.datacatalog.v1.BigQueryRoutineSpec value) { + public Builder mergeBigqueryRoutineSpec(com.google.cloud.datacatalog.v1.BigQueryRoutineSpec value) { if (bigqueryRoutineSpecBuilder_ == null) { - if (systemSpecCase_ == 6 - && systemSpec_ - != com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.getDefaultInstance()) { - systemSpec_ = - com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.newBuilder( - (com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) systemSpec_) - .mergeFrom(value) - .buildPartial(); + if (systemSpecCase_ == 6 && + systemSpec_ != com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.getDefaultInstance()) { + systemSpec_ = com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.newBuilder((com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) systemSpec_) + .mergeFrom(value).buildPartial(); } else { systemSpec_ = value; } @@ -3321,8 +2946,6 @@ public Builder mergeBigqueryRoutineSpec( return this; } /** - * - * *
      * Fields specific for BigQuery routines.
      * 
@@ -3346,21 +2969,16 @@ public Builder clearBigqueryRoutineSpec() { return this; } /** - * - * *
      * Fields specific for BigQuery routines.
      * 
* * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; */ - public com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder - getBigqueryRoutineSpecBuilder() { + public com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder getBigqueryRoutineSpecBuilder() { return getBigqueryRoutineSpecFieldBuilder().getBuilder(); } /** - * - * *
      * Fields specific for BigQuery routines.
      * 
@@ -3368,8 +2986,7 @@ public Builder clearBigqueryRoutineSpec() { * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder - getBigqueryRoutineSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder getBigqueryRoutineSpecOrBuilder() { if ((systemSpecCase_ == 6) && (bigqueryRoutineSpecBuilder_ != null)) { return bigqueryRoutineSpecBuilder_.getMessageOrBuilder(); } else { @@ -3380,8 +2997,6 @@ public Builder clearBigqueryRoutineSpec() { } } /** - * - * *
      * Fields specific for BigQuery routines.
      * 
@@ -3389,19 +3004,14 @@ public Builder clearBigqueryRoutineSpec() { * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.BigQueryRoutineSpec, - com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder, - com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder> + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec, com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder, com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder> getBigqueryRoutineSpecFieldBuilder() { if (bigqueryRoutineSpecBuilder_ == null) { if (!(systemSpecCase_ == 6)) { systemSpec_ = com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.getDefaultInstance(); } - bigqueryRoutineSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.BigQueryRoutineSpec, - com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder, - com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder>( + bigqueryRoutineSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec, com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder, com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder>( (com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) systemSpec_, getParentForChildren(), isClean()); @@ -3411,9 +3021,9 @@ public Builder clearBigqueryRoutineSpec() { onChanged(); return bigqueryRoutineSpecBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3423,12 +3033,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.RoutineSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.RoutineSpec) private static final com.google.cloud.datacatalog.v1.RoutineSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.RoutineSpec(); } @@ -3437,27 +3047,27 @@ public static com.google.cloud.datacatalog.v1.RoutineSpec getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RoutineSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RoutineSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3472,4 +3082,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.RoutineSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpecOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpecOrBuilder.java similarity index 80% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpecOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpecOrBuilder.java index aaddafbf4a51..1f7c370d1c05 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpecOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpecOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface RoutineSpecOrBuilder - extends +public interface RoutineSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.RoutineSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The type of the routine.
    * 
* * .google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1; - * * @return The enum numeric value on the wire for routineType. */ int getRoutineTypeValue(); /** - * - * *
    * The type of the routine.
    * 
* * .google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1; - * * @return The routineType. */ com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType getRoutineType(); /** - * - * *
    * The language the routine is written in. The exact value depends on the
    * source system. For BigQuery routines, possible values are:
@@ -60,13 +36,10 @@ public interface RoutineSpecOrBuilder
    * 
* * string language = 2; - * * @return The language. */ java.lang.String getLanguage(); /** - * - * *
    * The language the routine is written in. The exact value depends on the
    * source system. For BigQuery routines, possible values are:
@@ -76,24 +49,21 @@ public interface RoutineSpecOrBuilder
    * 
* * string language = 2; - * * @return The bytes for language. */ - com.google.protobuf.ByteString getLanguageBytes(); + com.google.protobuf.ByteString + getLanguageBytes(); /** - * - * *
    * Arguments of the routine.
    * 
* * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; */ - java.util.List getRoutineArgumentsList(); + java.util.List + getRoutineArgumentsList(); /** - * - * *
    * Arguments of the routine.
    * 
@@ -102,8 +72,6 @@ public interface RoutineSpecOrBuilder */ com.google.cloud.datacatalog.v1.RoutineSpec.Argument getRoutineArguments(int index); /** - * - * *
    * Arguments of the routine.
    * 
@@ -112,19 +80,15 @@ public interface RoutineSpecOrBuilder */ int getRoutineArgumentsCount(); /** - * - * *
    * Arguments of the routine.
    * 
* * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; */ - java.util.List + java.util.List getRoutineArgumentsOrBuilderList(); /** - * - * *
    * Arguments of the routine.
    * 
@@ -135,84 +99,66 @@ com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder getRoutineArgument int index); /** - * - * *
    * Return type of the argument. The exact value depends on the source system
    * and the language.
    * 
* * string return_type = 4; - * * @return The returnType. */ java.lang.String getReturnType(); /** - * - * *
    * Return type of the argument. The exact value depends on the source system
    * and the language.
    * 
* * string return_type = 4; - * * @return The bytes for returnType. */ - com.google.protobuf.ByteString getReturnTypeBytes(); + com.google.protobuf.ByteString + getReturnTypeBytes(); /** - * - * *
    * The body of the routine.
    * 
* * string definition_body = 5; - * * @return The definitionBody. */ java.lang.String getDefinitionBody(); /** - * - * *
    * The body of the routine.
    * 
* * string definition_body = 5; - * * @return The bytes for definitionBody. */ - com.google.protobuf.ByteString getDefinitionBodyBytes(); + com.google.protobuf.ByteString + getDefinitionBodyBytes(); /** - * - * *
    * Fields specific for BigQuery routines.
    * 
* * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; - * * @return Whether the bigqueryRoutineSpec field is set. */ boolean hasBigqueryRoutineSpec(); /** - * - * *
    * Fields specific for BigQuery routines.
    * 
* * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; - * * @return The bigqueryRoutineSpec. */ com.google.cloud.datacatalog.v1.BigQueryRoutineSpec getBigqueryRoutineSpec(); /** - * - * *
    * Fields specific for BigQuery routines.
    * 
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Schema.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Schema.java similarity index 74% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Schema.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Schema.java index 1a5b3c5ef043..28f68237b0a1 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Schema.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Schema.java @@ -1,74 +1,52 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/schema.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Represents a schema, for example, a BigQuery, GoogleSQL, or Avro schema.
  * 
* * Protobuf type {@code google.cloud.datacatalog.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.datacatalog.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() { columns_ = 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 Schema(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.SchemaOuterClass - .internal_static_google_cloud_datacatalog_v1_Schema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1_Schema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.SchemaOuterClass - .internal_static_google_cloud_datacatalog_v1_Schema_fieldAccessorTable + return com.google.cloud.datacatalog.v1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1_Schema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.Schema.class, - com.google.cloud.datacatalog.v1.Schema.Builder.class); + com.google.cloud.datacatalog.v1.Schema.class, com.google.cloud.datacatalog.v1.Schema.Builder.class); } public static final int COLUMNS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List columns_; /** - * - * *
    * The unified GoogleSQL-like schema of columns.
    *
@@ -83,8 +61,6 @@ public java.util.List getColumnsLi
     return columns_;
   }
   /**
-   *
-   *
    * 
    * The unified GoogleSQL-like schema of columns.
    *
@@ -95,13 +71,11 @@ public java.util.List getColumnsLi
    * repeated .google.cloud.datacatalog.v1.ColumnSchema columns = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getColumnsOrBuilderList() {
     return columns_;
   }
   /**
-   *
-   *
    * 
    * The unified GoogleSQL-like schema of columns.
    *
@@ -116,8 +90,6 @@ public int getColumnsCount() {
     return columns_.size();
   }
   /**
-   *
-   *
    * 
    * The unified GoogleSQL-like schema of columns.
    *
@@ -132,8 +104,6 @@ public com.google.cloud.datacatalog.v1.ColumnSchema getColumns(int index) {
     return columns_.get(index);
   }
   /**
-   *
-   *
    * 
    * The unified GoogleSQL-like schema of columns.
    *
@@ -144,12 +114,12 @@ public com.google.cloud.datacatalog.v1.ColumnSchema getColumns(int index) {
    * repeated .google.cloud.datacatalog.v1.ColumnSchema columns = 2;
    */
   @java.lang.Override
-  public com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getColumnsOrBuilder(int index) {
+  public com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getColumnsOrBuilder(
+      int index) {
     return columns_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -161,7 +131,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < columns_.size(); i++) {
       output.writeMessage(2, columns_.get(i));
     }
@@ -175,7 +146,8 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < columns_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, columns_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, columns_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -185,14 +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.datacatalog.v1.Schema)) {
       return super.equals(obj);
     }
     com.google.cloud.datacatalog.v1.Schema other = (com.google.cloud.datacatalog.v1.Schema) obj;
 
-    if (!getColumnsList().equals(other.getColumnsList())) return false;
+    if (!getColumnsList()
+        .equals(other.getColumnsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -213,136 +186,132 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.datacatalog.v1.Schema parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.datacatalog.v1.Schema parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.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.datacatalog.v1.Schema parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.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.datacatalog.v1.Schema parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.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.datacatalog.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.datacatalog.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.datacatalog.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.datacatalog.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.datacatalog.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.datacatalog.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.datacatalog.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;
   }
   /**
-   *
-   *
    * 
    * Represents a schema, for example, a BigQuery, GoogleSQL, or Avro schema.
    * 
* * Protobuf type {@code google.cloud.datacatalog.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.datacatalog.v1.Schema) com.google.cloud.datacatalog.v1.SchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.SchemaOuterClass - .internal_static_google_cloud_datacatalog_v1_Schema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1_Schema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.SchemaOuterClass - .internal_static_google_cloud_datacatalog_v1_Schema_fieldAccessorTable + return com.google.cloud.datacatalog.v1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1_Schema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.Schema.class, - com.google.cloud.datacatalog.v1.Schema.Builder.class); + com.google.cloud.datacatalog.v1.Schema.class, com.google.cloud.datacatalog.v1.Schema.Builder.class); } // Construct using com.google.cloud.datacatalog.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(); @@ -358,9 +327,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.SchemaOuterClass - .internal_static_google_cloud_datacatalog_v1_Schema_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1_Schema_descriptor; } @java.lang.Override @@ -379,12 +348,9 @@ public com.google.cloud.datacatalog.v1.Schema build() { @java.lang.Override public com.google.cloud.datacatalog.v1.Schema buildPartial() { - com.google.cloud.datacatalog.v1.Schema result = - new com.google.cloud.datacatalog.v1.Schema(this); + com.google.cloud.datacatalog.v1.Schema result = new com.google.cloud.datacatalog.v1.Schema(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -409,39 +375,38 @@ private void buildPartial0(com.google.cloud.datacatalog.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.datacatalog.v1.Schema) { - return mergeFrom((com.google.cloud.datacatalog.v1.Schema) other); + return mergeFrom((com.google.cloud.datacatalog.v1.Schema)other); } else { super.mergeFrom(other); return this; @@ -468,10 +433,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.Schema other) { columnsBuilder_ = null; columns_ = other.columns_; bitField0_ = (bitField0_ & ~0x00000001); - columnsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getColumnsFieldBuilder() - : null; + columnsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getColumnsFieldBuilder() : null; } else { columnsBuilder_.addAllMessages(other.columns_); } @@ -503,26 +467,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - com.google.cloud.datacatalog.v1.ColumnSchema m = - input.readMessage( - com.google.cloud.datacatalog.v1.ColumnSchema.parser(), extensionRegistry); - if (columnsBuilder_ == null) { - ensureColumnsIsMutable(); - columns_.add(m); - } else { - columnsBuilder_.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.datacatalog.v1.ColumnSchema m = + input.readMessage( + com.google.cloud.datacatalog.v1.ColumnSchema.parser(), + extensionRegistry); + if (columnsBuilder_ == null) { + ensureColumnsIsMutable(); + columns_.add(m); + } else { + columnsBuilder_.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) { @@ -532,28 +495,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List columns_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureColumnsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { columns_ = new java.util.ArrayList(columns_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.ColumnSchema, - com.google.cloud.datacatalog.v1.ColumnSchema.Builder, - com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder> - columnsBuilder_; + com.google.cloud.datacatalog.v1.ColumnSchema, com.google.cloud.datacatalog.v1.ColumnSchema.Builder, com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder> columnsBuilder_; /** - * - * *
      * The unified GoogleSQL-like schema of columns.
      *
@@ -571,8 +527,6 @@ public java.util.List getColumnsLi
       }
     }
     /**
-     *
-     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -590,8 +544,6 @@ public int getColumnsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -609,8 +561,6 @@ public com.google.cloud.datacatalog.v1.ColumnSchema getColumns(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -620,7 +570,8 @@ public com.google.cloud.datacatalog.v1.ColumnSchema getColumns(int index) {
      *
      * repeated .google.cloud.datacatalog.v1.ColumnSchema columns = 2;
      */
-    public Builder setColumns(int index, com.google.cloud.datacatalog.v1.ColumnSchema value) {
+    public Builder setColumns(
+        int index, com.google.cloud.datacatalog.v1.ColumnSchema value) {
       if (columnsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -634,8 +585,6 @@ public Builder setColumns(int index, com.google.cloud.datacatalog.v1.ColumnSchem
       return this;
     }
     /**
-     *
-     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -657,8 +606,6 @@ public Builder setColumns(
       return this;
     }
     /**
-     *
-     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -682,8 +629,6 @@ public Builder addColumns(com.google.cloud.datacatalog.v1.ColumnSchema value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -693,7 +638,8 @@ public Builder addColumns(com.google.cloud.datacatalog.v1.ColumnSchema value) {
      *
      * repeated .google.cloud.datacatalog.v1.ColumnSchema columns = 2;
      */
-    public Builder addColumns(int index, com.google.cloud.datacatalog.v1.ColumnSchema value) {
+    public Builder addColumns(
+        int index, com.google.cloud.datacatalog.v1.ColumnSchema value) {
       if (columnsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -707,8 +653,6 @@ public Builder addColumns(int index, com.google.cloud.datacatalog.v1.ColumnSchem
       return this;
     }
     /**
-     *
-     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -730,8 +674,6 @@ public Builder addColumns(
       return this;
     }
     /**
-     *
-     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -753,8 +695,6 @@ public Builder addColumns(
       return this;
     }
     /**
-     *
-     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -768,7 +708,8 @@ 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);
@@ -776,8 +717,6 @@ public Builder addAllColumns(
       return this;
     }
     /**
-     *
-     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -798,8 +737,6 @@ public Builder clearColumns() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -820,8 +757,6 @@ public Builder removeColumns(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -831,12 +766,11 @@ public Builder removeColumns(int index) {
      *
      * repeated .google.cloud.datacatalog.v1.ColumnSchema columns = 2;
      */
-    public com.google.cloud.datacatalog.v1.ColumnSchema.Builder getColumnsBuilder(int index) {
+    public com.google.cloud.datacatalog.v1.ColumnSchema.Builder getColumnsBuilder(
+        int index) {
       return getColumnsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -846,16 +780,14 @@ public com.google.cloud.datacatalog.v1.ColumnSchema.Builder getColumnsBuilder(in
      *
      * repeated .google.cloud.datacatalog.v1.ColumnSchema columns = 2;
      */
-    public com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getColumnsOrBuilder(int index) {
+    public com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getColumnsOrBuilder(
+        int index) {
       if (columnsBuilder_ == null) {
-        return columns_.get(index);
-      } else {
+        return columns_.get(index);  } else {
         return columnsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -865,8 +797,8 @@ public com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getColumnsOrBuilder
      *
      * repeated .google.cloud.datacatalog.v1.ColumnSchema columns = 2;
      */
-    public java.util.List
-        getColumnsOrBuilderList() {
+    public java.util.List 
+         getColumnsOrBuilderList() {
       if (columnsBuilder_ != null) {
         return columnsBuilder_.getMessageOrBuilderList();
       } else {
@@ -874,8 +806,6 @@ public com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getColumnsOrBuilder
       }
     }
     /**
-     *
-     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -886,12 +816,10 @@ public com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getColumnsOrBuilder
      * repeated .google.cloud.datacatalog.v1.ColumnSchema columns = 2;
      */
     public com.google.cloud.datacatalog.v1.ColumnSchema.Builder addColumnsBuilder() {
-      return getColumnsFieldBuilder()
-          .addBuilder(com.google.cloud.datacatalog.v1.ColumnSchema.getDefaultInstance());
+      return getColumnsFieldBuilder().addBuilder(
+          com.google.cloud.datacatalog.v1.ColumnSchema.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -901,13 +829,12 @@ public com.google.cloud.datacatalog.v1.ColumnSchema.Builder addColumnsBuilder()
      *
      * repeated .google.cloud.datacatalog.v1.ColumnSchema columns = 2;
      */
-    public com.google.cloud.datacatalog.v1.ColumnSchema.Builder addColumnsBuilder(int index) {
-      return getColumnsFieldBuilder()
-          .addBuilder(index, com.google.cloud.datacatalog.v1.ColumnSchema.getDefaultInstance());
+    public com.google.cloud.datacatalog.v1.ColumnSchema.Builder addColumnsBuilder(
+        int index) {
+      return getColumnsFieldBuilder().addBuilder(
+          index, com.google.cloud.datacatalog.v1.ColumnSchema.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -917,30 +844,27 @@ public com.google.cloud.datacatalog.v1.ColumnSchema.Builder addColumnsBuilder(in
      *
      * repeated .google.cloud.datacatalog.v1.ColumnSchema columns = 2;
      */
-    public java.util.List
-        getColumnsBuilderList() {
+    public java.util.List 
+         getColumnsBuilderList() {
       return getColumnsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.ColumnSchema,
-            com.google.cloud.datacatalog.v1.ColumnSchema.Builder,
-            com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder>
+        com.google.cloud.datacatalog.v1.ColumnSchema, com.google.cloud.datacatalog.v1.ColumnSchema.Builder, com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder> 
         getColumnsFieldBuilder() {
       if (columnsBuilder_ == null) {
-        columnsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.datacatalog.v1.ColumnSchema,
-                com.google.cloud.datacatalog.v1.ColumnSchema.Builder,
-                com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder>(
-                columns_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        columnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.datacatalog.v1.ColumnSchema, com.google.cloud.datacatalog.v1.ColumnSchema.Builder, com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder>(
+                columns_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         columns_ = null;
       }
       return columnsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -950,12 +874,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.Schema)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.Schema)
   private static final com.google.cloud.datacatalog.v1.Schema DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.Schema();
   }
@@ -964,27 +888,27 @@ public static com.google.cloud.datacatalog.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;
@@ -999,4 +923,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1.Schema getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOrBuilder.java
similarity index 71%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOrBuilder.java
rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOrBuilder.java
index 8a28de958595..4c43d53c355d 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOrBuilder.java
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/schema.proto
 
 package com.google.cloud.datacatalog.v1;
 
-public interface SchemaOrBuilder
-    extends
+public interface SchemaOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.Schema)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The unified GoogleSQL-like schema of columns.
    *
@@ -35,10 +17,9 @@ public interface SchemaOrBuilder
    *
    * repeated .google.cloud.datacatalog.v1.ColumnSchema columns = 2;
    */
-  java.util.List getColumnsList();
+  java.util.List 
+      getColumnsList();
   /**
-   *
-   *
    * 
    * The unified GoogleSQL-like schema of columns.
    *
@@ -50,8 +31,6 @@ public interface SchemaOrBuilder
    */
   com.google.cloud.datacatalog.v1.ColumnSchema getColumns(int index);
   /**
-   *
-   *
    * 
    * The unified GoogleSQL-like schema of columns.
    *
@@ -63,8 +42,6 @@ public interface SchemaOrBuilder
    */
   int getColumnsCount();
   /**
-   *
-   *
    * 
    * The unified GoogleSQL-like schema of columns.
    *
@@ -74,11 +51,9 @@ public interface SchemaOrBuilder
    *
    * repeated .google.cloud.datacatalog.v1.ColumnSchema columns = 2;
    */
-  java.util.List
+  java.util.List 
       getColumnsOrBuilderList();
   /**
-   *
-   *
    * 
    * The unified GoogleSQL-like schema of columns.
    *
@@ -88,5 +63,6 @@ public interface SchemaOrBuilder
    *
    * repeated .google.cloud.datacatalog.v1.ColumnSchema columns = 2;
    */
-  com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getColumnsOrBuilder(int index);
+  com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getColumnsOrBuilder(
+      int index);
 }
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOuterClass.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOuterClass.java
new file mode 100644
index 000000000000..3330088e2a97
--- /dev/null
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOuterClass.java
@@ -0,0 +1,106 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/datacatalog/v1/schema.proto
+
+package com.google.cloud.datacatalog.v1;
+
+public final class SchemaOuterClass {
+  private SchemaOuterClass() {}
+  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_datacatalog_v1_Schema_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_datacatalog_v1_Schema_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_datacatalog_v1_ColumnSchema_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_datacatalog_v1_ColumnSchema_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_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/datacatalog/v1/schema.pro" +
+      "to\022\033google.cloud.datacatalog.v1\032\037google/" +
+      "api/field_behavior.proto\"D\n\006Schema\022:\n\007co" +
+      "lumns\030\002 \003(\0132).google.cloud.datacatalog.v" +
+      "1.ColumnSchema\"\332\006\n\014ColumnSchema\022\024\n\006colum" +
+      "n\030\006 \001(\tB\004\342A\001\002\022\022\n\004type\030\001 \001(\tB\004\342A\001\002\022\031\n\013des" +
+      "cription\030\002 \001(\tB\004\342A\001\001\022\022\n\004mode\030\003 \001(\tB\004\342A\001\001" +
+      "\022\033\n\rdefault_value\030\010 \001(\tB\004\342A\001\001\022\036\n\020ordinal" +
+      "_position\030\t \001(\005B\004\342A\001\001\022[\n\025highest_indexin" +
+      "g_type\030\n \001(\01626.google.cloud.datacatalog." +
+      "v1.ColumnSchema.IndexingTypeB\004\342A\001\001\022C\n\nsu" +
+      "bcolumns\030\007 \003(\0132).google.cloud.datacatalo" +
+      "g.v1.ColumnSchemaB\004\342A\001\001\022X\n\022looker_column" +
+      "_spec\030\022 \001(\0132:.google.cloud.datacatalog.v" +
+      "1.ColumnSchema.LookerColumnSpecH\000\022\025\n\007gc_" +
+      "rule\030\013 \001(\tB\004\342A\001\001\032\362\001\n\020LookerColumnSpec\022Y\n" +
+      "\004type\030\001 \001(\0162K.google.cloud.datacatalog.v" +
+      "1.ColumnSchema.LookerColumnSpec.LookerCo" +
+      "lumnType\"\202\001\n\020LookerColumnType\022\"\n\036LOOKER_" +
+      "COLUMN_TYPE_UNSPECIFIED\020\000\022\r\n\tDIMENSION\020\001" +
+      "\022\023\n\017DIMENSION_GROUP\020\002\022\n\n\006FILTER\020\003\022\013\n\007MEA" +
+      "SURE\020\004\022\r\n\tPARAMETER\020\005\"\234\001\n\014IndexingType\022\035" +
+      "\n\031INDEXING_TYPE_UNSPECIFIED\020\000\022\026\n\022INDEXIN" +
+      "G_TYPE_NONE\020\001\022\034\n\030INDEXING_TYPE_NON_UNIQU" +
+      "E\020\002\022\030\n\024INDEXING_TYPE_UNIQUE\020\003\022\035\n\031INDEXIN" +
+      "G_TYPE_PRIMARY_KEY\020\004B\r\n\013system_specB\306\001\n\037" +
+      "com.google.cloud.datacatalog.v1P\001ZAcloud" +
+      ".google.com/go/datacatalog/apiv1/datacat" +
+      "alogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud.D" +
+      "ataCatalog.V1\312\002\033Google\\Cloud\\DataCatalog" +
+      "\\V1\352\002\036Google::Cloud::DataCatalog::V1b\006pr" +
+      "oto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+        });
+    internal_static_google_cloud_datacatalog_v1_Schema_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_datacatalog_v1_Schema_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_datacatalog_v1_Schema_descriptor,
+        new java.lang.String[] { "Columns", });
+    internal_static_google_cloud_datacatalog_v1_ColumnSchema_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_datacatalog_v1_ColumnSchema_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_datacatalog_v1_ColumnSchema_descriptor,
+        new java.lang.String[] { "Column", "Type", "Description", "Mode", "DefaultValue", "OrdinalPosition", "HighestIndexingType", "Subcolumns", "LookerColumnSpec", "GcRule", "SystemSpec", });
+    internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_descriptor =
+      internal_static_google_cloud_datacatalog_v1_ColumnSchema_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_descriptor,
+        new java.lang.String[] { "Type", });
+    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-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Search.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Search.java
new file mode 100644
index 000000000000..2fe8ed9cbcb2
--- /dev/null
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Search.java
@@ -0,0 +1,80 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/datacatalog/v1/search.proto
+
+package com.google.cloud.datacatalog.v1;
+
+public final class Search {
+  private Search() {}
+  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_datacatalog_v1_SearchCatalogResult_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_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/datacatalog/v1/search.pro" +
+      "to\022\033google.cloud.datacatalog.v1\032\037google/" +
+      "api/field_behavior.proto\032(google/cloud/d" +
+      "atacatalog/v1/common.proto\032\037google/proto" +
+      "buf/timestamp.proto\"\257\003\n\023SearchCatalogRes" +
+      "ult\022I\n\022search_result_type\030\001 \001(\0162-.google" +
+      ".cloud.datacatalog.v1.SearchResultType\022\035" +
+      "\n\025search_result_subtype\030\002 \001(\t\022\036\n\026relativ" +
+      "e_resource_name\030\003 \001(\t\022\027\n\017linked_resource" +
+      "\030\004 \001(\t\022/\n\013modify_time\030\007 \001(\0132\032.google.pro" +
+      "tobuf.Timestamp\022P\n\021integrated_system\030\010 \001" +
+      "(\0162-.google.cloud.datacatalog.v1.Integra" +
+      "tedSystemB\004\342A\001\003H\000\022\037\n\025user_specified_syst" +
+      "em\030\t \001(\tH\000\022\034\n\024fully_qualified_name\030\n \001(\t" +
+      "\022\024\n\014display_name\030\014 \001(\t\022\023\n\013description\030\r " +
+      "\001(\tB\010\n\006system*d\n\020SearchResultType\022\"\n\036SEA" +
+      "RCH_RESULT_TYPE_UNSPECIFIED\020\000\022\t\n\005ENTRY\020\001" +
+      "\022\020\n\014TAG_TEMPLATE\020\002\022\017\n\013ENTRY_GROUP\020\003B\306\001\n\037" +
+      "com.google.cloud.datacatalog.v1P\001ZAcloud" +
+      ".google.com/go/datacatalog/apiv1/datacat" +
+      "alogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud.D" +
+      "ataCatalog.V1\312\002\033Google\\Cloud\\DataCatalog" +
+      "\\V1\352\002\036Google::Cloud::DataCatalog::V1b\006pr" +
+      "oto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.cloud.datacatalog.v1.Common.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_descriptor,
+        new java.lang.String[] { "SearchResultType", "SearchResultSubtype", "RelativeResourceName", "LinkedResource", "ModifyTime", "IntegratedSystem", "UserSpecifiedSystem", "FullyQualifiedName", "DisplayName", "Description", "System", });
+    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.datacatalog.v1.Common.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequest.java
similarity index 75%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequest.java
rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequest.java
index 165558cc5205..fa755e87cf6d 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequest.java
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequest.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
 /**
- *
- *
  * 
  * Request message for
  * [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.SearchCatalogRequest}
  */
-public final class SearchCatalogRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SearchCatalogRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.SearchCatalogRequest)
     SearchCatalogRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SearchCatalogRequest.newBuilder() to construct.
   private SearchCatalogRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SearchCatalogRequest() {
     query_ = "";
     pageToken_ = "";
@@ -46,33 +28,29 @@ private SearchCatalogRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SearchCatalogRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.SearchCatalogRequest.class,
-            com.google.cloud.datacatalog.v1.SearchCatalogRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.SearchCatalogRequest.class, com.google.cloud.datacatalog.v1.SearchCatalogRequest.Builder.class);
   }
 
-  public interface ScopeOrBuilder
-      extends
+  public interface ScopeOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.SearchCatalogRequest.Scope)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The list of organization IDs to search within.
      *
@@ -82,13 +60,11 @@ public interface ScopeOrBuilder
      * 
* * repeated string include_org_ids = 2; - * * @return A list containing the includeOrgIds. */ - java.util.List getIncludeOrgIdsList(); + java.util.List + getIncludeOrgIdsList(); /** - * - * *
      * The list of organization IDs to search within.
      *
@@ -98,13 +74,10 @@ public interface ScopeOrBuilder
      * 
* * repeated string include_org_ids = 2; - * * @return The count of includeOrgIds. */ int getIncludeOrgIdsCount(); /** - * - * *
      * The list of organization IDs to search within.
      *
@@ -114,14 +87,11 @@ public interface ScopeOrBuilder
      * 
* * repeated string include_org_ids = 2; - * * @param index The index of the element to return. * @return The includeOrgIds at the given index. */ java.lang.String getIncludeOrgIds(int index); /** - * - * *
      * The list of organization IDs to search within.
      *
@@ -131,15 +101,13 @@ public interface ScopeOrBuilder
      * 
* * repeated string include_org_ids = 2; - * * @param index The index of the value to return. * @return The bytes of the includeOrgIds at the given index. */ - com.google.protobuf.ByteString getIncludeOrgIdsBytes(int index); + com.google.protobuf.ByteString + getIncludeOrgIdsBytes(int index); /** - * - * *
      * The list of project IDs to search within.
      *
@@ -148,13 +116,11 @@ public interface ScopeOrBuilder
      * 
* * repeated string include_project_ids = 3; - * * @return A list containing the includeProjectIds. */ - java.util.List getIncludeProjectIdsList(); + java.util.List + getIncludeProjectIdsList(); /** - * - * *
      * The list of project IDs to search within.
      *
@@ -163,13 +129,10 @@ public interface ScopeOrBuilder
      * 
* * repeated string include_project_ids = 3; - * * @return The count of includeProjectIds. */ int getIncludeProjectIdsCount(); /** - * - * *
      * The list of project IDs to search within.
      *
@@ -178,14 +141,11 @@ public interface ScopeOrBuilder
      * 
* * repeated string include_project_ids = 3; - * * @param index The index of the element to return. * @return The includeProjectIds at the given index. */ java.lang.String getIncludeProjectIds(int index); /** - * - * *
      * The list of project IDs to search within.
      *
@@ -194,15 +154,13 @@ public interface ScopeOrBuilder
      * 
* * repeated string include_project_ids = 3; - * * @param index The index of the value to return. * @return The bytes of the includeProjectIds at the given index. */ - com.google.protobuf.ByteString getIncludeProjectIdsBytes(int index); + com.google.protobuf.ByteString + getIncludeProjectIdsBytes(int index); /** - * - * *
      * If `true`, include Google Cloud public datasets in
      * search results. By default, they are excluded.
@@ -212,14 +170,11 @@ public interface ScopeOrBuilder
      * 
* * bool include_gcp_public_datasets = 7; - * * @return The includeGcpPublicDatasets. */ boolean getIncludeGcpPublicDatasets(); /** - * - * *
      * Optional. The list of locations to search within. If empty, all locations
      * are searched.
@@ -233,15 +188,12 @@ public interface ScopeOrBuilder
      * value of this parameter.
      * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the restrictedLocations. */ - java.util.List getRestrictedLocationsList(); + java.util.List + getRestrictedLocationsList(); /** - * - * *
      * Optional. The list of locations to search within. If empty, all locations
      * are searched.
@@ -255,15 +207,11 @@ public interface ScopeOrBuilder
      * value of this parameter.
      * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of restrictedLocations. */ int getRestrictedLocationsCount(); /** - * - * *
      * Optional. The list of locations to search within. If empty, all locations
      * are searched.
@@ -277,16 +225,12 @@ public interface ScopeOrBuilder
      * value of this parameter.
      * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The restrictedLocations at the given index. */ java.lang.String getRestrictedLocations(int index); /** - * - * *
      * Optional. The list of locations to search within. If empty, all locations
      * are searched.
@@ -300,17 +244,14 @@ public interface ScopeOrBuilder
      * value of this parameter.
      * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The bytes of the restrictedLocations at the given index. */ - com.google.protobuf.ByteString getRestrictedLocationsBytes(int index); + com.google.protobuf.ByteString + getRestrictedLocationsBytes(int index); /** - * - * *
      * Optional. If `true`, search only among starred entries.
      *
@@ -318,85 +259,73 @@ public interface ScopeOrBuilder
      * 
* * bool starred_only = 18 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The starredOnly. */ boolean getStarredOnly(); /** - * - * *
      * Optional. This field is deprecated. The search mechanism for public and
      * private tag templates is the same.
      * 
* - * - * bool include_public_tag_templates = 19 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * - * @deprecated - * google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates is - * deprecated. See google/cloud/datacatalog/v1/datacatalog.proto;l=677 + * bool include_public_tag_templates = 19 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * @deprecated google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates is deprecated. + * See google/cloud/datacatalog/v1/datacatalog.proto;l=677 * @return The includePublicTagTemplates. */ - @java.lang.Deprecated - boolean getIncludePublicTagTemplates(); + @java.lang.Deprecated boolean getIncludePublicTagTemplates(); } /** - * - * *
    * The criteria that select the subspace used for query matching.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.SearchCatalogRequest.Scope} */ - public static final class Scope extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Scope extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.SearchCatalogRequest.Scope) ScopeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Scope.newBuilder() to construct. private Scope(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Scope() { - includeOrgIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - includeProjectIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - restrictedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + includeOrgIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + includeProjectIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + restrictedLocations_ = + 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 Scope(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.class, - com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.Builder.class); + com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.class, com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.Builder.class); } public static final int INCLUDE_ORG_IDS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList includeOrgIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * The list of organization IDs to search within.
      *
@@ -406,15 +335,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * repeated string include_org_ids = 2; - * * @return A list containing the includeOrgIds. */ - public com.google.protobuf.ProtocolStringList getIncludeOrgIdsList() { + public com.google.protobuf.ProtocolStringList + getIncludeOrgIdsList() { return includeOrgIds_; } /** - * - * *
      * The list of organization IDs to search within.
      *
@@ -424,15 +351,12 @@ public com.google.protobuf.ProtocolStringList getIncludeOrgIdsList() {
      * 
* * repeated string include_org_ids = 2; - * * @return The count of includeOrgIds. */ public int getIncludeOrgIdsCount() { return includeOrgIds_.size(); } /** - * - * *
      * The list of organization IDs to search within.
      *
@@ -442,7 +366,6 @@ public int getIncludeOrgIdsCount() {
      * 
* * repeated string include_org_ids = 2; - * * @param index The index of the element to return. * @return The includeOrgIds at the given index. */ @@ -450,8 +373,6 @@ public java.lang.String getIncludeOrgIds(int index) { return includeOrgIds_.get(index); } /** - * - * *
      * The list of organization IDs to search within.
      *
@@ -461,22 +382,19 @@ public java.lang.String getIncludeOrgIds(int index) {
      * 
* * repeated string include_org_ids = 2; - * * @param index The index of the value to return. * @return The bytes of the includeOrgIds at the given index. */ - public com.google.protobuf.ByteString getIncludeOrgIdsBytes(int index) { + public com.google.protobuf.ByteString + getIncludeOrgIdsBytes(int index) { return includeOrgIds_.getByteString(index); } public static final int INCLUDE_PROJECT_IDS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList includeProjectIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * The list of project IDs to search within.
      *
@@ -485,15 +403,13 @@ public com.google.protobuf.ByteString getIncludeOrgIdsBytes(int index) {
      * 
* * repeated string include_project_ids = 3; - * * @return A list containing the includeProjectIds. */ - public com.google.protobuf.ProtocolStringList getIncludeProjectIdsList() { + public com.google.protobuf.ProtocolStringList + getIncludeProjectIdsList() { return includeProjectIds_; } /** - * - * *
      * The list of project IDs to search within.
      *
@@ -502,15 +418,12 @@ public com.google.protobuf.ProtocolStringList getIncludeProjectIdsList() {
      * 
* * repeated string include_project_ids = 3; - * * @return The count of includeProjectIds. */ public int getIncludeProjectIdsCount() { return includeProjectIds_.size(); } /** - * - * *
      * The list of project IDs to search within.
      *
@@ -519,7 +432,6 @@ public int getIncludeProjectIdsCount() {
      * 
* * repeated string include_project_ids = 3; - * * @param index The index of the element to return. * @return The includeProjectIds at the given index. */ @@ -527,8 +439,6 @@ public java.lang.String getIncludeProjectIds(int index) { return includeProjectIds_.get(index); } /** - * - * *
      * The list of project IDs to search within.
      *
@@ -537,19 +447,17 @@ public java.lang.String getIncludeProjectIds(int index) {
      * 
* * repeated string include_project_ids = 3; - * * @param index The index of the value to return. * @return The bytes of the includeProjectIds at the given index. */ - public com.google.protobuf.ByteString getIncludeProjectIdsBytes(int index) { + public com.google.protobuf.ByteString + getIncludeProjectIdsBytes(int index) { return includeProjectIds_.getByteString(index); } public static final int INCLUDE_GCP_PUBLIC_DATASETS_FIELD_NUMBER = 7; private boolean includeGcpPublicDatasets_ = false; /** - * - * *
      * If `true`, include Google Cloud public datasets in
      * search results. By default, they are excluded.
@@ -559,7 +467,6 @@ public com.google.protobuf.ByteString getIncludeProjectIdsBytes(int index) {
      * 
* * bool include_gcp_public_datasets = 7; - * * @return The includeGcpPublicDatasets. */ @java.lang.Override @@ -568,13 +475,10 @@ public boolean getIncludeGcpPublicDatasets() { } public static final int RESTRICTED_LOCATIONS_FIELD_NUMBER = 16; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList restrictedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * Optional. The list of locations to search within. If empty, all locations
      * are searched.
@@ -588,17 +492,14 @@ public boolean getIncludeGcpPublicDatasets() {
      * value of this parameter.
      * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the restrictedLocations. */ - public com.google.protobuf.ProtocolStringList getRestrictedLocationsList() { + public com.google.protobuf.ProtocolStringList + getRestrictedLocationsList() { return restrictedLocations_; } /** - * - * *
      * Optional. The list of locations to search within. If empty, all locations
      * are searched.
@@ -612,17 +513,13 @@ public com.google.protobuf.ProtocolStringList getRestrictedLocationsList() {
      * value of this parameter.
      * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of restrictedLocations. */ public int getRestrictedLocationsCount() { return restrictedLocations_.size(); } /** - * - * *
      * Optional. The list of locations to search within. If empty, all locations
      * are searched.
@@ -636,9 +533,7 @@ public int getRestrictedLocationsCount() {
      * value of this parameter.
      * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The restrictedLocations at the given index. */ @@ -646,8 +541,6 @@ public java.lang.String getRestrictedLocations(int index) { return restrictedLocations_.get(index); } /** - * - * *
      * Optional. The list of locations to search within. If empty, all locations
      * are searched.
@@ -661,21 +554,18 @@ public java.lang.String getRestrictedLocations(int index) {
      * value of this parameter.
      * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The bytes of the restrictedLocations at the given index. */ - public com.google.protobuf.ByteString getRestrictedLocationsBytes(int index) { + public com.google.protobuf.ByteString + getRestrictedLocationsBytes(int index) { return restrictedLocations_.getByteString(index); } public static final int STARRED_ONLY_FIELD_NUMBER = 18; private boolean starredOnly_ = false; /** - * - * *
      * Optional. If `true`, search only among starred entries.
      *
@@ -683,7 +573,6 @@ public com.google.protobuf.ByteString getRestrictedLocationsBytes(int index) {
      * 
* * bool starred_only = 18 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The starredOnly. */ @java.lang.Override @@ -694,30 +583,22 @@ public boolean getStarredOnly() { public static final int INCLUDE_PUBLIC_TAG_TEMPLATES_FIELD_NUMBER = 19; private boolean includePublicTagTemplates_ = false; /** - * - * *
      * Optional. This field is deprecated. The search mechanism for public and
      * private tag templates is the same.
      * 
* - * - * bool include_public_tag_templates = 19 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * - * @deprecated - * google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates is - * deprecated. See google/cloud/datacatalog/v1/datacatalog.proto;l=677 + * bool include_public_tag_templates = 19 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * @deprecated google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates is deprecated. + * See google/cloud/datacatalog/v1/datacatalog.proto;l=677 * @return The includePublicTagTemplates. */ @java.lang.Override - @java.lang.Deprecated - public boolean getIncludePublicTagTemplates() { + @java.lang.Deprecated public boolean getIncludePublicTagTemplates() { return includePublicTagTemplates_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -729,7 +610,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < includeOrgIds_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, includeOrgIds_.getRaw(i)); } @@ -740,8 +622,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeBool(7, includeGcpPublicDatasets_); } for (int i = 0; i < restrictedLocations_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 16, restrictedLocations_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 16, restrictedLocations_.getRaw(i)); } if (starredOnly_ != false) { output.writeBool(18, starredOnly_); @@ -775,7 +656,8 @@ public int getSerializedSize() { size += 1 * getIncludeProjectIdsList().size(); } if (includeGcpPublicDatasets_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, includeGcpPublicDatasets_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(7, includeGcpPublicDatasets_); } { int dataSize = 0; @@ -786,11 +668,12 @@ public int getSerializedSize() { size += 2 * getRestrictedLocationsList().size(); } if (starredOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(18, starredOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(18, starredOnly_); } if (includePublicTagTemplates_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize(19, includePublicTagTemplates_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(19, includePublicTagTemplates_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -800,20 +683,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.datacatalog.v1.SearchCatalogRequest.Scope)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope other = - (com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope) obj; - - if (!getIncludeOrgIdsList().equals(other.getIncludeOrgIdsList())) return false; - if (!getIncludeProjectIdsList().equals(other.getIncludeProjectIdsList())) return false; - if (getIncludeGcpPublicDatasets() != other.getIncludeGcpPublicDatasets()) return false; - if (!getRestrictedLocationsList().equals(other.getRestrictedLocationsList())) return false; - if (getStarredOnly() != other.getStarredOnly()) return false; - if (getIncludePublicTagTemplates() != other.getIncludePublicTagTemplates()) return false; + com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope other = (com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope) obj; + + if (!getIncludeOrgIdsList() + .equals(other.getIncludeOrgIdsList())) return false; + if (!getIncludeProjectIdsList() + .equals(other.getIncludeProjectIdsList())) return false; + if (getIncludeGcpPublicDatasets() + != other.getIncludeGcpPublicDatasets()) return false; + if (!getRestrictedLocationsList() + .equals(other.getRestrictedLocationsList())) return false; + if (getStarredOnly() + != other.getStarredOnly()) return false; + if (getIncludePublicTagTemplates() + != other.getIncludePublicTagTemplates()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -834,109 +722,107 @@ public int hashCode() { hash = (53 * hash) + getIncludeProjectIdsList().hashCode(); } hash = (37 * hash) + INCLUDE_GCP_PUBLIC_DATASETS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeGcpPublicDatasets()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIncludeGcpPublicDatasets()); if (getRestrictedLocationsCount() > 0) { hash = (37 * hash) + RESTRICTED_LOCATIONS_FIELD_NUMBER; hash = (53 * hash) + getRestrictedLocationsList().hashCode(); } hash = (37 * hash) + STARRED_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStarredOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getStarredOnly()); hash = (37 * hash) + INCLUDE_PUBLIC_TAG_TEMPLATES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludePublicTagTemplates()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIncludePublicTagTemplates()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -946,63 +832,63 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The criteria that select the subspace used for query matching.
      * 
* * Protobuf type {@code google.cloud.datacatalog.v1.SearchCatalogRequest.Scope} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.SearchCatalogRequest.Scope) com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.class, - com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.Builder.class); + com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.class, com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.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; - includeOrgIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - includeProjectIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + includeOrgIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + includeProjectIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); includeGcpPublicDatasets_ = false; - restrictedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + restrictedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); starredOnly_ = false; includePublicTagTemplates_ = false; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.Datacatalog - .internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_descriptor; } @java.lang.Override - public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope - getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope getDefaultInstanceForType() { return com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.getDefaultInstance(); } @@ -1017,17 +903,13 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope build() { @java.lang.Override public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope buildPartial() { - com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope result = - new com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope result = new com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope result) { + private void buildPartial0(com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { includeOrgIds_.makeImmutable(); @@ -1056,41 +938,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.datacatalog.v1.SearchCatalogRequest.Scope) { - return mergeFrom((com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope) other); + return mergeFrom((com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope)other); } else { super.mergeFrom(other); return this; @@ -1098,9 +977,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope other) { - if (other - == com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.getDefaultInstance()) - return this; + if (other == com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.getDefaultInstance()) return this; if (!other.includeOrgIds_.isEmpty()) { if (includeOrgIds_.isEmpty()) { includeOrgIds_ = other.includeOrgIds_; @@ -1166,52 +1043,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureIncludeOrgIdsIsMutable(); - includeOrgIds_.add(s); - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureIncludeProjectIdsIsMutable(); - includeProjectIds_.add(s); - break; - } // case 26 - case 56: - { - includeGcpPublicDatasets_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 56 - case 130: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureRestrictedLocationsIsMutable(); - restrictedLocations_.add(s); - break; - } // case 130 - case 144: - { - starredOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 144 - case 152: - { - includePublicTagTemplates_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 152 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureIncludeOrgIdsIsMutable(); + includeOrgIds_.add(s); + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureIncludeProjectIdsIsMutable(); + includeProjectIds_.add(s); + break; + } // case 26 + case 56: { + includeGcpPublicDatasets_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 56 + case 130: { + java.lang.String s = input.readStringRequireUtf8(); + ensureRestrictedLocationsIsMutable(); + restrictedLocations_.add(s); + break; + } // case 130 + case 144: { + starredOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 144 + case 152: { + includePublicTagTemplates_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 152 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1221,12 +1091,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.LazyStringArrayList includeOrgIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureIncludeOrgIdsIsMutable() { if (!includeOrgIds_.isModifiable()) { includeOrgIds_ = new com.google.protobuf.LazyStringArrayList(includeOrgIds_); @@ -1234,8 +1102,6 @@ private void ensureIncludeOrgIdsIsMutable() { bitField0_ |= 0x00000001; } /** - * - * *
        * The list of organization IDs to search within.
        *
@@ -1245,16 +1111,14 @@ private void ensureIncludeOrgIdsIsMutable() {
        * 
* * repeated string include_org_ids = 2; - * * @return A list containing the includeOrgIds. */ - public com.google.protobuf.ProtocolStringList getIncludeOrgIdsList() { + public com.google.protobuf.ProtocolStringList + getIncludeOrgIdsList() { includeOrgIds_.makeImmutable(); return includeOrgIds_; } /** - * - * *
        * The list of organization IDs to search within.
        *
@@ -1264,15 +1128,12 @@ public com.google.protobuf.ProtocolStringList getIncludeOrgIdsList() {
        * 
* * repeated string include_org_ids = 2; - * * @return The count of includeOrgIds. */ public int getIncludeOrgIdsCount() { return includeOrgIds_.size(); } /** - * - * *
        * The list of organization IDs to search within.
        *
@@ -1282,7 +1143,6 @@ public int getIncludeOrgIdsCount() {
        * 
* * repeated string include_org_ids = 2; - * * @param index The index of the element to return. * @return The includeOrgIds at the given index. */ @@ -1290,8 +1150,6 @@ public java.lang.String getIncludeOrgIds(int index) { return includeOrgIds_.get(index); } /** - * - * *
        * The list of organization IDs to search within.
        *
@@ -1301,16 +1159,14 @@ public java.lang.String getIncludeOrgIds(int index) {
        * 
* * repeated string include_org_ids = 2; - * * @param index The index of the value to return. * @return The bytes of the includeOrgIds at the given index. */ - public com.google.protobuf.ByteString getIncludeOrgIdsBytes(int index) { + public com.google.protobuf.ByteString + getIncludeOrgIdsBytes(int index) { return includeOrgIds_.getByteString(index); } /** - * - * *
        * The list of organization IDs to search within.
        *
@@ -1320,15 +1176,13 @@ public com.google.protobuf.ByteString getIncludeOrgIdsBytes(int index) {
        * 
* * repeated string include_org_ids = 2; - * * @param index The index to set the value at. * @param value The includeOrgIds to set. * @return This builder for chaining. */ - public Builder setIncludeOrgIds(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIncludeOrgIds( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureIncludeOrgIdsIsMutable(); includeOrgIds_.set(index, value); bitField0_ |= 0x00000001; @@ -1336,8 +1190,6 @@ public Builder setIncludeOrgIds(int index, java.lang.String value) { return this; } /** - * - * *
        * The list of organization IDs to search within.
        *
@@ -1347,14 +1199,12 @@ public Builder setIncludeOrgIds(int index, java.lang.String value) {
        * 
* * repeated string include_org_ids = 2; - * * @param value The includeOrgIds to add. * @return This builder for chaining. */ - public Builder addIncludeOrgIds(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addIncludeOrgIds( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureIncludeOrgIdsIsMutable(); includeOrgIds_.add(value); bitField0_ |= 0x00000001; @@ -1362,8 +1212,6 @@ public Builder addIncludeOrgIds(java.lang.String value) { return this; } /** - * - * *
        * The list of organization IDs to search within.
        *
@@ -1373,20 +1221,19 @@ public Builder addIncludeOrgIds(java.lang.String value) {
        * 
* * repeated string include_org_ids = 2; - * * @param values The includeOrgIds to add. * @return This builder for chaining. */ - public Builder addAllIncludeOrgIds(java.lang.Iterable values) { + public Builder addAllIncludeOrgIds( + java.lang.Iterable values) { ensureIncludeOrgIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, includeOrgIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, includeOrgIds_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The list of organization IDs to search within.
        *
@@ -1396,19 +1243,16 @@ public Builder addAllIncludeOrgIds(java.lang.Iterable values)
        * 
* * repeated string include_org_ids = 2; - * * @return This builder for chaining. */ public Builder clearIncludeOrgIds() { - includeOrgIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; + includeOrgIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** - * - * *
        * The list of organization IDs to search within.
        *
@@ -1418,14 +1262,12 @@ public Builder clearIncludeOrgIds() {
        * 
* * repeated string include_org_ids = 2; - * * @param value The bytes of the includeOrgIds to add. * @return This builder for chaining. */ - public Builder addIncludeOrgIdsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addIncludeOrgIdsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureIncludeOrgIdsIsMutable(); includeOrgIds_.add(value); @@ -1436,7 +1278,6 @@ public Builder addIncludeOrgIdsBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList includeProjectIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureIncludeProjectIdsIsMutable() { if (!includeProjectIds_.isModifiable()) { includeProjectIds_ = new com.google.protobuf.LazyStringArrayList(includeProjectIds_); @@ -1444,8 +1285,6 @@ private void ensureIncludeProjectIdsIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
        * The list of project IDs to search within.
        *
@@ -1454,16 +1293,14 @@ private void ensureIncludeProjectIdsIsMutable() {
        * 
* * repeated string include_project_ids = 3; - * * @return A list containing the includeProjectIds. */ - public com.google.protobuf.ProtocolStringList getIncludeProjectIdsList() { + public com.google.protobuf.ProtocolStringList + getIncludeProjectIdsList() { includeProjectIds_.makeImmutable(); return includeProjectIds_; } /** - * - * *
        * The list of project IDs to search within.
        *
@@ -1472,15 +1309,12 @@ public com.google.protobuf.ProtocolStringList getIncludeProjectIdsList() {
        * 
* * repeated string include_project_ids = 3; - * * @return The count of includeProjectIds. */ public int getIncludeProjectIdsCount() { return includeProjectIds_.size(); } /** - * - * *
        * The list of project IDs to search within.
        *
@@ -1489,7 +1323,6 @@ public int getIncludeProjectIdsCount() {
        * 
* * repeated string include_project_ids = 3; - * * @param index The index of the element to return. * @return The includeProjectIds at the given index. */ @@ -1497,8 +1330,6 @@ public java.lang.String getIncludeProjectIds(int index) { return includeProjectIds_.get(index); } /** - * - * *
        * The list of project IDs to search within.
        *
@@ -1507,16 +1338,14 @@ public java.lang.String getIncludeProjectIds(int index) {
        * 
* * repeated string include_project_ids = 3; - * * @param index The index of the value to return. * @return The bytes of the includeProjectIds at the given index. */ - public com.google.protobuf.ByteString getIncludeProjectIdsBytes(int index) { + public com.google.protobuf.ByteString + getIncludeProjectIdsBytes(int index) { return includeProjectIds_.getByteString(index); } /** - * - * *
        * The list of project IDs to search within.
        *
@@ -1525,15 +1354,13 @@ public com.google.protobuf.ByteString getIncludeProjectIdsBytes(int index) {
        * 
* * repeated string include_project_ids = 3; - * * @param index The index to set the value at. * @param value The includeProjectIds to set. * @return This builder for chaining. */ - public Builder setIncludeProjectIds(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIncludeProjectIds( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureIncludeProjectIdsIsMutable(); includeProjectIds_.set(index, value); bitField0_ |= 0x00000002; @@ -1541,8 +1368,6 @@ public Builder setIncludeProjectIds(int index, java.lang.String value) { return this; } /** - * - * *
        * The list of project IDs to search within.
        *
@@ -1551,14 +1376,12 @@ public Builder setIncludeProjectIds(int index, java.lang.String value) {
        * 
* * repeated string include_project_ids = 3; - * * @param value The includeProjectIds to add. * @return This builder for chaining. */ - public Builder addIncludeProjectIds(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addIncludeProjectIds( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureIncludeProjectIdsIsMutable(); includeProjectIds_.add(value); bitField0_ |= 0x00000002; @@ -1566,8 +1389,6 @@ public Builder addIncludeProjectIds(java.lang.String value) { return this; } /** - * - * *
        * The list of project IDs to search within.
        *
@@ -1576,20 +1397,19 @@ public Builder addIncludeProjectIds(java.lang.String value) {
        * 
* * repeated string include_project_ids = 3; - * * @param values The includeProjectIds to add. * @return This builder for chaining. */ - public Builder addAllIncludeProjectIds(java.lang.Iterable values) { + public Builder addAllIncludeProjectIds( + java.lang.Iterable values) { ensureIncludeProjectIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, includeProjectIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, includeProjectIds_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * The list of project IDs to search within.
        *
@@ -1598,19 +1418,16 @@ public Builder addAllIncludeProjectIds(java.lang.Iterable valu
        * 
* * repeated string include_project_ids = 3; - * * @return This builder for chaining. */ public Builder clearIncludeProjectIds() { - includeProjectIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + includeProjectIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
        * The list of project IDs to search within.
        *
@@ -1619,14 +1436,12 @@ public Builder clearIncludeProjectIds() {
        * 
* * repeated string include_project_ids = 3; - * * @param value The bytes of the includeProjectIds to add. * @return This builder for chaining. */ - public Builder addIncludeProjectIdsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addIncludeProjectIdsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureIncludeProjectIdsIsMutable(); includeProjectIds_.add(value); @@ -1635,10 +1450,8 @@ public Builder addIncludeProjectIdsBytes(com.google.protobuf.ByteString value) { return this; } - private boolean includeGcpPublicDatasets_; + private boolean includeGcpPublicDatasets_ ; /** - * - * *
        * If `true`, include Google Cloud public datasets in
        * search results. By default, they are excluded.
@@ -1648,7 +1461,6 @@ public Builder addIncludeProjectIdsBytes(com.google.protobuf.ByteString value) {
        * 
* * bool include_gcp_public_datasets = 7; - * * @return The includeGcpPublicDatasets. */ @java.lang.Override @@ -1656,8 +1468,6 @@ public boolean getIncludeGcpPublicDatasets() { return includeGcpPublicDatasets_; } /** - * - * *
        * If `true`, include Google Cloud public datasets in
        * search results. By default, they are excluded.
@@ -1667,7 +1477,6 @@ public boolean getIncludeGcpPublicDatasets() {
        * 
* * bool include_gcp_public_datasets = 7; - * * @param value The includeGcpPublicDatasets to set. * @return This builder for chaining. */ @@ -1679,8 +1488,6 @@ public Builder setIncludeGcpPublicDatasets(boolean value) { return this; } /** - * - * *
        * If `true`, include Google Cloud public datasets in
        * search results. By default, they are excluded.
@@ -1690,7 +1497,6 @@ public Builder setIncludeGcpPublicDatasets(boolean value) {
        * 
* * bool include_gcp_public_datasets = 7; - * * @return This builder for chaining. */ public Builder clearIncludeGcpPublicDatasets() { @@ -1702,7 +1508,6 @@ public Builder clearIncludeGcpPublicDatasets() { private com.google.protobuf.LazyStringArrayList restrictedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureRestrictedLocationsIsMutable() { if (!restrictedLocations_.isModifiable()) { restrictedLocations_ = new com.google.protobuf.LazyStringArrayList(restrictedLocations_); @@ -1710,8 +1515,6 @@ private void ensureRestrictedLocationsIsMutable() { bitField0_ |= 0x00000008; } /** - * - * *
        * Optional. The list of locations to search within. If empty, all locations
        * are searched.
@@ -1725,18 +1528,15 @@ private void ensureRestrictedLocationsIsMutable() {
        * value of this parameter.
        * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the restrictedLocations. */ - public com.google.protobuf.ProtocolStringList getRestrictedLocationsList() { + public com.google.protobuf.ProtocolStringList + getRestrictedLocationsList() { restrictedLocations_.makeImmutable(); return restrictedLocations_; } /** - * - * *
        * Optional. The list of locations to search within. If empty, all locations
        * are searched.
@@ -1750,17 +1550,13 @@ public com.google.protobuf.ProtocolStringList getRestrictedLocationsList() {
        * value of this parameter.
        * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of restrictedLocations. */ public int getRestrictedLocationsCount() { return restrictedLocations_.size(); } - /** - * - * + /** *
        * Optional. The list of locations to search within. If empty, all locations
        * are searched.
@@ -1774,9 +1570,7 @@ public int getRestrictedLocationsCount() {
        * value of this parameter.
        * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The restrictedLocations at the given index. */ @@ -1784,8 +1578,6 @@ public java.lang.String getRestrictedLocations(int index) { return restrictedLocations_.get(index); } /** - * - * *
        * Optional. The list of locations to search within. If empty, all locations
        * are searched.
@@ -1799,18 +1591,15 @@ public java.lang.String getRestrictedLocations(int index) {
        * value of this parameter.
        * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The bytes of the restrictedLocations at the given index. */ - public com.google.protobuf.ByteString getRestrictedLocationsBytes(int index) { + public com.google.protobuf.ByteString + getRestrictedLocationsBytes(int index) { return restrictedLocations_.getByteString(index); } /** - * - * *
        * Optional. The list of locations to search within. If empty, all locations
        * are searched.
@@ -1824,17 +1613,14 @@ public com.google.protobuf.ByteString getRestrictedLocationsBytes(int index) {
        * value of this parameter.
        * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index to set the value at. * @param value The restrictedLocations to set. * @return This builder for chaining. */ - public Builder setRestrictedLocations(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRestrictedLocations( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureRestrictedLocationsIsMutable(); restrictedLocations_.set(index, value); bitField0_ |= 0x00000008; @@ -1842,8 +1628,6 @@ public Builder setRestrictedLocations(int index, java.lang.String value) { return this; } /** - * - * *
        * Optional. The list of locations to search within. If empty, all locations
        * are searched.
@@ -1857,16 +1641,13 @@ public Builder setRestrictedLocations(int index, java.lang.String value) {
        * value of this parameter.
        * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; * @param value The restrictedLocations to add. * @return This builder for chaining. */ - public Builder addRestrictedLocations(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addRestrictedLocations( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureRestrictedLocationsIsMutable(); restrictedLocations_.add(value); bitField0_ |= 0x00000008; @@ -1874,8 +1655,6 @@ public Builder addRestrictedLocations(java.lang.String value) { return this; } /** - * - * *
        * Optional. The list of locations to search within. If empty, all locations
        * are searched.
@@ -1889,22 +1668,20 @@ public Builder addRestrictedLocations(java.lang.String value) {
        * value of this parameter.
        * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; * @param values The restrictedLocations to add. * @return This builder for chaining. */ - public Builder addAllRestrictedLocations(java.lang.Iterable values) { + public Builder addAllRestrictedLocations( + java.lang.Iterable values) { ensureRestrictedLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, restrictedLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, restrictedLocations_); bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
        * Optional. The list of locations to search within. If empty, all locations
        * are searched.
@@ -1918,21 +1695,17 @@ public Builder addAllRestrictedLocations(java.lang.Iterable va
        * value of this parameter.
        * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearRestrictedLocations() { - restrictedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - ; + restrictedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008);; onChanged(); return this; } /** - * - * *
        * Optional. The list of locations to search within. If empty, all locations
        * are searched.
@@ -1946,16 +1719,13 @@ public Builder clearRestrictedLocations() {
        * value of this parameter.
        * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; * @param value The bytes of the restrictedLocations to add. * @return This builder for chaining. */ - public Builder addRestrictedLocationsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addRestrictedLocationsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureRestrictedLocationsIsMutable(); restrictedLocations_.add(value); @@ -1964,10 +1734,8 @@ public Builder addRestrictedLocationsBytes(com.google.protobuf.ByteString value) return this; } - private boolean starredOnly_; + private boolean starredOnly_ ; /** - * - * *
        * Optional. If `true`, search only among starred entries.
        *
@@ -1975,7 +1743,6 @@ public Builder addRestrictedLocationsBytes(com.google.protobuf.ByteString value)
        * 
* * bool starred_only = 18 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The starredOnly. */ @java.lang.Override @@ -1983,8 +1750,6 @@ public boolean getStarredOnly() { return starredOnly_; } /** - * - * *
        * Optional. If `true`, search only among starred entries.
        *
@@ -1992,7 +1757,6 @@ public boolean getStarredOnly() {
        * 
* * bool starred_only = 18 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The starredOnly to set. * @return This builder for chaining. */ @@ -2004,8 +1768,6 @@ public Builder setStarredOnly(boolean value) { return this; } /** - * - * *
        * Optional. If `true`, search only among starred entries.
        *
@@ -2013,7 +1775,6 @@ public Builder setStarredOnly(boolean value) {
        * 
* * bool starred_only = 18 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearStarredOnly() { @@ -2023,49 +1784,35 @@ public Builder clearStarredOnly() { return this; } - private boolean includePublicTagTemplates_; + private boolean includePublicTagTemplates_ ; /** - * - * *
        * Optional. This field is deprecated. The search mechanism for public and
        * private tag templates is the same.
        * 
* - * - * bool include_public_tag_templates = 19 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * - * @deprecated - * google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates is - * deprecated. See google/cloud/datacatalog/v1/datacatalog.proto;l=677 + * bool include_public_tag_templates = 19 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * @deprecated google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates is deprecated. + * See google/cloud/datacatalog/v1/datacatalog.proto;l=677 * @return The includePublicTagTemplates. */ @java.lang.Override - @java.lang.Deprecated - public boolean getIncludePublicTagTemplates() { + @java.lang.Deprecated public boolean getIncludePublicTagTemplates() { return includePublicTagTemplates_; } /** - * - * *
        * Optional. This field is deprecated. The search mechanism for public and
        * private tag templates is the same.
        * 
* - * - * bool include_public_tag_templates = 19 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * - * @deprecated - * google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates is - * deprecated. See google/cloud/datacatalog/v1/datacatalog.proto;l=677 + * bool include_public_tag_templates = 19 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * @deprecated google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates is deprecated. + * See google/cloud/datacatalog/v1/datacatalog.proto;l=677 * @param value The includePublicTagTemplates to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setIncludePublicTagTemplates(boolean value) { + @java.lang.Deprecated public Builder setIncludePublicTagTemplates(boolean value) { includePublicTagTemplates_ = value; bitField0_ |= 0x00000020; @@ -2073,30 +1820,22 @@ public Builder setIncludePublicTagTemplates(boolean value) { return this; } /** - * - * *
        * Optional. This field is deprecated. The search mechanism for public and
        * private tag templates is the same.
        * 
* - * - * bool include_public_tag_templates = 19 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * - * @deprecated - * google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates is - * deprecated. See google/cloud/datacatalog/v1/datacatalog.proto;l=677 + * bool include_public_tag_templates = 19 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * @deprecated google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates is deprecated. + * See google/cloud/datacatalog/v1/datacatalog.proto;l=677 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearIncludePublicTagTemplates() { + @java.lang.Deprecated public Builder clearIncludePublicTagTemplates() { bitField0_ = (bitField0_ & ~0x00000020); includePublicTagTemplates_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2109,13 +1848,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.SearchCatalogRequest.Scope) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.SearchCatalogRequest.Scope) - private static final com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope - DEFAULT_INSTANCE; - + private static final com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope(); } @@ -2124,28 +1862,27 @@ public static com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Scope parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Scope parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2160,13 +1897,12 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int SCOPE_FIELD_NUMBER = 6; private com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope_; /** - * - * *
    * Required. The scope of this search request.
    *
@@ -2175,10 +1911,7 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope getDefaultInst
    * the request returns an error.
    * 
* - * - * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scope field is set. */ @java.lang.Override @@ -2186,8 +1919,6 @@ public boolean hasScope() { return scope_ != null; } /** - * - * *
    * Required. The scope of this search request.
    *
@@ -2196,21 +1927,14 @@ public boolean hasScope() {
    * the request returns an error.
    * 
* - * - * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The scope. */ @java.lang.Override public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope getScope() { - return scope_ == null - ? com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.getDefaultInstance() - : scope_; + return scope_ == null ? com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.getDefaultInstance() : scope_; } /** - * - * *
    * Required. The scope of this search request.
    *
@@ -2219,24 +1943,17 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope getScope() {
    * the request returns an error.
    * 
* - * - * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder getScopeOrBuilder() { - return scope_ == null - ? com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.getDefaultInstance() - : scope_; + return scope_ == null ? com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.getDefaultInstance() : scope_; } public static final int QUERY_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object query_ = ""; /** - * - * *
    * Optional. The query string with a minimum of 3 characters and specific
    * syntax. For more information, see [Data Catalog search
@@ -2253,7 +1970,6 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder getSc
    * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The query. */ @java.lang.Override @@ -2262,15 +1978,14 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** - * - * *
    * Optional. The query string with a minimum of 3 characters and specific
    * syntax. For more information, see [Data Catalog search
@@ -2287,15 +2002,16 @@ public java.lang.String getQuery() {
    * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -2306,10 +2022,8 @@ public com.google.protobuf.ByteString getQueryBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
-   * Number of results to return in a single search page.
+   * Upper bound on the number of results you can get in a single response.
    *
    * Can't be negative or 0, defaults to 10 in this case.
    * The maximum number is 1000. If exceeded, throws an "invalid argument"
@@ -2317,7 +2031,6 @@ public com.google.protobuf.ByteString getQueryBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -2326,12 +2039,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Optional. Pagination token that, if specified, returns the next page of
    * search results. If empty, returns the first page.
@@ -2344,7 +2054,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -2353,15 +2062,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. Pagination token that, if specified, returns the next page of
    * search results. If empty, returns the first page.
@@ -2374,15 +2082,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 { @@ -2391,12 +2100,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** - * - * *
    * Specifies the order of results.
    *
@@ -2406,11 +2112,17 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default
    * * `default` that can only be descending
    *
+   * Search queries don't guarantee full recall. Results that match your query
+   * might not be returned, even in subsequent result pages. Additionally,
+   * returned (and not returned) results can vary if you repeat search queries.
+   * If you are experiencing recall issues and you don't have to fetch the
+   * results in any specific order, consider setting this parameter to
+   * `default`.
+   *
    * If this parameter is omitted, it defaults to the descending `relevance`.
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -2419,15 +2131,14 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Specifies the order of results.
    *
@@ -2437,19 +2148,27 @@ public java.lang.String getOrderBy() {
    * * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default
    * * `default` that can only be descending
    *
+   * Search queries don't guarantee full recall. Results that match your query
+   * might not be returned, even in subsequent result pages. Additionally,
+   * returned (and not returned) results can vary if you repeat search queries.
+   * If you are experiencing recall issues and you don't have to fetch the
+   * results in any specific order, consider setting this parameter to
+   * `default`.
+   *
    * If this parameter is omitted, it defaults to the descending `relevance`.
    * 
* * string order_by = 5; - * * @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 { @@ -2458,7 +2177,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2470,7 +2188,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(query_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, query_); } @@ -2499,7 +2218,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, query_); } 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_); @@ -2508,7 +2228,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); } if (scope_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getScope()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getScope()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2518,22 +2239,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.datacatalog.v1.SearchCatalogRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.SearchCatalogRequest other = - (com.google.cloud.datacatalog.v1.SearchCatalogRequest) obj; + com.google.cloud.datacatalog.v1.SearchCatalogRequest other = (com.google.cloud.datacatalog.v1.SearchCatalogRequest) obj; if (hasScope() != other.hasScope()) return false; if (hasScope()) { - if (!getScope().equals(other.getScope())) return false; - } - if (!getQuery().equals(other.getQuery())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + if (!getScope() + .equals(other.getScope())) return false; + } + if (!getQuery() + .equals(other.getQuery())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2563,103 +2288,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.SearchCatalogRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.SearchCatalogRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SearchCatalogRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.SearchCatalogRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SearchCatalogRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.SearchCatalogRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.SearchCatalogRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.SearchCatalogRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.SearchCatalogRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SearchCatalogRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.SearchCatalogRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.SearchCatalogRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SearchCatalogRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.SearchCatalogRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.SearchCatalogRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
@@ -2667,32 +2387,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.SearchCatalogRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.SearchCatalogRequest)
       com.google.cloud.datacatalog.v1.SearchCatalogRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.SearchCatalogRequest.class,
-              com.google.cloud.datacatalog.v1.SearchCatalogRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.SearchCatalogRequest.class, com.google.cloud.datacatalog.v1.SearchCatalogRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.SearchCatalogRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2710,9 +2431,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_descriptor;
     }
 
     @java.lang.Override
@@ -2731,11 +2452,8 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.SearchCatalogRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.SearchCatalogRequest result =
-          new com.google.cloud.datacatalog.v1.SearchCatalogRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.SearchCatalogRequest result = new com.google.cloud.datacatalog.v1.SearchCatalogRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -2743,7 +2461,9 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest buildPartial() {
     private void buildPartial0(com.google.cloud.datacatalog.v1.SearchCatalogRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.scope_ = scopeBuilder_ == null ? scope_ : scopeBuilder_.build();
+        result.scope_ = scopeBuilder_ == null
+            ? scope_
+            : scopeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.query_ = query_;
@@ -2763,39 +2483,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.SearchCatalogRequest
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.SearchCatalogRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.SearchCatalogRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.SearchCatalogRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2803,8 +2522,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.SearchCatalogRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.SearchCatalogRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.SearchCatalogRequest.getDefaultInstance()) return this;
       if (other.hasScope()) {
         mergeScope(other.getScope());
       }
@@ -2852,43 +2570,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                query_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 10
-            case 16:
-              {
-                pageSize_ = input.readInt32();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 16
-            case 26:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 26
-            case 42:
-              {
-                orderBy_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getScopeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              query_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 10
+            case 16: {
+              pageSize_ = input.readInt32();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 16
+            case 26: {
+              pageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 26
+            case 42: {
+              orderBy_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getScopeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              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) {
@@ -2898,18 +2612,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope,
-            com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.Builder,
-            com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder>
-        scopeBuilder_;
+        com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope, com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.Builder, com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder> scopeBuilder_;
     /**
-     *
-     *
      * 
      * Required. The scope of this search request.
      *
@@ -2918,18 +2626,13 @@ public Builder mergeFrom(
      * the request returns an error.
      * 
* - * - * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scope field is set. */ public boolean hasScope() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The scope of this search request.
      *
@@ -2938,24 +2641,17 @@ public boolean hasScope() {
      * the request returns an error.
      * 
* - * - * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The scope. */ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope getScope() { if (scopeBuilder_ == null) { - return scope_ == null - ? com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.getDefaultInstance() - : scope_; + return scope_ == null ? com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.getDefaultInstance() : scope_; } else { return scopeBuilder_.getMessage(); } } /** - * - * *
      * Required. The scope of this search request.
      *
@@ -2964,9 +2660,7 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope getScope() {
      * the request returns an error.
      * 
* - * - * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setScope(com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope value) { if (scopeBuilder_ == null) { @@ -2982,8 +2676,6 @@ public Builder setScope(com.google.cloud.datacatalog.v1.SearchCatalogRequest.Sco return this; } /** - * - * *
      * Required. The scope of this search request.
      *
@@ -2992,9 +2684,7 @@ public Builder setScope(com.google.cloud.datacatalog.v1.SearchCatalogRequest.Sco
      * the request returns an error.
      * 
* - * - * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setScope( com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.Builder builderForValue) { @@ -3008,8 +2698,6 @@ public Builder setScope( return this; } /** - * - * *
      * Required. The scope of this search request.
      *
@@ -3018,17 +2706,13 @@ public Builder setScope(
      * the request returns an error.
      * 
* - * - * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeScope(com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope value) { if (scopeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && scope_ != null - && scope_ - != com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope - .getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + scope_ != null && + scope_ != com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.getDefaultInstance()) { getScopeBuilder().mergeFrom(value); } else { scope_ = value; @@ -3041,8 +2725,6 @@ public Builder mergeScope(com.google.cloud.datacatalog.v1.SearchCatalogRequest.S return this; } /** - * - * *
      * Required. The scope of this search request.
      *
@@ -3051,9 +2733,7 @@ public Builder mergeScope(com.google.cloud.datacatalog.v1.SearchCatalogRequest.S
      * the request returns an error.
      * 
* - * - * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearScope() { bitField0_ = (bitField0_ & ~0x00000001); @@ -3066,8 +2746,6 @@ public Builder clearScope() { return this; } /** - * - * *
      * Required. The scope of this search request.
      *
@@ -3076,9 +2754,7 @@ public Builder clearScope() {
      * the request returns an error.
      * 
* - * - * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.Builder getScopeBuilder() { bitField0_ |= 0x00000001; @@ -3086,8 +2762,6 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.Builder getSco return getScopeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The scope of this search request.
      *
@@ -3096,22 +2770,17 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.Builder getSco
      * the request returns an error.
      * 
* - * - * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder getScopeOrBuilder() { if (scopeBuilder_ != null) { return scopeBuilder_.getMessageOrBuilder(); } else { - return scope_ == null - ? com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.getDefaultInstance() - : scope_; + return scope_ == null ? + com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.getDefaultInstance() : scope_; } } /** - * - * *
      * Required. The scope of this search request.
      *
@@ -3120,22 +2789,17 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder getSc
      * the request returns an error.
      * 
* - * - * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope, - com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.Builder, - com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder> + com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope, com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.Builder, com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder> getScopeFieldBuilder() { if (scopeBuilder_ == null) { - scopeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope, - com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.Builder, - com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder>( - getScope(), getParentForChildren(), isClean()); + scopeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope, com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.Builder, com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder>( + getScope(), + getParentForChildren(), + isClean()); scope_ = null; } return scopeBuilder_; @@ -3143,8 +2807,6 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder getSc private java.lang.Object query_ = ""; /** - * - * *
      * Optional. The query string with a minimum of 3 characters and specific
      * syntax. For more information, see [Data Catalog search
@@ -3161,13 +2823,13 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder getSc
      * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -3176,8 +2838,6 @@ public java.lang.String getQuery() { } } /** - * - * *
      * Optional. The query string with a minimum of 3 characters and specific
      * syntax. For more information, see [Data Catalog search
@@ -3194,14 +2854,15 @@ public java.lang.String getQuery() {
      * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for query. */ - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -3209,8 +2870,6 @@ public com.google.protobuf.ByteString getQueryBytes() { } } /** - * - * *
      * Optional. The query string with a minimum of 3 characters and specific
      * syntax. For more information, see [Data Catalog search
@@ -3227,22 +2886,18 @@ public com.google.protobuf.ByteString getQueryBytes() {
      * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQuery( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } query_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. The query string with a minimum of 3 characters and specific
      * syntax. For more information, see [Data Catalog search
@@ -3259,7 +2914,6 @@ public Builder setQuery(java.lang.String value) {
      * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearQuery() { @@ -3269,8 +2923,6 @@ public Builder clearQuery() { return this; } /** - * - * *
      * Optional. The query string with a minimum of 3 characters and specific
      * syntax. For more information, see [Data Catalog search
@@ -3287,14 +2939,12 @@ public Builder clearQuery() {
      * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQueryBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); query_ = value; bitField0_ |= 0x00000002; @@ -3302,12 +2952,10 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
-     * Number of results to return in a single search page.
+     * Upper bound on the number of results you can get in a single response.
      *
      * Can't be negative or 0, defaults to 10 in this case.
      * The maximum number is 1000. If exceeded, throws an "invalid argument"
@@ -3315,7 +2963,6 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -3323,10 +2970,8 @@ public int getPageSize() { return pageSize_; } /** - * - * *
-     * Number of results to return in a single search page.
+     * Upper bound on the number of results you can get in a single response.
      *
      * Can't be negative or 0, defaults to 10 in this case.
      * The maximum number is 1000. If exceeded, throws an "invalid argument"
@@ -3334,7 +2979,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -3346,10 +2990,8 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
-     * Number of results to return in a single search page.
+     * Upper bound on the number of results you can get in a single response.
      *
      * Can't be negative or 0, defaults to 10 in this case.
      * The maximum number is 1000. If exceeded, throws an "invalid argument"
@@ -3357,7 +2999,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -3369,8 +3010,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. Pagination token that, if specified, returns the next page of
      * search results. If empty, returns the first page.
@@ -3383,13 +3022,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; @@ -3398,8 +3037,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. Pagination token that, if specified, returns the next page of
      * search results. If empty, returns the first page.
@@ -3412,14 +3049,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 { @@ -3427,8 +3065,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. Pagination token that, if specified, returns the next page of
      * search results. If empty, returns the first page.
@@ -3441,22 +3077,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. Pagination token that, if specified, returns the next page of
      * search results. If empty, returns the first page.
@@ -3469,7 +3101,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() { @@ -3479,8 +3110,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Optional. Pagination token that, if specified, returns the next page of
      * search results. If empty, returns the first page.
@@ -3493,14 +3122,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_ |= 0x00000008; @@ -3510,8 +3137,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Specifies the order of results.
      *
@@ -3521,17 +3146,24 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default
      * * `default` that can only be descending
      *
+     * Search queries don't guarantee full recall. Results that match your query
+     * might not be returned, even in subsequent result pages. Additionally,
+     * returned (and not returned) results can vary if you repeat search queries.
+     * If you are experiencing recall issues and you don't have to fetch the
+     * results in any specific order, consider setting this parameter to
+     * `default`.
+     *
      * If this parameter is omitted, it defaults to the descending `relevance`.
      * 
* * string order_by = 5; - * * @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; @@ -3540,8 +3172,6 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Specifies the order of results.
      *
@@ -3551,18 +3181,26 @@ public java.lang.String getOrderBy() {
      * * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default
      * * `default` that can only be descending
      *
+     * Search queries don't guarantee full recall. Results that match your query
+     * might not be returned, even in subsequent result pages. Additionally,
+     * returned (and not returned) results can vary if you repeat search queries.
+     * If you are experiencing recall issues and you don't have to fetch the
+     * results in any specific order, consider setting this parameter to
+     * `default`.
+     *
      * If this parameter is omitted, it defaults to the descending `relevance`.
      * 
* * string order_by = 5; - * * @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 { @@ -3570,8 +3208,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Specifies the order of results.
      *
@@ -3581,26 +3217,29 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default
      * * `default` that can only be descending
      *
+     * Search queries don't guarantee full recall. Results that match your query
+     * might not be returned, even in subsequent result pages. Additionally,
+     * returned (and not returned) results can vary if you repeat search queries.
+     * If you are experiencing recall issues and you don't have to fetch the
+     * results in any specific order, consider setting this parameter to
+     * `default`.
+     *
      * If this parameter is omitted, it defaults to the descending `relevance`.
      * 
* * string order_by = 5; - * * @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; } /** - * - * *
      * Specifies the order of results.
      *
@@ -3610,11 +3249,17 @@ public Builder setOrderBy(java.lang.String value) {
      * * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default
      * * `default` that can only be descending
      *
+     * Search queries don't guarantee full recall. Results that match your query
+     * might not be returned, even in subsequent result pages. Additionally,
+     * returned (and not returned) results can vary if you repeat search queries.
+     * If you are experiencing recall issues and you don't have to fetch the
+     * results in any specific order, consider setting this parameter to
+     * `default`.
+     *
      * If this parameter is omitted, it defaults to the descending `relevance`.
      * 
* * string order_by = 5; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -3624,8 +3269,6 @@ public Builder clearOrderBy() { return this; } /** - * - * *
      * Specifies the order of results.
      *
@@ -3635,27 +3278,32 @@ public Builder clearOrderBy() {
      * * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default
      * * `default` that can only be descending
      *
+     * Search queries don't guarantee full recall. Results that match your query
+     * might not be returned, even in subsequent result pages. Additionally,
+     * returned (and not returned) results can vary if you repeat search queries.
+     * If you are experiencing recall issues and you don't have to fetch the
+     * results in any specific order, consider setting this parameter to
+     * `default`.
+     *
      * If this parameter is omitted, it defaults to the descending `relevance`.
      * 
* * string order_by = 5; - * * @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); } @@ -3665,12 +3313,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.SearchCatalogRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.SearchCatalogRequest) private static final com.google.cloud.datacatalog.v1.SearchCatalogRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.SearchCatalogRequest(); } @@ -3679,27 +3327,27 @@ public static com.google.cloud.datacatalog.v1.SearchCatalogRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchCatalogRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchCatalogRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3714,4 +3362,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.SearchCatalogRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequestOrBuilder.java similarity index 77% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequestOrBuilder.java index 74073b0a1882..f77b15109ad8 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface SearchCatalogRequestOrBuilder - extends +public interface SearchCatalogRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.SearchCatalogRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The scope of this search request.
    *
@@ -34,16 +16,11 @@ public interface SearchCatalogRequestOrBuilder
    * the request returns an error.
    * 
* - * - * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scope field is set. */ boolean hasScope(); /** - * - * *
    * Required. The scope of this search request.
    *
@@ -52,16 +29,11 @@ public interface SearchCatalogRequestOrBuilder
    * the request returns an error.
    * 
* - * - * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The scope. */ com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope getScope(); /** - * - * *
    * Required. The scope of this search request.
    *
@@ -70,15 +42,11 @@ public interface SearchCatalogRequestOrBuilder
    * the request returns an error.
    * 
* - * - * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder getScopeOrBuilder(); /** - * - * *
    * Optional. The query string with a minimum of 3 characters and specific
    * syntax. For more information, see [Data Catalog search
@@ -95,13 +63,10 @@ public interface SearchCatalogRequestOrBuilder
    * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The query. */ java.lang.String getQuery(); /** - * - * *
    * Optional. The query string with a minimum of 3 characters and specific
    * syntax. For more information, see [Data Catalog search
@@ -118,16 +83,14 @@ public interface SearchCatalogRequestOrBuilder
    * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for query. */ - com.google.protobuf.ByteString getQueryBytes(); + com.google.protobuf.ByteString + getQueryBytes(); /** - * - * *
-   * Number of results to return in a single search page.
+   * Upper bound on the number of results you can get in a single response.
    *
    * Can't be negative or 0, defaults to 10 in this case.
    * The maximum number is 1000. If exceeded, throws an "invalid argument"
@@ -135,14 +98,11 @@ public interface SearchCatalogRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. Pagination token that, if specified, returns the next page of
    * search results. If empty, returns the first page.
@@ -155,13 +115,10 @@ public interface SearchCatalogRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. Pagination token that, if specified, returns the next page of
    * search results. If empty, returns the first page.
@@ -174,14 +131,12 @@ public interface SearchCatalogRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Specifies the order of results.
    *
@@ -191,17 +146,21 @@ public interface SearchCatalogRequestOrBuilder
    * * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default
    * * `default` that can only be descending
    *
+   * Search queries don't guarantee full recall. Results that match your query
+   * might not be returned, even in subsequent result pages. Additionally,
+   * returned (and not returned) results can vary if you repeat search queries.
+   * If you are experiencing recall issues and you don't have to fetch the
+   * results in any specific order, consider setting this parameter to
+   * `default`.
+   *
    * If this parameter is omitted, it defaults to the descending `relevance`.
    * 
* * string order_by = 5; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Specifies the order of results.
    *
@@ -211,12 +170,19 @@ public interface SearchCatalogRequestOrBuilder
    * * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default
    * * `default` that can only be descending
    *
+   * Search queries don't guarantee full recall. Results that match your query
+   * might not be returned, even in subsequent result pages. Additionally,
+   * returned (and not returned) results can vary if you repeat search queries.
+   * If you are experiencing recall issues and you don't have to fetch the
+   * results in any specific order, consider setting this parameter to
+   * `default`.
+   *
    * If this parameter is omitted, it defaults to the descending `relevance`.
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponse.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponse.java similarity index 74% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponse.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponse.java index 545995d9d7d6..e4d9502d0b7a 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponse.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Response message for
  * [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
@@ -28,50 +11,46 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.SearchCatalogResponse}
  */
-public final class SearchCatalogResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SearchCatalogResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.SearchCatalogResponse)
     SearchCatalogResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SearchCatalogResponse.newBuilder() to construct.
   private SearchCatalogResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SearchCatalogResponse() {
     results_ = 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 SearchCatalogResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.SearchCatalogResponse.class,
-            com.google.cloud.datacatalog.v1.SearchCatalogResponse.Builder.class);
+            com.google.cloud.datacatalog.v1.SearchCatalogResponse.class, com.google.cloud.datacatalog.v1.SearchCatalogResponse.Builder.class);
   }
 
   public static final int RESULTS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List results_;
   /**
-   *
-   *
    * 
    * Search results.
    * 
@@ -83,8 +62,6 @@ public java.util.List getRe return results_; } /** - * - * *
    * Search results.
    * 
@@ -92,13 +69,11 @@ public java.util.List getRe * repeated .google.cloud.datacatalog.v1.SearchCatalogResult results = 1; */ @java.lang.Override - public java.util.List + public java.util.List getResultsOrBuilderList() { return results_; } /** - * - * *
    * Search results.
    * 
@@ -110,8 +85,6 @@ public int getResultsCount() { return results_.size(); } /** - * - * *
    * Search results.
    * 
@@ -123,8 +96,6 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResult getResults(int index) return results_.get(index); } /** - * - * *
    * Search results.
    * 
@@ -140,14 +111,11 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder getResultsOr public static final int TOTAL_SIZE_FIELD_NUMBER = 2; private int totalSize_ = 0; /** - * - * *
    * The approximate total number of entries matched by the query.
    * 
* * int32 total_size = 2; - * * @return The totalSize. */ @java.lang.Override @@ -156,19 +124,15 @@ public int getTotalSize() { } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Pagination token that can be used in subsequent calls to retrieve the next
    * page of results.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ @java.lang.Override @@ -177,30 +141,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; } } /** - * - * *
    * Pagination token that can be used in subsequent calls to retrieve the next
    * page of results.
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -209,13 +173,10 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } public static final int UNREACHABLE_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Unreachable locations. Search results don't include data from those
    * locations.
@@ -226,15 +187,13 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
    * 
* * repeated string unreachable = 6; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Unreachable locations. Search results don't include data from those
    * locations.
@@ -245,15 +204,12 @@ public com.google.protobuf.ProtocolStringList getUnreachableList() {
    * 
* * repeated string unreachable = 6; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Unreachable locations. Search results don't include data from those
    * locations.
@@ -264,7 +220,6 @@ public int getUnreachableCount() {
    * 
* * repeated string unreachable = 6; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -272,8 +227,6 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Unreachable locations. Search results don't include data from those
    * locations.
@@ -284,16 +237,15 @@ public java.lang.String getUnreachable(int index) {
    * 
* * repeated string unreachable = 6; - * * @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; @@ -305,7 +257,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < results_.size(); i++) { output.writeMessage(1, results_.get(i)); } @@ -328,10 +281,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < results_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, results_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, results_.get(i)); } if (totalSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, totalSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, totalSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); @@ -352,18 +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.datacatalog.v1.SearchCatalogResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.SearchCatalogResponse other = - (com.google.cloud.datacatalog.v1.SearchCatalogResponse) obj; + com.google.cloud.datacatalog.v1.SearchCatalogResponse other = (com.google.cloud.datacatalog.v1.SearchCatalogResponse) obj; - if (!getResultsList().equals(other.getResultsList())) return false; - if (getTotalSize() != other.getTotalSize()) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getResultsList() + .equals(other.getResultsList())) return false; + if (getTotalSize() + != other.getTotalSize()) 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; } @@ -393,104 +351,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.SearchCatalogResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.SearchCatalogResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SearchCatalogResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.SearchCatalogResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SearchCatalogResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.SearchCatalogResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.SearchCatalogResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.SearchCatalogResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.SearchCatalogResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SearchCatalogResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.SearchCatalogResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.SearchCatalogResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SearchCatalogResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.SearchCatalogResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.SearchCatalogResponse prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.SearchCatalogResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for
    * [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
@@ -498,32 +450,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.SearchCatalogResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.SearchCatalogResponse)
       com.google.cloud.datacatalog.v1.SearchCatalogResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.SearchCatalogResponse.class,
-              com.google.cloud.datacatalog.v1.SearchCatalogResponse.Builder.class);
+              com.google.cloud.datacatalog.v1.SearchCatalogResponse.class, com.google.cloud.datacatalog.v1.SearchCatalogResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.SearchCatalogResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -537,14 +490,15 @@ public Builder clear() {
       bitField0_ = (bitField0_ & ~0x00000001);
       totalSize_ = 0;
       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.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_descriptor;
     }
 
     @java.lang.Override
@@ -563,18 +517,14 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.SearchCatalogResponse buildPartial() {
-      com.google.cloud.datacatalog.v1.SearchCatalogResponse result =
-          new com.google.cloud.datacatalog.v1.SearchCatalogResponse(this);
+      com.google.cloud.datacatalog.v1.SearchCatalogResponse result = new com.google.cloud.datacatalog.v1.SearchCatalogResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.datacatalog.v1.SearchCatalogResponse result) {
+    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1.SearchCatalogResponse result) {
       if (resultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           results_ = java.util.Collections.unmodifiableList(results_);
@@ -604,39 +554,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.SearchCatalogResponse
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.SearchCatalogResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.SearchCatalogResponse) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.SearchCatalogResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -644,8 +593,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.SearchCatalogResponse other) {
-      if (other == com.google.cloud.datacatalog.v1.SearchCatalogResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.SearchCatalogResponse.getDefaultInstance()) return this;
       if (resultsBuilder_ == null) {
         if (!other.results_.isEmpty()) {
           if (results_.isEmpty()) {
@@ -664,10 +612,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.SearchCatalogResponse o
             resultsBuilder_ = null;
             results_ = other.results_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            resultsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getResultsFieldBuilder()
-                    : null;
+            resultsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getResultsFieldBuilder() : null;
           } else {
             resultsBuilder_.addAllMessages(other.results_);
           }
@@ -717,46 +664,41 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.datacatalog.v1.SearchCatalogResult m =
-                    input.readMessage(
-                        com.google.cloud.datacatalog.v1.SearchCatalogResult.parser(),
-                        extensionRegistry);
-                if (resultsBuilder_ == null) {
-                  ensureResultsIsMutable();
-                  results_.add(m);
-                } else {
-                  resultsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 16:
-              {
-                totalSize_ = input.readInt32();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 26:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 50:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureUnreachableIsMutable();
-                unreachable_.add(s);
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.cloud.datacatalog.v1.SearchCatalogResult m =
+                  input.readMessage(
+                      com.google.cloud.datacatalog.v1.SearchCatalogResult.parser(),
+                      extensionRegistry);
+              if (resultsBuilder_ == null) {
+                ensureResultsIsMutable();
+                results_.add(m);
+              } else {
+                resultsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 16: {
+              totalSize_ = input.readInt32();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 26: {
+              nextPageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 50: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureUnreachableIsMutable();
+              unreachable_.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) {
@@ -766,29 +708,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List results_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        results_ =
-            new java.util.ArrayList(results_);
+        results_ = new java.util.ArrayList(results_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.SearchCatalogResult,
-            com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder,
-            com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder>
-        resultsBuilder_;
+        com.google.cloud.datacatalog.v1.SearchCatalogResult, com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder, com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder> resultsBuilder_;
 
     /**
-     *
-     *
      * 
      * Search results.
      * 
@@ -803,8 +737,6 @@ public java.util.List getRe } } /** - * - * *
      * Search results.
      * 
@@ -819,8 +751,6 @@ public int getResultsCount() { } } /** - * - * *
      * Search results.
      * 
@@ -835,8 +765,6 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResult getResults(int index) } } /** - * - * *
      * Search results.
      * 
@@ -858,8 +786,6 @@ public Builder setResults( return this; } /** - * - * *
      * Search results.
      * 
@@ -878,8 +804,6 @@ public Builder setResults( return this; } /** - * - * *
      * Search results.
      * 
@@ -900,8 +824,6 @@ public Builder addResults(com.google.cloud.datacatalog.v1.SearchCatalogResult va return this; } /** - * - * *
      * Search results.
      * 
@@ -923,8 +845,6 @@ public Builder addResults( return this; } /** - * - * *
      * Search results.
      * 
@@ -943,8 +863,6 @@ public Builder addResults( return this; } /** - * - * *
      * Search results.
      * 
@@ -963,8 +881,6 @@ public Builder addResults( return this; } /** - * - * *
      * Search results.
      * 
@@ -975,7 +891,8 @@ public Builder addAllResults( java.lang.Iterable values) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, results_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, results_); onChanged(); } else { resultsBuilder_.addAllMessages(values); @@ -983,8 +900,6 @@ public Builder addAllResults( return this; } /** - * - * *
      * Search results.
      * 
@@ -1002,8 +917,6 @@ public Builder clearResults() { return this; } /** - * - * *
      * Search results.
      * 
@@ -1021,8 +934,6 @@ public Builder removeResults(int index) { return this; } /** - * - * *
      * Search results.
      * 
@@ -1034,8 +945,6 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder getResultsBui return getResultsFieldBuilder().getBuilder(index); } /** - * - * *
      * Search results.
      * 
@@ -1045,22 +954,19 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder getResultsBui public com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder getResultsOrBuilder( int index) { if (resultsBuilder_ == null) { - return results_.get(index); - } else { + return results_.get(index); } else { return resultsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Search results.
      * 
* * repeated .google.cloud.datacatalog.v1.SearchCatalogResult results = 1; */ - public java.util.List - getResultsOrBuilderList() { + public java.util.List + getResultsOrBuilderList() { if (resultsBuilder_ != null) { return resultsBuilder_.getMessageOrBuilderList(); } else { @@ -1068,8 +974,6 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder getResultsOr } } /** - * - * *
      * Search results.
      * 
@@ -1077,12 +981,10 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder getResultsOr * repeated .google.cloud.datacatalog.v1.SearchCatalogResult results = 1; */ public com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder addResultsBuilder() { - return getResultsFieldBuilder() - .addBuilder(com.google.cloud.datacatalog.v1.SearchCatalogResult.getDefaultInstance()); + return getResultsFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1.SearchCatalogResult.getDefaultInstance()); } /** - * - * *
      * Search results.
      * 
@@ -1091,51 +993,42 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder addResultsBui */ public com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder addResultsBuilder( int index) { - return getResultsFieldBuilder() - .addBuilder( - index, com.google.cloud.datacatalog.v1.SearchCatalogResult.getDefaultInstance()); + return getResultsFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1.SearchCatalogResult.getDefaultInstance()); } /** - * - * *
      * Search results.
      * 
* * repeated .google.cloud.datacatalog.v1.SearchCatalogResult results = 1; */ - public java.util.List - getResultsBuilderList() { + public java.util.List + getResultsBuilderList() { return getResultsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.SearchCatalogResult, - com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder, - com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder> + com.google.cloud.datacatalog.v1.SearchCatalogResult, com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder, com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder> getResultsFieldBuilder() { if (resultsBuilder_ == null) { - resultsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.SearchCatalogResult, - com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder, - com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder>( - results_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + resultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.SearchCatalogResult, com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder, com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder>( + results_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); results_ = null; } return resultsBuilder_; } - private int totalSize_; + private int totalSize_ ; /** - * - * *
      * The approximate total number of entries matched by the query.
      * 
* * int32 total_size = 2; - * * @return The totalSize. */ @java.lang.Override @@ -1143,14 +1036,11 @@ public int getTotalSize() { return totalSize_; } /** - * - * *
      * The approximate total number of entries matched by the query.
      * 
* * int32 total_size = 2; - * * @param value The totalSize to set. * @return This builder for chaining. */ @@ -1162,14 +1052,11 @@ public Builder setTotalSize(int value) { return this; } /** - * - * *
      * The approximate total number of entries matched by the query.
      * 
* * int32 total_size = 2; - * * @return This builder for chaining. */ public Builder clearTotalSize() { @@ -1181,21 +1068,19 @@ public Builder clearTotalSize() { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Pagination token that can be used in subsequent calls to retrieve the next
      * page of results.
      * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1204,22 +1089,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Pagination token that can be used in subsequent calls to retrieve the next
      * page of results.
      * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1227,37 +1111,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Pagination token that can be used in subsequent calls to retrieve the next
      * page of results.
      * 
* * string next_page_token = 3; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Pagination token that can be used in subsequent calls to retrieve the next
      * page of results.
      * 
* * string next_page_token = 3; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1267,22 +1144,18 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Pagination token that can be used in subsequent calls to retrieve the next
      * page of results.
      * 
* * string next_page_token = 3; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000004; @@ -1292,7 +1165,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_); @@ -1300,8 +1172,6 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000008; } /** - * - * *
      * Unreachable locations. Search results don't include data from those
      * locations.
@@ -1312,16 +1182,14 @@ private void ensureUnreachableIsMutable() {
      * 
* * repeated string unreachable = 6; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** - * - * *
      * Unreachable locations. Search results don't include data from those
      * locations.
@@ -1332,15 +1200,12 @@ public com.google.protobuf.ProtocolStringList getUnreachableList() {
      * 
* * repeated string unreachable = 6; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Unreachable locations. Search results don't include data from those
      * locations.
@@ -1351,7 +1216,6 @@ public int getUnreachableCount() {
      * 
* * repeated string unreachable = 6; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1359,8 +1223,6 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Unreachable locations. Search results don't include data from those
      * locations.
@@ -1371,16 +1233,14 @@ public java.lang.String getUnreachable(int index) {
      * 
* * repeated string unreachable = 6; - * * @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); } /** - * - * *
      * Unreachable locations. Search results don't include data from those
      * locations.
@@ -1391,15 +1251,13 @@ public com.google.protobuf.ByteString getUnreachableBytes(int index) {
      * 
* * repeated string unreachable = 6; - * * @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_ |= 0x00000008; @@ -1407,8 +1265,6 @@ public Builder setUnreachable(int index, java.lang.String value) { return this; } /** - * - * *
      * Unreachable locations. Search results don't include data from those
      * locations.
@@ -1419,14 +1275,12 @@ public Builder setUnreachable(int index, java.lang.String value) {
      * 
* * repeated string unreachable = 6; - * * @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_ |= 0x00000008; @@ -1434,8 +1288,6 @@ public Builder addUnreachable(java.lang.String value) { return this; } /** - * - * *
      * Unreachable locations. Search results don't include data from those
      * locations.
@@ -1446,20 +1298,19 @@ public Builder addUnreachable(java.lang.String value) {
      * 
* * repeated string unreachable = 6; - * * @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_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Unreachable locations. Search results don't include data from those
      * locations.
@@ -1470,19 +1321,16 @@ public Builder addAllUnreachable(java.lang.Iterable values) {
      * 
* * repeated string unreachable = 6; - * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - ; + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008);; onChanged(); return this; } /** - * - * *
      * Unreachable locations. Search results don't include data from those
      * locations.
@@ -1493,14 +1341,12 @@ public Builder clearUnreachable() {
      * 
* * repeated string unreachable = 6; - * * @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); @@ -1508,9 +1354,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); } @@ -1520,12 +1366,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.SearchCatalogResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.SearchCatalogResponse) private static final com.google.cloud.datacatalog.v1.SearchCatalogResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.SearchCatalogResponse(); } @@ -1534,27 +1380,27 @@ public static com.google.cloud.datacatalog.v1.SearchCatalogResponse getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchCatalogResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchCatalogResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1569,4 +1415,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.SearchCatalogResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponseOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponseOrBuilder.java similarity index 78% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponseOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponseOrBuilder.java index 5c0356b43e6b..23a8fe28291b 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponseOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface SearchCatalogResponseOrBuilder - extends +public interface SearchCatalogResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.SearchCatalogResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Search results.
    * 
* * repeated .google.cloud.datacatalog.v1.SearchCatalogResult results = 1; */ - java.util.List getResultsList(); + java.util.List + getResultsList(); /** - * - * *
    * Search results.
    * 
@@ -44,8 +25,6 @@ public interface SearchCatalogResponseOrBuilder */ com.google.cloud.datacatalog.v1.SearchCatalogResult getResults(int index); /** - * - * *
    * Search results.
    * 
@@ -54,70 +33,57 @@ public interface SearchCatalogResponseOrBuilder */ int getResultsCount(); /** - * - * *
    * Search results.
    * 
* * repeated .google.cloud.datacatalog.v1.SearchCatalogResult results = 1; */ - java.util.List + java.util.List getResultsOrBuilderList(); /** - * - * *
    * Search results.
    * 
* * repeated .google.cloud.datacatalog.v1.SearchCatalogResult results = 1; */ - com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder getResultsOrBuilder(int index); + com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder getResultsOrBuilder( + int index); /** - * - * *
    * The approximate total number of entries matched by the query.
    * 
* * int32 total_size = 2; - * * @return The totalSize. */ int getTotalSize(); /** - * - * *
    * Pagination token that can be used in subsequent calls to retrieve the next
    * page of results.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Pagination token that can be used in subsequent calls to retrieve the next
    * page of results.
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Unreachable locations. Search results don't include data from those
    * locations.
@@ -128,13 +94,11 @@ public interface SearchCatalogResponseOrBuilder
    * 
* * repeated string unreachable = 6; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Unreachable locations. Search results don't include data from those
    * locations.
@@ -145,13 +109,10 @@ public interface SearchCatalogResponseOrBuilder
    * 
* * repeated string unreachable = 6; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Unreachable locations. Search results don't include data from those
    * locations.
@@ -162,14 +123,11 @@ public interface SearchCatalogResponseOrBuilder
    * 
* * repeated string unreachable = 6; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Unreachable locations. Search results don't include data from those
    * locations.
@@ -180,9 +138,9 @@ public interface SearchCatalogResponseOrBuilder
    * 
* * repeated string unreachable = 6; - * * @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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResult.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResult.java similarity index 74% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResult.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResult.java index 1127a1ebf6e6..906c947ef180 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResult.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResult.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/search.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Result in the response to a search request.
  *
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.SearchCatalogResult}
  */
-public final class SearchCatalogResult extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SearchCatalogResult extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.SearchCatalogResult)
     SearchCatalogResultOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SearchCatalogResult.newBuilder() to construct.
   private SearchCatalogResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SearchCatalogResult() {
     searchResultType_ = 0;
     searchResultSubtype_ = "";
@@ -51,39 +33,34 @@ private SearchCatalogResult() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SearchCatalogResult();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Search
-        .internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Search.internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Search
-        .internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Search.internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.SearchCatalogResult.class,
-            com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder.class);
+            com.google.cloud.datacatalog.v1.SearchCatalogResult.class, com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder.class);
   }
 
   private int systemCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object system_;
-
   public enum SystemCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     INTEGRATED_SYSTEM(8),
     USER_SPECIFIED_SYSTEM(9),
     SYSTEM_NOT_SET(0);
     private final int value;
-
     private SystemCase(int value) {
       this.value = value;
     }
@@ -99,31 +76,26 @@ public static SystemCase valueOf(int value) {
 
     public static SystemCase forNumber(int value) {
       switch (value) {
-        case 8:
-          return INTEGRATED_SYSTEM;
-        case 9:
-          return USER_SPECIFIED_SYSTEM;
-        case 0:
-          return SYSTEM_NOT_SET;
-        default:
-          return null;
+        case 8: return INTEGRATED_SYSTEM;
+        case 9: return USER_SPECIFIED_SYSTEM;
+        case 0: return SYSTEM_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SystemCase getSystemCase() {
-    return SystemCase.forNumber(systemCase_);
+  public SystemCase
+  getSystemCase() {
+    return SystemCase.forNumber(
+        systemCase_);
   }
 
   public static final int SEARCH_RESULT_TYPE_FIELD_NUMBER = 1;
   private int searchResultType_ = 0;
   /**
-   *
-   *
    * 
    * Type of the search result.
    *
@@ -132,16 +104,12 @@ public SystemCase getSystemCase() {
    * 
* * .google.cloud.datacatalog.v1.SearchResultType search_result_type = 1; - * * @return The enum numeric value on the wire for searchResultType. */ - @java.lang.Override - public int getSearchResultTypeValue() { + @java.lang.Override public int getSearchResultTypeValue() { return searchResultType_; } /** - * - * *
    * Type of the search result.
    *
@@ -150,23 +118,17 @@ public int getSearchResultTypeValue() {
    * 
* * .google.cloud.datacatalog.v1.SearchResultType search_result_type = 1; - * * @return The searchResultType. */ - @java.lang.Override - public com.google.cloud.datacatalog.v1.SearchResultType getSearchResultType() { - com.google.cloud.datacatalog.v1.SearchResultType result = - com.google.cloud.datacatalog.v1.SearchResultType.forNumber(searchResultType_); + @java.lang.Override public com.google.cloud.datacatalog.v1.SearchResultType getSearchResultType() { + com.google.cloud.datacatalog.v1.SearchResultType result = com.google.cloud.datacatalog.v1.SearchResultType.forNumber(searchResultType_); return result == null ? com.google.cloud.datacatalog.v1.SearchResultType.UNRECOGNIZED : result; } public static final int SEARCH_RESULT_SUBTYPE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object searchResultSubtype_ = ""; /** - * - * *
    * Sub-type of the search result.
    *
@@ -177,7 +139,6 @@ public com.google.cloud.datacatalog.v1.SearchResultType getSearchResultType() {
    * 
* * string search_result_subtype = 2; - * * @return The searchResultSubtype. */ @java.lang.Override @@ -186,15 +147,14 @@ public java.lang.String getSearchResultSubtype() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); searchResultSubtype_ = s; return s; } } /** - * - * *
    * Sub-type of the search result.
    *
@@ -205,15 +165,16 @@ public java.lang.String getSearchResultSubtype() {
    * 
* * string search_result_subtype = 2; - * * @return The bytes for searchResultSubtype. */ @java.lang.Override - public com.google.protobuf.ByteString getSearchResultSubtypeBytes() { + public com.google.protobuf.ByteString + getSearchResultSubtypeBytes() { java.lang.Object ref = searchResultSubtype_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); searchResultSubtype_ = b; return b; } else { @@ -222,12 +183,9 @@ public com.google.protobuf.ByteString getSearchResultSubtypeBytes() { } public static final int RELATIVE_RESOURCE_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object relativeResourceName_ = ""; /** - * - * *
    * The relative name of the resource in URL format.
    *
@@ -238,7 +196,6 @@ public com.google.protobuf.ByteString getSearchResultSubtypeBytes() {
    * 
* * string relative_resource_name = 3; - * * @return The relativeResourceName. */ @java.lang.Override @@ -247,15 +204,14 @@ public java.lang.String getRelativeResourceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeResourceName_ = s; return s; } } /** - * - * *
    * The relative name of the resource in URL format.
    *
@@ -266,15 +222,16 @@ public java.lang.String getRelativeResourceName() {
    * 
* * string relative_resource_name = 3; - * * @return The bytes for relativeResourceName. */ @java.lang.Override - public com.google.protobuf.ByteString getRelativeResourceNameBytes() { + public com.google.protobuf.ByteString + getRelativeResourceNameBytes() { java.lang.Object ref = relativeResourceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); relativeResourceName_ = b; return b; } else { @@ -283,12 +240,9 @@ public com.google.protobuf.ByteString getRelativeResourceNameBytes() { } public static final int LINKED_RESOURCE_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object linkedResource_ = ""; /** - * - * *
    * The full name of the Google Cloud resource the entry belongs to.
    *
@@ -301,7 +255,6 @@ public com.google.protobuf.ByteString getRelativeResourceNameBytes() {
    * 
* * string linked_resource = 4; - * * @return The linkedResource. */ @java.lang.Override @@ -310,15 +263,14 @@ public java.lang.String getLinkedResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); linkedResource_ = s; return s; } } /** - * - * *
    * The full name of the Google Cloud resource the entry belongs to.
    *
@@ -331,15 +283,16 @@ public java.lang.String getLinkedResource() {
    * 
* * string linked_resource = 4; - * * @return The bytes for linkedResource. */ @java.lang.Override - public com.google.protobuf.ByteString getLinkedResourceBytes() { + public com.google.protobuf.ByteString + getLinkedResourceBytes() { java.lang.Object ref = linkedResource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); linkedResource_ = b; return b; } else { @@ -350,14 +303,11 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { public static final int MODIFY_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp modifyTime_; /** - * - * *
    * The last modification timestamp of the entry in the source system.
    * 
* * .google.protobuf.Timestamp modify_time = 7; - * * @return Whether the modifyTime field is set. */ @java.lang.Override @@ -365,14 +315,11 @@ public boolean hasModifyTime() { return modifyTime_ != null; } /** - * - * *
    * The last modification timestamp of the entry in the source system.
    * 
* * .google.protobuf.Timestamp modify_time = 7; - * * @return The modifyTime. */ @java.lang.Override @@ -380,8 +327,6 @@ public com.google.protobuf.Timestamp getModifyTime() { return modifyTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : modifyTime_; } /** - * - * *
    * The last modification timestamp of the entry in the source system.
    * 
@@ -395,34 +340,24 @@ public com.google.protobuf.TimestampOrBuilder getModifyTimeOrBuilder() { public static final int INTEGRATED_SYSTEM_FIELD_NUMBER = 8; /** - * - * *
    * Output only. The source system that Data Catalog automatically integrates
    * with, such as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
    * 
* - * - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the integratedSystem field is set. */ public boolean hasIntegratedSystem() { return systemCase_ == 8; } /** - * - * *
    * Output only. The source system that Data Catalog automatically integrates
    * with, such as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
    * 
* - * - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for integratedSystem. */ public int getIntegratedSystemValue() { @@ -432,54 +367,41 @@ public int getIntegratedSystemValue() { return 0; } /** - * - * *
    * Output only. The source system that Data Catalog automatically integrates
    * with, such as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
    * 
* - * - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The integratedSystem. */ public com.google.cloud.datacatalog.v1.IntegratedSystem getIntegratedSystem() { if (systemCase_ == 8) { - com.google.cloud.datacatalog.v1.IntegratedSystem result = - com.google.cloud.datacatalog.v1.IntegratedSystem.forNumber((java.lang.Integer) system_); - return result == null - ? com.google.cloud.datacatalog.v1.IntegratedSystem.UNRECOGNIZED - : result; + com.google.cloud.datacatalog.v1.IntegratedSystem result = com.google.cloud.datacatalog.v1.IntegratedSystem.forNumber( + (java.lang.Integer) system_); + return result == null ? com.google.cloud.datacatalog.v1.IntegratedSystem.UNRECOGNIZED : result; } return com.google.cloud.datacatalog.v1.IntegratedSystem.INTEGRATED_SYSTEM_UNSPECIFIED; } public static final int USER_SPECIFIED_SYSTEM_FIELD_NUMBER = 9; /** - * - * *
    * Custom source system that you can manually integrate Data Catalog with.
    * 
* * string user_specified_system = 9; - * * @return Whether the userSpecifiedSystem field is set. */ public boolean hasUserSpecifiedSystem() { return systemCase_ == 9; } /** - * - * *
    * Custom source system that you can manually integrate Data Catalog with.
    * 
* * string user_specified_system = 9; - * * @return The userSpecifiedSystem. */ public java.lang.String getUserSpecifiedSystem() { @@ -490,7 +412,8 @@ public java.lang.String getUserSpecifiedSystem() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (systemCase_ == 9) { system_ = s; @@ -499,24 +422,23 @@ public java.lang.String getUserSpecifiedSystem() { } } /** - * - * *
    * Custom source system that you can manually integrate Data Catalog with.
    * 
* * string user_specified_system = 9; - * * @return The bytes for userSpecifiedSystem. */ - public com.google.protobuf.ByteString getUserSpecifiedSystemBytes() { + public com.google.protobuf.ByteString + getUserSpecifiedSystemBytes() { java.lang.Object ref = ""; if (systemCase_ == 9) { ref = system_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (systemCase_ == 9) { system_ = b; } @@ -527,12 +449,9 @@ public com.google.protobuf.ByteString getUserSpecifiedSystemBytes() { } public static final int FULLY_QUALIFIED_NAME_FIELD_NUMBER = 10; - @SuppressWarnings("serial") private volatile java.lang.Object fullyQualifiedName_ = ""; /** - * - * *
    * Fully qualified name (FQN) of the resource.
    *
@@ -552,7 +471,6 @@ public com.google.protobuf.ByteString getUserSpecifiedSystemBytes() {
    * 
* * string fully_qualified_name = 10; - * * @return The fullyQualifiedName. */ @java.lang.Override @@ -561,15 +479,14 @@ public java.lang.String getFullyQualifiedName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullyQualifiedName_ = s; return s; } } /** - * - * *
    * Fully qualified name (FQN) of the resource.
    *
@@ -589,15 +506,16 @@ public java.lang.String getFullyQualifiedName() {
    * 
* * string fully_qualified_name = 10; - * * @return The bytes for fullyQualifiedName. */ @java.lang.Override - public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { + public com.google.protobuf.ByteString + getFullyQualifiedNameBytes() { java.lang.Object ref = fullyQualifiedName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fullyQualifiedName_ = b; return b; } else { @@ -606,18 +524,14 @@ public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 12; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * The display name of the result.
    * 
* * string display_name = 12; - * * @return The displayName. */ @java.lang.Override @@ -626,29 +540,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The display name of the result.
    * 
* * string display_name = 12; - * * @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 { @@ -657,19 +571,15 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 13; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Entry description that can consist of several sentences or paragraphs that
    * describe entry contents.
    * 
* * string description = 13; - * * @return The description. */ @java.lang.Override @@ -678,30 +588,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; } } /** - * - * *
    * Entry description that can consist of several sentences or paragraphs that
    * describe entry contents.
    * 
* * string description = 13; - * * @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 { @@ -710,7 +620,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -722,10 +631,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (searchResultType_ - != com.google.cloud.datacatalog.v1.SearchResultType.SEARCH_RESULT_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (searchResultType_ != com.google.cloud.datacatalog.v1.SearchResultType.SEARCH_RESULT_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, searchResultType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(searchResultSubtype_)) { @@ -764,10 +672,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (searchResultType_ - != com.google.cloud.datacatalog.v1.SearchResultType.SEARCH_RESULT_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, searchResultType_); + if (searchResultType_ != com.google.cloud.datacatalog.v1.SearchResultType.SEARCH_RESULT_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, searchResultType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(searchResultSubtype_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, searchResultSubtype_); @@ -779,11 +686,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, linkedResource_); } if (modifyTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getModifyTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getModifyTime()); } if (systemCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeEnumSize(8, ((java.lang.Integer) system_)); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, ((java.lang.Integer) system_)); } if (systemCase_ == 9) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, system_); @@ -805,32 +713,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.datacatalog.v1.SearchCatalogResult)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.SearchCatalogResult other = - (com.google.cloud.datacatalog.v1.SearchCatalogResult) obj; + com.google.cloud.datacatalog.v1.SearchCatalogResult other = (com.google.cloud.datacatalog.v1.SearchCatalogResult) obj; if (searchResultType_ != other.searchResultType_) return false; - if (!getSearchResultSubtype().equals(other.getSearchResultSubtype())) return false; - if (!getRelativeResourceName().equals(other.getRelativeResourceName())) return false; - if (!getLinkedResource().equals(other.getLinkedResource())) return false; + if (!getSearchResultSubtype() + .equals(other.getSearchResultSubtype())) return false; + if (!getRelativeResourceName() + .equals(other.getRelativeResourceName())) return false; + if (!getLinkedResource() + .equals(other.getLinkedResource())) return false; if (hasModifyTime() != other.hasModifyTime()) return false; if (hasModifyTime()) { - if (!getModifyTime().equals(other.getModifyTime())) return false; - } - if (!getFullyQualifiedName().equals(other.getFullyQualifiedName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getModifyTime() + .equals(other.getModifyTime())) return false; + } + if (!getFullyQualifiedName() + .equals(other.getFullyQualifiedName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (!getSystemCase().equals(other.getSystemCase())) return false; switch (systemCase_) { case 8: - if (getIntegratedSystemValue() != other.getIntegratedSystemValue()) return false; + if (getIntegratedSystemValue() + != other.getIntegratedSystemValue()) return false; break; case 9: - if (!getUserSpecifiedSystem().equals(other.getUserSpecifiedSystem())) return false; + if (!getUserSpecifiedSystem() + .equals(other.getUserSpecifiedSystem())) return false; break; case 0: default: @@ -882,103 +798,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.SearchCatalogResult parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.SearchCatalogResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SearchCatalogResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.SearchCatalogResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SearchCatalogResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.SearchCatalogResult parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.SearchCatalogResult parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.SearchCatalogResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.SearchCatalogResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SearchCatalogResult parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.SearchCatalogResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.SearchCatalogResult parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SearchCatalogResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.SearchCatalogResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.SearchCatalogResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Result in the response to a search request.
    *
@@ -987,32 +898,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.SearchCatalogResult}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.SearchCatalogResult)
       com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Search
-          .internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Search.internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Search
-          .internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Search.internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.SearchCatalogResult.class,
-              com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder.class);
+              com.google.cloud.datacatalog.v1.SearchCatalogResult.class, com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.SearchCatalogResult.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1035,9 +947,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Search
-          .internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Search.internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_descriptor;
     }
 
     @java.lang.Override
@@ -1056,11 +968,8 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResult build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.SearchCatalogResult buildPartial() {
-      com.google.cloud.datacatalog.v1.SearchCatalogResult result =
-          new com.google.cloud.datacatalog.v1.SearchCatalogResult(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.SearchCatalogResult result = new com.google.cloud.datacatalog.v1.SearchCatalogResult(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1081,7 +990,9 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.SearchCatalogResult r
         result.linkedResource_ = linkedResource_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.modifyTime_ = modifyTimeBuilder_ == null ? modifyTime_ : modifyTimeBuilder_.build();
+        result.modifyTime_ = modifyTimeBuilder_ == null
+            ? modifyTime_
+            : modifyTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
         result.fullyQualifiedName_ = fullyQualifiedName_;
@@ -1103,39 +1014,38 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.SearchCatalogRes
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.SearchCatalogResult) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.SearchCatalogResult) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.SearchCatalogResult)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1143,8 +1053,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.SearchCatalogResult other) {
-      if (other == com.google.cloud.datacatalog.v1.SearchCatalogResult.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.SearchCatalogResult.getDefaultInstance()) return this;
       if (other.searchResultType_ != 0) {
         setSearchResultTypeValue(other.getSearchResultTypeValue());
       }
@@ -1182,22 +1091,19 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.SearchCatalogResult oth
         onChanged();
       }
       switch (other.getSystemCase()) {
-        case INTEGRATED_SYSTEM:
-          {
-            setIntegratedSystemValue(other.getIntegratedSystemValue());
-            break;
-          }
-        case USER_SPECIFIED_SYSTEM:
-          {
-            systemCase_ = 9;
-            system_ = other.system_;
-            onChanged();
-            break;
-          }
-        case SYSTEM_NOT_SET:
-          {
-            break;
-          }
+        case INTEGRATED_SYSTEM: {
+          setIntegratedSystemValue(other.getIntegratedSystemValue());
+          break;
+        }
+        case USER_SPECIFIED_SYSTEM: {
+          systemCase_ = 9;
+          system_ = other.system_;
+          onChanged();
+          break;
+        }
+        case SYSTEM_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1225,75 +1131,66 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                searchResultType_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 18:
-              {
-                searchResultSubtype_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                relativeResourceName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                linkedResource_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 58:
-              {
-                input.readMessage(getModifyTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 58
-            case 64:
-              {
-                int rawValue = input.readEnum();
-                systemCase_ = 8;
-                system_ = rawValue;
-                break;
-              } // case 64
-            case 74:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                systemCase_ = 9;
-                system_ = s;
-                break;
-              } // case 74
-            case 82:
-              {
-                fullyQualifiedName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 82
-            case 98:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000100;
-                break;
-              } // case 98
-            case 106:
-              {
-                description_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000200;
-                break;
-              } // case 106
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              searchResultType_ = input.readEnum();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 18: {
+              searchResultSubtype_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              relativeResourceName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              linkedResource_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 58: {
+              input.readMessage(
+                  getModifyTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 58
+            case 64: {
+              int rawValue = input.readEnum();
+              systemCase_ = 8;
+              system_ = rawValue;
+              break;
+            } // case 64
+            case 74: {
+              java.lang.String s = input.readStringRequireUtf8();
+              systemCase_ = 9;
+              system_ = s;
+              break;
+            } // case 74
+            case 82: {
+              fullyQualifiedName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 82
+            case 98: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000100;
+              break;
+            } // case 98
+            case 106: {
+              description_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000200;
+              break;
+            } // case 106
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1303,12 +1200,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int systemCase_ = 0;
     private java.lang.Object system_;
-
-    public SystemCase getSystemCase() {
-      return SystemCase.forNumber(systemCase_);
+    public SystemCase
+        getSystemCase() {
+      return SystemCase.forNumber(
+          systemCase_);
     }
 
     public Builder clearSystem() {
@@ -1322,8 +1219,6 @@ public Builder clearSystem() {
 
     private int searchResultType_ = 0;
     /**
-     *
-     *
      * 
      * Type of the search result.
      *
@@ -1332,16 +1227,12 @@ public Builder clearSystem() {
      * 
* * .google.cloud.datacatalog.v1.SearchResultType search_result_type = 1; - * * @return The enum numeric value on the wire for searchResultType. */ - @java.lang.Override - public int getSearchResultTypeValue() { + @java.lang.Override public int getSearchResultTypeValue() { return searchResultType_; } /** - * - * *
      * Type of the search result.
      *
@@ -1350,7 +1241,6 @@ public int getSearchResultTypeValue() {
      * 
* * .google.cloud.datacatalog.v1.SearchResultType search_result_type = 1; - * * @param value The enum numeric value on the wire for searchResultType to set. * @return This builder for chaining. */ @@ -1361,8 +1251,6 @@ public Builder setSearchResultTypeValue(int value) { return this; } /** - * - * *
      * Type of the search result.
      *
@@ -1371,20 +1259,14 @@ public Builder setSearchResultTypeValue(int value) {
      * 
* * .google.cloud.datacatalog.v1.SearchResultType search_result_type = 1; - * * @return The searchResultType. */ @java.lang.Override public com.google.cloud.datacatalog.v1.SearchResultType getSearchResultType() { - com.google.cloud.datacatalog.v1.SearchResultType result = - com.google.cloud.datacatalog.v1.SearchResultType.forNumber(searchResultType_); - return result == null - ? com.google.cloud.datacatalog.v1.SearchResultType.UNRECOGNIZED - : result; + com.google.cloud.datacatalog.v1.SearchResultType result = com.google.cloud.datacatalog.v1.SearchResultType.forNumber(searchResultType_); + return result == null ? com.google.cloud.datacatalog.v1.SearchResultType.UNRECOGNIZED : result; } /** - * - * *
      * Type of the search result.
      *
@@ -1393,7 +1275,6 @@ public com.google.cloud.datacatalog.v1.SearchResultType getSearchResultType() {
      * 
* * .google.cloud.datacatalog.v1.SearchResultType search_result_type = 1; - * * @param value The searchResultType to set. * @return This builder for chaining. */ @@ -1407,8 +1288,6 @@ public Builder setSearchResultType(com.google.cloud.datacatalog.v1.SearchResultT return this; } /** - * - * *
      * Type of the search result.
      *
@@ -1417,7 +1296,6 @@ public Builder setSearchResultType(com.google.cloud.datacatalog.v1.SearchResultT
      * 
* * .google.cloud.datacatalog.v1.SearchResultType search_result_type = 1; - * * @return This builder for chaining. */ public Builder clearSearchResultType() { @@ -1429,8 +1307,6 @@ public Builder clearSearchResultType() { private java.lang.Object searchResultSubtype_ = ""; /** - * - * *
      * Sub-type of the search result.
      *
@@ -1441,13 +1317,13 @@ public Builder clearSearchResultType() {
      * 
* * string search_result_subtype = 2; - * * @return The searchResultSubtype. */ public java.lang.String getSearchResultSubtype() { java.lang.Object ref = searchResultSubtype_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); searchResultSubtype_ = s; return s; @@ -1456,8 +1332,6 @@ public java.lang.String getSearchResultSubtype() { } } /** - * - * *
      * Sub-type of the search result.
      *
@@ -1468,14 +1342,15 @@ public java.lang.String getSearchResultSubtype() {
      * 
* * string search_result_subtype = 2; - * * @return The bytes for searchResultSubtype. */ - public com.google.protobuf.ByteString getSearchResultSubtypeBytes() { + public com.google.protobuf.ByteString + getSearchResultSubtypeBytes() { java.lang.Object ref = searchResultSubtype_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); searchResultSubtype_ = b; return b; } else { @@ -1483,8 +1358,6 @@ public com.google.protobuf.ByteString getSearchResultSubtypeBytes() { } } /** - * - * *
      * Sub-type of the search result.
      *
@@ -1495,22 +1368,18 @@ public com.google.protobuf.ByteString getSearchResultSubtypeBytes() {
      * 
* * string search_result_subtype = 2; - * * @param value The searchResultSubtype to set. * @return This builder for chaining. */ - public Builder setSearchResultSubtype(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSearchResultSubtype( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } searchResultSubtype_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Sub-type of the search result.
      *
@@ -1521,7 +1390,6 @@ public Builder setSearchResultSubtype(java.lang.String value) {
      * 
* * string search_result_subtype = 2; - * * @return This builder for chaining. */ public Builder clearSearchResultSubtype() { @@ -1531,8 +1399,6 @@ public Builder clearSearchResultSubtype() { return this; } /** - * - * *
      * Sub-type of the search result.
      *
@@ -1543,14 +1409,12 @@ public Builder clearSearchResultSubtype() {
      * 
* * string search_result_subtype = 2; - * * @param value The bytes for searchResultSubtype to set. * @return This builder for chaining. */ - public Builder setSearchResultSubtypeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSearchResultSubtypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); searchResultSubtype_ = value; bitField0_ |= 0x00000002; @@ -1560,8 +1424,6 @@ public Builder setSearchResultSubtypeBytes(com.google.protobuf.ByteString value) private java.lang.Object relativeResourceName_ = ""; /** - * - * *
      * The relative name of the resource in URL format.
      *
@@ -1572,13 +1434,13 @@ public Builder setSearchResultSubtypeBytes(com.google.protobuf.ByteString value)
      * 
* * string relative_resource_name = 3; - * * @return The relativeResourceName. */ public java.lang.String getRelativeResourceName() { java.lang.Object ref = relativeResourceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeResourceName_ = s; return s; @@ -1587,8 +1449,6 @@ public java.lang.String getRelativeResourceName() { } } /** - * - * *
      * The relative name of the resource in URL format.
      *
@@ -1599,14 +1459,15 @@ public java.lang.String getRelativeResourceName() {
      * 
* * string relative_resource_name = 3; - * * @return The bytes for relativeResourceName. */ - public com.google.protobuf.ByteString getRelativeResourceNameBytes() { + public com.google.protobuf.ByteString + getRelativeResourceNameBytes() { java.lang.Object ref = relativeResourceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); relativeResourceName_ = b; return b; } else { @@ -1614,8 +1475,6 @@ public com.google.protobuf.ByteString getRelativeResourceNameBytes() { } } /** - * - * *
      * The relative name of the resource in URL format.
      *
@@ -1626,22 +1485,18 @@ public com.google.protobuf.ByteString getRelativeResourceNameBytes() {
      * 
* * string relative_resource_name = 3; - * * @param value The relativeResourceName to set. * @return This builder for chaining. */ - public Builder setRelativeResourceName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRelativeResourceName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } relativeResourceName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The relative name of the resource in URL format.
      *
@@ -1652,7 +1507,6 @@ public Builder setRelativeResourceName(java.lang.String value) {
      * 
* * string relative_resource_name = 3; - * * @return This builder for chaining. */ public Builder clearRelativeResourceName() { @@ -1662,8 +1516,6 @@ public Builder clearRelativeResourceName() { return this; } /** - * - * *
      * The relative name of the resource in URL format.
      *
@@ -1674,14 +1526,12 @@ public Builder clearRelativeResourceName() {
      * 
* * string relative_resource_name = 3; - * * @param value The bytes for relativeResourceName to set. * @return This builder for chaining. */ - public Builder setRelativeResourceNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRelativeResourceNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); relativeResourceName_ = value; bitField0_ |= 0x00000004; @@ -1691,8 +1541,6 @@ public Builder setRelativeResourceNameBytes(com.google.protobuf.ByteString value private java.lang.Object linkedResource_ = ""; /** - * - * *
      * The full name of the Google Cloud resource the entry belongs to.
      *
@@ -1705,13 +1553,13 @@ public Builder setRelativeResourceNameBytes(com.google.protobuf.ByteString value
      * 
* * string linked_resource = 4; - * * @return The linkedResource. */ public java.lang.String getLinkedResource() { java.lang.Object ref = linkedResource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); linkedResource_ = s; return s; @@ -1720,8 +1568,6 @@ public java.lang.String getLinkedResource() { } } /** - * - * *
      * The full name of the Google Cloud resource the entry belongs to.
      *
@@ -1734,14 +1580,15 @@ public java.lang.String getLinkedResource() {
      * 
* * string linked_resource = 4; - * * @return The bytes for linkedResource. */ - public com.google.protobuf.ByteString getLinkedResourceBytes() { + public com.google.protobuf.ByteString + getLinkedResourceBytes() { java.lang.Object ref = linkedResource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); linkedResource_ = b; return b; } else { @@ -1749,8 +1596,6 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { } } /** - * - * *
      * The full name of the Google Cloud resource the entry belongs to.
      *
@@ -1763,22 +1608,18 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() {
      * 
* * string linked_resource = 4; - * * @param value The linkedResource to set. * @return This builder for chaining. */ - public Builder setLinkedResource(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLinkedResource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } linkedResource_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The full name of the Google Cloud resource the entry belongs to.
      *
@@ -1791,7 +1632,6 @@ public Builder setLinkedResource(java.lang.String value) {
      * 
* * string linked_resource = 4; - * * @return This builder for chaining. */ public Builder clearLinkedResource() { @@ -1801,8 +1641,6 @@ public Builder clearLinkedResource() { return this; } /** - * - * *
      * The full name of the Google Cloud resource the entry belongs to.
      *
@@ -1815,14 +1653,12 @@ public Builder clearLinkedResource() {
      * 
* * string linked_resource = 4; - * * @param value The bytes for linkedResource to set. * @return This builder for chaining. */ - public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLinkedResourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); linkedResource_ = value; bitField0_ |= 0x00000008; @@ -1832,47 +1668,34 @@ public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp modifyTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - modifyTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> modifyTimeBuilder_; /** - * - * *
      * The last modification timestamp of the entry in the source system.
      * 
* * .google.protobuf.Timestamp modify_time = 7; - * * @return Whether the modifyTime field is set. */ public boolean hasModifyTime() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * The last modification timestamp of the entry in the source system.
      * 
* * .google.protobuf.Timestamp modify_time = 7; - * * @return The modifyTime. */ public com.google.protobuf.Timestamp getModifyTime() { if (modifyTimeBuilder_ == null) { - return modifyTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : modifyTime_; + return modifyTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : modifyTime_; } else { return modifyTimeBuilder_.getMessage(); } } /** - * - * *
      * The last modification timestamp of the entry in the source system.
      * 
@@ -1893,15 +1716,14 @@ public Builder setModifyTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The last modification timestamp of the entry in the source system.
      * 
* * .google.protobuf.Timestamp modify_time = 7; */ - public Builder setModifyTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setModifyTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (modifyTimeBuilder_ == null) { modifyTime_ = builderForValue.build(); } else { @@ -1912,8 +1734,6 @@ public Builder setModifyTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The last modification timestamp of the entry in the source system.
      * 
@@ -1922,9 +1742,9 @@ public Builder setModifyTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeModifyTime(com.google.protobuf.Timestamp value) { if (modifyTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && modifyTime_ != null - && modifyTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + modifyTime_ != null && + modifyTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getModifyTimeBuilder().mergeFrom(value); } else { modifyTime_ = value; @@ -1937,8 +1757,6 @@ public Builder mergeModifyTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The last modification timestamp of the entry in the source system.
      * 
@@ -1956,8 +1774,6 @@ public Builder clearModifyTime() { return this; } /** - * - * *
      * The last modification timestamp of the entry in the source system.
      * 
@@ -1970,8 +1786,6 @@ public com.google.protobuf.Timestamp.Builder getModifyTimeBuilder() { return getModifyTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The last modification timestamp of the entry in the source system.
      * 
@@ -1982,14 +1796,11 @@ public com.google.protobuf.TimestampOrBuilder getModifyTimeOrBuilder() { if (modifyTimeBuilder_ != null) { return modifyTimeBuilder_.getMessageOrBuilder(); } else { - return modifyTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : modifyTime_; + return modifyTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : modifyTime_; } } /** - * - * *
      * The last modification timestamp of the entry in the source system.
      * 
@@ -1997,34 +1808,26 @@ public com.google.protobuf.TimestampOrBuilder getModifyTimeOrBuilder() { * .google.protobuf.Timestamp modify_time = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getModifyTimeFieldBuilder() { if (modifyTimeBuilder_ == null) { - modifyTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getModifyTime(), getParentForChildren(), isClean()); + modifyTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getModifyTime(), + getParentForChildren(), + isClean()); modifyTime_ = null; } return modifyTimeBuilder_; } /** - * - * *
      * Output only. The source system that Data Catalog automatically integrates
      * with, such as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
      * 
* - * - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the integratedSystem field is set. */ @java.lang.Override @@ -2032,17 +1835,12 @@ public boolean hasIntegratedSystem() { return systemCase_ == 8; } /** - * - * *
      * Output only. The source system that Data Catalog automatically integrates
      * with, such as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
      * 
* - * - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for integratedSystem. */ @java.lang.Override @@ -2053,17 +1851,12 @@ public int getIntegratedSystemValue() { return 0; } /** - * - * *
      * Output only. The source system that Data Catalog automatically integrates
      * with, such as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
      * 
* - * - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for integratedSystem to set. * @return This builder for chaining. */ @@ -2074,42 +1867,30 @@ public Builder setIntegratedSystemValue(int value) { return this; } /** - * - * *
      * Output only. The source system that Data Catalog automatically integrates
      * with, such as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
      * 
* - * - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The integratedSystem. */ @java.lang.Override public com.google.cloud.datacatalog.v1.IntegratedSystem getIntegratedSystem() { if (systemCase_ == 8) { - com.google.cloud.datacatalog.v1.IntegratedSystem result = - com.google.cloud.datacatalog.v1.IntegratedSystem.forNumber((java.lang.Integer) system_); - return result == null - ? com.google.cloud.datacatalog.v1.IntegratedSystem.UNRECOGNIZED - : result; + com.google.cloud.datacatalog.v1.IntegratedSystem result = com.google.cloud.datacatalog.v1.IntegratedSystem.forNumber( + (java.lang.Integer) system_); + return result == null ? com.google.cloud.datacatalog.v1.IntegratedSystem.UNRECOGNIZED : result; } return com.google.cloud.datacatalog.v1.IntegratedSystem.INTEGRATED_SYSTEM_UNSPECIFIED; } /** - * - * *
      * Output only. The source system that Data Catalog automatically integrates
      * with, such as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
      * 
* - * - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The integratedSystem to set. * @return This builder for chaining. */ @@ -2123,17 +1904,12 @@ public Builder setIntegratedSystem(com.google.cloud.datacatalog.v1.IntegratedSys return this; } /** - * - * *
      * Output only. The source system that Data Catalog automatically integrates
      * with, such as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
      * 
* - * - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearIntegratedSystem() { @@ -2146,14 +1922,11 @@ public Builder clearIntegratedSystem() { } /** - * - * *
      * Custom source system that you can manually integrate Data Catalog with.
      * 
* * string user_specified_system = 9; - * * @return Whether the userSpecifiedSystem field is set. */ @java.lang.Override @@ -2161,14 +1934,11 @@ public boolean hasUserSpecifiedSystem() { return systemCase_ == 9; } /** - * - * *
      * Custom source system that you can manually integrate Data Catalog with.
      * 
* * string user_specified_system = 9; - * * @return The userSpecifiedSystem. */ @java.lang.Override @@ -2178,7 +1948,8 @@ public java.lang.String getUserSpecifiedSystem() { ref = system_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (systemCase_ == 9) { system_ = s; @@ -2189,25 +1960,24 @@ public java.lang.String getUserSpecifiedSystem() { } } /** - * - * *
      * Custom source system that you can manually integrate Data Catalog with.
      * 
* * string user_specified_system = 9; - * * @return The bytes for userSpecifiedSystem. */ @java.lang.Override - public com.google.protobuf.ByteString getUserSpecifiedSystemBytes() { + public com.google.protobuf.ByteString + getUserSpecifiedSystemBytes() { java.lang.Object ref = ""; if (systemCase_ == 9) { ref = system_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (systemCase_ == 9) { system_ = b; } @@ -2217,35 +1987,28 @@ public com.google.protobuf.ByteString getUserSpecifiedSystemBytes() { } } /** - * - * *
      * Custom source system that you can manually integrate Data Catalog with.
      * 
* * string user_specified_system = 9; - * * @param value The userSpecifiedSystem to set. * @return This builder for chaining. */ - public Builder setUserSpecifiedSystem(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserSpecifiedSystem( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } systemCase_ = 9; system_ = value; onChanged(); return this; } /** - * - * *
      * Custom source system that you can manually integrate Data Catalog with.
      * 
* * string user_specified_system = 9; - * * @return This builder for chaining. */ public Builder clearUserSpecifiedSystem() { @@ -2257,21 +2020,17 @@ public Builder clearUserSpecifiedSystem() { return this; } /** - * - * *
      * Custom source system that you can manually integrate Data Catalog with.
      * 
* * string user_specified_system = 9; - * * @param value The bytes for userSpecifiedSystem to set. * @return This builder for chaining. */ - public Builder setUserSpecifiedSystemBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserSpecifiedSystemBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); systemCase_ = 9; system_ = value; @@ -2281,8 +2040,6 @@ public Builder setUserSpecifiedSystemBytes(com.google.protobuf.ByteString value) private java.lang.Object fullyQualifiedName_ = ""; /** - * - * *
      * Fully qualified name (FQN) of the resource.
      *
@@ -2302,13 +2059,13 @@ public Builder setUserSpecifiedSystemBytes(com.google.protobuf.ByteString value)
      * 
* * string fully_qualified_name = 10; - * * @return The fullyQualifiedName. */ public java.lang.String getFullyQualifiedName() { java.lang.Object ref = fullyQualifiedName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullyQualifiedName_ = s; return s; @@ -2317,8 +2074,6 @@ public java.lang.String getFullyQualifiedName() { } } /** - * - * *
      * Fully qualified name (FQN) of the resource.
      *
@@ -2338,14 +2093,15 @@ public java.lang.String getFullyQualifiedName() {
      * 
* * string fully_qualified_name = 10; - * * @return The bytes for fullyQualifiedName. */ - public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { + public com.google.protobuf.ByteString + getFullyQualifiedNameBytes() { java.lang.Object ref = fullyQualifiedName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fullyQualifiedName_ = b; return b; } else { @@ -2353,8 +2109,6 @@ public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { } } /** - * - * *
      * Fully qualified name (FQN) of the resource.
      *
@@ -2374,22 +2128,18 @@ public com.google.protobuf.ByteString getFullyQualifiedNameBytes() {
      * 
* * string fully_qualified_name = 10; - * * @param value The fullyQualifiedName to set. * @return This builder for chaining. */ - public Builder setFullyQualifiedName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFullyQualifiedName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } fullyQualifiedName_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * Fully qualified name (FQN) of the resource.
      *
@@ -2409,7 +2159,6 @@ public Builder setFullyQualifiedName(java.lang.String value) {
      * 
* * string fully_qualified_name = 10; - * * @return This builder for chaining. */ public Builder clearFullyQualifiedName() { @@ -2419,8 +2168,6 @@ public Builder clearFullyQualifiedName() { return this; } /** - * - * *
      * Fully qualified name (FQN) of the resource.
      *
@@ -2440,14 +2187,12 @@ public Builder clearFullyQualifiedName() {
      * 
* * string fully_qualified_name = 10; - * * @param value The bytes for fullyQualifiedName to set. * @return This builder for chaining. */ - public Builder setFullyQualifiedNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFullyQualifiedNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fullyQualifiedName_ = value; bitField0_ |= 0x00000080; @@ -2457,20 +2202,18 @@ public Builder setFullyQualifiedNameBytes(com.google.protobuf.ByteString value) private java.lang.Object displayName_ = ""; /** - * - * *
      * The display name of the result.
      * 
* * string display_name = 12; - * * @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; @@ -2479,21 +2222,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The display name of the result.
      * 
* * string display_name = 12; - * * @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 { @@ -2501,35 +2243,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The display name of the result.
      * 
* * string display_name = 12; - * * @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_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * The display name of the result.
      * 
* * string display_name = 12; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2539,21 +2274,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * The display name of the result.
      * 
* * string display_name = 12; - * * @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_ |= 0x00000100; @@ -2563,21 +2294,19 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Entry description that can consist of several sentences or paragraphs that
      * describe entry contents.
      * 
* * string description = 13; - * * @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; @@ -2586,22 +2315,21 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Entry description that can consist of several sentences or paragraphs that
      * describe entry contents.
      * 
* * string description = 13; - * * @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 { @@ -2609,37 +2337,30 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Entry description that can consist of several sentences or paragraphs that
      * describe entry contents.
      * 
* * string description = 13; - * * @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_ |= 0x00000200; onChanged(); return this; } /** - * - * *
      * Entry description that can consist of several sentences or paragraphs that
      * describe entry contents.
      * 
* * string description = 13; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2649,31 +2370,27 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Entry description that can consist of several sentences or paragraphs that
      * describe entry contents.
      * 
* * string description = 13; - * * @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_ |= 0x00000200; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2683,12 +2400,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.SearchCatalogResult) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.SearchCatalogResult) private static final com.google.cloud.datacatalog.v1.SearchCatalogResult DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.SearchCatalogResult(); } @@ -2697,27 +2414,27 @@ public static com.google.cloud.datacatalog.v1.SearchCatalogResult getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchCatalogResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchCatalogResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2732,4 +2449,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.SearchCatalogResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResultOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResultOrBuilder.java similarity index 81% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResultOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResultOrBuilder.java index 963f6a9faad3..9464a5009381 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResultOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResultOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/search.proto package com.google.cloud.datacatalog.v1; -public interface SearchCatalogResultOrBuilder - extends +public interface SearchCatalogResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.SearchCatalogResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Type of the search result.
    *
@@ -34,13 +16,10 @@ public interface SearchCatalogResultOrBuilder
    * 
* * .google.cloud.datacatalog.v1.SearchResultType search_result_type = 1; - * * @return The enum numeric value on the wire for searchResultType. */ int getSearchResultTypeValue(); /** - * - * *
    * Type of the search result.
    *
@@ -49,14 +28,11 @@ public interface SearchCatalogResultOrBuilder
    * 
* * .google.cloud.datacatalog.v1.SearchResultType search_result_type = 1; - * * @return The searchResultType. */ com.google.cloud.datacatalog.v1.SearchResultType getSearchResultType(); /** - * - * *
    * Sub-type of the search result.
    *
@@ -67,13 +43,10 @@ public interface SearchCatalogResultOrBuilder
    * 
* * string search_result_subtype = 2; - * * @return The searchResultSubtype. */ java.lang.String getSearchResultSubtype(); /** - * - * *
    * Sub-type of the search result.
    *
@@ -84,14 +57,12 @@ public interface SearchCatalogResultOrBuilder
    * 
* * string search_result_subtype = 2; - * * @return The bytes for searchResultSubtype. */ - com.google.protobuf.ByteString getSearchResultSubtypeBytes(); + com.google.protobuf.ByteString + getSearchResultSubtypeBytes(); /** - * - * *
    * The relative name of the resource in URL format.
    *
@@ -102,13 +73,10 @@ public interface SearchCatalogResultOrBuilder
    * 
* * string relative_resource_name = 3; - * * @return The relativeResourceName. */ java.lang.String getRelativeResourceName(); /** - * - * *
    * The relative name of the resource in URL format.
    *
@@ -119,14 +87,12 @@ public interface SearchCatalogResultOrBuilder
    * 
* * string relative_resource_name = 3; - * * @return The bytes for relativeResourceName. */ - com.google.protobuf.ByteString getRelativeResourceNameBytes(); + com.google.protobuf.ByteString + getRelativeResourceNameBytes(); /** - * - * *
    * The full name of the Google Cloud resource the entry belongs to.
    *
@@ -139,13 +105,10 @@ public interface SearchCatalogResultOrBuilder
    * 
* * string linked_resource = 4; - * * @return The linkedResource. */ java.lang.String getLinkedResource(); /** - * - * *
    * The full name of the Google Cloud resource the entry belongs to.
    *
@@ -158,38 +121,30 @@ public interface SearchCatalogResultOrBuilder
    * 
* * string linked_resource = 4; - * * @return The bytes for linkedResource. */ - com.google.protobuf.ByteString getLinkedResourceBytes(); + com.google.protobuf.ByteString + getLinkedResourceBytes(); /** - * - * *
    * The last modification timestamp of the entry in the source system.
    * 
* * .google.protobuf.Timestamp modify_time = 7; - * * @return Whether the modifyTime field is set. */ boolean hasModifyTime(); /** - * - * *
    * The last modification timestamp of the entry in the source system.
    * 
* * .google.protobuf.Timestamp modify_time = 7; - * * @return The modifyTime. */ com.google.protobuf.Timestamp getModifyTime(); /** - * - * *
    * The last modification timestamp of the entry in the source system.
    * 
@@ -199,91 +154,66 @@ public interface SearchCatalogResultOrBuilder com.google.protobuf.TimestampOrBuilder getModifyTimeOrBuilder(); /** - * - * *
    * Output only. The source system that Data Catalog automatically integrates
    * with, such as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
    * 
* - * - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the integratedSystem field is set. */ boolean hasIntegratedSystem(); /** - * - * *
    * Output only. The source system that Data Catalog automatically integrates
    * with, such as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
    * 
* - * - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for integratedSystem. */ int getIntegratedSystemValue(); /** - * - * *
    * Output only. The source system that Data Catalog automatically integrates
    * with, such as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
    * 
* - * - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The integratedSystem. */ com.google.cloud.datacatalog.v1.IntegratedSystem getIntegratedSystem(); /** - * - * *
    * Custom source system that you can manually integrate Data Catalog with.
    * 
* * string user_specified_system = 9; - * * @return Whether the userSpecifiedSystem field is set. */ boolean hasUserSpecifiedSystem(); /** - * - * *
    * Custom source system that you can manually integrate Data Catalog with.
    * 
* * string user_specified_system = 9; - * * @return The userSpecifiedSystem. */ java.lang.String getUserSpecifiedSystem(); /** - * - * *
    * Custom source system that you can manually integrate Data Catalog with.
    * 
* * string user_specified_system = 9; - * * @return The bytes for userSpecifiedSystem. */ - com.google.protobuf.ByteString getUserSpecifiedSystemBytes(); + com.google.protobuf.ByteString + getUserSpecifiedSystemBytes(); /** - * - * *
    * Fully qualified name (FQN) of the resource.
    *
@@ -303,13 +233,10 @@ public interface SearchCatalogResultOrBuilder
    * 
* * string fully_qualified_name = 10; - * * @return The fullyQualifiedName. */ java.lang.String getFullyQualifiedName(); /** - * - * *
    * Fully qualified name (FQN) of the resource.
    *
@@ -329,62 +256,52 @@ public interface SearchCatalogResultOrBuilder
    * 
* * string fully_qualified_name = 10; - * * @return The bytes for fullyQualifiedName. */ - com.google.protobuf.ByteString getFullyQualifiedNameBytes(); + com.google.protobuf.ByteString + getFullyQualifiedNameBytes(); /** - * - * *
    * The display name of the result.
    * 
* * string display_name = 12; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The display name of the result.
    * 
* * string display_name = 12; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Entry description that can consist of several sentences or paragraphs that
    * describe entry contents.
    * 
* * string description = 13; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Entry description that can consist of several sentences or paragraphs that
    * describe entry contents.
    * 
* * string description = 13; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); com.google.cloud.datacatalog.v1.SearchCatalogResult.SystemCase getSystemCase(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchResultType.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchResultType.java similarity index 68% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchResultType.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchResultType.java index de81477e35d2..f1d1944a8d33 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchResultType.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchResultType.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/search.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * The resource types that can be returned in search results.
  * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.SearchResultType} */ -public enum SearchResultType implements com.google.protobuf.ProtocolMessageEnum { +public enum SearchResultType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Default unknown type.
    * 
@@ -39,8 +21,6 @@ public enum SearchResultType implements com.google.protobuf.ProtocolMessageEnum */ SEARCH_RESULT_TYPE_UNSPECIFIED(0), /** - * - * *
    * An [Entry][google.cloud.datacatalog.v1.Entry].
    * 
@@ -49,8 +29,6 @@ public enum SearchResultType implements com.google.protobuf.ProtocolMessageEnum */ ENTRY(1), /** - * - * *
    * A [TagTemplate][google.cloud.datacatalog.v1.TagTemplate].
    * 
@@ -59,8 +37,6 @@ public enum SearchResultType implements com.google.protobuf.ProtocolMessageEnum */ TAG_TEMPLATE(2), /** - * - * *
    * An [EntryGroup][google.cloud.datacatalog.v1.EntryGroup].
    * 
@@ -72,8 +48,6 @@ public enum SearchResultType implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
    * Default unknown type.
    * 
@@ -82,8 +56,6 @@ public enum SearchResultType implements com.google.protobuf.ProtocolMessageEnum */ public static final int SEARCH_RESULT_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * An [Entry][google.cloud.datacatalog.v1.Entry].
    * 
@@ -92,8 +64,6 @@ public enum SearchResultType implements com.google.protobuf.ProtocolMessageEnum */ public static final int ENTRY_VALUE = 1; /** - * - * *
    * A [TagTemplate][google.cloud.datacatalog.v1.TagTemplate].
    * 
@@ -102,8 +72,6 @@ public enum SearchResultType implements com.google.protobuf.ProtocolMessageEnum */ public static final int TAG_TEMPLATE_VALUE = 2; /** - * - * *
    * An [EntryGroup][google.cloud.datacatalog.v1.EntryGroup].
    * 
@@ -112,6 +80,7 @@ public enum SearchResultType implements com.google.protobuf.ProtocolMessageEnum */ public static final int ENTRY_GROUP_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -136,51 +105,50 @@ public static SearchResultType valueOf(int value) { */ public static SearchResultType forNumber(int value) { switch (value) { - case 0: - return SEARCH_RESULT_TYPE_UNSPECIFIED; - case 1: - return ENTRY; - case 2: - return TAG_TEMPLATE; - case 3: - return ENTRY_GROUP; - default: - return null; + case 0: return SEARCH_RESULT_TYPE_UNSPECIFIED; + case 1: return ENTRY; + case 2: return TAG_TEMPLATE; + case 3: return ENTRY_GROUP; + 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 SearchResultType findValueByNumber(int number) { - return SearchResultType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + SearchResultType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public SearchResultType findValueByNumber(int number) { + return SearchResultType.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.datacatalog.v1.Search.getDescriptor().getEnumTypes().get(0); } private static final SearchResultType[] VALUES = values(); - public static SearchResultType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static SearchResultType 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,3 +164,4 @@ private SearchResultType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1.SearchResultType) } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTag.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTag.java similarity index 74% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTag.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTag.java index cbdd9516b2c4..afcdcc92baf9 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTag.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTag.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * A nested protocol buffer that represents a policy tag and all its
  * descendants.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.SerializedPolicyTag}
  */
-public final class SerializedPolicyTag extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SerializedPolicyTag extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.SerializedPolicyTag)
     SerializedPolicyTagOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SerializedPolicyTag.newBuilder() to construct.
   private SerializedPolicyTag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SerializedPolicyTag() {
     policyTag_ = "";
     displayName_ = "";
@@ -47,32 +29,28 @@ private SerializedPolicyTag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SerializedPolicyTag();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-        .internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-        .internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.SerializedPolicyTag.class,
-            com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder.class);
+            com.google.cloud.datacatalog.v1.SerializedPolicyTag.class, com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder.class);
   }
 
   public static final int POLICY_TAG_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object policyTag_ = "";
   /**
-   *
-   *
    * 
    * Resource name of the policy tag.
    *
@@ -80,7 +58,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string policy_tag = 1; - * * @return The policyTag. */ @java.lang.Override @@ -89,15 +66,14 @@ public java.lang.String getPolicyTag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); policyTag_ = s; return s; } } /** - * - * *
    * Resource name of the policy tag.
    *
@@ -105,15 +81,16 @@ public java.lang.String getPolicyTag() {
    * 
* * string policy_tag = 1; - * * @return The bytes for policyTag. */ @java.lang.Override - public com.google.protobuf.ByteString getPolicyTagBytes() { + public com.google.protobuf.ByteString + getPolicyTagBytes() { java.lang.Object ref = policyTag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); policyTag_ = b; return b; } else { @@ -122,19 +99,15 @@ public com.google.protobuf.ByteString getPolicyTagBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Required. Display name of the policy tag. At most 200 bytes when encoded
    * in UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -143,30 +116,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Required. Display name of the policy tag. At most 200 bytes when encoded
    * in UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -175,12 +148,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Description of the serialized policy tag. At most
    * 2000 bytes when encoded in UTF-8. If not set, defaults to an
@@ -188,7 +158,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -197,15 +166,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; } } /** - * - * *
    * Description of the serialized policy tag. At most
    * 2000 bytes when encoded in UTF-8. If not set, defaults to an
@@ -213,15 +181,16 @@ public java.lang.String getDescription() {
    * 
* * string description = 3; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -230,12 +199,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int CHILD_POLICY_TAGS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private java.util.List childPolicyTags_; /** - * - * *
    * Children of the policy tag, if any.
    * 
@@ -243,13 +209,10 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4; */ @java.lang.Override - public java.util.List - getChildPolicyTagsList() { + public java.util.List getChildPolicyTagsList() { return childPolicyTags_; } /** - * - * *
    * Children of the policy tag, if any.
    * 
@@ -257,13 +220,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4; */ @java.lang.Override - public java.util.List + public java.util.List getChildPolicyTagsOrBuilderList() { return childPolicyTags_; } /** - * - * *
    * Children of the policy tag, if any.
    * 
@@ -275,8 +236,6 @@ public int getChildPolicyTagsCount() { return childPolicyTags_.size(); } /** - * - * *
    * Children of the policy tag, if any.
    * 
@@ -288,8 +247,6 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag getChildPolicyTags(in return childPolicyTags_.get(index); } /** - * - * *
    * Children of the policy tag, if any.
    * 
@@ -303,7 +260,6 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder getChildPoli } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -315,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(policyTag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, policyTag_); } @@ -347,7 +304,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } for (int i = 0; i < childPolicyTags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, childPolicyTags_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, childPolicyTags_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -357,18 +315,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.datacatalog.v1.SerializedPolicyTag)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.SerializedPolicyTag other = - (com.google.cloud.datacatalog.v1.SerializedPolicyTag) obj; + com.google.cloud.datacatalog.v1.SerializedPolicyTag other = (com.google.cloud.datacatalog.v1.SerializedPolicyTag) obj; - if (!getPolicyTag().equals(other.getPolicyTag())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getChildPolicyTagsList().equals(other.getChildPolicyTagsList())) return false; + if (!getPolicyTag() + .equals(other.getPolicyTag())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getChildPolicyTagsList() + .equals(other.getChildPolicyTagsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -396,103 +357,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.SerializedPolicyTag parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.SerializedPolicyTag parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SerializedPolicyTag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.SerializedPolicyTag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SerializedPolicyTag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.SerializedPolicyTag parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.SerializedPolicyTag parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.SerializedPolicyTag parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.SerializedPolicyTag parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SerializedPolicyTag parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.SerializedPolicyTag parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.SerializedPolicyTag parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SerializedPolicyTag parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.SerializedPolicyTag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.SerializedPolicyTag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 nested protocol buffer that represents a policy tag and all its
    * descendants.
@@ -500,32 +456,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.SerializedPolicyTag}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.SerializedPolicyTag)
       com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.SerializedPolicyTag.class,
-              com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder.class);
+              com.google.cloud.datacatalog.v1.SerializedPolicyTag.class, com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.SerializedPolicyTag.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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 +501,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_descriptor;
     }
 
     @java.lang.Override
@@ -565,18 +522,14 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.SerializedPolicyTag buildPartial() {
-      com.google.cloud.datacatalog.v1.SerializedPolicyTag result =
-          new com.google.cloud.datacatalog.v1.SerializedPolicyTag(this);
+      com.google.cloud.datacatalog.v1.SerializedPolicyTag result = new com.google.cloud.datacatalog.v1.SerializedPolicyTag(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.datacatalog.v1.SerializedPolicyTag result) {
+    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1.SerializedPolicyTag result) {
       if (childPolicyTagsBuilder_ == null) {
         if (((bitField0_ & 0x00000008) != 0)) {
           childPolicyTags_ = java.util.Collections.unmodifiableList(childPolicyTags_);
@@ -605,39 +558,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.SerializedPolicyTag 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.datacatalog.v1.SerializedPolicyTag) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.SerializedPolicyTag) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.SerializedPolicyTag)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -645,8 +597,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.SerializedPolicyTag other) {
-      if (other == com.google.cloud.datacatalog.v1.SerializedPolicyTag.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.SerializedPolicyTag.getDefaultInstance()) return this;
       if (!other.getPolicyTag().isEmpty()) {
         policyTag_ = other.policyTag_;
         bitField0_ |= 0x00000001;
@@ -680,10 +631,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.SerializedPolicyTag oth
             childPolicyTagsBuilder_ = null;
             childPolicyTags_ = other.childPolicyTags_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            childPolicyTagsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getChildPolicyTagsFieldBuilder()
-                    : null;
+            childPolicyTagsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getChildPolicyTagsFieldBuilder() : null;
           } else {
             childPolicyTagsBuilder_.addAllMessages(other.childPolicyTags_);
           }
@@ -715,45 +665,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                policyTag_ = 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 34:
-              {
-                com.google.cloud.datacatalog.v1.SerializedPolicyTag m =
-                    input.readMessage(
-                        com.google.cloud.datacatalog.v1.SerializedPolicyTag.parser(),
-                        extensionRegistry);
-                if (childPolicyTagsBuilder_ == null) {
-                  ensureChildPolicyTagsIsMutable();
-                  childPolicyTags_.add(m);
-                } else {
-                  childPolicyTagsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              policyTag_ = 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 34: {
+              com.google.cloud.datacatalog.v1.SerializedPolicyTag m =
+                  input.readMessage(
+                      com.google.cloud.datacatalog.v1.SerializedPolicyTag.parser(),
+                      extensionRegistry);
+              if (childPolicyTagsBuilder_ == null) {
+                ensureChildPolicyTagsIsMutable();
+                childPolicyTags_.add(m);
+              } else {
+                childPolicyTagsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -763,13 +708,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object policyTag_ = "";
     /**
-     *
-     *
      * 
      * Resource name of the policy tag.
      *
@@ -777,13 +719,13 @@ public Builder mergeFrom(
      * 
* * string policy_tag = 1; - * * @return The policyTag. */ public java.lang.String getPolicyTag() { java.lang.Object ref = policyTag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); policyTag_ = s; return s; @@ -792,8 +734,6 @@ public java.lang.String getPolicyTag() { } } /** - * - * *
      * Resource name of the policy tag.
      *
@@ -801,14 +741,15 @@ public java.lang.String getPolicyTag() {
      * 
* * string policy_tag = 1; - * * @return The bytes for policyTag. */ - public com.google.protobuf.ByteString getPolicyTagBytes() { + public com.google.protobuf.ByteString + getPolicyTagBytes() { java.lang.Object ref = policyTag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); policyTag_ = b; return b; } else { @@ -816,8 +757,6 @@ public com.google.protobuf.ByteString getPolicyTagBytes() { } } /** - * - * *
      * Resource name of the policy tag.
      *
@@ -825,22 +764,18 @@ public com.google.protobuf.ByteString getPolicyTagBytes() {
      * 
* * string policy_tag = 1; - * * @param value The policyTag to set. * @return This builder for chaining. */ - public Builder setPolicyTag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPolicyTag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } policyTag_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Resource name of the policy tag.
      *
@@ -848,7 +783,6 @@ public Builder setPolicyTag(java.lang.String value) {
      * 
* * string policy_tag = 1; - * * @return This builder for chaining. */ public Builder clearPolicyTag() { @@ -858,8 +792,6 @@ public Builder clearPolicyTag() { return this; } /** - * - * *
      * Resource name of the policy tag.
      *
@@ -867,14 +799,12 @@ public Builder clearPolicyTag() {
      * 
* * string policy_tag = 1; - * * @param value The bytes for policyTag to set. * @return This builder for chaining. */ - public Builder setPolicyTagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPolicyTagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); policyTag_ = value; bitField0_ |= 0x00000001; @@ -884,21 +814,19 @@ public Builder setPolicyTagBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. Display name of the policy tag. At most 200 bytes when encoded
      * in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -907,22 +835,21 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. Display name of the policy tag. At most 200 bytes when encoded
      * in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -930,37 +857,30 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. Display name of the policy tag. At most 200 bytes when encoded
      * in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @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; } /** - * - * *
      * Required. Display name of the policy tag. At most 200 bytes when encoded
      * in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -970,22 +890,18 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Required. Display name of the policy tag. At most 200 bytes when encoded
      * in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -995,8 +911,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Description of the serialized policy tag. At most
      * 2000 bytes when encoded in UTF-8. If not set, defaults to an
@@ -1004,13 +918,13 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string description = 3; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1019,8 +933,6 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Description of the serialized policy tag. At most
      * 2000 bytes when encoded in UTF-8. If not set, defaults to an
@@ -1028,14 +940,15 @@ public java.lang.String getDescription() {
      * 
* * string description = 3; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1043,8 +956,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Description of the serialized policy tag. At most
      * 2000 bytes when encoded in UTF-8. If not set, defaults to an
@@ -1052,22 +963,18 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Description of the serialized policy tag. At most
      * 2000 bytes when encoded in UTF-8. If not set, defaults to an
@@ -1075,7 +982,6 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1085,8 +991,6 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Description of the serialized policy tag. At most
      * 2000 bytes when encoded in UTF-8. If not set, defaults to an
@@ -1094,14 +998,12 @@ public Builder clearDescription() {
      * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -1110,34 +1012,25 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { } private java.util.List childPolicyTags_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureChildPolicyTagsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - childPolicyTags_ = - new java.util.ArrayList( - childPolicyTags_); + childPolicyTags_ = new java.util.ArrayList(childPolicyTags_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.SerializedPolicyTag, - com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder, - com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder> - childPolicyTagsBuilder_; + com.google.cloud.datacatalog.v1.SerializedPolicyTag, com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder, com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder> childPolicyTagsBuilder_; /** - * - * *
      * Children of the policy tag, if any.
      * 
* * repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4; */ - public java.util.List - getChildPolicyTagsList() { + public java.util.List getChildPolicyTagsList() { if (childPolicyTagsBuilder_ == null) { return java.util.Collections.unmodifiableList(childPolicyTags_); } else { @@ -1145,8 +1038,6 @@ private void ensureChildPolicyTagsIsMutable() { } } /** - * - * *
      * Children of the policy tag, if any.
      * 
@@ -1161,8 +1052,6 @@ public int getChildPolicyTagsCount() { } } /** - * - * *
      * Children of the policy tag, if any.
      * 
@@ -1177,8 +1066,6 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag getChildPolicyTags(in } } /** - * - * *
      * Children of the policy tag, if any.
      * 
@@ -1200,8 +1087,6 @@ public Builder setChildPolicyTags( return this; } /** - * - * *
      * Children of the policy tag, if any.
      * 
@@ -1220,8 +1105,6 @@ public Builder setChildPolicyTags( return this; } /** - * - * *
      * Children of the policy tag, if any.
      * 
@@ -1242,8 +1125,6 @@ public Builder addChildPolicyTags(com.google.cloud.datacatalog.v1.SerializedPoli return this; } /** - * - * *
      * Children of the policy tag, if any.
      * 
@@ -1265,8 +1146,6 @@ public Builder addChildPolicyTags( return this; } /** - * - * *
      * Children of the policy tag, if any.
      * 
@@ -1285,8 +1164,6 @@ public Builder addChildPolicyTags( return this; } /** - * - * *
      * Children of the policy tag, if any.
      * 
@@ -1305,8 +1182,6 @@ public Builder addChildPolicyTags( return this; } /** - * - * *
      * Children of the policy tag, if any.
      * 
@@ -1317,7 +1192,8 @@ public Builder addAllChildPolicyTags( java.lang.Iterable values) { if (childPolicyTagsBuilder_ == null) { ensureChildPolicyTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, childPolicyTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, childPolicyTags_); onChanged(); } else { childPolicyTagsBuilder_.addAllMessages(values); @@ -1325,8 +1201,6 @@ public Builder addAllChildPolicyTags( return this; } /** - * - * *
      * Children of the policy tag, if any.
      * 
@@ -1344,8 +1218,6 @@ public Builder clearChildPolicyTags() { return this; } /** - * - * *
      * Children of the policy tag, if any.
      * 
@@ -1363,8 +1235,6 @@ public Builder removeChildPolicyTags(int index) { return this; } /** - * - * *
      * Children of the policy tag, if any.
      * 
@@ -1376,8 +1246,6 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder getChildPolic return getChildPolicyTagsFieldBuilder().getBuilder(index); } /** - * - * *
      * Children of the policy tag, if any.
      * 
@@ -1387,22 +1255,19 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder getChildPolic public com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder getChildPolicyTagsOrBuilder( int index) { if (childPolicyTagsBuilder_ == null) { - return childPolicyTags_.get(index); - } else { + return childPolicyTags_.get(index); } else { return childPolicyTagsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Children of the policy tag, if any.
      * 
* * repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4; */ - public java.util.List - getChildPolicyTagsOrBuilderList() { + public java.util.List + getChildPolicyTagsOrBuilderList() { if (childPolicyTagsBuilder_ != null) { return childPolicyTagsBuilder_.getMessageOrBuilderList(); } else { @@ -1410,8 +1275,6 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder getChildPoli } } /** - * - * *
      * Children of the policy tag, if any.
      * 
@@ -1419,12 +1282,10 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder getChildPoli * repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4; */ public com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder addChildPolicyTagsBuilder() { - return getChildPolicyTagsFieldBuilder() - .addBuilder(com.google.cloud.datacatalog.v1.SerializedPolicyTag.getDefaultInstance()); + return getChildPolicyTagsFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1.SerializedPolicyTag.getDefaultInstance()); } /** - * - * *
      * Children of the policy tag, if any.
      * 
@@ -1433,35 +1294,26 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder addChildPolic */ public com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder addChildPolicyTagsBuilder( int index) { - return getChildPolicyTagsFieldBuilder() - .addBuilder( - index, com.google.cloud.datacatalog.v1.SerializedPolicyTag.getDefaultInstance()); + return getChildPolicyTagsFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1.SerializedPolicyTag.getDefaultInstance()); } /** - * - * *
      * Children of the policy tag, if any.
      * 
* * repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4; */ - public java.util.List - getChildPolicyTagsBuilderList() { + public java.util.List + getChildPolicyTagsBuilderList() { return getChildPolicyTagsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.SerializedPolicyTag, - com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder, - com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder> + com.google.cloud.datacatalog.v1.SerializedPolicyTag, com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder, com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder> getChildPolicyTagsFieldBuilder() { if (childPolicyTagsBuilder_ == null) { - childPolicyTagsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.SerializedPolicyTag, - com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder, - com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder>( + childPolicyTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.SerializedPolicyTag, com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder, com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder>( childPolicyTags_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), @@ -1470,9 +1322,9 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder addChildPolic } return childPolicyTagsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1482,12 +1334,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.SerializedPolicyTag) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.SerializedPolicyTag) private static final com.google.cloud.datacatalog.v1.SerializedPolicyTag DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.SerializedPolicyTag(); } @@ -1496,27 +1348,27 @@ public static com.google.cloud.datacatalog.v1.SerializedPolicyTag getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SerializedPolicyTag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SerializedPolicyTag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1531,4 +1383,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.SerializedPolicyTag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTagOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTagOrBuilder.java similarity index 75% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTagOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTagOrBuilder.java index dce84e76e74a..2ea761262ef1 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTagOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTagOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1; -public interface SerializedPolicyTagOrBuilder - extends +public interface SerializedPolicyTagOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.SerializedPolicyTag) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Resource name of the policy tag.
    *
@@ -33,13 +15,10 @@ public interface SerializedPolicyTagOrBuilder
    * 
* * string policy_tag = 1; - * * @return The policyTag. */ java.lang.String getPolicyTag(); /** - * - * *
    * Resource name of the policy tag.
    *
@@ -47,41 +26,34 @@ public interface SerializedPolicyTagOrBuilder
    * 
* * string policy_tag = 1; - * * @return The bytes for policyTag. */ - com.google.protobuf.ByteString getPolicyTagBytes(); + com.google.protobuf.ByteString + getPolicyTagBytes(); /** - * - * *
    * Required. Display name of the policy tag. At most 200 bytes when encoded
    * in UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. Display name of the policy tag. At most 200 bytes when encoded
    * in UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Description of the serialized policy tag. At most
    * 2000 bytes when encoded in UTF-8. If not set, defaults to an
@@ -89,13 +61,10 @@ public interface SerializedPolicyTagOrBuilder
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Description of the serialized policy tag. At most
    * 2000 bytes when encoded in UTF-8. If not set, defaults to an
@@ -103,24 +72,21 @@ public interface SerializedPolicyTagOrBuilder
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Children of the policy tag, if any.
    * 
* * repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4; */ - java.util.List getChildPolicyTagsList(); + java.util.List + getChildPolicyTagsList(); /** - * - * *
    * Children of the policy tag, if any.
    * 
@@ -129,8 +95,6 @@ public interface SerializedPolicyTagOrBuilder */ com.google.cloud.datacatalog.v1.SerializedPolicyTag getChildPolicyTags(int index); /** - * - * *
    * Children of the policy tag, if any.
    * 
@@ -139,19 +103,15 @@ public interface SerializedPolicyTagOrBuilder */ int getChildPolicyTagsCount(); /** - * - * *
    * Children of the policy tag, if any.
    * 
* * repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4; */ - java.util.List + java.util.List getChildPolicyTagsOrBuilderList(); /** - * - * *
    * Children of the policy tag, if any.
    * 
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomy.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomy.java similarity index 74% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomy.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomy.java index dcdedfb84d64..345860715784 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomy.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomy.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * A nested protocol buffer that represents a taxonomy and the hierarchy of its
  * policy tags. Used for taxonomy replacement, import, and
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.SerializedTaxonomy}
  */
-public final class SerializedTaxonomy extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SerializedTaxonomy extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.SerializedTaxonomy)
     SerializedTaxonomyOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SerializedTaxonomy.newBuilder() to construct.
   private SerializedTaxonomy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SerializedTaxonomy() {
     displayName_ = "";
     description_ = "";
@@ -48,39 +30,34 @@ private SerializedTaxonomy() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SerializedTaxonomy();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-        .internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-        .internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.SerializedTaxonomy.class,
-            com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder.class);
+            com.google.cloud.datacatalog.v1.SerializedTaxonomy.class, com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder.class);
   }
 
   public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object displayName_ = "";
   /**
-   *
-   *
    * 
    * Required. Display name of the taxonomy. At most 200 bytes when encoded in
    * UTF-8.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -89,30 +66,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Required. Display name of the taxonomy. At most 200 bytes when encoded in
    * UTF-8.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -121,19 +98,15 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Description of the serialized taxonomy. At most 2000 bytes when
    * encoded in UTF-8. If not set, defaults to an empty description.
    * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -142,30 +115,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Description of the serialized taxonomy. At most 2000 bytes when
    * encoded in UTF-8. If not set, defaults to an empty description.
    * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -174,12 +147,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int POLICY_TAGS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List policyTags_; /** - * - * *
    * Top level policy tags associated with the taxonomy, if any.
    * 
@@ -191,8 +161,6 @@ public java.util.List getPo return policyTags_; } /** - * - * *
    * Top level policy tags associated with the taxonomy, if any.
    * 
@@ -200,13 +168,11 @@ public java.util.List getPo * repeated .google.cloud.datacatalog.v1.SerializedPolicyTag policy_tags = 3; */ @java.lang.Override - public java.util.List + public java.util.List getPolicyTagsOrBuilderList() { return policyTags_; } /** - * - * *
    * Top level policy tags associated with the taxonomy, if any.
    * 
@@ -218,8 +184,6 @@ public int getPolicyTagsCount() { return policyTags_.size(); } /** - * - * *
    * Top level policy tags associated with the taxonomy, if any.
    * 
@@ -231,8 +195,6 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag getPolicyTags(int ind return policyTags_.get(index); } /** - * - * *
    * Top level policy tags associated with the taxonomy, if any.
    * 
@@ -246,53 +208,36 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder getPolicyTag } public static final int ACTIVATED_POLICY_TYPES_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private java.util.List activatedPolicyTypes_; - private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.datacatalog.v1.Taxonomy.PolicyType> - activatedPolicyTypes_converter_ = + java.lang.Integer, com.google.cloud.datacatalog.v1.Taxonomy.PolicyType> activatedPolicyTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.datacatalog.v1.Taxonomy.PolicyType>() { - public com.google.cloud.datacatalog.v1.Taxonomy.PolicyType convert( - java.lang.Integer from) { - com.google.cloud.datacatalog.v1.Taxonomy.PolicyType result = - com.google.cloud.datacatalog.v1.Taxonomy.PolicyType.forNumber(from); - return result == null - ? com.google.cloud.datacatalog.v1.Taxonomy.PolicyType.UNRECOGNIZED - : result; + public com.google.cloud.datacatalog.v1.Taxonomy.PolicyType convert(java.lang.Integer from) { + com.google.cloud.datacatalog.v1.Taxonomy.PolicyType result = com.google.cloud.datacatalog.v1.Taxonomy.PolicyType.forNumber(from); + return result == null ? com.google.cloud.datacatalog.v1.Taxonomy.PolicyType.UNRECOGNIZED : result; } }; /** - * - * *
    * A list of policy types that are activated per taxonomy.
    * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; * @return A list containing the activatedPolicyTypes. */ @java.lang.Override - public java.util.List - getActivatedPolicyTypesList() { + public java.util.List getActivatedPolicyTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.datacatalog.v1.Taxonomy.PolicyType>( - activatedPolicyTypes_, activatedPolicyTypes_converter_); + java.lang.Integer, com.google.cloud.datacatalog.v1.Taxonomy.PolicyType>(activatedPolicyTypes_, activatedPolicyTypes_converter_); } /** - * - * *
    * A list of policy types that are activated per taxonomy.
    * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; * @return The count of activatedPolicyTypes. */ @java.lang.Override @@ -300,15 +245,11 @@ public int getActivatedPolicyTypesCount() { return activatedPolicyTypes_.size(); } /** - * - * *
    * A list of policy types that are activated per taxonomy.
    * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; * @param index The index of the element to return. * @return The activatedPolicyTypes at the given index. */ @@ -317,31 +258,24 @@ public com.google.cloud.datacatalog.v1.Taxonomy.PolicyType getActivatedPolicyTyp return activatedPolicyTypes_converter_.convert(activatedPolicyTypes_.get(index)); } /** - * - * *
    * A list of policy types that are activated per taxonomy.
    * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; * @return A list containing the enum numeric values on the wire for activatedPolicyTypes. */ @java.lang.Override - public java.util.List getActivatedPolicyTypesValueList() { + public java.util.List + getActivatedPolicyTypesValueList() { return activatedPolicyTypes_; } /** - * - * *
    * A list of policy types that are activated per taxonomy.
    * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; * @param index The index of the value to return. * @return The enum numeric value on the wire of activatedPolicyTypes at the given index. */ @@ -349,11 +283,9 @@ public java.util.List getActivatedPolicyTypesValueList() { public int getActivatedPolicyTypesValue(int index) { return activatedPolicyTypes_.get(index); } - private int activatedPolicyTypesMemoizedSerializedSize; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -365,7 +297,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); @@ -399,21 +332,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } for (int i = 0; i < policyTags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, policyTags_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, policyTags_.get(i)); } { int dataSize = 0; for (int i = 0; i < activatedPolicyTypes_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag( - activatedPolicyTypes_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(activatedPolicyTypes_.get(i)); } size += dataSize; - if (!getActivatedPolicyTypesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - activatedPolicyTypesMemoizedSerializedSize = dataSize; + if (!getActivatedPolicyTypesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }activatedPolicyTypesMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -423,17 +355,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.datacatalog.v1.SerializedTaxonomy)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.SerializedTaxonomy other = - (com.google.cloud.datacatalog.v1.SerializedTaxonomy) obj; + com.google.cloud.datacatalog.v1.SerializedTaxonomy other = (com.google.cloud.datacatalog.v1.SerializedTaxonomy) obj; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getPolicyTagsList().equals(other.getPolicyTagsList())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getPolicyTagsList() + .equals(other.getPolicyTagsList())) return false; if (!activatedPolicyTypes_.equals(other.activatedPolicyTypes_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -464,103 +398,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.SerializedTaxonomy parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.SerializedTaxonomy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SerializedTaxonomy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.SerializedTaxonomy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SerializedTaxonomy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.SerializedTaxonomy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.SerializedTaxonomy parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.SerializedTaxonomy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.SerializedTaxonomy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SerializedTaxonomy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.SerializedTaxonomy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.SerializedTaxonomy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SerializedTaxonomy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.SerializedTaxonomy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.SerializedTaxonomy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 nested protocol buffer that represents a taxonomy and the hierarchy of its
    * policy tags. Used for taxonomy replacement, import, and
@@ -569,32 +498,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.SerializedTaxonomy}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.SerializedTaxonomy)
       com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.SerializedTaxonomy.class,
-              com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder.class);
+              com.google.cloud.datacatalog.v1.SerializedTaxonomy.class, com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.SerializedTaxonomy.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -614,9 +544,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_descriptor;
     }
 
     @java.lang.Override
@@ -635,18 +565,14 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomy build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.SerializedTaxonomy buildPartial() {
-      com.google.cloud.datacatalog.v1.SerializedTaxonomy result =
-          new com.google.cloud.datacatalog.v1.SerializedTaxonomy(this);
+      com.google.cloud.datacatalog.v1.SerializedTaxonomy result = new com.google.cloud.datacatalog.v1.SerializedTaxonomy(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.datacatalog.v1.SerializedTaxonomy result) {
+    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1.SerializedTaxonomy result) {
       if (policyTagsBuilder_ == null) {
         if (((bitField0_ & 0x00000004) != 0)) {
           policyTags_ = java.util.Collections.unmodifiableList(policyTags_);
@@ -677,39 +603,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.SerializedTaxonomy 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.datacatalog.v1.SerializedTaxonomy) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.SerializedTaxonomy) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.SerializedTaxonomy)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -717,8 +642,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.SerializedTaxonomy other) {
-      if (other == com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance()) return this;
       if (!other.getDisplayName().isEmpty()) {
         displayName_ = other.displayName_;
         bitField0_ |= 0x00000001;
@@ -747,10 +671,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.SerializedTaxonomy othe
             policyTagsBuilder_ = null;
             policyTags_ = other.policyTags_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            policyTagsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getPolicyTagsFieldBuilder()
-                    : null;
+            policyTagsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getPolicyTagsFieldBuilder() : null;
           } else {
             policyTagsBuilder_.addAllMessages(other.policyTags_);
           }
@@ -792,58 +715,52 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                description_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                com.google.cloud.datacatalog.v1.SerializedPolicyTag m =
-                    input.readMessage(
-                        com.google.cloud.datacatalog.v1.SerializedPolicyTag.parser(),
-                        extensionRegistry);
-                if (policyTagsBuilder_ == null) {
-                  ensurePolicyTagsIsMutable();
-                  policyTags_.add(m);
-                } else {
-                  policyTagsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 26
-            case 32:
-              {
+            case 10: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              description_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              com.google.cloud.datacatalog.v1.SerializedPolicyTag m =
+                  input.readMessage(
+                      com.google.cloud.datacatalog.v1.SerializedPolicyTag.parser(),
+                      extensionRegistry);
+              if (policyTagsBuilder_ == null) {
+                ensurePolicyTagsIsMutable();
+                policyTags_.add(m);
+              } else {
+                policyTagsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 26
+            case 32: {
+              int tmpRaw = input.readEnum();
+              ensureActivatedPolicyTypesIsMutable();
+              activatedPolicyTypes_.add(tmpRaw);
+              break;
+            } // case 32
+            case 34: {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while(input.getBytesUntilLimit() > 0) {
                 int tmpRaw = input.readEnum();
                 ensureActivatedPolicyTypesIsMutable();
                 activatedPolicyTypes_.add(tmpRaw);
-                break;
-              } // case 32
-            case 34:
-              {
-                int length = input.readRawVarint32();
-                int oldLimit = input.pushLimit(length);
-                while (input.getBytesUntilLimit() > 0) {
-                  int tmpRaw = input.readEnum();
-                  ensureActivatedPolicyTypesIsMutable();
-                  activatedPolicyTypes_.add(tmpRaw);
-                }
-                input.popLimit(oldLimit);
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              }
+              input.popLimit(oldLimit);
+              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) {
@@ -853,26 +770,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object displayName_ = "";
     /**
-     *
-     *
      * 
      * Required. Display name of the taxonomy. At most 200 bytes when encoded in
      * UTF-8.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -881,22 +795,21 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. Display name of the taxonomy. At most 200 bytes when encoded in
      * UTF-8.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -904,37 +817,30 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. Display name of the taxonomy. At most 200 bytes when encoded in
      * UTF-8.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Display name of the taxonomy. At most 200 bytes when encoded in
      * UTF-8.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -944,22 +850,18 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Required. Display name of the taxonomy. At most 200 bytes when encoded in
      * UTF-8.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -969,21 +871,19 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Description of the serialized taxonomy. At most 2000 bytes when
      * encoded in UTF-8. If not set, defaults to an empty description.
      * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -992,22 +892,21 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Description of the serialized taxonomy. At most 2000 bytes when
      * encoded in UTF-8. If not set, defaults to an empty description.
      * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1015,37 +914,30 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Description of the serialized taxonomy. At most 2000 bytes when
      * encoded in UTF-8. If not set, defaults to an empty description.
      * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Description of the serialized taxonomy. At most 2000 bytes when
      * encoded in UTF-8. If not set, defaults to an empty description.
      * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1055,22 +947,18 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Description of the serialized taxonomy. At most 2000 bytes when
      * encoded in UTF-8. If not set, defaults to an empty description.
      * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000002; @@ -1079,26 +967,18 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { } private java.util.List policyTags_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePolicyTagsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - policyTags_ = - new java.util.ArrayList( - policyTags_); + policyTags_ = new java.util.ArrayList(policyTags_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.SerializedPolicyTag, - com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder, - com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder> - policyTagsBuilder_; + com.google.cloud.datacatalog.v1.SerializedPolicyTag, com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder, com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder> policyTagsBuilder_; /** - * - * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1113,8 +993,6 @@ public java.util.List getPo } } /** - * - * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1129,8 +1007,6 @@ public int getPolicyTagsCount() { } } /** - * - * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1145,8 +1021,6 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag getPolicyTags(int ind } } /** - * - * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1168,8 +1042,6 @@ public Builder setPolicyTags( return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1188,8 +1060,6 @@ public Builder setPolicyTags( return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1210,8 +1080,6 @@ public Builder addPolicyTags(com.google.cloud.datacatalog.v1.SerializedPolicyTag return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1233,8 +1101,6 @@ public Builder addPolicyTags( return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1253,8 +1119,6 @@ public Builder addPolicyTags( return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1273,8 +1137,6 @@ public Builder addPolicyTags( return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1285,7 +1147,8 @@ public Builder addAllPolicyTags( java.lang.Iterable values) { if (policyTagsBuilder_ == null) { ensurePolicyTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, policyTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, policyTags_); onChanged(); } else { policyTagsBuilder_.addAllMessages(values); @@ -1293,8 +1156,6 @@ public Builder addAllPolicyTags( return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1312,8 +1173,6 @@ public Builder clearPolicyTags() { return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1331,8 +1190,6 @@ public Builder removePolicyTags(int index) { return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1344,8 +1201,6 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder getPolicyTags return getPolicyTagsFieldBuilder().getBuilder(index); } /** - * - * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1355,22 +1210,19 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder getPolicyTags public com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder getPolicyTagsOrBuilder( int index) { if (policyTagsBuilder_ == null) { - return policyTags_.get(index); - } else { + return policyTags_.get(index); } else { return policyTagsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
* * repeated .google.cloud.datacatalog.v1.SerializedPolicyTag policy_tags = 3; */ - public java.util.List - getPolicyTagsOrBuilderList() { + public java.util.List + getPolicyTagsOrBuilderList() { if (policyTagsBuilder_ != null) { return policyTagsBuilder_.getMessageOrBuilderList(); } else { @@ -1378,8 +1230,6 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder getPolicyTag } } /** - * - * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1387,12 +1237,10 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder getPolicyTag * repeated .google.cloud.datacatalog.v1.SerializedPolicyTag policy_tags = 3; */ public com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder addPolicyTagsBuilder() { - return getPolicyTagsFieldBuilder() - .addBuilder(com.google.cloud.datacatalog.v1.SerializedPolicyTag.getDefaultInstance()); + return getPolicyTagsFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1.SerializedPolicyTag.getDefaultInstance()); } /** - * - * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1401,44 +1249,37 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder addPolicyTags */ public com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder addPolicyTagsBuilder( int index) { - return getPolicyTagsFieldBuilder() - .addBuilder( - index, com.google.cloud.datacatalog.v1.SerializedPolicyTag.getDefaultInstance()); + return getPolicyTagsFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1.SerializedPolicyTag.getDefaultInstance()); } /** - * - * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
* * repeated .google.cloud.datacatalog.v1.SerializedPolicyTag policy_tags = 3; */ - public java.util.List - getPolicyTagsBuilderList() { + public java.util.List + getPolicyTagsBuilderList() { return getPolicyTagsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.SerializedPolicyTag, - com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder, - com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder> + com.google.cloud.datacatalog.v1.SerializedPolicyTag, com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder, com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder> getPolicyTagsFieldBuilder() { if (policyTagsBuilder_ == null) { - policyTagsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.SerializedPolicyTag, - com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder, - com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder>( - policyTags_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + policyTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.SerializedPolicyTag, com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder, com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder>( + policyTags_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); policyTags_ = null; } return policyTagsBuilder_; } private java.util.List activatedPolicyTypes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureActivatedPolicyTypesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { activatedPolicyTypes_ = new java.util.ArrayList(activatedPolicyTypes_); @@ -1446,48 +1287,34 @@ private void ensureActivatedPolicyTypesIsMutable() { } } /** - * - * *
      * A list of policy types that are activated per taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; * @return A list containing the activatedPolicyTypes. */ - public java.util.List - getActivatedPolicyTypesList() { + public java.util.List getActivatedPolicyTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.datacatalog.v1.Taxonomy.PolicyType>( - activatedPolicyTypes_, activatedPolicyTypes_converter_); + java.lang.Integer, com.google.cloud.datacatalog.v1.Taxonomy.PolicyType>(activatedPolicyTypes_, activatedPolicyTypes_converter_); } /** - * - * *
      * A list of policy types that are activated per taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; * @return The count of activatedPolicyTypes. */ public int getActivatedPolicyTypesCount() { return activatedPolicyTypes_.size(); } /** - * - * *
      * A list of policy types that are activated per taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; * @param index The index of the element to return. * @return The activatedPolicyTypes at the given index. */ @@ -1495,15 +1322,11 @@ public com.google.cloud.datacatalog.v1.Taxonomy.PolicyType getActivatedPolicyTyp return activatedPolicyTypes_converter_.convert(activatedPolicyTypes_.get(index)); } /** - * - * *
      * A list of policy types that are activated per taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; * @param index The index to set the value at. * @param value The activatedPolicyTypes to set. * @return This builder for chaining. @@ -1519,20 +1342,15 @@ public Builder setActivatedPolicyTypes( return this; } /** - * - * *
      * A list of policy types that are activated per taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; * @param value The activatedPolicyTypes to add. * @return This builder for chaining. */ - public Builder addActivatedPolicyTypes( - com.google.cloud.datacatalog.v1.Taxonomy.PolicyType value) { + public Builder addActivatedPolicyTypes(com.google.cloud.datacatalog.v1.Taxonomy.PolicyType value) { if (value == null) { throw new NullPointerException(); } @@ -1542,15 +1360,11 @@ public Builder addActivatedPolicyTypes( return this; } /** - * - * *
      * A list of policy types that are activated per taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; * @param values The activatedPolicyTypes to add. * @return This builder for chaining. */ @@ -1564,15 +1378,11 @@ public Builder addAllActivatedPolicyTypes( return this; } /** - * - * *
      * A list of policy types that are activated per taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; * @return This builder for chaining. */ public Builder clearActivatedPolicyTypes() { @@ -1582,30 +1392,23 @@ public Builder clearActivatedPolicyTypes() { return this; } /** - * - * *
      * A list of policy types that are activated per taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; * @return A list containing the enum numeric values on the wire for activatedPolicyTypes. */ - public java.util.List getActivatedPolicyTypesValueList() { + public java.util.List + getActivatedPolicyTypesValueList() { return java.util.Collections.unmodifiableList(activatedPolicyTypes_); } /** - * - * *
      * A list of policy types that are activated per taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; * @param index The index of the value to return. * @return The enum numeric value on the wire of activatedPolicyTypes at the given index. */ @@ -1613,35 +1416,28 @@ public int getActivatedPolicyTypesValue(int index) { return activatedPolicyTypes_.get(index); } /** - * - * *
      * A list of policy types that are activated per taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; * @param index The index to set the value at. * @param value The enum numeric value on the wire for activatedPolicyTypes to set. * @return This builder for chaining. */ - public Builder setActivatedPolicyTypesValue(int index, int value) { + public Builder setActivatedPolicyTypesValue( + int index, int value) { ensureActivatedPolicyTypesIsMutable(); activatedPolicyTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * A list of policy types that are activated per taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; * @param value The enum numeric value on the wire for activatedPolicyTypes to add. * @return This builder for chaining. */ @@ -1652,19 +1448,16 @@ public Builder addActivatedPolicyTypesValue(int value) { return this; } /** - * - * *
      * A list of policy types that are activated per taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; * @param values The enum numeric values on the wire for activatedPolicyTypes to add. * @return This builder for chaining. */ - public Builder addAllActivatedPolicyTypesValue(java.lang.Iterable values) { + public Builder addAllActivatedPolicyTypesValue( + java.lang.Iterable values) { ensureActivatedPolicyTypesIsMutable(); for (int value : values) { activatedPolicyTypes_.add(value); @@ -1672,9 +1465,9 @@ public Builder addAllActivatedPolicyTypesValue(java.lang.Iterable PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SerializedTaxonomy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SerializedTaxonomy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,4 +1526,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.SerializedTaxonomy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomyOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomyOrBuilder.java similarity index 76% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomyOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomyOrBuilder.java index 612036600685..b4385b89aaa4 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomyOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomyOrBuilder.java @@ -1,95 +1,66 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1; -public interface SerializedTaxonomyOrBuilder - extends +public interface SerializedTaxonomyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.SerializedTaxonomy) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Display name of the taxonomy. At most 200 bytes when encoded in
    * UTF-8.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. Display name of the taxonomy. At most 200 bytes when encoded in
    * UTF-8.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Description of the serialized taxonomy. At most 2000 bytes when
    * encoded in UTF-8. If not set, defaults to an empty description.
    * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Description of the serialized taxonomy. At most 2000 bytes when
    * encoded in UTF-8. If not set, defaults to an empty description.
    * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Top level policy tags associated with the taxonomy, if any.
    * 
* * repeated .google.cloud.datacatalog.v1.SerializedPolicyTag policy_tags = 3; */ - java.util.List getPolicyTagsList(); + java.util.List + getPolicyTagsList(); /** - * - * *
    * Top level policy tags associated with the taxonomy, if any.
    * 
@@ -98,8 +69,6 @@ public interface SerializedTaxonomyOrBuilder */ com.google.cloud.datacatalog.v1.SerializedPolicyTag getPolicyTags(int index); /** - * - * *
    * Top level policy tags associated with the taxonomy, if any.
    * 
@@ -108,90 +77,68 @@ public interface SerializedTaxonomyOrBuilder */ int getPolicyTagsCount(); /** - * - * *
    * Top level policy tags associated with the taxonomy, if any.
    * 
* * repeated .google.cloud.datacatalog.v1.SerializedPolicyTag policy_tags = 3; */ - java.util.List + java.util.List getPolicyTagsOrBuilderList(); /** - * - * *
    * Top level policy tags associated with the taxonomy, if any.
    * 
* * repeated .google.cloud.datacatalog.v1.SerializedPolicyTag policy_tags = 3; */ - com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder getPolicyTagsOrBuilder(int index); + com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder getPolicyTagsOrBuilder( + int index); /** - * - * *
    * A list of policy types that are activated per taxonomy.
    * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; * @return A list containing the activatedPolicyTypes. */ java.util.List getActivatedPolicyTypesList(); /** - * - * *
    * A list of policy types that are activated per taxonomy.
    * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; * @return The count of activatedPolicyTypes. */ int getActivatedPolicyTypesCount(); /** - * - * *
    * A list of policy types that are activated per taxonomy.
    * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; * @param index The index of the element to return. * @return The activatedPolicyTypes at the given index. */ com.google.cloud.datacatalog.v1.Taxonomy.PolicyType getActivatedPolicyTypes(int index); /** - * - * *
    * A list of policy types that are activated per taxonomy.
    * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; * @return A list containing the enum numeric values on the wire for activatedPolicyTypes. */ - java.util.List getActivatedPolicyTypesValueList(); + java.util.List + getActivatedPolicyTypesValueList(); /** - * - * *
    * A list of policy types that are activated per taxonomy.
    * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; * @param index The index of the value to return. * @return The enum numeric value on the wire of activatedPolicyTypes at the given index. */ diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpec.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpec.java similarity index 63% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpec.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpec.java index d45f0289b3f6..cd8bce56b862 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpec.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpec.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Specification that applies to a Service resource. Valid only
  * for entries with the `SERVICE` type.
@@ -28,52 +11,47 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ServiceSpec}
  */
-public final class ServiceSpec extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ServiceSpec extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ServiceSpec)
     ServiceSpecOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ServiceSpec.newBuilder() to construct.
   private ServiceSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ServiceSpec() {}
+  private ServiceSpec() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ServiceSpec();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_ServiceSpec_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ServiceSpec_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_ServiceSpec_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ServiceSpec_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ServiceSpec.class,
-            com.google.cloud.datacatalog.v1.ServiceSpec.Builder.class);
+            com.google.cloud.datacatalog.v1.ServiceSpec.class, com.google.cloud.datacatalog.v1.ServiceSpec.Builder.class);
   }
 
   private int systemSpecCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object systemSpec_;
-
   public enum SystemSpecCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     CLOUD_BIGTABLE_INSTANCE_SPEC(1),
     SYSTEMSPEC_NOT_SET(0);
     private final int value;
-
     private SystemSpecCase(int value) {
       this.value = value;
     }
@@ -89,36 +67,30 @@ public static SystemSpecCase valueOf(int value) {
 
     public static SystemSpecCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return CLOUD_BIGTABLE_INSTANCE_SPEC;
-        case 0:
-          return SYSTEMSPEC_NOT_SET;
-        default:
-          return null;
+        case 1: return CLOUD_BIGTABLE_INSTANCE_SPEC;
+        case 0: return SYSTEMSPEC_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SystemSpecCase getSystemSpecCase() {
-    return SystemSpecCase.forNumber(systemSpecCase_);
+  public SystemSpecCase
+  getSystemSpecCase() {
+    return SystemSpecCase.forNumber(
+        systemSpecCase_);
   }
 
   public static final int CLOUD_BIGTABLE_INSTANCE_SPEC_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * Specification that applies to Instance entries of `CLOUD_BIGTABLE`
    * system.
    * 
* - * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; - * - * + * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; * @return Whether the cloudBigtableInstanceSpec field is set. */ @java.lang.Override @@ -126,47 +98,38 @@ public boolean hasCloudBigtableInstanceSpec() { return systemSpecCase_ == 1; } /** - * - * *
    * Specification that applies to Instance entries of `CLOUD_BIGTABLE`
    * system.
    * 
* - * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; - * - * + * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; * @return The cloudBigtableInstanceSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec getCloudBigtableInstanceSpec() { if (systemSpecCase_ == 1) { - return (com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) systemSpec_; + return (com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) systemSpec_; } return com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.getDefaultInstance(); } /** - * - * *
    * Specification that applies to Instance entries of `CLOUD_BIGTABLE`
    * system.
    * 
* - * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; - * + * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpecOrBuilder - getCloudBigtableInstanceSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpecOrBuilder getCloudBigtableInstanceSpecOrBuilder() { if (systemSpecCase_ == 1) { - return (com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) systemSpec_; + return (com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) systemSpec_; } return com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,10 +141,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 (systemSpecCase_ == 1) { - output.writeMessage( - 1, (com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) systemSpec_); + output.writeMessage(1, (com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) systemSpec_); } getUnknownFields().writeTo(output); } @@ -193,9 +156,8 @@ public int getSerializedSize() { size = 0; if (systemSpecCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) systemSpec_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) systemSpec_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -205,19 +167,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.ServiceSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ServiceSpec other = - (com.google.cloud.datacatalog.v1.ServiceSpec) obj; + com.google.cloud.datacatalog.v1.ServiceSpec other = (com.google.cloud.datacatalog.v1.ServiceSpec) obj; if (!getSystemSpecCase().equals(other.getSystemSpecCase())) return false; switch (systemSpecCase_) { case 1: - if (!getCloudBigtableInstanceSpec().equals(other.getCloudBigtableInstanceSpec())) - return false; + if (!getCloudBigtableInstanceSpec() + .equals(other.getCloudBigtableInstanceSpec())) return false; break; case 0: default: @@ -246,104 +207,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.ServiceSpec parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.ServiceSpec parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ServiceSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ServiceSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ServiceSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ServiceSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ServiceSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ServiceSpec parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ServiceSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ServiceSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ServiceSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ServiceSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ServiceSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ServiceSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.ServiceSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specification that applies to a Service resource. Valid only
    * for entries with the `SERVICE` type.
@@ -351,32 +307,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ServiceSpec}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ServiceSpec)
       com.google.cloud.datacatalog.v1.ServiceSpecOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ServiceSpec_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ServiceSpec_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ServiceSpec_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ServiceSpec_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ServiceSpec.class,
-              com.google.cloud.datacatalog.v1.ServiceSpec.Builder.class);
+              com.google.cloud.datacatalog.v1.ServiceSpec.class, com.google.cloud.datacatalog.v1.ServiceSpec.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ServiceSpec.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -390,9 +347,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_ServiceSpec_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ServiceSpec_descriptor;
     }
 
     @java.lang.Override
@@ -411,11 +368,8 @@ public com.google.cloud.datacatalog.v1.ServiceSpec build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ServiceSpec buildPartial() {
-      com.google.cloud.datacatalog.v1.ServiceSpec result =
-          new com.google.cloud.datacatalog.v1.ServiceSpec(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.ServiceSpec result = new com.google.cloud.datacatalog.v1.ServiceSpec(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -428,7 +382,8 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ServiceSpec result) {
     private void buildPartialOneofs(com.google.cloud.datacatalog.v1.ServiceSpec result) {
       result.systemSpecCase_ = systemSpecCase_;
       result.systemSpec_ = this.systemSpec_;
-      if (systemSpecCase_ == 1 && cloudBigtableInstanceSpecBuilder_ != null) {
+      if (systemSpecCase_ == 1 &&
+          cloudBigtableInstanceSpecBuilder_ != null) {
         result.systemSpec_ = cloudBigtableInstanceSpecBuilder_.build();
       }
     }
@@ -437,39 +392,38 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.ServiceSpec 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.datacatalog.v1.ServiceSpec) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ServiceSpec) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ServiceSpec)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -479,15 +433,13 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ServiceSpec other) {
       if (other == com.google.cloud.datacatalog.v1.ServiceSpec.getDefaultInstance()) return this;
       switch (other.getSystemSpecCase()) {
-        case CLOUD_BIGTABLE_INSTANCE_SPEC:
-          {
-            mergeCloudBigtableInstanceSpec(other.getCloudBigtableInstanceSpec());
-            break;
-          }
-        case SYSTEMSPEC_NOT_SET:
-          {
-            break;
-          }
+        case CLOUD_BIGTABLE_INSTANCE_SPEC: {
+          mergeCloudBigtableInstanceSpec(other.getCloudBigtableInstanceSpec());
+          break;
+        }
+        case SYSTEMSPEC_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -515,20 +467,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(
-                    getCloudBigtableInstanceSpecFieldBuilder().getBuilder(), extensionRegistry);
-                systemSpecCase_ = 1;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getCloudBigtableInstanceSpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              systemSpecCase_ = 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) {
@@ -538,12 +489,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int systemSpecCase_ = 0;
     private java.lang.Object systemSpec_;
-
-    public SystemSpecCase getSystemSpecCase() {
-      return SystemSpecCase.forNumber(systemSpecCase_);
+    public SystemSpecCase
+        getSystemSpecCase() {
+      return SystemSpecCase.forNumber(
+          systemSpecCase_);
     }
 
     public Builder clearSystemSpec() {
@@ -556,22 +507,14 @@ public Builder clearSystemSpec() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec,
-            com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.Builder,
-            com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpecOrBuilder>
-        cloudBigtableInstanceSpecBuilder_;
+        com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.Builder, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpecOrBuilder> cloudBigtableInstanceSpecBuilder_;
     /**
-     *
-     *
      * 
      * Specification that applies to Instance entries of `CLOUD_BIGTABLE`
      * system.
      * 
* - * - * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; - * - * + * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; * @return Whether the cloudBigtableInstanceSpec field is set. */ @java.lang.Override @@ -579,22 +522,16 @@ public boolean hasCloudBigtableInstanceSpec() { return systemSpecCase_ == 1; } /** - * - * *
      * Specification that applies to Instance entries of `CLOUD_BIGTABLE`
      * system.
      * 
* - * - * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; - * - * + * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; * @return The cloudBigtableInstanceSpec. */ @java.lang.Override - public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec - getCloudBigtableInstanceSpec() { + public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec getCloudBigtableInstanceSpec() { if (cloudBigtableInstanceSpecBuilder_ == null) { if (systemSpecCase_ == 1) { return (com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) systemSpec_; @@ -608,19 +545,14 @@ public boolean hasCloudBigtableInstanceSpec() { } } /** - * - * *
      * Specification that applies to Instance entries of `CLOUD_BIGTABLE`
      * system.
      * 
* - * - * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; - * + * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; */ - public Builder setCloudBigtableInstanceSpec( - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec value) { + public Builder setCloudBigtableInstanceSpec(com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec value) { if (cloudBigtableInstanceSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -634,16 +566,12 @@ public Builder setCloudBigtableInstanceSpec( return this; } /** - * - * *
      * Specification that applies to Instance entries of `CLOUD_BIGTABLE`
      * system.
      * 
* - * - * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; - * + * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; */ public Builder setCloudBigtableInstanceSpec( com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.Builder builderForValue) { @@ -657,28 +585,19 @@ public Builder setCloudBigtableInstanceSpec( return this; } /** - * - * *
      * Specification that applies to Instance entries of `CLOUD_BIGTABLE`
      * system.
      * 
* - * - * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; - * + * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; */ - public Builder mergeCloudBigtableInstanceSpec( - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec value) { + public Builder mergeCloudBigtableInstanceSpec(com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec value) { if (cloudBigtableInstanceSpecBuilder_ == null) { - if (systemSpecCase_ == 1 - && systemSpec_ - != com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.getDefaultInstance()) { - systemSpec_ = - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.newBuilder( - (com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) systemSpec_) - .mergeFrom(value) - .buildPartial(); + if (systemSpecCase_ == 1 && + systemSpec_ != com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.getDefaultInstance()) { + systemSpec_ = com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.newBuilder((com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) systemSpec_) + .mergeFrom(value).buildPartial(); } else { systemSpec_ = value; } @@ -694,16 +613,12 @@ public Builder mergeCloudBigtableInstanceSpec( return this; } /** - * - * *
      * Specification that applies to Instance entries of `CLOUD_BIGTABLE`
      * system.
      * 
* - * - * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; - * + * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; */ public Builder clearCloudBigtableInstanceSpec() { if (cloudBigtableInstanceSpecBuilder_ == null) { @@ -722,36 +637,26 @@ public Builder clearCloudBigtableInstanceSpec() { return this; } /** - * - * *
      * Specification that applies to Instance entries of `CLOUD_BIGTABLE`
      * system.
      * 
* - * - * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; - * + * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; */ - public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.Builder - getCloudBigtableInstanceSpecBuilder() { + public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.Builder getCloudBigtableInstanceSpecBuilder() { return getCloudBigtableInstanceSpecFieldBuilder().getBuilder(); } /** - * - * *
      * Specification that applies to Instance entries of `CLOUD_BIGTABLE`
      * system.
      * 
* - * - * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; - * + * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpecOrBuilder - getCloudBigtableInstanceSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpecOrBuilder getCloudBigtableInstanceSpecOrBuilder() { if ((systemSpecCase_ == 1) && (cloudBigtableInstanceSpecBuilder_ != null)) { return cloudBigtableInstanceSpecBuilder_.getMessageOrBuilder(); } else { @@ -762,32 +667,22 @@ public Builder clearCloudBigtableInstanceSpec() { } } /** - * - * *
      * Specification that applies to Instance entries of `CLOUD_BIGTABLE`
      * system.
      * 
* - * - * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; - * + * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec, - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.Builder, - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpecOrBuilder> + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.Builder, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpecOrBuilder> getCloudBigtableInstanceSpecFieldBuilder() { if (cloudBigtableInstanceSpecBuilder_ == null) { if (!(systemSpecCase_ == 1)) { - systemSpec_ = - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.getDefaultInstance(); + systemSpec_ = com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.getDefaultInstance(); } - cloudBigtableInstanceSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec, - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.Builder, - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpecOrBuilder>( + cloudBigtableInstanceSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.Builder, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpecOrBuilder>( (com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) systemSpec_, getParentForChildren(), isClean()); @@ -797,9 +692,9 @@ public Builder clearCloudBigtableInstanceSpec() { onChanged(); return cloudBigtableInstanceSpecBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -809,12 +704,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ServiceSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ServiceSpec) private static final com.google.cloud.datacatalog.v1.ServiceSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ServiceSpec(); } @@ -823,27 +718,27 @@ public static com.google.cloud.datacatalog.v1.ServiceSpec getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ServiceSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ServiceSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -858,4 +753,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ServiceSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpecOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpecOrBuilder.java similarity index 58% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpecOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpecOrBuilder.java index 0af6134dc834..96e9ad318686 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpecOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpecOrBuilder.java @@ -1,69 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface ServiceSpecOrBuilder - extends +public interface ServiceSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ServiceSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Specification that applies to Instance entries of `CLOUD_BIGTABLE`
    * system.
    * 
* - * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; - * - * + * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; * @return Whether the cloudBigtableInstanceSpec field is set. */ boolean hasCloudBigtableInstanceSpec(); /** - * - * *
    * Specification that applies to Instance entries of `CLOUD_BIGTABLE`
    * system.
    * 
* - * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; - * - * + * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; * @return The cloudBigtableInstanceSpec. */ com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec getCloudBigtableInstanceSpec(); /** - * - * *
    * Specification that applies to Instance entries of `CLOUD_BIGTABLE`
    * system.
    * 
* - * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; - * + * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; */ - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpecOrBuilder - getCloudBigtableInstanceSpecOrBuilder(); + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpecOrBuilder getCloudBigtableInstanceSpecOrBuilder(); com.google.cloud.datacatalog.v1.ServiceSpec.SystemSpecCase getSystemSpecCase(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpec.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpec.java similarity index 70% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpec.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpec.java index 8c5f1291e05b..33f9d1e01af1 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpec.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpec.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Specification that applies to
  * entries that are part `SQL_DATABASE` system
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.SqlDatabaseSystemSpec}
  */
-public final class SqlDatabaseSystemSpec extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SqlDatabaseSystemSpec extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.SqlDatabaseSystemSpec)
     SqlDatabaseSystemSpecOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SqlDatabaseSystemSpec.newBuilder() to construct.
   private SqlDatabaseSystemSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SqlDatabaseSystemSpec() {
     sqlEngine_ = "";
     databaseVersion_ = "";
@@ -47,32 +29,28 @@ private SqlDatabaseSystemSpec() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SqlDatabaseSystemSpec();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.class,
-            com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.Builder.class);
+            com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.class, com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.Builder.class);
   }
 
   public static final int SQL_ENGINE_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object sqlEngine_ = "";
   /**
-   *
-   *
    * 
    * SQL Database Engine.
    * enum SqlEngine {
@@ -85,7 +63,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string sql_engine = 1; - * * @return The sqlEngine. */ @java.lang.Override @@ -94,15 +71,14 @@ public java.lang.String getSqlEngine() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sqlEngine_ = s; return s; } } /** - * - * *
    * SQL Database Engine.
    * enum SqlEngine {
@@ -115,15 +91,16 @@ public java.lang.String getSqlEngine() {
    * 
* * string sql_engine = 1; - * * @return The bytes for sqlEngine. */ @java.lang.Override - public com.google.protobuf.ByteString getSqlEngineBytes() { + public com.google.protobuf.ByteString + getSqlEngineBytes() { java.lang.Object ref = sqlEngine_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sqlEngine_ = b; return b; } else { @@ -132,18 +109,14 @@ public com.google.protobuf.ByteString getSqlEngineBytes() { } public static final int DATABASE_VERSION_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object databaseVersion_ = ""; /** - * - * *
    * Version of the database engine.
    * 
* * string database_version = 2; - * * @return The databaseVersion. */ @java.lang.Override @@ -152,29 +125,29 @@ public java.lang.String getDatabaseVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseVersion_ = s; return s; } } /** - * - * *
    * Version of the database engine.
    * 
* * string database_version = 2; - * * @return The bytes for databaseVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseVersionBytes() { + public com.google.protobuf.ByteString + getDatabaseVersionBytes() { java.lang.Object ref = databaseVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseVersion_ = b; return b; } else { @@ -183,12 +156,9 @@ public com.google.protobuf.ByteString getDatabaseVersionBytes() { } public static final int INSTANCE_HOST_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object instanceHost_ = ""; /** - * - * *
    * Host of the SQL database
    * enum InstanceHost {
@@ -202,7 +172,6 @@ public com.google.protobuf.ByteString getDatabaseVersionBytes() {
    * 
* * string instance_host = 3; - * * @return The instanceHost. */ @java.lang.Override @@ -211,15 +180,14 @@ public java.lang.String getInstanceHost() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceHost_ = s; return s; } } /** - * - * *
    * Host of the SQL database
    * enum InstanceHost {
@@ -233,15 +201,16 @@ public java.lang.String getInstanceHost() {
    * 
* * string instance_host = 3; - * * @return The bytes for instanceHost. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceHostBytes() { + public com.google.protobuf.ByteString + getInstanceHostBytes() { java.lang.Object ref = instanceHost_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceHost_ = b; return b; } else { @@ -250,7 +219,6 @@ public com.google.protobuf.ByteString getInstanceHostBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,7 +230,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sqlEngine_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sqlEngine_); } @@ -298,17 +267,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.datacatalog.v1.SqlDatabaseSystemSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec other = - (com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec) obj; + com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec other = (com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec) obj; - if (!getSqlEngine().equals(other.getSqlEngine())) return false; - if (!getDatabaseVersion().equals(other.getDatabaseVersion())) return false; - if (!getInstanceHost().equals(other.getInstanceHost())) return false; + if (!getSqlEngine() + .equals(other.getSqlEngine())) return false; + if (!getDatabaseVersion() + .equals(other.getDatabaseVersion())) return false; + if (!getInstanceHost() + .equals(other.getInstanceHost())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -332,104 +303,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specification that applies to
    * entries that are part `SQL_DATABASE` system
@@ -438,32 +403,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.SqlDatabaseSystemSpec}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.SqlDatabaseSystemSpec)
       com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpecOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.class,
-              com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.Builder.class);
+              com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.class, com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -475,9 +441,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_descriptor;
     }
 
     @java.lang.Override
@@ -496,11 +462,8 @@ public com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec buildPartial() {
-      com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec result =
-          new com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec result = new com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -522,39 +485,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -562,8 +524,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec other) {
-      if (other == com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.getDefaultInstance()) return this;
       if (!other.getSqlEngine().isEmpty()) {
         sqlEngine_ = other.sqlEngine_;
         bitField0_ |= 0x00000001;
@@ -605,31 +566,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                sqlEngine_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                databaseVersion_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                instanceHost_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              sqlEngine_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              databaseVersion_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              instanceHost_ = 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) {
@@ -639,13 +596,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object sqlEngine_ = "";
     /**
-     *
-     *
      * 
      * SQL Database Engine.
      * enum SqlEngine {
@@ -658,13 +612,13 @@ public Builder mergeFrom(
      * 
* * string sql_engine = 1; - * * @return The sqlEngine. */ public java.lang.String getSqlEngine() { java.lang.Object ref = sqlEngine_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sqlEngine_ = s; return s; @@ -673,8 +627,6 @@ public java.lang.String getSqlEngine() { } } /** - * - * *
      * SQL Database Engine.
      * enum SqlEngine {
@@ -687,14 +639,15 @@ public java.lang.String getSqlEngine() {
      * 
* * string sql_engine = 1; - * * @return The bytes for sqlEngine. */ - public com.google.protobuf.ByteString getSqlEngineBytes() { + public com.google.protobuf.ByteString + getSqlEngineBytes() { java.lang.Object ref = sqlEngine_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sqlEngine_ = b; return b; } else { @@ -702,8 +655,6 @@ public com.google.protobuf.ByteString getSqlEngineBytes() { } } /** - * - * *
      * SQL Database Engine.
      * enum SqlEngine {
@@ -716,22 +667,18 @@ public com.google.protobuf.ByteString getSqlEngineBytes() {
      * 
* * string sql_engine = 1; - * * @param value The sqlEngine to set. * @return This builder for chaining. */ - public Builder setSqlEngine(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSqlEngine( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sqlEngine_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * SQL Database Engine.
      * enum SqlEngine {
@@ -744,7 +691,6 @@ public Builder setSqlEngine(java.lang.String value) {
      * 
* * string sql_engine = 1; - * * @return This builder for chaining. */ public Builder clearSqlEngine() { @@ -754,8 +700,6 @@ public Builder clearSqlEngine() { return this; } /** - * - * *
      * SQL Database Engine.
      * enum SqlEngine {
@@ -768,14 +712,12 @@ public Builder clearSqlEngine() {
      * 
* * string sql_engine = 1; - * * @param value The bytes for sqlEngine to set. * @return This builder for chaining. */ - public Builder setSqlEngineBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSqlEngineBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sqlEngine_ = value; bitField0_ |= 0x00000001; @@ -785,20 +727,18 @@ public Builder setSqlEngineBytes(com.google.protobuf.ByteString value) { private java.lang.Object databaseVersion_ = ""; /** - * - * *
      * Version of the database engine.
      * 
* * string database_version = 2; - * * @return The databaseVersion. */ public java.lang.String getDatabaseVersion() { java.lang.Object ref = databaseVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseVersion_ = s; return s; @@ -807,21 +747,20 @@ public java.lang.String getDatabaseVersion() { } } /** - * - * *
      * Version of the database engine.
      * 
* * string database_version = 2; - * * @return The bytes for databaseVersion. */ - public com.google.protobuf.ByteString getDatabaseVersionBytes() { + public com.google.protobuf.ByteString + getDatabaseVersionBytes() { java.lang.Object ref = databaseVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseVersion_ = b; return b; } else { @@ -829,35 +768,28 @@ public com.google.protobuf.ByteString getDatabaseVersionBytes() { } } /** - * - * *
      * Version of the database engine.
      * 
* * string database_version = 2; - * * @param value The databaseVersion to set. * @return This builder for chaining. */ - public Builder setDatabaseVersion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } databaseVersion_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Version of the database engine.
      * 
* * string database_version = 2; - * * @return This builder for chaining. */ public Builder clearDatabaseVersion() { @@ -867,21 +799,17 @@ public Builder clearDatabaseVersion() { return this; } /** - * - * *
      * Version of the database engine.
      * 
* * string database_version = 2; - * * @param value The bytes for databaseVersion to set. * @return This builder for chaining. */ - public Builder setDatabaseVersionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); databaseVersion_ = value; bitField0_ |= 0x00000002; @@ -891,8 +819,6 @@ public Builder setDatabaseVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceHost_ = ""; /** - * - * *
      * Host of the SQL database
      * enum InstanceHost {
@@ -906,13 +832,13 @@ public Builder setDatabaseVersionBytes(com.google.protobuf.ByteString value) {
      * 
* * string instance_host = 3; - * * @return The instanceHost. */ public java.lang.String getInstanceHost() { java.lang.Object ref = instanceHost_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceHost_ = s; return s; @@ -921,8 +847,6 @@ public java.lang.String getInstanceHost() { } } /** - * - * *
      * Host of the SQL database
      * enum InstanceHost {
@@ -936,14 +860,15 @@ public java.lang.String getInstanceHost() {
      * 
* * string instance_host = 3; - * * @return The bytes for instanceHost. */ - public com.google.protobuf.ByteString getInstanceHostBytes() { + public com.google.protobuf.ByteString + getInstanceHostBytes() { java.lang.Object ref = instanceHost_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceHost_ = b; return b; } else { @@ -951,8 +876,6 @@ public com.google.protobuf.ByteString getInstanceHostBytes() { } } /** - * - * *
      * Host of the SQL database
      * enum InstanceHost {
@@ -966,22 +889,18 @@ public com.google.protobuf.ByteString getInstanceHostBytes() {
      * 
* * string instance_host = 3; - * * @param value The instanceHost to set. * @return This builder for chaining. */ - public Builder setInstanceHost(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceHost( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceHost_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Host of the SQL database
      * enum InstanceHost {
@@ -995,7 +914,6 @@ public Builder setInstanceHost(java.lang.String value) {
      * 
* * string instance_host = 3; - * * @return This builder for chaining. */ public Builder clearInstanceHost() { @@ -1005,8 +923,6 @@ public Builder clearInstanceHost() { return this; } /** - * - * *
      * Host of the SQL database
      * enum InstanceHost {
@@ -1020,23 +936,21 @@ public Builder clearInstanceHost() {
      * 
* * string instance_host = 3; - * * @param value The bytes for instanceHost to set. * @return This builder for chaining. */ - public Builder setInstanceHostBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceHostBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceHost_ = 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); } @@ -1046,12 +960,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.SqlDatabaseSystemSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.SqlDatabaseSystemSpec) private static final com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec(); } @@ -1060,27 +974,27 @@ public static com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SqlDatabaseSystemSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SqlDatabaseSystemSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,4 +1009,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpecOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpecOrBuilder.java similarity index 68% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpecOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpecOrBuilder.java index ed854cb54ddc..971f61f83b58 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpecOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpecOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface SqlDatabaseSystemSpecOrBuilder - extends +public interface SqlDatabaseSystemSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.SqlDatabaseSystemSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * SQL Database Engine.
    * enum SqlEngine {
@@ -38,13 +20,10 @@ public interface SqlDatabaseSystemSpecOrBuilder
    * 
* * string sql_engine = 1; - * * @return The sqlEngine. */ java.lang.String getSqlEngine(); /** - * - * *
    * SQL Database Engine.
    * enum SqlEngine {
@@ -57,39 +36,32 @@ public interface SqlDatabaseSystemSpecOrBuilder
    * 
* * string sql_engine = 1; - * * @return The bytes for sqlEngine. */ - com.google.protobuf.ByteString getSqlEngineBytes(); + com.google.protobuf.ByteString + getSqlEngineBytes(); /** - * - * *
    * Version of the database engine.
    * 
* * string database_version = 2; - * * @return The databaseVersion. */ java.lang.String getDatabaseVersion(); /** - * - * *
    * Version of the database engine.
    * 
* * string database_version = 2; - * * @return The bytes for databaseVersion. */ - com.google.protobuf.ByteString getDatabaseVersionBytes(); + com.google.protobuf.ByteString + getDatabaseVersionBytes(); /** - * - * *
    * Host of the SQL database
    * enum InstanceHost {
@@ -103,13 +75,10 @@ public interface SqlDatabaseSystemSpecOrBuilder
    * 
* * string instance_host = 3; - * * @return The instanceHost. */ java.lang.String getInstanceHost(); /** - * - * *
    * Host of the SQL database
    * enum InstanceHost {
@@ -123,8 +92,8 @@ public interface SqlDatabaseSystemSpecOrBuilder
    * 
* * string instance_host = 3; - * * @return The bytes for instanceHost. */ - com.google.protobuf.ByteString getInstanceHostBytes(); + com.google.protobuf.ByteString + getInstanceHostBytes(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequest.java similarity index 62% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequest.java index a3d70ad4f0b8..33b4074d2501 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [StarEntry][google.cloud.datacatalog.v1.DataCatalog.StarEntry].
@@ -28,56 +11,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.StarEntryRequest}
  */
-public final class StarEntryRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StarEntryRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.StarEntryRequest)
     StarEntryRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StarEntryRequest.newBuilder() to construct.
   private StarEntryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private StarEntryRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StarEntryRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_StarEntryRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_StarEntryRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_StarEntryRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_StarEntryRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.StarEntryRequest.class,
-            com.google.cloud.datacatalog.v1.StarEntryRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.StarEntryRequest.class, com.google.cloud.datacatalog.v1.StarEntryRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the entry to mark as starred.
    * 
* - * - * string name = 1 [(.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,31 +61,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the entry to mark as starred.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -119,7 +92,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,7 +103,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(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 +128,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.StarEntryRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.StarEntryRequest other = - (com.google.cloud.datacatalog.v1.StarEntryRequest) obj; + com.google.cloud.datacatalog.v1.StarEntryRequest other = (com.google.cloud.datacatalog.v1.StarEntryRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -182,104 +155,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.StarEntryRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.StarEntryRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.StarEntryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.StarEntryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.StarEntryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.StarEntryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.StarEntryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.StarEntryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.StarEntryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.StarEntryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.StarEntryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.StarEntryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.StarEntryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.StarEntryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.StarEntryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.StarEntryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [StarEntry][google.cloud.datacatalog.v1.DataCatalog.StarEntry].
@@ -287,32 +255,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.StarEntryRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.StarEntryRequest)
       com.google.cloud.datacatalog.v1.StarEntryRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_StarEntryRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_StarEntryRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_StarEntryRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_StarEntryRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.StarEntryRequest.class,
-              com.google.cloud.datacatalog.v1.StarEntryRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.StarEntryRequest.class, com.google.cloud.datacatalog.v1.StarEntryRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.StarEntryRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_StarEntryRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_StarEntryRequest_descriptor;
     }
 
     @java.lang.Override
@@ -343,11 +312,8 @@ public com.google.cloud.datacatalog.v1.StarEntryRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.StarEntryRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.StarEntryRequest result =
-          new com.google.cloud.datacatalog.v1.StarEntryRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.StarEntryRequest result = new com.google.cloud.datacatalog.v1.StarEntryRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -363,39 +329,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.StarEntryRequest 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.datacatalog.v1.StarEntryRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.StarEntryRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.StarEntryRequest)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.datacatalog.v1.StarEntryRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.StarEntryRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.StarEntryRequest.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,27 +420,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the entry to mark as starred.
      * 
* - * - * string name = 1 [(.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,23 +444,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the entry to mark as starred.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -511,39 +465,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the entry to mark as starred.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the entry to mark as starred.
      * 
* - * - * string 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() { @@ -553,32 +496,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the entry to mark as starred.
      * 
* - * - * string name = 1 [(.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); } @@ -588,12 +525,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.StarEntryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.StarEntryRequest) private static final com.google.cloud.datacatalog.v1.StarEntryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.StarEntryRequest(); } @@ -602,27 +539,27 @@ public static com.google.cloud.datacatalog.v1.StarEntryRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StarEntryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StarEntryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +574,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.StarEntryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequestOrBuilder.java new file mode 100644 index 000000000000..e155a6b185d9 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/datacatalog.proto + +package com.google.cloud.datacatalog.v1; + +public interface StarEntryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.StarEntryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the entry to mark as starred.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the entry to mark as starred.
+   * 
+ * + * 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponse.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponse.java similarity index 62% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponse.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponse.java index 2bc24755f960..6ef9f0669eb2 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponse.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Response message for
  * [StarEntry][google.cloud.datacatalog.v1.DataCatalog.StarEntry].
@@ -29,41 +12,39 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.StarEntryResponse}
  */
-public final class StarEntryResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StarEntryResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.StarEntryResponse)
     StarEntryResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StarEntryResponse.newBuilder() to construct.
   private StarEntryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private StarEntryResponse() {}
+  private StarEntryResponse() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StarEntryResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_StarEntryResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_StarEntryResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_StarEntryResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_StarEntryResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.StarEntryResponse.class,
-            com.google.cloud.datacatalog.v1.StarEntryResponse.Builder.class);
+            com.google.cloud.datacatalog.v1.StarEntryResponse.class, com.google.cloud.datacatalog.v1.StarEntryResponse.Builder.class);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -75,7 +56,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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);
   }
 
@@ -93,13 +75,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.datacatalog.v1.StarEntryResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1.StarEntryResponse other =
-        (com.google.cloud.datacatalog.v1.StarEntryResponse) obj;
+    com.google.cloud.datacatalog.v1.StarEntryResponse other = (com.google.cloud.datacatalog.v1.StarEntryResponse) obj;
 
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -118,103 +99,98 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1.StarEntryResponse parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.StarEntryResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.StarEntryResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.StarEntryResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.StarEntryResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.StarEntryResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.datacatalog.v1.StarEntryResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.StarEntryResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1.StarEntryResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1.StarEntryResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.StarEntryResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1.StarEntryResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.StarEntryResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1.StarEntryResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.datacatalog.v1.StarEntryResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Response message for
    * [StarEntry][google.cloud.datacatalog.v1.DataCatalog.StarEntry].
@@ -223,32 +199,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.StarEntryResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.StarEntryResponse)
       com.google.cloud.datacatalog.v1.StarEntryResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_StarEntryResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_StarEntryResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_StarEntryResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_StarEntryResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.StarEntryResponse.class,
-              com.google.cloud.datacatalog.v1.StarEntryResponse.Builder.class);
+              com.google.cloud.datacatalog.v1.StarEntryResponse.class, com.google.cloud.datacatalog.v1.StarEntryResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.StarEntryResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -256,9 +233,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_StarEntryResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_StarEntryResponse_descriptor;
     }
 
     @java.lang.Override
@@ -277,8 +254,7 @@ public com.google.cloud.datacatalog.v1.StarEntryResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.StarEntryResponse buildPartial() {
-      com.google.cloud.datacatalog.v1.StarEntryResponse result =
-          new com.google.cloud.datacatalog.v1.StarEntryResponse(this);
+      com.google.cloud.datacatalog.v1.StarEntryResponse result = new com.google.cloud.datacatalog.v1.StarEntryResponse(this);
       onBuilt();
       return result;
     }
@@ -287,39 +263,38 @@ public com.google.cloud.datacatalog.v1.StarEntryResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.StarEntryResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.StarEntryResponse) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.StarEntryResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -327,8 +302,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.StarEntryResponse other) {
-      if (other == com.google.cloud.datacatalog.v1.StarEntryResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.StarEntryResponse.getDefaultInstance()) return this;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
@@ -355,13 +329,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) {
@@ -371,9 +344,9 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -383,12 +356,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.StarEntryResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.StarEntryResponse)
   private static final com.google.cloud.datacatalog.v1.StarEntryResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.StarEntryResponse();
   }
@@ -397,27 +370,27 @@ public static com.google.cloud.datacatalog.v1.StarEntryResponse getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public StarEntryResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public StarEntryResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -432,4 +405,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1.StarEntryResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponseOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponseOrBuilder.java
new file mode 100644
index 000000000000..a8f322751435
--- /dev/null
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponseOrBuilder.java
@@ -0,0 +1,9 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/datacatalog/v1/datacatalog.proto
+
+package com.google.cloud.datacatalog.v1;
+
+public interface StarEntryResponseOrBuilder extends
+    // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.StarEntryResponse)
+    com.google.protobuf.MessageOrBuilder {
+}
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StorageProperties.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StorageProperties.java
similarity index 79%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StorageProperties.java
rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StorageProperties.java
index b156bdb4c623..17faee8122af 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StorageProperties.java
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StorageProperties.java
@@ -1,76 +1,55 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/data_source.proto
 
 package com.google.cloud.datacatalog.v1;
 
 /**
- *
- *
  * 
  * Details the properties of the underlying storage.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.StorageProperties} */ -public final class StorageProperties extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StorageProperties extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.StorageProperties) StoragePropertiesOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StorageProperties.newBuilder() to construct. private StorageProperties(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StorageProperties() { - filePattern_ = com.google.protobuf.LazyStringArrayList.emptyList(); + filePattern_ = + com.google.protobuf.LazyStringArrayList.emptyList(); fileType_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StorageProperties(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.DataSourceProto - .internal_static_google_cloud_datacatalog_v1_StorageProperties_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.DataSourceProto.internal_static_google_cloud_datacatalog_v1_StorageProperties_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.DataSourceProto - .internal_static_google_cloud_datacatalog_v1_StorageProperties_fieldAccessorTable + return com.google.cloud.datacatalog.v1.DataSourceProto.internal_static_google_cloud_datacatalog_v1_StorageProperties_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.StorageProperties.class, - com.google.cloud.datacatalog.v1.StorageProperties.Builder.class); + com.google.cloud.datacatalog.v1.StorageProperties.class, com.google.cloud.datacatalog.v1.StorageProperties.Builder.class); } public static final int FILE_PATTERN_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList filePattern_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Patterns to identify a set of files for this fileset.
    *
@@ -95,15 +74,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * repeated string file_pattern = 1; - * * @return A list containing the filePattern. */ - public com.google.protobuf.ProtocolStringList getFilePatternList() { + public com.google.protobuf.ProtocolStringList + getFilePatternList() { return filePattern_; } /** - * - * *
    * Patterns to identify a set of files for this fileset.
    *
@@ -128,15 +105,12 @@ public com.google.protobuf.ProtocolStringList getFilePatternList() {
    * 
* * repeated string file_pattern = 1; - * * @return The count of filePattern. */ public int getFilePatternCount() { return filePattern_.size(); } /** - * - * *
    * Patterns to identify a set of files for this fileset.
    *
@@ -161,7 +135,6 @@ public int getFilePatternCount() {
    * 
* * repeated string file_pattern = 1; - * * @param index The index of the element to return. * @return The filePattern at the given index. */ @@ -169,8 +142,6 @@ public java.lang.String getFilePattern(int index) { return filePattern_.get(index); } /** - * - * *
    * Patterns to identify a set of files for this fileset.
    *
@@ -195,27 +166,23 @@ public java.lang.String getFilePattern(int index) {
    * 
* * repeated string file_pattern = 1; - * * @param index The index of the value to return. * @return The bytes of the filePattern at the given index. */ - public com.google.protobuf.ByteString getFilePatternBytes(int index) { + public com.google.protobuf.ByteString + getFilePatternBytes(int index) { return filePattern_.getByteString(index); } public static final int FILE_TYPE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object fileType_ = ""; /** - * - * *
    * File type in MIME format, for example, `text/plain`.
    * 
* * string file_type = 2; - * * @return The fileType. */ @java.lang.Override @@ -224,29 +191,29 @@ public java.lang.String getFileType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fileType_ = s; return s; } } /** - * - * *
    * File type in MIME format, for example, `text/plain`.
    * 
* * string file_type = 2; - * * @return The bytes for fileType. */ @java.lang.Override - public com.google.protobuf.ByteString getFileTypeBytes() { + public com.google.protobuf.ByteString + getFileTypeBytes() { java.lang.Object ref = fileType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fileType_ = b; return b; } else { @@ -255,7 +222,6 @@ public com.google.protobuf.ByteString getFileTypeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,7 +233,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < filePattern_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filePattern_.getRaw(i)); } @@ -302,16 +269,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.datacatalog.v1.StorageProperties)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.StorageProperties other = - (com.google.cloud.datacatalog.v1.StorageProperties) obj; + com.google.cloud.datacatalog.v1.StorageProperties other = (com.google.cloud.datacatalog.v1.StorageProperties) obj; - if (!getFilePatternList().equals(other.getFilePatternList())) return false; - if (!getFileType().equals(other.getFileType())) return false; + if (!getFilePatternList() + .equals(other.getFilePatternList())) return false; + if (!getFileType() + .equals(other.getFileType())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -335,148 +303,145 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.StorageProperties parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.StorageProperties parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.StorageProperties parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.StorageProperties parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.StorageProperties parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.StorageProperties parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.StorageProperties parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.StorageProperties parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.StorageProperties parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.StorageProperties parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.StorageProperties parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.StorageProperties parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.StorageProperties parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.StorageProperties parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.StorageProperties prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Details the properties of the underlying storage.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.StorageProperties} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.StorageProperties) com.google.cloud.datacatalog.v1.StoragePropertiesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.DataSourceProto - .internal_static_google_cloud_datacatalog_v1_StorageProperties_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.DataSourceProto.internal_static_google_cloud_datacatalog_v1_StorageProperties_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.DataSourceProto - .internal_static_google_cloud_datacatalog_v1_StorageProperties_fieldAccessorTable + return com.google.cloud.datacatalog.v1.DataSourceProto.internal_static_google_cloud_datacatalog_v1_StorageProperties_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.StorageProperties.class, - com.google.cloud.datacatalog.v1.StorageProperties.Builder.class); + com.google.cloud.datacatalog.v1.StorageProperties.class, com.google.cloud.datacatalog.v1.StorageProperties.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.StorageProperties.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.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; - filePattern_ = com.google.protobuf.LazyStringArrayList.emptyList(); + filePattern_ = + com.google.protobuf.LazyStringArrayList.emptyList(); fileType_ = ""; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.DataSourceProto - .internal_static_google_cloud_datacatalog_v1_StorageProperties_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.DataSourceProto.internal_static_google_cloud_datacatalog_v1_StorageProperties_descriptor; } @java.lang.Override @@ -495,11 +460,8 @@ public com.google.cloud.datacatalog.v1.StorageProperties build() { @java.lang.Override public com.google.cloud.datacatalog.v1.StorageProperties buildPartial() { - com.google.cloud.datacatalog.v1.StorageProperties result = - new com.google.cloud.datacatalog.v1.StorageProperties(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1.StorageProperties result = new com.google.cloud.datacatalog.v1.StorageProperties(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -519,39 +481,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.StorageProperties 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.datacatalog.v1.StorageProperties) { - return mergeFrom((com.google.cloud.datacatalog.v1.StorageProperties) other); + return mergeFrom((com.google.cloud.datacatalog.v1.StorageProperties)other); } else { super.mergeFrom(other); return this; @@ -559,8 +520,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.StorageProperties other) { - if (other == com.google.cloud.datacatalog.v1.StorageProperties.getDefaultInstance()) - return this; + if (other == com.google.cloud.datacatalog.v1.StorageProperties.getDefaultInstance()) return this; if (!other.filePattern_.isEmpty()) { if (filePattern_.isEmpty()) { filePattern_ = other.filePattern_; @@ -602,26 +562,23 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureFilePatternIsMutable(); - filePattern_.add(s); - break; - } // case 10 - case 18: - { - fileType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureFilePatternIsMutable(); + filePattern_.add(s); + break; + } // case 10 + case 18: { + fileType_ = 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) { @@ -631,12 +588,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.LazyStringArrayList filePattern_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureFilePatternIsMutable() { if (!filePattern_.isModifiable()) { filePattern_ = new com.google.protobuf.LazyStringArrayList(filePattern_); @@ -644,8 +599,6 @@ private void ensureFilePatternIsMutable() { bitField0_ |= 0x00000001; } /** - * - * *
      * Patterns to identify a set of files for this fileset.
      *
@@ -670,16 +623,14 @@ private void ensureFilePatternIsMutable() {
      * 
* * repeated string file_pattern = 1; - * * @return A list containing the filePattern. */ - public com.google.protobuf.ProtocolStringList getFilePatternList() { + public com.google.protobuf.ProtocolStringList + getFilePatternList() { filePattern_.makeImmutable(); return filePattern_; } /** - * - * *
      * Patterns to identify a set of files for this fileset.
      *
@@ -704,15 +655,12 @@ public com.google.protobuf.ProtocolStringList getFilePatternList() {
      * 
* * repeated string file_pattern = 1; - * * @return The count of filePattern. */ public int getFilePatternCount() { return filePattern_.size(); } /** - * - * *
      * Patterns to identify a set of files for this fileset.
      *
@@ -737,7 +685,6 @@ public int getFilePatternCount() {
      * 
* * repeated string file_pattern = 1; - * * @param index The index of the element to return. * @return The filePattern at the given index. */ @@ -745,8 +692,6 @@ public java.lang.String getFilePattern(int index) { return filePattern_.get(index); } /** - * - * *
      * Patterns to identify a set of files for this fileset.
      *
@@ -771,16 +716,14 @@ public java.lang.String getFilePattern(int index) {
      * 
* * repeated string file_pattern = 1; - * * @param index The index of the value to return. * @return The bytes of the filePattern at the given index. */ - public com.google.protobuf.ByteString getFilePatternBytes(int index) { + public com.google.protobuf.ByteString + getFilePatternBytes(int index) { return filePattern_.getByteString(index); } /** - * - * *
      * Patterns to identify a set of files for this fileset.
      *
@@ -805,15 +748,13 @@ public com.google.protobuf.ByteString getFilePatternBytes(int index) {
      * 
* * repeated string file_pattern = 1; - * * @param index The index to set the value at. * @param value The filePattern to set. * @return This builder for chaining. */ - public Builder setFilePattern(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilePattern( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFilePatternIsMutable(); filePattern_.set(index, value); bitField0_ |= 0x00000001; @@ -821,8 +762,6 @@ public Builder setFilePattern(int index, java.lang.String value) { return this; } /** - * - * *
      * Patterns to identify a set of files for this fileset.
      *
@@ -847,14 +786,12 @@ public Builder setFilePattern(int index, java.lang.String value) {
      * 
* * repeated string file_pattern = 1; - * * @param value The filePattern to add. * @return This builder for chaining. */ - public Builder addFilePattern(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFilePattern( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFilePatternIsMutable(); filePattern_.add(value); bitField0_ |= 0x00000001; @@ -862,8 +799,6 @@ public Builder addFilePattern(java.lang.String value) { return this; } /** - * - * *
      * Patterns to identify a set of files for this fileset.
      *
@@ -888,20 +823,19 @@ public Builder addFilePattern(java.lang.String value) {
      * 
* * repeated string file_pattern = 1; - * * @param values The filePattern to add. * @return This builder for chaining. */ - public Builder addAllFilePattern(java.lang.Iterable values) { + public Builder addAllFilePattern( + java.lang.Iterable values) { ensureFilePatternIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, filePattern_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, filePattern_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Patterns to identify a set of files for this fileset.
      *
@@ -926,19 +860,16 @@ public Builder addAllFilePattern(java.lang.Iterable values) {
      * 
* * repeated string file_pattern = 1; - * * @return This builder for chaining. */ public Builder clearFilePattern() { - filePattern_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; + filePattern_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** - * - * *
      * Patterns to identify a set of files for this fileset.
      *
@@ -963,14 +894,12 @@ public Builder clearFilePattern() {
      * 
* * repeated string file_pattern = 1; - * * @param value The bytes of the filePattern to add. * @return This builder for chaining. */ - public Builder addFilePatternBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFilePatternBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureFilePatternIsMutable(); filePattern_.add(value); @@ -981,20 +910,18 @@ public Builder addFilePatternBytes(com.google.protobuf.ByteString value) { private java.lang.Object fileType_ = ""; /** - * - * *
      * File type in MIME format, for example, `text/plain`.
      * 
* * string file_type = 2; - * * @return The fileType. */ public java.lang.String getFileType() { java.lang.Object ref = fileType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fileType_ = s; return s; @@ -1003,21 +930,20 @@ public java.lang.String getFileType() { } } /** - * - * *
      * File type in MIME format, for example, `text/plain`.
      * 
* * string file_type = 2; - * * @return The bytes for fileType. */ - public com.google.protobuf.ByteString getFileTypeBytes() { + public com.google.protobuf.ByteString + getFileTypeBytes() { java.lang.Object ref = fileType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fileType_ = b; return b; } else { @@ -1025,35 +951,28 @@ public com.google.protobuf.ByteString getFileTypeBytes() { } } /** - * - * *
      * File type in MIME format, for example, `text/plain`.
      * 
* * string file_type = 2; - * * @param value The fileType to set. * @return This builder for chaining. */ - public Builder setFileType(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFileType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } fileType_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * File type in MIME format, for example, `text/plain`.
      * 
* * string file_type = 2; - * * @return This builder for chaining. */ public Builder clearFileType() { @@ -1063,30 +982,26 @@ public Builder clearFileType() { return this; } /** - * - * *
      * File type in MIME format, for example, `text/plain`.
      * 
* * string file_type = 2; - * * @param value The bytes for fileType to set. * @return This builder for chaining. */ - public Builder setFileTypeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFileTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fileType_ = 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); } @@ -1096,12 +1011,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.StorageProperties) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.StorageProperties) private static final com.google.cloud.datacatalog.v1.StorageProperties DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.StorageProperties(); } @@ -1110,27 +1025,27 @@ public static com.google.cloud.datacatalog.v1.StorageProperties getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StorageProperties parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StorageProperties parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1145,4 +1060,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.StorageProperties getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StoragePropertiesOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StoragePropertiesOrBuilder.java similarity index 87% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StoragePropertiesOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StoragePropertiesOrBuilder.java index 57c7870cc0a2..880c75d04200 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StoragePropertiesOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StoragePropertiesOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/data_source.proto package com.google.cloud.datacatalog.v1; -public interface StoragePropertiesOrBuilder - extends +public interface StoragePropertiesOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.StorageProperties) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Patterns to identify a set of files for this fileset.
    *
@@ -50,13 +32,11 @@ public interface StoragePropertiesOrBuilder
    * 
* * repeated string file_pattern = 1; - * * @return A list containing the filePattern. */ - java.util.List getFilePatternList(); + java.util.List + getFilePatternList(); /** - * - * *
    * Patterns to identify a set of files for this fileset.
    *
@@ -81,13 +61,10 @@ public interface StoragePropertiesOrBuilder
    * 
* * repeated string file_pattern = 1; - * * @return The count of filePattern. */ int getFilePatternCount(); /** - * - * *
    * Patterns to identify a set of files for this fileset.
    *
@@ -112,14 +89,11 @@ public interface StoragePropertiesOrBuilder
    * 
* * repeated string file_pattern = 1; - * * @param index The index of the element to return. * @return The filePattern at the given index. */ java.lang.String getFilePattern(int index); /** - * - * *
    * Patterns to identify a set of files for this fileset.
    *
@@ -144,34 +118,29 @@ public interface StoragePropertiesOrBuilder
    * 
* * repeated string file_pattern = 1; - * * @param index The index of the value to return. * @return The bytes of the filePattern at the given index. */ - com.google.protobuf.ByteString getFilePatternBytes(int index); + com.google.protobuf.ByteString + getFilePatternBytes(int index); /** - * - * *
    * File type in MIME format, for example, `text/plain`.
    * 
* * string file_type = 2; - * * @return The fileType. */ java.lang.String getFileType(); /** - * - * *
    * File type in MIME format, for example, `text/plain`.
    * 
* * string file_type = 2; - * * @return The bytes for fileType. */ - com.google.protobuf.ByteString getFileTypeBytes(); + com.google.protobuf.ByteString + getFileTypeBytes(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestamps.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestamps.java similarity index 70% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestamps.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestamps.java index 3a6b7a35e672..d54970b1388a 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestamps.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestamps.java @@ -1,76 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/timestamps.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Timestamps associated with this resource in a particular system.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.SystemTimestamps} */ -public final class SystemTimestamps extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SystemTimestamps extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.SystemTimestamps) SystemTimestampsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SystemTimestamps.newBuilder() to construct. private SystemTimestamps(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private SystemTimestamps() {} + private SystemTimestamps() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SystemTimestamps(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.Timestamps - .internal_static_google_cloud_datacatalog_v1_SystemTimestamps_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.Timestamps.internal_static_google_cloud_datacatalog_v1_SystemTimestamps_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Timestamps - .internal_static_google_cloud_datacatalog_v1_SystemTimestamps_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Timestamps.internal_static_google_cloud_datacatalog_v1_SystemTimestamps_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.SystemTimestamps.class, - com.google.cloud.datacatalog.v1.SystemTimestamps.Builder.class); + com.google.cloud.datacatalog.v1.SystemTimestamps.class, com.google.cloud.datacatalog.v1.SystemTimestamps.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Creation timestamp of the resource within the given system.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -78,14 +57,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Creation timestamp of the resource within the given system.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return The createTime. */ @java.lang.Override @@ -93,8 +69,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Creation timestamp of the resource within the given system.
    * 
@@ -109,8 +83,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Timestamp of the last modification of the resource or its metadata within
    * a given system.
@@ -122,7 +94,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp update_time = 2; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -130,8 +101,6 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Timestamp of the last modification of the resource or its metadata within
    * a given system.
@@ -143,7 +112,6 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 2; - * * @return The updateTime. */ @java.lang.Override @@ -151,8 +119,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Timestamp of the last modification of the resource or its metadata within
    * a given system.
@@ -173,17 +139,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   public static final int EXPIRE_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp expireTime_;
   /**
-   *
-   *
    * 
    * Output only. Expiration timestamp of the resource within the given system.
    *
    * Currently only applicable to BigQuery resources.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ @java.lang.Override @@ -191,17 +153,13 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** - * - * *
    * Output only. Expiration timestamp of the resource within the given system.
    *
    * Currently only applicable to BigQuery resources.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ @java.lang.Override @@ -209,16 +167,13 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** - * - * *
    * Output only. Expiration timestamp of the resource within the given system.
    *
    * Currently only applicable to BigQuery resources.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -226,7 +181,6 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -238,7 +192,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -258,13 +213,16 @@ 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 (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateTime()); } if (expireTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getExpireTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getExpireTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -274,25 +232,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.datacatalog.v1.SystemTimestamps)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.SystemTimestamps other = - (com.google.cloud.datacatalog.v1.SystemTimestamps) obj; + com.google.cloud.datacatalog.v1.SystemTimestamps other = (com.google.cloud.datacatalog.v1.SystemTimestamps) obj; 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 (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime().equals(other.getExpireTime())) return false; + if (!getExpireTime() + .equals(other.getExpireTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -322,136 +282,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.SystemTimestamps parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.SystemTimestamps parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.SystemTimestamps parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SystemTimestamps parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.SystemTimestamps parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SystemTimestamps parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.SystemTimestamps parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.SystemTimestamps parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.SystemTimestamps parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.SystemTimestamps parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SystemTimestamps parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.SystemTimestamps parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.SystemTimestamps parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SystemTimestamps parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.SystemTimestamps parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.SystemTimestamps prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Timestamps associated with this resource in a particular system.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.SystemTimestamps} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.SystemTimestamps) com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.Timestamps - .internal_static_google_cloud_datacatalog_v1_SystemTimestamps_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.Timestamps.internal_static_google_cloud_datacatalog_v1_SystemTimestamps_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Timestamps - .internal_static_google_cloud_datacatalog_v1_SystemTimestamps_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Timestamps.internal_static_google_cloud_datacatalog_v1_SystemTimestamps_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.SystemTimestamps.class, - com.google.cloud.datacatalog.v1.SystemTimestamps.Builder.class); + com.google.cloud.datacatalog.v1.SystemTimestamps.class, com.google.cloud.datacatalog.v1.SystemTimestamps.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.SystemTimestamps.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -475,9 +431,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.Timestamps - .internal_static_google_cloud_datacatalog_v1_SystemTimestamps_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Timestamps.internal_static_google_cloud_datacatalog_v1_SystemTimestamps_descriptor; } @java.lang.Override @@ -496,11 +452,8 @@ public com.google.cloud.datacatalog.v1.SystemTimestamps build() { @java.lang.Override public com.google.cloud.datacatalog.v1.SystemTimestamps buildPartial() { - com.google.cloud.datacatalog.v1.SystemTimestamps result = - new com.google.cloud.datacatalog.v1.SystemTimestamps(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1.SystemTimestamps result = new com.google.cloud.datacatalog.v1.SystemTimestamps(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -508,13 +461,19 @@ public com.google.cloud.datacatalog.v1.SystemTimestamps buildPartial() { private void buildPartial0(com.google.cloud.datacatalog.v1.SystemTimestamps 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.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.expireTime_ = expireTimeBuilder_ == null ? expireTime_ : expireTimeBuilder_.build(); + result.expireTime_ = expireTimeBuilder_ == null + ? expireTime_ + : expireTimeBuilder_.build(); } } @@ -522,39 +481,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.SystemTimestamps 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.datacatalog.v1.SystemTimestamps) { - return mergeFrom((com.google.cloud.datacatalog.v1.SystemTimestamps) other); + return mergeFrom((com.google.cloud.datacatalog.v1.SystemTimestamps)other); } else { super.mergeFrom(other); return this; @@ -562,8 +520,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.SystemTimestamps other) { - if (other == com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance()) - return this; + if (other == com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -599,31 +556,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getExpireTimeFieldBuilder().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) { @@ -633,52 +592,38 @@ 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_; /** - * - * *
      * Creation timestamp of the resource within the given system.
      * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Creation timestamp of the resource within the given system.
      * 
* * .google.protobuf.Timestamp create_time = 1; - * * @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(); } } /** - * - * *
      * Creation timestamp of the resource within the given system.
      * 
@@ -699,15 +644,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Creation timestamp of the resource within the given system.
      * 
* * .google.protobuf.Timestamp create_time = 1; */ - 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 { @@ -718,8 +662,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Creation timestamp of the resource within the given system.
      * 
@@ -728,9 +670,9 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal */ 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; @@ -743,8 +685,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Creation timestamp of the resource within the given system.
      * 
@@ -762,8 +702,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Creation timestamp of the resource within the given system.
      * 
@@ -776,8 +714,6 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Creation timestamp of the resource within the given system.
      * 
@@ -788,14 +724,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_; } } /** - * - * *
      * Creation timestamp of the resource within the given system.
      * 
@@ -803,17 +736,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_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> 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_; @@ -821,13 +751,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Timestamp of the last modification of the resource or its metadata within
      * a given system.
@@ -839,15 +764,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp update_time = 2; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Timestamp of the last modification of the resource or its metadata within
      * a given system.
@@ -859,21 +781,16 @@ public boolean hasUpdateTime() {
      * 
* * .google.protobuf.Timestamp update_time = 2; - * * @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(); } } /** - * - * *
      * Timestamp of the last modification of the resource or its metadata within
      * a given system.
@@ -900,8 +817,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Timestamp of the last modification of the resource or its metadata within
      * a given system.
@@ -914,7 +829,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 2;
      */
-    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 {
@@ -925,8 +841,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Timestamp of the last modification of the resource or its metadata within
      * a given system.
@@ -941,9 +855,9 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && updateTime_ != null
-            && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          updateTime_ != null &&
+          updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getUpdateTimeBuilder().mergeFrom(value);
         } else {
           updateTime_ = value;
@@ -956,8 +870,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Timestamp of the last modification of the resource or its metadata within
      * a given system.
@@ -981,8 +893,6 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Timestamp of the last modification of the resource or its metadata within
      * a given system.
@@ -1001,8 +911,6 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Timestamp of the last modification of the resource or its metadata within
      * a given system.
@@ -1019,14 +927,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_;
       }
     }
     /**
-     *
-     *
      * 
      * Timestamp of the last modification of the resource or its metadata within
      * a given system.
@@ -1040,17 +945,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         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_;
@@ -1058,64 +960,45 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp expireTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        expireTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. Expiration timestamp of the resource within the given system.
      *
      * Currently only applicable to BigQuery resources.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output only. Expiration timestamp of the resource within the given system.
      *
      * Currently only applicable to BigQuery resources.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Expiration timestamp of the resource within the given system.
      *
      * Currently only applicable to BigQuery resources.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -1131,19 +1014,16 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Expiration timestamp of the resource within the given system.
      *
      * Currently only applicable to BigQuery resources.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); } else { @@ -1154,23 +1034,19 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Expiration timestamp of the resource within the given system.
      *
      * Currently only applicable to BigQuery resources.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && expireTime_ != null - && expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + expireTime_ != null && + expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpireTimeBuilder().mergeFrom(value); } else { expireTime_ = value; @@ -1183,17 +1059,13 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Expiration timestamp of the resource within the given system.
      *
      * Currently only applicable to BigQuery resources.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearExpireTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1206,17 +1078,13 @@ public Builder clearExpireTime() { return this; } /** - * - * *
      * Output only. Expiration timestamp of the resource within the given system.
      *
      * Currently only applicable to BigQuery resources.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { bitField0_ |= 0x00000004; @@ -1224,59 +1092,47 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { return getExpireTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Expiration timestamp of the resource within the given system.
      *
      * Currently only applicable to BigQuery resources.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } } /** - * - * *
      * Output only. Expiration timestamp of the resource within the given system.
      *
      * Currently only applicable to BigQuery resources.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_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> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), getParentForChildren(), isClean()); + expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), + getParentForChildren(), + isClean()); expireTime_ = null; } return expireTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1286,12 +1142,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.SystemTimestamps) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.SystemTimestamps) private static final com.google.cloud.datacatalog.v1.SystemTimestamps DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.SystemTimestamps(); } @@ -1300,27 +1156,27 @@ public static com.google.cloud.datacatalog.v1.SystemTimestamps getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SystemTimestamps parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SystemTimestamps parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,4 +1191,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.SystemTimestamps getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestampsOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestampsOrBuilder.java similarity index 78% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestampsOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestampsOrBuilder.java index 55a88348d282..e6d6a1575877 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestampsOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestampsOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/timestamps.proto package com.google.cloud.datacatalog.v1; -public interface SystemTimestampsOrBuilder - extends +public interface SystemTimestampsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.SystemTimestamps) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Creation timestamp of the resource within the given system.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Creation timestamp of the resource within the given system.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Creation timestamp of the resource within the given system.
    * 
@@ -59,8 +35,6 @@ public interface SystemTimestampsOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Timestamp of the last modification of the resource or its metadata within
    * a given system.
@@ -72,13 +46,10 @@ public interface SystemTimestampsOrBuilder
    * 
* * .google.protobuf.Timestamp update_time = 2; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Timestamp of the last modification of the resource or its metadata within
    * a given system.
@@ -90,13 +61,10 @@ public interface SystemTimestampsOrBuilder
    * 
* * .google.protobuf.Timestamp update_time = 2; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Timestamp of the last modification of the resource or its metadata within
    * a given system.
@@ -112,46 +80,35 @@ public interface SystemTimestampsOrBuilder
   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. Expiration timestamp of the resource within the given system.
    *
    * Currently only applicable to BigQuery resources.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** - * - * *
    * Output only. Expiration timestamp of the resource within the given system.
    *
    * Currently only applicable to BigQuery resources.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** - * - * *
    * Output only. Expiration timestamp of the resource within the given system.
    *
    * Currently only applicable to BigQuery resources.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSourceType.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSourceType.java similarity index 66% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSourceType.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSourceType.java index 23271a76e299..bbfb67051faa 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSourceType.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSourceType.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/table_spec.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Table source type.
  * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.TableSourceType} */ -public enum TableSourceType implements com.google.protobuf.ProtocolMessageEnum { +public enum TableSourceType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Default unknown type.
    * 
@@ -39,8 +21,6 @@ public enum TableSourceType implements com.google.protobuf.ProtocolMessageEnum { */ TABLE_SOURCE_TYPE_UNSPECIFIED(0), /** - * - * *
    * Table view.
    * 
@@ -49,8 +29,6 @@ public enum TableSourceType implements com.google.protobuf.ProtocolMessageEnum { */ BIGQUERY_VIEW(2), /** - * - * *
    * BigQuery native table.
    * 
@@ -59,8 +37,6 @@ public enum TableSourceType implements com.google.protobuf.ProtocolMessageEnum { */ BIGQUERY_TABLE(5), /** - * - * *
    * BigQuery materialized view.
    * 
@@ -72,8 +48,6 @@ public enum TableSourceType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Default unknown type.
    * 
@@ -82,8 +56,6 @@ public enum TableSourceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TABLE_SOURCE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Table view.
    * 
@@ -92,8 +64,6 @@ public enum TableSourceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIGQUERY_VIEW_VALUE = 2; /** - * - * *
    * BigQuery native table.
    * 
@@ -102,8 +72,6 @@ public enum TableSourceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIGQUERY_TABLE_VALUE = 5; /** - * - * *
    * BigQuery materialized view.
    * 
@@ -112,6 +80,7 @@ public enum TableSourceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIGQUERY_MATERIALIZED_VIEW_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -136,53 +105,50 @@ public static TableSourceType valueOf(int value) { */ public static TableSourceType forNumber(int value) { switch (value) { - case 0: - return TABLE_SOURCE_TYPE_UNSPECIFIED; - case 2: - return BIGQUERY_VIEW; - case 5: - return BIGQUERY_TABLE; - case 7: - return BIGQUERY_MATERIALIZED_VIEW; - default: - return null; + case 0: return TABLE_SOURCE_TYPE_UNSPECIFIED; + case 2: return BIGQUERY_VIEW; + case 5: return BIGQUERY_TABLE; + case 7: return BIGQUERY_MATERIALIZED_VIEW; + 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 TableSourceType findValueByNumber(int number) { - return TableSourceType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + TableSourceType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TableSourceType findValueByNumber(int number) { + return TableSourceType.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.datacatalog.v1.TableSpecOuterClass.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.TableSpecOuterClass.getDescriptor().getEnumTypes().get(0); } private static final TableSourceType[] VALUES = values(); - public static TableSourceType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static TableSourceType 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,3 +164,4 @@ private TableSourceType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1.TableSourceType) } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpec.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpec.java similarity index 65% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpec.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpec.java index 9db1a2d1b829..2642845cf3dd 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpec.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpec.java @@ -1,74 +1,52 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/table_spec.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Normal BigQuery table specification.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.TableSpec} */ -public final class TableSpec extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TableSpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.TableSpec) TableSpecOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TableSpec.newBuilder() to construct. private TableSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TableSpec() { groupedEntry_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TableSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.TableSpecOuterClass - .internal_static_google_cloud_datacatalog_v1_TableSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_TableSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.TableSpecOuterClass - .internal_static_google_cloud_datacatalog_v1_TableSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_TableSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.TableSpec.class, - com.google.cloud.datacatalog.v1.TableSpec.Builder.class); + com.google.cloud.datacatalog.v1.TableSpec.class, com.google.cloud.datacatalog.v1.TableSpec.Builder.class); } public static final int GROUPED_ENTRY_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object groupedEntry_ = ""; /** - * - * *
    * Output only. If the table is date-sharded, that is, it matches the
    * `[prefix]YYYYMMDD` name pattern, this field is the Data Catalog resource
@@ -79,10 +57,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * Otherwise, `grouped_entry` is empty.
    * 
* - * - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The groupedEntry. */ @java.lang.Override @@ -91,15 +66,14 @@ public java.lang.String getGroupedEntry() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); groupedEntry_ = s; return s; } } /** - * - * *
    * Output only. If the table is date-sharded, that is, it matches the
    * `[prefix]YYYYMMDD` name pattern, this field is the Data Catalog resource
@@ -110,18 +84,17 @@ public java.lang.String getGroupedEntry() {
    * Otherwise, `grouped_entry` is empty.
    * 
* - * - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for groupedEntry. */ @java.lang.Override - public com.google.protobuf.ByteString getGroupedEntryBytes() { + public com.google.protobuf.ByteString + getGroupedEntryBytes() { java.lang.Object ref = groupedEntry_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); groupedEntry_ = b; return b; } else { @@ -130,7 +103,6 @@ public com.google.protobuf.ByteString getGroupedEntryBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,7 +114,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(groupedEntry_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, groupedEntry_); } @@ -166,15 +139,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.TableSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.TableSpec other = - (com.google.cloud.datacatalog.v1.TableSpec) obj; + com.google.cloud.datacatalog.v1.TableSpec other = (com.google.cloud.datacatalog.v1.TableSpec) obj; - if (!getGroupedEntry().equals(other.getGroupedEntry())) return false; + if (!getGroupedEntry() + .equals(other.getGroupedEntry())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -193,136 +166,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.TableSpec parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.TableSpec parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.TableSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TableSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.TableSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TableSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.TableSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TableSpec parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.TableSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TableSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.TableSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.TableSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TableSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.TableSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.TableSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Normal BigQuery table specification.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.TableSpec} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.TableSpec) com.google.cloud.datacatalog.v1.TableSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.TableSpecOuterClass - .internal_static_google_cloud_datacatalog_v1_TableSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_TableSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.TableSpecOuterClass - .internal_static_google_cloud_datacatalog_v1_TableSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_TableSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.TableSpec.class, - com.google.cloud.datacatalog.v1.TableSpec.Builder.class); + com.google.cloud.datacatalog.v1.TableSpec.class, com.google.cloud.datacatalog.v1.TableSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.TableSpec.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -332,9 +301,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.TableSpecOuterClass - .internal_static_google_cloud_datacatalog_v1_TableSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_TableSpec_descriptor; } @java.lang.Override @@ -353,11 +322,8 @@ public com.google.cloud.datacatalog.v1.TableSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1.TableSpec buildPartial() { - com.google.cloud.datacatalog.v1.TableSpec result = - new com.google.cloud.datacatalog.v1.TableSpec(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1.TableSpec result = new com.google.cloud.datacatalog.v1.TableSpec(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -373,39 +339,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.TableSpec result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.TableSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1.TableSpec) other); + return mergeFrom((com.google.cloud.datacatalog.v1.TableSpec)other); } else { super.mergeFrom(other); return this; @@ -445,19 +410,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - groupedEntry_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + groupedEntry_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -467,13 +430,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object groupedEntry_ = ""; /** - * - * *
      * Output only. If the table is date-sharded, that is, it matches the
      * `[prefix]YYYYMMDD` name pattern, this field is the Data Catalog resource
@@ -484,16 +444,14 @@ public Builder mergeFrom(
      * Otherwise, `grouped_entry` is empty.
      * 
* - * - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The groupedEntry. */ public java.lang.String getGroupedEntry() { java.lang.Object ref = groupedEntry_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); groupedEntry_ = s; return s; @@ -502,8 +460,6 @@ public java.lang.String getGroupedEntry() { } } /** - * - * *
      * Output only. If the table is date-sharded, that is, it matches the
      * `[prefix]YYYYMMDD` name pattern, this field is the Data Catalog resource
@@ -514,17 +470,16 @@ public java.lang.String getGroupedEntry() {
      * Otherwise, `grouped_entry` is empty.
      * 
* - * - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for groupedEntry. */ - public com.google.protobuf.ByteString getGroupedEntryBytes() { + public com.google.protobuf.ByteString + getGroupedEntryBytes() { java.lang.Object ref = groupedEntry_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); groupedEntry_ = b; return b; } else { @@ -532,8 +487,6 @@ public com.google.protobuf.ByteString getGroupedEntryBytes() { } } /** - * - * *
      * Output only. If the table is date-sharded, that is, it matches the
      * `[prefix]YYYYMMDD` name pattern, this field is the Data Catalog resource
@@ -544,25 +497,19 @@ public com.google.protobuf.ByteString getGroupedEntryBytes() {
      * Otherwise, `grouped_entry` is empty.
      * 
* - * - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The groupedEntry to set. * @return This builder for chaining. */ - public Builder setGroupedEntry(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setGroupedEntry( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } groupedEntry_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. If the table is date-sharded, that is, it matches the
      * `[prefix]YYYYMMDD` name pattern, this field is the Data Catalog resource
@@ -573,10 +520,7 @@ public Builder setGroupedEntry(java.lang.String value) {
      * Otherwise, `grouped_entry` is empty.
      * 
* - * - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearGroupedEntry() { @@ -586,8 +530,6 @@ public Builder clearGroupedEntry() { return this; } /** - * - * *
      * Output only. If the table is date-sharded, that is, it matches the
      * `[prefix]YYYYMMDD` name pattern, this field is the Data Catalog resource
@@ -598,26 +540,22 @@ public Builder clearGroupedEntry() {
      * Otherwise, `grouped_entry` is empty.
      * 
* - * - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for groupedEntry to set. * @return This builder for chaining. */ - public Builder setGroupedEntryBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setGroupedEntryBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); groupedEntry_ = 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); } @@ -627,12 +565,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.TableSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.TableSpec) private static final com.google.cloud.datacatalog.v1.TableSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.TableSpec(); } @@ -641,27 +579,27 @@ public static com.google.cloud.datacatalog.v1.TableSpec getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -676,4 +614,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.TableSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOrBuilder.java similarity index 54% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOrBuilder.java index 8cbecb295fca..d1cdaa191062 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/table_spec.proto package com.google.cloud.datacatalog.v1; -public interface TableSpecOrBuilder - extends +public interface TableSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.TableSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. If the table is date-sharded, that is, it matches the
    * `[prefix]YYYYMMDD` name pattern, this field is the Data Catalog resource
@@ -36,16 +18,11 @@ public interface TableSpecOrBuilder
    * Otherwise, `grouped_entry` is empty.
    * 
* - * - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The groupedEntry. */ java.lang.String getGroupedEntry(); /** - * - * *
    * Output only. If the table is date-sharded, that is, it matches the
    * `[prefix]YYYYMMDD` name pattern, this field is the Data Catalog resource
@@ -56,11 +33,9 @@ public interface TableSpecOrBuilder
    * Otherwise, `grouped_entry` is empty.
    * 
* - * - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for groupedEntry. */ - com.google.protobuf.ByteString getGroupedEntryBytes(); + com.google.protobuf.ByteString + getGroupedEntryBytes(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOuterClass.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOuterClass.java new file mode 100644 index 000000000000..2490fdd622d5 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOuterClass.java @@ -0,0 +1,114 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/table_spec.proto + +package com.google.cloud.datacatalog.v1; + +public final class TableSpecOuterClass { + private TableSpecOuterClass() {} + 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_datacatalog_v1_BigQueryTableSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_BigQueryTableSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ViewSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ViewSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_TableSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_TableSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_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/datacatalog/v1/table_spec" + + ".proto\022\033google.cloud.datacatalog.v1\032\037goo" + + "gle/api/field_behavior.proto\032\031google/api" + + "/resource.proto\"\351\001\n\021BigQueryTableSpec\022M\n" + + "\021table_source_type\030\001 \001(\0162,.google.cloud." + + "datacatalog.v1.TableSourceTypeB\004\342A\001\003\022:\n\t" + + "view_spec\030\002 \001(\0132%.google.cloud.datacatal" + + "og.v1.ViewSpecH\000\022<\n\ntable_spec\030\003 \001(\0132&.g" + + "oogle.cloud.datacatalog.v1.TableSpecH\000B\013" + + "\n\ttype_spec\"$\n\010ViewSpec\022\030\n\nview_query\030\001 " + + "\001(\tB\004\342A\001\003\"M\n\tTableSpec\022@\n\rgrouped_entry\030" + + "\001 \001(\tB)\342A\001\003\372A\"\n datacatalog.googleapis.c" + + "om/Entry\"\261\001\n\027BigQueryDateShardedSpec\022:\n\007" + + "dataset\030\001 \001(\tB)\342A\001\003\372A\"\n datacatalog.goog" + + "leapis.com/Entry\022\032\n\014table_prefix\030\002 \001(\tB\004" + + "\342A\001\003\022\031\n\013shard_count\030\003 \001(\003B\004\342A\001\003\022#\n\025lates" + + "t_shard_resource\030\004 \001(\tB\004\342A\001\003*{\n\017TableSou" + + "rceType\022!\n\035TABLE_SOURCE_TYPE_UNSPECIFIED" + + "\020\000\022\021\n\rBIGQUERY_VIEW\020\002\022\022\n\016BIGQUERY_TABLE\020" + + "\005\022\036\n\032BIGQUERY_MATERIALIZED_VIEW\020\007B\306\001\n\037co" + + "m.google.cloud.datacatalog.v1P\001ZAcloud.g" + + "oogle.com/go/datacatalog/apiv1/datacatal" + + "ogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud.Dat" + + "aCatalog.V1\312\002\033Google\\Cloud\\DataCatalog\\V" + + "1\352\002\036Google::Cloud::DataCatalog::V1b\006prot" + + "o3" + }; + 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_datacatalog_v1_BigQueryTableSpec_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1_BigQueryTableSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_BigQueryTableSpec_descriptor, + new java.lang.String[] { "TableSourceType", "ViewSpec", "TableSpec", "TypeSpec", }); + internal_static_google_cloud_datacatalog_v1_ViewSpec_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1_ViewSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ViewSpec_descriptor, + new java.lang.String[] { "ViewQuery", }); + internal_static_google_cloud_datacatalog_v1_TableSpec_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_datacatalog_v1_TableSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_TableSpec_descriptor, + new java.lang.String[] { "GroupedEntry", }); + internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_descriptor, + new java.lang.String[] { "Dataset", "TablePrefix", "ShardCount", "LatestShardResource", }); + 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tag.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tag.java similarity index 69% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tag.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tag.java index bebc724a18b6..da9e2bcc74ca 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tag.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tag.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/tags.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Tags contain custom metadata and are attached to Data Catalog resources. Tags
  * conform with the specification of their tag template.
@@ -32,16 +15,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.Tag}
  */
-public final class Tag extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Tag extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.Tag)
     TagOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Tag.newBuilder() to construct.
   private Tag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Tag() {
     name_ = "";
     template_ = "";
@@ -50,49 +32,45 @@ private Tag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Tag();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Tags
-        .internal_static_google_cloud_datacatalog_v1_Tag_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_Tag_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 internalGetFields();
       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.datacatalog.v1.Tags
-        .internal_static_google_cloud_datacatalog_v1_Tag_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_Tag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.Tag.class,
-            com.google.cloud.datacatalog.v1.Tag.Builder.class);
+            com.google.cloud.datacatalog.v1.Tag.class, com.google.cloud.datacatalog.v1.Tag.Builder.class);
   }
 
   private int scopeCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object scope_;
-
   public enum ScopeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     COLUMN(4),
     SCOPE_NOT_SET(0);
     private final int value;
-
     private ScopeCase(int value) {
       this.value = value;
     }
@@ -108,31 +86,26 @@ public static ScopeCase valueOf(int value) {
 
     public static ScopeCase forNumber(int value) {
       switch (value) {
-        case 4:
-          return COLUMN;
-        case 0:
-          return SCOPE_NOT_SET;
-        default:
-          return null;
+        case 4: return COLUMN;
+        case 0: return SCOPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ScopeCase getScopeCase() {
-    return ScopeCase.forNumber(scopeCase_);
+  public ScopeCase
+  getScopeCase() {
+    return ScopeCase.forNumber(
+        scopeCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The resource name of the tag in URL format where tag ID is a
    * system-generated identifier.
@@ -142,7 +115,6 @@ public ScopeCase getScopeCase() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -151,15 +123,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The resource name of the tag in URL format where tag ID is a
    * system-generated identifier.
@@ -169,15 +140,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 { @@ -186,12 +158,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int TEMPLATE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object template_ = ""; /** - * - * *
    * Required. The resource name of the tag template this tag uses. Example:
    *
@@ -201,7 +170,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The template. */ @java.lang.Override @@ -210,15 +178,14 @@ public java.lang.String getTemplate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); template_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tag template this tag uses. Example:
    *
@@ -228,15 +195,16 @@ public java.lang.String getTemplate() {
    * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for template. */ @java.lang.Override - public com.google.protobuf.ByteString getTemplateBytes() { + public com.google.protobuf.ByteString + getTemplateBytes() { java.lang.Object ref = template_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); template_ = b; return b; } else { @@ -245,18 +213,14 @@ public com.google.protobuf.ByteString getTemplateBytes() { } public static final int TEMPLATE_DISPLAY_NAME_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object templateDisplayName_ = ""; /** - * - * *
    * Output only. The display name of the tag template.
    * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The templateDisplayName. */ @java.lang.Override @@ -265,29 +229,29 @@ public java.lang.String getTemplateDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); templateDisplayName_ = s; return s; } } /** - * - * *
    * Output only. The display name of the tag template.
    * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for templateDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString getTemplateDisplayNameBytes() { + public com.google.protobuf.ByteString + getTemplateDisplayNameBytes() { java.lang.Object ref = templateDisplayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); templateDisplayName_ = b; return b; } else { @@ -297,8 +261,6 @@ public com.google.protobuf.ByteString getTemplateDisplayNameBytes() { public static final int COLUMN_FIELD_NUMBER = 4; /** - * - * *
    * Resources like entry can have schemas associated with them. This scope
    * allows you to attach tags to an individual column based on that schema.
@@ -308,15 +270,12 @@ public com.google.protobuf.ByteString getTemplateDisplayNameBytes() {
    * 
* * string column = 4; - * * @return Whether the column field is set. */ public boolean hasColumn() { return scopeCase_ == 4; } /** - * - * *
    * Resources like entry can have schemas associated with them. This scope
    * allows you to attach tags to an individual column based on that schema.
@@ -326,7 +285,6 @@ public boolean hasColumn() {
    * 
* * string column = 4; - * * @return The column. */ public java.lang.String getColumn() { @@ -337,7 +295,8 @@ 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(); if (scopeCase_ == 4) { scope_ = s; @@ -346,8 +305,6 @@ public java.lang.String getColumn() { } } /** - * - * *
    * Resources like entry can have schemas associated with them. This scope
    * allows you to attach tags to an individual column based on that schema.
@@ -357,17 +314,18 @@ public java.lang.String getColumn() {
    * 
* * string column = 4; - * * @return The bytes for column. */ - public com.google.protobuf.ByteString getColumnBytes() { + public com.google.protobuf.ByteString + getColumnBytes() { java.lang.Object ref = ""; if (scopeCase_ == 4) { ref = scope_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (scopeCase_ == 4) { scope_ = b; } @@ -378,39 +336,32 @@ public com.google.protobuf.ByteString getColumnBytes() { } public static final int FIELDS_FIELD_NUMBER = 3; - private static final class FieldsDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.datacatalog.v1.TagField> - defaultEntry = + java.lang.String, com.google.cloud.datacatalog.v1.TagField> defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.datacatalog.v1.Tags - .internal_static_google_cloud_datacatalog_v1_Tag_FieldsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.datacatalog.v1.TagField.getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_Tag_FieldsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.datacatalog.v1.TagField.getDefaultInstance()); } - @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1.TagField> fields_; private com.google.protobuf.MapField - fields_; - - private com.google.protobuf.MapField - internalGetFields() { + internalGetFields() { if (fields_ == null) { - return com.google.protobuf.MapField.emptyMapField(FieldsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + FieldsDefaultEntryHolder.defaultEntry); } return fields_; } - public int getFieldsCount() { return internalGetFields().getMap().size(); } /** - * - * *
    * Required. Maps the ID of a tag field to its value and additional
    * information about that field.
@@ -419,26 +370,23 @@ public int getFieldsCount() {
    * must have at least 1 field and at most 500 fields.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public boolean containsFields(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsFields( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetFields().getMap().containsKey(key); } - /** Use {@link #getFieldsMap()} instead. */ + /** + * Use {@link #getFieldsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getFields() { return getFieldsMap(); } /** - * - * *
    * Required. Maps the ID of a tag field to its value and additional
    * information about that field.
@@ -447,17 +395,13 @@ public java.util.Map
    * must have at least 1 field and at most 500 fields.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.Map getFieldsMap() { return internalGetFields().getMap(); } /** - * - * *
    * Required. Maps the ID of a tag field to its value and additional
    * information about that field.
@@ -466,25 +410,20 @@ public java.util.Map
    * must have at least 1 field and at most 500 fields.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public /* nullable */ com.google.cloud.datacatalog.v1.TagField getFieldsOrDefault( + public /* nullable */ +com.google.cloud.datacatalog.v1.TagField getFieldsOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.datacatalog.v1.TagField defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } +com.google.cloud.datacatalog.v1.TagField defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetFields().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Required. Maps the ID of a tag field to its value and additional
    * information about that field.
@@ -493,15 +432,12 @@ public java.util.Map
    * must have at least 1 field and at most 500 fields.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.TagField getFieldsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public com.google.cloud.datacatalog.v1.TagField getFieldsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetFields().getMap(); if (!map.containsKey(key)) { @@ -511,7 +447,6 @@ public com.google.cloud.datacatalog.v1.TagField getFieldsOrThrow(java.lang.Strin } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -523,15 +458,20 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(template_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, template_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetFields(), FieldsDefaultEntryHolder.defaultEntry, 3); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetFields(), + FieldsDefaultEntryHolder.defaultEntry, + 3); if (scopeCase_ == 4) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, scope_); } @@ -553,16 +493,15 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(template_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, template_); } - for (java.util.Map.Entry entry : - internalGetFields().getMap().entrySet()) { + for (java.util.Map.Entry entry + : internalGetFields().getMap().entrySet()) { com.google.protobuf.MapEntry - fields__ = - FieldsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, fields__); + fields__ = FieldsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, fields__); } if (scopeCase_ == 4) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, scope_); @@ -578,21 +517,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.datacatalog.v1.Tag)) { return super.equals(obj); } com.google.cloud.datacatalog.v1.Tag other = (com.google.cloud.datacatalog.v1.Tag) obj; - if (!getName().equals(other.getName())) return false; - if (!getTemplate().equals(other.getTemplate())) return false; - if (!getTemplateDisplayName().equals(other.getTemplateDisplayName())) return false; - if (!internalGetFields().equals(other.internalGetFields())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getTemplate() + .equals(other.getTemplate())) return false; + if (!getTemplateDisplayName() + .equals(other.getTemplateDisplayName())) return false; + if (!internalGetFields().equals( + other.internalGetFields())) return false; if (!getScopeCase().equals(other.getScopeCase())) return false; switch (scopeCase_) { case 4: - if (!getColumn().equals(other.getColumn())) return false; + if (!getColumn() + .equals(other.getColumn())) return false; break; case 0: default: @@ -631,103 +575,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.Tag parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.Tag parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.Tag parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.Tag parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.datacatalog.v1.Tag parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.Tag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.Tag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.Tag parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.Tag parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.Tag parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.cloud.datacatalog.v1.Tag parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.Tag parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.Tag parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.Tag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.Tag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Tags contain custom metadata and are attached to Data Catalog resources. Tags
    * conform with the specification of their tag template.
@@ -739,52 +679,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.Tag}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.Tag)
       com.google.cloud.datacatalog.v1.TagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Tags
-          .internal_static_google_cloud_datacatalog_v1_Tag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_Tag_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 3:
           return internalGetFields();
         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 internalGetMutableFields();
         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.datacatalog.v1.Tags
-          .internal_static_google_cloud_datacatalog_v1_Tag_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_Tag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.Tag.class,
-              com.google.cloud.datacatalog.v1.Tag.Builder.class);
+              com.google.cloud.datacatalog.v1.Tag.class, com.google.cloud.datacatalog.v1.Tag.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.Tag.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -799,9 +742,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Tags
-          .internal_static_google_cloud_datacatalog_v1_Tag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_Tag_descriptor;
     }
 
     @java.lang.Override
@@ -821,9 +764,7 @@ public com.google.cloud.datacatalog.v1.Tag build() {
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.Tag buildPartial() {
       com.google.cloud.datacatalog.v1.Tag result = new com.google.cloud.datacatalog.v1.Tag(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -855,39 +796,38 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.Tag result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.Tag) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.Tag) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.Tag)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -911,20 +851,19 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.Tag other) {
         bitField0_ |= 0x00000004;
         onChanged();
       }
-      internalGetMutableFields().mergeFrom(other.internalGetFields());
+      internalGetMutableFields().mergeFrom(
+          other.internalGetFields());
       bitField0_ |= 0x00000010;
       switch (other.getScopeCase()) {
-        case COLUMN:
-          {
-            scopeCase_ = 4;
-            scope_ = other.scope_;
-            onChanged();
-            break;
-          }
-        case SCOPE_NOT_SET:
-          {
-            break;
-          }
+        case COLUMN: {
+          scopeCase_ = 4;
+          scope_ = other.scope_;
+          onChanged();
+          break;
+        }
+        case SCOPE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -952,52 +891,42 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                template_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                com.google.protobuf.MapEntry<
-                        java.lang.String, com.google.cloud.datacatalog.v1.TagField>
-                    fields__ =
-                        input.readMessage(
-                            FieldsDefaultEntryHolder.defaultEntry.getParserForType(),
-                            extensionRegistry);
-                internalGetMutableFields()
-                    .getMutableMap()
-                    .put(fields__.getKey(), fields__.getValue());
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 26
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                scopeCase_ = 4;
-                scope_ = s;
-                break;
-              } // case 34
-            case 42:
-              {
-                templateDisplayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              template_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              com.google.protobuf.MapEntry
+              fields__ = input.readMessage(
+                  FieldsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableFields().getMutableMap().put(
+                  fields__.getKey(), fields__.getValue());
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 26
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
+              scopeCase_ = 4;
+              scope_ = s;
+              break;
+            } // case 34
+            case 42: {
+              templateDisplayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              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) {
@@ -1007,12 +936,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int scopeCase_ = 0;
     private java.lang.Object scope_;
-
-    public ScopeCase getScopeCase() {
-      return ScopeCase.forNumber(scopeCase_);
+    public ScopeCase
+        getScopeCase() {
+      return ScopeCase.forNumber(
+          scopeCase_);
     }
 
     public Builder clearScope() {
@@ -1026,8 +955,6 @@ public Builder clearScope() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The resource name of the tag in URL format where tag ID is a
      * system-generated identifier.
@@ -1037,13 +964,13 @@ public Builder clearScope() {
      * 
* * 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; @@ -1052,8 +979,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the tag in URL format where tag ID is a
      * system-generated identifier.
@@ -1063,14 +988,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 { @@ -1078,8 +1004,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The resource name of the tag in URL format where tag ID is a
      * system-generated identifier.
@@ -1089,22 +1013,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The resource name of the tag in URL format where tag ID is a
      * system-generated identifier.
@@ -1114,7 +1034,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1124,8 +1043,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The resource name of the tag in URL format where tag ID is a
      * system-generated identifier.
@@ -1135,14 +1052,12 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1152,8 +1067,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object template_ = ""; /** - * - * *
      * Required. The resource name of the tag template this tag uses. Example:
      *
@@ -1163,13 +1076,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The template. */ public java.lang.String getTemplate() { java.lang.Object ref = template_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); template_ = s; return s; @@ -1178,8 +1091,6 @@ public java.lang.String getTemplate() { } } /** - * - * *
      * Required. The resource name of the tag template this tag uses. Example:
      *
@@ -1189,14 +1100,15 @@ public java.lang.String getTemplate() {
      * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for template. */ - public com.google.protobuf.ByteString getTemplateBytes() { + public com.google.protobuf.ByteString + getTemplateBytes() { java.lang.Object ref = template_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); template_ = b; return b; } else { @@ -1204,8 +1116,6 @@ public com.google.protobuf.ByteString getTemplateBytes() { } } /** - * - * *
      * Required. The resource name of the tag template this tag uses. Example:
      *
@@ -1215,22 +1125,18 @@ public com.google.protobuf.ByteString getTemplateBytes() {
      * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The template to set. * @return This builder for chaining. */ - public Builder setTemplate(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTemplate( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } template_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tag template this tag uses. Example:
      *
@@ -1240,7 +1146,6 @@ public Builder setTemplate(java.lang.String value) {
      * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTemplate() { @@ -1250,8 +1155,6 @@ public Builder clearTemplate() { return this; } /** - * - * *
      * Required. The resource name of the tag template this tag uses. Example:
      *
@@ -1261,14 +1164,12 @@ public Builder clearTemplate() {
      * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for template to set. * @return This builder for chaining. */ - public Builder setTemplateBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTemplateBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); template_ = value; bitField0_ |= 0x00000002; @@ -1278,20 +1179,18 @@ public Builder setTemplateBytes(com.google.protobuf.ByteString value) { private java.lang.Object templateDisplayName_ = ""; /** - * - * *
      * Output only. The display name of the tag template.
      * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The templateDisplayName. */ public java.lang.String getTemplateDisplayName() { java.lang.Object ref = templateDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); templateDisplayName_ = s; return s; @@ -1300,21 +1199,20 @@ public java.lang.String getTemplateDisplayName() { } } /** - * - * *
      * Output only. The display name of the tag template.
      * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for templateDisplayName. */ - public com.google.protobuf.ByteString getTemplateDisplayNameBytes() { + public com.google.protobuf.ByteString + getTemplateDisplayNameBytes() { java.lang.Object ref = templateDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); templateDisplayName_ = b; return b; } else { @@ -1322,35 +1220,28 @@ public com.google.protobuf.ByteString getTemplateDisplayNameBytes() { } } /** - * - * *
      * Output only. The display name of the tag template.
      * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The templateDisplayName to set. * @return This builder for chaining. */ - public Builder setTemplateDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTemplateDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } templateDisplayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Output only. The display name of the tag template.
      * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearTemplateDisplayName() { @@ -1360,21 +1251,17 @@ public Builder clearTemplateDisplayName() { return this; } /** - * - * *
      * Output only. The display name of the tag template.
      * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for templateDisplayName to set. * @return This builder for chaining. */ - public Builder setTemplateDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTemplateDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); templateDisplayName_ = value; bitField0_ |= 0x00000004; @@ -1383,8 +1270,6 @@ public Builder setTemplateDisplayNameBytes(com.google.protobuf.ByteString value) } /** - * - * *
      * Resources like entry can have schemas associated with them. This scope
      * allows you to attach tags to an individual column based on that schema.
@@ -1394,7 +1279,6 @@ public Builder setTemplateDisplayNameBytes(com.google.protobuf.ByteString value)
      * 
* * string column = 4; - * * @return Whether the column field is set. */ @java.lang.Override @@ -1402,8 +1286,6 @@ public boolean hasColumn() { return scopeCase_ == 4; } /** - * - * *
      * Resources like entry can have schemas associated with them. This scope
      * allows you to attach tags to an individual column based on that schema.
@@ -1413,7 +1295,6 @@ public boolean hasColumn() {
      * 
* * string column = 4; - * * @return The column. */ @java.lang.Override @@ -1423,7 +1304,8 @@ public java.lang.String getColumn() { ref = scope_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (scopeCase_ == 4) { scope_ = s; @@ -1434,8 +1316,6 @@ public java.lang.String getColumn() { } } /** - * - * *
      * Resources like entry can have schemas associated with them. This scope
      * allows you to attach tags to an individual column based on that schema.
@@ -1445,18 +1325,19 @@ public java.lang.String getColumn() {
      * 
* * string column = 4; - * * @return The bytes for column. */ @java.lang.Override - public com.google.protobuf.ByteString getColumnBytes() { + public com.google.protobuf.ByteString + getColumnBytes() { java.lang.Object ref = ""; if (scopeCase_ == 4) { ref = scope_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (scopeCase_ == 4) { scope_ = b; } @@ -1466,8 +1347,6 @@ public com.google.protobuf.ByteString getColumnBytes() { } } /** - * - * *
      * Resources like entry can have schemas associated with them. This scope
      * allows you to attach tags to an individual column based on that schema.
@@ -1477,22 +1356,18 @@ public com.google.protobuf.ByteString getColumnBytes() {
      * 
* * string column = 4; - * * @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(); } scopeCase_ = 4; scope_ = value; onChanged(); return this; } /** - * - * *
      * Resources like entry can have schemas associated with them. This scope
      * allows you to attach tags to an individual column based on that schema.
@@ -1502,7 +1377,6 @@ public Builder setColumn(java.lang.String value) {
      * 
* * string column = 4; - * * @return This builder for chaining. */ public Builder clearColumn() { @@ -1514,8 +1388,6 @@ public Builder clearColumn() { return this; } /** - * - * *
      * Resources like entry can have schemas associated with them. This scope
      * allows you to attach tags to an individual column based on that schema.
@@ -1525,14 +1397,12 @@ public Builder clearColumn() {
      * 
* * string column = 4; - * * @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); scopeCase_ = 4; scope_ = value; @@ -1540,21 +1410,21 @@ public Builder setColumnBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField - fields_; - + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1.TagField> fields_; private com.google.protobuf.MapField internalGetFields() { if (fields_ == null) { - return com.google.protobuf.MapField.emptyMapField(FieldsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + FieldsDefaultEntryHolder.defaultEntry); } return fields_; } - private com.google.protobuf.MapField internalGetMutableFields() { if (fields_ == null) { - fields_ = com.google.protobuf.MapField.newMapField(FieldsDefaultEntryHolder.defaultEntry); + fields_ = com.google.protobuf.MapField.newMapField( + FieldsDefaultEntryHolder.defaultEntry); } if (!fields_.isMutable()) { fields_ = fields_.copy(); @@ -1563,13 +1433,10 @@ public Builder setColumnBytes(com.google.protobuf.ByteString value) { onChanged(); return fields_; } - public int getFieldsCount() { return internalGetFields().getMap().size(); } /** - * - * *
      * Required. Maps the ID of a tag field to its value and additional
      * information about that field.
@@ -1578,26 +1445,23 @@ public int getFieldsCount() {
      * must have at least 1 field and at most 500 fields.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public boolean containsFields(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsFields( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetFields().getMap().containsKey(key); } - /** Use {@link #getFieldsMap()} instead. */ + /** + * Use {@link #getFieldsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getFields() { return getFieldsMap(); } /** - * - * *
      * Required. Maps the ID of a tag field to its value and additional
      * information about that field.
@@ -1606,18 +1470,13 @@ public java.util.Map
      * must have at least 1 field and at most 500 fields.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.Map - getFieldsMap() { + public java.util.Map getFieldsMap() { return internalGetFields().getMap(); } /** - * - * *
      * Required. Maps the ID of a tag field to its value and additional
      * information about that field.
@@ -1626,25 +1485,20 @@ public java.util.Map
      * must have at least 1 field and at most 500 fields.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public /* nullable */ com.google.cloud.datacatalog.v1.TagField getFieldsOrDefault( + public /* nullable */ +com.google.cloud.datacatalog.v1.TagField getFieldsOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.datacatalog.v1.TagField defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } +com.google.cloud.datacatalog.v1.TagField defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetFields().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Required. Maps the ID of a tag field to its value and additional
      * information about that field.
@@ -1653,15 +1507,12 @@ public java.util.Map
      * must have at least 1 field and at most 500 fields.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.TagField getFieldsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public com.google.cloud.datacatalog.v1.TagField getFieldsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetFields().getMap(); if (!map.containsKey(key)) { @@ -1669,15 +1520,13 @@ public com.google.cloud.datacatalog.v1.TagField getFieldsOrThrow(java.lang.Strin } return map.get(key); } - public Builder clearFields() { bitField0_ = (bitField0_ & ~0x00000010); - internalGetMutableFields().getMutableMap().clear(); + internalGetMutableFields().getMutableMap() + .clear(); return this; } /** - * - * *
      * Required. Maps the ID of a tag field to its value and additional
      * information about that field.
@@ -1686,18 +1535,18 @@ public Builder clearFields() {
      * must have at least 1 field and at most 500 fields.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder removeFields(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableFields().getMutableMap().remove(key); + public Builder removeFields( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableFields().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated public java.util.Map getMutableFields() { @@ -1705,8 +1554,6 @@ public Builder removeFields(java.lang.String key) { return internalGetMutableFields().getMutableMap(); } /** - * - * *
      * Required. Maps the ID of a tag field to its value and additional
      * information about that field.
@@ -1715,24 +1562,19 @@ public Builder removeFields(java.lang.String key) {
      * must have at least 1 field and at most 500 fields.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder putFields(java.lang.String key, com.google.cloud.datacatalog.v1.TagField value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableFields().getMutableMap().put(key, value); + public Builder putFields( + java.lang.String key, + com.google.cloud.datacatalog.v1.TagField value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableFields().getMutableMap() + .put(key, value); bitField0_ |= 0x00000010; return this; } /** - * - * *
      * Required. Maps the ID of a tag field to its value and additional
      * information about that field.
@@ -1741,19 +1583,18 @@ public Builder putFields(java.lang.String key, com.google.cloud.datacatalog.v1.T
      * must have at least 1 field and at most 500 fields.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder putAllFields( java.util.Map values) { - internalGetMutableFields().getMutableMap().putAll(values); + internalGetMutableFields().getMutableMap() + .putAll(values); bitField0_ |= 0x00000010; return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1763,12 +1604,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.Tag) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.Tag) private static final com.google.cloud.datacatalog.v1.Tag DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.Tag(); } @@ -1777,27 +1618,27 @@ public static com.google.cloud.datacatalog.v1.Tag getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Tag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Tag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1812,4 +1653,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.Tag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagField.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagField.java similarity index 73% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagField.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagField.java index b3fc37e4a477..2b019dff11ac 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagField.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagField.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/tags.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Contains the value and additional information on a field within
  * a [Tag][google.cloud.datacatalog.v1.Tag].
@@ -28,128 +11,112 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.TagField}
  */
-public final class TagField extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TagField extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.TagField)
     TagFieldOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TagField.newBuilder() to construct.
   private TagField(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private TagField() {
     displayName_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TagField();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Tags
-        .internal_static_google_cloud_datacatalog_v1_TagField_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagField_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Tags
-        .internal_static_google_cloud_datacatalog_v1_TagField_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagField_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.TagField.class,
-            com.google.cloud.datacatalog.v1.TagField.Builder.class);
+            com.google.cloud.datacatalog.v1.TagField.class, com.google.cloud.datacatalog.v1.TagField.Builder.class);
   }
 
-  public interface EnumValueOrBuilder
-      extends
+  public interface EnumValueOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.TagField.EnumValue)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The display name of the enum value.
      * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
      * The display name of the enum value.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); } /** - * - * *
    * An enum value.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.TagField.EnumValue} */ - public static final class EnumValue extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class EnumValue extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.TagField.EnumValue) EnumValueOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use EnumValue.newBuilder() to construct. private EnumValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private EnumValue() { displayName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new EnumValue(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.Tags - .internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Tags - .internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.TagField.EnumValue.class, - com.google.cloud.datacatalog.v1.TagField.EnumValue.Builder.class); + com.google.cloud.datacatalog.v1.TagField.EnumValue.class, com.google.cloud.datacatalog.v1.TagField.EnumValue.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
      * The display name of the enum value.
      * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -158,29 +125,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
      * The display name of the enum value.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -189,7 +156,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +167,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -225,15 +192,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.TagField.EnumValue)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.TagField.EnumValue other = - (com.google.cloud.datacatalog.v1.TagField.EnumValue) obj; + com.google.cloud.datacatalog.v1.TagField.EnumValue other = (com.google.cloud.datacatalog.v1.TagField.EnumValue) obj; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -253,93 +220,89 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.TagField.EnumValue parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.TagField.EnumValue parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TagField.EnumValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.TagField.EnumValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TagField.EnumValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.TagField.EnumValue parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.TagField.EnumValue parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.TagField.EnumValue parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.TagField.EnumValue parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TagField.EnumValue parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.TagField.EnumValue parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.TagField.EnumValue parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TagField.EnumValue parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.TagField.EnumValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.TagField.EnumValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -349,41 +312,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * An enum value.
      * 
* * Protobuf type {@code google.cloud.datacatalog.v1.TagField.EnumValue} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.TagField.EnumValue) com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.Tags - .internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Tags - .internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.TagField.EnumValue.class, - com.google.cloud.datacatalog.v1.TagField.EnumValue.Builder.class); + com.google.cloud.datacatalog.v1.TagField.EnumValue.class, com.google.cloud.datacatalog.v1.TagField.EnumValue.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.TagField.EnumValue.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -393,9 +354,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.Tags - .internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_descriptor; } @java.lang.Override @@ -414,11 +375,8 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValue build() { @java.lang.Override public com.google.cloud.datacatalog.v1.TagField.EnumValue buildPartial() { - com.google.cloud.datacatalog.v1.TagField.EnumValue result = - new com.google.cloud.datacatalog.v1.TagField.EnumValue(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1.TagField.EnumValue result = new com.google.cloud.datacatalog.v1.TagField.EnumValue(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -434,41 +392,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.TagField.EnumValue 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.datacatalog.v1.TagField.EnumValue) { - return mergeFrom((com.google.cloud.datacatalog.v1.TagField.EnumValue) other); + return mergeFrom((com.google.cloud.datacatalog.v1.TagField.EnumValue)other); } else { super.mergeFrom(other); return this; @@ -476,8 +431,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.TagField.EnumValue other) { - if (other == com.google.cloud.datacatalog.v1.TagField.EnumValue.getDefaultInstance()) - return this; + if (other == com.google.cloud.datacatalog.v1.TagField.EnumValue.getDefaultInstance()) return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -509,19 +463,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -531,25 +483,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object displayName_ = ""; /** - * - * *
        * The display name of the enum value.
        * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -558,21 +507,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
        * The display name of the enum value.
        * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -580,35 +528,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
        * The display name of the enum value.
        * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The display name of the enum value.
        * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -618,28 +559,23 @@ public Builder clearDisplayName() { return this; } /** - * - * *
        * The display name of the enum value.
        * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -652,12 +588,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.TagField.EnumValue) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.TagField.EnumValue) private static final com.google.cloud.datacatalog.v1.TagField.EnumValue DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.TagField.EnumValue(); } @@ -666,28 +602,27 @@ public static com.google.cloud.datacatalog.v1.TagField.EnumValue getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EnumValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EnumValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -702,16 +637,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.TagField.EnumValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int kindCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object kind_; - public enum KindCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DOUBLE_VALUE(2), STRING_VALUE(3), @@ -721,7 +654,6 @@ public enum KindCase RICHTEXT_VALUE(8), KIND_NOT_SET(0); private final int value; - private KindCase(int value) { this.value = value; } @@ -737,47 +669,36 @@ public static KindCase valueOf(int value) { public static KindCase forNumber(int value) { switch (value) { - case 2: - return DOUBLE_VALUE; - case 3: - return STRING_VALUE; - case 4: - return BOOL_VALUE; - case 5: - return TIMESTAMP_VALUE; - case 6: - return ENUM_VALUE; - case 8: - return RICHTEXT_VALUE; - case 0: - return KIND_NOT_SET; - default: - return null; + case 2: return DOUBLE_VALUE; + case 3: return STRING_VALUE; + case 4: return BOOL_VALUE; + case 5: return TIMESTAMP_VALUE; + case 6: return ENUM_VALUE; + case 8: return RICHTEXT_VALUE; + case 0: return KIND_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public KindCase getKindCase() { - return KindCase.forNumber(kindCase_); + public KindCase + getKindCase() { + return KindCase.forNumber( + kindCase_); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Output only. The display name of this field.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The displayName. */ @java.lang.Override @@ -786,29 +707,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; } } /** - * - * *
    * Output only. The display name of this field.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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 { @@ -818,14 +739,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DOUBLE_VALUE_FIELD_NUMBER = 2; /** - * - * *
    * The value of a tag field with a double type.
    * 
* * double double_value = 2; - * * @return Whether the doubleValue field is set. */ @java.lang.Override @@ -833,14 +751,11 @@ public boolean hasDoubleValue() { return kindCase_ == 2; } /** - * - * *
    * The value of a tag field with a double type.
    * 
* * double double_value = 2; - * * @return The doubleValue. */ @java.lang.Override @@ -853,8 +768,6 @@ public double getDoubleValue() { public static final int STRING_VALUE_FIELD_NUMBER = 3; /** - * - * *
    * The value of a tag field with a string type.
    *
@@ -862,15 +775,12 @@ public double getDoubleValue() {
    * 
* * string string_value = 3; - * * @return Whether the stringValue field is set. */ public boolean hasStringValue() { return kindCase_ == 3; } /** - * - * *
    * The value of a tag field with a string type.
    *
@@ -878,7 +788,6 @@ public boolean hasStringValue() {
    * 
* * string string_value = 3; - * * @return The stringValue. */ public java.lang.String getStringValue() { @@ -889,7 +798,8 @@ public java.lang.String getStringValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (kindCase_ == 3) { kind_ = s; @@ -898,8 +808,6 @@ public java.lang.String getStringValue() { } } /** - * - * *
    * The value of a tag field with a string type.
    *
@@ -907,17 +815,18 @@ public java.lang.String getStringValue() {
    * 
* * string string_value = 3; - * * @return The bytes for stringValue. */ - public com.google.protobuf.ByteString getStringValueBytes() { + public com.google.protobuf.ByteString + getStringValueBytes() { java.lang.Object ref = ""; if (kindCase_ == 3) { ref = kind_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (kindCase_ == 3) { kind_ = b; } @@ -929,14 +838,11 @@ public com.google.protobuf.ByteString getStringValueBytes() { public static final int BOOL_VALUE_FIELD_NUMBER = 4; /** - * - * *
    * The value of a tag field with a boolean type.
    * 
* * bool bool_value = 4; - * * @return Whether the boolValue field is set. */ @java.lang.Override @@ -944,14 +850,11 @@ public boolean hasBoolValue() { return kindCase_ == 4; } /** - * - * *
    * The value of a tag field with a boolean type.
    * 
* * bool bool_value = 4; - * * @return The boolValue. */ @java.lang.Override @@ -964,14 +867,11 @@ public boolean getBoolValue() { public static final int TIMESTAMP_VALUE_FIELD_NUMBER = 5; /** - * - * *
    * The value of a tag field with a timestamp type.
    * 
* * .google.protobuf.Timestamp timestamp_value = 5; - * * @return Whether the timestampValue field is set. */ @java.lang.Override @@ -979,26 +879,21 @@ public boolean hasTimestampValue() { return kindCase_ == 5; } /** - * - * *
    * The value of a tag field with a timestamp type.
    * 
* * .google.protobuf.Timestamp timestamp_value = 5; - * * @return The timestampValue. */ @java.lang.Override public com.google.protobuf.Timestamp getTimestampValue() { if (kindCase_ == 5) { - return (com.google.protobuf.Timestamp) kind_; + return (com.google.protobuf.Timestamp) kind_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * The value of a tag field with a timestamp type.
    * 
@@ -1008,15 +903,13 @@ public com.google.protobuf.Timestamp getTimestampValue() { @java.lang.Override public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { if (kindCase_ == 5) { - return (com.google.protobuf.Timestamp) kind_; + return (com.google.protobuf.Timestamp) kind_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } public static final int ENUM_VALUE_FIELD_NUMBER = 6; /** - * - * *
    * The value of a tag field with an enum type.
    *
@@ -1024,7 +917,6 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
    * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; - * * @return Whether the enumValue field is set. */ @java.lang.Override @@ -1032,8 +924,6 @@ public boolean hasEnumValue() { return kindCase_ == 6; } /** - * - * *
    * The value of a tag field with an enum type.
    *
@@ -1041,19 +931,16 @@ public boolean hasEnumValue() {
    * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; - * * @return The enumValue. */ @java.lang.Override public com.google.cloud.datacatalog.v1.TagField.EnumValue getEnumValue() { if (kindCase_ == 6) { - return (com.google.cloud.datacatalog.v1.TagField.EnumValue) kind_; + return (com.google.cloud.datacatalog.v1.TagField.EnumValue) kind_; } return com.google.cloud.datacatalog.v1.TagField.EnumValue.getDefaultInstance(); } /** - * - * *
    * The value of a tag field with an enum type.
    *
@@ -1065,15 +952,13 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValue getEnumValue() {
   @java.lang.Override
   public com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder getEnumValueOrBuilder() {
     if (kindCase_ == 6) {
-      return (com.google.cloud.datacatalog.v1.TagField.EnumValue) kind_;
+       return (com.google.cloud.datacatalog.v1.TagField.EnumValue) kind_;
     }
     return com.google.cloud.datacatalog.v1.TagField.EnumValue.getDefaultInstance();
   }
 
   public static final int RICHTEXT_VALUE_FIELD_NUMBER = 8;
   /**
-   *
-   *
    * 
    * The value of a tag field with a rich text type.
    *
@@ -1083,15 +968,12 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder getEnumValueO
    * 
* * string richtext_value = 8; - * * @return Whether the richtextValue field is set. */ public boolean hasRichtextValue() { return kindCase_ == 8; } /** - * - * *
    * The value of a tag field with a rich text type.
    *
@@ -1101,7 +983,6 @@ public boolean hasRichtextValue() {
    * 
* * string richtext_value = 8; - * * @return The richtextValue. */ public java.lang.String getRichtextValue() { @@ -1112,7 +993,8 @@ public java.lang.String getRichtextValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (kindCase_ == 8) { kind_ = s; @@ -1121,8 +1003,6 @@ public java.lang.String getRichtextValue() { } } /** - * - * *
    * The value of a tag field with a rich text type.
    *
@@ -1132,17 +1012,18 @@ public java.lang.String getRichtextValue() {
    * 
* * string richtext_value = 8; - * * @return The bytes for richtextValue. */ - public com.google.protobuf.ByteString getRichtextValueBytes() { + public com.google.protobuf.ByteString + getRichtextValueBytes() { java.lang.Object ref = ""; if (kindCase_ == 8) { ref = kind_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (kindCase_ == 8) { kind_ = b; } @@ -1155,8 +1036,6 @@ public com.google.protobuf.ByteString getRichtextValueBytes() { public static final int ORDER_FIELD_NUMBER = 7; private int order_ = 0; /** - * - * *
    * Output only. The order of this field with respect to other fields in this
    * tag. Can be set by
@@ -1168,7 +1047,6 @@ public com.google.protobuf.ByteString getRichtextValueBytes() {
    * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The order. */ @java.lang.Override @@ -1177,7 +1055,6 @@ public int getOrder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1189,18 +1066,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(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } if (kindCase_ == 2) { - output.writeDouble(2, (double) ((java.lang.Double) kind_)); + output.writeDouble( + 2, (double)((java.lang.Double) kind_)); } if (kindCase_ == 3) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, kind_); } if (kindCase_ == 4) { - output.writeBool(4, (boolean) ((java.lang.Boolean) kind_)); + output.writeBool( + 4, (boolean)((java.lang.Boolean) kind_)); } if (kindCase_ == 5) { output.writeMessage(5, (com.google.protobuf.Timestamp) kind_); @@ -1227,30 +1107,29 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, displayName_); } if (kindCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeDoubleSize( - 2, (double) ((java.lang.Double) kind_)); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize( + 2, (double)((java.lang.Double) kind_)); } if (kindCase_ == 3) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, kind_); } if (kindCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 4, (boolean) ((java.lang.Boolean) kind_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 4, (boolean)((java.lang.Boolean) kind_)); } if (kindCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.protobuf.Timestamp) kind_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.protobuf.Timestamp) kind_); } if (kindCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.cloud.datacatalog.v1.TagField.EnumValue) kind_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.cloud.datacatalog.v1.TagField.EnumValue) kind_); } if (order_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, order_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, order_); } if (kindCase_ == 8) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, kind_); @@ -1263,35 +1142,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.datacatalog.v1.TagField)) { return super.equals(obj); } com.google.cloud.datacatalog.v1.TagField other = (com.google.cloud.datacatalog.v1.TagField) obj; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (getOrder() != other.getOrder()) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (getOrder() + != other.getOrder()) return false; if (!getKindCase().equals(other.getKindCase())) return false; switch (kindCase_) { case 2: if (java.lang.Double.doubleToLongBits(getDoubleValue()) - != java.lang.Double.doubleToLongBits(other.getDoubleValue())) return false; + != java.lang.Double.doubleToLongBits( + other.getDoubleValue())) return false; break; case 3: - if (!getStringValue().equals(other.getStringValue())) return false; + if (!getStringValue() + .equals(other.getStringValue())) return false; break; case 4: - if (getBoolValue() != other.getBoolValue()) return false; + if (getBoolValue() + != other.getBoolValue()) return false; break; case 5: - if (!getTimestampValue().equals(other.getTimestampValue())) return false; + if (!getTimestampValue() + .equals(other.getTimestampValue())) return false; break; case 6: - if (!getEnumValue().equals(other.getEnumValue())) return false; + if (!getEnumValue() + .equals(other.getEnumValue())) return false; break; case 8: - if (!getRichtextValue().equals(other.getRichtextValue())) return false; + if (!getRichtextValue() + .equals(other.getRichtextValue())) return false; break; case 0: default: @@ -1314,10 +1201,8 @@ public int hashCode() { switch (kindCase_) { case 2: hash = (37 * hash) + DOUBLE_VALUE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDoubleValue())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDoubleValue())); break; case 3: hash = (37 * hash) + STRING_VALUE_FIELD_NUMBER; @@ -1325,7 +1210,8 @@ public int hashCode() { break; case 4: hash = (37 * hash) + BOOL_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBoolValue()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getBoolValue()); break; case 5: hash = (37 * hash) + TIMESTAMP_VALUE_FIELD_NUMBER; @@ -1347,104 +1233,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.TagField parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.TagField parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.TagField parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TagField parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.TagField parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TagField parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.TagField parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TagField parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.TagField parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TagField parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.TagField parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.TagField parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TagField parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.TagField parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.TagField prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Contains the value and additional information on a field within
    * a [Tag][google.cloud.datacatalog.v1.Tag].
@@ -1452,32 +1333,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.TagField}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.TagField)
       com.google.cloud.datacatalog.v1.TagFieldOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Tags
-          .internal_static_google_cloud_datacatalog_v1_TagField_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagField_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Tags
-          .internal_static_google_cloud_datacatalog_v1_TagField_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagField_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.TagField.class,
-              com.google.cloud.datacatalog.v1.TagField.Builder.class);
+              com.google.cloud.datacatalog.v1.TagField.class, com.google.cloud.datacatalog.v1.TagField.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.TagField.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1496,9 +1378,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Tags
-          .internal_static_google_cloud_datacatalog_v1_TagField_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagField_descriptor;
     }
 
     @java.lang.Override
@@ -1517,11 +1399,8 @@ public com.google.cloud.datacatalog.v1.TagField build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.TagField buildPartial() {
-      com.google.cloud.datacatalog.v1.TagField result =
-          new com.google.cloud.datacatalog.v1.TagField(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.TagField result = new com.google.cloud.datacatalog.v1.TagField(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1540,10 +1419,12 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.TagField result) {
     private void buildPartialOneofs(com.google.cloud.datacatalog.v1.TagField result) {
       result.kindCase_ = kindCase_;
       result.kind_ = this.kind_;
-      if (kindCase_ == 5 && timestampValueBuilder_ != null) {
+      if (kindCase_ == 5 &&
+          timestampValueBuilder_ != null) {
         result.kind_ = timestampValueBuilder_.build();
       }
-      if (kindCase_ == 6 && enumValueBuilder_ != null) {
+      if (kindCase_ == 6 &&
+          enumValueBuilder_ != null) {
         result.kind_ = enumValueBuilder_.build();
       }
     }
@@ -1552,39 +1433,38 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.TagField result)
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.TagField) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.TagField) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.TagField)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1602,44 +1482,37 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.TagField other) {
         setOrder(other.getOrder());
       }
       switch (other.getKindCase()) {
-        case DOUBLE_VALUE:
-          {
-            setDoubleValue(other.getDoubleValue());
-            break;
-          }
-        case STRING_VALUE:
-          {
-            kindCase_ = 3;
-            kind_ = other.kind_;
-            onChanged();
-            break;
-          }
-        case BOOL_VALUE:
-          {
-            setBoolValue(other.getBoolValue());
-            break;
-          }
-        case TIMESTAMP_VALUE:
-          {
-            mergeTimestampValue(other.getTimestampValue());
-            break;
-          }
-        case ENUM_VALUE:
-          {
-            mergeEnumValue(other.getEnumValue());
-            break;
-          }
-        case RICHTEXT_VALUE:
-          {
-            kindCase_ = 8;
-            kind_ = other.kind_;
-            onChanged();
-            break;
-          }
-        case KIND_NOT_SET:
-          {
-            break;
-          }
+        case DOUBLE_VALUE: {
+          setDoubleValue(other.getDoubleValue());
+          break;
+        }
+        case STRING_VALUE: {
+          kindCase_ = 3;
+          kind_ = other.kind_;
+          onChanged();
+          break;
+        }
+        case BOOL_VALUE: {
+          setBoolValue(other.getBoolValue());
+          break;
+        }
+        case TIMESTAMP_VALUE: {
+          mergeTimestampValue(other.getTimestampValue());
+          break;
+        }
+        case ENUM_VALUE: {
+          mergeEnumValue(other.getEnumValue());
+          break;
+        }
+        case RICHTEXT_VALUE: {
+          kindCase_ = 8;
+          kind_ = other.kind_;
+          onChanged();
+          break;
+        }
+        case KIND_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1667,63 +1540,58 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 17:
-              {
-                kind_ = input.readDouble();
-                kindCase_ = 2;
-                break;
-              } // case 17
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                kindCase_ = 3;
-                kind_ = s;
-                break;
-              } // case 26
-            case 32:
-              {
-                kind_ = input.readBool();
-                kindCase_ = 4;
-                break;
-              } // case 32
-            case 42:
-              {
-                input.readMessage(getTimestampValueFieldBuilder().getBuilder(), extensionRegistry);
-                kindCase_ = 5;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getEnumValueFieldBuilder().getBuilder(), extensionRegistry);
-                kindCase_ = 6;
-                break;
-              } // case 50
-            case 56:
-              {
-                order_ = input.readInt32();
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 56
-            case 66:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                kindCase_ = 8;
-                kind_ = s;
-                break;
-              } // case 66
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 17: {
+              kind_ = input.readDouble();
+              kindCase_ = 2;
+              break;
+            } // case 17
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              kindCase_ = 3;
+              kind_ = s;
+              break;
+            } // case 26
+            case 32: {
+              kind_ = input.readBool();
+              kindCase_ = 4;
+              break;
+            } // case 32
+            case 42: {
+              input.readMessage(
+                  getTimestampValueFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              kindCase_ = 5;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getEnumValueFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              kindCase_ = 6;
+              break;
+            } // case 50
+            case 56: {
+              order_ = input.readInt32();
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 56
+            case 66: {
+              java.lang.String s = input.readStringRequireUtf8();
+              kindCase_ = 8;
+              kind_ = s;
+              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) {
@@ -1733,12 +1601,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int kindCase_ = 0;
     private java.lang.Object kind_;
-
-    public KindCase getKindCase() {
-      return KindCase.forNumber(kindCase_);
+    public KindCase
+        getKindCase() {
+      return KindCase.forNumber(
+          kindCase_);
     }
 
     public Builder clearKind() {
@@ -1752,20 +1620,18 @@ public Builder clearKind() {
 
     private java.lang.Object displayName_ = "";
     /**
-     *
-     *
      * 
      * Output only. The display name of this field.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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; @@ -1774,21 +1640,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Output only. The display name of this field.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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 { @@ -1796,35 +1661,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Output only. The display name of this field.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The display name of this field.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1834,21 +1692,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Output only. The display name of this field.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -1857,28 +1711,22 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * The value of a tag field with a double type.
      * 
* * double double_value = 2; - * * @return Whether the doubleValue field is set. */ public boolean hasDoubleValue() { return kindCase_ == 2; } /** - * - * *
      * The value of a tag field with a double type.
      * 
* * double double_value = 2; - * * @return The doubleValue. */ public double getDoubleValue() { @@ -1888,14 +1736,11 @@ public double getDoubleValue() { return 0D; } /** - * - * *
      * The value of a tag field with a double type.
      * 
* * double double_value = 2; - * * @param value The doubleValue to set. * @return This builder for chaining. */ @@ -1907,14 +1752,11 @@ public Builder setDoubleValue(double value) { return this; } /** - * - * *
      * The value of a tag field with a double type.
      * 
* * double double_value = 2; - * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -1927,8 +1769,6 @@ public Builder clearDoubleValue() { } /** - * - * *
      * The value of a tag field with a string type.
      *
@@ -1936,7 +1776,6 @@ public Builder clearDoubleValue() {
      * 
* * string string_value = 3; - * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -1944,8 +1783,6 @@ public boolean hasStringValue() { return kindCase_ == 3; } /** - * - * *
      * The value of a tag field with a string type.
      *
@@ -1953,7 +1790,6 @@ public boolean hasStringValue() {
      * 
* * string string_value = 3; - * * @return The stringValue. */ @java.lang.Override @@ -1963,7 +1799,8 @@ public java.lang.String getStringValue() { ref = kind_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (kindCase_ == 3) { kind_ = s; @@ -1974,8 +1811,6 @@ public java.lang.String getStringValue() { } } /** - * - * *
      * The value of a tag field with a string type.
      *
@@ -1983,18 +1818,19 @@ public java.lang.String getStringValue() {
      * 
* * string string_value = 3; - * * @return The bytes for stringValue. */ @java.lang.Override - public com.google.protobuf.ByteString getStringValueBytes() { + public com.google.protobuf.ByteString + getStringValueBytes() { java.lang.Object ref = ""; if (kindCase_ == 3) { ref = kind_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (kindCase_ == 3) { kind_ = b; } @@ -2004,8 +1840,6 @@ public com.google.protobuf.ByteString getStringValueBytes() { } } /** - * - * *
      * The value of a tag field with a string type.
      *
@@ -2013,22 +1847,18 @@ public com.google.protobuf.ByteString getStringValueBytes() {
      * 
* * string string_value = 3; - * * @param value The stringValue to set. * @return This builder for chaining. */ - public Builder setStringValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStringValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } kindCase_ = 3; kind_ = value; onChanged(); return this; } /** - * - * *
      * The value of a tag field with a string type.
      *
@@ -2036,7 +1866,6 @@ public Builder setStringValue(java.lang.String value) {
      * 
* * string string_value = 3; - * * @return This builder for chaining. */ public Builder clearStringValue() { @@ -2048,8 +1877,6 @@ public Builder clearStringValue() { return this; } /** - * - * *
      * The value of a tag field with a string type.
      *
@@ -2057,14 +1884,12 @@ public Builder clearStringValue() {
      * 
* * string string_value = 3; - * * @param value The bytes for stringValue to set. * @return This builder for chaining. */ - public Builder setStringValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStringValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); kindCase_ = 3; kind_ = value; @@ -2073,28 +1898,22 @@ public Builder setStringValueBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * The value of a tag field with a boolean type.
      * 
* * bool bool_value = 4; - * * @return Whether the boolValue field is set. */ public boolean hasBoolValue() { return kindCase_ == 4; } /** - * - * *
      * The value of a tag field with a boolean type.
      * 
* * bool bool_value = 4; - * * @return The boolValue. */ public boolean getBoolValue() { @@ -2104,14 +1923,11 @@ public boolean getBoolValue() { return false; } /** - * - * *
      * The value of a tag field with a boolean type.
      * 
* * bool bool_value = 4; - * * @param value The boolValue to set. * @return This builder for chaining. */ @@ -2123,14 +1939,11 @@ public Builder setBoolValue(boolean value) { return this; } /** - * - * *
      * The value of a tag field with a boolean type.
      * 
* * bool bool_value = 4; - * * @return This builder for chaining. */ public Builder clearBoolValue() { @@ -2143,19 +1956,13 @@ public Builder clearBoolValue() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - timestampValueBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> timestampValueBuilder_; /** - * - * *
      * The value of a tag field with a timestamp type.
      * 
* * .google.protobuf.Timestamp timestamp_value = 5; - * * @return Whether the timestampValue field is set. */ @java.lang.Override @@ -2163,14 +1970,11 @@ public boolean hasTimestampValue() { return kindCase_ == 5; } /** - * - * *
      * The value of a tag field with a timestamp type.
      * 
* * .google.protobuf.Timestamp timestamp_value = 5; - * * @return The timestampValue. */ @java.lang.Override @@ -2188,8 +1992,6 @@ public com.google.protobuf.Timestamp getTimestampValue() { } } /** - * - * *
      * The value of a tag field with a timestamp type.
      * 
@@ -2210,15 +2012,14 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The value of a tag field with a timestamp type.
      * 
* * .google.protobuf.Timestamp timestamp_value = 5; */ - public Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setTimestampValue( + com.google.protobuf.Timestamp.Builder builderForValue) { if (timestampValueBuilder_ == null) { kind_ = builderForValue.build(); onChanged(); @@ -2229,8 +2030,6 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderFo return this; } /** - * - * *
      * The value of a tag field with a timestamp type.
      * 
@@ -2239,11 +2038,10 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderFo */ public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) { if (timestampValueBuilder_ == null) { - if (kindCase_ == 5 && kind_ != com.google.protobuf.Timestamp.getDefaultInstance()) { - kind_ = - com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) kind_) - .mergeFrom(value) - .buildPartial(); + if (kindCase_ == 5 && + kind_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + kind_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) kind_) + .mergeFrom(value).buildPartial(); } else { kind_ = value; } @@ -2259,8 +2057,6 @@ public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The value of a tag field with a timestamp type.
      * 
@@ -2284,8 +2080,6 @@ public Builder clearTimestampValue() { return this; } /** - * - * *
      * The value of a tag field with a timestamp type.
      * 
@@ -2296,8 +2090,6 @@ public com.google.protobuf.Timestamp.Builder getTimestampValueBuilder() { return getTimestampValueFieldBuilder().getBuilder(); } /** - * - * *
      * The value of a tag field with a timestamp type.
      * 
@@ -2316,8 +2108,6 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { } } /** - * - * *
      * The value of a tag field with a timestamp type.
      * 
@@ -2325,20 +2115,17 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { * .google.protobuf.Timestamp timestamp_value = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getTimestampValueFieldBuilder() { if (timestampValueBuilder_ == null) { if (!(kindCase_ == 5)) { kind_ = com.google.protobuf.Timestamp.getDefaultInstance(); } - timestampValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - (com.google.protobuf.Timestamp) kind_, getParentForChildren(), isClean()); + timestampValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + (com.google.protobuf.Timestamp) kind_, + getParentForChildren(), + isClean()); kind_ = null; } kindCase_ = 5; @@ -2347,13 +2134,8 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.TagField.EnumValue, - com.google.cloud.datacatalog.v1.TagField.EnumValue.Builder, - com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder> - enumValueBuilder_; + com.google.cloud.datacatalog.v1.TagField.EnumValue, com.google.cloud.datacatalog.v1.TagField.EnumValue.Builder, com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder> enumValueBuilder_; /** - * - * *
      * The value of a tag field with an enum type.
      *
@@ -2361,7 +2143,6 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
      * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; - * * @return Whether the enumValue field is set. */ @java.lang.Override @@ -2369,8 +2150,6 @@ public boolean hasEnumValue() { return kindCase_ == 6; } /** - * - * *
      * The value of a tag field with an enum type.
      *
@@ -2378,7 +2157,6 @@ public boolean hasEnumValue() {
      * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; - * * @return The enumValue. */ @java.lang.Override @@ -2396,8 +2174,6 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValue getEnumValue() { } } /** - * - * *
      * The value of a tag field with an enum type.
      *
@@ -2420,8 +2196,6 @@ public Builder setEnumValue(com.google.cloud.datacatalog.v1.TagField.EnumValue v
       return this;
     }
     /**
-     *
-     *
      * 
      * The value of a tag field with an enum type.
      *
@@ -2442,8 +2216,6 @@ public Builder setEnumValue(
       return this;
     }
     /**
-     *
-     *
      * 
      * The value of a tag field with an enum type.
      *
@@ -2454,13 +2226,10 @@ public Builder setEnumValue(
      */
     public Builder mergeEnumValue(com.google.cloud.datacatalog.v1.TagField.EnumValue value) {
       if (enumValueBuilder_ == null) {
-        if (kindCase_ == 6
-            && kind_ != com.google.cloud.datacatalog.v1.TagField.EnumValue.getDefaultInstance()) {
-          kind_ =
-              com.google.cloud.datacatalog.v1.TagField.EnumValue.newBuilder(
-                      (com.google.cloud.datacatalog.v1.TagField.EnumValue) kind_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (kindCase_ == 6 &&
+            kind_ != com.google.cloud.datacatalog.v1.TagField.EnumValue.getDefaultInstance()) {
+          kind_ = com.google.cloud.datacatalog.v1.TagField.EnumValue.newBuilder((com.google.cloud.datacatalog.v1.TagField.EnumValue) kind_)
+              .mergeFrom(value).buildPartial();
         } else {
           kind_ = value;
         }
@@ -2476,8 +2245,6 @@ public Builder mergeEnumValue(com.google.cloud.datacatalog.v1.TagField.EnumValue
       return this;
     }
     /**
-     *
-     *
      * 
      * The value of a tag field with an enum type.
      *
@@ -2503,8 +2270,6 @@ public Builder clearEnumValue() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The value of a tag field with an enum type.
      *
@@ -2517,8 +2282,6 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValue.Builder getEnumValueBu
       return getEnumValueFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The value of a tag field with an enum type.
      *
@@ -2539,8 +2302,6 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder getEnumValueO
       }
     }
     /**
-     *
-     *
      * 
      * The value of a tag field with an enum type.
      *
@@ -2550,19 +2311,14 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder getEnumValueO
      * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.TagField.EnumValue,
-            com.google.cloud.datacatalog.v1.TagField.EnumValue.Builder,
-            com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder>
+        com.google.cloud.datacatalog.v1.TagField.EnumValue, com.google.cloud.datacatalog.v1.TagField.EnumValue.Builder, com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder> 
         getEnumValueFieldBuilder() {
       if (enumValueBuilder_ == null) {
         if (!(kindCase_ == 6)) {
           kind_ = com.google.cloud.datacatalog.v1.TagField.EnumValue.getDefaultInstance();
         }
-        enumValueBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.datacatalog.v1.TagField.EnumValue,
-                com.google.cloud.datacatalog.v1.TagField.EnumValue.Builder,
-                com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder>(
+        enumValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.datacatalog.v1.TagField.EnumValue, com.google.cloud.datacatalog.v1.TagField.EnumValue.Builder, com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder>(
                 (com.google.cloud.datacatalog.v1.TagField.EnumValue) kind_,
                 getParentForChildren(),
                 isClean());
@@ -2574,8 +2330,6 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder getEnumValueO
     }
 
     /**
-     *
-     *
      * 
      * The value of a tag field with a rich text type.
      *
@@ -2585,7 +2339,6 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder getEnumValueO
      * 
* * string richtext_value = 8; - * * @return Whether the richtextValue field is set. */ @java.lang.Override @@ -2593,8 +2346,6 @@ public boolean hasRichtextValue() { return kindCase_ == 8; } /** - * - * *
      * The value of a tag field with a rich text type.
      *
@@ -2604,7 +2355,6 @@ public boolean hasRichtextValue() {
      * 
* * string richtext_value = 8; - * * @return The richtextValue. */ @java.lang.Override @@ -2614,7 +2364,8 @@ public java.lang.String getRichtextValue() { ref = kind_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (kindCase_ == 8) { kind_ = s; @@ -2625,8 +2376,6 @@ public java.lang.String getRichtextValue() { } } /** - * - * *
      * The value of a tag field with a rich text type.
      *
@@ -2636,18 +2385,19 @@ public java.lang.String getRichtextValue() {
      * 
* * string richtext_value = 8; - * * @return The bytes for richtextValue. */ @java.lang.Override - public com.google.protobuf.ByteString getRichtextValueBytes() { + public com.google.protobuf.ByteString + getRichtextValueBytes() { java.lang.Object ref = ""; if (kindCase_ == 8) { ref = kind_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (kindCase_ == 8) { kind_ = b; } @@ -2657,8 +2407,6 @@ public com.google.protobuf.ByteString getRichtextValueBytes() { } } /** - * - * *
      * The value of a tag field with a rich text type.
      *
@@ -2668,22 +2416,18 @@ public com.google.protobuf.ByteString getRichtextValueBytes() {
      * 
* * string richtext_value = 8; - * * @param value The richtextValue to set. * @return This builder for chaining. */ - public Builder setRichtextValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRichtextValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } kindCase_ = 8; kind_ = value; onChanged(); return this; } /** - * - * *
      * The value of a tag field with a rich text type.
      *
@@ -2693,7 +2437,6 @@ public Builder setRichtextValue(java.lang.String value) {
      * 
* * string richtext_value = 8; - * * @return This builder for chaining. */ public Builder clearRichtextValue() { @@ -2705,8 +2448,6 @@ public Builder clearRichtextValue() { return this; } /** - * - * *
      * The value of a tag field with a rich text type.
      *
@@ -2716,14 +2457,12 @@ public Builder clearRichtextValue() {
      * 
* * string richtext_value = 8; - * * @param value The bytes for richtextValue to set. * @return This builder for chaining. */ - public Builder setRichtextValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRichtextValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); kindCase_ = 8; kind_ = value; @@ -2731,10 +2470,8 @@ public Builder setRichtextValueBytes(com.google.protobuf.ByteString value) { return this; } - private int order_; + private int order_ ; /** - * - * *
      * Output only. The order of this field with respect to other fields in this
      * tag. Can be set by
@@ -2746,7 +2483,6 @@ public Builder setRichtextValueBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The order. */ @java.lang.Override @@ -2754,8 +2490,6 @@ public int getOrder() { return order_; } /** - * - * *
      * Output only. The order of this field with respect to other fields in this
      * tag. Can be set by
@@ -2767,7 +2501,6 @@ public int getOrder() {
      * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The order to set. * @return This builder for chaining. */ @@ -2779,8 +2512,6 @@ public Builder setOrder(int value) { return this; } /** - * - * *
      * Output only. The order of this field with respect to other fields in this
      * tag. Can be set by
@@ -2792,7 +2523,6 @@ public Builder setOrder(int value) {
      * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearOrder() { @@ -2801,9 +2531,9 @@ public Builder clearOrder() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2813,12 +2543,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.TagField) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.TagField) private static final com.google.cloud.datacatalog.v1.TagField DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.TagField(); } @@ -2827,27 +2557,27 @@ public static com.google.cloud.datacatalog.v1.TagField getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TagField parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TagField parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2862,4 +2592,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.TagField getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagFieldOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagFieldOrBuilder.java similarity index 84% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagFieldOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagFieldOrBuilder.java index 839fbe00c427..56b247da5abb 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagFieldOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagFieldOrBuilder.java @@ -1,81 +1,52 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/tags.proto package com.google.cloud.datacatalog.v1; -public interface TagFieldOrBuilder - extends +public interface TagFieldOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.TagField) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The display name of this field.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Output only. The display name of this field.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * The value of a tag field with a double type.
    * 
* * double double_value = 2; - * * @return Whether the doubleValue field is set. */ boolean hasDoubleValue(); /** - * - * *
    * The value of a tag field with a double type.
    * 
* * double double_value = 2; - * * @return The doubleValue. */ double getDoubleValue(); /** - * - * *
    * The value of a tag field with a string type.
    *
@@ -83,13 +54,10 @@ public interface TagFieldOrBuilder
    * 
* * string string_value = 3; - * * @return Whether the stringValue field is set. */ boolean hasStringValue(); /** - * - * *
    * The value of a tag field with a string type.
    *
@@ -97,13 +65,10 @@ public interface TagFieldOrBuilder
    * 
* * string string_value = 3; - * * @return The stringValue. */ java.lang.String getStringValue(); /** - * - * *
    * The value of a tag field with a string type.
    *
@@ -111,63 +76,49 @@ public interface TagFieldOrBuilder
    * 
* * string string_value = 3; - * * @return The bytes for stringValue. */ - com.google.protobuf.ByteString getStringValueBytes(); + com.google.protobuf.ByteString + getStringValueBytes(); /** - * - * *
    * The value of a tag field with a boolean type.
    * 
* * bool bool_value = 4; - * * @return Whether the boolValue field is set. */ boolean hasBoolValue(); /** - * - * *
    * The value of a tag field with a boolean type.
    * 
* * bool bool_value = 4; - * * @return The boolValue. */ boolean getBoolValue(); /** - * - * *
    * The value of a tag field with a timestamp type.
    * 
* * .google.protobuf.Timestamp timestamp_value = 5; - * * @return Whether the timestampValue field is set. */ boolean hasTimestampValue(); /** - * - * *
    * The value of a tag field with a timestamp type.
    * 
* * .google.protobuf.Timestamp timestamp_value = 5; - * * @return The timestampValue. */ com.google.protobuf.Timestamp getTimestampValue(); /** - * - * *
    * The value of a tag field with a timestamp type.
    * 
@@ -177,8 +128,6 @@ public interface TagFieldOrBuilder com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder(); /** - * - * *
    * The value of a tag field with an enum type.
    *
@@ -186,13 +135,10 @@ public interface TagFieldOrBuilder
    * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; - * * @return Whether the enumValue field is set. */ boolean hasEnumValue(); /** - * - * *
    * The value of a tag field with an enum type.
    *
@@ -200,13 +146,10 @@ public interface TagFieldOrBuilder
    * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; - * * @return The enumValue. */ com.google.cloud.datacatalog.v1.TagField.EnumValue getEnumValue(); /** - * - * *
    * The value of a tag field with an enum type.
    *
@@ -218,8 +161,6 @@ public interface TagFieldOrBuilder
   com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder getEnumValueOrBuilder();
 
   /**
-   *
-   *
    * 
    * The value of a tag field with a rich text type.
    *
@@ -229,13 +170,10 @@ public interface TagFieldOrBuilder
    * 
* * string richtext_value = 8; - * * @return Whether the richtextValue field is set. */ boolean hasRichtextValue(); /** - * - * *
    * The value of a tag field with a rich text type.
    *
@@ -245,13 +183,10 @@ public interface TagFieldOrBuilder
    * 
* * string richtext_value = 8; - * * @return The richtextValue. */ java.lang.String getRichtextValue(); /** - * - * *
    * The value of a tag field with a rich text type.
    *
@@ -261,14 +196,12 @@ public interface TagFieldOrBuilder
    * 
* * string richtext_value = 8; - * * @return The bytes for richtextValue. */ - com.google.protobuf.ByteString getRichtextValueBytes(); + com.google.protobuf.ByteString + getRichtextValueBytes(); /** - * - * *
    * Output only. The order of this field with respect to other fields in this
    * tag. Can be set by
@@ -280,7 +213,6 @@ public interface TagFieldOrBuilder
    * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The order. */ int getOrder(); diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagName.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagName.java similarity index 100% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagName.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagName.java diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagOrBuilder.java similarity index 70% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagOrBuilder.java index 04ace379b0f5..a80c5d9d2feb 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/tags.proto package com.google.cloud.datacatalog.v1; -public interface TagOrBuilder - extends +public interface TagOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.Tag) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resource name of the tag in URL format where tag ID is a
    * system-generated identifier.
@@ -35,13 +17,10 @@ public interface TagOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The resource name of the tag in URL format where tag ID is a
    * system-generated identifier.
@@ -51,14 +30,12 @@ public interface TagOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The resource name of the tag template this tag uses. Example:
    *
@@ -68,13 +45,10 @@ public interface TagOrBuilder
    * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The template. */ java.lang.String getTemplate(); /** - * - * *
    * Required. The resource name of the tag template this tag uses. Example:
    *
@@ -84,39 +58,32 @@ public interface TagOrBuilder
    * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for template. */ - com.google.protobuf.ByteString getTemplateBytes(); + com.google.protobuf.ByteString + getTemplateBytes(); /** - * - * *
    * Output only. The display name of the tag template.
    * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The templateDisplayName. */ java.lang.String getTemplateDisplayName(); /** - * - * *
    * Output only. The display name of the tag template.
    * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for templateDisplayName. */ - com.google.protobuf.ByteString getTemplateDisplayNameBytes(); + com.google.protobuf.ByteString + getTemplateDisplayNameBytes(); /** - * - * *
    * Resources like entry can have schemas associated with them. This scope
    * allows you to attach tags to an individual column based on that schema.
@@ -126,13 +93,10 @@ public interface TagOrBuilder
    * 
* * string column = 4; - * * @return Whether the column field is set. */ boolean hasColumn(); /** - * - * *
    * Resources like entry can have schemas associated with them. This scope
    * allows you to attach tags to an individual column based on that schema.
@@ -142,13 +106,10 @@ public interface TagOrBuilder
    * 
* * string column = 4; - * * @return The column. */ java.lang.String getColumn(); /** - * - * *
    * Resources like entry can have schemas associated with them. This scope
    * allows you to attach tags to an individual column based on that schema.
@@ -158,14 +119,12 @@ public interface TagOrBuilder
    * 
* * string column = 4; - * * @return The bytes for column. */ - com.google.protobuf.ByteString getColumnBytes(); + com.google.protobuf.ByteString + getColumnBytes(); /** - * - * *
    * Required. Maps the ID of a tag field to its value and additional
    * information about that field.
@@ -174,14 +133,10 @@ public interface TagOrBuilder
    * must have at least 1 field and at most 500 fields.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ int getFieldsCount(); /** - * - * *
    * Required. Maps the ID of a tag field to its value and additional
    * information about that field.
@@ -190,17 +145,17 @@ public interface TagOrBuilder
    * must have at least 1 field and at most 500 fields.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + boolean containsFields( + java.lang.String key); + /** + * Use {@link #getFieldsMap()} instead. */ - boolean containsFields(java.lang.String key); - /** Use {@link #getFieldsMap()} instead. */ @java.lang.Deprecated - java.util.Map getFields(); + java.util.Map + getFields(); /** - * - * *
    * Required. Maps the ID of a tag field to its value and additional
    * information about that field.
@@ -209,14 +164,11 @@ public interface TagOrBuilder
    * must have at least 1 field and at most 500 fields.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.Map getFieldsMap(); + java.util.Map + getFieldsMap(); /** - * - * *
    * Required. Maps the ID of a tag field to its value and additional
    * information about that field.
@@ -225,18 +177,14 @@ public interface TagOrBuilder
    * must have at least 1 field and at most 500 fields.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ /* nullable */ - com.google.cloud.datacatalog.v1.TagField getFieldsOrDefault( +com.google.cloud.datacatalog.v1.TagField getFieldsOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.datacatalog.v1.TagField defaultValue); +com.google.cloud.datacatalog.v1.TagField defaultValue); /** - * - * *
    * Required. Maps the ID of a tag field to its value and additional
    * information about that field.
@@ -245,11 +193,10 @@ com.google.cloud.datacatalog.v1.TagField getFieldsOrDefault(
    * must have at least 1 field and at most 500 fields.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.datacatalog.v1.TagField getFieldsOrThrow(java.lang.String key); + com.google.cloud.datacatalog.v1.TagField getFieldsOrThrow( + java.lang.String key); com.google.cloud.datacatalog.v1.Tag.ScopeCase getScopeCase(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplate.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplate.java similarity index 68% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplate.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplate.java index b5972b2d9fa5..669ca1a84eb1 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplate.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplate.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/tags.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * A tag template defines a tag that can have one or more typed fields.
  *
@@ -35,16 +18,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.TagTemplate}
  */
-public final class TagTemplate extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TagTemplate extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.TagTemplate)
     TagTemplateOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TagTemplate.newBuilder() to construct.
   private TagTemplate(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private TagTemplate() {
     name_ = "";
     displayName_ = "";
@@ -52,43 +34,40 @@ private TagTemplate() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TagTemplate();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Tags
-        .internal_static_google_cloud_datacatalog_v1_TagTemplate_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagTemplate_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 internalGetFields();
       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.datacatalog.v1.Tags
-        .internal_static_google_cloud_datacatalog_v1_TagTemplate_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagTemplate_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.TagTemplate.class,
-            com.google.cloud.datacatalog.v1.TagTemplate.Builder.class);
+            com.google.cloud.datacatalog.v1.TagTemplate.class, com.google.cloud.datacatalog.v1.TagTemplate.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The resource name of the tag template in URL format.
    *
@@ -97,7 +76,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -106,15 +84,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The resource name of the tag template in URL format.
    *
@@ -123,15 +100,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 { @@ -140,12 +118,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Display name for this template. Defaults to an empty string.
    *
@@ -155,7 +130,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -164,15 +138,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; } } /** - * - * *
    * Display name for this template. Defaults to an empty string.
    *
@@ -182,15 +155,16 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -201,8 +175,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int IS_PUBLICLY_READABLE_FIELD_NUMBER = 5; private boolean isPubliclyReadable_ = false; /** - * - * *
    * Indicates whether tags created with this template are public. Public tags
    * do not require tag template access to appear in
@@ -213,7 +185,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * bool is_publicly_readable = 5; - * * @return The isPubliclyReadable. */ @java.lang.Override @@ -222,42 +193,32 @@ public boolean getIsPubliclyReadable() { } public static final int FIELDS_FIELD_NUMBER = 3; - private static final class FieldsDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.datacatalog.v1.TagTemplateField> - defaultEntry = + java.lang.String, com.google.cloud.datacatalog.v1.TagTemplateField> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.cloud.datacatalog.v1.Tags - .internal_static_google_cloud_datacatalog_v1_TagTemplate_FieldsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagTemplate_FieldsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance()); } - @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1.TagTemplateField> - fields_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1.TagTemplateField> - internalGetFields() { + java.lang.String, com.google.cloud.datacatalog.v1.TagTemplateField> fields_; + private com.google.protobuf.MapField + internalGetFields() { if (fields_ == null) { - return com.google.protobuf.MapField.emptyMapField(FieldsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + FieldsDefaultEntryHolder.defaultEntry); } return fields_; } - public int getFieldsCount() { return internalGetFields().getMap().size(); } /** - * - * *
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. The map must contain
@@ -272,27 +233,23 @@ public int getFieldsCount() {
    * * Must start with a letter or underscore.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public boolean containsFields(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsFields( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetFields().getMap().containsKey(key); } - /** Use {@link #getFieldsMap()} instead. */ + /** + * Use {@link #getFieldsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getFields() { + public java.util.Map getFields() { return getFieldsMap(); } /** - * - * *
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. The map must contain
@@ -307,18 +264,13 @@ public boolean containsFields(java.lang.String key) {
    * * Must start with a letter or underscore.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.Map - getFieldsMap() { + public java.util.Map getFieldsMap() { return internalGetFields().getMap(); } /** - * - * *
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. The map must contain
@@ -333,25 +285,20 @@ public boolean containsFields(java.lang.String key) {
    * * Must start with a letter or underscore.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public /* nullable */ com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrDefault( + public /* nullable */ +com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.datacatalog.v1.TagTemplateField defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } +com.google.cloud.datacatalog.v1.TagTemplateField defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetFields().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. The map must contain
@@ -366,15 +313,12 @@ public boolean containsFields(java.lang.String key) {
    * * Must start with a letter or underscore.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetFields().getMap(); if (!map.containsKey(key)) { @@ -384,7 +328,6 @@ public com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrThrow(java.la } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -396,15 +339,20 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetFields(), FieldsDefaultEntryHolder.defaultEntry, 3); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetFields(), + FieldsDefaultEntryHolder.defaultEntry, + 3); if (isPubliclyReadable_ != false) { output.writeBool(5, isPubliclyReadable_); } @@ -423,20 +371,19 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); } - for (java.util.Map.Entry - entry : internalGetFields().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.datacatalog.v1.TagTemplateField> - fields__ = - FieldsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, fields__); + for (java.util.Map.Entry entry + : internalGetFields().getMap().entrySet()) { + com.google.protobuf.MapEntry + fields__ = FieldsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, fields__); } if (isPubliclyReadable_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, isPubliclyReadable_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, isPubliclyReadable_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -446,18 +393,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.datacatalog.v1.TagTemplate)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.TagTemplate other = - (com.google.cloud.datacatalog.v1.TagTemplate) obj; + com.google.cloud.datacatalog.v1.TagTemplate other = (com.google.cloud.datacatalog.v1.TagTemplate) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (getIsPubliclyReadable() != other.getIsPubliclyReadable()) return false; - if (!internalGetFields().equals(other.internalGetFields())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (getIsPubliclyReadable() + != other.getIsPubliclyReadable()) return false; + if (!internalGetFields().equals( + other.internalGetFields())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -474,7 +424,8 @@ public int hashCode() { hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; hash = (53 * hash) + getDisplayName().hashCode(); hash = (37 * hash) + IS_PUBLICLY_READABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsPubliclyReadable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsPubliclyReadable()); if (!internalGetFields().getMap().isEmpty()) { hash = (37 * hash) + FIELDS_FIELD_NUMBER; hash = (53 * hash) + internalGetFields().hashCode(); @@ -484,104 +435,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.TagTemplate parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.TagTemplate parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.TagTemplate parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TagTemplate parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.TagTemplate parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TagTemplate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.TagTemplate parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TagTemplate parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.TagTemplate parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TagTemplate parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.TagTemplate parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.TagTemplate parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TagTemplate parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.TagTemplate parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.TagTemplate prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 tag template defines a tag that can have one or more typed fields.
    *
@@ -596,52 +542,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.TagTemplate}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.TagTemplate)
       com.google.cloud.datacatalog.v1.TagTemplateOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Tags
-          .internal_static_google_cloud_datacatalog_v1_TagTemplate_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagTemplate_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 3:
           return internalGetFields();
         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 internalGetMutableFields();
         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.datacatalog.v1.Tags
-          .internal_static_google_cloud_datacatalog_v1_TagTemplate_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagTemplate_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.TagTemplate.class,
-              com.google.cloud.datacatalog.v1.TagTemplate.Builder.class);
+              com.google.cloud.datacatalog.v1.TagTemplate.class, com.google.cloud.datacatalog.v1.TagTemplate.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.TagTemplate.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -654,9 +603,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Tags
-          .internal_static_google_cloud_datacatalog_v1_TagTemplate_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagTemplate_descriptor;
     }
 
     @java.lang.Override
@@ -675,11 +624,8 @@ public com.google.cloud.datacatalog.v1.TagTemplate build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.TagTemplate buildPartial() {
-      com.google.cloud.datacatalog.v1.TagTemplate result =
-          new com.google.cloud.datacatalog.v1.TagTemplate(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.TagTemplate result = new com.google.cloud.datacatalog.v1.TagTemplate(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -705,39 +651,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.TagTemplate result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.TagTemplate) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.TagTemplate) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.TagTemplate)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -759,7 +704,8 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.TagTemplate other) {
       if (other.getIsPubliclyReadable() != false) {
         setIsPubliclyReadable(other.getIsPubliclyReadable());
       }
-      internalGetMutableFields().mergeFrom(other.internalGetFields());
+      internalGetMutableFields().mergeFrom(
+          other.internalGetFields());
       bitField0_ |= 0x00000008;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -787,45 +733,36 @@ 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:
-              {
-                com.google.protobuf.MapEntry<
-                        java.lang.String, com.google.cloud.datacatalog.v1.TagTemplateField>
-                    fields__ =
-                        input.readMessage(
-                            FieldsDefaultEntryHolder.defaultEntry.getParserForType(),
-                            extensionRegistry);
-                internalGetMutableFields()
-                    .getMutableMap()
-                    .put(fields__.getKey(), fields__.getValue());
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 26
-            case 40:
-              {
-                isPubliclyReadable_ = input.readBool();
-                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 18: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              com.google.protobuf.MapEntry
+              fields__ = input.readMessage(
+                  FieldsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableFields().getMutableMap().put(
+                  fields__.getKey(), fields__.getValue());
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 26
+            case 40: {
+              isPubliclyReadable_ = input.readBool();
+              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) {
@@ -835,13 +772,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The resource name of the tag template in URL format.
      *
@@ -850,13 +784,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; @@ -865,8 +799,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the tag template in URL format.
      *
@@ -875,14 +807,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 { @@ -890,8 +823,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The resource name of the tag template in URL format.
      *
@@ -900,22 +831,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The resource name of the tag template in URL format.
      *
@@ -924,7 +851,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -934,8 +860,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The resource name of the tag template in URL format.
      *
@@ -944,14 +868,12 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -961,8 +883,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Display name for this template. Defaults to an empty string.
      *
@@ -972,13 +892,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -987,8 +907,6 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Display name for this template. Defaults to an empty string.
      *
@@ -998,14 +916,15 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1013,8 +932,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Display name for this template. Defaults to an empty string.
      *
@@ -1024,22 +941,18 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Display name for this template. Defaults to an empty string.
      *
@@ -1049,7 +962,6 @@ public Builder setDisplayName(java.lang.String value) {
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1059,8 +971,6 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Display name for this template. Defaults to an empty string.
      *
@@ -1070,14 +980,12 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -1085,10 +993,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { return this; } - private boolean isPubliclyReadable_; + private boolean isPubliclyReadable_ ; /** - * - * *
      * Indicates whether tags created with this template are public. Public tags
      * do not require tag template access to appear in
@@ -1099,7 +1005,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * bool is_publicly_readable = 5; - * * @return The isPubliclyReadable. */ @java.lang.Override @@ -1107,8 +1012,6 @@ public boolean getIsPubliclyReadable() { return isPubliclyReadable_; } /** - * - * *
      * Indicates whether tags created with this template are public. Public tags
      * do not require tag template access to appear in
@@ -1119,7 +1022,6 @@ public boolean getIsPubliclyReadable() {
      * 
* * bool is_publicly_readable = 5; - * * @param value The isPubliclyReadable to set. * @return This builder for chaining. */ @@ -1131,8 +1033,6 @@ public Builder setIsPubliclyReadable(boolean value) { return this; } /** - * - * *
      * Indicates whether tags created with this template are public. Public tags
      * do not require tag template access to appear in
@@ -1143,7 +1043,6 @@ public Builder setIsPubliclyReadable(boolean value) {
      * 
* * bool is_publicly_readable = 5; - * * @return This builder for chaining. */ public Builder clearIsPubliclyReadable() { @@ -1154,23 +1053,20 @@ public Builder clearIsPubliclyReadable() { } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1.TagTemplateField> - fields_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1.TagTemplateField> + java.lang.String, com.google.cloud.datacatalog.v1.TagTemplateField> fields_; + private com.google.protobuf.MapField internalGetFields() { if (fields_ == null) { - return com.google.protobuf.MapField.emptyMapField(FieldsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + FieldsDefaultEntryHolder.defaultEntry); } return fields_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1.TagTemplateField> + private com.google.protobuf.MapField internalGetMutableFields() { if (fields_ == null) { - fields_ = com.google.protobuf.MapField.newMapField(FieldsDefaultEntryHolder.defaultEntry); + fields_ = com.google.protobuf.MapField.newMapField( + FieldsDefaultEntryHolder.defaultEntry); } if (!fields_.isMutable()) { fields_ = fields_.copy(); @@ -1179,13 +1075,10 @@ public Builder clearIsPubliclyReadable() { onChanged(); return fields_; } - public int getFieldsCount() { return internalGetFields().getMap().size(); } /** - * - * *
      * Required. Map of tag template field IDs to the settings for the field.
      * This map is an exhaustive list of the allowed fields. The map must contain
@@ -1200,27 +1093,23 @@ public int getFieldsCount() {
      * * Must start with a letter or underscore.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public boolean containsFields(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsFields( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetFields().getMap().containsKey(key); } - /** Use {@link #getFieldsMap()} instead. */ + /** + * Use {@link #getFieldsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getFields() { + public java.util.Map getFields() { return getFieldsMap(); } /** - * - * *
      * Required. Map of tag template field IDs to the settings for the field.
      * This map is an exhaustive list of the allowed fields. The map must contain
@@ -1235,18 +1124,13 @@ public boolean containsFields(java.lang.String key) {
      * * Must start with a letter or underscore.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.Map - getFieldsMap() { + public java.util.Map getFieldsMap() { return internalGetFields().getMap(); } /** - * - * *
      * Required. Map of tag template field IDs to the settings for the field.
      * This map is an exhaustive list of the allowed fields. The map must contain
@@ -1261,25 +1145,20 @@ public boolean containsFields(java.lang.String key) {
      * * Must start with a letter or underscore.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public /* nullable */ com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrDefault( + public /* nullable */ +com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.datacatalog.v1.TagTemplateField defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } +com.google.cloud.datacatalog.v1.TagTemplateField defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetFields().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Required. Map of tag template field IDs to the settings for the field.
      * This map is an exhaustive list of the allowed fields. The map must contain
@@ -1294,15 +1173,12 @@ public boolean containsFields(java.lang.String key) {
      * * Must start with a letter or underscore.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetFields().getMap(); if (!map.containsKey(key)) { @@ -1310,15 +1186,13 @@ public com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrThrow(java.la } return map.get(key); } - public Builder clearFields() { bitField0_ = (bitField0_ & ~0x00000008); - internalGetMutableFields().getMutableMap().clear(); + internalGetMutableFields().getMutableMap() + .clear(); return this; } /** - * - * *
      * Required. Map of tag template field IDs to the settings for the field.
      * This map is an exhaustive list of the allowed fields. The map must contain
@@ -1333,18 +1207,18 @@ public Builder clearFields() {
      * * Must start with a letter or underscore.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder removeFields(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableFields().getMutableMap().remove(key); + public Builder removeFields( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableFields().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated public java.util.Map getMutableFields() { @@ -1352,8 +1226,6 @@ public Builder removeFields(java.lang.String key) { return internalGetMutableFields().getMutableMap(); } /** - * - * *
      * Required. Map of tag template field IDs to the settings for the field.
      * This map is an exhaustive list of the allowed fields. The map must contain
@@ -1368,25 +1240,19 @@ public Builder removeFields(java.lang.String key) {
      * * Must start with a letter or underscore.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder putFields( - java.lang.String key, com.google.cloud.datacatalog.v1.TagTemplateField value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableFields().getMutableMap().put(key, value); + java.lang.String key, + com.google.cloud.datacatalog.v1.TagTemplateField value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableFields().getMutableMap() + .put(key, value); bitField0_ |= 0x00000008; return this; } /** - * - * *
      * Required. Map of tag template field IDs to the settings for the field.
      * This map is an exhaustive list of the allowed fields. The map must contain
@@ -1401,19 +1267,18 @@ public Builder putFields(
      * * Must start with a letter or underscore.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder putAllFields( java.util.Map values) { - internalGetMutableFields().getMutableMap().putAll(values); + internalGetMutableFields().getMutableMap() + .putAll(values); bitField0_ |= 0x00000008; return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1423,12 +1288,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.TagTemplate) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.TagTemplate) private static final com.google.cloud.datacatalog.v1.TagTemplate DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.TagTemplate(); } @@ -1437,27 +1302,27 @@ public static com.google.cloud.datacatalog.v1.TagTemplate getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TagTemplate parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TagTemplate parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1472,4 +1337,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.TagTemplate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateField.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateField.java similarity index 71% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateField.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateField.java index 85478b5c365e..e122d0f6736d 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateField.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateField.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/tags.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * The template for an individual field within a tag template.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.TagTemplateField} */ -public final class TagTemplateField extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TagTemplateField extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.TagTemplateField) TagTemplateFieldOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TagTemplateField.newBuilder() to construct. private TagTemplateField(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TagTemplateField() { name_ = ""; displayName_ = ""; @@ -45,32 +27,28 @@ private TagTemplateField() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TagTemplateField(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.Tags - .internal_static_google_cloud_datacatalog_v1_TagTemplateField_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagTemplateField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Tags - .internal_static_google_cloud_datacatalog_v1_TagTemplateField_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagTemplateField_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.TagTemplateField.class, - com.google.cloud.datacatalog.v1.TagTemplateField.Builder.class); + com.google.cloud.datacatalog.v1.TagTemplateField.class, com.google.cloud.datacatalog.v1.TagTemplateField.Builder.class); } public static final int NAME_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. The resource name of the tag template field in URL format.
    * Example:
@@ -86,7 +64,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -95,15 +72,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The resource name of the tag template field in URL format.
    * Example:
@@ -119,15 +95,16 @@ public java.lang.String getName() {
    * 
* * string name = 6 [(.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 { @@ -136,12 +113,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * The display name for this field. Defaults to an empty string.
    *
@@ -151,7 +125,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -160,15 +133,14 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The display name for this field. Defaults to an empty string.
    *
@@ -178,15 +150,16 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -197,16 +170,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int TYPE_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1.FieldType type_; /** - * - * *
    * Required. The type of value this tag field can contain.
    * 
* - * - * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the type field is set. */ @java.lang.Override @@ -214,16 +182,11 @@ public boolean hasType() { return type_ != null; } /** - * - * *
    * Required. The type of value this tag field can contain.
    * 
* - * - * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ @java.lang.Override @@ -231,15 +194,11 @@ public com.google.cloud.datacatalog.v1.FieldType getType() { return type_ == null ? com.google.cloud.datacatalog.v1.FieldType.getDefaultInstance() : type_; } /** - * - * *
    * Required. The type of value this tag field can contain.
    * 
* - * - * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datacatalog.v1.FieldTypeOrBuilder getTypeOrBuilder() { @@ -249,14 +208,11 @@ public com.google.cloud.datacatalog.v1.FieldTypeOrBuilder getTypeOrBuilder() { public static final int IS_REQUIRED_FIELD_NUMBER = 3; private boolean isRequired_ = false; /** - * - * *
    * If true, this field is required. Defaults to false.
    * 
* * bool is_required = 3; - * * @return The isRequired. */ @java.lang.Override @@ -265,18 +221,14 @@ public boolean getIsRequired() { } public static final int DESCRIPTION_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * The description for this field. Defaults to an empty string.
    * 
* * string description = 4; - * * @return The description. */ @java.lang.Override @@ -285,29 +237,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; } } /** - * - * *
    * The description for this field. Defaults to an empty string.
    * 
* * string description = 4; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -318,8 +270,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int ORDER_FIELD_NUMBER = 5; private int order_ = 0; /** - * - * *
    * The order of this field with respect to other fields in this tag
    * template.
@@ -330,7 +280,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
    * 
* * int32 order = 5; - * * @return The order. */ @java.lang.Override @@ -339,7 +288,6 @@ public int getOrder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -351,7 +299,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -383,16 +332,19 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, displayName_); } if (type_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getType()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getType()); } if (isRequired_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, isRequired_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, isRequired_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); } if (order_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, order_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, order_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); @@ -405,23 +357,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.datacatalog.v1.TagTemplateField)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.TagTemplateField other = - (com.google.cloud.datacatalog.v1.TagTemplateField) obj; + com.google.cloud.datacatalog.v1.TagTemplateField other = (com.google.cloud.datacatalog.v1.TagTemplateField) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (hasType() != other.hasType()) return false; if (hasType()) { - if (!getType().equals(other.getType())) return false; - } - if (getIsRequired() != other.getIsRequired()) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (getOrder() != other.getOrder()) return false; + if (!getType() + .equals(other.getType())) return false; + } + if (getIsRequired() + != other.getIsRequired()) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (getOrder() + != other.getOrder()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -442,7 +399,8 @@ public int hashCode() { hash = (53 * hash) + getType().hashCode(); } hash = (37 * hash) + IS_REQUIRED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsRequired()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsRequired()); hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); hash = (37 * hash) + ORDER_FIELD_NUMBER; @@ -452,136 +410,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.TagTemplateField parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.TagTemplateField parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.TagTemplateField parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TagTemplateField parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.TagTemplateField parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TagTemplateField parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.TagTemplateField parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.TagTemplateField parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.TagTemplateField parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.TagTemplateField parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TagTemplateField parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.TagTemplateField parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.TagTemplateField parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TagTemplateField parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.TagTemplateField parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.TagTemplateField prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 template for an individual field within a tag template.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.TagTemplateField} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.TagTemplateField) com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.Tags - .internal_static_google_cloud_datacatalog_v1_TagTemplateField_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagTemplateField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Tags - .internal_static_google_cloud_datacatalog_v1_TagTemplateField_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagTemplateField_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.TagTemplateField.class, - com.google.cloud.datacatalog.v1.TagTemplateField.Builder.class); + com.google.cloud.datacatalog.v1.TagTemplateField.class, com.google.cloud.datacatalog.v1.TagTemplateField.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.TagTemplateField.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -600,9 +554,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.Tags - .internal_static_google_cloud_datacatalog_v1_TagTemplateField_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagTemplateField_descriptor; } @java.lang.Override @@ -621,11 +575,8 @@ public com.google.cloud.datacatalog.v1.TagTemplateField build() { @java.lang.Override public com.google.cloud.datacatalog.v1.TagTemplateField buildPartial() { - com.google.cloud.datacatalog.v1.TagTemplateField result = - new com.google.cloud.datacatalog.v1.TagTemplateField(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1.TagTemplateField result = new com.google.cloud.datacatalog.v1.TagTemplateField(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -639,7 +590,9 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.TagTemplateField resu result.displayName_ = displayName_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.type_ = typeBuilder_ == null ? type_ : typeBuilder_.build(); + result.type_ = typeBuilder_ == null + ? type_ + : typeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.isRequired_ = isRequired_; @@ -656,39 +609,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.TagTemplateField 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.datacatalog.v1.TagTemplateField) { - return mergeFrom((com.google.cloud.datacatalog.v1.TagTemplateField) other); + return mergeFrom((com.google.cloud.datacatalog.v1.TagTemplateField)other); } else { super.mergeFrom(other); return this; @@ -696,8 +648,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.TagTemplateField other) { - if (other == com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance()) - return this; + if (other == com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -748,49 +699,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 10 - case 18: - { - input.readMessage(getTypeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 24: - { - isRequired_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 24 - case 34: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 40: - { - order_ = input.readInt32(); - bitField0_ |= 0x00000020; - break; - } // case 40 - case 50: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 10 + case 18: { + input.readMessage( + getTypeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 24: { + isRequired_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 24 + case 34: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 40: { + order_ = input.readInt32(); + bitField0_ |= 0x00000020; + break; + } // case 40 + case 50: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + 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) { @@ -800,13 +746,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The resource name of the tag template field in URL format.
      * Example:
@@ -822,13 +765,13 @@ public Builder mergeFrom(
      * 
* * string name = 6 [(.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; @@ -837,8 +780,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The resource name of the tag template field in URL format.
      * Example:
@@ -854,14 +795,15 @@ public java.lang.String getName() {
      * 
* * string name = 6 [(.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 { @@ -869,8 +811,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The resource name of the tag template field in URL format.
      * Example:
@@ -886,22 +826,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 6 [(.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 resource name of the tag template field in URL format.
      * Example:
@@ -917,7 +853,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -927,8 +862,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. The resource name of the tag template field in URL format.
      * Example:
@@ -944,14 +877,12 @@ public Builder clearName() {
      * 
* * string name = 6 [(.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; @@ -961,8 +892,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * The display name for this field. Defaults to an empty string.
      *
@@ -972,13 +901,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -987,8 +916,6 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The display name for this field. Defaults to an empty string.
      *
@@ -998,14 +925,15 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1013,8 +941,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The display name for this field. Defaults to an empty string.
      *
@@ -1024,22 +950,18 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
      * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The display name for this field. Defaults to an empty string.
      *
@@ -1049,7 +971,6 @@ public Builder setDisplayName(java.lang.String value) {
      * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1059,8 +980,6 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * The display name for this field. Defaults to an empty string.
      *
@@ -1070,14 +989,12 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -1087,58 +1004,39 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datacatalog.v1.FieldType type_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.FieldType, - com.google.cloud.datacatalog.v1.FieldType.Builder, - com.google.cloud.datacatalog.v1.FieldTypeOrBuilder> - typeBuilder_; + com.google.cloud.datacatalog.v1.FieldType, com.google.cloud.datacatalog.v1.FieldType.Builder, com.google.cloud.datacatalog.v1.FieldTypeOrBuilder> typeBuilder_; /** - * - * *
      * Required. The type of value this tag field can contain.
      * 
* - * - * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the type field is set. */ public boolean hasType() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The type of value this tag field can contain.
      * 
* - * - * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ public com.google.cloud.datacatalog.v1.FieldType getType() { if (typeBuilder_ == null) { - return type_ == null - ? com.google.cloud.datacatalog.v1.FieldType.getDefaultInstance() - : type_; + return type_ == null ? com.google.cloud.datacatalog.v1.FieldType.getDefaultInstance() : type_; } else { return typeBuilder_.getMessage(); } } /** - * - * *
      * Required. The type of value this tag field can contain.
      * 
* - * - * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setType(com.google.cloud.datacatalog.v1.FieldType value) { if (typeBuilder_ == null) { @@ -1154,17 +1052,14 @@ public Builder setType(com.google.cloud.datacatalog.v1.FieldType value) { return this; } /** - * - * *
      * Required. The type of value this tag field can contain.
      * 
* - * - * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setType(com.google.cloud.datacatalog.v1.FieldType.Builder builderForValue) { + public Builder setType( + com.google.cloud.datacatalog.v1.FieldType.Builder builderForValue) { if (typeBuilder_ == null) { type_ = builderForValue.build(); } else { @@ -1175,21 +1070,17 @@ public Builder setType(com.google.cloud.datacatalog.v1.FieldType.Builder builder return this; } /** - * - * *
      * Required. The type of value this tag field can contain.
      * 
* - * - * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeType(com.google.cloud.datacatalog.v1.FieldType value) { if (typeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && type_ != null - && type_ != com.google.cloud.datacatalog.v1.FieldType.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + type_ != null && + type_ != com.google.cloud.datacatalog.v1.FieldType.getDefaultInstance()) { getTypeBuilder().mergeFrom(value); } else { type_ = value; @@ -1202,15 +1093,11 @@ public Builder mergeType(com.google.cloud.datacatalog.v1.FieldType value) { return this; } /** - * - * *
      * Required. The type of value this tag field can contain.
      * 
* - * - * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1223,15 +1110,11 @@ public Builder clearType() { return this; } /** - * - * *
      * Required. The type of value this tag field can contain.
      * 
* - * - * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1.FieldType.Builder getTypeBuilder() { bitField0_ |= 0x00000004; @@ -1239,63 +1122,48 @@ public com.google.cloud.datacatalog.v1.FieldType.Builder getTypeBuilder() { return getTypeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The type of value this tag field can contain.
      * 
* - * - * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1.FieldTypeOrBuilder getTypeOrBuilder() { if (typeBuilder_ != null) { return typeBuilder_.getMessageOrBuilder(); } else { - return type_ == null - ? com.google.cloud.datacatalog.v1.FieldType.getDefaultInstance() - : type_; + return type_ == null ? + com.google.cloud.datacatalog.v1.FieldType.getDefaultInstance() : type_; } } /** - * - * *
      * Required. The type of value this tag field can contain.
      * 
* - * - * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.FieldType, - com.google.cloud.datacatalog.v1.FieldType.Builder, - com.google.cloud.datacatalog.v1.FieldTypeOrBuilder> + com.google.cloud.datacatalog.v1.FieldType, com.google.cloud.datacatalog.v1.FieldType.Builder, com.google.cloud.datacatalog.v1.FieldTypeOrBuilder> getTypeFieldBuilder() { if (typeBuilder_ == null) { - typeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.FieldType, - com.google.cloud.datacatalog.v1.FieldType.Builder, - com.google.cloud.datacatalog.v1.FieldTypeOrBuilder>( - getType(), getParentForChildren(), isClean()); + typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.FieldType, com.google.cloud.datacatalog.v1.FieldType.Builder, com.google.cloud.datacatalog.v1.FieldTypeOrBuilder>( + getType(), + getParentForChildren(), + isClean()); type_ = null; } return typeBuilder_; } - private boolean isRequired_; + private boolean isRequired_ ; /** - * - * *
      * If true, this field is required. Defaults to false.
      * 
* * bool is_required = 3; - * * @return The isRequired. */ @java.lang.Override @@ -1303,14 +1171,11 @@ public boolean getIsRequired() { return isRequired_; } /** - * - * *
      * If true, this field is required. Defaults to false.
      * 
* * bool is_required = 3; - * * @param value The isRequired to set. * @return This builder for chaining. */ @@ -1322,14 +1187,11 @@ public Builder setIsRequired(boolean value) { return this; } /** - * - * *
      * If true, this field is required. Defaults to false.
      * 
* * bool is_required = 3; - * * @return This builder for chaining. */ public Builder clearIsRequired() { @@ -1341,20 +1203,18 @@ public Builder clearIsRequired() { private java.lang.Object description_ = ""; /** - * - * *
      * The description for this field. Defaults to an empty string.
      * 
* * string description = 4; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1363,21 +1223,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * The description for this field. Defaults to an empty string.
      * 
* * string description = 4; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1385,35 +1244,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * The description for this field. Defaults to an empty string.
      * 
* * string description = 4; - * * @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; } /** - * - * *
      * The description for this field. Defaults to an empty string.
      * 
* * string description = 4; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1423,21 +1275,17 @@ public Builder clearDescription() { return this; } /** - * - * *
      * The description for this field. Defaults to an empty string.
      * 
* * string description = 4; - * * @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; @@ -1445,10 +1293,8 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { return this; } - private int order_; + private int order_ ; /** - * - * *
      * The order of this field with respect to other fields in this tag
      * template.
@@ -1459,7 +1305,6 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 order = 5; - * * @return The order. */ @java.lang.Override @@ -1467,8 +1312,6 @@ public int getOrder() { return order_; } /** - * - * *
      * The order of this field with respect to other fields in this tag
      * template.
@@ -1479,7 +1322,6 @@ public int getOrder() {
      * 
* * int32 order = 5; - * * @param value The order to set. * @return This builder for chaining. */ @@ -1491,8 +1333,6 @@ public Builder setOrder(int value) { return this; } /** - * - * *
      * The order of this field with respect to other fields in this tag
      * template.
@@ -1503,7 +1343,6 @@ public Builder setOrder(int value) {
      * 
* * int32 order = 5; - * * @return This builder for chaining. */ public Builder clearOrder() { @@ -1512,9 +1351,9 @@ public Builder clearOrder() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1524,12 +1363,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.TagTemplateField) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.TagTemplateField) private static final com.google.cloud.datacatalog.v1.TagTemplateField DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.TagTemplateField(); } @@ -1538,27 +1377,27 @@ public static com.google.cloud.datacatalog.v1.TagTemplateField getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TagTemplateField parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TagTemplateField parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1573,4 +1412,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.TagTemplateField getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldEnumValueName.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldEnumValueName.java similarity index 100% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldEnumValueName.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldEnumValueName.java diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldName.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldName.java similarity index 100% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldName.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldName.java diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldOrBuilder.java similarity index 74% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldOrBuilder.java index 3ca640eda3b0..b324bd0f939c 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/tags.proto package com.google.cloud.datacatalog.v1; -public interface TagTemplateFieldOrBuilder - extends +public interface TagTemplateFieldOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.TagTemplateField) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The resource name of the tag template field in URL format.
    * Example:
@@ -41,13 +23,10 @@ public interface TagTemplateFieldOrBuilder
    * 
* * string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The resource name of the tag template field in URL format.
    * Example:
@@ -63,14 +42,12 @@ public interface TagTemplateFieldOrBuilder
    * 
* * string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The display name for this field. Defaults to an empty string.
    *
@@ -80,13 +57,10 @@ public interface TagTemplateFieldOrBuilder
    * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The display name for this field. Defaults to an empty string.
    *
@@ -96,93 +70,69 @@ public interface TagTemplateFieldOrBuilder
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Required. The type of value this tag field can contain.
    * 
* - * - * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the type field is set. */ boolean hasType(); /** - * - * *
    * Required. The type of value this tag field can contain.
    * 
* - * - * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ com.google.cloud.datacatalog.v1.FieldType getType(); /** - * - * *
    * Required. The type of value this tag field can contain.
    * 
* - * - * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datacatalog.v1.FieldTypeOrBuilder getTypeOrBuilder(); /** - * - * *
    * If true, this field is required. Defaults to false.
    * 
* * bool is_required = 3; - * * @return The isRequired. */ boolean getIsRequired(); /** - * - * *
    * The description for this field. Defaults to an empty string.
    * 
* * string description = 4; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * The description for this field. Defaults to an empty string.
    * 
* * string description = 4; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * The order of this field with respect to other fields in this tag
    * template.
@@ -193,7 +143,6 @@ public interface TagTemplateFieldOrBuilder
    * 
* * int32 order = 5; - * * @return The order. */ int getOrder(); diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateName.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateName.java similarity index 100% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateName.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateName.java diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateOrBuilder.java similarity index 73% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateOrBuilder.java index 36275d72af92..c69e550d25f3 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/tags.proto package com.google.cloud.datacatalog.v1; -public interface TagTemplateOrBuilder - extends +public interface TagTemplateOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.TagTemplate) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resource name of the tag template in URL format.
    *
@@ -34,13 +16,10 @@ public interface TagTemplateOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The resource name of the tag template in URL format.
    *
@@ -49,14 +28,12 @@ public interface TagTemplateOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Display name for this template. Defaults to an empty string.
    *
@@ -66,13 +43,10 @@ public interface TagTemplateOrBuilder
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Display name for this template. Defaults to an empty string.
    *
@@ -82,14 +56,12 @@ public interface TagTemplateOrBuilder
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Indicates whether tags created with this template are public. Public tags
    * do not require tag template access to appear in
@@ -100,14 +72,11 @@ public interface TagTemplateOrBuilder
    * 
* * bool is_publicly_readable = 5; - * * @return The isPubliclyReadable. */ boolean getIsPubliclyReadable(); /** - * - * *
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. The map must contain
@@ -122,14 +91,10 @@ public interface TagTemplateOrBuilder
    * * Must start with a letter or underscore.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ int getFieldsCount(); /** - * - * *
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. The map must contain
@@ -144,17 +109,17 @@ public interface TagTemplateOrBuilder
    * * Must start with a letter or underscore.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + boolean containsFields( + java.lang.String key); + /** + * Use {@link #getFieldsMap()} instead. */ - boolean containsFields(java.lang.String key); - /** Use {@link #getFieldsMap()} instead. */ @java.lang.Deprecated - java.util.Map getFields(); + java.util.Map + getFields(); /** - * - * *
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. The map must contain
@@ -169,14 +134,11 @@ public interface TagTemplateOrBuilder
    * * Must start with a letter or underscore.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.Map getFieldsMap(); + java.util.Map + getFieldsMap(); /** - * - * *
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. The map must contain
@@ -191,18 +153,14 @@ public interface TagTemplateOrBuilder
    * * Must start with a letter or underscore.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ /* nullable */ - com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrDefault( +com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.datacatalog.v1.TagTemplateField defaultValue); +com.google.cloud.datacatalog.v1.TagTemplateField defaultValue); /** - * - * *
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. The map must contain
@@ -217,9 +175,8 @@ com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrDefault(
    * * Must start with a letter or underscore.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrThrow(java.lang.String key); + com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrThrow( + java.lang.String key); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntry.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntry.java similarity index 66% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntry.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntry.java index 655a27aa7f6f..8df3b82a4042 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntry.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntry.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/dump_content.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Wrapper containing Entry and information about Tags
  * that should and should not be attached to it.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.TaggedEntry}
  */
-public final class TaggedEntry extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TaggedEntry extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.TaggedEntry)
     TaggedEntryOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TaggedEntry.newBuilder() to construct.
   private TaggedEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private TaggedEntry() {
     presentTags_ = java.util.Collections.emptyList();
     absentTags_ = java.util.Collections.emptyList();
@@ -45,38 +27,33 @@ private TaggedEntry() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TaggedEntry();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.DumpContentProto
-        .internal_static_google_cloud_datacatalog_v1_TaggedEntry_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.DumpContentProto.internal_static_google_cloud_datacatalog_v1_TaggedEntry_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.DumpContentProto
-        .internal_static_google_cloud_datacatalog_v1_TaggedEntry_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.DumpContentProto.internal_static_google_cloud_datacatalog_v1_TaggedEntry_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.TaggedEntry.class,
-            com.google.cloud.datacatalog.v1.TaggedEntry.Builder.class);
+            com.google.cloud.datacatalog.v1.TaggedEntry.class, com.google.cloud.datacatalog.v1.TaggedEntry.Builder.class);
   }
 
   private int entryCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object entry_;
-
   public enum EntryCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     V1_ENTRY(1),
     ENTRY_NOT_SET(0);
     private final int value;
-
     private EntryCase(int value) {
       this.value = value;
     }
@@ -92,34 +69,29 @@ public static EntryCase valueOf(int value) {
 
     public static EntryCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return V1_ENTRY;
-        case 0:
-          return ENTRY_NOT_SET;
-        default:
-          return null;
+        case 1: return V1_ENTRY;
+        case 0: return ENTRY_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public EntryCase getEntryCase() {
-    return EntryCase.forNumber(entryCase_);
+  public EntryCase
+  getEntryCase() {
+    return EntryCase.forNumber(
+        entryCase_);
   }
 
   public static final int V1_ENTRY_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * Non-encrypted Data Catalog v1 Entry.
    * 
* * .google.cloud.datacatalog.v1.Entry v1_entry = 1; - * * @return Whether the v1Entry field is set. */ @java.lang.Override @@ -127,26 +99,21 @@ public boolean hasV1Entry() { return entryCase_ == 1; } /** - * - * *
    * Non-encrypted Data Catalog v1 Entry.
    * 
* * .google.cloud.datacatalog.v1.Entry v1_entry = 1; - * * @return The v1Entry. */ @java.lang.Override public com.google.cloud.datacatalog.v1.Entry getV1Entry() { if (entryCase_ == 1) { - return (com.google.cloud.datacatalog.v1.Entry) entry_; + return (com.google.cloud.datacatalog.v1.Entry) entry_; } return com.google.cloud.datacatalog.v1.Entry.getDefaultInstance(); } /** - * - * *
    * Non-encrypted Data Catalog v1 Entry.
    * 
@@ -156,185 +123,144 @@ public com.google.cloud.datacatalog.v1.Entry getV1Entry() { @java.lang.Override public com.google.cloud.datacatalog.v1.EntryOrBuilder getV1EntryOrBuilder() { if (entryCase_ == 1) { - return (com.google.cloud.datacatalog.v1.Entry) entry_; + return (com.google.cloud.datacatalog.v1.Entry) entry_; } return com.google.cloud.datacatalog.v1.Entry.getDefaultInstance(); } public static final int PRESENT_TAGS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List presentTags_; /** - * - * *
    * Optional. Tags that should be ingested into the Data Catalog.
    * Caller should populate template name, column and fields.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.List getPresentTagsList() { return presentTags_; } /** - * - * *
    * Optional. Tags that should be ingested into the Data Catalog.
    * Caller should populate template name, column and fields.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List + public java.util.List getPresentTagsOrBuilderList() { return presentTags_; } /** - * - * *
    * Optional. Tags that should be ingested into the Data Catalog.
    * Caller should populate template name, column and fields.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public int getPresentTagsCount() { return presentTags_.size(); } /** - * - * *
    * Optional. Tags that should be ingested into the Data Catalog.
    * Caller should populate template name, column and fields.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.datacatalog.v1.Tag getPresentTags(int index) { return presentTags_.get(index); } /** - * - * *
    * Optional. Tags that should be ingested into the Data Catalog.
    * Caller should populate template name, column and fields.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.TagOrBuilder getPresentTagsOrBuilder(int index) { + public com.google.cloud.datacatalog.v1.TagOrBuilder getPresentTagsOrBuilder( + int index) { return presentTags_.get(index); } public static final int ABSENT_TAGS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List absentTags_; /** - * - * *
    * Optional. Tags that should be deleted from the Data Catalog.
    * Caller should populate template name and column only.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.List getAbsentTagsList() { return absentTags_; } /** - * - * *
    * Optional. Tags that should be deleted from the Data Catalog.
    * Caller should populate template name and column only.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List + public java.util.List getAbsentTagsOrBuilderList() { return absentTags_; } /** - * - * *
    * Optional. Tags that should be deleted from the Data Catalog.
    * Caller should populate template name and column only.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public int getAbsentTagsCount() { return absentTags_.size(); } /** - * - * *
    * Optional. Tags that should be deleted from the Data Catalog.
    * Caller should populate template name and column only.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.datacatalog.v1.Tag getAbsentTags(int index) { return absentTags_.get(index); } /** - * - * *
    * Optional. Tags that should be deleted from the Data Catalog.
    * Caller should populate template name and column only.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.TagOrBuilder getAbsentTagsOrBuilder(int index) { + public com.google.cloud.datacatalog.v1.TagOrBuilder getAbsentTagsOrBuilder( + int index) { return absentTags_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -346,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 (entryCase_ == 1) { output.writeMessage(1, (com.google.cloud.datacatalog.v1.Entry) entry_); } @@ -366,15 +293,16 @@ public int getSerializedSize() { size = 0; if (entryCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.datacatalog.v1.Entry) entry_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.datacatalog.v1.Entry) entry_); } for (int i = 0; i < presentTags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, presentTags_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, presentTags_.get(i)); } for (int i = 0; i < absentTags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, absentTags_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, absentTags_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -384,20 +312,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.datacatalog.v1.TaggedEntry)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.TaggedEntry other = - (com.google.cloud.datacatalog.v1.TaggedEntry) obj; + com.google.cloud.datacatalog.v1.TaggedEntry other = (com.google.cloud.datacatalog.v1.TaggedEntry) obj; - if (!getPresentTagsList().equals(other.getPresentTagsList())) return false; - if (!getAbsentTagsList().equals(other.getAbsentTagsList())) return false; + if (!getPresentTagsList() + .equals(other.getPresentTagsList())) return false; + if (!getAbsentTagsList() + .equals(other.getAbsentTagsList())) return false; if (!getEntryCase().equals(other.getEntryCase())) return false; switch (entryCase_) { case 1: - if (!getV1Entry().equals(other.getV1Entry())) return false; + if (!getV1Entry() + .equals(other.getV1Entry())) return false; break; case 0: default: @@ -434,104 +364,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.TaggedEntry parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.TaggedEntry parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.TaggedEntry parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TaggedEntry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.TaggedEntry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TaggedEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.TaggedEntry parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TaggedEntry parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.TaggedEntry parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TaggedEntry parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.TaggedEntry parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.TaggedEntry parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TaggedEntry parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.TaggedEntry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.TaggedEntry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Wrapper containing Entry and information about Tags
    * that should and should not be attached to it.
@@ -539,32 +464,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.TaggedEntry}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.TaggedEntry)
       com.google.cloud.datacatalog.v1.TaggedEntryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.DumpContentProto
-          .internal_static_google_cloud_datacatalog_v1_TaggedEntry_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.DumpContentProto.internal_static_google_cloud_datacatalog_v1_TaggedEntry_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.DumpContentProto
-          .internal_static_google_cloud_datacatalog_v1_TaggedEntry_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.DumpContentProto.internal_static_google_cloud_datacatalog_v1_TaggedEntry_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.TaggedEntry.class,
-              com.google.cloud.datacatalog.v1.TaggedEntry.Builder.class);
+              com.google.cloud.datacatalog.v1.TaggedEntry.class, com.google.cloud.datacatalog.v1.TaggedEntry.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.TaggedEntry.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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,9 +518,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.DumpContentProto
-          .internal_static_google_cloud_datacatalog_v1_TaggedEntry_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.DumpContentProto.internal_static_google_cloud_datacatalog_v1_TaggedEntry_descriptor;
     }
 
     @java.lang.Override
@@ -613,12 +539,9 @@ public com.google.cloud.datacatalog.v1.TaggedEntry build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.TaggedEntry buildPartial() {
-      com.google.cloud.datacatalog.v1.TaggedEntry result =
-          new com.google.cloud.datacatalog.v1.TaggedEntry(this);
+      com.google.cloud.datacatalog.v1.TaggedEntry result = new com.google.cloud.datacatalog.v1.TaggedEntry(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -652,7 +575,8 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.TaggedEntry result) {
     private void buildPartialOneofs(com.google.cloud.datacatalog.v1.TaggedEntry result) {
       result.entryCase_ = entryCase_;
       result.entry_ = this.entry_;
-      if (entryCase_ == 1 && v1EntryBuilder_ != null) {
+      if (entryCase_ == 1 &&
+          v1EntryBuilder_ != null) {
         result.entry_ = v1EntryBuilder_.build();
       }
     }
@@ -661,39 +585,38 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.TaggedEntry 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.datacatalog.v1.TaggedEntry) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.TaggedEntry) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.TaggedEntry)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -720,10 +643,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.TaggedEntry other) {
             presentTagsBuilder_ = null;
             presentTags_ = other.presentTags_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            presentTagsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getPresentTagsFieldBuilder()
-                    : null;
+            presentTagsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getPresentTagsFieldBuilder() : null;
           } else {
             presentTagsBuilder_.addAllMessages(other.presentTags_);
           }
@@ -747,25 +669,22 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.TaggedEntry other) {
             absentTagsBuilder_ = null;
             absentTags_ = other.absentTags_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            absentTagsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getAbsentTagsFieldBuilder()
-                    : null;
+            absentTagsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getAbsentTagsFieldBuilder() : null;
           } else {
             absentTagsBuilder_.addAllMessages(other.absentTags_);
           }
         }
       }
       switch (other.getEntryCase()) {
-        case V1_ENTRY:
-          {
-            mergeV1Entry(other.getV1Entry());
-            break;
-          }
-        case ENTRY_NOT_SET:
-          {
-            break;
-          }
+        case V1_ENTRY: {
+          mergeV1Entry(other.getV1Entry());
+          break;
+        }
+        case ENTRY_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -793,45 +712,45 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getV1EntryFieldBuilder().getBuilder(), extensionRegistry);
-                entryCase_ = 1;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.cloud.datacatalog.v1.Tag m =
-                    input.readMessage(
-                        com.google.cloud.datacatalog.v1.Tag.parser(), extensionRegistry);
-                if (presentTagsBuilder_ == null) {
-                  ensurePresentTagsIsMutable();
-                  presentTags_.add(m);
-                } else {
-                  presentTagsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            case 26:
-              {
-                com.google.cloud.datacatalog.v1.Tag m =
-                    input.readMessage(
-                        com.google.cloud.datacatalog.v1.Tag.parser(), extensionRegistry);
-                if (absentTagsBuilder_ == null) {
-                  ensureAbsentTagsIsMutable();
-                  absentTags_.add(m);
-                } else {
-                  absentTagsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getV1EntryFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              entryCase_ = 1;
+              break;
+            } // case 10
+            case 18: {
+              com.google.cloud.datacatalog.v1.Tag m =
+                  input.readMessage(
+                      com.google.cloud.datacatalog.v1.Tag.parser(),
+                      extensionRegistry);
+              if (presentTagsBuilder_ == null) {
+                ensurePresentTagsIsMutable();
+                presentTags_.add(m);
+              } else {
+                presentTagsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            case 26: {
+              com.google.cloud.datacatalog.v1.Tag m =
+                  input.readMessage(
+                      com.google.cloud.datacatalog.v1.Tag.parser(),
+                      extensionRegistry);
+              if (absentTagsBuilder_ == null) {
+                ensureAbsentTagsIsMutable();
+                absentTags_.add(m);
+              } else {
+                absentTagsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -841,12 +760,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int entryCase_ = 0;
     private java.lang.Object entry_;
-
-    public EntryCase getEntryCase() {
-      return EntryCase.forNumber(entryCase_);
+    public EntryCase
+        getEntryCase() {
+      return EntryCase.forNumber(
+          entryCase_);
     }
 
     public Builder clearEntry() {
@@ -859,19 +778,13 @@ public Builder clearEntry() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.Entry,
-            com.google.cloud.datacatalog.v1.Entry.Builder,
-            com.google.cloud.datacatalog.v1.EntryOrBuilder>
-        v1EntryBuilder_;
+        com.google.cloud.datacatalog.v1.Entry, com.google.cloud.datacatalog.v1.Entry.Builder, com.google.cloud.datacatalog.v1.EntryOrBuilder> v1EntryBuilder_;
     /**
-     *
-     *
      * 
      * Non-encrypted Data Catalog v1 Entry.
      * 
* * .google.cloud.datacatalog.v1.Entry v1_entry = 1; - * * @return Whether the v1Entry field is set. */ @java.lang.Override @@ -879,14 +792,11 @@ public boolean hasV1Entry() { return entryCase_ == 1; } /** - * - * *
      * Non-encrypted Data Catalog v1 Entry.
      * 
* * .google.cloud.datacatalog.v1.Entry v1_entry = 1; - * * @return The v1Entry. */ @java.lang.Override @@ -904,8 +814,6 @@ public com.google.cloud.datacatalog.v1.Entry getV1Entry() { } } /** - * - * *
      * Non-encrypted Data Catalog v1 Entry.
      * 
@@ -926,15 +834,14 @@ public Builder setV1Entry(com.google.cloud.datacatalog.v1.Entry value) { return this; } /** - * - * *
      * Non-encrypted Data Catalog v1 Entry.
      * 
* * .google.cloud.datacatalog.v1.Entry v1_entry = 1; */ - public Builder setV1Entry(com.google.cloud.datacatalog.v1.Entry.Builder builderForValue) { + public Builder setV1Entry( + com.google.cloud.datacatalog.v1.Entry.Builder builderForValue) { if (v1EntryBuilder_ == null) { entry_ = builderForValue.build(); onChanged(); @@ -945,8 +852,6 @@ public Builder setV1Entry(com.google.cloud.datacatalog.v1.Entry.Builder builderF return this; } /** - * - * *
      * Non-encrypted Data Catalog v1 Entry.
      * 
@@ -955,13 +860,10 @@ public Builder setV1Entry(com.google.cloud.datacatalog.v1.Entry.Builder builderF */ public Builder mergeV1Entry(com.google.cloud.datacatalog.v1.Entry value) { if (v1EntryBuilder_ == null) { - if (entryCase_ == 1 - && entry_ != com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()) { - entry_ = - com.google.cloud.datacatalog.v1.Entry.newBuilder( - (com.google.cloud.datacatalog.v1.Entry) entry_) - .mergeFrom(value) - .buildPartial(); + if (entryCase_ == 1 && + entry_ != com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()) { + entry_ = com.google.cloud.datacatalog.v1.Entry.newBuilder((com.google.cloud.datacatalog.v1.Entry) entry_) + .mergeFrom(value).buildPartial(); } else { entry_ = value; } @@ -977,8 +879,6 @@ public Builder mergeV1Entry(com.google.cloud.datacatalog.v1.Entry value) { return this; } /** - * - * *
      * Non-encrypted Data Catalog v1 Entry.
      * 
@@ -1002,8 +902,6 @@ public Builder clearV1Entry() { return this; } /** - * - * *
      * Non-encrypted Data Catalog v1 Entry.
      * 
@@ -1014,8 +912,6 @@ public com.google.cloud.datacatalog.v1.Entry.Builder getV1EntryBuilder() { return getV1EntryFieldBuilder().getBuilder(); } /** - * - * *
      * Non-encrypted Data Catalog v1 Entry.
      * 
@@ -1034,8 +930,6 @@ public com.google.cloud.datacatalog.v1.EntryOrBuilder getV1EntryOrBuilder() { } } /** - * - * *
      * Non-encrypted Data Catalog v1 Entry.
      * 
@@ -1043,20 +937,17 @@ public com.google.cloud.datacatalog.v1.EntryOrBuilder getV1EntryOrBuilder() { * .google.cloud.datacatalog.v1.Entry v1_entry = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Entry, - com.google.cloud.datacatalog.v1.Entry.Builder, - com.google.cloud.datacatalog.v1.EntryOrBuilder> + com.google.cloud.datacatalog.v1.Entry, com.google.cloud.datacatalog.v1.Entry.Builder, com.google.cloud.datacatalog.v1.EntryOrBuilder> getV1EntryFieldBuilder() { if (v1EntryBuilder_ == null) { if (!(entryCase_ == 1)) { entry_ = com.google.cloud.datacatalog.v1.Entry.getDefaultInstance(); } - v1EntryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Entry, - com.google.cloud.datacatalog.v1.Entry.Builder, - com.google.cloud.datacatalog.v1.EntryOrBuilder>( - (com.google.cloud.datacatalog.v1.Entry) entry_, getParentForChildren(), isClean()); + v1EntryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.Entry, com.google.cloud.datacatalog.v1.Entry.Builder, com.google.cloud.datacatalog.v1.EntryOrBuilder>( + (com.google.cloud.datacatalog.v1.Entry) entry_, + getParentForChildren(), + isClean()); entry_ = null; } entryCase_ = 1; @@ -1065,32 +956,24 @@ public com.google.cloud.datacatalog.v1.EntryOrBuilder getV1EntryOrBuilder() { } private java.util.List presentTags_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePresentTagsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { presentTags_ = new java.util.ArrayList(presentTags_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Tag, - com.google.cloud.datacatalog.v1.Tag.Builder, - com.google.cloud.datacatalog.v1.TagOrBuilder> - presentTagsBuilder_; + com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder> presentTagsBuilder_; /** - * - * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public java.util.List getPresentTagsList() { if (presentTagsBuilder_ == null) { @@ -1100,16 +983,12 @@ public java.util.List getPresentTagsList() } } /** - * - * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public int getPresentTagsCount() { if (presentTagsBuilder_ == null) { @@ -1119,16 +998,12 @@ public int getPresentTagsCount() { } } /** - * - * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.datacatalog.v1.Tag getPresentTags(int index) { if (presentTagsBuilder_ == null) { @@ -1138,18 +1013,15 @@ public com.google.cloud.datacatalog.v1.Tag getPresentTags(int index) { } } /** - * - * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setPresentTags(int index, com.google.cloud.datacatalog.v1.Tag value) { + public Builder setPresentTags( + int index, com.google.cloud.datacatalog.v1.Tag value) { if (presentTagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1163,16 +1035,12 @@ public Builder setPresentTags(int index, com.google.cloud.datacatalog.v1.Tag val return this; } /** - * - * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setPresentTags( int index, com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { @@ -1186,16 +1054,12 @@ public Builder setPresentTags( return this; } /** - * - * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addPresentTags(com.google.cloud.datacatalog.v1.Tag value) { if (presentTagsBuilder_ == null) { @@ -1211,18 +1075,15 @@ public Builder addPresentTags(com.google.cloud.datacatalog.v1.Tag value) { return this; } /** - * - * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder addPresentTags(int index, com.google.cloud.datacatalog.v1.Tag value) { + public Builder addPresentTags( + int index, com.google.cloud.datacatalog.v1.Tag value) { if (presentTagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1236,18 +1097,15 @@ public Builder addPresentTags(int index, com.google.cloud.datacatalog.v1.Tag val return this; } /** - * - * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder addPresentTags(com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { + public Builder addPresentTags( + com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { if (presentTagsBuilder_ == null) { ensurePresentTagsIsMutable(); presentTags_.add(builderForValue.build()); @@ -1258,16 +1116,12 @@ public Builder addPresentTags(com.google.cloud.datacatalog.v1.Tag.Builder builde return this; } /** - * - * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addPresentTags( int index, com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { @@ -1281,22 +1135,19 @@ public Builder addPresentTags( return this; } /** - * - * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAllPresentTags( java.lang.Iterable values) { if (presentTagsBuilder_ == null) { ensurePresentTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, presentTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, presentTags_); onChanged(); } else { presentTagsBuilder_.addAllMessages(values); @@ -1304,16 +1155,12 @@ public Builder addAllPresentTags( return this; } /** - * - * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearPresentTags() { if (presentTagsBuilder_ == null) { @@ -1326,16 +1173,12 @@ public Builder clearPresentTags() { return this; } /** - * - * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder removePresentTags(int index) { if (presentTagsBuilder_ == null) { @@ -1348,53 +1191,42 @@ public Builder removePresentTags(int index) { return this; } /** - * - * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.datacatalog.v1.Tag.Builder getPresentTagsBuilder(int index) { + public com.google.cloud.datacatalog.v1.Tag.Builder getPresentTagsBuilder( + int index) { return getPresentTagsFieldBuilder().getBuilder(index); } /** - * - * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.datacatalog.v1.TagOrBuilder getPresentTagsOrBuilder(int index) { + public com.google.cloud.datacatalog.v1.TagOrBuilder getPresentTagsOrBuilder( + int index) { if (presentTagsBuilder_ == null) { - return presentTags_.get(index); - } else { + return presentTags_.get(index); } else { return presentTagsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getPresentTagsOrBuilderList() { + public java.util.List + getPresentTagsOrBuilderList() { if (presentTagsBuilder_ != null) { return presentTagsBuilder_.getMessageOrBuilderList(); } else { @@ -1402,97 +1234,76 @@ public com.google.cloud.datacatalog.v1.TagOrBuilder getPresentTagsOrBuilder(int } } /** - * - * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.datacatalog.v1.Tag.Builder addPresentTagsBuilder() { - return getPresentTagsFieldBuilder() - .addBuilder(com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()); + return getPresentTagsFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()); } /** - * - * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.datacatalog.v1.Tag.Builder addPresentTagsBuilder(int index) { - return getPresentTagsFieldBuilder() - .addBuilder(index, com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()); + public com.google.cloud.datacatalog.v1.Tag.Builder addPresentTagsBuilder( + int index) { + return getPresentTagsFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()); } /** - * - * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List getPresentTagsBuilderList() { + public java.util.List + getPresentTagsBuilderList() { return getPresentTagsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Tag, - com.google.cloud.datacatalog.v1.Tag.Builder, - com.google.cloud.datacatalog.v1.TagOrBuilder> + com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder> getPresentTagsFieldBuilder() { if (presentTagsBuilder_ == null) { - presentTagsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Tag, - com.google.cloud.datacatalog.v1.Tag.Builder, - com.google.cloud.datacatalog.v1.TagOrBuilder>( - presentTags_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + presentTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder>( + presentTags_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); presentTags_ = null; } return presentTagsBuilder_; } private java.util.List absentTags_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAbsentTagsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { absentTags_ = new java.util.ArrayList(absentTags_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Tag, - com.google.cloud.datacatalog.v1.Tag.Builder, - com.google.cloud.datacatalog.v1.TagOrBuilder> - absentTagsBuilder_; + com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder> absentTagsBuilder_; /** - * - * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public java.util.List getAbsentTagsList() { if (absentTagsBuilder_ == null) { @@ -1502,16 +1313,12 @@ public java.util.List getAbsentTagsList() { } } /** - * - * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public int getAbsentTagsCount() { if (absentTagsBuilder_ == null) { @@ -1521,16 +1328,12 @@ public int getAbsentTagsCount() { } } /** - * - * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.datacatalog.v1.Tag getAbsentTags(int index) { if (absentTagsBuilder_ == null) { @@ -1540,18 +1343,15 @@ public com.google.cloud.datacatalog.v1.Tag getAbsentTags(int index) { } } /** - * - * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setAbsentTags(int index, com.google.cloud.datacatalog.v1.Tag value) { + public Builder setAbsentTags( + int index, com.google.cloud.datacatalog.v1.Tag value) { if (absentTagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1565,16 +1365,12 @@ public Builder setAbsentTags(int index, com.google.cloud.datacatalog.v1.Tag valu return this; } /** - * - * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setAbsentTags( int index, com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { @@ -1588,16 +1384,12 @@ public Builder setAbsentTags( return this; } /** - * - * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAbsentTags(com.google.cloud.datacatalog.v1.Tag value) { if (absentTagsBuilder_ == null) { @@ -1613,18 +1405,15 @@ public Builder addAbsentTags(com.google.cloud.datacatalog.v1.Tag value) { return this; } /** - * - * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder addAbsentTags(int index, com.google.cloud.datacatalog.v1.Tag value) { + public Builder addAbsentTags( + int index, com.google.cloud.datacatalog.v1.Tag value) { if (absentTagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1638,18 +1427,15 @@ public Builder addAbsentTags(int index, com.google.cloud.datacatalog.v1.Tag valu return this; } /** - * - * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder addAbsentTags(com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { + public Builder addAbsentTags( + com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { if (absentTagsBuilder_ == null) { ensureAbsentTagsIsMutable(); absentTags_.add(builderForValue.build()); @@ -1660,16 +1446,12 @@ public Builder addAbsentTags(com.google.cloud.datacatalog.v1.Tag.Builder builder return this; } /** - * - * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAbsentTags( int index, com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { @@ -1683,22 +1465,19 @@ public Builder addAbsentTags( return this; } /** - * - * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAllAbsentTags( java.lang.Iterable values) { if (absentTagsBuilder_ == null) { ensureAbsentTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, absentTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, absentTags_); onChanged(); } else { absentTagsBuilder_.addAllMessages(values); @@ -1706,16 +1485,12 @@ public Builder addAllAbsentTags( return this; } /** - * - * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearAbsentTags() { if (absentTagsBuilder_ == null) { @@ -1728,16 +1503,12 @@ public Builder clearAbsentTags() { return this; } /** - * - * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder removeAbsentTags(int index) { if (absentTagsBuilder_ == null) { @@ -1750,53 +1521,42 @@ public Builder removeAbsentTags(int index) { return this; } /** - * - * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.datacatalog.v1.Tag.Builder getAbsentTagsBuilder(int index) { + public com.google.cloud.datacatalog.v1.Tag.Builder getAbsentTagsBuilder( + int index) { return getAbsentTagsFieldBuilder().getBuilder(index); } /** - * - * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.datacatalog.v1.TagOrBuilder getAbsentTagsOrBuilder(int index) { + public com.google.cloud.datacatalog.v1.TagOrBuilder getAbsentTagsOrBuilder( + int index) { if (absentTagsBuilder_ == null) { - return absentTags_.get(index); - } else { + return absentTags_.get(index); } else { return absentTagsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getAbsentTagsOrBuilderList() { + public java.util.List + getAbsentTagsOrBuilderList() { if (absentTagsBuilder_ != null) { return absentTagsBuilder_.getMessageOrBuilderList(); } else { @@ -1804,72 +1564,59 @@ public com.google.cloud.datacatalog.v1.TagOrBuilder getAbsentTagsOrBuilder(int i } } /** - * - * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.datacatalog.v1.Tag.Builder addAbsentTagsBuilder() { - return getAbsentTagsFieldBuilder() - .addBuilder(com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()); + return getAbsentTagsFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()); } /** - * - * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.datacatalog.v1.Tag.Builder addAbsentTagsBuilder(int index) { - return getAbsentTagsFieldBuilder() - .addBuilder(index, com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()); + public com.google.cloud.datacatalog.v1.Tag.Builder addAbsentTagsBuilder( + int index) { + return getAbsentTagsFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()); } /** - * - * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List getAbsentTagsBuilderList() { + public java.util.List + getAbsentTagsBuilderList() { return getAbsentTagsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Tag, - com.google.cloud.datacatalog.v1.Tag.Builder, - com.google.cloud.datacatalog.v1.TagOrBuilder> + com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder> getAbsentTagsFieldBuilder() { if (absentTagsBuilder_ == null) { - absentTagsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Tag, - com.google.cloud.datacatalog.v1.Tag.Builder, - com.google.cloud.datacatalog.v1.TagOrBuilder>( - absentTags_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + absentTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder>( + absentTags_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); absentTags_ = null; } return absentTagsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1879,12 +1626,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.TaggedEntry) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.TaggedEntry) private static final com.google.cloud.datacatalog.v1.TaggedEntry DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.TaggedEntry(); } @@ -1893,27 +1640,27 @@ public static com.google.cloud.datacatalog.v1.TaggedEntry getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaggedEntry parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TaggedEntry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1928,4 +1675,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.TaggedEntry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntryOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntryOrBuilder.java similarity index 58% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntryOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntryOrBuilder.java index c411ee37c342..3ddb9c064fed 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntryOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntryOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/dump_content.proto package com.google.cloud.datacatalog.v1; -public interface TaggedEntryOrBuilder - extends +public interface TaggedEntryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.TaggedEntry) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Non-encrypted Data Catalog v1 Entry.
    * 
* * .google.cloud.datacatalog.v1.Entry v1_entry = 1; - * * @return Whether the v1Entry field is set. */ boolean hasV1Entry(); /** - * - * *
    * Non-encrypted Data Catalog v1 Entry.
    * 
* * .google.cloud.datacatalog.v1.Entry v1_entry = 1; - * * @return The v1Entry. */ com.google.cloud.datacatalog.v1.Entry getV1Entry(); /** - * - * *
    * Non-encrypted Data Catalog v1 Entry.
    * 
@@ -59,138 +35,102 @@ public interface TaggedEntryOrBuilder com.google.cloud.datacatalog.v1.EntryOrBuilder getV1EntryOrBuilder(); /** - * - * *
    * Optional. Tags that should be ingested into the Data Catalog.
    * Caller should populate template name, column and fields.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List getPresentTagsList(); + java.util.List + getPresentTagsList(); /** - * - * *
    * Optional. Tags that should be ingested into the Data Catalog.
    * Caller should populate template name, column and fields.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.datacatalog.v1.Tag getPresentTags(int index); /** - * - * *
    * Optional. Tags that should be ingested into the Data Catalog.
    * Caller should populate template name, column and fields.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; */ int getPresentTagsCount(); /** - * - * *
    * Optional. Tags that should be ingested into the Data Catalog.
    * Caller should populate template name, column and fields.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getPresentTagsOrBuilderList(); /** - * - * *
    * Optional. Tags that should be ingested into the Data Catalog.
    * Caller should populate template name, column and fields.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.datacatalog.v1.TagOrBuilder getPresentTagsOrBuilder(int index); + com.google.cloud.datacatalog.v1.TagOrBuilder getPresentTagsOrBuilder( + int index); /** - * - * *
    * Optional. Tags that should be deleted from the Data Catalog.
    * Caller should populate template name and column only.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List getAbsentTagsList(); + java.util.List + getAbsentTagsList(); /** - * - * *
    * Optional. Tags that should be deleted from the Data Catalog.
    * Caller should populate template name and column only.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.datacatalog.v1.Tag getAbsentTags(int index); /** - * - * *
    * Optional. Tags that should be deleted from the Data Catalog.
    * Caller should populate template name and column only.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; */ int getAbsentTagsCount(); /** - * - * *
    * Optional. Tags that should be deleted from the Data Catalog.
    * Caller should populate template name and column only.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getAbsentTagsOrBuilderList(); /** - * - * *
    * Optional. Tags that should be deleted from the Data Catalog.
    * Caller should populate template name and column only.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.datacatalog.v1.TagOrBuilder getAbsentTagsOrBuilder(int index); + com.google.cloud.datacatalog.v1.TagOrBuilder getAbsentTagsOrBuilder( + int index); com.google.cloud.datacatalog.v1.TaggedEntry.EntryCase getEntryCase(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tags.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tags.java new file mode 100644 index 000000000000..1484fb5bf554 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tags.java @@ -0,0 +1,212 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/tags.proto + +package com.google.cloud.datacatalog.v1; + +public final class Tags { + private Tags() {} + 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_datacatalog_v1_Tag_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_Tag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_Tag_FieldsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_Tag_FieldsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_TagField_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_TagField_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_TagTemplate_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_TagTemplate_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_TagTemplate_FieldsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_TagTemplate_FieldsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_TagTemplateField_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_TagTemplateField_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_FieldType_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_FieldType_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_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/datacatalog/v1/tags.proto" + + "\022\033google.cloud.datacatalog.v1\032\037google/ap" + + "i/field_behavior.proto\032\031google/api/resou" + + "rce.proto\032\037google/protobuf/timestamp.pro" + + "to\"\211\003\n\003Tag\022\014\n\004name\030\001 \001(\t\022\026\n\010template\030\002 \001" + + "(\tB\004\342A\001\002\022#\n\025template_display_name\030\005 \001(\tB" + + "\004\342A\001\003\022\020\n\006column\030\004 \001(\tH\000\022B\n\006fields\030\003 \003(\0132" + + ",.google.cloud.datacatalog.v1.Tag.Fields" + + "EntryB\004\342A\001\002\032T\n\013FieldsEntry\022\013\n\003key\030\001 \001(\t\022" + + "4\n\005value\030\002 \001(\0132%.google.cloud.datacatalo" + + "g.v1.TagField:\0028\001:\201\001\352A~\n\036datacatalog.goo" + + "gleapis.com/Tag\022\\projects/{project}/loca" + + "tions/{location}/entryGroups/{entry_grou" + + "p}/entries/{entry}/tags/{tag}B\007\n\005scope\"\304" + + "\002\n\010TagField\022\032\n\014display_name\030\001 \001(\tB\004\342A\001\003\022" + + "\026\n\014double_value\030\002 \001(\001H\000\022\026\n\014string_value\030" + + "\003 \001(\tH\000\022\024\n\nbool_value\030\004 \001(\010H\000\0225\n\017timesta" + + "mp_value\030\005 \001(\0132\032.google.protobuf.Timesta" + + "mpH\000\022E\n\nenum_value\030\006 \001(\0132/.google.cloud." + + "datacatalog.v1.TagField.EnumValueH\000\022\030\n\016r" + + "ichtext_value\030\010 \001(\tH\000\022\023\n\005order\030\007 \001(\005B\004\342A" + + "\001\003\032!\n\tEnumValue\022\024\n\014display_name\030\001 \001(\tB\006\n" + + "\004kind\"\353\002\n\013TagTemplate\022\014\n\004name\030\001 \001(\t\022\024\n\014d" + + "isplay_name\030\002 \001(\t\022\034\n\024is_publicly_readabl" + + "e\030\005 \001(\010\022J\n\006fields\030\003 \003(\01324.google.cloud.d" + + "atacatalog.v1.TagTemplate.FieldsEntryB\004\342" + + "A\001\002\032\\\n\013FieldsEntry\022\013\n\003key\030\001 \001(\t\022<\n\005value" + + "\030\002 \001(\0132-.google.cloud.datacatalog.v1.Tag" + + "TemplateField:\0028\001:p\352Am\n&datacatalog.goog" + + "leapis.com/TagTemplate\022Cprojects/{projec" + + "t}/locations/{location}/tagTemplates/{ta" + + "g_template}\"\271\002\n\020TagTemplateField\022\022\n\004name" + + "\030\006 \001(\tB\004\342A\001\003\022\024\n\014display_name\030\001 \001(\t\022:\n\004ty" + + "pe\030\002 \001(\0132&.google.cloud.datacatalog.v1.F" + + "ieldTypeB\004\342A\001\002\022\023\n\013is_required\030\003 \001(\010\022\023\n\013d" + + "escription\030\004 \001(\t\022\r\n\005order\030\005 \001(\005:\205\001\352A\201\001\n+" + + "datacatalog.googleapis.com/TagTemplateFi" + + "eld\022Rprojects/{project}/locations/{locat" + + "ion}/tagTemplates/{tag_template}/fields/" + + "{field}\"\247\003\n\tFieldType\022N\n\016primitive_type\030" + + "\001 \001(\01624.google.cloud.datacatalog.v1.Fiel" + + "dType.PrimitiveTypeH\000\022D\n\tenum_type\030\002 \001(\013" + + "2/.google.cloud.datacatalog.v1.FieldType" + + ".EnumTypeH\000\032\206\001\n\010EnumType\022Q\n\016allowed_valu" + + "es\030\001 \003(\01329.google.cloud.datacatalog.v1.F" + + "ieldType.EnumType.EnumValue\032\'\n\tEnumValue" + + "\022\032\n\014display_name\030\001 \001(\tB\004\342A\001\002\"n\n\rPrimitiv" + + "eType\022\036\n\032PRIMITIVE_TYPE_UNSPECIFIED\020\000\022\n\n" + + "\006DOUBLE\020\001\022\n\n\006STRING\020\002\022\010\n\004BOOL\020\003\022\r\n\tTIMES" + + "TAMP\020\004\022\014\n\010RICHTEXT\020\005B\013\n\ttype_declB\306\001\n\037co" + + "m.google.cloud.datacatalog.v1P\001ZAcloud.g" + + "oogle.com/go/datacatalog/apiv1/datacatal" + + "ogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud.Dat" + + "aCatalog.V1\312\002\033Google\\Cloud\\DataCatalog\\V" + + "1\352\002\036Google::Cloud::DataCatalog::V1b\006prot" + + "o3" + }; + 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.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1_Tag_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1_Tag_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_Tag_descriptor, + new java.lang.String[] { "Name", "Template", "TemplateDisplayName", "Column", "Fields", "Scope", }); + internal_static_google_cloud_datacatalog_v1_Tag_FieldsEntry_descriptor = + internal_static_google_cloud_datacatalog_v1_Tag_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datacatalog_v1_Tag_FieldsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_Tag_FieldsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_datacatalog_v1_TagField_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1_TagField_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_TagField_descriptor, + new java.lang.String[] { "DisplayName", "DoubleValue", "StringValue", "BoolValue", "TimestampValue", "EnumValue", "RichtextValue", "Order", "Kind", }); + internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_descriptor = + internal_static_google_cloud_datacatalog_v1_TagField_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_descriptor, + new java.lang.String[] { "DisplayName", }); + internal_static_google_cloud_datacatalog_v1_TagTemplate_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_datacatalog_v1_TagTemplate_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_TagTemplate_descriptor, + new java.lang.String[] { "Name", "DisplayName", "IsPubliclyReadable", "Fields", }); + internal_static_google_cloud_datacatalog_v1_TagTemplate_FieldsEntry_descriptor = + internal_static_google_cloud_datacatalog_v1_TagTemplate_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datacatalog_v1_TagTemplate_FieldsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_TagTemplate_FieldsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_datacatalog_v1_TagTemplateField_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_datacatalog_v1_TagTemplateField_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_TagTemplateField_descriptor, + new java.lang.String[] { "Name", "DisplayName", "Type", "IsRequired", "Description", "Order", }); + internal_static_google_cloud_datacatalog_v1_FieldType_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_datacatalog_v1_FieldType_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_FieldType_descriptor, + new java.lang.String[] { "PrimitiveType", "EnumType", "TypeDecl", }); + internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_descriptor = + internal_static_google_cloud_datacatalog_v1_FieldType_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_descriptor, + new java.lang.String[] { "AllowedValues", }); + internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_descriptor = + internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_descriptor, + new java.lang.String[] { "DisplayName", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Taxonomy.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Taxonomy.java similarity index 70% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Taxonomy.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Taxonomy.java index a121a8901c04..4a6d8c95bda4 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Taxonomy.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Taxonomy.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * A taxonomy is a collection of hierarchical policy tags that classify data
  * along a common axis.
@@ -50,16 +33,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.Taxonomy}
  */
-public final class Taxonomy extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Taxonomy extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.Taxonomy)
     TaxonomyOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Taxonomy.newBuilder() to construct.
   private Taxonomy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Taxonomy() {
     name_ = "";
     displayName_ = "";
@@ -69,38 +51,34 @@ private Taxonomy() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Taxonomy();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1_Taxonomy_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_Taxonomy_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1_Taxonomy_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_Taxonomy_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.Taxonomy.class,
-            com.google.cloud.datacatalog.v1.Taxonomy.Builder.class);
+            com.google.cloud.datacatalog.v1.Taxonomy.class, com.google.cloud.datacatalog.v1.Taxonomy.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Defines policy types where the policy tags can be used for.
    * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.Taxonomy.PolicyType} */ - public enum PolicyType implements com.google.protobuf.ProtocolMessageEnum { + public enum PolicyType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified policy type.
      * 
@@ -109,8 +87,6 @@ public enum PolicyType implements com.google.protobuf.ProtocolMessageEnum { */ POLICY_TYPE_UNSPECIFIED(0), /** - * - * *
      * Fine-grained access control policy that enables access control on
      * tagged sub-resources.
@@ -123,8 +99,6 @@ public enum PolicyType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified policy type.
      * 
@@ -133,8 +107,6 @@ public enum PolicyType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POLICY_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Fine-grained access control policy that enables access control on
      * tagged sub-resources.
@@ -144,6 +116,7 @@ public enum PolicyType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FINE_GRAINED_ACCESS_CONTROL_VALUE = 1;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -168,47 +141,48 @@ public static PolicyType valueOf(int value) {
      */
     public static PolicyType forNumber(int value) {
       switch (value) {
-        case 0:
-          return POLICY_TYPE_UNSPECIFIED;
-        case 1:
-          return FINE_GRAINED_ACCESS_CONTROL;
-        default:
-          return null;
+        case 0: return POLICY_TYPE_UNSPECIFIED;
+        case 1: return FINE_GRAINED_ACCESS_CONTROL;
+        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<
+        PolicyType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public PolicyType findValueByNumber(int number) {
+              return PolicyType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public PolicyType findValueByNumber(int number) {
-            return PolicyType.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.datacatalog.v1.Taxonomy.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final PolicyType[] VALUES = values();
 
-    public static PolicyType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static PolicyType 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,80 +199,65 @@ private PolicyType(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1.Taxonomy.PolicyType)
   }
 
-  public interface ServiceOrBuilder
-      extends
+  public interface ServiceOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.Taxonomy.Service)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The Google Cloud service name.
      * 
* * .google.cloud.datacatalog.v1.ManagingSystem name = 1; - * * @return The enum numeric value on the wire for name. */ int getNameValue(); /** - * - * *
      * The Google Cloud service name.
      * 
* * .google.cloud.datacatalog.v1.ManagingSystem name = 1; - * * @return The name. */ com.google.cloud.datacatalog.v1.ManagingSystem getName(); /** - * - * *
      * The service agent for the service.
      * 
* * string identity = 2; - * * @return The identity. */ java.lang.String getIdentity(); /** - * - * *
      * The service agent for the service.
      * 
* * string identity = 2; - * * @return The bytes for identity. */ - com.google.protobuf.ByteString getIdentityBytes(); + com.google.protobuf.ByteString + getIdentityBytes(); } /** - * - * *
    * The source system of the Taxonomy.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.Taxonomy.Service} */ - public static final class Service extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Service extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.Taxonomy.Service) ServiceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Service.newBuilder() to construct. private Service(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Service() { name_ = 0; identity_ = ""; @@ -306,73 +265,59 @@ private Service() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Service(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.PolicyTagManagerProto - .internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.PolicyTagManagerProto - .internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_fieldAccessorTable + return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.Taxonomy.Service.class, - com.google.cloud.datacatalog.v1.Taxonomy.Service.Builder.class); + com.google.cloud.datacatalog.v1.Taxonomy.Service.class, com.google.cloud.datacatalog.v1.Taxonomy.Service.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private int name_ = 0; /** - * - * *
      * The Google Cloud service name.
      * 
* * .google.cloud.datacatalog.v1.ManagingSystem name = 1; - * * @return The enum numeric value on the wire for name. */ - @java.lang.Override - public int getNameValue() { + @java.lang.Override public int getNameValue() { return name_; } /** - * - * *
      * The Google Cloud service name.
      * 
* * .google.cloud.datacatalog.v1.ManagingSystem name = 1; - * * @return The name. */ - @java.lang.Override - public com.google.cloud.datacatalog.v1.ManagingSystem getName() { - com.google.cloud.datacatalog.v1.ManagingSystem result = - com.google.cloud.datacatalog.v1.ManagingSystem.forNumber(name_); + @java.lang.Override public com.google.cloud.datacatalog.v1.ManagingSystem getName() { + com.google.cloud.datacatalog.v1.ManagingSystem result = com.google.cloud.datacatalog.v1.ManagingSystem.forNumber(name_); return result == null ? com.google.cloud.datacatalog.v1.ManagingSystem.UNRECOGNIZED : result; } public static final int IDENTITY_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object identity_ = ""; /** - * - * *
      * The service agent for the service.
      * 
* * string identity = 2; - * * @return The identity. */ @java.lang.Override @@ -381,29 +326,29 @@ public java.lang.String getIdentity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); identity_ = s; return s; } } /** - * - * *
      * The service agent for the service.
      * 
* * string identity = 2; - * * @return The bytes for identity. */ @java.lang.Override - public com.google.protobuf.ByteString getIdentityBytes() { + public com.google.protobuf.ByteString + getIdentityBytes() { java.lang.Object ref = identity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); identity_ = b; return b; } else { @@ -412,7 +357,6 @@ public com.google.protobuf.ByteString getIdentityBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -424,10 +368,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (name_ - != com.google.cloud.datacatalog.v1.ManagingSystem.MANAGING_SYSTEM_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (name_ != com.google.cloud.datacatalog.v1.ManagingSystem.MANAGING_SYSTEM_UNSPECIFIED.getNumber()) { output.writeEnum(1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(identity_)) { @@ -442,10 +385,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (name_ - != com.google.cloud.datacatalog.v1.ManagingSystem.MANAGING_SYSTEM_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, name_); + if (name_ != com.google.cloud.datacatalog.v1.ManagingSystem.MANAGING_SYSTEM_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(identity_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, identity_); @@ -458,16 +400,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.Taxonomy.Service)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.Taxonomy.Service other = - (com.google.cloud.datacatalog.v1.Taxonomy.Service) obj; + com.google.cloud.datacatalog.v1.Taxonomy.Service other = (com.google.cloud.datacatalog.v1.Taxonomy.Service) obj; if (name_ != other.name_) return false; - if (!getIdentity().equals(other.getIdentity())) return false; + if (!getIdentity() + .equals(other.getIdentity())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -489,93 +431,89 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.Taxonomy.Service parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.Taxonomy.Service parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.Taxonomy.Service parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.Taxonomy.Service parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.Taxonomy.Service parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.Taxonomy.Service parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.Taxonomy.Service parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.Taxonomy.Service parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.Taxonomy.Service parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.Taxonomy.Service parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.Taxonomy.Service parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.Taxonomy.Service parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.Taxonomy.Service parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.Taxonomy.Service parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.Taxonomy.Service prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -585,41 +523,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The source system of the Taxonomy.
      * 
* * Protobuf type {@code google.cloud.datacatalog.v1.Taxonomy.Service} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.Taxonomy.Service) com.google.cloud.datacatalog.v1.Taxonomy.ServiceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.PolicyTagManagerProto - .internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.PolicyTagManagerProto - .internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_fieldAccessorTable + return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.Taxonomy.Service.class, - com.google.cloud.datacatalog.v1.Taxonomy.Service.Builder.class); + com.google.cloud.datacatalog.v1.Taxonomy.Service.class, com.google.cloud.datacatalog.v1.Taxonomy.Service.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.Taxonomy.Service.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -630,9 +566,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.PolicyTagManagerProto - .internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_descriptor; } @java.lang.Override @@ -651,11 +587,8 @@ public com.google.cloud.datacatalog.v1.Taxonomy.Service build() { @java.lang.Override public com.google.cloud.datacatalog.v1.Taxonomy.Service buildPartial() { - com.google.cloud.datacatalog.v1.Taxonomy.Service result = - new com.google.cloud.datacatalog.v1.Taxonomy.Service(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1.Taxonomy.Service result = new com.google.cloud.datacatalog.v1.Taxonomy.Service(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -674,41 +607,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.Taxonomy.Service 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) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.Taxonomy.Service) { - return mergeFrom((com.google.cloud.datacatalog.v1.Taxonomy.Service) other); + return mergeFrom((com.google.cloud.datacatalog.v1.Taxonomy.Service)other); } else { super.mergeFrom(other); return this; @@ -716,8 +646,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.Taxonomy.Service other) { - if (other == com.google.cloud.datacatalog.v1.Taxonomy.Service.getDefaultInstance()) - return this; + if (other == com.google.cloud.datacatalog.v1.Taxonomy.Service.getDefaultInstance()) return this; if (other.name_ != 0) { setNameValue(other.getNameValue()); } @@ -752,25 +681,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - name_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - identity_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + name_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + identity_ = 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) { @@ -780,34 +706,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int name_ = 0; /** - * - * *
        * The Google Cloud service name.
        * 
* * .google.cloud.datacatalog.v1.ManagingSystem name = 1; - * * @return The enum numeric value on the wire for name. */ - @java.lang.Override - public int getNameValue() { + @java.lang.Override public int getNameValue() { return name_; } /** - * - * *
        * The Google Cloud service name.
        * 
* * .google.cloud.datacatalog.v1.ManagingSystem name = 1; - * * @param value The enum numeric value on the wire for name to set. * @return This builder for chaining. */ @@ -818,33 +736,24 @@ public Builder setNameValue(int value) { return this; } /** - * - * *
        * The Google Cloud service name.
        * 
* * .google.cloud.datacatalog.v1.ManagingSystem name = 1; - * * @return The name. */ @java.lang.Override public com.google.cloud.datacatalog.v1.ManagingSystem getName() { - com.google.cloud.datacatalog.v1.ManagingSystem result = - com.google.cloud.datacatalog.v1.ManagingSystem.forNumber(name_); - return result == null - ? com.google.cloud.datacatalog.v1.ManagingSystem.UNRECOGNIZED - : result; + com.google.cloud.datacatalog.v1.ManagingSystem result = com.google.cloud.datacatalog.v1.ManagingSystem.forNumber(name_); + return result == null ? com.google.cloud.datacatalog.v1.ManagingSystem.UNRECOGNIZED : result; } /** - * - * *
        * The Google Cloud service name.
        * 
* * .google.cloud.datacatalog.v1.ManagingSystem name = 1; - * * @param value The name to set. * @return This builder for chaining. */ @@ -858,14 +767,11 @@ public Builder setName(com.google.cloud.datacatalog.v1.ManagingSystem value) { return this; } /** - * - * *
        * The Google Cloud service name.
        * 
* * .google.cloud.datacatalog.v1.ManagingSystem name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -877,20 +783,18 @@ public Builder clearName() { private java.lang.Object identity_ = ""; /** - * - * *
        * The service agent for the service.
        * 
* * string identity = 2; - * * @return The identity. */ public java.lang.String getIdentity() { java.lang.Object ref = identity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); identity_ = s; return s; @@ -899,21 +803,20 @@ public java.lang.String getIdentity() { } } /** - * - * *
        * The service agent for the service.
        * 
* * string identity = 2; - * * @return The bytes for identity. */ - public com.google.protobuf.ByteString getIdentityBytes() { + public com.google.protobuf.ByteString + getIdentityBytes() { java.lang.Object ref = identity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); identity_ = b; return b; } else { @@ -921,35 +824,28 @@ public com.google.protobuf.ByteString getIdentityBytes() { } } /** - * - * *
        * The service agent for the service.
        * 
* * string identity = 2; - * * @param value The identity to set. * @return This builder for chaining. */ - public Builder setIdentity(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIdentity( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } identity_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * The service agent for the service.
        * 
* * string identity = 2; - * * @return This builder for chaining. */ public Builder clearIdentity() { @@ -959,28 +855,23 @@ public Builder clearIdentity() { return this; } /** - * - * *
        * The service agent for the service.
        * 
* * string identity = 2; - * * @param value The bytes for identity to set. * @return This builder for chaining. */ - public Builder setIdentityBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIdentityBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); identity_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -993,12 +884,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.Taxonomy.Service) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.Taxonomy.Service) private static final com.google.cloud.datacatalog.v1.Taxonomy.Service DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.Taxonomy.Service(); } @@ -1007,28 +898,27 @@ public static com.google.cloud.datacatalog.v1.Taxonomy.Service getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Service parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Service parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1043,15 +933,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.Taxonomy.Service getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. Resource name of this taxonomy in URL format.
    *
@@ -1059,7 +947,6 @@ public com.google.cloud.datacatalog.v1.Taxonomy.Service getDefaultInstanceForTyp
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -1068,15 +955,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. Resource name of this taxonomy in URL format.
    *
@@ -1084,15 +970,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 { @@ -1101,12 +988,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Required. User-defined name of this taxonomy.
    *
@@ -1118,7 +1002,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -1127,15 +1010,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; } } /** - * - * *
    * Required. User-defined name of this taxonomy.
    *
@@ -1147,15 +1029,16 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -1164,12 +1047,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Optional. Description of this taxonomy. If not set, defaults to empty.
    *
@@ -1179,7 +1059,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -1188,15 +1067,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 this taxonomy. If not set, defaults to empty.
    *
@@ -1206,15 +1084,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 { @@ -1225,14 +1104,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int POLICY_TAG_COUNT_FIELD_NUMBER = 4; private int policyTagCount_ = 0; /** - * - * *
    * Output only. Number of policy tags in this taxonomy.
    * 
* * int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The policyTagCount. */ @java.lang.Override @@ -1243,16 +1119,11 @@ public int getPolicyTagCount() { public static final int TAXONOMY_TIMESTAMPS_FIELD_NUMBER = 5; private com.google.cloud.datacatalog.v1.SystemTimestamps taxonomyTimestamps_; /** - * - * *
    * Output only. Creation and modification timestamps of this taxonomy.
    * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the taxonomyTimestamps field is set. */ @java.lang.Override @@ -1260,95 +1131,62 @@ public boolean hasTaxonomyTimestamps() { return taxonomyTimestamps_ != null; } /** - * - * *
    * Output only. Creation and modification timestamps of this taxonomy.
    * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The taxonomyTimestamps. */ @java.lang.Override public com.google.cloud.datacatalog.v1.SystemTimestamps getTaxonomyTimestamps() { - return taxonomyTimestamps_ == null - ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() - : taxonomyTimestamps_; + return taxonomyTimestamps_ == null ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() : taxonomyTimestamps_; } /** - * - * *
    * Output only. Creation and modification timestamps of this taxonomy.
    * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder - getTaxonomyTimestampsOrBuilder() { - return taxonomyTimestamps_ == null - ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() - : taxonomyTimestamps_; + public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getTaxonomyTimestampsOrBuilder() { + return taxonomyTimestamps_ == null ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() : taxonomyTimestamps_; } public static final int ACTIVATED_POLICY_TYPES_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private java.util.List activatedPolicyTypes_; - private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.datacatalog.v1.Taxonomy.PolicyType> - activatedPolicyTypes_converter_ = + java.lang.Integer, com.google.cloud.datacatalog.v1.Taxonomy.PolicyType> activatedPolicyTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.datacatalog.v1.Taxonomy.PolicyType>() { - public com.google.cloud.datacatalog.v1.Taxonomy.PolicyType convert( - java.lang.Integer from) { - com.google.cloud.datacatalog.v1.Taxonomy.PolicyType result = - com.google.cloud.datacatalog.v1.Taxonomy.PolicyType.forNumber(from); - return result == null - ? com.google.cloud.datacatalog.v1.Taxonomy.PolicyType.UNRECOGNIZED - : result; + public com.google.cloud.datacatalog.v1.Taxonomy.PolicyType convert(java.lang.Integer from) { + com.google.cloud.datacatalog.v1.Taxonomy.PolicyType result = com.google.cloud.datacatalog.v1.Taxonomy.PolicyType.forNumber(from); + return result == null ? com.google.cloud.datacatalog.v1.Taxonomy.PolicyType.UNRECOGNIZED : result; } }; /** - * - * *
    * Optional. A list of policy types that are activated for this taxonomy. If
    * not set, defaults to an empty list.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the activatedPolicyTypes. */ @java.lang.Override - public java.util.List - getActivatedPolicyTypesList() { + public java.util.List getActivatedPolicyTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.datacatalog.v1.Taxonomy.PolicyType>( - activatedPolicyTypes_, activatedPolicyTypes_converter_); + java.lang.Integer, com.google.cloud.datacatalog.v1.Taxonomy.PolicyType>(activatedPolicyTypes_, activatedPolicyTypes_converter_); } /** - * - * *
    * Optional. A list of policy types that are activated for this taxonomy. If
    * not set, defaults to an empty list.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of activatedPolicyTypes. */ @java.lang.Override @@ -1356,17 +1194,12 @@ public int getActivatedPolicyTypesCount() { return activatedPolicyTypes_.size(); } /** - * - * *
    * Optional. A list of policy types that are activated for this taxonomy. If
    * not set, defaults to an empty list.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The activatedPolicyTypes at the given index. */ @@ -1375,35 +1208,26 @@ public com.google.cloud.datacatalog.v1.Taxonomy.PolicyType getActivatedPolicyTyp return activatedPolicyTypes_converter_.convert(activatedPolicyTypes_.get(index)); } /** - * - * *
    * Optional. A list of policy types that are activated for this taxonomy. If
    * not set, defaults to an empty list.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the enum numeric values on the wire for activatedPolicyTypes. */ @java.lang.Override - public java.util.List getActivatedPolicyTypesValueList() { + public java.util.List + getActivatedPolicyTypesValueList() { return activatedPolicyTypes_; } /** - * - * *
    * Optional. A list of policy types that are activated for this taxonomy. If
    * not set, defaults to an empty list.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The enum numeric value on the wire of activatedPolicyTypes at the given index. */ @@ -1411,24 +1235,18 @@ public java.util.List getActivatedPolicyTypesValueList() { public int getActivatedPolicyTypesValue(int index) { return activatedPolicyTypes_.get(index); } - private int activatedPolicyTypesMemoizedSerializedSize; public static final int SERVICE_FIELD_NUMBER = 7; private com.google.cloud.datacatalog.v1.Taxonomy.Service service_; /** - * - * *
    * Output only. Identity of the service which owns the Taxonomy. This field is
    * only populated when the taxonomy is created by a Google Cloud service.
    * Currently only 'DATAPLEX' is supported.
    * 
* - * - * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the service field is set. */ @java.lang.Override @@ -1436,48 +1254,34 @@ public boolean hasService() { return service_ != null; } /** - * - * *
    * Output only. Identity of the service which owns the Taxonomy. This field is
    * only populated when the taxonomy is created by a Google Cloud service.
    * Currently only 'DATAPLEX' is supported.
    * 
* - * - * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The service. */ @java.lang.Override public com.google.cloud.datacatalog.v1.Taxonomy.Service getService() { - return service_ == null - ? com.google.cloud.datacatalog.v1.Taxonomy.Service.getDefaultInstance() - : service_; + return service_ == null ? com.google.cloud.datacatalog.v1.Taxonomy.Service.getDefaultInstance() : service_; } /** - * - * *
    * Output only. Identity of the service which owns the Taxonomy. This field is
    * only populated when the taxonomy is created by a Google Cloud service.
    * Currently only 'DATAPLEX' is supported.
    * 
* - * - * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.datacatalog.v1.Taxonomy.ServiceOrBuilder getServiceOrBuilder() { - return service_ == null - ? com.google.cloud.datacatalog.v1.Taxonomy.Service.getDefaultInstance() - : service_; + return service_ == null ? com.google.cloud.datacatalog.v1.Taxonomy.Service.getDefaultInstance() : service_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1489,7 +1293,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -1535,27 +1340,28 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } if (policyTagCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, policyTagCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, policyTagCount_); } if (taxonomyTimestamps_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getTaxonomyTimestamps()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getTaxonomyTimestamps()); } { int dataSize = 0; for (int i = 0; i < activatedPolicyTypes_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag( - activatedPolicyTypes_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(activatedPolicyTypes_.get(i)); } size += dataSize; - if (!getActivatedPolicyTypesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - activatedPolicyTypesMemoizedSerializedSize = dataSize; + if (!getActivatedPolicyTypesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }activatedPolicyTypesMemoizedSerializedSize = dataSize; } if (service_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getService()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getService()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1565,25 +1371,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.datacatalog.v1.Taxonomy)) { return super.equals(obj); } com.google.cloud.datacatalog.v1.Taxonomy other = (com.google.cloud.datacatalog.v1.Taxonomy) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (getPolicyTagCount() != other.getPolicyTagCount()) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (getPolicyTagCount() + != other.getPolicyTagCount()) return false; if (hasTaxonomyTimestamps() != other.hasTaxonomyTimestamps()) return false; if (hasTaxonomyTimestamps()) { - if (!getTaxonomyTimestamps().equals(other.getTaxonomyTimestamps())) return false; + if (!getTaxonomyTimestamps() + .equals(other.getTaxonomyTimestamps())) return false; } if (!activatedPolicyTypes_.equals(other.activatedPolicyTypes_)) return false; if (hasService() != other.hasService()) return false; if (hasService()) { - if (!getService().equals(other.getService())) return false; + if (!getService() + .equals(other.getService())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1621,104 +1433,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.Taxonomy parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.Taxonomy parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.Taxonomy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.Taxonomy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.Taxonomy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.Taxonomy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.Taxonomy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.Taxonomy parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.Taxonomy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.Taxonomy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.Taxonomy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.Taxonomy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.Taxonomy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.Taxonomy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.Taxonomy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 taxonomy is a collection of hierarchical policy tags that classify data
    * along a common axis.
@@ -1748,32 +1555,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.Taxonomy}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.Taxonomy)
       com.google.cloud.datacatalog.v1.TaxonomyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_Taxonomy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_Taxonomy_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_Taxonomy_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_Taxonomy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.Taxonomy.class,
-              com.google.cloud.datacatalog.v1.Taxonomy.Builder.class);
+              com.google.cloud.datacatalog.v1.Taxonomy.class, com.google.cloud.datacatalog.v1.Taxonomy.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.Taxonomy.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1798,9 +1606,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_Taxonomy_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_Taxonomy_descriptor;
     }
 
     @java.lang.Override
@@ -1819,12 +1627,9 @@ public com.google.cloud.datacatalog.v1.Taxonomy build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.Taxonomy buildPartial() {
-      com.google.cloud.datacatalog.v1.Taxonomy result =
-          new com.google.cloud.datacatalog.v1.Taxonomy(this);
+      com.google.cloud.datacatalog.v1.Taxonomy result = new com.google.cloud.datacatalog.v1.Taxonomy(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -1852,13 +1657,14 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.Taxonomy result) {
         result.policyTagCount_ = policyTagCount_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.taxonomyTimestamps_ =
-            taxonomyTimestampsBuilder_ == null
-                ? taxonomyTimestamps_
-                : taxonomyTimestampsBuilder_.build();
+        result.taxonomyTimestamps_ = taxonomyTimestampsBuilder_ == null
+            ? taxonomyTimestamps_
+            : taxonomyTimestampsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.service_ = serviceBuilder_ == null ? service_ : serviceBuilder_.build();
+        result.service_ = serviceBuilder_ == null
+            ? service_
+            : serviceBuilder_.build();
       }
     }
 
@@ -1866,39 +1672,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.Taxonomy result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.Taxonomy) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.Taxonomy) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.Taxonomy)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1967,69 +1772,63 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                description_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 32:
-              {
-                policyTagCount_ = input.readInt32();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            case 42:
-              {
-                input.readMessage(
-                    getTaxonomyTimestampsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 48:
-              {
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              description_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 32: {
+              policyTagCount_ = input.readInt32();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            case 42: {
+              input.readMessage(
+                  getTaxonomyTimestampsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 48: {
+              int tmpRaw = input.readEnum();
+              ensureActivatedPolicyTypesIsMutable();
+              activatedPolicyTypes_.add(tmpRaw);
+              break;
+            } // case 48
+            case 50: {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while(input.getBytesUntilLimit() > 0) {
                 int tmpRaw = input.readEnum();
                 ensureActivatedPolicyTypesIsMutable();
                 activatedPolicyTypes_.add(tmpRaw);
-                break;
-              } // case 48
-            case 50:
-              {
-                int length = input.readRawVarint32();
-                int oldLimit = input.pushLimit(length);
-                while (input.getBytesUntilLimit() > 0) {
-                  int tmpRaw = input.readEnum();
-                  ensureActivatedPolicyTypesIsMutable();
-                  activatedPolicyTypes_.add(tmpRaw);
-                }
-                input.popLimit(oldLimit);
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(getServiceFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 58
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              }
+              input.popLimit(oldLimit);
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getServiceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              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) {
@@ -2039,13 +1838,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. Resource name of this taxonomy in URL format.
      *
@@ -2053,13 +1849,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2068,8 +1864,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name of this taxonomy in URL format.
      *
@@ -2077,14 +1871,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 { @@ -2092,8 +1887,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name of this taxonomy in URL format.
      *
@@ -2101,22 +1894,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. Resource name of this taxonomy in URL format.
      *
@@ -2124,7 +1913,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() { @@ -2134,8 +1922,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Resource name of this taxonomy in URL format.
      *
@@ -2143,14 +1929,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; @@ -2160,8 +1944,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. User-defined name of this taxonomy.
      *
@@ -2173,13 +1955,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -2188,8 +1970,6 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. User-defined name of this taxonomy.
      *
@@ -2201,14 +1981,15 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -2216,8 +1997,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. User-defined name of this taxonomy.
      *
@@ -2229,22 +2008,18 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @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; } /** - * - * *
      * Required. User-defined name of this taxonomy.
      *
@@ -2256,7 +2031,6 @@ public Builder setDisplayName(java.lang.String value) {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2266,8 +2040,6 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Required. User-defined name of this taxonomy.
      *
@@ -2279,14 +2051,12 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -2296,8 +2066,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Optional. Description of this taxonomy. If not set, defaults to empty.
      *
@@ -2307,13 +2075,13 @@ public Builder setDisplayNameBytes(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; @@ -2322,8 +2090,6 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. Description of this taxonomy. If not set, defaults to empty.
      *
@@ -2333,14 +2099,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 { @@ -2348,8 +2115,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. Description of this taxonomy. If not set, defaults to empty.
      *
@@ -2359,22 +2124,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 this taxonomy. If not set, defaults to empty.
      *
@@ -2384,7 +2145,6 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2394,8 +2154,6 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Optional. Description of this taxonomy. If not set, defaults to empty.
      *
@@ -2405,14 +2163,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; @@ -2420,16 +2176,13 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { return this; } - private int policyTagCount_; + private int policyTagCount_ ; /** - * - * *
      * Output only. Number of policy tags in this taxonomy.
      * 
* * int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The policyTagCount. */ @java.lang.Override @@ -2437,14 +2190,11 @@ public int getPolicyTagCount() { return policyTagCount_; } /** - * - * *
      * Output only. Number of policy tags in this taxonomy.
      * 
* * int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The policyTagCount to set. * @return This builder for chaining. */ @@ -2456,14 +2206,11 @@ public Builder setPolicyTagCount(int value) { return this; } /** - * - * *
      * Output only. Number of policy tags in this taxonomy.
      * 
* * int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPolicyTagCount() { @@ -2475,58 +2222,39 @@ public Builder clearPolicyTagCount() { private com.google.cloud.datacatalog.v1.SystemTimestamps taxonomyTimestamps_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SystemTimestamps, - com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, - com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder> - taxonomyTimestampsBuilder_; + com.google.cloud.datacatalog.v1.SystemTimestamps, com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder> taxonomyTimestampsBuilder_; /** - * - * *
      * Output only. Creation and modification timestamps of this taxonomy.
      * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the taxonomyTimestamps field is set. */ public boolean hasTaxonomyTimestamps() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Output only. Creation and modification timestamps of this taxonomy.
      * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The taxonomyTimestamps. */ public com.google.cloud.datacatalog.v1.SystemTimestamps getTaxonomyTimestamps() { if (taxonomyTimestampsBuilder_ == null) { - return taxonomyTimestamps_ == null - ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() - : taxonomyTimestamps_; + return taxonomyTimestamps_ == null ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() : taxonomyTimestamps_; } else { return taxonomyTimestampsBuilder_.getMessage(); } } /** - * - * *
      * Output only. Creation and modification timestamps of this taxonomy.
      * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setTaxonomyTimestamps(com.google.cloud.datacatalog.v1.SystemTimestamps value) { if (taxonomyTimestampsBuilder_ == null) { @@ -2542,15 +2270,11 @@ public Builder setTaxonomyTimestamps(com.google.cloud.datacatalog.v1.SystemTimes return this; } /** - * - * *
      * Output only. Creation and modification timestamps of this taxonomy.
      * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setTaxonomyTimestamps( com.google.cloud.datacatalog.v1.SystemTimestamps.Builder builderForValue) { @@ -2564,22 +2288,17 @@ public Builder setTaxonomyTimestamps( return this; } /** - * - * *
      * Output only. Creation and modification timestamps of this taxonomy.
      * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeTaxonomyTimestamps(com.google.cloud.datacatalog.v1.SystemTimestamps value) { if (taxonomyTimestampsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && taxonomyTimestamps_ != null - && taxonomyTimestamps_ - != com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + taxonomyTimestamps_ != null && + taxonomyTimestamps_ != com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance()) { getTaxonomyTimestampsBuilder().mergeFrom(value); } else { taxonomyTimestamps_ = value; @@ -2592,15 +2311,11 @@ public Builder mergeTaxonomyTimestamps(com.google.cloud.datacatalog.v1.SystemTim return this; } /** - * - * *
      * Output only. Creation and modification timestamps of this taxonomy.
      * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearTaxonomyTimestamps() { bitField0_ = (bitField0_ & ~0x00000010); @@ -2613,15 +2328,11 @@ public Builder clearTaxonomyTimestamps() { return this; } /** - * - * *
      * Output only. Creation and modification timestamps of this taxonomy.
      * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datacatalog.v1.SystemTimestamps.Builder getTaxonomyTimestampsBuilder() { bitField0_ |= 0x00000010; @@ -2629,57 +2340,43 @@ public com.google.cloud.datacatalog.v1.SystemTimestamps.Builder getTaxonomyTimes return getTaxonomyTimestampsFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Creation and modification timestamps of this taxonomy.
      * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder - getTaxonomyTimestampsOrBuilder() { + public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getTaxonomyTimestampsOrBuilder() { if (taxonomyTimestampsBuilder_ != null) { return taxonomyTimestampsBuilder_.getMessageOrBuilder(); } else { - return taxonomyTimestamps_ == null - ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() - : taxonomyTimestamps_; + return taxonomyTimestamps_ == null ? + com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() : taxonomyTimestamps_; } } /** - * - * *
      * Output only. Creation and modification timestamps of this taxonomy.
      * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SystemTimestamps, - com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, - com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder> + com.google.cloud.datacatalog.v1.SystemTimestamps, com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder> getTaxonomyTimestampsFieldBuilder() { if (taxonomyTimestampsBuilder_ == null) { - taxonomyTimestampsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SystemTimestamps, - com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, - com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder>( - getTaxonomyTimestamps(), getParentForChildren(), isClean()); + taxonomyTimestampsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.SystemTimestamps, com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder>( + getTaxonomyTimestamps(), + getParentForChildren(), + isClean()); taxonomyTimestamps_ = null; } return taxonomyTimestampsBuilder_; } private java.util.List activatedPolicyTypes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureActivatedPolicyTypesIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { activatedPolicyTypes_ = new java.util.ArrayList(activatedPolicyTypes_); @@ -2687,54 +2384,37 @@ private void ensureActivatedPolicyTypesIsMutable() { } } /** - * - * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the activatedPolicyTypes. */ - public java.util.List - getActivatedPolicyTypesList() { + public java.util.List getActivatedPolicyTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.datacatalog.v1.Taxonomy.PolicyType>( - activatedPolicyTypes_, activatedPolicyTypes_converter_); + java.lang.Integer, com.google.cloud.datacatalog.v1.Taxonomy.PolicyType>(activatedPolicyTypes_, activatedPolicyTypes_converter_); } /** - * - * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of activatedPolicyTypes. */ public int getActivatedPolicyTypesCount() { return activatedPolicyTypes_.size(); } /** - * - * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The activatedPolicyTypes at the given index. */ @@ -2742,17 +2422,12 @@ public com.google.cloud.datacatalog.v1.Taxonomy.PolicyType getActivatedPolicyTyp return activatedPolicyTypes_converter_.convert(activatedPolicyTypes_.get(index)); } /** - * - * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index to set the value at. * @param value The activatedPolicyTypes to set. * @return This builder for chaining. @@ -2768,22 +2443,16 @@ public Builder setActivatedPolicyTypes( return this; } /** - * - * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; * @param value The activatedPolicyTypes to add. * @return This builder for chaining. */ - public Builder addActivatedPolicyTypes( - com.google.cloud.datacatalog.v1.Taxonomy.PolicyType value) { + public Builder addActivatedPolicyTypes(com.google.cloud.datacatalog.v1.Taxonomy.PolicyType value) { if (value == null) { throw new NullPointerException(); } @@ -2793,17 +2462,12 @@ public Builder addActivatedPolicyTypes( return this; } /** - * - * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; * @param values The activatedPolicyTypes to add. * @return This builder for chaining. */ @@ -2817,17 +2481,12 @@ public Builder addAllActivatedPolicyTypes( return this; } /** - * - * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearActivatedPolicyTypes() { @@ -2837,34 +2496,25 @@ public Builder clearActivatedPolicyTypes() { return this; } /** - * - * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the enum numeric values on the wire for activatedPolicyTypes. */ - public java.util.List getActivatedPolicyTypesValueList() { + public java.util.List + getActivatedPolicyTypesValueList() { return java.util.Collections.unmodifiableList(activatedPolicyTypes_); } /** - * - * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The enum numeric value on the wire of activatedPolicyTypes at the given index. */ @@ -2872,39 +2522,30 @@ public int getActivatedPolicyTypesValue(int index) { return activatedPolicyTypes_.get(index); } /** - * - * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index to set the value at. * @param value The enum numeric value on the wire for activatedPolicyTypes to set. * @return This builder for chaining. */ - public Builder setActivatedPolicyTypesValue(int index, int value) { + public Builder setActivatedPolicyTypesValue( + int index, int value) { ensureActivatedPolicyTypesIsMutable(); activatedPolicyTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for activatedPolicyTypes to add. * @return This builder for chaining. */ @@ -2915,21 +2556,17 @@ public Builder addActivatedPolicyTypesValue(int value) { return this; } /** - * - * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; * @param values The enum numeric values on the wire for activatedPolicyTypes to add. * @return This builder for chaining. */ - public Builder addAllActivatedPolicyTypesValue(java.lang.Iterable values) { + public Builder addAllActivatedPolicyTypesValue( + java.lang.Iterable values) { ensureActivatedPolicyTypesIsMutable(); for (int value : values) { activatedPolicyTypes_.add(value); @@ -2940,64 +2577,45 @@ public Builder addAllActivatedPolicyTypesValue(java.lang.Iterable - serviceBuilder_; + com.google.cloud.datacatalog.v1.Taxonomy.Service, com.google.cloud.datacatalog.v1.Taxonomy.Service.Builder, com.google.cloud.datacatalog.v1.Taxonomy.ServiceOrBuilder> serviceBuilder_; /** - * - * *
      * Output only. Identity of the service which owns the Taxonomy. This field is
      * only populated when the taxonomy is created by a Google Cloud service.
      * Currently only 'DATAPLEX' is supported.
      * 
* - * - * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the service field is set. */ public boolean hasService() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Output only. Identity of the service which owns the Taxonomy. This field is
      * only populated when the taxonomy is created by a Google Cloud service.
      * Currently only 'DATAPLEX' is supported.
      * 
* - * - * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The service. */ public com.google.cloud.datacatalog.v1.Taxonomy.Service getService() { if (serviceBuilder_ == null) { - return service_ == null - ? com.google.cloud.datacatalog.v1.Taxonomy.Service.getDefaultInstance() - : service_; + return service_ == null ? com.google.cloud.datacatalog.v1.Taxonomy.Service.getDefaultInstance() : service_; } else { return serviceBuilder_.getMessage(); } } /** - * - * *
      * Output only. Identity of the service which owns the Taxonomy. This field is
      * only populated when the taxonomy is created by a Google Cloud service.
      * Currently only 'DATAPLEX' is supported.
      * 
* - * - * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setService(com.google.cloud.datacatalog.v1.Taxonomy.Service value) { if (serviceBuilder_ == null) { @@ -3013,17 +2631,13 @@ public Builder setService(com.google.cloud.datacatalog.v1.Taxonomy.Service value return this; } /** - * - * *
      * Output only. Identity of the service which owns the Taxonomy. This field is
      * only populated when the taxonomy is created by a Google Cloud service.
      * Currently only 'DATAPLEX' is supported.
      * 
* - * - * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setService( com.google.cloud.datacatalog.v1.Taxonomy.Service.Builder builderForValue) { @@ -3037,23 +2651,19 @@ public Builder setService( return this; } /** - * - * *
      * Output only. Identity of the service which owns the Taxonomy. This field is
      * only populated when the taxonomy is created by a Google Cloud service.
      * Currently only 'DATAPLEX' is supported.
      * 
* - * - * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeService(com.google.cloud.datacatalog.v1.Taxonomy.Service value) { if (serviceBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && service_ != null - && service_ != com.google.cloud.datacatalog.v1.Taxonomy.Service.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + service_ != null && + service_ != com.google.cloud.datacatalog.v1.Taxonomy.Service.getDefaultInstance()) { getServiceBuilder().mergeFrom(value); } else { service_ = value; @@ -3066,17 +2676,13 @@ public Builder mergeService(com.google.cloud.datacatalog.v1.Taxonomy.Service val return this; } /** - * - * *
      * Output only. Identity of the service which owns the Taxonomy. This field is
      * only populated when the taxonomy is created by a Google Cloud service.
      * Currently only 'DATAPLEX' is supported.
      * 
* - * - * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearService() { bitField0_ = (bitField0_ & ~0x00000040); @@ -3089,17 +2695,13 @@ public Builder clearService() { return this; } /** - * - * *
      * Output only. Identity of the service which owns the Taxonomy. This field is
      * only populated when the taxonomy is created by a Google Cloud service.
      * Currently only 'DATAPLEX' is supported.
      * 
* - * - * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datacatalog.v1.Taxonomy.Service.Builder getServiceBuilder() { bitField0_ |= 0x00000040; @@ -3107,59 +2709,47 @@ public com.google.cloud.datacatalog.v1.Taxonomy.Service.Builder getServiceBuilde return getServiceFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Identity of the service which owns the Taxonomy. This field is
      * only populated when the taxonomy is created by a Google Cloud service.
      * Currently only 'DATAPLEX' is supported.
      * 
* - * - * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datacatalog.v1.Taxonomy.ServiceOrBuilder getServiceOrBuilder() { if (serviceBuilder_ != null) { return serviceBuilder_.getMessageOrBuilder(); } else { - return service_ == null - ? com.google.cloud.datacatalog.v1.Taxonomy.Service.getDefaultInstance() - : service_; + return service_ == null ? + com.google.cloud.datacatalog.v1.Taxonomy.Service.getDefaultInstance() : service_; } } /** - * - * *
      * Output only. Identity of the service which owns the Taxonomy. This field is
      * only populated when the taxonomy is created by a Google Cloud service.
      * Currently only 'DATAPLEX' is supported.
      * 
* - * - * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Taxonomy.Service, - com.google.cloud.datacatalog.v1.Taxonomy.Service.Builder, - com.google.cloud.datacatalog.v1.Taxonomy.ServiceOrBuilder> + com.google.cloud.datacatalog.v1.Taxonomy.Service, com.google.cloud.datacatalog.v1.Taxonomy.Service.Builder, com.google.cloud.datacatalog.v1.Taxonomy.ServiceOrBuilder> getServiceFieldBuilder() { if (serviceBuilder_ == null) { - serviceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Taxonomy.Service, - com.google.cloud.datacatalog.v1.Taxonomy.Service.Builder, - com.google.cloud.datacatalog.v1.Taxonomy.ServiceOrBuilder>( - getService(), getParentForChildren(), isClean()); + serviceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.Taxonomy.Service, com.google.cloud.datacatalog.v1.Taxonomy.Service.Builder, com.google.cloud.datacatalog.v1.Taxonomy.ServiceOrBuilder>( + getService(), + getParentForChildren(), + isClean()); service_ = null; } return serviceBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3169,12 +2759,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.Taxonomy) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.Taxonomy) private static final com.google.cloud.datacatalog.v1.Taxonomy DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.Taxonomy(); } @@ -3183,27 +2773,27 @@ public static com.google.cloud.datacatalog.v1.Taxonomy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Taxonomy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Taxonomy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3218,4 +2808,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.Taxonomy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyName.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyName.java similarity index 100% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyName.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyName.java diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyOrBuilder.java similarity index 68% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyOrBuilder.java index d796bf1ae32b..bebe98097d71 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; -public interface TaxonomyOrBuilder - extends +public interface TaxonomyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.Taxonomy) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name of this taxonomy in URL format.
    *
@@ -33,13 +15,10 @@ public interface TaxonomyOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name of this taxonomy in URL format.
    *
@@ -47,14 +26,12 @@ public interface TaxonomyOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. User-defined name of this taxonomy.
    *
@@ -66,13 +43,10 @@ public interface TaxonomyOrBuilder
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. User-defined name of this taxonomy.
    *
@@ -84,14 +58,12 @@ public interface TaxonomyOrBuilder
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Optional. Description of this taxonomy. If not set, defaults to empty.
    *
@@ -101,13 +73,10 @@ public interface TaxonomyOrBuilder
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. Description of this taxonomy. If not set, defaults to empty.
    *
@@ -117,187 +86,132 @@ public interface TaxonomyOrBuilder
    * 
* * 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. Number of policy tags in this taxonomy.
    * 
* * int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The policyTagCount. */ int getPolicyTagCount(); /** - * - * *
    * Output only. Creation and modification timestamps of this taxonomy.
    * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the taxonomyTimestamps field is set. */ boolean hasTaxonomyTimestamps(); /** - * - * *
    * Output only. Creation and modification timestamps of this taxonomy.
    * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The taxonomyTimestamps. */ com.google.cloud.datacatalog.v1.SystemTimestamps getTaxonomyTimestamps(); /** - * - * *
    * Output only. Creation and modification timestamps of this taxonomy.
    * 
* - * - * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getTaxonomyTimestampsOrBuilder(); /** - * - * *
    * Optional. A list of policy types that are activated for this taxonomy. If
    * not set, defaults to an empty list.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the activatedPolicyTypes. */ java.util.List getActivatedPolicyTypesList(); /** - * - * *
    * Optional. A list of policy types that are activated for this taxonomy. If
    * not set, defaults to an empty list.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of activatedPolicyTypes. */ int getActivatedPolicyTypesCount(); /** - * - * *
    * Optional. A list of policy types that are activated for this taxonomy. If
    * not set, defaults to an empty list.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The activatedPolicyTypes at the given index. */ com.google.cloud.datacatalog.v1.Taxonomy.PolicyType getActivatedPolicyTypes(int index); /** - * - * *
    * Optional. A list of policy types that are activated for this taxonomy. If
    * not set, defaults to an empty list.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the enum numeric values on the wire for activatedPolicyTypes. */ - java.util.List getActivatedPolicyTypesValueList(); + java.util.List + getActivatedPolicyTypesValueList(); /** - * - * *
    * Optional. A list of policy types that are activated for this taxonomy. If
    * not set, defaults to an empty list.
    * 
* - * - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The enum numeric value on the wire of activatedPolicyTypes at the given index. */ int getActivatedPolicyTypesValue(int index); /** - * - * *
    * Output only. Identity of the service which owns the Taxonomy. This field is
    * only populated when the taxonomy is created by a Google Cloud service.
    * Currently only 'DATAPLEX' is supported.
    * 
* - * - * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the service field is set. */ boolean hasService(); /** - * - * *
    * Output only. Identity of the service which owns the Taxonomy. This field is
    * only populated when the taxonomy is created by a Google Cloud service.
    * Currently only 'DATAPLEX' is supported.
    * 
* - * - * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The service. */ com.google.cloud.datacatalog.v1.Taxonomy.Service getService(); /** - * - * *
    * Output only. Identity of the service which owns the Taxonomy. This field is
    * only populated when the taxonomy is created by a Google Cloud service.
    * Currently only 'DATAPLEX' is supported.
    * 
* - * - * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.datacatalog.v1.Taxonomy.ServiceOrBuilder getServiceOrBuilder(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Timestamps.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Timestamps.java new file mode 100644 index 000000000000..ec390c48c616 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Timestamps.java @@ -0,0 +1,68 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/timestamps.proto + +package com.google.cloud.datacatalog.v1; + +public final class Timestamps { + private Timestamps() {} + 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_datacatalog_v1_SystemTimestamps_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_SystemTimestamps_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/datacatalog/v1/timestamps" + + ".proto\022\033google.cloud.datacatalog.v1\032\037goo" + + "gle/api/field_behavior.proto\032\037google/pro" + + "tobuf/timestamp.proto\"\253\001\n\020SystemTimestam" + + "ps\022/\n\013create_time\030\001 \001(\0132\032.google.protobu" + + "f.Timestamp\022/\n\013update_time\030\002 \001(\0132\032.googl" + + "e.protobuf.Timestamp\0225\n\013expire_time\030\003 \001(" + + "\0132\032.google.protobuf.TimestampB\004\342A\001\003B\306\001\n\037" + + "com.google.cloud.datacatalog.v1P\001ZAcloud" + + ".google.com/go/datacatalog/apiv1/datacat" + + "alogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud.D" + + "ataCatalog.V1\312\002\033Google\\Cloud\\DataCatalog" + + "\\V1\352\002\036Google::Cloud::DataCatalog::V1b\006pr" + + "oto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1_SystemTimestamps_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1_SystemTimestamps_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_SystemTimestamps_descriptor, + new java.lang.String[] { "CreateTime", "UpdateTime", "ExpireTime", }); + 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.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequest.java similarity index 62% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequest.java index f686600a1572..e5221373c38f 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [UnstarEntry][google.cloud.datacatalog.v1.DataCatalog.UnstarEntry].
@@ -28,56 +11,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.UnstarEntryRequest}
  */
-public final class UnstarEntryRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UnstarEntryRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.UnstarEntryRequest)
     UnstarEntryRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UnstarEntryRequest.newBuilder() to construct.
   private UnstarEntryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UnstarEntryRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UnstarEntryRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.UnstarEntryRequest.class,
-            com.google.cloud.datacatalog.v1.UnstarEntryRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.UnstarEntryRequest.class, com.google.cloud.datacatalog.v1.UnstarEntryRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the entry to mark as **not** starred.
    * 
* - * - * string name = 1 [(.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,31 +61,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the entry to mark as **not** starred.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -119,7 +92,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,7 +103,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(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 +128,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.UnstarEntryRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.UnstarEntryRequest other = - (com.google.cloud.datacatalog.v1.UnstarEntryRequest) obj; + com.google.cloud.datacatalog.v1.UnstarEntryRequest other = (com.google.cloud.datacatalog.v1.UnstarEntryRequest) 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 +156,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.UnstarEntryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.UnstarEntryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.UnstarEntryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.UnstarEntryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.UnstarEntryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.UnstarEntryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.UnstarEntryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.UnstarEntryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.UnstarEntryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.UnstarEntryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.UnstarEntryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.UnstarEntryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.UnstarEntryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.UnstarEntryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.UnstarEntryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [UnstarEntry][google.cloud.datacatalog.v1.DataCatalog.UnstarEntry].
@@ -287,32 +255,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.UnstarEntryRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.UnstarEntryRequest)
       com.google.cloud.datacatalog.v1.UnstarEntryRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.UnstarEntryRequest.class,
-              com.google.cloud.datacatalog.v1.UnstarEntryRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.UnstarEntryRequest.class, com.google.cloud.datacatalog.v1.UnstarEntryRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.UnstarEntryRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_descriptor;
     }
 
     @java.lang.Override
@@ -343,11 +312,8 @@ public com.google.cloud.datacatalog.v1.UnstarEntryRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.UnstarEntryRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.UnstarEntryRequest result =
-          new com.google.cloud.datacatalog.v1.UnstarEntryRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.UnstarEntryRequest result = new com.google.cloud.datacatalog.v1.UnstarEntryRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -363,39 +329,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.UnstarEntryRequest 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.datacatalog.v1.UnstarEntryRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.UnstarEntryRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.UnstarEntryRequest)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.datacatalog.v1.UnstarEntryRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.UnstarEntryRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.UnstarEntryRequest.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,27 +420,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the entry to mark as **not** starred.
      * 
* - * - * string name = 1 [(.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,23 +444,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the entry to mark as **not** starred.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -511,39 +465,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the entry to mark as **not** starred.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the entry to mark as **not** starred.
      * 
* - * - * string 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() { @@ -553,32 +496,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the entry to mark as **not** starred.
      * 
* - * - * string name = 1 [(.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); } @@ -588,12 +525,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.UnstarEntryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.UnstarEntryRequest) private static final com.google.cloud.datacatalog.v1.UnstarEntryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.UnstarEntryRequest(); } @@ -602,27 +539,27 @@ public static com.google.cloud.datacatalog.v1.UnstarEntryRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UnstarEntryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UnstarEntryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +574,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.UnstarEntryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequestOrBuilder.java new file mode 100644 index 000000000000..52c37729f679 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/datacatalog.proto + +package com.google.cloud.datacatalog.v1; + +public interface UnstarEntryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.UnstarEntryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the entry to mark as **not** starred.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the entry to mark as **not** starred.
+   * 
+ * + * 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponse.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponse.java similarity index 62% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponse.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponse.java index c2fc41ff003d..5c289dd19dae 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponse.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Response message for
  * [UnstarEntry][google.cloud.datacatalog.v1.DataCatalog.UnstarEntry].
@@ -29,41 +12,39 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.UnstarEntryResponse}
  */
-public final class UnstarEntryResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UnstarEntryResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.UnstarEntryResponse)
     UnstarEntryResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UnstarEntryResponse.newBuilder() to construct.
   private UnstarEntryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UnstarEntryResponse() {}
+  private UnstarEntryResponse() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UnstarEntryResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.UnstarEntryResponse.class,
-            com.google.cloud.datacatalog.v1.UnstarEntryResponse.Builder.class);
+            com.google.cloud.datacatalog.v1.UnstarEntryResponse.class, com.google.cloud.datacatalog.v1.UnstarEntryResponse.Builder.class);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -75,7 +56,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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);
   }
 
@@ -93,13 +75,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.datacatalog.v1.UnstarEntryResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1.UnstarEntryResponse other =
-        (com.google.cloud.datacatalog.v1.UnstarEntryResponse) obj;
+    com.google.cloud.datacatalog.v1.UnstarEntryResponse other = (com.google.cloud.datacatalog.v1.UnstarEntryResponse) obj;
 
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -118,103 +99,98 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1.UnstarEntryResponse parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.UnstarEntryResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.UnstarEntryResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.UnstarEntryResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.UnstarEntryResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.UnstarEntryResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.datacatalog.v1.UnstarEntryResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.UnstarEntryResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1.UnstarEntryResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1.UnstarEntryResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.UnstarEntryResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1.UnstarEntryResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.UnstarEntryResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1.UnstarEntryResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.datacatalog.v1.UnstarEntryResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Response message for
    * [UnstarEntry][google.cloud.datacatalog.v1.DataCatalog.UnstarEntry].
@@ -223,32 +199,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.UnstarEntryResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.UnstarEntryResponse)
       com.google.cloud.datacatalog.v1.UnstarEntryResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.UnstarEntryResponse.class,
-              com.google.cloud.datacatalog.v1.UnstarEntryResponse.Builder.class);
+              com.google.cloud.datacatalog.v1.UnstarEntryResponse.class, com.google.cloud.datacatalog.v1.UnstarEntryResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.UnstarEntryResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -256,9 +233,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_descriptor;
     }
 
     @java.lang.Override
@@ -277,8 +254,7 @@ public com.google.cloud.datacatalog.v1.UnstarEntryResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.UnstarEntryResponse buildPartial() {
-      com.google.cloud.datacatalog.v1.UnstarEntryResponse result =
-          new com.google.cloud.datacatalog.v1.UnstarEntryResponse(this);
+      com.google.cloud.datacatalog.v1.UnstarEntryResponse result = new com.google.cloud.datacatalog.v1.UnstarEntryResponse(this);
       onBuilt();
       return result;
     }
@@ -287,39 +263,38 @@ public com.google.cloud.datacatalog.v1.UnstarEntryResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.UnstarEntryResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.UnstarEntryResponse) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.UnstarEntryResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -327,8 +302,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.UnstarEntryResponse other) {
-      if (other == com.google.cloud.datacatalog.v1.UnstarEntryResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.UnstarEntryResponse.getDefaultInstance()) return this;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
@@ -355,13 +329,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) {
@@ -371,9 +344,9 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -383,12 +356,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.UnstarEntryResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.UnstarEntryResponse)
   private static final com.google.cloud.datacatalog.v1.UnstarEntryResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.UnstarEntryResponse();
   }
@@ -397,27 +370,27 @@ public static com.google.cloud.datacatalog.v1.UnstarEntryResponse getDefaultInst
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UnstarEntryResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UnstarEntryResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -432,4 +405,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1.UnstarEntryResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponseOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponseOrBuilder.java
new file mode 100644
index 000000000000..59adc2e36d85
--- /dev/null
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponseOrBuilder.java
@@ -0,0 +1,9 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/datacatalog/v1/datacatalog.proto
+
+package com.google.cloud.datacatalog.v1;
+
+public interface UnstarEntryResponseOrBuilder extends
+    // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.UnstarEntryResponse)
+    com.google.protobuf.MessageOrBuilder {
+}
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequest.java
similarity index 66%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequest.java
rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequest.java
index d903b1d6781c..16e332e28399 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequest.java
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequest.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
 /**
- *
- *
  * 
  * Request message for
  * [UpdateEntryGroup][google.cloud.datacatalog.v1.DataCatalog.UpdateEntryGroup].
@@ -28,52 +11,46 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.UpdateEntryGroupRequest}
  */
-public final class UpdateEntryGroupRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateEntryGroupRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.UpdateEntryGroupRequest)
     UpdateEntryGroupRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateEntryGroupRequest.newBuilder() to construct.
   private UpdateEntryGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdateEntryGroupRequest() {}
+  private UpdateEntryGroupRequest() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateEntryGroupRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest.class,
-            com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest.class, com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest.Builder.class);
   }
 
   public static final int ENTRY_GROUP_FIELD_NUMBER = 1;
   private com.google.cloud.datacatalog.v1.EntryGroup entryGroup_;
   /**
-   *
-   *
    * 
    * Required. Updates for the entry group. The `name` field must be set.
    * 
* - * - * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the entryGroup field is set. */ @java.lang.Override @@ -81,47 +58,32 @@ public boolean hasEntryGroup() { return entryGroup_ != null; } /** - * - * *
    * Required. Updates for the entry group. The `name` field must be set.
    * 
* - * - * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The entryGroup. */ @java.lang.Override public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroup() { - return entryGroup_ == null - ? com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance() - : entryGroup_; + return entryGroup_ == null ? com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance() : entryGroup_; } /** - * - * *
    * Required. Updates for the entry group. The `name` field must be set.
    * 
* - * - * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupOrBuilder() { - return entryGroup_ == null - ? com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance() - : entryGroup_; + return entryGroup_ == null ? com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance() : entryGroup_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Names of fields whose values to overwrite on an entry group.
    *
@@ -131,7 +93,6 @@ public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupOrBuilde
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -139,8 +100,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Names of fields whose values to overwrite on an entry group.
    *
@@ -150,7 +109,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -158,8 +116,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Names of fields whose values to overwrite on an entry group.
    *
@@ -176,7 +132,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -188,7 +143,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (entryGroup_ != null) {
       output.writeMessage(1, getEntryGroup());
     }
@@ -205,10 +161,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (entryGroup_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntryGroup());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getEntryGroup());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -218,21 +176,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.datacatalog.v1.UpdateEntryGroupRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest other =
-        (com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest) obj;
+    com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest other = (com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest) obj;
 
     if (hasEntryGroup() != other.hasEntryGroup()) return false;
     if (hasEntryGroup()) {
-      if (!getEntryGroup().equals(other.getEntryGroup())) return false;
+      if (!getEntryGroup()
+          .equals(other.getEntryGroup())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -259,104 +218,98 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest prototype) {
+  public static Builder newBuilder(com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Request message for
    * [UpdateEntryGroup][google.cloud.datacatalog.v1.DataCatalog.UpdateEntryGroup].
@@ -364,32 +317,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.UpdateEntryGroupRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.UpdateEntryGroupRequest)
       com.google.cloud.datacatalog.v1.UpdateEntryGroupRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest.class,
-              com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest.class, com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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 +362,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_descriptor;
     }
 
     @java.lang.Override
@@ -429,11 +383,8 @@ public com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest result =
-          new com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest result = new com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -441,10 +392,14 @@ public com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest buildPartial() {
     private void buildPartial0(com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.entryGroup_ = entryGroupBuilder_ == null ? entryGroup_ : entryGroupBuilder_.build();
+        result.entryGroup_ = entryGroupBuilder_ == null
+            ? entryGroup_
+            : entryGroupBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null
+            ? updateMask_
+            : updateMaskBuilder_.build();
       }
     }
 
@@ -452,39 +407,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.UpdateEntryGroupReque
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -492,8 +446,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest.getDefaultInstance()) return this;
       if (other.hasEntryGroup()) {
         mergeEntryGroup(other.getEntryGroup());
       }
@@ -526,25 +479,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getEntryGroupFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getEntryGroupFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -554,63 +508,43 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.datacatalog.v1.EntryGroup entryGroup_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.EntryGroup,
-            com.google.cloud.datacatalog.v1.EntryGroup.Builder,
-            com.google.cloud.datacatalog.v1.EntryGroupOrBuilder>
-        entryGroupBuilder_;
+        com.google.cloud.datacatalog.v1.EntryGroup, com.google.cloud.datacatalog.v1.EntryGroup.Builder, com.google.cloud.datacatalog.v1.EntryGroupOrBuilder> entryGroupBuilder_;
     /**
-     *
-     *
      * 
      * Required. Updates for the entry group. The `name` field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the entryGroup field is set. */ public boolean hasEntryGroup() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. Updates for the entry group. The `name` field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The entryGroup. */ public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroup() { if (entryGroupBuilder_ == null) { - return entryGroup_ == null - ? com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance() - : entryGroup_; + return entryGroup_ == null ? com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance() : entryGroup_; } else { return entryGroupBuilder_.getMessage(); } } /** - * - * *
      * Required. Updates for the entry group. The `name` field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setEntryGroup(com.google.cloud.datacatalog.v1.EntryGroup value) { if (entryGroupBuilder_ == null) { @@ -626,15 +560,11 @@ public Builder setEntryGroup(com.google.cloud.datacatalog.v1.EntryGroup value) { return this; } /** - * - * *
      * Required. Updates for the entry group. The `name` field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setEntryGroup( com.google.cloud.datacatalog.v1.EntryGroup.Builder builderForValue) { @@ -648,21 +578,17 @@ public Builder setEntryGroup( return this; } /** - * - * *
      * Required. Updates for the entry group. The `name` field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeEntryGroup(com.google.cloud.datacatalog.v1.EntryGroup value) { if (entryGroupBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && entryGroup_ != null - && entryGroup_ != com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + entryGroup_ != null && + entryGroup_ != com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()) { getEntryGroupBuilder().mergeFrom(value); } else { entryGroup_ = value; @@ -675,15 +601,11 @@ public Builder mergeEntryGroup(com.google.cloud.datacatalog.v1.EntryGroup value) return this; } /** - * - * *
      * Required. Updates for the entry group. The `name` field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearEntryGroup() { bitField0_ = (bitField0_ & ~0x00000001); @@ -696,15 +618,11 @@ public Builder clearEntryGroup() { return this; } /** - * - * *
      * Required. Updates for the entry group. The `name` field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1.EntryGroup.Builder getEntryGroupBuilder() { bitField0_ |= 0x00000001; @@ -712,48 +630,36 @@ public com.google.cloud.datacatalog.v1.EntryGroup.Builder getEntryGroupBuilder() return getEntryGroupFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Updates for the entry group. The `name` field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupOrBuilder() { if (entryGroupBuilder_ != null) { return entryGroupBuilder_.getMessageOrBuilder(); } else { - return entryGroup_ == null - ? com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance() - : entryGroup_; + return entryGroup_ == null ? + com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance() : entryGroup_; } } /** - * - * *
      * Required. Updates for the entry group. The `name` field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.EntryGroup, - com.google.cloud.datacatalog.v1.EntryGroup.Builder, - com.google.cloud.datacatalog.v1.EntryGroupOrBuilder> + com.google.cloud.datacatalog.v1.EntryGroup, com.google.cloud.datacatalog.v1.EntryGroup.Builder, com.google.cloud.datacatalog.v1.EntryGroupOrBuilder> getEntryGroupFieldBuilder() { if (entryGroupBuilder_ == null) { - entryGroupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.EntryGroup, - com.google.cloud.datacatalog.v1.EntryGroup.Builder, - com.google.cloud.datacatalog.v1.EntryGroupOrBuilder>( - getEntryGroup(), getParentForChildren(), isClean()); + entryGroupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.EntryGroup, com.google.cloud.datacatalog.v1.EntryGroup.Builder, com.google.cloud.datacatalog.v1.EntryGroupOrBuilder>( + getEntryGroup(), + getParentForChildren(), + isClean()); entryGroup_ = null; } return entryGroupBuilder_; @@ -761,13 +667,8 @@ public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupOrBuilde 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_; /** - * - * *
      * Names of fields whose values to overwrite on an entry group.
      *
@@ -777,15 +678,12 @@ public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupOrBuilde
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Names of fields whose values to overwrite on an entry group.
      *
@@ -795,21 +693,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @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(); } } /** - * - * *
      * Names of fields whose values to overwrite on an entry group.
      *
@@ -834,8 +727,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on an entry group.
      *
@@ -846,7 +737,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    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 {
@@ -857,8 +749,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on an entry group.
      *
@@ -871,9 +761,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      */
     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;
@@ -886,8 +776,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on an entry group.
      *
@@ -909,8 +797,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on an entry group.
      *
@@ -927,8 +813,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on an entry group.
      *
@@ -943,14 +827,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on an entry group.
      *
@@ -962,24 +843,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -989,12 +867,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.UpdateEntryGroupRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.UpdateEntryGroupRequest)
   private static final com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest();
   }
@@ -1003,27 +881,27 @@ public static com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest getDefault
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateEntryGroupRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateEntryGroupRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1038,4 +916,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequestOrBuilder.java
similarity index 66%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequestOrBuilder.java
rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequestOrBuilder.java
index 4dbb2931711d..72825e8ea331 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequestOrBuilder.java
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequestOrBuilder.java
@@ -1,72 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
-public interface UpdateEntryGroupRequestOrBuilder
-    extends
+public interface UpdateEntryGroupRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.UpdateEntryGroupRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. Updates for the entry group. The `name` field must be set.
    * 
* - * - * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the entryGroup field is set. */ boolean hasEntryGroup(); /** - * - * *
    * Required. Updates for the entry group. The `name` field must be set.
    * 
* - * - * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The entryGroup. */ com.google.cloud.datacatalog.v1.EntryGroup getEntryGroup(); /** - * - * *
    * Required. Updates for the entry group. The `name` field must be set.
    * 
* - * - * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupOrBuilder(); /** - * - * *
    * Names of fields whose values to overwrite on an entry group.
    *
@@ -76,13 +44,10 @@ public interface UpdateEntryGroupRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Names of fields whose values to overwrite on an entry group.
    *
@@ -92,13 +57,10 @@ public interface UpdateEntryGroupRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Names of fields whose values to overwrite on an entry group.
    *
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequest.java
similarity index 75%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequest.java
rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequest.java
index c128929f1ccf..f0ff61df7465 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequest.java
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequest.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
 /**
- *
- *
  * 
  * Request message for
  * [UpdateEntry][google.cloud.datacatalog.v1.DataCatalog.UpdateEntry].
@@ -28,51 +11,46 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.UpdateEntryRequest}
  */
-public final class UpdateEntryRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateEntryRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.UpdateEntryRequest)
     UpdateEntryRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateEntryRequest.newBuilder() to construct.
   private UpdateEntryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdateEntryRequest() {}
+  private UpdateEntryRequest() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateEntryRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.UpdateEntryRequest.class,
-            com.google.cloud.datacatalog.v1.UpdateEntryRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.UpdateEntryRequest.class, com.google.cloud.datacatalog.v1.UpdateEntryRequest.Builder.class);
   }
 
   public static final int ENTRY_FIELD_NUMBER = 1;
   private com.google.cloud.datacatalog.v1.Entry entry_;
   /**
-   *
-   *
    * 
    * Required. Updates for the entry. The `name` field must be set.
    * 
* - * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the entry field is set. */ @java.lang.Override @@ -80,15 +58,11 @@ public boolean hasEntry() { return entry_ != null; } /** - * - * *
    * Required. Updates for the entry. The `name` field must be set.
    * 
* - * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The entry. */ @java.lang.Override @@ -96,14 +70,11 @@ public com.google.cloud.datacatalog.v1.Entry getEntry() { return entry_ == null ? com.google.cloud.datacatalog.v1.Entry.getDefaultInstance() : entry_; } /** - * - * *
    * Required. Updates for the entry. The `name` field must be set.
    * 
* - * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntryOrBuilder() { @@ -113,8 +84,6 @@ public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntryOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Names of fields whose values to overwrite on an entry.
    *
@@ -148,7 +117,6 @@ public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntryOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -156,8 +124,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Names of fields whose values to overwrite on an entry.
    *
@@ -191,7 +157,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -199,8 +164,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Names of fields whose values to overwrite on an entry.
    *
@@ -241,7 +204,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -253,7 +215,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (entry_ != null) {
       output.writeMessage(1, getEntry());
     }
@@ -270,10 +233,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (entry_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntry());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getEntry());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -283,21 +248,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.datacatalog.v1.UpdateEntryRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1.UpdateEntryRequest other =
-        (com.google.cloud.datacatalog.v1.UpdateEntryRequest) obj;
+    com.google.cloud.datacatalog.v1.UpdateEntryRequest other = (com.google.cloud.datacatalog.v1.UpdateEntryRequest) obj;
 
     if (hasEntry() != other.hasEntry()) return false;
     if (hasEntry()) {
-      if (!getEntry().equals(other.getEntry())) return false;
+      if (!getEntry()
+          .equals(other.getEntry())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -324,103 +290,98 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1.UpdateEntryRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateEntryRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateEntryRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateEntryRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateEntryRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateEntryRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.datacatalog.v1.UpdateEntryRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.UpdateEntryRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateEntryRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1.UpdateEntryRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.UpdateEntryRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1.UpdateEntryRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateEntryRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateEntryRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.datacatalog.v1.UpdateEntryRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Request message for
    * [UpdateEntry][google.cloud.datacatalog.v1.DataCatalog.UpdateEntry].
@@ -428,32 +389,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.UpdateEntryRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.UpdateEntryRequest)
       com.google.cloud.datacatalog.v1.UpdateEntryRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.UpdateEntryRequest.class,
-              com.google.cloud.datacatalog.v1.UpdateEntryRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.UpdateEntryRequest.class, com.google.cloud.datacatalog.v1.UpdateEntryRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.UpdateEntryRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -472,9 +434,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_descriptor;
     }
 
     @java.lang.Override
@@ -493,11 +455,8 @@ public com.google.cloud.datacatalog.v1.UpdateEntryRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.UpdateEntryRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.UpdateEntryRequest result =
-          new com.google.cloud.datacatalog.v1.UpdateEntryRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.UpdateEntryRequest result = new com.google.cloud.datacatalog.v1.UpdateEntryRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -505,10 +464,14 @@ public com.google.cloud.datacatalog.v1.UpdateEntryRequest buildPartial() {
     private void buildPartial0(com.google.cloud.datacatalog.v1.UpdateEntryRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.entry_ = entryBuilder_ == null ? entry_ : entryBuilder_.build();
+        result.entry_ = entryBuilder_ == null
+            ? entry_
+            : entryBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null
+            ? updateMask_
+            : updateMaskBuilder_.build();
       }
     }
 
@@ -516,39 +479,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.UpdateEntryRequest 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.datacatalog.v1.UpdateEntryRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.UpdateEntryRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.UpdateEntryRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -556,8 +518,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.UpdateEntryRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.UpdateEntryRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.UpdateEntryRequest.getDefaultInstance()) return this;
       if (other.hasEntry()) {
         mergeEntry(other.getEntry());
       }
@@ -590,25 +551,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getEntryFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getEntryFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -618,40 +580,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.datacatalog.v1.Entry entry_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.Entry,
-            com.google.cloud.datacatalog.v1.Entry.Builder,
-            com.google.cloud.datacatalog.v1.EntryOrBuilder>
-        entryBuilder_;
+        com.google.cloud.datacatalog.v1.Entry, com.google.cloud.datacatalog.v1.Entry.Builder, com.google.cloud.datacatalog.v1.EntryOrBuilder> entryBuilder_;
     /**
-     *
-     *
      * 
      * Required. Updates for the entry. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the entry field is set. */ public boolean hasEntry() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. Updates for the entry. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The entry. */ public com.google.cloud.datacatalog.v1.Entry getEntry() { @@ -662,14 +612,11 @@ public com.google.cloud.datacatalog.v1.Entry getEntry() { } } /** - * - * *
      * Required. Updates for the entry. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setEntry(com.google.cloud.datacatalog.v1.Entry value) { if (entryBuilder_ == null) { @@ -685,16 +632,14 @@ public Builder setEntry(com.google.cloud.datacatalog.v1.Entry value) { return this; } /** - * - * *
      * Required. Updates for the entry. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setEntry(com.google.cloud.datacatalog.v1.Entry.Builder builderForValue) { + public Builder setEntry( + com.google.cloud.datacatalog.v1.Entry.Builder builderForValue) { if (entryBuilder_ == null) { entry_ = builderForValue.build(); } else { @@ -705,20 +650,17 @@ public Builder setEntry(com.google.cloud.datacatalog.v1.Entry.Builder builderFor return this; } /** - * - * *
      * Required. Updates for the entry. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeEntry(com.google.cloud.datacatalog.v1.Entry value) { if (entryBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && entry_ != null - && entry_ != com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + entry_ != null && + entry_ != com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()) { getEntryBuilder().mergeFrom(value); } else { entry_ = value; @@ -731,14 +673,11 @@ public Builder mergeEntry(com.google.cloud.datacatalog.v1.Entry value) { return this; } /** - * - * *
      * Required. Updates for the entry. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearEntry() { bitField0_ = (bitField0_ & ~0x00000001); @@ -751,14 +690,11 @@ public Builder clearEntry() { return this; } /** - * - * *
      * Required. Updates for the entry. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1.Entry.Builder getEntryBuilder() { bitField0_ |= 0x00000001; @@ -766,44 +702,36 @@ public com.google.cloud.datacatalog.v1.Entry.Builder getEntryBuilder() { return getEntryFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Updates for the entry. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntryOrBuilder() { if (entryBuilder_ != null) { return entryBuilder_.getMessageOrBuilder(); } else { - return entry_ == null ? com.google.cloud.datacatalog.v1.Entry.getDefaultInstance() : entry_; + return entry_ == null ? + com.google.cloud.datacatalog.v1.Entry.getDefaultInstance() : entry_; } } /** - * - * *
      * Required. Updates for the entry. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Entry, - com.google.cloud.datacatalog.v1.Entry.Builder, - com.google.cloud.datacatalog.v1.EntryOrBuilder> + com.google.cloud.datacatalog.v1.Entry, com.google.cloud.datacatalog.v1.Entry.Builder, com.google.cloud.datacatalog.v1.EntryOrBuilder> getEntryFieldBuilder() { if (entryBuilder_ == null) { - entryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Entry, - com.google.cloud.datacatalog.v1.Entry.Builder, - com.google.cloud.datacatalog.v1.EntryOrBuilder>( - getEntry(), getParentForChildren(), isClean()); + entryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.Entry, com.google.cloud.datacatalog.v1.Entry.Builder, com.google.cloud.datacatalog.v1.EntryOrBuilder>( + getEntry(), + getParentForChildren(), + isClean()); entry_ = null; } return entryBuilder_; @@ -811,13 +739,8 @@ public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntryOrBuilder() { 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_; /** - * - * *
      * Names of fields whose values to overwrite on an entry.
      *
@@ -851,15 +774,12 @@ public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntryOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Names of fields whose values to overwrite on an entry.
      *
@@ -893,21 +813,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @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(); } } /** - * - * *
      * Names of fields whose values to overwrite on an entry.
      *
@@ -956,8 +871,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on an entry.
      *
@@ -992,7 +905,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    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 {
@@ -1003,8 +917,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on an entry.
      *
@@ -1041,9 +953,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      */
     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;
@@ -1056,8 +968,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on an entry.
      *
@@ -1103,8 +1013,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on an entry.
      *
@@ -1145,8 +1053,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on an entry.
      *
@@ -1185,14 +1091,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on an entry.
      *
@@ -1228,24 +1131,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1255,12 +1155,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.UpdateEntryRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.UpdateEntryRequest)
   private static final com.google.cloud.datacatalog.v1.UpdateEntryRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.UpdateEntryRequest();
   }
@@ -1269,27 +1169,27 @@ public static com.google.cloud.datacatalog.v1.UpdateEntryRequest getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateEntryRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateEntryRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1304,4 +1204,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1.UpdateEntryRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequestOrBuilder.java
similarity index 81%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequestOrBuilder.java
rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequestOrBuilder.java
index b2f30b198854..578d81a7cbb4 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequestOrBuilder.java
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequestOrBuilder.java
@@ -1,69 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
-public interface UpdateEntryRequestOrBuilder
-    extends
+public interface UpdateEntryRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.UpdateEntryRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. Updates for the entry. The `name` field must be set.
    * 
* - * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the entry field is set. */ boolean hasEntry(); /** - * - * *
    * Required. Updates for the entry. The `name` field must be set.
    * 
* - * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The entry. */ com.google.cloud.datacatalog.v1.Entry getEntry(); /** - * - * *
    * Required. Updates for the entry. The `name` field must be set.
    * 
* - * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datacatalog.v1.EntryOrBuilder getEntryOrBuilder(); /** - * - * *
    * Names of fields whose values to overwrite on an entry.
    *
@@ -97,13 +68,10 @@ public interface UpdateEntryRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Names of fields whose values to overwrite on an entry.
    *
@@ -137,13 +105,10 @@ public interface UpdateEntryRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Names of fields whose values to overwrite on an entry.
    *
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequest.java
similarity index 72%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequest.java
rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequest.java
index b36ab6f13210..06bc52ad4d6b 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequest.java
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequest.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/policytagmanager.proto
 
 package com.google.cloud.datacatalog.v1;
 
 /**
- *
- *
  * 
  * Request message for
  * [UpdatePolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.UpdatePolicyTag].
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.UpdatePolicyTagRequest}
  */
-public final class UpdatePolicyTagRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdatePolicyTagRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.UpdatePolicyTagRequest)
     UpdatePolicyTagRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdatePolicyTagRequest.newBuilder() to construct.
   private UpdatePolicyTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdatePolicyTagRequest() {}
+  private UpdatePolicyTagRequest() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdatePolicyTagRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest.class,
-            com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest.class, com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest.Builder.class);
   }
 
   public static final int POLICY_TAG_FIELD_NUMBER = 1;
   private com.google.cloud.datacatalog.v1.PolicyTag policyTag_;
   /**
-   *
-   *
    * 
    * The policy tag to update. You can update only its description, display
    * name, and parent policy tag fields.
    * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1; - * * @return Whether the policyTag field is set. */ @java.lang.Override @@ -80,26 +59,19 @@ public boolean hasPolicyTag() { return policyTag_ != null; } /** - * - * *
    * The policy tag to update. You can update only its description, display
    * name, and parent policy tag fields.
    * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1; - * * @return The policyTag. */ @java.lang.Override public com.google.cloud.datacatalog.v1.PolicyTag getPolicyTag() { - return policyTag_ == null - ? com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance() - : policyTag_; + return policyTag_ == null ? com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance() : policyTag_; } /** - * - * *
    * The policy tag to update. You can update only its description, display
    * name, and parent policy tag fields.
@@ -109,16 +81,12 @@ public com.google.cloud.datacatalog.v1.PolicyTag getPolicyTag() {
    */
   @java.lang.Override
   public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagOrBuilder() {
-    return policyTag_ == null
-        ? com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance()
-        : policyTag_;
+    return policyTag_ == null ? com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance() : policyTag_;
   }
 
   public static final int UPDATE_MASK_FIELD_NUMBER = 2;
   private com.google.protobuf.FieldMask updateMask_;
   /**
-   *
-   *
    * 
    * Specifies the fields to update.
    *
@@ -129,7 +97,6 @@ public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagOrBuilder(
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -137,8 +104,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Specifies the fields to update.
    *
@@ -149,7 +114,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -157,8 +121,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Specifies the fields to update.
    *
@@ -176,7 +138,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -188,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 (policyTag_ != null) {
       output.writeMessage(1, getPolicyTag());
     }
@@ -205,10 +167,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (policyTag_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPolicyTag());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getPolicyTag());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -218,21 +182,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.datacatalog.v1.UpdatePolicyTagRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest other =
-        (com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest) obj;
+    com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest other = (com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest) obj;
 
     if (hasPolicyTag() != other.hasPolicyTag()) return false;
     if (hasPolicyTag()) {
-      if (!getPolicyTag().equals(other.getPolicyTag())) return false;
+      if (!getPolicyTag()
+          .equals(other.getPolicyTag())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -259,104 +224,98 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest prototype) {
+  public static Builder newBuilder(com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Request message for
    * [UpdatePolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.UpdatePolicyTag].
@@ -364,32 +323,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.UpdatePolicyTagRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.UpdatePolicyTagRequest)
       com.google.cloud.datacatalog.v1.UpdatePolicyTagRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest.class,
-              com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest.class, com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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 +368,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_descriptor;
     }
 
     @java.lang.Override
@@ -429,11 +389,8 @@ public com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest result =
-          new com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest result = new com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -441,10 +398,14 @@ public com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest buildPartial() {
     private void buildPartial0(com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.policyTag_ = policyTagBuilder_ == null ? policyTag_ : policyTagBuilder_.build();
+        result.policyTag_ = policyTagBuilder_ == null
+            ? policyTag_
+            : policyTagBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null
+            ? updateMask_
+            : updateMaskBuilder_.build();
       }
     }
 
@@ -452,39 +413,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.UpdatePolicyTagReques
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -492,8 +452,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest.getDefaultInstance()) return this;
       if (other.hasPolicyTag()) {
         mergePolicyTag(other.getPolicyTag());
       }
@@ -526,25 +485,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getPolicyTagFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getPolicyTagFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -554,54 +514,40 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.datacatalog.v1.PolicyTag policyTag_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.PolicyTag,
-            com.google.cloud.datacatalog.v1.PolicyTag.Builder,
-            com.google.cloud.datacatalog.v1.PolicyTagOrBuilder>
-        policyTagBuilder_;
+        com.google.cloud.datacatalog.v1.PolicyTag, com.google.cloud.datacatalog.v1.PolicyTag.Builder, com.google.cloud.datacatalog.v1.PolicyTagOrBuilder> policyTagBuilder_;
     /**
-     *
-     *
      * 
      * The policy tag to update. You can update only its description, display
      * name, and parent policy tag fields.
      * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1; - * * @return Whether the policyTag field is set. */ public boolean hasPolicyTag() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The policy tag to update. You can update only its description, display
      * name, and parent policy tag fields.
      * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1; - * * @return The policyTag. */ public com.google.cloud.datacatalog.v1.PolicyTag getPolicyTag() { if (policyTagBuilder_ == null) { - return policyTag_ == null - ? com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance() - : policyTag_; + return policyTag_ == null ? com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance() : policyTag_; } else { return policyTagBuilder_.getMessage(); } } /** - * - * *
      * The policy tag to update. You can update only its description, display
      * name, and parent policy tag fields.
@@ -623,8 +569,6 @@ public Builder setPolicyTag(com.google.cloud.datacatalog.v1.PolicyTag value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The policy tag to update. You can update only its description, display
      * name, and parent policy tag fields.
@@ -632,7 +576,8 @@ public Builder setPolicyTag(com.google.cloud.datacatalog.v1.PolicyTag value) {
      *
      * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1;
      */
-    public Builder setPolicyTag(com.google.cloud.datacatalog.v1.PolicyTag.Builder builderForValue) {
+    public Builder setPolicyTag(
+        com.google.cloud.datacatalog.v1.PolicyTag.Builder builderForValue) {
       if (policyTagBuilder_ == null) {
         policyTag_ = builderForValue.build();
       } else {
@@ -643,8 +588,6 @@ public Builder setPolicyTag(com.google.cloud.datacatalog.v1.PolicyTag.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * The policy tag to update. You can update only its description, display
      * name, and parent policy tag fields.
@@ -654,9 +597,9 @@ public Builder setPolicyTag(com.google.cloud.datacatalog.v1.PolicyTag.Builder bu
      */
     public Builder mergePolicyTag(com.google.cloud.datacatalog.v1.PolicyTag value) {
       if (policyTagBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && policyTag_ != null
-            && policyTag_ != com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          policyTag_ != null &&
+          policyTag_ != com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance()) {
           getPolicyTagBuilder().mergeFrom(value);
         } else {
           policyTag_ = value;
@@ -669,8 +612,6 @@ public Builder mergePolicyTag(com.google.cloud.datacatalog.v1.PolicyTag value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The policy tag to update. You can update only its description, display
      * name, and parent policy tag fields.
@@ -689,8 +630,6 @@ public Builder clearPolicyTag() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The policy tag to update. You can update only its description, display
      * name, and parent policy tag fields.
@@ -704,8 +643,6 @@ public com.google.cloud.datacatalog.v1.PolicyTag.Builder getPolicyTagBuilder() {
       return getPolicyTagFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The policy tag to update. You can update only its description, display
      * name, and parent policy tag fields.
@@ -717,14 +654,11 @@ public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagOrBuilder(
       if (policyTagBuilder_ != null) {
         return policyTagBuilder_.getMessageOrBuilder();
       } else {
-        return policyTag_ == null
-            ? com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance()
-            : policyTag_;
+        return policyTag_ == null ?
+            com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance() : policyTag_;
       }
     }
     /**
-     *
-     *
      * 
      * The policy tag to update. You can update only its description, display
      * name, and parent policy tag fields.
@@ -733,17 +667,14 @@ public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagOrBuilder(
      * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.PolicyTag,
-            com.google.cloud.datacatalog.v1.PolicyTag.Builder,
-            com.google.cloud.datacatalog.v1.PolicyTagOrBuilder>
+        com.google.cloud.datacatalog.v1.PolicyTag, com.google.cloud.datacatalog.v1.PolicyTag.Builder, com.google.cloud.datacatalog.v1.PolicyTagOrBuilder> 
         getPolicyTagFieldBuilder() {
       if (policyTagBuilder_ == null) {
-        policyTagBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.datacatalog.v1.PolicyTag,
-                com.google.cloud.datacatalog.v1.PolicyTag.Builder,
-                com.google.cloud.datacatalog.v1.PolicyTagOrBuilder>(
-                getPolicyTag(), getParentForChildren(), isClean());
+        policyTagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.datacatalog.v1.PolicyTag, com.google.cloud.datacatalog.v1.PolicyTag.Builder, com.google.cloud.datacatalog.v1.PolicyTagOrBuilder>(
+                getPolicyTag(),
+                getParentForChildren(),
+                isClean());
         policyTag_ = null;
       }
       return policyTagBuilder_;
@@ -751,13 +682,8 @@ public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagOrBuilder(
 
     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_;
     /**
-     *
-     *
      * 
      * Specifies the fields to update.
      *
@@ -768,15 +694,12 @@ public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagOrBuilder(
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Specifies the fields to update.
      *
@@ -787,21 +710,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @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(); } } /** - * - * *
      * Specifies the fields to update.
      *
@@ -827,8 +745,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies the fields to update.
      *
@@ -840,7 +756,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    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 {
@@ -851,8 +768,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies the fields to update.
      *
@@ -866,9 +781,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      */
     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;
@@ -881,8 +796,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies the fields to update.
      *
@@ -905,8 +818,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies the fields to update.
      *
@@ -924,8 +835,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Specifies the fields to update.
      *
@@ -941,14 +850,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * Specifies the fields to update.
      *
@@ -961,24 +867,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -988,12 +891,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.UpdatePolicyTagRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.UpdatePolicyTagRequest)
   private static final com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest();
   }
@@ -1002,27 +905,27 @@ public static com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest getDefaultI
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdatePolicyTagRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdatePolicyTagRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1037,4 +940,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequestOrBuilder.java
similarity index 78%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequestOrBuilder.java
rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequestOrBuilder.java
index 910ebb82c54a..9f1082e61ac6 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequestOrBuilder.java
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequestOrBuilder.java
@@ -1,57 +1,33 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/policytagmanager.proto
 
 package com.google.cloud.datacatalog.v1;
 
-public interface UpdatePolicyTagRequestOrBuilder
-    extends
+public interface UpdatePolicyTagRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.UpdatePolicyTagRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The policy tag to update. You can update only its description, display
    * name, and parent policy tag fields.
    * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1; - * * @return Whether the policyTag field is set. */ boolean hasPolicyTag(); /** - * - * *
    * The policy tag to update. You can update only its description, display
    * name, and parent policy tag fields.
    * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1; - * * @return The policyTag. */ com.google.cloud.datacatalog.v1.PolicyTag getPolicyTag(); /** - * - * *
    * The policy tag to update. You can update only its description, display
    * name, and parent policy tag fields.
@@ -62,8 +38,6 @@ public interface UpdatePolicyTagRequestOrBuilder
   com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagOrBuilder();
 
   /**
-   *
-   *
    * 
    * Specifies the fields to update.
    *
@@ -74,13 +48,10 @@ public interface UpdatePolicyTagRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Specifies the fields to update.
    *
@@ -91,13 +62,10 @@ public interface UpdatePolicyTagRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Specifies the fields to update.
    *
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequest.java
similarity index 71%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequest.java
rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequest.java
index cd2db9235b7e..44599b73862c 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequest.java
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequest.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
 /**
- *
- *
  * 
  * Request message for
  * [UpdateTag][google.cloud.datacatalog.v1.DataCatalog.UpdateTag].
@@ -28,51 +11,46 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.UpdateTagRequest}
  */
-public final class UpdateTagRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateTagRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.UpdateTagRequest)
     UpdateTagRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateTagRequest.newBuilder() to construct.
   private UpdateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdateTagRequest() {}
+  private UpdateTagRequest() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateTagRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.UpdateTagRequest.class,
-            com.google.cloud.datacatalog.v1.UpdateTagRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.UpdateTagRequest.class, com.google.cloud.datacatalog.v1.UpdateTagRequest.Builder.class);
   }
 
   public static final int TAG_FIELD_NUMBER = 1;
   private com.google.cloud.datacatalog.v1.Tag tag_;
   /**
-   *
-   *
    * 
    * Required. The updated tag. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tag field is set. */ @java.lang.Override @@ -80,15 +58,11 @@ public boolean hasTag() { return tag_ != null; } /** - * - * *
    * Required. The updated tag. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The tag. */ @java.lang.Override @@ -96,14 +70,11 @@ public com.google.cloud.datacatalog.v1.Tag getTag() { return tag_ == null ? com.google.cloud.datacatalog.v1.Tag.getDefaultInstance() : tag_; } /** - * - * *
    * Required. The updated tag. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datacatalog.v1.TagOrBuilder getTagOrBuilder() { @@ -113,8 +84,6 @@ public com.google.cloud.datacatalog.v1.TagOrBuilder getTagOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Names of fields whose values to overwrite on a tag. Currently, a tag has
    * the only modifiable field with the name `fields`.
@@ -125,7 +94,6 @@ public com.google.cloud.datacatalog.v1.TagOrBuilder getTagOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -133,8 +101,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Names of fields whose values to overwrite on a tag. Currently, a tag has
    * the only modifiable field with the name `fields`.
@@ -145,7 +111,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -153,8 +118,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Names of fields whose values to overwrite on a tag. Currently, a tag has
    * the only modifiable field with the name `fields`.
@@ -172,7 +135,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -184,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 (tag_ != null) {
       output.writeMessage(1, getTag());
     }
@@ -201,10 +164,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (tag_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTag());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getTag());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -214,21 +179,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.datacatalog.v1.UpdateTagRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1.UpdateTagRequest other =
-        (com.google.cloud.datacatalog.v1.UpdateTagRequest) obj;
+    com.google.cloud.datacatalog.v1.UpdateTagRequest other = (com.google.cloud.datacatalog.v1.UpdateTagRequest) obj;
 
     if (hasTag() != other.hasTag()) return false;
     if (hasTag()) {
-      if (!getTag().equals(other.getTag())) return false;
+      if (!getTag()
+          .equals(other.getTag())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -254,104 +220,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.datacatalog.v1.UpdateTagRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.datacatalog.v1.UpdateTagRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateTagRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateTagRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateTagRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.datacatalog.v1.UpdateTagRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.UpdateTagRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateTagRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1.UpdateTagRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.UpdateTagRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1.UpdateTagRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateTagRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateTagRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.datacatalog.v1.UpdateTagRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Request message for
    * [UpdateTag][google.cloud.datacatalog.v1.DataCatalog.UpdateTag].
@@ -359,32 +320,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.UpdateTagRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.UpdateTagRequest)
       com.google.cloud.datacatalog.v1.UpdateTagRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.UpdateTagRequest.class,
-              com.google.cloud.datacatalog.v1.UpdateTagRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.UpdateTagRequest.class, com.google.cloud.datacatalog.v1.UpdateTagRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.UpdateTagRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -403,9 +365,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_descriptor;
     }
 
     @java.lang.Override
@@ -424,11 +386,8 @@ public com.google.cloud.datacatalog.v1.UpdateTagRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.UpdateTagRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.UpdateTagRequest result =
-          new com.google.cloud.datacatalog.v1.UpdateTagRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.UpdateTagRequest result = new com.google.cloud.datacatalog.v1.UpdateTagRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -436,10 +395,14 @@ public com.google.cloud.datacatalog.v1.UpdateTagRequest buildPartial() {
     private void buildPartial0(com.google.cloud.datacatalog.v1.UpdateTagRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.tag_ = tagBuilder_ == null ? tag_ : tagBuilder_.build();
+        result.tag_ = tagBuilder_ == null
+            ? tag_
+            : tagBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null
+            ? updateMask_
+            : updateMaskBuilder_.build();
       }
     }
 
@@ -447,39 +410,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.UpdateTagRequest 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.datacatalog.v1.UpdateTagRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.UpdateTagRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.UpdateTagRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -487,8 +449,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.UpdateTagRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.UpdateTagRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.UpdateTagRequest.getDefaultInstance()) return this;
       if (other.hasTag()) {
         mergeTag(other.getTag());
       }
@@ -521,25 +482,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getTagFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getTagFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -549,40 +511,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.datacatalog.v1.Tag tag_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.Tag,
-            com.google.cloud.datacatalog.v1.Tag.Builder,
-            com.google.cloud.datacatalog.v1.TagOrBuilder>
-        tagBuilder_;
+        com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder> tagBuilder_;
     /**
-     *
-     *
      * 
      * Required. The updated tag. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tag field is set. */ public boolean hasTag() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The updated tag. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The tag. */ public com.google.cloud.datacatalog.v1.Tag getTag() { @@ -593,14 +543,11 @@ public com.google.cloud.datacatalog.v1.Tag getTag() { } } /** - * - * *
      * Required. The updated tag. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTag(com.google.cloud.datacatalog.v1.Tag value) { if (tagBuilder_ == null) { @@ -616,16 +563,14 @@ public Builder setTag(com.google.cloud.datacatalog.v1.Tag value) { return this; } /** - * - * *
      * Required. The updated tag. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTag(com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { + public Builder setTag( + com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { if (tagBuilder_ == null) { tag_ = builderForValue.build(); } else { @@ -636,20 +581,17 @@ public Builder setTag(com.google.cloud.datacatalog.v1.Tag.Builder builderForValu return this; } /** - * - * *
      * Required. The updated tag. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTag(com.google.cloud.datacatalog.v1.Tag value) { if (tagBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && tag_ != null - && tag_ != com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + tag_ != null && + tag_ != com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()) { getTagBuilder().mergeFrom(value); } else { tag_ = value; @@ -662,14 +604,11 @@ public Builder mergeTag(com.google.cloud.datacatalog.v1.Tag value) { return this; } /** - * - * *
      * Required. The updated tag. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTag() { bitField0_ = (bitField0_ & ~0x00000001); @@ -682,14 +621,11 @@ public Builder clearTag() { return this; } /** - * - * *
      * Required. The updated tag. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1.Tag.Builder getTagBuilder() { bitField0_ |= 0x00000001; @@ -697,44 +633,36 @@ public com.google.cloud.datacatalog.v1.Tag.Builder getTagBuilder() { return getTagFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The updated tag. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1.TagOrBuilder getTagOrBuilder() { if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null ? com.google.cloud.datacatalog.v1.Tag.getDefaultInstance() : tag_; + return tag_ == null ? + com.google.cloud.datacatalog.v1.Tag.getDefaultInstance() : tag_; } } /** - * - * *
      * Required. The updated tag. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Tag, - com.google.cloud.datacatalog.v1.Tag.Builder, - com.google.cloud.datacatalog.v1.TagOrBuilder> + com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Tag, - com.google.cloud.datacatalog.v1.Tag.Builder, - com.google.cloud.datacatalog.v1.TagOrBuilder>( - getTag(), getParentForChildren(), isClean()); + tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder>( + getTag(), + getParentForChildren(), + isClean()); tag_ = null; } return tagBuilder_; @@ -742,13 +670,8 @@ public com.google.cloud.datacatalog.v1.TagOrBuilder getTagOrBuilder() { 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_; /** - * - * *
      * Names of fields whose values to overwrite on a tag. Currently, a tag has
      * the only modifiable field with the name `fields`.
@@ -759,15 +682,12 @@ public com.google.cloud.datacatalog.v1.TagOrBuilder getTagOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Names of fields whose values to overwrite on a tag. Currently, a tag has
      * the only modifiable field with the name `fields`.
@@ -778,21 +698,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @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(); } } /** - * - * *
      * Names of fields whose values to overwrite on a tag. Currently, a tag has
      * the only modifiable field with the name `fields`.
@@ -818,8 +733,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on a tag. Currently, a tag has
      * the only modifiable field with the name `fields`.
@@ -831,7 +744,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    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 {
@@ -842,8 +756,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on a tag. Currently, a tag has
      * the only modifiable field with the name `fields`.
@@ -857,9 +769,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      */
     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;
@@ -872,8 +784,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on a tag. Currently, a tag has
      * the only modifiable field with the name `fields`.
@@ -896,8 +806,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on a tag. Currently, a tag has
      * the only modifiable field with the name `fields`.
@@ -915,8 +823,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on a tag. Currently, a tag has
      * the only modifiable field with the name `fields`.
@@ -932,14 +838,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on a tag. Currently, a tag has
      * the only modifiable field with the name `fields`.
@@ -952,24 +855,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -979,12 +879,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.UpdateTagRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.UpdateTagRequest)
   private static final com.google.cloud.datacatalog.v1.UpdateTagRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.UpdateTagRequest();
   }
@@ -993,27 +893,27 @@ public static com.google.cloud.datacatalog.v1.UpdateTagRequest getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateTagRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateTagRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1028,4 +928,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1.UpdateTagRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequestOrBuilder.java
similarity index 74%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequestOrBuilder.java
rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequestOrBuilder.java
index 0611189fe20e..be713a850260 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequestOrBuilder.java
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequestOrBuilder.java
@@ -1,69 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
-public interface UpdateTagRequestOrBuilder
-    extends
+public interface UpdateTagRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.UpdateTagRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The updated tag. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tag field is set. */ boolean hasTag(); /** - * - * *
    * Required. The updated tag. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The tag. */ com.google.cloud.datacatalog.v1.Tag getTag(); /** - * - * *
    * Required. The updated tag. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datacatalog.v1.TagOrBuilder getTagOrBuilder(); /** - * - * *
    * Names of fields whose values to overwrite on a tag. Currently, a tag has
    * the only modifiable field with the name `fields`.
@@ -74,13 +45,10 @@ public interface UpdateTagRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Names of fields whose values to overwrite on a tag. Currently, a tag has
    * the only modifiable field with the name `fields`.
@@ -91,13 +59,10 @@ public interface UpdateTagRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Names of fields whose values to overwrite on a tag. Currently, a tag has
    * the only modifiable field with the name `fields`.
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequest.java
similarity index 67%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequest.java
rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequest.java
index 08070860999d..5880fff1836c 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequest.java
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequest.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
 /**
- *
- *
  * 
  * Request message for
  * [UpdateTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplateField].
@@ -28,56 +11,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest}
  */
-public final class UpdateTagTemplateFieldRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateTagTemplateFieldRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest)
     UpdateTagTemplateFieldRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateTagTemplateFieldRequest.newBuilder() to construct.
   private UpdateTagTemplateFieldRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UpdateTagTemplateFieldRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateTagTemplateFieldRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest.class,
-            com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest.class, com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the tag template field.
    * 
* - * - * string name = 1 [(.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,31 +61,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the tag template field.
    * 
* - * - * string name = 1 [(.google.api.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,16 +94,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int TAG_TEMPLATE_FIELD_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1.TagTemplateField tagTemplateField_; /** - * - * *
    * Required. The template to update.
    * 
* - * - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tagTemplateField field is set. */ @java.lang.Override @@ -138,47 +106,32 @@ public boolean hasTagTemplateField() { return tagTemplateField_ != null; } /** - * - * *
    * Required. The template to update.
    * 
* - * - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The tagTemplateField. */ @java.lang.Override public com.google.cloud.datacatalog.v1.TagTemplateField getTagTemplateField() { - return tagTemplateField_ == null - ? com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance() - : tagTemplateField_; + return tagTemplateField_ == null ? com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance() : tagTemplateField_; } /** - * - * *
    * Required. The template to update.
    * 
* - * - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder() { - return tagTemplateField_ == null - ? com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance() - : tagTemplateField_; + return tagTemplateField_ == null ? com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance() : tagTemplateField_; } public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Optional. Names of fields whose values to overwrite on an individual field
    * of a tag template. The following fields are modifiable:
@@ -198,9 +151,7 @@ public com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder getTagTemplateF
    * *not* allowed.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -208,8 +159,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Optional. Names of fields whose values to overwrite on an individual field
    * of a tag template. The following fields are modifiable:
@@ -229,9 +178,7 @@ public boolean hasUpdateMask() {
    * *not* allowed.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ @java.lang.Override @@ -239,8 +186,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Optional. Names of fields whose values to overwrite on an individual field
    * of a tag template. The following fields are modifiable:
@@ -260,8 +205,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * *not* allowed.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -269,7 +213,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -281,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -304,10 +248,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (tagTemplateField_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTagTemplateField()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTagTemplateField()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -317,22 +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.datacatalog.v1.UpdateTagTemplateFieldRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest other = - (com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest) obj; + com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest other = (com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasTagTemplateField() != other.hasTagTemplateField()) return false; if (hasTagTemplateField()) { - if (!getTagTemplateField().equals(other.getTagTemplateField())) return false; + if (!getTagTemplateField() + .equals(other.getTagTemplateField())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -361,104 +309,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [UpdateTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplateField].
@@ -466,32 +408,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest)
       com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest.class,
-              com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest.class, com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -511,14 +454,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest
-        getDefaultInstanceForType() {
+    public com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest getDefaultInstanceForType() {
       return com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest.getDefaultInstance();
     }
 
@@ -533,27 +475,26 @@ public com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest result =
-          new com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest result = new com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest result) {
+    private void buildPartial0(com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.tagTemplateField_ =
-            tagTemplateFieldBuilder_ == null ? tagTemplateField_ : tagTemplateFieldBuilder_.build();
+        result.tagTemplateField_ = tagTemplateFieldBuilder_ == null
+            ? tagTemplateField_
+            : tagTemplateFieldBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null
+            ? updateMask_
+            : updateMaskBuilder_.build();
       }
     }
 
@@ -561,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.datacatalog.v1.UpdateTagTemplateFieldRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -601,9 +541,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest other) {
-      if (other
-          == com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -641,32 +579,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(
-                    getTagTemplateFieldFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getTagTemplateFieldFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().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) {
@@ -676,27 +613,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the tag template field.
      * 
* - * - * string name = 1 [(.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; @@ -705,23 +637,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the tag template field.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -729,39 +658,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the tag template field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the tag template field.
      * 
* - * - * string 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() { @@ -771,23 +689,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the tag template field.
      * 
* - * - * string name = 1 [(.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; @@ -797,58 +709,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datacatalog.v1.TagTemplateField tagTemplateField_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.TagTemplateField, - com.google.cloud.datacatalog.v1.TagTemplateField.Builder, - com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder> - tagTemplateFieldBuilder_; + com.google.cloud.datacatalog.v1.TagTemplateField, com.google.cloud.datacatalog.v1.TagTemplateField.Builder, com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder> tagTemplateFieldBuilder_; /** - * - * *
      * Required. The template to update.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tagTemplateField field is set. */ public boolean hasTagTemplateField() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The template to update.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The tagTemplateField. */ public com.google.cloud.datacatalog.v1.TagTemplateField getTagTemplateField() { if (tagTemplateFieldBuilder_ == null) { - return tagTemplateField_ == null - ? com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance() - : tagTemplateField_; + return tagTemplateField_ == null ? com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance() : tagTemplateField_; } else { return tagTemplateFieldBuilder_.getMessage(); } } /** - * - * *
      * Required. The template to update.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTagTemplateField(com.google.cloud.datacatalog.v1.TagTemplateField value) { if (tagTemplateFieldBuilder_ == null) { @@ -864,15 +757,11 @@ public Builder setTagTemplateField(com.google.cloud.datacatalog.v1.TagTemplateFi return this; } /** - * - * *
      * Required. The template to update.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTagTemplateField( com.google.cloud.datacatalog.v1.TagTemplateField.Builder builderForValue) { @@ -886,22 +775,17 @@ public Builder setTagTemplateField( return this; } /** - * - * *
      * Required. The template to update.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTagTemplateField(com.google.cloud.datacatalog.v1.TagTemplateField value) { if (tagTemplateFieldBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && tagTemplateField_ != null - && tagTemplateField_ - != com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + tagTemplateField_ != null && + tagTemplateField_ != com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance()) { getTagTemplateFieldBuilder().mergeFrom(value); } else { tagTemplateField_ = value; @@ -914,15 +798,11 @@ public Builder mergeTagTemplateField(com.google.cloud.datacatalog.v1.TagTemplate return this; } /** - * - * *
      * Required. The template to update.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTagTemplateField() { bitField0_ = (bitField0_ & ~0x00000002); @@ -935,15 +815,11 @@ public Builder clearTagTemplateField() { return this; } /** - * - * *
      * Required. The template to update.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1.TagTemplateField.Builder getTagTemplateFieldBuilder() { bitField0_ |= 0x00000002; @@ -951,49 +827,36 @@ public com.google.cloud.datacatalog.v1.TagTemplateField.Builder getTagTemplateFi return getTagTemplateFieldFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The template to update.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder - getTagTemplateFieldOrBuilder() { + public com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder() { if (tagTemplateFieldBuilder_ != null) { return tagTemplateFieldBuilder_.getMessageOrBuilder(); } else { - return tagTemplateField_ == null - ? com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance() - : tagTemplateField_; + return tagTemplateField_ == null ? + com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance() : tagTemplateField_; } } /** - * - * *
      * Required. The template to update.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.TagTemplateField, - com.google.cloud.datacatalog.v1.TagTemplateField.Builder, - com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder> + com.google.cloud.datacatalog.v1.TagTemplateField, com.google.cloud.datacatalog.v1.TagTemplateField.Builder, com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder> getTagTemplateFieldFieldBuilder() { if (tagTemplateFieldBuilder_ == null) { - tagTemplateFieldBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.TagTemplateField, - com.google.cloud.datacatalog.v1.TagTemplateField.Builder, - com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder>( - getTagTemplateField(), getParentForChildren(), isClean()); + tagTemplateFieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.TagTemplateField, com.google.cloud.datacatalog.v1.TagTemplateField.Builder, com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder>( + getTagTemplateField(), + getParentForChildren(), + isClean()); tagTemplateField_ = null; } return tagTemplateFieldBuilder_; @@ -1001,13 +864,8 @@ public com.google.cloud.datacatalog.v1.TagTemplateField.Builder getTagTemplateFi 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_; /** - * - * *
      * Optional. Names of fields whose values to overwrite on an individual field
      * of a tag template. The following fields are modifiable:
@@ -1027,17 +885,13 @@ public com.google.cloud.datacatalog.v1.TagTemplateField.Builder getTagTemplateFi
      * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Optional. Names of fields whose values to overwrite on an individual field
      * of a tag template. The following fields are modifiable:
@@ -1057,23 +911,17 @@ public boolean hasUpdateMask() {
      * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; * @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(); } } /** - * - * *
      * Optional. Names of fields whose values to overwrite on an individual field
      * of a tag template. The following fields are modifiable:
@@ -1093,8 +941,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -1110,8 +957,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Names of fields whose values to overwrite on an individual field
      * of a tag template. The following fields are modifiable:
@@ -1131,10 +976,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - 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 { @@ -1145,8 +990,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Optional. Names of fields whose values to overwrite on an individual field
      * of a tag template. The following fields are modifiable:
@@ -1166,14 +1009,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -1186,8 +1028,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Names of fields whose values to overwrite on an individual field
      * of a tag template. The following fields are modifiable:
@@ -1207,8 +1047,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1221,8 +1060,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Optional. Names of fields whose values to overwrite on an individual field
      * of a tag template. The following fields are modifiable:
@@ -1242,8 +1079,7 @@ public Builder clearUpdateMask() {
      * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000004; @@ -1251,8 +1087,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Names of fields whose values to overwrite on an individual field
      * of a tag template. The following fields are modifiable:
@@ -1272,21 +1106,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; } } /** - * - * *
      * Optional. Names of fields whose values to overwrite on an individual field
      * of a tag template. The following fields are modifiable:
@@ -1306,28 +1136,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1337,13 +1163,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest) - private static final com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest(); } @@ -1352,27 +1177,27 @@ public static com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateTagTemplateFieldRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateTagTemplateFieldRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1387,4 +1212,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequestOrBuilder.java similarity index 69% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequestOrBuilder.java index 7af3932cb709..ad7accb06ea1 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequestOrBuilder.java @@ -1,101 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface UpdateTagTemplateFieldRequestOrBuilder - extends +public interface UpdateTagTemplateFieldRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the tag template field.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the tag template field.
    * 
* - * - * string name = 1 [(.google.api.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 template to update.
    * 
* - * - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tagTemplateField field is set. */ boolean hasTagTemplateField(); /** - * - * *
    * Required. The template to update.
    * 
* - * - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The tagTemplateField. */ com.google.cloud.datacatalog.v1.TagTemplateField getTagTemplateField(); /** - * - * *
    * Required. The template to update.
    * 
* - * - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder(); /** - * - * *
    * Optional. Names of fields whose values to overwrite on an individual field
    * of a tag template. The following fields are modifiable:
@@ -115,15 +74,11 @@ public interface UpdateTagTemplateFieldRequestOrBuilder
    * *not* allowed.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Optional. Names of fields whose values to overwrite on an individual field
    * of a tag template. The following fields are modifiable:
@@ -143,15 +98,11 @@ public interface UpdateTagTemplateFieldRequestOrBuilder
    * *not* allowed.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Optional. Names of fields whose values to overwrite on an individual field
    * of a tag template. The following fields are modifiable:
@@ -171,8 +122,7 @@ public interface UpdateTagTemplateFieldRequestOrBuilder
    * *not* allowed.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequest.java similarity index 68% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequest.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequest.java index 1f8ee12cf5f8..a0ca77f20fd4 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequest.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Request message for
  * [UpdateTagTemplate][google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplate].
@@ -28,52 +11,46 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.UpdateTagTemplateRequest}
  */
-public final class UpdateTagTemplateRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateTagTemplateRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.UpdateTagTemplateRequest)
     UpdateTagTemplateRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateTagTemplateRequest.newBuilder() to construct.
   private UpdateTagTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdateTagTemplateRequest() {}
+  private UpdateTagTemplateRequest() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateTagTemplateRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest.class,
-            com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest.class, com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest.Builder.class);
   }
 
   public static final int TAG_TEMPLATE_FIELD_NUMBER = 1;
   private com.google.cloud.datacatalog.v1.TagTemplate tagTemplate_;
   /**
-   *
-   *
    * 
    * Required. The template to update. The `name` field must be set.
    * 
* - * - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tagTemplate field is set. */ @java.lang.Override @@ -81,47 +58,32 @@ public boolean hasTagTemplate() { return tagTemplate_ != null; } /** - * - * *
    * Required. The template to update. The `name` field must be set.
    * 
* - * - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The tagTemplate. */ @java.lang.Override public com.google.cloud.datacatalog.v1.TagTemplate getTagTemplate() { - return tagTemplate_ == null - ? com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance() - : tagTemplate_; + return tagTemplate_ == null ? com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance() : tagTemplate_; } /** - * - * *
    * Required. The template to update. The `name` field must be set.
    * 
* - * - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datacatalog.v1.TagTemplateOrBuilder getTagTemplateOrBuilder() { - return tagTemplate_ == null - ? com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance() - : tagTemplate_; + return tagTemplate_ == null ? com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance() : tagTemplate_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Names of fields whose values to overwrite on a tag template. Currently,
    * only `display_name` and `is_publicly_readable` can be overwritten.
@@ -135,7 +97,6 @@ public com.google.cloud.datacatalog.v1.TagTemplateOrBuilder getTagTemplateOrBuil
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -143,8 +104,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Names of fields whose values to overwrite on a tag template. Currently,
    * only `display_name` and `is_publicly_readable` can be overwritten.
@@ -158,7 +117,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -166,8 +124,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Names of fields whose values to overwrite on a tag template. Currently,
    * only `display_name` and `is_publicly_readable` can be overwritten.
@@ -188,7 +144,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -200,7 +155,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (tagTemplate_ != null) {
       output.writeMessage(1, getTagTemplate());
     }
@@ -217,10 +173,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (tagTemplate_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTagTemplate());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getTagTemplate());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -230,21 +188,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.datacatalog.v1.UpdateTagTemplateRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest other =
-        (com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest) obj;
+    com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest other = (com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest) obj;
 
     if (hasTagTemplate() != other.hasTagTemplate()) return false;
     if (hasTagTemplate()) {
-      if (!getTagTemplate().equals(other.getTagTemplate())) return false;
+      if (!getTagTemplate()
+          .equals(other.getTagTemplate())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -271,104 +230,98 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest prototype) {
+  public static Builder newBuilder(com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Request message for
    * [UpdateTagTemplate][google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplate].
@@ -376,32 +329,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.UpdateTagTemplateRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.UpdateTagTemplateRequest)
       com.google.cloud.datacatalog.v1.UpdateTagTemplateRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest.class,
-              com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest.class, com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -420,9 +374,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_descriptor;
     }
 
     @java.lang.Override
@@ -441,11 +395,8 @@ public com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest result =
-          new com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest result = new com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -453,11 +404,14 @@ public com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest buildPartial() {
     private void buildPartial0(com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.tagTemplate_ =
-            tagTemplateBuilder_ == null ? tagTemplate_ : tagTemplateBuilder_.build();
+        result.tagTemplate_ = tagTemplateBuilder_ == null
+            ? tagTemplate_
+            : tagTemplateBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null
+            ? updateMask_
+            : updateMaskBuilder_.build();
       }
     }
 
@@ -465,39 +419,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.UpdateTagTemplateRequ
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -505,8 +458,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest.getDefaultInstance()) return this;
       if (other.hasTagTemplate()) {
         mergeTagTemplate(other.getTagTemplate());
       }
@@ -539,25 +491,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getTagTemplateFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getTagTemplateFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -567,63 +520,43 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.datacatalog.v1.TagTemplate tagTemplate_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.TagTemplate,
-            com.google.cloud.datacatalog.v1.TagTemplate.Builder,
-            com.google.cloud.datacatalog.v1.TagTemplateOrBuilder>
-        tagTemplateBuilder_;
+        com.google.cloud.datacatalog.v1.TagTemplate, com.google.cloud.datacatalog.v1.TagTemplate.Builder, com.google.cloud.datacatalog.v1.TagTemplateOrBuilder> tagTemplateBuilder_;
     /**
-     *
-     *
      * 
      * Required. The template to update. The `name` field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tagTemplate field is set. */ public boolean hasTagTemplate() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The template to update. The `name` field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The tagTemplate. */ public com.google.cloud.datacatalog.v1.TagTemplate getTagTemplate() { if (tagTemplateBuilder_ == null) { - return tagTemplate_ == null - ? com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance() - : tagTemplate_; + return tagTemplate_ == null ? com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance() : tagTemplate_; } else { return tagTemplateBuilder_.getMessage(); } } /** - * - * *
      * Required. The template to update. The `name` field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTagTemplate(com.google.cloud.datacatalog.v1.TagTemplate value) { if (tagTemplateBuilder_ == null) { @@ -639,15 +572,11 @@ public Builder setTagTemplate(com.google.cloud.datacatalog.v1.TagTemplate value) return this; } /** - * - * *
      * Required. The template to update. The `name` field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTagTemplate( com.google.cloud.datacatalog.v1.TagTemplate.Builder builderForValue) { @@ -661,21 +590,17 @@ public Builder setTagTemplate( return this; } /** - * - * *
      * Required. The template to update. The `name` field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTagTemplate(com.google.cloud.datacatalog.v1.TagTemplate value) { if (tagTemplateBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && tagTemplate_ != null - && tagTemplate_ != com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + tagTemplate_ != null && + tagTemplate_ != com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance()) { getTagTemplateBuilder().mergeFrom(value); } else { tagTemplate_ = value; @@ -688,15 +613,11 @@ public Builder mergeTagTemplate(com.google.cloud.datacatalog.v1.TagTemplate valu return this; } /** - * - * *
      * Required. The template to update. The `name` field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTagTemplate() { bitField0_ = (bitField0_ & ~0x00000001); @@ -709,15 +630,11 @@ public Builder clearTagTemplate() { return this; } /** - * - * *
      * Required. The template to update. The `name` field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1.TagTemplate.Builder getTagTemplateBuilder() { bitField0_ |= 0x00000001; @@ -725,48 +642,36 @@ public com.google.cloud.datacatalog.v1.TagTemplate.Builder getTagTemplateBuilder return getTagTemplateFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The template to update. The `name` field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1.TagTemplateOrBuilder getTagTemplateOrBuilder() { if (tagTemplateBuilder_ != null) { return tagTemplateBuilder_.getMessageOrBuilder(); } else { - return tagTemplate_ == null - ? com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance() - : tagTemplate_; + return tagTemplate_ == null ? + com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance() : tagTemplate_; } } /** - * - * *
      * Required. The template to update. The `name` field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.TagTemplate, - com.google.cloud.datacatalog.v1.TagTemplate.Builder, - com.google.cloud.datacatalog.v1.TagTemplateOrBuilder> + com.google.cloud.datacatalog.v1.TagTemplate, com.google.cloud.datacatalog.v1.TagTemplate.Builder, com.google.cloud.datacatalog.v1.TagTemplateOrBuilder> getTagTemplateFieldBuilder() { if (tagTemplateBuilder_ == null) { - tagTemplateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.TagTemplate, - com.google.cloud.datacatalog.v1.TagTemplate.Builder, - com.google.cloud.datacatalog.v1.TagTemplateOrBuilder>( - getTagTemplate(), getParentForChildren(), isClean()); + tagTemplateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.TagTemplate, com.google.cloud.datacatalog.v1.TagTemplate.Builder, com.google.cloud.datacatalog.v1.TagTemplateOrBuilder>( + getTagTemplate(), + getParentForChildren(), + isClean()); tagTemplate_ = null; } return tagTemplateBuilder_; @@ -774,13 +679,8 @@ public com.google.cloud.datacatalog.v1.TagTemplateOrBuilder getTagTemplateOrBuil 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_; /** - * - * *
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` and `is_publicly_readable` can be overwritten.
@@ -794,15 +694,12 @@ public com.google.cloud.datacatalog.v1.TagTemplateOrBuilder getTagTemplateOrBuil
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` and `is_publicly_readable` can be overwritten.
@@ -816,21 +713,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @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(); } } /** - * - * *
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` and `is_publicly_readable` can be overwritten.
@@ -859,8 +751,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` and `is_publicly_readable` can be overwritten.
@@ -875,7 +765,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    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 {
@@ -886,8 +777,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` and `is_publicly_readable` can be overwritten.
@@ -904,9 +793,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      */
     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;
@@ -919,8 +808,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` and `is_publicly_readable` can be overwritten.
@@ -946,8 +833,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` and `is_publicly_readable` can be overwritten.
@@ -968,8 +853,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` and `is_publicly_readable` can be overwritten.
@@ -988,14 +871,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` and `is_publicly_readable` can be overwritten.
@@ -1011,24 +891,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1038,12 +915,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.UpdateTagTemplateRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.UpdateTagTemplateRequest)
   private static final com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest();
   }
@@ -1052,27 +929,27 @@ public static com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest getDefaul
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateTagTemplateRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateTagTemplateRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.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 +964,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequestOrBuilder.java
similarity index 71%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequestOrBuilder.java
rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequestOrBuilder.java
index b236d3595c9c..7f6ce6f9530c 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequestOrBuilder.java
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequestOrBuilder.java
@@ -1,72 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
-public interface UpdateTagTemplateRequestOrBuilder
-    extends
+public interface UpdateTagTemplateRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.UpdateTagTemplateRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The template to update. The `name` field must be set.
    * 
* - * - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tagTemplate field is set. */ boolean hasTagTemplate(); /** - * - * *
    * Required. The template to update. The `name` field must be set.
    * 
* - * - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The tagTemplate. */ com.google.cloud.datacatalog.v1.TagTemplate getTagTemplate(); /** - * - * *
    * Required. The template to update. The `name` field must be set.
    * 
* - * - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datacatalog.v1.TagTemplateOrBuilder getTagTemplateOrBuilder(); /** - * - * *
    * Names of fields whose values to overwrite on a tag template. Currently,
    * only `display_name` and `is_publicly_readable` can be overwritten.
@@ -80,13 +48,10 @@ public interface UpdateTagTemplateRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Names of fields whose values to overwrite on a tag template. Currently,
    * only `display_name` and `is_publicly_readable` can be overwritten.
@@ -100,13 +65,10 @@ public interface UpdateTagTemplateRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Names of fields whose values to overwrite on a tag template. Currently,
    * only `display_name` and `is_publicly_readable` can be overwritten.
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequest.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequest.java
similarity index 71%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequest.java
rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequest.java
index a51476662373..88ea893162df 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequest.java
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequest.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/policytagmanager.proto
 
 package com.google.cloud.datacatalog.v1;
 
 /**
- *
- *
  * 
  * Request message for
  * [UpdateTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.UpdateTaxonomy].
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.UpdateTaxonomyRequest}
  */
-public final class UpdateTaxonomyRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateTaxonomyRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.UpdateTaxonomyRequest)
     UpdateTaxonomyRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateTaxonomyRequest.newBuilder() to construct.
   private UpdateTaxonomyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdateTaxonomyRequest() {}
+  private UpdateTaxonomyRequest() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateTaxonomyRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest.class,
-            com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest.class, com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest.Builder.class);
   }
 
   public static final int TAXONOMY_FIELD_NUMBER = 1;
   private com.google.cloud.datacatalog.v1.Taxonomy taxonomy_;
   /**
-   *
-   *
    * 
    * The taxonomy to update. You can update only its description, display name,
    * and activated policy types.
    * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1; - * * @return Whether the taxonomy field is set. */ @java.lang.Override @@ -80,26 +59,19 @@ public boolean hasTaxonomy() { return taxonomy_ != null; } /** - * - * *
    * The taxonomy to update. You can update only its description, display name,
    * and activated policy types.
    * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1; - * * @return The taxonomy. */ @java.lang.Override public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomy() { - return taxonomy_ == null - ? com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance() - : taxonomy_; + return taxonomy_ == null ? com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance() : taxonomy_; } /** - * - * *
    * The taxonomy to update. You can update only its description, display name,
    * and activated policy types.
@@ -109,16 +81,12 @@ public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomy() {
    */
   @java.lang.Override
   public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomyOrBuilder() {
-    return taxonomy_ == null
-        ? com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance()
-        : taxonomy_;
+    return taxonomy_ == null ? com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance() : taxonomy_;
   }
 
   public static final int UPDATE_MASK_FIELD_NUMBER = 2;
   private com.google.protobuf.FieldMask updateMask_;
   /**
-   *
-   *
    * 
    * Specifies fields to update. If not set, defaults to all fields you can
    * update.
@@ -128,7 +96,6 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomyOrBuilder()
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -136,8 +103,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Specifies fields to update. If not set, defaults to all fields you can
    * update.
@@ -147,7 +112,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -155,8 +119,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Specifies fields to update. If not set, defaults to all fields you can
    * update.
@@ -173,7 +135,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -185,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 (taxonomy_ != null) {
       output.writeMessage(1, getTaxonomy());
     }
@@ -202,10 +164,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (taxonomy_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTaxonomy());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getTaxonomy());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -215,21 +179,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.datacatalog.v1.UpdateTaxonomyRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest other =
-        (com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest) obj;
+    com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest other = (com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest) obj;
 
     if (hasTaxonomy() != other.hasTaxonomy()) return false;
     if (hasTaxonomy()) {
-      if (!getTaxonomy().equals(other.getTaxonomy())) return false;
+      if (!getTaxonomy()
+          .equals(other.getTaxonomy())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -256,104 +221,98 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest prototype) {
+  public static Builder newBuilder(com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Request message for
    * [UpdateTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.UpdateTaxonomy].
@@ -361,32 +320,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.UpdateTaxonomyRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.UpdateTaxonomyRequest)
       com.google.cloud.datacatalog.v1.UpdateTaxonomyRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest.class,
-              com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest.class, com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -405,9 +365,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
@@ -426,11 +386,8 @@ public com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest result =
-          new com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest result = new com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -438,10 +395,14 @@ public com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest buildPartial() {
     private void buildPartial0(com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.taxonomy_ = taxonomyBuilder_ == null ? taxonomy_ : taxonomyBuilder_.build();
+        result.taxonomy_ = taxonomyBuilder_ == null
+            ? taxonomy_
+            : taxonomyBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null
+            ? updateMask_
+            : updateMaskBuilder_.build();
       }
     }
 
@@ -449,39 +410,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -489,8 +449,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest.getDefaultInstance()) return this;
       if (other.hasTaxonomy()) {
         mergeTaxonomy(other.getTaxonomy());
       }
@@ -523,25 +482,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getTaxonomyFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getTaxonomyFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -551,54 +511,40 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.datacatalog.v1.Taxonomy taxonomy_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.Taxonomy,
-            com.google.cloud.datacatalog.v1.Taxonomy.Builder,
-            com.google.cloud.datacatalog.v1.TaxonomyOrBuilder>
-        taxonomyBuilder_;
+        com.google.cloud.datacatalog.v1.Taxonomy, com.google.cloud.datacatalog.v1.Taxonomy.Builder, com.google.cloud.datacatalog.v1.TaxonomyOrBuilder> taxonomyBuilder_;
     /**
-     *
-     *
      * 
      * The taxonomy to update. You can update only its description, display name,
      * and activated policy types.
      * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1; - * * @return Whether the taxonomy field is set. */ public boolean hasTaxonomy() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The taxonomy to update. You can update only its description, display name,
      * and activated policy types.
      * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1; - * * @return The taxonomy. */ public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomy() { if (taxonomyBuilder_ == null) { - return taxonomy_ == null - ? com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance() - : taxonomy_; + return taxonomy_ == null ? com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance() : taxonomy_; } else { return taxonomyBuilder_.getMessage(); } } /** - * - * *
      * The taxonomy to update. You can update only its description, display name,
      * and activated policy types.
@@ -620,8 +566,6 @@ public Builder setTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The taxonomy to update. You can update only its description, display name,
      * and activated policy types.
@@ -629,7 +573,8 @@ public Builder setTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy value) {
      *
      * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1;
      */
-    public Builder setTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy.Builder builderForValue) {
+    public Builder setTaxonomy(
+        com.google.cloud.datacatalog.v1.Taxonomy.Builder builderForValue) {
       if (taxonomyBuilder_ == null) {
         taxonomy_ = builderForValue.build();
       } else {
@@ -640,8 +585,6 @@ public Builder setTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * The taxonomy to update. You can update only its description, display name,
      * and activated policy types.
@@ -651,9 +594,9 @@ public Builder setTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy.Builder buil
      */
     public Builder mergeTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy value) {
       if (taxonomyBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && taxonomy_ != null
-            && taxonomy_ != com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          taxonomy_ != null &&
+          taxonomy_ != com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance()) {
           getTaxonomyBuilder().mergeFrom(value);
         } else {
           taxonomy_ = value;
@@ -666,8 +609,6 @@ public Builder mergeTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The taxonomy to update. You can update only its description, display name,
      * and activated policy types.
@@ -686,8 +627,6 @@ public Builder clearTaxonomy() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The taxonomy to update. You can update only its description, display name,
      * and activated policy types.
@@ -701,8 +640,6 @@ public com.google.cloud.datacatalog.v1.Taxonomy.Builder getTaxonomyBuilder() {
       return getTaxonomyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The taxonomy to update. You can update only its description, display name,
      * and activated policy types.
@@ -714,14 +651,11 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomyOrBuilder()
       if (taxonomyBuilder_ != null) {
         return taxonomyBuilder_.getMessageOrBuilder();
       } else {
-        return taxonomy_ == null
-            ? com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance()
-            : taxonomy_;
+        return taxonomy_ == null ?
+            com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance() : taxonomy_;
       }
     }
     /**
-     *
-     *
      * 
      * The taxonomy to update. You can update only its description, display name,
      * and activated policy types.
@@ -730,17 +664,14 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomyOrBuilder()
      * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.Taxonomy,
-            com.google.cloud.datacatalog.v1.Taxonomy.Builder,
-            com.google.cloud.datacatalog.v1.TaxonomyOrBuilder>
+        com.google.cloud.datacatalog.v1.Taxonomy, com.google.cloud.datacatalog.v1.Taxonomy.Builder, com.google.cloud.datacatalog.v1.TaxonomyOrBuilder> 
         getTaxonomyFieldBuilder() {
       if (taxonomyBuilder_ == null) {
-        taxonomyBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.datacatalog.v1.Taxonomy,
-                com.google.cloud.datacatalog.v1.Taxonomy.Builder,
-                com.google.cloud.datacatalog.v1.TaxonomyOrBuilder>(
-                getTaxonomy(), getParentForChildren(), isClean());
+        taxonomyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.datacatalog.v1.Taxonomy, com.google.cloud.datacatalog.v1.Taxonomy.Builder, com.google.cloud.datacatalog.v1.TaxonomyOrBuilder>(
+                getTaxonomy(),
+                getParentForChildren(),
+                isClean());
         taxonomy_ = null;
       }
       return taxonomyBuilder_;
@@ -748,13 +679,8 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomyOrBuilder()
 
     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_;
     /**
-     *
-     *
      * 
      * Specifies fields to update. If not set, defaults to all fields you can
      * update.
@@ -764,15 +690,12 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomyOrBuilder()
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Specifies fields to update. If not set, defaults to all fields you can
      * update.
@@ -782,21 +705,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @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(); } } /** - * - * *
      * Specifies fields to update. If not set, defaults to all fields you can
      * update.
@@ -821,8 +739,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies fields to update. If not set, defaults to all fields you can
      * update.
@@ -833,7 +749,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    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 {
@@ -844,8 +761,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies fields to update. If not set, defaults to all fields you can
      * update.
@@ -858,9 +773,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      */
     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;
@@ -873,8 +788,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies fields to update. If not set, defaults to all fields you can
      * update.
@@ -896,8 +809,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies fields to update. If not set, defaults to all fields you can
      * update.
@@ -914,8 +825,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Specifies fields to update. If not set, defaults to all fields you can
      * update.
@@ -930,14 +839,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * Specifies fields to update. If not set, defaults to all fields you can
      * update.
@@ -949,24 +855,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -976,12 +879,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.UpdateTaxonomyRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.UpdateTaxonomyRequest)
   private static final com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest();
   }
@@ -990,27 +893,27 @@ public static com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest getDefaultIn
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateTaxonomyRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateTaxonomyRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.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,4 +928,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequestOrBuilder.java
similarity index 76%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequestOrBuilder.java
rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequestOrBuilder.java
index 5a723936505c..e8084a80e3e6 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequestOrBuilder.java
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequestOrBuilder.java
@@ -1,57 +1,33 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/policytagmanager.proto
 
 package com.google.cloud.datacatalog.v1;
 
-public interface UpdateTaxonomyRequestOrBuilder
-    extends
+public interface UpdateTaxonomyRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.UpdateTaxonomyRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The taxonomy to update. You can update only its description, display name,
    * and activated policy types.
    * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1; - * * @return Whether the taxonomy field is set. */ boolean hasTaxonomy(); /** - * - * *
    * The taxonomy to update. You can update only its description, display name,
    * and activated policy types.
    * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1; - * * @return The taxonomy. */ com.google.cloud.datacatalog.v1.Taxonomy getTaxonomy(); /** - * - * *
    * The taxonomy to update. You can update only its description, display name,
    * and activated policy types.
@@ -62,8 +38,6 @@ public interface UpdateTaxonomyRequestOrBuilder
   com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomyOrBuilder();
 
   /**
-   *
-   *
    * 
    * Specifies fields to update. If not set, defaults to all fields you can
    * update.
@@ -73,13 +47,10 @@ public interface UpdateTaxonomyRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Specifies fields to update. If not set, defaults to all fields you can
    * update.
@@ -89,13 +60,10 @@ public interface UpdateTaxonomyRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Specifies fields to update. If not set, defaults to all fields you can
    * update.
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Usage.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Usage.java
new file mode 100644
index 000000000000..a3cb9ff8a028
--- /dev/null
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Usage.java
@@ -0,0 +1,126 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/datacatalog/v1/usage.proto
+
+package com.google.cloud.datacatalog.v1;
+
+public final class Usage {
+  private Usage() {}
+  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_datacatalog_v1_UsageStats_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_datacatalog_v1_UsageStats_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_datacatalog_v1_CommonUsageStats_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_datacatalog_v1_CommonUsageStats_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_datacatalog_v1_UsageSignal_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_datacatalog_v1_UsageSignal_UsageWithinTimeRangeEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_datacatalog_v1_UsageSignal_UsageWithinTimeRangeEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_datacatalog_v1_UsageSignal_CommonUsageWithinTimeRangeEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_datacatalog_v1_UsageSignal_CommonUsageWithinTimeRangeEntry_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/datacatalog/v1/usage.prot" +
+      "o\022\033google.cloud.datacatalog.v1\032\037google/a" +
+      "pi/field_behavior.proto\032\037google/protobuf" +
+      "/timestamp.proto\"\221\001\n\nUsageStats\022\031\n\021total" +
+      "_completions\030\001 \001(\002\022\026\n\016total_failures\030\002 \001" +
+      "(\002\022\033\n\023total_cancellations\030\003 \001(\002\0223\n+total" +
+      "_execution_time_for_completions_millis\030\004" +
+      " \001(\002\":\n\020CommonUsageStats\022\027\n\nview_count\030\001" +
+      " \001(\003H\000\210\001\001B\r\n\013_view_count\"\243\004\n\013UsageSignal" +
+      "\022/\n\013update_time\030\001 \001(\0132\032.google.protobuf." +
+      "Timestamp\022i\n\027usage_within_time_range\030\002 \003" +
+      "(\0132B.google.cloud.datacatalog.v1.UsageSi" +
+      "gnal.UsageWithinTimeRangeEntryB\004\342A\001\003\022p\n\036" +
+      "common_usage_within_time_range\030\003 \003(\0132H.g" +
+      "oogle.cloud.datacatalog.v1.UsageSignal.C" +
+      "ommonUsageWithinTimeRangeEntry\022\033\n\016favori" +
+      "te_count\030\004 \001(\003H\000\210\001\001\032d\n\031UsageWithinTimeRa" +
+      "ngeEntry\022\013\n\003key\030\001 \001(\t\0226\n\005value\030\002 \001(\0132\'.g" +
+      "oogle.cloud.datacatalog.v1.UsageStats:\0028" +
+      "\001\032p\n\037CommonUsageWithinTimeRangeEntry\022\013\n\003" +
+      "key\030\001 \001(\t\022<\n\005value\030\002 \001(\0132-.google.cloud." +
+      "datacatalog.v1.CommonUsageStats:\0028\001B\021\n\017_" +
+      "favorite_countB\306\001\n\037com.google.cloud.data" +
+      "catalog.v1P\001ZAcloud.google.com/go/dataca" +
+      "talog/apiv1/datacatalogpb;datacatalogpb\370" +
+      "\001\001\252\002\033Google.Cloud.DataCatalog.V1\312\002\033Googl" +
+      "e\\Cloud\\DataCatalog\\V1\352\002\036Google::Cloud::" +
+      "DataCatalog::V1b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_cloud_datacatalog_v1_UsageStats_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_datacatalog_v1_UsageStats_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_datacatalog_v1_UsageStats_descriptor,
+        new java.lang.String[] { "TotalCompletions", "TotalFailures", "TotalCancellations", "TotalExecutionTimeForCompletionsMillis", });
+    internal_static_google_cloud_datacatalog_v1_CommonUsageStats_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_datacatalog_v1_CommonUsageStats_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_datacatalog_v1_CommonUsageStats_descriptor,
+        new java.lang.String[] { "ViewCount", "ViewCount", });
+    internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_datacatalog_v1_UsageSignal_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor,
+        new java.lang.String[] { "UpdateTime", "UsageWithinTimeRange", "CommonUsageWithinTimeRange", "FavoriteCount", "FavoriteCount", });
+    internal_static_google_cloud_datacatalog_v1_UsageSignal_UsageWithinTimeRangeEntry_descriptor =
+      internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_datacatalog_v1_UsageSignal_UsageWithinTimeRangeEntry_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_datacatalog_v1_UsageSignal_UsageWithinTimeRangeEntry_descriptor,
+        new java.lang.String[] { "Key", "Value", });
+    internal_static_google_cloud_datacatalog_v1_UsageSignal_CommonUsageWithinTimeRangeEntry_descriptor =
+      internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor.getNestedTypes().get(1);
+    internal_static_google_cloud_datacatalog_v1_UsageSignal_CommonUsageWithinTimeRangeEntry_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_datacatalog_v1_UsageSignal_CommonUsageWithinTimeRangeEntry_descriptor,
+        new java.lang.String[] { "Key", "Value", });
+    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.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignal.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignal.java
similarity index 60%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignal.java
rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignal.java
index 507909a61d43..9e609ea88d1e 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignal.java
+++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignal.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/usage.proto
 
 package com.google.cloud.datacatalog.v1;
 
 /**
- *
- *
  * 
  * The set of all usage signals that Data Catalog stores.
  *
@@ -30,64 +13,61 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.UsageSignal}
  */
-public final class UsageSignal extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UsageSignal extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.UsageSignal)
     UsageSignalOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UsageSignal.newBuilder() to construct.
   private UsageSignal(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UsageSignal() {}
+  private UsageSignal() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UsageSignal();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Usage
-        .internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_UsageSignal_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 2:
         return internalGetUsageWithinTimeRange();
       case 3:
         return internalGetCommonUsageWithinTimeRange();
       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.datacatalog.v1.Usage
-        .internal_static_google_cloud_datacatalog_v1_UsageSignal_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_UsageSignal_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.UsageSignal.class,
-            com.google.cloud.datacatalog.v1.UsageSignal.Builder.class);
+            com.google.cloud.datacatalog.v1.UsageSignal.class, com.google.cloud.datacatalog.v1.UsageSignal.Builder.class);
   }
 
   private int bitField0_;
   public static final int UPDATE_TIME_FIELD_NUMBER = 1;
   private com.google.protobuf.Timestamp updateTime_;
   /**
-   *
-   *
    * 
    * The end timestamp of the duration of usage statistics.
    * 
* * .google.protobuf.Timestamp update_time = 1; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -95,14 +75,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The end timestamp of the duration of usage statistics.
    * 
* * .google.protobuf.Timestamp update_time = 1; - * * @return The updateTime. */ @java.lang.Override @@ -110,8 +87,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The end timestamp of the duration of usage statistics.
    * 
@@ -124,40 +99,32 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int USAGE_WITHIN_TIME_RANGE_FIELD_NUMBER = 2; - private static final class UsageWithinTimeRangeDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.datacatalog.v1.UsageStats> - defaultEntry = + java.lang.String, com.google.cloud.datacatalog.v1.UsageStats> defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.datacatalog.v1.Usage - .internal_static_google_cloud_datacatalog_v1_UsageSignal_UsageWithinTimeRangeEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.datacatalog.v1.UsageStats.getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_UsageSignal_UsageWithinTimeRangeEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.datacatalog.v1.UsageStats.getDefaultInstance()); } - @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1.UsageStats> usageWithinTimeRange_; private com.google.protobuf.MapField - usageWithinTimeRange_; - - private com.google.protobuf.MapField - internalGetUsageWithinTimeRange() { + internalGetUsageWithinTimeRange() { if (usageWithinTimeRange_ == null) { return com.google.protobuf.MapField.emptyMapField( UsageWithinTimeRangeDefaultEntryHolder.defaultEntry); } return usageWithinTimeRange_; } - public int getUsageWithinTimeRangeCount() { return internalGetUsageWithinTimeRange().getMap().size(); } /** - * - * *
    * Output only. BigQuery usage statistics over each of the predefined time
    * ranges.
@@ -165,27 +132,23 @@ public int getUsageWithinTimeRangeCount() {
    * Supported time ranges are `{"24H", "7D", "30D"}`.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public boolean containsUsageWithinTimeRange(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsUsageWithinTimeRange( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetUsageWithinTimeRange().getMap().containsKey(key); } - /** Use {@link #getUsageWithinTimeRangeMap()} instead. */ + /** + * Use {@link #getUsageWithinTimeRangeMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getUsageWithinTimeRange() { + public java.util.Map getUsageWithinTimeRange() { return getUsageWithinTimeRangeMap(); } /** - * - * *
    * Output only. BigQuery usage statistics over each of the predefined time
    * ranges.
@@ -193,18 +156,13 @@ public boolean containsUsageWithinTimeRange(java.lang.String key) {
    * Supported time ranges are `{"24H", "7D", "30D"}`.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.Map - getUsageWithinTimeRangeMap() { + public java.util.Map getUsageWithinTimeRangeMap() { return internalGetUsageWithinTimeRange().getMap(); } /** - * - * *
    * Output only. BigQuery usage statistics over each of the predefined time
    * ranges.
@@ -212,25 +170,20 @@ public boolean containsUsageWithinTimeRange(java.lang.String key) {
    * Supported time ranges are `{"24H", "7D", "30D"}`.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public /* nullable */ com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrDefault( + public /* nullable */ +com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.datacatalog.v1.UsageStats defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } +com.google.cloud.datacatalog.v1.UsageStats defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetUsageWithinTimeRange().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Output only. BigQuery usage statistics over each of the predefined time
    * ranges.
@@ -238,16 +191,12 @@ public boolean containsUsageWithinTimeRange(java.lang.String key) {
    * Supported time ranges are `{"24H", "7D", "30D"}`.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetUsageWithinTimeRange().getMap(); if (!map.containsKey(key)) { @@ -257,130 +206,100 @@ public com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrThrow } public static final int COMMON_USAGE_WITHIN_TIME_RANGE_FIELD_NUMBER = 3; - private static final class CommonUsageWithinTimeRangeDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.datacatalog.v1.CommonUsageStats> - defaultEntry = + java.lang.String, com.google.cloud.datacatalog.v1.CommonUsageStats> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.cloud.datacatalog.v1.Usage - .internal_static_google_cloud_datacatalog_v1_UsageSignal_CommonUsageWithinTimeRangeEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.datacatalog.v1.CommonUsageStats.getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_UsageSignal_CommonUsageWithinTimeRangeEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.datacatalog.v1.CommonUsageStats.getDefaultInstance()); } - @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1.CommonUsageStats> - commonUsageWithinTimeRange_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1.CommonUsageStats> - internalGetCommonUsageWithinTimeRange() { + java.lang.String, com.google.cloud.datacatalog.v1.CommonUsageStats> commonUsageWithinTimeRange_; + private com.google.protobuf.MapField + internalGetCommonUsageWithinTimeRange() { if (commonUsageWithinTimeRange_ == null) { return com.google.protobuf.MapField.emptyMapField( CommonUsageWithinTimeRangeDefaultEntryHolder.defaultEntry); } return commonUsageWithinTimeRange_; } - public int getCommonUsageWithinTimeRangeCount() { return internalGetCommonUsageWithinTimeRange().getMap().size(); } /** - * - * *
    * Common usage statistics over each of the predefined time ranges.
    *
    * Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; - * + * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; */ @java.lang.Override - public boolean containsCommonUsageWithinTimeRange(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsCommonUsageWithinTimeRange( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetCommonUsageWithinTimeRange().getMap().containsKey(key); } - /** Use {@link #getCommonUsageWithinTimeRangeMap()} instead. */ + /** + * Use {@link #getCommonUsageWithinTimeRangeMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getCommonUsageWithinTimeRange() { + public java.util.Map getCommonUsageWithinTimeRange() { return getCommonUsageWithinTimeRangeMap(); } /** - * - * *
    * Common usage statistics over each of the predefined time ranges.
    *
    * Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; - * + * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; */ @java.lang.Override - public java.util.Map - getCommonUsageWithinTimeRangeMap() { + public java.util.Map getCommonUsageWithinTimeRangeMap() { return internalGetCommonUsageWithinTimeRange().getMap(); } /** - * - * *
    * Common usage statistics over each of the predefined time ranges.
    *
    * Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; - * + * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; */ @java.lang.Override - public /* nullable */ com.google.cloud.datacatalog.v1.CommonUsageStats - getCommonUsageWithinTimeRangeOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.datacatalog.v1.CommonUsageStats defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + public /* nullable */ +com.google.cloud.datacatalog.v1.CommonUsageStats getCommonUsageWithinTimeRangeOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.datacatalog.v1.CommonUsageStats defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCommonUsageWithinTimeRange().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Common usage statistics over each of the predefined time ranges.
    *
    * Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; - * + * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; */ @java.lang.Override public com.google.cloud.datacatalog.v1.CommonUsageStats getCommonUsageWithinTimeRangeOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCommonUsageWithinTimeRange().getMap(); if (!map.containsKey(key)) { @@ -392,14 +311,11 @@ public com.google.cloud.datacatalog.v1.CommonUsageStats getCommonUsageWithinTime public static final int FAVORITE_COUNT_FIELD_NUMBER = 4; private long favoriteCount_ = 0L; /** - * - * *
    * Favorite count in the source system.
    * 
* * optional int64 favorite_count = 4; - * * @return Whether the favoriteCount field is set. */ @java.lang.Override @@ -407,14 +323,11 @@ public boolean hasFavoriteCount() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Favorite count in the source system.
    * 
* * optional int64 favorite_count = 4; - * * @return The favoriteCount. */ @java.lang.Override @@ -423,7 +336,6 @@ public long getFavoriteCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -435,16 +347,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 (updateTime_ != null) { output.writeMessage(1, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( output, internalGetUsageWithinTimeRange(), UsageWithinTimeRangeDefaultEntryHolder.defaultEntry, 2); - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( output, internalGetCommonUsageWithinTimeRange(), CommonUsageWithinTimeRangeDefaultEntryHolder.defaultEntry, @@ -462,34 +377,32 @@ public int getSerializedSize() { size = 0; if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateTime()); } - for (java.util.Map.Entry entry : - internalGetUsageWithinTimeRange().getMap().entrySet()) { + for (java.util.Map.Entry entry + : internalGetUsageWithinTimeRange().getMap().entrySet()) { com.google.protobuf.MapEntry - usageWithinTimeRange__ = - UsageWithinTimeRangeDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, usageWithinTimeRange__); - } - for (java.util.Map.Entry - entry : internalGetCommonUsageWithinTimeRange().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.datacatalog.v1.CommonUsageStats> - commonUsageWithinTimeRange__ = - CommonUsageWithinTimeRangeDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(3, commonUsageWithinTimeRange__); + usageWithinTimeRange__ = UsageWithinTimeRangeDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, usageWithinTimeRange__); + } + for (java.util.Map.Entry entry + : internalGetCommonUsageWithinTimeRange().getMap().entrySet()) { + com.google.protobuf.MapEntry + commonUsageWithinTimeRange__ = CommonUsageWithinTimeRangeDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, commonUsageWithinTimeRange__); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, favoriteCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, favoriteCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -499,25 +412,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.datacatalog.v1.UsageSignal)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.UsageSignal other = - (com.google.cloud.datacatalog.v1.UsageSignal) obj; + com.google.cloud.datacatalog.v1.UsageSignal other = (com.google.cloud.datacatalog.v1.UsageSignal) obj; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } - if (!internalGetUsageWithinTimeRange().equals(other.internalGetUsageWithinTimeRange())) - return false; - if (!internalGetCommonUsageWithinTimeRange() - .equals(other.internalGetCommonUsageWithinTimeRange())) return false; + if (!internalGetUsageWithinTimeRange().equals( + other.internalGetUsageWithinTimeRange())) return false; + if (!internalGetCommonUsageWithinTimeRange().equals( + other.internalGetCommonUsageWithinTimeRange())) return false; if (hasFavoriteCount() != other.hasFavoriteCount()) return false; if (hasFavoriteCount()) { - if (getFavoriteCount() != other.getFavoriteCount()) return false; + if (getFavoriteCount() + != other.getFavoriteCount()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -544,111 +458,107 @@ public int hashCode() { } if (hasFavoriteCount()) { hash = (37 * hash) + FAVORITE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getFavoriteCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getFavoriteCount()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.datacatalog.v1.UsageSignal parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.UsageSignal parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.UsageSignal parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.UsageSignal parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.UsageSignal parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.UsageSignal parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.UsageSignal parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.UsageSignal parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.UsageSignal parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.UsageSignal parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.UsageSignal parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.UsageSignal parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.UsageSignal parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.UsageSignal parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.UsageSignal prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 set of all usage signals that Data Catalog stores.
    *
@@ -658,56 +568,59 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.UsageSignal}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.UsageSignal)
       com.google.cloud.datacatalog.v1.UsageSignalOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Usage
-          .internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 2:
           return internalGetUsageWithinTimeRange();
         case 3:
           return internalGetCommonUsageWithinTimeRange();
         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 2:
           return internalGetMutableUsageWithinTimeRange();
         case 3:
           return internalGetMutableCommonUsageWithinTimeRange();
         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.datacatalog.v1.Usage
-          .internal_static_google_cloud_datacatalog_v1_UsageSignal_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_UsageSignal_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.UsageSignal.class,
-              com.google.cloud.datacatalog.v1.UsageSignal.Builder.class);
+              com.google.cloud.datacatalog.v1.UsageSignal.class, com.google.cloud.datacatalog.v1.UsageSignal.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.UsageSignal.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -724,9 +637,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Usage
-          .internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor;
     }
 
     @java.lang.Override
@@ -745,11 +658,8 @@ public com.google.cloud.datacatalog.v1.UsageSignal build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.UsageSignal buildPartial() {
-      com.google.cloud.datacatalog.v1.UsageSignal result =
-          new com.google.cloud.datacatalog.v1.UsageSignal(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.UsageSignal result = new com.google.cloud.datacatalog.v1.UsageSignal(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -757,7 +667,9 @@ public com.google.cloud.datacatalog.v1.UsageSignal buildPartial() {
     private void buildPartial0(com.google.cloud.datacatalog.v1.UsageSignal 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.usageWithinTimeRange_ = internalGetUsageWithinTimeRange();
@@ -779,39 +691,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.UsageSignal result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.UsageSignal) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.UsageSignal) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.UsageSignal)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -823,10 +734,11 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.UsageSignal other) {
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
-      internalGetMutableUsageWithinTimeRange().mergeFrom(other.internalGetUsageWithinTimeRange());
+      internalGetMutableUsageWithinTimeRange().mergeFrom(
+          other.internalGetUsageWithinTimeRange());
       bitField0_ |= 0x00000002;
-      internalGetMutableCommonUsageWithinTimeRange()
-          .mergeFrom(other.internalGetCommonUsageWithinTimeRange());
+      internalGetMutableCommonUsageWithinTimeRange().mergeFrom(
+          other.internalGetCommonUsageWithinTimeRange());
       bitField0_ |= 0x00000004;
       if (other.hasFavoriteCount()) {
         setFavoriteCount(other.getFavoriteCount());
@@ -857,56 +769,42 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.protobuf.MapEntry<
-                        java.lang.String, com.google.cloud.datacatalog.v1.UsageStats>
-                    usageWithinTimeRange__ =
-                        input.readMessage(
-                            UsageWithinTimeRangeDefaultEntryHolder.defaultEntry.getParserForType(),
-                            extensionRegistry);
-                internalGetMutableUsageWithinTimeRange()
-                    .getMutableMap()
-                    .put(usageWithinTimeRange__.getKey(), usageWithinTimeRange__.getValue());
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                com.google.protobuf.MapEntry<
-                        java.lang.String, com.google.cloud.datacatalog.v1.CommonUsageStats>
-                    commonUsageWithinTimeRange__ =
-                        input.readMessage(
-                            CommonUsageWithinTimeRangeDefaultEntryHolder.defaultEntry
-                                .getParserForType(),
-                            extensionRegistry);
-                internalGetMutableCommonUsageWithinTimeRange()
-                    .getMutableMap()
-                    .put(
-                        commonUsageWithinTimeRange__.getKey(),
-                        commonUsageWithinTimeRange__.getValue());
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 32:
-              {
-                favoriteCount_ = input.readInt64();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            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 18: {
+              com.google.protobuf.MapEntry
+              usageWithinTimeRange__ = input.readMessage(
+                  UsageWithinTimeRangeDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableUsageWithinTimeRange().getMutableMap().put(
+                  usageWithinTimeRange__.getKey(), usageWithinTimeRange__.getValue());
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              com.google.protobuf.MapEntry
+              commonUsageWithinTimeRange__ = input.readMessage(
+                  CommonUsageWithinTimeRangeDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableCommonUsageWithinTimeRange().getMutableMap().put(
+                  commonUsageWithinTimeRange__.getKey(), commonUsageWithinTimeRange__.getValue());
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 32: {
+              favoriteCount_ = 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) {
@@ -916,52 +814,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_;
     /**
-     *
-     *
      * 
      * The end timestamp of the duration of usage statistics.
      * 
* * .google.protobuf.Timestamp update_time = 1; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The end timestamp of the duration of usage statistics.
      * 
* * .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(); } } /** - * - * *
      * The end timestamp of the duration of usage statistics.
      * 
@@ -982,15 +866,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The end timestamp of the duration of usage statistics.
      * 
* * .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 { @@ -1001,8 +884,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The end timestamp of the duration of usage statistics.
      * 
@@ -1011,9 +892,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; @@ -1026,8 +907,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The end timestamp of the duration of usage statistics.
      * 
@@ -1045,8 +924,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The end timestamp of the duration of usage statistics.
      * 
@@ -1059,8 +936,6 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The end timestamp of the duration of usage statistics.
      * 
@@ -1071,14 +946,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * The end timestamp of the duration of usage statistics.
      * 
@@ -1086,28 +958,22 @@ 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 com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1.UsageStats> - usageWithinTimeRange_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1.UsageStats> + java.lang.String, com.google.cloud.datacatalog.v1.UsageStats> usageWithinTimeRange_; + private com.google.protobuf.MapField internalGetUsageWithinTimeRange() { if (usageWithinTimeRange_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -1115,14 +981,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } return usageWithinTimeRange_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1.UsageStats> + private com.google.protobuf.MapField internalGetMutableUsageWithinTimeRange() { if (usageWithinTimeRange_ == null) { - usageWithinTimeRange_ = - com.google.protobuf.MapField.newMapField( - UsageWithinTimeRangeDefaultEntryHolder.defaultEntry); + usageWithinTimeRange_ = com.google.protobuf.MapField.newMapField( + UsageWithinTimeRangeDefaultEntryHolder.defaultEntry); } if (!usageWithinTimeRange_.isMutable()) { usageWithinTimeRange_ = usageWithinTimeRange_.copy(); @@ -1131,13 +994,10 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { onChanged(); return usageWithinTimeRange_; } - public int getUsageWithinTimeRangeCount() { return internalGetUsageWithinTimeRange().getMap().size(); } /** - * - * *
      * Output only. BigQuery usage statistics over each of the predefined time
      * ranges.
@@ -1145,27 +1005,23 @@ public int getUsageWithinTimeRangeCount() {
      * Supported time ranges are `{"24H", "7D", "30D"}`.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public boolean containsUsageWithinTimeRange(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsUsageWithinTimeRange( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetUsageWithinTimeRange().getMap().containsKey(key); } - /** Use {@link #getUsageWithinTimeRangeMap()} instead. */ + /** + * Use {@link #getUsageWithinTimeRangeMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getUsageWithinTimeRange() { + public java.util.Map getUsageWithinTimeRange() { return getUsageWithinTimeRangeMap(); } /** - * - * *
      * Output only. BigQuery usage statistics over each of the predefined time
      * ranges.
@@ -1173,18 +1029,13 @@ public boolean containsUsageWithinTimeRange(java.lang.String key) {
      * Supported time ranges are `{"24H", "7D", "30D"}`.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.Map - getUsageWithinTimeRangeMap() { + public java.util.Map getUsageWithinTimeRangeMap() { return internalGetUsageWithinTimeRange().getMap(); } /** - * - * *
      * Output only. BigQuery usage statistics over each of the predefined time
      * ranges.
@@ -1192,26 +1043,20 @@ public boolean containsUsageWithinTimeRange(java.lang.String key) {
      * Supported time ranges are `{"24H", "7D", "30D"}`.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public /* nullable */ com.google.cloud.datacatalog.v1.UsageStats - getUsageWithinTimeRangeOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.datacatalog.v1.UsageStats defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + public /* nullable */ +com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.datacatalog.v1.UsageStats defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetUsageWithinTimeRange().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Output only. BigQuery usage statistics over each of the predefined time
      * ranges.
@@ -1219,16 +1064,12 @@ public boolean containsUsageWithinTimeRange(java.lang.String key) {
      * Supported time ranges are `{"24H", "7D", "30D"}`.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetUsageWithinTimeRange().getMap(); if (!map.containsKey(key)) { @@ -1236,15 +1077,13 @@ public com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrThrow } return map.get(key); } - public Builder clearUsageWithinTimeRange() { bitField0_ = (bitField0_ & ~0x00000002); - internalGetMutableUsageWithinTimeRange().getMutableMap().clear(); + internalGetMutableUsageWithinTimeRange().getMutableMap() + .clear(); return this; } /** - * - * *
      * Output only. BigQuery usage statistics over each of the predefined time
      * ranges.
@@ -1252,18 +1091,18 @@ public Builder clearUsageWithinTimeRange() {
      * Supported time ranges are `{"24H", "7D", "30D"}`.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder removeUsageWithinTimeRange(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableUsageWithinTimeRange().getMutableMap().remove(key); + public Builder removeUsageWithinTimeRange( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableUsageWithinTimeRange().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated public java.util.Map getMutableUsageWithinTimeRange() { @@ -1271,8 +1110,6 @@ public Builder removeUsageWithinTimeRange(java.lang.String key) { return internalGetMutableUsageWithinTimeRange().getMutableMap(); } /** - * - * *
      * Output only. BigQuery usage statistics over each of the predefined time
      * ranges.
@@ -1280,25 +1117,19 @@ public Builder removeUsageWithinTimeRange(java.lang.String key) {
      * Supported time ranges are `{"24H", "7D", "30D"}`.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder putUsageWithinTimeRange( - java.lang.String key, com.google.cloud.datacatalog.v1.UsageStats value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableUsageWithinTimeRange().getMutableMap().put(key, value); + java.lang.String key, + com.google.cloud.datacatalog.v1.UsageStats value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableUsageWithinTimeRange().getMutableMap() + .put(key, value); bitField0_ |= 0x00000002; return this; } /** - * - * *
      * Output only. BigQuery usage statistics over each of the predefined time
      * ranges.
@@ -1306,23 +1137,19 @@ public Builder putUsageWithinTimeRange(
      * Supported time ranges are `{"24H", "7D", "30D"}`.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder putAllUsageWithinTimeRange( java.util.Map values) { - internalGetMutableUsageWithinTimeRange().getMutableMap().putAll(values); + internalGetMutableUsageWithinTimeRange().getMutableMap() + .putAll(values); bitField0_ |= 0x00000002; return this; } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1.CommonUsageStats> - commonUsageWithinTimeRange_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1.CommonUsageStats> + java.lang.String, com.google.cloud.datacatalog.v1.CommonUsageStats> commonUsageWithinTimeRange_; + private com.google.protobuf.MapField internalGetCommonUsageWithinTimeRange() { if (commonUsageWithinTimeRange_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -1330,14 +1157,11 @@ public Builder putAllUsageWithinTimeRange( } return commonUsageWithinTimeRange_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1.CommonUsageStats> + private com.google.protobuf.MapField internalGetMutableCommonUsageWithinTimeRange() { if (commonUsageWithinTimeRange_ == null) { - commonUsageWithinTimeRange_ = - com.google.protobuf.MapField.newMapField( - CommonUsageWithinTimeRangeDefaultEntryHolder.defaultEntry); + commonUsageWithinTimeRange_ = com.google.protobuf.MapField.newMapField( + CommonUsageWithinTimeRangeDefaultEntryHolder.defaultEntry); } if (!commonUsageWithinTimeRange_.isMutable()) { commonUsageWithinTimeRange_ = commonUsageWithinTimeRange_.copy(); @@ -1346,100 +1170,78 @@ public Builder putAllUsageWithinTimeRange( onChanged(); return commonUsageWithinTimeRange_; } - public int getCommonUsageWithinTimeRangeCount() { return internalGetCommonUsageWithinTimeRange().getMap().size(); } /** - * - * *
      * Common usage statistics over each of the predefined time ranges.
      *
      * Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; - * + * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; */ @java.lang.Override - public boolean containsCommonUsageWithinTimeRange(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsCommonUsageWithinTimeRange( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetCommonUsageWithinTimeRange().getMap().containsKey(key); } - /** Use {@link #getCommonUsageWithinTimeRangeMap()} instead. */ + /** + * Use {@link #getCommonUsageWithinTimeRangeMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getCommonUsageWithinTimeRange() { + public java.util.Map getCommonUsageWithinTimeRange() { return getCommonUsageWithinTimeRangeMap(); } /** - * - * *
      * Common usage statistics over each of the predefined time ranges.
      *
      * Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; - * + * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; */ @java.lang.Override - public java.util.Map - getCommonUsageWithinTimeRangeMap() { + public java.util.Map getCommonUsageWithinTimeRangeMap() { return internalGetCommonUsageWithinTimeRange().getMap(); } /** - * - * *
      * Common usage statistics over each of the predefined time ranges.
      *
      * Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; - * + * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; */ @java.lang.Override - public /* nullable */ com.google.cloud.datacatalog.v1.CommonUsageStats - getCommonUsageWithinTimeRangeOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.datacatalog.v1.CommonUsageStats defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + public /* nullable */ +com.google.cloud.datacatalog.v1.CommonUsageStats getCommonUsageWithinTimeRangeOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.datacatalog.v1.CommonUsageStats defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCommonUsageWithinTimeRange().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Common usage statistics over each of the predefined time ranges.
      *
      * Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; - * + * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; */ @java.lang.Override public com.google.cloud.datacatalog.v1.CommonUsageStats getCommonUsageWithinTimeRangeOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCommonUsageWithinTimeRange().getMap(); if (!map.containsKey(key)) { @@ -1447,33 +1249,31 @@ public com.google.cloud.datacatalog.v1.CommonUsageStats getCommonUsageWithinTime } return map.get(key); } - public Builder clearCommonUsageWithinTimeRange() { bitField0_ = (bitField0_ & ~0x00000004); - internalGetMutableCommonUsageWithinTimeRange().getMutableMap().clear(); + internalGetMutableCommonUsageWithinTimeRange().getMutableMap() + .clear(); return this; } /** - * - * *
      * Common usage statistics over each of the predefined time ranges.
      *
      * Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; - * + * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; */ - public Builder removeCommonUsageWithinTimeRange(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableCommonUsageWithinTimeRange().getMutableMap().remove(key); + public Builder removeCommonUsageWithinTimeRange( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableCommonUsageWithinTimeRange().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated public java.util.Map getMutableCommonUsageWithinTimeRange() { @@ -1481,60 +1281,48 @@ public Builder removeCommonUsageWithinTimeRange(java.lang.String key) { return internalGetMutableCommonUsageWithinTimeRange().getMutableMap(); } /** - * - * *
      * Common usage statistics over each of the predefined time ranges.
      *
      * Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; - * + * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; */ public Builder putCommonUsageWithinTimeRange( - java.lang.String key, com.google.cloud.datacatalog.v1.CommonUsageStats value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableCommonUsageWithinTimeRange().getMutableMap().put(key, value); + java.lang.String key, + com.google.cloud.datacatalog.v1.CommonUsageStats value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableCommonUsageWithinTimeRange().getMutableMap() + .put(key, value); bitField0_ |= 0x00000004; return this; } /** - * - * *
      * Common usage statistics over each of the predefined time ranges.
      *
      * Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; - * + * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; */ public Builder putAllCommonUsageWithinTimeRange( java.util.Map values) { - internalGetMutableCommonUsageWithinTimeRange().getMutableMap().putAll(values); + internalGetMutableCommonUsageWithinTimeRange().getMutableMap() + .putAll(values); bitField0_ |= 0x00000004; return this; } - private long favoriteCount_; + private long favoriteCount_ ; /** - * - * *
      * Favorite count in the source system.
      * 
* * optional int64 favorite_count = 4; - * * @return Whether the favoriteCount field is set. */ @java.lang.Override @@ -1542,14 +1330,11 @@ public boolean hasFavoriteCount() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Favorite count in the source system.
      * 
* * optional int64 favorite_count = 4; - * * @return The favoriteCount. */ @java.lang.Override @@ -1557,14 +1342,11 @@ public long getFavoriteCount() { return favoriteCount_; } /** - * - * *
      * Favorite count in the source system.
      * 
* * optional int64 favorite_count = 4; - * * @param value The favoriteCount to set. * @return This builder for chaining. */ @@ -1576,14 +1358,11 @@ public Builder setFavoriteCount(long value) { return this; } /** - * - * *
      * Favorite count in the source system.
      * 
* * optional int64 favorite_count = 4; - * * @return This builder for chaining. */ public Builder clearFavoriteCount() { @@ -1592,9 +1371,9 @@ public Builder clearFavoriteCount() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1604,12 +1383,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.UsageSignal) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.UsageSignal) private static final com.google.cloud.datacatalog.v1.UsageSignal DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.UsageSignal(); } @@ -1618,27 +1397,27 @@ public static com.google.cloud.datacatalog.v1.UsageSignal getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UsageSignal parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UsageSignal parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1653,4 +1432,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.UsageSignal getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignalOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignalOrBuilder.java similarity index 57% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignalOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignalOrBuilder.java index 6b64b3163ac6..15f46c01179a 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignalOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignalOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/usage.proto package com.google.cloud.datacatalog.v1; -public interface UsageSignalOrBuilder - extends +public interface UsageSignalOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.UsageSignal) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The end timestamp of the duration of usage statistics.
    * 
* * .google.protobuf.Timestamp update_time = 1; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The end timestamp of the duration of usage statistics.
    * 
* * .google.protobuf.Timestamp update_time = 1; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The end timestamp of the duration of usage statistics.
    * 
@@ -59,8 +35,6 @@ public interface UsageSignalOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. BigQuery usage statistics over each of the predefined time
    * ranges.
@@ -68,14 +42,10 @@ public interface UsageSignalOrBuilder
    * Supported time ranges are `{"24H", "7D", "30D"}`.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getUsageWithinTimeRangeCount(); /** - * - * *
    * Output only. BigQuery usage statistics over each of the predefined time
    * ranges.
@@ -83,18 +53,17 @@ public interface UsageSignalOrBuilder
    * Supported time ranges are `{"24H", "7D", "30D"}`.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + boolean containsUsageWithinTimeRange( + java.lang.String key); + /** + * Use {@link #getUsageWithinTimeRangeMap()} instead. */ - boolean containsUsageWithinTimeRange(java.lang.String key); - /** Use {@link #getUsageWithinTimeRangeMap()} instead. */ @java.lang.Deprecated java.util.Map - getUsageWithinTimeRange(); + getUsageWithinTimeRange(); /** - * - * *
    * Output only. BigQuery usage statistics over each of the predefined time
    * ranges.
@@ -102,15 +71,11 @@ public interface UsageSignalOrBuilder
    * Supported time ranges are `{"24H", "7D", "30D"}`.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ java.util.Map - getUsageWithinTimeRangeMap(); + getUsageWithinTimeRangeMap(); /** - * - * *
    * Output only. BigQuery usage statistics over each of the predefined time
    * ranges.
@@ -118,18 +83,14 @@ public interface UsageSignalOrBuilder
    * Supported time ranges are `{"24H", "7D", "30D"}`.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ /* nullable */ - com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrDefault( +com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.datacatalog.v1.UsageStats defaultValue); +com.google.cloud.datacatalog.v1.UsageStats defaultValue); /** - * - * *
    * Output only. BigQuery usage statistics over each of the predefined time
    * ranges.
@@ -137,114 +98,90 @@ com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrDefault(
    * Supported time ranges are `{"24H", "7D", "30D"}`.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrThrow(java.lang.String key); + com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrThrow( + java.lang.String key); /** - * - * *
    * Common usage statistics over each of the predefined time ranges.
    *
    * Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; - * + * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; */ int getCommonUsageWithinTimeRangeCount(); /** - * - * *
    * Common usage statistics over each of the predefined time ranges.
    *
    * Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; - * + * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; + */ + boolean containsCommonUsageWithinTimeRange( + java.lang.String key); + /** + * Use {@link #getCommonUsageWithinTimeRangeMap()} instead. */ - boolean containsCommonUsageWithinTimeRange(java.lang.String key); - /** Use {@link #getCommonUsageWithinTimeRangeMap()} instead. */ @java.lang.Deprecated java.util.Map - getCommonUsageWithinTimeRange(); + getCommonUsageWithinTimeRange(); /** - * - * *
    * Common usage statistics over each of the predefined time ranges.
    *
    * Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; - * + * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; */ java.util.Map - getCommonUsageWithinTimeRangeMap(); + getCommonUsageWithinTimeRangeMap(); /** - * - * *
    * Common usage statistics over each of the predefined time ranges.
    *
    * Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; - * + * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; */ /* nullable */ - com.google.cloud.datacatalog.v1.CommonUsageStats getCommonUsageWithinTimeRangeOrDefault( +com.google.cloud.datacatalog.v1.CommonUsageStats getCommonUsageWithinTimeRangeOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.datacatalog.v1.CommonUsageStats defaultValue); +com.google.cloud.datacatalog.v1.CommonUsageStats defaultValue); /** - * - * *
    * Common usage statistics over each of the predefined time ranges.
    *
    * Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; - * + * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; */ com.google.cloud.datacatalog.v1.CommonUsageStats getCommonUsageWithinTimeRangeOrThrow( java.lang.String key); /** - * - * *
    * Favorite count in the source system.
    * 
* * optional int64 favorite_count = 4; - * * @return Whether the favoriteCount field is set. */ boolean hasFavoriteCount(); /** - * - * *
    * Favorite count in the source system.
    * 
* * optional int64 favorite_count = 4; - * * @return The favoriteCount. */ long getFavoriteCount(); diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStats.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStats.java similarity index 69% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStats.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStats.java index 22ee52e4cc73..a790af616f27 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStats.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStats.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/usage.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Detailed statistics on the entry's usage.
  *
@@ -36,50 +19,46 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.UsageStats}
  */
-public final class UsageStats extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UsageStats extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.UsageStats)
     UsageStatsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UsageStats.newBuilder() to construct.
   private UsageStats(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UsageStats() {}
+  private UsageStats() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UsageStats();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Usage
-        .internal_static_google_cloud_datacatalog_v1_UsageStats_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_UsageStats_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Usage
-        .internal_static_google_cloud_datacatalog_v1_UsageStats_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_UsageStats_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.UsageStats.class,
-            com.google.cloud.datacatalog.v1.UsageStats.Builder.class);
+            com.google.cloud.datacatalog.v1.UsageStats.class, com.google.cloud.datacatalog.v1.UsageStats.Builder.class);
   }
 
   public static final int TOTAL_COMPLETIONS_FIELD_NUMBER = 1;
   private float totalCompletions_ = 0F;
   /**
-   *
-   *
    * 
    * The number of successful uses of the underlying entry.
    * 
* * float total_completions = 1; - * * @return The totalCompletions. */ @java.lang.Override @@ -90,14 +69,11 @@ public float getTotalCompletions() { public static final int TOTAL_FAILURES_FIELD_NUMBER = 2; private float totalFailures_ = 0F; /** - * - * *
    * The number of failed attempts to use the underlying entry.
    * 
* * float total_failures = 2; - * * @return The totalFailures. */ @java.lang.Override @@ -108,14 +84,11 @@ public float getTotalFailures() { public static final int TOTAL_CANCELLATIONS_FIELD_NUMBER = 3; private float totalCancellations_ = 0F; /** - * - * *
    * The number of cancelled attempts to use the underlying entry.
    * 
* * float total_cancellations = 3; - * * @return The totalCancellations. */ @java.lang.Override @@ -126,14 +99,11 @@ public float getTotalCancellations() { public static final int TOTAL_EXECUTION_TIME_FOR_COMPLETIONS_MILLIS_FIELD_NUMBER = 4; private float totalExecutionTimeForCompletionsMillis_ = 0F; /** - * - * *
    * Total time spent only on successful uses, in milliseconds.
    * 
* * float total_execution_time_for_completions_millis = 4; - * * @return The totalExecutionTimeForCompletionsMillis. */ @java.lang.Override @@ -142,7 +112,6 @@ public float getTotalExecutionTimeForCompletionsMillis() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,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 (java.lang.Float.floatToRawIntBits(totalCompletions_) != 0) { output.writeFloat(1, totalCompletions_); } @@ -177,18 +147,20 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(totalCompletions_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, totalCompletions_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, totalCompletions_); } if (java.lang.Float.floatToRawIntBits(totalFailures_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, totalFailures_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, totalFailures_); } if (java.lang.Float.floatToRawIntBits(totalCancellations_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, totalCancellations_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(3, totalCancellations_); } if (java.lang.Float.floatToRawIntBits(totalExecutionTimeForCompletionsMillis_) != 0) { - size += - com.google.protobuf.CodedOutputStream.computeFloatSize( - 4, totalExecutionTimeForCompletionsMillis_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(4, totalExecutionTimeForCompletionsMillis_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -198,23 +170,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.datacatalog.v1.UsageStats)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.UsageStats other = - (com.google.cloud.datacatalog.v1.UsageStats) obj; + com.google.cloud.datacatalog.v1.UsageStats other = (com.google.cloud.datacatalog.v1.UsageStats) obj; if (java.lang.Float.floatToIntBits(getTotalCompletions()) - != java.lang.Float.floatToIntBits(other.getTotalCompletions())) return false; + != java.lang.Float.floatToIntBits( + other.getTotalCompletions())) return false; if (java.lang.Float.floatToIntBits(getTotalFailures()) - != java.lang.Float.floatToIntBits(other.getTotalFailures())) return false; + != java.lang.Float.floatToIntBits( + other.getTotalFailures())) return false; if (java.lang.Float.floatToIntBits(getTotalCancellations()) - != java.lang.Float.floatToIntBits(other.getTotalCancellations())) return false; + != java.lang.Float.floatToIntBits( + other.getTotalCancellations())) return false; if (java.lang.Float.floatToIntBits(getTotalExecutionTimeForCompletionsMillis()) - != java.lang.Float.floatToIntBits(other.getTotalExecutionTimeForCompletionsMillis())) - return false; + != java.lang.Float.floatToIntBits( + other.getTotalExecutionTimeForCompletionsMillis())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -227,117 +201,115 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TOTAL_COMPLETIONS_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getTotalCompletions()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getTotalCompletions()); hash = (37 * hash) + TOTAL_FAILURES_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getTotalFailures()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getTotalFailures()); hash = (37 * hash) + TOTAL_CANCELLATIONS_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getTotalCancellations()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getTotalCancellations()); hash = (37 * hash) + TOTAL_EXECUTION_TIME_FOR_COMPLETIONS_MILLIS_FIELD_NUMBER; - hash = - (53 * hash) + java.lang.Float.floatToIntBits(getTotalExecutionTimeForCompletionsMillis()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getTotalExecutionTimeForCompletionsMillis()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.datacatalog.v1.UsageStats parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.UsageStats parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.UsageStats parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.UsageStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.UsageStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.UsageStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.UsageStats parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.UsageStats parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.UsageStats parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.UsageStats parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.UsageStats parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.UsageStats parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.UsageStats parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.UsageStats parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.UsageStats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Detailed statistics on the entry's usage.
    *
@@ -353,32 +325,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.UsageStats}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.UsageStats)
       com.google.cloud.datacatalog.v1.UsageStatsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Usage
-          .internal_static_google_cloud_datacatalog_v1_UsageStats_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_UsageStats_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Usage
-          .internal_static_google_cloud_datacatalog_v1_UsageStats_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_UsageStats_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.UsageStats.class,
-              com.google.cloud.datacatalog.v1.UsageStats.Builder.class);
+              com.google.cloud.datacatalog.v1.UsageStats.class, com.google.cloud.datacatalog.v1.UsageStats.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.UsageStats.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -391,9 +364,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Usage
-          .internal_static_google_cloud_datacatalog_v1_UsageStats_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_UsageStats_descriptor;
     }
 
     @java.lang.Override
@@ -412,11 +385,8 @@ public com.google.cloud.datacatalog.v1.UsageStats build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.UsageStats buildPartial() {
-      com.google.cloud.datacatalog.v1.UsageStats result =
-          new com.google.cloud.datacatalog.v1.UsageStats(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1.UsageStats result = new com.google.cloud.datacatalog.v1.UsageStats(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -441,39 +411,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.UsageStats result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.UsageStats) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.UsageStats) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.UsageStats)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -492,8 +461,7 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.UsageStats other) {
         setTotalCancellations(other.getTotalCancellations());
       }
       if (other.getTotalExecutionTimeForCompletionsMillis() != 0F) {
-        setTotalExecutionTimeForCompletionsMillis(
-            other.getTotalExecutionTimeForCompletionsMillis());
+        setTotalExecutionTimeForCompletionsMillis(other.getTotalExecutionTimeForCompletionsMillis());
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -521,37 +489,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 13:
-              {
-                totalCompletions_ = input.readFloat();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 13
-            case 21:
-              {
-                totalFailures_ = input.readFloat();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 21
-            case 29:
-              {
-                totalCancellations_ = input.readFloat();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 29
-            case 37:
-              {
-                totalExecutionTimeForCompletionsMillis_ = input.readFloat();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 37
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 13: {
+              totalCompletions_ = input.readFloat();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 13
+            case 21: {
+              totalFailures_ = input.readFloat();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 21
+            case 29: {
+              totalCancellations_ = input.readFloat();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 29
+            case 37: {
+              totalExecutionTimeForCompletionsMillis_ = input.readFloat();
+              bitField0_ |= 0x00000008;
+              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) {
@@ -561,19 +524,15 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private float totalCompletions_;
+    private float totalCompletions_ ;
     /**
-     *
-     *
      * 
      * The number of successful uses of the underlying entry.
      * 
* * float total_completions = 1; - * * @return The totalCompletions. */ @java.lang.Override @@ -581,14 +540,11 @@ public float getTotalCompletions() { return totalCompletions_; } /** - * - * *
      * The number of successful uses of the underlying entry.
      * 
* * float total_completions = 1; - * * @param value The totalCompletions to set. * @return This builder for chaining. */ @@ -600,14 +556,11 @@ public Builder setTotalCompletions(float value) { return this; } /** - * - * *
      * The number of successful uses of the underlying entry.
      * 
* * float total_completions = 1; - * * @return This builder for chaining. */ public Builder clearTotalCompletions() { @@ -617,16 +570,13 @@ public Builder clearTotalCompletions() { return this; } - private float totalFailures_; + private float totalFailures_ ; /** - * - * *
      * The number of failed attempts to use the underlying entry.
      * 
* * float total_failures = 2; - * * @return The totalFailures. */ @java.lang.Override @@ -634,14 +584,11 @@ public float getTotalFailures() { return totalFailures_; } /** - * - * *
      * The number of failed attempts to use the underlying entry.
      * 
* * float total_failures = 2; - * * @param value The totalFailures to set. * @return This builder for chaining. */ @@ -653,14 +600,11 @@ public Builder setTotalFailures(float value) { return this; } /** - * - * *
      * The number of failed attempts to use the underlying entry.
      * 
* * float total_failures = 2; - * * @return This builder for chaining. */ public Builder clearTotalFailures() { @@ -670,16 +614,13 @@ public Builder clearTotalFailures() { return this; } - private float totalCancellations_; + private float totalCancellations_ ; /** - * - * *
      * The number of cancelled attempts to use the underlying entry.
      * 
* * float total_cancellations = 3; - * * @return The totalCancellations. */ @java.lang.Override @@ -687,14 +628,11 @@ public float getTotalCancellations() { return totalCancellations_; } /** - * - * *
      * The number of cancelled attempts to use the underlying entry.
      * 
* * float total_cancellations = 3; - * * @param value The totalCancellations to set. * @return This builder for chaining. */ @@ -706,14 +644,11 @@ public Builder setTotalCancellations(float value) { return this; } /** - * - * *
      * The number of cancelled attempts to use the underlying entry.
      * 
* * float total_cancellations = 3; - * * @return This builder for chaining. */ public Builder clearTotalCancellations() { @@ -723,16 +658,13 @@ public Builder clearTotalCancellations() { return this; } - private float totalExecutionTimeForCompletionsMillis_; + private float totalExecutionTimeForCompletionsMillis_ ; /** - * - * *
      * Total time spent only on successful uses, in milliseconds.
      * 
* * float total_execution_time_for_completions_millis = 4; - * * @return The totalExecutionTimeForCompletionsMillis. */ @java.lang.Override @@ -740,14 +672,11 @@ public float getTotalExecutionTimeForCompletionsMillis() { return totalExecutionTimeForCompletionsMillis_; } /** - * - * *
      * Total time spent only on successful uses, in milliseconds.
      * 
* * float total_execution_time_for_completions_millis = 4; - * * @param value The totalExecutionTimeForCompletionsMillis to set. * @return This builder for chaining. */ @@ -759,14 +688,11 @@ public Builder setTotalExecutionTimeForCompletionsMillis(float value) { return this; } /** - * - * *
      * Total time spent only on successful uses, in milliseconds.
      * 
* * float total_execution_time_for_completions_millis = 4; - * * @return This builder for chaining. */ public Builder clearTotalExecutionTimeForCompletionsMillis() { @@ -775,9 +701,9 @@ public Builder clearTotalExecutionTimeForCompletionsMillis() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -787,12 +713,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.UsageStats) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.UsageStats) private static final com.google.cloud.datacatalog.v1.UsageStats DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.UsageStats(); } @@ -801,27 +727,27 @@ public static com.google.cloud.datacatalog.v1.UsageStats getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UsageStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UsageStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -836,4 +762,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.UsageStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStatsOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStatsOrBuilder.java similarity index 63% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStatsOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStatsOrBuilder.java index 4efe538e3bf1..ed9aaeead2eb 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStatsOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStatsOrBuilder.java @@ -1,76 +1,48 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/usage.proto package com.google.cloud.datacatalog.v1; -public interface UsageStatsOrBuilder - extends +public interface UsageStatsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.UsageStats) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The number of successful uses of the underlying entry.
    * 
* * float total_completions = 1; - * * @return The totalCompletions. */ float getTotalCompletions(); /** - * - * *
    * The number of failed attempts to use the underlying entry.
    * 
* * float total_failures = 2; - * * @return The totalFailures. */ float getTotalFailures(); /** - * - * *
    * The number of cancelled attempts to use the underlying entry.
    * 
* * float total_cancellations = 3; - * * @return The totalCancellations. */ float getTotalCancellations(); /** - * - * *
    * Total time spent only on successful uses, in milliseconds.
    * 
* * float total_execution_time_for_completions_millis = 4; - * * @return The totalExecutionTimeForCompletionsMillis. */ float getTotalExecutionTimeForCompletionsMillis(); diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpec.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpec.java similarity index 66% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpec.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpec.java index d3b5035e7c28..de6d5db0945f 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpec.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpec.java @@ -1,80 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/table_spec.proto package com.google.cloud.datacatalog.v1; /** - * - * *
  * Table view specification.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.ViewSpec} */ -public final class ViewSpec extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ViewSpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ViewSpec) ViewSpecOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ViewSpec.newBuilder() to construct. private ViewSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ViewSpec() { viewQuery_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ViewSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.TableSpecOuterClass - .internal_static_google_cloud_datacatalog_v1_ViewSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_ViewSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.TableSpecOuterClass - .internal_static_google_cloud_datacatalog_v1_ViewSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_ViewSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.ViewSpec.class, - com.google.cloud.datacatalog.v1.ViewSpec.Builder.class); + com.google.cloud.datacatalog.v1.ViewSpec.class, com.google.cloud.datacatalog.v1.ViewSpec.Builder.class); } public static final int VIEW_QUERY_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object viewQuery_ = ""; /** - * - * *
    * Output only. The query that defines the table view.
    * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The viewQuery. */ @java.lang.Override @@ -83,29 +60,29 @@ public java.lang.String getViewQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); viewQuery_ = s; return s; } } /** - * - * *
    * Output only. The query that defines the table view.
    * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for viewQuery. */ @java.lang.Override - public com.google.protobuf.ByteString getViewQueryBytes() { + public com.google.protobuf.ByteString + getViewQueryBytes() { java.lang.Object ref = viewQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); viewQuery_ = b; return b; } else { @@ -114,7 +91,6 @@ public com.google.protobuf.ByteString getViewQueryBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,7 +102,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(viewQuery_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, viewQuery_); } @@ -150,14 +127,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.ViewSpec)) { return super.equals(obj); } com.google.cloud.datacatalog.v1.ViewSpec other = (com.google.cloud.datacatalog.v1.ViewSpec) obj; - if (!getViewQuery().equals(other.getViewQuery())) return false; + if (!getViewQuery() + .equals(other.getViewQuery())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -176,136 +154,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.ViewSpec parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.ViewSpec parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ViewSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ViewSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ViewSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ViewSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.ViewSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ViewSpec parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ViewSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ViewSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ViewSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ViewSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ViewSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.ViewSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.ViewSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Table view specification.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.ViewSpec} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ViewSpec) com.google.cloud.datacatalog.v1.ViewSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1.TableSpecOuterClass - .internal_static_google_cloud_datacatalog_v1_ViewSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_ViewSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.TableSpecOuterClass - .internal_static_google_cloud_datacatalog_v1_ViewSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_ViewSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.ViewSpec.class, - com.google.cloud.datacatalog.v1.ViewSpec.Builder.class); + com.google.cloud.datacatalog.v1.ViewSpec.class, com.google.cloud.datacatalog.v1.ViewSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.ViewSpec.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -315,9 +289,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1.TableSpecOuterClass - .internal_static_google_cloud_datacatalog_v1_ViewSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_ViewSpec_descriptor; } @java.lang.Override @@ -336,11 +310,8 @@ public com.google.cloud.datacatalog.v1.ViewSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1.ViewSpec buildPartial() { - com.google.cloud.datacatalog.v1.ViewSpec result = - new com.google.cloud.datacatalog.v1.ViewSpec(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1.ViewSpec result = new com.google.cloud.datacatalog.v1.ViewSpec(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -356,39 +327,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ViewSpec result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.ViewSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1.ViewSpec) other); + return mergeFrom((com.google.cloud.datacatalog.v1.ViewSpec)other); } else { super.mergeFrom(other); return this; @@ -428,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - viewQuery_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + viewQuery_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -450,25 +418,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object viewQuery_ = ""; /** - * - * *
      * Output only. The query that defines the table view.
      * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The viewQuery. */ public java.lang.String getViewQuery() { java.lang.Object ref = viewQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); viewQuery_ = s; return s; @@ -477,21 +442,20 @@ public java.lang.String getViewQuery() { } } /** - * - * *
      * Output only. The query that defines the table view.
      * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for viewQuery. */ - public com.google.protobuf.ByteString getViewQueryBytes() { + public com.google.protobuf.ByteString + getViewQueryBytes() { java.lang.Object ref = viewQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); viewQuery_ = b; return b; } else { @@ -499,35 +463,28 @@ public com.google.protobuf.ByteString getViewQueryBytes() { } } /** - * - * *
      * Output only. The query that defines the table view.
      * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The viewQuery to set. * @return This builder for chaining. */ - public Builder setViewQuery(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setViewQuery( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } viewQuery_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The query that defines the table view.
      * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearViewQuery() { @@ -537,30 +494,26 @@ public Builder clearViewQuery() { return this; } /** - * - * *
      * Output only. The query that defines the table view.
      * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for viewQuery to set. * @return This builder for chaining. */ - public Builder setViewQueryBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setViewQueryBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); viewQuery_ = 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); } @@ -570,12 +523,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ViewSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ViewSpec) private static final com.google.cloud.datacatalog.v1.ViewSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ViewSpec(); } @@ -584,27 +537,27 @@ public static com.google.cloud.datacatalog.v1.ViewSpec getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ViewSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ViewSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -619,4 +572,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ViewSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpecOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpecOrBuilder.java similarity index 51% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpecOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpecOrBuilder.java index 7af36b73a265..3a0e8b2640ee 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpecOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpecOrBuilder.java @@ -1,50 +1,29 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/table_spec.proto package com.google.cloud.datacatalog.v1; -public interface ViewSpecOrBuilder - extends +public interface ViewSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ViewSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The query that defines the table view.
    * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The viewQuery. */ java.lang.String getViewQuery(); /** - * - * *
    * Output only. The query that defines the table view.
    * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for viewQuery. */ - com.google.protobuf.ByteString getViewQueryBytes(); + com.google.protobuf.ByteString + getViewQueryBytes(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/bigquery.proto b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/bigquery.proto similarity index 100% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/bigquery.proto rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/bigquery.proto diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/common.proto b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/common.proto similarity index 100% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/common.proto rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/common.proto diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/data_source.proto b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/data_source.proto similarity index 100% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/data_source.proto rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/data_source.proto diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto similarity index 98% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto index 34957c4cd0e1..242f980a2c2a 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto +++ b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto @@ -700,7 +700,7 @@ message SearchCatalogRequest { // * `description:z` string query = 1 [(google.api.field_behavior) = OPTIONAL]; - // Number of results to return in a single search page. + // Upper bound on the number of results you can get in a single response. // // Can't be negative or 0, defaults to 10 in this case. // The maximum number is 1000. If exceeded, throws an "invalid argument" @@ -725,6 +725,13 @@ message SearchCatalogRequest { // * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default // * `default` that can only be descending // + // Search queries don't guarantee full recall. Results that match your query + // might not be returned, even in subsequent result pages. Additionally, + // returned (and not returned) results can vary if you repeat search queries. + // If you are experiencing recall issues and you don't have to fetch the + // results in any specific order, consider setting this parameter to + // `default`. + // // If this parameter is omitted, it defaults to the descending `relevance`. string order_by = 5; } @@ -1063,10 +1070,8 @@ message Entry { // Required. Entry type. oneof entry_type { // The type of the entry. - // Only used for entries with types listed in the `EntryType` enum. // - // Currently, only `FILESET` enum value is allowed. All other entries - // created in Data Catalog must use the `user_specified_type`. + // For details, see [`EntryType`](#entrytype). EntryType type = 2; // Custom entry type that doesn't match any of the values allowed for input @@ -2030,8 +2035,18 @@ message ModifyEntryContactsRequest { Contacts contacts = 2 [(google.api.field_behavior) = REQUIRED]; } -// The enum field that lists all the types of entry resources in Data -// Catalog. For example, a BigQuery table entry has the `TABLE` type. +// Metadata automatically ingested from Google Cloud resources like BigQuery +// tables or Pub/Sub topics always uses enum values from `EntryType` as the type +// of entry. +// +// Other sources of metadata like Hive or Oracle databases can identify the type +// by either using one of the enum values from `EntryType` (for example, +// `FILESET` for a Cloud Storage fileset) or specifying a custom value using +// the [`Entry`](#resource:-entry) field `user_specified_type`. For more +// information, see +// [Surface files from Cloud Storage with fileset +// entries](/data-catalog/docs/how-to/filesets) or [Create custom entries for +// your data sources](/data-catalog/docs/how-to/custom-entries). enum EntryType { // Default unknown type. ENTRY_TYPE_UNSPECIFIED = 0; @@ -2040,10 +2055,10 @@ enum EntryType { // logical views. TABLE = 2; - // Output only. The type of models. + // The type of models. // - // For more information, see [Supported models in BigQuery ML] - // (https://cloud.google.com/bigquery-ml/docs/introduction#supported_models_in). + // For more information, see [Supported models in BigQuery + // ML](/bigquery/docs/bqml-introduction#supported_models). MODEL = 5; // An entry type for streaming entries. For example, a Pub/Sub topic. @@ -2059,11 +2074,11 @@ enum EntryType { // A database. DATABASE = 7; - // Output only. Connection to a data source. For example, a BigQuery + // Connection to a data source. For example, a BigQuery // connection. DATA_SOURCE_CONNECTION = 8; - // Output only. Routine, for example, a BigQuery routine. + // Routine, for example, a BigQuery routine. ROUTINE = 9; // A Dataplex lake. diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/dataplex_spec.proto b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/dataplex_spec.proto similarity index 100% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/dataplex_spec.proto rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/dataplex_spec.proto diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/dump_content.proto b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/dump_content.proto similarity index 100% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/dump_content.proto rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/dump_content.proto diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/gcs_fileset_spec.proto b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/gcs_fileset_spec.proto similarity index 100% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/gcs_fileset_spec.proto rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/gcs_fileset_spec.proto diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/physical_schema.proto b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/physical_schema.proto similarity index 100% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/physical_schema.proto rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/physical_schema.proto diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanager.proto b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanager.proto similarity index 100% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanager.proto rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanager.proto diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanagerserialization.proto b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanagerserialization.proto similarity index 100% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanagerserialization.proto rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanagerserialization.proto diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/schema.proto b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/schema.proto similarity index 100% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/schema.proto rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/schema.proto diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/search.proto b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/search.proto similarity index 100% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/search.proto rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/search.proto diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/table_spec.proto b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/table_spec.proto similarity index 100% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/table_spec.proto rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/table_spec.proto diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/tags.proto b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/tags.proto similarity index 100% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/tags.proto rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/tags.proto diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/timestamps.proto b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/timestamps.proto similarity index 100% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/timestamps.proto rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/timestamps.proto diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/usage.proto b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/usage.proto similarity index 100% rename from java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/usage.proto rename to owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/usage.proto diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/create/SyncCreateSetCredentialsProvider.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/create/SyncCreateSetEndpoint.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/AsyncCreateEntry.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/AsyncCreateEntry.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/AsyncCreateEntry.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/AsyncCreateEntry.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/SyncCreateEntry.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/SyncCreateEntry.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/SyncCreateEntry.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/SyncCreateEntry.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/SyncCreateEntryEntrygroupnameStringEntry.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/SyncCreateEntryEntrygroupnameStringEntry.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/SyncCreateEntryEntrygroupnameStringEntry.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/SyncCreateEntryEntrygroupnameStringEntry.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/SyncCreateEntryStringStringEntry.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/SyncCreateEntryStringStringEntry.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/SyncCreateEntryStringStringEntry.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/SyncCreateEntryStringStringEntry.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/AsyncCreateEntryGroup.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/AsyncCreateEntryGroup.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/AsyncCreateEntryGroup.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/AsyncCreateEntryGroup.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/SyncCreateEntryGroup.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/SyncCreateEntryGroup.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/SyncCreateEntryGroup.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/SyncCreateEntryGroup.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/SyncCreateEntryGroupLocationnameStringEntrygroup.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/SyncCreateEntryGroupLocationnameStringEntrygroup.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/SyncCreateEntryGroupLocationnameStringEntrygroup.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/SyncCreateEntryGroupLocationnameStringEntrygroup.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/SyncCreateEntryGroupStringStringEntrygroup.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/SyncCreateEntryGroupStringStringEntrygroup.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/SyncCreateEntryGroupStringStringEntrygroup.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/SyncCreateEntryGroupStringStringEntrygroup.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/AsyncCreateTag.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/AsyncCreateTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/AsyncCreateTag.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/AsyncCreateTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/SyncCreateTag.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/SyncCreateTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/SyncCreateTag.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/SyncCreateTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/SyncCreateTagEntrynameTag.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/SyncCreateTagEntrynameTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/SyncCreateTagEntrynameTag.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/SyncCreateTagEntrynameTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/SyncCreateTagStringTag.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/SyncCreateTagStringTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/SyncCreateTagStringTag.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/SyncCreateTagStringTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/AsyncCreateTagTemplate.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/AsyncCreateTagTemplate.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/AsyncCreateTagTemplate.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/AsyncCreateTagTemplate.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/SyncCreateTagTemplate.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/SyncCreateTagTemplate.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/SyncCreateTagTemplate.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/SyncCreateTagTemplate.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/SyncCreateTagTemplateLocationnameStringTagtemplate.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/SyncCreateTagTemplateLocationnameStringTagtemplate.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/SyncCreateTagTemplateLocationnameStringTagtemplate.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/SyncCreateTagTemplateLocationnameStringTagtemplate.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/SyncCreateTagTemplateStringStringTagtemplate.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/SyncCreateTagTemplateStringStringTagtemplate.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/SyncCreateTagTemplateStringStringTagtemplate.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/SyncCreateTagTemplateStringStringTagtemplate.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/AsyncCreateTagTemplateField.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/AsyncCreateTagTemplateField.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/AsyncCreateTagTemplateField.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/AsyncCreateTagTemplateField.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateField.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateField.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateField.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateField.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldStringStringTagtemplatefield.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldStringStringTagtemplatefield.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldStringStringTagtemplatefield.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldStringStringTagtemplatefield.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldTagtemplatenameStringTagtemplatefield.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldTagtemplatenameStringTagtemplatefield.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldTagtemplatenameStringTagtemplatefield.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldTagtemplatenameStringTagtemplatefield.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/AsyncDeleteEntry.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/AsyncDeleteEntry.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/AsyncDeleteEntry.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/AsyncDeleteEntry.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/SyncDeleteEntry.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/SyncDeleteEntry.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/SyncDeleteEntry.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/SyncDeleteEntry.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/SyncDeleteEntryEntryname.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/SyncDeleteEntryEntryname.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/SyncDeleteEntryEntryname.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/SyncDeleteEntryEntryname.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/SyncDeleteEntryString.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/SyncDeleteEntryString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/SyncDeleteEntryString.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/SyncDeleteEntryString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/AsyncDeleteEntryGroup.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/AsyncDeleteEntryGroup.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/AsyncDeleteEntryGroup.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/AsyncDeleteEntryGroup.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/SyncDeleteEntryGroup.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/SyncDeleteEntryGroup.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/SyncDeleteEntryGroup.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/SyncDeleteEntryGroup.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupEntrygroupname.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupEntrygroupname.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupEntrygroupname.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupEntrygroupname.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupString.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupString.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/AsyncDeleteTag.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/AsyncDeleteTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/AsyncDeleteTag.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/AsyncDeleteTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/SyncDeleteTag.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/SyncDeleteTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/SyncDeleteTag.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/SyncDeleteTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/SyncDeleteTagEntryname.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/SyncDeleteTagEntryname.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/SyncDeleteTagEntryname.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/SyncDeleteTagEntryname.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/SyncDeleteTagString.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/SyncDeleteTagString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/SyncDeleteTagString.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/SyncDeleteTagString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/AsyncDeleteTagTemplate.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/AsyncDeleteTagTemplate.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/AsyncDeleteTagTemplate.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/AsyncDeleteTagTemplate.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/SyncDeleteTagTemplate.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/SyncDeleteTagTemplate.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/SyncDeleteTagTemplate.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/SyncDeleteTagTemplate.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateStringBoolean.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateStringBoolean.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateStringBoolean.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateStringBoolean.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateTagtemplatenameBoolean.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateTagtemplatenameBoolean.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateTagtemplatenameBoolean.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateTagtemplatenameBoolean.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/AsyncDeleteTagTemplateField.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/AsyncDeleteTagTemplateField.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/AsyncDeleteTagTemplateField.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/AsyncDeleteTagTemplateField.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateField.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateField.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateField.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateField.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldStringBoolean.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldStringBoolean.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldStringBoolean.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldStringBoolean.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldTagtemplatefieldnameBoolean.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldTagtemplatefieldnameBoolean.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldTagtemplatefieldnameBoolean.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldTagtemplatefieldnameBoolean.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/AsyncGetEntry.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/AsyncGetEntry.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/AsyncGetEntry.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/AsyncGetEntry.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/SyncGetEntry.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/SyncGetEntry.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/SyncGetEntry.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/SyncGetEntry.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/SyncGetEntryEntryname.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/SyncGetEntryEntryname.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/SyncGetEntryEntryname.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/SyncGetEntryEntryname.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/SyncGetEntryString.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/SyncGetEntryString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/SyncGetEntryString.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/SyncGetEntryString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/AsyncGetEntryGroup.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/AsyncGetEntryGroup.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/AsyncGetEntryGroup.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/AsyncGetEntryGroup.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroup.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroup.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroup.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroup.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupname.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupname.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupname.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupname.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupnameFieldmask.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupnameFieldmask.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupnameFieldmask.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupnameFieldmask.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupString.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupString.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupStringFieldmask.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupStringFieldmask.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupStringFieldmask.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupStringFieldmask.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/AsyncGetIamPolicy.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/AsyncGetIamPolicy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/AsyncGetIamPolicy.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/AsyncGetIamPolicy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/SyncGetIamPolicy.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/SyncGetIamPolicy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/SyncGetIamPolicy.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/SyncGetIamPolicy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/SyncGetIamPolicyResourcename.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/SyncGetIamPolicyResourcename.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/SyncGetIamPolicyResourcename.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/SyncGetIamPolicyResourcename.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/SyncGetIamPolicyString.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/SyncGetIamPolicyString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/SyncGetIamPolicyString.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/SyncGetIamPolicyString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/AsyncGetTagTemplate.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/AsyncGetTagTemplate.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/AsyncGetTagTemplate.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/AsyncGetTagTemplate.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/SyncGetTagTemplate.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/SyncGetTagTemplate.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/SyncGetTagTemplate.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/SyncGetTagTemplate.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/SyncGetTagTemplateString.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/SyncGetTagTemplateString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/SyncGetTagTemplateString.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/SyncGetTagTemplateString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/SyncGetTagTemplateTagtemplatename.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/SyncGetTagTemplateTagtemplatename.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/SyncGetTagTemplateTagtemplatename.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/SyncGetTagTemplateTagtemplatename.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/importentries/AsyncImportEntries.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/importentries/AsyncImportEntries.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/importentries/AsyncImportEntries.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/importentries/AsyncImportEntries.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/importentries/AsyncImportEntriesLRO.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/importentries/AsyncImportEntriesLRO.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/importentries/AsyncImportEntriesLRO.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/importentries/AsyncImportEntriesLRO.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/importentries/SyncImportEntries.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/importentries/SyncImportEntries.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/importentries/SyncImportEntries.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/importentries/SyncImportEntries.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/AsyncListEntries.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/AsyncListEntries.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/AsyncListEntries.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/AsyncListEntries.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/AsyncListEntriesPaged.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/AsyncListEntriesPaged.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/AsyncListEntriesPaged.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/AsyncListEntriesPaged.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/SyncListEntries.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/SyncListEntries.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/SyncListEntries.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/SyncListEntries.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/SyncListEntriesEntrygroupname.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/SyncListEntriesEntrygroupname.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/SyncListEntriesEntrygroupname.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/SyncListEntriesEntrygroupname.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/SyncListEntriesString.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/SyncListEntriesString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/SyncListEntriesString.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/SyncListEntriesString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/AsyncListEntryGroups.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/AsyncListEntryGroups.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/AsyncListEntryGroups.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/AsyncListEntryGroups.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/AsyncListEntryGroupsPaged.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/AsyncListEntryGroupsPaged.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/AsyncListEntryGroupsPaged.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/AsyncListEntryGroupsPaged.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/SyncListEntryGroups.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/SyncListEntryGroups.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/SyncListEntryGroups.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/SyncListEntryGroups.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/SyncListEntryGroupsLocationname.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/SyncListEntryGroupsLocationname.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/SyncListEntryGroupsLocationname.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/SyncListEntryGroupsLocationname.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/SyncListEntryGroupsString.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/SyncListEntryGroupsString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/SyncListEntryGroupsString.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/SyncListEntryGroupsString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/AsyncListTags.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/AsyncListTags.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/AsyncListTags.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/AsyncListTags.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/AsyncListTagsPaged.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/AsyncListTagsPaged.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/AsyncListTagsPaged.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/AsyncListTagsPaged.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/SyncListTags.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/SyncListTags.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/SyncListTags.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/SyncListTags.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/SyncListTagsEntryname.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/SyncListTagsEntryname.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/SyncListTagsEntryname.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/SyncListTagsEntryname.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/SyncListTagsString.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/SyncListTagsString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/SyncListTagsString.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/SyncListTagsString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/lookupentry/AsyncLookupEntry.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/lookupentry/AsyncLookupEntry.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/lookupentry/AsyncLookupEntry.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/lookupentry/AsyncLookupEntry.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/lookupentry/SyncLookupEntry.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/lookupentry/SyncLookupEntry.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/lookupentry/SyncLookupEntry.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/lookupentry/SyncLookupEntry.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentrycontacts/AsyncModifyEntryContacts.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentrycontacts/AsyncModifyEntryContacts.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentrycontacts/AsyncModifyEntryContacts.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentrycontacts/AsyncModifyEntryContacts.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentrycontacts/SyncModifyEntryContacts.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentrycontacts/SyncModifyEntryContacts.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentrycontacts/SyncModifyEntryContacts.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentrycontacts/SyncModifyEntryContacts.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentryoverview/AsyncModifyEntryOverview.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentryoverview/AsyncModifyEntryOverview.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentryoverview/AsyncModifyEntryOverview.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentryoverview/AsyncModifyEntryOverview.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentryoverview/SyncModifyEntryOverview.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentryoverview/SyncModifyEntryOverview.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentryoverview/SyncModifyEntryOverview.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentryoverview/SyncModifyEntryOverview.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/reconciletags/AsyncReconcileTags.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/reconciletags/AsyncReconcileTags.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/reconciletags/AsyncReconcileTags.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/reconciletags/AsyncReconcileTags.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/reconciletags/AsyncReconcileTagsLRO.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/reconciletags/AsyncReconcileTagsLRO.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/reconciletags/AsyncReconcileTagsLRO.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/reconciletags/AsyncReconcileTagsLRO.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/reconciletags/SyncReconcileTags.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/reconciletags/SyncReconcileTags.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/reconciletags/SyncReconcileTags.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/reconciletags/SyncReconcileTags.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/AsyncRenameTagTemplateField.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/AsyncRenameTagTemplateField.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/AsyncRenameTagTemplateField.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/AsyncRenameTagTemplateField.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateField.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateField.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateField.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateField.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldStringString.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldStringString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldStringString.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldStringString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldTagtemplatefieldnameString.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldTagtemplatefieldnameString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldTagtemplatefieldnameString.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldTagtemplatefieldnameString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/AsyncRenameTagTemplateFieldEnumValue.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/AsyncRenameTagTemplateFieldEnumValue.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/AsyncRenameTagTemplateFieldEnumValue.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/AsyncRenameTagTemplateFieldEnumValue.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValue.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValue.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValue.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValue.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueStringString.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueStringString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueStringString.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueStringString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/AsyncSearchCatalog.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/AsyncSearchCatalog.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/AsyncSearchCatalog.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/AsyncSearchCatalog.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/AsyncSearchCatalogPaged.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/AsyncSearchCatalogPaged.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/AsyncSearchCatalogPaged.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/AsyncSearchCatalogPaged.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/SyncSearchCatalog.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/SyncSearchCatalog.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/SyncSearchCatalog.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/SyncSearchCatalog.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/SyncSearchCatalogSearchcatalogrequestscopeString.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/SyncSearchCatalogSearchcatalogrequestscopeString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/SyncSearchCatalogSearchcatalogrequestscopeString.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/SyncSearchCatalogSearchcatalogrequestscopeString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/AsyncSetIamPolicy.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/AsyncSetIamPolicy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/AsyncSetIamPolicy.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/AsyncSetIamPolicy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/SyncSetIamPolicy.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/SyncSetIamPolicy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/SyncSetIamPolicy.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/SyncSetIamPolicy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/SyncSetIamPolicyStringPolicy.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/SyncSetIamPolicyStringPolicy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/SyncSetIamPolicyStringPolicy.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/SyncSetIamPolicyStringPolicy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/AsyncStarEntry.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/AsyncStarEntry.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/AsyncStarEntry.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/AsyncStarEntry.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/SyncStarEntry.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/SyncStarEntry.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/SyncStarEntry.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/SyncStarEntry.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/SyncStarEntryEntryname.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/SyncStarEntryEntryname.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/SyncStarEntryEntryname.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/SyncStarEntryEntryname.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/SyncStarEntryString.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/SyncStarEntryString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/SyncStarEntryString.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/SyncStarEntryString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/testiampermissions/AsyncTestIamPermissions.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/testiampermissions/AsyncTestIamPermissions.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/testiampermissions/AsyncTestIamPermissions.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/testiampermissions/AsyncTestIamPermissions.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/testiampermissions/SyncTestIamPermissions.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/testiampermissions/SyncTestIamPermissions.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/testiampermissions/SyncTestIamPermissions.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/testiampermissions/SyncTestIamPermissions.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/AsyncUnstarEntry.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/AsyncUnstarEntry.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/AsyncUnstarEntry.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/AsyncUnstarEntry.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/SyncUnstarEntry.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/SyncUnstarEntry.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/SyncUnstarEntry.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/SyncUnstarEntry.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/SyncUnstarEntryEntryname.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/SyncUnstarEntryEntryname.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/SyncUnstarEntryEntryname.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/SyncUnstarEntryEntryname.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/SyncUnstarEntryString.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/SyncUnstarEntryString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/SyncUnstarEntryString.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/SyncUnstarEntryString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/AsyncUpdateEntry.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/AsyncUpdateEntry.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/AsyncUpdateEntry.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/AsyncUpdateEntry.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/SyncUpdateEntry.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/SyncUpdateEntry.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/SyncUpdateEntry.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/SyncUpdateEntry.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/SyncUpdateEntryEntry.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/SyncUpdateEntryEntry.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/SyncUpdateEntryEntry.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/SyncUpdateEntryEntry.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/SyncUpdateEntryEntryFieldmask.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/SyncUpdateEntryEntryFieldmask.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/SyncUpdateEntryEntryFieldmask.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/SyncUpdateEntryEntryFieldmask.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/AsyncUpdateEntryGroup.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/AsyncUpdateEntryGroup.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/AsyncUpdateEntryGroup.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/AsyncUpdateEntryGroup.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/SyncUpdateEntryGroup.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/SyncUpdateEntryGroup.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/SyncUpdateEntryGroup.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/SyncUpdateEntryGroup.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroup.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroup.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroup.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroup.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroupFieldmask.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroupFieldmask.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroupFieldmask.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroupFieldmask.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/AsyncUpdateTag.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/AsyncUpdateTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/AsyncUpdateTag.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/AsyncUpdateTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/SyncUpdateTag.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/SyncUpdateTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/SyncUpdateTag.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/SyncUpdateTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/SyncUpdateTagTag.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/SyncUpdateTagTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/SyncUpdateTagTag.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/SyncUpdateTagTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/SyncUpdateTagTagFieldmask.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/SyncUpdateTagTagFieldmask.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/SyncUpdateTagTagFieldmask.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/SyncUpdateTagTagFieldmask.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/AsyncUpdateTagTemplate.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/AsyncUpdateTagTemplate.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/AsyncUpdateTagTemplate.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/AsyncUpdateTagTemplate.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/SyncUpdateTagTemplate.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/SyncUpdateTagTemplate.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/SyncUpdateTagTemplate.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/SyncUpdateTagTemplate.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplate.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplate.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplate.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplate.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplateFieldmask.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplateFieldmask.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplateFieldmask.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplateFieldmask.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/AsyncUpdateTagTemplateField.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/AsyncUpdateTagTemplateField.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/AsyncUpdateTagTemplateField.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/AsyncUpdateTagTemplateField.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateField.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateField.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateField.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateField.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefield.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefield.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefield.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefield.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefieldFieldmask.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefieldFieldmask.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefieldFieldmask.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefieldFieldmask.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefield.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefield.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefield.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefield.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefieldFieldmask.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefieldFieldmask.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefieldFieldmask.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefieldFieldmask.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogsettings/createentrygroup/SyncCreateEntryGroup.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogsettings/createentrygroup/SyncCreateEntryGroup.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogsettings/createentrygroup/SyncCreateEntryGroup.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogsettings/createentrygroup/SyncCreateEntryGroup.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/create/SyncCreateSetCredentialsProvider.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/create/SyncCreateSetEndpoint.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/AsyncCreatePolicyTag.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/AsyncCreatePolicyTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/AsyncCreatePolicyTag.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/AsyncCreatePolicyTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/SyncCreatePolicyTag.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/SyncCreatePolicyTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/SyncCreatePolicyTag.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/SyncCreatePolicyTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/SyncCreatePolicyTagStringPolicytag.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/SyncCreatePolicyTagStringPolicytag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/SyncCreatePolicyTagStringPolicytag.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/SyncCreatePolicyTagStringPolicytag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/SyncCreatePolicyTagTaxonomynamePolicytag.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/SyncCreatePolicyTagTaxonomynamePolicytag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/SyncCreatePolicyTagTaxonomynamePolicytag.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/SyncCreatePolicyTagTaxonomynamePolicytag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/AsyncCreateTaxonomy.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/AsyncCreateTaxonomy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/AsyncCreateTaxonomy.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/AsyncCreateTaxonomy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/SyncCreateTaxonomy.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/SyncCreateTaxonomy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/SyncCreateTaxonomy.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/SyncCreateTaxonomy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/SyncCreateTaxonomyLocationnameTaxonomy.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/SyncCreateTaxonomyLocationnameTaxonomy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/SyncCreateTaxonomyLocationnameTaxonomy.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/SyncCreateTaxonomyLocationnameTaxonomy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/SyncCreateTaxonomyStringTaxonomy.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/SyncCreateTaxonomyStringTaxonomy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/SyncCreateTaxonomyStringTaxonomy.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/SyncCreateTaxonomyStringTaxonomy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/AsyncDeletePolicyTag.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/AsyncDeletePolicyTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/AsyncDeletePolicyTag.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/AsyncDeletePolicyTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/SyncDeletePolicyTag.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/SyncDeletePolicyTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/SyncDeletePolicyTag.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/SyncDeletePolicyTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/SyncDeletePolicyTagPolicytagname.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/SyncDeletePolicyTagPolicytagname.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/SyncDeletePolicyTagPolicytagname.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/SyncDeletePolicyTagPolicytagname.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/SyncDeletePolicyTagString.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/SyncDeletePolicyTagString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/SyncDeletePolicyTagString.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/SyncDeletePolicyTagString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/AsyncDeleteTaxonomy.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/AsyncDeleteTaxonomy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/AsyncDeleteTaxonomy.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/AsyncDeleteTaxonomy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomy.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomy.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyString.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyString.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyTaxonomyname.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyTaxonomyname.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyTaxonomyname.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyTaxonomyname.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getiampolicy/AsyncGetIamPolicy.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getiampolicy/AsyncGetIamPolicy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getiampolicy/AsyncGetIamPolicy.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getiampolicy/AsyncGetIamPolicy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getiampolicy/SyncGetIamPolicy.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getiampolicy/SyncGetIamPolicy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getiampolicy/SyncGetIamPolicy.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getiampolicy/SyncGetIamPolicy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/AsyncGetPolicyTag.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/AsyncGetPolicyTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/AsyncGetPolicyTag.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/AsyncGetPolicyTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/SyncGetPolicyTag.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/SyncGetPolicyTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/SyncGetPolicyTag.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/SyncGetPolicyTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/SyncGetPolicyTagPolicytagname.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/SyncGetPolicyTagPolicytagname.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/SyncGetPolicyTagPolicytagname.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/SyncGetPolicyTagPolicytagname.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/SyncGetPolicyTagString.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/SyncGetPolicyTagString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/SyncGetPolicyTagString.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/SyncGetPolicyTagString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/AsyncGetTaxonomy.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/AsyncGetTaxonomy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/AsyncGetTaxonomy.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/AsyncGetTaxonomy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/SyncGetTaxonomy.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/SyncGetTaxonomy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/SyncGetTaxonomy.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/SyncGetTaxonomy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/SyncGetTaxonomyString.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/SyncGetTaxonomyString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/SyncGetTaxonomyString.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/SyncGetTaxonomyString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/SyncGetTaxonomyTaxonomyname.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/SyncGetTaxonomyTaxonomyname.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/SyncGetTaxonomyTaxonomyname.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/SyncGetTaxonomyTaxonomyname.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/AsyncListPolicyTags.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/AsyncListPolicyTags.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/AsyncListPolicyTags.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/AsyncListPolicyTags.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/AsyncListPolicyTagsPaged.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/AsyncListPolicyTagsPaged.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/AsyncListPolicyTagsPaged.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/AsyncListPolicyTagsPaged.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/SyncListPolicyTags.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/SyncListPolicyTags.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/SyncListPolicyTags.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/SyncListPolicyTags.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/SyncListPolicyTagsString.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/SyncListPolicyTagsString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/SyncListPolicyTagsString.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/SyncListPolicyTagsString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/SyncListPolicyTagsTaxonomyname.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/SyncListPolicyTagsTaxonomyname.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/SyncListPolicyTagsTaxonomyname.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/SyncListPolicyTagsTaxonomyname.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/AsyncListTaxonomies.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/AsyncListTaxonomies.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/AsyncListTaxonomies.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/AsyncListTaxonomies.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/AsyncListTaxonomiesPaged.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/AsyncListTaxonomiesPaged.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/AsyncListTaxonomiesPaged.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/AsyncListTaxonomiesPaged.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/SyncListTaxonomies.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/SyncListTaxonomies.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/SyncListTaxonomies.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/SyncListTaxonomies.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/SyncListTaxonomiesLocationname.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/SyncListTaxonomiesLocationname.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/SyncListTaxonomiesLocationname.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/SyncListTaxonomiesLocationname.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/SyncListTaxonomiesString.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/SyncListTaxonomiesString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/SyncListTaxonomiesString.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/SyncListTaxonomiesString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/setiampolicy/AsyncSetIamPolicy.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/setiampolicy/AsyncSetIamPolicy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/setiampolicy/AsyncSetIamPolicy.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/setiampolicy/AsyncSetIamPolicy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/setiampolicy/SyncSetIamPolicy.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/setiampolicy/SyncSetIamPolicy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/setiampolicy/SyncSetIamPolicy.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/setiampolicy/SyncSetIamPolicy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/testiampermissions/AsyncTestIamPermissions.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/testiampermissions/AsyncTestIamPermissions.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/testiampermissions/AsyncTestIamPermissions.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/testiampermissions/AsyncTestIamPermissions.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/testiampermissions/SyncTestIamPermissions.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/testiampermissions/SyncTestIamPermissions.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/testiampermissions/SyncTestIamPermissions.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/testiampermissions/SyncTestIamPermissions.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatepolicytag/AsyncUpdatePolicyTag.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatepolicytag/AsyncUpdatePolicyTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatepolicytag/AsyncUpdatePolicyTag.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatepolicytag/AsyncUpdatePolicyTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatepolicytag/SyncUpdatePolicyTag.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatepolicytag/SyncUpdatePolicyTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatepolicytag/SyncUpdatePolicyTag.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatepolicytag/SyncUpdatePolicyTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatepolicytag/SyncUpdatePolicyTagPolicytag.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatepolicytag/SyncUpdatePolicyTagPolicytag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatepolicytag/SyncUpdatePolicyTagPolicytag.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatepolicytag/SyncUpdatePolicyTagPolicytag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatetaxonomy/AsyncUpdateTaxonomy.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatetaxonomy/AsyncUpdateTaxonomy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatetaxonomy/AsyncUpdateTaxonomy.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatetaxonomy/AsyncUpdateTaxonomy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomy.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomy.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomyTaxonomy.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomyTaxonomy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomyTaxonomy.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomyTaxonomy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/create/SyncCreateSetEndpoint.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/exporttaxonomies/AsyncExportTaxonomies.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/exporttaxonomies/AsyncExportTaxonomies.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/exporttaxonomies/AsyncExportTaxonomies.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/exporttaxonomies/AsyncExportTaxonomies.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/exporttaxonomies/SyncExportTaxonomies.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/exporttaxonomies/SyncExportTaxonomies.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/exporttaxonomies/SyncExportTaxonomies.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/exporttaxonomies/SyncExportTaxonomies.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/importtaxonomies/AsyncImportTaxonomies.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/importtaxonomies/AsyncImportTaxonomies.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/importtaxonomies/AsyncImportTaxonomies.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/importtaxonomies/AsyncImportTaxonomies.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/importtaxonomies/SyncImportTaxonomies.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/importtaxonomies/SyncImportTaxonomies.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/importtaxonomies/SyncImportTaxonomies.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/importtaxonomies/SyncImportTaxonomies.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/replacetaxonomy/AsyncReplaceTaxonomy.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/replacetaxonomy/AsyncReplaceTaxonomy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/replacetaxonomy/AsyncReplaceTaxonomy.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/replacetaxonomy/AsyncReplaceTaxonomy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/replacetaxonomy/SyncReplaceTaxonomy.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/replacetaxonomy/SyncReplaceTaxonomy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/replacetaxonomy/SyncReplaceTaxonomy.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/replacetaxonomy/SyncReplaceTaxonomy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationsettings/replacetaxonomy/SyncReplaceTaxonomy.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationsettings/replacetaxonomy/SyncReplaceTaxonomy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationsettings/replacetaxonomy/SyncReplaceTaxonomy.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationsettings/replacetaxonomy/SyncReplaceTaxonomy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagersettings/createtaxonomy/SyncCreateTaxonomy.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagersettings/createtaxonomy/SyncCreateTaxonomy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagersettings/createtaxonomy/SyncCreateTaxonomy.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagersettings/createtaxonomy/SyncCreateTaxonomy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/datacatalogstubsettings/createentrygroup/SyncCreateEntryGroup.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/datacatalogstubsettings/createentrygroup/SyncCreateEntryGroup.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/datacatalogstubsettings/createentrygroup/SyncCreateEntryGroup.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/datacatalogstubsettings/createentrygroup/SyncCreateEntryGroup.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/policytagmanagerserializationstubsettings/replacetaxonomy/SyncReplaceTaxonomy.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/policytagmanagerserializationstubsettings/replacetaxonomy/SyncReplaceTaxonomy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/policytagmanagerserializationstubsettings/replacetaxonomy/SyncReplaceTaxonomy.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/policytagmanagerserializationstubsettings/replacetaxonomy/SyncReplaceTaxonomy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/policytagmanagerstubsettings/createtaxonomy/SyncCreateTaxonomy.java b/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/policytagmanagerstubsettings/createtaxonomy/SyncCreateTaxonomy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/policytagmanagerstubsettings/createtaxonomy/SyncCreateTaxonomy.java rename to owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/policytagmanagerstubsettings/createtaxonomy/SyncCreateTaxonomy.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClient.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClient.java similarity index 94% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClient.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClient.java index 28a70f5fdf47..142d4c17c022 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClient.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClient.java @@ -188,7 +188,7 @@ public DataCatalogStub getStub() { * *

This is a custom method (https://cloud.google.com/apis/design/custom_methods) and does not * return the complete resource, only the resource identifier and high level fields. Clients can - * subsequentally call `Get` methods. + * subsequently call `Get` methods. * *

Note that Data Catalog search queries do not guarantee full recall. Query results that match * your query may not be returned, even in subsequent result pages. Also note that results @@ -219,8 +219,9 @@ public DataCatalogStub getStub() { * @param scope Required. The scope of this search request. A `scope` that has empty * `include_org_ids`, `include_project_ids` AND false `include_gcp_public_datasets` is * considered invalid. Data Catalog will return an error in such a case. - * @param query Required. The query string in search query syntax. The query must be non-empty. - *

Query strings can be simple as "x" or more qualified as: + * @param query Optional. The query string in search query syntax. An empty query string will + * result in all data assets (in the specified scope) that the user has access to. Query + * strings can be simple as "x" or more qualified as: *

    *
  • name:x *
  • column:x @@ -245,7 +246,7 @@ public final SearchCatalogPagedResponse searchCatalog( * *

    This is a custom method (https://cloud.google.com/apis/design/custom_methods) and does not * return the complete resource, only the resource identifier and high level fields. Clients can - * subsequentally call `Get` methods. + * subsequently call `Get` methods. * *

    Note that Data Catalog search queries do not guarantee full recall. Query results that match * your query may not be returned, even in subsequent result pages. Also note that results @@ -291,7 +292,7 @@ public final SearchCatalogPagedResponse searchCatalog(SearchCatalogRequest reque * *

    This is a custom method (https://cloud.google.com/apis/design/custom_methods) and does not * return the complete resource, only the resource identifier and high level fields. Clients can - * subsequentally call `Get` methods. + * subsequently call `Get` methods. * *

    Note that Data Catalog search queries do not guarantee full recall. Query results that match * your query may not be returned, even in subsequent result pages. Also note that results @@ -338,7 +339,7 @@ public final SearchCatalogPagedResponse searchCatalog(SearchCatalogRequest reque * *

    This is a custom method (https://cloud.google.com/apis/design/custom_methods) and does not * return the complete resource, only the resource identifier and high level fields. Clients can - * subsequentally call `Get` methods. + * subsequently call `Get` methods. * *

    Note that Data Catalog search queries do not guarantee full recall. Query results that match * your query may not be returned, even in subsequent result pages. Also note that results @@ -597,8 +598,9 @@ public final EntryGroup updateEntryGroup(EntryGroup entryGroup) { * }

* * @param entryGroup Required. The updated entry group. "name" field must be set. - * @param updateMask The fields to update on the entry group. If absent or empty, all modifiable - * fields are updated. + * @param updateMask Names of fields whose values to overwrite on an entry group. + *

If this parameter is absent or empty, all modifiable fields are overwritten. If such + * fields are non-required and omitted in the request body, their values are emptied. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final EntryGroup updateEntryGroup(EntryGroup entryGroup, FieldMask updateMask) { @@ -1358,16 +1360,17 @@ public final Entry updateEntry(Entry entry) { * }

* * @param entry Required. The updated entry. The "name" field must be set. - * @param updateMask The fields to update on the entry. If absent or empty, all modifiable fields - * are updated. + * @param updateMask Names of fields whose values to overwrite on an entry. + *

If this parameter is absent or empty, all modifiable fields are overwritten. If such + * fields are non-required and omitted in the request body, their values are emptied. *

The following fields are modifiable: *

    *
  • For entries with type `DATA_STREAM`: * `schema` - *
  • For entries with type `FILESET` * `schema` * `display_name` * + *
  • For entries with type `FILESET`: * `schema` * `display_name` * * `description` * `gcs_fileset_spec` * `gcs_fileset_spec.file_patterns` - *
  • For entries with `user_specified_type` * `schema` * `display_name` * - * `description` * user_specified_type * user_specified_system * - * linked_resource * source_system_timestamps + *
  • For entries with `user_specified_type`: * `schema` * `display_name` * + * `description` * `user_specified_type` * `user_specified_system` * + * `linked_resource` * `source_system_timestamps` *
* * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -2246,10 +2249,10 @@ public final TagTemplate updateTagTemplate(TagTemplate tagTemplate) { * }
* * @param tagTemplate Required. The template to update. The "name" field must be set. - * @param updateMask The field mask specifies the parts of the template to overwrite. - *

Allowed fields: - *

* `display_name` - *

If absent or empty, all of the allowed fields above will be updated. + * @param updateMask Names of fields whose values to overwrite on a tag template. Currently, only + * `display_name` can be overwritten. + *

In general, if this parameter is absent or empty, all modifiable fields are overwritten. + * If such fields are non-required and omitted in the request body, their values are emptied. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final TagTemplate updateTagTemplate(TagTemplate tagTemplate, FieldMask updateMask) { @@ -2744,13 +2747,19 @@ public final TagTemplateField updateTagTemplateField( * * * @param tagTemplateField Required. The template to update. - * @param updateMask Optional. The field mask specifies the parts of the template to be updated. - * Allowed fields: + * @param updateMask Optional. Names of fields whose values to overwrite on an individual field of + * a tag template. The following fields are modifiable: *

* `display_name` * `type.enum_type` * `is_required` - *

If `update_mask` is not set or empty, all of the allowed fields above will be updated. - *

When updating an enum type, the provided values will be merged with the existing values. - * Therefore, enum values can only be added, existing enum values cannot be deleted nor - * renamed. Updating a template field from optional to required is NOT allowed. + *

If this parameter is absent or empty, all modifiable fields are overwritten. If such + * fields are non-required and omitted in the request body, their values are emptied with one + * exception: when updating an enum type, the provided values are merged with the existing + * values. Therefore, enum values can only be added, existing enum values cannot be deleted or + * renamed. + *

Additionally, updating a template field from optional to required is + *

    + *
  • not* allowed. + *
+ * * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final TagTemplateField updateTagTemplateField( @@ -2796,13 +2805,19 @@ public final TagTemplateField updateTagTemplateField( * * * @param tagTemplateField Required. The template to update. - * @param updateMask Optional. The field mask specifies the parts of the template to be updated. - * Allowed fields: + * @param updateMask Optional. Names of fields whose values to overwrite on an individual field of + * a tag template. The following fields are modifiable: *

* `display_name` * `type.enum_type` * `is_required` - *

If `update_mask` is not set or empty, all of the allowed fields above will be updated. - *

When updating an enum type, the provided values will be merged with the existing values. - * Therefore, enum values can only be added, existing enum values cannot be deleted nor - * renamed. Updating a template field from optional to required is NOT allowed. + *

If this parameter is absent or empty, all modifiable fields are overwritten. If such + * fields are non-required and omitted in the request body, their values are emptied with one + * exception: when updating an enum type, the provided values are merged with the existing + * values. Therefore, enum values can only be added, existing enum values cannot be deleted or + * renamed. + *

Additionally, updating a template field from optional to required is + *

    + *
  • not* allowed. + *
+ * * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final TagTemplateField updateTagTemplateField( @@ -3042,6 +3057,179 @@ public final TagTemplateField renameTagTemplateField(RenameTagTemplateFieldReque return stub.renameTagTemplateFieldCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Renames an enum value in a tag template. The enum values have to be unique within one enum + * field. Thus, an enum value cannot be renamed with a name used in any other enum value within + * the same enum field. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
+   *   TagTemplateFieldEnumValueName name =
+   *       TagTemplateFieldEnumValueName.of(
+   *           "[PROJECT]",
+   *           "[LOCATION]",
+   *           "[TAG_TEMPLATE]",
+   *           "[TAG_TEMPLATE_FIELD_ID]",
+   *           "[ENUM_VALUE_DISPLAY_NAME]");
+   *   String newEnumValueDisplayName = "newEnumValueDisplayName-1119629027";
+   *   TagTemplateField response =
+   *       dataCatalogClient.renameTagTemplateFieldEnumValue(name, newEnumValueDisplayName);
+   * }
+   * }
+ * + * @param name Required. The name of the enum field value. Example: + *
    + *
  • projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name} + *
+ * + * @param newEnumValueDisplayName Required. The new display name of the enum value. For example, + * `my_new_enum_value`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final TagTemplateField renameTagTemplateFieldEnumValue( + TagTemplateFieldEnumValueName name, String newEnumValueDisplayName) { + RenameTagTemplateFieldEnumValueRequest request = + RenameTagTemplateFieldEnumValueRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .setNewEnumValueDisplayName(newEnumValueDisplayName) + .build(); + return renameTagTemplateFieldEnumValue(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Renames an enum value in a tag template. The enum values have to be unique within one enum + * field. Thus, an enum value cannot be renamed with a name used in any other enum value within + * the same enum field. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
+   *   String name =
+   *       TagTemplateFieldEnumValueName.of(
+   *               "[PROJECT]",
+   *               "[LOCATION]",
+   *               "[TAG_TEMPLATE]",
+   *               "[TAG_TEMPLATE_FIELD_ID]",
+   *               "[ENUM_VALUE_DISPLAY_NAME]")
+   *           .toString();
+   *   String newEnumValueDisplayName = "newEnumValueDisplayName-1119629027";
+   *   TagTemplateField response =
+   *       dataCatalogClient.renameTagTemplateFieldEnumValue(name, newEnumValueDisplayName);
+   * }
+   * }
+ * + * @param name Required. The name of the enum field value. Example: + *
    + *
  • projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name} + *
+ * + * @param newEnumValueDisplayName Required. The new display name of the enum value. For example, + * `my_new_enum_value`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final TagTemplateField renameTagTemplateFieldEnumValue( + String name, String newEnumValueDisplayName) { + RenameTagTemplateFieldEnumValueRequest request = + RenameTagTemplateFieldEnumValueRequest.newBuilder() + .setName(name) + .setNewEnumValueDisplayName(newEnumValueDisplayName) + .build(); + return renameTagTemplateFieldEnumValue(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Renames an enum value in a tag template. The enum values have to be unique within one enum + * field. Thus, an enum value cannot be renamed with a name used in any other enum value within + * the same enum field. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
+   *   RenameTagTemplateFieldEnumValueRequest request =
+   *       RenameTagTemplateFieldEnumValueRequest.newBuilder()
+   *           .setName(
+   *               TagTemplateFieldEnumValueName.of(
+   *                       "[PROJECT]",
+   *                       "[LOCATION]",
+   *                       "[TAG_TEMPLATE]",
+   *                       "[TAG_TEMPLATE_FIELD_ID]",
+   *                       "[ENUM_VALUE_DISPLAY_NAME]")
+   *                   .toString())
+   *           .setNewEnumValueDisplayName("newEnumValueDisplayName-1119629027")
+   *           .build();
+   *   TagTemplateField response = dataCatalogClient.renameTagTemplateFieldEnumValue(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final TagTemplateField renameTagTemplateFieldEnumValue( + RenameTagTemplateFieldEnumValueRequest request) { + return renameTagTemplateFieldEnumValueCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Renames an enum value in a tag template. The enum values have to be unique within one enum + * field. Thus, an enum value cannot be renamed with a name used in any other enum value within + * the same enum field. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
+   *   RenameTagTemplateFieldEnumValueRequest request =
+   *       RenameTagTemplateFieldEnumValueRequest.newBuilder()
+   *           .setName(
+   *               TagTemplateFieldEnumValueName.of(
+   *                       "[PROJECT]",
+   *                       "[LOCATION]",
+   *                       "[TAG_TEMPLATE]",
+   *                       "[TAG_TEMPLATE_FIELD_ID]",
+   *                       "[ENUM_VALUE_DISPLAY_NAME]")
+   *                   .toString())
+   *           .setNewEnumValueDisplayName("newEnumValueDisplayName-1119629027")
+   *           .build();
+   *   ApiFuture future =
+   *       dataCatalogClient.renameTagTemplateFieldEnumValueCallable().futureCall(request);
+   *   // Do something.
+   *   TagTemplateField response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + renameTagTemplateFieldEnumValueCallable() { + return stub.renameTagTemplateFieldEnumValueCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Deletes a field in a tag template and all uses of that field. Users should enable the Data @@ -3391,8 +3579,11 @@ public final Tag updateTag(Tag tag) { * }
* * @param tag Required. The updated tag. The "name" field must be set. - * @param updateMask The fields to update on the Tag. If absent or empty, all modifiable fields - * are updated. Currently the only modifiable field is the field `fields`. + * @param updateMask Note: Currently, this parameter can only take `"fields"` as value. + *

Names of fields whose values to overwrite on a tag. Currently, a tag has the only + * modifiable field with the name `fields`. + *

In general, if this parameter is absent or empty, all modifiable fields are overwritten. + * If such fields are non-required and omitted in the request body, their values are emptied. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Tag updateTag(Tag tag, FieldMask updateMask) { @@ -3578,7 +3769,8 @@ public final UnaryCallable deleteTagCallable() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists the tags on an [Entry][google.cloud.datacatalog.v1beta1.Entry]. + * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1beta1.Entry]. The + * [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response are lowercased. * *

Sample code: * @@ -3615,7 +3807,8 @@ public final ListTagsPagedResponse listTags(EntryName parent) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists the tags on an [Entry][google.cloud.datacatalog.v1beta1.Entry]. + * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1beta1.Entry]. The + * [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response are lowercased. * *

Sample code: * @@ -3652,7 +3845,8 @@ public final ListTagsPagedResponse listTags(String parent) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists the tags on an [Entry][google.cloud.datacatalog.v1beta1.Entry]. + * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1beta1.Entry]. The + * [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response are lowercased. * *

Sample code: * @@ -3685,7 +3879,8 @@ public final ListTagsPagedResponse listTags(ListTagsRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists the tags on an [Entry][google.cloud.datacatalog.v1beta1.Entry]. + * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1beta1.Entry]. The + * [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response are lowercased. * *

Sample code: * @@ -3717,7 +3912,8 @@ public final UnaryCallable listTagsPaged // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists the tags on an [Entry][google.cloud.datacatalog.v1beta1.Entry]. + * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1beta1.Entry]. The + * [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response are lowercased. * *

Sample code: * diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogSettings.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogSettings.java similarity index 96% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogSettings.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogSettings.java index a5ecd264dc4c..cc9c98bb7a93 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogSettings.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogSettings.java @@ -31,6 +31,7 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.datacatalog.v1beta1.stub.DataCatalogStubSettings; @@ -186,6 +187,12 @@ public UnaryCallSettings deleteTagTemplateSetti return ((DataCatalogStubSettings) getStubSettings()).renameTagTemplateFieldSettings(); } + /** Returns the object with the settings used for calls to renameTagTemplateFieldEnumValue. */ + public UnaryCallSettings + renameTagTemplateFieldEnumValueSettings() { + return ((DataCatalogStubSettings) getStubSettings()).renameTagTemplateFieldEnumValueSettings(); + } + /** Returns the object with the settings used for calls to deleteTagTemplateField. */ public UnaryCallSettings deleteTagTemplateFieldSettings() { return ((DataCatalogStubSettings) getStubSettings()).deleteTagTemplateFieldSettings(); @@ -450,6 +457,12 @@ public UnaryCallSettings.Builder deleteTagTempl return getStubSettingsBuilder().renameTagTemplateFieldSettings(); } + /** Returns the builder for the settings used for calls to renameTagTemplateFieldEnumValue. */ + public UnaryCallSettings.Builder + renameTagTemplateFieldEnumValueSettings() { + return getStubSettingsBuilder().renameTagTemplateFieldEnumValueSettings(); + } + /** Returns the builder for the settings used for calls to deleteTagTemplateField. */ public UnaryCallSettings.Builder deleteTagTemplateFieldSettings() { diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClient.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClient.java similarity index 99% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClient.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClient.java index 3277988d1586..cc60a1b80977 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClient.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClient.java @@ -584,6 +584,7 @@ public final ListTaxonomiesPagedResponse listTaxonomies(String parent) { * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) * .setPageSize(883849137) * .setPageToken("pageToken873572522") + * .setFilter("filter-1274492040") * .build(); * for (Taxonomy element : policyTagManagerClient.listTaxonomies(request).iterateAll()) { * // doThingsWith(element); @@ -617,6 +618,7 @@ public final ListTaxonomiesPagedResponse listTaxonomies(ListTaxonomiesRequest re * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) * .setPageSize(883849137) * .setPageToken("pageToken873572522") + * .setFilter("filter-1274492040") * .build(); * ApiFuture future = * policyTagManagerClient.listTaxonomiesPagedCallable().futureCall(request); @@ -651,6 +653,7 @@ public final ListTaxonomiesPagedResponse listTaxonomies(ListTaxonomiesRequest re * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) * .setPageSize(883849137) * .setPageToken("pageToken873572522") + * .setFilter("filter-1274492040") * .build(); * while (true) { * ListTaxonomiesResponse response = diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClient.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClient.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClient.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClient.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationSettings.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationSettings.java similarity index 99% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationSettings.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationSettings.java index fbee4f0a143a..600879169d5a 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationSettings.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationSettings.java @@ -25,6 +25,7 @@ import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.datacatalog.v1beta1.stub.PolicyTagManagerSerializationStubSettings; diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSettings.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSettings.java similarity index 99% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSettings.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSettings.java index b61a2d57f57b..cd0d0c08cf79 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSettings.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSettings.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.datacatalog.v1beta1.stub.PolicyTagManagerStubSettings; diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/gapic_metadata.json b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/gapic_metadata.json similarity index 96% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/gapic_metadata.json rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/gapic_metadata.json index 10b6ea149203..fd14ec3f0206 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/gapic_metadata.json +++ b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/gapic_metadata.json @@ -67,6 +67,9 @@ "RenameTagTemplateField": { "methods": ["renameTagTemplateField", "renameTagTemplateField", "renameTagTemplateField", "renameTagTemplateFieldCallable"] }, + "RenameTagTemplateFieldEnumValue": { + "methods": ["renameTagTemplateFieldEnumValue", "renameTagTemplateFieldEnumValue", "renameTagTemplateFieldEnumValue", "renameTagTemplateFieldEnumValueCallable"] + }, "SearchCatalog": { "methods": ["searchCatalog", "searchCatalog", "searchCatalogPagedCallable", "searchCatalogCallable"] }, diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/package-info.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/package-info.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/package-info.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/package-info.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStub.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStub.java similarity index 96% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStub.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStub.java index 717e2630d5eb..804cf58aefe0 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStub.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStub.java @@ -46,6 +46,7 @@ import com.google.cloud.datacatalog.v1beta1.ListTagsRequest; import com.google.cloud.datacatalog.v1beta1.ListTagsResponse; import com.google.cloud.datacatalog.v1beta1.LookupEntryRequest; +import com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest; import com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest; import com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest; import com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse; @@ -168,6 +169,12 @@ public UnaryCallable deleteTagTemplateCallable( throw new UnsupportedOperationException("Not implemented: renameTagTemplateFieldCallable()"); } + public UnaryCallable + renameTagTemplateFieldEnumValueCallable() { + throw new UnsupportedOperationException( + "Not implemented: renameTagTemplateFieldEnumValueCallable()"); + } + public UnaryCallable deleteTagTemplateFieldCallable() { throw new UnsupportedOperationException("Not implemented: deleteTagTemplateFieldCallable()"); } diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStubSettings.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStubSettings.java similarity index 91% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStubSettings.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStubSettings.java index 7dda2a51f384..c47984e23c00 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStubSettings.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStubSettings.java @@ -68,6 +68,7 @@ import com.google.cloud.datacatalog.v1beta1.ListTagsRequest; import com.google.cloud.datacatalog.v1beta1.ListTagsResponse; import com.google.cloud.datacatalog.v1beta1.LookupEntryRequest; +import com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest; import com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest; import com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest; import com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse; @@ -166,6 +167,8 @@ public class DataCatalogStubSettings extends StubSettings renameTagTemplateFieldSettings; + private final UnaryCallSettings + renameTagTemplateFieldEnumValueSettings; private final UnaryCallSettings deleteTagTemplateFieldSettings; private final UnaryCallSettings createTagSettings; @@ -497,6 +500,12 @@ public UnaryCallSettings deleteTagTemplateSetti return renameTagTemplateFieldSettings; } + /** Returns the object with the settings used for calls to renameTagTemplateFieldEnumValue. */ + public UnaryCallSettings + renameTagTemplateFieldEnumValueSettings() { + return renameTagTemplateFieldEnumValueSettings; + } + /** Returns the object with the settings used for calls to deleteTagTemplateField. */ public UnaryCallSettings deleteTagTemplateFieldSettings() { return deleteTagTemplateFieldSettings; @@ -664,6 +673,8 @@ protected DataCatalogStubSettings(Builder settingsBuilder) throws IOException { createTagTemplateFieldSettings = settingsBuilder.createTagTemplateFieldSettings().build(); updateTagTemplateFieldSettings = settingsBuilder.updateTagTemplateFieldSettings().build(); renameTagTemplateFieldSettings = settingsBuilder.renameTagTemplateFieldSettings().build(); + renameTagTemplateFieldEnumValueSettings = + settingsBuilder.renameTagTemplateFieldEnumValueSettings().build(); deleteTagTemplateFieldSettings = settingsBuilder.deleteTagTemplateFieldSettings().build(); createTagSettings = settingsBuilder.createTagSettings().build(); updateTagSettings = settingsBuilder.updateTagSettings().build(); @@ -712,6 +723,9 @@ public static class Builder extends StubSettings.Builder renameTagTemplateFieldSettings; + private final UnaryCallSettings.Builder< + RenameTagTemplateFieldEnumValueRequest, TagTemplateField> + renameTagTemplateFieldEnumValueSettings; private final UnaryCallSettings.Builder deleteTagTemplateFieldSettings; private final UnaryCallSettings.Builder createTagSettings; @@ -731,12 +745,12 @@ public static class Builder extends StubSettings.Builder> definitions = ImmutableMap.builder(); definitions.put( - "no_retry_0_codes", ImmutableSet.copyOf(Lists.newArrayList())); - definitions.put( - "retry_policy_1_codes", + "retry_policy_0_codes", ImmutableSet.copyOf( Lists.newArrayList( - StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE))); + StatusCode.Code.UNAVAILABLE, + StatusCode.Code.RESOURCE_EXHAUSTED, + StatusCode.Code.INTERNAL))); RETRYABLE_CODE_DEFINITIONS = definitions.build(); } @@ -745,14 +759,6 @@ public static class Builder extends StubSettings.Builder definitions = ImmutableMap.builder(); RetrySettings settings = null; - settings = - RetrySettings.newBuilder() - .setInitialRpcTimeout(Duration.ofMillis(60000L)) - .setRpcTimeoutMultiplier(1.0) - .setMaxRpcTimeout(Duration.ofMillis(60000L)) - .setTotalTimeout(Duration.ofMillis(60000L)) - .build(); - definitions.put("no_retry_0_params", settings); settings = RetrySettings.newBuilder() .setInitialRetryDelay(Duration.ofMillis(100L)) @@ -763,7 +769,7 @@ public static class Builder extends StubSettings.Builder deleteTagTempl return renameTagTemplateFieldSettings; } + /** Returns the builder for the settings used for calls to renameTagTemplateFieldEnumValue. */ + public UnaryCallSettings.Builder + renameTagTemplateFieldEnumValueSettings() { + return renameTagTemplateFieldEnumValueSettings; + } + /** Returns the builder for the settings used for calls to deleteTagTemplateField. */ public UnaryCallSettings.Builder deleteTagTemplateFieldSettings() { diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcDataCatalogCallableFactory.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcDataCatalogCallableFactory.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcDataCatalogCallableFactory.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcDataCatalogCallableFactory.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcDataCatalogStub.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcDataCatalogStub.java similarity index 95% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcDataCatalogStub.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcDataCatalogStub.java index 91d2d2ea74e0..a123dc5ec9b5 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcDataCatalogStub.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcDataCatalogStub.java @@ -51,6 +51,7 @@ import com.google.cloud.datacatalog.v1beta1.ListTagsRequest; import com.google.cloud.datacatalog.v1beta1.ListTagsResponse; import com.google.cloud.datacatalog.v1beta1.LookupEntryRequest; +import com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest; import com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest; import com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest; import com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse; @@ -72,6 +73,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; @@ -269,6 +271,18 @@ public class GrpcDataCatalogStub extends DataCatalogStub { .setResponseMarshaller(ProtoUtils.marshaller(TagTemplateField.getDefaultInstance())) .build(); + private static final MethodDescriptor + renameTagTemplateFieldEnumValueMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.cloud.datacatalog.v1beta1.DataCatalog/RenameTagTemplateFieldEnumValue") + .setRequestMarshaller( + ProtoUtils.marshaller( + RenameTagTemplateFieldEnumValueRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(TagTemplateField.getDefaultInstance())) + .build(); + private static final MethodDescriptor deleteTagTemplateFieldMethodDescriptor = MethodDescriptor.newBuilder() @@ -369,6 +383,8 @@ public class GrpcDataCatalogStub extends DataCatalogStub { updateTagTemplateFieldCallable; private final UnaryCallable renameTagTemplateFieldCallable; + private final UnaryCallable + renameTagTemplateFieldEnumValueCallable; private final UnaryCallable deleteTagTemplateFieldCallable; private final UnaryCallable createTagCallable; private final UnaryCallable updateTagCallable; @@ -606,6 +622,17 @@ protected GrpcDataCatalogStub( return builder.build(); }) .build(); + GrpcCallSettings + renameTagTemplateFieldEnumValueTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(renameTagTemplateFieldEnumValueMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); GrpcCallSettings deleteTagTemplateFieldTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(deleteTagTemplateFieldMethodDescriptor) @@ -766,6 +793,11 @@ protected GrpcDataCatalogStub( renameTagTemplateFieldTransportSettings, settings.renameTagTemplateFieldSettings(), clientContext); + this.renameTagTemplateFieldEnumValueCallable = + callableFactory.createUnaryCallable( + renameTagTemplateFieldEnumValueTransportSettings, + settings.renameTagTemplateFieldEnumValueSettings(), + clientContext); this.deleteTagTemplateFieldCallable = callableFactory.createUnaryCallable( deleteTagTemplateFieldTransportSettings, @@ -921,6 +953,12 @@ public UnaryCallable deleteTagTemplateCallable( return renameTagTemplateFieldCallable; } + @Override + public UnaryCallable + renameTagTemplateFieldEnumValueCallable() { + return renameTagTemplateFieldEnumValueCallable; + } + @Override public UnaryCallable deleteTagTemplateFieldCallable() { return deleteTagTemplateFieldCallable; diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerCallableFactory.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerCallableFactory.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerCallableFactory.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerCallableFactory.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerSerializationCallableFactory.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerSerializationCallableFactory.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerSerializationCallableFactory.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerSerializationCallableFactory.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerSerializationStub.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerSerializationStub.java similarity index 99% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerSerializationStub.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerSerializationStub.java index 03324246a06e..7b695601f3f8 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerSerializationStub.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerSerializationStub.java @@ -32,6 +32,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerStub.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerStub.java similarity index 99% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerStub.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerStub.java index 7eeb565f7d00..caa045428ec6 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerStub.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerStub.java @@ -51,6 +51,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-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonDataCatalogCallableFactory.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonDataCatalogCallableFactory.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonDataCatalogCallableFactory.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonDataCatalogCallableFactory.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonDataCatalogStub.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonDataCatalogStub.java similarity index 96% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonDataCatalogStub.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonDataCatalogStub.java index 1cfcf8413ddb..4cdba3bb9ca4 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonDataCatalogStub.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonDataCatalogStub.java @@ -56,6 +56,7 @@ import com.google.cloud.datacatalog.v1beta1.ListTagsRequest; import com.google.cloud.datacatalog.v1beta1.ListTagsResponse; import com.google.cloud.datacatalog.v1beta1.LookupEntryRequest; +import com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest; import com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest; import com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest; import com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse; @@ -768,6 +769,43 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub { .build()) .build(); + private static final ApiMethodDescriptor + renameTagTemplateFieldEnumValueMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.datacatalog.v1beta1.DataCatalog/RenameTagTemplateFieldEnumValue") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{name=projects/*/locations/*/tagTemplates/*/fields/*/enumValues/*}:rename", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build(), false)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(TagTemplateField.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + private static final ApiMethodDescriptor deleteTagTemplateFieldMethodDescriptor = ApiMethodDescriptor.newBuilder() @@ -1090,6 +1128,8 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub { updateTagTemplateFieldCallable; private final UnaryCallable renameTagTemplateFieldCallable; + private final UnaryCallable + renameTagTemplateFieldEnumValueCallable; private final UnaryCallable deleteTagTemplateFieldCallable; private final UnaryCallable createTagCallable; private final UnaryCallable updateTagCallable; @@ -1347,6 +1387,19 @@ protected HttpJsonDataCatalogStub( return builder.build(); }) .build(); + HttpJsonCallSettings + renameTagTemplateFieldEnumValueTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(renameTagTemplateFieldEnumValueMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); HttpJsonCallSettings deleteTagTemplateFieldTransportSettings = HttpJsonCallSettings.newBuilder() @@ -1516,6 +1569,11 @@ protected HttpJsonDataCatalogStub( renameTagTemplateFieldTransportSettings, settings.renameTagTemplateFieldSettings(), clientContext); + this.renameTagTemplateFieldEnumValueCallable = + callableFactory.createUnaryCallable( + renameTagTemplateFieldEnumValueTransportSettings, + settings.renameTagTemplateFieldEnumValueSettings(), + clientContext); this.deleteTagTemplateFieldCallable = callableFactory.createUnaryCallable( deleteTagTemplateFieldTransportSettings, @@ -1574,6 +1632,7 @@ public static List getMethodDescriptors() { methodDescriptors.add(createTagTemplateFieldMethodDescriptor); methodDescriptors.add(updateTagTemplateFieldMethodDescriptor); methodDescriptors.add(renameTagTemplateFieldMethodDescriptor); + methodDescriptors.add(renameTagTemplateFieldEnumValueMethodDescriptor); methodDescriptors.add(deleteTagTemplateFieldMethodDescriptor); methodDescriptors.add(createTagMethodDescriptor); methodDescriptors.add(updateTagMethodDescriptor); @@ -1700,6 +1759,12 @@ public UnaryCallable deleteTagTemplateCallable( return renameTagTemplateFieldCallable; } + @Override + public UnaryCallable + renameTagTemplateFieldEnumValueCallable() { + return renameTagTemplateFieldEnumValueCallable; + } + @Override public UnaryCallable deleteTagTemplateFieldCallable() { return deleteTagTemplateFieldCallable; diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerCallableFactory.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerCallableFactory.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerCallableFactory.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerCallableFactory.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerSerializationCallableFactory.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerSerializationCallableFactory.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerSerializationCallableFactory.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerSerializationCallableFactory.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerSerializationStub.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerSerializationStub.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerSerializationStub.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerSerializationStub.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerStub.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerStub.java similarity index 99% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerStub.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerStub.java index 7c180c580976..797b47f4c146 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerStub.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerStub.java @@ -201,6 +201,7 @@ public class HttpJsonPolicyTagManagerStub extends PolicyTagManagerStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "filter", request.getFilter()); serializer.putQueryParam(fields, "pageSize", request.getPageSize()); serializer.putQueryParam(fields, "pageToken", request.getPageToken()); return fields; diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerSerializationStub.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerSerializationStub.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerSerializationStub.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerSerializationStub.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerSerializationStubSettings.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerSerializationStubSettings.java similarity index 96% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerSerializationStubSettings.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerSerializationStubSettings.java index 0caa82495d60..8458a18a0e13 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerSerializationStubSettings.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerSerializationStubSettings.java @@ -45,6 +45,7 @@ import java.io.IOException; import java.util.List; import javax.annotation.Generated; +import org.threeten.bp.Duration; // AUTO-GENERATED DOCUMENTATION AND CLASS. /** @@ -235,7 +236,8 @@ public static class Builder static { ImmutableMap.Builder> definitions = ImmutableMap.builder(); - definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put( + "no_retry_2_codes", ImmutableSet.copyOf(Lists.newArrayList())); RETRYABLE_CODE_DEFINITIONS = definitions.build(); } @@ -244,8 +246,14 @@ public static class Builder static { ImmutableMap.Builder definitions = ImmutableMap.builder(); RetrySettings settings = null; - settings = RetrySettings.newBuilder().setRpcTimeoutMultiplier(1.0).build(); - definitions.put("no_retry_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(60000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(60000L)) + .setTotalTimeout(Duration.ofMillis(60000L)) + .build(); + definitions.put("no_retry_2_params", settings); RETRY_PARAM_DEFINITIONS = definitions.build(); } @@ -305,13 +313,13 @@ private static Builder createHttpJsonDefault() { private static Builder initDefaults(Builder builder) { builder .importTaxonomiesSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params")); builder .exportTaxonomiesSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params")); return builder; } diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStub.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStub.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStub.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStub.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStubSettings.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStubSettings.java similarity index 97% rename from java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStubSettings.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStubSettings.java index f0f3cc791182..9dd57324be31 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStubSettings.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStubSettings.java @@ -71,6 +71,7 @@ import java.io.IOException; import java.util.List; import javax.annotation.Generated; +import org.threeten.bp.Duration; // AUTO-GENERATED DOCUMENTATION AND CLASS. /** @@ -463,7 +464,8 @@ public static class Builder extends StubSettings.Builder> definitions = ImmutableMap.builder(); - definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put( + "no_retry_1_codes", ImmutableSet.copyOf(Lists.newArrayList())); RETRYABLE_CODE_DEFINITIONS = definitions.build(); } @@ -472,8 +474,14 @@ public static class Builder extends StubSettings.Builder definitions = ImmutableMap.builder(); RetrySettings settings = null; - settings = RetrySettings.newBuilder().setRpcTimeoutMultiplier(1.0).build(); - definitions.put("no_retry_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(60000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(60000L)) + .setTotalTimeout(Duration.ofMillis(60000L)) + .build(); + definitions.put("no_retry_1_params", settings); RETRY_PARAM_DEFINITIONS = definitions.build(); } @@ -579,68 +587,68 @@ private static Builder createHttpJsonDefault() { private static Builder initDefaults(Builder builder) { builder .createTaxonomySettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .deleteTaxonomySettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .updateTaxonomySettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .listTaxonomiesSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .getTaxonomySettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .createPolicyTagSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .deletePolicyTagSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .updatePolicyTagSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .listPolicyTagsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .getPolicyTagSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .getIamPolicySettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .setIamPolicySettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .testIamPermissionsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); return builder; } diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientHttpJsonTest.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientHttpJsonTest.java similarity index 94% rename from java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientHttpJsonTest.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientHttpJsonTest.java index a007bce03094..8a669e25c673 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientHttpJsonTest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientHttpJsonTest.java @@ -745,6 +745,7 @@ public void createEntryTest() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -798,6 +799,7 @@ public void createEntryTest2() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -851,6 +853,7 @@ public void updateEntryTest() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -862,6 +865,7 @@ public void updateEntryTest() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); Entry actualResponse = client.updateEntry(entry); @@ -898,6 +902,7 @@ public void updateEntryExceptionTest() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); client.updateEntry(entry); Assert.fail("No exception raised"); @@ -916,6 +921,7 @@ public void updateEntryTest2() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -927,6 +933,7 @@ public void updateEntryTest2() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); @@ -964,6 +971,7 @@ public void updateEntryExceptionTest2() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); client.updateEntry(entry, updateMask); @@ -1065,6 +1073,7 @@ public void getEntryTest() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -1114,6 +1123,7 @@ public void getEntryTest2() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -1165,6 +1175,7 @@ public void lookupEntryTest() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -1704,6 +1715,7 @@ public void createTagTemplateFieldTest() throws Exception { .setDisplayName("displayName1714148973") .setType(FieldType.newBuilder().build()) .setIsRequired(true) + .setDescription("description-1724546052") .setOrder(106006350) .build(); mockService.addResponse(expectedResponse); @@ -1759,6 +1771,7 @@ public void createTagTemplateFieldTest2() throws Exception { .setDisplayName("displayName1714148973") .setType(FieldType.newBuilder().build()) .setIsRequired(true) + .setDescription("description-1724546052") .setOrder(106006350) .build(); mockService.addResponse(expectedResponse); @@ -1814,6 +1827,7 @@ public void updateTagTemplateFieldTest() throws Exception { .setDisplayName("displayName1714148973") .setType(FieldType.newBuilder().build()) .setIsRequired(true) + .setDescription("description-1724546052") .setOrder(106006350) .build(); mockService.addResponse(expectedResponse); @@ -1868,6 +1882,7 @@ public void updateTagTemplateFieldTest2() throws Exception { .setDisplayName("displayName1714148973") .setType(FieldType.newBuilder().build()) .setIsRequired(true) + .setDescription("description-1724546052") .setOrder(106006350) .build(); mockService.addResponse(expectedResponse); @@ -1922,6 +1937,7 @@ public void updateTagTemplateFieldTest3() throws Exception { .setDisplayName("displayName1714148973") .setType(FieldType.newBuilder().build()) .setIsRequired(true) + .setDescription("description-1724546052") .setOrder(106006350) .build(); mockService.addResponse(expectedResponse); @@ -1979,6 +1995,7 @@ public void updateTagTemplateFieldTest4() throws Exception { .setDisplayName("displayName1714148973") .setType(FieldType.newBuilder().build()) .setIsRequired(true) + .setDescription("description-1724546052") .setOrder(106006350) .build(); mockService.addResponse(expectedResponse); @@ -2036,6 +2053,7 @@ public void renameTagTemplateFieldTest() throws Exception { .setDisplayName("displayName1714148973") .setType(FieldType.newBuilder().build()) .setIsRequired(true) + .setDescription("description-1724546052") .setOrder(106006350) .build(); mockService.addResponse(expectedResponse); @@ -2090,6 +2108,7 @@ public void renameTagTemplateFieldTest2() throws Exception { .setDisplayName("displayName1714148973") .setType(FieldType.newBuilder().build()) .setIsRequired(true) + .setDescription("description-1724546052") .setOrder(106006350) .build(); mockService.addResponse(expectedResponse); @@ -2134,6 +2153,128 @@ public void renameTagTemplateFieldExceptionTest2() throws Exception { } } + @Test + public void renameTagTemplateFieldEnumValueTest() throws Exception { + TagTemplateField expectedResponse = + TagTemplateField.newBuilder() + .setName( + TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]") + .toString()) + .setDisplayName("displayName1714148973") + .setType(FieldType.newBuilder().build()) + .setIsRequired(true) + .setDescription("description-1724546052") + .setOrder(106006350) + .build(); + mockService.addResponse(expectedResponse); + + TagTemplateFieldEnumValueName name = + TagTemplateFieldEnumValueName.of( + "[PROJECT]", + "[LOCATION]", + "[TAG_TEMPLATE]", + "[TAG_TEMPLATE_FIELD_ID]", + "[ENUM_VALUE_DISPLAY_NAME]"); + String newEnumValueDisplayName = "newEnumValueDisplayName-1119629027"; + + TagTemplateField actualResponse = + client.renameTagTemplateFieldEnumValue(name, newEnumValueDisplayName); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void renameTagTemplateFieldEnumValueExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + TagTemplateFieldEnumValueName name = + TagTemplateFieldEnumValueName.of( + "[PROJECT]", + "[LOCATION]", + "[TAG_TEMPLATE]", + "[TAG_TEMPLATE_FIELD_ID]", + "[ENUM_VALUE_DISPLAY_NAME]"); + String newEnumValueDisplayName = "newEnumValueDisplayName-1119629027"; + client.renameTagTemplateFieldEnumValue(name, newEnumValueDisplayName); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void renameTagTemplateFieldEnumValueTest2() throws Exception { + TagTemplateField expectedResponse = + TagTemplateField.newBuilder() + .setName( + TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]") + .toString()) + .setDisplayName("displayName1714148973") + .setType(FieldType.newBuilder().build()) + .setIsRequired(true) + .setDescription("description-1724546052") + .setOrder(106006350) + .build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-9639/locations/location-9639/tagTemplates/tagTemplate-9639/fields/field-9639/enumValues/enumValue-9639"; + String newEnumValueDisplayName = "newEnumValueDisplayName-1119629027"; + + TagTemplateField actualResponse = + client.renameTagTemplateFieldEnumValue(name, newEnumValueDisplayName); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void renameTagTemplateFieldEnumValueExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-9639/locations/location-9639/tagTemplates/tagTemplate-9639/fields/field-9639/enumValues/enumValue-9639"; + String newEnumValueDisplayName = "newEnumValueDisplayName-1119629027"; + client.renameTagTemplateFieldEnumValue(name, newEnumValueDisplayName); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void deleteTagTemplateFieldTest() throws Exception { Empty expectedResponse = Empty.newBuilder().build(); diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientTest.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientTest.java similarity index 94% rename from java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientTest.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientTest.java index 0d472cc45ffc..ebe244111194 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientTest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientTest.java @@ -59,6 +59,7 @@ @Generated("by gapic-generator-java") public class DataCatalogClientTest { private static MockDataCatalog mockDataCatalog; + private static MockIAMPolicy mockIAMPolicy; private static MockServiceHelper mockServiceHelper; private LocalChannelProvider channelProvider; private DataCatalogClient client; @@ -66,9 +67,11 @@ public class DataCatalogClientTest { @BeforeClass public static void startStaticServer() { mockDataCatalog = new MockDataCatalog(); + mockIAMPolicy = new MockIAMPolicy(); mockServiceHelper = new MockServiceHelper( - UUID.randomUUID().toString(), Arrays.asList(mockDataCatalog)); + UUID.randomUUID().toString(), + Arrays.asList(mockDataCatalog, mockIAMPolicy)); mockServiceHelper.start(); } @@ -656,6 +659,7 @@ public void createEntryTest() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); mockDataCatalog.addResponse(expectedResponse); @@ -705,6 +709,7 @@ public void createEntryTest2() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); mockDataCatalog.addResponse(expectedResponse); @@ -754,6 +759,7 @@ public void updateEntryTest() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); mockDataCatalog.addResponse(expectedResponse); @@ -797,6 +803,7 @@ public void updateEntryTest2() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); mockDataCatalog.addResponse(expectedResponse); @@ -911,6 +918,7 @@ public void getEntryTest() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); mockDataCatalog.addResponse(expectedResponse); @@ -954,6 +962,7 @@ public void getEntryTest2() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); mockDataCatalog.addResponse(expectedResponse); @@ -997,6 +1006,7 @@ public void lookupEntryTest() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); mockDataCatalog.addResponse(expectedResponse); @@ -1458,6 +1468,7 @@ public void createTagTemplateFieldTest() throws Exception { .setDisplayName("displayName1714148973") .setType(FieldType.newBuilder().build()) .setIsRequired(true) + .setDescription("description-1724546052") .setOrder(106006350) .build(); mockDataCatalog.addResponse(expectedResponse); @@ -1510,6 +1521,7 @@ public void createTagTemplateFieldTest2() throws Exception { .setDisplayName("displayName1714148973") .setType(FieldType.newBuilder().build()) .setIsRequired(true) + .setDescription("description-1724546052") .setOrder(106006350) .build(); mockDataCatalog.addResponse(expectedResponse); @@ -1562,6 +1574,7 @@ public void updateTagTemplateFieldTest() throws Exception { .setDisplayName("displayName1714148973") .setType(FieldType.newBuilder().build()) .setIsRequired(true) + .setDescription("description-1724546052") .setOrder(106006350) .build(); mockDataCatalog.addResponse(expectedResponse); @@ -1612,6 +1625,7 @@ public void updateTagTemplateFieldTest2() throws Exception { .setDisplayName("displayName1714148973") .setType(FieldType.newBuilder().build()) .setIsRequired(true) + .setDescription("description-1724546052") .setOrder(106006350) .build(); mockDataCatalog.addResponse(expectedResponse); @@ -1660,6 +1674,7 @@ public void updateTagTemplateFieldTest3() throws Exception { .setDisplayName("displayName1714148973") .setType(FieldType.newBuilder().build()) .setIsRequired(true) + .setDescription("description-1724546052") .setOrder(106006350) .build(); mockDataCatalog.addResponse(expectedResponse); @@ -1714,6 +1729,7 @@ public void updateTagTemplateFieldTest4() throws Exception { .setDisplayName("displayName1714148973") .setType(FieldType.newBuilder().build()) .setIsRequired(true) + .setDescription("description-1724546052") .setOrder(106006350) .build(); mockDataCatalog.addResponse(expectedResponse); @@ -1766,6 +1782,7 @@ public void renameTagTemplateFieldTest() throws Exception { .setDisplayName("displayName1714148973") .setType(FieldType.newBuilder().build()) .setIsRequired(true) + .setDescription("description-1724546052") .setOrder(106006350) .build(); mockDataCatalog.addResponse(expectedResponse); @@ -1816,6 +1833,7 @@ public void renameTagTemplateFieldTest2() throws Exception { .setDisplayName("displayName1714148973") .setType(FieldType.newBuilder().build()) .setIsRequired(true) + .setDescription("description-1724546052") .setOrder(106006350) .build(); mockDataCatalog.addResponse(expectedResponse); @@ -1854,6 +1872,118 @@ public void renameTagTemplateFieldExceptionTest2() throws Exception { } } + @Test + public void renameTagTemplateFieldEnumValueTest() throws Exception { + TagTemplateField expectedResponse = + TagTemplateField.newBuilder() + .setName( + TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]") + .toString()) + .setDisplayName("displayName1714148973") + .setType(FieldType.newBuilder().build()) + .setIsRequired(true) + .setDescription("description-1724546052") + .setOrder(106006350) + .build(); + mockDataCatalog.addResponse(expectedResponse); + + TagTemplateFieldEnumValueName name = + TagTemplateFieldEnumValueName.of( + "[PROJECT]", + "[LOCATION]", + "[TAG_TEMPLATE]", + "[TAG_TEMPLATE_FIELD_ID]", + "[ENUM_VALUE_DISPLAY_NAME]"); + String newEnumValueDisplayName = "newEnumValueDisplayName-1119629027"; + + TagTemplateField actualResponse = + client.renameTagTemplateFieldEnumValue(name, newEnumValueDisplayName); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDataCatalog.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + RenameTagTemplateFieldEnumValueRequest actualRequest = + ((RenameTagTemplateFieldEnumValueRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertEquals(newEnumValueDisplayName, actualRequest.getNewEnumValueDisplayName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void renameTagTemplateFieldEnumValueExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataCatalog.addException(exception); + + try { + TagTemplateFieldEnumValueName name = + TagTemplateFieldEnumValueName.of( + "[PROJECT]", + "[LOCATION]", + "[TAG_TEMPLATE]", + "[TAG_TEMPLATE_FIELD_ID]", + "[ENUM_VALUE_DISPLAY_NAME]"); + String newEnumValueDisplayName = "newEnumValueDisplayName-1119629027"; + client.renameTagTemplateFieldEnumValue(name, newEnumValueDisplayName); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void renameTagTemplateFieldEnumValueTest2() throws Exception { + TagTemplateField expectedResponse = + TagTemplateField.newBuilder() + .setName( + TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]") + .toString()) + .setDisplayName("displayName1714148973") + .setType(FieldType.newBuilder().build()) + .setIsRequired(true) + .setDescription("description-1724546052") + .setOrder(106006350) + .build(); + mockDataCatalog.addResponse(expectedResponse); + + String name = "name3373707"; + String newEnumValueDisplayName = "newEnumValueDisplayName-1119629027"; + + TagTemplateField actualResponse = + client.renameTagTemplateFieldEnumValue(name, newEnumValueDisplayName); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDataCatalog.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + RenameTagTemplateFieldEnumValueRequest actualRequest = + ((RenameTagTemplateFieldEnumValueRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertEquals(newEnumValueDisplayName, actualRequest.getNewEnumValueDisplayName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void renameTagTemplateFieldEnumValueExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataCatalog.addException(exception); + + try { + String name = "name3373707"; + String newEnumValueDisplayName = "newEnumValueDisplayName-1119629027"; + client.renameTagTemplateFieldEnumValue(name, newEnumValueDisplayName); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void deleteTagTemplateFieldTest() throws Exception { Empty expectedResponse = Empty.newBuilder().build(); diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockDataCatalog.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockDataCatalog.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockDataCatalog.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockDataCatalog.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockDataCatalogImpl.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockDataCatalogImpl.java similarity index 96% rename from java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockDataCatalogImpl.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockDataCatalogImpl.java index 9ba58f5fb1a5..11516c84c67e 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockDataCatalogImpl.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockDataCatalogImpl.java @@ -458,6 +458,28 @@ public void renameTagTemplateField( } } + @Override + public void renameTagTemplateFieldEnumValue( + RenameTagTemplateFieldEnumValueRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof TagTemplateField) { + requests.add(request); + responseObserver.onNext(((TagTemplateField) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method RenameTagTemplateFieldEnumValue, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + TagTemplateField.class.getName(), + Exception.class.getName()))); + } + } + @Override public void deleteTagTemplateField( DeleteTagTemplateFieldRequest request, StreamObserver responseObserver) { diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockIAMPolicy.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockIAMPolicy.java new file mode 100644 index 000000000000..451d5f87fe5b --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockIAMPolicy.java @@ -0,0 +1,59 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.datacatalog.v1beta1; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.protobuf.AbstractMessage; +import io.grpc.ServerServiceDefinition; +import java.util.List; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockIAMPolicy implements MockGrpcService { + private final MockIAMPolicyImpl serviceImpl; + + public MockIAMPolicy() { + serviceImpl = new MockIAMPolicyImpl(); + } + + @Override + public List getRequests() { + return serviceImpl.getRequests(); + } + + @Override + public void addResponse(AbstractMessage response) { + serviceImpl.addResponse(response); + } + + @Override + public void addException(Exception exception) { + serviceImpl.addException(exception); + } + + @Override + public ServerServiceDefinition getServiceDefinition() { + return serviceImpl.bindService(); + } + + @Override + public void reset() { + serviceImpl.reset(); + } +} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockIAMPolicyImpl.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockIAMPolicyImpl.java new file mode 100644 index 000000000000..ece139dddc1d --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockIAMPolicyImpl.java @@ -0,0 +1,59 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.datacatalog.v1beta1; + +import com.google.api.core.BetaApi; +import com.google.iam.v1.IAMPolicyGrpc.IAMPolicyImplBase; +import com.google.protobuf.AbstractMessage; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; +import java.util.Queue; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockIAMPolicyImpl extends IAMPolicyImplBase { + private List requests; + private Queue responses; + + public MockIAMPolicyImpl() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + public List getRequests() { + return requests; + } + + public void addResponse(AbstractMessage response) { + responses.add(response); + } + + public void setResponses(List responses) { + this.responses = new LinkedList(responses); + } + + public void addException(Exception exception) { + responses.add(exception); + } + + public void reset() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } +} diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManager.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManager.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManager.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManager.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManagerImpl.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManagerImpl.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManagerImpl.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManagerImpl.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManagerSerialization.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManagerSerialization.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManagerSerialization.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManagerSerialization.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManagerSerializationImpl.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManagerSerializationImpl.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManagerSerializationImpl.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManagerSerializationImpl.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientHttpJsonTest.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientHttpJsonTest.java similarity index 97% rename from java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientHttpJsonTest.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientHttpJsonTest.java index 8b4d27f27a63..514ecc671053 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientHttpJsonTest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientHttpJsonTest.java @@ -95,7 +95,10 @@ public void createTaxonomyTest() throws Exception { .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString()) .setDisplayName("displayName1714148973") .setDescription("description-1724546052") + .setPolicyTagCount(1074340189) + .setTaxonomyTimestamps(SystemTimestamps.newBuilder().build()) .addAllActivatedPolicyTypes(new ArrayList()) + .setService(Taxonomy.Service.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -144,7 +147,10 @@ public void createTaxonomyTest2() throws Exception { .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString()) .setDisplayName("displayName1714148973") .setDescription("description-1724546052") + .setPolicyTagCount(1074340189) + .setTaxonomyTimestamps(SystemTimestamps.newBuilder().build()) .addAllActivatedPolicyTypes(new ArrayList()) + .setService(Taxonomy.Service.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -273,7 +279,10 @@ public void updateTaxonomyTest() throws Exception { .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString()) .setDisplayName("displayName1714148973") .setDescription("description-1724546052") + .setPolicyTagCount(1074340189) + .setTaxonomyTimestamps(SystemTimestamps.newBuilder().build()) .addAllActivatedPolicyTypes(new ArrayList()) + .setService(Taxonomy.Service.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -282,7 +291,10 @@ public void updateTaxonomyTest() throws Exception { .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString()) .setDisplayName("displayName1714148973") .setDescription("description-1724546052") + .setPolicyTagCount(1074340189) + .setTaxonomyTimestamps(SystemTimestamps.newBuilder().build()) .addAllActivatedPolicyTypes(new ArrayList()) + .setService(Taxonomy.Service.newBuilder().build()) .build(); Taxonomy actualResponse = client.updateTaxonomy(taxonomy); @@ -316,7 +328,10 @@ public void updateTaxonomyExceptionTest() throws Exception { .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString()) .setDisplayName("displayName1714148973") .setDescription("description-1724546052") + .setPolicyTagCount(1074340189) + .setTaxonomyTimestamps(SystemTimestamps.newBuilder().build()) .addAllActivatedPolicyTypes(new ArrayList()) + .setService(Taxonomy.Service.newBuilder().build()) .build(); client.updateTaxonomy(taxonomy); Assert.fail("No exception raised"); @@ -432,7 +447,10 @@ public void getTaxonomyTest() throws Exception { .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString()) .setDisplayName("displayName1714148973") .setDescription("description-1724546052") + .setPolicyTagCount(1074340189) + .setTaxonomyTimestamps(SystemTimestamps.newBuilder().build()) .addAllActivatedPolicyTypes(new ArrayList()) + .setService(Taxonomy.Service.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -479,7 +497,10 @@ public void getTaxonomyTest2() throws Exception { .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString()) .setDisplayName("displayName1714148973") .setDescription("description-1724546052") + .setPolicyTagCount(1074340189) + .setTaxonomyTimestamps(SystemTimestamps.newBuilder().build()) .addAllActivatedPolicyTypes(new ArrayList()) + .setService(Taxonomy.Service.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientTest.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientTest.java similarity index 97% rename from java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientTest.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientTest.java index 7e2c5f2a3793..9c084e91d9e9 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientTest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientTest.java @@ -55,6 +55,7 @@ @Generated("by gapic-generator-java") public class PolicyTagManagerClientTest { + private static MockIAMPolicy mockIAMPolicy; private static MockPolicyTagManager mockPolicyTagManager; private static MockServiceHelper mockServiceHelper; private LocalChannelProvider channelProvider; @@ -63,9 +64,11 @@ public class PolicyTagManagerClientTest { @BeforeClass public static void startStaticServer() { mockPolicyTagManager = new MockPolicyTagManager(); + mockIAMPolicy = new MockIAMPolicy(); mockServiceHelper = new MockServiceHelper( - UUID.randomUUID().toString(), Arrays.asList(mockPolicyTagManager)); + UUID.randomUUID().toString(), + Arrays.asList(mockPolicyTagManager, mockIAMPolicy)); mockServiceHelper.start(); } @@ -98,7 +101,10 @@ public void createTaxonomyTest() throws Exception { .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString()) .setDisplayName("displayName1714148973") .setDescription("description-1724546052") + .setPolicyTagCount(1074340189) + .setTaxonomyTimestamps(SystemTimestamps.newBuilder().build()) .addAllActivatedPolicyTypes(new ArrayList()) + .setService(Taxonomy.Service.newBuilder().build()) .build(); mockPolicyTagManager.addResponse(expectedResponse); @@ -142,7 +148,10 @@ public void createTaxonomyTest2() throws Exception { .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString()) .setDisplayName("displayName1714148973") .setDescription("description-1724546052") + .setPolicyTagCount(1074340189) + .setTaxonomyTimestamps(SystemTimestamps.newBuilder().build()) .addAllActivatedPolicyTypes(new ArrayList()) + .setService(Taxonomy.Service.newBuilder().build()) .build(); mockPolicyTagManager.addResponse(expectedResponse); @@ -254,7 +263,10 @@ public void updateTaxonomyTest() throws Exception { .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString()) .setDisplayName("displayName1714148973") .setDescription("description-1724546052") + .setPolicyTagCount(1074340189) + .setTaxonomyTimestamps(SystemTimestamps.newBuilder().build()) .addAllActivatedPolicyTypes(new ArrayList()) + .setService(Taxonomy.Service.newBuilder().build()) .build(); mockPolicyTagManager.addResponse(expectedResponse); @@ -383,7 +395,10 @@ public void getTaxonomyTest() throws Exception { .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString()) .setDisplayName("displayName1714148973") .setDescription("description-1724546052") + .setPolicyTagCount(1074340189) + .setTaxonomyTimestamps(SystemTimestamps.newBuilder().build()) .addAllActivatedPolicyTypes(new ArrayList()) + .setService(Taxonomy.Service.newBuilder().build()) .build(); mockPolicyTagManager.addResponse(expectedResponse); @@ -424,7 +439,10 @@ public void getTaxonomyTest2() throws Exception { .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString()) .setDisplayName("displayName1714148973") .setDescription("description-1724546052") + .setPolicyTagCount(1074340189) + .setTaxonomyTimestamps(SystemTimestamps.newBuilder().build()) .addAllActivatedPolicyTypes(new ArrayList()) + .setService(Taxonomy.Service.newBuilder().build()) .build(); mockPolicyTagManager.addResponse(expectedResponse); diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientHttpJsonTest.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientHttpJsonTest.java similarity index 100% rename from java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientHttpJsonTest.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientHttpJsonTest.java diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientTest.java b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientTest.java similarity index 98% rename from java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientTest.java rename to owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientTest.java index 97ec15c0137b..6ce0e6a05caa 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientTest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientTest.java @@ -40,6 +40,7 @@ @Generated("by gapic-generator-java") public class PolicyTagManagerSerializationClientTest { + private static MockIAMPolicy mockIAMPolicy; private static MockPolicyTagManagerSerialization mockPolicyTagManagerSerialization; private static MockServiceHelper mockServiceHelper; private LocalChannelProvider channelProvider; @@ -48,10 +49,11 @@ public class PolicyTagManagerSerializationClientTest { @BeforeClass public static void startStaticServer() { mockPolicyTagManagerSerialization = new MockPolicyTagManagerSerialization(); + mockIAMPolicy = new MockIAMPolicy(); mockServiceHelper = new MockServiceHelper( UUID.randomUUID().toString(), - Arrays.asList(mockPolicyTagManagerSerialization)); + Arrays.asList(mockPolicyTagManagerSerialization, mockIAMPolicy)); mockServiceHelper.start(); } diff --git a/owl-bot-staging/java-datacatalog/v1beta1/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogGrpc.java b/owl-bot-staging/java-datacatalog/v1beta1/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogGrpc.java new file mode 100644 index 000000000000..5c0e06a2b820 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogGrpc.java @@ -0,0 +1,3123 @@ +package com.google.cloud.datacatalog.v1beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * Data Catalog API service allows clients to discover, understand, and manage
+ * their data.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/datacatalog/v1beta1/datacatalog.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class DataCatalogGrpc { + + private DataCatalogGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.datacatalog.v1beta1.DataCatalog"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getSearchCatalogMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SearchCatalog", + requestType = com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSearchCatalogMethod() { + io.grpc.MethodDescriptor getSearchCatalogMethod; + if ((getSearchCatalogMethod = DataCatalogGrpc.getSearchCatalogMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getSearchCatalogMethod = DataCatalogGrpc.getSearchCatalogMethod) == null) { + DataCatalogGrpc.getSearchCatalogMethod = getSearchCatalogMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchCatalog")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("SearchCatalog")) + .build(); + } + } + } + return getSearchCatalogMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateEntryGroupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateEntryGroup", + requestType = com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.EntryGroup.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateEntryGroupMethod() { + io.grpc.MethodDescriptor getCreateEntryGroupMethod; + if ((getCreateEntryGroupMethod = DataCatalogGrpc.getCreateEntryGroupMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getCreateEntryGroupMethod = DataCatalogGrpc.getCreateEntryGroupMethod) == null) { + DataCatalogGrpc.getCreateEntryGroupMethod = getCreateEntryGroupMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEntryGroup")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("CreateEntryGroup")) + .build(); + } + } + } + return getCreateEntryGroupMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateEntryGroupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateEntryGroup", + requestType = com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.EntryGroup.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateEntryGroupMethod() { + io.grpc.MethodDescriptor getUpdateEntryGroupMethod; + if ((getUpdateEntryGroupMethod = DataCatalogGrpc.getUpdateEntryGroupMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getUpdateEntryGroupMethod = DataCatalogGrpc.getUpdateEntryGroupMethod) == null) { + DataCatalogGrpc.getUpdateEntryGroupMethod = getUpdateEntryGroupMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEntryGroup")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UpdateEntryGroup")) + .build(); + } + } + } + return getUpdateEntryGroupMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetEntryGroupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetEntryGroup", + requestType = com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.EntryGroup.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetEntryGroupMethod() { + io.grpc.MethodDescriptor getGetEntryGroupMethod; + if ((getGetEntryGroupMethod = DataCatalogGrpc.getGetEntryGroupMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getGetEntryGroupMethod = DataCatalogGrpc.getGetEntryGroupMethod) == null) { + DataCatalogGrpc.getGetEntryGroupMethod = getGetEntryGroupMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntryGroup")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("GetEntryGroup")) + .build(); + } + } + } + return getGetEntryGroupMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteEntryGroupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteEntryGroup", + requestType = com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteEntryGroupMethod() { + io.grpc.MethodDescriptor getDeleteEntryGroupMethod; + if ((getDeleteEntryGroupMethod = DataCatalogGrpc.getDeleteEntryGroupMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getDeleteEntryGroupMethod = DataCatalogGrpc.getDeleteEntryGroupMethod) == null) { + DataCatalogGrpc.getDeleteEntryGroupMethod = getDeleteEntryGroupMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEntryGroup")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("DeleteEntryGroup")) + .build(); + } + } + } + return getDeleteEntryGroupMethod; + } + + private static volatile io.grpc.MethodDescriptor getListEntryGroupsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListEntryGroups", + requestType = com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListEntryGroupsMethod() { + io.grpc.MethodDescriptor getListEntryGroupsMethod; + if ((getListEntryGroupsMethod = DataCatalogGrpc.getListEntryGroupsMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getListEntryGroupsMethod = DataCatalogGrpc.getListEntryGroupsMethod) == null) { + DataCatalogGrpc.getListEntryGroupsMethod = getListEntryGroupsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEntryGroups")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ListEntryGroups")) + .build(); + } + } + } + return getListEntryGroupsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateEntryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateEntry", + requestType = com.google.cloud.datacatalog.v1beta1.CreateEntryRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.Entry.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateEntryMethod() { + io.grpc.MethodDescriptor getCreateEntryMethod; + if ((getCreateEntryMethod = DataCatalogGrpc.getCreateEntryMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getCreateEntryMethod = DataCatalogGrpc.getCreateEntryMethod) == null) { + DataCatalogGrpc.getCreateEntryMethod = getCreateEntryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEntry")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.CreateEntryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("CreateEntry")) + .build(); + } + } + } + return getCreateEntryMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateEntryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateEntry", + requestType = com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.Entry.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateEntryMethod() { + io.grpc.MethodDescriptor getUpdateEntryMethod; + if ((getUpdateEntryMethod = DataCatalogGrpc.getUpdateEntryMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getUpdateEntryMethod = DataCatalogGrpc.getUpdateEntryMethod) == null) { + DataCatalogGrpc.getUpdateEntryMethod = getUpdateEntryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEntry")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UpdateEntry")) + .build(); + } + } + } + return getUpdateEntryMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteEntryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteEntry", + requestType = com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteEntryMethod() { + io.grpc.MethodDescriptor getDeleteEntryMethod; + if ((getDeleteEntryMethod = DataCatalogGrpc.getDeleteEntryMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getDeleteEntryMethod = DataCatalogGrpc.getDeleteEntryMethod) == null) { + DataCatalogGrpc.getDeleteEntryMethod = getDeleteEntryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEntry")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("DeleteEntry")) + .build(); + } + } + } + return getDeleteEntryMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetEntryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetEntry", + requestType = com.google.cloud.datacatalog.v1beta1.GetEntryRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.Entry.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetEntryMethod() { + io.grpc.MethodDescriptor getGetEntryMethod; + if ((getGetEntryMethod = DataCatalogGrpc.getGetEntryMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getGetEntryMethod = DataCatalogGrpc.getGetEntryMethod) == null) { + DataCatalogGrpc.getGetEntryMethod = getGetEntryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntry")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.GetEntryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("GetEntry")) + .build(); + } + } + } + return getGetEntryMethod; + } + + private static volatile io.grpc.MethodDescriptor getLookupEntryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "LookupEntry", + requestType = com.google.cloud.datacatalog.v1beta1.LookupEntryRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.Entry.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getLookupEntryMethod() { + io.grpc.MethodDescriptor getLookupEntryMethod; + if ((getLookupEntryMethod = DataCatalogGrpc.getLookupEntryMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getLookupEntryMethod = DataCatalogGrpc.getLookupEntryMethod) == null) { + DataCatalogGrpc.getLookupEntryMethod = getLookupEntryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LookupEntry")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.LookupEntryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("LookupEntry")) + .build(); + } + } + } + return getLookupEntryMethod; + } + + private static volatile io.grpc.MethodDescriptor getListEntriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListEntries", + requestType = com.google.cloud.datacatalog.v1beta1.ListEntriesRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.ListEntriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListEntriesMethod() { + io.grpc.MethodDescriptor getListEntriesMethod; + if ((getListEntriesMethod = DataCatalogGrpc.getListEntriesMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getListEntriesMethod = DataCatalogGrpc.getListEntriesMethod) == null) { + DataCatalogGrpc.getListEntriesMethod = getListEntriesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEntries")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.ListEntriesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.ListEntriesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ListEntries")) + .build(); + } + } + } + return getListEntriesMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateTagTemplateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTagTemplate", + requestType = com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.TagTemplate.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateTagTemplateMethod() { + io.grpc.MethodDescriptor getCreateTagTemplateMethod; + if ((getCreateTagTemplateMethod = DataCatalogGrpc.getCreateTagTemplateMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getCreateTagTemplateMethod = DataCatalogGrpc.getCreateTagTemplateMethod) == null) { + DataCatalogGrpc.getCreateTagTemplateMethod = getCreateTagTemplateMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTagTemplate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("CreateTagTemplate")) + .build(); + } + } + } + return getCreateTagTemplateMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetTagTemplateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTagTemplate", + requestType = com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.TagTemplate.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetTagTemplateMethod() { + io.grpc.MethodDescriptor getGetTagTemplateMethod; + if ((getGetTagTemplateMethod = DataCatalogGrpc.getGetTagTemplateMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getGetTagTemplateMethod = DataCatalogGrpc.getGetTagTemplateMethod) == null) { + DataCatalogGrpc.getGetTagTemplateMethod = getGetTagTemplateMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTagTemplate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("GetTagTemplate")) + .build(); + } + } + } + return getGetTagTemplateMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateTagTemplateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTagTemplate", + requestType = com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.TagTemplate.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateTagTemplateMethod() { + io.grpc.MethodDescriptor getUpdateTagTemplateMethod; + if ((getUpdateTagTemplateMethod = DataCatalogGrpc.getUpdateTagTemplateMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getUpdateTagTemplateMethod = DataCatalogGrpc.getUpdateTagTemplateMethod) == null) { + DataCatalogGrpc.getUpdateTagTemplateMethod = getUpdateTagTemplateMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTagTemplate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UpdateTagTemplate")) + .build(); + } + } + } + return getUpdateTagTemplateMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteTagTemplateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTagTemplate", + requestType = com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteTagTemplateMethod() { + io.grpc.MethodDescriptor getDeleteTagTemplateMethod; + if ((getDeleteTagTemplateMethod = DataCatalogGrpc.getDeleteTagTemplateMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getDeleteTagTemplateMethod = DataCatalogGrpc.getDeleteTagTemplateMethod) == null) { + DataCatalogGrpc.getDeleteTagTemplateMethod = getDeleteTagTemplateMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTagTemplate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("DeleteTagTemplate")) + .build(); + } + } + } + return getDeleteTagTemplateMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateTagTemplateFieldMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTagTemplateField", + requestType = com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.TagTemplateField.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateTagTemplateFieldMethod() { + io.grpc.MethodDescriptor getCreateTagTemplateFieldMethod; + if ((getCreateTagTemplateFieldMethod = DataCatalogGrpc.getCreateTagTemplateFieldMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getCreateTagTemplateFieldMethod = DataCatalogGrpc.getCreateTagTemplateFieldMethod) == null) { + DataCatalogGrpc.getCreateTagTemplateFieldMethod = getCreateTagTemplateFieldMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTagTemplateField")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("CreateTagTemplateField")) + .build(); + } + } + } + return getCreateTagTemplateFieldMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateTagTemplateFieldMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTagTemplateField", + requestType = com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.TagTemplateField.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateTagTemplateFieldMethod() { + io.grpc.MethodDescriptor getUpdateTagTemplateFieldMethod; + if ((getUpdateTagTemplateFieldMethod = DataCatalogGrpc.getUpdateTagTemplateFieldMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getUpdateTagTemplateFieldMethod = DataCatalogGrpc.getUpdateTagTemplateFieldMethod) == null) { + DataCatalogGrpc.getUpdateTagTemplateFieldMethod = getUpdateTagTemplateFieldMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTagTemplateField")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UpdateTagTemplateField")) + .build(); + } + } + } + return getUpdateTagTemplateFieldMethod; + } + + private static volatile io.grpc.MethodDescriptor getRenameTagTemplateFieldMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RenameTagTemplateField", + requestType = com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.TagTemplateField.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRenameTagTemplateFieldMethod() { + io.grpc.MethodDescriptor getRenameTagTemplateFieldMethod; + if ((getRenameTagTemplateFieldMethod = DataCatalogGrpc.getRenameTagTemplateFieldMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getRenameTagTemplateFieldMethod = DataCatalogGrpc.getRenameTagTemplateFieldMethod) == null) { + DataCatalogGrpc.getRenameTagTemplateFieldMethod = getRenameTagTemplateFieldMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RenameTagTemplateField")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("RenameTagTemplateField")) + .build(); + } + } + } + return getRenameTagTemplateFieldMethod; + } + + private static volatile io.grpc.MethodDescriptor getRenameTagTemplateFieldEnumValueMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RenameTagTemplateFieldEnumValue", + requestType = com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.TagTemplateField.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRenameTagTemplateFieldEnumValueMethod() { + io.grpc.MethodDescriptor getRenameTagTemplateFieldEnumValueMethod; + if ((getRenameTagTemplateFieldEnumValueMethod = DataCatalogGrpc.getRenameTagTemplateFieldEnumValueMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getRenameTagTemplateFieldEnumValueMethod = DataCatalogGrpc.getRenameTagTemplateFieldEnumValueMethod) == null) { + DataCatalogGrpc.getRenameTagTemplateFieldEnumValueMethod = getRenameTagTemplateFieldEnumValueMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RenameTagTemplateFieldEnumValue")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("RenameTagTemplateFieldEnumValue")) + .build(); + } + } + } + return getRenameTagTemplateFieldEnumValueMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteTagTemplateFieldMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTagTemplateField", + requestType = com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteTagTemplateFieldMethod() { + io.grpc.MethodDescriptor getDeleteTagTemplateFieldMethod; + if ((getDeleteTagTemplateFieldMethod = DataCatalogGrpc.getDeleteTagTemplateFieldMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getDeleteTagTemplateFieldMethod = DataCatalogGrpc.getDeleteTagTemplateFieldMethod) == null) { + DataCatalogGrpc.getDeleteTagTemplateFieldMethod = getDeleteTagTemplateFieldMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTagTemplateField")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("DeleteTagTemplateField")) + .build(); + } + } + } + return getDeleteTagTemplateFieldMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTag", + requestType = com.google.cloud.datacatalog.v1beta1.CreateTagRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateTagMethod() { + io.grpc.MethodDescriptor getCreateTagMethod; + if ((getCreateTagMethod = DataCatalogGrpc.getCreateTagMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getCreateTagMethod = DataCatalogGrpc.getCreateTagMethod) == null) { + DataCatalogGrpc.getCreateTagMethod = getCreateTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.CreateTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("CreateTag")) + .build(); + } + } + } + return getCreateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTag", + requestType = com.google.cloud.datacatalog.v1beta1.UpdateTagRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateTagMethod() { + io.grpc.MethodDescriptor getUpdateTagMethod; + if ((getUpdateTagMethod = DataCatalogGrpc.getUpdateTagMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getUpdateTagMethod = DataCatalogGrpc.getUpdateTagMethod) == null) { + DataCatalogGrpc.getUpdateTagMethod = getUpdateTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.UpdateTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UpdateTag")) + .build(); + } + } + } + return getUpdateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTag", + requestType = com.google.cloud.datacatalog.v1beta1.DeleteTagRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteTagMethod() { + io.grpc.MethodDescriptor getDeleteTagMethod; + if ((getDeleteTagMethod = DataCatalogGrpc.getDeleteTagMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getDeleteTagMethod = DataCatalogGrpc.getDeleteTagMethod) == null) { + DataCatalogGrpc.getDeleteTagMethod = getDeleteTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.DeleteTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("DeleteTag")) + .build(); + } + } + } + return getDeleteTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getListTagsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTags", + requestType = com.google.cloud.datacatalog.v1beta1.ListTagsRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.ListTagsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListTagsMethod() { + io.grpc.MethodDescriptor getListTagsMethod; + if ((getListTagsMethod = DataCatalogGrpc.getListTagsMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getListTagsMethod = DataCatalogGrpc.getListTagsMethod) == null) { + DataCatalogGrpc.getListTagsMethod = getListTagsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.ListTagsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.ListTagsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ListTags")) + .build(); + } + } + } + return getListTagsMethod; + } + + 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 getSetIamPolicyMethod() { + io.grpc.MethodDescriptor getSetIamPolicyMethod; + if ((getSetIamPolicyMethod = DataCatalogGrpc.getSetIamPolicyMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getSetIamPolicyMethod = DataCatalogGrpc.getSetIamPolicyMethod) == null) { + DataCatalogGrpc.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 DataCatalogMethodDescriptorSupplier("SetIamPolicy")) + .build(); + } + } + } + return getSetIamPolicyMethod; + } + + 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 getGetIamPolicyMethod() { + io.grpc.MethodDescriptor getGetIamPolicyMethod; + if ((getGetIamPolicyMethod = DataCatalogGrpc.getGetIamPolicyMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getGetIamPolicyMethod = DataCatalogGrpc.getGetIamPolicyMethod) == null) { + DataCatalogGrpc.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 DataCatalogMethodDescriptorSupplier("GetIamPolicy")) + .build(); + } + } + } + return getGetIamPolicyMethod; + } + + 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 getTestIamPermissionsMethod() { + io.grpc.MethodDescriptor getTestIamPermissionsMethod; + if ((getTestIamPermissionsMethod = DataCatalogGrpc.getTestIamPermissionsMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getTestIamPermissionsMethod = DataCatalogGrpc.getTestIamPermissionsMethod) == null) { + DataCatalogGrpc.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 DataCatalogMethodDescriptorSupplier("TestIamPermissions")) + .build(); + } + } + } + return getTestIamPermissionsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static DataCatalogStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataCatalogStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataCatalogStub(channel, callOptions); + } + }; + return DataCatalogStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static DataCatalogBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataCatalogBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataCatalogBlockingStub(channel, callOptions); + } + }; + return DataCatalogBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static DataCatalogFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataCatalogFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataCatalogFutureStub(channel, callOptions); + } + }; + return DataCatalogFutureStub.newStub(factory, channel); + } + + /** + *
+   * Data Catalog API service allows clients to discover, understand, and manage
+   * their data.
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * Searches Data Catalog for multiple resources like entries, tags that
+     * match a query.
+     * This is a custom method
+     * (https://cloud.google.com/apis/design/custom_methods) and does not return
+     * the complete resource, only the resource identifier and high level
+     * fields. Clients can subsequently call `Get` methods.
+     * Note that Data Catalog search queries do not guarantee full recall. Query
+     * results that match your query may not be returned, even in subsequent
+     * result pages. Also note that results returned (and not returned) can vary
+     * across repeated search queries.
+     * See [Data Catalog Search
+     * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
+     * for more information.
+     * 
+ */ + default void searchCatalog(com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchCatalogMethod(), responseObserver); + } + + /** + *
+     * A maximum of 10,000 entry groups may be created per organization across all
+     * locations.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `parent` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + default void createEntryGroup(com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateEntryGroupMethod(), responseObserver); + } + + /** + *
+     * Updates an EntryGroup. The user should enable the Data Catalog API in the
+     * project identified by the `entry_group.name` parameter (see [Data Catalog
+     * Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + default void updateEntryGroup(com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateEntryGroupMethod(), responseObserver); + } + + /** + *
+     * Gets an EntryGroup.
+     * 
+ */ + default void getEntryGroup(com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEntryGroupMethod(), responseObserver); + } + + /** + *
+     * Deletes an EntryGroup. Only entry groups that do not contain entries can be
+     * deleted. Users should enable the Data Catalog API in the project
+     * identified by the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + default void deleteEntryGroup(com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteEntryGroupMethod(), responseObserver); + } + + /** + *
+     * Lists entry groups.
+     * 
+ */ + default void listEntryGroups(com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListEntryGroupsMethod(), responseObserver); + } + + /** + *
+     * Creates an entry. Only entries of 'FILESET' type or user-specified type can
+     * be created.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `parent` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * A maximum of 100,000 entries may be created per entry group.
+     * 
+ */ + default void createEntry(com.google.cloud.datacatalog.v1beta1.CreateEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateEntryMethod(), responseObserver); + } + + /** + *
+     * Updates an existing entry.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `entry.name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + default void updateEntry(com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateEntryMethod(), responseObserver); + } + + /** + *
+     * Deletes an existing entry. Only entries created through
+     * [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry]
+     * method can be deleted.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + default void deleteEntry(com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteEntryMethod(), responseObserver); + } + + /** + *
+     * Gets an entry.
+     * 
+ */ + default void getEntry(com.google.cloud.datacatalog.v1beta1.GetEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEntryMethod(), responseObserver); + } + + /** + *
+     * Get an entry by target resource name. This method allows clients to use
+     * the resource name from the source Google Cloud Platform service to get the
+     * Data Catalog Entry.
+     * 
+ */ + default void lookupEntry(com.google.cloud.datacatalog.v1beta1.LookupEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getLookupEntryMethod(), responseObserver); + } + + /** + *
+     * Lists entries.
+     * 
+ */ + default void listEntries(com.google.cloud.datacatalog.v1beta1.ListEntriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListEntriesMethod(), responseObserver); + } + + /** + *
+     * Creates a tag template. The user should enable the Data Catalog API in
+     * the project identified by the `parent` parameter (see [Data Catalog
+     * Resource
+     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
+     * for more information).
+     * 
+ */ + default void createTagTemplate(com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagTemplateMethod(), responseObserver); + } + + /** + *
+     * Gets a tag template.
+     * 
+ */ + default void getTagTemplate(com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagTemplateMethod(), responseObserver); + } + + /** + *
+     * Updates a tag template. This method cannot be used to update the fields of
+     * a template. The tag template fields are represented as separate resources
+     * and should be updated using their own create/update/delete methods.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `tag_template.name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + default void updateTagTemplate(com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagTemplateMethod(), responseObserver); + } + + /** + *
+     * Deletes a tag template and all tags using the template.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + default void deleteTagTemplate(com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagTemplateMethod(), responseObserver); + } + + /** + *
+     * Creates a field in a tag template. The user should enable the Data Catalog
+     * API in the project identified by the `parent` parameter (see
+     * [Data Catalog Resource
+     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
+     * for more information).
+     * 
+ */ + default void createTagTemplateField(com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagTemplateFieldMethod(), responseObserver); + } + + /** + *
+     * Updates a field in a tag template. This method cannot be used to update the
+     * field type. Users should enable the Data Catalog API in the project
+     * identified by the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + default void updateTagTemplateField(com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagTemplateFieldMethod(), responseObserver); + } + + /** + *
+     * Renames a field in a tag template. The user should enable the Data Catalog
+     * API in the project identified by the `name` parameter (see [Data Catalog
+     * Resource
+     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
+     * for more information).
+     * 
+ */ + default void renameTagTemplateField(com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRenameTagTemplateFieldMethod(), responseObserver); + } + + /** + *
+     * Renames an enum value in a tag template. The enum values have to be unique
+     * within one enum field. Thus, an enum value cannot be renamed with a name
+     * used in any other enum value within the same enum field.
+     * 
+ */ + default void renameTagTemplateFieldEnumValue(com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRenameTagTemplateFieldEnumValueMethod(), responseObserver); + } + + /** + *
+     * Deletes a field in a tag template and all uses of that field.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + default void deleteTagTemplateField(com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagTemplateFieldMethod(), responseObserver); + } + + /** + *
+     * Creates a tag on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+     * Note: The project identified by the `parent` parameter for the
+     * [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters)
+     * and the
+     * [tag
+     * template](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters)
+     * used to create the tag must be from the same organization.
+     * 
+ */ + default void createTag(com.google.cloud.datacatalog.v1beta1.CreateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); + } + + /** + *
+     * Updates an existing tag.
+     * 
+ */ + default void updateTag(com.google.cloud.datacatalog.v1beta1.UpdateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + default void deleteTag(com.google.cloud.datacatalog.v1beta1.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); + } + + /** + *
+     * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+     * The [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response
+     * are lowercased.
+     * 
+ */ + default void listTags(com.google.cloud.datacatalog.v1beta1.ListTagsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); + } + + /** + *
+     * Sets the access control policy for a resource. Replaces any existing
+     * policy.
+     * Supported resources are:
+     *   - Tag templates.
+     *   - Entries.
+     *   - Entry groups.
+     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
+     * and any external Google Cloud Platform resources synced to Data Catalog.
+     * Callers must have following Google IAM permission
+     *   - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
+     *     templates.
+     *   - `datacatalog.entries.setIamPolicy` to set policies on entries.
+     *   - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
+     * 
+ */ + default void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Gets the access control policy for a resource. A `NOT_FOUND` error
+     * is returned if the resource does not exist. An empty policy is returned
+     * if the resource exists but does not have a policy set on it.
+     * Supported resources are:
+     *   - Tag templates.
+     *   - Entries.
+     *   - Entry groups.
+     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
+     * and any external Google Cloud Platform resources synced to Data Catalog.
+     * Callers must have following Google IAM permission
+     *   - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
+     *     templates.
+     *   - `datacatalog.entries.getIamPolicy` to get policies on entries.
+     *   - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
+     * 
+ */ + default void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Returns the caller's permissions on a resource.
+     * If the resource does not exist, an empty set of permissions is returned
+     * (We don't return a `NOT_FOUND` error).
+     * Supported resources are:
+     *   - Tag templates.
+     *   - Entries.
+     *   - Entry groups.
+     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
+     * and any external Google Cloud Platform resources synced to Data Catalog.
+     * A caller is not required to have Google IAM permission to make this
+     * request.
+     * 
+ */ + default void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service DataCatalog. + *
+   * Data Catalog API service allows clients to discover, understand, and manage
+   * their data.
+   * 
+ */ + public static abstract class DataCatalogImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return DataCatalogGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service DataCatalog. + *
+   * Data Catalog API service allows clients to discover, understand, and manage
+   * their data.
+   * 
+ */ + public static final class DataCatalogStub + extends io.grpc.stub.AbstractAsyncStub { + private DataCatalogStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataCatalogStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataCatalogStub(channel, callOptions); + } + + /** + *
+     * Searches Data Catalog for multiple resources like entries, tags that
+     * match a query.
+     * This is a custom method
+     * (https://cloud.google.com/apis/design/custom_methods) and does not return
+     * the complete resource, only the resource identifier and high level
+     * fields. Clients can subsequently call `Get` methods.
+     * Note that Data Catalog search queries do not guarantee full recall. Query
+     * results that match your query may not be returned, even in subsequent
+     * result pages. Also note that results returned (and not returned) can vary
+     * across repeated search queries.
+     * See [Data Catalog Search
+     * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
+     * for more information.
+     * 
+ */ + public void searchCatalog(com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSearchCatalogMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * A maximum of 10,000 entry groups may be created per organization across all
+     * locations.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `parent` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public void createEntryGroup(com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateEntryGroupMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates an EntryGroup. The user should enable the Data Catalog API in the
+     * project identified by the `entry_group.name` parameter (see [Data Catalog
+     * Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public void updateEntryGroup(com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateEntryGroupMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets an EntryGroup.
+     * 
+ */ + public void getEntryGroup(com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetEntryGroupMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes an EntryGroup. Only entry groups that do not contain entries can be
+     * deleted. Users should enable the Data Catalog API in the project
+     * identified by the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public void deleteEntryGroup(com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteEntryGroupMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists entry groups.
+     * 
+ */ + public void listEntryGroups(com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListEntryGroupsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates an entry. Only entries of 'FILESET' type or user-specified type can
+     * be created.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `parent` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * A maximum of 100,000 entries may be created per entry group.
+     * 
+ */ + public void createEntry(com.google.cloud.datacatalog.v1beta1.CreateEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateEntryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates an existing entry.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `entry.name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public void updateEntry(com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateEntryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes an existing entry. Only entries created through
+     * [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry]
+     * method can be deleted.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public void deleteEntry(com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteEntryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets an entry.
+     * 
+ */ + public void getEntry(com.google.cloud.datacatalog.v1beta1.GetEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetEntryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get an entry by target resource name. This method allows clients to use
+     * the resource name from the source Google Cloud Platform service to get the
+     * Data Catalog Entry.
+     * 
+ */ + public void lookupEntry(com.google.cloud.datacatalog.v1beta1.LookupEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getLookupEntryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists entries.
+     * 
+ */ + public void listEntries(com.google.cloud.datacatalog.v1beta1.ListEntriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListEntriesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a tag template. The user should enable the Data Catalog API in
+     * the project identified by the `parent` parameter (see [Data Catalog
+     * Resource
+     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
+     * for more information).
+     * 
+ */ + public void createTagTemplate(com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTagTemplateMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a tag template.
+     * 
+ */ + public void getTagTemplate(com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTagTemplateMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a tag template. This method cannot be used to update the fields of
+     * a template. The tag template fields are represented as separate resources
+     * and should be updated using their own create/update/delete methods.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `tag_template.name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public void updateTagTemplate(com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTagTemplateMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a tag template and all tags using the template.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public void deleteTagTemplate(com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTagTemplateMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a field in a tag template. The user should enable the Data Catalog
+     * API in the project identified by the `parent` parameter (see
+     * [Data Catalog Resource
+     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
+     * for more information).
+     * 
+ */ + public void createTagTemplateField(com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTagTemplateFieldMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a field in a tag template. This method cannot be used to update the
+     * field type. Users should enable the Data Catalog API in the project
+     * identified by the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public void updateTagTemplateField(com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTagTemplateFieldMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Renames a field in a tag template. The user should enable the Data Catalog
+     * API in the project identified by the `name` parameter (see [Data Catalog
+     * Resource
+     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
+     * for more information).
+     * 
+ */ + public void renameTagTemplateField(com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRenameTagTemplateFieldMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Renames an enum value in a tag template. The enum values have to be unique
+     * within one enum field. Thus, an enum value cannot be renamed with a name
+     * used in any other enum value within the same enum field.
+     * 
+ */ + public void renameTagTemplateFieldEnumValue(com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRenameTagTemplateFieldEnumValueMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a field in a tag template and all uses of that field.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public void deleteTagTemplateField(com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTagTemplateFieldMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a tag on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+     * Note: The project identified by the `parent` parameter for the
+     * [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters)
+     * and the
+     * [tag
+     * template](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters)
+     * used to create the tag must be from the same organization.
+     * 
+ */ + public void createTag(com.google.cloud.datacatalog.v1beta1.CreateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates an existing tag.
+     * 
+ */ + public void updateTag(com.google.cloud.datacatalog.v1beta1.UpdateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag(com.google.cloud.datacatalog.v1beta1.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+     * The [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response
+     * are lowercased.
+     * 
+ */ + public void listTags(com.google.cloud.datacatalog.v1beta1.ListTagsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Sets the access control policy for a resource. Replaces any existing
+     * policy.
+     * Supported resources are:
+     *   - Tag templates.
+     *   - Entries.
+     *   - Entry groups.
+     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
+     * and any external Google Cloud Platform resources synced to Data Catalog.
+     * Callers must have following Google IAM permission
+     *   - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
+     *     templates.
+     *   - `datacatalog.entries.setIamPolicy` to set policies on entries.
+     *   - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
+     * 
+ */ + 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); + } + + /** + *
+     * Gets the access control policy for a resource. A `NOT_FOUND` error
+     * is returned if the resource does not exist. An empty policy is returned
+     * if the resource exists but does not have a policy set on it.
+     * Supported resources are:
+     *   - Tag templates.
+     *   - Entries.
+     *   - Entry groups.
+     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
+     * and any external Google Cloud Platform resources synced to Data Catalog.
+     * Callers must have following Google IAM permission
+     *   - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
+     *     templates.
+     *   - `datacatalog.entries.getIamPolicy` to get policies on entries.
+     *   - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
+     * 
+ */ + 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); + } + + /** + *
+     * Returns the caller's permissions on a resource.
+     * If the resource does not exist, an empty set of permissions is returned
+     * (We don't return a `NOT_FOUND` error).
+     * Supported resources are:
+     *   - Tag templates.
+     *   - Entries.
+     *   - Entry groups.
+     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
+     * and any external Google Cloud Platform resources synced to Data Catalog.
+     * A caller is not required to have Google IAM permission to make this
+     * request.
+     * 
+ */ + 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); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service DataCatalog. + *
+   * Data Catalog API service allows clients to discover, understand, and manage
+   * their data.
+   * 
+ */ + public static final class DataCatalogBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private DataCatalogBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataCatalogBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataCatalogBlockingStub(channel, callOptions); + } + + /** + *
+     * Searches Data Catalog for multiple resources like entries, tags that
+     * match a query.
+     * This is a custom method
+     * (https://cloud.google.com/apis/design/custom_methods) and does not return
+     * the complete resource, only the resource identifier and high level
+     * fields. Clients can subsequently call `Get` methods.
+     * Note that Data Catalog search queries do not guarantee full recall. Query
+     * results that match your query may not be returned, even in subsequent
+     * result pages. Also note that results returned (and not returned) can vary
+     * across repeated search queries.
+     * See [Data Catalog Search
+     * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
+     * for more information.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse searchCatalog(com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSearchCatalogMethod(), getCallOptions(), request); + } + + /** + *
+     * A maximum of 10,000 entry groups may be created per organization across all
+     * locations.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `parent` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.EntryGroup createEntryGroup(com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateEntryGroupMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates an EntryGroup. The user should enable the Data Catalog API in the
+     * project identified by the `entry_group.name` parameter (see [Data Catalog
+     * Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.EntryGroup updateEntryGroup(com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateEntryGroupMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets an EntryGroup.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroup(com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetEntryGroupMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes an EntryGroup. Only entry groups that do not contain entries can be
+     * deleted. Users should enable the Data Catalog API in the project
+     * identified by the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.protobuf.Empty deleteEntryGroup(com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteEntryGroupMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists entry groups.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse listEntryGroups(com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListEntryGroupsMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates an entry. Only entries of 'FILESET' type or user-specified type can
+     * be created.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `parent` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * A maximum of 100,000 entries may be created per entry group.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.Entry createEntry(com.google.cloud.datacatalog.v1beta1.CreateEntryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateEntryMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates an existing entry.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `entry.name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.Entry updateEntry(com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateEntryMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes an existing entry. Only entries created through
+     * [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry]
+     * method can be deleted.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.protobuf.Empty deleteEntry(com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteEntryMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets an entry.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.Entry getEntry(com.google.cloud.datacatalog.v1beta1.GetEntryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetEntryMethod(), getCallOptions(), request); + } + + /** + *
+     * Get an entry by target resource name. This method allows clients to use
+     * the resource name from the source Google Cloud Platform service to get the
+     * Data Catalog Entry.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.Entry lookupEntry(com.google.cloud.datacatalog.v1beta1.LookupEntryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getLookupEntryMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists entries.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.ListEntriesResponse listEntries(com.google.cloud.datacatalog.v1beta1.ListEntriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListEntriesMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a tag template. The user should enable the Data Catalog API in
+     * the project identified by the `parent` parameter (see [Data Catalog
+     * Resource
+     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
+     * for more information).
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.TagTemplate createTagTemplate(com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTagTemplateMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a tag template.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.TagTemplate getTagTemplate(com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTagTemplateMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a tag template. This method cannot be used to update the fields of
+     * a template. The tag template fields are represented as separate resources
+     * and should be updated using their own create/update/delete methods.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `tag_template.name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.TagTemplate updateTagTemplate(com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTagTemplateMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a tag template and all tags using the template.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.protobuf.Empty deleteTagTemplate(com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTagTemplateMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a field in a tag template. The user should enable the Data Catalog
+     * API in the project identified by the `parent` parameter (see
+     * [Data Catalog Resource
+     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
+     * for more information).
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.TagTemplateField createTagTemplateField(com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTagTemplateFieldMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a field in a tag template. This method cannot be used to update the
+     * field type. Users should enable the Data Catalog API in the project
+     * identified by the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.TagTemplateField updateTagTemplateField(com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTagTemplateFieldMethod(), getCallOptions(), request); + } + + /** + *
+     * Renames a field in a tag template. The user should enable the Data Catalog
+     * API in the project identified by the `name` parameter (see [Data Catalog
+     * Resource
+     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
+     * for more information).
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.TagTemplateField renameTagTemplateField(com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRenameTagTemplateFieldMethod(), getCallOptions(), request); + } + + /** + *
+     * Renames an enum value in a tag template. The enum values have to be unique
+     * within one enum field. Thus, an enum value cannot be renamed with a name
+     * used in any other enum value within the same enum field.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.TagTemplateField renameTagTemplateFieldEnumValue(com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRenameTagTemplateFieldEnumValueMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a field in a tag template and all uses of that field.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.protobuf.Empty deleteTagTemplateField(com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTagTemplateFieldMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a tag on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+     * Note: The project identified by the `parent` parameter for the
+     * [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters)
+     * and the
+     * [tag
+     * template](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters)
+     * used to create the tag must be from the same organization.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.Tag createTag(com.google.cloud.datacatalog.v1beta1.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates an existing tag.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.Tag updateTag(com.google.cloud.datacatalog.v1beta1.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.protobuf.Empty deleteTag(com.google.cloud.datacatalog.v1beta1.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+     * The [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response
+     * are lowercased.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.ListTagsResponse listTags(com.google.cloud.datacatalog.v1beta1.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTagsMethod(), getCallOptions(), request); + } + + /** + *
+     * Sets the access control policy for a resource. Replaces any existing
+     * policy.
+     * Supported resources are:
+     *   - Tag templates.
+     *   - Entries.
+     *   - Entry groups.
+     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
+     * and any external Google Cloud Platform resources synced to Data Catalog.
+     * Callers must have following Google IAM permission
+     *   - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
+     *     templates.
+     *   - `datacatalog.entries.setIamPolicy` to set policies on entries.
+     *   - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
+     * 
+ */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the access control policy for a resource. A `NOT_FOUND` error
+     * is returned if the resource does not exist. An empty policy is returned
+     * if the resource exists but does not have a policy set on it.
+     * Supported resources are:
+     *   - Tag templates.
+     *   - Entries.
+     *   - Entry groups.
+     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
+     * and any external Google Cloud Platform resources synced to Data Catalog.
+     * Callers must have following Google IAM permission
+     *   - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
+     *     templates.
+     *   - `datacatalog.entries.getIamPolicy` to get policies on entries.
+     *   - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
+     * 
+ */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns the caller's permissions on a resource.
+     * If the resource does not exist, an empty set of permissions is returned
+     * (We don't return a `NOT_FOUND` error).
+     * Supported resources are:
+     *   - Tag templates.
+     *   - Entries.
+     *   - Entry groups.
+     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
+     * and any external Google Cloud Platform resources synced to Data Catalog.
+     * A caller is not required to have Google IAM permission to make this
+     * request.
+     * 
+ */ + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service DataCatalog. + *
+   * Data Catalog API service allows clients to discover, understand, and manage
+   * their data.
+   * 
+ */ + public static final class DataCatalogFutureStub + extends io.grpc.stub.AbstractFutureStub { + private DataCatalogFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataCatalogFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataCatalogFutureStub(channel, callOptions); + } + + /** + *
+     * Searches Data Catalog for multiple resources like entries, tags that
+     * match a query.
+     * This is a custom method
+     * (https://cloud.google.com/apis/design/custom_methods) and does not return
+     * the complete resource, only the resource identifier and high level
+     * fields. Clients can subsequently call `Get` methods.
+     * Note that Data Catalog search queries do not guarantee full recall. Query
+     * results that match your query may not be returned, even in subsequent
+     * result pages. Also note that results returned (and not returned) can vary
+     * across repeated search queries.
+     * See [Data Catalog Search
+     * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
+     * for more information.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture searchCatalog( + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSearchCatalogMethod(), getCallOptions()), request); + } + + /** + *
+     * A maximum of 10,000 entry groups may be created per organization across all
+     * locations.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `parent` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createEntryGroup( + com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateEntryGroupMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates an EntryGroup. The user should enable the Data Catalog API in the
+     * project identified by the `entry_group.name` parameter (see [Data Catalog
+     * Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateEntryGroup( + com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateEntryGroupMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets an EntryGroup.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getEntryGroup( + com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetEntryGroupMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes an EntryGroup. Only entry groups that do not contain entries can be
+     * deleted. Users should enable the Data Catalog API in the project
+     * identified by the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteEntryGroup( + com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteEntryGroupMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists entry groups.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listEntryGroups( + com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListEntryGroupsMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates an entry. Only entries of 'FILESET' type or user-specified type can
+     * be created.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `parent` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * A maximum of 100,000 entries may be created per entry group.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createEntry( + com.google.cloud.datacatalog.v1beta1.CreateEntryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateEntryMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates an existing entry.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `entry.name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateEntry( + com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateEntryMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes an existing entry. Only entries created through
+     * [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry]
+     * method can be deleted.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteEntry( + com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteEntryMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets an entry.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getEntry( + com.google.cloud.datacatalog.v1beta1.GetEntryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetEntryMethod(), getCallOptions()), request); + } + + /** + *
+     * Get an entry by target resource name. This method allows clients to use
+     * the resource name from the source Google Cloud Platform service to get the
+     * Data Catalog Entry.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture lookupEntry( + com.google.cloud.datacatalog.v1beta1.LookupEntryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getLookupEntryMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists entries.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listEntries( + com.google.cloud.datacatalog.v1beta1.ListEntriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListEntriesMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a tag template. The user should enable the Data Catalog API in
+     * the project identified by the `parent` parameter (see [Data Catalog
+     * Resource
+     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
+     * for more information).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createTagTemplate( + com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTagTemplateMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a tag template.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getTagTemplate( + com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTagTemplateMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a tag template. This method cannot be used to update the fields of
+     * a template. The tag template fields are represented as separate resources
+     * and should be updated using their own create/update/delete methods.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `tag_template.name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateTagTemplate( + com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTagTemplateMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a tag template and all tags using the template.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTagTemplate( + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTagTemplateMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a field in a tag template. The user should enable the Data Catalog
+     * API in the project identified by the `parent` parameter (see
+     * [Data Catalog Resource
+     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
+     * for more information).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createTagTemplateField( + com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTagTemplateFieldMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a field in a tag template. This method cannot be used to update the
+     * field type. Users should enable the Data Catalog API in the project
+     * identified by the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateTagTemplateField( + com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTagTemplateFieldMethod(), getCallOptions()), request); + } + + /** + *
+     * Renames a field in a tag template. The user should enable the Data Catalog
+     * API in the project identified by the `name` parameter (see [Data Catalog
+     * Resource
+     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
+     * for more information).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture renameTagTemplateField( + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRenameTagTemplateFieldMethod(), getCallOptions()), request); + } + + /** + *
+     * Renames an enum value in a tag template. The enum values have to be unique
+     * within one enum field. Thus, an enum value cannot be renamed with a name
+     * used in any other enum value within the same enum field.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture renameTagTemplateFieldEnumValue( + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRenameTagTemplateFieldEnumValueMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a field in a tag template and all uses of that field.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTagTemplateField( + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTagTemplateFieldMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a tag on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+     * Note: The project identified by the `parent` parameter for the
+     * [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters)
+     * and the
+     * [tag
+     * template](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters)
+     * used to create the tag must be from the same organization.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createTag( + com.google.cloud.datacatalog.v1beta1.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates an existing tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateTag( + com.google.cloud.datacatalog.v1beta1.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTag( + com.google.cloud.datacatalog.v1beta1.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+     * The [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response
+     * are lowercased.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listTags( + com.google.cloud.datacatalog.v1beta1.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request); + } + + /** + *
+     * Sets the access control policy for a resource. Replaces any existing
+     * policy.
+     * Supported resources are:
+     *   - Tag templates.
+     *   - Entries.
+     *   - Entry groups.
+     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
+     * and any external Google Cloud Platform resources synced to Data Catalog.
+     * Callers must have following Google IAM permission
+     *   - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
+     *     templates.
+     *   - `datacatalog.entries.setIamPolicy` to set policies on entries.
+     *   - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
+     * 
+ */ + 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); + } + + /** + *
+     * Gets the access control policy for a resource. A `NOT_FOUND` error
+     * is returned if the resource does not exist. An empty policy is returned
+     * if the resource exists but does not have a policy set on it.
+     * Supported resources are:
+     *   - Tag templates.
+     *   - Entries.
+     *   - Entry groups.
+     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
+     * and any external Google Cloud Platform resources synced to Data Catalog.
+     * Callers must have following Google IAM permission
+     *   - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
+     *     templates.
+     *   - `datacatalog.entries.getIamPolicy` to get policies on entries.
+     *   - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
+     * 
+ */ + 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); + } + + /** + *
+     * Returns the caller's permissions on a resource.
+     * If the resource does not exist, an empty set of permissions is returned
+     * (We don't return a `NOT_FOUND` error).
+     * Supported resources are:
+     *   - Tag templates.
+     *   - Entries.
+     *   - Entry groups.
+     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
+     * and any external Google Cloud Platform resources synced to Data Catalog.
+     * A caller is not required to have Google IAM permission to make this
+     * 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); + } + } + + private static final int METHODID_SEARCH_CATALOG = 0; + private static final int METHODID_CREATE_ENTRY_GROUP = 1; + private static final int METHODID_UPDATE_ENTRY_GROUP = 2; + private static final int METHODID_GET_ENTRY_GROUP = 3; + private static final int METHODID_DELETE_ENTRY_GROUP = 4; + private static final int METHODID_LIST_ENTRY_GROUPS = 5; + private static final int METHODID_CREATE_ENTRY = 6; + private static final int METHODID_UPDATE_ENTRY = 7; + private static final int METHODID_DELETE_ENTRY = 8; + private static final int METHODID_GET_ENTRY = 9; + private static final int METHODID_LOOKUP_ENTRY = 10; + private static final int METHODID_LIST_ENTRIES = 11; + private static final int METHODID_CREATE_TAG_TEMPLATE = 12; + private static final int METHODID_GET_TAG_TEMPLATE = 13; + private static final int METHODID_UPDATE_TAG_TEMPLATE = 14; + private static final int METHODID_DELETE_TAG_TEMPLATE = 15; + private static final int METHODID_CREATE_TAG_TEMPLATE_FIELD = 16; + private static final int METHODID_UPDATE_TAG_TEMPLATE_FIELD = 17; + private static final int METHODID_RENAME_TAG_TEMPLATE_FIELD = 18; + private static final int METHODID_RENAME_TAG_TEMPLATE_FIELD_ENUM_VALUE = 19; + private static final int METHODID_DELETE_TAG_TEMPLATE_FIELD = 20; + private static final int METHODID_CREATE_TAG = 21; + private static final int METHODID_UPDATE_TAG = 22; + private static final int METHODID_DELETE_TAG = 23; + private static final int METHODID_LIST_TAGS = 24; + private static final int METHODID_SET_IAM_POLICY = 25; + private static final int METHODID_GET_IAM_POLICY = 26; + private static final int METHODID_TEST_IAM_PERMISSIONS = 27; + + 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_SEARCH_CATALOG: + serviceImpl.searchCatalog((com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_ENTRY_GROUP: + serviceImpl.createEntryGroup((com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_ENTRY_GROUP: + serviceImpl.updateEntryGroup((com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_ENTRY_GROUP: + serviceImpl.getEntryGroup((com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_ENTRY_GROUP: + serviceImpl.deleteEntryGroup((com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ENTRY_GROUPS: + serviceImpl.listEntryGroups((com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_ENTRY: + serviceImpl.createEntry((com.google.cloud.datacatalog.v1beta1.CreateEntryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_ENTRY: + serviceImpl.updateEntry((com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_ENTRY: + serviceImpl.deleteEntry((com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_ENTRY: + serviceImpl.getEntry((com.google.cloud.datacatalog.v1beta1.GetEntryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LOOKUP_ENTRY: + serviceImpl.lookupEntry((com.google.cloud.datacatalog.v1beta1.LookupEntryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ENTRIES: + serviceImpl.listEntries((com.google.cloud.datacatalog.v1beta1.ListEntriesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_TAG_TEMPLATE: + serviceImpl.createTagTemplate((com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_TAG_TEMPLATE: + serviceImpl.getTagTemplate((com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_TAG_TEMPLATE: + serviceImpl.updateTagTemplate((com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_TAG_TEMPLATE: + serviceImpl.deleteTagTemplate((com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_TAG_TEMPLATE_FIELD: + serviceImpl.createTagTemplateField((com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_TAG_TEMPLATE_FIELD: + serviceImpl.updateTagTemplateField((com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RENAME_TAG_TEMPLATE_FIELD: + serviceImpl.renameTagTemplateField((com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RENAME_TAG_TEMPLATE_FIELD_ENUM_VALUE: + serviceImpl.renameTagTemplateFieldEnumValue((com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_TAG_TEMPLATE_FIELD: + serviceImpl.deleteTagTemplateField((com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_TAG: + serviceImpl.createTag((com.google.cloud.datacatalog.v1beta1.CreateTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_TAG: + serviceImpl.updateTag((com.google.cloud.datacatalog.v1beta1.UpdateTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_TAG: + serviceImpl.deleteTag((com.google.cloud.datacatalog.v1beta1.DeleteTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TAGS: + serviceImpl.listTags((com.google.cloud.datacatalog.v1beta1.ListTagsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_IAM_POLICY: + serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_IAM_POLICY: + serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) 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); + 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( + getSearchCatalogMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest, + com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse>( + service, METHODID_SEARCH_CATALOG))) + .addMethod( + getCreateEntryGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest, + com.google.cloud.datacatalog.v1beta1.EntryGroup>( + service, METHODID_CREATE_ENTRY_GROUP))) + .addMethod( + getUpdateEntryGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest, + com.google.cloud.datacatalog.v1beta1.EntryGroup>( + service, METHODID_UPDATE_ENTRY_GROUP))) + .addMethod( + getGetEntryGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest, + com.google.cloud.datacatalog.v1beta1.EntryGroup>( + service, METHODID_GET_ENTRY_GROUP))) + .addMethod( + getDeleteEntryGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_ENTRY_GROUP))) + .addMethod( + getListEntryGroupsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest, + com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse>( + service, METHODID_LIST_ENTRY_GROUPS))) + .addMethod( + getCreateEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.CreateEntryRequest, + com.google.cloud.datacatalog.v1beta1.Entry>( + service, METHODID_CREATE_ENTRY))) + .addMethod( + getUpdateEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest, + com.google.cloud.datacatalog.v1beta1.Entry>( + service, METHODID_UPDATE_ENTRY))) + .addMethod( + getDeleteEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_ENTRY))) + .addMethod( + getGetEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.GetEntryRequest, + com.google.cloud.datacatalog.v1beta1.Entry>( + service, METHODID_GET_ENTRY))) + .addMethod( + getLookupEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.LookupEntryRequest, + com.google.cloud.datacatalog.v1beta1.Entry>( + service, METHODID_LOOKUP_ENTRY))) + .addMethod( + getListEntriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.ListEntriesRequest, + com.google.cloud.datacatalog.v1beta1.ListEntriesResponse>( + service, METHODID_LIST_ENTRIES))) + .addMethod( + getCreateTagTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplate>( + service, METHODID_CREATE_TAG_TEMPLATE))) + .addMethod( + getGetTagTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplate>( + service, METHODID_GET_TAG_TEMPLATE))) + .addMethod( + getUpdateTagTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplate>( + service, METHODID_UPDATE_TAG_TEMPLATE))) + .addMethod( + getDeleteTagTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_TAG_TEMPLATE))) + .addMethod( + getCreateTagTemplateFieldMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplateField>( + service, METHODID_CREATE_TAG_TEMPLATE_FIELD))) + .addMethod( + getUpdateTagTemplateFieldMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplateField>( + service, METHODID_UPDATE_TAG_TEMPLATE_FIELD))) + .addMethod( + getRenameTagTemplateFieldMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplateField>( + service, METHODID_RENAME_TAG_TEMPLATE_FIELD))) + .addMethod( + getRenameTagTemplateFieldEnumValueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplateField>( + service, METHODID_RENAME_TAG_TEMPLATE_FIELD_ENUM_VALUE))) + .addMethod( + getDeleteTagTemplateFieldMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_TAG_TEMPLATE_FIELD))) + .addMethod( + getCreateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.CreateTagRequest, + com.google.cloud.datacatalog.v1beta1.Tag>( + service, METHODID_CREATE_TAG))) + .addMethod( + getUpdateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.UpdateTagRequest, + com.google.cloud.datacatalog.v1beta1.Tag>( + service, METHODID_UPDATE_TAG))) + .addMethod( + getDeleteTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.DeleteTagRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_TAG))) + .addMethod( + getListTagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.ListTagsRequest, + com.google.cloud.datacatalog.v1beta1.ListTagsResponse>( + service, METHODID_LIST_TAGS))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, + com.google.iam.v1.Policy>( + service, METHODID_SET_IAM_POLICY))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, + com.google.iam.v1.Policy>( + service, METHODID_GET_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))) + .build(); + } + + private static abstract class DataCatalogBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + DataCatalogBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Datacatalog.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("DataCatalog"); + } + } + + private static final class DataCatalogFileDescriptorSupplier + extends DataCatalogBaseDescriptorSupplier { + DataCatalogFileDescriptorSupplier() {} + } + + private static final class DataCatalogMethodDescriptorSupplier + extends DataCatalogBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + DataCatalogMethodDescriptorSupplier(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 (DataCatalogGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DataCatalogFileDescriptorSupplier()) + .addMethod(getSearchCatalogMethod()) + .addMethod(getCreateEntryGroupMethod()) + .addMethod(getUpdateEntryGroupMethod()) + .addMethod(getGetEntryGroupMethod()) + .addMethod(getDeleteEntryGroupMethod()) + .addMethod(getListEntryGroupsMethod()) + .addMethod(getCreateEntryMethod()) + .addMethod(getUpdateEntryMethod()) + .addMethod(getDeleteEntryMethod()) + .addMethod(getGetEntryMethod()) + .addMethod(getLookupEntryMethod()) + .addMethod(getListEntriesMethod()) + .addMethod(getCreateTagTemplateMethod()) + .addMethod(getGetTagTemplateMethod()) + .addMethod(getUpdateTagTemplateMethod()) + .addMethod(getDeleteTagTemplateMethod()) + .addMethod(getCreateTagTemplateFieldMethod()) + .addMethod(getUpdateTagTemplateFieldMethod()) + .addMethod(getRenameTagTemplateFieldMethod()) + .addMethod(getRenameTagTemplateFieldEnumValueMethod()) + .addMethod(getDeleteTagTemplateFieldMethod()) + .addMethod(getCreateTagMethod()) + .addMethod(getUpdateTagMethod()) + .addMethod(getDeleteTagMethod()) + .addMethod(getListTagsMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerGrpc.java b/owl-bot-staging/java-datacatalog/v1beta1/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerGrpc.java new file mode 100644 index 000000000000..7ff6a3029dcd --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerGrpc.java @@ -0,0 +1,1373 @@ +package com.google.cloud.datacatalog.v1beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * The policy tag manager API service allows clients to manage their taxonomies
+ * and policy tags.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/datacatalog/v1beta1/policytagmanager.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class PolicyTagManagerGrpc { + + private PolicyTagManagerGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.datacatalog.v1beta1.PolicyTagManager"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateTaxonomyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTaxonomy", + requestType = com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.Taxonomy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateTaxonomyMethod() { + io.grpc.MethodDescriptor getCreateTaxonomyMethod; + if ((getCreateTaxonomyMethod = PolicyTagManagerGrpc.getCreateTaxonomyMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getCreateTaxonomyMethod = PolicyTagManagerGrpc.getCreateTaxonomyMethod) == null) { + PolicyTagManagerGrpc.getCreateTaxonomyMethod = getCreateTaxonomyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTaxonomy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance())) + .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("CreateTaxonomy")) + .build(); + } + } + } + return getCreateTaxonomyMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteTaxonomyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTaxonomy", + requestType = com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteTaxonomyMethod() { + io.grpc.MethodDescriptor getDeleteTaxonomyMethod; + if ((getDeleteTaxonomyMethod = PolicyTagManagerGrpc.getDeleteTaxonomyMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getDeleteTaxonomyMethod = PolicyTagManagerGrpc.getDeleteTaxonomyMethod) == null) { + PolicyTagManagerGrpc.getDeleteTaxonomyMethod = getDeleteTaxonomyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTaxonomy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("DeleteTaxonomy")) + .build(); + } + } + } + return getDeleteTaxonomyMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateTaxonomyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTaxonomy", + requestType = com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.Taxonomy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateTaxonomyMethod() { + io.grpc.MethodDescriptor getUpdateTaxonomyMethod; + if ((getUpdateTaxonomyMethod = PolicyTagManagerGrpc.getUpdateTaxonomyMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getUpdateTaxonomyMethod = PolicyTagManagerGrpc.getUpdateTaxonomyMethod) == null) { + PolicyTagManagerGrpc.getUpdateTaxonomyMethod = getUpdateTaxonomyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTaxonomy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance())) + .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("UpdateTaxonomy")) + .build(); + } + } + } + return getUpdateTaxonomyMethod; + } + + private static volatile io.grpc.MethodDescriptor getListTaxonomiesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTaxonomies", + requestType = com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListTaxonomiesMethod() { + io.grpc.MethodDescriptor getListTaxonomiesMethod; + if ((getListTaxonomiesMethod = PolicyTagManagerGrpc.getListTaxonomiesMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getListTaxonomiesMethod = PolicyTagManagerGrpc.getListTaxonomiesMethod) == null) { + PolicyTagManagerGrpc.getListTaxonomiesMethod = getListTaxonomiesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTaxonomies")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse.getDefaultInstance())) + .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("ListTaxonomies")) + .build(); + } + } + } + return getListTaxonomiesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetTaxonomyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTaxonomy", + requestType = com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.Taxonomy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetTaxonomyMethod() { + io.grpc.MethodDescriptor getGetTaxonomyMethod; + if ((getGetTaxonomyMethod = PolicyTagManagerGrpc.getGetTaxonomyMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getGetTaxonomyMethod = PolicyTagManagerGrpc.getGetTaxonomyMethod) == null) { + PolicyTagManagerGrpc.getGetTaxonomyMethod = getGetTaxonomyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTaxonomy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance())) + .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("GetTaxonomy")) + .build(); + } + } + } + return getGetTaxonomyMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreatePolicyTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreatePolicyTag", + requestType = com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.PolicyTag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreatePolicyTagMethod() { + io.grpc.MethodDescriptor getCreatePolicyTagMethod; + if ((getCreatePolicyTagMethod = PolicyTagManagerGrpc.getCreatePolicyTagMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getCreatePolicyTagMethod = PolicyTagManagerGrpc.getCreatePolicyTagMethod) == null) { + PolicyTagManagerGrpc.getCreatePolicyTagMethod = getCreatePolicyTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreatePolicyTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance())) + .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("CreatePolicyTag")) + .build(); + } + } + } + return getCreatePolicyTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeletePolicyTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePolicyTag", + requestType = com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeletePolicyTagMethod() { + io.grpc.MethodDescriptor getDeletePolicyTagMethod; + if ((getDeletePolicyTagMethod = PolicyTagManagerGrpc.getDeletePolicyTagMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getDeletePolicyTagMethod = PolicyTagManagerGrpc.getDeletePolicyTagMethod) == null) { + PolicyTagManagerGrpc.getDeletePolicyTagMethod = getDeletePolicyTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePolicyTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("DeletePolicyTag")) + .build(); + } + } + } + return getDeletePolicyTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdatePolicyTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdatePolicyTag", + requestType = com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.PolicyTag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdatePolicyTagMethod() { + io.grpc.MethodDescriptor getUpdatePolicyTagMethod; + if ((getUpdatePolicyTagMethod = PolicyTagManagerGrpc.getUpdatePolicyTagMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getUpdatePolicyTagMethod = PolicyTagManagerGrpc.getUpdatePolicyTagMethod) == null) { + PolicyTagManagerGrpc.getUpdatePolicyTagMethod = getUpdatePolicyTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdatePolicyTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance())) + .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("UpdatePolicyTag")) + .build(); + } + } + } + return getUpdatePolicyTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getListPolicyTagsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPolicyTags", + requestType = com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListPolicyTagsMethod() { + io.grpc.MethodDescriptor getListPolicyTagsMethod; + if ((getListPolicyTagsMethod = PolicyTagManagerGrpc.getListPolicyTagsMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getListPolicyTagsMethod = PolicyTagManagerGrpc.getListPolicyTagsMethod) == null) { + PolicyTagManagerGrpc.getListPolicyTagsMethod = getListPolicyTagsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPolicyTags")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse.getDefaultInstance())) + .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("ListPolicyTags")) + .build(); + } + } + } + return getListPolicyTagsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetPolicyTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPolicyTag", + requestType = com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.PolicyTag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetPolicyTagMethod() { + io.grpc.MethodDescriptor getGetPolicyTagMethod; + if ((getGetPolicyTagMethod = PolicyTagManagerGrpc.getGetPolicyTagMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getGetPolicyTagMethod = PolicyTagManagerGrpc.getGetPolicyTagMethod) == null) { + PolicyTagManagerGrpc.getGetPolicyTagMethod = getGetPolicyTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPolicyTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance())) + .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("GetPolicyTag")) + .build(); + } + } + } + return getGetPolicyTagMethod; + } + + 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 getGetIamPolicyMethod() { + io.grpc.MethodDescriptor getGetIamPolicyMethod; + if ((getGetIamPolicyMethod = PolicyTagManagerGrpc.getGetIamPolicyMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getGetIamPolicyMethod = PolicyTagManagerGrpc.getGetIamPolicyMethod) == null) { + PolicyTagManagerGrpc.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 PolicyTagManagerMethodDescriptorSupplier("GetIamPolicy")) + .build(); + } + } + } + return getGetIamPolicyMethod; + } + + 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 getSetIamPolicyMethod() { + io.grpc.MethodDescriptor getSetIamPolicyMethod; + if ((getSetIamPolicyMethod = PolicyTagManagerGrpc.getSetIamPolicyMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getSetIamPolicyMethod = PolicyTagManagerGrpc.getSetIamPolicyMethod) == null) { + PolicyTagManagerGrpc.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 PolicyTagManagerMethodDescriptorSupplier("SetIamPolicy")) + .build(); + } + } + } + return getSetIamPolicyMethod; + } + + 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 getTestIamPermissionsMethod() { + io.grpc.MethodDescriptor getTestIamPermissionsMethod; + if ((getTestIamPermissionsMethod = PolicyTagManagerGrpc.getTestIamPermissionsMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getTestIamPermissionsMethod = PolicyTagManagerGrpc.getTestIamPermissionsMethod) == null) { + PolicyTagManagerGrpc.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 PolicyTagManagerMethodDescriptorSupplier("TestIamPermissions")) + .build(); + } + } + } + return getTestIamPermissionsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static PolicyTagManagerStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public PolicyTagManagerStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PolicyTagManagerStub(channel, callOptions); + } + }; + return PolicyTagManagerStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static PolicyTagManagerBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public PolicyTagManagerBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PolicyTagManagerBlockingStub(channel, callOptions); + } + }; + return PolicyTagManagerBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static PolicyTagManagerFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public PolicyTagManagerFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PolicyTagManagerFutureStub(channel, callOptions); + } + }; + return PolicyTagManagerFutureStub.newStub(factory, channel); + } + + /** + *
+   * The policy tag manager API service allows clients to manage their taxonomies
+   * and policy tags.
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * Creates a taxonomy in the specified project.
+     * 
+ */ + default void createTaxonomy(com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTaxonomyMethod(), responseObserver); + } + + /** + *
+     * Deletes a taxonomy. This operation will also delete all
+     * policy tags in this taxonomy along with their associated policies.
+     * 
+ */ + default void deleteTaxonomy(com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTaxonomyMethod(), responseObserver); + } + + /** + *
+     * Updates a taxonomy.
+     * 
+ */ + default void updateTaxonomy(com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTaxonomyMethod(), responseObserver); + } + + /** + *
+     * Lists all taxonomies in a project in a particular location that the caller
+     * has permission to view.
+     * 
+ */ + default void listTaxonomies(com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTaxonomiesMethod(), responseObserver); + } + + /** + *
+     * Gets a taxonomy.
+     * 
+ */ + default void getTaxonomy(com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTaxonomyMethod(), responseObserver); + } + + /** + *
+     * Creates a policy tag in the specified taxonomy.
+     * 
+ */ + default void createPolicyTag(com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreatePolicyTagMethod(), responseObserver); + } + + /** + *
+     * Deletes a policy tag. Also deletes all of its descendant policy tags.
+     * 
+ */ + default void deletePolicyTag(com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePolicyTagMethod(), responseObserver); + } + + /** + *
+     * Updates a policy tag.
+     * 
+ */ + default void updatePolicyTag(com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdatePolicyTagMethod(), responseObserver); + } + + /** + *
+     * Lists all policy tags in a taxonomy.
+     * 
+ */ + default void listPolicyTags(com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPolicyTagsMethod(), responseObserver); + } + + /** + *
+     * Gets a policy tag.
+     * 
+ */ + default void getPolicyTag(com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPolicyTagMethod(), responseObserver); + } + + /** + *
+     * Gets the IAM policy for a taxonomy or a policy tag.
+     * 
+ */ + default void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Sets the IAM policy for a taxonomy or a policy tag.
+     * 
+ */ + default void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Returns the permissions that a caller has on the specified taxonomy or
+     * policy tag.
+     * 
+ */ + default void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service PolicyTagManager. + *
+   * The policy tag manager API service allows clients to manage their taxonomies
+   * and policy tags.
+   * 
+ */ + public static abstract class PolicyTagManagerImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return PolicyTagManagerGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service PolicyTagManager. + *
+   * The policy tag manager API service allows clients to manage their taxonomies
+   * and policy tags.
+   * 
+ */ + public static final class PolicyTagManagerStub + extends io.grpc.stub.AbstractAsyncStub { + private PolicyTagManagerStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected PolicyTagManagerStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PolicyTagManagerStub(channel, callOptions); + } + + /** + *
+     * Creates a taxonomy in the specified project.
+     * 
+ */ + public void createTaxonomy(com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTaxonomyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a taxonomy. This operation will also delete all
+     * policy tags in this taxonomy along with their associated policies.
+     * 
+ */ + public void deleteTaxonomy(com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTaxonomyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a taxonomy.
+     * 
+ */ + public void updateTaxonomy(com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTaxonomyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all taxonomies in a project in a particular location that the caller
+     * has permission to view.
+     * 
+ */ + public void listTaxonomies(com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTaxonomiesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a taxonomy.
+     * 
+ */ + public void getTaxonomy(com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTaxonomyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a policy tag in the specified taxonomy.
+     * 
+ */ + public void createPolicyTag(com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreatePolicyTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a policy tag. Also deletes all of its descendant policy tags.
+     * 
+ */ + public void deletePolicyTag(com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePolicyTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a policy tag.
+     * 
+ */ + public void updatePolicyTag(com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdatePolicyTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all policy tags in a taxonomy.
+     * 
+ */ + public void listPolicyTags(com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPolicyTagsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a policy tag.
+     * 
+ */ + public void getPolicyTag(com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPolicyTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the IAM policy for a taxonomy or a policy tag.
+     * 
+ */ + 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); + } + + /** + *
+     * Sets the IAM policy for a taxonomy or a policy tag.
+     * 
+ */ + 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); + } + + /** + *
+     * Returns the permissions that a caller has on the specified taxonomy or
+     * policy tag.
+     * 
+ */ + 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); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service PolicyTagManager. + *
+   * The policy tag manager API service allows clients to manage their taxonomies
+   * and policy tags.
+   * 
+ */ + public static final class PolicyTagManagerBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private PolicyTagManagerBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected PolicyTagManagerBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PolicyTagManagerBlockingStub(channel, callOptions); + } + + /** + *
+     * Creates a taxonomy in the specified project.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.Taxonomy createTaxonomy(com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTaxonomyMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a taxonomy. This operation will also delete all
+     * policy tags in this taxonomy along with their associated policies.
+     * 
+ */ + public com.google.protobuf.Empty deleteTaxonomy(com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTaxonomyMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a taxonomy.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.Taxonomy updateTaxonomy(com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTaxonomyMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all taxonomies in a project in a particular location that the caller
+     * has permission to view.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse listTaxonomies(com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTaxonomiesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a taxonomy.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomy(com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTaxonomyMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a policy tag in the specified taxonomy.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.PolicyTag createPolicyTag(com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreatePolicyTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a policy tag. Also deletes all of its descendant policy tags.
+     * 
+ */ + public com.google.protobuf.Empty deletePolicyTag(com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePolicyTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a policy tag.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.PolicyTag updatePolicyTag(com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdatePolicyTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all policy tags in a taxonomy.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse listPolicyTags(com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPolicyTagsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a policy tag.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.PolicyTag getPolicyTag(com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPolicyTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the IAM policy for a taxonomy or a policy tag.
+     * 
+ */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Sets the IAM policy for a taxonomy or a policy tag.
+     * 
+ */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns the permissions that a caller has on the specified taxonomy or
+     * policy tag.
+     * 
+ */ + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service PolicyTagManager. + *
+   * The policy tag manager API service allows clients to manage their taxonomies
+   * and policy tags.
+   * 
+ */ + public static final class PolicyTagManagerFutureStub + extends io.grpc.stub.AbstractFutureStub { + private PolicyTagManagerFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected PolicyTagManagerFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PolicyTagManagerFutureStub(channel, callOptions); + } + + /** + *
+     * Creates a taxonomy in the specified project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createTaxonomy( + com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTaxonomyMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a taxonomy. This operation will also delete all
+     * policy tags in this taxonomy along with their associated policies.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTaxonomy( + com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTaxonomyMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a taxonomy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateTaxonomy( + com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTaxonomyMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all taxonomies in a project in a particular location that the caller
+     * has permission to view.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listTaxonomies( + com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTaxonomiesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a taxonomy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getTaxonomy( + com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTaxonomyMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a policy tag in the specified taxonomy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createPolicyTag( + com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreatePolicyTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a policy tag. Also deletes all of its descendant policy tags.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deletePolicyTag( + com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePolicyTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a policy tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updatePolicyTag( + com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdatePolicyTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all policy tags in a taxonomy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listPolicyTags( + com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPolicyTagsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a policy tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getPolicyTag( + com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPolicyTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the IAM policy for a taxonomy or a policy tag.
+     * 
+ */ + 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 IAM policy for a taxonomy or a policy tag.
+     * 
+ */ + 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 permissions that a caller has on the specified taxonomy or
+     * policy tag.
+     * 
+ */ + 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); + } + } + + private static final int METHODID_CREATE_TAXONOMY = 0; + private static final int METHODID_DELETE_TAXONOMY = 1; + private static final int METHODID_UPDATE_TAXONOMY = 2; + private static final int METHODID_LIST_TAXONOMIES = 3; + private static final int METHODID_GET_TAXONOMY = 4; + private static final int METHODID_CREATE_POLICY_TAG = 5; + private static final int METHODID_DELETE_POLICY_TAG = 6; + private static final int METHODID_UPDATE_POLICY_TAG = 7; + private static final int METHODID_LIST_POLICY_TAGS = 8; + private static final int METHODID_GET_POLICY_TAG = 9; + private static final int METHODID_GET_IAM_POLICY = 10; + private static final int METHODID_SET_IAM_POLICY = 11; + private static final int METHODID_TEST_IAM_PERMISSIONS = 12; + + 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_TAXONOMY: + serviceImpl.createTaxonomy((com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_TAXONOMY: + serviceImpl.deleteTaxonomy((com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_TAXONOMY: + serviceImpl.updateTaxonomy((com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TAXONOMIES: + serviceImpl.listTaxonomies((com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_TAXONOMY: + serviceImpl.getTaxonomy((com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_POLICY_TAG: + serviceImpl.createPolicyTag((com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_POLICY_TAG: + serviceImpl.deletePolicyTag((com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_POLICY_TAG: + serviceImpl.updatePolicyTag((com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_POLICY_TAGS: + serviceImpl.listPolicyTags((com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_POLICY_TAG: + serviceImpl.getPolicyTag((com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_IAM_POLICY: + 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, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TEST_IAM_PERMISSIONS: + serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) 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( + getCreateTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest, + com.google.cloud.datacatalog.v1beta1.Taxonomy>( + service, METHODID_CREATE_TAXONOMY))) + .addMethod( + getDeleteTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_TAXONOMY))) + .addMethod( + getUpdateTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest, + com.google.cloud.datacatalog.v1beta1.Taxonomy>( + service, METHODID_UPDATE_TAXONOMY))) + .addMethod( + getListTaxonomiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest, + com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse>( + service, METHODID_LIST_TAXONOMIES))) + .addMethod( + getGetTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest, + com.google.cloud.datacatalog.v1beta1.Taxonomy>( + service, METHODID_GET_TAXONOMY))) + .addMethod( + getCreatePolicyTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest, + com.google.cloud.datacatalog.v1beta1.PolicyTag>( + service, METHODID_CREATE_POLICY_TAG))) + .addMethod( + getDeletePolicyTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_POLICY_TAG))) + .addMethod( + getUpdatePolicyTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest, + com.google.cloud.datacatalog.v1beta1.PolicyTag>( + service, METHODID_UPDATE_POLICY_TAG))) + .addMethod( + getListPolicyTagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest, + com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse>( + service, METHODID_LIST_POLICY_TAGS))) + .addMethod( + getGetPolicyTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest, + com.google.cloud.datacatalog.v1beta1.PolicyTag>( + service, METHODID_GET_POLICY_TAG))) + .addMethod( + 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< + 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))) + .build(); + } + + private static abstract class PolicyTagManagerBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + PolicyTagManagerBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("PolicyTagManager"); + } + } + + private static final class PolicyTagManagerFileDescriptorSupplier + extends PolicyTagManagerBaseDescriptorSupplier { + PolicyTagManagerFileDescriptorSupplier() {} + } + + private static final class PolicyTagManagerMethodDescriptorSupplier + extends PolicyTagManagerBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + PolicyTagManagerMethodDescriptorSupplier(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 (PolicyTagManagerGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new PolicyTagManagerFileDescriptorSupplier()) + .addMethod(getCreateTaxonomyMethod()) + .addMethod(getDeleteTaxonomyMethod()) + .addMethod(getUpdateTaxonomyMethod()) + .addMethod(getListTaxonomiesMethod()) + .addMethod(getGetTaxonomyMethod()) + .addMethod(getCreatePolicyTagMethod()) + .addMethod(getDeletePolicyTagMethod()) + .addMethod(getUpdatePolicyTagMethod()) + .addMethod(getListPolicyTagsMethod()) + .addMethod(getGetPolicyTagMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationGrpc.java b/owl-bot-staging/java-datacatalog/v1beta1/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationGrpc.java similarity index 53% rename from java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationGrpc.java rename to owl-bot-staging/java-datacatalog/v1beta1/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationGrpc.java index 43efe324d07b..4cb7bbb89858 100644 --- a/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationGrpc.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.cloud.datacatalog.v1beta1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * Policy tag manager serialization API service allows clients to manipulate
  * their taxonomies and policy tags data with serialized format.
@@ -33,156 +16,116 @@ public final class PolicyTagManagerSerializationGrpc {
 
   private PolicyTagManagerSerializationGrpc() {}
 
-  public static final String SERVICE_NAME =
-      "google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization";
+  public static final String SERVICE_NAME = "google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest,
-          com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse>
-      getImportTaxonomiesMethod;
+  private static volatile io.grpc.MethodDescriptor getImportTaxonomiesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ImportTaxonomies",
       requestType = com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest.class,
       responseType = com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest,
-          com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse>
-      getImportTaxonomiesMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest,
-            com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse>
-        getImportTaxonomiesMethod;
-    if ((getImportTaxonomiesMethod = PolicyTagManagerSerializationGrpc.getImportTaxonomiesMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getImportTaxonomiesMethod() {
+    io.grpc.MethodDescriptor getImportTaxonomiesMethod;
+    if ((getImportTaxonomiesMethod = PolicyTagManagerSerializationGrpc.getImportTaxonomiesMethod) == null) {
       synchronized (PolicyTagManagerSerializationGrpc.class) {
-        if ((getImportTaxonomiesMethod =
-                PolicyTagManagerSerializationGrpc.getImportTaxonomiesMethod)
-            == null) {
-          PolicyTagManagerSerializationGrpc.getImportTaxonomiesMethod =
-              getImportTaxonomiesMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportTaxonomies"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new PolicyTagManagerSerializationMethodDescriptorSupplier(
-                              "ImportTaxonomies"))
-                      .build();
+        if ((getImportTaxonomiesMethod = PolicyTagManagerSerializationGrpc.getImportTaxonomiesMethod) == null) {
+          PolicyTagManagerSerializationGrpc.getImportTaxonomiesMethod = getImportTaxonomiesMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportTaxonomies"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new PolicyTagManagerSerializationMethodDescriptorSupplier("ImportTaxonomies"))
+              .build();
         }
       }
     }
     return getImportTaxonomiesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest,
-          com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse>
-      getExportTaxonomiesMethod;
+  private static volatile io.grpc.MethodDescriptor getExportTaxonomiesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ExportTaxonomies",
       requestType = com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.class,
       responseType = com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest,
-          com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse>
-      getExportTaxonomiesMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest,
-            com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse>
-        getExportTaxonomiesMethod;
-    if ((getExportTaxonomiesMethod = PolicyTagManagerSerializationGrpc.getExportTaxonomiesMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getExportTaxonomiesMethod() {
+    io.grpc.MethodDescriptor getExportTaxonomiesMethod;
+    if ((getExportTaxonomiesMethod = PolicyTagManagerSerializationGrpc.getExportTaxonomiesMethod) == null) {
       synchronized (PolicyTagManagerSerializationGrpc.class) {
-        if ((getExportTaxonomiesMethod =
-                PolicyTagManagerSerializationGrpc.getExportTaxonomiesMethod)
-            == null) {
-          PolicyTagManagerSerializationGrpc.getExportTaxonomiesMethod =
-              getExportTaxonomiesMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportTaxonomies"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new PolicyTagManagerSerializationMethodDescriptorSupplier(
-                              "ExportTaxonomies"))
-                      .build();
+        if ((getExportTaxonomiesMethod = PolicyTagManagerSerializationGrpc.getExportTaxonomiesMethod) == null) {
+          PolicyTagManagerSerializationGrpc.getExportTaxonomiesMethod = getExportTaxonomiesMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportTaxonomies"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new PolicyTagManagerSerializationMethodDescriptorSupplier("ExportTaxonomies"))
+              .build();
         }
       }
     }
     return getExportTaxonomiesMethod;
   }
 
-  /** 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 PolicyTagManagerSerializationStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public PolicyTagManagerSerializationStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new PolicyTagManagerSerializationStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public PolicyTagManagerSerializationStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new PolicyTagManagerSerializationStub(channel, callOptions);
+        }
+      };
     return PolicyTagManagerSerializationStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static PolicyTagManagerSerializationBlockingStub newBlockingStub(io.grpc.Channel channel) {
+  public static PolicyTagManagerSerializationBlockingStub newBlockingStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public PolicyTagManagerSerializationBlockingStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new PolicyTagManagerSerializationBlockingStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public PolicyTagManagerSerializationBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new PolicyTagManagerSerializationBlockingStub(channel, callOptions);
+        }
+      };
     return PolicyTagManagerSerializationBlockingStub.newStub(factory, channel);
   }
 
-  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
-  public static PolicyTagManagerSerializationFutureStub newFutureStub(io.grpc.Channel channel) {
+  /**
+   * Creates a new ListenableFuture-style stub that supports unary calls on the service
+   */
+  public static PolicyTagManagerSerializationFutureStub newFutureStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public PolicyTagManagerSerializationFutureStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new PolicyTagManagerSerializationFutureStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public PolicyTagManagerSerializationFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new PolicyTagManagerSerializationFutureStub(channel, callOptions);
+        }
+      };
     return PolicyTagManagerSerializationFutureStub.newStub(factory, channel);
   }
 
   /**
-   *
-   *
    * 
    * Policy tag manager serialization API service allows clients to manipulate
    * their taxonomies and policy tags data with serialized format.
@@ -191,8 +134,6 @@ public PolicyTagManagerSerializationFutureStub newStub(
   public interface AsyncService {
 
     /**
-     *
-     *
      * 
      * Imports all taxonomies and their policy tags to a project as new
      * taxonomies.
@@ -200,52 +141,41 @@ public interface AsyncService {
      * proto structure.
      * 
*/ - default void importTaxonomies( - com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getImportTaxonomiesMethod(), responseObserver); + default void importTaxonomies(com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportTaxonomiesMethod(), responseObserver); } /** - * - * *
      * Exports all taxonomies and their policy tags in a project.
      * This method generates SerializedTaxonomy protos with nested policy tags
      * that can be used as an input for future ImportTaxonomies calls.
      * 
*/ - default void exportTaxonomies( - com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getExportTaxonomiesMethod(), responseObserver); + default void exportTaxonomies(com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportTaxonomiesMethod(), responseObserver); } } /** * Base class for the server implementation of the service PolicyTagManagerSerialization. - * *
    * Policy tag manager serialization API service allows clients to manipulate
    * their taxonomies and policy tags data with serialized format.
    * 
*/ - public abstract static class PolicyTagManagerSerializationImplBase + public static abstract class PolicyTagManagerSerializationImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return PolicyTagManagerSerializationGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service PolicyTagManagerSerialization. - * *
    * Policy tag manager serialization API service allows clients to manipulate
    * their taxonomies and policy tags data with serialized format.
@@ -265,8 +195,6 @@ protected PolicyTagManagerSerializationStub build(
     }
 
     /**
-     *
-     *
      * 
      * Imports all taxonomies and their policy tags to a project as new
      * taxonomies.
@@ -274,39 +202,28 @@ protected PolicyTagManagerSerializationStub build(
      * proto structure.
      * 
*/ - public void importTaxonomies( - com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void importTaxonomies(com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportTaxonomiesMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getImportTaxonomiesMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Exports all taxonomies and their policy tags in a project.
      * This method generates SerializedTaxonomy protos with nested policy tags
      * that can be used as an input for future ImportTaxonomies calls.
      * 
*/ - public void exportTaxonomies( - com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void exportTaxonomies(com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExportTaxonomiesMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getExportTaxonomiesMethod(), getCallOptions()), request, responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service PolicyTagManagerSerialization. - * *
    * Policy tag manager serialization API service allows clients to manipulate
    * their taxonomies and policy tags data with serialized format.
@@ -326,8 +243,6 @@ protected PolicyTagManagerSerializationBlockingStub build(
     }
 
     /**
-     *
-     *
      * 
      * Imports all taxonomies and their policy tags to a project as new
      * taxonomies.
@@ -335,32 +250,26 @@ protected PolicyTagManagerSerializationBlockingStub build(
      * proto structure.
      * 
*/ - public com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse importTaxonomies( - com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest request) { + public com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse importTaxonomies(com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getImportTaxonomiesMethod(), getCallOptions(), request); } /** - * - * *
      * Exports all taxonomies and their policy tags in a project.
      * This method generates SerializedTaxonomy protos with nested policy tags
      * that can be used as an input for future ImportTaxonomies calls.
      * 
*/ - public com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse exportTaxonomies( - com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest request) { + public com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse exportTaxonomies(com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getExportTaxonomiesMethod(), getCallOptions(), request); } } /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service - * PolicyTagManagerSerialization. - * + * A stub to allow clients to do ListenableFuture-style rpc calls to service PolicyTagManagerSerialization. *
    * Policy tag manager serialization API service allows clients to manipulate
    * their taxonomies and policy tags data with serialized format.
@@ -380,8 +289,6 @@ protected PolicyTagManagerSerializationFutureStub build(
     }
 
     /**
-     *
-     *
      * 
      * Imports all taxonomies and their policy tags to a project as new
      * taxonomies.
@@ -389,25 +296,21 @@ protected PolicyTagManagerSerializationFutureStub build(
      * proto structure.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse> - importTaxonomies(com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest request) { + public com.google.common.util.concurrent.ListenableFuture importTaxonomies( + com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getImportTaxonomiesMethod(), getCallOptions()), request); } /** - * - * *
      * Exports all taxonomies and their policy tags in a project.
      * This method generates SerializedTaxonomy protos with nested policy tags
      * that can be used as an input for future ImportTaxonomies calls.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse> - exportTaxonomies(com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest request) { + public com.google.common.util.concurrent.ListenableFuture exportTaxonomies( + com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getExportTaxonomiesMethod(), getCallOptions()), request); } @@ -416,11 +319,11 @@ protected PolicyTagManagerSerializationFutureStub build( private static final int METHODID_IMPORT_TAXONOMIES = 0; private static final int METHODID_EXPORT_TAXONOMIES = 1; - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final AsyncService serviceImpl; private final int methodId; @@ -434,18 +337,12 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_IMPORT_TAXONOMIES: - serviceImpl.importTaxonomies( - (com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse>) - responseObserver); + serviceImpl.importTaxonomies((com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_EXPORT_TAXONOMIES: - serviceImpl.exportTaxonomies( - (com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse>) - responseObserver); + serviceImpl.exportTaxonomies((com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -466,31 +363,29 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getImportTaxonomiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest, - com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse>( - service, METHODID_IMPORT_TAXONOMIES))) + getImportTaxonomiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest, + com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse>( + service, METHODID_IMPORT_TAXONOMIES))) .addMethod( - getExportTaxonomiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest, - com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse>( - service, METHODID_EXPORT_TAXONOMIES))) + getExportTaxonomiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest, + com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse>( + service, METHODID_EXPORT_TAXONOMIES))) .build(); } - private abstract static class PolicyTagManagerSerializationBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class PolicyTagManagerSerializationBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { PolicyTagManagerSerializationBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto - .getDescriptor(); + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.getDescriptor(); } @java.lang.Override @@ -527,14 +422,11 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (PolicyTagManagerSerializationGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor( - new PolicyTagManagerSerializationFileDescriptorSupplier()) - .addMethod(getImportTaxonomiesMethod()) - .addMethod(getExportTaxonomiesMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new PolicyTagManagerSerializationFileDescriptorSupplier()) + .addMethod(getImportTaxonomiesMethod()) + .addMethod(getExportTaxonomiesMethod()) + .build(); } } } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpec.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpec.java similarity index 66% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpec.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpec.java index 9637e120daad..c172c0bb1a6d 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpec.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpec.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/table_spec.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Spec for a group of BigQuery tables with name pattern `[prefix]YYYYMMDD`.
  * Context:
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec}
  */
-public final class BigQueryDateShardedSpec extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BigQueryDateShardedSpec extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec)
     BigQueryDateShardedSpecOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BigQueryDateShardedSpec.newBuilder() to construct.
   private BigQueryDateShardedSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BigQueryDateShardedSpec() {
     dataset_ = "";
     tablePrefix_ = "";
@@ -46,42 +28,35 @@ private BigQueryDateShardedSpec() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BigQueryDateShardedSpec();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass
-        .internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass
-        .internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.class,
-            com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.class, com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.Builder.class);
   }
 
   public static final int DATASET_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object dataset_ = "";
   /**
-   *
-   *
    * 
-   * Output only. The Data Catalog resource name of the dataset entry the current table
-   * belongs to, for example,
+   * Output only. The Data Catalog resource name of the dataset entry the
+   * current table belongs to, for example,
    * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
    * 
* - * - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The dataset. */ @java.lang.Override @@ -90,33 +65,31 @@ public java.lang.String getDataset() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataset_ = s; return s; } } /** - * - * *
-   * Output only. The Data Catalog resource name of the dataset entry the current table
-   * belongs to, for example,
+   * Output only. The Data Catalog resource name of the dataset entry the
+   * current table belongs to, for example,
    * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
    * 
* - * - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for dataset. */ @java.lang.Override - public com.google.protobuf.ByteString getDatasetBytes() { + public com.google.protobuf.ByteString + getDatasetBytes() { java.lang.Object ref = dataset_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataset_ = b; return b; } else { @@ -125,20 +98,17 @@ public com.google.protobuf.ByteString getDatasetBytes() { } public static final int TABLE_PREFIX_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object tablePrefix_ = ""; /** - * - * *
-   * Output only. The table name prefix of the shards. The name of any given shard is
+   * Output only. The table name prefix of the shards. The name of any given
+   * shard is
    * `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the
    * `table_prefix` is `MyTable`.
    * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The tablePrefix. */ @java.lang.Override @@ -147,31 +117,32 @@ public java.lang.String getTablePrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tablePrefix_ = s; return s; } } /** - * - * *
-   * Output only. The table name prefix of the shards. The name of any given shard is
+   * Output only. The table name prefix of the shards. The name of any given
+   * shard is
    * `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the
    * `table_prefix` is `MyTable`.
    * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for tablePrefix. */ @java.lang.Override - public com.google.protobuf.ByteString getTablePrefixBytes() { + public com.google.protobuf.ByteString + getTablePrefixBytes() { java.lang.Object ref = tablePrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tablePrefix_ = b; return b; } else { @@ -182,14 +153,11 @@ public com.google.protobuf.ByteString getTablePrefixBytes() { public static final int SHARD_COUNT_FIELD_NUMBER = 3; private long shardCount_ = 0L; /** - * - * *
    * Output only. Total number of shards.
    * 
* * int64 shard_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The shardCount. */ @java.lang.Override @@ -198,7 +166,6 @@ public long getShardCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -210,7 +177,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dataset_); } @@ -236,7 +204,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tablePrefix_); } if (shardCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, shardCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, shardCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -246,17 +215,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.datacatalog.v1beta1.BigQueryDateShardedSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec other = - (com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) obj; + com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec other = (com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) obj; - if (!getDataset().equals(other.getDataset())) return false; - if (!getTablePrefix().equals(other.getTablePrefix())) return false; - if (getShardCount() != other.getShardCount()) return false; + if (!getDataset() + .equals(other.getDataset())) return false; + if (!getTablePrefix() + .equals(other.getTablePrefix())) return false; + if (getShardCount() + != other.getShardCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -273,111 +244,106 @@ public int hashCode() { hash = (37 * hash) + TABLE_PREFIX_FIELD_NUMBER; hash = (53 * hash) + getTablePrefix().hashCode(); hash = (37 * hash) + SHARD_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getShardCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getShardCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Spec for a group of BigQuery tables with name pattern `[prefix]YYYYMMDD`.
    * Context:
@@ -386,32 +352,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec)
       com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass
-          .internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass
-          .internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.class,
-              com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.class, com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -423,14 +390,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass
-          .internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec
-        getDefaultInstanceForType() {
+    public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec getDefaultInstanceForType() {
       return com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.getDefaultInstance();
     }
 
@@ -445,17 +411,13 @@ public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec result =
-          new com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec result = new com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec result) {
+    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.dataset_ = dataset_;
@@ -472,39 +434,38 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -512,9 +473,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec other) {
-      if (other
-          == com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.getDefaultInstance()) return this;
       if (!other.getDataset().isEmpty()) {
         dataset_ = other.dataset_;
         bitField0_ |= 0x00000001;
@@ -554,31 +513,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                dataset_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                tablePrefix_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
-                shardCount_ = input.readInt64();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              dataset_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              tablePrefix_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              shardCount_ = input.readInt64();
+              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,29 +543,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object dataset_ = "";
     /**
-     *
-     *
      * 
-     * Output only. The Data Catalog resource name of the dataset entry the current table
-     * belongs to, for example,
+     * Output only. The Data Catalog resource name of the dataset entry the
+     * current table belongs to, for example,
      * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
      * 
* - * - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The dataset. */ public java.lang.String getDataset() { java.lang.Object ref = dataset_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataset_ = s; return s; @@ -619,25 +569,22 @@ public java.lang.String getDataset() { } } /** - * - * *
-     * Output only. The Data Catalog resource name of the dataset entry the current table
-     * belongs to, for example,
+     * Output only. The Data Catalog resource name of the dataset entry the
+     * current table belongs to, for example,
      * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
      * 
* - * - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for dataset. */ - public com.google.protobuf.ByteString getDatasetBytes() { + public com.google.protobuf.ByteString + getDatasetBytes() { java.lang.Object ref = dataset_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataset_ = b; return b; } else { @@ -645,43 +592,32 @@ public com.google.protobuf.ByteString getDatasetBytes() { } } /** - * - * *
-     * Output only. The Data Catalog resource name of the dataset entry the current table
-     * belongs to, for example,
+     * Output only. The Data Catalog resource name of the dataset entry the
+     * current table belongs to, for example,
      * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
      * 
* - * - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The dataset to set. * @return This builder for chaining. */ - public Builder setDataset(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataset( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } dataset_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
-     * Output only. The Data Catalog resource name of the dataset entry the current table
-     * belongs to, for example,
+     * Output only. The Data Catalog resource name of the dataset entry the
+     * current table belongs to, for example,
      * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
      * 
* - * - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearDataset() { @@ -691,25 +627,19 @@ public Builder clearDataset() { return this; } /** - * - * *
-     * Output only. The Data Catalog resource name of the dataset entry the current table
-     * belongs to, for example,
+     * Output only. The Data Catalog resource name of the dataset entry the
+     * current table belongs to, for example,
      * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
      * 
* - * - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for dataset to set. * @return This builder for chaining. */ - public Builder setDatasetBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatasetBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dataset_ = value; bitField0_ |= 0x00000001; @@ -719,22 +649,21 @@ public Builder setDatasetBytes(com.google.protobuf.ByteString value) { private java.lang.Object tablePrefix_ = ""; /** - * - * *
-     * Output only. The table name prefix of the shards. The name of any given shard is
+     * Output only. The table name prefix of the shards. The name of any given
+     * shard is
      * `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the
      * `table_prefix` is `MyTable`.
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The tablePrefix. */ public java.lang.String getTablePrefix() { java.lang.Object ref = tablePrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tablePrefix_ = s; return s; @@ -743,23 +672,23 @@ public java.lang.String getTablePrefix() { } } /** - * - * *
-     * Output only. The table name prefix of the shards. The name of any given shard is
+     * Output only. The table name prefix of the shards. The name of any given
+     * shard is
      * `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the
      * `table_prefix` is `MyTable`.
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for tablePrefix. */ - public com.google.protobuf.ByteString getTablePrefixBytes() { + public com.google.protobuf.ByteString + getTablePrefixBytes() { java.lang.Object ref = tablePrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tablePrefix_ = b; return b; } else { @@ -767,39 +696,34 @@ public com.google.protobuf.ByteString getTablePrefixBytes() { } } /** - * - * *
-     * Output only. The table name prefix of the shards. The name of any given shard is
+     * Output only. The table name prefix of the shards. The name of any given
+     * shard is
      * `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the
      * `table_prefix` is `MyTable`.
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The tablePrefix to set. * @return This builder for chaining. */ - public Builder setTablePrefix(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTablePrefix( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tablePrefix_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
-     * Output only. The table name prefix of the shards. The name of any given shard is
+     * Output only. The table name prefix of the shards. The name of any given
+     * shard is
      * `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the
      * `table_prefix` is `MyTable`.
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearTablePrefix() { @@ -809,23 +733,20 @@ public Builder clearTablePrefix() { return this; } /** - * - * *
-     * Output only. The table name prefix of the shards. The name of any given shard is
+     * Output only. The table name prefix of the shards. The name of any given
+     * shard is
      * `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the
      * `table_prefix` is `MyTable`.
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for tablePrefix to set. * @return This builder for chaining. */ - public Builder setTablePrefixBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTablePrefixBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tablePrefix_ = value; bitField0_ |= 0x00000002; @@ -833,16 +754,13 @@ public Builder setTablePrefixBytes(com.google.protobuf.ByteString value) { return this; } - private long shardCount_; + private long shardCount_ ; /** - * - * *
      * Output only. Total number of shards.
      * 
* * int64 shard_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The shardCount. */ @java.lang.Override @@ -850,14 +768,11 @@ public long getShardCount() { return shardCount_; } /** - * - * *
      * Output only. Total number of shards.
      * 
* * int64 shard_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The shardCount to set. * @return This builder for chaining. */ @@ -869,14 +784,11 @@ public Builder setShardCount(long value) { return this; } /** - * - * *
      * Output only. Total number of shards.
      * 
* * int64 shard_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearShardCount() { @@ -885,9 +797,9 @@ public Builder clearShardCount() { onChanged(); return this; } - @java.lang.Override - 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,13 +809,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) - private static final com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec - DEFAULT_INSTANCE; - + private static final com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec(); } @@ -912,27 +823,27 @@ public static com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryDateShardedSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryDateShardedSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -947,4 +858,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpecOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpecOrBuilder.java similarity index 58% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpecOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpecOrBuilder.java index 764aaa4b428a..bba8d00274d7 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpecOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpecOrBuilder.java @@ -1,99 +1,68 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/table_spec.proto package com.google.cloud.datacatalog.v1beta1; -public interface BigQueryDateShardedSpecOrBuilder - extends +public interface BigQueryDateShardedSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
-   * Output only. The Data Catalog resource name of the dataset entry the current table
-   * belongs to, for example,
+   * Output only. The Data Catalog resource name of the dataset entry the
+   * current table belongs to, for example,
    * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
    * 
* - * - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The dataset. */ java.lang.String getDataset(); /** - * - * *
-   * Output only. The Data Catalog resource name of the dataset entry the current table
-   * belongs to, for example,
+   * Output only. The Data Catalog resource name of the dataset entry the
+   * current table belongs to, for example,
    * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
    * 
* - * - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for dataset. */ - com.google.protobuf.ByteString getDatasetBytes(); + com.google.protobuf.ByteString + getDatasetBytes(); /** - * - * *
-   * Output only. The table name prefix of the shards. The name of any given shard is
+   * Output only. The table name prefix of the shards. The name of any given
+   * shard is
    * `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the
    * `table_prefix` is `MyTable`.
    * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The tablePrefix. */ java.lang.String getTablePrefix(); /** - * - * *
-   * Output only. The table name prefix of the shards. The name of any given shard is
+   * Output only. The table name prefix of the shards. The name of any given
+   * shard is
    * `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the
    * `table_prefix` is `MyTable`.
    * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for tablePrefix. */ - com.google.protobuf.ByteString getTablePrefixBytes(); + com.google.protobuf.ByteString + getTablePrefixBytes(); /** - * - * *
    * Output only. Total number of shards.
    * 
* * int64 shard_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The shardCount. */ long getShardCount(); diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpec.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpec.java similarity index 69% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpec.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpec.java index 60b3991428ba..fcfa2dec8b93 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpec.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpec.java @@ -1,81 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/table_spec.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Describes a BigQuery table.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.BigQueryTableSpec} */ -public final class BigQueryTableSpec extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BigQueryTableSpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.BigQueryTableSpec) BigQueryTableSpecOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BigQueryTableSpec.newBuilder() to construct. private BigQueryTableSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BigQueryTableSpec() { tableSourceType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BigQueryTableSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass - .internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass - .internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.class, - com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.Builder.class); + com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.class, com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.Builder.class); } private int typeSpecCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object typeSpec_; - public enum TypeSpecCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { VIEW_SPEC(2), TABLE_SPEC(3), TYPESPEC_NOT_SET(0); private final int value; - private TypeSpecCase(int value) { this.value = value; } @@ -91,78 +68,57 @@ public static TypeSpecCase valueOf(int value) { public static TypeSpecCase forNumber(int value) { switch (value) { - case 2: - return VIEW_SPEC; - case 3: - return TABLE_SPEC; - case 0: - return TYPESPEC_NOT_SET; - default: - return null; + case 2: return VIEW_SPEC; + case 3: return TABLE_SPEC; + case 0: return TYPESPEC_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TypeSpecCase getTypeSpecCase() { - return TypeSpecCase.forNumber(typeSpecCase_); + public TypeSpecCase + getTypeSpecCase() { + return TypeSpecCase.forNumber( + typeSpecCase_); } public static final int TABLE_SOURCE_TYPE_FIELD_NUMBER = 1; private int tableSourceType_ = 0; /** - * - * *
    * Output only. The table source type.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for tableSourceType. */ - @java.lang.Override - public int getTableSourceTypeValue() { + @java.lang.Override public int getTableSourceTypeValue() { return tableSourceType_; } /** - * - * *
    * Output only. The table source type.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The tableSourceType. */ - @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.TableSourceType getTableSourceType() { - com.google.cloud.datacatalog.v1beta1.TableSourceType result = - com.google.cloud.datacatalog.v1beta1.TableSourceType.forNumber(tableSourceType_); - return result == null - ? com.google.cloud.datacatalog.v1beta1.TableSourceType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TableSourceType getTableSourceType() { + com.google.cloud.datacatalog.v1beta1.TableSourceType result = com.google.cloud.datacatalog.v1beta1.TableSourceType.forNumber(tableSourceType_); + return result == null ? com.google.cloud.datacatalog.v1beta1.TableSourceType.UNRECOGNIZED : result; } public static final int VIEW_SPEC_FIELD_NUMBER = 2; /** - * - * *
    * Table view specification. This field should only be populated if
    * `table_source_type` is `BIGQUERY_VIEW`.
    * 
* * .google.cloud.datacatalog.v1beta1.ViewSpec view_spec = 2; - * * @return Whether the viewSpec field is set. */ @java.lang.Override @@ -170,27 +126,22 @@ public boolean hasViewSpec() { return typeSpecCase_ == 2; } /** - * - * *
    * Table view specification. This field should only be populated if
    * `table_source_type` is `BIGQUERY_VIEW`.
    * 
* * .google.cloud.datacatalog.v1beta1.ViewSpec view_spec = 2; - * * @return The viewSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.ViewSpec getViewSpec() { if (typeSpecCase_ == 2) { - return (com.google.cloud.datacatalog.v1beta1.ViewSpec) typeSpec_; + return (com.google.cloud.datacatalog.v1beta1.ViewSpec) typeSpec_; } return com.google.cloud.datacatalog.v1beta1.ViewSpec.getDefaultInstance(); } /** - * - * *
    * Table view specification. This field should only be populated if
    * `table_source_type` is `BIGQUERY_VIEW`.
@@ -201,22 +152,19 @@ public com.google.cloud.datacatalog.v1beta1.ViewSpec getViewSpec() {
   @java.lang.Override
   public com.google.cloud.datacatalog.v1beta1.ViewSpecOrBuilder getViewSpecOrBuilder() {
     if (typeSpecCase_ == 2) {
-      return (com.google.cloud.datacatalog.v1beta1.ViewSpec) typeSpec_;
+       return (com.google.cloud.datacatalog.v1beta1.ViewSpec) typeSpec_;
     }
     return com.google.cloud.datacatalog.v1beta1.ViewSpec.getDefaultInstance();
   }
 
   public static final int TABLE_SPEC_FIELD_NUMBER = 3;
   /**
-   *
-   *
    * 
    * Spec of a BigQuery table. This field should only be populated if
    * `table_source_type` is `BIGQUERY_TABLE`.
    * 
* * .google.cloud.datacatalog.v1beta1.TableSpec table_spec = 3; - * * @return Whether the tableSpec field is set. */ @java.lang.Override @@ -224,27 +172,22 @@ public boolean hasTableSpec() { return typeSpecCase_ == 3; } /** - * - * *
    * Spec of a BigQuery table. This field should only be populated if
    * `table_source_type` is `BIGQUERY_TABLE`.
    * 
* * .google.cloud.datacatalog.v1beta1.TableSpec table_spec = 3; - * * @return The tableSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TableSpec getTableSpec() { if (typeSpecCase_ == 3) { - return (com.google.cloud.datacatalog.v1beta1.TableSpec) typeSpec_; + return (com.google.cloud.datacatalog.v1beta1.TableSpec) typeSpec_; } return com.google.cloud.datacatalog.v1beta1.TableSpec.getDefaultInstance(); } /** - * - * *
    * Spec of a BigQuery table. This field should only be populated if
    * `table_source_type` is `BIGQUERY_TABLE`.
@@ -255,13 +198,12 @@ public com.google.cloud.datacatalog.v1beta1.TableSpec getTableSpec() {
   @java.lang.Override
   public com.google.cloud.datacatalog.v1beta1.TableSpecOrBuilder getTableSpecOrBuilder() {
     if (typeSpecCase_ == 3) {
-      return (com.google.cloud.datacatalog.v1beta1.TableSpec) typeSpec_;
+       return (com.google.cloud.datacatalog.v1beta1.TableSpec) typeSpec_;
     }
     return com.google.cloud.datacatalog.v1beta1.TableSpec.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -273,10 +215,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (tableSourceType_
-        != com.google.cloud.datacatalog.v1beta1.TableSourceType.TABLE_SOURCE_TYPE_UNSPECIFIED
-            .getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
+    if (tableSourceType_ != com.google.cloud.datacatalog.v1beta1.TableSourceType.TABLE_SOURCE_TYPE_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, tableSourceType_);
     }
     if (typeSpecCase_ == 2) {
@@ -294,20 +235,17 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (tableSourceType_
-        != com.google.cloud.datacatalog.v1beta1.TableSourceType.TABLE_SOURCE_TYPE_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, tableSourceType_);
+    if (tableSourceType_ != com.google.cloud.datacatalog.v1beta1.TableSourceType.TABLE_SOURCE_TYPE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(1, tableSourceType_);
     }
     if (typeSpecCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, (com.google.cloud.datacatalog.v1beta1.ViewSpec) typeSpec_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, (com.google.cloud.datacatalog.v1beta1.ViewSpec) typeSpec_);
     }
     if (typeSpecCase_ == 3) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              3, (com.google.cloud.datacatalog.v1beta1.TableSpec) typeSpec_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, (com.google.cloud.datacatalog.v1beta1.TableSpec) typeSpec_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -317,22 +255,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.datacatalog.v1beta1.BigQueryTableSpec)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec other =
-        (com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec) obj;
+    com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec other = (com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec) obj;
 
     if (tableSourceType_ != other.tableSourceType_) return false;
     if (!getTypeSpecCase().equals(other.getTypeSpecCase())) return false;
     switch (typeSpecCase_) {
       case 2:
-        if (!getViewSpec().equals(other.getViewSpec())) return false;
+        if (!getViewSpec()
+            .equals(other.getViewSpec())) return false;
         break;
       case 3:
-        if (!getTableSpec().equals(other.getTableSpec())) return false;
+        if (!getTableSpec()
+            .equals(other.getTableSpec())) return false;
         break;
       case 0:
       default:
@@ -368,136 +307,131 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec prototype) {
+  public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 a BigQuery table.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.BigQueryTableSpec} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.BigQueryTableSpec) com.google.cloud.datacatalog.v1beta1.BigQueryTableSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass - .internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass - .internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.class, - com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.Builder.class); + com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.class, com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -515,9 +449,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass - .internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_descriptor; } @java.lang.Override @@ -536,11 +470,8 @@ public com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec buildPartial() { - com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec result = - new com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec result = new com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -556,10 +487,12 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.BigQueryTableSpe private void buildPartialOneofs(com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec result) { result.typeSpecCase_ = typeSpecCase_; result.typeSpec_ = this.typeSpec_; - if (typeSpecCase_ == 2 && viewSpecBuilder_ != null) { + if (typeSpecCase_ == 2 && + viewSpecBuilder_ != null) { result.typeSpec_ = viewSpecBuilder_.build(); } - if (typeSpecCase_ == 3 && tableSpecBuilder_ != null) { + if (typeSpecCase_ == 3 && + tableSpecBuilder_ != null) { result.typeSpec_ = tableSpecBuilder_.build(); } } @@ -568,39 +501,38 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1beta1.BigQueryTab public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec) other); + return mergeFrom((com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec)other); } else { super.mergeFrom(other); return this; @@ -608,26 +540,22 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec other) { - if (other == com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.getDefaultInstance()) - return this; + if (other == com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.getDefaultInstance()) return this; if (other.tableSourceType_ != 0) { setTableSourceTypeValue(other.getTableSourceTypeValue()); } switch (other.getTypeSpecCase()) { - case VIEW_SPEC: - { - mergeViewSpec(other.getViewSpec()); - break; - } - case TABLE_SPEC: - { - mergeTableSpec(other.getTableSpec()); - break; - } - case TYPESPEC_NOT_SET: - { - break; - } + case VIEW_SPEC: { + mergeViewSpec(other.getViewSpec()); + break; + } + case TABLE_SPEC: { + mergeTableSpec(other.getTableSpec()); + break; + } + case TYPESPEC_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -655,31 +583,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - tableSourceType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - input.readMessage(getViewSpecFieldBuilder().getBuilder(), extensionRegistry); - typeSpecCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage(getTableSpecFieldBuilder().getBuilder(), extensionRegistry); - typeSpecCase_ = 3; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + tableSourceType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getViewSpecFieldBuilder().getBuilder(), + extensionRegistry); + typeSpecCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getTableSpecFieldBuilder().getBuilder(), + extensionRegistry); + typeSpecCase_ = 3; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -689,12 +617,12 @@ public Builder mergeFrom( } // finally return this; } - private int typeSpecCase_ = 0; private java.lang.Object typeSpec_; - - public TypeSpecCase getTypeSpecCase() { - return TypeSpecCase.forNumber(typeSpecCase_); + public TypeSpecCase + getTypeSpecCase() { + return TypeSpecCase.forNumber( + typeSpecCase_); } public Builder clearTypeSpec() { @@ -708,33 +636,22 @@ public Builder clearTypeSpec() { private int tableSourceType_ = 0; /** - * - * *
      * Output only. The table source type.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for tableSourceType. */ - @java.lang.Override - public int getTableSourceTypeValue() { + @java.lang.Override public int getTableSourceTypeValue() { return tableSourceType_; } /** - * - * *
      * Output only. The table source type.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for tableSourceType to set. * @return This builder for chaining. */ @@ -745,37 +662,24 @@ public Builder setTableSourceTypeValue(int value) { return this; } /** - * - * *
      * Output only. The table source type.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The tableSourceType. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TableSourceType getTableSourceType() { - com.google.cloud.datacatalog.v1beta1.TableSourceType result = - com.google.cloud.datacatalog.v1beta1.TableSourceType.forNumber(tableSourceType_); - return result == null - ? com.google.cloud.datacatalog.v1beta1.TableSourceType.UNRECOGNIZED - : result; + com.google.cloud.datacatalog.v1beta1.TableSourceType result = com.google.cloud.datacatalog.v1beta1.TableSourceType.forNumber(tableSourceType_); + return result == null ? com.google.cloud.datacatalog.v1beta1.TableSourceType.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The table source type.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The tableSourceType to set. * @return This builder for chaining. */ @@ -789,16 +693,11 @@ public Builder setTableSourceType(com.google.cloud.datacatalog.v1beta1.TableSour return this; } /** - * - * *
      * Output only. The table source type.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearTableSourceType() { @@ -809,20 +708,14 @@ public Builder clearTableSourceType() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.ViewSpec, - com.google.cloud.datacatalog.v1beta1.ViewSpec.Builder, - com.google.cloud.datacatalog.v1beta1.ViewSpecOrBuilder> - viewSpecBuilder_; + com.google.cloud.datacatalog.v1beta1.ViewSpec, com.google.cloud.datacatalog.v1beta1.ViewSpec.Builder, com.google.cloud.datacatalog.v1beta1.ViewSpecOrBuilder> viewSpecBuilder_; /** - * - * *
      * Table view specification. This field should only be populated if
      * `table_source_type` is `BIGQUERY_VIEW`.
      * 
* * .google.cloud.datacatalog.v1beta1.ViewSpec view_spec = 2; - * * @return Whether the viewSpec field is set. */ @java.lang.Override @@ -830,15 +723,12 @@ public boolean hasViewSpec() { return typeSpecCase_ == 2; } /** - * - * *
      * Table view specification. This field should only be populated if
      * `table_source_type` is `BIGQUERY_VIEW`.
      * 
* * .google.cloud.datacatalog.v1beta1.ViewSpec view_spec = 2; - * * @return The viewSpec. */ @java.lang.Override @@ -856,8 +746,6 @@ public com.google.cloud.datacatalog.v1beta1.ViewSpec getViewSpec() { } } /** - * - * *
      * Table view specification. This field should only be populated if
      * `table_source_type` is `BIGQUERY_VIEW`.
@@ -879,8 +767,6 @@ public Builder setViewSpec(com.google.cloud.datacatalog.v1beta1.ViewSpec value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Table view specification. This field should only be populated if
      * `table_source_type` is `BIGQUERY_VIEW`.
@@ -900,8 +786,6 @@ public Builder setViewSpec(
       return this;
     }
     /**
-     *
-     *
      * 
      * Table view specification. This field should only be populated if
      * `table_source_type` is `BIGQUERY_VIEW`.
@@ -911,13 +795,10 @@ public Builder setViewSpec(
      */
     public Builder mergeViewSpec(com.google.cloud.datacatalog.v1beta1.ViewSpec value) {
       if (viewSpecBuilder_ == null) {
-        if (typeSpecCase_ == 2
-            && typeSpec_ != com.google.cloud.datacatalog.v1beta1.ViewSpec.getDefaultInstance()) {
-          typeSpec_ =
-              com.google.cloud.datacatalog.v1beta1.ViewSpec.newBuilder(
-                      (com.google.cloud.datacatalog.v1beta1.ViewSpec) typeSpec_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (typeSpecCase_ == 2 &&
+            typeSpec_ != com.google.cloud.datacatalog.v1beta1.ViewSpec.getDefaultInstance()) {
+          typeSpec_ = com.google.cloud.datacatalog.v1beta1.ViewSpec.newBuilder((com.google.cloud.datacatalog.v1beta1.ViewSpec) typeSpec_)
+              .mergeFrom(value).buildPartial();
         } else {
           typeSpec_ = value;
         }
@@ -933,8 +814,6 @@ public Builder mergeViewSpec(com.google.cloud.datacatalog.v1beta1.ViewSpec value
       return this;
     }
     /**
-     *
-     *
      * 
      * Table view specification. This field should only be populated if
      * `table_source_type` is `BIGQUERY_VIEW`.
@@ -959,8 +838,6 @@ public Builder clearViewSpec() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Table view specification. This field should only be populated if
      * `table_source_type` is `BIGQUERY_VIEW`.
@@ -972,8 +849,6 @@ public com.google.cloud.datacatalog.v1beta1.ViewSpec.Builder getViewSpecBuilder(
       return getViewSpecFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Table view specification. This field should only be populated if
      * `table_source_type` is `BIGQUERY_VIEW`.
@@ -993,8 +868,6 @@ public com.google.cloud.datacatalog.v1beta1.ViewSpecOrBuilder getViewSpecOrBuild
       }
     }
     /**
-     *
-     *
      * 
      * Table view specification. This field should only be populated if
      * `table_source_type` is `BIGQUERY_VIEW`.
@@ -1003,19 +876,14 @@ public com.google.cloud.datacatalog.v1beta1.ViewSpecOrBuilder getViewSpecOrBuild
      * .google.cloud.datacatalog.v1beta1.ViewSpec view_spec = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1beta1.ViewSpec,
-            com.google.cloud.datacatalog.v1beta1.ViewSpec.Builder,
-            com.google.cloud.datacatalog.v1beta1.ViewSpecOrBuilder>
+        com.google.cloud.datacatalog.v1beta1.ViewSpec, com.google.cloud.datacatalog.v1beta1.ViewSpec.Builder, com.google.cloud.datacatalog.v1beta1.ViewSpecOrBuilder> 
         getViewSpecFieldBuilder() {
       if (viewSpecBuilder_ == null) {
         if (!(typeSpecCase_ == 2)) {
           typeSpec_ = com.google.cloud.datacatalog.v1beta1.ViewSpec.getDefaultInstance();
         }
-        viewSpecBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.datacatalog.v1beta1.ViewSpec,
-                com.google.cloud.datacatalog.v1beta1.ViewSpec.Builder,
-                com.google.cloud.datacatalog.v1beta1.ViewSpecOrBuilder>(
+        viewSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.datacatalog.v1beta1.ViewSpec, com.google.cloud.datacatalog.v1beta1.ViewSpec.Builder, com.google.cloud.datacatalog.v1beta1.ViewSpecOrBuilder>(
                 (com.google.cloud.datacatalog.v1beta1.ViewSpec) typeSpec_,
                 getParentForChildren(),
                 isClean());
@@ -1027,20 +895,14 @@ public com.google.cloud.datacatalog.v1beta1.ViewSpecOrBuilder getViewSpecOrBuild
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1beta1.TableSpec,
-            com.google.cloud.datacatalog.v1beta1.TableSpec.Builder,
-            com.google.cloud.datacatalog.v1beta1.TableSpecOrBuilder>
-        tableSpecBuilder_;
+        com.google.cloud.datacatalog.v1beta1.TableSpec, com.google.cloud.datacatalog.v1beta1.TableSpec.Builder, com.google.cloud.datacatalog.v1beta1.TableSpecOrBuilder> tableSpecBuilder_;
     /**
-     *
-     *
      * 
      * Spec of a BigQuery table. This field should only be populated if
      * `table_source_type` is `BIGQUERY_TABLE`.
      * 
* * .google.cloud.datacatalog.v1beta1.TableSpec table_spec = 3; - * * @return Whether the tableSpec field is set. */ @java.lang.Override @@ -1048,15 +910,12 @@ public boolean hasTableSpec() { return typeSpecCase_ == 3; } /** - * - * *
      * Spec of a BigQuery table. This field should only be populated if
      * `table_source_type` is `BIGQUERY_TABLE`.
      * 
* * .google.cloud.datacatalog.v1beta1.TableSpec table_spec = 3; - * * @return The tableSpec. */ @java.lang.Override @@ -1074,8 +933,6 @@ public com.google.cloud.datacatalog.v1beta1.TableSpec getTableSpec() { } } /** - * - * *
      * Spec of a BigQuery table. This field should only be populated if
      * `table_source_type` is `BIGQUERY_TABLE`.
@@ -1097,8 +954,6 @@ public Builder setTableSpec(com.google.cloud.datacatalog.v1beta1.TableSpec value
       return this;
     }
     /**
-     *
-     *
      * 
      * Spec of a BigQuery table. This field should only be populated if
      * `table_source_type` is `BIGQUERY_TABLE`.
@@ -1118,8 +973,6 @@ public Builder setTableSpec(
       return this;
     }
     /**
-     *
-     *
      * 
      * Spec of a BigQuery table. This field should only be populated if
      * `table_source_type` is `BIGQUERY_TABLE`.
@@ -1129,13 +982,10 @@ public Builder setTableSpec(
      */
     public Builder mergeTableSpec(com.google.cloud.datacatalog.v1beta1.TableSpec value) {
       if (tableSpecBuilder_ == null) {
-        if (typeSpecCase_ == 3
-            && typeSpec_ != com.google.cloud.datacatalog.v1beta1.TableSpec.getDefaultInstance()) {
-          typeSpec_ =
-              com.google.cloud.datacatalog.v1beta1.TableSpec.newBuilder(
-                      (com.google.cloud.datacatalog.v1beta1.TableSpec) typeSpec_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (typeSpecCase_ == 3 &&
+            typeSpec_ != com.google.cloud.datacatalog.v1beta1.TableSpec.getDefaultInstance()) {
+          typeSpec_ = com.google.cloud.datacatalog.v1beta1.TableSpec.newBuilder((com.google.cloud.datacatalog.v1beta1.TableSpec) typeSpec_)
+              .mergeFrom(value).buildPartial();
         } else {
           typeSpec_ = value;
         }
@@ -1151,8 +1001,6 @@ public Builder mergeTableSpec(com.google.cloud.datacatalog.v1beta1.TableSpec val
       return this;
     }
     /**
-     *
-     *
      * 
      * Spec of a BigQuery table. This field should only be populated if
      * `table_source_type` is `BIGQUERY_TABLE`.
@@ -1177,8 +1025,6 @@ public Builder clearTableSpec() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Spec of a BigQuery table. This field should only be populated if
      * `table_source_type` is `BIGQUERY_TABLE`.
@@ -1190,8 +1036,6 @@ public com.google.cloud.datacatalog.v1beta1.TableSpec.Builder getTableSpecBuilde
       return getTableSpecFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Spec of a BigQuery table. This field should only be populated if
      * `table_source_type` is `BIGQUERY_TABLE`.
@@ -1211,8 +1055,6 @@ public com.google.cloud.datacatalog.v1beta1.TableSpecOrBuilder getTableSpecOrBui
       }
     }
     /**
-     *
-     *
      * 
      * Spec of a BigQuery table. This field should only be populated if
      * `table_source_type` is `BIGQUERY_TABLE`.
@@ -1221,19 +1063,14 @@ public com.google.cloud.datacatalog.v1beta1.TableSpecOrBuilder getTableSpecOrBui
      * .google.cloud.datacatalog.v1beta1.TableSpec table_spec = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1beta1.TableSpec,
-            com.google.cloud.datacatalog.v1beta1.TableSpec.Builder,
-            com.google.cloud.datacatalog.v1beta1.TableSpecOrBuilder>
+        com.google.cloud.datacatalog.v1beta1.TableSpec, com.google.cloud.datacatalog.v1beta1.TableSpec.Builder, com.google.cloud.datacatalog.v1beta1.TableSpecOrBuilder> 
         getTableSpecFieldBuilder() {
       if (tableSpecBuilder_ == null) {
         if (!(typeSpecCase_ == 3)) {
           typeSpec_ = com.google.cloud.datacatalog.v1beta1.TableSpec.getDefaultInstance();
         }
-        tableSpecBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.datacatalog.v1beta1.TableSpec,
-                com.google.cloud.datacatalog.v1beta1.TableSpec.Builder,
-                com.google.cloud.datacatalog.v1beta1.TableSpecOrBuilder>(
+        tableSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.datacatalog.v1beta1.TableSpec, com.google.cloud.datacatalog.v1beta1.TableSpec.Builder, com.google.cloud.datacatalog.v1beta1.TableSpecOrBuilder>(
                 (com.google.cloud.datacatalog.v1beta1.TableSpec) typeSpec_,
                 getParentForChildren(),
                 isClean());
@@ -1243,9 +1080,9 @@ public com.google.cloud.datacatalog.v1beta1.TableSpecOrBuilder getTableSpecOrBui
       onChanged();
       return tableSpecBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1255,12 +1092,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.BigQueryTableSpec)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.BigQueryTableSpec)
   private static final com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec();
   }
@@ -1269,27 +1106,27 @@ public static com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec getDefaultI
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BigQueryTableSpec parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BigQueryTableSpec parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1304,4 +1141,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpecOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpecOrBuilder.java
similarity index 71%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpecOrBuilder.java
rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpecOrBuilder.java
index 7403731b437f..f81c66f9562b 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpecOrBuilder.java
+++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpecOrBuilder.java
@@ -1,86 +1,52 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1beta1/table_spec.proto
 
 package com.google.cloud.datacatalog.v1beta1;
 
-public interface BigQueryTableSpecOrBuilder
-    extends
+public interface BigQueryTableSpecOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.BigQueryTableSpec)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Output only. The table source type.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for tableSourceType. */ int getTableSourceTypeValue(); /** - * - * *
    * Output only. The table source type.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The tableSourceType. */ com.google.cloud.datacatalog.v1beta1.TableSourceType getTableSourceType(); /** - * - * *
    * Table view specification. This field should only be populated if
    * `table_source_type` is `BIGQUERY_VIEW`.
    * 
* * .google.cloud.datacatalog.v1beta1.ViewSpec view_spec = 2; - * * @return Whether the viewSpec field is set. */ boolean hasViewSpec(); /** - * - * *
    * Table view specification. This field should only be populated if
    * `table_source_type` is `BIGQUERY_VIEW`.
    * 
* * .google.cloud.datacatalog.v1beta1.ViewSpec view_spec = 2; - * * @return The viewSpec. */ com.google.cloud.datacatalog.v1beta1.ViewSpec getViewSpec(); /** - * - * *
    * Table view specification. This field should only be populated if
    * `table_source_type` is `BIGQUERY_VIEW`.
@@ -91,34 +57,26 @@ public interface BigQueryTableSpecOrBuilder
   com.google.cloud.datacatalog.v1beta1.ViewSpecOrBuilder getViewSpecOrBuilder();
 
   /**
-   *
-   *
    * 
    * Spec of a BigQuery table. This field should only be populated if
    * `table_source_type` is `BIGQUERY_TABLE`.
    * 
* * .google.cloud.datacatalog.v1beta1.TableSpec table_spec = 3; - * * @return Whether the tableSpec field is set. */ boolean hasTableSpec(); /** - * - * *
    * Spec of a BigQuery table. This field should only be populated if
    * `table_source_type` is `BIGQUERY_TABLE`.
    * 
* * .google.cloud.datacatalog.v1beta1.TableSpec table_spec = 3; - * * @return The tableSpec. */ com.google.cloud.datacatalog.v1beta1.TableSpec getTableSpec(); /** - * - * *
    * Spec of a BigQuery table. This field should only be populated if
    * `table_source_type` is `BIGQUERY_TABLE`.
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchema.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchema.java
similarity index 66%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchema.java
rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchema.java
index 217ad5f8780e..5ed66682cf2e 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchema.java
+++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchema.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1beta1/schema.proto
 
 package com.google.cloud.datacatalog.v1beta1;
 
 /**
- *
- *
  * 
  * Representation of a column within a schema. Columns could be nested inside
  * other columns.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.ColumnSchema}
  */
-public final class ColumnSchema extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ColumnSchema extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ColumnSchema)
     ColumnSchemaOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ColumnSchema.newBuilder() to construct.
   private ColumnSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ColumnSchema() {
     column_ = "";
     type_ = "";
@@ -48,38 +30,33 @@ private ColumnSchema() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ColumnSchema();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass
-        .internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass
-        .internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.ColumnSchema.class,
-            com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.ColumnSchema.class, com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder.class);
   }
 
   public static final int COLUMN_FIELD_NUMBER = 6;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object column_ = "";
   /**
-   *
-   *
    * 
    * Required. Name of the column.
    * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The column. */ @java.lang.Override @@ -88,29 +65,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; } } /** - * - * *
    * Required. Name of the column.
    * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -119,18 +96,14 @@ public com.google.protobuf.ByteString getColumnBytes() { } public static final int TYPE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object type_ = ""; /** - * - * *
    * Required. Type of the column.
    * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The type. */ @java.lang.Override @@ -139,29 +112,29 @@ public java.lang.String getType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } } /** - * - * *
    * Required. Type of the column.
    * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -170,18 +143,14 @@ public com.google.protobuf.ByteString getTypeBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Optional. Description of the column. Default value is an empty string.
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -190,29 +159,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 column. Default value is an empty string.
    * 
* * 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 { @@ -221,20 +190,16 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int MODE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object mode_ = ""; /** - * - * *
-   * Optional. A column's mode indicates whether the values in this column are required,
-   * nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are supported.
-   * Default mode is `NULLABLE`.
+   * Optional. A column's mode indicates whether the values in this column are
+   * required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are
+   * supported. Default mode is `NULLABLE`.
    * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The mode. */ @java.lang.Override @@ -243,31 +208,31 @@ 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; } } /** - * - * *
-   * Optional. A column's mode indicates whether the values in this column are required,
-   * nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are supported.
-   * Default mode is `NULLABLE`.
+   * Optional. A column's mode indicates whether the values in this column are
+   * required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are
+   * supported. Default mode is `NULLABLE`.
    * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -276,80 +241,64 @@ public com.google.protobuf.ByteString getModeBytes() { } public static final int SUBCOLUMNS_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private java.util.List subcolumns_; /** - * - * *
-   * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+   * Optional. Schema of sub-columns. A column can have zero or more
+   * sub-columns.
    * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.List getSubcolumnsList() { return subcolumns_; } /** - * - * *
-   * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+   * Optional. Schema of sub-columns. A column can have zero or more
+   * sub-columns.
    * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List + public java.util.List getSubcolumnsOrBuilderList() { return subcolumns_; } /** - * - * *
-   * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+   * Optional. Schema of sub-columns. A column can have zero or more
+   * sub-columns.
    * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public int getSubcolumnsCount() { return subcolumns_.size(); } /** - * - * *
-   * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+   * Optional. Schema of sub-columns. A column can have zero or more
+   * sub-columns.
    * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.ColumnSchema getSubcolumns(int index) { return subcolumns_.get(index); } /** - * - * *
-   * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+   * Optional. Schema of sub-columns. A column can have zero or more
+   * sub-columns.
    * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder getSubcolumnsOrBuilder( @@ -358,7 +307,6 @@ public com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder getSubcolumnsO } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -370,7 +318,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_); } @@ -408,7 +357,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, column_); } for (int i = 0; i < subcolumns_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, subcolumns_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, subcolumns_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -418,19 +368,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.datacatalog.v1beta1.ColumnSchema)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.ColumnSchema other = - (com.google.cloud.datacatalog.v1beta1.ColumnSchema) obj; - - if (!getColumn().equals(other.getColumn())) return false; - if (!getType().equals(other.getType())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getMode().equals(other.getMode())) return false; - if (!getSubcolumnsList().equals(other.getSubcolumnsList())) return false; + com.google.cloud.datacatalog.v1beta1.ColumnSchema other = (com.google.cloud.datacatalog.v1beta1.ColumnSchema) obj; + + if (!getColumn() + .equals(other.getColumn())) return false; + if (!getType() + .equals(other.getType())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getMode() + .equals(other.getMode())) return false; + if (!getSubcolumnsList() + .equals(other.getSubcolumnsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -460,103 +414,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.ColumnSchema parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ColumnSchema parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ColumnSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ColumnSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ColumnSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ColumnSchema parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.ColumnSchema parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ColumnSchema parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.ColumnSchema parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ColumnSchema parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ColumnSchema parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.ColumnSchema parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ColumnSchema parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.ColumnSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.ColumnSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Representation of a column within a schema. Columns could be nested inside
    * other columns.
@@ -564,32 +513,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.ColumnSchema}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.ColumnSchema)
       com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass
-          .internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass
-          .internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.ColumnSchema.class,
-              com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.ColumnSchema.class, com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.ColumnSchema.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -609,9 +559,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass
-          .internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_descriptor;
     }
 
     @java.lang.Override
@@ -630,18 +580,14 @@ public com.google.cloud.datacatalog.v1beta1.ColumnSchema build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.ColumnSchema buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.ColumnSchema result =
-          new com.google.cloud.datacatalog.v1beta1.ColumnSchema(this);
+      com.google.cloud.datacatalog.v1beta1.ColumnSchema result = new com.google.cloud.datacatalog.v1beta1.ColumnSchema(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.datacatalog.v1beta1.ColumnSchema result) {
+    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.ColumnSchema result) {
       if (subcolumnsBuilder_ == null) {
         if (((bitField0_ & 0x00000010) != 0)) {
           subcolumns_ = java.util.Collections.unmodifiableList(subcolumns_);
@@ -673,39 +619,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ColumnSchema 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.datacatalog.v1beta1.ColumnSchema) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ColumnSchema) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ColumnSchema)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -713,8 +658,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ColumnSchema other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.ColumnSchema.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.ColumnSchema.getDefaultInstance()) return this;
       if (!other.getColumn().isEmpty()) {
         column_ = other.column_;
         bitField0_ |= 0x00000001;
@@ -753,10 +697,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ColumnSchema other
             subcolumnsBuilder_ = null;
             subcolumns_ = other.subcolumns_;
             bitField0_ = (bitField0_ & ~0x00000010);
-            subcolumnsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getSubcolumnsFieldBuilder()
-                    : null;
+            subcolumnsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getSubcolumnsFieldBuilder() : null;
           } else {
             subcolumnsBuilder_.addAllMessages(other.subcolumns_);
           }
@@ -788,51 +731,45 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                type_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 10
-            case 18:
-              {
-                description_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 18
-            case 26:
-              {
-                mode_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 26
-            case 50:
-              {
-                column_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 50
-            case 58:
-              {
-                com.google.cloud.datacatalog.v1beta1.ColumnSchema m =
-                    input.readMessage(
-                        com.google.cloud.datacatalog.v1beta1.ColumnSchema.parser(),
-                        extensionRegistry);
-                if (subcolumnsBuilder_ == null) {
-                  ensureSubcolumnsIsMutable();
-                  subcolumns_.add(m);
-                } else {
-                  subcolumnsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 58
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              type_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 10
+            case 18: {
+              description_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 18
+            case 26: {
+              mode_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 26
+            case 50: {
+              column_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 50
+            case 58: {
+              com.google.cloud.datacatalog.v1beta1.ColumnSchema m =
+                  input.readMessage(
+                      com.google.cloud.datacatalog.v1beta1.ColumnSchema.parser(),
+                      extensionRegistry);
+              if (subcolumnsBuilder_ == null) {
+                ensureSubcolumnsIsMutable();
+                subcolumns_.add(m);
+              } else {
+                subcolumnsBuilder_.addMessage(m);
+              }
+              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) {
@@ -842,25 +779,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object column_ = "";
     /**
-     *
-     *
      * 
      * Required. Name of the column.
      * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -869,21 +803,20 @@ public java.lang.String getColumn() { } } /** - * - * *
      * Required. Name of the column.
      * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -891,35 +824,28 @@ public com.google.protobuf.ByteString getColumnBytes() { } } /** - * - * *
      * Required. Name of the column.
      * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @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; } /** - * - * *
      * Required. Name of the column.
      * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearColumn() { @@ -929,21 +855,17 @@ public Builder clearColumn() { return this; } /** - * - * *
      * Required. Name of the column.
      * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -953,20 +875,18 @@ public Builder setColumnBytes(com.google.protobuf.ByteString value) { private java.lang.Object type_ = ""; /** - * - * *
      * Required. Type of the column.
      * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -975,21 +895,20 @@ public java.lang.String getType() { } } /** - * - * *
      * Required. Type of the column.
      * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -997,35 +916,28 @@ public com.google.protobuf.ByteString getTypeBytes() { } } /** - * - * *
      * Required. Type of the column.
      * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; } /** - * - * *
      * Required. Type of the column.
      * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearType() { @@ -1035,21 +947,17 @@ public Builder clearType() { return this; } /** - * - * *
      * Required. Type of the column.
      * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -1059,20 +967,18 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Optional. Description of the column. Default value is an empty string.
      * 
* * 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; @@ -1081,21 +987,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. Description of the column. Default value is an empty string.
      * 
* * 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 { @@ -1103,35 +1008,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. Description of the column. Default value is an empty string.
      * 
* * 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_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. Description of the column. Default value is an empty string.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1141,21 +1039,17 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Optional. Description of the column. Default value is an empty string.
      * 
* * 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_ |= 0x00000004; @@ -1165,22 +1059,20 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object mode_ = ""; /** - * - * *
-     * Optional. A column's mode indicates whether the values in this column are required,
-     * nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are supported.
-     * Default mode is `NULLABLE`.
+     * Optional. A column's mode indicates whether the values in this column are
+     * required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are
+     * supported. Default mode is `NULLABLE`.
      * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1189,23 +1081,22 @@ public java.lang.String getMode() { } } /** - * - * *
-     * Optional. A column's mode indicates whether the values in this column are required,
-     * nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are supported.
-     * Default mode is `NULLABLE`.
+     * Optional. A column's mode indicates whether the values in this column are
+     * required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are
+     * supported. Default mode is `NULLABLE`.
      * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1213,39 +1104,32 @@ public com.google.protobuf.ByteString getModeBytes() { } } /** - * - * *
-     * Optional. A column's mode indicates whether the values in this column are required,
-     * nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are supported.
-     * Default mode is `NULLABLE`.
+     * Optional. A column's mode indicates whether the values in this column are
+     * required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are
+     * supported. Default mode is `NULLABLE`.
      * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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_ |= 0x00000008; onChanged(); return this; } /** - * - * *
-     * Optional. A column's mode indicates whether the values in this column are required,
-     * nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are supported.
-     * Default mode is `NULLABLE`.
+     * Optional. A column's mode indicates whether the values in this column are
+     * required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are
+     * supported. Default mode is `NULLABLE`.
      * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearMode() { @@ -1255,23 +1139,19 @@ public Builder clearMode() { return this; } /** - * - * *
-     * Optional. A column's mode indicates whether the values in this column are required,
-     * nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are supported.
-     * Default mode is `NULLABLE`.
+     * Optional. A column's mode indicates whether the values in this column are
+     * required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are
+     * supported. Default mode is `NULLABLE`.
      * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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_ |= 0x00000008; @@ -1280,32 +1160,24 @@ public Builder setModeBytes(com.google.protobuf.ByteString value) { } private java.util.List subcolumns_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureSubcolumnsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - subcolumns_ = - new java.util.ArrayList(subcolumns_); + subcolumns_ = new java.util.ArrayList(subcolumns_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.ColumnSchema, - com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder, - com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder> - subcolumnsBuilder_; + com.google.cloud.datacatalog.v1beta1.ColumnSchema, com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder, com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder> subcolumnsBuilder_; /** - * - * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public java.util.List getSubcolumnsList() { if (subcolumnsBuilder_ == null) { @@ -1315,15 +1187,12 @@ public java.util.List getSubc } } /** - * - * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public int getSubcolumnsCount() { if (subcolumnsBuilder_ == null) { @@ -1333,15 +1202,12 @@ public int getSubcolumnsCount() { } } /** - * - * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.datacatalog.v1beta1.ColumnSchema getSubcolumns(int index) { if (subcolumnsBuilder_ == null) { @@ -1351,15 +1217,12 @@ public com.google.cloud.datacatalog.v1beta1.ColumnSchema getSubcolumns(int index } } /** - * - * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setSubcolumns( int index, com.google.cloud.datacatalog.v1beta1.ColumnSchema value) { @@ -1376,15 +1239,12 @@ public Builder setSubcolumns( return this; } /** - * - * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setSubcolumns( int index, com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder builderForValue) { @@ -1398,15 +1258,12 @@ public Builder setSubcolumns( return this; } /** - * - * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addSubcolumns(com.google.cloud.datacatalog.v1beta1.ColumnSchema value) { if (subcolumnsBuilder_ == null) { @@ -1422,15 +1279,12 @@ public Builder addSubcolumns(com.google.cloud.datacatalog.v1beta1.ColumnSchema v return this; } /** - * - * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addSubcolumns( int index, com.google.cloud.datacatalog.v1beta1.ColumnSchema value) { @@ -1447,15 +1301,12 @@ public Builder addSubcolumns( return this; } /** - * - * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addSubcolumns( com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder builderForValue) { @@ -1469,15 +1320,12 @@ public Builder addSubcolumns( return this; } /** - * - * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addSubcolumns( int index, com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder builderForValue) { @@ -1491,21 +1339,19 @@ public Builder addSubcolumns( return this; } /** - * - * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAllSubcolumns( java.lang.Iterable values) { if (subcolumnsBuilder_ == null) { ensureSubcolumnsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, subcolumns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, subcolumns_); onChanged(); } else { subcolumnsBuilder_.addAllMessages(values); @@ -1513,15 +1359,12 @@ public Builder addAllSubcolumns( return this; } /** - * - * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearSubcolumns() { if (subcolumnsBuilder_ == null) { @@ -1534,15 +1377,12 @@ public Builder clearSubcolumns() { return this; } /** - * - * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder removeSubcolumns(int index) { if (subcolumnsBuilder_ == null) { @@ -1555,52 +1395,42 @@ public Builder removeSubcolumns(int index) { return this; } /** - * - * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder getSubcolumnsBuilder( int index) { return getSubcolumnsFieldBuilder().getBuilder(index); } /** - * - * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder getSubcolumnsOrBuilder( int index) { if (subcolumnsBuilder_ == null) { - return subcolumns_.get(index); - } else { + return subcolumns_.get(index); } else { return subcolumnsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getSubcolumnsOrBuilderList() { + public java.util.List + getSubcolumnsOrBuilderList() { if (subcolumnsBuilder_ != null) { return subcolumnsBuilder_.getMessageOrBuilderList(); } else { @@ -1608,72 +1438,59 @@ public com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder getSubcolumnsO } } /** - * - * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder addSubcolumnsBuilder() { - return getSubcolumnsFieldBuilder() - .addBuilder(com.google.cloud.datacatalog.v1beta1.ColumnSchema.getDefaultInstance()); + return getSubcolumnsFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1beta1.ColumnSchema.getDefaultInstance()); } /** - * - * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder addSubcolumnsBuilder( int index) { - return getSubcolumnsFieldBuilder() - .addBuilder( - index, com.google.cloud.datacatalog.v1beta1.ColumnSchema.getDefaultInstance()); + return getSubcolumnsFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1beta1.ColumnSchema.getDefaultInstance()); } /** - * - * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getSubcolumnsBuilderList() { + public java.util.List + getSubcolumnsBuilderList() { return getSubcolumnsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.ColumnSchema, - com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder, - com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder> + com.google.cloud.datacatalog.v1beta1.ColumnSchema, com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder, com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder> getSubcolumnsFieldBuilder() { if (subcolumnsBuilder_ == null) { - subcolumnsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.ColumnSchema, - com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder, - com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder>( - subcolumns_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); + subcolumnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.ColumnSchema, com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder, com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder>( + subcolumns_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); subcolumns_ = null; } return subcolumnsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1683,12 +1500,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ColumnSchema) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ColumnSchema) private static final com.google.cloud.datacatalog.v1beta1.ColumnSchema DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ColumnSchema(); } @@ -1697,27 +1514,27 @@ public static com.google.cloud.datacatalog.v1beta1.ColumnSchema getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ColumnSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ColumnSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1732,4 +1549,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.ColumnSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchemaOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchemaOrBuilder.java similarity index 57% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchemaOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchemaOrBuilder.java index 242df568b6ba..cc1404ea6214 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchemaOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchemaOrBuilder.java @@ -1,191 +1,142 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/schema.proto package com.google.cloud.datacatalog.v1beta1; -public interface ColumnSchemaOrBuilder - extends +public interface ColumnSchemaOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ColumnSchema) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Name of the column.
    * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The column. */ java.lang.String getColumn(); /** - * - * *
    * Required. Name of the column.
    * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for column. */ - com.google.protobuf.ByteString getColumnBytes(); + com.google.protobuf.ByteString + getColumnBytes(); /** - * - * *
    * Required. Type of the column.
    * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The type. */ java.lang.String getType(); /** - * - * *
    * Required. Type of the column.
    * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for type. */ - com.google.protobuf.ByteString getTypeBytes(); + com.google.protobuf.ByteString + getTypeBytes(); /** - * - * *
    * Optional. Description of the column. Default value is an empty string.
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. Description of the column. Default value is an empty string.
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
-   * Optional. A column's mode indicates whether the values in this column are required,
-   * nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are supported.
-   * Default mode is `NULLABLE`.
+   * Optional. A column's mode indicates whether the values in this column are
+   * required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are
+   * supported. Default mode is `NULLABLE`.
    * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The mode. */ java.lang.String getMode(); /** - * - * *
-   * Optional. A column's mode indicates whether the values in this column are required,
-   * nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are supported.
-   * Default mode is `NULLABLE`.
+   * Optional. A column's mode indicates whether the values in this column are
+   * required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are
+   * supported. Default mode is `NULLABLE`.
    * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for mode. */ - com.google.protobuf.ByteString getModeBytes(); + com.google.protobuf.ByteString + getModeBytes(); /** - * - * *
-   * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+   * Optional. Schema of sub-columns. A column can have zero or more
+   * sub-columns.
    * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List getSubcolumnsList(); + java.util.List + getSubcolumnsList(); /** - * - * *
-   * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+   * Optional. Schema of sub-columns. A column can have zero or more
+   * sub-columns.
    * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.datacatalog.v1beta1.ColumnSchema getSubcolumns(int index); /** - * - * *
-   * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+   * Optional. Schema of sub-columns. A column can have zero or more
+   * sub-columns.
    * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ int getSubcolumnsCount(); /** - * - * *
-   * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+   * Optional. Schema of sub-columns. A column can have zero or more
+   * sub-columns.
    * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getSubcolumnsOrBuilderList(); /** - * - * *
-   * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+   * Optional. Schema of sub-columns. A column can have zero or more
+   * sub-columns.
    * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder getSubcolumnsOrBuilder(int index); + com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder getSubcolumnsOrBuilder( + int index); } diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Common.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Common.java new file mode 100644 index 000000000000..08e5e5f665e8 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Common.java @@ -0,0 +1,47 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/common.proto + +package com.google.cloud.datacatalog.v1beta1; + +public final class Common { + private Common() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + + 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/datacatalog/v1beta1/commo" + + "n.proto\022 google.cloud.datacatalog.v1beta" + + "1*U\n\020IntegratedSystem\022!\n\035INTEGRATED_SYST" + + "EM_UNSPECIFIED\020\000\022\014\n\010BIGQUERY\020\001\022\020\n\014CLOUD_" + + "PUBSUB\020\002*j\n\016ManagingSystem\022\037\n\033MANAGING_S" + + "YSTEM_UNSPECIFIED\020\000\022\034\n\030MANAGING_SYSTEM_D" + + "ATAPLEX\020\001\022\031\n\025MANAGING_SYSTEM_OTHER\020\002B\337\001\n" + + "$com.google.cloud.datacatalog.v1beta1P\001Z" + + "Fcloud.google.com/go/datacatalog/apiv1be" + + "ta1/datacatalogpb;datacatalogpb\370\001\001\252\002 Goo" + + "gle.Cloud.DataCatalog.V1Beta1\312\002 Google\\C" + + "loud\\DataCatalog\\V1beta1\352\002#Google::Cloud" + + "::DataCatalog::V1beta1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequest.java similarity index 68% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequest.java index ae7c53e453ae..327b41eea09e 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [CreateEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntryGroup].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest}
  */
-public final class CreateEntryGroupRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateEntryGroupRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest)
     CreateEntryGroupRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateEntryGroupRequest.newBuilder() to construct.
   private CreateEntryGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateEntryGroupRequest() {
     parent_ = "";
     entryGroupId_ = "";
@@ -45,32 +27,28 @@ private CreateEntryGroupRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateEntryGroupRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest.class,
-            com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest.class, com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the project this entry group is in. Example:
    *
@@ -80,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * stored in the location in this name.
    * 
* - * - * string parent = 1 [(.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 @@ -92,15 +67,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the project this entry group is in. Example:
    *
@@ -110,18 +84,17 @@ public java.lang.String getParent() {
    * stored in the location in this name.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -130,12 +103,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int ENTRY_GROUP_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object entryGroupId_ = ""; /** - * - * *
    * Required. The id of the entry group to create.
    * The id must begin with a letter or underscore, contain only English
@@ -143,7 +113,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The entryGroupId. */ @java.lang.Override @@ -152,15 +121,14 @@ public java.lang.String getEntryGroupId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entryGroupId_ = s; return s; } } /** - * - * *
    * Required. The id of the entry group to create.
    * The id must begin with a letter or underscore, contain only English
@@ -168,15 +136,16 @@ public java.lang.String getEntryGroupId() {
    * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for entryGroupId. */ @java.lang.Override - public com.google.protobuf.ByteString getEntryGroupIdBytes() { + public com.google.protobuf.ByteString + getEntryGroupIdBytes() { java.lang.Object ref = entryGroupId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); entryGroupId_ = b; return b; } else { @@ -187,14 +156,11 @@ public com.google.protobuf.ByteString getEntryGroupIdBytes() { public static final int ENTRY_GROUP_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1beta1.EntryGroup entryGroup_; /** - * - * *
    * The entry group to create. Defaults to an empty entry group.
    * 
* * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 2; - * * @return Whether the entryGroup field is set. */ @java.lang.Override @@ -202,25 +168,18 @@ public boolean hasEntryGroup() { return entryGroup_ != null; } /** - * - * *
    * The entry group to create. Defaults to an empty entry group.
    * 
* * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 2; - * * @return The entryGroup. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroup() { - return entryGroup_ == null - ? com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance() - : entryGroup_; + return entryGroup_ == null ? com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance() : entryGroup_; } /** - * - * *
    * The entry group to create. Defaults to an empty entry group.
    * 
@@ -229,13 +188,10 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroup() { */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupOrBuilder() { - return entryGroup_ == null - ? com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance() - : entryGroup_; + return entryGroup_ == null ? com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance() : entryGroup_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,7 +203,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -270,7 +227,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (entryGroup_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEntryGroup()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEntryGroup()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entryGroupId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, entryGroupId_); @@ -283,19 +241,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.datacatalog.v1beta1.CreateEntryGroupRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest other = - (com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest) obj; + com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest other = (com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getEntryGroupId().equals(other.getEntryGroupId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getEntryGroupId() + .equals(other.getEntryGroupId())) return false; if (hasEntryGroup() != other.hasEntryGroup()) return false; if (hasEntryGroup()) { - if (!getEntryGroup().equals(other.getEntryGroup())) return false; + if (!getEntryGroup() + .equals(other.getEntryGroup())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -322,104 +282,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [CreateEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntryGroup].
@@ -427,32 +381,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest)
       com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest.class,
-              com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest.class, com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -468,14 +423,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest
-        getDefaultInstanceForType() {
+    public com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest getDefaultInstanceForType() {
       return com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest.getDefaultInstance();
     }
 
@@ -490,17 +444,13 @@ public com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest result =
-          new com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest result = new com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest result) {
+    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -509,7 +459,9 @@ private void buildPartial0(
         result.entryGroupId_ = entryGroupId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.entryGroup_ = entryGroupBuilder_ == null ? entryGroup_ : entryGroupBuilder_.build();
+        result.entryGroup_ = entryGroupBuilder_ == null
+            ? entryGroup_
+            : entryGroupBuilder_.build();
       }
     }
 
@@ -517,39 +469,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.datacatalog.v1beta1.CreateEntryGroupRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -557,9 +508,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest other) {
-      if (other
-          == com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -599,31 +548,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getEntryGroupFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 18
-            case 26:
-              {
-                entryGroupId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getEntryGroupFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 18
+            case 26: {
+              entryGroupId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -633,13 +580,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the project this entry group is in. Example:
      *
@@ -649,16 +593,14 @@ public Builder mergeFrom(
      * stored in the location in this name.
      * 
* - * - * string parent = 1 [(.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; @@ -667,8 +609,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the project this entry group is in. Example:
      *
@@ -678,17 +618,16 @@ public java.lang.String getParent() {
      * stored in the location in this name.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -696,8 +635,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the project this entry group is in. Example:
      *
@@ -707,25 +644,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * stored in the location in this name.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the project this entry group is in. Example:
      *
@@ -735,10 +666,7 @@ public Builder setParent(java.lang.String value) {
      * stored in the location in this name.
      * 
* - * - * string 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() { @@ -748,8 +676,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the project this entry group is in. Example:
      *
@@ -759,17 +685,13 @@ public Builder clearParent() {
      * stored in the location in this name.
      * 
* - * - * 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 +701,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object entryGroupId_ = ""; /** - * - * *
      * Required. The id of the entry group to create.
      * The id must begin with a letter or underscore, contain only English
@@ -788,13 +708,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The entryGroupId. */ public java.lang.String getEntryGroupId() { java.lang.Object ref = entryGroupId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entryGroupId_ = s; return s; @@ -803,8 +723,6 @@ public java.lang.String getEntryGroupId() { } } /** - * - * *
      * Required. The id of the entry group to create.
      * The id must begin with a letter or underscore, contain only English
@@ -812,14 +730,15 @@ public java.lang.String getEntryGroupId() {
      * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for entryGroupId. */ - public com.google.protobuf.ByteString getEntryGroupIdBytes() { + public com.google.protobuf.ByteString + getEntryGroupIdBytes() { java.lang.Object ref = entryGroupId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); entryGroupId_ = b; return b; } else { @@ -827,8 +746,6 @@ public com.google.protobuf.ByteString getEntryGroupIdBytes() { } } /** - * - * *
      * Required. The id of the entry group to create.
      * The id must begin with a letter or underscore, contain only English
@@ -836,22 +753,18 @@ public com.google.protobuf.ByteString getEntryGroupIdBytes() {
      * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The entryGroupId to set. * @return This builder for chaining. */ - public Builder setEntryGroupId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEntryGroupId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } entryGroupId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The id of the entry group to create.
      * The id must begin with a letter or underscore, contain only English
@@ -859,7 +772,6 @@ public Builder setEntryGroupId(java.lang.String value) {
      * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearEntryGroupId() { @@ -869,8 +781,6 @@ public Builder clearEntryGroupId() { return this; } /** - * - * *
      * Required. The id of the entry group to create.
      * The id must begin with a letter or underscore, contain only English
@@ -878,14 +788,12 @@ public Builder clearEntryGroupId() {
      * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for entryGroupId to set. * @return This builder for chaining. */ - public Builder setEntryGroupIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEntryGroupIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); entryGroupId_ = value; bitField0_ |= 0x00000002; @@ -895,47 +803,34 @@ public Builder setEntryGroupIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datacatalog.v1beta1.EntryGroup entryGroup_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.EntryGroup, - com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder, - com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder> - entryGroupBuilder_; + com.google.cloud.datacatalog.v1beta1.EntryGroup, com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder, com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder> entryGroupBuilder_; /** - * - * *
      * The entry group to create. Defaults to an empty entry group.
      * 
* * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 2; - * * @return Whether the entryGroup field is set. */ public boolean hasEntryGroup() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The entry group to create. Defaults to an empty entry group.
      * 
* * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 2; - * * @return The entryGroup. */ public com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroup() { if (entryGroupBuilder_ == null) { - return entryGroup_ == null - ? com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance() - : entryGroup_; + return entryGroup_ == null ? com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance() : entryGroup_; } else { return entryGroupBuilder_.getMessage(); } } /** - * - * *
      * The entry group to create. Defaults to an empty entry group.
      * 
@@ -956,8 +851,6 @@ public Builder setEntryGroup(com.google.cloud.datacatalog.v1beta1.EntryGroup val return this; } /** - * - * *
      * The entry group to create. Defaults to an empty entry group.
      * 
@@ -976,8 +869,6 @@ public Builder setEntryGroup( return this; } /** - * - * *
      * The entry group to create. Defaults to an empty entry group.
      * 
@@ -986,10 +877,9 @@ public Builder setEntryGroup( */ public Builder mergeEntryGroup(com.google.cloud.datacatalog.v1beta1.EntryGroup value) { if (entryGroupBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && entryGroup_ != null - && entryGroup_ - != com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + entryGroup_ != null && + entryGroup_ != com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance()) { getEntryGroupBuilder().mergeFrom(value); } else { entryGroup_ = value; @@ -1002,8 +892,6 @@ public Builder mergeEntryGroup(com.google.cloud.datacatalog.v1beta1.EntryGroup v return this; } /** - * - * *
      * The entry group to create. Defaults to an empty entry group.
      * 
@@ -1021,8 +909,6 @@ public Builder clearEntryGroup() { return this; } /** - * - * *
      * The entry group to create. Defaults to an empty entry group.
      * 
@@ -1035,8 +921,6 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder getEntryGroupBuil return getEntryGroupFieldBuilder().getBuilder(); } /** - * - * *
      * The entry group to create. Defaults to an empty entry group.
      * 
@@ -1047,14 +931,11 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupOrB if (entryGroupBuilder_ != null) { return entryGroupBuilder_.getMessageOrBuilder(); } else { - return entryGroup_ == null - ? com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance() - : entryGroup_; + return entryGroup_ == null ? + com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance() : entryGroup_; } } /** - * - * *
      * The entry group to create. Defaults to an empty entry group.
      * 
@@ -1062,24 +943,21 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupOrB * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.EntryGroup, - com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder, - com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder> + com.google.cloud.datacatalog.v1beta1.EntryGroup, com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder, com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder> getEntryGroupFieldBuilder() { if (entryGroupBuilder_ == null) { - entryGroupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.EntryGroup, - com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder, - com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder>( - getEntryGroup(), getParentForChildren(), isClean()); + entryGroupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.EntryGroup, com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder, com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder>( + getEntryGroup(), + getParentForChildren(), + isClean()); entryGroup_ = null; } return entryGroupBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1089,13 +967,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest) - private static final com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest(); } @@ -1104,27 +981,27 @@ public static com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateEntryGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateEntryGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,4 +1016,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequestOrBuilder.java similarity index 69% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequestOrBuilder.java index 316f7f377eee..cbd8f6892995 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface CreateEntryGroupRequestOrBuilder - extends +public interface CreateEntryGroupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the project this entry group is in. Example:
    *
@@ -35,16 +17,11 @@ public interface CreateEntryGroupRequestOrBuilder
    * stored in the location in this name.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the project this entry group is in. Example:
    *
@@ -54,17 +31,13 @@ public interface CreateEntryGroupRequestOrBuilder
    * stored in the location in this name.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The id of the entry group to create.
    * The id must begin with a letter or underscore, contain only English
@@ -72,13 +45,10 @@ public interface CreateEntryGroupRequestOrBuilder
    * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The entryGroupId. */ java.lang.String getEntryGroupId(); /** - * - * *
    * Required. The id of the entry group to create.
    * The id must begin with a letter or underscore, contain only English
@@ -86,38 +56,30 @@ public interface CreateEntryGroupRequestOrBuilder
    * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for entryGroupId. */ - com.google.protobuf.ByteString getEntryGroupIdBytes(); + com.google.protobuf.ByteString + getEntryGroupIdBytes(); /** - * - * *
    * The entry group to create. Defaults to an empty entry group.
    * 
* * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 2; - * * @return Whether the entryGroup field is set. */ boolean hasEntryGroup(); /** - * - * *
    * The entry group to create. Defaults to an empty entry group.
    * 
* * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 2; - * * @return The entryGroup. */ com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroup(); /** - * - * *
    * The entry group to create. Defaults to an empty entry group.
    * 
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequest.java similarity index 63% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequest.java index 36a6be71c791..88197d205c86 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.CreateEntryRequest}
  */
-public final class CreateEntryRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateEntryRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.CreateEntryRequest)
     CreateEntryRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateEntryRequest.newBuilder() to construct.
   private CreateEntryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateEntryRequest() {
     parent_ = "";
     entryId_ = "";
@@ -45,32 +27,28 @@ private CreateEntryRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateEntryRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.CreateEntryRequest.class,
-            com.google.cloud.datacatalog.v1beta1.CreateEntryRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.CreateEntryRequest.class, com.google.cloud.datacatalog.v1beta1.CreateEntryRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the entry group this entry is in. Example:
    *
@@ -80,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * the location in this name.
    * 
* - * - * string parent = 1 [(.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 @@ -92,15 +67,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the entry group this entry is in. Example:
    *
@@ -110,18 +84,17 @@ public java.lang.String getParent() {
    * the location in this name.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -130,18 +103,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int ENTRY_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object entryId_ = ""; /** - * - * *
    * Required. The id of the entry to create.
    * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The entryId. */ @java.lang.Override @@ -150,29 +119,29 @@ public java.lang.String getEntryId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entryId_ = s; return s; } } /** - * - * *
    * Required. The id of the entry to create.
    * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for entryId. */ @java.lang.Override - public com.google.protobuf.ByteString getEntryIdBytes() { + public com.google.protobuf.ByteString + getEntryIdBytes() { java.lang.Object ref = entryId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); entryId_ = b; return b; } else { @@ -183,16 +152,11 @@ public com.google.protobuf.ByteString getEntryIdBytes() { public static final int ENTRY_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1beta1.Entry entry_; /** - * - * *
    * Required. The entry to create.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the entry field is set. */ @java.lang.Override @@ -200,44 +164,30 @@ public boolean hasEntry() { return entry_ != null; } /** - * - * *
    * Required. The entry to create.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The entry. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.Entry getEntry() { - return entry_ == null - ? com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance() - : entry_; + return entry_ == null ? com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance() : entry_; } /** - * - * *
    * Required. The entry to create.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntryOrBuilder() { - return entry_ == null - ? com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance() - : entry_; + return entry_ == null ? com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance() : entry_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,7 +199,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -272,7 +223,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (entry_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEntry()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEntry()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entryId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, entryId_); @@ -285,19 +237,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.datacatalog.v1beta1.CreateEntryRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.CreateEntryRequest other = - (com.google.cloud.datacatalog.v1beta1.CreateEntryRequest) obj; + com.google.cloud.datacatalog.v1beta1.CreateEntryRequest other = (com.google.cloud.datacatalog.v1beta1.CreateEntryRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getEntryId().equals(other.getEntryId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getEntryId() + .equals(other.getEntryId())) return false; if (hasEntry() != other.hasEntry()) return false; if (hasEntry()) { - if (!getEntry().equals(other.getEntry())) return false; + if (!getEntry() + .equals(other.getEntry())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -324,104 +278,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.CreateEntryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.CreateEntryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateEntryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.CreateEntryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateEntryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.CreateEntryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.CreateEntryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.CreateEntryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.CreateEntryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateEntryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.CreateEntryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.CreateEntryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateEntryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.CreateEntryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.CreateEntryRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.CreateEntryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry].
@@ -429,32 +377,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.CreateEntryRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.CreateEntryRequest)
       com.google.cloud.datacatalog.v1beta1.CreateEntryRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.CreateEntryRequest.class,
-              com.google.cloud.datacatalog.v1beta1.CreateEntryRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.CreateEntryRequest.class, com.google.cloud.datacatalog.v1beta1.CreateEntryRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.CreateEntryRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -470,9 +419,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_descriptor;
     }
 
     @java.lang.Override
@@ -491,11 +440,8 @@ public com.google.cloud.datacatalog.v1beta1.CreateEntryRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.CreateEntryRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.CreateEntryRequest result =
-          new com.google.cloud.datacatalog.v1beta1.CreateEntryRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.CreateEntryRequest result = new com.google.cloud.datacatalog.v1beta1.CreateEntryRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -509,7 +455,9 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.CreateEntryReque
         result.entryId_ = entryId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.entry_ = entryBuilder_ == null ? entry_ : entryBuilder_.build();
+        result.entry_ = entryBuilder_ == null
+            ? entry_
+            : entryBuilder_.build();
       }
     }
 
@@ -517,39 +465,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.CreateEntryReque
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.CreateEntryRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.CreateEntryRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.CreateEntryRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -557,8 +504,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.CreateEntryRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.CreateEntryRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.CreateEntryRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -598,31 +544,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getEntryFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 18
-            case 26:
-              {
-                entryId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getEntryFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 18
+            case 26: {
+              entryId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -632,13 +576,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the entry group this entry is in. Example:
      *
@@ -648,16 +589,14 @@ public Builder mergeFrom(
      * the location in this name.
      * 
* - * - * string parent = 1 [(.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; @@ -666,8 +605,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the entry group this entry is in. Example:
      *
@@ -677,17 +614,16 @@ public java.lang.String getParent() {
      * the location in this name.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -695,8 +631,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the entry group this entry is in. Example:
      *
@@ -706,25 +640,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * the location in this name.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the entry group this entry is in. Example:
      *
@@ -734,10 +662,7 @@ public Builder setParent(java.lang.String value) {
      * the location in this name.
      * 
* - * - * string 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() { @@ -747,8 +672,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the entry group this entry is in. Example:
      *
@@ -758,17 +681,13 @@ public Builder clearParent() {
      * the location in this name.
      * 
* - * - * 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; @@ -778,20 +697,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object entryId_ = ""; /** - * - * *
      * Required. The id of the entry to create.
      * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The entryId. */ public java.lang.String getEntryId() { java.lang.Object ref = entryId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entryId_ = s; return s; @@ -800,21 +717,20 @@ public java.lang.String getEntryId() { } } /** - * - * *
      * Required. The id of the entry to create.
      * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for entryId. */ - public com.google.protobuf.ByteString getEntryIdBytes() { + public com.google.protobuf.ByteString + getEntryIdBytes() { java.lang.Object ref = entryId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); entryId_ = b; return b; } else { @@ -822,35 +738,28 @@ public com.google.protobuf.ByteString getEntryIdBytes() { } } /** - * - * *
      * Required. The id of the entry to create.
      * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The entryId to set. * @return This builder for chaining. */ - public Builder setEntryId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEntryId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } entryId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The id of the entry to create.
      * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearEntryId() { @@ -860,21 +769,17 @@ public Builder clearEntryId() { return this; } /** - * - * *
      * Required. The id of the entry to create.
      * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for entryId to set. * @return This builder for chaining. */ - public Builder setEntryIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEntryIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); entryId_ = value; bitField0_ |= 0x00000002; @@ -884,58 +789,39 @@ public Builder setEntryIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datacatalog.v1beta1.Entry entry_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Entry, - com.google.cloud.datacatalog.v1beta1.Entry.Builder, - com.google.cloud.datacatalog.v1beta1.EntryOrBuilder> - entryBuilder_; + com.google.cloud.datacatalog.v1beta1.Entry, com.google.cloud.datacatalog.v1beta1.Entry.Builder, com.google.cloud.datacatalog.v1beta1.EntryOrBuilder> entryBuilder_; /** - * - * *
      * Required. The entry to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the entry field is set. */ public boolean hasEntry() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The entry to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The entry. */ public com.google.cloud.datacatalog.v1beta1.Entry getEntry() { if (entryBuilder_ == null) { - return entry_ == null - ? com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance() - : entry_; + return entry_ == null ? com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance() : entry_; } else { return entryBuilder_.getMessage(); } } /** - * - * *
      * Required. The entry to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setEntry(com.google.cloud.datacatalog.v1beta1.Entry value) { if (entryBuilder_ == null) { @@ -951,17 +837,14 @@ public Builder setEntry(com.google.cloud.datacatalog.v1beta1.Entry value) { return this; } /** - * - * *
      * Required. The entry to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setEntry(com.google.cloud.datacatalog.v1beta1.Entry.Builder builderForValue) { + public Builder setEntry( + com.google.cloud.datacatalog.v1beta1.Entry.Builder builderForValue) { if (entryBuilder_ == null) { entry_ = builderForValue.build(); } else { @@ -972,21 +855,17 @@ public Builder setEntry(com.google.cloud.datacatalog.v1beta1.Entry.Builder build return this; } /** - * - * *
      * Required. The entry to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeEntry(com.google.cloud.datacatalog.v1beta1.Entry value) { if (entryBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && entry_ != null - && entry_ != com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + entry_ != null && + entry_ != com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance()) { getEntryBuilder().mergeFrom(value); } else { entry_ = value; @@ -999,15 +878,11 @@ public Builder mergeEntry(com.google.cloud.datacatalog.v1beta1.Entry value) { return this; } /** - * - * *
      * Required. The entry to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearEntry() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1020,15 +895,11 @@ public Builder clearEntry() { return this; } /** - * - * *
      * Required. The entry to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1beta1.Entry.Builder getEntryBuilder() { bitField0_ |= 0x00000004; @@ -1036,55 +907,43 @@ public com.google.cloud.datacatalog.v1beta1.Entry.Builder getEntryBuilder() { return getEntryFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The entry to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntryOrBuilder() { if (entryBuilder_ != null) { return entryBuilder_.getMessageOrBuilder(); } else { - return entry_ == null - ? com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance() - : entry_; + return entry_ == null ? + com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance() : entry_; } } /** - * - * *
      * Required. The entry to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Entry, - com.google.cloud.datacatalog.v1beta1.Entry.Builder, - com.google.cloud.datacatalog.v1beta1.EntryOrBuilder> + com.google.cloud.datacatalog.v1beta1.Entry, com.google.cloud.datacatalog.v1beta1.Entry.Builder, com.google.cloud.datacatalog.v1beta1.EntryOrBuilder> getEntryFieldBuilder() { if (entryBuilder_ == null) { - entryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Entry, - com.google.cloud.datacatalog.v1beta1.Entry.Builder, - com.google.cloud.datacatalog.v1beta1.EntryOrBuilder>( - getEntry(), getParentForChildren(), isClean()); + entryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.Entry, com.google.cloud.datacatalog.v1beta1.Entry.Builder, com.google.cloud.datacatalog.v1beta1.EntryOrBuilder>( + getEntry(), + getParentForChildren(), + isClean()); entry_ = null; } return entryBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1094,12 +953,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.CreateEntryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.CreateEntryRequest) private static final com.google.cloud.datacatalog.v1beta1.CreateEntryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.CreateEntryRequest(); } @@ -1108,27 +967,27 @@ public static com.google.cloud.datacatalog.v1beta1.CreateEntryRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateEntryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateEntryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1143,4 +1002,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.CreateEntryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequestOrBuilder.java similarity index 56% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequestOrBuilder.java index 5e45fb568154..dfbefc7cc6bd 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface CreateEntryRequestOrBuilder - extends +public interface CreateEntryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.CreateEntryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the entry group this entry is in. Example:
    *
@@ -35,16 +17,11 @@ public interface CreateEntryRequestOrBuilder
    * the location in this name.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the entry group this entry is in. Example:
    *
@@ -54,77 +31,56 @@ public interface CreateEntryRequestOrBuilder
    * the location in this name.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The id of the entry to create.
    * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The entryId. */ java.lang.String getEntryId(); /** - * - * *
    * Required. The id of the entry to create.
    * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for entryId. */ - com.google.protobuf.ByteString getEntryIdBytes(); + com.google.protobuf.ByteString + getEntryIdBytes(); /** - * - * *
    * Required. The entry to create.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the entry field is set. */ boolean hasEntry(); /** - * - * *
    * Required. The entry to create.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The entry. */ com.google.cloud.datacatalog.v1beta1.Entry getEntry(); /** - * - * *
    * Required. The entry to create.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntryOrBuilder(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequest.java similarity index 65% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequest.java index 2227ee7508b9..b47141244b5b 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [CreatePolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.CreatePolicyTag].
@@ -28,56 +11,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest}
  */
-public final class CreatePolicyTagRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreatePolicyTagRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest)
     CreatePolicyTagRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreatePolicyTagRequest.newBuilder() to construct.
   private CreatePolicyTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreatePolicyTagRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreatePolicyTagRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1beta1_CreatePolicyTagRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_CreatePolicyTagRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1beta1_CreatePolicyTagRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_CreatePolicyTagRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest.class,
-            com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest.class, com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. Resource name of the taxonomy that the policy tag will belong to.
    * 
* - * - * string parent = 1 [(.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,31 +61,29 @@ 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. Resource name of the taxonomy that the policy tag will belong to.
    * 
* - * - * string parent = 1 [(.google.api.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,14 +94,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int POLICY_TAG_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1beta1.PolicyTag policyTag_; /** - * - * *
    * The policy tag to be created.
    * 
* * .google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 2; - * * @return Whether the policyTag field is set. */ @java.lang.Override @@ -136,25 +106,18 @@ public boolean hasPolicyTag() { return policyTag_ != null; } /** - * - * *
    * The policy tag to be created.
    * 
* * .google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 2; - * * @return The policyTag. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.PolicyTag getPolicyTag() { - return policyTag_ == null - ? com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance() - : policyTag_; + return policyTag_ == null ? com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance() : policyTag_; } /** - * - * *
    * The policy tag to be created.
    * 
@@ -163,13 +126,10 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTag getPolicyTag() { */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagOrBuilder() { - return policyTag_ == null - ? com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance() - : policyTag_; + return policyTag_ == null ? com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance() : policyTag_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +141,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -201,7 +162,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (policyTag_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPolicyTag()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getPolicyTag()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -211,18 +173,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.datacatalog.v1beta1.CreatePolicyTagRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest other = - (com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest) obj; + com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest other = (com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasPolicyTag() != other.hasPolicyTag()) return false; if (hasPolicyTag()) { - if (!getPolicyTag().equals(other.getPolicyTag())) return false; + if (!getPolicyTag() + .equals(other.getPolicyTag())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -247,104 +210,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [CreatePolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.CreatePolicyTag].
@@ -352,32 +309,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest)
       com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_CreatePolicyTagRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_CreatePolicyTagRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_CreatePolicyTagRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_CreatePolicyTagRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest.class,
-              com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest.class, com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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,9 +350,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_CreatePolicyTagRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_CreatePolicyTagRequest_descriptor;
     }
 
     @java.lang.Override
@@ -413,11 +371,8 @@ public com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest result =
-          new com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest result = new com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -428,7 +383,9 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.CreatePolicyTagR
         result.parent_ = parent_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.policyTag_ = policyTagBuilder_ == null ? policyTag_ : policyTagBuilder_.build();
+        result.policyTag_ = policyTagBuilder_ == null
+            ? policyTag_
+            : policyTagBuilder_.build();
       }
     }
 
@@ -436,39 +393,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.CreatePolicyTagR
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -476,8 +432,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -512,25 +467,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getPolicyTagFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            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(
+                  getPolicyTagFieldBuilder().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) {
@@ -540,27 +494,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. Resource name of the taxonomy that the policy tag will belong to.
      * 
* - * - * string parent = 1 [(.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; @@ -569,23 +518,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the taxonomy that the policy tag will belong to.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -593,39 +539,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the taxonomy that the policy tag will belong to.
      * 
* - * - * 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. Resource name of the taxonomy that the policy tag will belong to.
      * 
* - * - * string 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() { @@ -635,23 +570,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Resource name of the taxonomy that the policy tag will belong to.
      * 
* - * - * 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; @@ -661,47 +590,34 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datacatalog.v1beta1.PolicyTag policyTag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.PolicyTag, - com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder, - com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder> - policyTagBuilder_; + com.google.cloud.datacatalog.v1beta1.PolicyTag, com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder, com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder> policyTagBuilder_; /** - * - * *
      * The policy tag to be created.
      * 
* * .google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 2; - * * @return Whether the policyTag field is set. */ public boolean hasPolicyTag() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The policy tag to be created.
      * 
* * .google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 2; - * * @return The policyTag. */ public com.google.cloud.datacatalog.v1beta1.PolicyTag getPolicyTag() { if (policyTagBuilder_ == null) { - return policyTag_ == null - ? com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance() - : policyTag_; + return policyTag_ == null ? com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance() : policyTag_; } else { return policyTagBuilder_.getMessage(); } } /** - * - * *
      * The policy tag to be created.
      * 
@@ -722,8 +638,6 @@ public Builder setPolicyTag(com.google.cloud.datacatalog.v1beta1.PolicyTag value return this; } /** - * - * *
      * The policy tag to be created.
      * 
@@ -742,8 +656,6 @@ public Builder setPolicyTag( return this; } /** - * - * *
      * The policy tag to be created.
      * 
@@ -752,9 +664,9 @@ public Builder setPolicyTag( */ public Builder mergePolicyTag(com.google.cloud.datacatalog.v1beta1.PolicyTag value) { if (policyTagBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && policyTag_ != null - && policyTag_ != com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + policyTag_ != null && + policyTag_ != com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance()) { getPolicyTagBuilder().mergeFrom(value); } else { policyTag_ = value; @@ -767,8 +679,6 @@ public Builder mergePolicyTag(com.google.cloud.datacatalog.v1beta1.PolicyTag val return this; } /** - * - * *
      * The policy tag to be created.
      * 
@@ -786,8 +696,6 @@ public Builder clearPolicyTag() { return this; } /** - * - * *
      * The policy tag to be created.
      * 
@@ -800,8 +708,6 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder getPolicyTagBuilde return getPolicyTagFieldBuilder().getBuilder(); } /** - * - * *
      * The policy tag to be created.
      * 
@@ -812,14 +718,11 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagOrBui if (policyTagBuilder_ != null) { return policyTagBuilder_.getMessageOrBuilder(); } else { - return policyTag_ == null - ? com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance() - : policyTag_; + return policyTag_ == null ? + com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance() : policyTag_; } } /** - * - * *
      * The policy tag to be created.
      * 
@@ -827,24 +730,21 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagOrBui * .google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.PolicyTag, - com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder, - com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder> + com.google.cloud.datacatalog.v1beta1.PolicyTag, com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder, com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder> getPolicyTagFieldBuilder() { if (policyTagBuilder_ == null) { - policyTagBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.PolicyTag, - com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder, - com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder>( - getPolicyTag(), getParentForChildren(), isClean()); + policyTagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.PolicyTag, com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder, com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder>( + getPolicyTag(), + getParentForChildren(), + isClean()); policyTag_ = null; } return policyTagBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -854,12 +754,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest) private static final com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest(); } @@ -868,27 +768,27 @@ public static com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreatePolicyTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreatePolicyTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -903,4 +803,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequestOrBuilder.java similarity index 56% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequestOrBuilder.java index c69938fd270a..95d7bdd6cfad 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequestOrBuilder.java @@ -1,84 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; -public interface CreatePolicyTagRequestOrBuilder - extends +public interface CreatePolicyTagRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the taxonomy that the policy tag will belong to.
    * 
* - * - * string parent = 1 [(.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. Resource name of the taxonomy that the policy tag will belong to.
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * The policy tag to be created.
    * 
* * .google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 2; - * * @return Whether the policyTag field is set. */ boolean hasPolicyTag(); /** - * - * *
    * The policy tag to be created.
    * 
* * .google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 2; - * * @return The policyTag. */ com.google.cloud.datacatalog.v1beta1.PolicyTag getPolicyTag(); /** - * - * *
    * The policy tag to be created.
    * 
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequest.java similarity index 62% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequest.java index f7cd4ac362db..63137c1fdbf0 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [CreateTag][google.cloud.datacatalog.v1beta1.DataCatalog.CreateTag].
@@ -28,51 +11,46 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.CreateTagRequest}
  */
-public final class CreateTagRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateTagRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.CreateTagRequest)
     CreateTagRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateTagRequest.newBuilder() to construct.
   private CreateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateTagRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateTagRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.CreateTagRequest.class,
-            com.google.cloud.datacatalog.v1beta1.CreateTagRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.CreateTagRequest.class, com.google.cloud.datacatalog.v1beta1.CreateTagRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
-   * Required. The name of the resource to attach this tag to. Tags can be attached to
-   * Entries. Example:
+   * Required. The name of the resource to attach this tag to. Tags can be
+   * attached to Entries. Example:
    *
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
    *
@@ -80,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * the location in this name.
    * 
* - * - * string parent = 1 [(.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 @@ -92,18 +67,17 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
-   * Required. The name of the resource to attach this tag to. Tags can be attached to
-   * Entries. Example:
+   * Required. The name of the resource to attach this tag to. Tags can be
+   * attached to Entries. Example:
    *
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
    *
@@ -111,18 +85,17 @@ public java.lang.String getParent() {
    * the location in this name.
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -133,15 +106,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TAG_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1beta1.Tag tag_; /** - * - * *
    * Required. The tag to create.
    * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tag field is set. */ @java.lang.Override @@ -149,15 +118,11 @@ public boolean hasTag() { return tag_ != null; } /** - * - * *
    * Required. The tag to create.
    * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The tag. */ @java.lang.Override @@ -165,14 +130,11 @@ public com.google.cloud.datacatalog.v1beta1.Tag getTag() { return tag_ == null ? com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance() : tag_; } /** - * - * *
    * Required. The tag to create.
    * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagOrBuilder() { @@ -180,7 +142,6 @@ public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -192,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -212,7 +174,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (tag_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTag()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTag()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -222,18 +185,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.datacatalog.v1beta1.CreateTagRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.CreateTagRequest other = - (com.google.cloud.datacatalog.v1beta1.CreateTagRequest) obj; + com.google.cloud.datacatalog.v1beta1.CreateTagRequest other = (com.google.cloud.datacatalog.v1beta1.CreateTagRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasTag() != other.hasTag()) return false; if (hasTag()) { - if (!getTag().equals(other.getTag())) return false; + if (!getTag() + .equals(other.getTag())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -258,104 +222,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.CreateTagRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.CreateTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.CreateTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.CreateTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.CreateTagRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.CreateTagRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.CreateTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [CreateTag][google.cloud.datacatalog.v1beta1.DataCatalog.CreateTag].
@@ -363,32 +321,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.CreateTagRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.CreateTagRequest)
       com.google.cloud.datacatalog.v1beta1.CreateTagRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.CreateTagRequest.class,
-              com.google.cloud.datacatalog.v1beta1.CreateTagRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.CreateTagRequest.class, com.google.cloud.datacatalog.v1beta1.CreateTagRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.CreateTagRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -403,9 +362,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_descriptor;
     }
 
     @java.lang.Override
@@ -424,11 +383,8 @@ public com.google.cloud.datacatalog.v1beta1.CreateTagRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.CreateTagRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.CreateTagRequest result =
-          new com.google.cloud.datacatalog.v1beta1.CreateTagRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.CreateTagRequest result = new com.google.cloud.datacatalog.v1beta1.CreateTagRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -439,7 +395,9 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.CreateTagRequest
         result.parent_ = parent_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.tag_ = tagBuilder_ == null ? tag_ : tagBuilder_.build();
+        result.tag_ = tagBuilder_ == null
+            ? tag_
+            : tagBuilder_.build();
       }
     }
 
@@ -447,39 +405,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.CreateTagRequest
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.CreateTagRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.CreateTagRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.CreateTagRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -487,8 +444,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.CreateTagRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.CreateTagRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.CreateTagRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -523,25 +479,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getTagFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            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(
+                  getTagFieldBuilder().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) {
@@ -551,16 +506,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
-     * Required. The name of the resource to attach this tag to. Tags can be attached to
-     * Entries. Example:
+     * Required. The name of the resource to attach this tag to. Tags can be
+     * attached to Entries. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      *
@@ -568,16 +520,14 @@ public Builder mergeFrom(
      * the location in this name.
      * 
* - * - * string parent = 1 [(.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; @@ -586,11 +536,9 @@ public java.lang.String getParent() { } } /** - * - * *
-     * Required. The name of the resource to attach this tag to. Tags can be attached to
-     * Entries. Example:
+     * Required. The name of the resource to attach this tag to. Tags can be
+     * attached to Entries. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      *
@@ -598,17 +546,16 @@ public java.lang.String getParent() {
      * the location in this name.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -616,11 +563,9 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
-     * Required. The name of the resource to attach this tag to. Tags can be attached to
-     * Entries. Example:
+     * Required. The name of the resource to attach this tag to. Tags can be
+     * attached to Entries. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      *
@@ -628,28 +573,22 @@ public com.google.protobuf.ByteString getParentBytes() {
      * the location in this name.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
-     * Required. The name of the resource to attach this tag to. Tags can be attached to
-     * Entries. Example:
+     * Required. The name of the resource to attach this tag to. Tags can be
+     * attached to Entries. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      *
@@ -657,10 +596,7 @@ public Builder setParent(java.lang.String value) {
      * the location in this name.
      * 
* - * - * string 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() { @@ -670,11 +606,9 @@ public Builder clearParent() { return this; } /** - * - * *
-     * Required. The name of the resource to attach this tag to. Tags can be attached to
-     * Entries. Example:
+     * Required. The name of the resource to attach this tag to. Tags can be
+     * attached to Entries. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      *
@@ -682,17 +616,13 @@ public Builder clearParent() {
      * the location in this name.
      * 
* - * - * 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; @@ -702,37 +632,24 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datacatalog.v1beta1.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Tag, - com.google.cloud.datacatalog.v1beta1.Tag.Builder, - com.google.cloud.datacatalog.v1beta1.TagOrBuilder> - tagBuilder_; + com.google.cloud.datacatalog.v1beta1.Tag, com.google.cloud.datacatalog.v1beta1.Tag.Builder, com.google.cloud.datacatalog.v1beta1.TagOrBuilder> tagBuilder_; /** - * - * *
      * Required. The tag to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tag field is set. */ public boolean hasTag() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The tag to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The tag. */ public com.google.cloud.datacatalog.v1beta1.Tag getTag() { @@ -743,15 +660,11 @@ public com.google.cloud.datacatalog.v1beta1.Tag getTag() { } } /** - * - * *
      * Required. The tag to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTag(com.google.cloud.datacatalog.v1beta1.Tag value) { if (tagBuilder_ == null) { @@ -767,17 +680,14 @@ public Builder setTag(com.google.cloud.datacatalog.v1beta1.Tag value) { return this; } /** - * - * *
      * Required. The tag to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTag(com.google.cloud.datacatalog.v1beta1.Tag.Builder builderForValue) { + public Builder setTag( + com.google.cloud.datacatalog.v1beta1.Tag.Builder builderForValue) { if (tagBuilder_ == null) { tag_ = builderForValue.build(); } else { @@ -788,21 +698,17 @@ public Builder setTag(com.google.cloud.datacatalog.v1beta1.Tag.Builder builderFo return this; } /** - * - * *
      * Required. The tag to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTag(com.google.cloud.datacatalog.v1beta1.Tag value) { if (tagBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && tag_ != null - && tag_ != com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + tag_ != null && + tag_ != com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance()) { getTagBuilder().mergeFrom(value); } else { tag_ = value; @@ -815,15 +721,11 @@ public Builder mergeTag(com.google.cloud.datacatalog.v1beta1.Tag value) { return this; } /** - * - * *
      * Required. The tag to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTag() { bitField0_ = (bitField0_ & ~0x00000002); @@ -836,15 +738,11 @@ public Builder clearTag() { return this; } /** - * - * *
      * Required. The tag to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1beta1.Tag.Builder getTagBuilder() { bitField0_ |= 0x00000002; @@ -852,53 +750,43 @@ public com.google.cloud.datacatalog.v1beta1.Tag.Builder getTagBuilder() { return getTagFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The tag to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagOrBuilder() { if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null ? com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance() : tag_; + return tag_ == null ? + com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance() : tag_; } } /** - * - * *
      * Required. The tag to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Tag, - com.google.cloud.datacatalog.v1beta1.Tag.Builder, - com.google.cloud.datacatalog.v1beta1.TagOrBuilder> + com.google.cloud.datacatalog.v1beta1.Tag, com.google.cloud.datacatalog.v1beta1.Tag.Builder, com.google.cloud.datacatalog.v1beta1.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Tag, - com.google.cloud.datacatalog.v1beta1.Tag.Builder, - com.google.cloud.datacatalog.v1beta1.TagOrBuilder>( - getTag(), getParentForChildren(), isClean()); + tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.Tag, com.google.cloud.datacatalog.v1beta1.Tag.Builder, com.google.cloud.datacatalog.v1beta1.TagOrBuilder>( + getTag(), + getParentForChildren(), + isClean()); tag_ = null; } return tagBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -908,12 +796,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.CreateTagRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.CreateTagRequest) private static final com.google.cloud.datacatalog.v1beta1.CreateTagRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.CreateTagRequest(); } @@ -922,27 +810,27 @@ public static com.google.cloud.datacatalog.v1beta1.CreateTagRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -957,4 +845,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.CreateTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequestOrBuilder.java similarity index 56% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequestOrBuilder.java index e55e7935f1cd..980052e8a2ac 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequestOrBuilder.java @@ -1,34 +1,16 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface CreateTagRequestOrBuilder - extends +public interface CreateTagRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.CreateTagRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
-   * Required. The name of the resource to attach this tag to. Tags can be attached to
-   * Entries. Example:
+   * Required. The name of the resource to attach this tag to. Tags can be
+   * attached to Entries. Example:
    *
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
    *
@@ -36,19 +18,14 @@ public interface CreateTagRequestOrBuilder
    * the location in this name.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
-   * Required. The name of the resource to attach this tag to. Tags can be attached to
-   * Entries. Example:
+   * Required. The name of the resource to attach this tag to. Tags can be
+   * attached to Entries. Example:
    *
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
    *
@@ -56,49 +33,36 @@ public interface CreateTagRequestOrBuilder
    * the location in this name.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The tag to create.
    * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tag field is set. */ boolean hasTag(); /** - * - * *
    * Required. The tag to create.
    * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The tag. */ com.google.cloud.datacatalog.v1beta1.Tag getTag(); /** - * - * *
    * Required. The tag to create.
    * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagOrBuilder(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequest.java similarity index 62% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequest.java index 4a091a899de6..2d1a12c68524 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [CreateTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.CreateTagTemplateField].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest}
  */
-public final class CreateTagTemplateFieldRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateTagTemplateFieldRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest)
     CreateTagTemplateFieldRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateTagTemplateFieldRequest.newBuilder() to construct.
   private CreateTagTemplateFieldRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateTagTemplateFieldRequest() {
     parent_ = "";
     tagTemplateFieldId_ = "";
@@ -45,32 +27,28 @@ private CreateTagTemplateFieldRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateTagTemplateFieldRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest.class,
-            com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest.class, com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
@@ -80,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
    * 
* - * - * string parent = 1 [(.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 @@ -92,15 +67,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
@@ -110,18 +84,17 @@ public java.lang.String getParent() {
    * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -130,12 +103,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int TAG_TEMPLATE_FIELD_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object tagTemplateFieldId_ = ""; /** - * - * *
    * Required. The ID of the tag template field to create.
    * Field ids can contain letters (both uppercase and lowercase), numbers
@@ -145,7 +115,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tagTemplateFieldId. */ @java.lang.Override @@ -154,15 +123,14 @@ public java.lang.String getTagTemplateFieldId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagTemplateFieldId_ = s; return s; } } /** - * - * *
    * Required. The ID of the tag template field to create.
    * Field ids can contain letters (both uppercase and lowercase), numbers
@@ -172,15 +140,16 @@ public java.lang.String getTagTemplateFieldId() {
    * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tagTemplateFieldId. */ @java.lang.Override - public com.google.protobuf.ByteString getTagTemplateFieldIdBytes() { + public com.google.protobuf.ByteString + getTagTemplateFieldIdBytes() { java.lang.Object ref = tagTemplateFieldId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tagTemplateFieldId_ = b; return b; } else { @@ -191,16 +160,11 @@ public com.google.protobuf.ByteString getTagTemplateFieldIdBytes() { public static final int TAG_TEMPLATE_FIELD_FIELD_NUMBER = 3; private com.google.cloud.datacatalog.v1beta1.TagTemplateField tagTemplateField_; /** - * - * *
    * Required. The tag template field to create.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tagTemplateField field is set. */ @java.lang.Override @@ -208,45 +172,30 @@ public boolean hasTagTemplateField() { return tagTemplateField_ != null; } /** - * - * *
    * Required. The tag template field to create.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The tagTemplateField. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TagTemplateField getTagTemplateField() { - return tagTemplateField_ == null - ? com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance() - : tagTemplateField_; + return tagTemplateField_ == null ? com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance() : tagTemplateField_; } /** - * - * *
    * Required. The tag template field to create.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder - getTagTemplateFieldOrBuilder() { - return tagTemplateField_ == null - ? com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance() - : tagTemplateField_; + public com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder() { + return tagTemplateField_ == null ? com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance() : tagTemplateField_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -258,7 +207,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -284,7 +234,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tagTemplateFieldId_); } if (tagTemplateField_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTagTemplateField()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getTagTemplateField()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -294,19 +245,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.datacatalog.v1beta1.CreateTagTemplateFieldRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest other = - (com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest) obj; + com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest other = (com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getTagTemplateFieldId().equals(other.getTagTemplateFieldId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getTagTemplateFieldId() + .equals(other.getTagTemplateFieldId())) return false; if (hasTagTemplateField() != other.hasTagTemplateField()) return false; if (hasTagTemplateField()) { - if (!getTagTemplateField().equals(other.getTagTemplateField())) return false; + if (!getTagTemplateField() + .equals(other.getTagTemplateField())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -333,105 +286,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest - parseDelimitedFrom( - java.io.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.datacatalog.v1beta1.CreateTagTemplateFieldRequest parseDelimitedFrom( + java.io.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.datacatalog.v1beta1.CreateTagTemplateFieldRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [CreateTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.CreateTagTemplateField].
@@ -439,33 +385,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest)
       com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest.class,
-              com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest.class, com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest.newBuilder()
-    private Builder() {}
+    // Construct using com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest.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();
@@ -481,16 +427,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest
-        getDefaultInstanceForType() {
-      return com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest
-          .getDefaultInstance();
+    public com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest getDefaultInstanceForType() {
+      return com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -504,17 +448,13 @@ public com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest build(
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest result =
-          new com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest result = new com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest result) {
+    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -523,8 +463,9 @@ private void buildPartial0(
         result.tagTemplateFieldId_ = tagTemplateFieldId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.tagTemplateField_ =
-            tagTemplateFieldBuilder_ == null ? tagTemplateField_ : tagTemplateFieldBuilder_.build();
+        result.tagTemplateField_ = tagTemplateFieldBuilder_ == null
+            ? tagTemplateField_
+            : tagTemplateFieldBuilder_.build();
       }
     }
 
@@ -532,51 +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) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest) {
-        return mergeFrom(
-            (com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest other) {
-      if (other
-          == com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest other) {
+      if (other == com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -616,32 +552,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                tagTemplateFieldId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(
-                    getTagTemplateFieldFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              tagTemplateFieldId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getTagTemplateFieldFieldBuilder().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) {
@@ -651,13 +584,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
@@ -667,16 +597,14 @@ public Builder mergeFrom(
      * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
      * 
* - * - * string parent = 1 [(.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; @@ -685,8 +613,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
@@ -696,17 +622,16 @@ public java.lang.String getParent() {
      * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -714,8 +639,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
@@ -725,25 +648,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
@@ -753,10 +670,7 @@ public Builder setParent(java.lang.String value) {
      * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
      * 
* - * - * string 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,8 +680,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
@@ -777,17 +689,13 @@ public Builder clearParent() {
      * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
      * 
* - * - * 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 +705,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object tagTemplateFieldId_ = ""; /** - * - * *
      * Required. The ID of the tag template field to create.
      * Field ids can contain letters (both uppercase and lowercase), numbers
@@ -808,13 +714,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tagTemplateFieldId. */ public java.lang.String getTagTemplateFieldId() { java.lang.Object ref = tagTemplateFieldId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagTemplateFieldId_ = s; return s; @@ -823,8 +729,6 @@ public java.lang.String getTagTemplateFieldId() { } } /** - * - * *
      * Required. The ID of the tag template field to create.
      * Field ids can contain letters (both uppercase and lowercase), numbers
@@ -834,14 +738,15 @@ public java.lang.String getTagTemplateFieldId() {
      * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tagTemplateFieldId. */ - public com.google.protobuf.ByteString getTagTemplateFieldIdBytes() { + public com.google.protobuf.ByteString + getTagTemplateFieldIdBytes() { java.lang.Object ref = tagTemplateFieldId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tagTemplateFieldId_ = b; return b; } else { @@ -849,8 +754,6 @@ public com.google.protobuf.ByteString getTagTemplateFieldIdBytes() { } } /** - * - * *
      * Required. The ID of the tag template field to create.
      * Field ids can contain letters (both uppercase and lowercase), numbers
@@ -860,22 +763,18 @@ public com.google.protobuf.ByteString getTagTemplateFieldIdBytes() {
      * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The tagTemplateFieldId to set. * @return This builder for chaining. */ - public Builder setTagTemplateFieldId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTagTemplateFieldId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tagTemplateFieldId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The ID of the tag template field to create.
      * Field ids can contain letters (both uppercase and lowercase), numbers
@@ -885,7 +784,6 @@ public Builder setTagTemplateFieldId(java.lang.String value) {
      * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTagTemplateFieldId() { @@ -895,8 +793,6 @@ public Builder clearTagTemplateFieldId() { return this; } /** - * - * *
      * Required. The ID of the tag template field to create.
      * Field ids can contain letters (both uppercase and lowercase), numbers
@@ -906,14 +802,12 @@ public Builder clearTagTemplateFieldId() {
      * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for tagTemplateFieldId to set. * @return This builder for chaining. */ - public Builder setTagTemplateFieldIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTagTemplateFieldIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tagTemplateFieldId_ = value; bitField0_ |= 0x00000002; @@ -923,61 +817,41 @@ public Builder setTagTemplateFieldIdBytes(com.google.protobuf.ByteString value) private com.google.cloud.datacatalog.v1beta1.TagTemplateField tagTemplateField_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.TagTemplateField, - com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder, - com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder> - tagTemplateFieldBuilder_; + com.google.cloud.datacatalog.v1beta1.TagTemplateField, com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder, com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder> tagTemplateFieldBuilder_; /** - * - * *
      * Required. The tag template field to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tagTemplateField field is set. */ public boolean hasTagTemplateField() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The tag template field to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The tagTemplateField. */ public com.google.cloud.datacatalog.v1beta1.TagTemplateField getTagTemplateField() { if (tagTemplateFieldBuilder_ == null) { - return tagTemplateField_ == null - ? com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance() - : tagTemplateField_; + return tagTemplateField_ == null ? com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance() : tagTemplateField_; } else { return tagTemplateFieldBuilder_.getMessage(); } } /** - * - * *
      * Required. The tag template field to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTagTemplateField( - com.google.cloud.datacatalog.v1beta1.TagTemplateField value) { + public Builder setTagTemplateField(com.google.cloud.datacatalog.v1beta1.TagTemplateField value) { if (tagTemplateFieldBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -991,15 +865,11 @@ public Builder setTagTemplateField( return this; } /** - * - * *
      * Required. The tag template field to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTagTemplateField( com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder builderForValue) { @@ -1013,23 +883,17 @@ public Builder setTagTemplateField( return this; } /** - * - * *
      * Required. The tag template field to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeTagTemplateField( - com.google.cloud.datacatalog.v1beta1.TagTemplateField value) { + public Builder mergeTagTemplateField(com.google.cloud.datacatalog.v1beta1.TagTemplateField value) { if (tagTemplateFieldBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && tagTemplateField_ != null - && tagTemplateField_ - != com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + tagTemplateField_ != null && + tagTemplateField_ != com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance()) { getTagTemplateFieldBuilder().mergeFrom(value); } else { tagTemplateField_ = value; @@ -1042,15 +906,11 @@ public Builder mergeTagTemplateField( return this; } /** - * - * *
      * Required. The tag template field to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTagTemplateField() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1063,73 +923,55 @@ public Builder clearTagTemplateField() { return this; } /** - * - * *
      * Required. The tag template field to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder - getTagTemplateFieldBuilder() { + public com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder getTagTemplateFieldBuilder() { bitField0_ |= 0x00000004; onChanged(); return getTagTemplateFieldFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The tag template field to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder - getTagTemplateFieldOrBuilder() { + public com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder() { if (tagTemplateFieldBuilder_ != null) { return tagTemplateFieldBuilder_.getMessageOrBuilder(); } else { - return tagTemplateField_ == null - ? com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance() - : tagTemplateField_; + return tagTemplateField_ == null ? + com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance() : tagTemplateField_; } } /** - * - * *
      * Required. The tag template field to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.TagTemplateField, - com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder, - com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder> + com.google.cloud.datacatalog.v1beta1.TagTemplateField, com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder, com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder> getTagTemplateFieldFieldBuilder() { if (tagTemplateFieldBuilder_ == null) { - tagTemplateFieldBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.TagTemplateField, - com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder, - com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder>( - getTagTemplateField(), getParentForChildren(), isClean()); + tagTemplateFieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.TagTemplateField, com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder, com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder>( + getTagTemplateField(), + getParentForChildren(), + isClean()); tagTemplateField_ = null; } return tagTemplateFieldBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1139,43 +981,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest) - private static final com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest(); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest - getDefaultInstance() { + public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTagTemplateFieldRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTagTemplateFieldRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1187,8 +1027,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest - getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequestOrBuilder.java similarity index 62% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequestOrBuilder.java index c55288aac144..5a965abb615d 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface CreateTagTemplateFieldRequestOrBuilder - extends +public interface CreateTagTemplateFieldRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
@@ -35,16 +17,11 @@ public interface CreateTagTemplateFieldRequestOrBuilder
    * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
@@ -54,17 +31,13 @@ public interface CreateTagTemplateFieldRequestOrBuilder
    * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The ID of the tag template field to create.
    * Field ids can contain letters (both uppercase and lowercase), numbers
@@ -74,13 +47,10 @@ public interface CreateTagTemplateFieldRequestOrBuilder
    * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tagTemplateFieldId. */ java.lang.String getTagTemplateFieldId(); /** - * - * *
    * Required. The ID of the tag template field to create.
    * Field ids can contain letters (both uppercase and lowercase), numbers
@@ -90,49 +60,35 @@ public interface CreateTagTemplateFieldRequestOrBuilder
    * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tagTemplateFieldId. */ - com.google.protobuf.ByteString getTagTemplateFieldIdBytes(); + com.google.protobuf.ByteString + getTagTemplateFieldIdBytes(); /** - * - * *
    * Required. The tag template field to create.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tagTemplateField field is set. */ boolean hasTagTemplateField(); /** - * - * *
    * Required. The tag template field to create.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The tagTemplateField. */ com.google.cloud.datacatalog.v1beta1.TagTemplateField getTagTemplateField(); /** - * - * *
    * Required. The tag template field to create.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequest.java similarity index 63% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequest.java index 7e6f93b3c9b9..a9e2aca3729a 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [CreateTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.CreateTagTemplate].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest}
  */
-public final class CreateTagTemplateRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateTagTemplateRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest)
     CreateTagTemplateRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateTagTemplateRequest.newBuilder() to construct.
   private CreateTagTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateTagTemplateRequest() {
     parent_ = "";
     tagTemplateId_ = "";
@@ -45,32 +27,28 @@ private CreateTagTemplateRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateTagTemplateRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest.class,
-            com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest.class, com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions.
@@ -80,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * * projects/{project_id}/locations/us-central1
    * 
* - * - * string parent = 1 [(.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 @@ -92,15 +67,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions.
@@ -110,18 +84,17 @@ public java.lang.String getParent() {
    * * projects/{project_id}/locations/us-central1
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -130,18 +103,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int TAG_TEMPLATE_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object tagTemplateId_ = ""; /** - * - * *
    * Required. The id of the tag template to create.
    * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tagTemplateId. */ @java.lang.Override @@ -150,29 +119,29 @@ public java.lang.String getTagTemplateId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagTemplateId_ = s; return s; } } /** - * - * *
    * Required. The id of the tag template to create.
    * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tagTemplateId. */ @java.lang.Override - public com.google.protobuf.ByteString getTagTemplateIdBytes() { + public com.google.protobuf.ByteString + getTagTemplateIdBytes() { java.lang.Object ref = tagTemplateId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tagTemplateId_ = b; return b; } else { @@ -183,16 +152,11 @@ public com.google.protobuf.ByteString getTagTemplateIdBytes() { public static final int TAG_TEMPLATE_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1beta1.TagTemplate tagTemplate_; /** - * - * *
    * Required. The tag template to create.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tagTemplate field is set. */ @java.lang.Override @@ -200,44 +164,30 @@ public boolean hasTagTemplate() { return tagTemplate_ != null; } /** - * - * *
    * Required. The tag template to create.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The tagTemplate. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TagTemplate getTagTemplate() { - return tagTemplate_ == null - ? com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance() - : tagTemplate_; + return tagTemplate_ == null ? com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance() : tagTemplate_; } /** - * - * *
    * Required. The tag template to create.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder getTagTemplateOrBuilder() { - return tagTemplate_ == null - ? com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance() - : tagTemplate_; + return tagTemplate_ == null ? com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance() : tagTemplate_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,7 +199,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -272,7 +223,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (tagTemplate_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTagTemplate()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTagTemplate()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tagTemplateId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, tagTemplateId_); @@ -285,19 +237,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.datacatalog.v1beta1.CreateTagTemplateRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest other = - (com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest) obj; + com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest other = (com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getTagTemplateId().equals(other.getTagTemplateId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getTagTemplateId() + .equals(other.getTagTemplateId())) return false; if (hasTagTemplate() != other.hasTagTemplate()) return false; if (hasTagTemplate()) { - if (!getTagTemplate().equals(other.getTagTemplate())) return false; + if (!getTagTemplate() + .equals(other.getTagTemplate())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -324,104 +278,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [CreateTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.CreateTagTemplate].
@@ -429,32 +377,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest)
       com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest.class,
-              com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest.class, com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -470,14 +419,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest
-        getDefaultInstanceForType() {
+    public com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest getDefaultInstanceForType() {
       return com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest.getDefaultInstance();
     }
 
@@ -492,17 +440,13 @@ public com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest result =
-          new com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest result = new com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest result) {
+    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -511,8 +455,9 @@ private void buildPartial0(
         result.tagTemplateId_ = tagTemplateId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.tagTemplate_ =
-            tagTemplateBuilder_ == null ? tagTemplate_ : tagTemplateBuilder_.build();
+        result.tagTemplate_ = tagTemplateBuilder_ == null
+            ? tagTemplate_
+            : tagTemplateBuilder_.build();
       }
     }
 
@@ -520,39 +465,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.datacatalog.v1beta1.CreateTagTemplateRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -560,9 +504,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest other) {
-      if (other
-          == com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -602,31 +544,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getTagTemplateFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 18
-            case 26:
-              {
-                tagTemplateId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getTagTemplateFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 18
+            case 26: {
+              tagTemplateId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -636,13 +576,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions.
@@ -652,16 +589,14 @@ public Builder mergeFrom(
      * * projects/{project_id}/locations/us-central1
      * 
* - * - * string parent = 1 [(.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; @@ -670,8 +605,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions.
@@ -681,17 +614,16 @@ public java.lang.String getParent() {
      * * projects/{project_id}/locations/us-central1
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -699,8 +631,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions.
@@ -710,25 +640,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * * projects/{project_id}/locations/us-central1
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions.
@@ -738,10 +662,7 @@ public Builder setParent(java.lang.String value) {
      * * projects/{project_id}/locations/us-central1
      * 
* - * - * string 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() { @@ -751,8 +672,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions.
@@ -762,17 +681,13 @@ public Builder clearParent() {
      * * projects/{project_id}/locations/us-central1
      * 
* - * - * 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,20 +697,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object tagTemplateId_ = ""; /** - * - * *
      * Required. The id of the tag template to create.
      * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tagTemplateId. */ public java.lang.String getTagTemplateId() { java.lang.Object ref = tagTemplateId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagTemplateId_ = s; return s; @@ -804,21 +717,20 @@ public java.lang.String getTagTemplateId() { } } /** - * - * *
      * Required. The id of the tag template to create.
      * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tagTemplateId. */ - public com.google.protobuf.ByteString getTagTemplateIdBytes() { + public com.google.protobuf.ByteString + getTagTemplateIdBytes() { java.lang.Object ref = tagTemplateId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tagTemplateId_ = b; return b; } else { @@ -826,35 +738,28 @@ public com.google.protobuf.ByteString getTagTemplateIdBytes() { } } /** - * - * *
      * Required. The id of the tag template to create.
      * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The tagTemplateId to set. * @return This builder for chaining. */ - public Builder setTagTemplateId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTagTemplateId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tagTemplateId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The id of the tag template to create.
      * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTagTemplateId() { @@ -864,21 +769,17 @@ public Builder clearTagTemplateId() { return this; } /** - * - * *
      * Required. The id of the tag template to create.
      * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for tagTemplateId to set. * @return This builder for chaining. */ - public Builder setTagTemplateIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTagTemplateIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tagTemplateId_ = value; bitField0_ |= 0x00000002; @@ -888,58 +789,39 @@ public Builder setTagTemplateIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datacatalog.v1beta1.TagTemplate tagTemplate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.TagTemplate, - com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder, - com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder> - tagTemplateBuilder_; + com.google.cloud.datacatalog.v1beta1.TagTemplate, com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder, com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder> tagTemplateBuilder_; /** - * - * *
      * Required. The tag template to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tagTemplate field is set. */ public boolean hasTagTemplate() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The tag template to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The tagTemplate. */ public com.google.cloud.datacatalog.v1beta1.TagTemplate getTagTemplate() { if (tagTemplateBuilder_ == null) { - return tagTemplate_ == null - ? com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance() - : tagTemplate_; + return tagTemplate_ == null ? com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance() : tagTemplate_; } else { return tagTemplateBuilder_.getMessage(); } } /** - * - * *
      * Required. The tag template to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTagTemplate(com.google.cloud.datacatalog.v1beta1.TagTemplate value) { if (tagTemplateBuilder_ == null) { @@ -955,15 +837,11 @@ public Builder setTagTemplate(com.google.cloud.datacatalog.v1beta1.TagTemplate v return this; } /** - * - * *
      * Required. The tag template to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTagTemplate( com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder builderForValue) { @@ -977,22 +855,17 @@ public Builder setTagTemplate( return this; } /** - * - * *
      * Required. The tag template to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTagTemplate(com.google.cloud.datacatalog.v1beta1.TagTemplate value) { if (tagTemplateBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && tagTemplate_ != null - && tagTemplate_ - != com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + tagTemplate_ != null && + tagTemplate_ != com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance()) { getTagTemplateBuilder().mergeFrom(value); } else { tagTemplate_ = value; @@ -1005,15 +878,11 @@ public Builder mergeTagTemplate(com.google.cloud.datacatalog.v1beta1.TagTemplate return this; } /** - * - * *
      * Required. The tag template to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTagTemplate() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1026,15 +895,11 @@ public Builder clearTagTemplate() { return this; } /** - * - * *
      * Required. The tag template to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder getTagTemplateBuilder() { bitField0_ |= 0x00000004; @@ -1042,55 +907,43 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder getTagTemplateBu return getTagTemplateFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The tag template to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder getTagTemplateOrBuilder() { if (tagTemplateBuilder_ != null) { return tagTemplateBuilder_.getMessageOrBuilder(); } else { - return tagTemplate_ == null - ? com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance() - : tagTemplate_; + return tagTemplate_ == null ? + com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance() : tagTemplate_; } } /** - * - * *
      * Required. The tag template to create.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.TagTemplate, - com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder, - com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder> + com.google.cloud.datacatalog.v1beta1.TagTemplate, com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder, com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder> getTagTemplateFieldBuilder() { if (tagTemplateBuilder_ == null) { - tagTemplateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.TagTemplate, - com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder, - com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder>( - getTagTemplate(), getParentForChildren(), isClean()); + tagTemplateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.TagTemplate, com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder, com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder>( + getTagTemplate(), + getParentForChildren(), + isClean()); tagTemplate_ = null; } return tagTemplateBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1100,13 +953,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest) - private static final com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest(); } @@ -1115,27 +967,27 @@ public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTagTemplateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTagTemplateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1150,4 +1002,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequestOrBuilder.java similarity index 55% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequestOrBuilder.java index f9d0352b3209..9f3f650346d1 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface CreateTagTemplateRequestOrBuilder - extends +public interface CreateTagTemplateRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions.
@@ -35,16 +17,11 @@ public interface CreateTagTemplateRequestOrBuilder
    * * projects/{project_id}/locations/us-central1
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions.
@@ -54,77 +31,56 @@ public interface CreateTagTemplateRequestOrBuilder
    * * projects/{project_id}/locations/us-central1
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The id of the tag template to create.
    * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tagTemplateId. */ java.lang.String getTagTemplateId(); /** - * - * *
    * Required. The id of the tag template to create.
    * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tagTemplateId. */ - com.google.protobuf.ByteString getTagTemplateIdBytes(); + com.google.protobuf.ByteString + getTagTemplateIdBytes(); /** - * - * *
    * Required. The tag template to create.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tagTemplate field is set. */ boolean hasTagTemplate(); /** - * - * *
    * Required. The tag template to create.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The tagTemplate. */ com.google.cloud.datacatalog.v1beta1.TagTemplate getTagTemplate(); /** - * - * *
    * Required. The tag template to create.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder getTagTemplateOrBuilder(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequest.java similarity index 65% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequest.java index 9147d573b81f..0df1e771ab7a 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [CreateTaxonomy][google.cloud.datacatalog.v1beta1.PolicyTagManager.CreateTaxonomy].
@@ -28,56 +11,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest}
  */
-public final class CreateTaxonomyRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateTaxonomyRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest)
     CreateTaxonomyRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateTaxonomyRequest.newBuilder() to construct.
   private CreateTaxonomyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateTaxonomyRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateTaxonomyRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1beta1_CreateTaxonomyRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_CreateTaxonomyRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1beta1_CreateTaxonomyRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_CreateTaxonomyRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest.class,
-            com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest.class, com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. Resource name of the project that the taxonomy will belong to.
    * 
* - * - * string parent = 1 [(.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,31 +61,29 @@ 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. Resource name of the project that the taxonomy will belong to.
    * 
* - * - * string parent = 1 [(.google.api.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,14 +94,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TAXONOMY_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1beta1.Taxonomy taxonomy_; /** - * - * *
    * The taxonomy to be created.
    * 
* * .google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 2; - * * @return Whether the taxonomy field is set. */ @java.lang.Override @@ -136,25 +106,18 @@ public boolean hasTaxonomy() { return taxonomy_ != null; } /** - * - * *
    * The taxonomy to be created.
    * 
* * .google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 2; - * * @return The taxonomy. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomy() { - return taxonomy_ == null - ? com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance() - : taxonomy_; + return taxonomy_ == null ? com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance() : taxonomy_; } /** - * - * *
    * The taxonomy to be created.
    * 
@@ -163,13 +126,10 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomy() { */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomyOrBuilder() { - return taxonomy_ == null - ? com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance() - : taxonomy_; + return taxonomy_ == null ? com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance() : taxonomy_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +141,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -201,7 +162,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (taxonomy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTaxonomy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTaxonomy()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -211,18 +173,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.datacatalog.v1beta1.CreateTaxonomyRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest other = - (com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest) obj; + com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest other = (com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasTaxonomy() != other.hasTaxonomy()) return false; if (hasTaxonomy()) { - if (!getTaxonomy().equals(other.getTaxonomy())) return false; + if (!getTaxonomy() + .equals(other.getTaxonomy())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -247,104 +210,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [CreateTaxonomy][google.cloud.datacatalog.v1beta1.PolicyTagManager.CreateTaxonomy].
@@ -352,32 +309,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest)
       com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_CreateTaxonomyRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_CreateTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_CreateTaxonomyRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_CreateTaxonomyRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest.class,
-              com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest.class, com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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,9 +350,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_CreateTaxonomyRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_CreateTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
@@ -413,11 +371,8 @@ public com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest result =
-          new com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest result = new com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -428,7 +383,9 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRe
         result.parent_ = parent_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.taxonomy_ = taxonomyBuilder_ == null ? taxonomy_ : taxonomyBuilder_.build();
+        result.taxonomy_ = taxonomyBuilder_ == null
+            ? taxonomy_
+            : taxonomyBuilder_.build();
       }
     }
 
@@ -436,39 +393,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRe
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -476,8 +432,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -512,25 +467,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getTaxonomyFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            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(
+                  getTaxonomyFieldBuilder().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) {
@@ -540,27 +494,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. Resource name of the project that the taxonomy will belong to.
      * 
* - * - * string parent = 1 [(.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; @@ -569,23 +518,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the project that the taxonomy will belong to.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -593,39 +539,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the project that the taxonomy will belong to.
      * 
* - * - * 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. Resource name of the project that the taxonomy will belong to.
      * 
* - * - * string 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() { @@ -635,23 +570,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Resource name of the project that the taxonomy will belong to.
      * 
* - * - * 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; @@ -661,47 +590,34 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datacatalog.v1beta1.Taxonomy taxonomy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Taxonomy, - com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, - com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder> - taxonomyBuilder_; + com.google.cloud.datacatalog.v1beta1.Taxonomy, com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder> taxonomyBuilder_; /** - * - * *
      * The taxonomy to be created.
      * 
* * .google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 2; - * * @return Whether the taxonomy field is set. */ public boolean hasTaxonomy() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The taxonomy to be created.
      * 
* * .google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 2; - * * @return The taxonomy. */ public com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomy() { if (taxonomyBuilder_ == null) { - return taxonomy_ == null - ? com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance() - : taxonomy_; + return taxonomy_ == null ? com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance() : taxonomy_; } else { return taxonomyBuilder_.getMessage(); } } /** - * - * *
      * The taxonomy to be created.
      * 
@@ -722,8 +638,6 @@ public Builder setTaxonomy(com.google.cloud.datacatalog.v1beta1.Taxonomy value) return this; } /** - * - * *
      * The taxonomy to be created.
      * 
@@ -742,8 +656,6 @@ public Builder setTaxonomy( return this; } /** - * - * *
      * The taxonomy to be created.
      * 
@@ -752,9 +664,9 @@ public Builder setTaxonomy( */ public Builder mergeTaxonomy(com.google.cloud.datacatalog.v1beta1.Taxonomy value) { if (taxonomyBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && taxonomy_ != null - && taxonomy_ != com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + taxonomy_ != null && + taxonomy_ != com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance()) { getTaxonomyBuilder().mergeFrom(value); } else { taxonomy_ = value; @@ -767,8 +679,6 @@ public Builder mergeTaxonomy(com.google.cloud.datacatalog.v1beta1.Taxonomy value return this; } /** - * - * *
      * The taxonomy to be created.
      * 
@@ -786,8 +696,6 @@ public Builder clearTaxonomy() { return this; } /** - * - * *
      * The taxonomy to be created.
      * 
@@ -800,8 +708,6 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder getTaxonomyBuilder( return getTaxonomyFieldBuilder().getBuilder(); } /** - * - * *
      * The taxonomy to be created.
      * 
@@ -812,14 +718,11 @@ public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomyOrBuild if (taxonomyBuilder_ != null) { return taxonomyBuilder_.getMessageOrBuilder(); } else { - return taxonomy_ == null - ? com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance() - : taxonomy_; + return taxonomy_ == null ? + com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance() : taxonomy_; } } /** - * - * *
      * The taxonomy to be created.
      * 
@@ -827,24 +730,21 @@ public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomyOrBuild * .google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Taxonomy, - com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, - com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder> + com.google.cloud.datacatalog.v1beta1.Taxonomy, com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder> getTaxonomyFieldBuilder() { if (taxonomyBuilder_ == null) { - taxonomyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Taxonomy, - com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, - com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder>( - getTaxonomy(), getParentForChildren(), isClean()); + taxonomyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.Taxonomy, com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder>( + getTaxonomy(), + getParentForChildren(), + isClean()); taxonomy_ = null; } return taxonomyBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -854,12 +754,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest) private static final com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest(); } @@ -868,27 +768,27 @@ public static com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTaxonomyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTaxonomyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -903,4 +803,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequestOrBuilder.java similarity index 56% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequestOrBuilder.java index c4010039c650..7cd89cd2dbfd 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequestOrBuilder.java @@ -1,84 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; -public interface CreateTaxonomyRequestOrBuilder - extends +public interface CreateTaxonomyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the project that the taxonomy will belong to.
    * 
* - * - * string parent = 1 [(.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. Resource name of the project that the taxonomy will belong to.
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * The taxonomy to be created.
    * 
* * .google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 2; - * * @return Whether the taxonomy field is set. */ boolean hasTaxonomy(); /** - * - * *
    * The taxonomy to be created.
    * 
* * .google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 2; - * * @return The taxonomy. */ com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomy(); /** - * - * *
    * The taxonomy to be created.
    * 
diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Datacatalog.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Datacatalog.java new file mode 100644 index 000000000000..f3d20be68d4c --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Datacatalog.java @@ -0,0 +1,766 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/datacatalog.proto + +package com.google.cloud.datacatalog.v1beta1; + +public final class Datacatalog { + private Datacatalog() {} + 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_datacatalog_v1beta1_SearchCatalogRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_Entry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_Entry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n2google/cloud/datacatalog/v1beta1/datac" + + "atalog.proto\022 google.cloud.datacatalog.v" + + "1beta1\032\034google/api/annotations.proto\032\027go" + + "ogle/api/client.proto\032\037google/api/field_" + + "behavior.proto\032\031google/api/resource.prot" + + "o\032-google/cloud/datacatalog/v1beta1/comm" + + "on.proto\0327google/cloud/datacatalog/v1bet" + + "a1/gcs_fileset_spec.proto\032-google/cloud/" + + "datacatalog/v1beta1/schema.proto\032-google" + + "/cloud/datacatalog/v1beta1/search.proto\032" + + "1google/cloud/datacatalog/v1beta1/table_" + + "spec.proto\032+google/cloud/datacatalog/v1b" + + "eta1/tags.proto\0321google/cloud/datacatalo" + + "g/v1beta1/timestamps.proto\032,google/cloud" + + "/datacatalog/v1beta1/usage.proto\032\036google" + + "/iam/v1/iam_policy.proto\032\032google/iam/v1/" + + "policy.proto\032\033google/protobuf/empty.prot" + + "o\032 google/protobuf/field_mask.proto\"\306\002\n\024" + + "SearchCatalogRequest\022Q\n\005scope\030\006 \001(\0132<.go" + + "ogle.cloud.datacatalog.v1beta1.SearchCat" + + "alogRequest.ScopeB\004\342A\001\002\022\023\n\005query\030\001 \001(\tB\004" + + "\342A\001\001\022\021\n\tpage_size\030\002 \001(\005\022\030\n\npage_token\030\003 " + + "\001(\tB\004\342A\001\001\022\020\n\010order_by\030\005 \001(\t\032\206\001\n\005Scope\022\027\n" + + "\017include_org_ids\030\002 \003(\t\022\033\n\023include_projec" + + "t_ids\030\003 \003(\t\022#\n\033include_gcp_public_datase" + + "ts\030\007 \001(\010\022\"\n\024restricted_locations\030\020 \003(\tB\004" + + "\342A\001\001\"\241\001\n\025SearchCatalogResponse\022F\n\007result" + + "s\030\001 \003(\01325.google.cloud.datacatalog.v1bet" + + "a1.SearchCatalogResult\022\022\n\ntotal_size\030\002 \001" + + "(\005\022\027\n\017next_page_token\030\003 \001(\t\022\023\n\013unreachab" + + "le\030\006 \003(\t\"\272\001\n\027CreateEntryGroupRequest\022>\n\006" + + "parent\030\001 \001(\tB.\342A\001\002\372A\'\022%datacatalog.googl" + + "eapis.com/EntryGroup\022\034\n\016entry_group_id\030\003" + + " \001(\tB\004\342A\001\002\022A\n\013entry_group\030\002 \001(\0132,.google" + + ".cloud.datacatalog.v1beta1.EntryGroup\"\223\001" + + "\n\027UpdateEntryGroupRequest\022G\n\013entry_group" + + "\030\001 \001(\0132,.google.cloud.datacatalog.v1beta" + + "1.EntryGroupB\004\342A\001\002\022/\n\013update_mask\030\002 \001(\0132" + + "\032.google.protobuf.FieldMask\"\203\001\n\024GetEntry" + + "GroupRequest\022<\n\004name\030\001 \001(\tB.\342A\001\002\372A\'\n%dat" + + "acatalog.googleapis.com/EntryGroup\022-\n\tre" + + "ad_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" + + "k\"l\n\027DeleteEntryGroupRequest\022<\n\004name\030\001 \001" + + "(\tB.\342A\001\002\372A\'\n%datacatalog.googleapis.com/" + + "EntryGroup\022\023\n\005force\030\002 \001(\010B\004\342A\001\001\"\213\001\n\026List" + + "EntryGroupsRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002" + + "\372A\'\022%datacatalog.googleapis.com/EntryGro" + + "up\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\"v\n\027ListEntryGroupsResponse" + + "\022B\n\014entry_groups\030\001 \003(\0132,.google.cloud.da" + + "tacatalog.v1beta1.EntryGroup\022\027\n\017next_pag" + + "e_token\030\002 \001(\t\"\252\001\n\022CreateEntryRequest\022>\n\006" + + "parent\030\001 \001(\tB.\342A\001\002\372A\'\n%datacatalog.googl" + + "eapis.com/EntryGroup\022\026\n\010entry_id\030\003 \001(\tB\004" + + "\342A\001\002\022<\n\005entry\030\002 \001(\0132\'.google.cloud.datac" + + "atalog.v1beta1.EntryB\004\342A\001\002\"\203\001\n\022UpdateEnt" + + "ryRequest\022<\n\005entry\030\001 \001(\0132\'.google.cloud." + + "datacatalog.v1beta1.EntryB\004\342A\001\002\022/\n\013updat" + + "e_mask\030\002 \001(\0132\032.google.protobuf.FieldMask" + + "\"M\n\022DeleteEntryRequest\0227\n\004name\030\001 \001(\tB)\342A" + + "\001\002\372A\"\n datacatalog.googleapis.com/Entry\"" + + "J\n\017GetEntryRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A" + + "\"\n datacatalog.googleapis.com/Entry\"V\n\022L" + + "ookupEntryRequest\022\031\n\017linked_resource\030\001 \001" + + "(\tH\000\022\026\n\014sql_resource\030\003 \001(\tH\000B\r\n\013target_n" + + "ame\"\340\007\n\005Entry\022<\n\004name\030\001 \001(\tB.\342A\001\003\372A\'\n%da" + + "tacatalog.googleapis.com/EntryGroup\022\027\n\017l" + + "inked_resource\030\t \001(\t\022;\n\004type\030\002 \001(\0162+.goo" + + "gle.cloud.datacatalog.v1beta1.EntryTypeH" + + "\000\022\035\n\023user_specified_type\030\020 \001(\tH\000\022U\n\021inte" + + "grated_system\030\021 \001(\01622.google.cloud.datac" + + "atalog.v1beta1.IntegratedSystemB\004\342A\001\003H\001\022" + + "\037\n\025user_specified_system\030\022 \001(\tH\001\022L\n\020gcs_" + + "fileset_spec\030\006 \001(\01320.google.cloud.dataca" + + "talog.v1beta1.GcsFilesetSpecH\002\022R\n\023bigque" + + "ry_table_spec\030\014 \001(\01323.google.cloud.datac" + + "atalog.v1beta1.BigQueryTableSpecH\002\022_\n\032bi" + + "gquery_date_sharded_spec\030\017 \001(\01329.google." + + "cloud.datacatalog.v1beta1.BigQueryDateSh" + + "ardedSpecH\002\022\024\n\014display_name\030\003 \001(\t\022\023\n\013des" + + "cription\030\004 \001(\t\0228\n\006schema\030\005 \001(\0132(.google." + + "cloud.datacatalog.v1beta1.Schema\022Z\n\030sour" + + "ce_system_timestamps\030\007 \001(\01322.google.clou" + + "d.datacatalog.v1beta1.SystemTimestampsB\004" + + "\342A\001\003\022I\n\014usage_signal\030\r \001(\0132-.google.clou" + + "d.datacatalog.v1beta1.UsageSignalB\004\342A\001\003:" + + "x\352Au\n datacatalog.googleapis.com/Entry\022Q" + + "projects/{project}/locations/{location}/" + + "entryGroups/{entry_group}/entries/{entry" + + "}B\014\n\nentry_typeB\010\n\006systemB\013\n\ttype_spec\"\217" + + "\002\n\nEntryGroup\022\014\n\004name\030\001 \001(\t\022\024\n\014display_n" + + "ame\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022Y\n\027data_c" + + "atalog_timestamps\030\004 \001(\01322.google.cloud.d" + + "atacatalog.v1beta1.SystemTimestampsB\004\342A\001" + + "\003:m\352Aj\n%datacatalog.googleapis.com/Entry" + + "Group\022Aprojects/{project}/locations/{loc" + + "ation}/entryGroups/{entry_group}\"\305\001\n\030Cre" + + "ateTagTemplateRequest\022?\n\006parent\030\001 \001(\tB/\342" + + "A\001\002\372A(\022&datacatalog.googleapis.com/TagTe" + + "mplate\022\035\n\017tag_template_id\030\003 \001(\tB\004\342A\001\002\022I\n" + + "\014tag_template\030\002 \001(\0132-.google.cloud.datac" + + "atalog.v1beta1.TagTemplateB\004\342A\001\002\"V\n\025GetT" + + "agTemplateRequest\022=\n\004name\030\001 \001(\tB/\342A\001\002\372A(" + + "\n&datacatalog.googleapis.com/TagTemplate" + + "\"\226\001\n\030UpdateTagTemplateRequest\022I\n\014tag_tem" + + "plate\030\001 \001(\0132-.google.cloud.datacatalog.v" + + "1beta1.TagTemplateB\004\342A\001\002\022/\n\013update_mask\030" + + "\002 \001(\0132\032.google.protobuf.FieldMask\"n\n\030Del" + + "eteTagTemplateRequest\022=\n\004name\030\001 \001(\tB/\342A\001" + + "\002\372A(\n&datacatalog.googleapis.com/TagTemp" + + "late\022\023\n\005force\030\002 \001(\010B\004\342A\001\002\"\205\001\n\020CreateTagR" + + "equest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036datacat" + + "alog.googleapis.com/Tag\0228\n\003tag\030\002 \001(\0132%.g" + + "oogle.cloud.datacatalog.v1beta1.TagB\004\342A\001" + + "\002\"}\n\020UpdateTagRequest\0228\n\003tag\030\001 \001(\0132%.goo" + + "gle.cloud.datacatalog.v1beta1.TagB\004\342A\001\002\022" + + "/\n\013update_mask\030\002 \001(\0132\032.google.protobuf.F" + + "ieldMask\"I\n\020DeleteTagRequest\0225\n\004name\030\001 \001" + + "(\tB\'\342A\001\002\372A \022\036datacatalog.googleapis.com/" + + "Tag\"\333\001\n\035CreateTagTemplateFieldRequest\022?\n" + + "\006parent\030\001 \001(\tB/\342A\001\002\372A(\n&datacatalog.goog" + + "leapis.com/TagTemplate\022#\n\025tag_template_f" + + "ield_id\030\002 \001(\tB\004\342A\001\002\022T\n\022tag_template_fiel" + + "d\030\003 \001(\01322.google.cloud.datacatalog.v1bet" + + "a1.TagTemplateFieldB\004\342A\001\002\"\360\001\n\035UpdateTagT" + + "emplateFieldRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372" + + "A-\n+datacatalog.googleapis.com/TagTempla" + + "teField\022T\n\022tag_template_field\030\002 \001(\01322.go" + + "ogle.cloud.datacatalog.v1beta1.TagTempla" + + "teFieldB\004\342A\001\002\0225\n\013update_mask\030\003 \001(\0132\032.goo" + + "gle.protobuf.FieldMaskB\004\342A\001\001\"\214\001\n\035RenameT" + + "agTemplateFieldRequest\022B\n\004name\030\001 \001(\tB4\342A" + + "\001\002\372A-\n+datacatalog.googleapis.com/TagTem" + + "plateField\022\'\n\031new_tag_template_field_id\030" + + "\002 \001(\tB\004\342A\001\002\"\240\001\n&RenameTagTemplateFieldEn" + + "umValueRequest\022K\n\004name\030\001 \001(\tB=\342A\001\002\372A6\n4d" + + "atacatalog.googleapis.com/TagTemplateFie" + + "ldEnumValue\022)\n\033new_enum_value_display_na" + + "me\030\002 \001(\tB\004\342A\001\002\"x\n\035DeleteTagTemplateField" + + "Request\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+datacata" + + "log.googleapis.com/TagTemplateField\022\023\n\005f" + + "orce\030\002 \001(\010B\004\342A\001\002\"q\n\017ListTagsRequest\0227\n\006p" + + "arent\030\001 \001(\tB\'\342A\001\002\372A \022\036datacatalog.google" + + "apis.com/Tag\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_" + + "token\030\003 \001(\t\"`\n\020ListTagsResponse\0223\n\004tags\030" + + "\001 \003(\0132%.google.cloud.datacatalog.v1beta1" + + ".Tag\022\027\n\017next_page_token\030\002 \001(\t\"\252\001\n\022ListEn" + + "triesRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n%d" + + "atacatalog.googleapis.com/EntryGroup\022\021\n\t" + + "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022-\n\tr" + + "ead_mask\030\004 \001(\0132\032.google.protobuf.FieldMa" + + "sk\"h\n\023ListEntriesResponse\0228\n\007entries\030\001 \003" + + "(\0132\'.google.cloud.datacatalog.v1beta1.En" + + "try\022\027\n\017next_page_token\030\002 \001(\t*[\n\tEntryTyp" + + "e\022\032\n\026ENTRY_TYPE_UNSPECIFIED\020\000\022\t\n\005TABLE\020\002" + + "\022\t\n\005MODEL\020\005\022\017\n\013DATA_STREAM\020\003\022\013\n\007FILESET\020" + + "\0042\3414\n\013DataCatalog\022\262\001\n\rSearchCatalog\0226.go" + + "ogle.cloud.datacatalog.v1beta1.SearchCat" + + "alogRequest\0327.google.cloud.datacatalog.v" + + "1beta1.SearchCatalogResponse\"0\332A\013scope,q" + + "uery\202\323\344\223\002\034\"\027/v1beta1/catalog:search:\001*\022\352" + + "\001\n\020CreateEntryGroup\0229.google.cloud.datac" + + "atalog.v1beta1.CreateEntryGroupRequest\032," + + ".google.cloud.datacatalog.v1beta1.EntryG" + + "roup\"m\332A!parent,entry_group_id,entry_gro" + + "up\202\323\344\223\002C\"4/v1beta1/{parent=projects/*/lo" + + "cations/*}/entryGroups:\013entry_group\022\372\001\n\020" + + "UpdateEntryGroup\0229.google.cloud.datacata" + + "log.v1beta1.UpdateEntryGroupRequest\032,.go" + + "ogle.cloud.datacatalog.v1beta1.EntryGrou" + + "p\"}\332A\013entry_group\332A\027entry_group,update_m" + + "ask\202\323\344\223\002O2@/v1beta1/{entry_group.name=pr" + + "ojects/*/locations/*/entryGroups/*}:\013ent" + + "ry_group\022\313\001\n\rGetEntryGroup\0226.google.clou" + + "d.datacatalog.v1beta1.GetEntryGroupReque" + + "st\032,.google.cloud.datacatalog.v1beta1.En" + + "tryGroup\"T\332A\004name\332A\016name,read_mask\202\323\344\223\0026" + + "\0224/v1beta1/{name=projects/*/locations/*/" + + "entryGroups/*}\022\252\001\n\020DeleteEntryGroup\0229.go" + + "ogle.cloud.datacatalog.v1beta1.DeleteEnt" + + "ryGroupRequest\032\026.google.protobuf.Empty\"C" + + "\332A\004name\202\323\344\223\0026*4/v1beta1/{name=projects/*" + + "/locations/*/entryGroups/*}\022\315\001\n\017ListEntr" + + "yGroups\0228.google.cloud.datacatalog.v1bet" + + "a1.ListEntryGroupsRequest\0329.google.cloud" + + ".datacatalog.v1beta1.ListEntryGroupsResp" + + "onse\"E\332A\006parent\202\323\344\223\0026\0224/v1beta1/{parent=" + + "projects/*/locations/*}/entryGroups\022\323\001\n\013" + + "CreateEntry\0224.google.cloud.datacatalog.v" + + "1beta1.CreateEntryRequest\032\'.google.cloud" + + ".datacatalog.v1beta1.Entry\"e\332A\025parent,en" + + "try_id,entry\202\323\344\223\002G\">/v1beta1/{parent=pro" + + "jects/*/locations/*/entryGroups/*}/entri" + + "es:\005entry\022\335\001\n\013UpdateEntry\0224.google.cloud" + + ".datacatalog.v1beta1.UpdateEntryRequest\032" + + "\'.google.cloud.datacatalog.v1beta1.Entry" + + "\"o\332A\005entry\332A\021entry,update_mask\202\323\344\223\002M2D/v" + + "1beta1/{entry.name=projects/*/locations/" + + "*/entryGroups/*/entries/*}:\005entry\022\252\001\n\013De" + + "leteEntry\0224.google.cloud.datacatalog.v1b" + + "eta1.DeleteEntryRequest\032\026.google.protobu" + + "f.Empty\"M\332A\004name\202\323\344\223\002@*>/v1beta1/{name=p" + + "rojects/*/locations/*/entryGroups/*/entr" + + "ies/*}\022\265\001\n\010GetEntry\0221.google.cloud.datac" + + "atalog.v1beta1.GetEntryRequest\032\'.google." + + "cloud.datacatalog.v1beta1.Entry\"M\332A\004name" + + "\202\323\344\223\002@\022>/v1beta1/{name=projects/*/locati" + + "ons/*/entryGroups/*/entries/*}\022\215\001\n\013Looku" + + "pEntry\0224.google.cloud.datacatalog.v1beta" + + "1.LookupEntryRequest\032\'.google.cloud.data" + + "catalog.v1beta1.Entry\"\037\202\323\344\223\002\031\022\027/v1beta1/" + + "entries:lookup\022\313\001\n\013ListEntries\0224.google." + + "cloud.datacatalog.v1beta1.ListEntriesReq" + + "uest\0325.google.cloud.datacatalog.v1beta1." + + "ListEntriesResponse\"O\332A\006parent\202\323\344\223\002@\022>/v" + + "1beta1/{parent=projects/*/locations/*/en" + + "tryGroups/*}/entries\022\361\001\n\021CreateTagTempla" + + "te\022:.google.cloud.datacatalog.v1beta1.Cr" + + "eateTagTemplateRequest\032-.google.cloud.da" + + "tacatalog.v1beta1.TagTemplate\"q\332A#parent" + + ",tag_template_id,tag_template\202\323\344\223\002E\"5/v1" + + "beta1/{parent=projects/*/locations/*}/ta" + + "gTemplates:\014tag_template\022\276\001\n\016GetTagTempl" + + "ate\0227.google.cloud.datacatalog.v1beta1.G" + + "etTagTemplateRequest\032-.google.cloud.data" + + "catalog.v1beta1.TagTemplate\"D\332A\004name\202\323\344\223" + + "\0027\0225/v1beta1/{name=projects/*/locations/" + + "*/tagTemplates/*}\022\203\002\n\021UpdateTagTemplate\022" + + ":.google.cloud.datacatalog.v1beta1.Updat" + + "eTagTemplateRequest\032-.google.cloud.datac" + + "atalog.v1beta1.TagTemplate\"\202\001\332A\014tag_temp" + + "late\332A\030tag_template,update_mask\202\323\344\223\002R2B/" + + "v1beta1/{tag_template.name=projects/*/lo" + + "cations/*/tagTemplates/*}:\014tag_template\022" + + "\263\001\n\021DeleteTagTemplate\022:.google.cloud.dat" + + "acatalog.v1beta1.DeleteTagTemplateReques" + + "t\032\026.google.protobuf.Empty\"J\332A\nname,force" + + "\202\323\344\223\0027*5/v1beta1/{name=projects/*/locati" + + "ons/*/tagTemplates/*}\022\234\002\n\026CreateTagTempl" + + "ateField\022?.google.cloud.datacatalog.v1be" + + "ta1.CreateTagTemplateFieldRequest\0322.goog" + + "le.cloud.datacatalog.v1beta1.TagTemplate" + + "Field\"\214\001\332A/parent,tag_template_field_id," + + "tag_template_field\202\323\344\223\002T\">/v1beta1/{pare" + + "nt=projects/*/locations/*/tagTemplates/*" + + "}/fields:\022tag_template_field\022\252\002\n\026UpdateT" + + "agTemplateField\022?.google.cloud.datacatal" + + "og.v1beta1.UpdateTagTemplateFieldRequest" + + "\0322.google.cloud.datacatalog.v1beta1.TagT" + + "emplateField\"\232\001\332A\027name,tag_template_fiel" + + "d\332A#name,tag_template_field,update_mask\202" + + "\323\344\223\002T2>/v1beta1/{name=projects/*/locatio" + + "ns/*/tagTemplates/*/fields/*}:\022tag_templ" + + "ate_field\022\200\002\n\026RenameTagTemplateField\022?.g" + + "oogle.cloud.datacatalog.v1beta1.RenameTa" + + "gTemplateFieldRequest\0322.google.cloud.dat" + + "acatalog.v1beta1.TagTemplateField\"q\332A\036na" + + "me,new_tag_template_field_id\202\323\344\223\002J\"E/v1b" + + "eta1/{name=projects/*/locations/*/tagTem" + + "plates/*/fields/*}:rename:\001*\022\242\002\n\037RenameT" + + "agTemplateFieldEnumValue\022H.google.cloud." + + "datacatalog.v1beta1.RenameTagTemplateFie" + + "ldEnumValueRequest\0322.google.cloud.dataca" + + "talog.v1beta1.TagTemplateField\"\200\001\332A name" + + ",new_enum_value_display_name\202\323\344\223\002W\"R/v1b" + + "eta1/{name=projects/*/locations/*/tagTem" + + "plates/*/fields/*/enumValues/*}:rename:\001" + + "*\022\306\001\n\026DeleteTagTemplateField\022?.google.cl" + + "oud.datacatalog.v1beta1.DeleteTagTemplat" + + "eFieldRequest\032\026.google.protobuf.Empty\"S\332" + + "A\nname,force\202\323\344\223\002@*>/v1beta1/{name=proje" + + "cts/*/locations/*/tagTemplates/*/fields/" + + "*}\022\215\002\n\tCreateTag\0222.google.cloud.datacata" + + "log.v1beta1.CreateTagRequest\032%.google.cl" + + "oud.datacatalog.v1beta1.Tag\"\244\001\332A\nparent," + + "tag\202\323\344\223\002\220\001\"E/v1beta1/{parent=projects/*/" + + "locations/*/entryGroups/*/entries/*}/tag" + + "s:\003tagZB\";/v1beta1/{parent=projects/*/lo" + + "cations/*/entryGroups/*}/tags:\003tag\022\240\002\n\tU" + + "pdateTag\0222.google.cloud.datacatalog.v1be" + + "ta1.UpdateTagRequest\032%.google.cloud.data" + + "catalog.v1beta1.Tag\"\267\001\332A\003tag\332A\017tag,updat" + + "e_mask\202\323\344\223\002\230\0012I/v1beta1/{tag.name=projec" + + "ts/*/locations/*/entryGroups/*/entries/*" + + "/tags/*}:\003tagZF2?/v1beta1/{tag.name=proj" + + "ects/*/locations/*/entryGroups/*/tags/*}" + + ":\003tag\022\356\001\n\tDeleteTag\0222.google.cloud.datac" + + "atalog.v1beta1.DeleteTagRequest\032\026.google" + + ".protobuf.Empty\"\224\001\332A\004name\202\323\344\223\002\206\001*E/v1bet" + + "a1/{name=projects/*/locations/*/entryGro" + + "ups/*/entries/*/tags/*}Z=*;/v1beta1/{nam" + + "e=projects/*/locations/*/entryGroups/*/t" + + "ags/*}\022\212\002\n\010ListTags\0221.google.cloud.datac" + + "atalog.v1beta1.ListTagsRequest\0322.google." + + "cloud.datacatalog.v1beta1.ListTagsRespon" + + "se\"\226\001\332A\006parent\202\323\344\223\002\206\001\022E/v1beta1/{parent=" + + "projects/*/locations/*/entryGroups/*/ent" + + "ries/*}/tagsZ=\022;/v1beta1/{parent=project" + + "s/*/locations/*/entryGroups/*}/tags\022\374\001\n\014" + + "SetIamPolicy\022\".google.iam.v1.SetIamPolic" + + "yRequest\032\025.google.iam.v1.Policy\"\260\001\332A\017res" + + "ource,policy\202\323\344\223\002\227\001\"F/v1beta1/{resource=" + + "projects/*/locations/*/tagTemplates/*}:s" + + "etIamPolicy:\001*ZJ\"E/v1beta1/{resource=pro" + + "jects/*/locations/*/entryGroups/*}:setIa" + + "mPolicy:\001*\022\313\002\n\014GetIamPolicy\022\".google.iam" + + ".v1.GetIamPolicyRequest\032\025.google.iam.v1." + + "Policy\"\377\001\332A\010resource\202\323\344\223\002\355\001\"F/v1beta1/{r" + + "esource=projects/*/locations/*/tagTempla" + + "tes/*}:getIamPolicy:\001*ZJ\"E/v1beta1/{reso" + + "urce=projects/*/locations/*/entryGroups/" + + "*}:getIamPolicy:\001*ZT\"O/v1beta1/{resource" + + "=projects/*/locations/*/entryGroups/*/en" + + "tries/*}:getIamPolicy:\001*\022\362\002\n\022TestIamPerm" + + "issions\022(.google.iam.v1.TestIamPermissio" + + "nsRequest\032).google.iam.v1.TestIamPermiss" + + "ionsResponse\"\206\002\202\323\344\223\002\377\001\"L/v1beta1/{resour" + + "ce=projects/*/locations/*/tagTemplates/*" + + "}:testIamPermissions:\001*ZP\"K/v1beta1/{res" + + "ource=projects/*/locations/*/entryGroups" + + "/*}:testIamPermissions:\001*ZZ\"U/v1beta1/{r" + + "esource=projects/*/locations/*/entryGrou" + + "ps/*/entries/*}:testIamPermissions:\001*\032N\312" + + "A\032datacatalog.googleapis.com\322A.https://w" + + "ww.googleapis.com/auth/cloud-platformB\243\003" + + "\n$com.google.cloud.datacatalog.v1beta1P\001" + + "ZFcloud.google.com/go/datacatalog/apiv1b" + + "eta1/datacatalogpb;datacatalogpb\370\001\001\252\002 Go" + + "ogle.Cloud.DataCatalog.V1Beta1\312\002 Google\\" + + "Cloud\\DataCatalog\\V1beta1\352\002#Google::Clou" + + "d::DataCatalog::V1beta1\352A\300\001\n4datacatalog" + + ".googleapis.com/TagTemplateFieldEnumValu" + + "e\022\207\001projects/{project}/locations/{locati" + + "on}/tagTemplates/{tag_template}/fields/{" + + "tag_template_field_id}/enumValues/{enum_" + + "value_display_name}b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.datacatalog.v1beta1.Common.getDescriptor(), + com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass.getDescriptor(), + com.google.cloud.datacatalog.v1beta1.SchemaOuterClass.getDescriptor(), + com.google.cloud.datacatalog.v1beta1.Search.getDescriptor(), + com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.getDescriptor(), + com.google.cloud.datacatalog.v1beta1.Tags.getDescriptor(), + com.google.cloud.datacatalog.v1beta1.Timestamps.getDescriptor(), + com.google.cloud.datacatalog.v1beta1.Usage.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_descriptor, + new java.lang.String[] { "Scope", "Query", "PageSize", "PageToken", "OrderBy", }); + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_descriptor = + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_descriptor, + new java.lang.String[] { "IncludeOrgIds", "IncludeProjectIds", "IncludeGcpPublicDatasets", "RestrictedLocations", }); + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_descriptor, + new java.lang.String[] { "Results", "TotalSize", "NextPageToken", "Unreachable", }); + internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_descriptor, + new java.lang.String[] { "Parent", "EntryGroupId", "EntryGroup", }); + internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_descriptor, + new java.lang.String[] { "EntryGroup", "UpdateMask", }); + internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_descriptor, + new java.lang.String[] { "Name", "ReadMask", }); + internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_descriptor, + new java.lang.String[] { "Name", "Force", }); + internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_descriptor, + new java.lang.String[] { "EntryGroups", "NextPageToken", }); + internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_descriptor, + new java.lang.String[] { "Parent", "EntryId", "Entry", }); + internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_descriptor, + new java.lang.String[] { "Entry", "UpdateMask", }); + internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_descriptor, + new java.lang.String[] { "LinkedResource", "SqlResource", "TargetName", }); + internal_static_google_cloud_datacatalog_v1beta1_Entry_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_datacatalog_v1beta1_Entry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_Entry_descriptor, + new java.lang.String[] { "Name", "LinkedResource", "Type", "UserSpecifiedType", "IntegratedSystem", "UserSpecifiedSystem", "GcsFilesetSpec", "BigqueryTableSpec", "BigqueryDateShardedSpec", "DisplayName", "Description", "Schema", "SourceSystemTimestamps", "UsageSignal", "EntryType", "System", "TypeSpec", }); + internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_descriptor, + new java.lang.String[] { "Name", "DisplayName", "Description", "DataCatalogTimestamps", }); + internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_descriptor, + new java.lang.String[] { "Parent", "TagTemplateId", "TagTemplate", }); + internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_descriptor, + new java.lang.String[] { "TagTemplate", "UpdateMask", }); + internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_descriptor, + new java.lang.String[] { "Name", "Force", }); + internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_descriptor, + new java.lang.String[] { "Parent", "Tag", }); + internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_descriptor, + new java.lang.String[] { "Tag", "UpdateMask", }); + internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_descriptor, + new java.lang.String[] { "Parent", "TagTemplateFieldId", "TagTemplateField", }); + internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_descriptor, + new java.lang.String[] { "Name", "TagTemplateField", "UpdateMask", }); + internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_descriptor, + new java.lang.String[] { "Name", "NewTagTemplateFieldId", }); + internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_descriptor, + new java.lang.String[] { "Name", "NewEnumValueDisplayName", }); + internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_descriptor, + new java.lang.String[] { "Name", "Force", }); + internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_descriptor, + new java.lang.String[] { "Tags", "NextPageToken", }); + internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "ReadMask", }); + internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_descriptor, + new java.lang.String[] { "Entries", "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.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.datacatalog.v1beta1.Common.getDescriptor(); + com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass.getDescriptor(); + com.google.cloud.datacatalog.v1beta1.SchemaOuterClass.getDescriptor(); + com.google.cloud.datacatalog.v1beta1.Search.getDescriptor(); + com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.getDescriptor(); + com.google.cloud.datacatalog.v1beta1.Tags.getDescriptor(); + com.google.cloud.datacatalog.v1beta1.Timestamps.getDescriptor(); + com.google.cloud.datacatalog.v1beta1.Usage.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequest.java similarity index 63% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequest.java index b923bc0b6ccf..066f0c79f999 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [DeleteEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteEntryGroup].
@@ -28,57 +11,49 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest}
  */
-public final class DeleteEntryGroupRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteEntryGroupRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest)
     DeleteEntryGroupRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteEntryGroupRequest.newBuilder() to construct.
   private DeleteEntryGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteEntryGroupRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteEntryGroupRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest.class,
-            com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest.class, com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the entry group. For example,
    * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
    * 
* - * - * string name = 1 [(.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 name of the entry group. For example,
    * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -123,14 +96,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_ = false; /** - * - * *
    * Optional. If true, deletes all entries in the entry group.
    * 
* * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ @java.lang.Override @@ -139,7 +109,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,7 +120,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -171,7 +141,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, force_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -181,16 +152,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.datacatalog.v1beta1.DeleteEntryGroupRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest other = - (com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest) obj; + com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest other = (com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getForce() != other.getForce()) return false; + if (!getName() + .equals(other.getName())) return false; + if (getForce() + != other.getForce()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -205,111 +177,106 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [DeleteEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteEntryGroup].
@@ -317,32 +284,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest)
       com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest.class,
-              com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest.class, com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -353,14 +321,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest
-        getDefaultInstanceForType() {
+    public com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest getDefaultInstanceForType() {
       return com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest.getDefaultInstance();
     }
 
@@ -375,17 +342,13 @@ public com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest result =
-          new com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest result = new com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest result) {
+    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -399,39 +362,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.datacatalog.v1beta1.DeleteEntryGroupRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -439,9 +401,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest other) {
-      if (other
-          == com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -476,25 +436,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                force_ = input.readBool();
-                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: {
+              force_ = 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) {
@@ -504,28 +461,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the entry group. For example,
      * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
      * 
* - * - * string name = 1 [(.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; @@ -534,24 +486,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the entry group. For example,
      * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -559,41 +508,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the entry group. For example,
      * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the entry group. For example,
      * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
      * 
* - * - * string 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() { @@ -603,24 +541,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the entry group. For example,
      * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
      * 
* - * - * string name = 1 [(.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; @@ -628,16 +560,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * Optional. If true, deletes all entries in the entry group.
      * 
* * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ @java.lang.Override @@ -645,14 +574,11 @@ public boolean getForce() { return force_; } /** - * - * *
      * Optional. If true, deletes all entries in the entry group.
      * 
* * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The force to set. * @return This builder for chaining. */ @@ -664,14 +590,11 @@ public Builder setForce(boolean value) { return this; } /** - * - * *
      * Optional. If true, deletes all entries in the entry group.
      * 
* * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearForce() { @@ -680,9 +603,9 @@ public Builder clearForce() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -692,13 +615,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest) - private static final com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest(); } @@ -707,27 +629,27 @@ public static com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteEntryGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteEntryGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -742,4 +664,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequestOrBuilder.java new file mode 100644 index 000000000000..b0c3959c85d3 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequestOrBuilder.java @@ -0,0 +1,41 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/datacatalog.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface DeleteEntryGroupRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the entry group. For example,
+   * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the entry group. For example,
+   * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * Optional. If true, deletes all entries in the entry group.
+   * 
+ * + * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The force. + */ + boolean getForce(); +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequest.java similarity index 62% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequest.java index d75afad8e627..54ffd5f0bdf4 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [DeleteEntry][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteEntry].
@@ -28,58 +11,50 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.DeleteEntryRequest}
  */
-public final class DeleteEntryRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteEntryRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.DeleteEntryRequest)
     DeleteEntryRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteEntryRequest.newBuilder() to construct.
   private DeleteEntryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteEntryRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteEntryRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest.class,
-            com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest.class, com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the entry. Example:
    *
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
    * 
* - * - * string name = 1 [(.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,33 +63,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the entry. Example:
    *
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,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_); } @@ -159,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.datacatalog.v1beta1.DeleteEntryRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest other = - (com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest) obj; + com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest other = (com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest) 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,104 +160,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [DeleteEntry][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteEntry].
@@ -292,32 +259,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.DeleteEntryRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.DeleteEntryRequest)
       com.google.cloud.datacatalog.v1beta1.DeleteEntryRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest.class,
-              com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest.class, com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -327,9 +295,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_descriptor;
     }
 
     @java.lang.Override
@@ -348,11 +316,8 @@ public com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest result =
-          new com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest result = new com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -368,39 +333,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.DeleteEntryReque
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -408,8 +372,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -441,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) {
@@ -463,29 +424,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the entry. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      * 
* - * - * string name = 1 [(.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,25 +450,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the entry. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -520,43 +473,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the entry. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the entry. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      * 
* - * - * string 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() { @@ -566,34 +508,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the entry. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      * 
* - * - * string name = 1 [(.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); } @@ -603,12 +539,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.DeleteEntryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.DeleteEntryRequest) private static final com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest(); } @@ -617,27 +553,27 @@ public static com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteEntryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteEntryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -652,4 +588,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequestOrBuilder.java new file mode 100644 index 000000000000..1d1e404f02ef --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/datacatalog.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface DeleteEntryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.DeleteEntryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the entry. Example:
+   *
+   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the entry. Example:
+   *
+   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequest.java similarity index 62% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequest.java index 6639888923b7..981f3bce7289 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [DeletePolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.DeletePolicyTag].
@@ -28,57 +11,49 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest}
  */
-public final class DeletePolicyTagRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeletePolicyTagRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest)
     DeletePolicyTagRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeletePolicyTagRequest.newBuilder() to construct.
   private DeletePolicyTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeletePolicyTagRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeletePolicyTagRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1beta1_DeletePolicyTagRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_DeletePolicyTagRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1beta1_DeletePolicyTagRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_DeletePolicyTagRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest.class,
-            com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest.class, com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
-   * Required. Resource name of the policy tag to be deleted. All of its descendant
-   * policy tags will also be deleted.
+   * Required. Resource name of the policy tag to be deleted. All of its
+   * descendant policy tags will also be deleted.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -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. Resource name of the policy tag to be deleted. All of its descendant
-   * policy tags will also be deleted.
+   * Required. Resource name of the policy tag to be deleted. All of its
+   * descendant policy tags will also be deleted.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -121,7 +94,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +105,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(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 +130,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest other = - (com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest) obj; + com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest other = (com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest) 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,104 +158,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [DeletePolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.DeletePolicyTag].
@@ -290,32 +257,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest)
       com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_DeletePolicyTagRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_DeletePolicyTagRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_DeletePolicyTagRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_DeletePolicyTagRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest.class,
-              com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest.class, com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -325,9 +293,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_DeletePolicyTagRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_DeletePolicyTagRequest_descriptor;
     }
 
     @java.lang.Override
@@ -346,11 +314,8 @@ public com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest result =
-          new com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest result = new com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -366,39 +331,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.DeletePolicyTagR
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -406,8 +370,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -439,19 +402,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) {
@@ -461,28 +422,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
-     * Required. Resource name of the policy tag to be deleted. All of its descendant
-     * policy tags will also be deleted.
+     * Required. Resource name of the policy tag to be deleted. All of its
+     * descendant policy tags will also be deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -491,24 +447,21 @@ public java.lang.String getName() { } } /** - * - * *
-     * Required. Resource name of the policy tag to be deleted. All of its descendant
-     * policy tags will also be deleted.
+     * Required. Resource name of the policy tag to be deleted. All of its
+     * descendant policy tags will also be deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -516,41 +469,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
-     * Required. Resource name of the policy tag to be deleted. All of its descendant
-     * policy tags will also be deleted.
+     * Required. Resource name of the policy tag to be deleted. All of its
+     * descendant policy tags will also be deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - 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. Resource name of the policy tag to be deleted. All of its descendant
-     * policy tags will also be deleted.
+     * Required. Resource name of the policy tag to be deleted. All of its
+     * descendant policy tags will also be deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -560,33 +502,27 @@ public Builder clearName() { return this; } /** - * - * *
-     * Required. Resource name of the policy tag to be deleted. All of its descendant
-     * policy tags will also be deleted.
+     * Required. Resource name of the policy tag to be deleted. All of its
+     * descendant policy tags will also be deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -596,12 +532,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest) private static final com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest(); } @@ -610,27 +546,27 @@ public static com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePolicyTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePolicyTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -645,4 +581,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequestOrBuilder.java new file mode 100644 index 000000000000..e7e3af3027c9 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/policytagmanager.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface DeletePolicyTagRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Resource name of the policy tag to be deleted. All of its
+   * descendant policy tags will also be deleted.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Resource name of the policy tag to be deleted. All of its
+   * descendant policy tags will also be deleted.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequest.java similarity index 63% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequest.java index a60daba8ad95..a5826e7e8cca 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [DeleteTag][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTag].
@@ -28,58 +11,50 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.DeleteTagRequest}
  */
-public final class DeleteTagRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteTagRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.DeleteTagRequest)
     DeleteTagRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteTagRequest.newBuilder() to construct.
   private DeleteTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteTagRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteTagRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.DeleteTagRequest.class,
-            com.google.cloud.datacatalog.v1beta1.DeleteTagRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.DeleteTagRequest.class, com.google.cloud.datacatalog.v1beta1.DeleteTagRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the tag to delete. Example:
    *
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
    * 
* - * - * string name = 1 [(.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,33 +63,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the tag to delete. Example:
    *
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,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_); } @@ -159,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.datacatalog.v1beta1.DeleteTagRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.DeleteTagRequest other = - (com.google.cloud.datacatalog.v1beta1.DeleteTagRequest) obj; + com.google.cloud.datacatalog.v1beta1.DeleteTagRequest other = (com.google.cloud.datacatalog.v1beta1.DeleteTagRequest) 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,104 +160,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.DeleteTagRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.DeleteTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.DeleteTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.DeleteTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.DeleteTagRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.DeleteTagRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.DeleteTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [DeleteTag][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTag].
@@ -292,32 +259,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.DeleteTagRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.DeleteTagRequest)
       com.google.cloud.datacatalog.v1beta1.DeleteTagRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.DeleteTagRequest.class,
-              com.google.cloud.datacatalog.v1beta1.DeleteTagRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.DeleteTagRequest.class, com.google.cloud.datacatalog.v1beta1.DeleteTagRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.DeleteTagRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -327,9 +295,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_descriptor;
     }
 
     @java.lang.Override
@@ -348,11 +316,8 @@ public com.google.cloud.datacatalog.v1beta1.DeleteTagRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.DeleteTagRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.DeleteTagRequest result =
-          new com.google.cloud.datacatalog.v1beta1.DeleteTagRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.DeleteTagRequest result = new com.google.cloud.datacatalog.v1beta1.DeleteTagRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -368,39 +333,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.DeleteTagRequest
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.DeleteTagRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.DeleteTagRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.DeleteTagRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -408,8 +372,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.DeleteTagRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.DeleteTagRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.DeleteTagRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -441,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) {
@@ -463,29 +424,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the tag to delete. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
      * 
* - * - * string name = 1 [(.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,25 +450,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the tag to delete. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -520,43 +473,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the tag to delete. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the tag to delete. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
      * 
* - * - * string 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() { @@ -566,34 +508,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the tag to delete. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
      * 
* - * - * string name = 1 [(.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); } @@ -603,12 +539,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.DeleteTagRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.DeleteTagRequest) private static final com.google.cloud.datacatalog.v1beta1.DeleteTagRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.DeleteTagRequest(); } @@ -617,27 +553,27 @@ public static com.google.cloud.datacatalog.v1beta1.DeleteTagRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -652,4 +588,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.DeleteTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequestOrBuilder.java new file mode 100644 index 000000000000..ef66869a535f --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/datacatalog.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface DeleteTagRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.DeleteTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the tag to delete. Example:
+   *
+   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the tag to delete. Example:
+   *
+   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequest.java similarity index 62% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequest.java index e58f8fef5906..b24f7e8790ea 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [DeleteTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTagTemplateField].
@@ -28,58 +11,50 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest}
  */
-public final class DeleteTagTemplateFieldRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteTagTemplateFieldRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest)
     DeleteTagTemplateFieldRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteTagTemplateFieldRequest.newBuilder() to construct.
   private DeleteTagTemplateFieldRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteTagTemplateFieldRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteTagTemplateFieldRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest.class,
-            com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest.class, com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the tag template field to delete. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
    * 
* - * - * string name = 1 [(.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,33 +63,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the tag template field to delete. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
    * 
* - * - * string name = 1 [(.google.api.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,8 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_ = false; /** - * - * *
    * Required. Currently, this field must always be set to `true`.
    * This confirms the deletion of this field from any tags using this field.
@@ -134,7 +105,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The force. */ @java.lang.Override @@ -143,7 +113,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,7 +124,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -175,7 +145,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, force_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -185,16 +156,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.datacatalog.v1beta1.DeleteTagTemplateFieldRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest other = - (com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest) obj; + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest other = (com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getForce() != other.getForce()) return false; + if (!getName() + .equals(other.getName())) return false; + if (getForce() + != other.getForce()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -209,112 +181,106 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest - parseDelimitedFrom( - java.io.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.datacatalog.v1beta1.DeleteTagTemplateFieldRequest parseDelimitedFrom( + java.io.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.datacatalog.v1beta1.DeleteTagTemplateFieldRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [DeleteTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTagTemplateField].
@@ -322,33 +288,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest)
       com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest.class,
-              com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest.class, com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest.newBuilder()
-    private Builder() {}
+    // Construct using com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest.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();
@@ -359,16 +325,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest
-        getDefaultInstanceForType() {
-      return com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest
-          .getDefaultInstance();
+    public com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest getDefaultInstanceForType() {
+      return com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -382,17 +346,13 @@ public com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest build(
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest result =
-          new com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest result = new com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest result) {
+    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -406,51 +366,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest) {
-        return mergeFrom(
-            (com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest other) {
-      if (other
-          == com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest other) {
+      if (other == com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -485,25 +440,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                force_ = input.readBool();
-                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: {
+              force_ = 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) {
@@ -513,29 +465,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the tag template field to delete. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
      * 
* - * - * string name = 1 [(.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; @@ -544,25 +491,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the tag template field to delete. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -570,43 +514,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the tag template field to delete. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the tag template field to delete. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
      * 
* - * - * string 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() { @@ -616,25 +549,19 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the tag template field to delete. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
      * 
* - * - * string name = 1 [(.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; @@ -642,10 +569,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * Required. Currently, this field must always be set to `true`.
      * This confirms the deletion of this field from any tags using this field.
@@ -653,7 +578,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The force. */ @java.lang.Override @@ -661,8 +585,6 @@ public boolean getForce() { return force_; } /** - * - * *
      * Required. Currently, this field must always be set to `true`.
      * This confirms the deletion of this field from any tags using this field.
@@ -670,7 +592,6 @@ public boolean getForce() {
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The force to set. * @return This builder for chaining. */ @@ -682,8 +603,6 @@ public Builder setForce(boolean value) { return this; } /** - * - * *
      * Required. Currently, this field must always be set to `true`.
      * This confirms the deletion of this field from any tags using this field.
@@ -691,7 +610,6 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearForce() { @@ -700,9 +618,9 @@ public Builder clearForce() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -712,43 +630,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest) - private static final com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest(); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest - getDefaultInstance() { + public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTagTemplateFieldRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTagTemplateFieldRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -760,8 +676,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest - getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequestOrBuilder.java similarity index 54% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequestOrBuilder.java index 13dd0b232b3d..92b808d6e9b5 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface DeleteTagTemplateFieldRequestOrBuilder - extends +public interface DeleteTagTemplateFieldRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the tag template field to delete. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the tag template field to delete. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
    * 
* - * - * string name = 1 [(.google.api.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. Currently, this field must always be set to `true`.
    * This confirms the deletion of this field from any tags using this field.
@@ -66,7 +39,6 @@ public interface DeleteTagTemplateFieldRequestOrBuilder
    * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The force. */ boolean getForce(); diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequest.java similarity index 64% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequest.java index de86735c7c34..0f2b06d78e2c 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [DeleteTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTagTemplate].
@@ -28,58 +11,50 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest}
  */
-public final class DeleteTagTemplateRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteTagTemplateRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest)
     DeleteTagTemplateRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteTagTemplateRequest.newBuilder() to construct.
   private DeleteTagTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteTagTemplateRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteTagTemplateRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest.class,
-            com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest.class, com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the tag template to delete. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
    * 
* - * - * string name = 1 [(.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,33 +63,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the tag template to delete. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
    * 
* - * - * string name = 1 [(.google.api.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,8 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_ = false; /** - * - * *
    * Required. Currently, this field must always be set to `true`.
    * This confirms the deletion of any possible tags using this template.
@@ -134,7 +105,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The force. */ @java.lang.Override @@ -143,7 +113,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,7 +124,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -175,7 +145,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, force_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -185,16 +156,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.datacatalog.v1beta1.DeleteTagTemplateRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest other = - (com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest) obj; + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest other = (com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getForce() != other.getForce()) return false; + if (!getName() + .equals(other.getName())) return false; + if (getForce() + != other.getForce()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -209,111 +181,106 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [DeleteTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTagTemplate].
@@ -321,32 +288,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest)
       com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest.class,
-              com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest.class, com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -357,14 +325,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest
-        getDefaultInstanceForType() {
+    public com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest getDefaultInstanceForType() {
       return com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest.getDefaultInstance();
     }
 
@@ -379,17 +346,13 @@ public com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest result =
-          new com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest result = new com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest result) {
+    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -403,39 +366,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.datacatalog.v1beta1.DeleteTagTemplateRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -443,9 +405,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest other) {
-      if (other
-          == com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -480,25 +440,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                force_ = input.readBool();
-                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: {
+              force_ = 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) {
@@ -508,29 +465,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the tag template to delete. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
      * 
* - * - * string name = 1 [(.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; @@ -539,25 +491,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the tag template to delete. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -565,43 +514,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the tag template to delete. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the tag template to delete. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
      * 
* - * - * string 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() { @@ -611,25 +549,19 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the tag template to delete. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
      * 
* - * - * string name = 1 [(.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; @@ -637,10 +569,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * Required. Currently, this field must always be set to `true`.
      * This confirms the deletion of any possible tags using this template.
@@ -648,7 +578,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The force. */ @java.lang.Override @@ -656,8 +585,6 @@ public boolean getForce() { return force_; } /** - * - * *
      * Required. Currently, this field must always be set to `true`.
      * This confirms the deletion of any possible tags using this template.
@@ -665,7 +592,6 @@ public boolean getForce() {
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The force to set. * @return This builder for chaining. */ @@ -677,8 +603,6 @@ public Builder setForce(boolean value) { return this; } /** - * - * *
      * Required. Currently, this field must always be set to `true`.
      * This confirms the deletion of any possible tags using this template.
@@ -686,7 +610,6 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearForce() { @@ -695,9 +618,9 @@ public Builder clearForce() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -707,13 +630,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest) - private static final com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest(); } @@ -722,27 +644,27 @@ public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTagTemplateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTagTemplateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -757,4 +679,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequestOrBuilder.java similarity index 53% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequestOrBuilder.java index edcdb8721d36..da1a5092a8a4 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface DeleteTagTemplateRequestOrBuilder - extends +public interface DeleteTagTemplateRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the tag template to delete. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the tag template to delete. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
    * 
* - * - * string name = 1 [(.google.api.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. Currently, this field must always be set to `true`.
    * This confirms the deletion of any possible tags using this template.
@@ -66,7 +39,6 @@ public interface DeleteTagTemplateRequestOrBuilder
    * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The force. */ boolean getForce(); diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequest.java similarity index 64% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequest.java index 0594d2fa5d21..7a69765747e9 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [DeleteTaxonomy][google.cloud.datacatalog.v1beta1.PolicyTagManager.DeleteTaxonomy].
@@ -28,57 +11,49 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest}
  */
-public final class DeleteTaxonomyRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteTaxonomyRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest)
     DeleteTaxonomyRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteTaxonomyRequest.newBuilder() to construct.
   private DeleteTaxonomyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteTaxonomyRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteTaxonomyRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1beta1_DeleteTaxonomyRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_DeleteTaxonomyRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1beta1_DeleteTaxonomyRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_DeleteTaxonomyRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest.class,
-            com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest.class, com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. Resource name of the taxonomy to be deleted. All policy tags in
    * this taxonomy will also be deleted.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -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. Resource name of the taxonomy to be deleted. All policy tags in
    * this taxonomy will also be deleted.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -121,7 +94,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +105,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(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 +130,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest other = - (com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest) obj; + com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest other = (com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest) 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,104 +158,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [DeleteTaxonomy][google.cloud.datacatalog.v1beta1.PolicyTagManager.DeleteTaxonomy].
@@ -290,32 +257,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest)
       com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_DeleteTaxonomyRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_DeleteTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_DeleteTaxonomyRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_DeleteTaxonomyRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest.class,
-              com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest.class, com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -325,9 +293,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_DeleteTaxonomyRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_DeleteTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
@@ -346,11 +314,8 @@ public com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest result =
-          new com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest result = new com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -366,39 +331,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRe
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -406,8 +370,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -439,19 +402,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) {
@@ -461,28 +422,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. Resource name of the taxonomy to be deleted. All policy tags in
      * this taxonomy will also be deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -491,24 +447,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Resource name of the taxonomy to be deleted. All policy tags in
      * this taxonomy will also be deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -516,41 +469,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Resource name of the taxonomy to be deleted. All policy tags in
      * this taxonomy will also be deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - 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. Resource name of the taxonomy to be deleted. All policy tags in
      * this taxonomy will also be deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -560,33 +502,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Resource name of the taxonomy to be deleted. All policy tags in
      * this taxonomy will also be deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -596,12 +532,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest) private static final com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest(); } @@ -610,27 +546,27 @@ public static com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTaxonomyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTaxonomyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -645,4 +581,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequestOrBuilder.java new file mode 100644 index 000000000000..0facb797a4c2 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/policytagmanager.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface DeleteTaxonomyRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Resource name of the taxonomy to be deleted. All policy tags in
+   * this taxonomy will also be deleted.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Resource name of the taxonomy to be deleted. All policy tags in
+   * this taxonomy will also be deleted.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Entry.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Entry.java similarity index 68% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Entry.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Entry.java index 6f37b291d97f..1fd49c165a27 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Entry.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Entry.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Entry Metadata.
  * A Data Catalog Entry resource represents another resource in Google
@@ -36,16 +19,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.Entry}
  */
-public final class Entry extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Entry extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.Entry)
     EntryOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Entry.newBuilder() to construct.
   private Entry(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Entry() {
     name_ = "";
     linkedResource_ = "";
@@ -55,39 +37,34 @@ private Entry() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Entry();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_Entry_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_Entry_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_Entry_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_Entry_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.Entry.class,
-            com.google.cloud.datacatalog.v1beta1.Entry.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.Entry.class, com.google.cloud.datacatalog.v1beta1.Entry.Builder.class);
   }
 
   private int entryTypeCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object entryType_;
-
   public enum EntryTypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     TYPE(2),
     USER_SPECIFIED_TYPE(16),
     ENTRYTYPE_NOT_SET(0);
     private final int value;
-
     private EntryTypeCase(int value) {
       this.value = value;
     }
@@ -103,40 +80,33 @@ public static EntryTypeCase valueOf(int value) {
 
     public static EntryTypeCase forNumber(int value) {
       switch (value) {
-        case 2:
-          return TYPE;
-        case 16:
-          return USER_SPECIFIED_TYPE;
-        case 0:
-          return ENTRYTYPE_NOT_SET;
-        default:
-          return null;
+        case 2: return TYPE;
+        case 16: return USER_SPECIFIED_TYPE;
+        case 0: return ENTRYTYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public EntryTypeCase getEntryTypeCase() {
-    return EntryTypeCase.forNumber(entryTypeCase_);
+  public EntryTypeCase
+  getEntryTypeCase() {
+    return EntryTypeCase.forNumber(
+        entryTypeCase_);
   }
 
   private int systemCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object system_;
-
   public enum SystemCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     INTEGRATED_SYSTEM(17),
     USER_SPECIFIED_SYSTEM(18),
     SYSTEM_NOT_SET(0);
     private final int value;
-
     private SystemCase(int value) {
       this.value = value;
     }
@@ -152,41 +122,34 @@ public static SystemCase valueOf(int value) {
 
     public static SystemCase forNumber(int value) {
       switch (value) {
-        case 17:
-          return INTEGRATED_SYSTEM;
-        case 18:
-          return USER_SPECIFIED_SYSTEM;
-        case 0:
-          return SYSTEM_NOT_SET;
-        default:
-          return null;
+        case 17: return INTEGRATED_SYSTEM;
+        case 18: return USER_SPECIFIED_SYSTEM;
+        case 0: return SYSTEM_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SystemCase getSystemCase() {
-    return SystemCase.forNumber(systemCase_);
+  public SystemCase
+  getSystemCase() {
+    return SystemCase.forNumber(
+        systemCase_);
   }
 
   private int typeSpecCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object typeSpec_;
-
   public enum TypeSpecCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     GCS_FILESET_SPEC(6),
     BIGQUERY_TABLE_SPEC(12),
     BIGQUERY_DATE_SHARDED_SPEC(15),
     TYPESPEC_NOT_SET(0);
     private final int value;
-
     private TypeSpecCase(int value) {
       this.value = value;
     }
@@ -202,37 +165,31 @@ public static TypeSpecCase valueOf(int value) {
 
     public static TypeSpecCase forNumber(int value) {
       switch (value) {
-        case 6:
-          return GCS_FILESET_SPEC;
-        case 12:
-          return BIGQUERY_TABLE_SPEC;
-        case 15:
-          return BIGQUERY_DATE_SHARDED_SPEC;
-        case 0:
-          return TYPESPEC_NOT_SET;
-        default:
-          return null;
+        case 6: return GCS_FILESET_SPEC;
+        case 12: return BIGQUERY_TABLE_SPEC;
+        case 15: return BIGQUERY_DATE_SHARDED_SPEC;
+        case 0: return TYPESPEC_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TypeSpecCase getTypeSpecCase() {
-    return TypeSpecCase.forNumber(typeSpecCase_);
+  public TypeSpecCase
+  getTypeSpecCase() {
+    return TypeSpecCase.forNumber(
+        typeSpecCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
-   * The Data Catalog resource name of the entry in URL format. Example:
+   * Output only. The Data Catalog resource name of the entry in URL format.
+   * Example:
    *
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
    *
@@ -240,8 +197,7 @@ public TypeSpecCase getTypeSpecCase() {
    * the location in this name.
    * 
* - * string name = 1 [(.google.api.resource_reference) = { ... } - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -250,17 +206,17 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.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 Data Catalog resource name of the entry in URL format. Example:
+   * Output only. The Data Catalog resource name of the entry in URL format.
+   * Example:
    *
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
    *
@@ -268,16 +224,17 @@ public java.lang.String getName() {
    * the location in this name.
    * 
* - * string name = 1 [(.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 { @@ -286,12 +243,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int LINKED_RESOURCE_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object linkedResource_ = ""; /** - * - * *
    * The resource this metadata entry refers to.
    *
@@ -308,7 +262,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string linked_resource = 9; - * * @return The linkedResource. */ @java.lang.Override @@ -317,15 +270,14 @@ public java.lang.String getLinkedResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); linkedResource_ = s; return s; } } /** - * - * *
    * The resource this metadata entry refers to.
    *
@@ -342,15 +294,16 @@ public java.lang.String getLinkedResource() {
    * 
* * string linked_resource = 9; - * * @return The bytes for linkedResource. */ @java.lang.Override - public com.google.protobuf.ByteString getLinkedResourceBytes() { + public com.google.protobuf.ByteString + getLinkedResourceBytes() { java.lang.Object ref = linkedResource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); linkedResource_ = b; return b; } else { @@ -360,30 +313,24 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { public static final int TYPE_FIELD_NUMBER = 2; /** - * - * *
    * The type of the entry.
    * Only used for Entries with types in the EntryType enum.
    * 
* * .google.cloud.datacatalog.v1beta1.EntryType type = 2; - * * @return Whether the type field is set. */ public boolean hasType() { return entryTypeCase_ == 2; } /** - * - * *
    * The type of the entry.
    * Only used for Entries with types in the EntryType enum.
    * 
* * .google.cloud.datacatalog.v1beta1.EntryType type = 2; - * * @return The enum numeric value on the wire for type. */ public int getTypeValue() { @@ -393,21 +340,18 @@ public int getTypeValue() { return 0; } /** - * - * *
    * The type of the entry.
    * Only used for Entries with types in the EntryType enum.
    * 
* * .google.cloud.datacatalog.v1beta1.EntryType type = 2; - * * @return The type. */ public com.google.cloud.datacatalog.v1beta1.EntryType getType() { if (entryTypeCase_ == 2) { - com.google.cloud.datacatalog.v1beta1.EntryType result = - com.google.cloud.datacatalog.v1beta1.EntryType.forNumber((java.lang.Integer) entryType_); + com.google.cloud.datacatalog.v1beta1.EntryType result = com.google.cloud.datacatalog.v1beta1.EntryType.forNumber( + (java.lang.Integer) entryType_); return result == null ? com.google.cloud.datacatalog.v1beta1.EntryType.UNRECOGNIZED : result; } return com.google.cloud.datacatalog.v1beta1.EntryType.ENTRY_TYPE_UNSPECIFIED; @@ -415,8 +359,6 @@ public com.google.cloud.datacatalog.v1beta1.EntryType getType() { public static final int USER_SPECIFIED_TYPE_FIELD_NUMBER = 16; /** - * - * *
    * Entry type if it does not fit any of the input-allowed values listed in
    * `EntryType` enum above. When creating an entry, users should check the
@@ -431,15 +373,12 @@ public com.google.cloud.datacatalog.v1beta1.EntryType getType() {
    * 
* * string user_specified_type = 16; - * * @return Whether the userSpecifiedType field is set. */ public boolean hasUserSpecifiedType() { return entryTypeCase_ == 16; } /** - * - * *
    * Entry type if it does not fit any of the input-allowed values listed in
    * `EntryType` enum above. When creating an entry, users should check the
@@ -454,7 +393,6 @@ public boolean hasUserSpecifiedType() {
    * 
* * string user_specified_type = 16; - * * @return The userSpecifiedType. */ public java.lang.String getUserSpecifiedType() { @@ -465,7 +403,8 @@ public java.lang.String getUserSpecifiedType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (entryTypeCase_ == 16) { entryType_ = s; @@ -474,8 +413,6 @@ public java.lang.String getUserSpecifiedType() { } } /** - * - * *
    * Entry type if it does not fit any of the input-allowed values listed in
    * `EntryType` enum above. When creating an entry, users should check the
@@ -490,17 +427,18 @@ public java.lang.String getUserSpecifiedType() {
    * 
* * string user_specified_type = 16; - * * @return The bytes for userSpecifiedType. */ - public com.google.protobuf.ByteString getUserSpecifiedTypeBytes() { + public com.google.protobuf.ByteString + getUserSpecifiedTypeBytes() { java.lang.Object ref = ""; if (entryTypeCase_ == 16) { ref = entryType_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (entryTypeCase_ == 16) { entryType_ = b; } @@ -512,34 +450,24 @@ public com.google.protobuf.ByteString getUserSpecifiedTypeBytes() { public static final int INTEGRATED_SYSTEM_FIELD_NUMBER = 17; /** - * - * *
-   * Output only. This field indicates the entry's source system that Data Catalog
-   * integrates with, such as BigQuery or Pub/Sub.
+   * Output only. This field indicates the entry's source system that Data
+   * Catalog integrates with, such as BigQuery or Pub/Sub.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the integratedSystem field is set. */ public boolean hasIntegratedSystem() { return systemCase_ == 17; } /** - * - * *
-   * Output only. This field indicates the entry's source system that Data Catalog
-   * integrates with, such as BigQuery or Pub/Sub.
+   * Output only. This field indicates the entry's source system that Data
+   * Catalog integrates with, such as BigQuery or Pub/Sub.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for integratedSystem. */ public int getIntegratedSystemValue() { @@ -549,35 +477,25 @@ public int getIntegratedSystemValue() { return 0; } /** - * - * *
-   * Output only. This field indicates the entry's source system that Data Catalog
-   * integrates with, such as BigQuery or Pub/Sub.
+   * Output only. This field indicates the entry's source system that Data
+   * Catalog integrates with, such as BigQuery or Pub/Sub.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The integratedSystem. */ public com.google.cloud.datacatalog.v1beta1.IntegratedSystem getIntegratedSystem() { if (systemCase_ == 17) { - com.google.cloud.datacatalog.v1beta1.IntegratedSystem result = - com.google.cloud.datacatalog.v1beta1.IntegratedSystem.forNumber( - (java.lang.Integer) system_); - return result == null - ? com.google.cloud.datacatalog.v1beta1.IntegratedSystem.UNRECOGNIZED - : result; + com.google.cloud.datacatalog.v1beta1.IntegratedSystem result = com.google.cloud.datacatalog.v1beta1.IntegratedSystem.forNumber( + (java.lang.Integer) system_); + return result == null ? com.google.cloud.datacatalog.v1beta1.IntegratedSystem.UNRECOGNIZED : result; } return com.google.cloud.datacatalog.v1beta1.IntegratedSystem.INTEGRATED_SYSTEM_UNSPECIFIED; } public static final int USER_SPECIFIED_SYSTEM_FIELD_NUMBER = 18; /** - * - * *
    * This field indicates the entry's source system that Data Catalog does not
    * integrate with. `user_specified_system` strings must begin with a letter
@@ -587,15 +505,12 @@ public com.google.cloud.datacatalog.v1beta1.IntegratedSystem getIntegratedSystem
    * 
* * string user_specified_system = 18; - * * @return Whether the userSpecifiedSystem field is set. */ public boolean hasUserSpecifiedSystem() { return systemCase_ == 18; } /** - * - * *
    * This field indicates the entry's source system that Data Catalog does not
    * integrate with. `user_specified_system` strings must begin with a letter
@@ -605,7 +520,6 @@ public boolean hasUserSpecifiedSystem() {
    * 
* * string user_specified_system = 18; - * * @return The userSpecifiedSystem. */ public java.lang.String getUserSpecifiedSystem() { @@ -616,7 +530,8 @@ public java.lang.String getUserSpecifiedSystem() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (systemCase_ == 18) { system_ = s; @@ -625,8 +540,6 @@ public java.lang.String getUserSpecifiedSystem() { } } /** - * - * *
    * This field indicates the entry's source system that Data Catalog does not
    * integrate with. `user_specified_system` strings must begin with a letter
@@ -636,17 +549,18 @@ public java.lang.String getUserSpecifiedSystem() {
    * 
* * string user_specified_system = 18; - * * @return The bytes for userSpecifiedSystem. */ - public com.google.protobuf.ByteString getUserSpecifiedSystemBytes() { + public com.google.protobuf.ByteString + getUserSpecifiedSystemBytes() { java.lang.Object ref = ""; if (systemCase_ == 18) { ref = system_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (systemCase_ == 18) { system_ = b; } @@ -658,15 +572,12 @@ public com.google.protobuf.ByteString getUserSpecifiedSystemBytes() { public static final int GCS_FILESET_SPEC_FIELD_NUMBER = 6; /** - * - * *
    * Specification that applies to a Cloud Storage fileset. This is only valid
    * on entries of type FILESET.
    * 
* * .google.cloud.datacatalog.v1beta1.GcsFilesetSpec gcs_fileset_spec = 6; - * * @return Whether the gcsFilesetSpec field is set. */ @java.lang.Override @@ -674,27 +585,22 @@ public boolean hasGcsFilesetSpec() { return typeSpecCase_ == 6; } /** - * - * *
    * Specification that applies to a Cloud Storage fileset. This is only valid
    * on entries of type FILESET.
    * 
* * .google.cloud.datacatalog.v1beta1.GcsFilesetSpec gcs_fileset_spec = 6; - * * @return The gcsFilesetSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec getGcsFilesetSpec() { if (typeSpecCase_ == 6) { - return (com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec) typeSpec_; + return (com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec) typeSpec_; } return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.getDefaultInstance(); } /** - * - * *
    * Specification that applies to a Cloud Storage fileset. This is only valid
    * on entries of type FILESET.
@@ -705,22 +611,19 @@ public com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec getGcsFilesetSpec() {
   @java.lang.Override
   public com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOrBuilder getGcsFilesetSpecOrBuilder() {
     if (typeSpecCase_ == 6) {
-      return (com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec) typeSpec_;
+       return (com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec) typeSpec_;
     }
     return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.getDefaultInstance();
   }
 
   public static final int BIGQUERY_TABLE_SPEC_FIELD_NUMBER = 12;
   /**
-   *
-   *
    * 
    * Specification that applies to a BigQuery table. This is only valid on
    * entries of type `TABLE`.
    * 
* * .google.cloud.datacatalog.v1beta1.BigQueryTableSpec bigquery_table_spec = 12; - * * @return Whether the bigqueryTableSpec field is set. */ @java.lang.Override @@ -728,27 +631,22 @@ public boolean hasBigqueryTableSpec() { return typeSpecCase_ == 12; } /** - * - * *
    * Specification that applies to a BigQuery table. This is only valid on
    * entries of type `TABLE`.
    * 
* * .google.cloud.datacatalog.v1beta1.BigQueryTableSpec bigquery_table_spec = 12; - * * @return The bigqueryTableSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec getBigqueryTableSpec() { if (typeSpecCase_ == 12) { - return (com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec) typeSpec_; + return (com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec) typeSpec_; } return com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.getDefaultInstance(); } /** - * - * *
    * Specification that applies to a BigQuery table. This is only valid on
    * entries of type `TABLE`.
@@ -757,28 +655,22 @@ public com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec getBigqueryTableSp
    * .google.cloud.datacatalog.v1beta1.BigQueryTableSpec bigquery_table_spec = 12;
    */
   @java.lang.Override
-  public com.google.cloud.datacatalog.v1beta1.BigQueryTableSpecOrBuilder
-      getBigqueryTableSpecOrBuilder() {
+  public com.google.cloud.datacatalog.v1beta1.BigQueryTableSpecOrBuilder getBigqueryTableSpecOrBuilder() {
     if (typeSpecCase_ == 12) {
-      return (com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec) typeSpec_;
+       return (com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec) typeSpec_;
     }
     return com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.getDefaultInstance();
   }
 
   public static final int BIGQUERY_DATE_SHARDED_SPEC_FIELD_NUMBER = 15;
   /**
-   *
-   *
    * 
    * Specification for a group of BigQuery tables with name pattern
    * `[prefix]YYYYMMDD`. Context:
    * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; - * - * + * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; * @return Whether the bigqueryDateShardedSpec field is set. */ @java.lang.Override @@ -786,56 +678,43 @@ public boolean hasBigqueryDateShardedSpec() { return typeSpecCase_ == 15; } /** - * - * *
    * Specification for a group of BigQuery tables with name pattern
    * `[prefix]YYYYMMDD`. Context:
    * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; - * - * + * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; * @return The bigqueryDateShardedSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec getBigqueryDateShardedSpec() { if (typeSpecCase_ == 15) { - return (com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) typeSpec_; + return (com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) typeSpec_; } return com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.getDefaultInstance(); } /** - * - * *
    * Specification for a group of BigQuery tables with name pattern
    * `[prefix]YYYYMMDD`. Context:
    * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; - * + * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecOrBuilder - getBigqueryDateShardedSpecOrBuilder() { + public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecOrBuilder getBigqueryDateShardedSpecOrBuilder() { if (typeSpecCase_ == 15) { - return (com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) typeSpec_; + return (com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) typeSpec_; } return com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.getDefaultInstance(); } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Display information such as title and description. A short name to identify
    * the entry, for example, "Analytics Data - Jan 2011". Default value is an
@@ -843,7 +722,6 @@ public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec getBigqueryD
    * 
* * string display_name = 3; - * * @return The displayName. */ @java.lang.Override @@ -852,15 +730,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; } } /** - * - * *
    * Display information such as title and description. A short name to identify
    * the entry, for example, "Analytics Data - Jan 2011". Default value is an
@@ -868,15 +745,16 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 3; - * * @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 { @@ -885,19 +763,15 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Entry description, which can consist of several sentences or paragraphs
    * that describe entry contents. Default value is an empty string.
    * 
* * string description = 4; - * * @return The description. */ @java.lang.Override @@ -906,30 +780,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; } } /** - * - * *
    * Entry description, which can consist of several sentences or paragraphs
    * that describe entry contents. Default value is an empty string.
    * 
* * string description = 4; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -940,14 +814,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int SCHEMA_FIELD_NUMBER = 5; private com.google.cloud.datacatalog.v1beta1.Schema schema_; /** - * - * *
    * Schema of the entry. An entry might not have any schema attached to it.
    * 
* * .google.cloud.datacatalog.v1beta1.Schema schema = 5; - * * @return Whether the schema field is set. */ @java.lang.Override @@ -955,25 +826,18 @@ public boolean hasSchema() { return schema_ != null; } /** - * - * *
    * Schema of the entry. An entry might not have any schema attached to it.
    * 
* * .google.cloud.datacatalog.v1beta1.Schema schema = 5; - * * @return The schema. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.Schema getSchema() { - return schema_ == null - ? com.google.cloud.datacatalog.v1beta1.Schema.getDefaultInstance() - : schema_; + return schema_ == null ? com.google.cloud.datacatalog.v1beta1.Schema.getDefaultInstance() : schema_; } /** - * - * *
    * Schema of the entry. An entry might not have any schema attached to it.
    * 
@@ -982,27 +846,20 @@ public com.google.cloud.datacatalog.v1beta1.Schema getSchema() { */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder getSchemaOrBuilder() { - return schema_ == null - ? com.google.cloud.datacatalog.v1beta1.Schema.getDefaultInstance() - : schema_; + return schema_ == null ? com.google.cloud.datacatalog.v1beta1.Schema.getDefaultInstance() : schema_; } public static final int SOURCE_SYSTEM_TIMESTAMPS_FIELD_NUMBER = 7; private com.google.cloud.datacatalog.v1beta1.SystemTimestamps sourceSystemTimestamps_; /** - * - * *
-   * Output only. Timestamps about the underlying resource, not about this Data Catalog
-   * entry. Output only when Entry is of type in the EntryType enum. For entries
-   * with user_specified_type, this field is optional and defaults to an empty
-   * timestamp.
+   * Output only. Timestamps about the underlying resource, not about this Data
+   * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+   * entries with user_specified_type, this field is optional and defaults to an
+   * empty timestamp.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the sourceSystemTimestamps field is set. */ @java.lang.Override @@ -1010,51 +867,74 @@ public boolean hasSourceSystemTimestamps() { return sourceSystemTimestamps_ != null; } /** - * - * *
-   * Output only. Timestamps about the underlying resource, not about this Data Catalog
-   * entry. Output only when Entry is of type in the EntryType enum. For entries
-   * with user_specified_type, this field is optional and defaults to an empty
-   * timestamp.
+   * Output only. Timestamps about the underlying resource, not about this Data
+   * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+   * entries with user_specified_type, this field is optional and defaults to an
+   * empty timestamp.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The sourceSystemTimestamps. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getSourceSystemTimestamps() { - return sourceSystemTimestamps_ == null - ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() - : sourceSystemTimestamps_; + return sourceSystemTimestamps_ == null ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() : sourceSystemTimestamps_; + } + /** + *
+   * Output only. Timestamps about the underlying resource, not about this Data
+   * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+   * entries with user_specified_type, this field is optional and defaults to an
+   * empty timestamp.
+   * 
+ * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder getSourceSystemTimestampsOrBuilder() { + return sourceSystemTimestamps_ == null ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() : sourceSystemTimestamps_; } + + public static final int USAGE_SIGNAL_FIELD_NUMBER = 13; + private com.google.cloud.datacatalog.v1beta1.UsageSignal usageSignal_; /** + *
+   * Output only. Statistics on the usage level of the resource.
+   * 
* + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the usageSignal field is set. + */ + @java.lang.Override + public boolean hasUsageSignal() { + return usageSignal_ != null; + } + /** + *
+   * Output only. Statistics on the usage level of the resource.
+   * 
* + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The usageSignal. + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.UsageSignal getUsageSignal() { + return usageSignal_ == null ? com.google.cloud.datacatalog.v1beta1.UsageSignal.getDefaultInstance() : usageSignal_; + } + /** *
-   * Output only. Timestamps about the underlying resource, not about this Data Catalog
-   * entry. Output only when Entry is of type in the EntryType enum. For entries
-   * with user_specified_type, this field is optional and defaults to an empty
-   * timestamp.
+   * Output only. Statistics on the usage level of the resource.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder - getSourceSystemTimestampsOrBuilder() { - return sourceSystemTimestamps_ == null - ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() - : sourceSystemTimestamps_; + public com.google.cloud.datacatalog.v1beta1.UsageSignalOrBuilder getUsageSignalOrBuilder() { + return usageSignal_ == null ? com.google.cloud.datacatalog.v1beta1.UsageSignal.getDefaultInstance() : usageSignal_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1066,7 +946,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1094,9 +975,11 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (typeSpecCase_ == 12) { output.writeMessage(12, (com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec) typeSpec_); } + if (usageSignal_ != null) { + output.writeMessage(13, getUsageSignal()); + } if (typeSpecCase_ == 15) { - output.writeMessage( - 15, (com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) typeSpec_); + output.writeMessage(15, (com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) typeSpec_); } if (entryTypeCase_ == 16) { com.google.protobuf.GeneratedMessageV3.writeString(output, 16, entryType_); @@ -1120,9 +1003,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (entryTypeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeEnumSize( - 2, ((java.lang.Integer) entryType_)); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, ((java.lang.Integer) entryType_)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_); @@ -1131,36 +1013,38 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); } if (schema_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getSchema()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getSchema()); } if (typeSpecCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec) typeSpec_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec) typeSpec_); } if (sourceSystemTimestamps_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(7, getSourceSystemTimestamps()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getSourceSystemTimestamps()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(linkedResource_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, linkedResource_); } if (typeSpecCase_ == 12) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 12, (com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec) typeSpec_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, (com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec) typeSpec_); + } + if (usageSignal_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, getUsageSignal()); } if (typeSpecCase_ == 15) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 15, (com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) typeSpec_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, (com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) typeSpec_); } if (entryTypeCase_ == 16) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, entryType_); } if (systemCase_ == 17) { - size += - com.google.protobuf.CodedOutputStream.computeEnumSize(17, ((java.lang.Integer) system_)); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(17, ((java.lang.Integer) system_)); } if (systemCase_ == 18) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, system_); @@ -1173,33 +1057,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.datacatalog.v1beta1.Entry)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.Entry other = - (com.google.cloud.datacatalog.v1beta1.Entry) obj; + com.google.cloud.datacatalog.v1beta1.Entry other = (com.google.cloud.datacatalog.v1beta1.Entry) obj; - if (!getName().equals(other.getName())) return false; - if (!getLinkedResource().equals(other.getLinkedResource())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getLinkedResource() + .equals(other.getLinkedResource())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) 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 (hasSourceSystemTimestamps() != other.hasSourceSystemTimestamps()) return false; if (hasSourceSystemTimestamps()) { - if (!getSourceSystemTimestamps().equals(other.getSourceSystemTimestamps())) return false; + if (!getSourceSystemTimestamps() + .equals(other.getSourceSystemTimestamps())) return false; + } + if (hasUsageSignal() != other.hasUsageSignal()) return false; + if (hasUsageSignal()) { + if (!getUsageSignal() + .equals(other.getUsageSignal())) return false; } if (!getEntryTypeCase().equals(other.getEntryTypeCase())) return false; switch (entryTypeCase_) { case 2: - if (getTypeValue() != other.getTypeValue()) return false; + if (getTypeValue() + != other.getTypeValue()) return false; break; case 16: - if (!getUserSpecifiedType().equals(other.getUserSpecifiedType())) return false; + if (!getUserSpecifiedType() + .equals(other.getUserSpecifiedType())) return false; break; case 0: default: @@ -1207,10 +1103,12 @@ public boolean equals(final java.lang.Object obj) { if (!getSystemCase().equals(other.getSystemCase())) return false; switch (systemCase_) { case 17: - if (getIntegratedSystemValue() != other.getIntegratedSystemValue()) return false; + if (getIntegratedSystemValue() + != other.getIntegratedSystemValue()) return false; break; case 18: - if (!getUserSpecifiedSystem().equals(other.getUserSpecifiedSystem())) return false; + if (!getUserSpecifiedSystem() + .equals(other.getUserSpecifiedSystem())) return false; break; case 0: default: @@ -1218,13 +1116,16 @@ public boolean equals(final java.lang.Object obj) { if (!getTypeSpecCase().equals(other.getTypeSpecCase())) return false; switch (typeSpecCase_) { case 6: - if (!getGcsFilesetSpec().equals(other.getGcsFilesetSpec())) return false; + if (!getGcsFilesetSpec() + .equals(other.getGcsFilesetSpec())) return false; break; case 12: - if (!getBigqueryTableSpec().equals(other.getBigqueryTableSpec())) return false; + if (!getBigqueryTableSpec() + .equals(other.getBigqueryTableSpec())) return false; break; case 15: - if (!getBigqueryDateShardedSpec().equals(other.getBigqueryDateShardedSpec())) return false; + if (!getBigqueryDateShardedSpec() + .equals(other.getBigqueryDateShardedSpec())) return false; break; case 0: default: @@ -1256,6 +1157,10 @@ public int hashCode() { hash = (37 * hash) + SOURCE_SYSTEM_TIMESTAMPS_FIELD_NUMBER; hash = (53 * hash) + getSourceSystemTimestamps().hashCode(); } + if (hasUsageSignal()) { + hash = (37 * hash) + USAGE_SIGNAL_FIELD_NUMBER; + hash = (53 * hash) + getUsageSignal().hashCode(); + } switch (entryTypeCase_) { case 2: hash = (37 * hash) + TYPE_FIELD_NUMBER; @@ -1301,104 +1206,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1beta1.Entry parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1beta1.Entry parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.Entry parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.Entry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.Entry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.Entry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.Entry parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.Entry parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.Entry parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.Entry parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.Entry parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.Entry parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.Entry parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.Entry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.Entry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Entry Metadata.
    * A Data Catalog Entry resource represents another resource in Google
@@ -1414,32 +1314,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.Entry}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.Entry)
       com.google.cloud.datacatalog.v1beta1.EntryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_Entry_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_Entry_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_Entry_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_Entry_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.Entry.class,
-              com.google.cloud.datacatalog.v1beta1.Entry.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.Entry.class, com.google.cloud.datacatalog.v1beta1.Entry.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.Entry.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1467,6 +1368,11 @@ public Builder clear() {
         sourceSystemTimestampsBuilder_.dispose();
         sourceSystemTimestampsBuilder_ = null;
       }
+      usageSignal_ = null;
+      if (usageSignalBuilder_ != null) {
+        usageSignalBuilder_.dispose();
+        usageSignalBuilder_ = null;
+      }
       entryTypeCase_ = 0;
       entryType_ = null;
       systemCase_ = 0;
@@ -1477,9 +1383,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_Entry_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_Entry_descriptor;
     }
 
     @java.lang.Override
@@ -1498,11 +1404,8 @@ public com.google.cloud.datacatalog.v1beta1.Entry build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.Entry buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.Entry result =
-          new com.google.cloud.datacatalog.v1beta1.Entry(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.Entry result = new com.google.cloud.datacatalog.v1beta1.Entry(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1523,13 +1426,19 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.Entry result) {
         result.description_ = description_;
       }
       if (((from_bitField0_ & 0x00000800) != 0)) {
-        result.schema_ = schemaBuilder_ == null ? schema_ : schemaBuilder_.build();
+        result.schema_ = schemaBuilder_ == null
+            ? schema_
+            : schemaBuilder_.build();
       }
       if (((from_bitField0_ & 0x00001000) != 0)) {
-        result.sourceSystemTimestamps_ =
-            sourceSystemTimestampsBuilder_ == null
-                ? sourceSystemTimestamps_
-                : sourceSystemTimestampsBuilder_.build();
+        result.sourceSystemTimestamps_ = sourceSystemTimestampsBuilder_ == null
+            ? sourceSystemTimestamps_
+            : sourceSystemTimestampsBuilder_.build();
+      }
+      if (((from_bitField0_ & 0x00002000) != 0)) {
+        result.usageSignal_ = usageSignalBuilder_ == null
+            ? usageSignal_
+            : usageSignalBuilder_.build();
       }
     }
 
@@ -1540,13 +1449,16 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1beta1.Entry resul
       result.system_ = this.system_;
       result.typeSpecCase_ = typeSpecCase_;
       result.typeSpec_ = this.typeSpec_;
-      if (typeSpecCase_ == 6 && gcsFilesetSpecBuilder_ != null) {
+      if (typeSpecCase_ == 6 &&
+          gcsFilesetSpecBuilder_ != null) {
         result.typeSpec_ = gcsFilesetSpecBuilder_.build();
       }
-      if (typeSpecCase_ == 12 && bigqueryTableSpecBuilder_ != null) {
+      if (typeSpecCase_ == 12 &&
+          bigqueryTableSpecBuilder_ != null) {
         result.typeSpec_ = bigqueryTableSpecBuilder_.build();
       }
-      if (typeSpecCase_ == 15 && bigqueryDateShardedSpecBuilder_ != null) {
+      if (typeSpecCase_ == 15 &&
+          bigqueryDateShardedSpecBuilder_ != null) {
         result.typeSpec_ = bigqueryDateShardedSpecBuilder_.build();
       }
     }
@@ -1555,39 +1467,38 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1beta1.Entry 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.datacatalog.v1beta1.Entry) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.Entry) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.Entry)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1622,62 +1533,55 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.Entry other) {
       if (other.hasSourceSystemTimestamps()) {
         mergeSourceSystemTimestamps(other.getSourceSystemTimestamps());
       }
+      if (other.hasUsageSignal()) {
+        mergeUsageSignal(other.getUsageSignal());
+      }
       switch (other.getEntryTypeCase()) {
-        case TYPE:
-          {
-            setTypeValue(other.getTypeValue());
-            break;
-          }
-        case USER_SPECIFIED_TYPE:
-          {
-            entryTypeCase_ = 16;
-            entryType_ = other.entryType_;
-            onChanged();
-            break;
-          }
-        case ENTRYTYPE_NOT_SET:
-          {
-            break;
-          }
+        case TYPE: {
+          setTypeValue(other.getTypeValue());
+          break;
+        }
+        case USER_SPECIFIED_TYPE: {
+          entryTypeCase_ = 16;
+          entryType_ = other.entryType_;
+          onChanged();
+          break;
+        }
+        case ENTRYTYPE_NOT_SET: {
+          break;
+        }
       }
       switch (other.getSystemCase()) {
-        case INTEGRATED_SYSTEM:
-          {
-            setIntegratedSystemValue(other.getIntegratedSystemValue());
-            break;
-          }
-        case USER_SPECIFIED_SYSTEM:
-          {
-            systemCase_ = 18;
-            system_ = other.system_;
-            onChanged();
-            break;
-          }
-        case SYSTEM_NOT_SET:
-          {
-            break;
-          }
+        case INTEGRATED_SYSTEM: {
+          setIntegratedSystemValue(other.getIntegratedSystemValue());
+          break;
+        }
+        case USER_SPECIFIED_SYSTEM: {
+          systemCase_ = 18;
+          system_ = other.system_;
+          onChanged();
+          break;
+        }
+        case SYSTEM_NOT_SET: {
+          break;
+        }
       }
       switch (other.getTypeSpecCase()) {
-        case GCS_FILESET_SPEC:
-          {
-            mergeGcsFilesetSpec(other.getGcsFilesetSpec());
-            break;
-          }
-        case BIGQUERY_TABLE_SPEC:
-          {
-            mergeBigqueryTableSpec(other.getBigqueryTableSpec());
-            break;
-          }
-        case BIGQUERY_DATE_SHARDED_SPEC:
-          {
-            mergeBigqueryDateShardedSpec(other.getBigqueryDateShardedSpec());
-            break;
-          }
-        case TYPESPEC_NOT_SET:
-          {
-            break;
-          }
+        case GCS_FILESET_SPEC: {
+          mergeGcsFilesetSpec(other.getGcsFilesetSpec());
+          break;
+        }
+        case BIGQUERY_TABLE_SPEC: {
+          mergeBigqueryTableSpec(other.getBigqueryTableSpec());
+          break;
+        }
+        case BIGQUERY_DATE_SHARDED_SPEC: {
+          mergeBigqueryDateShardedSpec(other.getBigqueryDateShardedSpec());
+          break;
+        }
+        case TYPESPEC_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1705,98 +1609,98 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                int rawValue = input.readEnum();
-                entryTypeCase_ = 2;
-                entryType_ = rawValue;
-                break;
-              } // case 16
-            case 26:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000200;
-                break;
-              } // case 26
-            case 34:
-              {
-                description_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000400;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getSchemaFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000800;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getGcsFilesetSpecFieldBuilder().getBuilder(), extensionRegistry);
-                typeSpecCase_ = 6;
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(
-                    getSourceSystemTimestampsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00001000;
-                break;
-              } // case 58
-            case 74:
-              {
-                linkedResource_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 74
-            case 98:
-              {
-                input.readMessage(
-                    getBigqueryTableSpecFieldBuilder().getBuilder(), extensionRegistry);
-                typeSpecCase_ = 12;
-                break;
-              } // case 98
-            case 122:
-              {
-                input.readMessage(
-                    getBigqueryDateShardedSpecFieldBuilder().getBuilder(), extensionRegistry);
-                typeSpecCase_ = 15;
-                break;
-              } // case 122
-            case 130:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                entryTypeCase_ = 16;
-                entryType_ = s;
-                break;
-              } // case 130
-            case 136:
-              {
-                int rawValue = input.readEnum();
-                systemCase_ = 17;
-                system_ = rawValue;
-                break;
-              } // case 136
-            case 146:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                systemCase_ = 18;
-                system_ = s;
-                break;
-              } // case 146
-            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: {
+              int rawValue = input.readEnum();
+              entryTypeCase_ = 2;
+              entryType_ = rawValue;
+              break;
+            } // case 16
+            case 26: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000200;
+              break;
+            } // case 26
+            case 34: {
+              description_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000400;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getSchemaFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000800;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getGcsFilesetSpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              typeSpecCase_ = 6;
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getSourceSystemTimestampsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00001000;
+              break;
+            } // case 58
+            case 74: {
+              linkedResource_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 74
+            case 98: {
+              input.readMessage(
+                  getBigqueryTableSpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              typeSpecCase_ = 12;
+              break;
+            } // case 98
+            case 106: {
+              input.readMessage(
+                  getUsageSignalFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00002000;
+              break;
+            } // case 106
+            case 122: {
+              input.readMessage(
+                  getBigqueryDateShardedSpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              typeSpecCase_ = 15;
+              break;
+            } // case 122
+            case 130: {
+              java.lang.String s = input.readStringRequireUtf8();
+              entryTypeCase_ = 16;
+              entryType_ = s;
+              break;
+            } // case 130
+            case 136: {
+              int rawValue = input.readEnum();
+              systemCase_ = 17;
+              system_ = rawValue;
+              break;
+            } // case 136
+            case 146: {
+              java.lang.String s = input.readStringRequireUtf8();
+              systemCase_ = 18;
+              system_ = s;
+              break;
+            } // case 146
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1806,12 +1710,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int entryTypeCase_ = 0;
     private java.lang.Object entryType_;
-
-    public EntryTypeCase getEntryTypeCase() {
-      return EntryTypeCase.forNumber(entryTypeCase_);
+    public EntryTypeCase
+        getEntryTypeCase() {
+      return EntryTypeCase.forNumber(
+          entryTypeCase_);
     }
 
     public Builder clearEntryType() {
@@ -1823,9 +1727,10 @@ public Builder clearEntryType() {
 
     private int systemCase_ = 0;
     private java.lang.Object system_;
-
-    public SystemCase getSystemCase() {
-      return SystemCase.forNumber(systemCase_);
+    public SystemCase
+        getSystemCase() {
+      return SystemCase.forNumber(
+          systemCase_);
     }
 
     public Builder clearSystem() {
@@ -1837,9 +1742,10 @@ public Builder clearSystem() {
 
     private int typeSpecCase_ = 0;
     private java.lang.Object typeSpec_;
-
-    public TypeSpecCase getTypeSpecCase() {
-      return TypeSpecCase.forNumber(typeSpecCase_);
+    public TypeSpecCase
+        getTypeSpecCase() {
+      return TypeSpecCase.forNumber(
+          typeSpecCase_);
     }
 
     public Builder clearTypeSpec() {
@@ -1853,10 +1759,9 @@ public Builder clearTypeSpec() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
-     * The Data Catalog resource name of the entry in URL format. Example:
+     * Output only. The Data Catalog resource name of the entry in URL format.
+     * Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      *
@@ -1864,14 +1769,14 @@ public Builder clearTypeSpec() {
      * the location in this name.
      * 
* - * string name = 1 [(.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; @@ -1880,10 +1785,9 @@ public java.lang.String getName() { } } /** - * - * *
-     * The Data Catalog resource name of the entry in URL format. Example:
+     * Output only. The Data Catalog resource name of the entry in URL format.
+     * Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      *
@@ -1891,15 +1795,16 @@ public java.lang.String getName() {
      * the location in this name.
      * 
* - * string name = 1 [(.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 { @@ -1907,10 +1812,9 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
-     * The Data Catalog resource name of the entry in URL format. Example:
+     * Output only. The Data Catalog resource name of the entry in URL format.
+     * Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      *
@@ -1918,25 +1822,22 @@ public com.google.protobuf.ByteString getNameBytes() {
      * the location in this name.
      * 
* - * string name = 1 [(.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; } /** - * - * *
-     * The Data Catalog resource name of the entry in URL format. Example:
+     * Output only. The Data Catalog resource name of the entry in URL format.
+     * Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      *
@@ -1944,8 +1845,7 @@ public Builder setName(java.lang.String value) {
      * the location in this name.
      * 
* - * string name = 1 [(.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() { @@ -1955,10 +1855,9 @@ public Builder clearName() { return this; } /** - * - * *
-     * The Data Catalog resource name of the entry in URL format. Example:
+     * Output only. The Data Catalog resource name of the entry in URL format.
+     * Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      *
@@ -1966,15 +1865,13 @@ public Builder clearName() {
      * the location in this name.
      * 
* - * string name = 1 [(.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; @@ -1984,8 +1881,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object linkedResource_ = ""; /** - * - * *
      * The resource this metadata entry refers to.
      *
@@ -2002,13 +1897,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string linked_resource = 9; - * * @return The linkedResource. */ public java.lang.String getLinkedResource() { java.lang.Object ref = linkedResource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); linkedResource_ = s; return s; @@ -2017,8 +1912,6 @@ public java.lang.String getLinkedResource() { } } /** - * - * *
      * The resource this metadata entry refers to.
      *
@@ -2035,14 +1928,15 @@ public java.lang.String getLinkedResource() {
      * 
* * string linked_resource = 9; - * * @return The bytes for linkedResource. */ - public com.google.protobuf.ByteString getLinkedResourceBytes() { + public com.google.protobuf.ByteString + getLinkedResourceBytes() { java.lang.Object ref = linkedResource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); linkedResource_ = b; return b; } else { @@ -2050,8 +1944,6 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { } } /** - * - * *
      * The resource this metadata entry refers to.
      *
@@ -2068,22 +1960,18 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() {
      * 
* * string linked_resource = 9; - * * @param value The linkedResource to set. * @return This builder for chaining. */ - public Builder setLinkedResource(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLinkedResource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } linkedResource_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The resource this metadata entry refers to.
      *
@@ -2100,7 +1988,6 @@ public Builder setLinkedResource(java.lang.String value) {
      * 
* * string linked_resource = 9; - * * @return This builder for chaining. */ public Builder clearLinkedResource() { @@ -2110,8 +1997,6 @@ public Builder clearLinkedResource() { return this; } /** - * - * *
      * The resource this metadata entry refers to.
      *
@@ -2128,14 +2013,12 @@ public Builder clearLinkedResource() {
      * 
* * string linked_resource = 9; - * * @param value The bytes for linkedResource to set. * @return This builder for chaining. */ - public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLinkedResourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); linkedResource_ = value; bitField0_ |= 0x00000002; @@ -2144,15 +2027,12 @@ public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * The type of the entry.
      * Only used for Entries with types in the EntryType enum.
      * 
* * .google.cloud.datacatalog.v1beta1.EntryType type = 2; - * * @return Whether the type field is set. */ @java.lang.Override @@ -2160,15 +2040,12 @@ public boolean hasType() { return entryTypeCase_ == 2; } /** - * - * *
      * The type of the entry.
      * Only used for Entries with types in the EntryType enum.
      * 
* * .google.cloud.datacatalog.v1beta1.EntryType type = 2; - * * @return The enum numeric value on the wire for type. */ @java.lang.Override @@ -2179,15 +2056,12 @@ public int getTypeValue() { return 0; } /** - * - * *
      * The type of the entry.
      * Only used for Entries with types in the EntryType enum.
      * 
* * .google.cloud.datacatalog.v1beta1.EntryType type = 2; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -2198,39 +2072,30 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * The type of the entry.
      * Only used for Entries with types in the EntryType enum.
      * 
* * .google.cloud.datacatalog.v1beta1.EntryType type = 2; - * * @return The type. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.EntryType getType() { if (entryTypeCase_ == 2) { - com.google.cloud.datacatalog.v1beta1.EntryType result = - com.google.cloud.datacatalog.v1beta1.EntryType.forNumber( - (java.lang.Integer) entryType_); - return result == null - ? com.google.cloud.datacatalog.v1beta1.EntryType.UNRECOGNIZED - : result; + com.google.cloud.datacatalog.v1beta1.EntryType result = com.google.cloud.datacatalog.v1beta1.EntryType.forNumber( + (java.lang.Integer) entryType_); + return result == null ? com.google.cloud.datacatalog.v1beta1.EntryType.UNRECOGNIZED : result; } return com.google.cloud.datacatalog.v1beta1.EntryType.ENTRY_TYPE_UNSPECIFIED; } /** - * - * *
      * The type of the entry.
      * Only used for Entries with types in the EntryType enum.
      * 
* * .google.cloud.datacatalog.v1beta1.EntryType type = 2; - * * @param value The type to set. * @return This builder for chaining. */ @@ -2244,15 +2109,12 @@ public Builder setType(com.google.cloud.datacatalog.v1beta1.EntryType value) { return this; } /** - * - * *
      * The type of the entry.
      * Only used for Entries with types in the EntryType enum.
      * 
* * .google.cloud.datacatalog.v1beta1.EntryType type = 2; - * * @return This builder for chaining. */ public Builder clearType() { @@ -2265,8 +2127,6 @@ public Builder clearType() { } /** - * - * *
      * Entry type if it does not fit any of the input-allowed values listed in
      * `EntryType` enum above. When creating an entry, users should check the
@@ -2281,7 +2141,6 @@ public Builder clearType() {
      * 
* * string user_specified_type = 16; - * * @return Whether the userSpecifiedType field is set. */ @java.lang.Override @@ -2289,8 +2148,6 @@ public boolean hasUserSpecifiedType() { return entryTypeCase_ == 16; } /** - * - * *
      * Entry type if it does not fit any of the input-allowed values listed in
      * `EntryType` enum above. When creating an entry, users should check the
@@ -2305,7 +2162,6 @@ public boolean hasUserSpecifiedType() {
      * 
* * string user_specified_type = 16; - * * @return The userSpecifiedType. */ @java.lang.Override @@ -2315,7 +2171,8 @@ public java.lang.String getUserSpecifiedType() { ref = entryType_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (entryTypeCase_ == 16) { entryType_ = s; @@ -2326,8 +2183,6 @@ public java.lang.String getUserSpecifiedType() { } } /** - * - * *
      * Entry type if it does not fit any of the input-allowed values listed in
      * `EntryType` enum above. When creating an entry, users should check the
@@ -2342,18 +2197,19 @@ public java.lang.String getUserSpecifiedType() {
      * 
* * string user_specified_type = 16; - * * @return The bytes for userSpecifiedType. */ @java.lang.Override - public com.google.protobuf.ByteString getUserSpecifiedTypeBytes() { + public com.google.protobuf.ByteString + getUserSpecifiedTypeBytes() { java.lang.Object ref = ""; if (entryTypeCase_ == 16) { ref = entryType_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (entryTypeCase_ == 16) { entryType_ = b; } @@ -2363,8 +2219,6 @@ public com.google.protobuf.ByteString getUserSpecifiedTypeBytes() { } } /** - * - * *
      * Entry type if it does not fit any of the input-allowed values listed in
      * `EntryType` enum above. When creating an entry, users should check the
@@ -2379,22 +2233,18 @@ public com.google.protobuf.ByteString getUserSpecifiedTypeBytes() {
      * 
* * string user_specified_type = 16; - * * @param value The userSpecifiedType to set. * @return This builder for chaining. */ - public Builder setUserSpecifiedType(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserSpecifiedType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } entryTypeCase_ = 16; entryType_ = value; onChanged(); return this; } /** - * - * *
      * Entry type if it does not fit any of the input-allowed values listed in
      * `EntryType` enum above. When creating an entry, users should check the
@@ -2409,7 +2259,6 @@ public Builder setUserSpecifiedType(java.lang.String value) {
      * 
* * string user_specified_type = 16; - * * @return This builder for chaining. */ public Builder clearUserSpecifiedType() { @@ -2421,8 +2270,6 @@ public Builder clearUserSpecifiedType() { return this; } /** - * - * *
      * Entry type if it does not fit any of the input-allowed values listed in
      * `EntryType` enum above. When creating an entry, users should check the
@@ -2437,14 +2284,12 @@ public Builder clearUserSpecifiedType() {
      * 
* * string user_specified_type = 16; - * * @param value The bytes for userSpecifiedType to set. * @return This builder for chaining. */ - public Builder setUserSpecifiedTypeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserSpecifiedTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); entryTypeCase_ = 16; entryType_ = value; @@ -2453,17 +2298,12 @@ public Builder setUserSpecifiedTypeBytes(com.google.protobuf.ByteString value) { } /** - * - * *
-     * Output only. This field indicates the entry's source system that Data Catalog
-     * integrates with, such as BigQuery or Pub/Sub.
+     * Output only. This field indicates the entry's source system that Data
+     * Catalog integrates with, such as BigQuery or Pub/Sub.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the integratedSystem field is set. */ @java.lang.Override @@ -2471,17 +2311,12 @@ public boolean hasIntegratedSystem() { return systemCase_ == 17; } /** - * - * *
-     * Output only. This field indicates the entry's source system that Data Catalog
-     * integrates with, such as BigQuery or Pub/Sub.
+     * Output only. This field indicates the entry's source system that Data
+     * Catalog integrates with, such as BigQuery or Pub/Sub.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for integratedSystem. */ @java.lang.Override @@ -2492,17 +2327,12 @@ public int getIntegratedSystemValue() { return 0; } /** - * - * *
-     * Output only. This field indicates the entry's source system that Data Catalog
-     * integrates with, such as BigQuery or Pub/Sub.
+     * Output only. This field indicates the entry's source system that Data
+     * Catalog integrates with, such as BigQuery or Pub/Sub.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for integratedSystem to set. * @return This builder for chaining. */ @@ -2513,48 +2343,34 @@ public Builder setIntegratedSystemValue(int value) { return this; } /** - * - * *
-     * Output only. This field indicates the entry's source system that Data Catalog
-     * integrates with, such as BigQuery or Pub/Sub.
+     * Output only. This field indicates the entry's source system that Data
+     * Catalog integrates with, such as BigQuery or Pub/Sub.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The integratedSystem. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.IntegratedSystem getIntegratedSystem() { if (systemCase_ == 17) { - com.google.cloud.datacatalog.v1beta1.IntegratedSystem result = - com.google.cloud.datacatalog.v1beta1.IntegratedSystem.forNumber( - (java.lang.Integer) system_); - return result == null - ? com.google.cloud.datacatalog.v1beta1.IntegratedSystem.UNRECOGNIZED - : result; + com.google.cloud.datacatalog.v1beta1.IntegratedSystem result = com.google.cloud.datacatalog.v1beta1.IntegratedSystem.forNumber( + (java.lang.Integer) system_); + return result == null ? com.google.cloud.datacatalog.v1beta1.IntegratedSystem.UNRECOGNIZED : result; } return com.google.cloud.datacatalog.v1beta1.IntegratedSystem.INTEGRATED_SYSTEM_UNSPECIFIED; } /** - * - * *
-     * Output only. This field indicates the entry's source system that Data Catalog
-     * integrates with, such as BigQuery or Pub/Sub.
+     * Output only. This field indicates the entry's source system that Data
+     * Catalog integrates with, such as BigQuery or Pub/Sub.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The integratedSystem to set. * @return This builder for chaining. */ - public Builder setIntegratedSystem( - com.google.cloud.datacatalog.v1beta1.IntegratedSystem value) { + public Builder setIntegratedSystem(com.google.cloud.datacatalog.v1beta1.IntegratedSystem value) { if (value == null) { throw new NullPointerException(); } @@ -2564,17 +2380,12 @@ public Builder setIntegratedSystem( return this; } /** - * - * *
-     * Output only. This field indicates the entry's source system that Data Catalog
-     * integrates with, such as BigQuery or Pub/Sub.
+     * Output only. This field indicates the entry's source system that Data
+     * Catalog integrates with, such as BigQuery or Pub/Sub.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearIntegratedSystem() { @@ -2587,8 +2398,6 @@ public Builder clearIntegratedSystem() { } /** - * - * *
      * This field indicates the entry's source system that Data Catalog does not
      * integrate with. `user_specified_system` strings must begin with a letter
@@ -2598,7 +2407,6 @@ public Builder clearIntegratedSystem() {
      * 
* * string user_specified_system = 18; - * * @return Whether the userSpecifiedSystem field is set. */ @java.lang.Override @@ -2606,8 +2414,6 @@ public boolean hasUserSpecifiedSystem() { return systemCase_ == 18; } /** - * - * *
      * This field indicates the entry's source system that Data Catalog does not
      * integrate with. `user_specified_system` strings must begin with a letter
@@ -2617,7 +2423,6 @@ public boolean hasUserSpecifiedSystem() {
      * 
* * string user_specified_system = 18; - * * @return The userSpecifiedSystem. */ @java.lang.Override @@ -2627,7 +2432,8 @@ public java.lang.String getUserSpecifiedSystem() { ref = system_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (systemCase_ == 18) { system_ = s; @@ -2638,8 +2444,6 @@ public java.lang.String getUserSpecifiedSystem() { } } /** - * - * *
      * This field indicates the entry's source system that Data Catalog does not
      * integrate with. `user_specified_system` strings must begin with a letter
@@ -2649,18 +2453,19 @@ public java.lang.String getUserSpecifiedSystem() {
      * 
* * string user_specified_system = 18; - * * @return The bytes for userSpecifiedSystem. */ @java.lang.Override - public com.google.protobuf.ByteString getUserSpecifiedSystemBytes() { + public com.google.protobuf.ByteString + getUserSpecifiedSystemBytes() { java.lang.Object ref = ""; if (systemCase_ == 18) { ref = system_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (systemCase_ == 18) { system_ = b; } @@ -2670,8 +2475,6 @@ public com.google.protobuf.ByteString getUserSpecifiedSystemBytes() { } } /** - * - * *
      * This field indicates the entry's source system that Data Catalog does not
      * integrate with. `user_specified_system` strings must begin with a letter
@@ -2681,22 +2484,18 @@ public com.google.protobuf.ByteString getUserSpecifiedSystemBytes() {
      * 
* * string user_specified_system = 18; - * * @param value The userSpecifiedSystem to set. * @return This builder for chaining. */ - public Builder setUserSpecifiedSystem(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserSpecifiedSystem( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } systemCase_ = 18; system_ = value; onChanged(); return this; } /** - * - * *
      * This field indicates the entry's source system that Data Catalog does not
      * integrate with. `user_specified_system` strings must begin with a letter
@@ -2706,7 +2505,6 @@ public Builder setUserSpecifiedSystem(java.lang.String value) {
      * 
* * string user_specified_system = 18; - * * @return This builder for chaining. */ public Builder clearUserSpecifiedSystem() { @@ -2718,8 +2516,6 @@ public Builder clearUserSpecifiedSystem() { return this; } /** - * - * *
      * This field indicates the entry's source system that Data Catalog does not
      * integrate with. `user_specified_system` strings must begin with a letter
@@ -2729,14 +2525,12 @@ public Builder clearUserSpecifiedSystem() {
      * 
* * string user_specified_system = 18; - * * @param value The bytes for userSpecifiedSystem to set. * @return This builder for chaining. */ - public Builder setUserSpecifiedSystemBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserSpecifiedSystemBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); systemCase_ = 18; system_ = value; @@ -2745,20 +2539,14 @@ public Builder setUserSpecifiedSystemBytes(com.google.protobuf.ByteString value) } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec, - com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.Builder, - com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOrBuilder> - gcsFilesetSpecBuilder_; + com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec, com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.Builder, com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOrBuilder> gcsFilesetSpecBuilder_; /** - * - * *
      * Specification that applies to a Cloud Storage fileset. This is only valid
      * on entries of type FILESET.
      * 
* * .google.cloud.datacatalog.v1beta1.GcsFilesetSpec gcs_fileset_spec = 6; - * * @return Whether the gcsFilesetSpec field is set. */ @java.lang.Override @@ -2766,15 +2554,12 @@ public boolean hasGcsFilesetSpec() { return typeSpecCase_ == 6; } /** - * - * *
      * Specification that applies to a Cloud Storage fileset. This is only valid
      * on entries of type FILESET.
      * 
* * .google.cloud.datacatalog.v1beta1.GcsFilesetSpec gcs_fileset_spec = 6; - * * @return The gcsFilesetSpec. */ @java.lang.Override @@ -2792,8 +2577,6 @@ public com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec getGcsFilesetSpec() { } } /** - * - * *
      * Specification that applies to a Cloud Storage fileset. This is only valid
      * on entries of type FILESET.
@@ -2815,8 +2598,6 @@ public Builder setGcsFilesetSpec(com.google.cloud.datacatalog.v1beta1.GcsFileset
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a Cloud Storage fileset. This is only valid
      * on entries of type FILESET.
@@ -2836,8 +2617,6 @@ public Builder setGcsFilesetSpec(
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a Cloud Storage fileset. This is only valid
      * on entries of type FILESET.
@@ -2847,14 +2626,10 @@ public Builder setGcsFilesetSpec(
      */
     public Builder mergeGcsFilesetSpec(com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec value) {
       if (gcsFilesetSpecBuilder_ == null) {
-        if (typeSpecCase_ == 6
-            && typeSpec_
-                != com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.getDefaultInstance()) {
-          typeSpec_ =
-              com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.newBuilder(
-                      (com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec) typeSpec_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (typeSpecCase_ == 6 &&
+            typeSpec_ != com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.getDefaultInstance()) {
+          typeSpec_ = com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.newBuilder((com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec) typeSpec_)
+              .mergeFrom(value).buildPartial();
         } else {
           typeSpec_ = value;
         }
@@ -2870,8 +2645,6 @@ public Builder mergeGcsFilesetSpec(com.google.cloud.datacatalog.v1beta1.GcsFiles
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a Cloud Storage fileset. This is only valid
      * on entries of type FILESET.
@@ -2896,8 +2669,6 @@ public Builder clearGcsFilesetSpec() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a Cloud Storage fileset. This is only valid
      * on entries of type FILESET.
@@ -2909,8 +2680,6 @@ public com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.Builder getGcsFileset
       return getGcsFilesetSpecFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a Cloud Storage fileset. This is only valid
      * on entries of type FILESET.
@@ -2919,8 +2688,7 @@ public com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.Builder getGcsFileset
      * .google.cloud.datacatalog.v1beta1.GcsFilesetSpec gcs_fileset_spec = 6;
      */
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOrBuilder
-        getGcsFilesetSpecOrBuilder() {
+    public com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOrBuilder getGcsFilesetSpecOrBuilder() {
       if ((typeSpecCase_ == 6) && (gcsFilesetSpecBuilder_ != null)) {
         return gcsFilesetSpecBuilder_.getMessageOrBuilder();
       } else {
@@ -2931,8 +2699,6 @@ public com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.Builder getGcsFileset
       }
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a Cloud Storage fileset. This is only valid
      * on entries of type FILESET.
@@ -2941,19 +2707,14 @@ public com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.Builder getGcsFileset
      * .google.cloud.datacatalog.v1beta1.GcsFilesetSpec gcs_fileset_spec = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec,
-            com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.Builder,
-            com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOrBuilder>
+        com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec, com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.Builder, com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOrBuilder> 
         getGcsFilesetSpecFieldBuilder() {
       if (gcsFilesetSpecBuilder_ == null) {
         if (!(typeSpecCase_ == 6)) {
           typeSpec_ = com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.getDefaultInstance();
         }
-        gcsFilesetSpecBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec,
-                com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.Builder,
-                com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOrBuilder>(
+        gcsFilesetSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec, com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.Builder, com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOrBuilder>(
                 (com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec) typeSpec_,
                 getParentForChildren(),
                 isClean());
@@ -2965,20 +2726,14 @@ public com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.Builder getGcsFileset
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec,
-            com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.Builder,
-            com.google.cloud.datacatalog.v1beta1.BigQueryTableSpecOrBuilder>
-        bigqueryTableSpecBuilder_;
+        com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec, com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.Builder, com.google.cloud.datacatalog.v1beta1.BigQueryTableSpecOrBuilder> bigqueryTableSpecBuilder_;
     /**
-     *
-     *
      * 
      * Specification that applies to a BigQuery table. This is only valid on
      * entries of type `TABLE`.
      * 
* * .google.cloud.datacatalog.v1beta1.BigQueryTableSpec bigquery_table_spec = 12; - * * @return Whether the bigqueryTableSpec field is set. */ @java.lang.Override @@ -2986,15 +2741,12 @@ public boolean hasBigqueryTableSpec() { return typeSpecCase_ == 12; } /** - * - * *
      * Specification that applies to a BigQuery table. This is only valid on
      * entries of type `TABLE`.
      * 
* * .google.cloud.datacatalog.v1beta1.BigQueryTableSpec bigquery_table_spec = 12; - * * @return The bigqueryTableSpec. */ @java.lang.Override @@ -3012,8 +2764,6 @@ public com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec getBigqueryTableSp } } /** - * - * *
      * Specification that applies to a BigQuery table. This is only valid on
      * entries of type `TABLE`.
@@ -3021,8 +2771,7 @@ public com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec getBigqueryTableSp
      *
      * .google.cloud.datacatalog.v1beta1.BigQueryTableSpec bigquery_table_spec = 12;
      */
-    public Builder setBigqueryTableSpec(
-        com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec value) {
+    public Builder setBigqueryTableSpec(com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec value) {
       if (bigqueryTableSpecBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3036,8 +2785,6 @@ public Builder setBigqueryTableSpec(
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a BigQuery table. This is only valid on
      * entries of type `TABLE`.
@@ -3057,8 +2804,6 @@ public Builder setBigqueryTableSpec(
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a BigQuery table. This is only valid on
      * entries of type `TABLE`.
@@ -3066,17 +2811,12 @@ public Builder setBigqueryTableSpec(
      *
      * .google.cloud.datacatalog.v1beta1.BigQueryTableSpec bigquery_table_spec = 12;
      */
-    public Builder mergeBigqueryTableSpec(
-        com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec value) {
+    public Builder mergeBigqueryTableSpec(com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec value) {
       if (bigqueryTableSpecBuilder_ == null) {
-        if (typeSpecCase_ == 12
-            && typeSpec_
-                != com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.getDefaultInstance()) {
-          typeSpec_ =
-              com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.newBuilder(
-                      (com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec) typeSpec_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (typeSpecCase_ == 12 &&
+            typeSpec_ != com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.getDefaultInstance()) {
+          typeSpec_ = com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.newBuilder((com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec) typeSpec_)
+              .mergeFrom(value).buildPartial();
         } else {
           typeSpec_ = value;
         }
@@ -3092,8 +2832,6 @@ public Builder mergeBigqueryTableSpec(
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a BigQuery table. This is only valid on
      * entries of type `TABLE`.
@@ -3118,8 +2856,6 @@ public Builder clearBigqueryTableSpec() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a BigQuery table. This is only valid on
      * entries of type `TABLE`.
@@ -3127,13 +2863,10 @@ public Builder clearBigqueryTableSpec() {
      *
      * .google.cloud.datacatalog.v1beta1.BigQueryTableSpec bigquery_table_spec = 12;
      */
-    public com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.Builder
-        getBigqueryTableSpecBuilder() {
+    public com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.Builder getBigqueryTableSpecBuilder() {
       return getBigqueryTableSpecFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a BigQuery table. This is only valid on
      * entries of type `TABLE`.
@@ -3142,8 +2875,7 @@ public Builder clearBigqueryTableSpec() {
      * .google.cloud.datacatalog.v1beta1.BigQueryTableSpec bigquery_table_spec = 12;
      */
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.BigQueryTableSpecOrBuilder
-        getBigqueryTableSpecOrBuilder() {
+    public com.google.cloud.datacatalog.v1beta1.BigQueryTableSpecOrBuilder getBigqueryTableSpecOrBuilder() {
       if ((typeSpecCase_ == 12) && (bigqueryTableSpecBuilder_ != null)) {
         return bigqueryTableSpecBuilder_.getMessageOrBuilder();
       } else {
@@ -3154,8 +2886,6 @@ public Builder clearBigqueryTableSpec() {
       }
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a BigQuery table. This is only valid on
      * entries of type `TABLE`.
@@ -3164,19 +2894,14 @@ public Builder clearBigqueryTableSpec() {
      * .google.cloud.datacatalog.v1beta1.BigQueryTableSpec bigquery_table_spec = 12;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec,
-            com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.Builder,
-            com.google.cloud.datacatalog.v1beta1.BigQueryTableSpecOrBuilder>
+        com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec, com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.Builder, com.google.cloud.datacatalog.v1beta1.BigQueryTableSpecOrBuilder> 
         getBigqueryTableSpecFieldBuilder() {
       if (bigqueryTableSpecBuilder_ == null) {
         if (!(typeSpecCase_ == 12)) {
           typeSpec_ = com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.getDefaultInstance();
         }
-        bigqueryTableSpecBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec,
-                com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.Builder,
-                com.google.cloud.datacatalog.v1beta1.BigQueryTableSpecOrBuilder>(
+        bigqueryTableSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec, com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.Builder, com.google.cloud.datacatalog.v1beta1.BigQueryTableSpecOrBuilder>(
                 (com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec) typeSpec_,
                 getParentForChildren(),
                 isClean());
@@ -3188,23 +2913,15 @@ public Builder clearBigqueryTableSpec() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec,
-            com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.Builder,
-            com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecOrBuilder>
-        bigqueryDateShardedSpecBuilder_;
+        com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec, com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.Builder, com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecOrBuilder> bigqueryDateShardedSpecBuilder_;
     /**
-     *
-     *
      * 
      * Specification for a group of BigQuery tables with name pattern
      * `[prefix]YYYYMMDD`. Context:
      * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; - * - * + * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; * @return Whether the bigqueryDateShardedSpec field is set. */ @java.lang.Override @@ -3212,23 +2929,17 @@ public boolean hasBigqueryDateShardedSpec() { return typeSpecCase_ == 15; } /** - * - * *
      * Specification for a group of BigQuery tables with name pattern
      * `[prefix]YYYYMMDD`. Context:
      * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; - * - * + * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; * @return The bigqueryDateShardedSpec. */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec - getBigqueryDateShardedSpec() { + public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec getBigqueryDateShardedSpec() { if (bigqueryDateShardedSpecBuilder_ == null) { if (typeSpecCase_ == 15) { return (com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) typeSpec_; @@ -3242,20 +2953,15 @@ public boolean hasBigqueryDateShardedSpec() { } } /** - * - * *
      * Specification for a group of BigQuery tables with name pattern
      * `[prefix]YYYYMMDD`. Context:
      * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; - * + * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; */ - public Builder setBigqueryDateShardedSpec( - com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec value) { + public Builder setBigqueryDateShardedSpec(com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec value) { if (bigqueryDateShardedSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3269,17 +2975,13 @@ public Builder setBigqueryDateShardedSpec( return this; } /** - * - * *
      * Specification for a group of BigQuery tables with name pattern
      * `[prefix]YYYYMMDD`. Context:
      * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; - * + * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; */ public Builder setBigqueryDateShardedSpec( com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.Builder builderForValue) { @@ -3293,30 +2995,20 @@ public Builder setBigqueryDateShardedSpec( return this; } /** - * - * *
      * Specification for a group of BigQuery tables with name pattern
      * `[prefix]YYYYMMDD`. Context:
      * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; - * + * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; */ - public Builder mergeBigqueryDateShardedSpec( - com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec value) { + public Builder mergeBigqueryDateShardedSpec(com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec value) { if (bigqueryDateShardedSpecBuilder_ == null) { - if (typeSpecCase_ == 15 - && typeSpec_ - != com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec - .getDefaultInstance()) { - typeSpec_ = - com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.newBuilder( - (com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) typeSpec_) - .mergeFrom(value) - .buildPartial(); + if (typeSpecCase_ == 15 && + typeSpec_ != com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.getDefaultInstance()) { + typeSpec_ = com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.newBuilder((com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) typeSpec_) + .mergeFrom(value).buildPartial(); } else { typeSpec_ = value; } @@ -3332,17 +3024,13 @@ public Builder mergeBigqueryDateShardedSpec( return this; } /** - * - * *
      * Specification for a group of BigQuery tables with name pattern
      * `[prefix]YYYYMMDD`. Context:
      * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; - * + * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; */ public Builder clearBigqueryDateShardedSpec() { if (bigqueryDateShardedSpecBuilder_ == null) { @@ -3361,38 +3049,28 @@ public Builder clearBigqueryDateShardedSpec() { return this; } /** - * - * *
      * Specification for a group of BigQuery tables with name pattern
      * `[prefix]YYYYMMDD`. Context:
      * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; - * + * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; */ - public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.Builder - getBigqueryDateShardedSpecBuilder() { + public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.Builder getBigqueryDateShardedSpecBuilder() { return getBigqueryDateShardedSpecFieldBuilder().getBuilder(); } /** - * - * *
      * Specification for a group of BigQuery tables with name pattern
      * `[prefix]YYYYMMDD`. Context:
      * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; - * + * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecOrBuilder - getBigqueryDateShardedSpecOrBuilder() { + public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecOrBuilder getBigqueryDateShardedSpecOrBuilder() { if ((typeSpecCase_ == 15) && (bigqueryDateShardedSpecBuilder_ != null)) { return bigqueryDateShardedSpecBuilder_.getMessageOrBuilder(); } else { @@ -3403,33 +3081,23 @@ public Builder clearBigqueryDateShardedSpec() { } } /** - * - * *
      * Specification for a group of BigQuery tables with name pattern
      * `[prefix]YYYYMMDD`. Context:
      * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; - * + * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec, - com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.Builder, - com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecOrBuilder> + com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec, com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.Builder, com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecOrBuilder> getBigqueryDateShardedSpecFieldBuilder() { if (bigqueryDateShardedSpecBuilder_ == null) { if (!(typeSpecCase_ == 15)) { - typeSpec_ = - com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.getDefaultInstance(); + typeSpec_ = com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.getDefaultInstance(); } - bigqueryDateShardedSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec, - com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.Builder, - com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecOrBuilder>( + bigqueryDateShardedSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec, com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.Builder, com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecOrBuilder>( (com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) typeSpec_, getParentForChildren(), isClean()); @@ -3442,8 +3110,6 @@ public Builder clearBigqueryDateShardedSpec() { private java.lang.Object displayName_ = ""; /** - * - * *
      * Display information such as title and description. A short name to identify
      * the entry, for example, "Analytics Data - Jan 2011". Default value is an
@@ -3451,13 +3117,13 @@ public Builder clearBigqueryDateShardedSpec() {
      * 
* * string display_name = 3; - * * @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; @@ -3466,8 +3132,6 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Display information such as title and description. A short name to identify
      * the entry, for example, "Analytics Data - Jan 2011". Default value is an
@@ -3475,14 +3139,15 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 3; - * * @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 { @@ -3490,8 +3155,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Display information such as title and description. A short name to identify
      * the entry, for example, "Analytics Data - Jan 2011". Default value is an
@@ -3499,22 +3162,18 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
      * 
* * string display_name = 3; - * * @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_ |= 0x00000200; onChanged(); return this; } /** - * - * *
      * Display information such as title and description. A short name to identify
      * the entry, for example, "Analytics Data - Jan 2011". Default value is an
@@ -3522,7 +3181,6 @@ public Builder setDisplayName(java.lang.String value) {
      * 
* * string display_name = 3; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -3532,8 +3190,6 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Display information such as title and description. A short name to identify
      * the entry, for example, "Analytics Data - Jan 2011". Default value is an
@@ -3541,14 +3197,12 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 3; - * * @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_ |= 0x00000200; @@ -3558,21 +3212,19 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Entry description, which can consist of several sentences or paragraphs
      * that describe entry contents. Default value is an empty string.
      * 
* * string description = 4; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -3581,22 +3233,21 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Entry description, which can consist of several sentences or paragraphs
      * that describe entry contents. Default value is an empty string.
      * 
* * string description = 4; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -3604,37 +3255,30 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Entry description, which can consist of several sentences or paragraphs
      * that describe entry contents. Default value is an empty string.
      * 
* * string description = 4; - * * @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_ |= 0x00000400; onChanged(); return this; } /** - * - * *
      * Entry description, which can consist of several sentences or paragraphs
      * that describe entry contents. Default value is an empty string.
      * 
* * string description = 4; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -3644,22 +3288,18 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Entry description, which can consist of several sentences or paragraphs
      * that describe entry contents. Default value is an empty string.
      * 
* * string description = 4; - * * @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_ |= 0x00000400; @@ -3669,47 +3309,34 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datacatalog.v1beta1.Schema schema_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Schema, - com.google.cloud.datacatalog.v1beta1.Schema.Builder, - com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder> - schemaBuilder_; + com.google.cloud.datacatalog.v1beta1.Schema, com.google.cloud.datacatalog.v1beta1.Schema.Builder, com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder> schemaBuilder_; /** - * - * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
* * .google.cloud.datacatalog.v1beta1.Schema schema = 5; - * * @return Whether the schema field is set. */ public boolean hasSchema() { return ((bitField0_ & 0x00000800) != 0); } /** - * - * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
* * .google.cloud.datacatalog.v1beta1.Schema schema = 5; - * * @return The schema. */ public com.google.cloud.datacatalog.v1beta1.Schema getSchema() { if (schemaBuilder_ == null) { - return schema_ == null - ? com.google.cloud.datacatalog.v1beta1.Schema.getDefaultInstance() - : schema_; + return schema_ == null ? com.google.cloud.datacatalog.v1beta1.Schema.getDefaultInstance() : schema_; } else { return schemaBuilder_.getMessage(); } } /** - * - * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -3730,15 +3357,14 @@ public Builder setSchema(com.google.cloud.datacatalog.v1beta1.Schema value) { return this; } /** - * - * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
* * .google.cloud.datacatalog.v1beta1.Schema schema = 5; */ - public Builder setSchema(com.google.cloud.datacatalog.v1beta1.Schema.Builder builderForValue) { + public Builder setSchema( + com.google.cloud.datacatalog.v1beta1.Schema.Builder builderForValue) { if (schemaBuilder_ == null) { schema_ = builderForValue.build(); } else { @@ -3749,8 +3375,6 @@ public Builder setSchema(com.google.cloud.datacatalog.v1beta1.Schema.Builder bui return this; } /** - * - * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -3759,9 +3383,9 @@ public Builder setSchema(com.google.cloud.datacatalog.v1beta1.Schema.Builder bui */ public Builder mergeSchema(com.google.cloud.datacatalog.v1beta1.Schema value) { if (schemaBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) - && schema_ != null - && schema_ != com.google.cloud.datacatalog.v1beta1.Schema.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) && + schema_ != null && + schema_ != com.google.cloud.datacatalog.v1beta1.Schema.getDefaultInstance()) { getSchemaBuilder().mergeFrom(value); } else { schema_ = value; @@ -3774,8 +3398,6 @@ public Builder mergeSchema(com.google.cloud.datacatalog.v1beta1.Schema value) { return this; } /** - * - * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -3793,8 +3415,6 @@ public Builder clearSchema() { return this; } /** - * - * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -3807,8 +3427,6 @@ public com.google.cloud.datacatalog.v1beta1.Schema.Builder getSchemaBuilder() { return getSchemaFieldBuilder().getBuilder(); } /** - * - * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -3819,14 +3437,11 @@ public com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder getSchemaOrBuilder() if (schemaBuilder_ != null) { return schemaBuilder_.getMessageOrBuilder(); } else { - return schema_ == null - ? com.google.cloud.datacatalog.v1beta1.Schema.getDefaultInstance() - : schema_; + return schema_ == null ? + com.google.cloud.datacatalog.v1beta1.Schema.getDefaultInstance() : schema_; } } /** - * - * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -3834,17 +3449,14 @@ public com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder getSchemaOrBuilder() * .google.cloud.datacatalog.v1beta1.Schema schema = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Schema, - com.google.cloud.datacatalog.v1beta1.Schema.Builder, - com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder> + com.google.cloud.datacatalog.v1beta1.Schema, com.google.cloud.datacatalog.v1beta1.Schema.Builder, com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder> getSchemaFieldBuilder() { if (schemaBuilder_ == null) { - schemaBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Schema, - com.google.cloud.datacatalog.v1beta1.Schema.Builder, - com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder>( - getSchema(), getParentForChildren(), isClean()); + schemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.Schema, com.google.cloud.datacatalog.v1beta1.Schema.Builder, com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder>( + getSchema(), + getParentForChildren(), + isClean()); schema_ = null; } return schemaBuilder_; @@ -3852,70 +3464,50 @@ public com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder getSchemaOrBuilder() private com.google.cloud.datacatalog.v1beta1.SystemTimestamps sourceSystemTimestamps_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SystemTimestamps, - com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, - com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder> - sourceSystemTimestampsBuilder_; + com.google.cloud.datacatalog.v1beta1.SystemTimestamps, com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder> sourceSystemTimestampsBuilder_; /** - * - * *
-     * Output only. Timestamps about the underlying resource, not about this Data Catalog
-     * entry. Output only when Entry is of type in the EntryType enum. For entries
-     * with user_specified_type, this field is optional and defaults to an empty
-     * timestamp.
+     * Output only. Timestamps about the underlying resource, not about this Data
+     * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+     * entries with user_specified_type, this field is optional and defaults to an
+     * empty timestamp.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the sourceSystemTimestamps field is set. */ public boolean hasSourceSystemTimestamps() { return ((bitField0_ & 0x00001000) != 0); } /** - * - * *
-     * Output only. Timestamps about the underlying resource, not about this Data Catalog
-     * entry. Output only when Entry is of type in the EntryType enum. For entries
-     * with user_specified_type, this field is optional and defaults to an empty
-     * timestamp.
+     * Output only. Timestamps about the underlying resource, not about this Data
+     * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+     * entries with user_specified_type, this field is optional and defaults to an
+     * empty timestamp.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The sourceSystemTimestamps. */ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getSourceSystemTimestamps() { if (sourceSystemTimestampsBuilder_ == null) { - return sourceSystemTimestamps_ == null - ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() - : sourceSystemTimestamps_; + return sourceSystemTimestamps_ == null ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() : sourceSystemTimestamps_; } else { return sourceSystemTimestampsBuilder_.getMessage(); } } /** - * - * *
-     * Output only. Timestamps about the underlying resource, not about this Data Catalog
-     * entry. Output only when Entry is of type in the EntryType enum. For entries
-     * with user_specified_type, this field is optional and defaults to an empty
-     * timestamp.
+     * Output only. Timestamps about the underlying resource, not about this Data
+     * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+     * entries with user_specified_type, this field is optional and defaults to an
+     * empty timestamp.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setSourceSystemTimestamps( - com.google.cloud.datacatalog.v1beta1.SystemTimestamps value) { + public Builder setSourceSystemTimestamps(com.google.cloud.datacatalog.v1beta1.SystemTimestamps value) { if (sourceSystemTimestampsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3929,18 +3521,14 @@ public Builder setSourceSystemTimestamps( return this; } /** - * - * *
-     * Output only. Timestamps about the underlying resource, not about this Data Catalog
-     * entry. Output only when Entry is of type in the EntryType enum. For entries
-     * with user_specified_type, this field is optional and defaults to an empty
-     * timestamp.
+     * Output only. Timestamps about the underlying resource, not about this Data
+     * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+     * entries with user_specified_type, this field is optional and defaults to an
+     * empty timestamp.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setSourceSystemTimestamps( com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder builderForValue) { @@ -3954,26 +3542,20 @@ public Builder setSourceSystemTimestamps( return this; } /** - * - * *
-     * Output only. Timestamps about the underlying resource, not about this Data Catalog
-     * entry. Output only when Entry is of type in the EntryType enum. For entries
-     * with user_specified_type, this field is optional and defaults to an empty
-     * timestamp.
+     * Output only. Timestamps about the underlying resource, not about this Data
+     * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+     * entries with user_specified_type, this field is optional and defaults to an
+     * empty timestamp.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeSourceSystemTimestamps( - com.google.cloud.datacatalog.v1beta1.SystemTimestamps value) { + public Builder mergeSourceSystemTimestamps(com.google.cloud.datacatalog.v1beta1.SystemTimestamps value) { if (sourceSystemTimestampsBuilder_ == null) { - if (((bitField0_ & 0x00001000) != 0) - && sourceSystemTimestamps_ != null - && sourceSystemTimestamps_ - != com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance()) { + if (((bitField0_ & 0x00001000) != 0) && + sourceSystemTimestamps_ != null && + sourceSystemTimestamps_ != com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance()) { getSourceSystemTimestampsBuilder().mergeFrom(value); } else { sourceSystemTimestamps_ = value; @@ -3986,18 +3568,14 @@ public Builder mergeSourceSystemTimestamps( return this; } /** - * - * *
-     * Output only. Timestamps about the underlying resource, not about this Data Catalog
-     * entry. Output only when Entry is of type in the EntryType enum. For entries
-     * with user_specified_type, this field is optional and defaults to an empty
-     * timestamp.
+     * Output only. Timestamps about the underlying resource, not about this Data
+     * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+     * entries with user_specified_type, this field is optional and defaults to an
+     * empty timestamp.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearSourceSystemTimestamps() { bitField0_ = (bitField0_ & ~0x00001000); @@ -4010,82 +3588,219 @@ public Builder clearSourceSystemTimestamps() { return this; } /** - * - * *
-     * Output only. Timestamps about the underlying resource, not about this Data Catalog
-     * entry. Output only when Entry is of type in the EntryType enum. For entries
-     * with user_specified_type, this field is optional and defaults to an empty
-     * timestamp.
+     * Output only. Timestamps about the underlying resource, not about this Data
+     * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+     * entries with user_specified_type, this field is optional and defaults to an
+     * empty timestamp.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder - getSourceSystemTimestampsBuilder() { + public com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder getSourceSystemTimestampsBuilder() { bitField0_ |= 0x00001000; onChanged(); return getSourceSystemTimestampsFieldBuilder().getBuilder(); } /** - * - * *
-     * Output only. Timestamps about the underlying resource, not about this Data Catalog
-     * entry. Output only when Entry is of type in the EntryType enum. For entries
-     * with user_specified_type, this field is optional and defaults to an empty
-     * timestamp.
+     * Output only. Timestamps about the underlying resource, not about this Data
+     * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+     * entries with user_specified_type, this field is optional and defaults to an
+     * empty timestamp.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder - getSourceSystemTimestampsOrBuilder() { + public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder getSourceSystemTimestampsOrBuilder() { if (sourceSystemTimestampsBuilder_ != null) { return sourceSystemTimestampsBuilder_.getMessageOrBuilder(); } else { - return sourceSystemTimestamps_ == null - ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() - : sourceSystemTimestamps_; + return sourceSystemTimestamps_ == null ? + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() : sourceSystemTimestamps_; } } /** - * - * *
-     * Output only. Timestamps about the underlying resource, not about this Data Catalog
-     * entry. Output only when Entry is of type in the EntryType enum. For entries
-     * with user_specified_type, this field is optional and defaults to an empty
-     * timestamp.
+     * Output only. Timestamps about the underlying resource, not about this Data
+     * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+     * entries with user_specified_type, this field is optional and defaults to an
+     * empty timestamp.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SystemTimestamps, - com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, - com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder> + com.google.cloud.datacatalog.v1beta1.SystemTimestamps, com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder> getSourceSystemTimestampsFieldBuilder() { if (sourceSystemTimestampsBuilder_ == null) { - sourceSystemTimestampsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SystemTimestamps, - com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, - com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder>( - getSourceSystemTimestamps(), getParentForChildren(), isClean()); + sourceSystemTimestampsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.SystemTimestamps, com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder>( + getSourceSystemTimestamps(), + getParentForChildren(), + isClean()); sourceSystemTimestamps_ = null; } return sourceSystemTimestampsBuilder_; } + private com.google.cloud.datacatalog.v1beta1.UsageSignal usageSignal_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.UsageSignal, com.google.cloud.datacatalog.v1beta1.UsageSignal.Builder, com.google.cloud.datacatalog.v1beta1.UsageSignalOrBuilder> usageSignalBuilder_; + /** + *
+     * Output only. Statistics on the usage level of the resource.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the usageSignal field is set. + */ + public boolean hasUsageSignal() { + return ((bitField0_ & 0x00002000) != 0); + } + /** + *
+     * Output only. Statistics on the usage level of the resource.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The usageSignal. + */ + public com.google.cloud.datacatalog.v1beta1.UsageSignal getUsageSignal() { + if (usageSignalBuilder_ == null) { + return usageSignal_ == null ? com.google.cloud.datacatalog.v1beta1.UsageSignal.getDefaultInstance() : usageSignal_; + } else { + return usageSignalBuilder_.getMessage(); + } + } + /** + *
+     * Output only. Statistics on the usage level of the resource.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setUsageSignal(com.google.cloud.datacatalog.v1beta1.UsageSignal value) { + if (usageSignalBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + usageSignal_ = value; + } else { + usageSignalBuilder_.setMessage(value); + } + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + /** + *
+     * Output only. Statistics on the usage level of the resource.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setUsageSignal( + com.google.cloud.datacatalog.v1beta1.UsageSignal.Builder builderForValue) { + if (usageSignalBuilder_ == null) { + usageSignal_ = builderForValue.build(); + } else { + usageSignalBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + /** + *
+     * Output only. Statistics on the usage level of the resource.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeUsageSignal(com.google.cloud.datacatalog.v1beta1.UsageSignal value) { + if (usageSignalBuilder_ == null) { + if (((bitField0_ & 0x00002000) != 0) && + usageSignal_ != null && + usageSignal_ != com.google.cloud.datacatalog.v1beta1.UsageSignal.getDefaultInstance()) { + getUsageSignalBuilder().mergeFrom(value); + } else { + usageSignal_ = value; + } + } else { + usageSignalBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + /** + *
+     * Output only. Statistics on the usage level of the resource.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearUsageSignal() { + bitField0_ = (bitField0_ & ~0x00002000); + usageSignal_ = null; + if (usageSignalBuilder_ != null) { + usageSignalBuilder_.dispose(); + usageSignalBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * Output only. Statistics on the usage level of the resource.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.datacatalog.v1beta1.UsageSignal.Builder getUsageSignalBuilder() { + bitField0_ |= 0x00002000; + onChanged(); + return getUsageSignalFieldBuilder().getBuilder(); + } + /** + *
+     * Output only. Statistics on the usage level of the resource.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.datacatalog.v1beta1.UsageSignalOrBuilder getUsageSignalOrBuilder() { + if (usageSignalBuilder_ != null) { + return usageSignalBuilder_.getMessageOrBuilder(); + } else { + return usageSignal_ == null ? + com.google.cloud.datacatalog.v1beta1.UsageSignal.getDefaultInstance() : usageSignal_; + } + } + /** + *
+     * Output only. Statistics on the usage level of the resource.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.UsageSignal, com.google.cloud.datacatalog.v1beta1.UsageSignal.Builder, com.google.cloud.datacatalog.v1beta1.UsageSignalOrBuilder> + getUsageSignalFieldBuilder() { + if (usageSignalBuilder_ == null) { + usageSignalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.UsageSignal, com.google.cloud.datacatalog.v1beta1.UsageSignal.Builder, com.google.cloud.datacatalog.v1beta1.UsageSignalOrBuilder>( + getUsageSignal(), + getParentForChildren(), + isClean()); + usageSignal_ = null; + } + return usageSignalBuilder_; + } @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4095,12 +3810,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.Entry) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.Entry) private static final com.google.cloud.datacatalog.v1beta1.Entry DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.Entry(); } @@ -4109,27 +3824,27 @@ public static com.google.cloud.datacatalog.v1beta1.Entry getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Entry parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Entry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4144,4 +3859,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.Entry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroup.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroup.java similarity index 66% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroup.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroup.java index c449d2d6df08..09e0a1c13806 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroup.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroup.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * EntryGroup Metadata.
  * An EntryGroup resource represents a logical grouping of zero or more
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.EntryGroup}
  */
-public final class EntryGroup extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class EntryGroup extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.EntryGroup)
     EntryGroupOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use EntryGroup.newBuilder() to construct.
   private EntryGroup(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private EntryGroup() {
     name_ = "";
     displayName_ = "";
@@ -47,32 +29,28 @@ private EntryGroup() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new EntryGroup();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.EntryGroup.class,
-            com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.EntryGroup.class, com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The resource name of the entry group in URL format. Example:
    *
@@ -83,7 +61,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -92,15 +69,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The resource name of the entry group in URL format. Example:
    *
@@ -111,15 +87,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 { @@ -128,19 +105,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * A short name to identify the entry group, for example,
    * "analytics data - jan 2011". Default value is an empty string.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -149,30 +122,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * A short name to identify the entry group, for example,
    * "analytics data - jan 2011". Default value is an empty string.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -181,12 +154,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Entry group description, which can consist of several sentences or
    * paragraphs that describe entry group contents. Default value is an empty
@@ -194,7 +164,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -203,15 +172,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; } } /** - * - * *
    * Entry group description, which can consist of several sentences or
    * paragraphs that describe entry group contents. Default value is an empty
@@ -219,15 +187,16 @@ public java.lang.String getDescription() {
    * 
* * string description = 3; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -238,16 +207,12 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int DATA_CATALOG_TIMESTAMPS_FIELD_NUMBER = 4; private com.google.cloud.datacatalog.v1beta1.SystemTimestamps dataCatalogTimestamps_; /** - * - * *
-   * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+   * Output only. Timestamps about this EntryGroup. Default value is empty
+   * timestamps.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataCatalogTimestamps field is set. */ @java.lang.Override @@ -255,45 +220,32 @@ public boolean hasDataCatalogTimestamps() { return dataCatalogTimestamps_ != null; } /** - * - * *
-   * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+   * Output only. Timestamps about this EntryGroup. Default value is empty
+   * timestamps.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dataCatalogTimestamps. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getDataCatalogTimestamps() { - return dataCatalogTimestamps_ == null - ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() - : dataCatalogTimestamps_; + return dataCatalogTimestamps_ == null ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() : dataCatalogTimestamps_; } /** - * - * *
-   * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+   * Output only. Timestamps about this EntryGroup. Default value is empty
+   * timestamps.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder - getDataCatalogTimestampsOrBuilder() { - return dataCatalogTimestamps_ == null - ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() - : dataCatalogTimestamps_; + public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder getDataCatalogTimestampsOrBuilder() { + return dataCatalogTimestamps_ == null ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() : dataCatalogTimestamps_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -305,7 +257,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -337,8 +290,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } if (dataCatalogTimestamps_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(4, getDataCatalogTimestamps()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getDataCatalogTimestamps()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -348,20 +301,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.datacatalog.v1beta1.EntryGroup)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.EntryGroup other = - (com.google.cloud.datacatalog.v1beta1.EntryGroup) obj; + com.google.cloud.datacatalog.v1beta1.EntryGroup other = (com.google.cloud.datacatalog.v1beta1.EntryGroup) 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 (hasDataCatalogTimestamps() != other.hasDataCatalogTimestamps()) return false; if (hasDataCatalogTimestamps()) { - if (!getDataCatalogTimestamps().equals(other.getDataCatalogTimestamps())) return false; + if (!getDataCatalogTimestamps() + .equals(other.getDataCatalogTimestamps())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -389,104 +345,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1beta1.EntryGroup parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1beta1.EntryGroup parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.EntryGroup parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.EntryGroup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.EntryGroup parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.EntryGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.EntryGroup parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.EntryGroup parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.EntryGroup parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.EntryGroup parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.EntryGroup parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.EntryGroup parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.EntryGroup parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.EntryGroup parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.EntryGroup prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * EntryGroup Metadata.
    * An EntryGroup resource represents a logical grouping of zero or more
@@ -495,32 +446,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.EntryGroup}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.EntryGroup)
       com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.EntryGroup.class,
-              com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.EntryGroup.class, com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.EntryGroup.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -537,9 +489,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_descriptor;
     }
 
     @java.lang.Override
@@ -558,11 +510,8 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroup build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.EntryGroup buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.EntryGroup result =
-          new com.google.cloud.datacatalog.v1beta1.EntryGroup(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.EntryGroup result = new com.google.cloud.datacatalog.v1beta1.EntryGroup(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -579,10 +528,9 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.EntryGroup resul
         result.description_ = description_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.dataCatalogTimestamps_ =
-            dataCatalogTimestampsBuilder_ == null
-                ? dataCatalogTimestamps_
-                : dataCatalogTimestampsBuilder_.build();
+        result.dataCatalogTimestamps_ = dataCatalogTimestampsBuilder_ == null
+            ? dataCatalogTimestamps_
+            : dataCatalogTimestampsBuilder_.build();
       }
     }
 
@@ -590,39 +538,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.EntryGroup 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.datacatalog.v1beta1.EntryGroup) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.EntryGroup) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.EntryGroup)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -630,8 +577,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.EntryGroup other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -676,38 +622,34 @@ 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 34:
-              {
-                input.readMessage(
-                    getDataCatalogTimestampsFieldBuilder().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: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              description_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getDataCatalogTimestampsFieldBuilder().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) {
@@ -717,13 +659,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The resource name of the entry group in URL format. Example:
      *
@@ -734,13 +673,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; @@ -749,8 +688,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the entry group in URL format. Example:
      *
@@ -761,14 +698,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 { @@ -776,8 +714,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The resource name of the entry group in URL format. Example:
      *
@@ -788,22 +724,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The resource name of the entry group in URL format. Example:
      *
@@ -814,7 +746,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -824,8 +755,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The resource name of the entry group in URL format. Example:
      *
@@ -836,14 +765,12 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -853,21 +780,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * A short name to identify the entry group, for example,
      * "analytics data - jan 2011". Default value is an empty string.
      * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -876,22 +801,21 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * A short name to identify the entry group, for example,
      * "analytics data - jan 2011". Default value is an empty string.
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -899,37 +823,30 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * A short name to identify the entry group, for example,
      * "analytics data - jan 2011". Default value is an empty string.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A short name to identify the entry group, for example,
      * "analytics data - jan 2011". Default value is an empty string.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -939,22 +856,18 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * A short name to identify the entry group, for example,
      * "analytics data - jan 2011". Default value is an empty string.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -964,8 +877,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Entry group description, which can consist of several sentences or
      * paragraphs that describe entry group contents. Default value is an empty
@@ -973,13 +884,13 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string description = 3; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -988,8 +899,6 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Entry group description, which can consist of several sentences or
      * paragraphs that describe entry group contents. Default value is an empty
@@ -997,14 +906,15 @@ public java.lang.String getDescription() {
      * 
* * string description = 3; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1012,8 +922,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Entry group description, which can consist of several sentences or
      * paragraphs that describe entry group contents. Default value is an empty
@@ -1021,22 +929,18 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Entry group description, which can consist of several sentences or
      * paragraphs that describe entry group contents. Default value is an empty
@@ -1044,7 +948,6 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1054,8 +957,6 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Entry group description, which can consist of several sentences or
      * paragraphs that describe entry group contents. Default value is an empty
@@ -1063,14 +964,12 @@ public Builder clearDescription() {
      * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -1080,61 +979,44 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datacatalog.v1beta1.SystemTimestamps dataCatalogTimestamps_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SystemTimestamps, - com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, - com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder> - dataCatalogTimestampsBuilder_; + com.google.cloud.datacatalog.v1beta1.SystemTimestamps, com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder> dataCatalogTimestampsBuilder_; /** - * - * *
-     * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+     * Output only. Timestamps about this EntryGroup. Default value is empty
+     * timestamps.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataCatalogTimestamps field is set. */ public boolean hasDataCatalogTimestamps() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
-     * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+     * Output only. Timestamps about this EntryGroup. Default value is empty
+     * timestamps.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dataCatalogTimestamps. */ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getDataCatalogTimestamps() { if (dataCatalogTimestampsBuilder_ == null) { - return dataCatalogTimestamps_ == null - ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() - : dataCatalogTimestamps_; + return dataCatalogTimestamps_ == null ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() : dataCatalogTimestamps_; } else { return dataCatalogTimestampsBuilder_.getMessage(); } } /** - * - * *
-     * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+     * Output only. Timestamps about this EntryGroup. Default value is empty
+     * timestamps.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setDataCatalogTimestamps( - com.google.cloud.datacatalog.v1beta1.SystemTimestamps value) { + public Builder setDataCatalogTimestamps(com.google.cloud.datacatalog.v1beta1.SystemTimestamps value) { if (dataCatalogTimestampsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1148,15 +1030,12 @@ public Builder setDataCatalogTimestamps( return this; } /** - * - * *
-     * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+     * Output only. Timestamps about this EntryGroup. Default value is empty
+     * timestamps.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDataCatalogTimestamps( com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder builderForValue) { @@ -1170,23 +1049,18 @@ public Builder setDataCatalogTimestamps( return this; } /** - * - * *
-     * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+     * Output only. Timestamps about this EntryGroup. Default value is empty
+     * timestamps.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeDataCatalogTimestamps( - com.google.cloud.datacatalog.v1beta1.SystemTimestamps value) { + public Builder mergeDataCatalogTimestamps(com.google.cloud.datacatalog.v1beta1.SystemTimestamps value) { if (dataCatalogTimestampsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && dataCatalogTimestamps_ != null - && dataCatalogTimestamps_ - != com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + dataCatalogTimestamps_ != null && + dataCatalogTimestamps_ != com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance()) { getDataCatalogTimestampsBuilder().mergeFrom(value); } else { dataCatalogTimestamps_ = value; @@ -1199,15 +1073,12 @@ public Builder mergeDataCatalogTimestamps( return this; } /** - * - * *
-     * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+     * Output only. Timestamps about this EntryGroup. Default value is empty
+     * timestamps.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDataCatalogTimestamps() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1220,73 +1091,58 @@ public Builder clearDataCatalogTimestamps() { return this; } /** - * - * *
-     * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+     * Output only. Timestamps about this EntryGroup. Default value is empty
+     * timestamps.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder - getDataCatalogTimestampsBuilder() { + public com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder getDataCatalogTimestampsBuilder() { bitField0_ |= 0x00000008; onChanged(); return getDataCatalogTimestampsFieldBuilder().getBuilder(); } /** - * - * *
-     * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+     * Output only. Timestamps about this EntryGroup. Default value is empty
+     * timestamps.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder - getDataCatalogTimestampsOrBuilder() { + public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder getDataCatalogTimestampsOrBuilder() { if (dataCatalogTimestampsBuilder_ != null) { return dataCatalogTimestampsBuilder_.getMessageOrBuilder(); } else { - return dataCatalogTimestamps_ == null - ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() - : dataCatalogTimestamps_; + return dataCatalogTimestamps_ == null ? + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() : dataCatalogTimestamps_; } } /** - * - * *
-     * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+     * Output only. Timestamps about this EntryGroup. Default value is empty
+     * timestamps.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SystemTimestamps, - com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, - com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder> + com.google.cloud.datacatalog.v1beta1.SystemTimestamps, com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder> getDataCatalogTimestampsFieldBuilder() { if (dataCatalogTimestampsBuilder_ == null) { - dataCatalogTimestampsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SystemTimestamps, - com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, - com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder>( - getDataCatalogTimestamps(), getParentForChildren(), isClean()); + dataCatalogTimestampsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.SystemTimestamps, com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder>( + getDataCatalogTimestamps(), + getParentForChildren(), + isClean()); dataCatalogTimestamps_ = null; } return dataCatalogTimestampsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1296,12 +1152,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.EntryGroup) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.EntryGroup) private static final com.google.cloud.datacatalog.v1beta1.EntryGroup DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.EntryGroup(); } @@ -1310,27 +1166,27 @@ public static com.google.cloud.datacatalog.v1beta1.EntryGroup getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EntryGroup parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EntryGroup parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1345,4 +1201,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.EntryGroup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroupName.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroupName.java similarity index 100% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroupName.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroupName.java diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroupOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroupOrBuilder.java similarity index 65% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroupOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroupOrBuilder.java index c2ce2cb12f87..510b4964a6ec 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroupOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroupOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface EntryGroupOrBuilder - extends +public interface EntryGroupOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.EntryGroup) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resource name of the entry group in URL format. Example:
    *
@@ -36,13 +18,10 @@ public interface EntryGroupOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The resource name of the entry group in URL format. Example:
    *
@@ -53,41 +32,34 @@ public interface EntryGroupOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * A short name to identify the entry group, for example,
    * "analytics data - jan 2011". Default value is an empty string.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * A short name to identify the entry group, for example,
    * "analytics data - jan 2011". Default value is an empty string.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Entry group description, which can consist of several sentences or
    * paragraphs that describe entry group contents. Default value is an empty
@@ -95,13 +67,10 @@ public interface EntryGroupOrBuilder
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Entry group description, which can consist of several sentences or
    * paragraphs that describe entry group contents. Default value is an empty
@@ -109,50 +78,38 @@ public interface EntryGroupOrBuilder
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
-   * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+   * Output only. Timestamps about this EntryGroup. Default value is empty
+   * timestamps.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataCatalogTimestamps field is set. */ boolean hasDataCatalogTimestamps(); /** - * - * *
-   * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+   * Output only. Timestamps about this EntryGroup. Default value is empty
+   * timestamps.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dataCatalogTimestamps. */ com.google.cloud.datacatalog.v1beta1.SystemTimestamps getDataCatalogTimestamps(); /** - * - * *
-   * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+   * Output only. Timestamps about this EntryGroup. Default value is empty
+   * timestamps.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder - getDataCatalogTimestampsOrBuilder(); + com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder getDataCatalogTimestampsOrBuilder(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryName.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryName.java similarity index 100% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryName.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryName.java diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryOrBuilder.java similarity index 77% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryOrBuilder.java index 4cd035ea8275..d79090caf53c 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryOrBuilder.java @@ -1,33 +1,16 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface EntryOrBuilder - extends +public interface EntryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.Entry) com.google.protobuf.MessageOrBuilder { /** - * - * *
-   * The Data Catalog resource name of the entry in URL format. Example:
+   * Output only. The Data Catalog resource name of the entry in URL format.
+   * Example:
    *
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
    *
@@ -35,16 +18,14 @@ public interface EntryOrBuilder
    * the location in this name.
    * 
* - * string name = 1 [(.google.api.resource_reference) = { ... } - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
-   * The Data Catalog resource name of the entry in URL format. Example:
+   * Output only. The Data Catalog resource name of the entry in URL format.
+   * Example:
    *
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
    *
@@ -52,15 +33,13 @@ public interface EntryOrBuilder
    * the location in this name.
    * 
* - * string name = 1 [(.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(); /** - * - * *
    * The resource this metadata entry refers to.
    *
@@ -77,13 +56,10 @@ public interface EntryOrBuilder
    * 
* * string linked_resource = 9; - * * @return The linkedResource. */ java.lang.String getLinkedResource(); /** - * - * *
    * The resource this metadata entry refers to.
    *
@@ -100,54 +76,43 @@ public interface EntryOrBuilder
    * 
* * string linked_resource = 9; - * * @return The bytes for linkedResource. */ - com.google.protobuf.ByteString getLinkedResourceBytes(); + com.google.protobuf.ByteString + getLinkedResourceBytes(); /** - * - * *
    * The type of the entry.
    * Only used for Entries with types in the EntryType enum.
    * 
* * .google.cloud.datacatalog.v1beta1.EntryType type = 2; - * * @return Whether the type field is set. */ boolean hasType(); /** - * - * *
    * The type of the entry.
    * Only used for Entries with types in the EntryType enum.
    * 
* * .google.cloud.datacatalog.v1beta1.EntryType type = 2; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The type of the entry.
    * Only used for Entries with types in the EntryType enum.
    * 
* * .google.cloud.datacatalog.v1beta1.EntryType type = 2; - * * @return The type. */ com.google.cloud.datacatalog.v1beta1.EntryType getType(); /** - * - * *
    * Entry type if it does not fit any of the input-allowed values listed in
    * `EntryType` enum above. When creating an entry, users should check the
@@ -162,13 +127,10 @@ public interface EntryOrBuilder
    * 
* * string user_specified_type = 16; - * * @return Whether the userSpecifiedType field is set. */ boolean hasUserSpecifiedType(); /** - * - * *
    * Entry type if it does not fit any of the input-allowed values listed in
    * `EntryType` enum above. When creating an entry, users should check the
@@ -183,13 +145,10 @@ public interface EntryOrBuilder
    * 
* * string user_specified_type = 16; - * * @return The userSpecifiedType. */ java.lang.String getUserSpecifiedType(); /** - * - * *
    * Entry type if it does not fit any of the input-allowed values listed in
    * `EntryType` enum above. When creating an entry, users should check the
@@ -204,60 +163,43 @@ public interface EntryOrBuilder
    * 
* * string user_specified_type = 16; - * * @return The bytes for userSpecifiedType. */ - com.google.protobuf.ByteString getUserSpecifiedTypeBytes(); + com.google.protobuf.ByteString + getUserSpecifiedTypeBytes(); /** - * - * *
-   * Output only. This field indicates the entry's source system that Data Catalog
-   * integrates with, such as BigQuery or Pub/Sub.
+   * Output only. This field indicates the entry's source system that Data
+   * Catalog integrates with, such as BigQuery or Pub/Sub.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the integratedSystem field is set. */ boolean hasIntegratedSystem(); /** - * - * *
-   * Output only. This field indicates the entry's source system that Data Catalog
-   * integrates with, such as BigQuery or Pub/Sub.
+   * Output only. This field indicates the entry's source system that Data
+   * Catalog integrates with, such as BigQuery or Pub/Sub.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for integratedSystem. */ int getIntegratedSystemValue(); /** - * - * *
-   * Output only. This field indicates the entry's source system that Data Catalog
-   * integrates with, such as BigQuery or Pub/Sub.
+   * Output only. This field indicates the entry's source system that Data
+   * Catalog integrates with, such as BigQuery or Pub/Sub.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The integratedSystem. */ com.google.cloud.datacatalog.v1beta1.IntegratedSystem getIntegratedSystem(); /** - * - * *
    * This field indicates the entry's source system that Data Catalog does not
    * integrate with. `user_specified_system` strings must begin with a letter
@@ -267,13 +209,10 @@ public interface EntryOrBuilder
    * 
* * string user_specified_system = 18; - * * @return Whether the userSpecifiedSystem field is set. */ boolean hasUserSpecifiedSystem(); /** - * - * *
    * This field indicates the entry's source system that Data Catalog does not
    * integrate with. `user_specified_system` strings must begin with a letter
@@ -283,13 +222,10 @@ public interface EntryOrBuilder
    * 
* * string user_specified_system = 18; - * * @return The userSpecifiedSystem. */ java.lang.String getUserSpecifiedSystem(); /** - * - * *
    * This field indicates the entry's source system that Data Catalog does not
    * integrate with. `user_specified_system` strings must begin with a letter
@@ -299,40 +235,32 @@ public interface EntryOrBuilder
    * 
* * string user_specified_system = 18; - * * @return The bytes for userSpecifiedSystem. */ - com.google.protobuf.ByteString getUserSpecifiedSystemBytes(); + com.google.protobuf.ByteString + getUserSpecifiedSystemBytes(); /** - * - * *
    * Specification that applies to a Cloud Storage fileset. This is only valid
    * on entries of type FILESET.
    * 
* * .google.cloud.datacatalog.v1beta1.GcsFilesetSpec gcs_fileset_spec = 6; - * * @return Whether the gcsFilesetSpec field is set. */ boolean hasGcsFilesetSpec(); /** - * - * *
    * Specification that applies to a Cloud Storage fileset. This is only valid
    * on entries of type FILESET.
    * 
* * .google.cloud.datacatalog.v1beta1.GcsFilesetSpec gcs_fileset_spec = 6; - * * @return The gcsFilesetSpec. */ com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec getGcsFilesetSpec(); /** - * - * *
    * Specification that applies to a Cloud Storage fileset. This is only valid
    * on entries of type FILESET.
@@ -343,34 +271,26 @@ public interface EntryOrBuilder
   com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOrBuilder getGcsFilesetSpecOrBuilder();
 
   /**
-   *
-   *
    * 
    * Specification that applies to a BigQuery table. This is only valid on
    * entries of type `TABLE`.
    * 
* * .google.cloud.datacatalog.v1beta1.BigQueryTableSpec bigquery_table_spec = 12; - * * @return Whether the bigqueryTableSpec field is set. */ boolean hasBigqueryTableSpec(); /** - * - * *
    * Specification that applies to a BigQuery table. This is only valid on
    * entries of type `TABLE`.
    * 
* * .google.cloud.datacatalog.v1beta1.BigQueryTableSpec bigquery_table_spec = 12; - * * @return The bigqueryTableSpec. */ com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec getBigqueryTableSpec(); /** - * - * *
    * Specification that applies to a BigQuery table. This is only valid on
    * entries of type `TABLE`.
@@ -381,56 +301,39 @@ public interface EntryOrBuilder
   com.google.cloud.datacatalog.v1beta1.BigQueryTableSpecOrBuilder getBigqueryTableSpecOrBuilder();
 
   /**
-   *
-   *
    * 
    * Specification for a group of BigQuery tables with name pattern
    * `[prefix]YYYYMMDD`. Context:
    * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; - * - * + * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; * @return Whether the bigqueryDateShardedSpec field is set. */ boolean hasBigqueryDateShardedSpec(); /** - * - * *
    * Specification for a group of BigQuery tables with name pattern
    * `[prefix]YYYYMMDD`. Context:
    * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; - * - * + * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; * @return The bigqueryDateShardedSpec. */ com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec getBigqueryDateShardedSpec(); /** - * - * *
    * Specification for a group of BigQuery tables with name pattern
    * `[prefix]YYYYMMDD`. Context:
    * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; - * + * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; */ - com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecOrBuilder - getBigqueryDateShardedSpecOrBuilder(); + com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecOrBuilder getBigqueryDateShardedSpecOrBuilder(); /** - * - * *
    * Display information such as title and description. A short name to identify
    * the entry, for example, "Analytics Data - Jan 2011". Default value is an
@@ -438,13 +341,10 @@ public interface EntryOrBuilder
    * 
* * string display_name = 3; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Display information such as title and description. A short name to identify
    * the entry, for example, "Analytics Data - Jan 2011". Default value is an
@@ -452,65 +352,52 @@ public interface EntryOrBuilder
    * 
* * string display_name = 3; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Entry description, which can consist of several sentences or paragraphs
    * that describe entry contents. Default value is an empty string.
    * 
* * string description = 4; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Entry description, which can consist of several sentences or paragraphs
    * that describe entry contents. Default value is an empty string.
    * 
* * string description = 4; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Schema of the entry. An entry might not have any schema attached to it.
    * 
* * .google.cloud.datacatalog.v1beta1.Schema schema = 5; - * * @return Whether the schema field is set. */ boolean hasSchema(); /** - * - * *
    * Schema of the entry. An entry might not have any schema attached to it.
    * 
* * .google.cloud.datacatalog.v1beta1.Schema schema = 5; - * * @return The schema. */ com.google.cloud.datacatalog.v1beta1.Schema getSchema(); /** - * - * *
    * Schema of the entry. An entry might not have any schema attached to it.
    * 
@@ -520,55 +407,67 @@ public interface EntryOrBuilder com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder getSchemaOrBuilder(); /** - * - * *
-   * Output only. Timestamps about the underlying resource, not about this Data Catalog
-   * entry. Output only when Entry is of type in the EntryType enum. For entries
-   * with user_specified_type, this field is optional and defaults to an empty
-   * timestamp.
+   * Output only. Timestamps about the underlying resource, not about this Data
+   * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+   * entries with user_specified_type, this field is optional and defaults to an
+   * empty timestamp.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the sourceSystemTimestamps field is set. */ boolean hasSourceSystemTimestamps(); /** - * - * *
-   * Output only. Timestamps about the underlying resource, not about this Data Catalog
-   * entry. Output only when Entry is of type in the EntryType enum. For entries
-   * with user_specified_type, this field is optional and defaults to an empty
-   * timestamp.
+   * Output only. Timestamps about the underlying resource, not about this Data
+   * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+   * entries with user_specified_type, this field is optional and defaults to an
+   * empty timestamp.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The sourceSystemTimestamps. */ com.google.cloud.datacatalog.v1beta1.SystemTimestamps getSourceSystemTimestamps(); /** + *
+   * Output only. Timestamps about the underlying resource, not about this Data
+   * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+   * entries with user_specified_type, this field is optional and defaults to an
+   * empty timestamp.
+   * 
+ * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder getSourceSystemTimestampsOrBuilder(); + + /** + *
+   * Output only. Statistics on the usage level of the resource.
+   * 
* + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the usageSignal field is set. + */ + boolean hasUsageSignal(); + /** + *
+   * Output only. Statistics on the usage level of the resource.
+   * 
* + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The usageSignal. + */ + com.google.cloud.datacatalog.v1beta1.UsageSignal getUsageSignal(); + /** *
-   * Output only. Timestamps about the underlying resource, not about this Data Catalog
-   * entry. Output only when Entry is of type in the EntryType enum. For entries
-   * with user_specified_type, this field is optional and defaults to an empty
-   * timestamp.
+   * Output only. Statistics on the usage level of the resource.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder - getSourceSystemTimestampsOrBuilder(); + com.google.cloud.datacatalog.v1beta1.UsageSignalOrBuilder getUsageSignalOrBuilder(); com.google.cloud.datacatalog.v1beta1.Entry.EntryTypeCase getEntryTypeCase(); diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryType.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryType.java similarity index 72% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryType.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryType.java index 5897f1b1f061..80c7abf9d39e 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryType.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryType.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Entry resources in Data Catalog can be of different types e.g. a BigQuery
  * Table entry is of type `TABLE`. This enum describes all the possible types
@@ -29,10 +12,9 @@
  *
  * Protobuf enum {@code google.cloud.datacatalog.v1beta1.EntryType}
  */
-public enum EntryType implements com.google.protobuf.ProtocolMessageEnum {
+public enum EntryType
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Default unknown type.
    * 
@@ -41,8 +23,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ ENTRY_TYPE_UNSPECIFIED(0), /** - * - * *
    * Output only. The type of entry that has a GoogleSQL schema, including
    * logical views.
@@ -52,8 +32,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum {
    */
   TABLE(2),
   /**
-   *
-   *
    * 
    * Output only. The type of models.
    * https://cloud.google.com/bigquery-ml/docs/bigqueryml-intro
@@ -63,8 +41,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum {
    */
   MODEL(5),
   /**
-   *
-   *
    * 
    * Output only. An entry type which is used for streaming entries. Example:
    * Pub/Sub topic.
@@ -74,8 +50,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum {
    */
   DATA_STREAM(3),
   /**
-   *
-   *
    * 
    * An entry type which is a set of files or objects. Example:
    * Cloud Storage fileset.
@@ -88,8 +62,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * Default unknown type.
    * 
@@ -98,8 +70,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENTRY_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Output only. The type of entry that has a GoogleSQL schema, including
    * logical views.
@@ -109,8 +79,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int TABLE_VALUE = 2;
   /**
-   *
-   *
    * 
    * Output only. The type of models.
    * https://cloud.google.com/bigquery-ml/docs/bigqueryml-intro
@@ -120,8 +88,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int MODEL_VALUE = 5;
   /**
-   *
-   *
    * 
    * Output only. An entry type which is used for streaming entries. Example:
    * Pub/Sub topic.
@@ -131,8 +97,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int DATA_STREAM_VALUE = 3;
   /**
-   *
-   *
    * 
    * An entry type which is a set of files or objects. Example:
    * Cloud Storage fileset.
@@ -142,6 +106,7 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int FILESET_VALUE = 4;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -166,53 +131,51 @@ public static EntryType valueOf(int value) {
    */
   public static EntryType forNumber(int value) {
     switch (value) {
-      case 0:
-        return ENTRY_TYPE_UNSPECIFIED;
-      case 2:
-        return TABLE;
-      case 5:
-        return MODEL;
-      case 3:
-        return DATA_STREAM;
-      case 4:
-        return FILESET;
-      default:
-        return null;
+      case 0: return ENTRY_TYPE_UNSPECIFIED;
+      case 2: return TABLE;
+      case 5: return MODEL;
+      case 3: return DATA_STREAM;
+      case 4: 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 internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public EntryType findValueByNumber(int number) {
-          return EntryType.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      EntryType> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public EntryType findValueByNumber(int number) {
+            return EntryType.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.datacatalog.v1beta1.Datacatalog.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final EntryType[] VALUES = values();
 
-  public static EntryType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static EntryType 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,3 +191,4 @@ private EntryType(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1beta1.EntryType)
 }
+
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequest.java
similarity index 63%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequest.java
rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequest.java
index d79b8303f47a..ccab4aa8a42d 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequest.java
+++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequest.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto
 
 package com.google.cloud.datacatalog.v1beta1;
 
 /**
- *
- *
  * 
  * Request message for
  * [ExportTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ExportTaxonomies].
@@ -28,55 +11,50 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest}
  */
-public final class ExportTaxonomiesRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ExportTaxonomiesRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest)
     ExportTaxonomiesRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ExportTaxonomiesRequest.newBuilder() to construct.
   private ExportTaxonomiesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ExportTaxonomiesRequest() {
     parent_ = "";
-    taxonomies_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    taxonomies_ =
+        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 ExportTaxonomiesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
-        .internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
-        .internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.class,
-            com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.class, com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.Builder.class);
   }
 
   private int destinationCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object destination_;
-
   public enum DestinationCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     SERIALIZED_TAXONOMIES(3),
     DESTINATION_NOT_SET(0);
     private final int value;
-
     private DestinationCase(int value) {
       this.value = value;
     }
@@ -92,40 +70,32 @@ public static DestinationCase valueOf(int value) {
 
     public static DestinationCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return SERIALIZED_TAXONOMIES;
-        case 0:
-          return DESTINATION_NOT_SET;
-        default:
-          return null;
+        case 3: return SERIALIZED_TAXONOMIES;
+        case 0: return DESTINATION_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public DestinationCase getDestinationCase() {
-    return DestinationCase.forNumber(destinationCase_);
+  public DestinationCase
+  getDestinationCase() {
+    return DestinationCase.forNumber(
+        destinationCase_);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. Resource name of the project that taxonomies to be exported
    * will share.
    * 
* - * - * string parent = 1 [(.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 @@ -134,32 +104,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. Resource name of the project that taxonomies to be exported
    * will share.
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -168,53 +136,38 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int TAXONOMIES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList taxonomies_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Required. Resource names of the taxonomies to be exported.
    * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return A list containing the taxonomies. */ - public com.google.protobuf.ProtocolStringList getTaxonomiesList() { + public com.google.protobuf.ProtocolStringList + getTaxonomiesList() { return taxonomies_; } /** - * - * *
    * Required. Resource names of the taxonomies to be exported.
    * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The count of taxonomies. */ public int getTaxonomiesCount() { return taxonomies_.size(); } /** - * - * *
    * Required. Resource names of the taxonomies to be exported.
    * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The taxonomies at the given index. */ @@ -222,33 +175,26 @@ public java.lang.String getTaxonomies(int index) { return taxonomies_.get(index); } /** - * - * *
    * Required. Resource names of the taxonomies to be exported.
    * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the taxonomies at the given index. */ - public com.google.protobuf.ByteString getTaxonomiesBytes(int index) { + public com.google.protobuf.ByteString + getTaxonomiesBytes(int index) { return taxonomies_.getByteString(index); } public static final int SERIALIZED_TAXONOMIES_FIELD_NUMBER = 3; /** - * - * *
    * Export taxonomies as serialized taxonomies.
    * 
* * bool serialized_taxonomies = 3; - * * @return Whether the serializedTaxonomies field is set. */ @java.lang.Override @@ -256,14 +202,11 @@ public boolean hasSerializedTaxonomies() { return destinationCase_ == 3; } /** - * - * *
    * Export taxonomies as serialized taxonomies.
    * 
* * bool serialized_taxonomies = 3; - * * @return The serializedTaxonomies. */ @java.lang.Override @@ -275,7 +218,6 @@ public boolean getSerializedTaxonomies() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -287,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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -295,7 +238,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 2, taxonomies_.getRaw(i)); } if (destinationCase_ == 3) { - output.writeBool(3, (boolean) ((java.lang.Boolean) destination_)); + output.writeBool( + 3, (boolean)((java.lang.Boolean) destination_)); } getUnknownFields().writeTo(output); } @@ -318,9 +262,9 @@ public int getSerializedSize() { size += 1 * getTaxonomiesList().size(); } if (destinationCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 3, (boolean) ((java.lang.Boolean) destination_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 3, (boolean)((java.lang.Boolean) destination_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -330,20 +274,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.datacatalog.v1beta1.ExportTaxonomiesRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest other = - (com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest) obj; + com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest other = (com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getTaxonomiesList().equals(other.getTaxonomiesList())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getTaxonomiesList() + .equals(other.getTaxonomiesList())) return false; if (!getDestinationCase().equals(other.getDestinationCase())) return false; switch (destinationCase_) { case 3: - if (getSerializedTaxonomies() != other.getSerializedTaxonomies()) return false; + if (getSerializedTaxonomies() + != other.getSerializedTaxonomies()) return false; break; case 0: default: @@ -368,7 +314,8 @@ public int hashCode() { switch (destinationCase_) { case 3: hash = (37 * hash) + SERIALIZED_TAXONOMIES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSerializedTaxonomies()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSerializedTaxonomies()); break; case 0: default: @@ -379,104 +326,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [ExportTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ExportTaxonomies].
@@ -484,52 +425,53 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest)
       com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.class,
-              com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.class, com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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;
       parent_ = "";
-      taxonomies_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      taxonomies_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       destinationCase_ = 0;
       destination_ = null;
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest
-        getDefaultInstanceForType() {
+    public com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest getDefaultInstanceForType() {
       return com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.getDefaultInstance();
     }
 
@@ -544,18 +486,14 @@ public com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest result =
-          new com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest result = new com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest result) {
+    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -566,8 +504,7 @@ private void buildPartial0(
       }
     }
 
-    private void buildPartialOneofs(
-        com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest result) {
+    private void buildPartialOneofs(com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest result) {
       result.destinationCase_ = destinationCase_;
       result.destination_ = this.destination_;
     }
@@ -576,39 +513,38 @@ private void buildPartialOneofs(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -616,9 +552,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest other) {
-      if (other
-          == com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -635,15 +569,13 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRe
         onChanged();
       }
       switch (other.getDestinationCase()) {
-        case SERIALIZED_TAXONOMIES:
-          {
-            setSerializedTaxonomies(other.getSerializedTaxonomies());
-            break;
-          }
-        case DESTINATION_NOT_SET:
-          {
-            break;
-          }
+        case SERIALIZED_TAXONOMIES: {
+          setSerializedTaxonomies(other.getSerializedTaxonomies());
+          break;
+        }
+        case DESTINATION_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -671,32 +603,28 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureTaxonomiesIsMutable();
-                taxonomies_.add(s);
-                break;
-              } // case 18
-            case 24:
-              {
-                destination_ = input.readBool();
-                destinationCase_ = 3;
-                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: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureTaxonomiesIsMutable();
+              taxonomies_.add(s);
+              break;
+            } // case 18
+            case 24: {
+              destination_ = input.readBool();
+              destinationCase_ = 3;
+              break;
+            } // case 24
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -706,12 +634,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int destinationCase_ = 0;
     private java.lang.Object destination_;
-
-    public DestinationCase getDestinationCase() {
-      return DestinationCase.forNumber(destinationCase_);
+    public DestinationCase
+        getDestinationCase() {
+      return DestinationCase.forNumber(
+          destinationCase_);
     }
 
     public Builder clearDestination() {
@@ -725,23 +653,19 @@ public Builder clearDestination() {
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. Resource name of the project that taxonomies to be exported
      * will share.
      * 
* - * - * string parent = 1 [(.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; @@ -750,24 +674,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the project that taxonomies to be exported
      * will share.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -775,41 +696,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the project that taxonomies to be exported
      * will share.
      * 
* - * - * 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. Resource name of the project that taxonomies to be exported
      * will share.
      * 
* - * - * string 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() { @@ -819,24 +729,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Resource name of the project that taxonomies to be exported
      * will share.
      * 
* - * - * 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; @@ -846,7 +750,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList taxonomies_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureTaxonomiesIsMutable() { if (!taxonomies_.isModifiable()) { taxonomies_ = new com.google.protobuf.LazyStringArrayList(taxonomies_); @@ -854,49 +757,35 @@ private void ensureTaxonomiesIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
      * Required. Resource names of the taxonomies to be exported.
      * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return A list containing the taxonomies. */ - public com.google.protobuf.ProtocolStringList getTaxonomiesList() { + public com.google.protobuf.ProtocolStringList + getTaxonomiesList() { taxonomies_.makeImmutable(); return taxonomies_; } /** - * - * *
      * Required. Resource names of the taxonomies to be exported.
      * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The count of taxonomies. */ public int getTaxonomiesCount() { return taxonomies_.size(); } /** - * - * *
      * Required. Resource names of the taxonomies to be exported.
      * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The taxonomies at the given index. */ @@ -904,41 +793,31 @@ public java.lang.String getTaxonomies(int index) { return taxonomies_.get(index); } /** - * - * *
      * Required. Resource names of the taxonomies to be exported.
      * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the taxonomies at the given index. */ - public com.google.protobuf.ByteString getTaxonomiesBytes(int index) { + public com.google.protobuf.ByteString + getTaxonomiesBytes(int index) { return taxonomies_.getByteString(index); } /** - * - * *
      * Required. Resource names of the taxonomies to be exported.
      * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index to set the value at. * @param value The taxonomies to set. * @return This builder for chaining. */ - public Builder setTaxonomies(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTaxonomies( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureTaxonomiesIsMutable(); taxonomies_.set(index, value); bitField0_ |= 0x00000002; @@ -946,23 +825,17 @@ public Builder setTaxonomies(int index, java.lang.String value) { return this; } /** - * - * *
      * Required. Resource names of the taxonomies to be exported.
      * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The taxonomies to add. * @return This builder for chaining. */ - public Builder addTaxonomies(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addTaxonomies( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureTaxonomiesIsMutable(); taxonomies_.add(value); bitField0_ |= 0x00000002; @@ -970,64 +843,50 @@ public Builder addTaxonomies(java.lang.String value) { return this; } /** - * - * *
      * Required. Resource names of the taxonomies to be exported.
      * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param values The taxonomies to add. * @return This builder for chaining. */ - public Builder addAllTaxonomies(java.lang.Iterable values) { + public Builder addAllTaxonomies( + java.lang.Iterable values) { ensureTaxonomiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taxonomies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, taxonomies_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. Resource names of the taxonomies to be exported.
      * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearTaxonomies() { - taxonomies_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + taxonomies_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
      * Required. Resource names of the taxonomies to be exported.
      * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes of the taxonomies to add. * @return This builder for chaining. */ - public Builder addTaxonomiesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addTaxonomiesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureTaxonomiesIsMutable(); taxonomies_.add(value); @@ -1037,28 +896,22 @@ public Builder addTaxonomiesBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * Export taxonomies as serialized taxonomies.
      * 
* * bool serialized_taxonomies = 3; - * * @return Whether the serializedTaxonomies field is set. */ public boolean hasSerializedTaxonomies() { return destinationCase_ == 3; } /** - * - * *
      * Export taxonomies as serialized taxonomies.
      * 
* * bool serialized_taxonomies = 3; - * * @return The serializedTaxonomies. */ public boolean getSerializedTaxonomies() { @@ -1068,14 +921,11 @@ public boolean getSerializedTaxonomies() { return false; } /** - * - * *
      * Export taxonomies as serialized taxonomies.
      * 
* * bool serialized_taxonomies = 3; - * * @param value The serializedTaxonomies to set. * @return This builder for chaining. */ @@ -1087,14 +937,11 @@ public Builder setSerializedTaxonomies(boolean value) { return this; } /** - * - * *
      * Export taxonomies as serialized taxonomies.
      * 
* * bool serialized_taxonomies = 3; - * * @return This builder for chaining. */ public Builder clearSerializedTaxonomies() { @@ -1105,9 +952,9 @@ public Builder clearSerializedTaxonomies() { } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1117,13 +964,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest) - private static final com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest(); } @@ -1132,27 +978,27 @@ public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportTaxonomiesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportTaxonomiesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1167,4 +1013,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequestOrBuilder.java similarity index 53% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequestOrBuilder.java index b640c88b76d9..b00cdf6a3f7b 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequestOrBuilder.java @@ -1,139 +1,90 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1beta1; -public interface ExportTaxonomiesRequestOrBuilder - extends +public interface ExportTaxonomiesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the project that taxonomies to be exported
    * will share.
    * 
* - * - * string parent = 1 [(.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. Resource name of the project that taxonomies to be exported
    * will share.
    * 
* - * - * string parent = 1 [(.google.api.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. Resource names of the taxonomies to be exported.
    * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return A list containing the taxonomies. */ - java.util.List getTaxonomiesList(); + java.util.List + getTaxonomiesList(); /** - * - * *
    * Required. Resource names of the taxonomies to be exported.
    * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The count of taxonomies. */ int getTaxonomiesCount(); /** - * - * *
    * Required. Resource names of the taxonomies to be exported.
    * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The taxonomies at the given index. */ java.lang.String getTaxonomies(int index); /** - * - * *
    * Required. Resource names of the taxonomies to be exported.
    * 
* - * - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the taxonomies at the given index. */ - com.google.protobuf.ByteString getTaxonomiesBytes(int index); + com.google.protobuf.ByteString + getTaxonomiesBytes(int index); /** - * - * *
    * Export taxonomies as serialized taxonomies.
    * 
* * bool serialized_taxonomies = 3; - * * @return Whether the serializedTaxonomies field is set. */ boolean hasSerializedTaxonomies(); /** - * - * *
    * Export taxonomies as serialized taxonomies.
    * 
* * bool serialized_taxonomies = 3; - * * @return The serializedTaxonomies. */ boolean getSerializedTaxonomies(); diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponse.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponse.java similarity index 70% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponse.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponse.java index f455d0bcfdb1..b11be2f740de 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponse.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Response message for
  * [ExportTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ExportTaxonomies].
@@ -28,48 +11,43 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse}
  */
-public final class ExportTaxonomiesResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ExportTaxonomiesResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse)
     ExportTaxonomiesResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ExportTaxonomiesResponse.newBuilder() to construct.
   private ExportTaxonomiesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ExportTaxonomiesResponse() {
     taxonomies_ = 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 ExportTaxonomiesResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
-        .internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
-        .internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse.class,
-            com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse.class, com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse.Builder.class);
   }
 
   public static final int TAXONOMIES_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List taxonomies_;
   /**
-   *
-   *
    * 
    * List of taxonomies and policy tags in a tree structure.
    * 
@@ -77,13 +55,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1; */ @java.lang.Override - public java.util.List - getTaxonomiesList() { + public java.util.List getTaxonomiesList() { return taxonomies_; } /** - * - * *
    * List of taxonomies and policy tags in a tree structure.
    * 
@@ -91,13 +66,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTaxonomiesOrBuilderList() { return taxonomies_; } /** - * - * *
    * List of taxonomies and policy tags in a tree structure.
    * 
@@ -109,8 +82,6 @@ public int getTaxonomiesCount() { return taxonomies_.size(); } /** - * - * *
    * List of taxonomies and policy tags in a tree structure.
    * 
@@ -122,8 +93,6 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy getTaxonomies(int return taxonomies_.get(index); } /** - * - * *
    * List of taxonomies and policy tags in a tree structure.
    * 
@@ -137,7 +106,6 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder getTaxon } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,7 +117,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < taxonomies_.size(); i++) { output.writeMessage(1, taxonomies_.get(i)); } @@ -163,7 +132,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < taxonomies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, taxonomies_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, taxonomies_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -173,15 +143,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse other = - (com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse) obj; + com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse other = (com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse) obj; - if (!getTaxonomiesList().equals(other.getTaxonomiesList())) return false; + if (!getTaxonomiesList() + .equals(other.getTaxonomiesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -203,104 +173,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for
    * [ExportTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ExportTaxonomies].
@@ -308,32 +272,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse)
       com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse.class,
-              com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse.class, com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -349,14 +314,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse
-        getDefaultInstanceForType() {
+    public com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse getDefaultInstanceForType() {
       return com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse.getDefaultInstance();
     }
 
@@ -371,18 +335,14 @@ public com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse result =
-          new com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse(this);
+      com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse result = new com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse result) {
+    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse result) {
       if (taxonomiesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           taxonomies_ = java.util.Collections.unmodifiableList(taxonomies_);
@@ -394,8 +354,7 @@ private void buildPartialRepeatedFields(
       }
     }
 
-    private void buildPartial0(
-        com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse result) {
+    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse result) {
       int from_bitField0_ = bitField0_;
     }
 
@@ -403,39 +362,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.datacatalog.v1beta1.ExportTaxonomiesResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -443,9 +401,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse other) {
-      if (other
-          == com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse.getDefaultInstance()) return this;
       if (taxonomiesBuilder_ == null) {
         if (!other.taxonomies_.isEmpty()) {
           if (taxonomies_.isEmpty()) {
@@ -464,10 +420,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRe
             taxonomiesBuilder_ = null;
             taxonomies_ = other.taxonomies_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            taxonomiesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getTaxonomiesFieldBuilder()
-                    : null;
+            taxonomiesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getTaxonomiesFieldBuilder() : null;
           } else {
             taxonomiesBuilder_.addAllMessages(other.taxonomies_);
           }
@@ -499,27 +454,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy m =
-                    input.readMessage(
-                        com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.parser(),
-                        extensionRegistry);
-                if (taxonomiesBuilder_ == null) {
-                  ensureTaxonomiesIsMutable();
-                  taxonomies_.add(m);
-                } else {
-                  taxonomiesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy m =
+                  input.readMessage(
+                      com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.parser(),
+                      extensionRegistry);
+              if (taxonomiesBuilder_ == null) {
+                ensureTaxonomiesIsMutable();
+                taxonomies_.add(m);
+              } else {
+                taxonomiesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -529,38 +482,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List taxonomies_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureTaxonomiesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        taxonomies_ =
-            new java.util.ArrayList(
-                taxonomies_);
+        taxonomies_ = new java.util.ArrayList(taxonomies_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy,
-            com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder,
-            com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder>
-        taxonomiesBuilder_;
+        com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder> taxonomiesBuilder_;
 
     /**
-     *
-     *
      * 
      * List of taxonomies and policy tags in a tree structure.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1; */ - public java.util.List - getTaxonomiesList() { + public java.util.List getTaxonomiesList() { if (taxonomiesBuilder_ == null) { return java.util.Collections.unmodifiableList(taxonomies_); } else { @@ -568,8 +511,6 @@ private void ensureTaxonomiesIsMutable() { } } /** - * - * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -584,8 +525,6 @@ public int getTaxonomiesCount() { } } /** - * - * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -600,8 +539,6 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy getTaxonomies(int } } /** - * - * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -623,8 +560,6 @@ public Builder setTaxonomies( return this; } /** - * - * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -632,8 +567,7 @@ public Builder setTaxonomies( * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1; */ public Builder setTaxonomies( - int index, - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder builderForValue) { + int index, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder builderForValue) { if (taxonomiesBuilder_ == null) { ensureTaxonomiesIsMutable(); taxonomies_.set(index, builderForValue.build()); @@ -644,8 +578,6 @@ public Builder setTaxonomies( return this; } /** - * - * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -666,8 +598,6 @@ public Builder addTaxonomies(com.google.cloud.datacatalog.v1beta1.SerializedTaxo return this; } /** - * - * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -689,8 +619,6 @@ public Builder addTaxonomies( return this; } /** - * - * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -709,8 +637,6 @@ public Builder addTaxonomies( return this; } /** - * - * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -718,8 +644,7 @@ public Builder addTaxonomies( * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1; */ public Builder addTaxonomies( - int index, - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder builderForValue) { + int index, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder builderForValue) { if (taxonomiesBuilder_ == null) { ensureTaxonomiesIsMutable(); taxonomies_.add(index, builderForValue.build()); @@ -730,8 +655,6 @@ public Builder addTaxonomies( return this; } /** - * - * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -739,11 +662,11 @@ public Builder addTaxonomies( * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1; */ public Builder addAllTaxonomies( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (taxonomiesBuilder_ == null) { ensureTaxonomiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taxonomies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, taxonomies_); onChanged(); } else { taxonomiesBuilder_.addAllMessages(values); @@ -751,8 +674,6 @@ public Builder addAllTaxonomies( return this; } /** - * - * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -770,8 +691,6 @@ public Builder clearTaxonomies() { return this; } /** - * - * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -789,8 +708,6 @@ public Builder removeTaxonomies(int index) { return this; } /** - * - * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -802,8 +719,6 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder getTaxono return getTaxonomiesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -813,23 +728,19 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder getTaxono public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder getTaxonomiesOrBuilder( int index) { if (taxonomiesBuilder_ == null) { - return taxonomies_.get(index); - } else { + return taxonomies_.get(index); } else { return taxonomiesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of taxonomies and policy tags in a tree structure.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1; */ - public java.util.List< - ? extends com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder> - getTaxonomiesOrBuilderList() { + public java.util.List + getTaxonomiesOrBuilderList() { if (taxonomiesBuilder_ != null) { return taxonomiesBuilder_.getMessageOrBuilderList(); } else { @@ -837,8 +748,6 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder getTaxon } } /** - * - * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -846,12 +755,10 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder getTaxon * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1; */ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder addTaxonomiesBuilder() { - return getTaxonomiesFieldBuilder() - .addBuilder(com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.getDefaultInstance()); + return getTaxonomiesFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.getDefaultInstance()); } /** - * - * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -860,43 +767,37 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder addTaxono */ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder addTaxonomiesBuilder( int index) { - return getTaxonomiesFieldBuilder() - .addBuilder( - index, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.getDefaultInstance()); + return getTaxonomiesFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.getDefaultInstance()); } /** - * - * *
      * List of taxonomies and policy tags in a tree structure.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1; */ - public java.util.List - getTaxonomiesBuilderList() { + public java.util.List + getTaxonomiesBuilderList() { return getTaxonomiesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy, - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder, - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder> + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder> getTaxonomiesFieldBuilder() { if (taxonomiesBuilder_ == null) { - taxonomiesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy, - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder, - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder>( - taxonomies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + taxonomiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder>( + taxonomies_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); taxonomies_ = null; } return taxonomiesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -906,13 +807,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse) - private static final com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse(); } @@ -921,27 +821,27 @@ public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportTaxonomiesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportTaxonomiesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -956,4 +856,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponseOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponseOrBuilder.java similarity index 69% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponseOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponseOrBuilder.java index b67be4be6f8a..698ced6d3a92 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponseOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1beta1; -public interface ExportTaxonomiesResponseOrBuilder - extends +public interface ExportTaxonomiesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of taxonomies and policy tags in a tree structure.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1; */ - java.util.List getTaxonomiesList(); + java.util.List + getTaxonomiesList(); /** - * - * *
    * List of taxonomies and policy tags in a tree structure.
    * 
@@ -44,8 +25,6 @@ public interface ExportTaxonomiesResponseOrBuilder */ com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy getTaxonomies(int index); /** - * - * *
    * List of taxonomies and policy tags in a tree structure.
    * 
@@ -54,19 +33,15 @@ public interface ExportTaxonomiesResponseOrBuilder */ int getTaxonomiesCount(); /** - * - * *
    * List of taxonomies and policy tags in a tree structure.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1; */ - java.util.List + java.util.List getTaxonomiesOrBuilderList(); /** - * - * *
    * List of taxonomies and policy tags in a tree structure.
    * 
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldType.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldType.java similarity index 57% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldType.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldType.java index 15078ddd832d..3d487458ca33 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldType.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldType.java @@ -1,62 +1,49 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/tags.proto package com.google.cloud.datacatalog.v1beta1; -/** Protobuf type {@code google.cloud.datacatalog.v1beta1.FieldType} */ -public final class FieldType extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.datacatalog.v1beta1.FieldType} + */ +public final class FieldType extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.FieldType) FieldTypeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FieldType.newBuilder() to construct. private FieldType(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private FieldType() {} + private FieldType() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FieldType(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Tags - .internal_static_google_cloud_datacatalog_v1beta1_FieldType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_FieldType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.Tags - .internal_static_google_cloud_datacatalog_v1beta1_FieldType_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_FieldType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.FieldType.class, - com.google.cloud.datacatalog.v1beta1.FieldType.Builder.class); + com.google.cloud.datacatalog.v1beta1.FieldType.class, com.google.cloud.datacatalog.v1beta1.FieldType.Builder.class); } - /** Protobuf enum {@code google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType} */ - public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { + /** + * Protobuf enum {@code google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType} + */ + public enum PrimitiveType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * This is the default invalid value for a type.
      * 
@@ -65,8 +52,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ PRIMITIVE_TYPE_UNSPECIFIED(0), /** - * - * *
      * A double precision number.
      * 
@@ -75,8 +60,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ DOUBLE(1), /** - * - * *
      * An UTF-8 string.
      * 
@@ -85,8 +68,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ STRING(2), /** - * - * *
      * A boolean value.
      * 
@@ -95,8 +76,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ BOOL(3), /** - * - * *
      * A timestamp.
      * 
@@ -108,8 +87,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * This is the default invalid value for a type.
      * 
@@ -118,8 +95,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRIMITIVE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * A double precision number.
      * 
@@ -128,8 +103,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOUBLE_VALUE = 1; /** - * - * *
      * An UTF-8 string.
      * 
@@ -138,8 +111,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STRING_VALUE = 2; /** - * - * *
      * A boolean value.
      * 
@@ -148,8 +119,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BOOL_VALUE = 3; /** - * - * *
      * A timestamp.
      * 
@@ -158,6 +127,7 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TIMESTAMP_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -182,53 +152,51 @@ public static PrimitiveType valueOf(int value) { */ public static PrimitiveType forNumber(int value) { switch (value) { - case 0: - return PRIMITIVE_TYPE_UNSPECIFIED; - case 1: - return DOUBLE; - case 2: - return STRING; - case 3: - return BOOL; - case 4: - return TIMESTAMP; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; + case 0: return PRIMITIVE_TYPE_UNSPECIFIED; + case 1: return DOUBLE; + case 2: return STRING; + case 3: return BOOL; + case 4: return TIMESTAMP; + default: return null; + } } - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PrimitiveType findValueByNumber(int number) { - return PrimitiveType.forNumber(number); - } - }; + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + PrimitiveType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PrimitiveType findValueByNumber(int number) { + return PrimitiveType.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.datacatalog.v1beta1.FieldType.getDescriptor().getEnumTypes().get(0); } private static final PrimitiveType[] VALUES = values(); - public static PrimitiveType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PrimitiveType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -245,216 +213,142 @@ private PrimitiveType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType) } - public interface EnumTypeOrBuilder - extends + public interface EnumTypeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.FieldType.EnumType) com.google.protobuf.MessageOrBuilder { /** - * - * - *
-     * Required on create; optional on update. The set of allowed values for
-     * this enum. This set must not be empty, the display names of the values in
-     * this set must not be empty and the display names of the values must be
-     * case-insensitively unique within this set. Currently, enum values can
-     * only be added to the list of allowed values. Deletion and renaming of
-     * enum values are not supported. Can have up to 500 allowed values.
-     * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; */ - java.util.List + java.util.List getAllowedValuesList(); /** - * - * - *
-     * Required on create; optional on update. The set of allowed values for
-     * this enum. This set must not be empty, the display names of the values in
-     * this set must not be empty and the display names of the values must be
-     * case-insensitively unique within this set. Currently, enum values can
-     * only be added to the list of allowed values. Deletion and renaming of
-     * enum values are not supported. Can have up to 500 allowed values.
-     * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; */ com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue getAllowedValues(int index); /** - * - * - *
-     * Required on create; optional on update. The set of allowed values for
-     * this enum. This set must not be empty, the display names of the values in
-     * this set must not be empty and the display names of the values must be
-     * case-insensitively unique within this set. Currently, enum values can
-     * only be added to the list of allowed values. Deletion and renaming of
-     * enum values are not supported. Can have up to 500 allowed values.
-     * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; */ int getAllowedValuesCount(); /** - * - * - *
-     * Required on create; optional on update. The set of allowed values for
-     * this enum. This set must not be empty, the display names of the values in
-     * this set must not be empty and the display names of the values must be
-     * case-insensitively unique within this set. Currently, enum values can
-     * only be added to the list of allowed values. Deletion and renaming of
-     * enum values are not supported. Can have up to 500 allowed values.
-     * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; */ - java.util.List< - ? extends com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder> + java.util.List getAllowedValuesOrBuilderList(); /** - * - * - *
-     * Required on create; optional on update. The set of allowed values for
-     * this enum. This set must not be empty, the display names of the values in
-     * this set must not be empty and the display names of the values must be
-     * case-insensitively unique within this set. Currently, enum values can
-     * only be added to the list of allowed values. Deletion and renaming of
-     * enum values are not supported. Can have up to 500 allowed values.
-     * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; */ - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder - getAllowedValuesOrBuilder(int index); + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder getAllowedValuesOrBuilder( + int index); } - /** Protobuf type {@code google.cloud.datacatalog.v1beta1.FieldType.EnumType} */ - public static final class EnumType extends com.google.protobuf.GeneratedMessageV3 - implements + /** + * Protobuf type {@code google.cloud.datacatalog.v1beta1.FieldType.EnumType} + */ + public static final class EnumType extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.FieldType.EnumType) EnumTypeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use EnumType.newBuilder() to construct. private EnumType(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private EnumType() { allowedValues_ = 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 EnumType(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Tags - .internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.Tags - .internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.class, - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.Builder.class); + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.class, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.Builder.class); } - public interface EnumValueOrBuilder - extends + public interface EnumValueOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue) com.google.protobuf.MessageOrBuilder { /** - * - * *
-       * Required. The display name of the enum value. Must not be an empty string.
+       * Required. The display name of the enum value. Must not be an empty
+       * string.
        * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
-       * Required. The display name of the enum value. Must not be an empty string.
+       * Required. The display name of the enum value. Must not be an empty
+       * string.
        * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); } - /** Protobuf type {@code google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue} */ - public static final class EnumValue extends com.google.protobuf.GeneratedMessageV3 - implements + /** + * Protobuf type {@code google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue} + */ + public static final class EnumValue extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue) EnumValueOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use EnumValue.newBuilder() to construct. private EnumValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private EnumValue() { displayName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new EnumValue(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Tags - .internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.Tags - .internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.class, - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder.class); + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.class, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
-       * Required. The display name of the enum value. Must not be an empty string.
+       * Required. The display name of the enum value. Must not be an empty
+       * string.
        * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -463,29 +357,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
-       * Required. The display name of the enum value. Must not be an empty string.
+       * Required. The display name of the enum value. Must not be an empty
+       * string.
        * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -494,7 +389,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -506,7 +400,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -530,15 +425,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue other = - (com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue) obj; + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue other = (com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue) obj; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -558,96 +453,89 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue - parseDelimitedFrom( - java.io.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.datacatalog.v1beta1.FieldType.EnumType.EnumValue parseDelimitedFrom( + java.io.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.datacatalog.v1beta1.FieldType.EnumType.EnumValue parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -656,35 +544,36 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue) com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Tags - .internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.Tags - .internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.class, - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder.class); + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.class, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder.class); } - // Construct using - // com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.newBuilder() - private Builder() {} + // Construct using com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.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(); @@ -694,16 +583,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.Tags - .internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_descriptor; } @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue - getDefaultInstanceForType() { - return com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue - .getDefaultInstance(); + public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue getDefaultInstanceForType() { + return com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.getDefaultInstance(); } @java.lang.Override @@ -717,17 +604,13 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue build() @java.lang.Override public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue buildPartial() { - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue result = - new com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue result = new com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue result) { + private void buildPartial0(com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.displayName_ = displayName_; @@ -738,53 +621,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.datacatalog.v1beta1.FieldType.EnumType.EnumValue) { - return mergeFrom( - (com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue) other); + return mergeFrom((com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue other) { - if (other - == com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue other) { + if (other == com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.getDefaultInstance()) return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -816,19 +692,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -838,25 +712,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object displayName_ = ""; /** - * - * *
-         * Required. The display name of the enum value. Must not be an empty string.
+         * Required. The display name of the enum value. Must not be an empty
+         * string.
          * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -865,21 +737,21 @@ public java.lang.String getDisplayName() { } } /** - * - * *
-         * Required. The display name of the enum value. Must not be an empty string.
+         * Required. The display name of the enum value. Must not be an empty
+         * string.
          * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -887,35 +759,30 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
-         * Required. The display name of the enum value. Must not be an empty string.
+         * Required. The display name of the enum value. Must not be an empty
+         * string.
          * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
-         * Required. The display name of the enum value. Must not be an empty string.
+         * Required. The display name of the enum value. Must not be an empty
+         * string.
          * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -925,28 +792,24 @@ public Builder clearDisplayName() { return this; } /** - * - * *
-         * Required. The display name of the enum value. Must not be an empty string.
+         * Required. The display name of the enum value. Must not be an empty
+         * string.
          * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -959,44 +822,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue) - private static final com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue - DEFAULT_INSTANCE; - + private static final com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue(); } - public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue - getDefaultInstance() { + public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EnumValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EnumValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1008,125 +868,54 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue - getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int ALLOWED_VALUES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private java.util.List - allowedValues_; + private java.util.List allowedValues_; /** - * - * - *
-     * Required on create; optional on update. The set of allowed values for
-     * this enum. This set must not be empty, the display names of the values in
-     * this set must not be empty and the display names of the values must be
-     * case-insensitively unique within this set. Currently, enum values can
-     * only be added to the list of allowed values. Deletion and renaming of
-     * enum values are not supported. Can have up to 500 allowed values.
-     * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; */ @java.lang.Override - public java.util.List - getAllowedValuesList() { + public java.util.List getAllowedValuesList() { return allowedValues_; } /** - * - * - *
-     * Required on create; optional on update. The set of allowed values for
-     * this enum. This set must not be empty, the display names of the values in
-     * this set must not be empty and the display names of the values must be
-     * case-insensitively unique within this set. Currently, enum values can
-     * only be added to the list of allowed values. Deletion and renaming of
-     * enum values are not supported. Can have up to 500 allowed values.
-     * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder> + public java.util.List getAllowedValuesOrBuilderList() { return allowedValues_; } /** - * - * - *
-     * Required on create; optional on update. The set of allowed values for
-     * this enum. This set must not be empty, the display names of the values in
-     * this set must not be empty and the display names of the values must be
-     * case-insensitively unique within this set. Currently, enum values can
-     * only be added to the list of allowed values. Deletion and renaming of
-     * enum values are not supported. Can have up to 500 allowed values.
-     * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; */ @java.lang.Override public int getAllowedValuesCount() { return allowedValues_.size(); } /** - * - * - *
-     * Required on create; optional on update. The set of allowed values for
-     * this enum. This set must not be empty, the display names of the values in
-     * this set must not be empty and the display names of the values must be
-     * case-insensitively unique within this set. Currently, enum values can
-     * only be added to the list of allowed values. Deletion and renaming of
-     * enum values are not supported. Can have up to 500 allowed values.
-     * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue getAllowedValues( - int index) { + public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue getAllowedValues(int index) { return allowedValues_.get(index); } /** - * - * - *
-     * Required on create; optional on update. The set of allowed values for
-     * this enum. This set must not be empty, the display names of the values in
-     * this set must not be empty and the display names of the values must be
-     * case-insensitively unique within this set. Currently, enum values can
-     * only be added to the list of allowed values. Deletion and renaming of
-     * enum values are not supported. Can have up to 500 allowed values.
-     * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder - getAllowedValuesOrBuilder(int index) { + public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder getAllowedValuesOrBuilder( + int index) { return allowedValues_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1138,7 +927,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < allowedValues_.size(); i++) { output.writeMessage(1, allowedValues_.get(i)); } @@ -1152,7 +942,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < allowedValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, allowedValues_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, allowedValues_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1162,15 +953,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1beta1.FieldType.EnumType)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType other = - (com.google.cloud.datacatalog.v1beta1.FieldType.EnumType) obj; + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType other = (com.google.cloud.datacatalog.v1beta1.FieldType.EnumType) obj; - if (!getAllowedValuesList().equals(other.getAllowedValuesList())) return false; + if (!getAllowedValuesList() + .equals(other.getAllowedValuesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1192,94 +983,89 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.FieldType.EnumType prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1288,34 +1074,36 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.datacatalog.v1beta1.FieldType.EnumType} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.datacatalog.v1beta1.FieldType.EnumType} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.FieldType.EnumType) com.google.cloud.datacatalog.v1beta1.FieldType.EnumTypeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Tags - .internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.Tags - .internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.class, - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.Builder.class); + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.class, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.Builder.class); } // Construct using com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1331,9 +1119,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.Tags - .internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_descriptor; } @java.lang.Override @@ -1352,18 +1140,14 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType build() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType buildPartial() { - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType result = - new com.google.cloud.datacatalog.v1beta1.FieldType.EnumType(this); + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType result = new com.google.cloud.datacatalog.v1beta1.FieldType.EnumType(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType result) { + private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.FieldType.EnumType result) { if (allowedValuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { allowedValues_ = java.util.Collections.unmodifiableList(allowedValues_); @@ -1383,41 +1167,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.FieldType.EnumTy public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1beta1.FieldType.EnumType) { - return mergeFrom((com.google.cloud.datacatalog.v1beta1.FieldType.EnumType) other); + return mergeFrom((com.google.cloud.datacatalog.v1beta1.FieldType.EnumType)other); } else { super.mergeFrom(other); return this; @@ -1425,8 +1206,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.FieldType.EnumType other) { - if (other == com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.getDefaultInstance()) - return this; + if (other == com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.getDefaultInstance()) return this; if (allowedValuesBuilder_ == null) { if (!other.allowedValues_.isEmpty()) { if (allowedValues_.isEmpty()) { @@ -1445,10 +1225,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.FieldType.EnumType allowedValuesBuilder_ = null; allowedValues_ = other.allowedValues_; bitField0_ = (bitField0_ & ~0x00000001); - allowedValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAllowedValuesFieldBuilder() - : null; + allowedValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAllowedValuesFieldBuilder() : null; } else { allowedValuesBuilder_.addAllMessages(other.allowedValues_); } @@ -1480,28 +1259,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue m = - input.readMessage( - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue - .parser(), - extensionRegistry); - if (allowedValuesBuilder_ == null) { - ensureAllowedValuesIsMutable(); - allowedValues_.add(m); - } else { - allowedValuesBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue m = + input.readMessage( + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.parser(), + extensionRegistry); + if (allowedValuesBuilder_ == null) { + ensureAllowedValuesIsMutable(); + allowedValues_.add(m); + } else { + allowedValuesBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1511,46 +1287,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - allowedValues_ = java.util.Collections.emptyList(); - + private java.util.List allowedValues_ = + java.util.Collections.emptyList(); private void ensureAllowedValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - allowedValues_ = - new java.util.ArrayList< - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue>( - allowedValues_); + allowedValues_ = new java.util.ArrayList(allowedValues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue, - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder, - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder> - allowedValuesBuilder_; + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder> allowedValuesBuilder_; - /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; - * + /** + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; */ - public java.util.List - getAllowedValuesList() { + public java.util.List getAllowedValuesList() { if (allowedValuesBuilder_ == null) { return java.util.Collections.unmodifiableList(allowedValues_); } else { @@ -1558,20 +1312,7 @@ private void ensureAllowedValuesIsMutable() { } } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; */ public int getAllowedValuesCount() { if (allowedValuesBuilder_ == null) { @@ -1581,23 +1322,9 @@ public int getAllowedValuesCount() { } } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; */ - public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue getAllowedValues( - int index) { + public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue getAllowedValues(int index) { if (allowedValuesBuilder_ == null) { return allowedValues_.get(index); } else { @@ -1605,20 +1332,7 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue getAllo } } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; */ public Builder setAllowedValues( int index, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue value) { @@ -1635,25 +1349,10 @@ public Builder setAllowedValues( return this; } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; */ public Builder setAllowedValues( - int index, - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder - builderForValue) { + int index, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder builderForValue) { if (allowedValuesBuilder_ == null) { ensureAllowedValuesIsMutable(); allowedValues_.set(index, builderForValue.build()); @@ -1664,23 +1363,9 @@ public Builder setAllowedValues( return this; } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; */ - public Builder addAllowedValues( - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue value) { + public Builder addAllowedValues(com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue value) { if (allowedValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1694,20 +1379,7 @@ public Builder addAllowedValues( return this; } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; */ public Builder addAllowedValues( int index, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue value) { @@ -1724,24 +1396,10 @@ public Builder addAllowedValues( return this; } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; */ public Builder addAllowedValues( - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder - builderForValue) { + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder builderForValue) { if (allowedValuesBuilder_ == null) { ensureAllowedValuesIsMutable(); allowedValues_.add(builderForValue.build()); @@ -1752,25 +1410,10 @@ public Builder addAllowedValues( return this; } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; */ public Builder addAllowedValues( - int index, - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder - builderForValue) { + int index, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder builderForValue) { if (allowedValuesBuilder_ == null) { ensureAllowedValuesIsMutable(); allowedValues_.add(index, builderForValue.build()); @@ -1781,28 +1424,14 @@ public Builder addAllowedValues( return this; } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; */ public Builder addAllAllowedValues( - java.lang.Iterable< - ? extends com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue> - values) { + java.lang.Iterable values) { if (allowedValuesBuilder_ == null) { ensureAllowedValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, allowedValues_); onChanged(); } else { allowedValuesBuilder_.addAllMessages(values); @@ -1810,20 +1439,7 @@ public Builder addAllAllowedValues( return this; } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; */ public Builder clearAllowedValues() { if (allowedValuesBuilder_ == null) { @@ -1836,20 +1452,7 @@ public Builder clearAllowedValues() { return this; } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; */ public Builder removeAllowedValues(int index) { if (allowedValuesBuilder_ == null) { @@ -1862,68 +1465,27 @@ public Builder removeAllowedValues(int index) { return this; } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; */ - public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder - getAllowedValuesBuilder(int index) { + public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder getAllowedValuesBuilder( + int index) { return getAllowedValuesFieldBuilder().getBuilder(index); } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; */ - public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder - getAllowedValuesOrBuilder(int index) { + public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder getAllowedValuesOrBuilder( + int index) { if (allowedValuesBuilder_ == null) { - return allowedValues_.get(index); - } else { + return allowedValues_.get(index); } else { return allowedValuesBuilder_.getMessageOrBuilder(index); } } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; */ - public java.util.List< - ? extends com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder> - getAllowedValuesOrBuilderList() { + public java.util.List + getAllowedValuesOrBuilderList() { if (allowedValuesBuilder_ != null) { return allowedValuesBuilder_.getMessageOrBuilderList(); } else { @@ -1931,85 +1493,33 @@ public Builder removeAllowedValues(int index) { } } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; */ - public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder - addAllowedValuesBuilder() { - return getAllowedValuesFieldBuilder() - .addBuilder( - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue - .getDefaultInstance()); + public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder addAllowedValuesBuilder() { + return getAllowedValuesFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.getDefaultInstance()); } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; */ - public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder - addAllowedValuesBuilder(int index) { - return getAllowedValuesFieldBuilder() - .addBuilder( - index, - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue - .getDefaultInstance()); + public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder addAllowedValuesBuilder( + int index) { + return getAllowedValuesFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.getDefaultInstance()); } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * - * - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; - * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; */ - public java.util.List< - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder> - getAllowedValuesBuilderList() { + public java.util.List + getAllowedValuesBuilderList() { return getAllowedValuesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue, - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder, - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder> + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder> getAllowedValuesFieldBuilder() { if (allowedValuesBuilder_ == null) { - allowedValuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue, - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder, - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder>( + allowedValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder>( allowedValues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2018,7 +1528,6 @@ public Builder removeAllowedValues(int index) { } return allowedValuesBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2031,12 +1540,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.FieldType.EnumType) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.FieldType.EnumType) private static final com.google.cloud.datacatalog.v1beta1.FieldType.EnumType DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.FieldType.EnumType(); } @@ -2045,28 +1554,27 @@ public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EnumType parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EnumType parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2081,22 +1589,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int typeDeclCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object typeDecl_; - public enum TypeDeclCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { PRIMITIVE_TYPE(1), ENUM_TYPE(2), TYPEDECL_NOT_SET(0); private final int value; - private TypeDeclCase(int value) { this.value = value; } @@ -2112,50 +1617,41 @@ public static TypeDeclCase valueOf(int value) { public static TypeDeclCase forNumber(int value) { switch (value) { - case 1: - return PRIMITIVE_TYPE; - case 2: - return ENUM_TYPE; - case 0: - return TYPEDECL_NOT_SET; - default: - return null; + case 1: return PRIMITIVE_TYPE; + case 2: return ENUM_TYPE; + case 0: return TYPEDECL_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TypeDeclCase getTypeDeclCase() { - return TypeDeclCase.forNumber(typeDeclCase_); + public TypeDeclCase + getTypeDeclCase() { + return TypeDeclCase.forNumber( + typeDeclCase_); } public static final int PRIMITIVE_TYPE_FIELD_NUMBER = 1; /** - * - * *
    * Represents primitive types - string, bool etc.
    * 
* * .google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1; - * * @return Whether the primitiveType field is set. */ public boolean hasPrimitiveType() { return typeDeclCase_ == 1; } /** - * - * *
    * Represents primitive types - string, bool etc.
    * 
* * .google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1; - * * @return The enum numeric value on the wire for primitiveType. */ public int getPrimitiveTypeValue() { @@ -2165,38 +1661,29 @@ public int getPrimitiveTypeValue() { return 0; } /** - * - * *
    * Represents primitive types - string, bool etc.
    * 
* * .google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1; - * * @return The primitiveType. */ public com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType getPrimitiveType() { if (typeDeclCase_ == 1) { - com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType result = - com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType.forNumber( - (java.lang.Integer) typeDecl_); - return result == null - ? com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType.UNRECOGNIZED - : result; + com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType result = com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType.forNumber( + (java.lang.Integer) typeDecl_); + return result == null ? com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType.UNRECOGNIZED : result; } return com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType.PRIMITIVE_TYPE_UNSPECIFIED; } public static final int ENUM_TYPE_FIELD_NUMBER = 2; /** - * - * *
    * Represents an enum type.
    * 
* * .google.cloud.datacatalog.v1beta1.FieldType.EnumType enum_type = 2; - * * @return Whether the enumType field is set. */ @java.lang.Override @@ -2204,26 +1691,21 @@ public boolean hasEnumType() { return typeDeclCase_ == 2; } /** - * - * *
    * Represents an enum type.
    * 
* * .google.cloud.datacatalog.v1beta1.FieldType.EnumType enum_type = 2; - * * @return The enumType. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType getEnumType() { if (typeDeclCase_ == 2) { - return (com.google.cloud.datacatalog.v1beta1.FieldType.EnumType) typeDecl_; + return (com.google.cloud.datacatalog.v1beta1.FieldType.EnumType) typeDecl_; } return com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.getDefaultInstance(); } /** - * - * *
    * Represents an enum type.
    * 
@@ -2233,13 +1715,12 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType getEnumType() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.FieldType.EnumTypeOrBuilder getEnumTypeOrBuilder() { if (typeDeclCase_ == 2) { - return (com.google.cloud.datacatalog.v1beta1.FieldType.EnumType) typeDecl_; + return (com.google.cloud.datacatalog.v1beta1.FieldType.EnumType) typeDecl_; } return com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2251,7 +1732,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (typeDeclCase_ == 1) { output.writeEnum(1, ((java.lang.Integer) typeDecl_)); } @@ -2268,13 +1750,12 @@ public int getSerializedSize() { size = 0; if (typeDeclCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeEnumSize(1, ((java.lang.Integer) typeDecl_)); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, ((java.lang.Integer) typeDecl_)); } if (typeDeclCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.datacatalog.v1beta1.FieldType.EnumType) typeDecl_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.datacatalog.v1beta1.FieldType.EnumType) typeDecl_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2284,21 +1765,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.datacatalog.v1beta1.FieldType)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.FieldType other = - (com.google.cloud.datacatalog.v1beta1.FieldType) obj; + com.google.cloud.datacatalog.v1beta1.FieldType other = (com.google.cloud.datacatalog.v1beta1.FieldType) obj; if (!getTypeDeclCase().equals(other.getTypeDeclCase())) return false; switch (typeDeclCase_) { case 1: - if (getPrimitiveTypeValue() != other.getPrimitiveTypeValue()) return false; + if (getPrimitiveTypeValue() + != other.getPrimitiveTypeValue()) return false; break; case 2: - if (!getEnumType().equals(other.getEnumType())) return false; + if (!getEnumType() + .equals(other.getEnumType())) return false; break; case 0: default: @@ -2331,128 +1813,128 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1beta1.FieldType parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1beta1.FieldType parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.FieldType parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.FieldType parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.FieldType parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.FieldType parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.FieldType parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.FieldType parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.FieldType parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.FieldType parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.FieldType parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.FieldType parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.FieldType parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.FieldType parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.FieldType prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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.datacatalog.v1beta1.FieldType} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.datacatalog.v1beta1.FieldType} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.FieldType) com.google.cloud.datacatalog.v1beta1.FieldTypeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Tags - .internal_static_google_cloud_datacatalog_v1beta1_FieldType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_FieldType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.Tags - .internal_static_google_cloud_datacatalog_v1beta1_FieldType_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_FieldType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.FieldType.class, - com.google.cloud.datacatalog.v1beta1.FieldType.Builder.class); + com.google.cloud.datacatalog.v1beta1.FieldType.class, com.google.cloud.datacatalog.v1beta1.FieldType.Builder.class); } // Construct using com.google.cloud.datacatalog.v1beta1.FieldType.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2466,9 +1948,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.Tags - .internal_static_google_cloud_datacatalog_v1beta1_FieldType_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_FieldType_descriptor; } @java.lang.Override @@ -2487,11 +1969,8 @@ public com.google.cloud.datacatalog.v1beta1.FieldType build() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.FieldType buildPartial() { - com.google.cloud.datacatalog.v1beta1.FieldType result = - new com.google.cloud.datacatalog.v1beta1.FieldType(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1beta1.FieldType result = new com.google.cloud.datacatalog.v1beta1.FieldType(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -2504,7 +1983,8 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.FieldType result private void buildPartialOneofs(com.google.cloud.datacatalog.v1beta1.FieldType result) { result.typeDeclCase_ = typeDeclCase_; result.typeDecl_ = this.typeDecl_; - if (typeDeclCase_ == 2 && enumTypeBuilder_ != null) { + if (typeDeclCase_ == 2 && + enumTypeBuilder_ != null) { result.typeDecl_ = enumTypeBuilder_.build(); } } @@ -2513,39 +1993,38 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1beta1.FieldType 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.datacatalog.v1beta1.FieldType) { - return mergeFrom((com.google.cloud.datacatalog.v1beta1.FieldType) other); + return mergeFrom((com.google.cloud.datacatalog.v1beta1.FieldType)other); } else { super.mergeFrom(other); return this; @@ -2555,20 +2034,17 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.FieldType other) { if (other == com.google.cloud.datacatalog.v1beta1.FieldType.getDefaultInstance()) return this; switch (other.getTypeDeclCase()) { - case PRIMITIVE_TYPE: - { - setPrimitiveTypeValue(other.getPrimitiveTypeValue()); - break; - } - case ENUM_TYPE: - { - mergeEnumType(other.getEnumType()); - break; - } - case TYPEDECL_NOT_SET: - { - break; - } + case PRIMITIVE_TYPE: { + setPrimitiveTypeValue(other.getPrimitiveTypeValue()); + break; + } + case ENUM_TYPE: { + mergeEnumType(other.getEnumType()); + break; + } + case TYPEDECL_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2596,26 +2072,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); - typeDeclCase_ = 1; - typeDecl_ = rawValue; - break; - } // case 8 - case 18: - { - input.readMessage(getEnumTypeFieldBuilder().getBuilder(), extensionRegistry); - typeDeclCase_ = 2; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + int rawValue = input.readEnum(); + typeDeclCase_ = 1; + typeDecl_ = rawValue; + break; + } // case 8 + case 18: { + input.readMessage( + getEnumTypeFieldBuilder().getBuilder(), + extensionRegistry); + typeDeclCase_ = 2; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2625,12 +2100,12 @@ public Builder mergeFrom( } // finally return this; } - private int typeDeclCase_ = 0; private java.lang.Object typeDecl_; - - public TypeDeclCase getTypeDeclCase() { - return TypeDeclCase.forNumber(typeDeclCase_); + public TypeDeclCase + getTypeDeclCase() { + return TypeDeclCase.forNumber( + typeDeclCase_); } public Builder clearTypeDecl() { @@ -2643,14 +2118,11 @@ public Builder clearTypeDecl() { private int bitField0_; /** - * - * *
      * Represents primitive types - string, bool etc.
      * 
* * .google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1; - * * @return Whether the primitiveType field is set. */ @java.lang.Override @@ -2658,14 +2130,11 @@ public boolean hasPrimitiveType() { return typeDeclCase_ == 1; } /** - * - * *
      * Represents primitive types - string, bool etc.
      * 
* * .google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1; - * * @return The enum numeric value on the wire for primitiveType. */ @java.lang.Override @@ -2676,14 +2145,11 @@ public int getPrimitiveTypeValue() { return 0; } /** - * - * *
      * Represents primitive types - string, bool etc.
      * 
* * .google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1; - * * @param value The enum numeric value on the wire for primitiveType to set. * @return This builder for chaining. */ @@ -2694,43 +2160,32 @@ public Builder setPrimitiveTypeValue(int value) { return this; } /** - * - * *
      * Represents primitive types - string, bool etc.
      * 
* * .google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1; - * * @return The primitiveType. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType getPrimitiveType() { if (typeDeclCase_ == 1) { - com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType result = - com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType.forNumber( - (java.lang.Integer) typeDecl_); - return result == null - ? com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType.UNRECOGNIZED - : result; + com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType result = com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType.forNumber( + (java.lang.Integer) typeDecl_); + return result == null ? com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType.UNRECOGNIZED : result; } - return com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType - .PRIMITIVE_TYPE_UNSPECIFIED; + return com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType.PRIMITIVE_TYPE_UNSPECIFIED; } /** - * - * *
      * Represents primitive types - string, bool etc.
      * 
* * .google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1; - * * @param value The primitiveType to set. * @return This builder for chaining. */ - public Builder setPrimitiveType( - com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType value) { + public Builder setPrimitiveType(com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType value) { if (value == null) { throw new NullPointerException(); } @@ -2740,14 +2195,11 @@ public Builder setPrimitiveType( return this; } /** - * - * *
      * Represents primitive types - string, bool etc.
      * 
* * .google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1; - * * @return This builder for chaining. */ public Builder clearPrimitiveType() { @@ -2760,19 +2212,13 @@ public Builder clearPrimitiveType() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType, - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.Builder, - com.google.cloud.datacatalog.v1beta1.FieldType.EnumTypeOrBuilder> - enumTypeBuilder_; + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.Builder, com.google.cloud.datacatalog.v1beta1.FieldType.EnumTypeOrBuilder> enumTypeBuilder_; /** - * - * *
      * Represents an enum type.
      * 
* * .google.cloud.datacatalog.v1beta1.FieldType.EnumType enum_type = 2; - * * @return Whether the enumType field is set. */ @java.lang.Override @@ -2780,14 +2226,11 @@ public boolean hasEnumType() { return typeDeclCase_ == 2; } /** - * - * *
      * Represents an enum type.
      * 
* * .google.cloud.datacatalog.v1beta1.FieldType.EnumType enum_type = 2; - * * @return The enumType. */ @java.lang.Override @@ -2805,8 +2248,6 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType getEnumType() { } } /** - * - * *
      * Represents an enum type.
      * 
@@ -2827,8 +2268,6 @@ public Builder setEnumType(com.google.cloud.datacatalog.v1beta1.FieldType.EnumTy return this; } /** - * - * *
      * Represents an enum type.
      * 
@@ -2847,8 +2286,6 @@ public Builder setEnumType( return this; } /** - * - * *
      * Represents an enum type.
      * 
@@ -2857,14 +2294,10 @@ public Builder setEnumType( */ public Builder mergeEnumType(com.google.cloud.datacatalog.v1beta1.FieldType.EnumType value) { if (enumTypeBuilder_ == null) { - if (typeDeclCase_ == 2 - && typeDecl_ - != com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.getDefaultInstance()) { - typeDecl_ = - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.newBuilder( - (com.google.cloud.datacatalog.v1beta1.FieldType.EnumType) typeDecl_) - .mergeFrom(value) - .buildPartial(); + if (typeDeclCase_ == 2 && + typeDecl_ != com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.getDefaultInstance()) { + typeDecl_ = com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.newBuilder((com.google.cloud.datacatalog.v1beta1.FieldType.EnumType) typeDecl_) + .mergeFrom(value).buildPartial(); } else { typeDecl_ = value; } @@ -2880,8 +2313,6 @@ public Builder mergeEnumType(com.google.cloud.datacatalog.v1beta1.FieldType.Enum return this; } /** - * - * *
      * Represents an enum type.
      * 
@@ -2905,8 +2336,6 @@ public Builder clearEnumType() { return this; } /** - * - * *
      * Represents an enum type.
      * 
@@ -2917,8 +2346,6 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.Builder getEnumTy return getEnumTypeFieldBuilder().getBuilder(); } /** - * - * *
      * Represents an enum type.
      * 
@@ -2937,8 +2364,6 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumTypeOrBuilder getEnumT } } /** - * - * *
      * Represents an enum type.
      * 
@@ -2946,19 +2371,14 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumTypeOrBuilder getEnumT * .google.cloud.datacatalog.v1beta1.FieldType.EnumType enum_type = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType, - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.Builder, - com.google.cloud.datacatalog.v1beta1.FieldType.EnumTypeOrBuilder> + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.Builder, com.google.cloud.datacatalog.v1beta1.FieldType.EnumTypeOrBuilder> getEnumTypeFieldBuilder() { if (enumTypeBuilder_ == null) { if (!(typeDeclCase_ == 2)) { typeDecl_ = com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.getDefaultInstance(); } - enumTypeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType, - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.Builder, - com.google.cloud.datacatalog.v1beta1.FieldType.EnumTypeOrBuilder>( + enumTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.Builder, com.google.cloud.datacatalog.v1beta1.FieldType.EnumTypeOrBuilder>( (com.google.cloud.datacatalog.v1beta1.FieldType.EnumType) typeDecl_, getParentForChildren(), isClean()); @@ -2968,9 +2388,9 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumTypeOrBuilder getEnumT onChanged(); return enumTypeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2980,12 +2400,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.FieldType) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.FieldType) private static final com.google.cloud.datacatalog.v1beta1.FieldType DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.FieldType(); } @@ -2994,27 +2414,27 @@ public static com.google.cloud.datacatalog.v1beta1.FieldType getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FieldType parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FieldType parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3029,4 +2449,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.FieldType getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldTypeOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldTypeOrBuilder.java similarity index 73% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldTypeOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldTypeOrBuilder.java index 6bc2b9be96a6..5ea8650d6677 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldTypeOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldTypeOrBuilder.java @@ -1,92 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/tags.proto package com.google.cloud.datacatalog.v1beta1; -public interface FieldTypeOrBuilder - extends +public interface FieldTypeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.FieldType) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Represents primitive types - string, bool etc.
    * 
* * .google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1; - * * @return Whether the primitiveType field is set. */ boolean hasPrimitiveType(); /** - * - * *
    * Represents primitive types - string, bool etc.
    * 
* * .google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1; - * * @return The enum numeric value on the wire for primitiveType. */ int getPrimitiveTypeValue(); /** - * - * *
    * Represents primitive types - string, bool etc.
    * 
* * .google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1; - * * @return The primitiveType. */ com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType getPrimitiveType(); /** - * - * *
    * Represents an enum type.
    * 
* * .google.cloud.datacatalog.v1beta1.FieldType.EnumType enum_type = 2; - * * @return Whether the enumType field is set. */ boolean hasEnumType(); /** - * - * *
    * Represents an enum type.
    * 
* * .google.cloud.datacatalog.v1beta1.FieldType.EnumType enum_type = 2; - * * @return The enumType. */ com.google.cloud.datacatalog.v1beta1.FieldType.EnumType getEnumType(); /** - * - * *
    * Represents an enum type.
    * 
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpec.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpec.java similarity index 65% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpec.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpec.java index cabff0c236b6..89fc85696c07 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpec.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpec.java @@ -1,80 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Specifications of a single file in Cloud Storage.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.GcsFileSpec} */ -public final class GcsFileSpec extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GcsFileSpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.GcsFileSpec) GcsFileSpecOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GcsFileSpec.newBuilder() to construct. private GcsFileSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GcsFileSpec() { filePath_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GcsFileSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass - .internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass - .internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.GcsFileSpec.class, - com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder.class); + com.google.cloud.datacatalog.v1beta1.GcsFileSpec.class, com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder.class); } public static final int FILE_PATH_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object filePath_ = ""; /** - * - * *
    * Required. The full file path. Example: `gs://bucket_name/a/b.txt`.
    * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filePath. */ @java.lang.Override @@ -83,29 +60,29 @@ public java.lang.String getFilePath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filePath_ = s; return s; } } /** - * - * *
    * Required. The full file path. Example: `gs://bucket_name/a/b.txt`.
    * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filePath. */ @java.lang.Override - public com.google.protobuf.ByteString getFilePathBytes() { + public com.google.protobuf.ByteString + getFilePathBytes() { java.lang.Object ref = filePath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filePath_ = b; return b; } else { @@ -116,16 +93,11 @@ public com.google.protobuf.ByteString getFilePathBytes() { public static final int GCS_TIMESTAMPS_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1beta1.SystemTimestamps gcsTimestamps_; /** - * - * *
    * Output only. Timestamps about the Cloud Storage file.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the gcsTimestamps field is set. */ @java.lang.Override @@ -133,54 +105,37 @@ public boolean hasGcsTimestamps() { return gcsTimestamps_ != null; } /** - * - * *
    * Output only. Timestamps about the Cloud Storage file.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The gcsTimestamps. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getGcsTimestamps() { - return gcsTimestamps_ == null - ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() - : gcsTimestamps_; + return gcsTimestamps_ == null ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() : gcsTimestamps_; } /** - * - * *
    * Output only. Timestamps about the Cloud Storage file.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder - getGcsTimestampsOrBuilder() { - return gcsTimestamps_ == null - ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() - : gcsTimestamps_; + public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder getGcsTimestampsOrBuilder() { + return gcsTimestamps_ == null ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() : gcsTimestamps_; } public static final int SIZE_BYTES_FIELD_NUMBER = 4; private long sizeBytes_ = 0L; /** - * - * *
    * Output only. The size of the file, in bytes.
    * 
* * int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ @java.lang.Override @@ -189,7 +144,6 @@ public long getSizeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +155,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filePath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filePath_); } @@ -224,10 +179,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, filePath_); } if (gcsTimestamps_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getGcsTimestamps()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getGcsTimestamps()); } if (sizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, sizeBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, sizeBytes_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -237,20 +194,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.datacatalog.v1beta1.GcsFileSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.GcsFileSpec other = - (com.google.cloud.datacatalog.v1beta1.GcsFileSpec) obj; + com.google.cloud.datacatalog.v1beta1.GcsFileSpec other = (com.google.cloud.datacatalog.v1beta1.GcsFileSpec) obj; - if (!getFilePath().equals(other.getFilePath())) return false; + if (!getFilePath() + .equals(other.getFilePath())) return false; if (hasGcsTimestamps() != other.hasGcsTimestamps()) return false; if (hasGcsTimestamps()) { - if (!getGcsTimestamps().equals(other.getGcsTimestamps())) return false; + if (!getGcsTimestamps() + .equals(other.getGcsTimestamps())) return false; } - if (getSizeBytes() != other.getSizeBytes()) return false; + if (getSizeBytes() + != other.getSizeBytes()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -269,142 +228,139 @@ public int hashCode() { hash = (53 * hash) + getGcsTimestamps().hashCode(); } hash = (37 * hash) + SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSizeBytes()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.datacatalog.v1beta1.GcsFileSpec parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1beta1.GcsFileSpec parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.GcsFileSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GcsFileSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.GcsFileSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GcsFileSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.GcsFileSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.GcsFileSpec parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.GcsFileSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.GcsFileSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GcsFileSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.GcsFileSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.GcsFileSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GcsFileSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.GcsFileSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.GcsFileSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifications of a single file in Cloud Storage.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.GcsFileSpec} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.GcsFileSpec) com.google.cloud.datacatalog.v1beta1.GcsFileSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass - .internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass - .internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.GcsFileSpec.class, - com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder.class); + com.google.cloud.datacatalog.v1beta1.GcsFileSpec.class, com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1beta1.GcsFileSpec.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.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 +376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass - .internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_descriptor; } @java.lang.Override @@ -441,11 +397,8 @@ public com.google.cloud.datacatalog.v1beta1.GcsFileSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.GcsFileSpec buildPartial() { - com.google.cloud.datacatalog.v1beta1.GcsFileSpec result = - new com.google.cloud.datacatalog.v1beta1.GcsFileSpec(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1beta1.GcsFileSpec result = new com.google.cloud.datacatalog.v1beta1.GcsFileSpec(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -456,8 +409,9 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.GcsFileSpec resu result.filePath_ = filePath_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.gcsTimestamps_ = - gcsTimestampsBuilder_ == null ? gcsTimestamps_ : gcsTimestampsBuilder_.build(); + result.gcsTimestamps_ = gcsTimestampsBuilder_ == null + ? gcsTimestamps_ + : gcsTimestampsBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.sizeBytes_ = sizeBytes_; @@ -468,39 +422,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.GcsFileSpec 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.datacatalog.v1beta1.GcsFileSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1beta1.GcsFileSpec) other); + return mergeFrom((com.google.cloud.datacatalog.v1beta1.GcsFileSpec)other); } else { super.mergeFrom(other); return this; @@ -508,8 +461,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.GcsFileSpec other) { - if (other == com.google.cloud.datacatalog.v1beta1.GcsFileSpec.getDefaultInstance()) - return this; + if (other == com.google.cloud.datacatalog.v1beta1.GcsFileSpec.getDefaultInstance()) return this; if (!other.getFilePath().isEmpty()) { filePath_ = other.filePath_; bitField0_ |= 0x00000001; @@ -547,31 +499,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - filePath_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getGcsTimestampsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 32: - { - sizeBytes_ = input.readInt64(); - bitField0_ |= 0x00000004; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + filePath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getGcsTimestampsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 32: { + sizeBytes_ = input.readInt64(); + 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) { @@ -581,25 +531,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object filePath_ = ""; /** - * - * *
      * Required. The full file path. Example: `gs://bucket_name/a/b.txt`.
      * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filePath. */ public java.lang.String getFilePath() { java.lang.Object ref = filePath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filePath_ = s; return s; @@ -608,21 +555,20 @@ public java.lang.String getFilePath() { } } /** - * - * *
      * Required. The full file path. Example: `gs://bucket_name/a/b.txt`.
      * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filePath. */ - public com.google.protobuf.ByteString getFilePathBytes() { + public com.google.protobuf.ByteString + getFilePathBytes() { java.lang.Object ref = filePath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filePath_ = b; return b; } else { @@ -630,35 +576,28 @@ public com.google.protobuf.ByteString getFilePathBytes() { } } /** - * - * *
      * Required. The full file path. Example: `gs://bucket_name/a/b.txt`.
      * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The filePath to set. * @return This builder for chaining. */ - public Builder setFilePath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilePath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filePath_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The full file path. Example: `gs://bucket_name/a/b.txt`.
      * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearFilePath() { @@ -668,21 +607,17 @@ public Builder clearFilePath() { return this; } /** - * - * *
      * Required. The full file path. Example: `gs://bucket_name/a/b.txt`.
      * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for filePath to set. * @return This builder for chaining. */ - public Builder setFilePathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilePathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filePath_ = value; bitField0_ |= 0x00000001; @@ -692,58 +627,39 @@ public Builder setFilePathBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datacatalog.v1beta1.SystemTimestamps gcsTimestamps_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SystemTimestamps, - com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, - com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder> - gcsTimestampsBuilder_; + com.google.cloud.datacatalog.v1beta1.SystemTimestamps, com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder> gcsTimestampsBuilder_; /** - * - * *
      * Output only. Timestamps about the Cloud Storage file.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the gcsTimestamps field is set. */ public boolean hasGcsTimestamps() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. Timestamps about the Cloud Storage file.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The gcsTimestamps. */ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getGcsTimestamps() { if (gcsTimestampsBuilder_ == null) { - return gcsTimestamps_ == null - ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() - : gcsTimestamps_; + return gcsTimestamps_ == null ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() : gcsTimestamps_; } else { return gcsTimestampsBuilder_.getMessage(); } } /** - * - * *
      * Output only. Timestamps about the Cloud Storage file.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setGcsTimestamps(com.google.cloud.datacatalog.v1beta1.SystemTimestamps value) { if (gcsTimestampsBuilder_ == null) { @@ -759,15 +675,11 @@ public Builder setGcsTimestamps(com.google.cloud.datacatalog.v1beta1.SystemTimes return this; } /** - * - * *
      * Output only. Timestamps about the Cloud Storage file.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setGcsTimestamps( com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder builderForValue) { @@ -781,22 +693,17 @@ public Builder setGcsTimestamps( return this; } /** - * - * *
      * Output only. Timestamps about the Cloud Storage file.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeGcsTimestamps(com.google.cloud.datacatalog.v1beta1.SystemTimestamps value) { if (gcsTimestampsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && gcsTimestamps_ != null - && gcsTimestamps_ - != com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + gcsTimestamps_ != null && + gcsTimestamps_ != com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance()) { getGcsTimestampsBuilder().mergeFrom(value); } else { gcsTimestamps_ = value; @@ -809,15 +716,11 @@ public Builder mergeGcsTimestamps(com.google.cloud.datacatalog.v1beta1.SystemTim return this; } /** - * - * *
      * Output only. Timestamps about the Cloud Storage file.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearGcsTimestamps() { bitField0_ = (bitField0_ & ~0x00000002); @@ -830,15 +733,11 @@ public Builder clearGcsTimestamps() { return this; } /** - * - * *
      * Output only. Timestamps about the Cloud Storage file.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder getGcsTimestampsBuilder() { bitField0_ |= 0x00000002; @@ -846,64 +745,48 @@ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder getGcsTimes return getGcsTimestampsFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Timestamps about the Cloud Storage file.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder - getGcsTimestampsOrBuilder() { + public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder getGcsTimestampsOrBuilder() { if (gcsTimestampsBuilder_ != null) { return gcsTimestampsBuilder_.getMessageOrBuilder(); } else { - return gcsTimestamps_ == null - ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() - : gcsTimestamps_; + return gcsTimestamps_ == null ? + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() : gcsTimestamps_; } } /** - * - * *
      * Output only. Timestamps about the Cloud Storage file.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SystemTimestamps, - com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, - com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder> + com.google.cloud.datacatalog.v1beta1.SystemTimestamps, com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder> getGcsTimestampsFieldBuilder() { if (gcsTimestampsBuilder_ == null) { - gcsTimestampsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SystemTimestamps, - com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, - com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder>( - getGcsTimestamps(), getParentForChildren(), isClean()); + gcsTimestampsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.SystemTimestamps, com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder>( + getGcsTimestamps(), + getParentForChildren(), + isClean()); gcsTimestamps_ = null; } return gcsTimestampsBuilder_; } - private long sizeBytes_; + private long sizeBytes_ ; /** - * - * *
      * Output only. The size of the file, in bytes.
      * 
* * int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ @java.lang.Override @@ -911,14 +794,11 @@ public long getSizeBytes() { return sizeBytes_; } /** - * - * *
      * Output only. The size of the file, in bytes.
      * 
* * int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The sizeBytes to set. * @return This builder for chaining. */ @@ -930,14 +810,11 @@ public Builder setSizeBytes(long value) { return this; } /** - * - * *
      * Output only. The size of the file, in bytes.
      * 
* * int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSizeBytes() { @@ -946,9 +823,9 @@ public Builder clearSizeBytes() { onChanged(); return this; } - @java.lang.Override - 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 +835,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.GcsFileSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.GcsFileSpec) private static final com.google.cloud.datacatalog.v1beta1.GcsFileSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.GcsFileSpec(); } @@ -972,27 +849,27 @@ public static com.google.cloud.datacatalog.v1beta1.GcsFileSpec getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsFileSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsFileSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +884,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.GcsFileSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpecOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpecOrBuilder.java similarity index 56% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpecOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpecOrBuilder.java index 0e1efbc23636..b0672ec554e3 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpecOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpecOrBuilder.java @@ -1,103 +1,65 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto package com.google.cloud.datacatalog.v1beta1; -public interface GcsFileSpecOrBuilder - extends +public interface GcsFileSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.GcsFileSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The full file path. Example: `gs://bucket_name/a/b.txt`.
    * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filePath. */ java.lang.String getFilePath(); /** - * - * *
    * Required. The full file path. Example: `gs://bucket_name/a/b.txt`.
    * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filePath. */ - com.google.protobuf.ByteString getFilePathBytes(); + com.google.protobuf.ByteString + getFilePathBytes(); /** - * - * *
    * Output only. Timestamps about the Cloud Storage file.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the gcsTimestamps field is set. */ boolean hasGcsTimestamps(); /** - * - * *
    * Output only. Timestamps about the Cloud Storage file.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The gcsTimestamps. */ com.google.cloud.datacatalog.v1beta1.SystemTimestamps getGcsTimestamps(); /** - * - * *
    * Output only. Timestamps about the Cloud Storage file.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder getGcsTimestampsOrBuilder(); /** - * - * *
    * Output only. The size of the file, in bytes.
    * 
* * int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ long getSizeBytes(); diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpec.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpec.java similarity index 75% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpec.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpec.java index 6660e52585ec..e515e5210b6d 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpec.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpec.java @@ -1,76 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Describes a Cloud Storage fileset entry.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.GcsFilesetSpec} */ -public final class GcsFilesetSpec extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GcsFilesetSpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.GcsFilesetSpec) GcsFilesetSpecOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GcsFilesetSpec.newBuilder() to construct. private GcsFilesetSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GcsFilesetSpec() { - filePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); + filePatterns_ = + com.google.protobuf.LazyStringArrayList.emptyList(); sampleGcsFileSpecs_ = 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 GcsFilesetSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass - .internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass - .internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.class, - com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.Builder.class); + com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.class, com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.Builder.class); } public static final int FILE_PATTERNS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList filePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    * See [Cloud Storage
@@ -103,15 +82,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the filePatterns. */ - public com.google.protobuf.ProtocolStringList getFilePatternsList() { + public com.google.protobuf.ProtocolStringList + getFilePatternsList() { return filePatterns_; } /** - * - * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    * See [Cloud Storage
@@ -144,15 +121,12 @@ public com.google.protobuf.ProtocolStringList getFilePatternsList() {
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of filePatterns. */ public int getFilePatternsCount() { return filePatterns_.size(); } /** - * - * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    * See [Cloud Storage
@@ -185,7 +159,6 @@ public int getFilePatternsCount() {
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The filePatterns at the given index. */ @@ -193,8 +166,6 @@ public java.lang.String getFilePatterns(int index) { return filePatterns_.get(index); } /** - * - * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    * See [Cloud Storage
@@ -227,95 +198,73 @@ public java.lang.String getFilePatterns(int index) {
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the filePatterns at the given index. */ - public com.google.protobuf.ByteString getFilePatternsBytes(int index) { + public com.google.protobuf.ByteString + getFilePatternsBytes(int index) { return filePatterns_.getByteString(index); } public static final int SAMPLE_GCS_FILE_SPECS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List sampleGcsFileSpecs_; /** - * - * *
-   * Output only. Sample files contained in this fileset, not all files contained in this
-   * fileset are represented here.
+   * Output only. Sample files contained in this fileset, not all files
+   * contained in this fileset are represented here.
    * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List - getSampleGcsFileSpecsList() { + public java.util.List getSampleGcsFileSpecsList() { return sampleGcsFileSpecs_; } /** - * - * *
-   * Output only. Sample files contained in this fileset, not all files contained in this
-   * fileset are represented here.
+   * Output only. Sample files contained in this fileset, not all files
+   * contained in this fileset are represented here.
    * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getSampleGcsFileSpecsOrBuilderList() { return sampleGcsFileSpecs_; } /** - * - * *
-   * Output only. Sample files contained in this fileset, not all files contained in this
-   * fileset are represented here.
+   * Output only. Sample files contained in this fileset, not all files
+   * contained in this fileset are represented here.
    * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getSampleGcsFileSpecsCount() { return sampleGcsFileSpecs_.size(); } /** - * - * *
-   * Output only. Sample files contained in this fileset, not all files contained in this
-   * fileset are represented here.
+   * Output only. Sample files contained in this fileset, not all files
+   * contained in this fileset are represented here.
    * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.GcsFileSpec getSampleGcsFileSpecs(int index) { return sampleGcsFileSpecs_.get(index); } /** - * - * *
-   * Output only. Sample files contained in this fileset, not all files contained in this
-   * fileset are represented here.
+   * Output only. Sample files contained in this fileset, not all files
+   * contained in this fileset are represented here.
    * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.GcsFileSpecOrBuilder getSampleGcsFileSpecsOrBuilder( @@ -324,7 +273,6 @@ public com.google.cloud.datacatalog.v1beta1.GcsFileSpecOrBuilder getSampleGcsFil } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -336,7 +284,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < filePatterns_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filePatterns_.getRaw(i)); } @@ -361,8 +310,8 @@ public int getSerializedSize() { size += 1 * getFilePatternsList().size(); } for (int i = 0; i < sampleGcsFileSpecs_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, sampleGcsFileSpecs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, sampleGcsFileSpecs_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -372,16 +321,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.datacatalog.v1beta1.GcsFilesetSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec other = - (com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec) obj; + com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec other = (com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec) obj; - if (!getFilePatternsList().equals(other.getFilePatternsList())) return false; - if (!getSampleGcsFileSpecsList().equals(other.getSampleGcsFileSpecsList())) return false; + if (!getFilePatternsList() + .equals(other.getFilePatternsList())) return false; + if (!getSampleGcsFileSpecsList() + .equals(other.getSampleGcsFileSpecsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -407,140 +357,137 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 a Cloud Storage fileset entry.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.GcsFilesetSpec} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.GcsFilesetSpec) com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass - .internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass - .internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.class, - com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.Builder.class); + com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.class, com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.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; - filePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); + filePatterns_ = + com.google.protobuf.LazyStringArrayList.emptyList(); if (sampleGcsFileSpecsBuilder_ == null) { sampleGcsFileSpecs_ = java.util.Collections.emptyList(); } else { @@ -552,9 +499,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass - .internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_descriptor; } @java.lang.Override @@ -573,18 +520,14 @@ public com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec buildPartial() { - com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec result = - new com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec(this); + com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec result = new com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec result) { + private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec result) { if (sampleGcsFileSpecsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { sampleGcsFileSpecs_ = java.util.Collections.unmodifiableList(sampleGcsFileSpecs_); @@ -608,39 +551,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec 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.datacatalog.v1beta1.GcsFilesetSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec) other); + return mergeFrom((com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec)other); } else { super.mergeFrom(other); return this; @@ -648,8 +590,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec other) { - if (other == com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.getDefaultInstance()) - return this; + if (other == com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.getDefaultInstance()) return this; if (!other.filePatterns_.isEmpty()) { if (filePatterns_.isEmpty()) { filePatterns_ = other.filePatterns_; @@ -678,10 +619,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec oth sampleGcsFileSpecsBuilder_ = null; sampleGcsFileSpecs_ = other.sampleGcsFileSpecs_; bitField0_ = (bitField0_ & ~0x00000002); - sampleGcsFileSpecsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSampleGcsFileSpecsFieldBuilder() - : null; + sampleGcsFileSpecsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSampleGcsFileSpecsFieldBuilder() : null; } else { sampleGcsFileSpecsBuilder_.addAllMessages(other.sampleGcsFileSpecs_); } @@ -713,34 +653,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureFilePatternsIsMutable(); - filePatterns_.add(s); - break; - } // case 10 - case 18: - { - com.google.cloud.datacatalog.v1beta1.GcsFileSpec m = - input.readMessage( - com.google.cloud.datacatalog.v1beta1.GcsFileSpec.parser(), - extensionRegistry); - if (sampleGcsFileSpecsBuilder_ == null) { - ensureSampleGcsFileSpecsIsMutable(); - sampleGcsFileSpecs_.add(m); - } else { - sampleGcsFileSpecsBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureFilePatternsIsMutable(); + filePatterns_.add(s); + break; + } // case 10 + case 18: { + com.google.cloud.datacatalog.v1beta1.GcsFileSpec m = + input.readMessage( + com.google.cloud.datacatalog.v1beta1.GcsFileSpec.parser(), + extensionRegistry); + if (sampleGcsFileSpecsBuilder_ == null) { + ensureSampleGcsFileSpecsIsMutable(); + sampleGcsFileSpecs_.add(m); + } else { + sampleGcsFileSpecsBuilder_.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) { @@ -750,12 +687,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.LazyStringArrayList filePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureFilePatternsIsMutable() { if (!filePatterns_.isModifiable()) { filePatterns_ = new com.google.protobuf.LazyStringArrayList(filePatterns_); @@ -763,8 +698,6 @@ private void ensureFilePatternsIsMutable() { bitField0_ |= 0x00000001; } /** - * - * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * See [Cloud Storage
@@ -797,16 +730,14 @@ private void ensureFilePatternsIsMutable() {
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the filePatterns. */ - public com.google.protobuf.ProtocolStringList getFilePatternsList() { + public com.google.protobuf.ProtocolStringList + getFilePatternsList() { filePatterns_.makeImmutable(); return filePatterns_; } /** - * - * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * See [Cloud Storage
@@ -839,15 +770,12 @@ public com.google.protobuf.ProtocolStringList getFilePatternsList() {
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of filePatterns. */ public int getFilePatternsCount() { return filePatterns_.size(); } /** - * - * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * See [Cloud Storage
@@ -880,7 +808,6 @@ public int getFilePatternsCount() {
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The filePatterns at the given index. */ @@ -888,8 +815,6 @@ public java.lang.String getFilePatterns(int index) { return filePatterns_.get(index); } /** - * - * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * See [Cloud Storage
@@ -922,16 +847,14 @@ public java.lang.String getFilePatterns(int index) {
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the filePatterns at the given index. */ - public com.google.protobuf.ByteString getFilePatternsBytes(int index) { + public com.google.protobuf.ByteString + getFilePatternsBytes(int index) { return filePatterns_.getByteString(index); } /** - * - * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * See [Cloud Storage
@@ -964,15 +887,13 @@ public com.google.protobuf.ByteString getFilePatternsBytes(int index) {
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index to set the value at. * @param value The filePatterns to set. * @return This builder for chaining. */ - public Builder setFilePatterns(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilePatterns( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFilePatternsIsMutable(); filePatterns_.set(index, value); bitField0_ |= 0x00000001; @@ -980,8 +901,6 @@ public Builder setFilePatterns(int index, java.lang.String value) { return this; } /** - * - * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * See [Cloud Storage
@@ -1014,14 +933,12 @@ public Builder setFilePatterns(int index, java.lang.String value) {
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The filePatterns to add. * @return This builder for chaining. */ - public Builder addFilePatterns(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFilePatterns( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFilePatternsIsMutable(); filePatterns_.add(value); bitField0_ |= 0x00000001; @@ -1029,8 +946,6 @@ public Builder addFilePatterns(java.lang.String value) { return this; } /** - * - * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * See [Cloud Storage
@@ -1063,20 +978,19 @@ public Builder addFilePatterns(java.lang.String value) {
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param values The filePatterns to add. * @return This builder for chaining. */ - public Builder addAllFilePatterns(java.lang.Iterable values) { + public Builder addAllFilePatterns( + java.lang.Iterable values) { ensureFilePatternsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, filePatterns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, filePatterns_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * See [Cloud Storage
@@ -1109,19 +1023,16 @@ public Builder addAllFilePatterns(java.lang.Iterable values) {
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearFilePatterns() { - filePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; + filePatterns_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** - * - * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * See [Cloud Storage
@@ -1154,14 +1065,12 @@ public Builder clearFilePatterns() {
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes of the filePatterns to add. * @return This builder for chaining. */ - public Builder addFilePatternsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFilePatternsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureFilePatternsIsMutable(); filePatterns_.add(value); @@ -1171,37 +1080,26 @@ public Builder addFilePatternsBytes(com.google.protobuf.ByteString value) { } private java.util.List sampleGcsFileSpecs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureSampleGcsFileSpecsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - sampleGcsFileSpecs_ = - new java.util.ArrayList( - sampleGcsFileSpecs_); + sampleGcsFileSpecs_ = new java.util.ArrayList(sampleGcsFileSpecs_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.GcsFileSpec, - com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder, - com.google.cloud.datacatalog.v1beta1.GcsFileSpecOrBuilder> - sampleGcsFileSpecsBuilder_; + com.google.cloud.datacatalog.v1beta1.GcsFileSpec, com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder, com.google.cloud.datacatalog.v1beta1.GcsFileSpecOrBuilder> sampleGcsFileSpecsBuilder_; /** - * - * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getSampleGcsFileSpecsList() { + public java.util.List getSampleGcsFileSpecsList() { if (sampleGcsFileSpecsBuilder_ == null) { return java.util.Collections.unmodifiableList(sampleGcsFileSpecs_); } else { @@ -1209,16 +1107,12 @@ private void ensureSampleGcsFileSpecsIsMutable() { } } /** - * - * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getSampleGcsFileSpecsCount() { if (sampleGcsFileSpecsBuilder_ == null) { @@ -1228,16 +1122,12 @@ public int getSampleGcsFileSpecsCount() { } } /** - * - * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datacatalog.v1beta1.GcsFileSpec getSampleGcsFileSpecs(int index) { if (sampleGcsFileSpecsBuilder_ == null) { @@ -1247,16 +1137,12 @@ public com.google.cloud.datacatalog.v1beta1.GcsFileSpec getSampleGcsFileSpecs(in } } /** - * - * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setSampleGcsFileSpecs( int index, com.google.cloud.datacatalog.v1beta1.GcsFileSpec value) { @@ -1273,16 +1159,12 @@ public Builder setSampleGcsFileSpecs( return this; } /** - * - * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setSampleGcsFileSpecs( int index, com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder builderForValue) { @@ -1296,16 +1178,12 @@ public Builder setSampleGcsFileSpecs( return this; } /** - * - * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addSampleGcsFileSpecs(com.google.cloud.datacatalog.v1beta1.GcsFileSpec value) { if (sampleGcsFileSpecsBuilder_ == null) { @@ -1321,16 +1199,12 @@ public Builder addSampleGcsFileSpecs(com.google.cloud.datacatalog.v1beta1.GcsFil return this; } /** - * - * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addSampleGcsFileSpecs( int index, com.google.cloud.datacatalog.v1beta1.GcsFileSpec value) { @@ -1347,16 +1221,12 @@ public Builder addSampleGcsFileSpecs( return this; } /** - * - * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addSampleGcsFileSpecs( com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder builderForValue) { @@ -1370,16 +1240,12 @@ public Builder addSampleGcsFileSpecs( return this; } /** - * - * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addSampleGcsFileSpecs( int index, com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder builderForValue) { @@ -1393,22 +1259,19 @@ public Builder addSampleGcsFileSpecs( return this; } /** - * - * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllSampleGcsFileSpecs( java.lang.Iterable values) { if (sampleGcsFileSpecsBuilder_ == null) { ensureSampleGcsFileSpecsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sampleGcsFileSpecs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sampleGcsFileSpecs_); onChanged(); } else { sampleGcsFileSpecsBuilder_.addAllMessages(values); @@ -1416,16 +1279,12 @@ public Builder addAllSampleGcsFileSpecs( return this; } /** - * - * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearSampleGcsFileSpecs() { if (sampleGcsFileSpecsBuilder_ == null) { @@ -1438,16 +1297,12 @@ public Builder clearSampleGcsFileSpecs() { return this; } /** - * - * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeSampleGcsFileSpecs(int index) { if (sampleGcsFileSpecsBuilder_ == null) { @@ -1460,55 +1315,42 @@ public Builder removeSampleGcsFileSpecs(int index) { return this; } /** - * - * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder getSampleGcsFileSpecsBuilder( int index) { return getSampleGcsFileSpecsFieldBuilder().getBuilder(index); } /** - * - * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datacatalog.v1beta1.GcsFileSpecOrBuilder getSampleGcsFileSpecsOrBuilder( int index) { if (sampleGcsFileSpecsBuilder_ == null) { - return sampleGcsFileSpecs_.get(index); - } else { + return sampleGcsFileSpecs_.get(index); } else { return sampleGcsFileSpecsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getSampleGcsFileSpecsOrBuilderList() { + public java.util.List + getSampleGcsFileSpecsOrBuilderList() { if (sampleGcsFileSpecsBuilder_ != null) { return sampleGcsFileSpecsBuilder_.getMessageOrBuilderList(); } else { @@ -1516,66 +1358,48 @@ public com.google.cloud.datacatalog.v1beta1.GcsFileSpecOrBuilder getSampleGcsFil } } /** - * - * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder addSampleGcsFileSpecsBuilder() { - return getSampleGcsFileSpecsFieldBuilder() - .addBuilder(com.google.cloud.datacatalog.v1beta1.GcsFileSpec.getDefaultInstance()); + return getSampleGcsFileSpecsFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1beta1.GcsFileSpec.getDefaultInstance()); } /** - * - * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder addSampleGcsFileSpecsBuilder( int index) { - return getSampleGcsFileSpecsFieldBuilder() - .addBuilder(index, com.google.cloud.datacatalog.v1beta1.GcsFileSpec.getDefaultInstance()); + return getSampleGcsFileSpecsFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1beta1.GcsFileSpec.getDefaultInstance()); } /** - * - * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getSampleGcsFileSpecsBuilderList() { + public java.util.List + getSampleGcsFileSpecsBuilderList() { return getSampleGcsFileSpecsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.GcsFileSpec, - com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder, - com.google.cloud.datacatalog.v1beta1.GcsFileSpecOrBuilder> + com.google.cloud.datacatalog.v1beta1.GcsFileSpec, com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder, com.google.cloud.datacatalog.v1beta1.GcsFileSpecOrBuilder> getSampleGcsFileSpecsFieldBuilder() { if (sampleGcsFileSpecsBuilder_ == null) { - sampleGcsFileSpecsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.GcsFileSpec, - com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder, - com.google.cloud.datacatalog.v1beta1.GcsFileSpecOrBuilder>( + sampleGcsFileSpecsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.GcsFileSpec, com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder, com.google.cloud.datacatalog.v1beta1.GcsFileSpecOrBuilder>( sampleGcsFileSpecs_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -1584,9 +1408,9 @@ public com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder addSampleGcsFile } return sampleGcsFileSpecsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1596,12 +1420,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.GcsFilesetSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.GcsFilesetSpec) private static final com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec(); } @@ -1610,27 +1434,27 @@ public static com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsFilesetSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsFilesetSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1645,4 +1469,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOrBuilder.java similarity index 80% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOrBuilder.java index 93ecadbb01f2..64f72a3c5fcf 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto package com.google.cloud.datacatalog.v1beta1; -public interface GcsFilesetSpecOrBuilder - extends +public interface GcsFilesetSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.GcsFilesetSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    * See [Cloud Storage
@@ -58,13 +40,11 @@ public interface GcsFilesetSpecOrBuilder
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the filePatterns. */ - java.util.List getFilePatternsList(); + java.util.List + getFilePatternsList(); /** - * - * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    * See [Cloud Storage
@@ -97,13 +77,10 @@ public interface GcsFilesetSpecOrBuilder
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of filePatterns. */ int getFilePatternsCount(); /** - * - * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    * See [Cloud Storage
@@ -136,14 +113,11 @@ public interface GcsFilesetSpecOrBuilder
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The filePatterns at the given index. */ java.lang.String getFilePatterns(int index); /** - * - * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    * See [Cloud Storage
@@ -176,76 +150,57 @@ public interface GcsFilesetSpecOrBuilder
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the filePatterns at the given index. */ - com.google.protobuf.ByteString getFilePatternsBytes(int index); + com.google.protobuf.ByteString + getFilePatternsBytes(int index); /** - * - * *
-   * Output only. Sample files contained in this fileset, not all files contained in this
-   * fileset are represented here.
+   * Output only. Sample files contained in this fileset, not all files
+   * contained in this fileset are represented here.
    * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getSampleGcsFileSpecsList(); + java.util.List + getSampleGcsFileSpecsList(); /** - * - * *
-   * Output only. Sample files contained in this fileset, not all files contained in this
-   * fileset are represented here.
+   * Output only. Sample files contained in this fileset, not all files
+   * contained in this fileset are represented here.
    * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.datacatalog.v1beta1.GcsFileSpec getSampleGcsFileSpecs(int index); /** - * - * *
-   * Output only. Sample files contained in this fileset, not all files contained in this
-   * fileset are represented here.
+   * Output only. Sample files contained in this fileset, not all files
+   * contained in this fileset are represented here.
    * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getSampleGcsFileSpecsCount(); /** - * - * *
-   * Output only. Sample files contained in this fileset, not all files contained in this
-   * fileset are represented here.
+   * Output only. Sample files contained in this fileset, not all files
+   * contained in this fileset are represented here.
    * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getSampleGcsFileSpecsOrBuilderList(); /** - * - * *
-   * Output only. Sample files contained in this fileset, not all files contained in this
-   * fileset are represented here.
+   * Output only. Sample files contained in this fileset, not all files
+   * contained in this fileset are represented here.
    * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.datacatalog.v1beta1.GcsFileSpecOrBuilder getSampleGcsFileSpecsOrBuilder( int index); diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOuterClass.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOuterClass.java new file mode 100644 index 000000000000..36a9d3c2e4be --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOuterClass.java @@ -0,0 +1,83 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto + +package com.google.cloud.datacatalog.v1beta1; + +public final class GcsFilesetSpecOuterClass { + private GcsFilesetSpecOuterClass() {} + 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_datacatalog_v1beta1_GcsFilesetSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n7google/cloud/datacatalog/v1beta1/gcs_f" + + "ileset_spec.proto\022 google.cloud.datacata" + + "log.v1beta1\032\037google/api/field_behavior.p" + + "roto\0321google/cloud/datacatalog/v1beta1/t" + + "imestamps.proto\"\201\001\n\016GcsFilesetSpec\022\033\n\rfi" + + "le_patterns\030\001 \003(\tB\004\342A\001\002\022R\n\025sample_gcs_fi" + + "le_specs\030\002 \003(\0132-.google.cloud.datacatalo" + + "g.v1beta1.GcsFileSpecB\004\342A\001\003\"\222\001\n\013GcsFileS" + + "pec\022\027\n\tfile_path\030\001 \001(\tB\004\342A\001\002\022P\n\016gcs_time" + + "stamps\030\002 \001(\01322.google.cloud.datacatalog." + + "v1beta1.SystemTimestampsB\004\342A\001\003\022\030\n\nsize_b" + + "ytes\030\004 \001(\003B\004\342A\001\003B\337\001\n$com.google.cloud.da" + + "tacatalog.v1beta1P\001ZFcloud.google.com/go" + + "/datacatalog/apiv1beta1/datacatalogpb;da" + + "tacatalogpb\370\001\001\252\002 Google.Cloud.DataCatalo" + + "g.V1Beta1\312\002 Google\\Cloud\\DataCatalog\\V1b" + + "eta1\352\002#Google::Cloud::DataCatalog::V1bet" + + "a1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.cloud.datacatalog.v1beta1.Timestamps.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_descriptor, + new java.lang.String[] { "FilePatterns", "SampleGcsFileSpecs", }); + internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_descriptor, + new java.lang.String[] { "FilePath", "GcsTimestamps", "SizeBytes", }); + 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.datacatalog.v1beta1.Timestamps.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequest.java similarity index 66% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequest.java index 086c9e21dd71..a5bd68db81da 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [GetEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.GetEntryGroup].
@@ -28,57 +11,49 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.GetEntryGroupRequest}
  */
-public final class GetEntryGroupRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GetEntryGroupRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.GetEntryGroupRequest)
     GetEntryGroupRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GetEntryGroupRequest.newBuilder() to construct.
   private GetEntryGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GetEntryGroupRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetEntryGroupRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest.class,
-            com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest.class, com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the entry group. For example,
    * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
    * 
* - * - * string name = 1 [(.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 name of the entry group. For example,
    * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -123,14 +96,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int READ_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask readMask_; /** - * - * *
    * The fields to return. If not set or empty, all fields are returned.
    * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return Whether the readMask field is set. */ @java.lang.Override @@ -138,14 +108,11 @@ public boolean hasReadMask() { return readMask_ != null; } /** - * - * *
    * The fields to return. If not set or empty, all fields are returned.
    * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return The readMask. */ @java.lang.Override @@ -153,8 +120,6 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** - * - * *
    * The fields to return. If not set or empty, all fields are returned.
    * 
@@ -167,7 +132,6 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +143,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,7 +164,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getReadMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -209,18 +175,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.datacatalog.v1beta1.GetEntryGroupRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest other = - (com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest) obj; + com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest other = (com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask().equals(other.getReadMask())) return false; + if (!getReadMask() + .equals(other.getReadMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -245,104 +212,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [GetEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.GetEntryGroup].
@@ -350,32 +311,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.GetEntryGroupRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.GetEntryGroupRequest)
       com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest.class,
-              com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest.class, com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -390,9 +352,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_descriptor;
     }
 
     @java.lang.Override
@@ -411,11 +373,8 @@ public com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest result =
-          new com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest result = new com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -426,7 +385,9 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.GetEntryGroupReq
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.readMask_ = readMaskBuilder_ == null ? readMask_ : readMaskBuilder_.build();
+        result.readMask_ = readMaskBuilder_ == null
+            ? readMask_
+            : readMaskBuilder_.build();
       }
     }
 
@@ -434,39 +395,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.GetEntryGroupReq
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -474,8 +434,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -510,25 +469,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getReadMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getReadMaskFieldBuilder().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) {
@@ -538,28 +496,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the entry group. For example,
      * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
      * 
* - * - * string name = 1 [(.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; @@ -568,24 +521,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the entry group. For example,
      * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -593,41 +543,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the entry group. For example,
      * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the entry group. For example,
      * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
      * 
* - * - * string 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() { @@ -637,24 +576,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the entry group. For example,
      * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
      * 
* - * - * string name = 1 [(.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; @@ -664,33 +597,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - readMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; /** - * - * *
      * The fields to return. If not set or empty, all fields are returned.
      * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The fields to return. If not set or empty, all fields are returned.
      * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -701,8 +625,6 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** - * - * *
      * The fields to return. If not set or empty, all fields are returned.
      * 
@@ -723,15 +645,14 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The fields to return. If not set or empty, all fields are returned.
      * 
* * .google.protobuf.FieldMask read_mask = 2; */ - public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); } else { @@ -742,8 +663,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue return this; } /** - * - * *
      * The fields to return. If not set or empty, all fields are returned.
      * 
@@ -752,9 +671,9 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && readMask_ != null - && readMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + readMask_ != null && + readMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getReadMaskBuilder().mergeFrom(value); } else { readMask_ = value; @@ -767,8 +686,6 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The fields to return. If not set or empty, all fields are returned.
      * 
@@ -786,8 +703,6 @@ public Builder clearReadMask() { return this; } /** - * - * *
      * The fields to return. If not set or empty, all fields are returned.
      * 
@@ -800,8 +715,6 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { return getReadMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The fields to return. If not set or empty, all fields are returned.
      * 
@@ -812,12 +725,11 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** - * - * *
      * The fields to return. If not set or empty, all fields are returned.
      * 
@@ -825,24 +737,21 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { * .google.protobuf.FieldMask read_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), getParentForChildren(), isClean()); + readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), + getParentForChildren(), + isClean()); readMask_ = null; } return readMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -852,12 +761,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.GetEntryGroupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.GetEntryGroupRequest) private static final com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest(); } @@ -866,27 +775,27 @@ public static com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetEntryGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetEntryGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -901,4 +810,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequestOrBuilder.java similarity index 59% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequestOrBuilder.java index 6730c6d500c4..7f43e9029060 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequestOrBuilder.java @@ -1,86 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface GetEntryGroupRequestOrBuilder - extends +public interface GetEntryGroupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.GetEntryGroupRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the entry group. For example,
    * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the entry group. For example,
    * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The fields to return. If not set or empty, all fields are returned.
    * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** - * - * *
    * The fields to return. If not set or empty, all fields are returned.
    * 
* * .google.protobuf.FieldMask read_mask = 2; - * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** - * - * *
    * The fields to return. If not set or empty, all fields are returned.
    * 
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequest.java similarity index 63% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequest.java index c31bc37bd936..7be6137b57c8 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [GetEntry][google.cloud.datacatalog.v1beta1.DataCatalog.GetEntry].
@@ -28,58 +11,50 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.GetEntryRequest}
  */
-public final class GetEntryRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GetEntryRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.GetEntryRequest)
     GetEntryRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GetEntryRequest.newBuilder() to construct.
   private GetEntryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GetEntryRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetEntryRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.GetEntryRequest.class,
-            com.google.cloud.datacatalog.v1beta1.GetEntryRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.GetEntryRequest.class, com.google.cloud.datacatalog.v1beta1.GetEntryRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the entry. Example:
    *
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
    * 
* - * - * string name = 1 [(.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,33 +63,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the entry. Example:
    *
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,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_); } @@ -159,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.datacatalog.v1beta1.GetEntryRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.GetEntryRequest other = - (com.google.cloud.datacatalog.v1beta1.GetEntryRequest) obj; + com.google.cloud.datacatalog.v1beta1.GetEntryRequest other = (com.google.cloud.datacatalog.v1beta1.GetEntryRequest) 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,103 +160,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.GetEntryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.GetEntryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GetEntryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.GetEntryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GetEntryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.GetEntryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.GetEntryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.GetEntryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.GetEntryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GetEntryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.GetEntryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.GetEntryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GetEntryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.GetEntryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.GetEntryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [GetEntry][google.cloud.datacatalog.v1beta1.DataCatalog.GetEntry].
@@ -291,32 +259,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.GetEntryRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.GetEntryRequest)
       com.google.cloud.datacatalog.v1beta1.GetEntryRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.GetEntryRequest.class,
-              com.google.cloud.datacatalog.v1beta1.GetEntryRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.GetEntryRequest.class, com.google.cloud.datacatalog.v1beta1.GetEntryRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.GetEntryRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_descriptor;
     }
 
     @java.lang.Override
@@ -347,11 +316,8 @@ public com.google.cloud.datacatalog.v1beta1.GetEntryRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.GetEntryRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.GetEntryRequest result =
-          new com.google.cloud.datacatalog.v1beta1.GetEntryRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.GetEntryRequest result = new com.google.cloud.datacatalog.v1beta1.GetEntryRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -367,39 +333,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.GetEntryRequest
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.GetEntryRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.GetEntryRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.GetEntryRequest)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.datacatalog.v1beta1.GetEntryRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.GetEntryRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.GetEntryRequest.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,29 +424,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the entry. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      * 
* - * - * string name = 1 [(.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; @@ -493,25 +450,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the entry. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -519,43 +473,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the entry. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the entry. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      * 
* - * - * string 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() { @@ -565,34 +508,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the entry. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      * 
* - * - * string name = 1 [(.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); } @@ -602,12 +539,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.GetEntryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.GetEntryRequest) private static final com.google.cloud.datacatalog.v1beta1.GetEntryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.GetEntryRequest(); } @@ -616,27 +553,27 @@ public static com.google.cloud.datacatalog.v1beta1.GetEntryRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetEntryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetEntryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -651,4 +588,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.GetEntryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequestOrBuilder.java new file mode 100644 index 000000000000..998a7ecea3dc --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/datacatalog.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface GetEntryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.GetEntryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the entry. Example:
+   *
+   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the entry. Example:
+   *
+   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequest.java similarity index 63% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequest.java index 670a8bd71513..ed2bcc0b541a 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [GetPolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.GetPolicyTag].
@@ -28,56 +11,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.GetPolicyTagRequest}
  */
-public final class GetPolicyTagRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GetPolicyTagRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.GetPolicyTagRequest)
     GetPolicyTagRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GetPolicyTagRequest.newBuilder() to construct.
   private GetPolicyTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GetPolicyTagRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetPolicyTagRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1beta1_GetPolicyTagRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_GetPolicyTagRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1beta1_GetPolicyTagRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_GetPolicyTagRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest.class,
-            com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest.class, com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. Resource name of the requested policy tag.
    * 
* - * - * string name = 1 [(.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,31 +61,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Resource name of the requested policy tag.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -119,7 +92,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,7 +103,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(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 +128,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest other = - (com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest) obj; + com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest other = (com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest) 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,104 +156,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [GetPolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.GetPolicyTag].
@@ -288,32 +255,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.GetPolicyTagRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.GetPolicyTagRequest)
       com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_GetPolicyTagRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_GetPolicyTagRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_GetPolicyTagRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_GetPolicyTagRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest.class,
-              com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest.class, com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_GetPolicyTagRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_GetPolicyTagRequest_descriptor;
     }
 
     @java.lang.Override
@@ -344,11 +312,8 @@ public com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest result =
-          new com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest result = new com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -364,39 +329,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequ
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest)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.datacatalog.v1beta1.GetPolicyTagRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest.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,27 +420,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. Resource name of the requested policy tag.
      * 
* - * - * string name = 1 [(.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,23 +444,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Resource name of the requested policy tag.
      * 
* - * - * string name = 1 [(.google.api.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,39 +465,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Resource name of the requested policy tag.
      * 
* - * - * string name = 1 [(.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. Resource name of the requested policy tag.
      * 
* - * - * string 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() { @@ -554,32 +496,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Resource name of the requested policy tag.
      * 
* - * - * string name = 1 [(.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); } @@ -589,12 +525,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.GetPolicyTagRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.GetPolicyTagRequest) private static final com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest(); } @@ -603,27 +539,27 @@ public static com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPolicyTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPolicyTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -638,4 +574,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequestOrBuilder.java new file mode 100644 index 000000000000..5084d5b4e2a9 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/policytagmanager.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface GetPolicyTagRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.GetPolicyTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Resource name of the requested policy tag.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Resource name of the requested policy tag.
+   * 
+ * + * 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequest.java similarity index 63% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequest.java index 965c4d2a4be8..1044874ce461 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [GetTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.GetTagTemplate].
@@ -28,58 +11,50 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.GetTagTemplateRequest}
  */
-public final class GetTagTemplateRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GetTagTemplateRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.GetTagTemplateRequest)
     GetTagTemplateRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GetTagTemplateRequest.newBuilder() to construct.
   private GetTagTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GetTagTemplateRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetTagTemplateRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest.class,
-            com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest.class, com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the tag template. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
    * 
* - * - * string name = 1 [(.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,33 +63,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the tag template. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,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_); } @@ -159,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.datacatalog.v1beta1.GetTagTemplateRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest other = - (com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest) obj; + com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest other = (com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest) 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,104 +160,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [GetTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.GetTagTemplate].
@@ -292,32 +259,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.GetTagTemplateRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.GetTagTemplateRequest)
       com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest.class,
-              com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest.class, com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -327,9 +295,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_descriptor;
     }
 
     @java.lang.Override
@@ -348,11 +316,8 @@ public com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest result =
-          new com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest result = new com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -368,39 +333,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.GetTagTemplateRe
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -408,8 +372,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -441,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) {
@@ -463,29 +424,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the tag template. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
      * 
* - * - * string name = 1 [(.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,25 +450,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the tag template. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -520,43 +473,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the tag template. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the tag template. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
      * 
* - * - * string 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() { @@ -566,34 +508,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the tag template. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
      * 
* - * - * string name = 1 [(.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); } @@ -603,12 +539,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.GetTagTemplateRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.GetTagTemplateRequest) private static final com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest(); } @@ -617,27 +553,27 @@ public static com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTagTemplateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTagTemplateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -652,4 +588,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequestOrBuilder.java new file mode 100644 index 000000000000..168dcd1665dd --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/datacatalog.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface GetTagTemplateRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.GetTagTemplateRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the tag template. Example:
+   *
+   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the tag template. Example:
+   *
+   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequest.java similarity index 63% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequest.java index b31df4522aa3..e40ecc3d4c81 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [GetTaxonomy][google.cloud.datacatalog.v1beta1.PolicyTagManager.GetTaxonomy].
@@ -28,56 +11,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.GetTaxonomyRequest}
  */
-public final class GetTaxonomyRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GetTaxonomyRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.GetTaxonomyRequest)
     GetTaxonomyRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GetTaxonomyRequest.newBuilder() to construct.
   private GetTaxonomyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GetTaxonomyRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetTaxonomyRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1beta1_GetTaxonomyRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_GetTaxonomyRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1beta1_GetTaxonomyRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_GetTaxonomyRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest.class,
-            com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest.class, com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. Resource name of the requested taxonomy.
    * 
* - * - * string name = 1 [(.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,31 +61,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Resource name of the requested taxonomy.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -119,7 +92,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,7 +103,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(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 +128,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest other = - (com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest) obj; + com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest other = (com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest) 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,104 +156,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [GetTaxonomy][google.cloud.datacatalog.v1beta1.PolicyTagManager.GetTaxonomy].
@@ -288,32 +255,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.GetTaxonomyRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.GetTaxonomyRequest)
       com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_GetTaxonomyRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_GetTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_GetTaxonomyRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_GetTaxonomyRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest.class,
-              com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest.class, com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_GetTaxonomyRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_GetTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
@@ -344,11 +312,8 @@ public com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest result =
-          new com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest result = new com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -364,39 +329,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.GetTaxonomyReque
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest)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.datacatalog.v1beta1.GetTaxonomyRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest.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,27 +420,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. Resource name of the requested taxonomy.
      * 
* - * - * string name = 1 [(.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,23 +444,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Resource name of the requested taxonomy.
      * 
* - * - * string name = 1 [(.google.api.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,39 +465,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Resource name of the requested taxonomy.
      * 
* - * - * string name = 1 [(.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. Resource name of the requested taxonomy.
      * 
* - * - * string 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() { @@ -554,32 +496,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Resource name of the requested taxonomy.
      * 
* - * - * string name = 1 [(.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); } @@ -589,12 +525,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.GetTaxonomyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.GetTaxonomyRequest) private static final com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest(); } @@ -603,27 +539,27 @@ public static com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTaxonomyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTaxonomyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -638,4 +574,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequestOrBuilder.java new file mode 100644 index 000000000000..583f9af7456e --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/policytagmanager.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface GetTaxonomyRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.GetTaxonomyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Resource name of the requested taxonomy.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Resource name of the requested taxonomy.
+   * 
+ * + * 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequest.java similarity index 63% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequest.java index d9e87ebf3e56..3efb7e4f0458 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [ImportTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ImportTaxonomies].
@@ -28,54 +11,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest}
  */
-public final class ImportTaxonomiesRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ImportTaxonomiesRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest)
     ImportTaxonomiesRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ImportTaxonomiesRequest.newBuilder() to construct.
   private ImportTaxonomiesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ImportTaxonomiesRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ImportTaxonomiesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
-        .internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
-        .internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest.class,
-            com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest.class, com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest.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 {
     INLINE_SOURCE(2),
     SOURCE_NOT_SET(0);
     private final int value;
-
     private SourceCase(int value) {
       this.value = value;
     }
@@ -91,40 +68,32 @@ public static SourceCase valueOf(int value) {
 
     public static SourceCase forNumber(int value) {
       switch (value) {
-        case 2:
-          return INLINE_SOURCE;
-        case 0:
-          return SOURCE_NOT_SET;
-        default:
-          return null;
+        case 2: return INLINE_SOURCE;
+        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 PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
-   * Required. Resource name of project that the newly created taxonomies will
-   * belong to.
+   * Required. Resource name of project that the imported taxonomies will belong
+   * to.
    * 
* - * - * string parent = 1 [(.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 @@ -133,32 +102,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. Resource name of project that the newly created taxonomies will
-   * belong to.
+   * Required. Resource name of project that the imported taxonomies will belong
+   * to.
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -168,14 +135,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int INLINE_SOURCE_FIELD_NUMBER = 2; /** - * - * *
-   * Inline source used for taxonomies import
+   * Inline source used for taxonomies to be imported.
    * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; - * * @return Whether the inlineSource field is set. */ @java.lang.Override @@ -183,28 +147,23 @@ public boolean hasInlineSource() { return sourceCase_ == 2; } /** - * - * *
-   * Inline source used for taxonomies import
+   * Inline source used for taxonomies to be imported.
    * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; - * * @return The inlineSource. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.InlineSource getInlineSource() { if (sourceCase_ == 2) { - return (com.google.cloud.datacatalog.v1beta1.InlineSource) source_; + return (com.google.cloud.datacatalog.v1beta1.InlineSource) source_; } return com.google.cloud.datacatalog.v1beta1.InlineSource.getDefaultInstance(); } /** - * - * *
-   * Inline source used for taxonomies import
+   * Inline source used for taxonomies to be imported.
    * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; @@ -212,13 +171,12 @@ public com.google.cloud.datacatalog.v1beta1.InlineSource getInlineSource() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.InlineSourceOrBuilder getInlineSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.cloud.datacatalog.v1beta1.InlineSource) source_; + return (com.google.cloud.datacatalog.v1beta1.InlineSource) source_; } return com.google.cloud.datacatalog.v1beta1.InlineSource.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -230,7 +188,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -250,9 +209,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.datacatalog.v1beta1.InlineSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.datacatalog.v1beta1.InlineSource) source_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -262,19 +220,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.datacatalog.v1beta1.ImportTaxonomiesRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest other = - (com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest) obj; + com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest other = (com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getInlineSource().equals(other.getInlineSource())) return false; + if (!getInlineSource() + .equals(other.getInlineSource())) return false; break; case 0: default: @@ -306,104 +265,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [ImportTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ImportTaxonomies].
@@ -411,32 +364,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest)
       com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest.class,
-              com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest.class, com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -451,14 +405,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest
-        getDefaultInstanceForType() {
+    public com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest getDefaultInstanceForType() {
       return com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest.getDefaultInstance();
     }
 
@@ -473,29 +426,25 @@ public com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest result =
-          new com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest result = new com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest result) {
+    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
       }
     }
 
-    private void buildPartialOneofs(
-        com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest result) {
+    private void buildPartialOneofs(com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest result) {
       result.sourceCase_ = sourceCase_;
       result.source_ = this.source_;
-      if (sourceCase_ == 2 && inlineSourceBuilder_ != null) {
+      if (sourceCase_ == 2 &&
+          inlineSourceBuilder_ != null) {
         result.source_ = inlineSourceBuilder_.build();
       }
     }
@@ -504,39 +453,38 @@ private void buildPartialOneofs(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -544,24 +492,20 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest other) {
-      if (other
-          == com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
         onChanged();
       }
       switch (other.getSourceCase()) {
-        case INLINE_SOURCE:
-          {
-            mergeInlineSource(other.getInlineSource());
-            break;
-          }
-        case SOURCE_NOT_SET:
-          {
-            break;
-          }
+        case INLINE_SOURCE: {
+          mergeInlineSource(other.getInlineSource());
+          break;
+        }
+        case SOURCE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -589,25 +533,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getInlineSourceFieldBuilder().getBuilder(), extensionRegistry);
-                sourceCase_ = 2;
-                break;
-              } // case 18
-            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(
+                  getInlineSourceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              sourceCase_ = 2;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -617,12 +560,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() {
@@ -636,23 +579,19 @@ public Builder clearSource() {
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
-     * Required. Resource name of project that the newly created taxonomies will
-     * belong to.
+     * Required. Resource name of project that the imported taxonomies will belong
+     * to.
      * 
* - * - * string parent = 1 [(.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; @@ -661,24 +600,21 @@ public java.lang.String getParent() { } } /** - * - * *
-     * Required. Resource name of project that the newly created taxonomies will
-     * belong to.
+     * Required. Resource name of project that the imported taxonomies will belong
+     * to.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -686,41 +622,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
-     * Required. Resource name of project that the newly created taxonomies will
-     * belong to.
+     * Required. Resource name of project that the imported taxonomies will belong
+     * to.
      * 
* - * - * 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. Resource name of project that the newly created taxonomies will
-     * belong to.
+     * Required. Resource name of project that the imported taxonomies will belong
+     * to.
      * 
* - * - * string 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() { @@ -730,24 +655,18 @@ public Builder clearParent() { return this; } /** - * - * *
-     * Required. Resource name of project that the newly created taxonomies will
-     * belong to.
+     * Required. Resource name of project that the imported taxonomies will belong
+     * to.
      * 
* - * - * 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,19 +675,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.InlineSource, - com.google.cloud.datacatalog.v1beta1.InlineSource.Builder, - com.google.cloud.datacatalog.v1beta1.InlineSourceOrBuilder> - inlineSourceBuilder_; + com.google.cloud.datacatalog.v1beta1.InlineSource, com.google.cloud.datacatalog.v1beta1.InlineSource.Builder, com.google.cloud.datacatalog.v1beta1.InlineSourceOrBuilder> inlineSourceBuilder_; /** - * - * *
-     * Inline source used for taxonomies import
+     * Inline source used for taxonomies to be imported.
      * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; - * * @return Whether the inlineSource field is set. */ @java.lang.Override @@ -776,14 +689,11 @@ public boolean hasInlineSource() { return sourceCase_ == 2; } /** - * - * *
-     * Inline source used for taxonomies import
+     * Inline source used for taxonomies to be imported.
      * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; - * * @return The inlineSource. */ @java.lang.Override @@ -801,10 +711,8 @@ public com.google.cloud.datacatalog.v1beta1.InlineSource getInlineSource() { } } /** - * - * *
-     * Inline source used for taxonomies import
+     * Inline source used for taxonomies to be imported.
      * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; @@ -823,10 +731,8 @@ public Builder setInlineSource(com.google.cloud.datacatalog.v1beta1.InlineSource return this; } /** - * - * *
-     * Inline source used for taxonomies import
+     * Inline source used for taxonomies to be imported.
      * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; @@ -843,23 +749,18 @@ public Builder setInlineSource( return this; } /** - * - * *
-     * Inline source used for taxonomies import
+     * Inline source used for taxonomies to be imported.
      * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; */ public Builder mergeInlineSource(com.google.cloud.datacatalog.v1beta1.InlineSource value) { if (inlineSourceBuilder_ == null) { - if (sourceCase_ == 2 - && source_ != com.google.cloud.datacatalog.v1beta1.InlineSource.getDefaultInstance()) { - source_ = - com.google.cloud.datacatalog.v1beta1.InlineSource.newBuilder( - (com.google.cloud.datacatalog.v1beta1.InlineSource) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 2 && + source_ != com.google.cloud.datacatalog.v1beta1.InlineSource.getDefaultInstance()) { + source_ = com.google.cloud.datacatalog.v1beta1.InlineSource.newBuilder((com.google.cloud.datacatalog.v1beta1.InlineSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -875,10 +776,8 @@ public Builder mergeInlineSource(com.google.cloud.datacatalog.v1beta1.InlineSour return this; } /** - * - * *
-     * Inline source used for taxonomies import
+     * Inline source used for taxonomies to be imported.
      * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; @@ -900,10 +799,8 @@ public Builder clearInlineSource() { return this; } /** - * - * *
-     * Inline source used for taxonomies import
+     * Inline source used for taxonomies to be imported.
      * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; @@ -912,10 +809,8 @@ public com.google.cloud.datacatalog.v1beta1.InlineSource.Builder getInlineSource return getInlineSourceFieldBuilder().getBuilder(); } /** - * - * *
-     * Inline source used for taxonomies import
+     * Inline source used for taxonomies to be imported.
      * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; @@ -932,28 +827,21 @@ public com.google.cloud.datacatalog.v1beta1.InlineSourceOrBuilder getInlineSourc } } /** - * - * *
-     * Inline source used for taxonomies import
+     * Inline source used for taxonomies to be imported.
      * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.InlineSource, - com.google.cloud.datacatalog.v1beta1.InlineSource.Builder, - com.google.cloud.datacatalog.v1beta1.InlineSourceOrBuilder> + com.google.cloud.datacatalog.v1beta1.InlineSource, com.google.cloud.datacatalog.v1beta1.InlineSource.Builder, com.google.cloud.datacatalog.v1beta1.InlineSourceOrBuilder> getInlineSourceFieldBuilder() { if (inlineSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { source_ = com.google.cloud.datacatalog.v1beta1.InlineSource.getDefaultInstance(); } - inlineSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.InlineSource, - com.google.cloud.datacatalog.v1beta1.InlineSource.Builder, - com.google.cloud.datacatalog.v1beta1.InlineSourceOrBuilder>( + inlineSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.InlineSource, com.google.cloud.datacatalog.v1beta1.InlineSource.Builder, com.google.cloud.datacatalog.v1beta1.InlineSourceOrBuilder>( (com.google.cloud.datacatalog.v1beta1.InlineSource) source_, getParentForChildren(), isClean()); @@ -963,9 +851,9 @@ public com.google.cloud.datacatalog.v1beta1.InlineSourceOrBuilder getInlineSourc onChanged(); return inlineSourceBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -975,13 +863,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest) - private static final com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest(); } @@ -990,27 +877,27 @@ public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportTaxonomiesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportTaxonomiesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,4 +912,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequestOrBuilder.java new file mode 100644 index 000000000000..ed7611c26e53 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequestOrBuilder.java @@ -0,0 +1,60 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface ImportTaxonomiesRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Resource name of project that the imported taxonomies will belong
+   * to.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. Resource name of project that the imported taxonomies will belong
+   * to.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Inline source used for taxonomies to be imported.
+   * 
+ * + * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; + * @return Whether the inlineSource field is set. + */ + boolean hasInlineSource(); + /** + *
+   * Inline source used for taxonomies to be imported.
+   * 
+ * + * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; + * @return The inlineSource. + */ + com.google.cloud.datacatalog.v1beta1.InlineSource getInlineSource(); + /** + *
+   * Inline source used for taxonomies to be imported.
+   * 
+ * + * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; + */ + com.google.cloud.datacatalog.v1beta1.InlineSourceOrBuilder getInlineSourceOrBuilder(); + + com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest.SourceCase getSourceCase(); +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponse.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponse.java similarity index 70% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponse.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponse.java index 22b13bf4bcd4..abaad39654db 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponse.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Response message for
  * [ImportTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ImportTaxonomies].
@@ -28,48 +11,43 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse}
  */
-public final class ImportTaxonomiesResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ImportTaxonomiesResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse)
     ImportTaxonomiesResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ImportTaxonomiesResponse.newBuilder() to construct.
   private ImportTaxonomiesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ImportTaxonomiesResponse() {
     taxonomies_ = 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 ImportTaxonomiesResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
-        .internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
-        .internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse.class,
-            com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse.class, com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse.Builder.class);
   }
 
   public static final int TAXONOMIES_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List taxonomies_;
   /**
-   *
-   *
    * 
    * Taxonomies that were imported.
    * 
@@ -81,8 +59,6 @@ public java.util.List getTaxonomi return taxonomies_; } /** - * - * *
    * Taxonomies that were imported.
    * 
@@ -90,13 +66,11 @@ public java.util.List getTaxonomi * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTaxonomiesOrBuilderList() { return taxonomies_; } /** - * - * *
    * Taxonomies that were imported.
    * 
@@ -108,8 +82,6 @@ public int getTaxonomiesCount() { return taxonomies_.size(); } /** - * - * *
    * Taxonomies that were imported.
    * 
@@ -121,8 +93,6 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomies(int index) { return taxonomies_.get(index); } /** - * - * *
    * Taxonomies that were imported.
    * 
@@ -130,12 +100,12 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomies(int index) { * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomiesOrBuilder(int index) { + public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomiesOrBuilder( + int index) { return taxonomies_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,7 +117,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < taxonomies_.size(); i++) { output.writeMessage(1, taxonomies_.get(i)); } @@ -161,7 +132,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < taxonomies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, taxonomies_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, taxonomies_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -171,15 +143,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse other = - (com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse) obj; + com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse other = (com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse) obj; - if (!getTaxonomiesList().equals(other.getTaxonomiesList())) return false; + if (!getTaxonomiesList() + .equals(other.getTaxonomiesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -201,104 +173,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for
    * [ImportTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ImportTaxonomies].
@@ -306,32 +272,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse)
       com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse.class,
-              com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse.class, com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -347,14 +314,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse
-        getDefaultInstanceForType() {
+    public com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse getDefaultInstanceForType() {
       return com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse.getDefaultInstance();
     }
 
@@ -369,18 +335,14 @@ public com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse result =
-          new com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse(this);
+      com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse result = new com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse result) {
+    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse result) {
       if (taxonomiesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           taxonomies_ = java.util.Collections.unmodifiableList(taxonomies_);
@@ -392,8 +354,7 @@ private void buildPartialRepeatedFields(
       }
     }
 
-    private void buildPartial0(
-        com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse result) {
+    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse result) {
       int from_bitField0_ = bitField0_;
     }
 
@@ -401,39 +362,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.datacatalog.v1beta1.ImportTaxonomiesResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -441,9 +401,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse other) {
-      if (other
-          == com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse.getDefaultInstance()) return this;
       if (taxonomiesBuilder_ == null) {
         if (!other.taxonomies_.isEmpty()) {
           if (taxonomies_.isEmpty()) {
@@ -462,10 +420,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRe
             taxonomiesBuilder_ = null;
             taxonomies_ = other.taxonomies_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            taxonomiesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getTaxonomiesFieldBuilder()
-                    : null;
+            taxonomiesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getTaxonomiesFieldBuilder() : null;
           } else {
             taxonomiesBuilder_.addAllMessages(other.taxonomies_);
           }
@@ -497,26 +454,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.datacatalog.v1beta1.Taxonomy m =
-                    input.readMessage(
-                        com.google.cloud.datacatalog.v1beta1.Taxonomy.parser(), extensionRegistry);
-                if (taxonomiesBuilder_ == null) {
-                  ensureTaxonomiesIsMutable();
-                  taxonomies_.add(m);
-                } else {
-                  taxonomiesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.cloud.datacatalog.v1beta1.Taxonomy m =
+                  input.readMessage(
+                      com.google.cloud.datacatalog.v1beta1.Taxonomy.parser(),
+                      extensionRegistry);
+              if (taxonomiesBuilder_ == null) {
+                ensureTaxonomiesIsMutable();
+                taxonomies_.add(m);
+              } else {
+                taxonomiesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -526,29 +482,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List taxonomies_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureTaxonomiesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        taxonomies_ =
-            new java.util.ArrayList(taxonomies_);
+        taxonomies_ = new java.util.ArrayList(taxonomies_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.datacatalog.v1beta1.Taxonomy,
-            com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder,
-            com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder>
-        taxonomiesBuilder_;
+        com.google.cloud.datacatalog.v1beta1.Taxonomy, com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder> taxonomiesBuilder_;
 
     /**
-     *
-     *
      * 
      * Taxonomies that were imported.
      * 
@@ -563,8 +511,6 @@ public java.util.List getTaxonomi } } /** - * - * *
      * Taxonomies that were imported.
      * 
@@ -579,8 +525,6 @@ public int getTaxonomiesCount() { } } /** - * - * *
      * Taxonomies that were imported.
      * 
@@ -595,15 +539,14 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomies(int index) { } } /** - * - * *
      * Taxonomies that were imported.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - public Builder setTaxonomies(int index, com.google.cloud.datacatalog.v1beta1.Taxonomy value) { + public Builder setTaxonomies( + int index, com.google.cloud.datacatalog.v1beta1.Taxonomy value) { if (taxonomiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -617,8 +560,6 @@ public Builder setTaxonomies(int index, com.google.cloud.datacatalog.v1beta1.Tax return this; } /** - * - * *
      * Taxonomies that were imported.
      * 
@@ -637,8 +578,6 @@ public Builder setTaxonomies( return this; } /** - * - * *
      * Taxonomies that were imported.
      * 
@@ -659,15 +598,14 @@ public Builder addTaxonomies(com.google.cloud.datacatalog.v1beta1.Taxonomy value return this; } /** - * - * *
      * Taxonomies that were imported.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - public Builder addTaxonomies(int index, com.google.cloud.datacatalog.v1beta1.Taxonomy value) { + public Builder addTaxonomies( + int index, com.google.cloud.datacatalog.v1beta1.Taxonomy value) { if (taxonomiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -681,8 +619,6 @@ public Builder addTaxonomies(int index, com.google.cloud.datacatalog.v1beta1.Tax return this; } /** - * - * *
      * Taxonomies that were imported.
      * 
@@ -701,8 +637,6 @@ public Builder addTaxonomies( return this; } /** - * - * *
      * Taxonomies that were imported.
      * 
@@ -721,8 +655,6 @@ public Builder addTaxonomies( return this; } /** - * - * *
      * Taxonomies that were imported.
      * 
@@ -733,7 +665,8 @@ public Builder addAllTaxonomies( java.lang.Iterable values) { if (taxonomiesBuilder_ == null) { ensureTaxonomiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taxonomies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, taxonomies_); onChanged(); } else { taxonomiesBuilder_.addAllMessages(values); @@ -741,8 +674,6 @@ public Builder addAllTaxonomies( return this; } /** - * - * *
      * Taxonomies that were imported.
      * 
@@ -760,8 +691,6 @@ public Builder clearTaxonomies() { return this; } /** - * - * *
      * Taxonomies that were imported.
      * 
@@ -779,20 +708,17 @@ public Builder removeTaxonomies(int index) { return this; } /** - * - * *
      * Taxonomies that were imported.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder getTaxonomiesBuilder(int index) { + public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder getTaxonomiesBuilder( + int index) { return getTaxonomiesFieldBuilder().getBuilder(index); } /** - * - * *
      * Taxonomies that were imported.
      * 
@@ -802,22 +728,19 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder getTaxonomiesBuilde public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomiesOrBuilder( int index) { if (taxonomiesBuilder_ == null) { - return taxonomies_.get(index); - } else { + return taxonomies_.get(index); } else { return taxonomiesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Taxonomies that were imported.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - public java.util.List - getTaxonomiesOrBuilderList() { + public java.util.List + getTaxonomiesOrBuilderList() { if (taxonomiesBuilder_ != null) { return taxonomiesBuilder_.getMessageOrBuilderList(); } else { @@ -825,8 +748,6 @@ public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomiesOrBui } } /** - * - * *
      * Taxonomies that were imported.
      * 
@@ -834,55 +755,49 @@ public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomiesOrBui * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder addTaxonomiesBuilder() { - return getTaxonomiesFieldBuilder() - .addBuilder(com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance()); + return getTaxonomiesFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance()); } /** - * - * *
      * Taxonomies that were imported.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder addTaxonomiesBuilder(int index) { - return getTaxonomiesFieldBuilder() - .addBuilder(index, com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance()); + public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder addTaxonomiesBuilder( + int index) { + return getTaxonomiesFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance()); } /** - * - * *
      * Taxonomies that were imported.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - public java.util.List - getTaxonomiesBuilderList() { + public java.util.List + getTaxonomiesBuilderList() { return getTaxonomiesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Taxonomy, - com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, - com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder> + com.google.cloud.datacatalog.v1beta1.Taxonomy, com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder> getTaxonomiesFieldBuilder() { if (taxonomiesBuilder_ == null) { - taxonomiesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Taxonomy, - com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, - com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder>( - taxonomies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + taxonomiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.Taxonomy, com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder>( + taxonomies_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); taxonomies_ = null; } return taxonomiesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -892,13 +807,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse) - private static final com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse(); } @@ -907,27 +821,27 @@ public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportTaxonomiesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportTaxonomiesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -942,4 +856,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponseOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponseOrBuilder.java similarity index 65% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponseOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponseOrBuilder.java index 057967288e51..7d85eec1f9ff 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponseOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1beta1; -public interface ImportTaxonomiesResponseOrBuilder - extends +public interface ImportTaxonomiesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Taxonomies that were imported.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - java.util.List getTaxonomiesList(); + java.util.List + getTaxonomiesList(); /** - * - * *
    * Taxonomies that were imported.
    * 
@@ -44,8 +25,6 @@ public interface ImportTaxonomiesResponseOrBuilder */ com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomies(int index); /** - * - * *
    * Taxonomies that were imported.
    * 
@@ -54,24 +33,21 @@ public interface ImportTaxonomiesResponseOrBuilder */ int getTaxonomiesCount(); /** - * - * *
    * Taxonomies that were imported.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - java.util.List + java.util.List getTaxonomiesOrBuilderList(); /** - * - * *
    * Taxonomies that were imported.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomiesOrBuilder(int index); + com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomiesOrBuilder( + int index); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSource.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSource.java similarity index 61% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSource.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSource.java index 0e16f1b4251f..76adc39ec6bd 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSource.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSource.java @@ -1,143 +1,102 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Inline source used for taxonomies import.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.InlineSource} */ -public final class InlineSource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class InlineSource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.InlineSource) InlineSourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use InlineSource.newBuilder() to construct. private InlineSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InlineSource() { taxonomies_ = 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 InlineSource(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto - .internal_static_google_cloud_datacatalog_v1beta1_InlineSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_InlineSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto - .internal_static_google_cloud_datacatalog_v1beta1_InlineSource_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_InlineSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.InlineSource.class, - com.google.cloud.datacatalog.v1beta1.InlineSource.Builder.class); + com.google.cloud.datacatalog.v1beta1.InlineSource.class, com.google.cloud.datacatalog.v1beta1.InlineSource.Builder.class); } public static final int TAXONOMIES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List taxonomies_; /** - * - * *
    * Required. Taxonomies to be imported.
    * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List - getTaxonomiesList() { + public java.util.List getTaxonomiesList() { return taxonomies_; } /** - * - * *
    * Required. Taxonomies to be imported.
    * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getTaxonomiesOrBuilderList() { return taxonomies_; } /** - * - * *
    * Required. Taxonomies to be imported.
    * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getTaxonomiesCount() { return taxonomies_.size(); } /** - * - * *
    * Required. Taxonomies to be imported.
    * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy getTaxonomies(int index) { return taxonomies_.get(index); } /** - * - * *
    * Required. Taxonomies to be imported.
    * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder getTaxonomiesOrBuilder( @@ -146,7 +105,6 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder getTaxon } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -158,7 +116,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < taxonomies_.size(); i++) { output.writeMessage(1, taxonomies_.get(i)); } @@ -172,7 +131,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < taxonomies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, taxonomies_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, taxonomies_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -182,15 +142,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1beta1.InlineSource)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.InlineSource other = - (com.google.cloud.datacatalog.v1beta1.InlineSource) obj; + com.google.cloud.datacatalog.v1beta1.InlineSource other = (com.google.cloud.datacatalog.v1beta1.InlineSource) obj; - if (!getTaxonomiesList().equals(other.getTaxonomiesList())) return false; + if (!getTaxonomiesList() + .equals(other.getTaxonomiesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -212,135 +172,131 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.InlineSource parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.InlineSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.InlineSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.InlineSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.InlineSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.InlineSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.InlineSource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.InlineSource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.InlineSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.InlineSource parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.InlineSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.InlineSource parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.InlineSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.InlineSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.InlineSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Inline source used for taxonomies import.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.InlineSource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.InlineSource) com.google.cloud.datacatalog.v1beta1.InlineSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto - .internal_static_google_cloud_datacatalog_v1beta1_InlineSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_InlineSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto - .internal_static_google_cloud_datacatalog_v1beta1_InlineSource_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_InlineSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.InlineSource.class, - com.google.cloud.datacatalog.v1beta1.InlineSource.Builder.class); + com.google.cloud.datacatalog.v1beta1.InlineSource.class, com.google.cloud.datacatalog.v1beta1.InlineSource.Builder.class); } // Construct using com.google.cloud.datacatalog.v1beta1.InlineSource.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.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 +312,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto - .internal_static_google_cloud_datacatalog_v1beta1_InlineSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_InlineSource_descriptor; } @java.lang.Override @@ -377,18 +333,14 @@ public com.google.cloud.datacatalog.v1beta1.InlineSource build() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.InlineSource buildPartial() { - com.google.cloud.datacatalog.v1beta1.InlineSource result = - new com.google.cloud.datacatalog.v1beta1.InlineSource(this); + com.google.cloud.datacatalog.v1beta1.InlineSource result = new com.google.cloud.datacatalog.v1beta1.InlineSource(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.datacatalog.v1beta1.InlineSource result) { + private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.InlineSource result) { if (taxonomiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { taxonomies_ = java.util.Collections.unmodifiableList(taxonomies_); @@ -408,39 +360,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.InlineSource 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.datacatalog.v1beta1.InlineSource) { - return mergeFrom((com.google.cloud.datacatalog.v1beta1.InlineSource) other); + return mergeFrom((com.google.cloud.datacatalog.v1beta1.InlineSource)other); } else { super.mergeFrom(other); return this; @@ -448,8 +399,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.InlineSource other) { - if (other == com.google.cloud.datacatalog.v1beta1.InlineSource.getDefaultInstance()) - return this; + if (other == com.google.cloud.datacatalog.v1beta1.InlineSource.getDefaultInstance()) return this; if (taxonomiesBuilder_ == null) { if (!other.taxonomies_.isEmpty()) { if (taxonomies_.isEmpty()) { @@ -468,10 +418,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.InlineSource other taxonomiesBuilder_ = null; taxonomies_ = other.taxonomies_; bitField0_ = (bitField0_ & ~0x00000001); - taxonomiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTaxonomiesFieldBuilder() - : null; + taxonomiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTaxonomiesFieldBuilder() : null; } else { taxonomiesBuilder_.addAllMessages(other.taxonomies_); } @@ -503,27 +452,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy m = - input.readMessage( - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.parser(), - extensionRegistry); - if (taxonomiesBuilder_ == null) { - ensureTaxonomiesIsMutable(); - taxonomies_.add(m); - } else { - taxonomiesBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy m = + input.readMessage( + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.parser(), + extensionRegistry); + if (taxonomiesBuilder_ == null) { + ensureTaxonomiesIsMutable(); + taxonomies_.add(m); + } else { + taxonomiesBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -533,40 +480,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List taxonomies_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTaxonomiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - taxonomies_ = - new java.util.ArrayList( - taxonomies_); + taxonomies_ = new java.util.ArrayList(taxonomies_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy, - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder, - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder> - taxonomiesBuilder_; + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder> taxonomiesBuilder_; /** - * - * *
      * Required. Taxonomies to be imported.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getTaxonomiesList() { + public java.util.List getTaxonomiesList() { if (taxonomiesBuilder_ == null) { return java.util.Collections.unmodifiableList(taxonomies_); } else { @@ -574,15 +509,11 @@ private void ensureTaxonomiesIsMutable() { } } /** - * - * *
      * Required. Taxonomies to be imported.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ public int getTaxonomiesCount() { if (taxonomiesBuilder_ == null) { @@ -592,15 +523,11 @@ public int getTaxonomiesCount() { } } /** - * - * *
      * Required. Taxonomies to be imported.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy getTaxonomies(int index) { if (taxonomiesBuilder_ == null) { @@ -610,15 +537,11 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy getTaxonomies(int } } /** - * - * *
      * Required. Taxonomies to be imported.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTaxonomies( int index, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy value) { @@ -635,19 +558,14 @@ public Builder setTaxonomies( return this; } /** - * - * *
      * Required. Taxonomies to be imported.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTaxonomies( - int index, - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder builderForValue) { + int index, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder builderForValue) { if (taxonomiesBuilder_ == null) { ensureTaxonomiesIsMutable(); taxonomies_.set(index, builderForValue.build()); @@ -658,15 +576,11 @@ public Builder setTaxonomies( return this; } /** - * - * *
      * Required. Taxonomies to be imported.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addTaxonomies(com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy value) { if (taxonomiesBuilder_ == null) { @@ -682,15 +596,11 @@ public Builder addTaxonomies(com.google.cloud.datacatalog.v1beta1.SerializedTaxo return this; } /** - * - * *
      * Required. Taxonomies to be imported.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addTaxonomies( int index, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy value) { @@ -707,15 +617,11 @@ public Builder addTaxonomies( return this; } /** - * - * *
      * Required. Taxonomies to be imported.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addTaxonomies( com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder builderForValue) { @@ -729,19 +635,14 @@ public Builder addTaxonomies( return this; } /** - * - * *
      * Required. Taxonomies to be imported.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addTaxonomies( - int index, - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder builderForValue) { + int index, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder builderForValue) { if (taxonomiesBuilder_ == null) { ensureTaxonomiesIsMutable(); taxonomies_.add(index, builderForValue.build()); @@ -752,22 +653,18 @@ public Builder addTaxonomies( return this; } /** - * - * *
      * Required. Taxonomies to be imported.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllTaxonomies( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (taxonomiesBuilder_ == null) { ensureTaxonomiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taxonomies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, taxonomies_); onChanged(); } else { taxonomiesBuilder_.addAllMessages(values); @@ -775,15 +672,11 @@ public Builder addAllTaxonomies( return this; } /** - * - * *
      * Required. Taxonomies to be imported.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTaxonomies() { if (taxonomiesBuilder_ == null) { @@ -796,15 +689,11 @@ public Builder clearTaxonomies() { return this; } /** - * - * *
      * Required. Taxonomies to be imported.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeTaxonomies(int index) { if (taxonomiesBuilder_ == null) { @@ -817,53 +706,39 @@ public Builder removeTaxonomies(int index) { return this; } /** - * - * *
      * Required. Taxonomies to be imported.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder getTaxonomiesBuilder( int index) { return getTaxonomiesFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. Taxonomies to be imported.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder getTaxonomiesOrBuilder( int index) { if (taxonomiesBuilder_ == null) { - return taxonomies_.get(index); - } else { + return taxonomies_.get(index); } else { return taxonomiesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. Taxonomies to be imported.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List< - ? extends com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder> - getTaxonomiesOrBuilderList() { + public java.util.List + getTaxonomiesOrBuilderList() { if (taxonomiesBuilder_ != null) { return taxonomiesBuilder_.getMessageOrBuilderList(); } else { @@ -871,72 +746,56 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder getTaxon } } /** - * - * *
      * Required. Taxonomies to be imported.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder addTaxonomiesBuilder() { - return getTaxonomiesFieldBuilder() - .addBuilder(com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.getDefaultInstance()); + return getTaxonomiesFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.getDefaultInstance()); } /** - * - * *
      * Required. Taxonomies to be imported.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder addTaxonomiesBuilder( int index) { - return getTaxonomiesFieldBuilder() - .addBuilder( - index, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.getDefaultInstance()); + return getTaxonomiesFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.getDefaultInstance()); } /** - * - * *
      * Required. Taxonomies to be imported.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getTaxonomiesBuilderList() { + public java.util.List + getTaxonomiesBuilderList() { return getTaxonomiesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy, - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder, - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder> + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder> getTaxonomiesFieldBuilder() { if (taxonomiesBuilder_ == null) { - taxonomiesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy, - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder, - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder>( - taxonomies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + taxonomiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder>( + taxonomies_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); taxonomies_ = null; } return taxonomiesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -946,12 +805,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.InlineSource) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.InlineSource) private static final com.google.cloud.datacatalog.v1beta1.InlineSource DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.InlineSource(); } @@ -960,27 +819,27 @@ public static com.google.cloud.datacatalog.v1beta1.InlineSource getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InlineSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InlineSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -995,4 +854,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.InlineSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSourceOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSourceOrBuilder.java new file mode 100644 index 000000000000..5aafff61ceb7 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSourceOrBuilder.java @@ -0,0 +1,53 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface InlineSourceOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.InlineSource) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Taxonomies to be imported.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + java.util.List + getTaxonomiesList(); + /** + *
+   * Required. Taxonomies to be imported.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy getTaxonomies(int index); + /** + *
+   * Required. Taxonomies to be imported.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + int getTaxonomiesCount(); + /** + *
+   * Required. Taxonomies to be imported.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + java.util.List + getTaxonomiesOrBuilderList(); + /** + *
+   * Required. Taxonomies to be imported.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder getTaxonomiesOrBuilder( + int index); +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/IntegratedSystem.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/IntegratedSystem.java similarity index 66% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/IntegratedSystem.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/IntegratedSystem.java index 9d76441b88ff..aeb2fb2583a6 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/IntegratedSystem.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/IntegratedSystem.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/common.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * This enum describes all the possible systems that Data Catalog integrates
  * with.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.cloud.datacatalog.v1beta1.IntegratedSystem}
  */
-public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum {
+public enum IntegratedSystem
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Default unknown system.
    * 
@@ -40,8 +22,6 @@ public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum */ INTEGRATED_SYSTEM_UNSPECIFIED(0), /** - * - * *
    * BigQuery.
    * 
@@ -50,8 +30,6 @@ public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum */ BIGQUERY(1), /** - * - * *
    * Cloud Pub/Sub.
    * 
@@ -63,8 +41,6 @@ public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
    * Default unknown system.
    * 
@@ -73,8 +49,6 @@ public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum */ public static final int INTEGRATED_SYSTEM_UNSPECIFIED_VALUE = 0; /** - * - * *
    * BigQuery.
    * 
@@ -83,8 +57,6 @@ public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum */ public static final int BIGQUERY_VALUE = 1; /** - * - * *
    * Cloud Pub/Sub.
    * 
@@ -93,6 +65,7 @@ public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum */ public static final int CLOUD_PUBSUB_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -117,49 +90,49 @@ public static IntegratedSystem valueOf(int value) { */ public static IntegratedSystem forNumber(int value) { switch (value) { - case 0: - return INTEGRATED_SYSTEM_UNSPECIFIED; - case 1: - return BIGQUERY; - case 2: - return CLOUD_PUBSUB; - default: - return null; + case 0: return INTEGRATED_SYSTEM_UNSPECIFIED; + case 1: return BIGQUERY; + case 2: return CLOUD_PUBSUB; + 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 IntegratedSystem findValueByNumber(int number) { - return IntegratedSystem.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + IntegratedSystem> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public IntegratedSystem findValueByNumber(int number) { + return IntegratedSystem.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.datacatalog.v1beta1.Common.getDescriptor().getEnumTypes().get(0); } private static final IntegratedSystem[] VALUES = values(); - public static IntegratedSystem valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static IntegratedSystem 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; @@ -175,3 +148,4 @@ private IntegratedSystem(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1beta1.IntegratedSystem) } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequest.java similarity index 71% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequest.java index 81715329f26b..9db853b2b46b 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [ListEntries][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntries].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListEntriesRequest}
  */
-public final class ListEntriesRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListEntriesRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ListEntriesRequest)
     ListEntriesRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListEntriesRequest.newBuilder() to construct.
   private ListEntriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListEntriesRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -45,32 +27,28 @@ private ListEntriesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListEntriesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.ListEntriesRequest.class,
-            com.google.cloud.datacatalog.v1beta1.ListEntriesRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.ListEntriesRequest.class, com.google.cloud.datacatalog.v1beta1.ListEntriesRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the entry group that contains the entries, which can
    * be provided in URL format. Example:
@@ -78,10 +56,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
    * 
* - * - * string parent = 1 [(.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 name of the entry group that contains the entries, which can
    * be provided in URL format. Example:
@@ -106,18 +80,17 @@ public java.lang.String getParent() {
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
    * 
* - * - * string parent = 1 [(.google.api.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,15 +101,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * The maximum number of items to return. Default is 10. Max limit is 1000.
    * Throws an invalid argument for `page_size > 1000`.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -145,19 +115,15 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Token that specifies which page is requested. If empty, the first page is
    * returned.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -166,30 +132,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Token that specifies which page is requested. If empty, the first page is
    * returned.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -200,8 +166,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int READ_MASK_FIELD_NUMBER = 4; private com.google.protobuf.FieldMask readMask_; /** - * - * *
    * The fields to return for each Entry. If not set or empty, all
    * fields are returned.
@@ -210,7 +174,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * .google.protobuf.FieldMask read_mask = 4; - * * @return Whether the readMask field is set. */ @java.lang.Override @@ -218,8 +181,6 @@ public boolean hasReadMask() { return readMask_ != null; } /** - * - * *
    * The fields to return for each Entry. If not set or empty, all
    * fields are returned.
@@ -228,7 +189,6 @@ public boolean hasReadMask() {
    * 
* * .google.protobuf.FieldMask read_mask = 4; - * * @return The readMask. */ @java.lang.Override @@ -236,8 +196,6 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** - * - * *
    * The fields to return for each Entry. If not set or empty, all
    * fields are returned.
@@ -253,7 +211,6 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
   }
 
   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_);
     }
@@ -291,13 +249,15 @@ 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_);
     }
     if (readMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getReadMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getReadMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -307,20 +267,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.datacatalog.v1beta1.ListEntriesRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1beta1.ListEntriesRequest other =
-        (com.google.cloud.datacatalog.v1beta1.ListEntriesRequest) obj;
-
-    if (!getParent().equals(other.getParent())) return false;
-    if (getPageSize() != other.getPageSize()) return false;
-    if (!getPageToken().equals(other.getPageToken())) return false;
+    com.google.cloud.datacatalog.v1beta1.ListEntriesRequest other = (com.google.cloud.datacatalog.v1beta1.ListEntriesRequest) obj;
+
+    if (!getParent()
+        .equals(other.getParent())) return false;
+    if (getPageSize()
+        != other.getPageSize()) return false;
+    if (!getPageToken()
+        .equals(other.getPageToken())) return false;
     if (hasReadMask() != other.hasReadMask()) return false;
     if (hasReadMask()) {
-      if (!getReadMask().equals(other.getReadMask())) return false;
+      if (!getReadMask()
+          .equals(other.getReadMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -349,104 +312,98 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.datacatalog.v1beta1.ListEntriesRequest prototype) {
+  public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.ListEntriesRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Request message for
    * [ListEntries][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntries].
@@ -454,32 +411,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListEntriesRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.ListEntriesRequest)
       com.google.cloud.datacatalog.v1beta1.ListEntriesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.ListEntriesRequest.class,
-              com.google.cloud.datacatalog.v1beta1.ListEntriesRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.ListEntriesRequest.class, com.google.cloud.datacatalog.v1beta1.ListEntriesRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.ListEntriesRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -496,9 +454,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -517,11 +475,8 @@ public com.google.cloud.datacatalog.v1beta1.ListEntriesRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.ListEntriesRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.ListEntriesRequest result =
-          new com.google.cloud.datacatalog.v1beta1.ListEntriesRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.ListEntriesRequest result = new com.google.cloud.datacatalog.v1beta1.ListEntriesRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -538,7 +493,9 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ListEntriesReque
         result.pageToken_ = pageToken_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.readMask_ = readMaskBuilder_ == null ? readMask_ : readMaskBuilder_.build();
+        result.readMask_ = readMaskBuilder_ == null
+            ? readMask_
+            : readMaskBuilder_.build();
       }
     }
 
@@ -546,39 +503,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ListEntriesReque
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.ListEntriesRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListEntriesRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListEntriesRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -586,8 +542,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ListEntriesRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.ListEntriesRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.ListEntriesRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -630,37 +585,34 @@ 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:
-              {
-                input.readMessage(getReadMaskFieldBuilder().getBuilder(), extensionRegistry);
-                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: {
+              input.readMessage(
+                  getReadMaskFieldBuilder().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) {
@@ -670,13 +622,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the entry group that contains the entries, which can
      * be provided in URL format. Example:
@@ -684,16 +633,14 @@ public Builder mergeFrom(
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
      * 
* - * - * string parent = 1 [(.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; @@ -702,8 +649,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the entry group that contains the entries, which can
      * be provided in URL format. Example:
@@ -711,17 +656,16 @@ public java.lang.String getParent() {
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
      * 
* - * - * string parent = 1 [(.google.api.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,8 +673,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the entry group that contains the entries, which can
      * be provided in URL format. Example:
@@ -738,25 +680,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the entry group that contains the entries, which can
      * be provided in URL format. Example:
@@ -764,10 +700,7 @@ public Builder setParent(java.lang.String value) {
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
      * 
* - * - * string 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() { @@ -777,8 +710,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the entry group that contains the entries, which can
      * be provided in URL format. Example:
@@ -786,17 +717,13 @@ public Builder clearParent() {
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
      * 
* - * - * 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; @@ -804,17 +731,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return. Default is 10. Max limit is 1000.
      * Throws an invalid argument for `page_size > 1000`.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -822,15 +746,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return. Default is 10. Max limit is 1000.
      * Throws an invalid argument for `page_size > 1000`.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -842,15 +763,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * The maximum number of items to return. Default is 10. Max limit is 1000.
      * Throws an invalid argument for `page_size > 1000`.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -862,21 +780,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Token that specifies which page is requested. If empty, the first page is
      * returned.
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -885,22 +801,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Token that specifies which page is requested. If empty, the first page is
      * returned.
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -908,37 +823,30 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Token that specifies which page is requested. If empty, the first page is
      * returned.
      * 
* * string page_token = 3; - * * @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; } /** - * - * *
      * Token that specifies which page is requested. If empty, the first page is
      * returned.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -948,22 +856,18 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Token that specifies which page is requested. If empty, the first page is
      * returned.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - 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; @@ -973,13 +877,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - readMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; /** - * - * *
      * The fields to return for each Entry. If not set or empty, all
      * fields are returned.
@@ -988,15 +887,12 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.FieldMask read_mask = 4; - * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The fields to return for each Entry. If not set or empty, all
      * fields are returned.
@@ -1005,7 +901,6 @@ public boolean hasReadMask() {
      * 
* * .google.protobuf.FieldMask read_mask = 4; - * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -1016,8 +911,6 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** - * - * *
      * The fields to return for each Entry. If not set or empty, all
      * fields are returned.
@@ -1041,8 +934,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return for each Entry. If not set or empty, all
      * fields are returned.
@@ -1052,7 +943,8 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask read_mask = 4;
      */
-    public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setReadMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (readMaskBuilder_ == null) {
         readMask_ = builderForValue.build();
       } else {
@@ -1063,8 +955,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return for each Entry. If not set or empty, all
      * fields are returned.
@@ -1076,9 +966,9 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue
      */
     public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
       if (readMaskBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && readMask_ != null
-            && readMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          readMask_ != null &&
+          readMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) {
           getReadMaskBuilder().mergeFrom(value);
         } else {
           readMask_ = value;
@@ -1091,8 +981,6 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return for each Entry. If not set or empty, all
      * fields are returned.
@@ -1113,8 +1001,6 @@ public Builder clearReadMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return for each Entry. If not set or empty, all
      * fields are returned.
@@ -1130,8 +1016,6 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
       return getReadMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The fields to return for each Entry. If not set or empty, all
      * fields are returned.
@@ -1145,12 +1029,11 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
       if (readMaskBuilder_ != null) {
         return readMaskBuilder_.getMessageOrBuilder();
       } else {
-        return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_;
+        return readMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : readMask_;
       }
     }
     /**
-     *
-     *
      * 
      * The fields to return for each Entry. If not set or empty, all
      * fields are returned.
@@ -1161,24 +1044,21 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
      * .google.protobuf.FieldMask read_mask = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getReadMaskFieldBuilder() {
       if (readMaskBuilder_ == null) {
-        readMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getReadMask(), getParentForChildren(), isClean());
+        readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getReadMask(),
+                getParentForChildren(),
+                isClean());
         readMask_ = null;
       }
       return readMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1188,12 +1068,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ListEntriesRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ListEntriesRequest)
   private static final com.google.cloud.datacatalog.v1beta1.ListEntriesRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ListEntriesRequest();
   }
@@ -1202,27 +1082,27 @@ public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest getDefault
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ListEntriesRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ListEntriesRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1237,4 +1117,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1beta1.ListEntriesRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequestOrBuilder.java
similarity index 71%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequestOrBuilder.java
rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequestOrBuilder.java
index 64d750259d89..72a7fc7d82e6 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequestOrBuilder.java
+++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequestOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1beta1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1beta1;
 
-public interface ListEntriesRequestOrBuilder
-    extends
+public interface ListEntriesRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ListEntriesRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The name of the entry group that contains the entries, which can
    * be provided in URL format. Example:
@@ -33,16 +15,11 @@ public interface ListEntriesRequestOrBuilder
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the entry group that contains the entries, which can
    * be provided in URL format. Example:
@@ -50,58 +27,46 @@ public interface ListEntriesRequestOrBuilder
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * The maximum number of items to return. Default is 10. Max limit is 1000.
    * Throws an invalid argument for `page_size > 1000`.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Token that specifies which page is requested. If empty, the first page is
    * returned.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Token that specifies which page is requested. If empty, the first page is
    * returned.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The fields to return for each Entry. If not set or empty, all
    * fields are returned.
@@ -110,13 +75,10 @@ public interface ListEntriesRequestOrBuilder
    * 
* * .google.protobuf.FieldMask read_mask = 4; - * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** - * - * *
    * The fields to return for each Entry. If not set or empty, all
    * fields are returned.
@@ -125,13 +87,10 @@ public interface ListEntriesRequestOrBuilder
    * 
* * .google.protobuf.FieldMask read_mask = 4; - * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** - * - * *
    * The fields to return for each Entry. If not set or empty, all
    * fields are returned.
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponse.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponse.java
similarity index 71%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponse.java
rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponse.java
index 871747aca271..9459b761820a 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponse.java
+++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponse.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1beta1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1beta1;
 
 /**
- *
- *
  * 
  * Response message for
  * [ListEntries][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntries].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListEntriesResponse}
  */
-public final class ListEntriesResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListEntriesResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ListEntriesResponse)
     ListEntriesResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListEntriesResponse.newBuilder() to construct.
   private ListEntriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListEntriesResponse() {
     entries_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -45,32 +27,28 @@ private ListEntriesResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListEntriesResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.ListEntriesResponse.class,
-            com.google.cloud.datacatalog.v1beta1.ListEntriesResponse.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.ListEntriesResponse.class, com.google.cloud.datacatalog.v1beta1.ListEntriesResponse.Builder.class);
   }
 
   public static final int ENTRIES_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List entries_;
   /**
-   *
-   *
    * 
    * Entry details.
    * 
@@ -82,8 +60,6 @@ public java.util.List getEntriesList return entries_; } /** - * - * *
    * Entry details.
    * 
@@ -91,13 +67,11 @@ public java.util.List getEntriesList * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1; */ @java.lang.Override - public java.util.List + public java.util.List getEntriesOrBuilderList() { return entries_; } /** - * - * *
    * Entry details.
    * 
@@ -109,8 +83,6 @@ public int getEntriesCount() { return entries_.size(); } /** - * - * *
    * Entry details.
    * 
@@ -122,8 +94,6 @@ public com.google.cloud.datacatalog.v1beta1.Entry getEntries(int index) { return entries_.get(index); } /** - * - * *
    * Entry details.
    * 
@@ -131,24 +101,21 @@ public com.google.cloud.datacatalog.v1beta1.Entry getEntries(int index) { * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntriesOrBuilder(int index) { + public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntriesOrBuilder( + int index) { return entries_.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. It is set to empty if no items
    * remain in results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -157,30 +124,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. It is set to empty if no items
    * remain in results.
    * 
* * 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,7 +156,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +167,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < entries_.size(); i++) { output.writeMessage(1, entries_.get(i)); } @@ -218,7 +185,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < entries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, entries_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, entries_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -231,16 +199,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.datacatalog.v1beta1.ListEntriesResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.ListEntriesResponse other = - (com.google.cloud.datacatalog.v1beta1.ListEntriesResponse) obj; + com.google.cloud.datacatalog.v1beta1.ListEntriesResponse other = (com.google.cloud.datacatalog.v1beta1.ListEntriesResponse) obj; - if (!getEntriesList().equals(other.getEntriesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getEntriesList() + .equals(other.getEntriesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -264,104 +233,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.ListEntriesResponse prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.ListEntriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for
    * [ListEntries][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntries].
@@ -369,32 +332,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListEntriesResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.ListEntriesResponse)
       com.google.cloud.datacatalog.v1beta1.ListEntriesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.ListEntriesResponse.class,
-              com.google.cloud.datacatalog.v1beta1.ListEntriesResponse.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.ListEntriesResponse.class, com.google.cloud.datacatalog.v1beta1.ListEntriesResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.ListEntriesResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -411,9 +375,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_descriptor;
     }
 
     @java.lang.Override
@@ -432,18 +396,14 @@ public com.google.cloud.datacatalog.v1beta1.ListEntriesResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.ListEntriesResponse buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.ListEntriesResponse result =
-          new com.google.cloud.datacatalog.v1beta1.ListEntriesResponse(this);
+      com.google.cloud.datacatalog.v1beta1.ListEntriesResponse result = new com.google.cloud.datacatalog.v1beta1.ListEntriesResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.datacatalog.v1beta1.ListEntriesResponse result) {
+    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.ListEntriesResponse result) {
       if (entriesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           entries_ = java.util.Collections.unmodifiableList(entries_);
@@ -466,39 +426,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ListEntriesRespo
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.ListEntriesResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListEntriesResponse) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListEntriesResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -506,8 +465,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ListEntriesResponse other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.ListEntriesResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.ListEntriesResponse.getDefaultInstance()) return this;
       if (entriesBuilder_ == null) {
         if (!other.entries_.isEmpty()) {
           if (entries_.isEmpty()) {
@@ -526,10 +484,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ListEntriesRespons
             entriesBuilder_ = null;
             entries_ = other.entries_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            entriesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getEntriesFieldBuilder()
-                    : null;
+            entriesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getEntriesFieldBuilder() : null;
           } else {
             entriesBuilder_.addAllMessages(other.entries_);
           }
@@ -566,32 +523,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.datacatalog.v1beta1.Entry m =
-                    input.readMessage(
-                        com.google.cloud.datacatalog.v1beta1.Entry.parser(), extensionRegistry);
-                if (entriesBuilder_ == null) {
-                  ensureEntriesIsMutable();
-                  entries_.add(m);
-                } else {
-                  entriesBuilder_.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.datacatalog.v1beta1.Entry m =
+                  input.readMessage(
+                      com.google.cloud.datacatalog.v1beta1.Entry.parser(),
+                      extensionRegistry);
+              if (entriesBuilder_ == null) {
+                ensureEntriesIsMutable();
+                entries_.add(m);
+              } else {
+                entriesBuilder_.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) {
@@ -601,28 +556,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List entries_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureEntriesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         entries_ = new java.util.ArrayList(entries_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.datacatalog.v1beta1.Entry,
-            com.google.cloud.datacatalog.v1beta1.Entry.Builder,
-            com.google.cloud.datacatalog.v1beta1.EntryOrBuilder>
-        entriesBuilder_;
+        com.google.cloud.datacatalog.v1beta1.Entry, com.google.cloud.datacatalog.v1beta1.Entry.Builder, com.google.cloud.datacatalog.v1beta1.EntryOrBuilder> entriesBuilder_;
 
     /**
-     *
-     *
      * 
      * Entry details.
      * 
@@ -637,8 +585,6 @@ public java.util.List getEntriesList } } /** - * - * *
      * Entry details.
      * 
@@ -653,8 +599,6 @@ public int getEntriesCount() { } } /** - * - * *
      * Entry details.
      * 
@@ -669,15 +613,14 @@ public com.google.cloud.datacatalog.v1beta1.Entry getEntries(int index) { } } /** - * - * *
      * Entry details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1; */ - public Builder setEntries(int index, com.google.cloud.datacatalog.v1beta1.Entry value) { + public Builder setEntries( + int index, com.google.cloud.datacatalog.v1beta1.Entry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -691,8 +634,6 @@ public Builder setEntries(int index, com.google.cloud.datacatalog.v1beta1.Entry return this; } /** - * - * *
      * Entry details.
      * 
@@ -711,8 +652,6 @@ public Builder setEntries( return this; } /** - * - * *
      * Entry details.
      * 
@@ -733,15 +672,14 @@ public Builder addEntries(com.google.cloud.datacatalog.v1beta1.Entry value) { return this; } /** - * - * *
      * Entry details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1; */ - public Builder addEntries(int index, com.google.cloud.datacatalog.v1beta1.Entry value) { + public Builder addEntries( + int index, com.google.cloud.datacatalog.v1beta1.Entry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -755,15 +693,14 @@ public Builder addEntries(int index, com.google.cloud.datacatalog.v1beta1.Entry return this; } /** - * - * *
      * Entry details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1; */ - public Builder addEntries(com.google.cloud.datacatalog.v1beta1.Entry.Builder builderForValue) { + public Builder addEntries( + com.google.cloud.datacatalog.v1beta1.Entry.Builder builderForValue) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.add(builderForValue.build()); @@ -774,8 +711,6 @@ public Builder addEntries(com.google.cloud.datacatalog.v1beta1.Entry.Builder bui return this; } /** - * - * *
      * Entry details.
      * 
@@ -794,8 +729,6 @@ public Builder addEntries( return this; } /** - * - * *
      * Entry details.
      * 
@@ -806,7 +739,8 @@ public Builder addAllEntries( java.lang.Iterable values) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, entries_); onChanged(); } else { entriesBuilder_.addAllMessages(values); @@ -814,8 +748,6 @@ public Builder addAllEntries( return this; } /** - * - * *
      * Entry details.
      * 
@@ -833,8 +765,6 @@ public Builder clearEntries() { return this; } /** - * - * *
      * Entry details.
      * 
@@ -852,44 +782,39 @@ public Builder removeEntries(int index) { return this; } /** - * - * *
      * Entry details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1; */ - public com.google.cloud.datacatalog.v1beta1.Entry.Builder getEntriesBuilder(int index) { + public com.google.cloud.datacatalog.v1beta1.Entry.Builder getEntriesBuilder( + int index) { return getEntriesFieldBuilder().getBuilder(index); } /** - * - * *
      * Entry details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1; */ - public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntriesOrBuilder(int index) { + public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntriesOrBuilder( + int index) { if (entriesBuilder_ == null) { - return entries_.get(index); - } else { + return entries_.get(index); } else { return entriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Entry details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1; */ - public java.util.List - getEntriesOrBuilderList() { + public java.util.List + getEntriesOrBuilderList() { if (entriesBuilder_ != null) { return entriesBuilder_.getMessageOrBuilderList(); } else { @@ -897,8 +822,6 @@ public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntriesOrBuilder(i } } /** - * - * *
      * Entry details.
      * 
@@ -906,48 +829,42 @@ public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntriesOrBuilder(i * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1; */ public com.google.cloud.datacatalog.v1beta1.Entry.Builder addEntriesBuilder() { - return getEntriesFieldBuilder() - .addBuilder(com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance()); + return getEntriesFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance()); } /** - * - * *
      * Entry details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1; */ - public com.google.cloud.datacatalog.v1beta1.Entry.Builder addEntriesBuilder(int index) { - return getEntriesFieldBuilder() - .addBuilder(index, com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance()); + public com.google.cloud.datacatalog.v1beta1.Entry.Builder addEntriesBuilder( + int index) { + return getEntriesFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance()); } /** - * - * *
      * Entry details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1; */ - public java.util.List - getEntriesBuilderList() { + public java.util.List + getEntriesBuilderList() { return getEntriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Entry, - com.google.cloud.datacatalog.v1beta1.Entry.Builder, - com.google.cloud.datacatalog.v1beta1.EntryOrBuilder> + com.google.cloud.datacatalog.v1beta1.Entry, com.google.cloud.datacatalog.v1beta1.Entry.Builder, com.google.cloud.datacatalog.v1beta1.EntryOrBuilder> getEntriesFieldBuilder() { if (entriesBuilder_ == null) { - entriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Entry, - com.google.cloud.datacatalog.v1beta1.Entry.Builder, - com.google.cloud.datacatalog.v1beta1.EntryOrBuilder>( - entries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + entriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.Entry, com.google.cloud.datacatalog.v1beta1.Entry.Builder, com.google.cloud.datacatalog.v1beta1.EntryOrBuilder>( + entries_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); entries_ = null; } return entriesBuilder_; @@ -955,21 +872,19 @@ public com.google.cloud.datacatalog.v1beta1.Entry.Builder addEntriesBuilder(int private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of results. It is set to empty if no items
      * remain in results.
      * 
* * 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 +893,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results. It is set to empty if no items
      * remain in results.
      * 
* * 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 +915,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results. It is set to empty if no items
      * remain in results.
      * 
* * 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. It is set to empty if no items
      * remain in results.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1041,31 +948,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Token to retrieve the next page of results. It is set to empty if no items
      * remain in results.
      * 
* * 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 +978,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ListEntriesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ListEntriesResponse) private static final com.google.cloud.datacatalog.v1beta1.ListEntriesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ListEntriesResponse(); } @@ -1089,27 +992,27 @@ public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEntriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEntriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +1027,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.ListEntriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponseOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponseOrBuilder.java similarity index 66% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponseOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponseOrBuilder.java index e72d0809f5b2..4c5306f4cd91 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponseOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface ListEntriesResponseOrBuilder - extends +public interface ListEntriesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ListEntriesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Entry details.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1; */ - java.util.List getEntriesList(); + java.util.List + getEntriesList(); /** - * - * *
    * Entry details.
    * 
@@ -44,8 +25,6 @@ public interface ListEntriesResponseOrBuilder */ com.google.cloud.datacatalog.v1beta1.Entry getEntries(int index); /** - * - * *
    * Entry details.
    * 
@@ -54,51 +33,43 @@ public interface ListEntriesResponseOrBuilder */ int getEntriesCount(); /** - * - * *
    * Entry details.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1; */ - java.util.List + java.util.List getEntriesOrBuilderList(); /** - * - * *
    * Entry details.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1; */ - com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntriesOrBuilder(int index); + com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntriesOrBuilder( + int index); /** - * - * *
    * Token to retrieve the next page of results. It is set to empty if no items
    * remain in results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results. It is set to empty if no items
    * remain in results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequest.java similarity index 64% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequest.java index 686ab5319828..8e592b40522b 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [ListEntryGroups][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntryGroups].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest}
  */
-public final class ListEntryGroupsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListEntryGroupsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest)
     ListEntryGroupsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListEntryGroupsRequest.newBuilder() to construct.
   private ListEntryGroupsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListEntryGroupsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -45,43 +27,36 @@ private ListEntryGroupsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListEntryGroupsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest.class,
-            com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest.class, com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
-   * Required. The name of the location that contains the entry groups, which can be
-   * provided in URL format. Example:
+   * Required. The name of the location that contains the entry groups, which
+   * can be provided in URL format. Example:
    *
    * * projects/{project_id}/locations/{location}
    * 
* - * - * string parent = 1 [(.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,34 +65,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 name of the location that contains the entry groups, which can be
-   * provided in URL format. Example:
+   * Required. The name of the location that contains the entry groups, which
+   * can be provided in URL format. Example:
    *
    * * projects/{project_id}/locations/{location}
    * 
* - * - * string parent = 1 [(.google.api.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,15 +101,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
-   * Optional. The maximum number of items to return. Default is 10. Max limit is 1000.
-   * Throws an invalid argument for `page_size > 1000`.
+   * Optional. The maximum number of items to return. Default is 10. Max limit
+   * is 1000. Throws an invalid argument for `page_size > 1000`.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -145,19 +115,15 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
-   * Optional. Token that specifies which page is requested. If empty, the first page is
-   * returned.
+   * Optional. Token that specifies which page is requested. If empty, the first
+   * page is returned.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -166,30 +132,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
-   * Optional. Token that specifies which page is requested. If empty, the first page is
-   * returned.
+   * Optional. Token that specifies which page is requested. If empty, the first
+   * page is returned.
    * 
* * 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.datacatalog.v1beta1.ListEntryGroupsRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest other = - (com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest) obj; + com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest other = (com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest) 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,104 +249,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [ListEntryGroups][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntryGroups].
@@ -385,32 +348,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest)
       com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest.class,
-              com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest.class, com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -422,9 +386,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -443,11 +407,8 @@ public com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest result =
-          new com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest result = new com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -469,39 +430,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ListEntryGroupsR
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -509,8 +469,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -550,31 +509,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) {
@@ -584,30 +539,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
-     * Required. The name of the location that contains the entry groups, which can be
-     * provided in URL format. Example:
+     * Required. The name of the location that contains the entry groups, which
+     * can be provided in URL format. Example:
      *
      * * projects/{project_id}/locations/{location}
      * 
* - * - * string parent = 1 [(.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,26 +566,23 @@ public java.lang.String getParent() { } } /** - * - * *
-     * Required. The name of the location that contains the entry groups, which can be
-     * provided in URL format. Example:
+     * Required. The name of the location that contains the entry groups, which
+     * can be provided in URL format. Example:
      *
      * * projects/{project_id}/locations/{location}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -643,45 +590,34 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
-     * Required. The name of the location that contains the entry groups, which can be
-     * provided in URL format. Example:
+     * Required. The name of the location that contains the entry groups, which
+     * can be provided in URL format. Example:
      *
      * * projects/{project_id}/locations/{location}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
-     * Required. The name of the location that contains the entry groups, which can be
-     * provided in URL format. Example:
+     * Required. The name of the location that contains the entry groups, which
+     * can be provided in URL format. Example:
      *
      * * projects/{project_id}/locations/{location}
      * 
* - * - * string 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() { @@ -691,26 +627,20 @@ public Builder clearParent() { return this; } /** - * - * *
-     * Required. The name of the location that contains the entry groups, which can be
-     * provided in URL format. Example:
+     * Required. The name of the location that contains the entry groups, which
+     * can be provided in URL format. Example:
      *
      * * projects/{project_id}/locations/{location}
      * 
* - * - * 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; @@ -718,17 +648,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
-     * Optional. The maximum number of items to return. Default is 10. Max limit is 1000.
-     * Throws an invalid argument for `page_size > 1000`.
+     * Optional. The maximum number of items to return. Default is 10. Max limit
+     * is 1000. Throws an invalid argument for `page_size > 1000`.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -736,15 +663,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
-     * Optional. The maximum number of items to return. Default is 10. Max limit is 1000.
-     * Throws an invalid argument for `page_size > 1000`.
+     * Optional. The maximum number of items to return. Default is 10. Max limit
+     * is 1000. Throws an invalid argument for `page_size > 1000`.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -756,15 +680,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
-     * Optional. The maximum number of items to return. Default is 10. Max limit is 1000.
-     * Throws an invalid argument for `page_size > 1000`.
+     * Optional. The maximum number of items to return. Default is 10. Max limit
+     * is 1000. Throws an invalid argument for `page_size > 1000`.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -776,21 +697,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
-     * Optional. Token that specifies which page is requested. If empty, the first page is
-     * returned.
+     * Optional. Token that specifies which page is requested. If empty, the first
+     * page is returned.
      * 
* * 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; @@ -799,22 +718,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
-     * Optional. Token that specifies which page is requested. If empty, the first page is
-     * returned.
+     * Optional. Token that specifies which page is requested. If empty, the first
+     * page is returned.
      * 
* * 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 { @@ -822,37 +740,30 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
-     * Optional. Token that specifies which page is requested. If empty, the first page is
-     * returned.
+     * Optional. Token that specifies which page is requested. If empty, the first
+     * page is returned.
      * 
* * 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. Token that specifies which page is requested. If empty, the first page is
-     * returned.
+     * Optional. Token that specifies which page is requested. If empty, the first
+     * page is returned.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -862,31 +773,27 @@ public Builder clearPageToken() { return this; } /** - * - * *
-     * Optional. Token that specifies which page is requested. If empty, the first page is
-     * returned.
+     * Optional. Token that specifies which page is requested. If empty, the first
+     * page is returned.
      * 
* * 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 +803,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest) private static final com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest(); } @@ -910,27 +817,27 @@ public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEntryGroupsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEntryGroupsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +852,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequestOrBuilder.java similarity index 51% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequestOrBuilder.java index 085322ff6699..c8432264f101 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequestOrBuilder.java @@ -1,101 +1,68 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface ListEntryGroupsRequestOrBuilder - extends +public interface ListEntryGroupsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
-   * Required. The name of the location that contains the entry groups, which can be
-   * provided in URL format. Example:
+   * Required. The name of the location that contains the entry groups, which
+   * can be provided in URL format. Example:
    *
    * * projects/{project_id}/locations/{location}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
-   * Required. The name of the location that contains the entry groups, which can be
-   * provided in URL format. Example:
+   * Required. The name of the location that contains the entry groups, which
+   * can be provided in URL format. Example:
    *
    * * projects/{project_id}/locations/{location}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
-   * Optional. The maximum number of items to return. Default is 10. Max limit is 1000.
-   * Throws an invalid argument for `page_size > 1000`.
+   * Optional. The maximum number of items to return. Default is 10. Max limit
+   * is 1000. Throws an invalid argument for `page_size > 1000`.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
-   * Optional. Token that specifies which page is requested. If empty, the first page is
-   * returned.
+   * Optional. Token that specifies which page is requested. If empty, the first
+   * page is returned.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
-   * Optional. Token that specifies which page is requested. If empty, the first page is
-   * returned.
+   * Optional. Token that specifies which page is requested. If empty, the first
+   * page is returned.
    * 
* * 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponse.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponse.java similarity index 71% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponse.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponse.java index b79c73335ddb..53b49d33d5c8 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponse.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Response message for
  * [ListEntryGroups][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntryGroups].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse}
  */
-public final class ListEntryGroupsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListEntryGroupsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse)
     ListEntryGroupsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListEntryGroupsResponse.newBuilder() to construct.
   private ListEntryGroupsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListEntryGroupsResponse() {
     entryGroups_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -45,32 +27,28 @@ private ListEntryGroupsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListEntryGroupsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse.class,
-            com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse.class, com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse.Builder.class);
   }
 
   public static final int ENTRY_GROUPS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List entryGroups_;
   /**
-   *
-   *
    * 
    * EntryGroup details.
    * 
@@ -82,8 +60,6 @@ public java.util.List getEntryG return entryGroups_; } /** - * - * *
    * EntryGroup details.
    * 
@@ -91,13 +67,11 @@ public java.util.List getEntryG * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1; */ @java.lang.Override - public java.util.List + public java.util.List getEntryGroupsOrBuilderList() { return entryGroups_; } /** - * - * *
    * EntryGroup details.
    * 
@@ -109,8 +83,6 @@ public int getEntryGroupsCount() { return entryGroups_.size(); } /** - * - * *
    * EntryGroup details.
    * 
@@ -122,8 +94,6 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroups(int index) return entryGroups_.get(index); } /** - * - * *
    * EntryGroup details.
    * 
@@ -137,19 +107,15 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupsOr } 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. It is set to empty if no items
    * remain in results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -158,30 +124,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. It is set to empty if no items
    * remain in results.
    * 
* * 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 { @@ -190,7 +156,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,7 +167,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < entryGroups_.size(); i++) { output.writeMessage(1, entryGroups_.get(i)); } @@ -219,7 +185,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < entryGroups_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, entryGroups_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, entryGroups_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -232,16 +199,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.datacatalog.v1beta1.ListEntryGroupsResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse other = - (com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse) obj; + com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse other = (com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse) obj; - if (!getEntryGroupsList().equals(other.getEntryGroupsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getEntryGroupsList() + .equals(other.getEntryGroupsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -265,104 +233,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for
    * [ListEntryGroups][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntryGroups].
@@ -370,32 +332,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse)
       com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse.class,
-              com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse.class, com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -412,14 +375,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse
-        getDefaultInstanceForType() {
+    public com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse getDefaultInstanceForType() {
       return com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse.getDefaultInstance();
     }
 
@@ -434,18 +396,14 @@ public com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse result =
-          new com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse(this);
+      com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse result = new com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse result) {
+    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse result) {
       if (entryGroupsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           entryGroups_ = java.util.Collections.unmodifiableList(entryGroups_);
@@ -457,8 +415,7 @@ private void buildPartialRepeatedFields(
       }
     }
 
-    private void buildPartial0(
-        com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse result) {
+    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.nextPageToken_ = nextPageToken_;
@@ -469,39 +426,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.datacatalog.v1beta1.ListEntryGroupsResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -509,9 +465,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse other) {
-      if (other
-          == com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse.getDefaultInstance()) return this;
       if (entryGroupsBuilder_ == null) {
         if (!other.entryGroups_.isEmpty()) {
           if (entryGroups_.isEmpty()) {
@@ -530,10 +484,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRes
             entryGroupsBuilder_ = null;
             entryGroups_ = other.entryGroups_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            entryGroupsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getEntryGroupsFieldBuilder()
-                    : null;
+            entryGroupsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getEntryGroupsFieldBuilder() : null;
           } else {
             entryGroupsBuilder_.addAllMessages(other.entryGroups_);
           }
@@ -570,33 +523,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.datacatalog.v1beta1.EntryGroup m =
-                    input.readMessage(
-                        com.google.cloud.datacatalog.v1beta1.EntryGroup.parser(),
-                        extensionRegistry);
-                if (entryGroupsBuilder_ == null) {
-                  ensureEntryGroupsIsMutable();
-                  entryGroups_.add(m);
-                } else {
-                  entryGroupsBuilder_.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.datacatalog.v1beta1.EntryGroup m =
+                  input.readMessage(
+                      com.google.cloud.datacatalog.v1beta1.EntryGroup.parser(),
+                      extensionRegistry);
+              if (entryGroupsBuilder_ == null) {
+                ensureEntryGroupsIsMutable();
+                entryGroups_.add(m);
+              } else {
+                entryGroupsBuilder_.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) {
@@ -606,29 +556,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List entryGroups_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureEntryGroupsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        entryGroups_ =
-            new java.util.ArrayList(entryGroups_);
+        entryGroups_ = new java.util.ArrayList(entryGroups_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.datacatalog.v1beta1.EntryGroup,
-            com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder,
-            com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder>
-        entryGroupsBuilder_;
+        com.google.cloud.datacatalog.v1beta1.EntryGroup, com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder, com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder> entryGroupsBuilder_;
 
     /**
-     *
-     *
      * 
      * EntryGroup details.
      * 
@@ -643,8 +585,6 @@ public java.util.List getEntryG } } /** - * - * *
      * EntryGroup details.
      * 
@@ -659,8 +599,6 @@ public int getEntryGroupsCount() { } } /** - * - * *
      * EntryGroup details.
      * 
@@ -675,8 +613,6 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroups(int index) } } /** - * - * *
      * EntryGroup details.
      * 
@@ -698,8 +634,6 @@ public Builder setEntryGroups( return this; } /** - * - * *
      * EntryGroup details.
      * 
@@ -718,8 +652,6 @@ public Builder setEntryGroups( return this; } /** - * - * *
      * EntryGroup details.
      * 
@@ -740,8 +672,6 @@ public Builder addEntryGroups(com.google.cloud.datacatalog.v1beta1.EntryGroup va return this; } /** - * - * *
      * EntryGroup details.
      * 
@@ -763,8 +693,6 @@ public Builder addEntryGroups( return this; } /** - * - * *
      * EntryGroup details.
      * 
@@ -783,8 +711,6 @@ public Builder addEntryGroups( return this; } /** - * - * *
      * EntryGroup details.
      * 
@@ -803,8 +729,6 @@ public Builder addEntryGroups( return this; } /** - * - * *
      * EntryGroup details.
      * 
@@ -815,7 +739,8 @@ public Builder addAllEntryGroups( java.lang.Iterable values) { if (entryGroupsBuilder_ == null) { ensureEntryGroupsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entryGroups_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, entryGroups_); onChanged(); } else { entryGroupsBuilder_.addAllMessages(values); @@ -823,8 +748,6 @@ public Builder addAllEntryGroups( return this; } /** - * - * *
      * EntryGroup details.
      * 
@@ -842,8 +765,6 @@ public Builder clearEntryGroups() { return this; } /** - * - * *
      * EntryGroup details.
      * 
@@ -861,8 +782,6 @@ public Builder removeEntryGroups(int index) { return this; } /** - * - * *
      * EntryGroup details.
      * 
@@ -874,8 +793,6 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder getEntryGroupsBui return getEntryGroupsFieldBuilder().getBuilder(index); } /** - * - * *
      * EntryGroup details.
      * 
@@ -885,22 +802,19 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder getEntryGroupsBui public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupsOrBuilder( int index) { if (entryGroupsBuilder_ == null) { - return entryGroups_.get(index); - } else { + return entryGroups_.get(index); } else { return entryGroupsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * EntryGroup details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1; */ - public java.util.List - getEntryGroupsOrBuilderList() { + public java.util.List + getEntryGroupsOrBuilderList() { if (entryGroupsBuilder_ != null) { return entryGroupsBuilder_.getMessageOrBuilderList(); } else { @@ -908,8 +822,6 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupsOr } } /** - * - * *
      * EntryGroup details.
      * 
@@ -917,12 +829,10 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupsOr * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1; */ public com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder addEntryGroupsBuilder() { - return getEntryGroupsFieldBuilder() - .addBuilder(com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance()); + return getEntryGroupsFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance()); } /** - * - * *
      * EntryGroup details.
      * 
@@ -931,35 +841,30 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder addEntryGroupsBui */ public com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder addEntryGroupsBuilder( int index) { - return getEntryGroupsFieldBuilder() - .addBuilder(index, com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance()); + return getEntryGroupsFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance()); } /** - * - * *
      * EntryGroup details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1; */ - public java.util.List - getEntryGroupsBuilderList() { + public java.util.List + getEntryGroupsBuilderList() { return getEntryGroupsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.EntryGroup, - com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder, - com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder> + com.google.cloud.datacatalog.v1beta1.EntryGroup, com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder, com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder> getEntryGroupsFieldBuilder() { if (entryGroupsBuilder_ == null) { - entryGroupsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.EntryGroup, - com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder, - com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder>( - entryGroups_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + entryGroupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.EntryGroup, com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder, com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder>( + entryGroups_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); entryGroups_ = null; } return entryGroupsBuilder_; @@ -967,21 +872,19 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder addEntryGroupsBui private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of results. It is set to empty if no items
      * remain in results.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -990,22 +893,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results. It is set to empty if no items
      * remain in results.
      * 
* * 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 { @@ -1013,37 +915,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results. It is set to empty if no items
      * remain in results.
      * 
* * 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. It is set to empty if no items
      * remain in results.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1053,31 +948,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Token to retrieve the next page of results. It is set to empty if no items
      * remain in results.
      * 
* * 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); } @@ -1087,13 +978,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse) - private static final com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse(); } @@ -1102,27 +992,27 @@ public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEntryGroupsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEntryGroupsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1137,4 +1027,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponseOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponseOrBuilder.java similarity index 68% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponseOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponseOrBuilder.java index 3efe7d0f23b3..4f9c387df545 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponseOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface ListEntryGroupsResponseOrBuilder - extends +public interface ListEntryGroupsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * EntryGroup details.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1; */ - java.util.List getEntryGroupsList(); + java.util.List + getEntryGroupsList(); /** - * - * *
    * EntryGroup details.
    * 
@@ -44,8 +25,6 @@ public interface ListEntryGroupsResponseOrBuilder */ com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroups(int index); /** - * - * *
    * EntryGroup details.
    * 
@@ -54,51 +33,43 @@ public interface ListEntryGroupsResponseOrBuilder */ int getEntryGroupsCount(); /** - * - * *
    * EntryGroup details.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1; */ - java.util.List + java.util.List getEntryGroupsOrBuilderList(); /** - * - * *
    * EntryGroup details.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1; */ - com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupsOrBuilder(int index); + com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupsOrBuilder( + int index); /** - * - * *
    * Token to retrieve the next page of results. It is set to empty if no items
    * remain in results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results. It is set to empty if no items
    * remain in results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequest.java similarity index 67% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequest.java index addbe295cda3..d73c84a64582 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [ListPolicyTags][google.cloud.datacatalog.v1beta1.PolicyTagManager.ListPolicyTags].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest}
  */
-public final class ListPolicyTagsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListPolicyTagsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest)
     ListPolicyTagsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListPolicyTagsRequest.newBuilder() to construct.
   private ListPolicyTagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListPolicyTagsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -45,40 +27,33 @@ private ListPolicyTagsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListPolicyTagsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest.class,
-            com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest.class, com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. Resource name of the taxonomy to list the policy tags of.
    * 
* - * - * string parent = 1 [(.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,31 +62,29 @@ 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. Resource name of the taxonomy to list the policy tags of.
    * 
* - * - * string parent = 1 [(.google.api.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,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * The maximum number of items to return. Must be a value between 1 and 1000.
    * If not set, defaults to 50.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -139,19 +109,15 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * The next_page_token value returned from a previous List request, if any. If
    * not set, defaults to an empty string.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -160,30 +126,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The next_page_token value returned from a previous List request, if any. If
    * not set, defaults to an empty string.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -192,7 +158,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,7 +169,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -227,7 +193,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_); @@ -240,17 +207,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.datacatalog.v1beta1.ListPolicyTagsRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest other = - (com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest) obj; + com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest other = (com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest) 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; } @@ -274,104 +243,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [ListPolicyTags][google.cloud.datacatalog.v1beta1.PolicyTagManager.ListPolicyTags].
@@ -379,32 +342,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest)
       com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest.class,
-              com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest.class, com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -416,9 +380,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -437,11 +401,8 @@ public com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest result =
-          new com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest result = new com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -463,39 +424,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRe
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest)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.datacatalog.v1beta1.ListPolicyTagsRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -544,31 +503,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) {
@@ -578,27 +533,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. Resource name of the taxonomy to list the policy tags of.
      * 
* - * - * string parent = 1 [(.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; @@ -607,23 +557,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the taxonomy to list the policy tags of.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -631,39 +578,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the taxonomy to list the policy tags of.
      * 
* - * - * 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. Resource name of the taxonomy to list the policy tags of.
      * 
* - * - * string 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() { @@ -673,23 +609,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Resource name of the taxonomy to list the policy tags of.
      * 
* - * - * 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; @@ -697,17 +627,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return. Must be a value between 1 and 1000.
      * If not set, defaults to 50.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -715,15 +642,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return. Must be a value between 1 and 1000.
      * If not set, defaults to 50.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -735,15 +659,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * The maximum number of items to return. Must be a value between 1 and 1000.
      * If not set, defaults to 50.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -755,21 +676,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous List request, if any. If
      * not set, defaults to an empty string.
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -778,22 +697,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous List request, if any. If
      * not set, defaults to an empty string.
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -801,37 +719,30 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous List request, if any. If
      * not set, defaults to an empty string.
      * 
* * string page_token = 3; - * * @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; } /** - * - * *
      * The next_page_token value returned from a previous List request, if any. If
      * not set, defaults to an empty string.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -841,31 +752,27 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The next_page_token value returned from a previous List request, if any. If
      * not set, defaults to an empty string.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - 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); } @@ -875,12 +782,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest) private static final com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest(); } @@ -889,27 +796,27 @@ public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPolicyTagsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPolicyTagsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -924,4 +831,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequestOrBuilder.java similarity index 55% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequestOrBuilder.java index 515bbccd9ba2..46b8a8452e17 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequestOrBuilder.java @@ -1,95 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; -public interface ListPolicyTagsRequestOrBuilder - extends +public interface ListPolicyTagsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the taxonomy to list the policy tags of.
    * 
* - * - * string parent = 1 [(.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. Resource name of the taxonomy to list the policy tags of.
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * The maximum number of items to return. Must be a value between 1 and 1000.
    * If not set, defaults to 50.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous List request, if any. If
    * not set, defaults to an empty string.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous List request, if any. If
    * not set, defaults to an empty string.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponse.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponse.java similarity index 72% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponse.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponse.java index 12f7f9213bd7..ef0bf6ad232a 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponse.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Response message for
  * [ListPolicyTags][google.cloud.datacatalog.v1beta1.PolicyTagManager.ListPolicyTags].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse}
  */
-public final class ListPolicyTagsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListPolicyTagsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse)
     ListPolicyTagsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListPolicyTagsResponse.newBuilder() to construct.
   private ListPolicyTagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListPolicyTagsResponse() {
     policyTags_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -45,32 +27,28 @@ private ListPolicyTagsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListPolicyTagsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse.class,
-            com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse.class, com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse.Builder.class);
   }
 
   public static final int POLICY_TAGS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List policyTags_;
   /**
-   *
-   *
    * 
    * The policy tags that are in the requested taxonomy.
    * 
@@ -82,8 +60,6 @@ public java.util.List getPolicyT return policyTags_; } /** - * - * *
    * The policy tags that are in the requested taxonomy.
    * 
@@ -91,13 +67,11 @@ public java.util.List getPolicyT * repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPolicyTagsOrBuilderList() { return policyTags_; } /** - * - * *
    * The policy tags that are in the requested taxonomy.
    * 
@@ -109,8 +83,6 @@ public int getPolicyTagsCount() { return policyTags_.size(); } /** - * - * *
    * The policy tags that are in the requested taxonomy.
    * 
@@ -122,8 +94,6 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTag getPolicyTags(int index) { return policyTags_.get(index); } /** - * - * *
    * The policy tags that are in the requested taxonomy.
    * 
@@ -131,24 +101,21 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTag getPolicyTags(int index) { * repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagsOrBuilder(int index) { + public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagsOrBuilder( + int index) { return policyTags_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Token used 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 +124,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 used 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,7 +156,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +167,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < policyTags_.size(); i++) { output.writeMessage(1, policyTags_.get(i)); } @@ -218,7 +185,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < policyTags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, policyTags_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, policyTags_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -231,16 +199,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.datacatalog.v1beta1.ListPolicyTagsResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse other = - (com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse) obj; + com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse other = (com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse) obj; - if (!getPolicyTagsList().equals(other.getPolicyTagsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getPolicyTagsList() + .equals(other.getPolicyTagsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -264,104 +233,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for
    * [ListPolicyTags][google.cloud.datacatalog.v1beta1.PolicyTagManager.ListPolicyTags].
@@ -369,32 +332,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse)
       com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse.class,
-              com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse.class, com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -411,9 +375,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -432,18 +396,14 @@ public com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse result =
-          new com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse(this);
+      com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse result = new com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse result) {
+    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse result) {
       if (policyTagsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           policyTags_ = java.util.Collections.unmodifiableList(policyTags_);
@@ -466,39 +426,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRe
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -506,8 +465,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse.getDefaultInstance()) return this;
       if (policyTagsBuilder_ == null) {
         if (!other.policyTags_.isEmpty()) {
           if (policyTags_.isEmpty()) {
@@ -526,10 +484,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResp
             policyTagsBuilder_ = null;
             policyTags_ = other.policyTags_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            policyTagsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getPolicyTagsFieldBuilder()
-                    : null;
+            policyTagsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getPolicyTagsFieldBuilder() : null;
           } else {
             policyTagsBuilder_.addAllMessages(other.policyTags_);
           }
@@ -566,32 +523,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.datacatalog.v1beta1.PolicyTag m =
-                    input.readMessage(
-                        com.google.cloud.datacatalog.v1beta1.PolicyTag.parser(), extensionRegistry);
-                if (policyTagsBuilder_ == null) {
-                  ensurePolicyTagsIsMutable();
-                  policyTags_.add(m);
-                } else {
-                  policyTagsBuilder_.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.datacatalog.v1beta1.PolicyTag m =
+                  input.readMessage(
+                      com.google.cloud.datacatalog.v1beta1.PolicyTag.parser(),
+                      extensionRegistry);
+              if (policyTagsBuilder_ == null) {
+                ensurePolicyTagsIsMutable();
+                policyTags_.add(m);
+              } else {
+                policyTagsBuilder_.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) {
@@ -601,29 +556,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List policyTags_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensurePolicyTagsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        policyTags_ =
-            new java.util.ArrayList(policyTags_);
+        policyTags_ = new java.util.ArrayList(policyTags_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.datacatalog.v1beta1.PolicyTag,
-            com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder,
-            com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder>
-        policyTagsBuilder_;
+        com.google.cloud.datacatalog.v1beta1.PolicyTag, com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder, com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder> policyTagsBuilder_;
 
     /**
-     *
-     *
      * 
      * The policy tags that are in the requested taxonomy.
      * 
@@ -638,8 +585,6 @@ public java.util.List getPolicyT } } /** - * - * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -654,8 +599,6 @@ public int getPolicyTagsCount() { } } /** - * - * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -670,15 +613,14 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTag getPolicyTags(int index) { } } /** - * - * *
      * The policy tags that are in the requested taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1; */ - public Builder setPolicyTags(int index, com.google.cloud.datacatalog.v1beta1.PolicyTag value) { + public Builder setPolicyTags( + int index, com.google.cloud.datacatalog.v1beta1.PolicyTag value) { if (policyTagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -692,8 +634,6 @@ public Builder setPolicyTags(int index, com.google.cloud.datacatalog.v1beta1.Pol return this; } /** - * - * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -712,8 +652,6 @@ public Builder setPolicyTags( return this; } /** - * - * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -734,15 +672,14 @@ public Builder addPolicyTags(com.google.cloud.datacatalog.v1beta1.PolicyTag valu return this; } /** - * - * *
      * The policy tags that are in the requested taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1; */ - public Builder addPolicyTags(int index, com.google.cloud.datacatalog.v1beta1.PolicyTag value) { + public Builder addPolicyTags( + int index, com.google.cloud.datacatalog.v1beta1.PolicyTag value) { if (policyTagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -756,8 +693,6 @@ public Builder addPolicyTags(int index, com.google.cloud.datacatalog.v1beta1.Pol return this; } /** - * - * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -776,8 +711,6 @@ public Builder addPolicyTags( return this; } /** - * - * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -796,8 +729,6 @@ public Builder addPolicyTags( return this; } /** - * - * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -808,7 +739,8 @@ public Builder addAllPolicyTags( java.lang.Iterable values) { if (policyTagsBuilder_ == null) { ensurePolicyTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, policyTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, policyTags_); onChanged(); } else { policyTagsBuilder_.addAllMessages(values); @@ -816,8 +748,6 @@ public Builder addAllPolicyTags( return this; } /** - * - * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -835,8 +765,6 @@ public Builder clearPolicyTags() { return this; } /** - * - * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -854,20 +782,17 @@ public Builder removePolicyTags(int index) { return this; } /** - * - * *
      * The policy tags that are in the requested taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1; */ - public com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder getPolicyTagsBuilder(int index) { + public com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder getPolicyTagsBuilder( + int index) { return getPolicyTagsFieldBuilder().getBuilder(index); } /** - * - * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -877,22 +802,19 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder getPolicyTagsBuild public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagsOrBuilder( int index) { if (policyTagsBuilder_ == null) { - return policyTags_.get(index); - } else { + return policyTags_.get(index); } else { return policyTagsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The policy tags that are in the requested taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1; */ - public java.util.List - getPolicyTagsOrBuilderList() { + public java.util.List + getPolicyTagsOrBuilderList() { if (policyTagsBuilder_ != null) { return policyTagsBuilder_.getMessageOrBuilderList(); } else { @@ -900,8 +822,6 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagsOrBu } } /** - * - * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -909,48 +829,42 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagsOrBu * repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1; */ public com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder addPolicyTagsBuilder() { - return getPolicyTagsFieldBuilder() - .addBuilder(com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance()); + return getPolicyTagsFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance()); } /** - * - * *
      * The policy tags that are in the requested taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1; */ - public com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder addPolicyTagsBuilder(int index) { - return getPolicyTagsFieldBuilder() - .addBuilder(index, com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance()); + public com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder addPolicyTagsBuilder( + int index) { + return getPolicyTagsFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance()); } /** - * - * *
      * The policy tags that are in the requested taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1; */ - public java.util.List - getPolicyTagsBuilderList() { + public java.util.List + getPolicyTagsBuilderList() { return getPolicyTagsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.PolicyTag, - com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder, - com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder> + com.google.cloud.datacatalog.v1beta1.PolicyTag, com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder, com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder> getPolicyTagsFieldBuilder() { if (policyTagsBuilder_ == null) { - policyTagsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.PolicyTag, - com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder, - com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder>( - policyTags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + policyTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.PolicyTag, com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder, com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder>( + policyTags_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); policyTags_ = null; } return policyTagsBuilder_; @@ -958,21 +872,19 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder addPolicyTagsBuild private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token used 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; @@ -981,22 +893,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token used 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 { @@ -1004,37 +915,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token used 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 used 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() { @@ -1044,31 +948,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Token used 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); } @@ -1078,12 +978,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse) private static final com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse(); } @@ -1092,27 +992,27 @@ public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPolicyTagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPolicyTagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1127,4 +1027,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponseOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponseOrBuilder.java similarity index 70% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponseOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponseOrBuilder.java index f0eeddae9b19..d9f7668e94b2 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponseOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; -public interface ListPolicyTagsResponseOrBuilder - extends +public interface ListPolicyTagsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The policy tags that are in the requested taxonomy.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1; */ - java.util.List getPolicyTagsList(); + java.util.List + getPolicyTagsList(); /** - * - * *
    * The policy tags that are in the requested taxonomy.
    * 
@@ -44,8 +25,6 @@ public interface ListPolicyTagsResponseOrBuilder */ com.google.cloud.datacatalog.v1beta1.PolicyTag getPolicyTags(int index); /** - * - * *
    * The policy tags that are in the requested taxonomy.
    * 
@@ -54,51 +33,43 @@ public interface ListPolicyTagsResponseOrBuilder */ int getPolicyTagsCount(); /** - * - * *
    * The policy tags that are in the requested taxonomy.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1; */ - java.util.List + java.util.List getPolicyTagsOrBuilderList(); /** - * - * *
    * The policy tags that are in the requested taxonomy.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1; */ - com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagsOrBuilder(int index); + com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagsOrBuilder( + int index); /** - * - * *
    * Token used 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 used 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequest.java similarity index 67% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequest.java index 779f1035707a..67aa168b4bc9 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [ListTags][google.cloud.datacatalog.v1beta1.DataCatalog.ListTags].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListTagsRequest}
  */
-public final class ListTagsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListTagsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ListTagsRequest)
     ListTagsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListTagsRequest.newBuilder() to construct.
   private ListTagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListTagsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -45,35 +27,31 @@ private ListTagsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListTagsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.ListTagsRequest.class,
-            com.google.cloud.datacatalog.v1beta1.ListTagsRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.ListTagsRequest.class, com.google.cloud.datacatalog.v1beta1.ListTagsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
-   * Required. The name of the Data Catalog resource to list the tags of. The resource
-   * could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
+   * Required. The name of the Data Catalog resource to list the tags of. The
+   * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
    * [EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup].
    *
    * Examples:
@@ -82,10 +60,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -94,18 +69,17 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
-   * Required. The name of the Data Catalog resource to list the tags of. The resource
-   * could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
+   * Required. The name of the Data Catalog resource to list the tags of. The
+   * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
    * [EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup].
    *
    * Examples:
@@ -114,18 +88,17 @@ public java.lang.String getParent() {
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -136,14 +109,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * The maximum number of tags to return. Default is 10. Max limit is 1000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -152,19 +122,15 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Token that specifies which page is requested. If empty, the first page is
    * returned.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -173,30 +139,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Token that specifies which page is requested. If empty, the first page is
    * returned.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -205,7 +171,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,7 +182,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -240,7 +206,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_); @@ -253,17 +220,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.datacatalog.v1beta1.ListTagsRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.ListTagsRequest other = - (com.google.cloud.datacatalog.v1beta1.ListTagsRequest) obj; + com.google.cloud.datacatalog.v1beta1.ListTagsRequest other = (com.google.cloud.datacatalog.v1beta1.ListTagsRequest) 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; } @@ -287,103 +256,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.ListTagsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ListTagsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListTagsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ListTagsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListTagsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ListTagsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.ListTagsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ListTagsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.ListTagsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListTagsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ListTagsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.ListTagsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListTagsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.ListTagsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.ListTagsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [ListTags][google.cloud.datacatalog.v1beta1.DataCatalog.ListTags].
@@ -391,32 +355,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListTagsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.ListTagsRequest)
       com.google.cloud.datacatalog.v1beta1.ListTagsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.ListTagsRequest.class,
-              com.google.cloud.datacatalog.v1beta1.ListTagsRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.ListTagsRequest.class, com.google.cloud.datacatalog.v1beta1.ListTagsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.ListTagsRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -428,9 +393,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -449,11 +414,8 @@ public com.google.cloud.datacatalog.v1beta1.ListTagsRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.ListTagsRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.ListTagsRequest result =
-          new com.google.cloud.datacatalog.v1beta1.ListTagsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.ListTagsRequest result = new com.google.cloud.datacatalog.v1beta1.ListTagsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -475,39 +437,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ListTagsRequest
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.ListTagsRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListTagsRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListTagsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -515,8 +476,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ListTagsRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.ListTagsRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.ListTagsRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -556,31 +516,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) {
@@ -590,16 +546,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
-     * Required. The name of the Data Catalog resource to list the tags of. The resource
-     * could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
+     * Required. The name of the Data Catalog resource to list the tags of. The
+     * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
      * [EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup].
      *
      * Examples:
@@ -608,16 +561,14 @@ public Builder mergeFrom(
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      * 
* - * - * string parent = 1 [(.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; @@ -626,11 +577,9 @@ public java.lang.String getParent() { } } /** - * - * *
-     * Required. The name of the Data Catalog resource to list the tags of. The resource
-     * could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
+     * Required. The name of the Data Catalog resource to list the tags of. The
+     * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
      * [EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup].
      *
      * Examples:
@@ -639,17 +588,16 @@ public java.lang.String getParent() {
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -657,11 +605,9 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
-     * Required. The name of the Data Catalog resource to list the tags of. The resource
-     * could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
+     * Required. The name of the Data Catalog resource to list the tags of. The
+     * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
      * [EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup].
      *
      * Examples:
@@ -670,28 +616,22 @@ public com.google.protobuf.ByteString getParentBytes() {
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
-     * Required. The name of the Data Catalog resource to list the tags of. The resource
-     * could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
+     * Required. The name of the Data Catalog resource to list the tags of. The
+     * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
      * [EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup].
      *
      * Examples:
@@ -700,10 +640,7 @@ public Builder setParent(java.lang.String value) {
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      * 
* - * - * string 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() { @@ -713,11 +650,9 @@ public Builder clearParent() { return this; } /** - * - * *
-     * Required. The name of the Data Catalog resource to list the tags of. The resource
-     * could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
+     * Required. The name of the Data Catalog resource to list the tags of. The
+     * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
      * [EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup].
      *
      * Examples:
@@ -726,17 +661,13 @@ public Builder clearParent() {
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      * 
* - * - * 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; @@ -744,16 +675,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of tags to return. Default is 10. Max limit is 1000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -761,14 +689,11 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of tags to return. Default is 10. Max limit is 1000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -780,14 +705,11 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * The maximum number of tags to return. Default is 10. Max limit is 1000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -799,21 +721,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Token that specifies which page is requested. If empty, the first page is
      * returned.
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -822,22 +742,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Token that specifies which page is requested. If empty, the first page is
      * returned.
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -845,37 +764,30 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Token that specifies which page is requested. If empty, the first page is
      * returned.
      * 
* * string page_token = 3; - * * @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; } /** - * - * *
      * Token that specifies which page is requested. If empty, the first page is
      * returned.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -885,31 +797,27 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Token that specifies which page is requested. If empty, the first page is
      * returned.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - 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); } @@ -919,12 +827,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ListTagsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ListTagsRequest) private static final com.google.cloud.datacatalog.v1beta1.ListTagsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ListTagsRequest(); } @@ -933,27 +841,27 @@ public static com.google.cloud.datacatalog.v1beta1.ListTagsRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -968,4 +876,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.ListTagsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequestOrBuilder.java similarity index 58% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequestOrBuilder.java index a2f85ee46260..e3f69523c171 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequestOrBuilder.java @@ -1,34 +1,16 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface ListTagsRequestOrBuilder - extends +public interface ListTagsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ListTagsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
-   * Required. The name of the Data Catalog resource to list the tags of. The resource
-   * could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
+   * Required. The name of the Data Catalog resource to list the tags of. The
+   * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
    * [EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup].
    *
    * Examples:
@@ -37,19 +19,14 @@ public interface ListTagsRequestOrBuilder
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
-   * Required. The name of the Data Catalog resource to list the tags of. The resource
-   * could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
+   * Required. The name of the Data Catalog resource to list the tags of. The
+   * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
    * [EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup].
    *
    * Examples:
@@ -58,51 +35,41 @@ public interface ListTagsRequestOrBuilder
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * The maximum number of tags to return. Default is 10. Max limit is 1000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Token that specifies which page is requested. If empty, the first page is
    * returned.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Token that specifies which page is requested. If empty, the first page is
    * returned.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponse.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponse.java similarity index 71% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponse.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponse.java index 9a24e6f2af61..c226689f18ec 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponse.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Response message for
  * [ListTags][google.cloud.datacatalog.v1beta1.DataCatalog.ListTags].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListTagsResponse}
  */
-public final class ListTagsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListTagsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ListTagsResponse)
     ListTagsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListTagsResponse.newBuilder() to construct.
   private ListTagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListTagsResponse() {
     tags_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -45,32 +27,28 @@ private ListTagsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListTagsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.ListTagsResponse.class,
-            com.google.cloud.datacatalog.v1beta1.ListTagsResponse.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.ListTagsResponse.class, com.google.cloud.datacatalog.v1beta1.ListTagsResponse.Builder.class);
   }
 
   public static final int TAGS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List tags_;
   /**
-   *
-   *
    * 
    * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
    * 
@@ -82,8 +60,6 @@ public java.util.List getTagsList() { return tags_; } /** - * - * *
    * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
    * 
@@ -91,13 +67,11 @@ public java.util.List getTagsList() { * repeated .google.cloud.datacatalog.v1beta1.Tag tags = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTagsOrBuilderList() { return tags_; } /** - * - * *
    * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
    * 
@@ -109,8 +83,6 @@ public int getTagsCount() { return tags_.size(); } /** - * - * *
    * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
    * 
@@ -122,8 +94,6 @@ public com.google.cloud.datacatalog.v1beta1.Tag getTags(int index) { return tags_.get(index); } /** - * - * *
    * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
    * 
@@ -131,24 +101,21 @@ public com.google.cloud.datacatalog.v1beta1.Tag getTags(int index) { * repeated .google.cloud.datacatalog.v1beta1.Tag tags = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagsOrBuilder(int index) { + public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagsOrBuilder( + int index) { return tags_.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. It is set to empty if no items
    * remain in results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -157,30 +124,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. It is set to empty if no items
    * remain in results.
    * 
* * 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,7 +156,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +167,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < tags_.size(); i++) { output.writeMessage(1, tags_.get(i)); } @@ -218,7 +185,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tags_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, tags_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -231,16 +199,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.datacatalog.v1beta1.ListTagsResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.ListTagsResponse other = - (com.google.cloud.datacatalog.v1beta1.ListTagsResponse) obj; + com.google.cloud.datacatalog.v1beta1.ListTagsResponse other = (com.google.cloud.datacatalog.v1beta1.ListTagsResponse) obj; - if (!getTagsList().equals(other.getTagsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getTagsList() + .equals(other.getTagsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -264,104 +233,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.ListTagsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ListTagsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListTagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ListTagsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListTagsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ListTagsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.ListTagsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ListTagsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.ListTagsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListTagsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ListTagsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.ListTagsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListTagsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.ListTagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.ListTagsResponse prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.ListTagsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for
    * [ListTags][google.cloud.datacatalog.v1beta1.DataCatalog.ListTags].
@@ -369,32 +332,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListTagsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.ListTagsResponse)
       com.google.cloud.datacatalog.v1beta1.ListTagsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.ListTagsResponse.class,
-              com.google.cloud.datacatalog.v1beta1.ListTagsResponse.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.ListTagsResponse.class, com.google.cloud.datacatalog.v1beta1.ListTagsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.ListTagsResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -411,9 +375,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -432,18 +396,14 @@ public com.google.cloud.datacatalog.v1beta1.ListTagsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.ListTagsResponse buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.ListTagsResponse result =
-          new com.google.cloud.datacatalog.v1beta1.ListTagsResponse(this);
+      com.google.cloud.datacatalog.v1beta1.ListTagsResponse result = new com.google.cloud.datacatalog.v1beta1.ListTagsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.datacatalog.v1beta1.ListTagsResponse result) {
+    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.ListTagsResponse result) {
       if (tagsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           tags_ = java.util.Collections.unmodifiableList(tags_);
@@ -466,39 +426,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ListTagsResponse
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.ListTagsResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListTagsResponse) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListTagsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -506,8 +465,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ListTagsResponse other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.ListTagsResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.ListTagsResponse.getDefaultInstance()) return this;
       if (tagsBuilder_ == null) {
         if (!other.tags_.isEmpty()) {
           if (tags_.isEmpty()) {
@@ -526,10 +484,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ListTagsResponse o
             tagsBuilder_ = null;
             tags_ = other.tags_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            tagsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getTagsFieldBuilder()
-                    : null;
+            tagsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getTagsFieldBuilder() : null;
           } else {
             tagsBuilder_.addAllMessages(other.tags_);
           }
@@ -566,32 +523,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.datacatalog.v1beta1.Tag m =
-                    input.readMessage(
-                        com.google.cloud.datacatalog.v1beta1.Tag.parser(), extensionRegistry);
-                if (tagsBuilder_ == null) {
-                  ensureTagsIsMutable();
-                  tags_.add(m);
-                } else {
-                  tagsBuilder_.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.datacatalog.v1beta1.Tag m =
+                  input.readMessage(
+                      com.google.cloud.datacatalog.v1beta1.Tag.parser(),
+                      extensionRegistry);
+              if (tagsBuilder_ == null) {
+                ensureTagsIsMutable();
+                tags_.add(m);
+              } else {
+                tagsBuilder_.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) {
@@ -601,28 +556,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List tags_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureTagsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         tags_ = new java.util.ArrayList(tags_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.datacatalog.v1beta1.Tag,
-            com.google.cloud.datacatalog.v1beta1.Tag.Builder,
-            com.google.cloud.datacatalog.v1beta1.TagOrBuilder>
-        tagsBuilder_;
+        com.google.cloud.datacatalog.v1beta1.Tag, com.google.cloud.datacatalog.v1beta1.Tag.Builder, com.google.cloud.datacatalog.v1beta1.TagOrBuilder> tagsBuilder_;
 
     /**
-     *
-     *
      * 
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -637,8 +585,6 @@ public java.util.List getTagsList() { } } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -653,8 +599,6 @@ public int getTagsCount() { } } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -669,15 +613,14 @@ public com.google.cloud.datacatalog.v1beta1.Tag getTags(int index) { } } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Tag tags = 1; */ - public Builder setTags(int index, com.google.cloud.datacatalog.v1beta1.Tag value) { + public Builder setTags( + int index, com.google.cloud.datacatalog.v1beta1.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -691,8 +634,6 @@ public Builder setTags(int index, com.google.cloud.datacatalog.v1beta1.Tag value return this; } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -711,8 +652,6 @@ public Builder setTags( return this; } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -733,15 +672,14 @@ public Builder addTags(com.google.cloud.datacatalog.v1beta1.Tag value) { return this; } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Tag tags = 1; */ - public Builder addTags(int index, com.google.cloud.datacatalog.v1beta1.Tag value) { + public Builder addTags( + int index, com.google.cloud.datacatalog.v1beta1.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -755,15 +693,14 @@ public Builder addTags(int index, com.google.cloud.datacatalog.v1beta1.Tag value return this; } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Tag tags = 1; */ - public Builder addTags(com.google.cloud.datacatalog.v1beta1.Tag.Builder builderForValue) { + public Builder addTags( + com.google.cloud.datacatalog.v1beta1.Tag.Builder builderForValue) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); tags_.add(builderForValue.build()); @@ -774,8 +711,6 @@ public Builder addTags(com.google.cloud.datacatalog.v1beta1.Tag.Builder builderF return this; } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -794,8 +729,6 @@ public Builder addTags( return this; } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -806,7 +739,8 @@ public Builder addAllTags( java.lang.Iterable values) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tags_); onChanged(); } else { tagsBuilder_.addAllMessages(values); @@ -814,8 +748,6 @@ public Builder addAllTags( return this; } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -833,8 +765,6 @@ public Builder clearTags() { return this; } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -852,44 +782,39 @@ public Builder removeTags(int index) { return this; } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Tag tags = 1; */ - public com.google.cloud.datacatalog.v1beta1.Tag.Builder getTagsBuilder(int index) { + public com.google.cloud.datacatalog.v1beta1.Tag.Builder getTagsBuilder( + int index) { return getTagsFieldBuilder().getBuilder(index); } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Tag tags = 1; */ - public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagsOrBuilder(int index) { + public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagsOrBuilder( + int index) { if (tagsBuilder_ == null) { - return tags_.get(index); - } else { + return tags_.get(index); } else { return tagsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Tag tags = 1; */ - public java.util.List - getTagsOrBuilderList() { + public java.util.List + getTagsOrBuilderList() { if (tagsBuilder_ != null) { return tagsBuilder_.getMessageOrBuilderList(); } else { @@ -897,8 +822,6 @@ public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagsOrBuilder(int in } } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -906,47 +829,42 @@ public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagsOrBuilder(int in * repeated .google.cloud.datacatalog.v1beta1.Tag tags = 1; */ public com.google.cloud.datacatalog.v1beta1.Tag.Builder addTagsBuilder() { - return getTagsFieldBuilder() - .addBuilder(com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance()); + return getTagsFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance()); } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Tag tags = 1; */ - public com.google.cloud.datacatalog.v1beta1.Tag.Builder addTagsBuilder(int index) { - return getTagsFieldBuilder() - .addBuilder(index, com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance()); + public com.google.cloud.datacatalog.v1beta1.Tag.Builder addTagsBuilder( + int index) { + return getTagsFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance()); } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Tag tags = 1; */ - public java.util.List getTagsBuilderList() { + public java.util.List + getTagsBuilderList() { return getTagsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Tag, - com.google.cloud.datacatalog.v1beta1.Tag.Builder, - com.google.cloud.datacatalog.v1beta1.TagOrBuilder> + com.google.cloud.datacatalog.v1beta1.Tag, com.google.cloud.datacatalog.v1beta1.Tag.Builder, com.google.cloud.datacatalog.v1beta1.TagOrBuilder> getTagsFieldBuilder() { if (tagsBuilder_ == null) { - tagsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Tag, - com.google.cloud.datacatalog.v1beta1.Tag.Builder, - com.google.cloud.datacatalog.v1beta1.TagOrBuilder>( - tags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.Tag, com.google.cloud.datacatalog.v1beta1.Tag.Builder, com.google.cloud.datacatalog.v1beta1.TagOrBuilder>( + tags_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tags_ = null; } return tagsBuilder_; @@ -954,21 +872,19 @@ public java.util.List getTagsB private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of results. It is set to empty if no items
      * remain in results.
      * 
* * 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; @@ -977,22 +893,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results. It is set to empty if no items
      * remain in results.
      * 
* * 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 { @@ -1000,37 +915,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results. It is set to empty if no items
      * remain in results.
      * 
* * 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. It is set to empty if no items
      * remain in results.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1040,31 +948,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Token to retrieve the next page of results. It is set to empty if no items
      * remain in results.
      * 
* * 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); } @@ -1074,12 +978,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ListTagsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ListTagsResponse) private static final com.google.cloud.datacatalog.v1beta1.ListTagsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ListTagsResponse(); } @@ -1088,27 +992,27 @@ public static com.google.cloud.datacatalog.v1beta1.ListTagsResponse getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1123,4 +1027,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.ListTagsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponseOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponseOrBuilder.java similarity index 68% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponseOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponseOrBuilder.java index 03ad58c32fc1..8acfa22dd959 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponseOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface ListTagsResponseOrBuilder - extends +public interface ListTagsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ListTagsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.Tag tags = 1; */ - java.util.List getTagsList(); + java.util.List + getTagsList(); /** - * - * *
    * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
    * 
@@ -44,8 +25,6 @@ public interface ListTagsResponseOrBuilder */ com.google.cloud.datacatalog.v1beta1.Tag getTags(int index); /** - * - * *
    * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
    * 
@@ -54,51 +33,43 @@ public interface ListTagsResponseOrBuilder */ int getTagsCount(); /** - * - * *
    * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.Tag tags = 1; */ - java.util.List + java.util.List getTagsOrBuilderList(); /** - * - * *
    * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.Tag tags = 1; */ - com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagsOrBuilder(int index); + com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagsOrBuilder( + int index); /** - * - * *
    * Token to retrieve the next page of results. It is set to empty if no items
    * remain in results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results. It is set to empty if no items
    * remain in results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequest.java similarity index 59% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequest.java index 592ff9326df4..92730bb24627 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [ListTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManager.ListTaxonomies].
@@ -28,57 +11,50 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest}
  */
-public final class ListTaxonomiesRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListTaxonomiesRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest)
     ListTaxonomiesRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListTaxonomiesRequest.newBuilder() to construct.
   private ListTaxonomiesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListTaxonomiesRequest() {
     parent_ = "";
     pageToken_ = "";
+    filter_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListTaxonomiesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest.class,
-            com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest.class, com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. Resource name of the project to list the taxonomies of.
    * 
* - * - * string parent = 1 [(.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,31 +63,29 @@ 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. Resource name of the project to list the taxonomies of.
    * 
* - * - * string parent = 1 [(.google.api.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 +96,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * The maximum number of items to return. Must be a value between 1 and 1000.
    * If not set, defaults to 50.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -139,19 +110,15 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * The next_page_token value returned from a previous list request, if any. If
    * not set, defaults to an empty string.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -160,30 +127,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any. If
    * not set, defaults to an empty string.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -191,8 +158,56 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } - private byte memoizedIsInitialized = -1; + public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object filter_ = ""; + /** + *
+   * Supported field for filter is 'service' and value is 'dataplex'.
+   * Eg: service=dataplex.
+   * 
+ * + * string filter = 4; + * @return The filter. + */ + @java.lang.Override + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + 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(); + filter_ = s; + return s; + } + } + /** + *
+   * Supported field for filter is 'service' and value is 'dataplex'.
+   * Eg: service=dataplex.
+   * 
+ * + * string filter = 4; + * @return The bytes for filter. + */ + @java.lang.Override + 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); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -214,6 +230,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_); + } getUnknownFields().writeTo(output); } @@ -227,11 +246,15 @@ 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_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -240,17 +263,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.datacatalog.v1beta1.ListTaxonomiesRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest other = - (com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest) obj; + com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest other = (com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest) 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 (!getFilter() + .equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -268,110 +295,106 @@ public int hashCode() { hash = (53 * hash) + getPageSize(); hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); + hash = (37 * hash) + FILTER_FIELD_NUMBER; + hash = (53 * hash) + getFilter().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [ListTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManager.ListTaxonomies].
@@ -379,32 +402,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest)
       com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest.class,
-              com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest.class, com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -412,13 +436,14 @@ public Builder clear() {
       parent_ = "";
       pageSize_ = 0;
       pageToken_ = "";
+      filter_ = "";
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -437,11 +462,8 @@ public com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest result =
-          new com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest result = new com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -457,45 +479,47 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRe
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.pageToken_ = pageToken_;
       }
+      if (((from_bitField0_ & 0x00000008) != 0)) {
+        result.filter_ = filter_;
+      }
     }
 
     @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.datacatalog.v1beta1.ListTaxonomiesRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -503,8 +527,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -518,6 +541,11 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequ
         bitField0_ |= 0x00000004;
         onChanged();
       }
+      if (!other.getFilter().isEmpty()) {
+        filter_ = other.filter_;
+        bitField0_ |= 0x00000008;
+        onChanged();
+      }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
@@ -544,31 +572,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
-            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) {
@@ -578,27 +607,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. Resource name of the project to list the taxonomies of.
      * 
* - * - * string parent = 1 [(.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; @@ -607,23 +631,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the project to list the taxonomies of.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -631,39 +652,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the project to list the taxonomies of.
      * 
* - * - * 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. Resource name of the project to list the taxonomies of.
      * 
* - * - * string 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() { @@ -673,23 +683,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Resource name of the project to list the taxonomies of.
      * 
* - * - * 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; @@ -697,17 +701,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return. Must be a value between 1 and 1000.
      * If not set, defaults to 50.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -715,15 +716,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return. Must be a value between 1 and 1000.
      * If not set, defaults to 50.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -735,15 +733,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * The maximum number of items to return. Must be a value between 1 and 1000.
      * If not set, defaults to 50.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -755,21 +750,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any. If
      * not set, defaults to an empty string.
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -778,22 +771,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any. If
      * not set, defaults to an empty string.
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -801,37 +793,30 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any. If
      * not set, defaults to an empty string.
      * 
* * string page_token = 3; - * * @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; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any. If
      * not set, defaults to an empty string.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -841,22 +826,18 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any. If
      * not set, defaults to an empty string.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - 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; @@ -864,8 +845,105 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object filter_ = ""; + /** + *
+     * Supported field for filter is 'service' and value is 'dataplex'.
+     * Eg: service=dataplex.
+     * 
+ * + * string filter = 4; + * @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; + java.lang.String s = bs.toStringUtf8(); + filter_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Supported field for filter is 'service' and value is 'dataplex'.
+     * Eg: service=dataplex.
+     * 
+ * + * string filter = 4; + * @return The bytes for filter. + */ + 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); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Supported field for filter is 'service' and value is 'dataplex'.
+     * Eg: service=dataplex.
+     * 
+ * + * string filter = 4; + * @param value The filter to set. + * @return This builder for chaining. + */ + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + filter_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Supported field for filter is 'service' and value is 'dataplex'.
+     * Eg: service=dataplex.
+     * 
+ * + * string filter = 4; + * @return This builder for chaining. + */ + public Builder clearFilter() { + filter_ = getDefaultInstance().getFilter(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + *
+     * Supported field for filter is 'service' and value is 'dataplex'.
+     * Eg: service=dataplex.
+     * 
+ * + * string filter = 4; + * @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(); } + 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); } @@ -875,12 +953,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest) private static final com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest(); } @@ -889,27 +967,27 @@ public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTaxonomiesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTaxonomiesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -924,4 +1002,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequestOrBuilder.java similarity index 56% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequestOrBuilder.java index ce78ea68922d..335047da89bb 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequestOrBuilder.java @@ -1,95 +1,84 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; -public interface ListTaxonomiesRequestOrBuilder - extends +public interface ListTaxonomiesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the project to list the taxonomies of.
    * 
* - * - * string parent = 1 [(.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. Resource name of the project to list the taxonomies of.
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * The maximum number of items to return. Must be a value between 1 and 1000.
    * If not set, defaults to 50.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any. If
    * not set, defaults to an empty string.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any. If
    * not set, defaults to an empty string.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); + + /** + *
+   * Supported field for filter is 'service' and value is 'dataplex'.
+   * Eg: service=dataplex.
+   * 
+ * + * string filter = 4; + * @return The filter. + */ + java.lang.String getFilter(); + /** + *
+   * Supported field for filter is 'service' and value is 'dataplex'.
+   * Eg: service=dataplex.
+   * 
+ * + * string filter = 4; + * @return The bytes for filter. + */ + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponse.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponse.java similarity index 72% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponse.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponse.java index 4136fa93badb..c10d5a1ce103 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponse.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Response message for
  * [ListTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManager.ListTaxonomies].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse}
  */
-public final class ListTaxonomiesResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListTaxonomiesResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse)
     ListTaxonomiesResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListTaxonomiesResponse.newBuilder() to construct.
   private ListTaxonomiesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListTaxonomiesResponse() {
     taxonomies_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -45,32 +27,28 @@ private ListTaxonomiesResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListTaxonomiesResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse.class,
-            com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse.class, com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse.Builder.class);
   }
 
   public static final int TAXONOMIES_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List taxonomies_;
   /**
-   *
-   *
    * 
    * Taxonomies that the project contains.
    * 
@@ -82,8 +60,6 @@ public java.util.List getTaxonomi return taxonomies_; } /** - * - * *
    * Taxonomies that the project contains.
    * 
@@ -91,13 +67,11 @@ public java.util.List getTaxonomi * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTaxonomiesOrBuilderList() { return taxonomies_; } /** - * - * *
    * Taxonomies that the project contains.
    * 
@@ -109,8 +83,6 @@ public int getTaxonomiesCount() { return taxonomies_.size(); } /** - * - * *
    * Taxonomies that the project contains.
    * 
@@ -122,8 +94,6 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomies(int index) { return taxonomies_.get(index); } /** - * - * *
    * Taxonomies that the project contains.
    * 
@@ -131,24 +101,21 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomies(int index) { * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomiesOrBuilder(int index) { + public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomiesOrBuilder( + int index) { return taxonomies_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Token used 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 +124,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 used 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,7 +156,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +167,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < taxonomies_.size(); i++) { output.writeMessage(1, taxonomies_.get(i)); } @@ -218,7 +185,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < taxonomies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, taxonomies_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, taxonomies_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -231,16 +199,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.datacatalog.v1beta1.ListTaxonomiesResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse other = - (com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse) obj; + com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse other = (com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse) obj; - if (!getTaxonomiesList().equals(other.getTaxonomiesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getTaxonomiesList() + .equals(other.getTaxonomiesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -264,104 +233,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for
    * [ListTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManager.ListTaxonomies].
@@ -369,32 +332,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse)
       com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse.class,
-              com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse.class, com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -411,9 +375,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesResponse_descriptor;
     }
 
     @java.lang.Override
@@ -432,18 +396,14 @@ public com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse result =
-          new com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse(this);
+      com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse result = new com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse result) {
+    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse result) {
       if (taxonomiesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           taxonomies_ = java.util.Collections.unmodifiableList(taxonomies_);
@@ -466,39 +426,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRe
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -506,8 +465,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse.getDefaultInstance()) return this;
       if (taxonomiesBuilder_ == null) {
         if (!other.taxonomies_.isEmpty()) {
           if (taxonomies_.isEmpty()) {
@@ -526,10 +484,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResp
             taxonomiesBuilder_ = null;
             taxonomies_ = other.taxonomies_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            taxonomiesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getTaxonomiesFieldBuilder()
-                    : null;
+            taxonomiesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getTaxonomiesFieldBuilder() : null;
           } else {
             taxonomiesBuilder_.addAllMessages(other.taxonomies_);
           }
@@ -566,32 +523,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.datacatalog.v1beta1.Taxonomy m =
-                    input.readMessage(
-                        com.google.cloud.datacatalog.v1beta1.Taxonomy.parser(), extensionRegistry);
-                if (taxonomiesBuilder_ == null) {
-                  ensureTaxonomiesIsMutable();
-                  taxonomies_.add(m);
-                } else {
-                  taxonomiesBuilder_.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.datacatalog.v1beta1.Taxonomy m =
+                  input.readMessage(
+                      com.google.cloud.datacatalog.v1beta1.Taxonomy.parser(),
+                      extensionRegistry);
+              if (taxonomiesBuilder_ == null) {
+                ensureTaxonomiesIsMutable();
+                taxonomies_.add(m);
+              } else {
+                taxonomiesBuilder_.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) {
@@ -601,29 +556,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List taxonomies_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureTaxonomiesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        taxonomies_ =
-            new java.util.ArrayList(taxonomies_);
+        taxonomies_ = new java.util.ArrayList(taxonomies_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.datacatalog.v1beta1.Taxonomy,
-            com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder,
-            com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder>
-        taxonomiesBuilder_;
+        com.google.cloud.datacatalog.v1beta1.Taxonomy, com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder> taxonomiesBuilder_;
 
     /**
-     *
-     *
      * 
      * Taxonomies that the project contains.
      * 
@@ -638,8 +585,6 @@ public java.util.List getTaxonomi } } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -654,8 +599,6 @@ public int getTaxonomiesCount() { } } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -670,15 +613,14 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomies(int index) { } } /** - * - * *
      * Taxonomies that the project contains.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - public Builder setTaxonomies(int index, com.google.cloud.datacatalog.v1beta1.Taxonomy value) { + public Builder setTaxonomies( + int index, com.google.cloud.datacatalog.v1beta1.Taxonomy value) { if (taxonomiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -692,8 +634,6 @@ public Builder setTaxonomies(int index, com.google.cloud.datacatalog.v1beta1.Tax return this; } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -712,8 +652,6 @@ public Builder setTaxonomies( return this; } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -734,15 +672,14 @@ public Builder addTaxonomies(com.google.cloud.datacatalog.v1beta1.Taxonomy value return this; } /** - * - * *
      * Taxonomies that the project contains.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - public Builder addTaxonomies(int index, com.google.cloud.datacatalog.v1beta1.Taxonomy value) { + public Builder addTaxonomies( + int index, com.google.cloud.datacatalog.v1beta1.Taxonomy value) { if (taxonomiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -756,8 +693,6 @@ public Builder addTaxonomies(int index, com.google.cloud.datacatalog.v1beta1.Tax return this; } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -776,8 +711,6 @@ public Builder addTaxonomies( return this; } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -796,8 +729,6 @@ public Builder addTaxonomies( return this; } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -808,7 +739,8 @@ public Builder addAllTaxonomies( java.lang.Iterable values) { if (taxonomiesBuilder_ == null) { ensureTaxonomiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taxonomies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, taxonomies_); onChanged(); } else { taxonomiesBuilder_.addAllMessages(values); @@ -816,8 +748,6 @@ public Builder addAllTaxonomies( return this; } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -835,8 +765,6 @@ public Builder clearTaxonomies() { return this; } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -854,20 +782,17 @@ public Builder removeTaxonomies(int index) { return this; } /** - * - * *
      * Taxonomies that the project contains.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder getTaxonomiesBuilder(int index) { + public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder getTaxonomiesBuilder( + int index) { return getTaxonomiesFieldBuilder().getBuilder(index); } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -877,22 +802,19 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder getTaxonomiesBuilde public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomiesOrBuilder( int index) { if (taxonomiesBuilder_ == null) { - return taxonomies_.get(index); - } else { + return taxonomies_.get(index); } else { return taxonomiesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Taxonomies that the project contains.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - public java.util.List - getTaxonomiesOrBuilderList() { + public java.util.List + getTaxonomiesOrBuilderList() { if (taxonomiesBuilder_ != null) { return taxonomiesBuilder_.getMessageOrBuilderList(); } else { @@ -900,8 +822,6 @@ public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomiesOrBui } } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -909,48 +829,42 @@ public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomiesOrBui * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder addTaxonomiesBuilder() { - return getTaxonomiesFieldBuilder() - .addBuilder(com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance()); + return getTaxonomiesFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance()); } /** - * - * *
      * Taxonomies that the project contains.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder addTaxonomiesBuilder(int index) { - return getTaxonomiesFieldBuilder() - .addBuilder(index, com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance()); + public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder addTaxonomiesBuilder( + int index) { + return getTaxonomiesFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance()); } /** - * - * *
      * Taxonomies that the project contains.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - public java.util.List - getTaxonomiesBuilderList() { + public java.util.List + getTaxonomiesBuilderList() { return getTaxonomiesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Taxonomy, - com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, - com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder> + com.google.cloud.datacatalog.v1beta1.Taxonomy, com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder> getTaxonomiesFieldBuilder() { if (taxonomiesBuilder_ == null) { - taxonomiesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Taxonomy, - com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, - com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder>( - taxonomies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + taxonomiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.Taxonomy, com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder>( + taxonomies_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); taxonomies_ = null; } return taxonomiesBuilder_; @@ -958,21 +872,19 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder addTaxonomiesBuilde private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token used 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; @@ -981,22 +893,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token used 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 { @@ -1004,37 +915,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token used 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 used 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() { @@ -1044,31 +948,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Token used 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); } @@ -1078,12 +978,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse) private static final com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse(); } @@ -1092,27 +992,27 @@ public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTaxonomiesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTaxonomiesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1127,4 +1027,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponseOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponseOrBuilder.java similarity index 69% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponseOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponseOrBuilder.java index 5349e97c3944..09327e227037 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponseOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; -public interface ListTaxonomiesResponseOrBuilder - extends +public interface ListTaxonomiesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Taxonomies that the project contains.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - java.util.List getTaxonomiesList(); + java.util.List + getTaxonomiesList(); /** - * - * *
    * Taxonomies that the project contains.
    * 
@@ -44,8 +25,6 @@ public interface ListTaxonomiesResponseOrBuilder */ com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomies(int index); /** - * - * *
    * Taxonomies that the project contains.
    * 
@@ -54,51 +33,43 @@ public interface ListTaxonomiesResponseOrBuilder */ int getTaxonomiesCount(); /** - * - * *
    * Taxonomies that the project contains.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - java.util.List + java.util.List getTaxonomiesOrBuilderList(); /** - * - * *
    * Taxonomies that the project contains.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomiesOrBuilder(int index); + com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomiesOrBuilder( + int index); /** - * - * *
    * Token used 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 used 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LocationName.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LocationName.java similarity index 100% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LocationName.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LocationName.java diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequest.java similarity index 72% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequest.java index 12f2eb6f1c9b..2d46e5e138b8 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [LookupEntry][google.cloud.datacatalog.v1beta1.DataCatalog.LookupEntry].
@@ -28,53 +11,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.LookupEntryRequest}
  */
-public final class LookupEntryRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class LookupEntryRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.LookupEntryRequest)
     LookupEntryRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use LookupEntryRequest.newBuilder() to construct.
   private LookupEntryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private LookupEntryRequest() {}
+  private LookupEntryRequest() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new LookupEntryRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.LookupEntryRequest.class,
-            com.google.cloud.datacatalog.v1beta1.LookupEntryRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.LookupEntryRequest.class, com.google.cloud.datacatalog.v1beta1.LookupEntryRequest.Builder.class);
   }
 
   private int targetNameCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object targetName_;
-
   public enum TargetNameCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     LINKED_RESOURCE(1),
     SQL_RESOURCE(3),
     TARGETNAME_NOT_SET(0);
     private final int value;
-
     private TargetNameCase(int value) {
       this.value = value;
     }
@@ -90,30 +68,25 @@ public static TargetNameCase valueOf(int value) {
 
     public static TargetNameCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return LINKED_RESOURCE;
-        case 3:
-          return SQL_RESOURCE;
-        case 0:
-          return TARGETNAME_NOT_SET;
-        default:
-          return null;
+        case 1: return LINKED_RESOURCE;
+        case 3: return SQL_RESOURCE;
+        case 0: return TARGETNAME_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TargetNameCase getTargetNameCase() {
-    return TargetNameCase.forNumber(targetNameCase_);
+  public TargetNameCase
+  getTargetNameCase() {
+    return TargetNameCase.forNumber(
+        targetNameCase_);
   }
 
   public static final int LINKED_RESOURCE_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * The full name of the Google Cloud Platform resource the Data Catalog
    * entry represents. See:
@@ -127,15 +100,12 @@ public TargetNameCase getTargetNameCase() {
    * 
* * string linked_resource = 1; - * * @return Whether the linkedResource field is set. */ public boolean hasLinkedResource() { return targetNameCase_ == 1; } /** - * - * *
    * The full name of the Google Cloud Platform resource the Data Catalog
    * entry represents. See:
@@ -149,7 +119,6 @@ public boolean hasLinkedResource() {
    * 
* * string linked_resource = 1; - * * @return The linkedResource. */ public java.lang.String getLinkedResource() { @@ -160,7 +129,8 @@ public java.lang.String getLinkedResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (targetNameCase_ == 1) { targetName_ = s; @@ -169,8 +139,6 @@ public java.lang.String getLinkedResource() { } } /** - * - * *
    * The full name of the Google Cloud Platform resource the Data Catalog
    * entry represents. See:
@@ -184,17 +152,18 @@ public java.lang.String getLinkedResource() {
    * 
* * string linked_resource = 1; - * * @return The bytes for linkedResource. */ - public com.google.protobuf.ByteString getLinkedResourceBytes() { + public com.google.protobuf.ByteString + getLinkedResourceBytes() { java.lang.Object ref = ""; if (targetNameCase_ == 1) { ref = targetName_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (targetNameCase_ == 1) { targetName_ = b; } @@ -206,8 +175,6 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { public static final int SQL_RESOURCE_FIELD_NUMBER = 3; /** - * - * *
    * The SQL name of the entry. SQL names are case-sensitive.
    *
@@ -219,20 +186,17 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() {
    *   * `bigquery.dataset.project_id.dataset_id`
    *   * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
    *
-   * `*_id`s shoud satisfy the standard SQL rules for identifiers.
+   * `*_id`s should satisfy the standard SQL rules for identifiers.
    * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
    * 
* * string sql_resource = 3; - * * @return Whether the sqlResource field is set. */ public boolean hasSqlResource() { return targetNameCase_ == 3; } /** - * - * *
    * The SQL name of the entry. SQL names are case-sensitive.
    *
@@ -244,12 +208,11 @@ public boolean hasSqlResource() {
    *   * `bigquery.dataset.project_id.dataset_id`
    *   * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
    *
-   * `*_id`s shoud satisfy the standard SQL rules for identifiers.
+   * `*_id`s should satisfy the standard SQL rules for identifiers.
    * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
    * 
* * string sql_resource = 3; - * * @return The sqlResource. */ public java.lang.String getSqlResource() { @@ -260,7 +223,8 @@ public java.lang.String getSqlResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (targetNameCase_ == 3) { targetName_ = s; @@ -269,8 +233,6 @@ public java.lang.String getSqlResource() { } } /** - * - * *
    * The SQL name of the entry. SQL names are case-sensitive.
    *
@@ -282,22 +244,23 @@ public java.lang.String getSqlResource() {
    *   * `bigquery.dataset.project_id.dataset_id`
    *   * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
    *
-   * `*_id`s shoud satisfy the standard SQL rules for identifiers.
+   * `*_id`s should satisfy the standard SQL rules for identifiers.
    * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
    * 
* * string sql_resource = 3; - * * @return The bytes for sqlResource. */ - public com.google.protobuf.ByteString getSqlResourceBytes() { + public com.google.protobuf.ByteString + getSqlResourceBytes() { java.lang.Object ref = ""; if (targetNameCase_ == 3) { ref = targetName_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (targetNameCase_ == 3) { targetName_ = b; } @@ -308,7 +271,6 @@ public com.google.protobuf.ByteString getSqlResourceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -320,7 +282,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (targetNameCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, targetName_); } @@ -350,21 +313,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.datacatalog.v1beta1.LookupEntryRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.LookupEntryRequest other = - (com.google.cloud.datacatalog.v1beta1.LookupEntryRequest) obj; + com.google.cloud.datacatalog.v1beta1.LookupEntryRequest other = (com.google.cloud.datacatalog.v1beta1.LookupEntryRequest) obj; if (!getTargetNameCase().equals(other.getTargetNameCase())) return false; switch (targetNameCase_) { case 1: - if (!getLinkedResource().equals(other.getLinkedResource())) return false; + if (!getLinkedResource() + .equals(other.getLinkedResource())) return false; break; case 3: - if (!getSqlResource().equals(other.getSqlResource())) return false; + if (!getSqlResource() + .equals(other.getSqlResource())) return false; break; case 0: default: @@ -398,104 +362,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.LookupEntryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.LookupEntryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.LookupEntryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.LookupEntryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.LookupEntryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.LookupEntryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.LookupEntryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.LookupEntryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.LookupEntryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.LookupEntryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.LookupEntryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.LookupEntryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.LookupEntryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.LookupEntryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.LookupEntryRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.LookupEntryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [LookupEntry][google.cloud.datacatalog.v1beta1.DataCatalog.LookupEntry].
@@ -503,32 +461,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.LookupEntryRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.LookupEntryRequest)
       com.google.cloud.datacatalog.v1beta1.LookupEntryRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.LookupEntryRequest.class,
-              com.google.cloud.datacatalog.v1beta1.LookupEntryRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.LookupEntryRequest.class, com.google.cloud.datacatalog.v1beta1.LookupEntryRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.LookupEntryRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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 +498,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_descriptor;
     }
 
     @java.lang.Override
@@ -560,11 +519,8 @@ public com.google.cloud.datacatalog.v1beta1.LookupEntryRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.LookupEntryRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.LookupEntryRequest result =
-          new com.google.cloud.datacatalog.v1beta1.LookupEntryRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.LookupEntryRequest result = new com.google.cloud.datacatalog.v1beta1.LookupEntryRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -574,8 +530,7 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.LookupEntryReque
       int from_bitField0_ = bitField0_;
     }
 
-    private void buildPartialOneofs(
-        com.google.cloud.datacatalog.v1beta1.LookupEntryRequest result) {
+    private void buildPartialOneofs(com.google.cloud.datacatalog.v1beta1.LookupEntryRequest result) {
       result.targetNameCase_ = targetNameCase_;
       result.targetName_ = this.targetName_;
     }
@@ -584,39 +539,38 @@ private void buildPartialOneofs(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.LookupEntryRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.LookupEntryRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.LookupEntryRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -624,27 +578,23 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.LookupEntryRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.LookupEntryRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.LookupEntryRequest.getDefaultInstance()) return this;
       switch (other.getTargetNameCase()) {
-        case LINKED_RESOURCE:
-          {
-            targetNameCase_ = 1;
-            targetName_ = other.targetName_;
-            onChanged();
-            break;
-          }
-        case SQL_RESOURCE:
-          {
-            targetNameCase_ = 3;
-            targetName_ = other.targetName_;
-            onChanged();
-            break;
-          }
-        case TARGETNAME_NOT_SET:
-          {
-            break;
-          }
+        case LINKED_RESOURCE: {
+          targetNameCase_ = 1;
+          targetName_ = other.targetName_;
+          onChanged();
+          break;
+        }
+        case SQL_RESOURCE: {
+          targetNameCase_ = 3;
+          targetName_ = other.targetName_;
+          onChanged();
+          break;
+        }
+        case TARGETNAME_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -672,27 +622,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                targetNameCase_ = 1;
-                targetName_ = s;
-                break;
-              } // case 10
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                targetNameCase_ = 3;
-                targetName_ = 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();
+              targetNameCase_ = 1;
+              targetName_ = s;
+              break;
+            } // case 10
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              targetNameCase_ = 3;
+              targetName_ = 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) {
@@ -702,12 +649,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int targetNameCase_ = 0;
     private java.lang.Object targetName_;
-
-    public TargetNameCase getTargetNameCase() {
-      return TargetNameCase.forNumber(targetNameCase_);
+    public TargetNameCase
+        getTargetNameCase() {
+      return TargetNameCase.forNumber(
+          targetNameCase_);
     }
 
     public Builder clearTargetName() {
@@ -720,8 +667,6 @@ public Builder clearTargetName() {
     private int bitField0_;
 
     /**
-     *
-     *
      * 
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. See:
@@ -735,7 +680,6 @@ public Builder clearTargetName() {
      * 
* * string linked_resource = 1; - * * @return Whether the linkedResource field is set. */ @java.lang.Override @@ -743,8 +687,6 @@ public boolean hasLinkedResource() { return targetNameCase_ == 1; } /** - * - * *
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. See:
@@ -758,7 +700,6 @@ public boolean hasLinkedResource() {
      * 
* * string linked_resource = 1; - * * @return The linkedResource. */ @java.lang.Override @@ -768,7 +709,8 @@ public java.lang.String getLinkedResource() { ref = targetName_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (targetNameCase_ == 1) { targetName_ = s; @@ -779,8 +721,6 @@ public java.lang.String getLinkedResource() { } } /** - * - * *
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. See:
@@ -794,18 +734,19 @@ public java.lang.String getLinkedResource() {
      * 
* * string linked_resource = 1; - * * @return The bytes for linkedResource. */ @java.lang.Override - public com.google.protobuf.ByteString getLinkedResourceBytes() { + public com.google.protobuf.ByteString + getLinkedResourceBytes() { java.lang.Object ref = ""; if (targetNameCase_ == 1) { ref = targetName_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (targetNameCase_ == 1) { targetName_ = b; } @@ -815,8 +756,6 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { } } /** - * - * *
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. See:
@@ -830,22 +769,18 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() {
      * 
* * string linked_resource = 1; - * * @param value The linkedResource to set. * @return This builder for chaining. */ - public Builder setLinkedResource(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLinkedResource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } targetNameCase_ = 1; targetName_ = value; onChanged(); return this; } /** - * - * *
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. See:
@@ -859,7 +794,6 @@ public Builder setLinkedResource(java.lang.String value) {
      * 
* * string linked_resource = 1; - * * @return This builder for chaining. */ public Builder clearLinkedResource() { @@ -871,8 +805,6 @@ public Builder clearLinkedResource() { return this; } /** - * - * *
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. See:
@@ -886,14 +818,12 @@ public Builder clearLinkedResource() {
      * 
* * string linked_resource = 1; - * * @param value The bytes for linkedResource to set. * @return This builder for chaining. */ - public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLinkedResourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); targetNameCase_ = 1; targetName_ = value; @@ -902,8 +832,6 @@ public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * The SQL name of the entry. SQL names are case-sensitive.
      *
@@ -915,12 +843,11 @@ public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) {
      *   * `bigquery.dataset.project_id.dataset_id`
      *   * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
      *
-     * `*_id`s shoud satisfy the standard SQL rules for identifiers.
+     * `*_id`s should satisfy the standard SQL rules for identifiers.
      * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
      * 
* * string sql_resource = 3; - * * @return Whether the sqlResource field is set. */ @java.lang.Override @@ -928,8 +855,6 @@ public boolean hasSqlResource() { return targetNameCase_ == 3; } /** - * - * *
      * The SQL name of the entry. SQL names are case-sensitive.
      *
@@ -941,12 +866,11 @@ public boolean hasSqlResource() {
      *   * `bigquery.dataset.project_id.dataset_id`
      *   * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
      *
-     * `*_id`s shoud satisfy the standard SQL rules for identifiers.
+     * `*_id`s should satisfy the standard SQL rules for identifiers.
      * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
      * 
* * string sql_resource = 3; - * * @return The sqlResource. */ @java.lang.Override @@ -956,7 +880,8 @@ public java.lang.String getSqlResource() { ref = targetName_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (targetNameCase_ == 3) { targetName_ = s; @@ -967,8 +892,6 @@ public java.lang.String getSqlResource() { } } /** - * - * *
      * The SQL name of the entry. SQL names are case-sensitive.
      *
@@ -980,23 +903,24 @@ public java.lang.String getSqlResource() {
      *   * `bigquery.dataset.project_id.dataset_id`
      *   * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
      *
-     * `*_id`s shoud satisfy the standard SQL rules for identifiers.
+     * `*_id`s should satisfy the standard SQL rules for identifiers.
      * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
      * 
* * string sql_resource = 3; - * * @return The bytes for sqlResource. */ @java.lang.Override - public com.google.protobuf.ByteString getSqlResourceBytes() { + public com.google.protobuf.ByteString + getSqlResourceBytes() { java.lang.Object ref = ""; if (targetNameCase_ == 3) { ref = targetName_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (targetNameCase_ == 3) { targetName_ = b; } @@ -1006,8 +930,6 @@ public com.google.protobuf.ByteString getSqlResourceBytes() { } } /** - * - * *
      * The SQL name of the entry. SQL names are case-sensitive.
      *
@@ -1019,27 +941,23 @@ public com.google.protobuf.ByteString getSqlResourceBytes() {
      *   * `bigquery.dataset.project_id.dataset_id`
      *   * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
      *
-     * `*_id`s shoud satisfy the standard SQL rules for identifiers.
+     * `*_id`s should satisfy the standard SQL rules for identifiers.
      * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
      * 
* * string sql_resource = 3; - * * @param value The sqlResource to set. * @return This builder for chaining. */ - public Builder setSqlResource(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSqlResource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } targetNameCase_ = 3; targetName_ = value; onChanged(); return this; } /** - * - * *
      * The SQL name of the entry. SQL names are case-sensitive.
      *
@@ -1051,12 +969,11 @@ public Builder setSqlResource(java.lang.String value) {
      *   * `bigquery.dataset.project_id.dataset_id`
      *   * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
      *
-     * `*_id`s shoud satisfy the standard SQL rules for identifiers.
+     * `*_id`s should satisfy the standard SQL rules for identifiers.
      * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
      * 
* * string sql_resource = 3; - * * @return This builder for chaining. */ public Builder clearSqlResource() { @@ -1068,8 +985,6 @@ public Builder clearSqlResource() { return this; } /** - * - * *
      * The SQL name of the entry. SQL names are case-sensitive.
      *
@@ -1081,28 +996,26 @@ public Builder clearSqlResource() {
      *   * `bigquery.dataset.project_id.dataset_id`
      *   * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
      *
-     * `*_id`s shoud satisfy the standard SQL rules for identifiers.
+     * `*_id`s should satisfy the standard SQL rules for identifiers.
      * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
      * 
* * string sql_resource = 3; - * * @param value The bytes for sqlResource to set. * @return This builder for chaining. */ - public Builder setSqlResourceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSqlResourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); targetNameCase_ = 3; targetName_ = 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); } @@ -1112,12 +1025,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.LookupEntryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.LookupEntryRequest) private static final com.google.cloud.datacatalog.v1beta1.LookupEntryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.LookupEntryRequest(); } @@ -1126,27 +1039,27 @@ public static com.google.cloud.datacatalog.v1beta1.LookupEntryRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LookupEntryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LookupEntryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,4 +1074,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.LookupEntryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequestOrBuilder.java similarity index 78% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequestOrBuilder.java index ae56d05c6518..3746abffc091 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface LookupEntryRequestOrBuilder - extends +public interface LookupEntryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.LookupEntryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The full name of the Google Cloud Platform resource the Data Catalog
    * entry represents. See:
@@ -39,13 +21,10 @@ public interface LookupEntryRequestOrBuilder
    * 
* * string linked_resource = 1; - * * @return Whether the linkedResource field is set. */ boolean hasLinkedResource(); /** - * - * *
    * The full name of the Google Cloud Platform resource the Data Catalog
    * entry represents. See:
@@ -59,13 +38,10 @@ public interface LookupEntryRequestOrBuilder
    * 
* * string linked_resource = 1; - * * @return The linkedResource. */ java.lang.String getLinkedResource(); /** - * - * *
    * The full name of the Google Cloud Platform resource the Data Catalog
    * entry represents. See:
@@ -79,14 +55,12 @@ public interface LookupEntryRequestOrBuilder
    * 
* * string linked_resource = 1; - * * @return The bytes for linkedResource. */ - com.google.protobuf.ByteString getLinkedResourceBytes(); + com.google.protobuf.ByteString + getLinkedResourceBytes(); /** - * - * *
    * The SQL name of the entry. SQL names are case-sensitive.
    *
@@ -98,18 +72,15 @@ public interface LookupEntryRequestOrBuilder
    *   * `bigquery.dataset.project_id.dataset_id`
    *   * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
    *
-   * `*_id`s shoud satisfy the standard SQL rules for identifiers.
+   * `*_id`s should satisfy the standard SQL rules for identifiers.
    * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
    * 
* * string sql_resource = 3; - * * @return Whether the sqlResource field is set. */ boolean hasSqlResource(); /** - * - * *
    * The SQL name of the entry. SQL names are case-sensitive.
    *
@@ -121,18 +92,15 @@ public interface LookupEntryRequestOrBuilder
    *   * `bigquery.dataset.project_id.dataset_id`
    *   * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
    *
-   * `*_id`s shoud satisfy the standard SQL rules for identifiers.
+   * `*_id`s should satisfy the standard SQL rules for identifiers.
    * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
    * 
* * string sql_resource = 3; - * * @return The sqlResource. */ java.lang.String getSqlResource(); /** - * - * *
    * The SQL name of the entry. SQL names are case-sensitive.
    *
@@ -144,15 +112,15 @@ public interface LookupEntryRequestOrBuilder
    *   * `bigquery.dataset.project_id.dataset_id`
    *   * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
    *
-   * `*_id`s shoud satisfy the standard SQL rules for identifiers.
+   * `*_id`s should satisfy the standard SQL rules for identifiers.
    * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
    * 
* * string sql_resource = 3; - * * @return The bytes for sqlResource. */ - com.google.protobuf.ByteString getSqlResourceBytes(); + com.google.protobuf.ByteString + getSqlResourceBytes(); com.google.cloud.datacatalog.v1beta1.LookupEntryRequest.TargetNameCase getTargetNameCase(); } diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ManagingSystem.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ManagingSystem.java new file mode 100644 index 000000000000..d0cef1365a6d --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ManagingSystem.java @@ -0,0 +1,151 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/common.proto + +package com.google.cloud.datacatalog.v1beta1; + +/** + *
+ * This enum describes all the systems that manage
+ * Taxonomy and PolicyTag resources in DataCatalog.
+ * 
+ * + * Protobuf enum {@code google.cloud.datacatalog.v1beta1.ManagingSystem} + */ +public enum ManagingSystem + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+   * Default value
+   * 
+ * + * MANAGING_SYSTEM_UNSPECIFIED = 0; + */ + MANAGING_SYSTEM_UNSPECIFIED(0), + /** + *
+   * Dataplex.
+   * 
+ * + * MANAGING_SYSTEM_DATAPLEX = 1; + */ + MANAGING_SYSTEM_DATAPLEX(1), + /** + *
+   * Other
+   * 
+ * + * MANAGING_SYSTEM_OTHER = 2; + */ + MANAGING_SYSTEM_OTHER(2), + UNRECOGNIZED(-1), + ; + + /** + *
+   * Default value
+   * 
+ * + * MANAGING_SYSTEM_UNSPECIFIED = 0; + */ + public static final int MANAGING_SYSTEM_UNSPECIFIED_VALUE = 0; + /** + *
+   * Dataplex.
+   * 
+ * + * MANAGING_SYSTEM_DATAPLEX = 1; + */ + public static final int MANAGING_SYSTEM_DATAPLEX_VALUE = 1; + /** + *
+   * Other
+   * 
+ * + * MANAGING_SYSTEM_OTHER = 2; + */ + public static final int MANAGING_SYSTEM_OTHER_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ManagingSystem valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ManagingSystem forNumber(int value) { + switch (value) { + case 0: return MANAGING_SYSTEM_UNSPECIFIED; + case 1: return MANAGING_SYSTEM_DATAPLEX; + case 2: return MANAGING_SYSTEM_OTHER; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + ManagingSystem> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ManagingSystem findValueByNumber(int number) { + return ManagingSystem.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Common.getDescriptor().getEnumTypes().get(1); + } + + private static final ManagingSystem[] VALUES = values(); + + public static ManagingSystem valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private ManagingSystem(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1beta1.ManagingSystem) +} + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTag.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTag.java similarity index 72% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTag.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTag.java index 519706bacbc2..f7bada05f566 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTag.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTag.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Denotes one policy tag in a taxonomy (e.g. ssn). Policy Tags can be defined
  * in a hierarchy. For example, consider the following hierarchy:
@@ -30,59 +13,54 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.PolicyTag}
  */
-public final class PolicyTag extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class PolicyTag extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.PolicyTag)
     PolicyTagOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use PolicyTag.newBuilder() to construct.
   private PolicyTag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private PolicyTag() {
     name_ = "";
     displayName_ = "";
     description_ = "";
     parentPolicyTag_ = "";
-    childPolicyTags_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    childPolicyTags_ =
+        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 PolicyTag();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1beta1_PolicyTag_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_PolicyTag_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1beta1_PolicyTag_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_PolicyTag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.PolicyTag.class,
-            com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.PolicyTag.class, com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Output only. Resource name of this policy tag, whose format is:
    * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}".
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -91,30 +69,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. Resource name of this policy tag, whose format is:
    * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}".
    * 
* * 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 { @@ -123,21 +101,17 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
-   * Required. User defined name of this policy tag. It must: be unique within the parent
-   * taxonomy; contain only unicode letters, numbers, underscores, dashes and
-   * spaces; not start or end with spaces; and be at most 200 bytes long when
-   * encoded in UTF-8.
+   * Required. User defined name of this policy tag. It must: be unique within
+   * the parent taxonomy; contain only unicode letters, numbers, underscores,
+   * dashes and spaces; not start or end with spaces; and be at most 200 bytes
+   * long when encoded in UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -146,32 +120,32 @@ 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; } } /** - * - * *
-   * Required. User defined name of this policy tag. It must: be unique within the parent
-   * taxonomy; contain only unicode letters, numbers, underscores, dashes and
-   * spaces; not start or end with spaces; and be at most 200 bytes long when
-   * encoded in UTF-8.
+   * Required. User defined name of this policy tag. It must: be unique within
+   * the parent taxonomy; contain only unicode letters, numbers, underscores,
+   * dashes and spaces; not start or end with spaces; and be at most 200 bytes
+   * long when encoded in UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -180,12 +154,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Description of this policy tag. It must: contain only unicode characters,
    * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
@@ -194,7 +165,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -203,15 +173,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; } } /** - * - * *
    * Description of this policy tag. It must: contain only unicode characters,
    * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
@@ -220,15 +189,16 @@ public java.lang.String getDescription() {
    * 
* * string description = 3; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -237,12 +207,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int PARENT_POLICY_TAG_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object parentPolicyTag_ = ""; /** - * - * *
    * Resource name of this policy tag's parent policy tag (e.g. for the
    * "LatLong" policy tag in the example above, this field contains the
@@ -253,7 +220,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
    * 
* * string parent_policy_tag = 4; - * * @return The parentPolicyTag. */ @java.lang.Override @@ -262,15 +228,14 @@ public java.lang.String getParentPolicyTag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentPolicyTag_ = s; return s; } } /** - * - * *
    * Resource name of this policy tag's parent policy tag (e.g. for the
    * "LatLong" policy tag in the example above, this field contains the
@@ -281,15 +246,16 @@ public java.lang.String getParentPolicyTag() {
    * 
* * string parent_policy_tag = 4; - * * @return The bytes for parentPolicyTag. */ @java.lang.Override - public com.google.protobuf.ByteString getParentPolicyTagBytes() { + public com.google.protobuf.ByteString + getParentPolicyTagBytes() { java.lang.Object ref = parentPolicyTag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parentPolicyTag_ = b; return b; } else { @@ -298,50 +264,38 @@ public com.google.protobuf.ByteString getParentPolicyTagBytes() { } public static final int CHILD_POLICY_TAGS_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList childPolicyTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Output only. Resource names of child policy tags of this policy tag.
    * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the childPolicyTags. */ - public com.google.protobuf.ProtocolStringList getChildPolicyTagsList() { + public com.google.protobuf.ProtocolStringList + getChildPolicyTagsList() { return childPolicyTags_; } /** - * - * *
    * Output only. Resource names of child policy tags of this policy tag.
    * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of childPolicyTags. */ public int getChildPolicyTagsCount() { return childPolicyTags_.size(); } /** - * - * *
    * Output only. Resource names of child policy tags of this policy tag.
    * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The childPolicyTags at the given index. */ @@ -349,24 +303,20 @@ public java.lang.String getChildPolicyTags(int index) { return childPolicyTags_.get(index); } /** - * - * *
    * Output only. Resource names of child policy tags of this policy tag.
    * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the childPolicyTags at the given index. */ - public com.google.protobuf.ByteString getChildPolicyTagsBytes(int index) { + public com.google.protobuf.ByteString + getChildPolicyTagsBytes(int index) { return childPolicyTags_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -378,7 +328,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -431,19 +382,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.datacatalog.v1beta1.PolicyTag)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.PolicyTag other = - (com.google.cloud.datacatalog.v1beta1.PolicyTag) obj; - - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getParentPolicyTag().equals(other.getParentPolicyTag())) return false; - if (!getChildPolicyTagsList().equals(other.getChildPolicyTagsList())) return false; + com.google.cloud.datacatalog.v1beta1.PolicyTag other = (com.google.cloud.datacatalog.v1beta1.PolicyTag) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getParentPolicyTag() + .equals(other.getParentPolicyTag())) return false; + if (!getChildPolicyTagsList() + .equals(other.getChildPolicyTagsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -472,104 +427,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1beta1.PolicyTag parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1beta1.PolicyTag parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.PolicyTag parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.PolicyTag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.PolicyTag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.PolicyTag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.PolicyTag parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.PolicyTag parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.PolicyTag parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.PolicyTag parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.PolicyTag parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.PolicyTag parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.PolicyTag parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.PolicyTag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.PolicyTag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 policy tag in a taxonomy (e.g. ssn). Policy Tags can be defined
    * in a hierarchy. For example, consider the following hierarchy:
@@ -579,32 +529,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.PolicyTag}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.PolicyTag)
       com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_PolicyTag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_PolicyTag_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_PolicyTag_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_PolicyTag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.PolicyTag.class,
-              com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.PolicyTag.class, com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.PolicyTag.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -613,14 +564,15 @@ public Builder clear() {
       displayName_ = "";
       description_ = "";
       parentPolicyTag_ = "";
-      childPolicyTags_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      childPolicyTags_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_PolicyTag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_PolicyTag_descriptor;
     }
 
     @java.lang.Override
@@ -639,11 +591,8 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTag build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.PolicyTag buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.PolicyTag result =
-          new com.google.cloud.datacatalog.v1beta1.PolicyTag(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.PolicyTag result = new com.google.cloud.datacatalog.v1beta1.PolicyTag(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -672,39 +621,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.PolicyTag result
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.PolicyTag) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.PolicyTag) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.PolicyTag)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -769,44 +717,38 @@ 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 34:
-              {
-                parentPolicyTag_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureChildPolicyTagsIsMutable();
-                childPolicyTags_.add(s);
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              description_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              parentPolicyTag_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureChildPolicyTagsIsMutable();
+              childPolicyTags_.add(s);
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -816,26 +758,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. Resource name of this policy tag, whose format is:
      * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}".
      * 
* * 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; @@ -844,22 +783,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name of this policy tag, whose format is:
      * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}".
      * 
* * 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 { @@ -867,37 +805,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name of this policy tag, whose format is:
      * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}".
      * 
* * 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. Resource name of this policy tag, whose format is:
      * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}".
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -907,22 +838,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Resource name of this policy tag, whose format is:
      * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}".
      * 
* * 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; @@ -932,23 +859,21 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
-     * Required. User defined name of this policy tag. It must: be unique within the parent
-     * taxonomy; contain only unicode letters, numbers, underscores, dashes and
-     * spaces; not start or end with spaces; and be at most 200 bytes long when
-     * encoded in UTF-8.
+     * Required. User defined name of this policy tag. It must: be unique within
+     * the parent taxonomy; contain only unicode letters, numbers, underscores,
+     * dashes and spaces; not start or end with spaces; and be at most 200 bytes
+     * long when encoded in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -957,24 +882,23 @@ public java.lang.String getDisplayName() { } } /** - * - * *
-     * Required. User defined name of this policy tag. It must: be unique within the parent
-     * taxonomy; contain only unicode letters, numbers, underscores, dashes and
-     * spaces; not start or end with spaces; and be at most 200 bytes long when
-     * encoded in UTF-8.
+     * Required. User defined name of this policy tag. It must: be unique within
+     * the parent taxonomy; contain only unicode letters, numbers, underscores,
+     * dashes and spaces; not start or end with spaces; and be at most 200 bytes
+     * long when encoded in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -982,41 +906,34 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
-     * Required. User defined name of this policy tag. It must: be unique within the parent
-     * taxonomy; contain only unicode letters, numbers, underscores, dashes and
-     * spaces; not start or end with spaces; and be at most 200 bytes long when
-     * encoded in UTF-8.
+     * Required. User defined name of this policy tag. It must: be unique within
+     * the parent taxonomy; contain only unicode letters, numbers, underscores,
+     * dashes and spaces; not start or end with spaces; and be at most 200 bytes
+     * long when encoded in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @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; } /** - * - * *
-     * Required. User defined name of this policy tag. It must: be unique within the parent
-     * taxonomy; contain only unicode letters, numbers, underscores, dashes and
-     * spaces; not start or end with spaces; and be at most 200 bytes long when
-     * encoded in UTF-8.
+     * Required. User defined name of this policy tag. It must: be unique within
+     * the parent taxonomy; contain only unicode letters, numbers, underscores,
+     * dashes and spaces; not start or end with spaces; and be at most 200 bytes
+     * long when encoded in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1026,24 +943,20 @@ public Builder clearDisplayName() { return this; } /** - * - * *
-     * Required. User defined name of this policy tag. It must: be unique within the parent
-     * taxonomy; contain only unicode letters, numbers, underscores, dashes and
-     * spaces; not start or end with spaces; and be at most 200 bytes long when
-     * encoded in UTF-8.
+     * Required. User defined name of this policy tag. It must: be unique within
+     * the parent taxonomy; contain only unicode letters, numbers, underscores,
+     * dashes and spaces; not start or end with spaces; and be at most 200 bytes
+     * long when encoded in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -1053,8 +966,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Description of this policy tag. It must: contain only unicode characters,
      * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
@@ -1063,13 +974,13 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string description = 3; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1078,8 +989,6 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Description of this policy tag. It must: contain only unicode characters,
      * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
@@ -1088,14 +997,15 @@ public java.lang.String getDescription() {
      * 
* * string description = 3; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1103,8 +1013,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Description of this policy tag. It must: contain only unicode characters,
      * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
@@ -1113,22 +1021,18 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Description of this policy tag. It must: contain only unicode characters,
      * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
@@ -1137,7 +1041,6 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1147,8 +1050,6 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Description of this policy tag. It must: contain only unicode characters,
      * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
@@ -1157,14 +1058,12 @@ public Builder clearDescription() {
      * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -1174,8 +1073,6 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object parentPolicyTag_ = ""; /** - * - * *
      * Resource name of this policy tag's parent policy tag (e.g. for the
      * "LatLong" policy tag in the example above, this field contains the
@@ -1186,13 +1083,13 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
      * 
* * string parent_policy_tag = 4; - * * @return The parentPolicyTag. */ public java.lang.String getParentPolicyTag() { java.lang.Object ref = parentPolicyTag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentPolicyTag_ = s; return s; @@ -1201,8 +1098,6 @@ public java.lang.String getParentPolicyTag() { } } /** - * - * *
      * Resource name of this policy tag's parent policy tag (e.g. for the
      * "LatLong" policy tag in the example above, this field contains the
@@ -1213,14 +1108,15 @@ public java.lang.String getParentPolicyTag() {
      * 
* * string parent_policy_tag = 4; - * * @return The bytes for parentPolicyTag. */ - public com.google.protobuf.ByteString getParentPolicyTagBytes() { + public com.google.protobuf.ByteString + getParentPolicyTagBytes() { java.lang.Object ref = parentPolicyTag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parentPolicyTag_ = b; return b; } else { @@ -1228,8 +1124,6 @@ public com.google.protobuf.ByteString getParentPolicyTagBytes() { } } /** - * - * *
      * Resource name of this policy tag's parent policy tag (e.g. for the
      * "LatLong" policy tag in the example above, this field contains the
@@ -1240,22 +1134,18 @@ public com.google.protobuf.ByteString getParentPolicyTagBytes() {
      * 
* * string parent_policy_tag = 4; - * * @param value The parentPolicyTag to set. * @return This builder for chaining. */ - public Builder setParentPolicyTag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentPolicyTag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parentPolicyTag_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Resource name of this policy tag's parent policy tag (e.g. for the
      * "LatLong" policy tag in the example above, this field contains the
@@ -1266,7 +1156,6 @@ public Builder setParentPolicyTag(java.lang.String value) {
      * 
* * string parent_policy_tag = 4; - * * @return This builder for chaining. */ public Builder clearParentPolicyTag() { @@ -1276,8 +1165,6 @@ public Builder clearParentPolicyTag() { return this; } /** - * - * *
      * Resource name of this policy tag's parent policy tag (e.g. for the
      * "LatLong" policy tag in the example above, this field contains the
@@ -1288,14 +1175,12 @@ public Builder clearParentPolicyTag() {
      * 
* * string parent_policy_tag = 4; - * * @param value The bytes for parentPolicyTag to set. * @return This builder for chaining. */ - public Builder setParentPolicyTagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentPolicyTagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parentPolicyTag_ = value; bitField0_ |= 0x00000008; @@ -1305,7 +1190,6 @@ public Builder setParentPolicyTagBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList childPolicyTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureChildPolicyTagsIsMutable() { if (!childPolicyTags_.isModifiable()) { childPolicyTags_ = new com.google.protobuf.LazyStringArrayList(childPolicyTags_); @@ -1313,46 +1197,35 @@ private void ensureChildPolicyTagsIsMutable() { bitField0_ |= 0x00000010; } /** - * - * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the childPolicyTags. */ - public com.google.protobuf.ProtocolStringList getChildPolicyTagsList() { + public com.google.protobuf.ProtocolStringList + getChildPolicyTagsList() { childPolicyTags_.makeImmutable(); return childPolicyTags_; } /** - * - * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of childPolicyTags. */ public int getChildPolicyTagsCount() { return childPolicyTags_.size(); } /** - * - * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The childPolicyTags at the given index. */ @@ -1360,39 +1233,31 @@ public java.lang.String getChildPolicyTags(int index) { return childPolicyTags_.get(index); } /** - * - * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the childPolicyTags at the given index. */ - public com.google.protobuf.ByteString getChildPolicyTagsBytes(int index) { + public com.google.protobuf.ByteString + getChildPolicyTagsBytes(int index) { return childPolicyTags_.getByteString(index); } /** - * - * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index to set the value at. * @param value The childPolicyTags to set. * @return This builder for chaining. */ - public Builder setChildPolicyTags(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setChildPolicyTags( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureChildPolicyTagsIsMutable(); childPolicyTags_.set(index, value); bitField0_ |= 0x00000010; @@ -1400,22 +1265,17 @@ public Builder setChildPolicyTags(int index, java.lang.String value) { return this; } /** - * - * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The childPolicyTags to add. * @return This builder for chaining. */ - public Builder addChildPolicyTags(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addChildPolicyTags( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureChildPolicyTagsIsMutable(); childPolicyTags_.add(value); bitField0_ |= 0x00000010; @@ -1423,61 +1283,50 @@ public Builder addChildPolicyTags(java.lang.String value) { return this; } /** - * - * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The childPolicyTags to add. * @return This builder for chaining. */ - public Builder addAllChildPolicyTags(java.lang.Iterable values) { + public Builder addAllChildPolicyTags( + java.lang.Iterable values) { ensureChildPolicyTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, childPolicyTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, childPolicyTags_); bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearChildPolicyTags() { - childPolicyTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - ; + childPolicyTags_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010);; onChanged(); return this; } /** - * - * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes of the childPolicyTags to add. * @return This builder for chaining. */ - public Builder addChildPolicyTagsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addChildPolicyTagsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureChildPolicyTagsIsMutable(); childPolicyTags_.add(value); @@ -1485,9 +1334,9 @@ public Builder addChildPolicyTagsBytes(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); } @@ -1497,12 +1346,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.PolicyTag) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.PolicyTag) private static final com.google.cloud.datacatalog.v1beta1.PolicyTag DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.PolicyTag(); } @@ -1511,27 +1360,27 @@ public static com.google.cloud.datacatalog.v1beta1.PolicyTag getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PolicyTag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PolicyTag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1546,4 +1395,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.PolicyTag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerProto.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerProto.java new file mode 100644 index 000000000000..15ce6c3c133e --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerProto.java @@ -0,0 +1,379 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/policytagmanager.proto + +package com.google.cloud.datacatalog.v1beta1; + +public final class PolicyTagManagerProto { + private PolicyTagManagerProto() {} + 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_datacatalog_v1beta1_Taxonomy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_Service_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_Service_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_PolicyTag_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_PolicyTag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_CreateTaxonomyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_CreateTaxonomyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_DeleteTaxonomyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_DeleteTaxonomyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_UpdateTaxonomyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_UpdateTaxonomyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_GetTaxonomyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_GetTaxonomyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_CreatePolicyTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_CreatePolicyTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_DeletePolicyTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_DeletePolicyTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_UpdatePolicyTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_UpdatePolicyTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_GetPolicyTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_GetPolicyTagRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n7google/cloud/datacatalog/v1beta1/polic" + + "ytagmanager.proto\022 google.cloud.datacata" + + "log.v1beta1\032\034google/api/annotations.prot" + + "o\032\027google/api/client.proto\032\037google/api/f" + + "ield_behavior.proto\032\031google/api/resource" + + ".proto\032-google/cloud/datacatalog/v1beta1" + + "/common.proto\0321google/cloud/datacatalog/" + + "v1beta1/timestamps.proto\032\036google/iam/v1/" + + "iam_policy.proto\032\032google/iam/v1/policy.p" + + "roto\032\033google/protobuf/empty.proto\032 googl" + + "e/protobuf/field_mask.proto\"\206\005\n\010Taxonomy" + + "\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\032\n\014display_name\030\002 \001" + + "(\tB\004\342A\001\002\022\031\n\013description\030\003 \001(\tB\004\342A\001\001\022\036\n\020p" + + "olicy_tag_count\030\004 \001(\005B\004\342A\001\003\022U\n\023taxonomy_" + + "timestamps\030\005 \001(\01322.google.cloud.datacata" + + "log.v1beta1.SystemTimestampsB\004\342A\001\003\022[\n\026ac" + + "tivated_policy_types\030\006 \003(\01625.google.clou" + + "d.datacatalog.v1beta1.Taxonomy.PolicyTyp" + + "eB\004\342A\001\001\022I\n\007service\030\007 \001(\01322.google.cloud." + + "datacatalog.v1beta1.Taxonomy.ServiceB\004\342A" + + "\001\003\032[\n\007Service\022>\n\004name\030\001 \001(\01620.google.clo" + + "ud.datacatalog.v1beta1.ManagingSystem\022\020\n" + + "\010identity\030\002 \001(\t\"J\n\nPolicyType\022\033\n\027POLICY_" + + "TYPE_UNSPECIFIED\020\000\022\037\n\033FINE_GRAINED_ACCES" + + "S_CONTROL\020\001:g\352Ad\n#datacatalog.googleapis" + + ".com/Taxonomy\022=projects/{project}/locati" + + "ons/{location}/taxonomies/{taxonomy}\"\217\002\n" + + "\tPolicyTag\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\032\n\014displa" + + "y_name\030\002 \001(\tB\004\342A\001\002\022\023\n\013description\030\003 \001(\t\022" + + "\031\n\021parent_policy_tag\030\004 \001(\t\022\037\n\021child_poli" + + "cy_tags\030\005 \003(\tB\004\342A\001\003:\200\001\352A}\n$datacatalog.g" + + "oogleapis.com/PolicyTag\022Uprojects/{proje" + + "ct}/locations/{location}/taxonomies/{tax" + + "onomy}/policyTags/{policy_tag}\"\223\001\n\025Creat" + + "eTaxonomyRequest\022<\n\006parent\030\001 \001(\tB,\342A\001\002\372A" + + "%\022#datacatalog.googleapis.com/Taxonomy\022<" + + "\n\010taxonomy\030\002 \001(\0132*.google.cloud.datacata" + + "log.v1beta1.Taxonomy\"S\n\025DeleteTaxonomyRe" + + "quest\022:\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#datacatalo" + + "g.googleapis.com/Taxonomy\"\206\001\n\025UpdateTaxo" + + "nomyRequest\022<\n\010taxonomy\030\001 \001(\0132*.google.c" + + "loud.datacatalog.v1beta1.Taxonomy\022/\n\013upd" + + "ate_mask\030\002 \001(\0132\032.google.protobuf.FieldMa" + + "sk\"\214\001\n\025ListTaxonomiesRequest\022<\n\006parent\030\001" + + " \001(\tB,\342A\001\002\372A%\022#datacatalog.googleapis.co" + + "m/Taxonomy\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" + + "ken\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"q\n\026ListTaxonom" + + "iesResponse\022>\n\ntaxonomies\030\001 \003(\0132*.google" + + ".cloud.datacatalog.v1beta1.Taxonomy\022\027\n\017n" + + "ext_page_token\030\002 \001(\t\"P\n\022GetTaxonomyReque" + + "st\022:\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#datacatalog.g" + + "oogleapis.com/Taxonomy\"\230\001\n\026CreatePolicyT" + + "agRequest\022=\n\006parent\030\001 \001(\tB-\342A\001\002\372A&\022$data" + + "catalog.googleapis.com/PolicyTag\022?\n\npoli" + + "cy_tag\030\002 \001(\0132+.google.cloud.datacatalog." + + "v1beta1.PolicyTag\"U\n\026DeletePolicyTagRequ" + + "est\022;\n\004name\030\001 \001(\tB-\342A\001\002\372A&\n$datacatalog." + + "googleapis.com/PolicyTag\"\212\001\n\026UpdatePolic" + + "yTagRequest\022?\n\npolicy_tag\030\001 \001(\0132+.google" + + ".cloud.datacatalog.v1beta1.PolicyTag\022/\n\013" + + "update_mask\030\002 \001(\0132\032.google.protobuf.Fiel" + + "dMask\"}\n\025ListPolicyTagsRequest\022=\n\006parent" + + "\030\001 \001(\tB-\342A\001\002\372A&\022$datacatalog.googleapis." + + "com/PolicyTag\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage" + + "_token\030\003 \001(\t\"s\n\026ListPolicyTagsResponse\022@" + + "\n\013policy_tags\030\001 \003(\0132+.google.cloud.datac" + + "atalog.v1beta1.PolicyTag\022\027\n\017next_page_to" + + "ken\030\002 \001(\t\"R\n\023GetPolicyTagRequest\022;\n\004name" + + "\030\001 \001(\tB-\342A\001\002\372A&\n$datacatalog.googleapis." + + "com/PolicyTag2\345\026\n\020PolicyTagManager\022\316\001\n\016C" + + "reateTaxonomy\0227.google.cloud.datacatalog" + + ".v1beta1.CreateTaxonomyRequest\032*.google." + + "cloud.datacatalog.v1beta1.Taxonomy\"W\332A\017p" + + "arent,taxonomy\202\323\344\223\002?\"3/v1beta1/{parent=p" + + "rojects/*/locations/*}/taxonomies:\010taxon" + + "omy\022\245\001\n\016DeleteTaxonomy\0227.google.cloud.da" + + "tacatalog.v1beta1.DeleteTaxonomyRequest\032" + + "\026.google.protobuf.Empty\"B\332A\004name\202\323\344\223\0025*3" + + "/v1beta1/{name=projects/*/locations/*/ta" + + "xonomies/*}\022\320\001\n\016UpdateTaxonomy\0227.google." + + "cloud.datacatalog.v1beta1.UpdateTaxonomy" + + "Request\032*.google.cloud.datacatalog.v1bet" + + "a1.Taxonomy\"Y\332A\010taxonomy\202\323\344\223\002H2\n\ntaxonomies\030\001 " + + "\003(\0132*.google.cloud.datacatalog.v1beta1.T" + + "axonomy\"\311\001\n\027ExportTaxonomiesRequest\022<\n\006p" + + "arent\030\001 \001(\tB,\342A\001\002\372A%\022#datacatalog.google" + + "apis.com/Taxonomy\022@\n\ntaxonomies\030\002 \003(\tB,\342" + + "A\001\002\372A%\n#datacatalog.googleapis.com/Taxon" + + "omy\022\037\n\025serialized_taxonomies\030\003 \001(\010H\000B\r\n\013" + + "destination\"d\n\030ExportTaxonomiesResponse\022" + + "H\n\ntaxonomies\030\001 \003(\01324.google.cloud.datac" + + "atalog.v1beta1.SerializedTaxonomy2\222\004\n\035Po" + + "licyTagManagerSerialization\022\320\001\n\020ImportTa" + + "xonomies\0229.google.cloud.datacatalog.v1be" + + "ta1.ImportTaxonomiesRequest\032:.google.clo" + + "ud.datacatalog.v1beta1.ImportTaxonomiesR" + + "esponse\"E\202\323\344\223\002?\":/v1beta1/{parent=projec" + + "ts/*/locations/*}/taxonomies:import:\001*\022\315" + + "\001\n\020ExportTaxonomies\0229.google.cloud.datac" + + "atalog.v1beta1.ExportTaxonomiesRequest\032:" + + ".google.cloud.datacatalog.v1beta1.Export" + + "TaxonomiesResponse\"B\202\323\344\223\002<\022:/v1beta1/{pa" + + "rent=projects/*/locations/*}/taxonomies:" + + "export\032N\312A\032datacatalog.googleapis.com\322A." + + "https://www.googleapis.com/auth/cloud-pl" + + "atformB\203\002\n$com.google.cloud.datacatalog." + + "v1beta1B\"PolicyTagManagerSerializationPr" + + "otoP\001ZFcloud.google.com/go/datacatalog/a" + + "piv1beta1/datacatalogpb;datacatalogpb\370\001\001" + + "\252\002 Google.Cloud.DataCatalog.V1Beta1\312\002 Go" + + "ogle\\Cloud\\DataCatalog\\V1beta1\352\002#Google:" + + ":Cloud::DataCatalog::V1beta1b\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.datacatalog.v1beta1.PolicyTagManagerProto.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_descriptor, + new java.lang.String[] { "DisplayName", "Description", "PolicyTags", "ActivatedPolicyTypes", }); + internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_descriptor, + new java.lang.String[] { "PolicyTag", "DisplayName", "Description", "ChildPolicyTags", }); + internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_descriptor, + new java.lang.String[] { "Parent", "InlineSource", "Source", }); + internal_static_google_cloud_datacatalog_v1beta1_InlineSource_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_datacatalog_v1beta1_InlineSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_InlineSource_descriptor, + new java.lang.String[] { "Taxonomies", }); + internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesResponse_descriptor, + new java.lang.String[] { "Taxonomies", }); + internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesRequest_descriptor, + new java.lang.String[] { "Parent", "Taxonomies", "SerializedTaxonomies", "Destination", }); + internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesResponse_descriptor, + new java.lang.String[] { "Taxonomies", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + 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.datacatalog.v1beta1.PolicyTagManagerProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagName.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagName.java similarity index 100% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagName.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagName.java diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagOrBuilder.java similarity index 71% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagOrBuilder.java index 81e8bbae80c8..01f7ea5bda99 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagOrBuilder.java @@ -1,89 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; -public interface PolicyTagOrBuilder - extends +public interface PolicyTagOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.PolicyTag) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name of this policy tag, whose format is:
    * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}".
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name of this policy tag, whose format is:
    * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}".
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
-   * Required. User defined name of this policy tag. It must: be unique within the parent
-   * taxonomy; contain only unicode letters, numbers, underscores, dashes and
-   * spaces; not start or end with spaces; and be at most 200 bytes long when
-   * encoded in UTF-8.
+   * Required. User defined name of this policy tag. It must: be unique within
+   * the parent taxonomy; contain only unicode letters, numbers, underscores,
+   * dashes and spaces; not start or end with spaces; and be at most 200 bytes
+   * long when encoded in UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
-   * Required. User defined name of this policy tag. It must: be unique within the parent
-   * taxonomy; contain only unicode letters, numbers, underscores, dashes and
-   * spaces; not start or end with spaces; and be at most 200 bytes long when
-   * encoded in UTF-8.
+   * Required. User defined name of this policy tag. It must: be unique within
+   * the parent taxonomy; contain only unicode letters, numbers, underscores,
+   * dashes and spaces; not start or end with spaces; and be at most 200 bytes
+   * long when encoded in UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Description of this policy tag. It must: contain only unicode characters,
    * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
@@ -92,13 +64,10 @@ public interface PolicyTagOrBuilder
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Description of this policy tag. It must: contain only unicode characters,
    * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
@@ -107,14 +76,12 @@ public interface PolicyTagOrBuilder
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Resource name of this policy tag's parent policy tag (e.g. for the
    * "LatLong" policy tag in the example above, this field contains the
@@ -125,13 +92,10 @@ public interface PolicyTagOrBuilder
    * 
* * string parent_policy_tag = 4; - * * @return The parentPolicyTag. */ java.lang.String getParentPolicyTag(); /** - * - * *
    * Resource name of this policy tag's parent policy tag (e.g. for the
    * "LatLong" policy tag in the example above, this field contains the
@@ -142,63 +106,49 @@ public interface PolicyTagOrBuilder
    * 
* * string parent_policy_tag = 4; - * * @return The bytes for parentPolicyTag. */ - com.google.protobuf.ByteString getParentPolicyTagBytes(); + com.google.protobuf.ByteString + getParentPolicyTagBytes(); /** - * - * *
    * Output only. Resource names of child policy tags of this policy tag.
    * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the childPolicyTags. */ - java.util.List getChildPolicyTagsList(); + java.util.List + getChildPolicyTagsList(); /** - * - * *
    * Output only. Resource names of child policy tags of this policy tag.
    * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of childPolicyTags. */ int getChildPolicyTagsCount(); /** - * - * *
    * Output only. Resource names of child policy tags of this policy tag.
    * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The childPolicyTags at the given index. */ java.lang.String getChildPolicyTags(int index); /** - * - * *
    * Output only. Resource names of child policy tags of this policy tag.
    * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the childPolicyTags at the given index. */ - com.google.protobuf.ByteString getChildPolicyTagsBytes(int index); + com.google.protobuf.ByteString + getChildPolicyTagsBytes(int index); } diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldEnumValueRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldEnumValueRequest.java new file mode 100644 index 000000000000..f86b671aae39 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldEnumValueRequest.java @@ -0,0 +1,764 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/datacatalog.proto + +package com.google.cloud.datacatalog.v1beta1; + +/** + *
+ * Request message for
+ * [RenameTagTemplateFieldEnumValue][google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateFieldEnumValue].
+ * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest} + */ +public final class RenameTagTemplateFieldEnumValueRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest) + RenameTagTemplateFieldEnumValueRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use RenameTagTemplateFieldEnumValueRequest.newBuilder() to construct. + private RenameTagTemplateFieldEnumValueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private RenameTagTemplateFieldEnumValueRequest() { + name_ = ""; + newEnumValueDisplayName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new RenameTagTemplateFieldEnumValueRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest.class, com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + *
+   * Required. The name of the enum field value. Example:
+   *
+   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + /** + *
+   * Required. The name of the enum field value. Example:
+   *
+   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
+   * 
+ * + * 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() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NEW_ENUM_VALUE_DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object newEnumValueDisplayName_ = ""; + /** + *
+   * Required. The new display name of the enum value. For example,
+   * `my_new_enum_value`.
+   * 
+ * + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The newEnumValueDisplayName. + */ + @java.lang.Override + public java.lang.String getNewEnumValueDisplayName() { + java.lang.Object ref = newEnumValueDisplayName_; + 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(); + newEnumValueDisplayName_ = s; + return s; + } + } + /** + *
+   * Required. The new display name of the enum value. For example,
+   * `my_new_enum_value`.
+   * 
+ * + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for newEnumValueDisplayName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNewEnumValueDisplayNameBytes() { + java.lang.Object ref = newEnumValueDisplayName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + newEnumValueDisplayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newEnumValueDisplayName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, newEnumValueDisplayName_); + } + 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(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newEnumValueDisplayName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, newEnumValueDisplayName_); + } + 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.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest)) { + return super.equals(obj); + } + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest other = (com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getNewEnumValueDisplayName() + .equals(other.getNewEnumValueDisplayName())) 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) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + NEW_ENUM_VALUE_DISPLAY_NAME_FIELD_NUMBER; + hash = (53 * hash) + getNewEnumValueDisplayName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest 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.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest parseFrom( + java.io.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.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest parseDelimitedFrom( + java.io.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.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest 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.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest 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; + } + /** + *
+   * Request message for
+   * [RenameTagTemplateFieldEnumValue][google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateFieldEnumValue].
+   * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest) + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest.class, com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest.Builder.class); + } + + // Construct using com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + newEnumValueDisplayName_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest getDefaultInstanceForType() { + return com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest build() { + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest buildPartial() { + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest result = new com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.newEnumValueDisplayName_ = newEnumValueDisplayName_; + } + } + + @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.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest) { + return mergeFrom((com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest other) { + if (other == com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getNewEnumValueDisplayName().isEmpty()) { + newEnumValueDisplayName_ = other.newEnumValueDisplayName_; + bitField0_ |= 0x00000002; + onChanged(); + } + 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: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + newEnumValueDisplayName_ = 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + *
+     * Required. The name of the enum field value. Example:
+     *
+     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
+     * 
+ * + * 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; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The name of the enum field value. Example:
+     *
+     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The name of the enum field value. Example:
+     *
+     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
+     * 
+ * + * 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(); } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Required. The name of the enum field value. Example:
+     *
+     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     * Required. The name of the enum field value. Example:
+     *
+     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
+     * 
+ * + * 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(); } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object newEnumValueDisplayName_ = ""; + /** + *
+     * Required. The new display name of the enum value. For example,
+     * `my_new_enum_value`.
+     * 
+ * + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The newEnumValueDisplayName. + */ + public java.lang.String getNewEnumValueDisplayName() { + java.lang.Object ref = newEnumValueDisplayName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + newEnumValueDisplayName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The new display name of the enum value. For example,
+     * `my_new_enum_value`.
+     * 
+ * + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for newEnumValueDisplayName. + */ + public com.google.protobuf.ByteString + getNewEnumValueDisplayNameBytes() { + java.lang.Object ref = newEnumValueDisplayName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + newEnumValueDisplayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The new display name of the enum value. For example,
+     * `my_new_enum_value`.
+     * 
+ * + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The newEnumValueDisplayName to set. + * @return This builder for chaining. + */ + public Builder setNewEnumValueDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + newEnumValueDisplayName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * Required. The new display name of the enum value. For example,
+     * `my_new_enum_value`.
+     * 
+ * + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearNewEnumValueDisplayName() { + newEnumValueDisplayName_ = getDefaultInstance().getNewEnumValueDisplayName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+     * Required. The new display name of the enum value. For example,
+     * `my_new_enum_value`.
+     * 
+ * + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for newEnumValueDisplayName to set. + * @return This builder for chaining. + */ + public Builder setNewEnumValueDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + newEnumValueDisplayName_ = value; + bitField0_ |= 0x00000002; + 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.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest) + private static final com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest(); + } + + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RenameTagTemplateFieldEnumValueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java new file mode 100644 index 000000000000..0534e906a900 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java @@ -0,0 +1,55 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/datacatalog.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface RenameTagTemplateFieldEnumValueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the enum field value. Example:
+   *
+   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the enum field value. Example:
+   *
+   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * Required. The new display name of the enum value. For example,
+   * `my_new_enum_value`.
+   * 
+ * + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The newEnumValueDisplayName. + */ + java.lang.String getNewEnumValueDisplayName(); + /** + *
+   * Required. The new display name of the enum value. For example,
+   * `my_new_enum_value`.
+   * 
+ * + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for newEnumValueDisplayName. + */ + com.google.protobuf.ByteString + getNewEnumValueDisplayNameBytes(); +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequest.java similarity index 62% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequest.java index bb71af64eb30..27105d2ae606 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [RenameTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.RenameTagTemplateField].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest}
  */
-public final class RenameTagTemplateFieldRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RenameTagTemplateFieldRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest)
     RenameTagTemplateFieldRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RenameTagTemplateFieldRequest.newBuilder() to construct.
   private RenameTagTemplateFieldRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RenameTagTemplateFieldRequest() {
     name_ = "";
     newTagTemplateFieldId_ = "";
@@ -45,42 +27,35 @@ private RenameTagTemplateFieldRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RenameTagTemplateFieldRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest.class,
-            com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest.class, com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the tag template. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
    * 
* - * - * string name = 1 [(.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 @@ -89,33 +64,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the tag template. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
    * 
* - * - * string name = 1 [(.google.api.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,18 +97,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int NEW_TAG_TEMPLATE_FIELD_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object newTagTemplateFieldId_ = ""; /** - * - * *
-   * Required. The new ID of this tag template field. For example, `my_new_field`.
+   * Required. The new ID of this tag template field. For example,
+   * `my_new_field`.
    * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The newTagTemplateFieldId. */ @java.lang.Override @@ -144,29 +114,30 @@ public java.lang.String getNewTagTemplateFieldId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newTagTemplateFieldId_ = s; return s; } } /** - * - * *
-   * Required. The new ID of this tag template field. For example, `my_new_field`.
+   * Required. The new ID of this tag template field. For example,
+   * `my_new_field`.
    * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for newTagTemplateFieldId. */ @java.lang.Override - public com.google.protobuf.ByteString getNewTagTemplateFieldIdBytes() { + public com.google.protobuf.ByteString + getNewTagTemplateFieldIdBytes() { java.lang.Object ref = newTagTemplateFieldId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); newTagTemplateFieldId_ = b; return b; } else { @@ -175,7 +146,6 @@ public com.google.protobuf.ByteString getNewTagTemplateFieldIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,7 +157,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -217,16 +188,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest other = - (com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest) obj; + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest other = (com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getNewTagTemplateFieldId().equals(other.getNewTagTemplateFieldId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getNewTagTemplateFieldId() + .equals(other.getNewTagTemplateFieldId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -248,105 +220,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest - parseDelimitedFrom( - java.io.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.datacatalog.v1beta1.RenameTagTemplateFieldRequest parseDelimitedFrom( + java.io.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.datacatalog.v1beta1.RenameTagTemplateFieldRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [RenameTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.RenameTagTemplateField].
@@ -354,33 +319,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest)
       com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest.class,
-              com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest.class, com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest.newBuilder()
-    private Builder() {}
+    // Construct using com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest.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();
@@ -391,16 +356,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest
-        getDefaultInstanceForType() {
-      return com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest
-          .getDefaultInstance();
+    public com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest getDefaultInstanceForType() {
+      return com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -414,17 +377,13 @@ public com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest build(
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest result =
-          new com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest result = new com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest result) {
+    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -438,51 +397,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest) {
-        return mergeFrom(
-            (com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest other) {
-      if (other
-          == com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest other) {
+      if (other == com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -519,25 +473,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                newTagTemplateFieldId_ = 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: {
+              newTagTemplateFieldId_ = 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) {
@@ -547,29 +498,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the tag template. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
      * 
* - * - * string name = 1 [(.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; @@ -578,25 +524,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the tag template. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -604,43 +547,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the tag template. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the tag template. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
      * 
* - * - * string 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() { @@ -650,25 +582,19 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the tag template. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
      * 
* - * - * string name = 1 [(.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; @@ -678,20 +604,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object newTagTemplateFieldId_ = ""; /** - * - * *
-     * Required. The new ID of this tag template field. For example, `my_new_field`.
+     * Required. The new ID of this tag template field. For example,
+     * `my_new_field`.
      * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The newTagTemplateFieldId. */ public java.lang.String getNewTagTemplateFieldId() { java.lang.Object ref = newTagTemplateFieldId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newTagTemplateFieldId_ = s; return s; @@ -700,21 +625,21 @@ public java.lang.String getNewTagTemplateFieldId() { } } /** - * - * *
-     * Required. The new ID of this tag template field. For example, `my_new_field`.
+     * Required. The new ID of this tag template field. For example,
+     * `my_new_field`.
      * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for newTagTemplateFieldId. */ - public com.google.protobuf.ByteString getNewTagTemplateFieldIdBytes() { + public com.google.protobuf.ByteString + getNewTagTemplateFieldIdBytes() { java.lang.Object ref = newTagTemplateFieldId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); newTagTemplateFieldId_ = b; return b; } else { @@ -722,35 +647,30 @@ public com.google.protobuf.ByteString getNewTagTemplateFieldIdBytes() { } } /** - * - * *
-     * Required. The new ID of this tag template field. For example, `my_new_field`.
+     * Required. The new ID of this tag template field. For example,
+     * `my_new_field`.
      * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The newTagTemplateFieldId to set. * @return This builder for chaining. */ - public Builder setNewTagTemplateFieldId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNewTagTemplateFieldId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } newTagTemplateFieldId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
-     * Required. The new ID of this tag template field. For example, `my_new_field`.
+     * Required. The new ID of this tag template field. For example,
+     * `my_new_field`.
      * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearNewTagTemplateFieldId() { @@ -760,30 +680,27 @@ public Builder clearNewTagTemplateFieldId() { return this; } /** - * - * *
-     * Required. The new ID of this tag template field. For example, `my_new_field`.
+     * Required. The new ID of this tag template field. For example,
+     * `my_new_field`.
      * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for newTagTemplateFieldId to set. * @return This builder for chaining. */ - public Builder setNewTagTemplateFieldIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNewTagTemplateFieldIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); newTagTemplateFieldId_ = 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); } @@ -793,43 +710,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest) - private static final com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest(); } - public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest - getDefaultInstance() { + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RenameTagTemplateFieldRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RenameTagTemplateFieldRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -841,8 +756,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest - getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequestOrBuilder.java similarity index 54% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequestOrBuilder.java index 366f93ba4bba..f0b6fe6e7f35 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequestOrBuilder.java @@ -1,83 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface RenameTagTemplateFieldRequestOrBuilder - extends +public interface RenameTagTemplateFieldRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the tag template. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the tag template. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
    * 
* - * - * string name = 1 [(.google.api.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 new ID of this tag template field. For example, `my_new_field`.
+   * Required. The new ID of this tag template field. For example,
+   * `my_new_field`.
    * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The newTagTemplateFieldId. */ java.lang.String getNewTagTemplateFieldId(); /** - * - * *
-   * Required. The new ID of this tag template field. For example, `my_new_field`.
+   * Required. The new ID of this tag template field. For example,
+   * `my_new_field`.
    * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for newTagTemplateFieldId. */ - com.google.protobuf.ByteString getNewTagTemplateFieldIdBytes(); + com.google.protobuf.ByteString + getNewTagTemplateFieldIdBytes(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Schema.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Schema.java similarity index 60% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Schema.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Schema.java index 2efc645a52dc..9b5e320456ba 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Schema.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Schema.java @@ -1,155 +1,115 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/schema.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Represents a schema (e.g. BigQuery, GoogleSQL, Avro schema).
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.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.datacatalog.v1beta1.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() { columns_ = 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 Schema(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass - .internal_static_google_cloud_datacatalog_v1beta1_Schema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1beta1_Schema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass - .internal_static_google_cloud_datacatalog_v1beta1_Schema_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1beta1_Schema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.Schema.class, - com.google.cloud.datacatalog.v1beta1.Schema.Builder.class); + com.google.cloud.datacatalog.v1beta1.Schema.class, com.google.cloud.datacatalog.v1beta1.Schema.Builder.class); } public static final int COLUMNS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List columns_; /** - * - * *
-   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-   * specified.
+   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+   * can be specified.
    * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getColumnsList() { return columns_; } /** - * - * *
-   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-   * specified.
+   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+   * can be specified.
    * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getColumnsOrBuilderList() { return columns_; } /** - * - * *
-   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-   * specified.
+   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+   * can be specified.
    * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getColumnsCount() { return columns_.size(); } /** - * - * *
-   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-   * specified.
+   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+   * can be specified.
    * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.ColumnSchema getColumns(int index) { return columns_.get(index); } /** - * - * *
-   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-   * specified.
+   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+   * can be specified.
    * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder getColumnsOrBuilder(int index) { + public com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder getColumnsOrBuilder( + int index) { return columns_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -161,7 +121,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < columns_.size(); i++) { output.writeMessage(2, columns_.get(i)); } @@ -175,7 +136,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < columns_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, columns_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, columns_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -185,15 +147,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1beta1.Schema)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.Schema other = - (com.google.cloud.datacatalog.v1beta1.Schema) obj; + com.google.cloud.datacatalog.v1beta1.Schema other = (com.google.cloud.datacatalog.v1beta1.Schema) obj; - if (!getColumnsList().equals(other.getColumnsList())) return false; + if (!getColumnsList() + .equals(other.getColumnsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -214,136 +176,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1beta1.Schema parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1beta1.Schema parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.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.datacatalog.v1beta1.Schema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.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.datacatalog.v1beta1.Schema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.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.datacatalog.v1beta1.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.datacatalog.v1beta1.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.datacatalog.v1beta1.Schema parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.Schema parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.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.datacatalog.v1beta1.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.datacatalog.v1beta1.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.datacatalog.v1beta1.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; } /** - * - * *
    * Represents a schema (e.g. BigQuery, GoogleSQL, Avro schema).
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.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.datacatalog.v1beta1.Schema) com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass - .internal_static_google_cloud_datacatalog_v1beta1_Schema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1beta1_Schema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass - .internal_static_google_cloud_datacatalog_v1beta1_Schema_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1beta1_Schema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.Schema.class, - com.google.cloud.datacatalog.v1beta1.Schema.Builder.class); + com.google.cloud.datacatalog.v1beta1.Schema.class, com.google.cloud.datacatalog.v1beta1.Schema.Builder.class); } // Construct using com.google.cloud.datacatalog.v1beta1.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(); @@ -359,9 +317,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass - .internal_static_google_cloud_datacatalog_v1beta1_Schema_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1beta1_Schema_descriptor; } @java.lang.Override @@ -380,12 +338,9 @@ public com.google.cloud.datacatalog.v1beta1.Schema build() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.Schema buildPartial() { - com.google.cloud.datacatalog.v1beta1.Schema result = - new com.google.cloud.datacatalog.v1beta1.Schema(this); + com.google.cloud.datacatalog.v1beta1.Schema result = new com.google.cloud.datacatalog.v1beta1.Schema(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -410,39 +365,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.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.datacatalog.v1beta1.Schema) { - return mergeFrom((com.google.cloud.datacatalog.v1beta1.Schema) other); + return mergeFrom((com.google.cloud.datacatalog.v1beta1.Schema)other); } else { super.mergeFrom(other); return this; @@ -469,10 +423,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.Schema other) { columnsBuilder_ = null; columns_ = other.columns_; bitField0_ = (bitField0_ & ~0x00000001); - columnsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getColumnsFieldBuilder() - : null; + columnsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getColumnsFieldBuilder() : null; } else { columnsBuilder_.addAllMessages(other.columns_); } @@ -504,27 +457,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - com.google.cloud.datacatalog.v1beta1.ColumnSchema m = - input.readMessage( - com.google.cloud.datacatalog.v1beta1.ColumnSchema.parser(), - extensionRegistry); - if (columnsBuilder_ == null) { - ensureColumnsIsMutable(); - columns_.add(m); - } else { - columnsBuilder_.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.datacatalog.v1beta1.ColumnSchema m = + input.readMessage( + com.google.cloud.datacatalog.v1beta1.ColumnSchema.parser(), + extensionRegistry); + if (columnsBuilder_ == null) { + ensureColumnsIsMutable(); + columns_.add(m); + } else { + columnsBuilder_.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) { @@ -534,37 +485,27 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List columns_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureColumnsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - columns_ = - new java.util.ArrayList(columns_); + columns_ = new java.util.ArrayList(columns_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.ColumnSchema, - com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder, - com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder> - columnsBuilder_; + com.google.cloud.datacatalog.v1beta1.ColumnSchema, com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder, com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder> columnsBuilder_; /** - * - * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getColumnsList() { if (columnsBuilder_ == null) { @@ -574,16 +515,12 @@ public java.util.List getColu } } /** - * - * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; */ public int getColumnsCount() { if (columnsBuilder_ == null) { @@ -593,16 +530,12 @@ public int getColumnsCount() { } } /** - * - * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1beta1.ColumnSchema getColumns(int index) { if (columnsBuilder_ == null) { @@ -612,18 +545,15 @@ public com.google.cloud.datacatalog.v1beta1.ColumnSchema getColumns(int index) { } } /** - * - * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setColumns(int index, com.google.cloud.datacatalog.v1beta1.ColumnSchema value) { + public Builder setColumns( + int index, com.google.cloud.datacatalog.v1beta1.ColumnSchema value) { if (columnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -637,16 +567,12 @@ public Builder setColumns(int index, com.google.cloud.datacatalog.v1beta1.Column return this; } /** - * - * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setColumns( int index, com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder builderForValue) { @@ -660,16 +586,12 @@ public Builder setColumns( return this; } /** - * - * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addColumns(com.google.cloud.datacatalog.v1beta1.ColumnSchema value) { if (columnsBuilder_ == null) { @@ -685,18 +607,15 @@ public Builder addColumns(com.google.cloud.datacatalog.v1beta1.ColumnSchema valu return this; } /** - * - * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addColumns(int index, com.google.cloud.datacatalog.v1beta1.ColumnSchema value) { + public Builder addColumns( + int index, com.google.cloud.datacatalog.v1beta1.ColumnSchema value) { if (columnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -710,16 +629,12 @@ public Builder addColumns(int index, com.google.cloud.datacatalog.v1beta1.Column return this; } /** - * - * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addColumns( com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder builderForValue) { @@ -733,16 +648,12 @@ public Builder addColumns( return this; } /** - * - * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addColumns( int index, com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder builderForValue) { @@ -756,22 +667,19 @@ public Builder addColumns( return this; } /** - * - * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; */ 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); @@ -779,16 +687,12 @@ public Builder addAllColumns( return this; } /** - * - * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearColumns() { if (columnsBuilder_ == null) { @@ -801,16 +705,12 @@ public Builder clearColumns() { return this; } /** - * - * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeColumns(int index) { if (columnsBuilder_ == null) { @@ -823,54 +723,42 @@ public Builder removeColumns(int index) { return this; } /** - * - * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder getColumnsBuilder(int index) { + public com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder getColumnsBuilder( + int index) { return getColumnsFieldBuilder().getBuilder(index); } /** - * - * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder getColumnsOrBuilder( int index) { if (columnsBuilder_ == null) { - return columns_.get(index); - } else { + return columns_.get(index); } else { return columnsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getColumnsOrBuilderList() { + public java.util.List + getColumnsOrBuilderList() { if (columnsBuilder_ != null) { return columnsBuilder_.getMessageOrBuilderList(); } else { @@ -878,74 +766,59 @@ public com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder getColumnsOrBu } } /** - * - * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder addColumnsBuilder() { - return getColumnsFieldBuilder() - .addBuilder(com.google.cloud.datacatalog.v1beta1.ColumnSchema.getDefaultInstance()); + return getColumnsFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1beta1.ColumnSchema.getDefaultInstance()); } /** - * - * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder addColumnsBuilder(int index) { - return getColumnsFieldBuilder() - .addBuilder( - index, com.google.cloud.datacatalog.v1beta1.ColumnSchema.getDefaultInstance()); + public com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder addColumnsBuilder( + int index) { + return getColumnsFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1beta1.ColumnSchema.getDefaultInstance()); } /** - * - * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* - * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getColumnsBuilderList() { + public java.util.List + getColumnsBuilderList() { return getColumnsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.ColumnSchema, - com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder, - com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder> + com.google.cloud.datacatalog.v1beta1.ColumnSchema, com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder, com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder> getColumnsFieldBuilder() { if (columnsBuilder_ == null) { - columnsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.ColumnSchema, - com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder, - com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder>( - columns_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + columnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.ColumnSchema, com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder, com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder>( + columns_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); columns_ = null; } return columnsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -955,12 +828,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.Schema) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.Schema) private static final com.google.cloud.datacatalog.v1beta1.Schema DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.Schema(); } @@ -969,27 +842,27 @@ public static com.google.cloud.datacatalog.v1beta1.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; @@ -1004,4 +877,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.Schema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOrBuilder.java new file mode 100644 index 000000000000..eb25a7c61ac1 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOrBuilder.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/schema.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface SchemaOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.Schema) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+   * can be specified.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + java.util.List + getColumnsList(); + /** + *
+   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+   * can be specified.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.datacatalog.v1beta1.ColumnSchema getColumns(int index); + /** + *
+   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+   * can be specified.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + int getColumnsCount(); + /** + *
+   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+   * can be specified.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + java.util.List + getColumnsOrBuilderList(); + /** + *
+   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+   * can be specified.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder getColumnsOrBuilder( + int index); +} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOuterClass.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOuterClass.java new file mode 100644 index 000000000000..7e4914cc65f3 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOuterClass.java @@ -0,0 +1,79 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/schema.proto + +package com.google.cloud.datacatalog.v1beta1; + +public final class SchemaOuterClass { + private SchemaOuterClass() {} + 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_datacatalog_v1beta1_Schema_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_Schema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_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/datacatalog/v1beta1/schem" + + "a.proto\022 google.cloud.datacatalog.v1beta" + + "1\032\037google/api/field_behavior.proto\"O\n\006Sc" + + "hema\022E\n\007columns\030\002 \003(\0132..google.cloud.dat" + + "acatalog.v1beta1.ColumnSchemaB\004\342A\001\002\"\261\001\n\014" + + "ColumnSchema\022\024\n\006column\030\006 \001(\tB\004\342A\001\002\022\022\n\004ty" + + "pe\030\001 \001(\tB\004\342A\001\002\022\031\n\013description\030\002 \001(\tB\004\342A\001" + + "\001\022\022\n\004mode\030\003 \001(\tB\004\342A\001\001\022H\n\nsubcolumns\030\007 \003(" + + "\0132..google.cloud.datacatalog.v1beta1.Col" + + "umnSchemaB\004\342A\001\001B\337\001\n$com.google.cloud.dat" + + "acatalog.v1beta1P\001ZFcloud.google.com/go/" + + "datacatalog/apiv1beta1/datacatalogpb;dat" + + "acatalogpb\370\001\001\252\002 Google.Cloud.DataCatalog" + + ".V1Beta1\312\002 Google\\Cloud\\DataCatalog\\V1be" + + "ta1\352\002#Google::Cloud::DataCatalog::V1beta" + + "1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1beta1_Schema_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1beta1_Schema_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_Schema_descriptor, + new java.lang.String[] { "Columns", }); + internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_descriptor, + new java.lang.String[] { "Column", "Type", "Description", "Mode", "Subcolumns", }); + 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-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Search.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Search.java new file mode 100644 index 000000000000..89ebc61bc10a --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Search.java @@ -0,0 +1,68 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/search.proto + +package com.google.cloud.datacatalog.v1beta1; + +public final class Search { + private Search() {} + 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_datacatalog_v1beta1_SearchCatalogResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_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/datacatalog/v1beta1/searc" + + "h.proto\022 google.cloud.datacatalog.v1beta" + + "1\032\037google/api/field_behavior.proto\032\037goog" + + "le/protobuf/timestamp.proto\"\356\001\n\023SearchCa" + + "talogResult\022N\n\022search_result_type\030\001 \001(\0162" + + "2.google.cloud.datacatalog.v1beta1.Searc" + + "hResultType\022\035\n\025search_result_subtype\030\002 \001" + + "(\t\022\036\n\026relative_resource_name\030\003 \001(\t\022\027\n\017li" + + "nked_resource\030\004 \001(\t\022/\n\013modify_time\030\007 \001(\013" + + "2\032.google.protobuf.Timestamp*d\n\020SearchRe" + + "sultType\022\"\n\036SEARCH_RESULT_TYPE_UNSPECIFI" + + "ED\020\000\022\t\n\005ENTRY\020\001\022\020\n\014TAG_TEMPLATE\020\002\022\017\n\013ENT" + + "RY_GROUP\020\003B\337\001\n$com.google.cloud.datacata" + + "log.v1beta1P\001ZFcloud.google.com/go/datac" + + "atalog/apiv1beta1/datacatalogpb;datacata" + + "logpb\370\001\001\252\002 Google.Cloud.DataCatalog.V1Be" + + "ta1\312\002 Google\\Cloud\\DataCatalog\\V1beta1\352\002" + + "#Google::Cloud::DataCatalog::V1beta1b\006pr" + + "oto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_descriptor, + new java.lang.String[] { "SearchResultType", "SearchResultSubtype", "RelativeResourceName", "LinkedResource", "ModifyTime", }); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequest.java similarity index 55% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequest.java index 88970d8aa6c1..57e6afd79361 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [SearchCatalog][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.SearchCatalogRequest}
  */
-public final class SearchCatalogRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SearchCatalogRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.SearchCatalogRequest)
     SearchCatalogRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SearchCatalogRequest.newBuilder() to construct.
   private SearchCatalogRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SearchCatalogRequest() {
     query_ = "";
     pageToken_ = "";
@@ -46,33 +28,29 @@ private SearchCatalogRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SearchCatalogRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.class,
-            com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.class, com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Builder.class);
   }
 
-  public interface ScopeOrBuilder
-      extends
+  public interface ScopeOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The list of organization IDs to search within. To find your organization
      * ID, follow instructions in
@@ -80,13 +58,11 @@ public interface ScopeOrBuilder
      * 
* * repeated string include_org_ids = 2; - * * @return A list containing the includeOrgIds. */ - java.util.List getIncludeOrgIdsList(); + java.util.List + getIncludeOrgIdsList(); /** - * - * *
      * The list of organization IDs to search within. To find your organization
      * ID, follow instructions in
@@ -94,13 +70,10 @@ public interface ScopeOrBuilder
      * 
* * repeated string include_org_ids = 2; - * * @return The count of includeOrgIds. */ int getIncludeOrgIdsCount(); /** - * - * *
      * The list of organization IDs to search within. To find your organization
      * ID, follow instructions in
@@ -108,14 +81,11 @@ public interface ScopeOrBuilder
      * 
* * repeated string include_org_ids = 2; - * * @param index The index of the element to return. * @return The includeOrgIds at the given index. */ java.lang.String getIncludeOrgIds(int index); /** - * - * *
      * The list of organization IDs to search within. To find your organization
      * ID, follow instructions in
@@ -123,15 +93,13 @@ public interface ScopeOrBuilder
      * 
* * repeated string include_org_ids = 2; - * * @param index The index of the value to return. * @return The bytes of the includeOrgIds at the given index. */ - com.google.protobuf.ByteString getIncludeOrgIdsBytes(int index); + com.google.protobuf.ByteString + getIncludeOrgIdsBytes(int index); /** - * - * *
      * The list of project IDs to search within. To learn more about the
      * distinction between project names/IDs/numbers, go to
@@ -139,13 +107,11 @@ public interface ScopeOrBuilder
      * 
* * repeated string include_project_ids = 3; - * * @return A list containing the includeProjectIds. */ - java.util.List getIncludeProjectIdsList(); + java.util.List + getIncludeProjectIdsList(); /** - * - * *
      * The list of project IDs to search within. To learn more about the
      * distinction between project names/IDs/numbers, go to
@@ -153,13 +119,10 @@ public interface ScopeOrBuilder
      * 
* * repeated string include_project_ids = 3; - * * @return The count of includeProjectIds. */ int getIncludeProjectIdsCount(); /** - * - * *
      * The list of project IDs to search within. To learn more about the
      * distinction between project names/IDs/numbers, go to
@@ -167,14 +130,11 @@ public interface ScopeOrBuilder
      * 
* * repeated string include_project_ids = 3; - * * @param index The index of the element to return. * @return The includeProjectIds at the given index. */ java.lang.String getIncludeProjectIds(int index); /** - * - * *
      * The list of project IDs to search within. To learn more about the
      * distinction between project names/IDs/numbers, go to
@@ -182,81 +142,252 @@ public interface ScopeOrBuilder
      * 
* * repeated string include_project_ids = 3; - * * @param index The index of the value to return. * @return The bytes of the includeProjectIds at the given index. */ - com.google.protobuf.ByteString getIncludeProjectIdsBytes(int index); + com.google.protobuf.ByteString + getIncludeProjectIdsBytes(int index); /** - * - * *
-     * If `true`, include Google Cloud Platform (GCP) public datasets in the
-     * search results. Info on GCP public datasets is available at
-     * https://cloud.google.com/public-datasets/. By default, GCP public
-     * datasets are excluded.
+     * If `true`, include Google Cloud public datasets in the
+     * search results. Info on Google Cloud public datasets is available at
+     * https://cloud.google.com/public-datasets/. By default, Google Cloud
+     * public datasets are excluded.
      * 
* * bool include_gcp_public_datasets = 7; - * * @return The includeGcpPublicDatasets. */ boolean getIncludeGcpPublicDatasets(); + + /** + *
+     * Optional. The list of locations to search within.
+     * 1. If empty, search will be performed in all locations;
+     * 2. If any of the locations are NOT in the valid locations list, error
+     * will be returned;
+     * 3. Otherwise, search only the given locations for matching results.
+     * Typical usage is to leave this field empty. When a location is
+     * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+     * users can repeat the search request with this parameter set to get
+     * additional information on the error.
+     *
+     * Valid locations:
+     *  * asia-east1
+     *  * asia-east2
+     *  * asia-northeast1
+     *  * asia-northeast2
+     *  * asia-northeast3
+     *  * asia-south1
+     *  * asia-southeast1
+     *  * australia-southeast1
+     *  * eu
+     *  * europe-north1
+     *  * europe-west1
+     *  * europe-west2
+     *  * europe-west3
+     *  * europe-west4
+     *  * europe-west6
+     *  * global
+     *  * northamerica-northeast1
+     *  * southamerica-east1
+     *  * us
+     *  * us-central1
+     *  * us-east1
+     *  * us-east4
+     *  * us-west1
+     *  * us-west2
+     * 
+ * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @return A list containing the restrictedLocations. + */ + java.util.List + getRestrictedLocationsList(); + /** + *
+     * Optional. The list of locations to search within.
+     * 1. If empty, search will be performed in all locations;
+     * 2. If any of the locations are NOT in the valid locations list, error
+     * will be returned;
+     * 3. Otherwise, search only the given locations for matching results.
+     * Typical usage is to leave this field empty. When a location is
+     * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+     * users can repeat the search request with this parameter set to get
+     * additional information on the error.
+     *
+     * Valid locations:
+     *  * asia-east1
+     *  * asia-east2
+     *  * asia-northeast1
+     *  * asia-northeast2
+     *  * asia-northeast3
+     *  * asia-south1
+     *  * asia-southeast1
+     *  * australia-southeast1
+     *  * eu
+     *  * europe-north1
+     *  * europe-west1
+     *  * europe-west2
+     *  * europe-west3
+     *  * europe-west4
+     *  * europe-west6
+     *  * global
+     *  * northamerica-northeast1
+     *  * southamerica-east1
+     *  * us
+     *  * us-central1
+     *  * us-east1
+     *  * us-east4
+     *  * us-west1
+     *  * us-west2
+     * 
+ * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @return The count of restrictedLocations. + */ + int getRestrictedLocationsCount(); + /** + *
+     * Optional. The list of locations to search within.
+     * 1. If empty, search will be performed in all locations;
+     * 2. If any of the locations are NOT in the valid locations list, error
+     * will be returned;
+     * 3. Otherwise, search only the given locations for matching results.
+     * Typical usage is to leave this field empty. When a location is
+     * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+     * users can repeat the search request with this parameter set to get
+     * additional information on the error.
+     *
+     * Valid locations:
+     *  * asia-east1
+     *  * asia-east2
+     *  * asia-northeast1
+     *  * asia-northeast2
+     *  * asia-northeast3
+     *  * asia-south1
+     *  * asia-southeast1
+     *  * australia-southeast1
+     *  * eu
+     *  * europe-north1
+     *  * europe-west1
+     *  * europe-west2
+     *  * europe-west3
+     *  * europe-west4
+     *  * europe-west6
+     *  * global
+     *  * northamerica-northeast1
+     *  * southamerica-east1
+     *  * us
+     *  * us-central1
+     *  * us-east1
+     *  * us-east4
+     *  * us-west1
+     *  * us-west2
+     * 
+ * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @param index The index of the element to return. + * @return The restrictedLocations at the given index. + */ + java.lang.String getRestrictedLocations(int index); + /** + *
+     * Optional. The list of locations to search within.
+     * 1. If empty, search will be performed in all locations;
+     * 2. If any of the locations are NOT in the valid locations list, error
+     * will be returned;
+     * 3. Otherwise, search only the given locations for matching results.
+     * Typical usage is to leave this field empty. When a location is
+     * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+     * users can repeat the search request with this parameter set to get
+     * additional information on the error.
+     *
+     * Valid locations:
+     *  * asia-east1
+     *  * asia-east2
+     *  * asia-northeast1
+     *  * asia-northeast2
+     *  * asia-northeast3
+     *  * asia-south1
+     *  * asia-southeast1
+     *  * australia-southeast1
+     *  * eu
+     *  * europe-north1
+     *  * europe-west1
+     *  * europe-west2
+     *  * europe-west3
+     *  * europe-west4
+     *  * europe-west6
+     *  * global
+     *  * northamerica-northeast1
+     *  * southamerica-east1
+     *  * us
+     *  * us-central1
+     *  * us-east1
+     *  * us-east4
+     *  * us-west1
+     *  * us-west2
+     * 
+ * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @param index The index of the value to return. + * @return The bytes of the restrictedLocations at the given index. + */ + com.google.protobuf.ByteString + getRestrictedLocationsBytes(int index); } /** - * - * *
    * The criteria that select the subspace used for query matching.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope} */ - public static final class Scope extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Scope extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope) ScopeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Scope.newBuilder() to construct. private Scope(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Scope() { - includeOrgIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - includeProjectIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + includeOrgIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + includeProjectIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + restrictedLocations_ = + 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 Scope(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Datacatalog - .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.Datacatalog - .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.class, - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.Builder.class); + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.class, com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.Builder.class); } public static final int INCLUDE_ORG_IDS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList includeOrgIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * The list of organization IDs to search within. To find your organization
      * ID, follow instructions in
@@ -264,15 +395,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * repeated string include_org_ids = 2; - * * @return A list containing the includeOrgIds. */ - public com.google.protobuf.ProtocolStringList getIncludeOrgIdsList() { + public com.google.protobuf.ProtocolStringList + getIncludeOrgIdsList() { return includeOrgIds_; } /** - * - * *
      * The list of organization IDs to search within. To find your organization
      * ID, follow instructions in
@@ -280,15 +409,12 @@ public com.google.protobuf.ProtocolStringList getIncludeOrgIdsList() {
      * 
* * repeated string include_org_ids = 2; - * * @return The count of includeOrgIds. */ public int getIncludeOrgIdsCount() { return includeOrgIds_.size(); } /** - * - * *
      * The list of organization IDs to search within. To find your organization
      * ID, follow instructions in
@@ -296,7 +422,6 @@ public int getIncludeOrgIdsCount() {
      * 
* * repeated string include_org_ids = 2; - * * @param index The index of the element to return. * @return The includeOrgIds at the given index. */ @@ -304,8 +429,6 @@ public java.lang.String getIncludeOrgIds(int index) { return includeOrgIds_.get(index); } /** - * - * *
      * The list of organization IDs to search within. To find your organization
      * ID, follow instructions in
@@ -313,22 +436,19 @@ public java.lang.String getIncludeOrgIds(int index) {
      * 
* * repeated string include_org_ids = 2; - * * @param index The index of the value to return. * @return The bytes of the includeOrgIds at the given index. */ - public com.google.protobuf.ByteString getIncludeOrgIdsBytes(int index) { + public com.google.protobuf.ByteString + getIncludeOrgIdsBytes(int index) { return includeOrgIds_.getByteString(index); } public static final int INCLUDE_PROJECT_IDS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList includeProjectIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * The list of project IDs to search within. To learn more about the
      * distinction between project names/IDs/numbers, go to
@@ -336,15 +456,13 @@ public com.google.protobuf.ByteString getIncludeOrgIdsBytes(int index) {
      * 
* * repeated string include_project_ids = 3; - * * @return A list containing the includeProjectIds. */ - public com.google.protobuf.ProtocolStringList getIncludeProjectIdsList() { + public com.google.protobuf.ProtocolStringList + getIncludeProjectIdsList() { return includeProjectIds_; } /** - * - * *
      * The list of project IDs to search within. To learn more about the
      * distinction between project names/IDs/numbers, go to
@@ -352,15 +470,12 @@ public com.google.protobuf.ProtocolStringList getIncludeProjectIdsList() {
      * 
* * repeated string include_project_ids = 3; - * * @return The count of includeProjectIds. */ public int getIncludeProjectIdsCount() { return includeProjectIds_.size(); } /** - * - * *
      * The list of project IDs to search within. To learn more about the
      * distinction between project names/IDs/numbers, go to
@@ -368,7 +483,6 @@ public int getIncludeProjectIdsCount() {
      * 
* * repeated string include_project_ids = 3; - * * @param index The index of the element to return. * @return The includeProjectIds at the given index. */ @@ -376,8 +490,6 @@ public java.lang.String getIncludeProjectIds(int index) { return includeProjectIds_.get(index); } /** - * - * *
      * The list of project IDs to search within. To learn more about the
      * distinction between project names/IDs/numbers, go to
@@ -385,28 +497,25 @@ public java.lang.String getIncludeProjectIds(int index) {
      * 
* * repeated string include_project_ids = 3; - * * @param index The index of the value to return. * @return The bytes of the includeProjectIds at the given index. */ - public com.google.protobuf.ByteString getIncludeProjectIdsBytes(int index) { + public com.google.protobuf.ByteString + getIncludeProjectIdsBytes(int index) { return includeProjectIds_.getByteString(index); } public static final int INCLUDE_GCP_PUBLIC_DATASETS_FIELD_NUMBER = 7; private boolean includeGcpPublicDatasets_ = false; /** - * - * *
-     * If `true`, include Google Cloud Platform (GCP) public datasets in the
-     * search results. Info on GCP public datasets is available at
-     * https://cloud.google.com/public-datasets/. By default, GCP public
-     * datasets are excluded.
+     * If `true`, include Google Cloud public datasets in the
+     * search results. Info on Google Cloud public datasets is available at
+     * https://cloud.google.com/public-datasets/. By default, Google Cloud
+     * public datasets are excluded.
      * 
* * bool include_gcp_public_datasets = 7; - * * @return The includeGcpPublicDatasets. */ @java.lang.Override @@ -414,8 +523,196 @@ public boolean getIncludeGcpPublicDatasets() { return includeGcpPublicDatasets_; } - private byte memoizedIsInitialized = -1; + public static final int RESTRICTED_LOCATIONS_FIELD_NUMBER = 16; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList restrictedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * Optional. The list of locations to search within.
+     * 1. If empty, search will be performed in all locations;
+     * 2. If any of the locations are NOT in the valid locations list, error
+     * will be returned;
+     * 3. Otherwise, search only the given locations for matching results.
+     * Typical usage is to leave this field empty. When a location is
+     * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+     * users can repeat the search request with this parameter set to get
+     * additional information on the error.
+     *
+     * Valid locations:
+     *  * asia-east1
+     *  * asia-east2
+     *  * asia-northeast1
+     *  * asia-northeast2
+     *  * asia-northeast3
+     *  * asia-south1
+     *  * asia-southeast1
+     *  * australia-southeast1
+     *  * eu
+     *  * europe-north1
+     *  * europe-west1
+     *  * europe-west2
+     *  * europe-west3
+     *  * europe-west4
+     *  * europe-west6
+     *  * global
+     *  * northamerica-northeast1
+     *  * southamerica-east1
+     *  * us
+     *  * us-central1
+     *  * us-east1
+     *  * us-east4
+     *  * us-west1
+     *  * us-west2
+     * 
+ * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @return A list containing the restrictedLocations. + */ + public com.google.protobuf.ProtocolStringList + getRestrictedLocationsList() { + return restrictedLocations_; + } + /** + *
+     * Optional. The list of locations to search within.
+     * 1. If empty, search will be performed in all locations;
+     * 2. If any of the locations are NOT in the valid locations list, error
+     * will be returned;
+     * 3. Otherwise, search only the given locations for matching results.
+     * Typical usage is to leave this field empty. When a location is
+     * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+     * users can repeat the search request with this parameter set to get
+     * additional information on the error.
+     *
+     * Valid locations:
+     *  * asia-east1
+     *  * asia-east2
+     *  * asia-northeast1
+     *  * asia-northeast2
+     *  * asia-northeast3
+     *  * asia-south1
+     *  * asia-southeast1
+     *  * australia-southeast1
+     *  * eu
+     *  * europe-north1
+     *  * europe-west1
+     *  * europe-west2
+     *  * europe-west3
+     *  * europe-west4
+     *  * europe-west6
+     *  * global
+     *  * northamerica-northeast1
+     *  * southamerica-east1
+     *  * us
+     *  * us-central1
+     *  * us-east1
+     *  * us-east4
+     *  * us-west1
+     *  * us-west2
+     * 
+ * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @return The count of restrictedLocations. + */ + public int getRestrictedLocationsCount() { + return restrictedLocations_.size(); + } + /** + *
+     * Optional. The list of locations to search within.
+     * 1. If empty, search will be performed in all locations;
+     * 2. If any of the locations are NOT in the valid locations list, error
+     * will be returned;
+     * 3. Otherwise, search only the given locations for matching results.
+     * Typical usage is to leave this field empty. When a location is
+     * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+     * users can repeat the search request with this parameter set to get
+     * additional information on the error.
+     *
+     * Valid locations:
+     *  * asia-east1
+     *  * asia-east2
+     *  * asia-northeast1
+     *  * asia-northeast2
+     *  * asia-northeast3
+     *  * asia-south1
+     *  * asia-southeast1
+     *  * australia-southeast1
+     *  * eu
+     *  * europe-north1
+     *  * europe-west1
+     *  * europe-west2
+     *  * europe-west3
+     *  * europe-west4
+     *  * europe-west6
+     *  * global
+     *  * northamerica-northeast1
+     *  * southamerica-east1
+     *  * us
+     *  * us-central1
+     *  * us-east1
+     *  * us-east4
+     *  * us-west1
+     *  * us-west2
+     * 
+ * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @param index The index of the element to return. + * @return The restrictedLocations at the given index. + */ + public java.lang.String getRestrictedLocations(int index) { + return restrictedLocations_.get(index); + } + /** + *
+     * Optional. The list of locations to search within.
+     * 1. If empty, search will be performed in all locations;
+     * 2. If any of the locations are NOT in the valid locations list, error
+     * will be returned;
+     * 3. Otherwise, search only the given locations for matching results.
+     * Typical usage is to leave this field empty. When a location is
+     * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+     * users can repeat the search request with this parameter set to get
+     * additional information on the error.
+     *
+     * Valid locations:
+     *  * asia-east1
+     *  * asia-east2
+     *  * asia-northeast1
+     *  * asia-northeast2
+     *  * asia-northeast3
+     *  * asia-south1
+     *  * asia-southeast1
+     *  * australia-southeast1
+     *  * eu
+     *  * europe-north1
+     *  * europe-west1
+     *  * europe-west2
+     *  * europe-west3
+     *  * europe-west4
+     *  * europe-west6
+     *  * global
+     *  * northamerica-northeast1
+     *  * southamerica-east1
+     *  * us
+     *  * us-central1
+     *  * us-east1
+     *  * us-east4
+     *  * us-west1
+     *  * us-west2
+     * 
+ * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @param index The index of the value to return. + * @return The bytes of the restrictedLocations at the given index. + */ + public com.google.protobuf.ByteString + getRestrictedLocationsBytes(int index) { + return restrictedLocations_.getByteString(index); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -427,7 +724,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < includeOrgIds_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, includeOrgIds_.getRaw(i)); } @@ -437,6 +735,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (includeGcpPublicDatasets_ != false) { output.writeBool(7, includeGcpPublicDatasets_); } + for (int i = 0; i < restrictedLocations_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 16, restrictedLocations_.getRaw(i)); + } getUnknownFields().writeTo(output); } @@ -463,7 +764,16 @@ public int getSerializedSize() { size += 1 * getIncludeProjectIdsList().size(); } if (includeGcpPublicDatasets_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, includeGcpPublicDatasets_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(7, includeGcpPublicDatasets_); + } + { + int dataSize = 0; + for (int i = 0; i < restrictedLocations_.size(); i++) { + dataSize += computeStringSizeNoTag(restrictedLocations_.getRaw(i)); + } + size += dataSize; + size += 2 * getRestrictedLocationsList().size(); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -473,17 +783,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.datacatalog.v1beta1.SearchCatalogRequest.Scope)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope other = - (com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope) obj; + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope other = (com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope) obj; - if (!getIncludeOrgIdsList().equals(other.getIncludeOrgIdsList())) return false; - if (!getIncludeProjectIdsList().equals(other.getIncludeProjectIdsList())) return false; - if (getIncludeGcpPublicDatasets() != other.getIncludeGcpPublicDatasets()) return false; + if (!getIncludeOrgIdsList() + .equals(other.getIncludeOrgIdsList())) return false; + if (!getIncludeProjectIdsList() + .equals(other.getIncludeProjectIdsList())) return false; + if (getIncludeGcpPublicDatasets() + != other.getIncludeGcpPublicDatasets()) return false; + if (!getRestrictedLocationsList() + .equals(other.getRestrictedLocationsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -504,102 +818,101 @@ public int hashCode() { hash = (53 * hash) + getIncludeProjectIdsList().hashCode(); } hash = (37 * hash) + INCLUDE_GCP_PUBLIC_DATASETS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeGcpPublicDatasets()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIncludeGcpPublicDatasets()); + if (getRestrictedLocationsCount() > 0) { + hash = (37 * hash) + RESTRICTED_LOCATIONS_FIELD_NUMBER; + hash = (53 * hash) + getRestrictedLocationsList().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope - parseDelimitedFrom( - java.io.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.datacatalog.v1beta1.SearchCatalogRequest.Scope parseDelimitedFrom( + java.io.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.datacatalog.v1beta1.SearchCatalogRequest.Scope parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -609,61 +922,61 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The criteria that select the subspace used for query matching.
      * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope) com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Datacatalog - .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.Datacatalog - .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.class, - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.Builder.class); + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.class, com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.Builder.class); } - // Construct using - // com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.newBuilder() - private Builder() {} + // Construct using com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.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; - includeOrgIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - includeProjectIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + includeOrgIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + includeProjectIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); includeGcpPublicDatasets_ = false; + restrictedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.Datacatalog - .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_descriptor; } @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope - getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope getDefaultInstanceForType() { return com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.getDefaultInstance(); } @@ -678,17 +991,13 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope build() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope buildPartial() { - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope result = - new com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope result = new com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope result) { + private void buildPartial0(com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { includeOrgIds_.makeImmutable(); @@ -701,58 +1010,56 @@ private void buildPartial0( if (((from_bitField0_ & 0x00000004) != 0)) { result.includeGcpPublicDatasets_ = includeGcpPublicDatasets_; } + if (((from_bitField0_ & 0x00000008) != 0)) { + restrictedLocations_.makeImmutable(); + result.restrictedLocations_ = restrictedLocations_; + } } @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) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope) { - return mergeFrom((com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope) other); + return mergeFrom((com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope other) { - if (other - == com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope other) { + if (other == com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.getDefaultInstance()) return this; if (!other.includeOrgIds_.isEmpty()) { if (includeOrgIds_.isEmpty()) { includeOrgIds_ = other.includeOrgIds_; @@ -776,6 +1083,16 @@ public Builder mergeFrom( if (other.getIncludeGcpPublicDatasets() != false) { setIncludeGcpPublicDatasets(other.getIncludeGcpPublicDatasets()); } + if (!other.restrictedLocations_.isEmpty()) { + if (restrictedLocations_.isEmpty()) { + restrictedLocations_ = other.restrictedLocations_; + bitField0_ |= 0x00000008; + } else { + ensureRestrictedLocationsIsMutable(); + restrictedLocations_.addAll(other.restrictedLocations_); + } + onChanged(); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -802,33 +1119,35 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureIncludeOrgIdsIsMutable(); - includeOrgIds_.add(s); - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureIncludeProjectIdsIsMutable(); - includeProjectIds_.add(s); - break; - } // case 26 - case 56: - { - includeGcpPublicDatasets_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 56 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureIncludeOrgIdsIsMutable(); + includeOrgIds_.add(s); + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureIncludeProjectIdsIsMutable(); + includeProjectIds_.add(s); + break; + } // case 26 + case 56: { + includeGcpPublicDatasets_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 56 + case 130: { + java.lang.String s = input.readStringRequireUtf8(); + ensureRestrictedLocationsIsMutable(); + restrictedLocations_.add(s); + break; + } // case 130 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -838,12 +1157,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.LazyStringArrayList includeOrgIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureIncludeOrgIdsIsMutable() { if (!includeOrgIds_.isModifiable()) { includeOrgIds_ = new com.google.protobuf.LazyStringArrayList(includeOrgIds_); @@ -851,8 +1168,6 @@ private void ensureIncludeOrgIdsIsMutable() { bitField0_ |= 0x00000001; } /** - * - * *
        * The list of organization IDs to search within. To find your organization
        * ID, follow instructions in
@@ -860,16 +1175,14 @@ private void ensureIncludeOrgIdsIsMutable() {
        * 
* * repeated string include_org_ids = 2; - * * @return A list containing the includeOrgIds. */ - public com.google.protobuf.ProtocolStringList getIncludeOrgIdsList() { + public com.google.protobuf.ProtocolStringList + getIncludeOrgIdsList() { includeOrgIds_.makeImmutable(); return includeOrgIds_; } /** - * - * *
        * The list of organization IDs to search within. To find your organization
        * ID, follow instructions in
@@ -877,15 +1190,12 @@ public com.google.protobuf.ProtocolStringList getIncludeOrgIdsList() {
        * 
* * repeated string include_org_ids = 2; - * * @return The count of includeOrgIds. */ public int getIncludeOrgIdsCount() { return includeOrgIds_.size(); } /** - * - * *
        * The list of organization IDs to search within. To find your organization
        * ID, follow instructions in
@@ -893,7 +1203,6 @@ public int getIncludeOrgIdsCount() {
        * 
* * repeated string include_org_ids = 2; - * * @param index The index of the element to return. * @return The includeOrgIds at the given index. */ @@ -901,8 +1210,6 @@ public java.lang.String getIncludeOrgIds(int index) { return includeOrgIds_.get(index); } /** - * - * *
        * The list of organization IDs to search within. To find your organization
        * ID, follow instructions in
@@ -910,16 +1217,14 @@ public java.lang.String getIncludeOrgIds(int index) {
        * 
* * repeated string include_org_ids = 2; - * * @param index The index of the value to return. * @return The bytes of the includeOrgIds at the given index. */ - public com.google.protobuf.ByteString getIncludeOrgIdsBytes(int index) { + public com.google.protobuf.ByteString + getIncludeOrgIdsBytes(int index) { return includeOrgIds_.getByteString(index); } /** - * - * *
        * The list of organization IDs to search within. To find your organization
        * ID, follow instructions in
@@ -927,15 +1232,13 @@ public com.google.protobuf.ByteString getIncludeOrgIdsBytes(int index) {
        * 
* * repeated string include_org_ids = 2; - * * @param index The index to set the value at. * @param value The includeOrgIds to set. * @return This builder for chaining. */ - public Builder setIncludeOrgIds(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIncludeOrgIds( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureIncludeOrgIdsIsMutable(); includeOrgIds_.set(index, value); bitField0_ |= 0x00000001; @@ -943,8 +1246,6 @@ public Builder setIncludeOrgIds(int index, java.lang.String value) { return this; } /** - * - * *
        * The list of organization IDs to search within. To find your organization
        * ID, follow instructions in
@@ -952,14 +1253,12 @@ public Builder setIncludeOrgIds(int index, java.lang.String value) {
        * 
* * repeated string include_org_ids = 2; - * * @param value The includeOrgIds to add. * @return This builder for chaining. */ - public Builder addIncludeOrgIds(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addIncludeOrgIds( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureIncludeOrgIdsIsMutable(); includeOrgIds_.add(value); bitField0_ |= 0x00000001; @@ -967,8 +1266,6 @@ public Builder addIncludeOrgIds(java.lang.String value) { return this; } /** - * - * *
        * The list of organization IDs to search within. To find your organization
        * ID, follow instructions in
@@ -976,20 +1273,19 @@ public Builder addIncludeOrgIds(java.lang.String value) {
        * 
* * repeated string include_org_ids = 2; - * * @param values The includeOrgIds to add. * @return This builder for chaining. */ - public Builder addAllIncludeOrgIds(java.lang.Iterable values) { + public Builder addAllIncludeOrgIds( + java.lang.Iterable values) { ensureIncludeOrgIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, includeOrgIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, includeOrgIds_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The list of organization IDs to search within. To find your organization
        * ID, follow instructions in
@@ -997,19 +1293,16 @@ public Builder addAllIncludeOrgIds(java.lang.Iterable values)
        * 
* * repeated string include_org_ids = 2; - * * @return This builder for chaining. */ public Builder clearIncludeOrgIds() { - includeOrgIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; + includeOrgIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** - * - * *
        * The list of organization IDs to search within. To find your organization
        * ID, follow instructions in
@@ -1017,14 +1310,12 @@ public Builder clearIncludeOrgIds() {
        * 
* * repeated string include_org_ids = 2; - * * @param value The bytes of the includeOrgIds to add. * @return This builder for chaining. */ - public Builder addIncludeOrgIdsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addIncludeOrgIdsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureIncludeOrgIdsIsMutable(); includeOrgIds_.add(value); @@ -1035,7 +1326,6 @@ public Builder addIncludeOrgIdsBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList includeProjectIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureIncludeProjectIdsIsMutable() { if (!includeProjectIds_.isModifiable()) { includeProjectIds_ = new com.google.protobuf.LazyStringArrayList(includeProjectIds_); @@ -1043,8 +1333,6 @@ private void ensureIncludeProjectIdsIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
        * The list of project IDs to search within. To learn more about the
        * distinction between project names/IDs/numbers, go to
@@ -1052,16 +1340,14 @@ private void ensureIncludeProjectIdsIsMutable() {
        * 
* * repeated string include_project_ids = 3; - * * @return A list containing the includeProjectIds. */ - public com.google.protobuf.ProtocolStringList getIncludeProjectIdsList() { + public com.google.protobuf.ProtocolStringList + getIncludeProjectIdsList() { includeProjectIds_.makeImmutable(); return includeProjectIds_; } /** - * - * *
        * The list of project IDs to search within. To learn more about the
        * distinction between project names/IDs/numbers, go to
@@ -1069,15 +1355,12 @@ public com.google.protobuf.ProtocolStringList getIncludeProjectIdsList() {
        * 
* * repeated string include_project_ids = 3; - * * @return The count of includeProjectIds. */ public int getIncludeProjectIdsCount() { return includeProjectIds_.size(); } /** - * - * *
        * The list of project IDs to search within. To learn more about the
        * distinction between project names/IDs/numbers, go to
@@ -1085,7 +1368,6 @@ public int getIncludeProjectIdsCount() {
        * 
* * repeated string include_project_ids = 3; - * * @param index The index of the element to return. * @return The includeProjectIds at the given index. */ @@ -1093,8 +1375,6 @@ public java.lang.String getIncludeProjectIds(int index) { return includeProjectIds_.get(index); } /** - * - * *
        * The list of project IDs to search within. To learn more about the
        * distinction between project names/IDs/numbers, go to
@@ -1102,16 +1382,14 @@ public java.lang.String getIncludeProjectIds(int index) {
        * 
* * repeated string include_project_ids = 3; - * * @param index The index of the value to return. * @return The bytes of the includeProjectIds at the given index. */ - public com.google.protobuf.ByteString getIncludeProjectIdsBytes(int index) { + public com.google.protobuf.ByteString + getIncludeProjectIdsBytes(int index) { return includeProjectIds_.getByteString(index); } /** - * - * *
        * The list of project IDs to search within. To learn more about the
        * distinction between project names/IDs/numbers, go to
@@ -1119,15 +1397,13 @@ public com.google.protobuf.ByteString getIncludeProjectIdsBytes(int index) {
        * 
* * repeated string include_project_ids = 3; - * * @param index The index to set the value at. * @param value The includeProjectIds to set. * @return This builder for chaining. */ - public Builder setIncludeProjectIds(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIncludeProjectIds( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureIncludeProjectIdsIsMutable(); includeProjectIds_.set(index, value); bitField0_ |= 0x00000002; @@ -1135,8 +1411,6 @@ public Builder setIncludeProjectIds(int index, java.lang.String value) { return this; } /** - * - * *
        * The list of project IDs to search within. To learn more about the
        * distinction between project names/IDs/numbers, go to
@@ -1144,14 +1418,12 @@ public Builder setIncludeProjectIds(int index, java.lang.String value) {
        * 
* * repeated string include_project_ids = 3; - * * @param value The includeProjectIds to add. * @return This builder for chaining. */ - public Builder addIncludeProjectIds(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addIncludeProjectIds( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureIncludeProjectIdsIsMutable(); includeProjectIds_.add(value); bitField0_ |= 0x00000002; @@ -1159,8 +1431,6 @@ public Builder addIncludeProjectIds(java.lang.String value) { return this; } /** - * - * *
        * The list of project IDs to search within. To learn more about the
        * distinction between project names/IDs/numbers, go to
@@ -1168,20 +1438,36 @@ public Builder addIncludeProjectIds(java.lang.String value) {
        * 
* * repeated string include_project_ids = 3; - * * @param values The includeProjectIds to add. * @return This builder for chaining. */ - public Builder addAllIncludeProjectIds(java.lang.Iterable values) { + public Builder addAllIncludeProjectIds( + java.lang.Iterable values) { ensureIncludeProjectIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, includeProjectIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, includeProjectIds_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + *
+       * The list of project IDs to search within. To learn more about the
+       * distinction between project names/IDs/numbers, go to
+       * https://cloud.google.com/docs/overview/#projects.
+       * 
* - * + * repeated string include_project_ids = 3; + * @return This builder for chaining. + */ + public Builder clearIncludeProjectIds() { + includeProjectIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; + onChanged(); + return this; + } + /** *
        * The list of project IDs to search within. To learn more about the
        * distinction between project names/IDs/numbers, go to
@@ -1189,104 +1475,525 @@ public Builder addAllIncludeProjectIds(java.lang.Iterable valu
        * 
* * repeated string include_project_ids = 3; + * @param value The bytes of the includeProjectIds to add. + * @return This builder for chaining. + */ + public Builder addIncludeProjectIdsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureIncludeProjectIdsIsMutable(); + includeProjectIds_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private boolean includeGcpPublicDatasets_ ; + /** + *
+       * If `true`, include Google Cloud public datasets in the
+       * search results. Info on Google Cloud public datasets is available at
+       * https://cloud.google.com/public-datasets/. By default, Google Cloud
+       * public datasets are excluded.
+       * 
* + * bool include_gcp_public_datasets = 7; + * @return The includeGcpPublicDatasets. + */ + @java.lang.Override + public boolean getIncludeGcpPublicDatasets() { + return includeGcpPublicDatasets_; + } + /** + *
+       * If `true`, include Google Cloud public datasets in the
+       * search results. Info on Google Cloud public datasets is available at
+       * https://cloud.google.com/public-datasets/. By default, Google Cloud
+       * public datasets are excluded.
+       * 
+ * + * bool include_gcp_public_datasets = 7; + * @param value The includeGcpPublicDatasets to set. * @return This builder for chaining. */ - public Builder clearIncludeProjectIds() { - includeProjectIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + public Builder setIncludeGcpPublicDatasets(boolean value) { + + includeGcpPublicDatasets_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * If `true`, include Google Cloud public datasets in the
+       * search results. Info on Google Cloud public datasets is available at
+       * https://cloud.google.com/public-datasets/. By default, Google Cloud
+       * public datasets are excluded.
+       * 
+ * + * bool include_gcp_public_datasets = 7; + * @return This builder for chaining. + */ + public Builder clearIncludeGcpPublicDatasets() { + bitField0_ = (bitField0_ & ~0x00000004); + includeGcpPublicDatasets_ = false; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList restrictedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureRestrictedLocationsIsMutable() { + if (!restrictedLocations_.isModifiable()) { + restrictedLocations_ = new com.google.protobuf.LazyStringArrayList(restrictedLocations_); + } + bitField0_ |= 0x00000008; + } + /** + *
+       * Optional. The list of locations to search within.
+       * 1. If empty, search will be performed in all locations;
+       * 2. If any of the locations are NOT in the valid locations list, error
+       * will be returned;
+       * 3. Otherwise, search only the given locations for matching results.
+       * Typical usage is to leave this field empty. When a location is
+       * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+       * users can repeat the search request with this parameter set to get
+       * additional information on the error.
+       *
+       * Valid locations:
+       *  * asia-east1
+       *  * asia-east2
+       *  * asia-northeast1
+       *  * asia-northeast2
+       *  * asia-northeast3
+       *  * asia-south1
+       *  * asia-southeast1
+       *  * australia-southeast1
+       *  * eu
+       *  * europe-north1
+       *  * europe-west1
+       *  * europe-west2
+       *  * europe-west3
+       *  * europe-west4
+       *  * europe-west6
+       *  * global
+       *  * northamerica-northeast1
+       *  * southamerica-east1
+       *  * us
+       *  * us-central1
+       *  * us-east1
+       *  * us-east4
+       *  * us-west1
+       *  * us-west2
+       * 
+ * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @return A list containing the restrictedLocations. + */ + public com.google.protobuf.ProtocolStringList + getRestrictedLocationsList() { + restrictedLocations_.makeImmutable(); + return restrictedLocations_; + } + /** + *
+       * Optional. The list of locations to search within.
+       * 1. If empty, search will be performed in all locations;
+       * 2. If any of the locations are NOT in the valid locations list, error
+       * will be returned;
+       * 3. Otherwise, search only the given locations for matching results.
+       * Typical usage is to leave this field empty. When a location is
+       * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+       * users can repeat the search request with this parameter set to get
+       * additional information on the error.
+       *
+       * Valid locations:
+       *  * asia-east1
+       *  * asia-east2
+       *  * asia-northeast1
+       *  * asia-northeast2
+       *  * asia-northeast3
+       *  * asia-south1
+       *  * asia-southeast1
+       *  * australia-southeast1
+       *  * eu
+       *  * europe-north1
+       *  * europe-west1
+       *  * europe-west2
+       *  * europe-west3
+       *  * europe-west4
+       *  * europe-west6
+       *  * global
+       *  * northamerica-northeast1
+       *  * southamerica-east1
+       *  * us
+       *  * us-central1
+       *  * us-east1
+       *  * us-east4
+       *  * us-west1
+       *  * us-west2
+       * 
+ * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @return The count of restrictedLocations. + */ + public int getRestrictedLocationsCount() { + return restrictedLocations_.size(); + } + /** + *
+       * Optional. The list of locations to search within.
+       * 1. If empty, search will be performed in all locations;
+       * 2. If any of the locations are NOT in the valid locations list, error
+       * will be returned;
+       * 3. Otherwise, search only the given locations for matching results.
+       * Typical usage is to leave this field empty. When a location is
+       * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+       * users can repeat the search request with this parameter set to get
+       * additional information on the error.
+       *
+       * Valid locations:
+       *  * asia-east1
+       *  * asia-east2
+       *  * asia-northeast1
+       *  * asia-northeast2
+       *  * asia-northeast3
+       *  * asia-south1
+       *  * asia-southeast1
+       *  * australia-southeast1
+       *  * eu
+       *  * europe-north1
+       *  * europe-west1
+       *  * europe-west2
+       *  * europe-west3
+       *  * europe-west4
+       *  * europe-west6
+       *  * global
+       *  * northamerica-northeast1
+       *  * southamerica-east1
+       *  * us
+       *  * us-central1
+       *  * us-east1
+       *  * us-east4
+       *  * us-west1
+       *  * us-west2
+       * 
+ * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @param index The index of the element to return. + * @return The restrictedLocations at the given index. + */ + public java.lang.String getRestrictedLocations(int index) { + return restrictedLocations_.get(index); + } + /** + *
+       * Optional. The list of locations to search within.
+       * 1. If empty, search will be performed in all locations;
+       * 2. If any of the locations are NOT in the valid locations list, error
+       * will be returned;
+       * 3. Otherwise, search only the given locations for matching results.
+       * Typical usage is to leave this field empty. When a location is
+       * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+       * users can repeat the search request with this parameter set to get
+       * additional information on the error.
+       *
+       * Valid locations:
+       *  * asia-east1
+       *  * asia-east2
+       *  * asia-northeast1
+       *  * asia-northeast2
+       *  * asia-northeast3
+       *  * asia-south1
+       *  * asia-southeast1
+       *  * australia-southeast1
+       *  * eu
+       *  * europe-north1
+       *  * europe-west1
+       *  * europe-west2
+       *  * europe-west3
+       *  * europe-west4
+       *  * europe-west6
+       *  * global
+       *  * northamerica-northeast1
+       *  * southamerica-east1
+       *  * us
+       *  * us-central1
+       *  * us-east1
+       *  * us-east4
+       *  * us-west1
+       *  * us-west2
+       * 
+ * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @param index The index of the value to return. + * @return The bytes of the restrictedLocations at the given index. + */ + public com.google.protobuf.ByteString + getRestrictedLocationsBytes(int index) { + return restrictedLocations_.getByteString(index); + } + /** + *
+       * Optional. The list of locations to search within.
+       * 1. If empty, search will be performed in all locations;
+       * 2. If any of the locations are NOT in the valid locations list, error
+       * will be returned;
+       * 3. Otherwise, search only the given locations for matching results.
+       * Typical usage is to leave this field empty. When a location is
+       * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+       * users can repeat the search request with this parameter set to get
+       * additional information on the error.
+       *
+       * Valid locations:
+       *  * asia-east1
+       *  * asia-east2
+       *  * asia-northeast1
+       *  * asia-northeast2
+       *  * asia-northeast3
+       *  * asia-south1
+       *  * asia-southeast1
+       *  * australia-southeast1
+       *  * eu
+       *  * europe-north1
+       *  * europe-west1
+       *  * europe-west2
+       *  * europe-west3
+       *  * europe-west4
+       *  * europe-west6
+       *  * global
+       *  * northamerica-northeast1
+       *  * southamerica-east1
+       *  * us
+       *  * us-central1
+       *  * us-east1
+       *  * us-east4
+       *  * us-west1
+       *  * us-west2
+       * 
+ * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @param index The index to set the value at. + * @param value The restrictedLocations to set. + * @return This builder for chaining. + */ + public Builder setRestrictedLocations( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureRestrictedLocationsIsMutable(); + restrictedLocations_.set(index, value); + bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
-       * The list of project IDs to search within. To learn more about the
-       * distinction between project names/IDs/numbers, go to
-       * https://cloud.google.com/docs/overview/#projects.
+       * Optional. The list of locations to search within.
+       * 1. If empty, search will be performed in all locations;
+       * 2. If any of the locations are NOT in the valid locations list, error
+       * will be returned;
+       * 3. Otherwise, search only the given locations for matching results.
+       * Typical usage is to leave this field empty. When a location is
+       * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+       * users can repeat the search request with this parameter set to get
+       * additional information on the error.
+       *
+       * Valid locations:
+       *  * asia-east1
+       *  * asia-east2
+       *  * asia-northeast1
+       *  * asia-northeast2
+       *  * asia-northeast3
+       *  * asia-south1
+       *  * asia-southeast1
+       *  * australia-southeast1
+       *  * eu
+       *  * europe-north1
+       *  * europe-west1
+       *  * europe-west2
+       *  * europe-west3
+       *  * europe-west4
+       *  * europe-west6
+       *  * global
+       *  * northamerica-northeast1
+       *  * southamerica-east1
+       *  * us
+       *  * us-central1
+       *  * us-east1
+       *  * us-east4
+       *  * us-west1
+       *  * us-west2
        * 
* - * repeated string include_project_ids = 3; - * - * @param value The bytes of the includeProjectIds to add. + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The restrictedLocations to add. * @return This builder for chaining. */ - public Builder addIncludeProjectIdsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureIncludeProjectIdsIsMutable(); - includeProjectIds_.add(value); - bitField0_ |= 0x00000002; + public Builder addRestrictedLocations( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureRestrictedLocationsIsMutable(); + restrictedLocations_.add(value); + bitField0_ |= 0x00000008; onChanged(); return this; } - - private boolean includeGcpPublicDatasets_; /** - * - * *
-       * If `true`, include Google Cloud Platform (GCP) public datasets in the
-       * search results. Info on GCP public datasets is available at
-       * https://cloud.google.com/public-datasets/. By default, GCP public
-       * datasets are excluded.
+       * Optional. The list of locations to search within.
+       * 1. If empty, search will be performed in all locations;
+       * 2. If any of the locations are NOT in the valid locations list, error
+       * will be returned;
+       * 3. Otherwise, search only the given locations for matching results.
+       * Typical usage is to leave this field empty. When a location is
+       * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+       * users can repeat the search request with this parameter set to get
+       * additional information on the error.
+       *
+       * Valid locations:
+       *  * asia-east1
+       *  * asia-east2
+       *  * asia-northeast1
+       *  * asia-northeast2
+       *  * asia-northeast3
+       *  * asia-south1
+       *  * asia-southeast1
+       *  * australia-southeast1
+       *  * eu
+       *  * europe-north1
+       *  * europe-west1
+       *  * europe-west2
+       *  * europe-west3
+       *  * europe-west4
+       *  * europe-west6
+       *  * global
+       *  * northamerica-northeast1
+       *  * southamerica-east1
+       *  * us
+       *  * us-central1
+       *  * us-east1
+       *  * us-east4
+       *  * us-west1
+       *  * us-west2
        * 
* - * bool include_gcp_public_datasets = 7; - * - * @return The includeGcpPublicDatasets. + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @param values The restrictedLocations to add. + * @return This builder for chaining. */ - @java.lang.Override - public boolean getIncludeGcpPublicDatasets() { - return includeGcpPublicDatasets_; + public Builder addAllRestrictedLocations( + java.lang.Iterable values) { + ensureRestrictedLocationsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, restrictedLocations_); + bitField0_ |= 0x00000008; + onChanged(); + return this; } /** - * - * *
-       * If `true`, include Google Cloud Platform (GCP) public datasets in the
-       * search results. Info on GCP public datasets is available at
-       * https://cloud.google.com/public-datasets/. By default, GCP public
-       * datasets are excluded.
+       * Optional. The list of locations to search within.
+       * 1. If empty, search will be performed in all locations;
+       * 2. If any of the locations are NOT in the valid locations list, error
+       * will be returned;
+       * 3. Otherwise, search only the given locations for matching results.
+       * Typical usage is to leave this field empty. When a location is
+       * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+       * users can repeat the search request with this parameter set to get
+       * additional information on the error.
+       *
+       * Valid locations:
+       *  * asia-east1
+       *  * asia-east2
+       *  * asia-northeast1
+       *  * asia-northeast2
+       *  * asia-northeast3
+       *  * asia-south1
+       *  * asia-southeast1
+       *  * australia-southeast1
+       *  * eu
+       *  * europe-north1
+       *  * europe-west1
+       *  * europe-west2
+       *  * europe-west3
+       *  * europe-west4
+       *  * europe-west6
+       *  * global
+       *  * northamerica-northeast1
+       *  * southamerica-east1
+       *  * us
+       *  * us-central1
+       *  * us-east1
+       *  * us-east4
+       *  * us-west1
+       *  * us-west2
        * 
* - * bool include_gcp_public_datasets = 7; - * - * @param value The includeGcpPublicDatasets to set. + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ - public Builder setIncludeGcpPublicDatasets(boolean value) { - - includeGcpPublicDatasets_ = value; - bitField0_ |= 0x00000004; + public Builder clearRestrictedLocations() { + restrictedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008);; onChanged(); return this; } /** - * - * *
-       * If `true`, include Google Cloud Platform (GCP) public datasets in the
-       * search results. Info on GCP public datasets is available at
-       * https://cloud.google.com/public-datasets/. By default, GCP public
-       * datasets are excluded.
+       * Optional. The list of locations to search within.
+       * 1. If empty, search will be performed in all locations;
+       * 2. If any of the locations are NOT in the valid locations list, error
+       * will be returned;
+       * 3. Otherwise, search only the given locations for matching results.
+       * Typical usage is to leave this field empty. When a location is
+       * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+       * users can repeat the search request with this parameter set to get
+       * additional information on the error.
+       *
+       * Valid locations:
+       *  * asia-east1
+       *  * asia-east2
+       *  * asia-northeast1
+       *  * asia-northeast2
+       *  * asia-northeast3
+       *  * asia-south1
+       *  * asia-southeast1
+       *  * australia-southeast1
+       *  * eu
+       *  * europe-north1
+       *  * europe-west1
+       *  * europe-west2
+       *  * europe-west3
+       *  * europe-west4
+       *  * europe-west6
+       *  * global
+       *  * northamerica-northeast1
+       *  * southamerica-east1
+       *  * us
+       *  * us-central1
+       *  * us-east1
+       *  * us-east4
+       *  * us-west1
+       *  * us-west2
        * 
* - * bool include_gcp_public_datasets = 7; - * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes of the restrictedLocations to add. * @return This builder for chaining. */ - public Builder clearIncludeGcpPublicDatasets() { - bitField0_ = (bitField0_ & ~0x00000004); - includeGcpPublicDatasets_ = false; + public Builder addRestrictedLocationsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureRestrictedLocationsIsMutable(); + restrictedLocations_.add(value); + bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1299,44 +2006,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope) - private static final com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope - DEFAULT_INSTANCE; - + private static final com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope(); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope - getDefaultInstance() { + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Scope parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Scope parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,17 +2052,15 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope - getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int SCOPE_FIELD_NUMBER = 6; private com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope_; /** - * - * *
    * Required. The scope of this search request. A `scope` that has empty
    * `include_org_ids`, `include_project_ids` AND false
@@ -1366,10 +2068,7 @@ public com.google.protobuf.Parser getParserForType() {
    * return an error in such a case.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scope field is set. */ @java.lang.Override @@ -1377,8 +2076,6 @@ public boolean hasScope() { return scope_ != null; } /** - * - * *
    * Required. The scope of this search request. A `scope` that has empty
    * `include_org_ids`, `include_project_ids` AND false
@@ -1386,21 +2083,14 @@ public boolean hasScope() {
    * return an error in such a case.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The scope. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope getScope() { - return scope_ == null - ? com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.getDefaultInstance() - : scope_; + return scope_ == null ? com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.getDefaultInstance() : scope_; } /** - * - * *
    * Required. The scope of this search request. A `scope` that has empty
    * `include_org_ids`, `include_project_ids` AND false
@@ -1408,29 +2098,21 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope getScope(
    * return an error in such a case.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder - getScopeOrBuilder() { - return scope_ == null - ? com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.getDefaultInstance() - : scope_; + public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder getScopeOrBuilder() { + return scope_ == null ? com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.getDefaultInstance() : scope_; } public static final int QUERY_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object query_ = ""; /** - * - * *
-   * Required. The query string in search query syntax. The query must be non-empty.
-   *
-   * Query strings can be simple as "x" or more qualified as:
+   * Optional. The query string in search query syntax. An empty query string
+   * will result in all data assets (in the specified scope) that the user has
+   * access to. Query strings can be simple as "x" or more qualified as:
    *
    * * name:x
    * * column:x
@@ -1442,8 +2124,7 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope getScope(
    * for more information.
    * 
* - * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The query. */ @java.lang.Override @@ -1452,19 +2133,18 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** - * - * *
-   * Required. The query string in search query syntax. The query must be non-empty.
-   *
-   * Query strings can be simple as "x" or more qualified as:
+   * Optional. The query string in search query syntax. An empty query string
+   * will result in all data assets (in the specified scope) that the user has
+   * access to. Query strings can be simple as "x" or more qualified as:
    *
    * * name:x
    * * column:x
@@ -1476,16 +2156,17 @@ public java.lang.String getQuery() {
    * for more information.
    * 
* - * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -1496,15 +2177,12 @@ public com.google.protobuf.ByteString getQueryBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Number of results in the search page. If <=0 then defaults to 10. Max limit
    * for page_size is 1000. Throws an invalid argument for page_size > 1000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -1513,23 +2191,19 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Optional. Pagination token returned in an earlier
-   * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
-   * indicates that this is a continuation of a prior
+   * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
+   * which indicates that this is a continuation of a prior
    * [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog]
    * call, and that the system should return the next page of data. If empty,
    * the first page is returned.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -1538,34 +2212,34 @@ 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. Pagination token returned in an earlier
-   * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
-   * indicates that this is a continuation of a prior
+   * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
+   * which indicates that this is a continuation of a prior
    * [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog]
    * call, and that the system should return the next page of data. If empty,
    * the first page is returned.
    * 
* * 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 { @@ -1574,12 +2248,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** - * - * *
    * Specifies the ordering of results, currently supported case-sensitive
    * choices are:
@@ -1587,12 +2258,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    *   * `relevance`, only supports descending
    *   * `last_modified_timestamp [asc|desc]`, defaults to descending if not
    *     specified
+   *   * `default` that can only be descending
    *
    * If not specified, defaults to `relevance` descending.
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -1601,15 +2272,14 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Specifies the ordering of results, currently supported case-sensitive
    * choices are:
@@ -1617,20 +2287,22 @@ public java.lang.String getOrderBy() {
    *   * `relevance`, only supports descending
    *   * `last_modified_timestamp [asc|desc]`, defaults to descending if not
    *     specified
+   *   * `default` that can only be descending
    *
    * If not specified, defaults to `relevance` descending.
    * 
* * string order_by = 5; - * * @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 { @@ -1639,7 +2311,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1651,7 +2322,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(query_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, query_); } @@ -1680,7 +2352,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, query_); } 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_); @@ -1689,7 +2362,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); } if (scope_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getScope()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getScope()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1699,22 +2373,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.datacatalog.v1beta1.SearchCatalogRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest other = - (com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest) obj; + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest other = (com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest) obj; if (hasScope() != other.hasScope()) return false; if (hasScope()) { - if (!getScope().equals(other.getScope())) return false; - } - if (!getQuery().equals(other.getQuery())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + if (!getScope() + .equals(other.getScope())) return false; + } + if (!getQuery() + .equals(other.getQuery())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1744,104 +2422,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [SearchCatalog][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog].
@@ -1849,32 +2521,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.SearchCatalogRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.SearchCatalogRequest)
       com.google.cloud.datacatalog.v1beta1.SearchCatalogRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.class,
-              com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.class, com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1892,9 +2565,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_descriptor;
     }
 
     @java.lang.Override
@@ -1913,11 +2586,8 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest result =
-          new com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest result = new com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -1925,7 +2595,9 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest buildPartial()
     private void buildPartial0(com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.scope_ = scopeBuilder_ == null ? scope_ : scopeBuilder_.build();
+        result.scope_ = scopeBuilder_ == null
+            ? scope_
+            : scopeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.query_ = query_;
@@ -1945,39 +2617,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.SearchCatalogReq
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1985,8 +2656,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.getDefaultInstance()) return this;
       if (other.hasScope()) {
         mergeScope(other.getScope());
       }
@@ -2034,43 +2704,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                query_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 10
-            case 16:
-              {
-                pageSize_ = input.readInt32();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 16
-            case 26:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 26
-            case 42:
-              {
-                orderBy_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getScopeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              query_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 10
+            case 16: {
+              pageSize_ = input.readInt32();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 16
+            case 26: {
+              pageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 26
+            case 42: {
+              orderBy_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getScopeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              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) {
@@ -2080,18 +2746,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope,
-            com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.Builder,
-            com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder>
-        scopeBuilder_;
+        com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope, com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.Builder, com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder> scopeBuilder_;
     /**
-     *
-     *
      * 
      * Required. The scope of this search request. A `scope` that has empty
      * `include_org_ids`, `include_project_ids` AND false
@@ -2099,18 +2759,13 @@ public Builder mergeFrom(
      * return an error in such a case.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scope field is set. */ public boolean hasScope() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The scope of this search request. A `scope` that has empty
      * `include_org_ids`, `include_project_ids` AND false
@@ -2118,24 +2773,17 @@ public boolean hasScope() {
      * return an error in such a case.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The scope. */ public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope getScope() { if (scopeBuilder_ == null) { - return scope_ == null - ? com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.getDefaultInstance() - : scope_; + return scope_ == null ? com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.getDefaultInstance() : scope_; } else { return scopeBuilder_.getMessage(); } } /** - * - * *
      * Required. The scope of this search request. A `scope` that has empty
      * `include_org_ids`, `include_project_ids` AND false
@@ -2143,9 +2791,7 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope getScope(
      * return an error in such a case.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setScope(com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope value) { if (scopeBuilder_ == null) { @@ -2161,8 +2807,6 @@ public Builder setScope(com.google.cloud.datacatalog.v1beta1.SearchCatalogReques return this; } /** - * - * *
      * Required. The scope of this search request. A `scope` that has empty
      * `include_org_ids`, `include_project_ids` AND false
@@ -2170,9 +2814,7 @@ public Builder setScope(com.google.cloud.datacatalog.v1beta1.SearchCatalogReques
      * return an error in such a case.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setScope( com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.Builder builderForValue) { @@ -2186,8 +2828,6 @@ public Builder setScope( return this; } /** - * - * *
      * Required. The scope of this search request. A `scope` that has empty
      * `include_org_ids`, `include_project_ids` AND false
@@ -2195,18 +2835,13 @@ public Builder setScope(
      * return an error in such a case.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeScope( - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope value) { + public Builder mergeScope(com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope value) { if (scopeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && scope_ != null - && scope_ - != com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope - .getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + scope_ != null && + scope_ != com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.getDefaultInstance()) { getScopeBuilder().mergeFrom(value); } else { scope_ = value; @@ -2219,8 +2854,6 @@ public Builder mergeScope( return this; } /** - * - * *
      * Required. The scope of this search request. A `scope` that has empty
      * `include_org_ids`, `include_project_ids` AND false
@@ -2228,9 +2861,7 @@ public Builder mergeScope(
      * return an error in such a case.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearScope() { bitField0_ = (bitField0_ & ~0x00000001); @@ -2243,8 +2874,6 @@ public Builder clearScope() { return this; } /** - * - * *
      * Required. The scope of this search request. A `scope` that has empty
      * `include_org_ids`, `include_project_ids` AND false
@@ -2252,19 +2881,14 @@ public Builder clearScope() {
      * return an error in such a case.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.Builder - getScopeBuilder() { + public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.Builder getScopeBuilder() { bitField0_ |= 0x00000001; onChanged(); return getScopeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The scope of this search request. A `scope` that has empty
      * `include_org_ids`, `include_project_ids` AND false
@@ -2272,23 +2896,17 @@ public Builder clearScope() {
      * return an error in such a case.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder - getScopeOrBuilder() { + public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder getScopeOrBuilder() { if (scopeBuilder_ != null) { return scopeBuilder_.getMessageOrBuilder(); } else { - return scope_ == null - ? com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.getDefaultInstance() - : scope_; + return scope_ == null ? + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.getDefaultInstance() : scope_; } } /** - * - * *
      * Required. The scope of this search request. A `scope` that has empty
      * `include_org_ids`, `include_project_ids` AND false
@@ -2296,22 +2914,17 @@ public Builder clearScope() {
      * return an error in such a case.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope, - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.Builder, - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder> + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope, com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.Builder, com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder> getScopeFieldBuilder() { if (scopeBuilder_ == null) { - scopeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope, - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.Builder, - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder>( - getScope(), getParentForChildren(), isClean()); + scopeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope, com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.Builder, com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder>( + getScope(), + getParentForChildren(), + isClean()); scope_ = null; } return scopeBuilder_; @@ -2319,12 +2932,10 @@ public Builder clearScope() { private java.lang.Object query_ = ""; /** - * - * *
-     * Required. The query string in search query syntax. The query must be non-empty.
-     *
-     * Query strings can be simple as "x" or more qualified as:
+     * Optional. The query string in search query syntax. An empty query string
+     * will result in all data assets (in the specified scope) that the user has
+     * access to. Query strings can be simple as "x" or more qualified as:
      *
      * * name:x
      * * column:x
@@ -2336,14 +2947,14 @@ public Builder clearScope() {
      * for more information.
      * 
* - * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -2352,12 +2963,10 @@ public java.lang.String getQuery() { } } /** - * - * *
-     * Required. The query string in search query syntax. The query must be non-empty.
-     *
-     * Query strings can be simple as "x" or more qualified as:
+     * Optional. The query string in search query syntax. An empty query string
+     * will result in all data assets (in the specified scope) that the user has
+     * access to. Query strings can be simple as "x" or more qualified as:
      *
      * * name:x
      * * column:x
@@ -2369,15 +2978,16 @@ public java.lang.String getQuery() {
      * for more information.
      * 
* - * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The bytes for query. */ - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -2385,12 +2995,10 @@ public com.google.protobuf.ByteString getQueryBytes() { } } /** - * - * *
-     * Required. The query string in search query syntax. The query must be non-empty.
-     *
-     * Query strings can be simple as "x" or more qualified as:
+     * Optional. The query string in search query syntax. An empty query string
+     * will result in all data assets (in the specified scope) that the user has
+     * access to. Query strings can be simple as "x" or more qualified as:
      *
      * * name:x
      * * column:x
@@ -2402,27 +3010,23 @@ public com.google.protobuf.ByteString getQueryBytes() {
      * for more information.
      * 
* - * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQuery( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } query_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
-     * Required. The query string in search query syntax. The query must be non-empty.
-     *
-     * Query strings can be simple as "x" or more qualified as:
+     * Optional. The query string in search query syntax. An empty query string
+     * will result in all data assets (in the specified scope) that the user has
+     * access to. Query strings can be simple as "x" or more qualified as:
      *
      * * name:x
      * * column:x
@@ -2434,8 +3038,7 @@ public Builder setQuery(java.lang.String value) {
      * for more information.
      * 
* - * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearQuery() { @@ -2445,12 +3048,10 @@ public Builder clearQuery() { return this; } /** - * - * *
-     * Required. The query string in search query syntax. The query must be non-empty.
-     *
-     * Query strings can be simple as "x" or more qualified as:
+     * Optional. The query string in search query syntax. An empty query string
+     * will result in all data assets (in the specified scope) that the user has
+     * access to. Query strings can be simple as "x" or more qualified as:
      *
      * * name:x
      * * column:x
@@ -2462,15 +3063,13 @@ public Builder clearQuery() {
      * for more information.
      * 
* - * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQueryBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); query_ = value; bitField0_ |= 0x00000002; @@ -2478,17 +3077,14 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Number of results in the search page. If <=0 then defaults to 10. Max limit
      * for page_size is 1000. Throws an invalid argument for page_size > 1000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -2496,15 +3092,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Number of results in the search page. If <=0 then defaults to 10. Max limit
      * for page_size is 1000. Throws an invalid argument for page_size > 1000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -2516,15 +3109,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Number of results in the search page. If <=0 then defaults to 10. Max limit
      * for page_size is 1000. Throws an invalid argument for page_size > 1000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -2536,25 +3126,23 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. Pagination token returned in an earlier
-     * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
-     * indicates that this is a continuation of a prior
+     * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
+     * which indicates that this is a continuation of a prior
      * [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog]
      * call, and that the system should return the next page of data. If empty,
      * the first page is returned.
      * 
* * 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; @@ -2563,26 +3151,25 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. Pagination token returned in an earlier
-     * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
-     * indicates that this is a continuation of a prior
+     * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
+     * which indicates that this is a continuation of a prior
      * [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog]
      * call, and that the system should return the next page of data. If empty,
      * the first page is returned.
      * 
* * 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 { @@ -2590,45 +3177,38 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. Pagination token returned in an earlier
-     * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
-     * indicates that this is a continuation of a prior
+     * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
+     * which indicates that this is a continuation of a prior
      * [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog]
      * call, and that the system should return the next page of data. If empty,
      * the first page is returned.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. Pagination token returned in an earlier
-     * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
-     * indicates that this is a continuation of a prior
+     * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
+     * which indicates that this is a continuation of a prior
      * [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog]
      * call, and that the system should return the next page of data. If empty,
      * the first page is returned.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -2638,26 +3218,22 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Optional. Pagination token returned in an earlier
-     * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
-     * indicates that this is a continuation of a prior
+     * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
+     * which indicates that this is a continuation of a prior
      * [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog]
      * call, and that the system should return the next page of data. If empty,
      * the first page is returned.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000008; @@ -2667,8 +3243,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Specifies the ordering of results, currently supported case-sensitive
      * choices are:
@@ -2676,18 +3250,19 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      *   * `relevance`, only supports descending
      *   * `last_modified_timestamp [asc|desc]`, defaults to descending if not
      *     specified
+     *   * `default` that can only be descending
      *
      * If not specified, defaults to `relevance` descending.
      * 
* * string order_by = 5; - * * @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; @@ -2696,8 +3271,6 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Specifies the ordering of results, currently supported case-sensitive
      * choices are:
@@ -2705,19 +3278,21 @@ public java.lang.String getOrderBy() {
      *   * `relevance`, only supports descending
      *   * `last_modified_timestamp [asc|desc]`, defaults to descending if not
      *     specified
+     *   * `default` that can only be descending
      *
      * If not specified, defaults to `relevance` descending.
      * 
* * string order_by = 5; - * * @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 { @@ -2725,8 +3300,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Specifies the ordering of results, currently supported case-sensitive
      * choices are:
@@ -2734,27 +3307,24 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      *   * `relevance`, only supports descending
      *   * `last_modified_timestamp [asc|desc]`, defaults to descending if not
      *     specified
+     *   * `default` that can only be descending
      *
      * If not specified, defaults to `relevance` descending.
      * 
* * string order_by = 5; - * * @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; } /** - * - * *
      * Specifies the ordering of results, currently supported case-sensitive
      * choices are:
@@ -2762,12 +3332,12 @@ public Builder setOrderBy(java.lang.String value) {
      *   * `relevance`, only supports descending
      *   * `last_modified_timestamp [asc|desc]`, defaults to descending if not
      *     specified
+     *   * `default` that can only be descending
      *
      * If not specified, defaults to `relevance` descending.
      * 
* * string order_by = 5; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -2777,8 +3347,6 @@ public Builder clearOrderBy() { return this; } /** - * - * *
      * Specifies the ordering of results, currently supported case-sensitive
      * choices are:
@@ -2786,28 +3354,27 @@ public Builder clearOrderBy() {
      *   * `relevance`, only supports descending
      *   * `last_modified_timestamp [asc|desc]`, defaults to descending if not
      *     specified
+     *   * `default` that can only be descending
      *
      * If not specified, defaults to `relevance` descending.
      * 
* * string order_by = 5; - * * @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); } @@ -2817,12 +3384,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.SearchCatalogRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.SearchCatalogRequest) private static final com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest(); } @@ -2831,27 +3398,27 @@ public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchCatalogRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchCatalogRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2866,4 +3433,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequestOrBuilder.java similarity index 67% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequestOrBuilder.java index fbe6ea0d941c..a959ff02630e 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface SearchCatalogRequestOrBuilder - extends +public interface SearchCatalogRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.SearchCatalogRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The scope of this search request. A `scope` that has empty
    * `include_org_ids`, `include_project_ids` AND false
@@ -33,16 +15,11 @@ public interface SearchCatalogRequestOrBuilder
    * return an error in such a case.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scope field is set. */ boolean hasScope(); /** - * - * *
    * Required. The scope of this search request. A `scope` that has empty
    * `include_org_ids`, `include_project_ids` AND false
@@ -50,16 +27,11 @@ public interface SearchCatalogRequestOrBuilder
    * return an error in such a case.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The scope. */ com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope getScope(); /** - * - * *
    * Required. The scope of this search request. A `scope` that has empty
    * `include_org_ids`, `include_project_ids` AND false
@@ -67,19 +39,15 @@ public interface SearchCatalogRequestOrBuilder
    * return an error in such a case.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder getScopeOrBuilder(); /** - * - * *
-   * Required. The query string in search query syntax. The query must be non-empty.
-   *
-   * Query strings can be simple as "x" or more qualified as:
+   * Optional. The query string in search query syntax. An empty query string
+   * will result in all data assets (in the specified scope) that the user has
+   * access to. Query strings can be simple as "x" or more qualified as:
    *
    * * name:x
    * * column:x
@@ -91,18 +59,15 @@ public interface SearchCatalogRequestOrBuilder
    * for more information.
    * 
* - * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The query. */ java.lang.String getQuery(); /** - * - * *
-   * Required. The query string in search query syntax. The query must be non-empty.
-   *
-   * Query strings can be simple as "x" or more qualified as:
+   * Optional. The query string in search query syntax. An empty query string
+   * will result in all data assets (in the specified scope) that the user has
+   * access to. Query strings can be simple as "x" or more qualified as:
    *
    * * name:x
    * * column:x
@@ -114,64 +79,54 @@ public interface SearchCatalogRequestOrBuilder
    * for more information.
    * 
* - * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The bytes for query. */ - com.google.protobuf.ByteString getQueryBytes(); + com.google.protobuf.ByteString + getQueryBytes(); /** - * - * *
    * Number of results in the search page. If <=0 then defaults to 10. Max limit
    * for page_size is 1000. Throws an invalid argument for page_size > 1000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. Pagination token returned in an earlier
-   * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
-   * indicates that this is a continuation of a prior
+   * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
+   * which indicates that this is a continuation of a prior
    * [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog]
    * call, and that the system should return the next page of data. If empty,
    * the first page is returned.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. Pagination token returned in an earlier
-   * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
-   * indicates that this is a continuation of a prior
+   * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
+   * which indicates that this is a continuation of a prior
    * [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog]
    * call, and that the system should return the next page of data. If empty,
    * the first page is returned.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Specifies the ordering of results, currently supported case-sensitive
    * choices are:
@@ -179,18 +134,16 @@ public interface SearchCatalogRequestOrBuilder
    *   * `relevance`, only supports descending
    *   * `last_modified_timestamp [asc|desc]`, defaults to descending if not
    *     specified
+   *   * `default` that can only be descending
    *
    * If not specified, defaults to `relevance` descending.
    * 
* * string order_by = 5; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Specifies the ordering of results, currently supported case-sensitive
    * choices are:
@@ -198,13 +151,14 @@ public interface SearchCatalogRequestOrBuilder
    *   * `relevance`, only supports descending
    *   * `last_modified_timestamp [asc|desc]`, defaults to descending if not
    *     specified
+   *   * `default` that can only be descending
    *
    * If not specified, defaults to `relevance` descending.
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponse.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponse.java similarity index 54% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponse.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponse.java index a8aede85f481..22b9c933cf4f 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponse.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Response message for
  * [SearchCatalog][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog].
@@ -28,49 +11,46 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.SearchCatalogResponse}
  */
-public final class SearchCatalogResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SearchCatalogResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.SearchCatalogResponse)
     SearchCatalogResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SearchCatalogResponse.newBuilder() to construct.
   private SearchCatalogResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SearchCatalogResponse() {
     results_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
+    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 SearchCatalogResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse.class,
-            com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse.class, com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse.Builder.class);
   }
 
   public static final int RESULTS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List results_;
   /**
-   *
-   *
    * 
    * Search results.
    * 
@@ -82,8 +62,6 @@ public java.util.List return results_; } /** - * - * *
    * Search results.
    * 
@@ -91,13 +69,11 @@ public java.util.List * repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1; */ @java.lang.Override - public java.util.List + public java.util.List getResultsOrBuilderList() { return results_; } /** - * - * *
    * Search results.
    * 
@@ -109,8 +85,6 @@ public int getResultsCount() { return results_.size(); } /** - * - * *
    * Search results.
    * 
@@ -122,8 +96,6 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResult getResults(int i return results_.get(index); } /** - * - * *
    * Search results.
    * 
@@ -136,19 +108,30 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder getResu return results_.get(index); } - public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; + public static final int TOTAL_SIZE_FIELD_NUMBER = 2; + private int totalSize_ = 0; + /** + *
+   * The approximate total number of entries matched by the query.
+   * 
+ * + * int32 total_size = 2; + * @return The totalSize. + */ + @java.lang.Override + public int getTotalSize() { + return totalSize_; + } + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * The token that can be used to retrieve the next page of results.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ @java.lang.Override @@ -157,29 +140,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token that can be used to retrieve the next page of results.
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -187,8 +170,72 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } - private byte memoizedIsInitialized = -1; + public static final int UNREACHABLE_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+   * Unreachable locations. Search result does not include data from those
+   * locations. Users can get additional information on the error by repeating
+   * the search request with a more restrictive parameter -- setting the value
+   * for `SearchDataCatalogRequest.scope.restricted_locations`.
+   * 
+ * + * repeated string unreachable = 6; + * @return A list containing the unreachable. + */ + public com.google.protobuf.ProtocolStringList + getUnreachableList() { + return unreachable_; + } + /** + *
+   * Unreachable locations. Search result does not include data from those
+   * locations. Users can get additional information on the error by repeating
+   * the search request with a more restrictive parameter -- setting the value
+   * for `SearchDataCatalogRequest.scope.restricted_locations`.
+   * 
+ * + * repeated string unreachable = 6; + * @return The count of unreachable. + */ + public int getUnreachableCount() { + return unreachable_.size(); + } + /** + *
+   * Unreachable locations. Search result does not include data from those
+   * locations. Users can get additional information on the error by repeating
+   * the search request with a more restrictive parameter -- setting the value
+   * for `SearchDataCatalogRequest.scope.restricted_locations`.
+   * 
+ * + * repeated string unreachable = 6; + * @param index The index of the element to return. + * @return The unreachable at the given index. + */ + public java.lang.String getUnreachable(int index) { + return unreachable_.get(index); + } + /** + *
+   * Unreachable locations. Search result does not include data from those
+   * locations. Users can get additional information on the error by repeating
+   * the search request with a more restrictive parameter -- setting the value
+   * for `SearchDataCatalogRequest.scope.restricted_locations`.
+   * 
+ * + * repeated string unreachable = 6; + * @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) { + return unreachable_.getByteString(index); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,13 +247,20 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < results_.size(); i++) { output.writeMessage(1, results_.get(i)); } + if (totalSize_ != 0) { + output.writeInt32(2, totalSize_); + } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, nextPageToken_); } + for (int i = 0; i < unreachable_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, unreachable_.getRaw(i)); + } getUnknownFields().writeTo(output); } @@ -217,11 +271,24 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < results_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, results_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, results_.get(i)); + } + if (totalSize_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, totalSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); } + { + int dataSize = 0; + for (int i = 0; i < unreachable_.size(); i++) { + dataSize += computeStringSizeNoTag(unreachable_.getRaw(i)); + } + size += dataSize; + size += 1 * getUnreachableList().size(); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -230,16 +297,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse other = - (com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse) obj; - - if (!getResultsList().equals(other.getResultsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse other = (com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse) obj; + + if (!getResultsList() + .equals(other.getResultsList())) return false; + if (getTotalSize() + != other.getTotalSize()) 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; } @@ -255,112 +327,112 @@ public int hashCode() { hash = (37 * hash) + RESULTS_FIELD_NUMBER; hash = (53 * hash) + getResultsList().hashCode(); } + hash = (37 * hash) + TOTAL_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getTotalSize(); hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getNextPageToken().hashCode(); + if (getUnreachableCount() > 0) { + hash = (37 * hash) + UNREACHABLE_FIELD_NUMBER; + hash = (53 * hash) + getUnreachableList().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for
    * [SearchCatalog][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog].
@@ -368,32 +440,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.SearchCatalogResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.SearchCatalogResponse)
       com.google.cloud.datacatalog.v1beta1.SearchCatalogResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse.class,
-              com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse.class, com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -405,14 +478,17 @@ public Builder clear() {
         resultsBuilder_.clear();
       }
       bitField0_ = (bitField0_ & ~0x00000001);
+      totalSize_ = 0;
       nextPageToken_ = "";
+      unreachable_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_descriptor;
     }
 
     @java.lang.Override
@@ -431,18 +507,14 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse result =
-          new com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse(this);
+      com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse result = new com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse result) {
+    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse result) {
       if (resultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           results_ = java.util.Collections.unmodifiableList(results_);
@@ -457,47 +529,53 @@ private void buildPartialRepeatedFields(
     private void buildPartial0(com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
+        result.totalSize_ = totalSize_;
+      }
+      if (((from_bitField0_ & 0x00000004) != 0)) {
         result.nextPageToken_ = nextPageToken_;
       }
+      if (((from_bitField0_ & 0x00000008) != 0)) {
+        unreachable_.makeImmutable();
+        result.unreachable_ = unreachable_;
+      }
     }
 
     @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.datacatalog.v1beta1.SearchCatalogResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -505,8 +583,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse.getDefaultInstance()) return this;
       if (resultsBuilder_ == null) {
         if (!other.results_.isEmpty()) {
           if (results_.isEmpty()) {
@@ -525,18 +602,30 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.SearchCatalogRespo
             resultsBuilder_ = null;
             results_ = other.results_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            resultsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getResultsFieldBuilder()
-                    : null;
+            resultsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getResultsFieldBuilder() : null;
           } else {
             resultsBuilder_.addAllMessages(other.results_);
           }
         }
       }
+      if (other.getTotalSize() != 0) {
+        setTotalSize(other.getTotalSize());
+      }
       if (!other.getNextPageToken().isEmpty()) {
         nextPageToken_ = other.nextPageToken_;
-        bitField0_ |= 0x00000002;
+        bitField0_ |= 0x00000004;
+        onChanged();
+      }
+      if (!other.unreachable_.isEmpty()) {
+        if (unreachable_.isEmpty()) {
+          unreachable_ = other.unreachable_;
+          bitField0_ |= 0x00000008;
+        } else {
+          ensureUnreachableIsMutable();
+          unreachable_.addAll(other.unreachable_);
+        }
         onChanged();
       }
       this.mergeUnknownFields(other.getUnknownFields());
@@ -565,33 +654,41 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.datacatalog.v1beta1.SearchCatalogResult m =
-                    input.readMessage(
-                        com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.parser(),
-                        extensionRegistry);
-                if (resultsBuilder_ == null) {
-                  ensureResultsIsMutable();
-                  results_.add(m);
-                } else {
-                  resultsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 26:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.cloud.datacatalog.v1beta1.SearchCatalogResult m =
+                  input.readMessage(
+                      com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.parser(),
+                      extensionRegistry);
+              if (resultsBuilder_ == null) {
+                ensureResultsIsMutable();
+                results_.add(m);
+              } else {
+                resultsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 16: {
+              totalSize_ = input.readInt32();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 26: {
+              nextPageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 50: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureUnreachableIsMutable();
+              unreachable_.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) {
@@ -601,38 +698,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List results_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        results_ =
-            new java.util.ArrayList(
-                results_);
+        results_ = new java.util.ArrayList(results_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.datacatalog.v1beta1.SearchCatalogResult,
-            com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder,
-            com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder>
-        resultsBuilder_;
+        com.google.cloud.datacatalog.v1beta1.SearchCatalogResult, com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder, com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder> resultsBuilder_;
 
     /**
-     *
-     *
      * 
      * Search results.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1; */ - public java.util.List - getResultsList() { + public java.util.List getResultsList() { if (resultsBuilder_ == null) { return java.util.Collections.unmodifiableList(results_); } else { @@ -640,8 +727,6 @@ private void ensureResultsIsMutable() { } } /** - * - * *
      * Search results.
      * 
@@ -656,8 +741,6 @@ public int getResultsCount() { } } /** - * - * *
      * Search results.
      * 
@@ -672,8 +755,6 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResult getResults(int i } } /** - * - * *
      * Search results.
      * 
@@ -695,8 +776,6 @@ public Builder setResults( return this; } /** - * - * *
      * Search results.
      * 
@@ -704,8 +783,7 @@ public Builder setResults( * repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1; */ public Builder setResults( - int index, - com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder builderForValue) { + int index, com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder builderForValue) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); results_.set(index, builderForValue.build()); @@ -716,8 +794,6 @@ public Builder setResults( return this; } /** - * - * *
      * Search results.
      * 
@@ -738,8 +814,6 @@ public Builder addResults(com.google.cloud.datacatalog.v1beta1.SearchCatalogResu return this; } /** - * - * *
      * Search results.
      * 
@@ -761,8 +835,6 @@ public Builder addResults( return this; } /** - * - * *
      * Search results.
      * 
@@ -781,8 +853,6 @@ public Builder addResults( return this; } /** - * - * *
      * Search results.
      * 
@@ -790,8 +860,7 @@ public Builder addResults( * repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1; */ public Builder addResults( - int index, - com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder builderForValue) { + int index, com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder builderForValue) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); results_.add(index, builderForValue.build()); @@ -802,8 +871,6 @@ public Builder addResults( return this; } /** - * - * *
      * Search results.
      * 
@@ -811,11 +878,11 @@ public Builder addResults( * repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1; */ public Builder addAllResults( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, results_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, results_); onChanged(); } else { resultsBuilder_.addAllMessages(values); @@ -823,8 +890,6 @@ public Builder addAllResults( return this; } /** - * - * *
      * Search results.
      * 
@@ -842,8 +907,6 @@ public Builder clearResults() { return this; } /** - * - * *
      * Search results.
      * 
@@ -861,8 +924,6 @@ public Builder removeResults(int index) { return this; } /** - * - * *
      * Search results.
      * 
@@ -874,8 +935,6 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder getResul return getResultsFieldBuilder().getBuilder(index); } /** - * - * *
      * Search results.
      * 
@@ -885,23 +944,19 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder getResul public com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder getResultsOrBuilder( int index) { if (resultsBuilder_ == null) { - return results_.get(index); - } else { + return results_.get(index); } else { return resultsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Search results.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1; */ - public java.util.List< - ? extends com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder> - getResultsOrBuilderList() { + public java.util.List + getResultsOrBuilderList() { if (resultsBuilder_ != null) { return resultsBuilder_.getMessageOrBuilderList(); } else { @@ -909,8 +964,6 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder getResu } } /** - * - * *
      * Search results.
      * 
@@ -918,13 +971,10 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder getResu * repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1; */ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder addResultsBuilder() { - return getResultsFieldBuilder() - .addBuilder( - com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.getDefaultInstance()); + return getResultsFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.getDefaultInstance()); } /** - * - * *
      * Search results.
      * 
@@ -933,57 +983,93 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder addResul */ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder addResultsBuilder( int index) { - return getResultsFieldBuilder() - .addBuilder( - index, com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.getDefaultInstance()); + return getResultsFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.getDefaultInstance()); } /** - * - * *
      * Search results.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1; */ - public java.util.List - getResultsBuilderList() { + public java.util.List + getResultsBuilderList() { return getResultsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SearchCatalogResult, - com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder, - com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder> + com.google.cloud.datacatalog.v1beta1.SearchCatalogResult, com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder, com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder> getResultsFieldBuilder() { if (resultsBuilder_ == null) { - resultsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SearchCatalogResult, - com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder, - com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder>( - results_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + resultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.SearchCatalogResult, com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder, com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder>( + results_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); results_ = null; } return resultsBuilder_; } - private java.lang.Object nextPageToken_ = ""; + private int totalSize_ ; /** + *
+     * The approximate total number of entries matched by the query.
+     * 
* + * int32 total_size = 2; + * @return The totalSize. + */ + @java.lang.Override + public int getTotalSize() { + return totalSize_; + } + /** + *
+     * The approximate total number of entries matched by the query.
+     * 
* + * int32 total_size = 2; + * @param value The totalSize to set. + * @return This builder for chaining. + */ + public Builder setTotalSize(int value) { + + totalSize_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * The approximate total number of entries matched by the query.
+     * 
+ * + * int32 total_size = 2; + * @return This builder for chaining. + */ + public Builder clearTotalSize() { + bitField0_ = (bitField0_ & ~0x00000002); + totalSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object nextPageToken_ = ""; + /** *
      * The token that can be used to retrieve the next page of results.
      * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -992,21 +1078,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token that can be used to retrieve the next page of results.
      * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1014,68 +1099,231 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token that can be used to retrieve the next page of results.
      * 
* * string next_page_token = 3; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The token that can be used to retrieve the next page of results.
      * 
* * string next_page_token = 3; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { nextPageToken_ = getDefaultInstance().getNextPageToken(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** - * - * *
      * The token that can be used to retrieve the next page of results.
      * 
* * string next_page_token = 3; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; onChanged(); return this; } + private com.google.protobuf.LazyStringArrayList unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { + if (!unreachable_.isModifiable()) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); + } + bitField0_ |= 0x00000008; + } + /** + *
+     * Unreachable locations. Search result does not include data from those
+     * locations. Users can get additional information on the error by repeating
+     * the search request with a more restrictive parameter -- setting the value
+     * for `SearchDataCatalogRequest.scope.restricted_locations`.
+     * 
+ * + * repeated string unreachable = 6; + * @return A list containing the unreachable. + */ + public com.google.protobuf.ProtocolStringList + getUnreachableList() { + unreachable_.makeImmutable(); + return unreachable_; + } + /** + *
+     * Unreachable locations. Search result does not include data from those
+     * locations. Users can get additional information on the error by repeating
+     * the search request with a more restrictive parameter -- setting the value
+     * for `SearchDataCatalogRequest.scope.restricted_locations`.
+     * 
+ * + * repeated string unreachable = 6; + * @return The count of unreachable. + */ + public int getUnreachableCount() { + return unreachable_.size(); + } + /** + *
+     * Unreachable locations. Search result does not include data from those
+     * locations. Users can get additional information on the error by repeating
+     * the search request with a more restrictive parameter -- setting the value
+     * for `SearchDataCatalogRequest.scope.restricted_locations`.
+     * 
+ * + * repeated string unreachable = 6; + * @param index The index of the element to return. + * @return The unreachable at the given index. + */ + public java.lang.String getUnreachable(int index) { + return unreachable_.get(index); + } + /** + *
+     * Unreachable locations. Search result does not include data from those
+     * locations. Users can get additional information on the error by repeating
+     * the search request with a more restrictive parameter -- setting the value
+     * for `SearchDataCatalogRequest.scope.restricted_locations`.
+     * 
+ * + * repeated string unreachable = 6; + * @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) { + return unreachable_.getByteString(index); + } + /** + *
+     * Unreachable locations. Search result does not include data from those
+     * locations. Users can get additional information on the error by repeating
+     * the search request with a more restrictive parameter -- setting the value
+     * for `SearchDataCatalogRequest.scope.restricted_locations`.
+     * 
+ * + * repeated string unreachable = 6; + * @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(); } + ensureUnreachableIsMutable(); + unreachable_.set(index, value); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Unreachable locations. Search result does not include data from those
+     * locations. Users can get additional information on the error by repeating
+     * the search request with a more restrictive parameter -- setting the value
+     * for `SearchDataCatalogRequest.scope.restricted_locations`.
+     * 
+ * + * repeated string unreachable = 6; + * @param value The unreachable to add. + * @return This builder for chaining. + */ + public Builder addUnreachable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureUnreachableIsMutable(); + unreachable_.add(value); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Unreachable locations. Search result does not include data from those
+     * locations. Users can get additional information on the error by repeating
+     * the search request with a more restrictive parameter -- setting the value
+     * for `SearchDataCatalogRequest.scope.restricted_locations`.
+     * 
+ * + * repeated string unreachable = 6; + * @param values The unreachable to add. + * @return This builder for chaining. + */ + public Builder addAllUnreachable( + java.lang.Iterable values) { + ensureUnreachableIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Unreachable locations. Search result does not include data from those
+     * locations. Users can get additional information on the error by repeating
+     * the search request with a more restrictive parameter -- setting the value
+     * for `SearchDataCatalogRequest.scope.restricted_locations`.
+     * 
+ * + * repeated string unreachable = 6; + * @return This builder for chaining. + */ + public Builder clearUnreachable() { + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008);; + onChanged(); + return this; + } + /** + *
+     * Unreachable locations. Search result does not include data from those
+     * locations. Users can get additional information on the error by repeating
+     * the search request with a more restrictive parameter -- setting the value
+     * for `SearchDataCatalogRequest.scope.restricted_locations`.
+     * 
+ * + * repeated string unreachable = 6; + * @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(); } + checkByteStringIsUtf8(value); + ensureUnreachableIsMutable(); + unreachable_.add(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); } @@ -1085,12 +1333,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.SearchCatalogResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.SearchCatalogResponse) private static final com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse(); } @@ -1099,27 +1347,27 @@ public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchCatalogResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchCatalogResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1134,4 +1382,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponseOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponseOrBuilder.java new file mode 100644 index 000000000000..091b872a14f5 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponseOrBuilder.java @@ -0,0 +1,136 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/datacatalog.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface SearchCatalogResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.SearchCatalogResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Search results.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1; + */ + java.util.List + getResultsList(); + /** + *
+   * Search results.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1; + */ + com.google.cloud.datacatalog.v1beta1.SearchCatalogResult getResults(int index); + /** + *
+   * Search results.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1; + */ + int getResultsCount(); + /** + *
+   * Search results.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1; + */ + java.util.List + getResultsOrBuilderList(); + /** + *
+   * Search results.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1; + */ + com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder getResultsOrBuilder( + int index); + + /** + *
+   * The approximate total number of entries matched by the query.
+   * 
+ * + * int32 total_size = 2; + * @return The totalSize. + */ + int getTotalSize(); + + /** + *
+   * The token that can be used to retrieve the next page of results.
+   * 
+ * + * string next_page_token = 3; + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + *
+   * The token that can be used to retrieve the next page of results.
+   * 
+ * + * string next_page_token = 3; + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString + getNextPageTokenBytes(); + + /** + *
+   * Unreachable locations. Search result does not include data from those
+   * locations. Users can get additional information on the error by repeating
+   * the search request with a more restrictive parameter -- setting the value
+   * for `SearchDataCatalogRequest.scope.restricted_locations`.
+   * 
+ * + * repeated string unreachable = 6; + * @return A list containing the unreachable. + */ + java.util.List + getUnreachableList(); + /** + *
+   * Unreachable locations. Search result does not include data from those
+   * locations. Users can get additional information on the error by repeating
+   * the search request with a more restrictive parameter -- setting the value
+   * for `SearchDataCatalogRequest.scope.restricted_locations`.
+   * 
+ * + * repeated string unreachable = 6; + * @return The count of unreachable. + */ + int getUnreachableCount(); + /** + *
+   * Unreachable locations. Search result does not include data from those
+   * locations. Users can get additional information on the error by repeating
+   * the search request with a more restrictive parameter -- setting the value
+   * for `SearchDataCatalogRequest.scope.restricted_locations`.
+   * 
+ * + * repeated string unreachable = 6; + * @param index The index of the element to return. + * @return The unreachable at the given index. + */ + java.lang.String getUnreachable(int index); + /** + *
+   * Unreachable locations. Search result does not include data from those
+   * locations. Users can get additional information on the error by repeating
+   * the search request with a more restrictive parameter -- setting the value
+   * for `SearchDataCatalogRequest.scope.restricted_locations`.
+   * 
+ * + * repeated string unreachable = 6; + * @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); +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResult.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResult.java similarity index 64% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResult.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResult.java index 64c1eeeb487d..4f8dcfdde907 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResult.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResult.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/search.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * A result that appears in the response of a search request. Each result
  * captures details of one entry that matches the search.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.SearchCatalogResult}
  */
-public final class SearchCatalogResult extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SearchCatalogResult extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.SearchCatalogResult)
     SearchCatalogResultOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SearchCatalogResult.newBuilder() to construct.
   private SearchCatalogResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SearchCatalogResult() {
     searchResultType_ = 0;
     searchResultSubtype_ = "";
@@ -47,71 +29,56 @@ private SearchCatalogResult() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SearchCatalogResult();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Search
-        .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Search.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Search
-        .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Search.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.class,
-            com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.class, com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder.class);
   }
 
   public static final int SEARCH_RESULT_TYPE_FIELD_NUMBER = 1;
   private int searchResultType_ = 0;
   /**
-   *
-   *
    * 
    * Type of the search result. This field can be used to determine which Get
    * method to call to fetch the full resource.
    * 
* * .google.cloud.datacatalog.v1beta1.SearchResultType search_result_type = 1; - * * @return The enum numeric value on the wire for searchResultType. */ - @java.lang.Override - public int getSearchResultTypeValue() { + @java.lang.Override public int getSearchResultTypeValue() { return searchResultType_; } /** - * - * *
    * Type of the search result. This field can be used to determine which Get
    * method to call to fetch the full resource.
    * 
* * .google.cloud.datacatalog.v1beta1.SearchResultType search_result_type = 1; - * * @return The searchResultType. */ - @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.SearchResultType getSearchResultType() { - com.google.cloud.datacatalog.v1beta1.SearchResultType result = - com.google.cloud.datacatalog.v1beta1.SearchResultType.forNumber(searchResultType_); - return result == null - ? com.google.cloud.datacatalog.v1beta1.SearchResultType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.datacatalog.v1beta1.SearchResultType getSearchResultType() { + com.google.cloud.datacatalog.v1beta1.SearchResultType result = com.google.cloud.datacatalog.v1beta1.SearchResultType.forNumber(searchResultType_); + return result == null ? com.google.cloud.datacatalog.v1beta1.SearchResultType.UNRECOGNIZED : result; } public static final int SEARCH_RESULT_SUBTYPE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object searchResultSubtype_ = ""; /** - * - * *
    * Sub-type of the search result. This is a dot-delimited description of the
    * resource's full type, and is the same as the value callers would provide in
@@ -120,7 +87,6 @@ public com.google.cloud.datacatalog.v1beta1.SearchResultType getSearchResultType
    * 
* * string search_result_subtype = 2; - * * @return The searchResultSubtype. */ @java.lang.Override @@ -129,15 +95,14 @@ public java.lang.String getSearchResultSubtype() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); searchResultSubtype_ = s; return s; } } /** - * - * *
    * Sub-type of the search result. This is a dot-delimited description of the
    * resource's full type, and is the same as the value callers would provide in
@@ -146,15 +111,16 @@ public java.lang.String getSearchResultSubtype() {
    * 
* * string search_result_subtype = 2; - * * @return The bytes for searchResultSubtype. */ @java.lang.Override - public com.google.protobuf.ByteString getSearchResultSubtypeBytes() { + public com.google.protobuf.ByteString + getSearchResultSubtypeBytes() { java.lang.Object ref = searchResultSubtype_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); searchResultSubtype_ = b; return b; } else { @@ -163,12 +129,9 @@ public com.google.protobuf.ByteString getSearchResultSubtypeBytes() { } public static final int RELATIVE_RESOURCE_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object relativeResourceName_ = ""; /** - * - * *
    * The relative resource name of the resource in URL format.
    * Examples:
@@ -178,7 +141,6 @@ public com.google.protobuf.ByteString getSearchResultSubtypeBytes() {
    * 
* * string relative_resource_name = 3; - * * @return The relativeResourceName. */ @java.lang.Override @@ -187,15 +149,14 @@ public java.lang.String getRelativeResourceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeResourceName_ = s; return s; } } /** - * - * *
    * The relative resource name of the resource in URL format.
    * Examples:
@@ -205,15 +166,16 @@ public java.lang.String getRelativeResourceName() {
    * 
* * string relative_resource_name = 3; - * * @return The bytes for relativeResourceName. */ @java.lang.Override - public com.google.protobuf.ByteString getRelativeResourceNameBytes() { + public com.google.protobuf.ByteString + getRelativeResourceNameBytes() { java.lang.Object ref = relativeResourceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); relativeResourceName_ = b; return b; } else { @@ -222,12 +184,9 @@ public com.google.protobuf.ByteString getRelativeResourceNameBytes() { } public static final int LINKED_RESOURCE_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object linkedResource_ = ""; /** - * - * *
    * The full name of the cloud resource the entry belongs to. See:
    * https://cloud.google.com/apis/design/resource_names#full_resource_name.
@@ -237,7 +196,6 @@ public com.google.protobuf.ByteString getRelativeResourceNameBytes() {
    * 
* * string linked_resource = 4; - * * @return The linkedResource. */ @java.lang.Override @@ -246,15 +204,14 @@ public java.lang.String getLinkedResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); linkedResource_ = s; return s; } } /** - * - * *
    * The full name of the cloud resource the entry belongs to. See:
    * https://cloud.google.com/apis/design/resource_names#full_resource_name.
@@ -264,15 +221,16 @@ public java.lang.String getLinkedResource() {
    * 
* * string linked_resource = 4; - * * @return The bytes for linkedResource. */ @java.lang.Override - public com.google.protobuf.ByteString getLinkedResourceBytes() { + public com.google.protobuf.ByteString + getLinkedResourceBytes() { java.lang.Object ref = linkedResource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); linkedResource_ = b; return b; } else { @@ -280,8 +238,45 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { } } - private byte memoizedIsInitialized = -1; + public static final int MODIFY_TIME_FIELD_NUMBER = 7; + private com.google.protobuf.Timestamp modifyTime_; + /** + *
+   * Last-modified timestamp of the entry from the managing system.
+   * 
+ * + * .google.protobuf.Timestamp modify_time = 7; + * @return Whether the modifyTime field is set. + */ + @java.lang.Override + public boolean hasModifyTime() { + return modifyTime_ != null; + } + /** + *
+   * Last-modified timestamp of the entry from the managing system.
+   * 
+ * + * .google.protobuf.Timestamp modify_time = 7; + * @return The modifyTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getModifyTime() { + return modifyTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : modifyTime_; + } + /** + *
+   * Last-modified timestamp of the entry from the managing system.
+   * 
+ * + * .google.protobuf.Timestamp modify_time = 7; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getModifyTimeOrBuilder() { + return modifyTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : modifyTime_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -293,10 +288,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (searchResultType_ - != com.google.cloud.datacatalog.v1beta1.SearchResultType.SEARCH_RESULT_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (searchResultType_ != com.google.cloud.datacatalog.v1beta1.SearchResultType.SEARCH_RESULT_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, searchResultType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(searchResultSubtype_)) { @@ -308,6 +302,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(linkedResource_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, linkedResource_); } + if (modifyTime_ != null) { + output.writeMessage(7, getModifyTime()); + } getUnknownFields().writeTo(output); } @@ -317,10 +314,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (searchResultType_ - != com.google.cloud.datacatalog.v1beta1.SearchResultType.SEARCH_RESULT_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, searchResultType_); + if (searchResultType_ != com.google.cloud.datacatalog.v1beta1.SearchResultType.SEARCH_RESULT_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, searchResultType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(searchResultSubtype_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, searchResultSubtype_); @@ -331,6 +327,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(linkedResource_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, linkedResource_); } + if (modifyTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getModifyTime()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -339,18 +339,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.datacatalog.v1beta1.SearchCatalogResult)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.SearchCatalogResult other = - (com.google.cloud.datacatalog.v1beta1.SearchCatalogResult) obj; + com.google.cloud.datacatalog.v1beta1.SearchCatalogResult other = (com.google.cloud.datacatalog.v1beta1.SearchCatalogResult) obj; if (searchResultType_ != other.searchResultType_) return false; - if (!getSearchResultSubtype().equals(other.getSearchResultSubtype())) return false; - if (!getRelativeResourceName().equals(other.getRelativeResourceName())) return false; - if (!getLinkedResource().equals(other.getLinkedResource())) return false; + if (!getSearchResultSubtype() + .equals(other.getSearchResultSubtype())) return false; + if (!getRelativeResourceName() + .equals(other.getRelativeResourceName())) return false; + if (!getLinkedResource() + .equals(other.getLinkedResource())) return false; + if (hasModifyTime() != other.hasModifyTime()) return false; + if (hasModifyTime()) { + if (!getModifyTime() + .equals(other.getModifyTime())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -370,110 +377,108 @@ public int hashCode() { hash = (53 * hash) + getRelativeResourceName().hashCode(); hash = (37 * hash) + LINKED_RESOURCE_FIELD_NUMBER; hash = (53 * hash) + getLinkedResource().hashCode(); + if (hasModifyTime()) { + hash = (37 * hash) + MODIFY_TIME_FIELD_NUMBER; + hash = (53 * hash) + getModifyTime().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResult parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResult parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResult parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResult parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResult parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.SearchCatalogResult prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.SearchCatalogResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A result that appears in the response of a search request. Each result
    * captures details of one entry that matches the search.
@@ -481,32 +486,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.SearchCatalogResult}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.SearchCatalogResult)
       com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Search
-          .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Search.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Search
-          .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Search.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.class,
-              com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.class, com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -515,13 +521,18 @@ public Builder clear() {
       searchResultSubtype_ = "";
       relativeResourceName_ = "";
       linkedResource_ = "";
+      modifyTime_ = null;
+      if (modifyTimeBuilder_ != null) {
+        modifyTimeBuilder_.dispose();
+        modifyTimeBuilder_ = null;
+      }
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Search
-          .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Search.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_descriptor;
     }
 
     @java.lang.Override
@@ -540,11 +551,8 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResult build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.SearchCatalogResult buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.SearchCatalogResult result =
-          new com.google.cloud.datacatalog.v1beta1.SearchCatalogResult(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.SearchCatalogResult result = new com.google.cloud.datacatalog.v1beta1.SearchCatalogResult(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -563,45 +571,49 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.SearchCatalogRes
       if (((from_bitField0_ & 0x00000008) != 0)) {
         result.linkedResource_ = linkedResource_;
       }
+      if (((from_bitField0_ & 0x00000010) != 0)) {
+        result.modifyTime_ = modifyTimeBuilder_ == null
+            ? modifyTime_
+            : modifyTimeBuilder_.build();
+      }
     }
 
     @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.datacatalog.v1beta1.SearchCatalogResult) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.SearchCatalogResult) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.SearchCatalogResult)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -609,8 +621,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.SearchCatalogResult other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.getDefaultInstance()) return this;
       if (other.searchResultType_ != 0) {
         setSearchResultTypeValue(other.getSearchResultTypeValue());
       }
@@ -629,6 +640,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.SearchCatalogResul
         bitField0_ |= 0x00000008;
         onChanged();
       }
+      if (other.hasModifyTime()) {
+        mergeModifyTime(other.getModifyTime());
+      }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
@@ -655,37 +669,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                searchResultType_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 18:
-              {
-                searchResultSubtype_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                relativeResourceName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                linkedResource_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              searchResultType_ = input.readEnum();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 18: {
+              searchResultSubtype_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              relativeResourceName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              linkedResource_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 58: {
+              input.readMessage(
+                  getModifyTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 58
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -695,36 +711,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int searchResultType_ = 0;
     /**
-     *
-     *
      * 
      * Type of the search result. This field can be used to determine which Get
      * method to call to fetch the full resource.
      * 
* * .google.cloud.datacatalog.v1beta1.SearchResultType search_result_type = 1; - * * @return The enum numeric value on the wire for searchResultType. */ - @java.lang.Override - public int getSearchResultTypeValue() { + @java.lang.Override public int getSearchResultTypeValue() { return searchResultType_; } /** - * - * *
      * Type of the search result. This field can be used to determine which Get
      * method to call to fetch the full resource.
      * 
* * .google.cloud.datacatalog.v1beta1.SearchResultType search_result_type = 1; - * * @param value The enum numeric value on the wire for searchResultType to set. * @return This builder for chaining. */ @@ -735,40 +743,30 @@ public Builder setSearchResultTypeValue(int value) { return this; } /** - * - * *
      * Type of the search result. This field can be used to determine which Get
      * method to call to fetch the full resource.
      * 
* * .google.cloud.datacatalog.v1beta1.SearchResultType search_result_type = 1; - * * @return The searchResultType. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.SearchResultType getSearchResultType() { - com.google.cloud.datacatalog.v1beta1.SearchResultType result = - com.google.cloud.datacatalog.v1beta1.SearchResultType.forNumber(searchResultType_); - return result == null - ? com.google.cloud.datacatalog.v1beta1.SearchResultType.UNRECOGNIZED - : result; + com.google.cloud.datacatalog.v1beta1.SearchResultType result = com.google.cloud.datacatalog.v1beta1.SearchResultType.forNumber(searchResultType_); + return result == null ? com.google.cloud.datacatalog.v1beta1.SearchResultType.UNRECOGNIZED : result; } /** - * - * *
      * Type of the search result. This field can be used to determine which Get
      * method to call to fetch the full resource.
      * 
* * .google.cloud.datacatalog.v1beta1.SearchResultType search_result_type = 1; - * * @param value The searchResultType to set. * @return This builder for chaining. */ - public Builder setSearchResultType( - com.google.cloud.datacatalog.v1beta1.SearchResultType value) { + public Builder setSearchResultType(com.google.cloud.datacatalog.v1beta1.SearchResultType value) { if (value == null) { throw new NullPointerException(); } @@ -778,15 +776,12 @@ public Builder setSearchResultType( return this; } /** - * - * *
      * Type of the search result. This field can be used to determine which Get
      * method to call to fetch the full resource.
      * 
* * .google.cloud.datacatalog.v1beta1.SearchResultType search_result_type = 1; - * * @return This builder for chaining. */ public Builder clearSearchResultType() { @@ -798,8 +793,6 @@ public Builder clearSearchResultType() { private java.lang.Object searchResultSubtype_ = ""; /** - * - * *
      * Sub-type of the search result. This is a dot-delimited description of the
      * resource's full type, and is the same as the value callers would provide in
@@ -808,13 +801,13 @@ public Builder clearSearchResultType() {
      * 
* * string search_result_subtype = 2; - * * @return The searchResultSubtype. */ public java.lang.String getSearchResultSubtype() { java.lang.Object ref = searchResultSubtype_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); searchResultSubtype_ = s; return s; @@ -823,8 +816,6 @@ public java.lang.String getSearchResultSubtype() { } } /** - * - * *
      * Sub-type of the search result. This is a dot-delimited description of the
      * resource's full type, and is the same as the value callers would provide in
@@ -833,14 +824,15 @@ public java.lang.String getSearchResultSubtype() {
      * 
* * string search_result_subtype = 2; - * * @return The bytes for searchResultSubtype. */ - public com.google.protobuf.ByteString getSearchResultSubtypeBytes() { + public com.google.protobuf.ByteString + getSearchResultSubtypeBytes() { java.lang.Object ref = searchResultSubtype_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); searchResultSubtype_ = b; return b; } else { @@ -848,8 +840,6 @@ public com.google.protobuf.ByteString getSearchResultSubtypeBytes() { } } /** - * - * *
      * Sub-type of the search result. This is a dot-delimited description of the
      * resource's full type, and is the same as the value callers would provide in
@@ -858,22 +848,18 @@ public com.google.protobuf.ByteString getSearchResultSubtypeBytes() {
      * 
* * string search_result_subtype = 2; - * * @param value The searchResultSubtype to set. * @return This builder for chaining. */ - public Builder setSearchResultSubtype(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSearchResultSubtype( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } searchResultSubtype_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Sub-type of the search result. This is a dot-delimited description of the
      * resource's full type, and is the same as the value callers would provide in
@@ -882,7 +868,6 @@ public Builder setSearchResultSubtype(java.lang.String value) {
      * 
* * string search_result_subtype = 2; - * * @return This builder for chaining. */ public Builder clearSearchResultSubtype() { @@ -892,8 +877,6 @@ public Builder clearSearchResultSubtype() { return this; } /** - * - * *
      * Sub-type of the search result. This is a dot-delimited description of the
      * resource's full type, and is the same as the value callers would provide in
@@ -902,14 +885,12 @@ public Builder clearSearchResultSubtype() {
      * 
* * string search_result_subtype = 2; - * * @param value The bytes for searchResultSubtype to set. * @return This builder for chaining. */ - public Builder setSearchResultSubtypeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSearchResultSubtypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); searchResultSubtype_ = value; bitField0_ |= 0x00000002; @@ -919,8 +900,6 @@ public Builder setSearchResultSubtypeBytes(com.google.protobuf.ByteString value) private java.lang.Object relativeResourceName_ = ""; /** - * - * *
      * The relative resource name of the resource in URL format.
      * Examples:
@@ -930,13 +909,13 @@ public Builder setSearchResultSubtypeBytes(com.google.protobuf.ByteString value)
      * 
* * string relative_resource_name = 3; - * * @return The relativeResourceName. */ public java.lang.String getRelativeResourceName() { java.lang.Object ref = relativeResourceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeResourceName_ = s; return s; @@ -945,8 +924,6 @@ public java.lang.String getRelativeResourceName() { } } /** - * - * *
      * The relative resource name of the resource in URL format.
      * Examples:
@@ -956,14 +933,15 @@ public java.lang.String getRelativeResourceName() {
      * 
* * string relative_resource_name = 3; - * * @return The bytes for relativeResourceName. */ - public com.google.protobuf.ByteString getRelativeResourceNameBytes() { + public com.google.protobuf.ByteString + getRelativeResourceNameBytes() { java.lang.Object ref = relativeResourceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); relativeResourceName_ = b; return b; } else { @@ -971,8 +949,6 @@ public com.google.protobuf.ByteString getRelativeResourceNameBytes() { } } /** - * - * *
      * The relative resource name of the resource in URL format.
      * Examples:
@@ -982,22 +958,18 @@ public com.google.protobuf.ByteString getRelativeResourceNameBytes() {
      * 
* * string relative_resource_name = 3; - * * @param value The relativeResourceName to set. * @return This builder for chaining. */ - public Builder setRelativeResourceName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRelativeResourceName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } relativeResourceName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The relative resource name of the resource in URL format.
      * Examples:
@@ -1007,7 +979,6 @@ public Builder setRelativeResourceName(java.lang.String value) {
      * 
* * string relative_resource_name = 3; - * * @return This builder for chaining. */ public Builder clearRelativeResourceName() { @@ -1017,8 +988,6 @@ public Builder clearRelativeResourceName() { return this; } /** - * - * *
      * The relative resource name of the resource in URL format.
      * Examples:
@@ -1028,14 +997,12 @@ public Builder clearRelativeResourceName() {
      * 
* * string relative_resource_name = 3; - * * @param value The bytes for relativeResourceName to set. * @return This builder for chaining. */ - public Builder setRelativeResourceNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRelativeResourceNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); relativeResourceName_ = value; bitField0_ |= 0x00000004; @@ -1045,8 +1012,6 @@ public Builder setRelativeResourceNameBytes(com.google.protobuf.ByteString value private java.lang.Object linkedResource_ = ""; /** - * - * *
      * The full name of the cloud resource the entry belongs to. See:
      * https://cloud.google.com/apis/design/resource_names#full_resource_name.
@@ -1056,13 +1021,13 @@ public Builder setRelativeResourceNameBytes(com.google.protobuf.ByteString value
      * 
* * string linked_resource = 4; - * * @return The linkedResource. */ public java.lang.String getLinkedResource() { java.lang.Object ref = linkedResource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); linkedResource_ = s; return s; @@ -1071,8 +1036,6 @@ public java.lang.String getLinkedResource() { } } /** - * - * *
      * The full name of the cloud resource the entry belongs to. See:
      * https://cloud.google.com/apis/design/resource_names#full_resource_name.
@@ -1082,14 +1045,15 @@ public java.lang.String getLinkedResource() {
      * 
* * string linked_resource = 4; - * * @return The bytes for linkedResource. */ - public com.google.protobuf.ByteString getLinkedResourceBytes() { + public com.google.protobuf.ByteString + getLinkedResourceBytes() { java.lang.Object ref = linkedResource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); linkedResource_ = b; return b; } else { @@ -1097,8 +1061,6 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { } } /** - * - * *
      * The full name of the cloud resource the entry belongs to. See:
      * https://cloud.google.com/apis/design/resource_names#full_resource_name.
@@ -1108,22 +1070,18 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() {
      * 
* * string linked_resource = 4; - * * @param value The linkedResource to set. * @return This builder for chaining. */ - public Builder setLinkedResource(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLinkedResource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } linkedResource_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The full name of the cloud resource the entry belongs to. See:
      * https://cloud.google.com/apis/design/resource_names#full_resource_name.
@@ -1133,7 +1091,6 @@ public Builder setLinkedResource(java.lang.String value) {
      * 
* * string linked_resource = 4; - * * @return This builder for chaining. */ public Builder clearLinkedResource() { @@ -1143,8 +1100,6 @@ public Builder clearLinkedResource() { return this; } /** - * - * *
      * The full name of the cloud resource the entry belongs to. See:
      * https://cloud.google.com/apis/design/resource_names#full_resource_name.
@@ -1154,14 +1109,12 @@ public Builder clearLinkedResource() {
      * 
* * string linked_resource = 4; - * * @param value The bytes for linkedResource to set. * @return This builder for chaining. */ - public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLinkedResourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); linkedResource_ = value; bitField0_ |= 0x00000008; @@ -1169,8 +1122,163 @@ public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { return this; } + private com.google.protobuf.Timestamp modifyTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> modifyTimeBuilder_; + /** + *
+     * Last-modified timestamp of the entry from the managing system.
+     * 
+ * + * .google.protobuf.Timestamp modify_time = 7; + * @return Whether the modifyTime field is set. + */ + public boolean hasModifyTime() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + *
+     * Last-modified timestamp of the entry from the managing system.
+     * 
+ * + * .google.protobuf.Timestamp modify_time = 7; + * @return The modifyTime. + */ + public com.google.protobuf.Timestamp getModifyTime() { + if (modifyTimeBuilder_ == null) { + return modifyTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : modifyTime_; + } else { + return modifyTimeBuilder_.getMessage(); + } + } + /** + *
+     * Last-modified timestamp of the entry from the managing system.
+     * 
+ * + * .google.protobuf.Timestamp modify_time = 7; + */ + public Builder setModifyTime(com.google.protobuf.Timestamp value) { + if (modifyTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + modifyTime_ = value; + } else { + modifyTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * Last-modified timestamp of the entry from the managing system.
+     * 
+ * + * .google.protobuf.Timestamp modify_time = 7; + */ + public Builder setModifyTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (modifyTimeBuilder_ == null) { + modifyTime_ = builderForValue.build(); + } else { + modifyTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * Last-modified timestamp of the entry from the managing system.
+     * 
+ * + * .google.protobuf.Timestamp modify_time = 7; + */ + public Builder mergeModifyTime(com.google.protobuf.Timestamp value) { + if (modifyTimeBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) && + modifyTime_ != null && + modifyTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getModifyTimeBuilder().mergeFrom(value); + } else { + modifyTime_ = value; + } + } else { + modifyTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * Last-modified timestamp of the entry from the managing system.
+     * 
+ * + * .google.protobuf.Timestamp modify_time = 7; + */ + public Builder clearModifyTime() { + bitField0_ = (bitField0_ & ~0x00000010); + modifyTime_ = null; + if (modifyTimeBuilder_ != null) { + modifyTimeBuilder_.dispose(); + modifyTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * Last-modified timestamp of the entry from the managing system.
+     * 
+ * + * .google.protobuf.Timestamp modify_time = 7; + */ + public com.google.protobuf.Timestamp.Builder getModifyTimeBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getModifyTimeFieldBuilder().getBuilder(); + } + /** + *
+     * Last-modified timestamp of the entry from the managing system.
+     * 
+ * + * .google.protobuf.Timestamp modify_time = 7; + */ + public com.google.protobuf.TimestampOrBuilder getModifyTimeOrBuilder() { + if (modifyTimeBuilder_ != null) { + return modifyTimeBuilder_.getMessageOrBuilder(); + } else { + return modifyTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : modifyTime_; + } + } + /** + *
+     * Last-modified timestamp of the entry from the managing system.
+     * 
+ * + * .google.protobuf.Timestamp modify_time = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getModifyTimeFieldBuilder() { + if (modifyTimeBuilder_ == null) { + modifyTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getModifyTime(), + getParentForChildren(), + isClean()); + modifyTime_ = null; + } + return modifyTimeBuilder_; + } @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1180,12 +1288,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.SearchCatalogResult) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.SearchCatalogResult) private static final com.google.cloud.datacatalog.v1beta1.SearchCatalogResult DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.SearchCatalogResult(); } @@ -1194,27 +1302,27 @@ public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResult getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchCatalogResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchCatalogResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1229,4 +1337,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.SearchCatalogResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResultOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResultOrBuilder.java similarity index 78% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResultOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResultOrBuilder.java index c93848d79239..00505c8ac44a 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResultOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResultOrBuilder.java @@ -1,58 +1,34 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/search.proto package com.google.cloud.datacatalog.v1beta1; -public interface SearchCatalogResultOrBuilder - extends +public interface SearchCatalogResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.SearchCatalogResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Type of the search result. This field can be used to determine which Get
    * method to call to fetch the full resource.
    * 
* * .google.cloud.datacatalog.v1beta1.SearchResultType search_result_type = 1; - * * @return The enum numeric value on the wire for searchResultType. */ int getSearchResultTypeValue(); /** - * - * *
    * Type of the search result. This field can be used to determine which Get
    * method to call to fetch the full resource.
    * 
* * .google.cloud.datacatalog.v1beta1.SearchResultType search_result_type = 1; - * * @return The searchResultType. */ com.google.cloud.datacatalog.v1beta1.SearchResultType getSearchResultType(); /** - * - * *
    * Sub-type of the search result. This is a dot-delimited description of the
    * resource's full type, and is the same as the value callers would provide in
@@ -61,13 +37,10 @@ public interface SearchCatalogResultOrBuilder
    * 
* * string search_result_subtype = 2; - * * @return The searchResultSubtype. */ java.lang.String getSearchResultSubtype(); /** - * - * *
    * Sub-type of the search result. This is a dot-delimited description of the
    * resource's full type, and is the same as the value callers would provide in
@@ -76,14 +49,12 @@ public interface SearchCatalogResultOrBuilder
    * 
* * string search_result_subtype = 2; - * * @return The bytes for searchResultSubtype. */ - com.google.protobuf.ByteString getSearchResultSubtypeBytes(); + com.google.protobuf.ByteString + getSearchResultSubtypeBytes(); /** - * - * *
    * The relative resource name of the resource in URL format.
    * Examples:
@@ -93,13 +64,10 @@ public interface SearchCatalogResultOrBuilder
    * 
* * string relative_resource_name = 3; - * * @return The relativeResourceName. */ java.lang.String getRelativeResourceName(); /** - * - * *
    * The relative resource name of the resource in URL format.
    * Examples:
@@ -109,14 +77,12 @@ public interface SearchCatalogResultOrBuilder
    * 
* * string relative_resource_name = 3; - * * @return The bytes for relativeResourceName. */ - com.google.protobuf.ByteString getRelativeResourceNameBytes(); + com.google.protobuf.ByteString + getRelativeResourceNameBytes(); /** - * - * *
    * The full name of the cloud resource the entry belongs to. See:
    * https://cloud.google.com/apis/design/resource_names#full_resource_name.
@@ -126,13 +92,10 @@ public interface SearchCatalogResultOrBuilder
    * 
* * string linked_resource = 4; - * * @return The linkedResource. */ java.lang.String getLinkedResource(); /** - * - * *
    * The full name of the cloud resource the entry belongs to. See:
    * https://cloud.google.com/apis/design/resource_names#full_resource_name.
@@ -142,8 +105,35 @@ public interface SearchCatalogResultOrBuilder
    * 
* * string linked_resource = 4; - * * @return The bytes for linkedResource. */ - com.google.protobuf.ByteString getLinkedResourceBytes(); + com.google.protobuf.ByteString + getLinkedResourceBytes(); + + /** + *
+   * Last-modified timestamp of the entry from the managing system.
+   * 
+ * + * .google.protobuf.Timestamp modify_time = 7; + * @return Whether the modifyTime field is set. + */ + boolean hasModifyTime(); + /** + *
+   * Last-modified timestamp of the entry from the managing system.
+   * 
+ * + * .google.protobuf.Timestamp modify_time = 7; + * @return The modifyTime. + */ + com.google.protobuf.Timestamp getModifyTime(); + /** + *
+   * Last-modified timestamp of the entry from the managing system.
+   * 
+ * + * .google.protobuf.Timestamp modify_time = 7; + */ + com.google.protobuf.TimestampOrBuilder getModifyTimeOrBuilder(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchResultType.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchResultType.java similarity index 68% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchResultType.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchResultType.java index 54df65243d19..df64e08939d9 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchResultType.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchResultType.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/search.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * The different types of resources that can be returned in search.
  * 
* * Protobuf enum {@code google.cloud.datacatalog.v1beta1.SearchResultType} */ -public enum SearchResultType implements com.google.protobuf.ProtocolMessageEnum { +public enum SearchResultType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Default unknown type.
    * 
@@ -39,8 +21,6 @@ public enum SearchResultType implements com.google.protobuf.ProtocolMessageEnum */ SEARCH_RESULT_TYPE_UNSPECIFIED(0), /** - * - * *
    * An [Entry][google.cloud.datacatalog.v1beta1.Entry].
    * 
@@ -49,8 +29,6 @@ public enum SearchResultType implements com.google.protobuf.ProtocolMessageEnum */ ENTRY(1), /** - * - * *
    * A [TagTemplate][google.cloud.datacatalog.v1beta1.TagTemplate].
    * 
@@ -59,8 +37,6 @@ public enum SearchResultType implements com.google.protobuf.ProtocolMessageEnum */ TAG_TEMPLATE(2), /** - * - * *
    * An [EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup].
    * 
@@ -72,8 +48,6 @@ public enum SearchResultType implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
    * Default unknown type.
    * 
@@ -82,8 +56,6 @@ public enum SearchResultType implements com.google.protobuf.ProtocolMessageEnum */ public static final int SEARCH_RESULT_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * An [Entry][google.cloud.datacatalog.v1beta1.Entry].
    * 
@@ -92,8 +64,6 @@ public enum SearchResultType implements com.google.protobuf.ProtocolMessageEnum */ public static final int ENTRY_VALUE = 1; /** - * - * *
    * A [TagTemplate][google.cloud.datacatalog.v1beta1.TagTemplate].
    * 
@@ -102,8 +72,6 @@ public enum SearchResultType implements com.google.protobuf.ProtocolMessageEnum */ public static final int TAG_TEMPLATE_VALUE = 2; /** - * - * *
    * An [EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup].
    * 
@@ -112,6 +80,7 @@ public enum SearchResultType implements com.google.protobuf.ProtocolMessageEnum */ public static final int ENTRY_GROUP_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -136,51 +105,50 @@ public static SearchResultType valueOf(int value) { */ public static SearchResultType forNumber(int value) { switch (value) { - case 0: - return SEARCH_RESULT_TYPE_UNSPECIFIED; - case 1: - return ENTRY; - case 2: - return TAG_TEMPLATE; - case 3: - return ENTRY_GROUP; - default: - return null; + case 0: return SEARCH_RESULT_TYPE_UNSPECIFIED; + case 1: return ENTRY; + case 2: return TAG_TEMPLATE; + case 3: return ENTRY_GROUP; + 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 SearchResultType findValueByNumber(int number) { - return SearchResultType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + SearchResultType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public SearchResultType findValueByNumber(int number) { + return SearchResultType.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.datacatalog.v1beta1.Search.getDescriptor().getEnumTypes().get(0); } private static final SearchResultType[] VALUES = values(); - public static SearchResultType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static SearchResultType 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,3 +164,4 @@ private SearchResultType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1beta1.SearchResultType) } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTag.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTag.java similarity index 64% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTag.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTag.java index 1d636a0f1986..e03fdefd02c5 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTag.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTag.java @@ -1,43 +1,26 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Message representing one policy tag when exported as a nested proto.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.SerializedPolicyTag} */ -public final class SerializedPolicyTag extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SerializedPolicyTag extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.SerializedPolicyTag) SerializedPolicyTagOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SerializedPolicyTag.newBuilder() to construct. private SerializedPolicyTag(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SerializedPolicyTag() { + policyTag_ = ""; displayName_ = ""; description_ = ""; childPolicyTags_ = java.util.Collections.emptyList(); @@ -45,38 +28,85 @@ private SerializedPolicyTag() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SerializedPolicyTag(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto - .internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto - .internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.class, - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder.class); + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.class, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder.class); } - public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - + public static final int POLICY_TAG_FIELD_NUMBER = 1; @SuppressWarnings("serial") - private volatile java.lang.Object displayName_ = ""; + private volatile java.lang.Object policyTag_ = ""; /** + *
+   * Resource name of the policy tag.
    *
+   * This field will be ignored when calling ImportTaxonomies.
+   * 
* + * string policy_tag = 1; + * @return The policyTag. + */ + @java.lang.Override + public java.lang.String getPolicyTag() { + java.lang.Object ref = policyTag_; + 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(); + policyTag_ = s; + return s; + } + } + /** *
-   * Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8.
+   * Resource name of the policy tag.
+   *
+   * This field will be ignored when calling ImportTaxonomies.
    * 
* - * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * string policy_tag = 1; + * @return The bytes for policyTag. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPolicyTagBytes() { + java.lang.Object ref = policyTag_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + policyTag_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object displayName_ = ""; + /** + *
+   * Required. Display name of the policy tag. Max 200 bytes when encoded in
+   * UTF-8.
+   * 
* + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The displayName. */ @java.lang.Override @@ -85,29 +115,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
-   * Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8.
+   * Required. Display name of the policy tag. Max 200 bytes when encoded in
+   * UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -116,12 +147,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Description of the serialized policy tag. The length of the
    * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -129,7 +157,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -138,15 +165,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; } } /** - * - * *
    * Description of the serialized policy tag. The length of the
    * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -154,15 +180,16 @@ public java.lang.String getDescription() {
    * 
* * string description = 3; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -171,85 +198,67 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int CHILD_POLICY_TAGS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private java.util.List childPolicyTags_; /** - * - * *
    * Children of the policy tag if any.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; */ @java.lang.Override - public java.util.List - getChildPolicyTagsList() { + public java.util.List getChildPolicyTagsList() { return childPolicyTags_; } /** - * - * *
    * Children of the policy tag if any.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; */ @java.lang.Override - public java.util.List + public java.util.List getChildPolicyTagsOrBuilderList() { return childPolicyTags_; } /** - * - * *
    * Children of the policy tag if any.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; */ @java.lang.Override public int getChildPolicyTagsCount() { return childPolicyTags_.size(); } /** - * - * *
    * Children of the policy tag if any.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag getChildPolicyTags(int index) { return childPolicyTags_.get(index); } /** - * - * *
    * Children of the policy tag if any.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder - getChildPolicyTagsOrBuilder(int index) { + public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder getChildPolicyTagsOrBuilder( + int index) { return childPolicyTags_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,7 +270,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(policyTag_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, policyTag_); + } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_); } @@ -280,6 +293,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(policyTag_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, policyTag_); + } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); } @@ -287,7 +303,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } for (int i = 0; i < childPolicyTags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, childPolicyTags_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, childPolicyTags_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -297,17 +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.datacatalog.v1beta1.SerializedPolicyTag)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag other = - (com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag) obj; + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag other = (com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag) obj; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getChildPolicyTagsList().equals(other.getChildPolicyTagsList())) return false; + if (!getPolicyTag() + .equals(other.getPolicyTag())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getChildPolicyTagsList() + .equals(other.getChildPolicyTagsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -319,6 +340,8 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + POLICY_TAG_FIELD_NUMBER; + hash = (53 * hash) + getPolicyTag().hashCode(); hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; hash = (53 * hash) + getDisplayName().hashCode(); hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; @@ -333,140 +356,136 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message representing one policy tag when exported as a nested proto.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.SerializedPolicyTag} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.SerializedPolicyTag) com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto - .internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto - .internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.class, - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder.class); + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.class, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder.class); } // Construct using com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.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; + policyTag_ = ""; displayName_ = ""; description_ = ""; if (childPolicyTagsBuilder_ == null) { @@ -475,14 +494,14 @@ public Builder clear() { childPolicyTags_ = null; childPolicyTagsBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto - .internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_descriptor; } @java.lang.Override @@ -501,22 +520,18 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag build() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag buildPartial() { - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag result = - new com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag(this); + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag result = new com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag result) { + private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag result) { if (childPolicyTagsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000008) != 0)) { childPolicyTags_ = java.util.Collections.unmodifiableList(childPolicyTags_); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); } result.childPolicyTags_ = childPolicyTags_; } else { @@ -527,9 +542,12 @@ private void buildPartialRepeatedFields( private void buildPartial0(com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.displayName_ = displayName_; + result.policyTag_ = policyTag_; } if (((from_bitField0_ & 0x00000002) != 0)) { + result.displayName_ = displayName_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { result.description_ = description_; } } @@ -538,39 +556,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.SerializedPolicy public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag) { - return mergeFrom((com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag) other); + return mergeFrom((com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag)other); } else { super.mergeFrom(other); return this; @@ -578,23 +595,27 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag other) { - if (other == com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.getDefaultInstance()) - return this; + if (other == com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.getDefaultInstance()) return this; + if (!other.getPolicyTag().isEmpty()) { + policyTag_ = other.policyTag_; + bitField0_ |= 0x00000001; + onChanged(); + } if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; onChanged(); } if (!other.getDescription().isEmpty()) { description_ = other.description_; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; onChanged(); } if (childPolicyTagsBuilder_ == null) { if (!other.childPolicyTags_.isEmpty()) { if (childPolicyTags_.isEmpty()) { childPolicyTags_ = other.childPolicyTags_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); } else { ensureChildPolicyTagsIsMutable(); childPolicyTags_.addAll(other.childPolicyTags_); @@ -607,11 +628,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.SerializedPolicyTa childPolicyTagsBuilder_.dispose(); childPolicyTagsBuilder_ = null; childPolicyTags_ = other.childPolicyTags_; - bitField0_ = (bitField0_ & ~0x00000004); - childPolicyTagsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getChildPolicyTagsFieldBuilder() - : null; + bitField0_ = (bitField0_ & ~0x00000008); + childPolicyTagsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getChildPolicyTagsFieldBuilder() : null; } else { childPolicyTagsBuilder_.addAllMessages(other.childPolicyTags_); } @@ -643,39 +663,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 18 - case 26: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 34: - { - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag m = - input.readMessage( - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.parser(), - extensionRegistry); - if (childPolicyTagsBuilder_ == null) { - ensureChildPolicyTagsIsMutable(); - childPolicyTags_.add(m); - } else { - childPolicyTagsBuilder_.addMessage(m); - } - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + policyTag_ = 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 34: { + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag m = + input.readMessage( + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.parser(), + extensionRegistry); + if (childPolicyTagsBuilder_ == null) { + ensureChildPolicyTagsIsMutable(); + childPolicyTags_.add(m); + } else { + childPolicyTagsBuilder_.addMessage(m); + } + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -685,25 +706,125 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.lang.Object displayName_ = ""; + private java.lang.Object policyTag_ = ""; /** + *
+     * Resource name of the policy tag.
      *
+     * This field will be ignored when calling ImportTaxonomies.
+     * 
* + * string policy_tag = 1; + * @return The policyTag. + */ + public java.lang.String getPolicyTag() { + java.lang.Object ref = policyTag_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + policyTag_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** *
-     * Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8.
+     * Resource name of the policy tag.
+     *
+     * This field will be ignored when calling ImportTaxonomies.
      * 
* - * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * string policy_tag = 1; + * @return The bytes for policyTag. + */ + public com.google.protobuf.ByteString + getPolicyTagBytes() { + java.lang.Object ref = policyTag_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + policyTag_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Resource name of the policy tag.
+     *
+     * This field will be ignored when calling ImportTaxonomies.
+     * 
+ * + * string policy_tag = 1; + * @param value The policyTag to set. + * @return This builder for chaining. + */ + public Builder setPolicyTag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + policyTag_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Resource name of the policy tag.
+     *
+     * This field will be ignored when calling ImportTaxonomies.
+     * 
+ * + * string policy_tag = 1; + * @return This builder for chaining. + */ + public Builder clearPolicyTag() { + policyTag_ = getDefaultInstance().getPolicyTag(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     * Resource name of the policy tag.
      *
+     * This field will be ignored when calling ImportTaxonomies.
+     * 
+ * + * string policy_tag = 1; + * @param value The bytes for policyTag to set. + * @return This builder for chaining. + */ + public Builder setPolicyTagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + policyTag_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object displayName_ = ""; + /** + *
+     * Required. Display name of the policy tag. Max 200 bytes when encoded in
+     * UTF-8.
+     * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; * @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; @@ -712,21 +833,21 @@ public java.lang.String getDisplayName() { } } /** - * - * *
-     * Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8.
+     * Required. Display name of the policy tag. Max 200 bytes when encoded in
+     * UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -734,70 +855,60 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
-     * Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8.
+     * Required. Display name of the policy tag. Max 200 bytes when encoded in
+     * UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
-     * Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8.
+     * Required. Display name of the policy tag. Max 200 bytes when encoded in
+     * UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { displayName_ = getDefaultInstance().getDisplayName(); - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** - * - * *
-     * Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8.
+     * Required. Display name of the policy tag. Max 200 bytes when encoded in
+     * UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; onChanged(); return this; } private java.lang.Object description_ = ""; /** - * - * *
      * Description of the serialized policy tag. The length of the
      * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -805,13 +916,13 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string description = 3; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -820,8 +931,6 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Description of the serialized policy tag. The length of the
      * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -829,14 +938,15 @@ public java.lang.String getDescription() {
      * 
* * string description = 3; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -844,8 +954,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Description of the serialized policy tag. The length of the
      * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -853,22 +961,18 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Description of the serialized policy tag. The length of the
      * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -876,18 +980,15 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** - * - * *
      * Description of the serialized policy tag. The length of the
      * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -895,51 +996,39 @@ public Builder clearDescription() {
      * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; onChanged(); return this; } - private java.util.List - childPolicyTags_ = java.util.Collections.emptyList(); - + private java.util.List childPolicyTags_ = + java.util.Collections.emptyList(); private void ensureChildPolicyTagsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - childPolicyTags_ = - new java.util.ArrayList( - childPolicyTags_); - bitField0_ |= 0x00000004; - } + if (!((bitField0_ & 0x00000008) != 0)) { + childPolicyTags_ = new java.util.ArrayList(childPolicyTags_); + bitField0_ |= 0x00000008; + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag, - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder, - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder> - childPolicyTagsBuilder_; + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder> childPolicyTagsBuilder_; /** - * - * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; */ - public java.util.List - getChildPolicyTagsList() { + public java.util.List getChildPolicyTagsList() { if (childPolicyTagsBuilder_ == null) { return java.util.Collections.unmodifiableList(childPolicyTags_); } else { @@ -947,14 +1036,11 @@ private void ensureChildPolicyTagsIsMutable() { } } /** - * - * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; */ public int getChildPolicyTagsCount() { if (childPolicyTagsBuilder_ == null) { @@ -964,14 +1050,11 @@ public int getChildPolicyTagsCount() { } } /** - * - * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; */ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag getChildPolicyTags(int index) { if (childPolicyTagsBuilder_ == null) { @@ -981,14 +1064,11 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag getChildPolicyTa } } /** - * - * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; */ public Builder setChildPolicyTags( int index, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag value) { @@ -1005,18 +1085,14 @@ public Builder setChildPolicyTags( return this; } /** - * - * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; */ public Builder setChildPolicyTags( - int index, - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder builderForValue) { + int index, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder builderForValue) { if (childPolicyTagsBuilder_ == null) { ensureChildPolicyTagsIsMutable(); childPolicyTags_.set(index, builderForValue.build()); @@ -1027,17 +1103,13 @@ public Builder setChildPolicyTags( return this; } /** - * - * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; */ - public Builder addChildPolicyTags( - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag value) { + public Builder addChildPolicyTags(com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag value) { if (childPolicyTagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1051,14 +1123,11 @@ public Builder addChildPolicyTags( return this; } /** - * - * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; */ public Builder addChildPolicyTags( int index, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag value) { @@ -1075,14 +1144,11 @@ public Builder addChildPolicyTags( return this; } /** - * - * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; */ public Builder addChildPolicyTags( com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder builderForValue) { @@ -1096,18 +1162,14 @@ public Builder addChildPolicyTags( return this; } /** - * - * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; */ public Builder addChildPolicyTags( - int index, - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder builderForValue) { + int index, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder builderForValue) { if (childPolicyTagsBuilder_ == null) { ensureChildPolicyTagsIsMutable(); childPolicyTags_.add(index, builderForValue.build()); @@ -1118,21 +1180,18 @@ public Builder addChildPolicyTags( return this; } /** - * - * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; */ public Builder addAllChildPolicyTags( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (childPolicyTagsBuilder_ == null) { ensureChildPolicyTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, childPolicyTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, childPolicyTags_); onChanged(); } else { childPolicyTagsBuilder_.addAllMessages(values); @@ -1140,19 +1199,16 @@ public Builder addAllChildPolicyTags( return this; } /** - * - * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; */ public Builder clearChildPolicyTags() { if (childPolicyTagsBuilder_ == null) { childPolicyTags_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { childPolicyTagsBuilder_.clear(); @@ -1160,14 +1216,11 @@ public Builder clearChildPolicyTags() { return this; } /** - * - * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; */ public Builder removeChildPolicyTags(int index) { if (childPolicyTagsBuilder_ == null) { @@ -1180,50 +1233,39 @@ public Builder removeChildPolicyTags(int index) { return this; } /** - * - * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; */ - public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder - getChildPolicyTagsBuilder(int index) { + public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder getChildPolicyTagsBuilder( + int index) { return getChildPolicyTagsFieldBuilder().getBuilder(index); } /** - * - * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; */ - public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder - getChildPolicyTagsOrBuilder(int index) { + public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder getChildPolicyTagsOrBuilder( + int index) { if (childPolicyTagsBuilder_ == null) { - return childPolicyTags_.get(index); - } else { + return childPolicyTags_.get(index); } else { return childPolicyTagsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; */ - public java.util.List< - ? extends com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder> - getChildPolicyTagsOrBuilderList() { + public java.util.List + getChildPolicyTagsOrBuilderList() { if (childPolicyTagsBuilder_ != null) { return childPolicyTagsBuilder_.getMessageOrBuilderList(); } else { @@ -1231,74 +1273,56 @@ public Builder removeChildPolicyTags(int index) { } } /** - * - * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; */ - public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder - addChildPolicyTagsBuilder() { - return getChildPolicyTagsFieldBuilder() - .addBuilder( - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.getDefaultInstance()); + public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder addChildPolicyTagsBuilder() { + return getChildPolicyTagsFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.getDefaultInstance()); } /** - * - * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; */ - public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder - addChildPolicyTagsBuilder(int index) { - return getChildPolicyTagsFieldBuilder() - .addBuilder( - index, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.getDefaultInstance()); + public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder addChildPolicyTagsBuilder( + int index) { + return getChildPolicyTagsFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.getDefaultInstance()); } /** - * - * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; */ - public java.util.List - getChildPolicyTagsBuilderList() { + public java.util.List + getChildPolicyTagsBuilderList() { return getChildPolicyTagsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag, - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder, - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder> + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder> getChildPolicyTagsFieldBuilder() { if (childPolicyTagsBuilder_ == null) { - childPolicyTagsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag, - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder, - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder>( + childPolicyTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder>( childPolicyTags_, - ((bitField0_ & 0x00000004) != 0), + ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); childPolicyTags_ = null; } return childPolicyTagsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1308,12 +1332,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.SerializedPolicyTag) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.SerializedPolicyTag) private static final com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag(); } @@ -1322,27 +1346,27 @@ public static com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SerializedPolicyTag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SerializedPolicyTag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1357,4 +1381,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTagOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTagOrBuilder.java similarity index 68% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTagOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTagOrBuilder.java index 482bb6e98f6e..accdaffbc911 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTagOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTagOrBuilder.java @@ -1,56 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1beta1; -public interface SerializedPolicyTagOrBuilder - extends +public interface SerializedPolicyTagOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.SerializedPolicyTag) com.google.protobuf.MessageOrBuilder { /** + *
+   * Resource name of the policy tag.
    *
+   * This field will be ignored when calling ImportTaxonomies.
+   * 
* + * string policy_tag = 1; + * @return The policyTag. + */ + java.lang.String getPolicyTag(); + /** *
-   * Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8.
+   * Resource name of the policy tag.
+   *
+   * This field will be ignored when calling ImportTaxonomies.
    * 
* - * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * string policy_tag = 1; + * @return The bytes for policyTag. + */ + com.google.protobuf.ByteString + getPolicyTagBytes(); + + /** + *
+   * Required. Display name of the policy tag. Max 200 bytes when encoded in
+   * UTF-8.
+   * 
* + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
-   * Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8.
+   * Required. Display name of the policy tag. Max 200 bytes when encoded in
+   * UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Description of the serialized policy tag. The length of the
    * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -58,13 +61,10 @@ public interface SerializedPolicyTagOrBuilder
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Description of the serialized policy tag. The length of the
    * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -72,65 +72,51 @@ public interface SerializedPolicyTagOrBuilder
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Children of the policy tag if any.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; */ - java.util.List getChildPolicyTagsList(); + java.util.List + getChildPolicyTagsList(); /** - * - * *
    * Children of the policy tag if any.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; */ com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag getChildPolicyTags(int index); /** - * - * *
    * Children of the policy tag if any.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; */ int getChildPolicyTagsCount(); /** - * - * *
    * Children of the policy tag if any.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; */ - java.util.List + java.util.List getChildPolicyTagsOrBuilderList(); /** - * - * *
    * Children of the policy tag if any.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; - * + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; */ com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder getChildPolicyTagsOrBuilder( int index); diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomy.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomy.java similarity index 58% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomy.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomy.java index de986aba8e53..141e798782b1 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomy.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomy.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Message capturing a taxonomy and its policy tag hierarchy as a nested proto.
  * Used for taxonomy import/export and mutation.
@@ -28,56 +11,52 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.SerializedTaxonomy}
  */
-public final class SerializedTaxonomy extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SerializedTaxonomy extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.SerializedTaxonomy)
     SerializedTaxonomyOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SerializedTaxonomy.newBuilder() to construct.
   private SerializedTaxonomy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SerializedTaxonomy() {
     displayName_ = "";
     description_ = "";
     policyTags_ = java.util.Collections.emptyList();
+    activatedPolicyTypes_ = 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 SerializedTaxonomy();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
-        .internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
-        .internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.class,
-            com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.class, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder.class);
   }
 
   public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object displayName_ = "";
   /**
-   *
-   *
    * 
-   * Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8.
+   * Required. Display name of the taxonomy. Max 200 bytes when encoded in
+   * UTF-8.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -86,29 +65,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
-   * Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8.
+   * Required. Display name of the taxonomy. Max 200 bytes when encoded in
+   * UTF-8.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -117,12 +97,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Description of the serialized taxonomy. The length of the
    * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -130,7 +107,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -139,15 +115,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; } } /** - * - * *
    * Description of the serialized taxonomy. The length of the
    * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -155,15 +130,16 @@ public java.lang.String getDescription() {
    * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -172,12 +148,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int POLICY_TAGS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List policyTags_; /** - * - * *
    * Top level policy tags associated with the taxonomy if any.
    * 
@@ -185,13 +158,10 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3; */ @java.lang.Override - public java.util.List - getPolicyTagsList() { + public java.util.List getPolicyTagsList() { return policyTags_; } /** - * - * *
    * Top level policy tags associated with the taxonomy if any.
    * 
@@ -199,13 +169,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3; */ @java.lang.Override - public java.util.List + public java.util.List getPolicyTagsOrBuilderList() { return policyTags_; } /** - * - * *
    * Top level policy tags associated with the taxonomy if any.
    * 
@@ -217,8 +185,6 @@ public int getPolicyTagsCount() { return policyTags_.size(); } /** - * - * *
    * Top level policy tags associated with the taxonomy if any.
    * 
@@ -230,8 +196,6 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag getPolicyTags(in return policyTags_.get(index); } /** - * - * *
    * Top level policy tags associated with the taxonomy if any.
    * 
@@ -244,8 +208,85 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder getPoli return policyTags_.get(index); } - private byte memoizedIsInitialized = -1; + public static final int ACTIVATED_POLICY_TYPES_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private java.util.List activatedPolicyTypes_; + private static final com.google.protobuf.Internal.ListAdapter.Converter< + java.lang.Integer, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType> activatedPolicyTypes_converter_ = + new com.google.protobuf.Internal.ListAdapter.Converter< + java.lang.Integer, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType>() { + public com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType convert(java.lang.Integer from) { + com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType result = com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType.forNumber(from); + return result == null ? com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType.UNRECOGNIZED : result; + } + }; + /** + *
+   * A list of policy types that are activated for a taxonomy.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * @return A list containing the activatedPolicyTypes. + */ + @java.lang.Override + public java.util.List getActivatedPolicyTypesList() { + return new com.google.protobuf.Internal.ListAdapter< + java.lang.Integer, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType>(activatedPolicyTypes_, activatedPolicyTypes_converter_); + } + /** + *
+   * A list of policy types that are activated for a taxonomy.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * @return The count of activatedPolicyTypes. + */ + @java.lang.Override + public int getActivatedPolicyTypesCount() { + return activatedPolicyTypes_.size(); + } + /** + *
+   * A list of policy types that are activated for a taxonomy.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * @param index The index of the element to return. + * @return The activatedPolicyTypes at the given index. + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType getActivatedPolicyTypes(int index) { + return activatedPolicyTypes_converter_.convert(activatedPolicyTypes_.get(index)); + } + /** + *
+   * A list of policy types that are activated for a taxonomy.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * @return A list containing the enum numeric values on the wire for activatedPolicyTypes. + */ + @java.lang.Override + public java.util.List + getActivatedPolicyTypesValueList() { + return activatedPolicyTypes_; + } + /** + *
+   * A list of policy types that are activated for a taxonomy.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * @param index The index of the value to return. + * @return The enum numeric value on the wire of activatedPolicyTypes at the given index. + */ + @java.lang.Override + public int getActivatedPolicyTypesValue(int index) { + return activatedPolicyTypes_.get(index); + } + private int activatedPolicyTypesMemoizedSerializedSize; + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,7 +298,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -267,6 +310,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < policyTags_.size(); i++) { output.writeMessage(3, policyTags_.get(i)); } + if (getActivatedPolicyTypesList().size() > 0) { + output.writeUInt32NoTag(34); + output.writeUInt32NoTag(activatedPolicyTypesMemoizedSerializedSize); + } + for (int i = 0; i < activatedPolicyTypes_.size(); i++) { + output.writeEnumNoTag(activatedPolicyTypes_.get(i)); + } getUnknownFields().writeTo(output); } @@ -283,7 +333,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } for (int i = 0; i < policyTags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, policyTags_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, policyTags_.get(i)); + } + { + int dataSize = 0; + for (int i = 0; i < activatedPolicyTypes_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(activatedPolicyTypes_.get(i)); + } + size += dataSize; + if (!getActivatedPolicyTypesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }activatedPolicyTypesMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -293,17 +356,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.datacatalog.v1beta1.SerializedTaxonomy)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy other = - (com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy) obj; + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy other = (com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy) obj; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getPolicyTagsList().equals(other.getPolicyTagsList())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getPolicyTagsList() + .equals(other.getPolicyTagsList())) return false; + if (!activatedPolicyTypes_.equals(other.activatedPolicyTypes_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -323,110 +389,108 @@ public int hashCode() { hash = (37 * hash) + POLICY_TAGS_FIELD_NUMBER; hash = (53 * hash) + getPolicyTagsList().hashCode(); } + if (getActivatedPolicyTypesCount() > 0) { + hash = (37 * hash) + ACTIVATED_POLICY_TYPES_FIELD_NUMBER; + hash = (53 * hash) + activatedPolicyTypes_.hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message capturing a taxonomy and its policy tag hierarchy as a nested proto.
    * Used for taxonomy import/export and mutation.
@@ -434,32 +498,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.SerializedTaxonomy}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.SerializedTaxonomy)
       com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.class,
-              com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.class, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -473,13 +538,15 @@ public Builder clear() {
         policyTagsBuilder_.clear();
       }
       bitField0_ = (bitField0_ & ~0x00000004);
+      activatedPolicyTypes_ = java.util.Collections.emptyList();
+      bitField0_ = (bitField0_ & ~0x00000008);
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
-          .internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_descriptor;
     }
 
     @java.lang.Override
@@ -498,18 +565,14 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy result =
-          new com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy(this);
+      com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy result = new com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy result) {
+    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy result) {
       if (policyTagsBuilder_ == null) {
         if (((bitField0_ & 0x00000004) != 0)) {
           policyTags_ = java.util.Collections.unmodifiableList(policyTags_);
@@ -519,6 +582,11 @@ private void buildPartialRepeatedFields(
       } else {
         result.policyTags_ = policyTagsBuilder_.build();
       }
+      if (((bitField0_ & 0x00000008) != 0)) {
+        activatedPolicyTypes_ = java.util.Collections.unmodifiableList(activatedPolicyTypes_);
+        bitField0_ = (bitField0_ & ~0x00000008);
+      }
+      result.activatedPolicyTypes_ = activatedPolicyTypes_;
     }
 
     private void buildPartial0(com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy result) {
@@ -535,39 +603,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.SerializedTaxono
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -575,8 +642,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.getDefaultInstance()) return this;
       if (!other.getDisplayName().isEmpty()) {
         displayName_ = other.displayName_;
         bitField0_ |= 0x00000001;
@@ -605,15 +671,24 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy
             policyTagsBuilder_ = null;
             policyTags_ = other.policyTags_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            policyTagsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getPolicyTagsFieldBuilder()
-                    : null;
+            policyTagsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getPolicyTagsFieldBuilder() : null;
           } else {
             policyTagsBuilder_.addAllMessages(other.policyTags_);
           }
         }
       }
+      if (!other.activatedPolicyTypes_.isEmpty()) {
+        if (activatedPolicyTypes_.isEmpty()) {
+          activatedPolicyTypes_ = other.activatedPolicyTypes_;
+          bitField0_ = (bitField0_ & ~0x00000008);
+        } else {
+          ensureActivatedPolicyTypesIsMutable();
+          activatedPolicyTypes_.addAll(other.activatedPolicyTypes_);
+        }
+        onChanged();
+      }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
@@ -640,39 +715,52 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                description_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag m =
-                    input.readMessage(
-                        com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.parser(),
-                        extensionRegistry);
-                if (policyTagsBuilder_ == null) {
-                  ensurePolicyTagsIsMutable();
-                  policyTags_.add(m);
-                } else {
-                  policyTagsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              description_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag m =
+                  input.readMessage(
+                      com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.parser(),
+                      extensionRegistry);
+              if (policyTagsBuilder_ == null) {
+                ensurePolicyTagsIsMutable();
+                policyTags_.add(m);
+              } else {
+                policyTagsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 26
+            case 32: {
+              int tmpRaw = input.readEnum();
+              ensureActivatedPolicyTypesIsMutable();
+              activatedPolicyTypes_.add(tmpRaw);
+              break;
+            } // case 32
+            case 34: {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while(input.getBytesUntilLimit() > 0) {
+                int tmpRaw = input.readEnum();
+                ensureActivatedPolicyTypesIsMutable();
+                activatedPolicyTypes_.add(tmpRaw);
+              }
+              input.popLimit(oldLimit);
+              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) {
@@ -682,25 +770,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object displayName_ = "";
     /**
-     *
-     *
      * 
-     * Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8.
+     * Required. Display name of the taxonomy. Max 200 bytes when encoded in
+     * UTF-8.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -709,21 +795,21 @@ public java.lang.String getDisplayName() { } } /** - * - * *
-     * Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8.
+     * Required. Display name of the taxonomy. Max 200 bytes when encoded in
+     * UTF-8.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -731,35 +817,30 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
-     * Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8.
+     * Required. Display name of the taxonomy. Max 200 bytes when encoded in
+     * UTF-8.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
-     * Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8.
+     * Required. Display name of the taxonomy. Max 200 bytes when encoded in
+     * UTF-8.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -769,21 +850,18 @@ public Builder clearDisplayName() { return this; } /** - * - * *
-     * Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8.
+     * Required. Display name of the taxonomy. Max 200 bytes when encoded in
+     * UTF-8.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -793,8 +871,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Description of the serialized taxonomy. The length of the
      * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -802,13 +878,13 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -817,8 +893,6 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Description of the serialized taxonomy. The length of the
      * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -826,14 +900,15 @@ public java.lang.String getDescription() {
      * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -841,8 +916,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Description of the serialized taxonomy. The length of the
      * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -850,22 +923,18 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
      * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Description of the serialized taxonomy. The length of the
      * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -873,7 +942,6 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -883,8 +951,6 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Description of the serialized taxonomy. The length of the
      * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -892,14 +958,12 @@ public Builder clearDescription() {
      * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - 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; @@ -908,34 +972,25 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { } private java.util.List policyTags_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePolicyTagsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - policyTags_ = - new java.util.ArrayList( - policyTags_); + policyTags_ = new java.util.ArrayList(policyTags_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag, - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder, - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder> - policyTagsBuilder_; + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder> policyTagsBuilder_; /** - * - * *
      * Top level policy tags associated with the taxonomy if any.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3; */ - public java.util.List - getPolicyTagsList() { + public java.util.List getPolicyTagsList() { if (policyTagsBuilder_ == null) { return java.util.Collections.unmodifiableList(policyTags_); } else { @@ -943,8 +998,6 @@ private void ensurePolicyTagsIsMutable() { } } /** - * - * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -959,8 +1012,6 @@ public int getPolicyTagsCount() { } } /** - * - * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -975,8 +1026,6 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag getPolicyTags(in } } /** - * - * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -998,8 +1047,6 @@ public Builder setPolicyTags( return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1007,8 +1054,7 @@ public Builder setPolicyTags( * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3; */ public Builder setPolicyTags( - int index, - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder builderForValue) { + int index, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder builderForValue) { if (policyTagsBuilder_ == null) { ensurePolicyTagsIsMutable(); policyTags_.set(index, builderForValue.build()); @@ -1019,8 +1065,6 @@ public Builder setPolicyTags( return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1041,8 +1085,6 @@ public Builder addPolicyTags(com.google.cloud.datacatalog.v1beta1.SerializedPoli return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1064,8 +1106,6 @@ public Builder addPolicyTags( return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1084,8 +1124,6 @@ public Builder addPolicyTags( return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1093,8 +1131,7 @@ public Builder addPolicyTags( * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3; */ public Builder addPolicyTags( - int index, - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder builderForValue) { + int index, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder builderForValue) { if (policyTagsBuilder_ == null) { ensurePolicyTagsIsMutable(); policyTags_.add(index, builderForValue.build()); @@ -1105,8 +1142,6 @@ public Builder addPolicyTags( return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1114,11 +1149,11 @@ public Builder addPolicyTags( * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3; */ public Builder addAllPolicyTags( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (policyTagsBuilder_ == null) { ensurePolicyTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, policyTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, policyTags_); onChanged(); } else { policyTagsBuilder_.addAllMessages(values); @@ -1126,8 +1161,6 @@ public Builder addAllPolicyTags( return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1145,8 +1178,6 @@ public Builder clearPolicyTags() { return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1164,8 +1195,6 @@ public Builder removePolicyTags(int index) { return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1177,8 +1206,6 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder getPolic return getPolicyTagsFieldBuilder().getBuilder(index); } /** - * - * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1188,23 +1215,19 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder getPolic public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder getPolicyTagsOrBuilder( int index) { if (policyTagsBuilder_ == null) { - return policyTags_.get(index); - } else { + return policyTags_.get(index); } else { return policyTagsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Top level policy tags associated with the taxonomy if any.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3; */ - public java.util.List< - ? extends com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder> - getPolicyTagsOrBuilderList() { + public java.util.List + getPolicyTagsOrBuilderList() { if (policyTagsBuilder_ != null) { return policyTagsBuilder_.getMessageOrBuilderList(); } else { @@ -1212,8 +1235,6 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder getPoli } } /** - * - * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1221,13 +1242,10 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder getPoli * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3; */ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder addPolicyTagsBuilder() { - return getPolicyTagsFieldBuilder() - .addBuilder( - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.getDefaultInstance()); + return getPolicyTagsFieldBuilder().addBuilder( + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.getDefaultInstance()); } /** - * - * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1236,43 +1254,225 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder addPolic */ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder addPolicyTagsBuilder( int index) { - return getPolicyTagsFieldBuilder() - .addBuilder( - index, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.getDefaultInstance()); + return getPolicyTagsFieldBuilder().addBuilder( + index, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.getDefaultInstance()); } /** - * - * *
      * Top level policy tags associated with the taxonomy if any.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3; */ - public java.util.List - getPolicyTagsBuilderList() { + public java.util.List + getPolicyTagsBuilderList() { return getPolicyTagsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag, - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder, - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder> + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder> getPolicyTagsFieldBuilder() { if (policyTagsBuilder_ == null) { - policyTagsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag, - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder, - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder>( - policyTags_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + policyTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder>( + policyTags_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); policyTags_ = null; } return policyTagsBuilder_; } + private java.util.List activatedPolicyTypes_ = + java.util.Collections.emptyList(); + private void ensureActivatedPolicyTypesIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + activatedPolicyTypes_ = new java.util.ArrayList(activatedPolicyTypes_); + bitField0_ |= 0x00000008; + } + } + /** + *
+     * A list of policy types that are activated for a taxonomy.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * @return A list containing the activatedPolicyTypes. + */ + public java.util.List getActivatedPolicyTypesList() { + return new com.google.protobuf.Internal.ListAdapter< + java.lang.Integer, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType>(activatedPolicyTypes_, activatedPolicyTypes_converter_); + } + /** + *
+     * A list of policy types that are activated for a taxonomy.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * @return The count of activatedPolicyTypes. + */ + public int getActivatedPolicyTypesCount() { + return activatedPolicyTypes_.size(); + } + /** + *
+     * A list of policy types that are activated for a taxonomy.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * @param index The index of the element to return. + * @return The activatedPolicyTypes at the given index. + */ + public com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType getActivatedPolicyTypes(int index) { + return activatedPolicyTypes_converter_.convert(activatedPolicyTypes_.get(index)); + } + /** + *
+     * A list of policy types that are activated for a taxonomy.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * @param index The index to set the value at. + * @param value The activatedPolicyTypes to set. + * @return This builder for chaining. + */ + public Builder setActivatedPolicyTypes( + int index, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType value) { + if (value == null) { + throw new NullPointerException(); + } + ensureActivatedPolicyTypesIsMutable(); + activatedPolicyTypes_.set(index, value.getNumber()); + onChanged(); + return this; + } + /** + *
+     * A list of policy types that are activated for a taxonomy.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * @param value The activatedPolicyTypes to add. + * @return This builder for chaining. + */ + public Builder addActivatedPolicyTypes(com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType value) { + if (value == null) { + throw new NullPointerException(); + } + ensureActivatedPolicyTypesIsMutable(); + activatedPolicyTypes_.add(value.getNumber()); + onChanged(); + return this; + } + /** + *
+     * A list of policy types that are activated for a taxonomy.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * @param values The activatedPolicyTypes to add. + * @return This builder for chaining. + */ + public Builder addAllActivatedPolicyTypes( + java.lang.Iterable values) { + ensureActivatedPolicyTypesIsMutable(); + for (com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType value : values) { + activatedPolicyTypes_.add(value.getNumber()); + } + onChanged(); + return this; + } + /** + *
+     * A list of policy types that are activated for a taxonomy.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * @return This builder for chaining. + */ + public Builder clearActivatedPolicyTypes() { + activatedPolicyTypes_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + *
+     * A list of policy types that are activated for a taxonomy.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * @return A list containing the enum numeric values on the wire for activatedPolicyTypes. + */ + public java.util.List + getActivatedPolicyTypesValueList() { + return java.util.Collections.unmodifiableList(activatedPolicyTypes_); + } + /** + *
+     * A list of policy types that are activated for a taxonomy.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * @param index The index of the value to return. + * @return The enum numeric value on the wire of activatedPolicyTypes at the given index. + */ + public int getActivatedPolicyTypesValue(int index) { + return activatedPolicyTypes_.get(index); + } + /** + *
+     * A list of policy types that are activated for a taxonomy.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * @param index The index to set the value at. + * @param value The enum numeric value on the wire for activatedPolicyTypes to set. + * @return This builder for chaining. + */ + public Builder setActivatedPolicyTypesValue( + int index, int value) { + ensureActivatedPolicyTypesIsMutable(); + activatedPolicyTypes_.set(index, value); + onChanged(); + return this; + } + /** + *
+     * A list of policy types that are activated for a taxonomy.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * @param value The enum numeric value on the wire for activatedPolicyTypes to add. + * @return This builder for chaining. + */ + public Builder addActivatedPolicyTypesValue(int value) { + ensureActivatedPolicyTypesIsMutable(); + activatedPolicyTypes_.add(value); + onChanged(); + return this; + } + /** + *
+     * A list of policy types that are activated for a taxonomy.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * @param values The enum numeric values on the wire for activatedPolicyTypes to add. + * @return This builder for chaining. + */ + public Builder addAllActivatedPolicyTypesValue( + java.lang.Iterable values) { + ensureActivatedPolicyTypesIsMutable(); + for (int value : values) { + activatedPolicyTypes_.add(value); + } + onChanged(); + return this; + } @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1282,12 +1482,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.SerializedTaxonomy) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.SerializedTaxonomy) private static final com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy(); } @@ -1296,27 +1496,27 @@ public static com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SerializedTaxonomy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SerializedTaxonomy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +1531,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomyOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomyOrBuilder.java similarity index 57% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomyOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomyOrBuilder.java index bf2b55c9c371..8b9a17357f8f 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomyOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomyOrBuilder.java @@ -1,56 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1beta1; -public interface SerializedTaxonomyOrBuilder - extends +public interface SerializedTaxonomyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.SerializedTaxonomy) com.google.protobuf.MessageOrBuilder { /** - * - * *
-   * Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8.
+   * Required. Display name of the taxonomy. Max 200 bytes when encoded in
+   * UTF-8.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
-   * Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8.
+   * Required. Display name of the taxonomy. Max 200 bytes when encoded in
+   * UTF-8.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Description of the serialized taxonomy. The length of the
    * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -58,13 +37,10 @@ public interface SerializedTaxonomyOrBuilder
    * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Description of the serialized taxonomy. The length of the
    * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -72,24 +48,21 @@ public interface SerializedTaxonomyOrBuilder
    * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Top level policy tags associated with the taxonomy if any.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3; */ - java.util.List getPolicyTagsList(); + java.util.List + getPolicyTagsList(); /** - * - * *
    * Top level policy tags associated with the taxonomy if any.
    * 
@@ -98,8 +71,6 @@ public interface SerializedTaxonomyOrBuilder */ com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag getPolicyTags(int index); /** - * - * *
    * Top level policy tags associated with the taxonomy if any.
    * 
@@ -108,19 +79,15 @@ public interface SerializedTaxonomyOrBuilder */ int getPolicyTagsCount(); /** - * - * *
    * Top level policy tags associated with the taxonomy if any.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3; */ - java.util.List + java.util.List getPolicyTagsOrBuilderList(); /** - * - * *
    * Top level policy tags associated with the taxonomy if any.
    * 
@@ -129,4 +96,53 @@ public interface SerializedTaxonomyOrBuilder */ com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder getPolicyTagsOrBuilder( int index); + + /** + *
+   * A list of policy types that are activated for a taxonomy.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * @return A list containing the activatedPolicyTypes. + */ + java.util.List getActivatedPolicyTypesList(); + /** + *
+   * A list of policy types that are activated for a taxonomy.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * @return The count of activatedPolicyTypes. + */ + int getActivatedPolicyTypesCount(); + /** + *
+   * A list of policy types that are activated for a taxonomy.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * @param index The index of the element to return. + * @return The activatedPolicyTypes at the given index. + */ + com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType getActivatedPolicyTypes(int index); + /** + *
+   * A list of policy types that are activated for a taxonomy.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * @return A list containing the enum numeric values on the wire for activatedPolicyTypes. + */ + java.util.List + getActivatedPolicyTypesValueList(); + /** + *
+   * A list of policy types that are activated for a taxonomy.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * @param index The index of the value to return. + * @return The enum numeric value on the wire of activatedPolicyTypes at the given index. + */ + int getActivatedPolicyTypesValue(int index); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestamps.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestamps.java similarity index 68% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestamps.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestamps.java index 169383a23dca..1d01ce876993 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestamps.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestamps.java @@ -1,76 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/timestamps.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Timestamps about this resource according to a particular system.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.SystemTimestamps} */ -public final class SystemTimestamps extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SystemTimestamps extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.SystemTimestamps) SystemTimestampsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SystemTimestamps.newBuilder() to construct. private SystemTimestamps(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private SystemTimestamps() {} + private SystemTimestamps() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SystemTimestamps(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Timestamps - .internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Timestamps.internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.Timestamps - .internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.Timestamps.internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.SystemTimestamps.class, - com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder.class); + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.class, com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The creation time of the resource within the given system.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -78,14 +57,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The creation time of the resource within the given system.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return The createTime. */ @java.lang.Override @@ -93,8 +69,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The creation time of the resource within the given system.
    * 
@@ -109,14 +83,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The last-modified time of the resource within the given system.
    * 
* * .google.protobuf.Timestamp update_time = 2; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -124,14 +95,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The last-modified time of the resource within the given system.
    * 
* * .google.protobuf.Timestamp update_time = 2; - * * @return The updateTime. */ @java.lang.Override @@ -139,8 +107,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The last-modified time of the resource within the given system.
    * 
@@ -155,16 +121,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int EXPIRE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp expireTime_; /** - * - * *
    * Output only. The expiration time of the resource within the given system.
    * Currently only apllicable to BigQuery resources.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ @java.lang.Override @@ -172,16 +134,12 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** - * - * *
    * Output only. The expiration time of the resource within the given system.
    * Currently only apllicable to BigQuery resources.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ @java.lang.Override @@ -189,15 +147,12 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** - * - * *
    * Output only. The expiration time of the resource within the given system.
    * Currently only apllicable to BigQuery resources.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -205,7 +160,6 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -237,13 +192,16 @@ 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 (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateTime()); } if (expireTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getExpireTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getExpireTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -253,25 +211,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.datacatalog.v1beta1.SystemTimestamps)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.SystemTimestamps other = - (com.google.cloud.datacatalog.v1beta1.SystemTimestamps) obj; + com.google.cloud.datacatalog.v1beta1.SystemTimestamps other = (com.google.cloud.datacatalog.v1beta1.SystemTimestamps) obj; 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 (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime().equals(other.getExpireTime())) return false; + if (!getExpireTime() + .equals(other.getExpireTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -302,136 +262,131 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.SystemTimestamps parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.SystemTimestamps parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SystemTimestamps parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.SystemTimestamps parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SystemTimestamps parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.SystemTimestamps parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.SystemTimestamps parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.SystemTimestamps parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.SystemTimestamps parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SystemTimestamps parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.SystemTimestamps parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.SystemTimestamps parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SystemTimestamps parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.SystemTimestamps parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.SystemTimestamps prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.SystemTimestamps prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Timestamps about this resource according to a particular system.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.SystemTimestamps} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.SystemTimestamps) com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Timestamps - .internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Timestamps.internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.Timestamps - .internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.Timestamps.internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.SystemTimestamps.class, - com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder.class); + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.class, com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder.class); } // Construct using com.google.cloud.datacatalog.v1beta1.SystemTimestamps.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -455,9 +410,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.Timestamps - .internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.Timestamps.internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_descriptor; } @java.lang.Override @@ -476,11 +431,8 @@ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps build() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.SystemTimestamps buildPartial() { - com.google.cloud.datacatalog.v1beta1.SystemTimestamps result = - new com.google.cloud.datacatalog.v1beta1.SystemTimestamps(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1beta1.SystemTimestamps result = new com.google.cloud.datacatalog.v1beta1.SystemTimestamps(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -488,13 +440,19 @@ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps buildPartial() { private void buildPartial0(com.google.cloud.datacatalog.v1beta1.SystemTimestamps 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.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.expireTime_ = expireTimeBuilder_ == null ? expireTime_ : expireTimeBuilder_.build(); + result.expireTime_ = expireTimeBuilder_ == null + ? expireTime_ + : expireTimeBuilder_.build(); } } @@ -502,39 +460,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.SystemTimestamps public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1beta1.SystemTimestamps) { - return mergeFrom((com.google.cloud.datacatalog.v1beta1.SystemTimestamps) other); + return mergeFrom((com.google.cloud.datacatalog.v1beta1.SystemTimestamps)other); } else { super.mergeFrom(other); return this; @@ -542,8 +499,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.SystemTimestamps other) { - if (other == com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance()) - return this; + if (other == com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -579,31 +535,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getExpireTimeFieldBuilder().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) { @@ -613,52 +571,38 @@ 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_; /** - * - * *
      * The creation time of the resource within the given system.
      * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The creation time of the resource within the given system.
      * 
* * .google.protobuf.Timestamp create_time = 1; - * * @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 creation time of the resource within the given system.
      * 
@@ -679,15 +623,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The creation time of the resource within the given system.
      * 
* * .google.protobuf.Timestamp create_time = 1; */ - 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 { @@ -698,8 +641,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The creation time of the resource within the given system.
      * 
@@ -708,9 +649,9 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal */ 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; @@ -723,8 +664,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The creation time of the resource within the given system.
      * 
@@ -742,8 +681,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The creation time of the resource within the given system.
      * 
@@ -756,8 +693,6 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The creation time of the resource within the given system.
      * 
@@ -768,14 +703,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 creation time of the resource within the given system.
      * 
@@ -783,17 +715,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_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> 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_; @@ -801,47 +730,34 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * The last-modified time of the resource within the given system.
      * 
* * .google.protobuf.Timestamp update_time = 2; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The last-modified time of the resource within the given system.
      * 
* * .google.protobuf.Timestamp update_time = 2; - * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * The last-modified time of the resource within the given system.
      * 
@@ -862,15 +778,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The last-modified time of the resource within the given system.
      * 
* * .google.protobuf.Timestamp update_time = 2; */ - 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 { @@ -881,8 +796,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The last-modified time of the resource within the given system.
      * 
@@ -891,9 +804,9 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -906,8 +819,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The last-modified time of the resource within the given system.
      * 
@@ -925,8 +836,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The last-modified time of the resource within the given system.
      * 
@@ -939,8 +848,6 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The last-modified time of the resource within the given system.
      * 
@@ -951,14 +858,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * The last-modified time of the resource within the given system.
      * 
@@ -966,17 +870,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -984,61 +885,42 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - expireTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; /** - * - * *
      * Output only. The expiration time of the resource within the given system.
      * Currently only apllicable to BigQuery resources.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output only. The expiration time of the resource within the given system.
      * Currently only apllicable to BigQuery resources.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The expiration time of the resource within the given system.
      * Currently only apllicable to BigQuery resources.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -1054,18 +936,15 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The expiration time of the resource within the given system.
      * Currently only apllicable to BigQuery resources.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); } else { @@ -1076,22 +955,18 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The expiration time of the resource within the given system.
      * Currently only apllicable to BigQuery resources.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && expireTime_ != null - && expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + expireTime_ != null && + expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpireTimeBuilder().mergeFrom(value); } else { expireTime_ = value; @@ -1104,16 +979,12 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The expiration time of the resource within the given system.
      * Currently only apllicable to BigQuery resources.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearExpireTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1126,16 +997,12 @@ public Builder clearExpireTime() { return this; } /** - * - * *
      * Output only. The expiration time of the resource within the given system.
      * Currently only apllicable to BigQuery resources.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { bitField0_ |= 0x00000004; @@ -1143,57 +1010,45 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { return getExpireTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The expiration time of the resource within the given system.
      * Currently only apllicable to BigQuery resources.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } } /** - * - * *
      * Output only. The expiration time of the resource within the given system.
      * Currently only apllicable to BigQuery resources.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_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> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), getParentForChildren(), isClean()); + expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), + getParentForChildren(), + isClean()); expireTime_ = null; } return expireTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1203,12 +1058,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.SystemTimestamps) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.SystemTimestamps) private static final com.google.cloud.datacatalog.v1beta1.SystemTimestamps DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.SystemTimestamps(); } @@ -1217,27 +1072,27 @@ public static com.google.cloud.datacatalog.v1beta1.SystemTimestamps getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SystemTimestamps parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SystemTimestamps parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1252,4 +1107,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestampsOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestampsOrBuilder.java similarity index 74% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestampsOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestampsOrBuilder.java index db8b2bca0c33..5a14f491fa14 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestampsOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestampsOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/timestamps.proto package com.google.cloud.datacatalog.v1beta1; -public interface SystemTimestampsOrBuilder - extends +public interface SystemTimestampsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.SystemTimestamps) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The creation time of the resource within the given system.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The creation time of the resource within the given system.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The creation time of the resource within the given system.
    * 
@@ -59,32 +35,24 @@ public interface SystemTimestampsOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The last-modified time of the resource within the given system.
    * 
* * .google.protobuf.Timestamp update_time = 2; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The last-modified time of the resource within the given system.
    * 
* * .google.protobuf.Timestamp update_time = 2; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The last-modified time of the resource within the given system.
    * 
@@ -94,43 +62,32 @@ public interface SystemTimestampsOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. The expiration time of the resource within the given system.
    * Currently only apllicable to BigQuery resources.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** - * - * *
    * Output only. The expiration time of the resource within the given system.
    * Currently only apllicable to BigQuery resources.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** - * - * *
    * Output only. The expiration time of the resource within the given system.
    * Currently only apllicable to BigQuery resources.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSourceType.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSourceType.java similarity index 65% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSourceType.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSourceType.java index de0c53e83bcf..4bc36ede1780 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSourceType.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSourceType.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/table_spec.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Table source type.
  * 
* * Protobuf enum {@code google.cloud.datacatalog.v1beta1.TableSourceType} */ -public enum TableSourceType implements com.google.protobuf.ProtocolMessageEnum { +public enum TableSourceType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Default unknown type.
    * 
@@ -39,8 +21,6 @@ public enum TableSourceType implements com.google.protobuf.ProtocolMessageEnum { */ TABLE_SOURCE_TYPE_UNSPECIFIED(0), /** - * - * *
    * Table view.
    * 
@@ -49,8 +29,6 @@ public enum TableSourceType implements com.google.protobuf.ProtocolMessageEnum { */ BIGQUERY_VIEW(2), /** - * - * *
    * BigQuery native table.
    * 
@@ -58,12 +36,18 @@ public enum TableSourceType implements com.google.protobuf.ProtocolMessageEnum { * BIGQUERY_TABLE = 5; */ BIGQUERY_TABLE(5), + /** + *
+   * BigQuery materialized view.
+   * 
+ * + * BIGQUERY_MATERIALIZED_VIEW = 7; + */ + BIGQUERY_MATERIALIZED_VIEW(7), UNRECOGNIZED(-1), ; /** - * - * *
    * Default unknown type.
    * 
@@ -72,8 +56,6 @@ public enum TableSourceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TABLE_SOURCE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Table view.
    * 
@@ -82,8 +64,6 @@ public enum TableSourceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIGQUERY_VIEW_VALUE = 2; /** - * - * *
    * BigQuery native table.
    * 
@@ -91,6 +71,15 @@ public enum TableSourceType implements com.google.protobuf.ProtocolMessageEnum { * BIGQUERY_TABLE = 5; */ public static final int BIGQUERY_TABLE_VALUE = 5; + /** + *
+   * BigQuery materialized view.
+   * 
+ * + * BIGQUERY_MATERIALIZED_VIEW = 7; + */ + public static final int BIGQUERY_MATERIALIZED_VIEW_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { @@ -116,51 +105,50 @@ public static TableSourceType valueOf(int value) { */ public static TableSourceType forNumber(int value) { switch (value) { - case 0: - return TABLE_SOURCE_TYPE_UNSPECIFIED; - case 2: - return BIGQUERY_VIEW; - case 5: - return BIGQUERY_TABLE; - default: - return null; + case 0: return TABLE_SOURCE_TYPE_UNSPECIFIED; + case 2: return BIGQUERY_VIEW; + case 5: return BIGQUERY_TABLE; + case 7: return BIGQUERY_MATERIALIZED_VIEW; + 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 TableSourceType findValueByNumber(int number) { - return TableSourceType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + TableSourceType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TableSourceType findValueByNumber(int number) { + return TableSourceType.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.datacatalog.v1beta1.TableSpecOuterClass.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.getDescriptor().getEnumTypes().get(0); } private static final TableSourceType[] VALUES = values(); - public static TableSourceType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static TableSourceType 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; @@ -176,3 +164,4 @@ private TableSourceType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1beta1.TableSourceType) } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpec.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpec.java similarity index 62% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpec.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpec.java index 939ba12a1a12..7d6fc0fbe653 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpec.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpec.java @@ -1,86 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/table_spec.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Normal BigQuery table spec.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.TableSpec} */ -public final class TableSpec extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TableSpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.TableSpec) TableSpecOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TableSpec.newBuilder() to construct. private TableSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TableSpec() { groupedEntry_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TableSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass - .internal_static_google_cloud_datacatalog_v1beta1_TableSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_TableSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass - .internal_static_google_cloud_datacatalog_v1beta1_TableSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_TableSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.TableSpec.class, - com.google.cloud.datacatalog.v1beta1.TableSpec.Builder.class); + com.google.cloud.datacatalog.v1beta1.TableSpec.class, com.google.cloud.datacatalog.v1beta1.TableSpec.Builder.class); } public static final int GROUPED_ENTRY_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object groupedEntry_ = ""; /** - * - * *
-   * Output only. If the table is a dated shard, i.e., with name pattern `[prefix]YYYYMMDD`,
-   * `grouped_entry` is the Data Catalog resource name of the date sharded
-   * grouped entry, for example,
+   * Output only. If the table is a dated shard, i.e., with name pattern
+   * `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of
+   * the date sharded grouped entry, for example,
    * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
    * Otherwise, `grouped_entry` is empty.
    * 
* - * - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The groupedEntry. */ @java.lang.Override @@ -89,35 +64,33 @@ public java.lang.String getGroupedEntry() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); groupedEntry_ = s; return s; } } /** - * - * *
-   * Output only. If the table is a dated shard, i.e., with name pattern `[prefix]YYYYMMDD`,
-   * `grouped_entry` is the Data Catalog resource name of the date sharded
-   * grouped entry, for example,
+   * Output only. If the table is a dated shard, i.e., with name pattern
+   * `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of
+   * the date sharded grouped entry, for example,
    * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
    * Otherwise, `grouped_entry` is empty.
    * 
* - * - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for groupedEntry. */ @java.lang.Override - public com.google.protobuf.ByteString getGroupedEntryBytes() { + public com.google.protobuf.ByteString + getGroupedEntryBytes() { java.lang.Object ref = groupedEntry_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); groupedEntry_ = b; return b; } else { @@ -126,7 +99,6 @@ public com.google.protobuf.ByteString getGroupedEntryBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -138,7 +110,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(groupedEntry_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, groupedEntry_); } @@ -162,15 +135,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1beta1.TableSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.TableSpec other = - (com.google.cloud.datacatalog.v1beta1.TableSpec) obj; + com.google.cloud.datacatalog.v1beta1.TableSpec other = (com.google.cloud.datacatalog.v1beta1.TableSpec) obj; - if (!getGroupedEntry().equals(other.getGroupedEntry())) return false; + if (!getGroupedEntry() + .equals(other.getGroupedEntry())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -189,136 +162,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1beta1.TableSpec parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1beta1.TableSpec parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.TableSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.TableSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.TableSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.TableSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.TableSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.TableSpec parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.TableSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.TableSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.TableSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.TableSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.TableSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.TableSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.TableSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Normal BigQuery table spec.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.TableSpec} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.TableSpec) com.google.cloud.datacatalog.v1beta1.TableSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass - .internal_static_google_cloud_datacatalog_v1beta1_TableSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_TableSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass - .internal_static_google_cloud_datacatalog_v1beta1_TableSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_TableSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.TableSpec.class, - com.google.cloud.datacatalog.v1beta1.TableSpec.Builder.class); + com.google.cloud.datacatalog.v1beta1.TableSpec.class, com.google.cloud.datacatalog.v1beta1.TableSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1beta1.TableSpec.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -328,9 +297,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass - .internal_static_google_cloud_datacatalog_v1beta1_TableSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_TableSpec_descriptor; } @java.lang.Override @@ -349,11 +318,8 @@ public com.google.cloud.datacatalog.v1beta1.TableSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TableSpec buildPartial() { - com.google.cloud.datacatalog.v1beta1.TableSpec result = - new com.google.cloud.datacatalog.v1beta1.TableSpec(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1beta1.TableSpec result = new com.google.cloud.datacatalog.v1beta1.TableSpec(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -369,39 +335,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.TableSpec result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1beta1.TableSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1beta1.TableSpec) other); + return mergeFrom((com.google.cloud.datacatalog.v1beta1.TableSpec)other); } else { super.mergeFrom(other); return this; @@ -441,19 +406,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - groupedEntry_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + groupedEntry_ = 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) { @@ -463,31 +426,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object groupedEntry_ = ""; /** - * - * *
-     * Output only. If the table is a dated shard, i.e., with name pattern `[prefix]YYYYMMDD`,
-     * `grouped_entry` is the Data Catalog resource name of the date sharded
-     * grouped entry, for example,
+     * Output only. If the table is a dated shard, i.e., with name pattern
+     * `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of
+     * the date sharded grouped entry, for example,
      * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
      * Otherwise, `grouped_entry` is empty.
      * 
* - * - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The groupedEntry. */ public java.lang.String getGroupedEntry() { java.lang.Object ref = groupedEntry_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); groupedEntry_ = s; return s; @@ -496,27 +454,24 @@ public java.lang.String getGroupedEntry() { } } /** - * - * *
-     * Output only. If the table is a dated shard, i.e., with name pattern `[prefix]YYYYMMDD`,
-     * `grouped_entry` is the Data Catalog resource name of the date sharded
-     * grouped entry, for example,
+     * Output only. If the table is a dated shard, i.e., with name pattern
+     * `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of
+     * the date sharded grouped entry, for example,
      * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
      * Otherwise, `grouped_entry` is empty.
      * 
* - * - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for groupedEntry. */ - public com.google.protobuf.ByteString getGroupedEntryBytes() { + public com.google.protobuf.ByteString + getGroupedEntryBytes() { java.lang.Object ref = groupedEntry_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); groupedEntry_ = b; return b; } else { @@ -524,47 +479,36 @@ public com.google.protobuf.ByteString getGroupedEntryBytes() { } } /** - * - * *
-     * Output only. If the table is a dated shard, i.e., with name pattern `[prefix]YYYYMMDD`,
-     * `grouped_entry` is the Data Catalog resource name of the date sharded
-     * grouped entry, for example,
+     * Output only. If the table is a dated shard, i.e., with name pattern
+     * `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of
+     * the date sharded grouped entry, for example,
      * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
      * Otherwise, `grouped_entry` is empty.
      * 
* - * - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The groupedEntry to set. * @return This builder for chaining. */ - public Builder setGroupedEntry(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setGroupedEntry( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } groupedEntry_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
-     * Output only. If the table is a dated shard, i.e., with name pattern `[prefix]YYYYMMDD`,
-     * `grouped_entry` is the Data Catalog resource name of the date sharded
-     * grouped entry, for example,
+     * Output only. If the table is a dated shard, i.e., with name pattern
+     * `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of
+     * the date sharded grouped entry, for example,
      * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
      * Otherwise, `grouped_entry` is empty.
      * 
* - * - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearGroupedEntry() { @@ -574,36 +518,30 @@ public Builder clearGroupedEntry() { return this; } /** - * - * *
-     * Output only. If the table is a dated shard, i.e., with name pattern `[prefix]YYYYMMDD`,
-     * `grouped_entry` is the Data Catalog resource name of the date sharded
-     * grouped entry, for example,
+     * Output only. If the table is a dated shard, i.e., with name pattern
+     * `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of
+     * the date sharded grouped entry, for example,
      * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
      * Otherwise, `grouped_entry` is empty.
      * 
* - * - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for groupedEntry to set. * @return This builder for chaining. */ - public Builder setGroupedEntryBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setGroupedEntryBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); groupedEntry_ = 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); } @@ -613,12 +551,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.TableSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.TableSpec) private static final com.google.cloud.datacatalog.v1beta1.TableSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.TableSpec(); } @@ -627,27 +565,27 @@ public static com.google.cloud.datacatalog.v1beta1.TableSpec getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -662,4 +600,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.TableSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOrBuilder.java new file mode 100644 index 000000000000..023a4f2841b6 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOrBuilder.java @@ -0,0 +1,37 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/table_spec.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface TableSpecOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.TableSpec) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Output only. If the table is a dated shard, i.e., with name pattern
+   * `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of
+   * the date sharded grouped entry, for example,
+   * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
+   * Otherwise, `grouped_entry` is empty.
+   * 
+ * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * @return The groupedEntry. + */ + java.lang.String getGroupedEntry(); + /** + *
+   * Output only. If the table is a dated shard, i.e., with name pattern
+   * `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of
+   * the date sharded grouped entry, for example,
+   * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
+   * Otherwise, `grouped_entry` is empty.
+   * 
+ * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * @return The bytes for groupedEntry. + */ + com.google.protobuf.ByteString + getGroupedEntryBytes(); +} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOuterClass.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOuterClass.java new file mode 100644 index 000000000000..6a7f7525f251 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOuterClass.java @@ -0,0 +1,114 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/table_spec.proto + +package com.google.cloud.datacatalog.v1beta1; + +public final class TableSpecOuterClass { + private TableSpecOuterClass() {} + 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_datacatalog_v1beta1_BigQueryTableSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_TableSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_TableSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n1google/cloud/datacatalog/v1beta1/table" + + "_spec.proto\022 google.cloud.datacatalog.v1" + + "beta1\032\037google/api/field_behavior.proto\032\031" + + "google/api/resource.proto\"\370\001\n\021BigQueryTa" + + "bleSpec\022R\n\021table_source_type\030\001 \001(\01621.goo" + + "gle.cloud.datacatalog.v1beta1.TableSourc" + + "eTypeB\004\342A\001\003\022?\n\tview_spec\030\002 \001(\0132*.google." + + "cloud.datacatalog.v1beta1.ViewSpecH\000\022A\n\n" + + "table_spec\030\003 \001(\0132+.google.cloud.datacata" + + "log.v1beta1.TableSpecH\000B\013\n\ttype_spec\"$\n\010" + + "ViewSpec\022\030\n\nview_query\030\001 \001(\tB\004\342A\001\003\"M\n\tTa" + + "bleSpec\022@\n\rgrouped_entry\030\001 \001(\tB)\342A\001\003\372A\"\n" + + " datacatalog.googleapis.com/Entry\"\214\001\n\027Bi" + + "gQueryDateShardedSpec\022:\n\007dataset\030\001 \001(\tB)" + + "\342A\001\003\372A\"\n datacatalog.googleapis.com/Entr" + + "y\022\032\n\014table_prefix\030\002 \001(\tB\004\342A\001\003\022\031\n\013shard_c" + + "ount\030\003 \001(\003B\004\342A\001\003*{\n\017TableSourceType\022!\n\035T" + + "ABLE_SOURCE_TYPE_UNSPECIFIED\020\000\022\021\n\rBIGQUE" + + "RY_VIEW\020\002\022\022\n\016BIGQUERY_TABLE\020\005\022\036\n\032BIGQUER" + + "Y_MATERIALIZED_VIEW\020\007B\337\001\n$com.google.clo" + + "ud.datacatalog.v1beta1P\001ZFcloud.google.c" + + "om/go/datacatalog/apiv1beta1/datacatalog" + + "pb;datacatalogpb\370\001\001\252\002 Google.Cloud.DataC" + + "atalog.V1Beta1\312\002 Google\\Cloud\\DataCatalo" + + "g\\V1beta1\352\002#Google::Cloud::DataCatalog::" + + "V1beta1b\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(), + }); + internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_descriptor, + new java.lang.String[] { "TableSourceType", "ViewSpec", "TableSpec", "TypeSpec", }); + internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_descriptor, + new java.lang.String[] { "ViewQuery", }); + internal_static_google_cloud_datacatalog_v1beta1_TableSpec_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_datacatalog_v1beta1_TableSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_TableSpec_descriptor, + new java.lang.String[] { "GroupedEntry", }); + internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_descriptor, + new java.lang.String[] { "Dataset", "TablePrefix", "ShardCount", }); + 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tag.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tag.java similarity index 65% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tag.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tag.java index b7a96f98bb01..70c003d3423d 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tag.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tag.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/tags.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Tags are used to attach custom metadata to Data Catalog resources. Tags
  * conform to the specifications within their tag template.
@@ -32,16 +15,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.Tag}
  */
-public final class Tag extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Tag extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.Tag)
     TagOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Tag.newBuilder() to construct.
   private Tag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Tag() {
     name_ = "";
     template_ = "";
@@ -50,49 +32,45 @@ private Tag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Tag();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Tags
-        .internal_static_google_cloud_datacatalog_v1beta1_Tag_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_Tag_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 internalGetFields();
       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.datacatalog.v1beta1.Tags
-        .internal_static_google_cloud_datacatalog_v1beta1_Tag_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_Tag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.Tag.class,
-            com.google.cloud.datacatalog.v1beta1.Tag.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.Tag.class, com.google.cloud.datacatalog.v1beta1.Tag.Builder.class);
   }
 
   private int scopeCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object scope_;
-
   public enum ScopeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     COLUMN(4),
     SCOPE_NOT_SET(0);
     private final int value;
-
     private ScopeCase(int value) {
       this.value = value;
     }
@@ -108,31 +86,26 @@ public static ScopeCase valueOf(int value) {
 
     public static ScopeCase forNumber(int value) {
       switch (value) {
-        case 4:
-          return COLUMN;
-        case 0:
-          return SCOPE_NOT_SET;
-        default:
-          return null;
+        case 4: return COLUMN;
+        case 0: return SCOPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ScopeCase getScopeCase() {
-    return ScopeCase.forNumber(scopeCase_);
+  public ScopeCase
+  getScopeCase() {
+    return ScopeCase.forNumber(
+        scopeCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The resource name of the tag in URL format. Example:
    *
@@ -143,7 +116,6 @@ public ScopeCase getScopeCase() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -152,15 +124,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The resource name of the tag in URL format. Example:
    *
@@ -171,15 +142,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 { @@ -188,14 +160,12 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int TEMPLATE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object template_ = ""; /** - * - * *
-   * Required. The resource name of the tag template that this tag uses. Example:
+   * Required. The resource name of the tag template that this tag uses.
+   * Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
    *
@@ -203,7 +173,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The template. */ @java.lang.Override @@ -212,17 +181,17 @@ public java.lang.String getTemplate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); template_ = s; return s; } } /** - * - * *
-   * Required. The resource name of the tag template that this tag uses. Example:
+   * Required. The resource name of the tag template that this tag uses.
+   * Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
    *
@@ -230,15 +199,16 @@ public java.lang.String getTemplate() {
    * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for template. */ @java.lang.Override - public com.google.protobuf.ByteString getTemplateBytes() { + public com.google.protobuf.ByteString + getTemplateBytes() { java.lang.Object ref = template_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); template_ = b; return b; } else { @@ -247,18 +217,14 @@ public com.google.protobuf.ByteString getTemplateBytes() { } public static final int TEMPLATE_DISPLAY_NAME_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object templateDisplayName_ = ""; /** - * - * *
    * Output only. The display name of the tag template.
    * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The templateDisplayName. */ @java.lang.Override @@ -267,29 +233,29 @@ public java.lang.String getTemplateDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); templateDisplayName_ = s; return s; } } /** - * - * *
    * Output only. The display name of the tag template.
    * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for templateDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString getTemplateDisplayNameBytes() { + public com.google.protobuf.ByteString + getTemplateDisplayNameBytes() { java.lang.Object ref = templateDisplayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); templateDisplayName_ = b; return b; } else { @@ -299,8 +265,6 @@ public com.google.protobuf.ByteString getTemplateDisplayNameBytes() { public static final int COLUMN_FIELD_NUMBER = 4; /** - * - * *
    * Resources like Entry can have schemas associated with them. This scope
    * allows users to attach tags to an individual column based on that schema.
@@ -312,15 +276,12 @@ public com.google.protobuf.ByteString getTemplateDisplayNameBytes() {
    * 
* * string column = 4; - * * @return Whether the column field is set. */ public boolean hasColumn() { return scopeCase_ == 4; } /** - * - * *
    * Resources like Entry can have schemas associated with them. This scope
    * allows users to attach tags to an individual column based on that schema.
@@ -332,7 +293,6 @@ public boolean hasColumn() {
    * 
* * string column = 4; - * * @return The column. */ public java.lang.String getColumn() { @@ -343,7 +303,8 @@ 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(); if (scopeCase_ == 4) { scope_ = s; @@ -352,8 +313,6 @@ public java.lang.String getColumn() { } } /** - * - * *
    * Resources like Entry can have schemas associated with them. This scope
    * allows users to attach tags to an individual column based on that schema.
@@ -365,17 +324,18 @@ public java.lang.String getColumn() {
    * 
* * string column = 4; - * * @return The bytes for column. */ - public com.google.protobuf.ByteString getColumnBytes() { + public com.google.protobuf.ByteString + getColumnBytes() { java.lang.Object ref = ""; if (scopeCase_ == 4) { ref = scope_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (scopeCase_ == 4) { scope_ = b; } @@ -386,127 +346,100 @@ public com.google.protobuf.ByteString getColumnBytes() { } public static final int FIELDS_FIELD_NUMBER = 3; - private static final class FieldsDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.datacatalog.v1beta1.TagField> - defaultEntry = + java.lang.String, com.google.cloud.datacatalog.v1beta1.TagField> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.cloud.datacatalog.v1beta1.Tags - .internal_static_google_cloud_datacatalog_v1beta1_Tag_FieldsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.datacatalog.v1beta1.TagField.getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_Tag_FieldsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.datacatalog.v1beta1.TagField.getDefaultInstance()); } - @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1beta1.TagField> - fields_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1beta1.TagField> - internalGetFields() { + java.lang.String, com.google.cloud.datacatalog.v1beta1.TagField> fields_; + private com.google.protobuf.MapField + internalGetFields() { if (fields_ == null) { - return com.google.protobuf.MapField.emptyMapField(FieldsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + FieldsDefaultEntryHolder.defaultEntry); } return fields_; } - public int getFieldsCount() { return internalGetFields().getMap().size(); } /** - * - * *
-   * Required. This maps the ID of a tag field to the value of and additional information
-   * about that field. Valid field IDs are defined by the tag's template. A tag
-   * must have at least 1 field and at most 500 fields.
+   * Required. This maps the ID of a tag field to the value of and additional
+   * information about that field. Valid field IDs are defined by the tag's
+   * template. A tag must have at least 1 field and at most 500 fields.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public boolean containsFields(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsFields( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetFields().getMap().containsKey(key); } - /** Use {@link #getFieldsMap()} instead. */ + /** + * Use {@link #getFieldsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getFields() { + public java.util.Map getFields() { return getFieldsMap(); } /** - * - * *
-   * Required. This maps the ID of a tag field to the value of and additional information
-   * about that field. Valid field IDs are defined by the tag's template. A tag
-   * must have at least 1 field and at most 500 fields.
+   * Required. This maps the ID of a tag field to the value of and additional
+   * information about that field. Valid field IDs are defined by the tag's
+   * template. A tag must have at least 1 field and at most 500 fields.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.Map - getFieldsMap() { + public java.util.Map getFieldsMap() { return internalGetFields().getMap(); } /** - * - * *
-   * Required. This maps the ID of a tag field to the value of and additional information
-   * about that field. Valid field IDs are defined by the tag's template. A tag
-   * must have at least 1 field and at most 500 fields.
+   * Required. This maps the ID of a tag field to the value of and additional
+   * information about that field. Valid field IDs are defined by the tag's
+   * template. A tag must have at least 1 field and at most 500 fields.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public /* nullable */ com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrDefault( + public /* nullable */ +com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.datacatalog.v1beta1.TagField defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } +com.google.cloud.datacatalog.v1beta1.TagField defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetFields().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
-   * Required. This maps the ID of a tag field to the value of and additional information
-   * about that field. Valid field IDs are defined by the tag's template. A tag
-   * must have at least 1 field and at most 500 fields.
+   * Required. This maps the ID of a tag field to the value of and additional
+   * information about that field. Valid field IDs are defined by the tag's
+   * template. A tag must have at least 1 field and at most 500 fields.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetFields().getMap(); if (!map.containsKey(key)) { @@ -516,7 +449,6 @@ public com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrThrow(java.lang. } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -528,15 +460,20 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(template_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, template_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetFields(), FieldsDefaultEntryHolder.defaultEntry, 3); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetFields(), + FieldsDefaultEntryHolder.defaultEntry, + 3); if (scopeCase_ == 4) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, scope_); } @@ -558,16 +495,15 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(template_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, template_); } - for (java.util.Map.Entry - entry : internalGetFields().getMap().entrySet()) { + for (java.util.Map.Entry entry + : internalGetFields().getMap().entrySet()) { com.google.protobuf.MapEntry - fields__ = - FieldsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, fields__); + fields__ = FieldsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, fields__); } if (scopeCase_ == 4) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, scope_); @@ -583,21 +519,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.datacatalog.v1beta1.Tag)) { return super.equals(obj); } com.google.cloud.datacatalog.v1beta1.Tag other = (com.google.cloud.datacatalog.v1beta1.Tag) obj; - if (!getName().equals(other.getName())) return false; - if (!getTemplate().equals(other.getTemplate())) return false; - if (!getTemplateDisplayName().equals(other.getTemplateDisplayName())) return false; - if (!internalGetFields().equals(other.internalGetFields())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getTemplate() + .equals(other.getTemplate())) return false; + if (!getTemplateDisplayName() + .equals(other.getTemplateDisplayName())) return false; + if (!internalGetFields().equals( + other.internalGetFields())) return false; if (!getScopeCase().equals(other.getScopeCase())) return false; switch (scopeCase_) { case 4: - if (!getColumn().equals(other.getColumn())) return false; + if (!getColumn() + .equals(other.getColumn())) return false; break; case 0: default: @@ -636,104 +577,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1beta1.Tag parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1beta1.Tag parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.Tag parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.Tag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.Tag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.Tag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.Tag parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.Tag parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.Tag parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.Tag parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.Tag parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.Tag parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.Tag parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.Tag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.Tag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Tags are used to attach custom metadata to Data Catalog resources. Tags
    * conform to the specifications within their tag template.
@@ -745,52 +681,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.Tag}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.Tag)
       com.google.cloud.datacatalog.v1beta1.TagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Tags
-          .internal_static_google_cloud_datacatalog_v1beta1_Tag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_Tag_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 3:
           return internalGetFields();
         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 internalGetMutableFields();
         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.datacatalog.v1beta1.Tags
-          .internal_static_google_cloud_datacatalog_v1beta1_Tag_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_Tag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.Tag.class,
-              com.google.cloud.datacatalog.v1beta1.Tag.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.Tag.class, com.google.cloud.datacatalog.v1beta1.Tag.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.Tag.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -805,9 +744,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Tags
-          .internal_static_google_cloud_datacatalog_v1beta1_Tag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_Tag_descriptor;
     }
 
     @java.lang.Override
@@ -826,11 +765,8 @@ public com.google.cloud.datacatalog.v1beta1.Tag build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.Tag buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.Tag result =
-          new com.google.cloud.datacatalog.v1beta1.Tag(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.Tag result = new com.google.cloud.datacatalog.v1beta1.Tag(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -862,39 +798,38 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1beta1.Tag result)
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.Tag) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.Tag) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.Tag)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -918,20 +853,19 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.Tag other) {
         bitField0_ |= 0x00000004;
         onChanged();
       }
-      internalGetMutableFields().mergeFrom(other.internalGetFields());
+      internalGetMutableFields().mergeFrom(
+          other.internalGetFields());
       bitField0_ |= 0x00000010;
       switch (other.getScopeCase()) {
-        case COLUMN:
-          {
-            scopeCase_ = 4;
-            scope_ = other.scope_;
-            onChanged();
-            break;
-          }
-        case SCOPE_NOT_SET:
-          {
-            break;
-          }
+        case COLUMN: {
+          scopeCase_ = 4;
+          scope_ = other.scope_;
+          onChanged();
+          break;
+        }
+        case SCOPE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -959,52 +893,42 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                template_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                com.google.protobuf.MapEntry<
-                        java.lang.String, com.google.cloud.datacatalog.v1beta1.TagField>
-                    fields__ =
-                        input.readMessage(
-                            FieldsDefaultEntryHolder.defaultEntry.getParserForType(),
-                            extensionRegistry);
-                internalGetMutableFields()
-                    .getMutableMap()
-                    .put(fields__.getKey(), fields__.getValue());
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 26
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                scopeCase_ = 4;
-                scope_ = s;
-                break;
-              } // case 34
-            case 42:
-              {
-                templateDisplayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              template_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              com.google.protobuf.MapEntry
+              fields__ = input.readMessage(
+                  FieldsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableFields().getMutableMap().put(
+                  fields__.getKey(), fields__.getValue());
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 26
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
+              scopeCase_ = 4;
+              scope_ = s;
+              break;
+            } // case 34
+            case 42: {
+              templateDisplayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              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) {
@@ -1014,12 +938,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int scopeCase_ = 0;
     private java.lang.Object scope_;
-
-    public ScopeCase getScopeCase() {
-      return ScopeCase.forNumber(scopeCase_);
+    public ScopeCase
+        getScopeCase() {
+      return ScopeCase.forNumber(
+          scopeCase_);
     }
 
     public Builder clearScope() {
@@ -1033,8 +957,6 @@ public Builder clearScope() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The resource name of the tag in URL format. Example:
      *
@@ -1045,13 +967,13 @@ public Builder clearScope() {
      * 
* * 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; @@ -1060,8 +982,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the tag in URL format. Example:
      *
@@ -1072,14 +992,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 { @@ -1087,8 +1008,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The resource name of the tag in URL format. Example:
      *
@@ -1099,22 +1018,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The resource name of the tag in URL format. Example:
      *
@@ -1125,7 +1040,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1135,8 +1049,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The resource name of the tag in URL format. Example:
      *
@@ -1147,14 +1059,12 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1164,10 +1074,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object template_ = ""; /** - * - * *
-     * Required. The resource name of the tag template that this tag uses. Example:
+     * Required. The resource name of the tag template that this tag uses.
+     * Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
      *
@@ -1175,13 +1084,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The template. */ public java.lang.String getTemplate() { java.lang.Object ref = template_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); template_ = s; return s; @@ -1190,10 +1099,9 @@ public java.lang.String getTemplate() { } } /** - * - * *
-     * Required. The resource name of the tag template that this tag uses. Example:
+     * Required. The resource name of the tag template that this tag uses.
+     * Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
      *
@@ -1201,14 +1109,15 @@ public java.lang.String getTemplate() {
      * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for template. */ - public com.google.protobuf.ByteString getTemplateBytes() { + public com.google.protobuf.ByteString + getTemplateBytes() { java.lang.Object ref = template_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); template_ = b; return b; } else { @@ -1216,10 +1125,9 @@ public com.google.protobuf.ByteString getTemplateBytes() { } } /** - * - * *
-     * Required. The resource name of the tag template that this tag uses. Example:
+     * Required. The resource name of the tag template that this tag uses.
+     * Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
      *
@@ -1227,24 +1135,21 @@ public com.google.protobuf.ByteString getTemplateBytes() {
      * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The template to set. * @return This builder for chaining. */ - public Builder setTemplate(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTemplate( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } template_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
-     * Required. The resource name of the tag template that this tag uses. Example:
+     * Required. The resource name of the tag template that this tag uses.
+     * Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
      *
@@ -1252,7 +1157,6 @@ public Builder setTemplate(java.lang.String value) {
      * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTemplate() { @@ -1262,10 +1166,9 @@ public Builder clearTemplate() { return this; } /** - * - * *
-     * Required. The resource name of the tag template that this tag uses. Example:
+     * Required. The resource name of the tag template that this tag uses.
+     * Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
      *
@@ -1273,14 +1176,12 @@ public Builder clearTemplate() {
      * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for template to set. * @return This builder for chaining. */ - public Builder setTemplateBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTemplateBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); template_ = value; bitField0_ |= 0x00000002; @@ -1290,20 +1191,18 @@ public Builder setTemplateBytes(com.google.protobuf.ByteString value) { private java.lang.Object templateDisplayName_ = ""; /** - * - * *
      * Output only. The display name of the tag template.
      * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The templateDisplayName. */ public java.lang.String getTemplateDisplayName() { java.lang.Object ref = templateDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); templateDisplayName_ = s; return s; @@ -1312,21 +1211,20 @@ public java.lang.String getTemplateDisplayName() { } } /** - * - * *
      * Output only. The display name of the tag template.
      * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for templateDisplayName. */ - public com.google.protobuf.ByteString getTemplateDisplayNameBytes() { + public com.google.protobuf.ByteString + getTemplateDisplayNameBytes() { java.lang.Object ref = templateDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); templateDisplayName_ = b; return b; } else { @@ -1334,35 +1232,28 @@ public com.google.protobuf.ByteString getTemplateDisplayNameBytes() { } } /** - * - * *
      * Output only. The display name of the tag template.
      * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The templateDisplayName to set. * @return This builder for chaining. */ - public Builder setTemplateDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTemplateDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } templateDisplayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Output only. The display name of the tag template.
      * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearTemplateDisplayName() { @@ -1372,21 +1263,17 @@ public Builder clearTemplateDisplayName() { return this; } /** - * - * *
      * Output only. The display name of the tag template.
      * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for templateDisplayName to set. * @return This builder for chaining. */ - public Builder setTemplateDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTemplateDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); templateDisplayName_ = value; bitField0_ |= 0x00000004; @@ -1395,8 +1282,6 @@ public Builder setTemplateDisplayNameBytes(com.google.protobuf.ByteString value) } /** - * - * *
      * Resources like Entry can have schemas associated with them. This scope
      * allows users to attach tags to an individual column based on that schema.
@@ -1408,7 +1293,6 @@ public Builder setTemplateDisplayNameBytes(com.google.protobuf.ByteString value)
      * 
* * string column = 4; - * * @return Whether the column field is set. */ @java.lang.Override @@ -1416,8 +1300,6 @@ public boolean hasColumn() { return scopeCase_ == 4; } /** - * - * *
      * Resources like Entry can have schemas associated with them. This scope
      * allows users to attach tags to an individual column based on that schema.
@@ -1429,7 +1311,6 @@ public boolean hasColumn() {
      * 
* * string column = 4; - * * @return The column. */ @java.lang.Override @@ -1439,7 +1320,8 @@ public java.lang.String getColumn() { ref = scope_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (scopeCase_ == 4) { scope_ = s; @@ -1450,8 +1332,6 @@ public java.lang.String getColumn() { } } /** - * - * *
      * Resources like Entry can have schemas associated with them. This scope
      * allows users to attach tags to an individual column based on that schema.
@@ -1463,18 +1343,19 @@ public java.lang.String getColumn() {
      * 
* * string column = 4; - * * @return The bytes for column. */ @java.lang.Override - public com.google.protobuf.ByteString getColumnBytes() { + public com.google.protobuf.ByteString + getColumnBytes() { java.lang.Object ref = ""; if (scopeCase_ == 4) { ref = scope_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (scopeCase_ == 4) { scope_ = b; } @@ -1484,8 +1365,6 @@ public com.google.protobuf.ByteString getColumnBytes() { } } /** - * - * *
      * Resources like Entry can have schemas associated with them. This scope
      * allows users to attach tags to an individual column based on that schema.
@@ -1497,22 +1376,18 @@ public com.google.protobuf.ByteString getColumnBytes() {
      * 
* * string column = 4; - * * @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(); } scopeCase_ = 4; scope_ = value; onChanged(); return this; } /** - * - * *
      * Resources like Entry can have schemas associated with them. This scope
      * allows users to attach tags to an individual column based on that schema.
@@ -1524,7 +1399,6 @@ public Builder setColumn(java.lang.String value) {
      * 
* * string column = 4; - * * @return This builder for chaining. */ public Builder clearColumn() { @@ -1536,8 +1410,6 @@ public Builder clearColumn() { return this; } /** - * - * *
      * Resources like Entry can have schemas associated with them. This scope
      * allows users to attach tags to an individual column based on that schema.
@@ -1549,14 +1421,12 @@ public Builder clearColumn() {
      * 
* * string column = 4; - * * @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); scopeCase_ = 4; scope_ = value; @@ -1565,23 +1435,20 @@ public Builder setColumnBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1beta1.TagField> - fields_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1beta1.TagField> + java.lang.String, com.google.cloud.datacatalog.v1beta1.TagField> fields_; + private com.google.protobuf.MapField internalGetFields() { if (fields_ == null) { - return com.google.protobuf.MapField.emptyMapField(FieldsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + FieldsDefaultEntryHolder.defaultEntry); } return fields_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1beta1.TagField> + private com.google.protobuf.MapField internalGetMutableFields() { if (fields_ == null) { - fields_ = com.google.protobuf.MapField.newMapField(FieldsDefaultEntryHolder.defaultEntry); + fields_ = com.google.protobuf.MapField.newMapField( + FieldsDefaultEntryHolder.defaultEntry); } if (!fields_.isMutable()) { fields_ = fields_.copy(); @@ -1590,98 +1457,78 @@ public Builder setColumnBytes(com.google.protobuf.ByteString value) { onChanged(); return fields_; } - public int getFieldsCount() { return internalGetFields().getMap().size(); } /** - * - * *
-     * Required. This maps the ID of a tag field to the value of and additional information
-     * about that field. Valid field IDs are defined by the tag's template. A tag
-     * must have at least 1 field and at most 500 fields.
+     * Required. This maps the ID of a tag field to the value of and additional
+     * information about that field. Valid field IDs are defined by the tag's
+     * template. A tag must have at least 1 field and at most 500 fields.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public boolean containsFields(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsFields( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetFields().getMap().containsKey(key); } - /** Use {@link #getFieldsMap()} instead. */ + /** + * Use {@link #getFieldsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getFields() { + public java.util.Map getFields() { return getFieldsMap(); } /** - * - * *
-     * Required. This maps the ID of a tag field to the value of and additional information
-     * about that field. Valid field IDs are defined by the tag's template. A tag
-     * must have at least 1 field and at most 500 fields.
+     * Required. This maps the ID of a tag field to the value of and additional
+     * information about that field. Valid field IDs are defined by the tag's
+     * template. A tag must have at least 1 field and at most 500 fields.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.Map - getFieldsMap() { + public java.util.Map getFieldsMap() { return internalGetFields().getMap(); } /** - * - * *
-     * Required. This maps the ID of a tag field to the value of and additional information
-     * about that field. Valid field IDs are defined by the tag's template. A tag
-     * must have at least 1 field and at most 500 fields.
+     * Required. This maps the ID of a tag field to the value of and additional
+     * information about that field. Valid field IDs are defined by the tag's
+     * template. A tag must have at least 1 field and at most 500 fields.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public /* nullable */ com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrDefault( + public /* nullable */ +com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.datacatalog.v1beta1.TagField defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } +com.google.cloud.datacatalog.v1beta1.TagField defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetFields().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
-     * Required. This maps the ID of a tag field to the value of and additional information
-     * about that field. Valid field IDs are defined by the tag's template. A tag
-     * must have at least 1 field and at most 500 fields.
+     * Required. This maps the ID of a tag field to the value of and additional
+     * information about that field. Valid field IDs are defined by the tag's
+     * template. A tag must have at least 1 field and at most 500 fields.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetFields().getMap(); if (!map.containsKey(key)) { @@ -1689,33 +1536,31 @@ public com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrThrow(java.lang. } return map.get(key); } - public Builder clearFields() { bitField0_ = (bitField0_ & ~0x00000010); - internalGetMutableFields().getMutableMap().clear(); + internalGetMutableFields().getMutableMap() + .clear(); return this; } /** - * - * *
-     * Required. This maps the ID of a tag field to the value of and additional information
-     * about that field. Valid field IDs are defined by the tag's template. A tag
-     * must have at least 1 field and at most 500 fields.
+     * Required. This maps the ID of a tag field to the value of and additional
+     * information about that field. Valid field IDs are defined by the tag's
+     * template. A tag must have at least 1 field and at most 500 fields.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder removeFields(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableFields().getMutableMap().remove(key); + public Builder removeFields( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableFields().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated public java.util.Map getMutableFields() { @@ -1723,52 +1568,43 @@ public Builder removeFields(java.lang.String key) { return internalGetMutableFields().getMutableMap(); } /** - * - * *
-     * Required. This maps the ID of a tag field to the value of and additional information
-     * about that field. Valid field IDs are defined by the tag's template. A tag
-     * must have at least 1 field and at most 500 fields.
+     * Required. This maps the ID of a tag field to the value of and additional
+     * information about that field. Valid field IDs are defined by the tag's
+     * template. A tag must have at least 1 field and at most 500 fields.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder putFields( - java.lang.String key, com.google.cloud.datacatalog.v1beta1.TagField value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableFields().getMutableMap().put(key, value); + java.lang.String key, + com.google.cloud.datacatalog.v1beta1.TagField value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableFields().getMutableMap() + .put(key, value); bitField0_ |= 0x00000010; return this; } /** - * - * *
-     * Required. This maps the ID of a tag field to the value of and additional information
-     * about that field. Valid field IDs are defined by the tag's template. A tag
-     * must have at least 1 field and at most 500 fields.
+     * Required. This maps the ID of a tag field to the value of and additional
+     * information about that field. Valid field IDs are defined by the tag's
+     * template. A tag must have at least 1 field and at most 500 fields.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder putAllFields( java.util.Map values) { - internalGetMutableFields().getMutableMap().putAll(values); + internalGetMutableFields().getMutableMap() + .putAll(values); bitField0_ |= 0x00000010; return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1778,12 +1614,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.Tag) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.Tag) private static final com.google.cloud.datacatalog.v1beta1.Tag DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.Tag(); } @@ -1792,27 +1628,27 @@ public static com.google.cloud.datacatalog.v1beta1.Tag getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Tag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Tag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1827,4 +1663,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.Tag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagField.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagField.java similarity index 72% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagField.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagField.java index 6d215587b81b..c6fc0320ad5b 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagField.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagField.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/tags.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Contains the value and supporting information for a field within
  * a [Tag][google.cloud.datacatalog.v1beta1.Tag].
@@ -28,128 +11,112 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.TagField}
  */
-public final class TagField extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TagField extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.TagField)
     TagFieldOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TagField.newBuilder() to construct.
   private TagField(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private TagField() {
     displayName_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TagField();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Tags
-        .internal_static_google_cloud_datacatalog_v1beta1_TagField_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagField_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Tags
-        .internal_static_google_cloud_datacatalog_v1beta1_TagField_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagField_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.TagField.class,
-            com.google.cloud.datacatalog.v1beta1.TagField.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.TagField.class, com.google.cloud.datacatalog.v1beta1.TagField.Builder.class);
   }
 
-  public interface EnumValueOrBuilder
-      extends
+  public interface EnumValueOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.TagField.EnumValue)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The display name of the enum value.
      * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
      * The display name of the enum value.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); } /** - * - * *
    * Holds an enum value.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.TagField.EnumValue} */ - public static final class EnumValue extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class EnumValue extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.TagField.EnumValue) EnumValueOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use EnumValue.newBuilder() to construct. private EnumValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private EnumValue() { displayName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new EnumValue(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Tags - .internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.Tags - .internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.class, - com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.Builder.class); + com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.class, com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
      * The display name of the enum value.
      * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -158,29 +125,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
      * The display name of the enum value.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -189,7 +156,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +167,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -225,15 +192,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1beta1.TagField.EnumValue)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.TagField.EnumValue other = - (com.google.cloud.datacatalog.v1beta1.TagField.EnumValue) obj; + com.google.cloud.datacatalog.v1beta1.TagField.EnumValue other = (com.google.cloud.datacatalog.v1beta1.TagField.EnumValue) obj; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -253,94 +220,89 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.TagField.EnumValue parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.TagField.EnumValue parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.TagField.EnumValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.TagField.EnumValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.TagField.EnumValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.TagField.EnumValue parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.TagField.EnumValue parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.TagField.EnumValue parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.TagField.EnumValue parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.TagField.EnumValue parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.TagField.EnumValue parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.TagField.EnumValue parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.TagField.EnumValue parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.TagField.EnumValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.TagField.EnumValue prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.TagField.EnumValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -350,41 +312,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Holds an enum value.
      * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.TagField.EnumValue} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.TagField.EnumValue) com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Tags - .internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.Tags - .internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.class, - com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.Builder.class); + com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.class, com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.Builder.class); } // Construct using com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -394,9 +354,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.Tags - .internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_descriptor; } @java.lang.Override @@ -415,11 +375,8 @@ public com.google.cloud.datacatalog.v1beta1.TagField.EnumValue build() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TagField.EnumValue buildPartial() { - com.google.cloud.datacatalog.v1beta1.TagField.EnumValue result = - new com.google.cloud.datacatalog.v1beta1.TagField.EnumValue(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1beta1.TagField.EnumValue result = new com.google.cloud.datacatalog.v1beta1.TagField.EnumValue(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -435,41 +392,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.TagField.EnumVal public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1beta1.TagField.EnumValue) { - return mergeFrom((com.google.cloud.datacatalog.v1beta1.TagField.EnumValue) other); + return mergeFrom((com.google.cloud.datacatalog.v1beta1.TagField.EnumValue)other); } else { super.mergeFrom(other); return this; @@ -477,8 +431,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.TagField.EnumValue other) { - if (other == com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.getDefaultInstance()) - return this; + if (other == com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.getDefaultInstance()) return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -510,19 +463,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + 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,25 +483,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object displayName_ = ""; /** - * - * *
        * The display name of the enum value.
        * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -559,21 +507,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
        * The display name of the enum value.
        * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -581,35 +528,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
        * The display name of the enum value.
        * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The display name of the enum value.
        * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -619,28 +559,23 @@ public Builder clearDisplayName() { return this; } /** - * - * *
        * The display name of the enum value.
        * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -653,12 +588,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.TagField.EnumValue) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.TagField.EnumValue) private static final com.google.cloud.datacatalog.v1beta1.TagField.EnumValue DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.TagField.EnumValue(); } @@ -667,28 +602,27 @@ public static com.google.cloud.datacatalog.v1beta1.TagField.EnumValue getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EnumValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EnumValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -703,16 +637,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.TagField.EnumValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int kindCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object kind_; - public enum KindCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DOUBLE_VALUE(2), STRING_VALUE(3), @@ -721,7 +653,6 @@ public enum KindCase ENUM_VALUE(6), KIND_NOT_SET(0); private final int value; - private KindCase(int value) { this.value = value; } @@ -737,45 +668,35 @@ public static KindCase valueOf(int value) { public static KindCase forNumber(int value) { switch (value) { - case 2: - return DOUBLE_VALUE; - case 3: - return STRING_VALUE; - case 4: - return BOOL_VALUE; - case 5: - return TIMESTAMP_VALUE; - case 6: - return ENUM_VALUE; - case 0: - return KIND_NOT_SET; - default: - return null; + case 2: return DOUBLE_VALUE; + case 3: return STRING_VALUE; + case 4: return BOOL_VALUE; + case 5: return TIMESTAMP_VALUE; + case 6: return ENUM_VALUE; + case 0: return KIND_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public KindCase getKindCase() { - return KindCase.forNumber(kindCase_); + public KindCase + getKindCase() { + return KindCase.forNumber( + kindCase_); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Output only. The display name of this field.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The displayName. */ @java.lang.Override @@ -784,29 +705,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; } } /** - * - * *
    * Output only. The display name of this field.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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 { @@ -816,14 +737,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DOUBLE_VALUE_FIELD_NUMBER = 2; /** - * - * *
    * Holds the value for a tag field with double type.
    * 
* * double double_value = 2; - * * @return Whether the doubleValue field is set. */ @java.lang.Override @@ -831,14 +749,11 @@ public boolean hasDoubleValue() { return kindCase_ == 2; } /** - * - * *
    * Holds the value for a tag field with double type.
    * 
* * double double_value = 2; - * * @return The doubleValue. */ @java.lang.Override @@ -851,28 +766,22 @@ public double getDoubleValue() { public static final int STRING_VALUE_FIELD_NUMBER = 3; /** - * - * *
    * Holds the value for a tag field with string type.
    * 
* * string string_value = 3; - * * @return Whether the stringValue field is set. */ public boolean hasStringValue() { return kindCase_ == 3; } /** - * - * *
    * Holds the value for a tag field with string type.
    * 
* * string string_value = 3; - * * @return The stringValue. */ public java.lang.String getStringValue() { @@ -883,7 +792,8 @@ public java.lang.String getStringValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (kindCase_ == 3) { kind_ = s; @@ -892,24 +802,23 @@ public java.lang.String getStringValue() { } } /** - * - * *
    * Holds the value for a tag field with string type.
    * 
* * string string_value = 3; - * * @return The bytes for stringValue. */ - public com.google.protobuf.ByteString getStringValueBytes() { + public com.google.protobuf.ByteString + getStringValueBytes() { java.lang.Object ref = ""; if (kindCase_ == 3) { ref = kind_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (kindCase_ == 3) { kind_ = b; } @@ -921,14 +830,11 @@ public com.google.protobuf.ByteString getStringValueBytes() { public static final int BOOL_VALUE_FIELD_NUMBER = 4; /** - * - * *
    * Holds the value for a tag field with boolean type.
    * 
* * bool bool_value = 4; - * * @return Whether the boolValue field is set. */ @java.lang.Override @@ -936,14 +842,11 @@ public boolean hasBoolValue() { return kindCase_ == 4; } /** - * - * *
    * Holds the value for a tag field with boolean type.
    * 
* * bool bool_value = 4; - * * @return The boolValue. */ @java.lang.Override @@ -956,14 +859,11 @@ public boolean getBoolValue() { public static final int TIMESTAMP_VALUE_FIELD_NUMBER = 5; /** - * - * *
    * Holds the value for a tag field with timestamp type.
    * 
* * .google.protobuf.Timestamp timestamp_value = 5; - * * @return Whether the timestampValue field is set. */ @java.lang.Override @@ -971,26 +871,21 @@ public boolean hasTimestampValue() { return kindCase_ == 5; } /** - * - * *
    * Holds the value for a tag field with timestamp type.
    * 
* * .google.protobuf.Timestamp timestamp_value = 5; - * * @return The timestampValue. */ @java.lang.Override public com.google.protobuf.Timestamp getTimestampValue() { if (kindCase_ == 5) { - return (com.google.protobuf.Timestamp) kind_; + return (com.google.protobuf.Timestamp) kind_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * Holds the value for a tag field with timestamp type.
    * 
@@ -1000,22 +895,19 @@ public com.google.protobuf.Timestamp getTimestampValue() { @java.lang.Override public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { if (kindCase_ == 5) { - return (com.google.protobuf.Timestamp) kind_; + return (com.google.protobuf.Timestamp) kind_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } public static final int ENUM_VALUE_FIELD_NUMBER = 6; /** - * - * *
    * Holds the value for a tag field with enum type. This value must be
    * one of the allowed values in the definition of this enum.
    * 
* * .google.cloud.datacatalog.v1beta1.TagField.EnumValue enum_value = 6; - * * @return Whether the enumValue field is set. */ @java.lang.Override @@ -1023,27 +915,22 @@ public boolean hasEnumValue() { return kindCase_ == 6; } /** - * - * *
    * Holds the value for a tag field with enum type. This value must be
    * one of the allowed values in the definition of this enum.
    * 
* * .google.cloud.datacatalog.v1beta1.TagField.EnumValue enum_value = 6; - * * @return The enumValue. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TagField.EnumValue getEnumValue() { if (kindCase_ == 6) { - return (com.google.cloud.datacatalog.v1beta1.TagField.EnumValue) kind_; + return (com.google.cloud.datacatalog.v1beta1.TagField.EnumValue) kind_; } return com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.getDefaultInstance(); } /** - * - * *
    * Holds the value for a tag field with enum type. This value must be
    * one of the allowed values in the definition of this enum.
@@ -1054,7 +941,7 @@ public com.google.cloud.datacatalog.v1beta1.TagField.EnumValue getEnumValue() {
   @java.lang.Override
   public com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder getEnumValueOrBuilder() {
     if (kindCase_ == 6) {
-      return (com.google.cloud.datacatalog.v1beta1.TagField.EnumValue) kind_;
+       return (com.google.cloud.datacatalog.v1beta1.TagField.EnumValue) kind_;
     }
     return com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.getDefaultInstance();
   }
@@ -1062,18 +949,16 @@ public com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder getEnumV
   public static final int ORDER_FIELD_NUMBER = 7;
   private int order_ = 0;
   /**
-   *
-   *
    * 
-   * Output only. The order of this field with respect to other fields in this tag. It can be
-   * set in [Tag][google.cloud.datacatalog.v1beta1.TagTemplateField.order]. For
+   * Output only. The order of this field with respect to other fields in this
+   * tag. It can be set in
+   * [Tag][google.cloud.datacatalog.v1beta1.TagTemplateField.order]. For
    * example, a higher value can indicate a more important field. The value can
    * be negative. Multiple fields can have the same order, and field orders
    * within a tag do not have to be sequential.
    * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The order. */ @java.lang.Override @@ -1082,7 +967,6 @@ public int getOrder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1094,18 +978,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(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } if (kindCase_ == 2) { - output.writeDouble(2, (double) ((java.lang.Double) kind_)); + output.writeDouble( + 2, (double)((java.lang.Double) kind_)); } if (kindCase_ == 3) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, kind_); } if (kindCase_ == 4) { - output.writeBool(4, (boolean) ((java.lang.Boolean) kind_)); + output.writeBool( + 4, (boolean)((java.lang.Boolean) kind_)); } if (kindCase_ == 5) { output.writeMessage(5, (com.google.protobuf.Timestamp) kind_); @@ -1129,30 +1016,29 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, displayName_); } if (kindCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeDoubleSize( - 2, (double) ((java.lang.Double) kind_)); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize( + 2, (double)((java.lang.Double) kind_)); } if (kindCase_ == 3) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, kind_); } if (kindCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 4, (boolean) ((java.lang.Boolean) kind_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 4, (boolean)((java.lang.Boolean) kind_)); } if (kindCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.protobuf.Timestamp) kind_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.protobuf.Timestamp) kind_); } if (kindCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.cloud.datacatalog.v1beta1.TagField.EnumValue) kind_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.cloud.datacatalog.v1beta1.TagField.EnumValue) kind_); } if (order_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, order_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, order_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1162,33 +1048,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.datacatalog.v1beta1.TagField)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.TagField other = - (com.google.cloud.datacatalog.v1beta1.TagField) obj; + com.google.cloud.datacatalog.v1beta1.TagField other = (com.google.cloud.datacatalog.v1beta1.TagField) obj; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (getOrder() != other.getOrder()) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (getOrder() + != other.getOrder()) return false; if (!getKindCase().equals(other.getKindCase())) return false; switch (kindCase_) { case 2: if (java.lang.Double.doubleToLongBits(getDoubleValue()) - != java.lang.Double.doubleToLongBits(other.getDoubleValue())) return false; + != java.lang.Double.doubleToLongBits( + other.getDoubleValue())) return false; break; case 3: - if (!getStringValue().equals(other.getStringValue())) return false; + if (!getStringValue() + .equals(other.getStringValue())) return false; break; case 4: - if (getBoolValue() != other.getBoolValue()) return false; + if (getBoolValue() + != other.getBoolValue()) return false; break; case 5: - if (!getTimestampValue().equals(other.getTimestampValue())) return false; + if (!getTimestampValue() + .equals(other.getTimestampValue())) return false; break; case 6: - if (!getEnumValue().equals(other.getEnumValue())) return false; + if (!getEnumValue() + .equals(other.getEnumValue())) return false; break; case 0: default: @@ -1211,10 +1103,8 @@ public int hashCode() { switch (kindCase_) { case 2: hash = (37 * hash) + DOUBLE_VALUE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDoubleValue())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDoubleValue())); break; case 3: hash = (37 * hash) + STRING_VALUE_FIELD_NUMBER; @@ -1222,7 +1112,8 @@ public int hashCode() { break; case 4: hash = (37 * hash) + BOOL_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBoolValue()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getBoolValue()); break; case 5: hash = (37 * hash) + TIMESTAMP_VALUE_FIELD_NUMBER; @@ -1240,104 +1131,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1beta1.TagField parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1beta1.TagField parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.TagField parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.TagField parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.TagField parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.TagField parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.TagField parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.TagField parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.TagField parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.TagField parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.TagField parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.TagField parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.TagField parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.TagField parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.TagField prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Contains the value and supporting information for a field within
    * a [Tag][google.cloud.datacatalog.v1beta1.Tag].
@@ -1345,32 +1231,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.TagField}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.TagField)
       com.google.cloud.datacatalog.v1beta1.TagFieldOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Tags
-          .internal_static_google_cloud_datacatalog_v1beta1_TagField_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagField_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Tags
-          .internal_static_google_cloud_datacatalog_v1beta1_TagField_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagField_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.TagField.class,
-              com.google.cloud.datacatalog.v1beta1.TagField.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.TagField.class, com.google.cloud.datacatalog.v1beta1.TagField.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.TagField.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1389,9 +1276,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Tags
-          .internal_static_google_cloud_datacatalog_v1beta1_TagField_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagField_descriptor;
     }
 
     @java.lang.Override
@@ -1410,11 +1297,8 @@ public com.google.cloud.datacatalog.v1beta1.TagField build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.TagField buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.TagField result =
-          new com.google.cloud.datacatalog.v1beta1.TagField(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.TagField result = new com.google.cloud.datacatalog.v1beta1.TagField(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1433,10 +1317,12 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.TagField result)
     private void buildPartialOneofs(com.google.cloud.datacatalog.v1beta1.TagField result) {
       result.kindCase_ = kindCase_;
       result.kind_ = this.kind_;
-      if (kindCase_ == 5 && timestampValueBuilder_ != null) {
+      if (kindCase_ == 5 &&
+          timestampValueBuilder_ != null) {
         result.kind_ = timestampValueBuilder_.build();
       }
-      if (kindCase_ == 6 && enumValueBuilder_ != null) {
+      if (kindCase_ == 6 &&
+          enumValueBuilder_ != null) {
         result.kind_ = enumValueBuilder_.build();
       }
     }
@@ -1445,39 +1331,38 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1beta1.TagField 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.datacatalog.v1beta1.TagField) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.TagField) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.TagField)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1495,37 +1380,31 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.TagField other) {
         setOrder(other.getOrder());
       }
       switch (other.getKindCase()) {
-        case DOUBLE_VALUE:
-          {
-            setDoubleValue(other.getDoubleValue());
-            break;
-          }
-        case STRING_VALUE:
-          {
-            kindCase_ = 3;
-            kind_ = other.kind_;
-            onChanged();
-            break;
-          }
-        case BOOL_VALUE:
-          {
-            setBoolValue(other.getBoolValue());
-            break;
-          }
-        case TIMESTAMP_VALUE:
-          {
-            mergeTimestampValue(other.getTimestampValue());
-            break;
-          }
-        case ENUM_VALUE:
-          {
-            mergeEnumValue(other.getEnumValue());
-            break;
-          }
-        case KIND_NOT_SET:
-          {
-            break;
-          }
+        case DOUBLE_VALUE: {
+          setDoubleValue(other.getDoubleValue());
+          break;
+        }
+        case STRING_VALUE: {
+          kindCase_ = 3;
+          kind_ = other.kind_;
+          onChanged();
+          break;
+        }
+        case BOOL_VALUE: {
+          setBoolValue(other.getBoolValue());
+          break;
+        }
+        case TIMESTAMP_VALUE: {
+          mergeTimestampValue(other.getTimestampValue());
+          break;
+        }
+        case ENUM_VALUE: {
+          mergeEnumValue(other.getEnumValue());
+          break;
+        }
+        case KIND_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1553,56 +1432,52 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 17:
-              {
-                kind_ = input.readDouble();
-                kindCase_ = 2;
-                break;
-              } // case 17
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                kindCase_ = 3;
-                kind_ = s;
-                break;
-              } // case 26
-            case 32:
-              {
-                kind_ = input.readBool();
-                kindCase_ = 4;
-                break;
-              } // case 32
-            case 42:
-              {
-                input.readMessage(getTimestampValueFieldBuilder().getBuilder(), extensionRegistry);
-                kindCase_ = 5;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getEnumValueFieldBuilder().getBuilder(), extensionRegistry);
-                kindCase_ = 6;
-                break;
-              } // case 50
-            case 56:
-              {
-                order_ = input.readInt32();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 56
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 17: {
+              kind_ = input.readDouble();
+              kindCase_ = 2;
+              break;
+            } // case 17
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              kindCase_ = 3;
+              kind_ = s;
+              break;
+            } // case 26
+            case 32: {
+              kind_ = input.readBool();
+              kindCase_ = 4;
+              break;
+            } // case 32
+            case 42: {
+              input.readMessage(
+                  getTimestampValueFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              kindCase_ = 5;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getEnumValueFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              kindCase_ = 6;
+              break;
+            } // case 50
+            case 56: {
+              order_ = input.readInt32();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 56
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1612,12 +1487,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int kindCase_ = 0;
     private java.lang.Object kind_;
-
-    public KindCase getKindCase() {
-      return KindCase.forNumber(kindCase_);
+    public KindCase
+        getKindCase() {
+      return KindCase.forNumber(
+          kindCase_);
     }
 
     public Builder clearKind() {
@@ -1631,20 +1506,18 @@ public Builder clearKind() {
 
     private java.lang.Object displayName_ = "";
     /**
-     *
-     *
      * 
      * Output only. The display name of this field.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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; @@ -1653,21 +1526,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Output only. The display name of this field.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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 { @@ -1675,35 +1547,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Output only. The display name of this field.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The display name of this field.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1713,21 +1578,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Output only. The display name of this field.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -1736,28 +1597,22 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * Holds the value for a tag field with double type.
      * 
* * double double_value = 2; - * * @return Whether the doubleValue field is set. */ public boolean hasDoubleValue() { return kindCase_ == 2; } /** - * - * *
      * Holds the value for a tag field with double type.
      * 
* * double double_value = 2; - * * @return The doubleValue. */ public double getDoubleValue() { @@ -1767,14 +1622,11 @@ public double getDoubleValue() { return 0D; } /** - * - * *
      * Holds the value for a tag field with double type.
      * 
* * double double_value = 2; - * * @param value The doubleValue to set. * @return This builder for chaining. */ @@ -1786,14 +1638,11 @@ public Builder setDoubleValue(double value) { return this; } /** - * - * *
      * Holds the value for a tag field with double type.
      * 
* * double double_value = 2; - * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -1806,14 +1655,11 @@ public Builder clearDoubleValue() { } /** - * - * *
      * Holds the value for a tag field with string type.
      * 
* * string string_value = 3; - * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -1821,14 +1667,11 @@ public boolean hasStringValue() { return kindCase_ == 3; } /** - * - * *
      * Holds the value for a tag field with string type.
      * 
* * string string_value = 3; - * * @return The stringValue. */ @java.lang.Override @@ -1838,7 +1681,8 @@ public java.lang.String getStringValue() { ref = kind_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (kindCase_ == 3) { kind_ = s; @@ -1849,25 +1693,24 @@ public java.lang.String getStringValue() { } } /** - * - * *
      * Holds the value for a tag field with string type.
      * 
* * string string_value = 3; - * * @return The bytes for stringValue. */ @java.lang.Override - public com.google.protobuf.ByteString getStringValueBytes() { + public com.google.protobuf.ByteString + getStringValueBytes() { java.lang.Object ref = ""; if (kindCase_ == 3) { ref = kind_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (kindCase_ == 3) { kind_ = b; } @@ -1877,35 +1720,28 @@ public com.google.protobuf.ByteString getStringValueBytes() { } } /** - * - * *
      * Holds the value for a tag field with string type.
      * 
* * string string_value = 3; - * * @param value The stringValue to set. * @return This builder for chaining. */ - public Builder setStringValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStringValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } kindCase_ = 3; kind_ = value; onChanged(); return this; } /** - * - * *
      * Holds the value for a tag field with string type.
      * 
* * string string_value = 3; - * * @return This builder for chaining. */ public Builder clearStringValue() { @@ -1917,21 +1753,17 @@ public Builder clearStringValue() { return this; } /** - * - * *
      * Holds the value for a tag field with string type.
      * 
* * string string_value = 3; - * * @param value The bytes for stringValue to set. * @return This builder for chaining. */ - public Builder setStringValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStringValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); kindCase_ = 3; kind_ = value; @@ -1940,28 +1772,22 @@ public Builder setStringValueBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * Holds the value for a tag field with boolean type.
      * 
* * bool bool_value = 4; - * * @return Whether the boolValue field is set. */ public boolean hasBoolValue() { return kindCase_ == 4; } /** - * - * *
      * Holds the value for a tag field with boolean type.
      * 
* * bool bool_value = 4; - * * @return The boolValue. */ public boolean getBoolValue() { @@ -1971,14 +1797,11 @@ public boolean getBoolValue() { return false; } /** - * - * *
      * Holds the value for a tag field with boolean type.
      * 
* * bool bool_value = 4; - * * @param value The boolValue to set. * @return This builder for chaining. */ @@ -1990,14 +1813,11 @@ public Builder setBoolValue(boolean value) { return this; } /** - * - * *
      * Holds the value for a tag field with boolean type.
      * 
* * bool bool_value = 4; - * * @return This builder for chaining. */ public Builder clearBoolValue() { @@ -2010,19 +1830,13 @@ public Builder clearBoolValue() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - timestampValueBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> timestampValueBuilder_; /** - * - * *
      * Holds the value for a tag field with timestamp type.
      * 
* * .google.protobuf.Timestamp timestamp_value = 5; - * * @return Whether the timestampValue field is set. */ @java.lang.Override @@ -2030,14 +1844,11 @@ public boolean hasTimestampValue() { return kindCase_ == 5; } /** - * - * *
      * Holds the value for a tag field with timestamp type.
      * 
* * .google.protobuf.Timestamp timestamp_value = 5; - * * @return The timestampValue. */ @java.lang.Override @@ -2055,8 +1866,6 @@ public com.google.protobuf.Timestamp getTimestampValue() { } } /** - * - * *
      * Holds the value for a tag field with timestamp type.
      * 
@@ -2077,15 +1886,14 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Holds the value for a tag field with timestamp type.
      * 
* * .google.protobuf.Timestamp timestamp_value = 5; */ - public Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setTimestampValue( + com.google.protobuf.Timestamp.Builder builderForValue) { if (timestampValueBuilder_ == null) { kind_ = builderForValue.build(); onChanged(); @@ -2096,8 +1904,6 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderFo return this; } /** - * - * *
      * Holds the value for a tag field with timestamp type.
      * 
@@ -2106,11 +1912,10 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderFo */ public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) { if (timestampValueBuilder_ == null) { - if (kindCase_ == 5 && kind_ != com.google.protobuf.Timestamp.getDefaultInstance()) { - kind_ = - com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) kind_) - .mergeFrom(value) - .buildPartial(); + if (kindCase_ == 5 && + kind_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + kind_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) kind_) + .mergeFrom(value).buildPartial(); } else { kind_ = value; } @@ -2126,8 +1931,6 @@ public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Holds the value for a tag field with timestamp type.
      * 
@@ -2151,8 +1954,6 @@ public Builder clearTimestampValue() { return this; } /** - * - * *
      * Holds the value for a tag field with timestamp type.
      * 
@@ -2163,8 +1964,6 @@ public com.google.protobuf.Timestamp.Builder getTimestampValueBuilder() { return getTimestampValueFieldBuilder().getBuilder(); } /** - * - * *
      * Holds the value for a tag field with timestamp type.
      * 
@@ -2183,8 +1982,6 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { } } /** - * - * *
      * Holds the value for a tag field with timestamp type.
      * 
@@ -2192,20 +1989,17 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { * .google.protobuf.Timestamp timestamp_value = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getTimestampValueFieldBuilder() { if (timestampValueBuilder_ == null) { if (!(kindCase_ == 5)) { kind_ = com.google.protobuf.Timestamp.getDefaultInstance(); } - timestampValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - (com.google.protobuf.Timestamp) kind_, getParentForChildren(), isClean()); + timestampValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + (com.google.protobuf.Timestamp) kind_, + getParentForChildren(), + isClean()); kind_ = null; } kindCase_ = 5; @@ -2214,20 +2008,14 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.TagField.EnumValue, - com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.Builder, - com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder> - enumValueBuilder_; + com.google.cloud.datacatalog.v1beta1.TagField.EnumValue, com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.Builder, com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder> enumValueBuilder_; /** - * - * *
      * Holds the value for a tag field with enum type. This value must be
      * one of the allowed values in the definition of this enum.
      * 
* * .google.cloud.datacatalog.v1beta1.TagField.EnumValue enum_value = 6; - * * @return Whether the enumValue field is set. */ @java.lang.Override @@ -2235,15 +2023,12 @@ public boolean hasEnumValue() { return kindCase_ == 6; } /** - * - * *
      * Holds the value for a tag field with enum type. This value must be
      * one of the allowed values in the definition of this enum.
      * 
* * .google.cloud.datacatalog.v1beta1.TagField.EnumValue enum_value = 6; - * * @return The enumValue. */ @java.lang.Override @@ -2261,8 +2046,6 @@ public com.google.cloud.datacatalog.v1beta1.TagField.EnumValue getEnumValue() { } } /** - * - * *
      * Holds the value for a tag field with enum type. This value must be
      * one of the allowed values in the definition of this enum.
@@ -2284,8 +2067,6 @@ public Builder setEnumValue(com.google.cloud.datacatalog.v1beta1.TagField.EnumVa
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the value for a tag field with enum type. This value must be
      * one of the allowed values in the definition of this enum.
@@ -2305,8 +2086,6 @@ public Builder setEnumValue(
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the value for a tag field with enum type. This value must be
      * one of the allowed values in the definition of this enum.
@@ -2316,14 +2095,10 @@ public Builder setEnumValue(
      */
     public Builder mergeEnumValue(com.google.cloud.datacatalog.v1beta1.TagField.EnumValue value) {
       if (enumValueBuilder_ == null) {
-        if (kindCase_ == 6
-            && kind_
-                != com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.getDefaultInstance()) {
-          kind_ =
-              com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.newBuilder(
-                      (com.google.cloud.datacatalog.v1beta1.TagField.EnumValue) kind_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (kindCase_ == 6 &&
+            kind_ != com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.getDefaultInstance()) {
+          kind_ = com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.newBuilder((com.google.cloud.datacatalog.v1beta1.TagField.EnumValue) kind_)
+              .mergeFrom(value).buildPartial();
         } else {
           kind_ = value;
         }
@@ -2339,8 +2114,6 @@ public Builder mergeEnumValue(com.google.cloud.datacatalog.v1beta1.TagField.Enum
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the value for a tag field with enum type. This value must be
      * one of the allowed values in the definition of this enum.
@@ -2365,8 +2138,6 @@ public Builder clearEnumValue() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the value for a tag field with enum type. This value must be
      * one of the allowed values in the definition of this enum.
@@ -2378,8 +2149,6 @@ public com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.Builder getEnumVa
       return getEnumValueFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Holds the value for a tag field with enum type. This value must be
      * one of the allowed values in the definition of this enum.
@@ -2388,8 +2157,7 @@ public com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.Builder getEnumVa
      * .google.cloud.datacatalog.v1beta1.TagField.EnumValue enum_value = 6;
      */
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder
-        getEnumValueOrBuilder() {
+    public com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder getEnumValueOrBuilder() {
       if ((kindCase_ == 6) && (enumValueBuilder_ != null)) {
         return enumValueBuilder_.getMessageOrBuilder();
       } else {
@@ -2400,8 +2168,6 @@ public com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.Builder getEnumVa
       }
     }
     /**
-     *
-     *
      * 
      * Holds the value for a tag field with enum type. This value must be
      * one of the allowed values in the definition of this enum.
@@ -2410,19 +2176,14 @@ public com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.Builder getEnumVa
      * .google.cloud.datacatalog.v1beta1.TagField.EnumValue enum_value = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1beta1.TagField.EnumValue,
-            com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.Builder,
-            com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder>
+        com.google.cloud.datacatalog.v1beta1.TagField.EnumValue, com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.Builder, com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder> 
         getEnumValueFieldBuilder() {
       if (enumValueBuilder_ == null) {
         if (!(kindCase_ == 6)) {
           kind_ = com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.getDefaultInstance();
         }
-        enumValueBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.datacatalog.v1beta1.TagField.EnumValue,
-                com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.Builder,
-                com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder>(
+        enumValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.datacatalog.v1beta1.TagField.EnumValue, com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.Builder, com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder>(
                 (com.google.cloud.datacatalog.v1beta1.TagField.EnumValue) kind_,
                 getParentForChildren(),
                 isClean());
@@ -2433,20 +2194,18 @@ public com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.Builder getEnumVa
       return enumValueBuilder_;
     }
 
-    private int order_;
+    private int order_ ;
     /**
-     *
-     *
      * 
-     * Output only. The order of this field with respect to other fields in this tag. It can be
-     * set in [Tag][google.cloud.datacatalog.v1beta1.TagTemplateField.order]. For
+     * Output only. The order of this field with respect to other fields in this
+     * tag. It can be set in
+     * [Tag][google.cloud.datacatalog.v1beta1.TagTemplateField.order]. For
      * example, a higher value can indicate a more important field. The value can
      * be negative. Multiple fields can have the same order, and field orders
      * within a tag do not have to be sequential.
      * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The order. */ @java.lang.Override @@ -2454,18 +2213,16 @@ public int getOrder() { return order_; } /** - * - * *
-     * Output only. The order of this field with respect to other fields in this tag. It can be
-     * set in [Tag][google.cloud.datacatalog.v1beta1.TagTemplateField.order]. For
+     * Output only. The order of this field with respect to other fields in this
+     * tag. It can be set in
+     * [Tag][google.cloud.datacatalog.v1beta1.TagTemplateField.order]. For
      * example, a higher value can indicate a more important field. The value can
      * be negative. Multiple fields can have the same order, and field orders
      * within a tag do not have to be sequential.
      * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The order to set. * @return This builder for chaining. */ @@ -2477,18 +2234,16 @@ public Builder setOrder(int value) { return this; } /** - * - * *
-     * Output only. The order of this field with respect to other fields in this tag. It can be
-     * set in [Tag][google.cloud.datacatalog.v1beta1.TagTemplateField.order]. For
+     * Output only. The order of this field with respect to other fields in this
+     * tag. It can be set in
+     * [Tag][google.cloud.datacatalog.v1beta1.TagTemplateField.order]. For
      * example, a higher value can indicate a more important field. The value can
      * be negative. Multiple fields can have the same order, and field orders
      * within a tag do not have to be sequential.
      * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearOrder() { @@ -2497,9 +2252,9 @@ public Builder clearOrder() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2509,12 +2264,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.TagField) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.TagField) private static final com.google.cloud.datacatalog.v1beta1.TagField DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.TagField(); } @@ -2523,27 +2278,27 @@ public static com.google.cloud.datacatalog.v1beta1.TagField getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TagField parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TagField parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2558,4 +2313,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.TagField getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagFieldOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagFieldOrBuilder.java similarity index 80% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagFieldOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagFieldOrBuilder.java index 8f6392b76b4f..c42e294f5188 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagFieldOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagFieldOrBuilder.java @@ -1,167 +1,118 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/tags.proto package com.google.cloud.datacatalog.v1beta1; -public interface TagFieldOrBuilder - extends +public interface TagFieldOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.TagField) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The display name of this field.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Output only. The display name of this field.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Holds the value for a tag field with double type.
    * 
* * double double_value = 2; - * * @return Whether the doubleValue field is set. */ boolean hasDoubleValue(); /** - * - * *
    * Holds the value for a tag field with double type.
    * 
* * double double_value = 2; - * * @return The doubleValue. */ double getDoubleValue(); /** - * - * *
    * Holds the value for a tag field with string type.
    * 
* * string string_value = 3; - * * @return Whether the stringValue field is set. */ boolean hasStringValue(); /** - * - * *
    * Holds the value for a tag field with string type.
    * 
* * string string_value = 3; - * * @return The stringValue. */ java.lang.String getStringValue(); /** - * - * *
    * Holds the value for a tag field with string type.
    * 
* * string string_value = 3; - * * @return The bytes for stringValue. */ - com.google.protobuf.ByteString getStringValueBytes(); + com.google.protobuf.ByteString + getStringValueBytes(); /** - * - * *
    * Holds the value for a tag field with boolean type.
    * 
* * bool bool_value = 4; - * * @return Whether the boolValue field is set. */ boolean hasBoolValue(); /** - * - * *
    * Holds the value for a tag field with boolean type.
    * 
* * bool bool_value = 4; - * * @return The boolValue. */ boolean getBoolValue(); /** - * - * *
    * Holds the value for a tag field with timestamp type.
    * 
* * .google.protobuf.Timestamp timestamp_value = 5; - * * @return Whether the timestampValue field is set. */ boolean hasTimestampValue(); /** - * - * *
    * Holds the value for a tag field with timestamp type.
    * 
* * .google.protobuf.Timestamp timestamp_value = 5; - * * @return The timestampValue. */ com.google.protobuf.Timestamp getTimestampValue(); /** - * - * *
    * Holds the value for a tag field with timestamp type.
    * 
@@ -171,34 +122,26 @@ public interface TagFieldOrBuilder com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder(); /** - * - * *
    * Holds the value for a tag field with enum type. This value must be
    * one of the allowed values in the definition of this enum.
    * 
* * .google.cloud.datacatalog.v1beta1.TagField.EnumValue enum_value = 6; - * * @return Whether the enumValue field is set. */ boolean hasEnumValue(); /** - * - * *
    * Holds the value for a tag field with enum type. This value must be
    * one of the allowed values in the definition of this enum.
    * 
* * .google.cloud.datacatalog.v1beta1.TagField.EnumValue enum_value = 6; - * * @return The enumValue. */ com.google.cloud.datacatalog.v1beta1.TagField.EnumValue getEnumValue(); /** - * - * *
    * Holds the value for a tag field with enum type. This value must be
    * one of the allowed values in the definition of this enum.
@@ -209,18 +152,16 @@ public interface TagFieldOrBuilder
   com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder getEnumValueOrBuilder();
 
   /**
-   *
-   *
    * 
-   * Output only. The order of this field with respect to other fields in this tag. It can be
-   * set in [Tag][google.cloud.datacatalog.v1beta1.TagTemplateField.order]. For
+   * Output only. The order of this field with respect to other fields in this
+   * tag. It can be set in
+   * [Tag][google.cloud.datacatalog.v1beta1.TagTemplateField.order]. For
    * example, a higher value can indicate a more important field. The value can
    * be negative. Multiple fields can have the same order, and field orders
    * within a tag do not have to be sequential.
    * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The order. */ int getOrder(); diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagName.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagName.java similarity index 100% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagName.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagName.java diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagOrBuilder.java similarity index 61% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagOrBuilder.java index 37aafc26ad39..ade694d2d1f5 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/tags.proto package com.google.cloud.datacatalog.v1beta1; -public interface TagOrBuilder - extends +public interface TagOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.Tag) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resource name of the tag in URL format. Example:
    *
@@ -36,13 +18,10 @@ public interface TagOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The resource name of the tag in URL format. Example:
    *
@@ -53,16 +32,15 @@ public interface TagOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
-   * Required. The resource name of the tag template that this tag uses. Example:
+   * Required. The resource name of the tag template that this tag uses.
+   * Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
    *
@@ -70,15 +48,13 @@ public interface TagOrBuilder
    * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The template. */ java.lang.String getTemplate(); /** - * - * *
-   * Required. The resource name of the tag template that this tag uses. Example:
+   * Required. The resource name of the tag template that this tag uses.
+   * Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
    *
@@ -86,39 +62,32 @@ public interface TagOrBuilder
    * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for template. */ - com.google.protobuf.ByteString getTemplateBytes(); + com.google.protobuf.ByteString + getTemplateBytes(); /** - * - * *
    * Output only. The display name of the tag template.
    * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The templateDisplayName. */ java.lang.String getTemplateDisplayName(); /** - * - * *
    * Output only. The display name of the tag template.
    * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for templateDisplayName. */ - com.google.protobuf.ByteString getTemplateDisplayNameBytes(); + com.google.protobuf.ByteString + getTemplateDisplayNameBytes(); /** - * - * *
    * Resources like Entry can have schemas associated with them. This scope
    * allows users to attach tags to an individual column based on that schema.
@@ -130,13 +99,10 @@ public interface TagOrBuilder
    * 
* * string column = 4; - * * @return Whether the column field is set. */ boolean hasColumn(); /** - * - * *
    * Resources like Entry can have schemas associated with them. This scope
    * allows users to attach tags to an individual column based on that schema.
@@ -148,13 +114,10 @@ public interface TagOrBuilder
    * 
* * string column = 4; - * * @return The column. */ java.lang.String getColumn(); /** - * - * *
    * Resources like Entry can have schemas associated with them. This scope
    * allows users to attach tags to an individual column based on that schema.
@@ -166,88 +129,74 @@ public interface TagOrBuilder
    * 
* * string column = 4; - * * @return The bytes for column. */ - com.google.protobuf.ByteString getColumnBytes(); + com.google.protobuf.ByteString + getColumnBytes(); /** - * - * *
-   * Required. This maps the ID of a tag field to the value of and additional information
-   * about that field. Valid field IDs are defined by the tag's template. A tag
-   * must have at least 1 field and at most 500 fields.
+   * Required. This maps the ID of a tag field to the value of and additional
+   * information about that field. Valid field IDs are defined by the tag's
+   * template. A tag must have at least 1 field and at most 500 fields.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ int getFieldsCount(); /** - * - * *
-   * Required. This maps the ID of a tag field to the value of and additional information
-   * about that field. Valid field IDs are defined by the tag's template. A tag
-   * must have at least 1 field and at most 500 fields.
+   * Required. This maps the ID of a tag field to the value of and additional
+   * information about that field. Valid field IDs are defined by the tag's
+   * template. A tag must have at least 1 field and at most 500 fields.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + boolean containsFields( + java.lang.String key); + /** + * Use {@link #getFieldsMap()} instead. */ - boolean containsFields(java.lang.String key); - /** Use {@link #getFieldsMap()} instead. */ @java.lang.Deprecated - java.util.Map getFields(); + java.util.Map + getFields(); /** - * - * *
-   * Required. This maps the ID of a tag field to the value of and additional information
-   * about that field. Valid field IDs are defined by the tag's template. A tag
-   * must have at least 1 field and at most 500 fields.
+   * Required. This maps the ID of a tag field to the value of and additional
+   * information about that field. Valid field IDs are defined by the tag's
+   * template. A tag must have at least 1 field and at most 500 fields.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.Map getFieldsMap(); + java.util.Map + getFieldsMap(); /** - * - * *
-   * Required. This maps the ID of a tag field to the value of and additional information
-   * about that field. Valid field IDs are defined by the tag's template. A tag
-   * must have at least 1 field and at most 500 fields.
+   * Required. This maps the ID of a tag field to the value of and additional
+   * information about that field. Valid field IDs are defined by the tag's
+   * template. A tag must have at least 1 field and at most 500 fields.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ /* nullable */ - com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrDefault( +com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.datacatalog.v1beta1.TagField defaultValue); +com.google.cloud.datacatalog.v1beta1.TagField defaultValue); /** - * - * *
-   * Required. This maps the ID of a tag field to the value of and additional information
-   * about that field. Valid field IDs are defined by the tag's template. A tag
-   * must have at least 1 field and at most 500 fields.
+   * Required. This maps the ID of a tag field to the value of and additional
+   * information about that field. Valid field IDs are defined by the tag's
+   * template. A tag must have at least 1 field and at most 500 fields.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrThrow(java.lang.String key); + com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrThrow( + java.lang.String key); com.google.cloud.datacatalog.v1beta1.Tag.ScopeCase getScopeCase(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplate.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplate.java similarity index 65% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplate.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplate.java index 27263e750832..7656871fc422 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplate.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplate.java @@ -1,29 +1,12 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/tags.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * A tag template defines a tag, which can have one or more typed fields.
- * The template is used to create and attach the tag to GCP resources.
+ * The template is used to create and attach the tag to Google Cloud resources.
  * [Tag template
  * roles](https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles)
  * provide permissions to create, edit, and use the template. See, for example,
@@ -34,16 +17,15 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.TagTemplate}
  */
-public final class TagTemplate extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TagTemplate extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.TagTemplate)
     TagTemplateOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TagTemplate.newBuilder() to construct.
   private TagTemplate(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private TagTemplate() {
     name_ = "";
     displayName_ = "";
@@ -51,43 +33,40 @@ private TagTemplate() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TagTemplate();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Tags
-        .internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_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 internalGetFields();
       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.datacatalog.v1beta1.Tags
-        .internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.TagTemplate.class,
-            com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.TagTemplate.class, com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The resource name of the tag template in URL format. Example:
    *
@@ -98,7 +77,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -107,15 +85,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The resource name of the tag template in URL format. Example:
    *
@@ -126,15 +103,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 { @@ -143,18 +121,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * The display name for this template. Defaults to an empty string.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -163,29 +137,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The display name for this template. Defaults to an empty string.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -194,42 +168,32 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int FIELDS_FIELD_NUMBER = 3; - private static final class FieldsDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.datacatalog.v1beta1.TagTemplateField> - defaultEntry = + java.lang.String, com.google.cloud.datacatalog.v1beta1.TagTemplateField> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.cloud.datacatalog.v1beta1.Tags - .internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_FieldsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_FieldsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance()); } - @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1beta1.TagTemplateField> - fields_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1beta1.TagTemplateField> - internalGetFields() { + java.lang.String, com.google.cloud.datacatalog.v1beta1.TagTemplateField> fields_; + private com.google.protobuf.MapField + internalGetFields() { if (fields_ == null) { - return com.google.protobuf.MapField.emptyMapField(FieldsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + FieldsDefaultEntryHolder.defaultEntry); } return fields_; } - public int getFieldsCount() { return internalGetFields().getMap().size(); } /** - * - * *
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. This map must contain
@@ -241,27 +205,23 @@ public int getFieldsCount() {
    * 64 characters long. Field IDs must start with a letter or underscore.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public boolean containsFields(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsFields( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetFields().getMap().containsKey(key); } - /** Use {@link #getFieldsMap()} instead. */ + /** + * Use {@link #getFieldsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getFields() { + public java.util.Map getFields() { return getFieldsMap(); } /** - * - * *
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. This map must contain
@@ -273,18 +233,13 @@ public boolean containsFields(java.lang.String key) {
    * 64 characters long. Field IDs must start with a letter or underscore.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.Map - getFieldsMap() { + public java.util.Map getFieldsMap() { return internalGetFields().getMap(); } /** - * - * *
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. This map must contain
@@ -296,25 +251,20 @@ public boolean containsFields(java.lang.String key) {
    * 64 characters long. Field IDs must start with a letter or underscore.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public /* nullable */ com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrDefault( + public /* nullable */ +com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.datacatalog.v1beta1.TagTemplateField defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } +com.google.cloud.datacatalog.v1beta1.TagTemplateField defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetFields().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. This map must contain
@@ -326,16 +276,12 @@ public boolean containsFields(java.lang.String key) {
    * 64 characters long. Field IDs must start with a letter or underscore.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetFields().getMap(); if (!map.containsKey(key)) { @@ -345,7 +291,6 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrThrow( } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -357,15 +302,20 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetFields(), FieldsDefaultEntryHolder.defaultEntry, 3); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetFields(), + FieldsDefaultEntryHolder.defaultEntry, + 3); getUnknownFields().writeTo(output); } @@ -381,18 +331,15 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); } - for (java.util.Map.Entry< - java.lang.String, com.google.cloud.datacatalog.v1beta1.TagTemplateField> - entry : internalGetFields().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.datacatalog.v1beta1.TagTemplateField> - fields__ = - FieldsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, fields__); + for (java.util.Map.Entry entry + : internalGetFields().getMap().entrySet()) { + com.google.protobuf.MapEntry + fields__ = FieldsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, fields__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -402,17 +349,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.datacatalog.v1beta1.TagTemplate)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.TagTemplate other = - (com.google.cloud.datacatalog.v1beta1.TagTemplate) obj; + com.google.cloud.datacatalog.v1beta1.TagTemplate other = (com.google.cloud.datacatalog.v1beta1.TagTemplate) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!internalGetFields().equals(other.internalGetFields())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!internalGetFields().equals( + other.internalGetFields())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -437,107 +386,102 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1beta1.TagTemplate parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1beta1.TagTemplate parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.TagTemplate parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.TagTemplate parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.TagTemplate parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.TagTemplate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.TagTemplate parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.TagTemplate parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.TagTemplate parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.TagTemplate parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.TagTemplate parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.TagTemplate parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.TagTemplate parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.TagTemplate parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.TagTemplate parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.TagTemplate prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 tag template defines a tag, which can have one or more typed fields.
-   * The template is used to create and attach the tag to GCP resources.
+   * The template is used to create and attach the tag to Google Cloud resources.
    * [Tag template
    * roles](https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles)
    * provide permissions to create, edit, and use the template. See, for example,
@@ -548,52 +492,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.TagTemplate}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.TagTemplate)
       com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Tags
-          .internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 3:
           return internalGetFields();
         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 internalGetMutableFields();
         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.datacatalog.v1beta1.Tags
-          .internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.TagTemplate.class,
-              com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.TagTemplate.class, com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.TagTemplate.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -605,9 +552,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Tags
-          .internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_descriptor;
     }
 
     @java.lang.Override
@@ -626,11 +573,8 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplate build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.TagTemplate buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.TagTemplate result =
-          new com.google.cloud.datacatalog.v1beta1.TagTemplate(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.TagTemplate result = new com.google.cloud.datacatalog.v1beta1.TagTemplate(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -653,39 +597,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.TagTemplate 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.datacatalog.v1beta1.TagTemplate) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.TagTemplate) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.TagTemplate)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -693,8 +636,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.TagTemplate other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -705,7 +647,8 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.TagTemplate other)
         bitField0_ |= 0x00000002;
         onChanged();
       }
-      internalGetMutableFields().mergeFrom(other.internalGetFields());
+      internalGetMutableFields().mergeFrom(
+          other.internalGetFields());
       bitField0_ |= 0x00000004;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -733,39 +676,31 @@ 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:
-              {
-                com.google.protobuf.MapEntry<
-                        java.lang.String, com.google.cloud.datacatalog.v1beta1.TagTemplateField>
-                    fields__ =
-                        input.readMessage(
-                            FieldsDefaultEntryHolder.defaultEntry.getParserForType(),
-                            extensionRegistry);
-                internalGetMutableFields()
-                    .getMutableMap()
-                    .put(fields__.getKey(), fields__.getValue());
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            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: {
+              com.google.protobuf.MapEntry
+              fields__ = input.readMessage(
+                  FieldsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableFields().getMutableMap().put(
+                  fields__.getKey(), fields__.getValue());
+              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) {
@@ -775,13 +710,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The resource name of the tag template in URL format. Example:
      *
@@ -792,13 +724,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; @@ -807,8 +739,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the tag template in URL format. Example:
      *
@@ -819,14 +749,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 { @@ -834,8 +765,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The resource name of the tag template in URL format. Example:
      *
@@ -846,22 +775,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The resource name of the tag template in URL format. Example:
      *
@@ -872,7 +797,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -882,8 +806,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The resource name of the tag template in URL format. Example:
      *
@@ -894,14 +816,12 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -911,20 +831,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * The display name for this template. Defaults to an empty string.
      * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -933,21 +851,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The display name for this template. Defaults to an empty string.
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -955,35 +872,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The display name for this template. Defaults to an empty string.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The display name for this template. Defaults to an empty string.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -993,21 +903,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * The display name for this template. Defaults to an empty string.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -1016,23 +922,20 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1beta1.TagTemplateField> - fields_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1beta1.TagTemplateField> + java.lang.String, com.google.cloud.datacatalog.v1beta1.TagTemplateField> fields_; + private com.google.protobuf.MapField internalGetFields() { if (fields_ == null) { - return com.google.protobuf.MapField.emptyMapField(FieldsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + FieldsDefaultEntryHolder.defaultEntry); } return fields_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1beta1.TagTemplateField> + private com.google.protobuf.MapField internalGetMutableFields() { if (fields_ == null) { - fields_ = com.google.protobuf.MapField.newMapField(FieldsDefaultEntryHolder.defaultEntry); + fields_ = com.google.protobuf.MapField.newMapField( + FieldsDefaultEntryHolder.defaultEntry); } if (!fields_.isMutable()) { fields_ = fields_.copy(); @@ -1041,13 +944,10 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { onChanged(); return fields_; } - public int getFieldsCount() { return internalGetFields().getMap().size(); } /** - * - * *
      * Required. Map of tag template field IDs to the settings for the field.
      * This map is an exhaustive list of the allowed fields. This map must contain
@@ -1059,27 +959,23 @@ public int getFieldsCount() {
      * 64 characters long. Field IDs must start with a letter or underscore.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public boolean containsFields(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsFields( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetFields().getMap().containsKey(key); } - /** Use {@link #getFieldsMap()} instead. */ + /** + * Use {@link #getFieldsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getFields() { + public java.util.Map getFields() { return getFieldsMap(); } /** - * - * *
      * Required. Map of tag template field IDs to the settings for the field.
      * This map is an exhaustive list of the allowed fields. This map must contain
@@ -1091,18 +987,13 @@ public boolean containsFields(java.lang.String key) {
      * 64 characters long. Field IDs must start with a letter or underscore.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.Map - getFieldsMap() { + public java.util.Map getFieldsMap() { return internalGetFields().getMap(); } /** - * - * *
      * Required. Map of tag template field IDs to the settings for the field.
      * This map is an exhaustive list of the allowed fields. This map must contain
@@ -1114,25 +1005,20 @@ public boolean containsFields(java.lang.String key) {
      * 64 characters long. Field IDs must start with a letter or underscore.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public /* nullable */ com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrDefault( + public /* nullable */ +com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.datacatalog.v1beta1.TagTemplateField defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } +com.google.cloud.datacatalog.v1beta1.TagTemplateField defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetFields().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Required. Map of tag template field IDs to the settings for the field.
      * This map is an exhaustive list of the allowed fields. This map must contain
@@ -1144,16 +1030,12 @@ public boolean containsFields(java.lang.String key) {
      * 64 characters long. Field IDs must start with a letter or underscore.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetFields().getMap(); if (!map.containsKey(key)) { @@ -1161,15 +1043,13 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrThrow( } return map.get(key); } - public Builder clearFields() { bitField0_ = (bitField0_ & ~0x00000004); - internalGetMutableFields().getMutableMap().clear(); + internalGetMutableFields().getMutableMap() + .clear(); return this; } /** - * - * *
      * Required. Map of tag template field IDs to the settings for the field.
      * This map is an exhaustive list of the allowed fields. This map must contain
@@ -1181,18 +1061,18 @@ public Builder clearFields() {
      * 64 characters long. Field IDs must start with a letter or underscore.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder removeFields(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableFields().getMutableMap().remove(key); + public Builder removeFields( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableFields().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated public java.util.Map getMutableFields() { @@ -1200,8 +1080,6 @@ public Builder removeFields(java.lang.String key) { return internalGetMutableFields().getMutableMap(); } /** - * - * *
      * Required. Map of tag template field IDs to the settings for the field.
      * This map is an exhaustive list of the allowed fields. This map must contain
@@ -1213,25 +1091,19 @@ public Builder removeFields(java.lang.String key) {
      * 64 characters long. Field IDs must start with a letter or underscore.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder putFields( - java.lang.String key, com.google.cloud.datacatalog.v1beta1.TagTemplateField value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableFields().getMutableMap().put(key, value); + java.lang.String key, + com.google.cloud.datacatalog.v1beta1.TagTemplateField value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableFields().getMutableMap() + .put(key, value); bitField0_ |= 0x00000004; return this; } /** - * - * *
      * Required. Map of tag template field IDs to the settings for the field.
      * This map is an exhaustive list of the allowed fields. This map must contain
@@ -1243,20 +1115,18 @@ public Builder putFields(
      * 64 characters long. Field IDs must start with a letter or underscore.
      * 
* - * - * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder putAllFields( - java.util.Map - values) { - internalGetMutableFields().getMutableMap().putAll(values); + java.util.Map values) { + internalGetMutableFields().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); } @@ -1266,12 +1136,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.TagTemplate) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.TagTemplate) private static final com.google.cloud.datacatalog.v1beta1.TagTemplate DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.TagTemplate(); } @@ -1280,27 +1150,27 @@ public static com.google.cloud.datacatalog.v1beta1.TagTemplate getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TagTemplate parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TagTemplate parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +1185,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.TagTemplate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateField.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateField.java similarity index 62% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateField.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateField.java index 37ba79b36329..e8b6dc272d5a 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateField.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateField.java @@ -1,77 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/tags.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * The template for an individual field within a tag template.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.TagTemplateField} */ -public final class TagTemplateField extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TagTemplateField extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.TagTemplateField) TagTemplateFieldOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TagTemplateField.newBuilder() to construct. private TagTemplateField(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TagTemplateField() { name_ = ""; displayName_ = ""; + description_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TagTemplateField(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Tags - .internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.Tags - .internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.TagTemplateField.class, - com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder.class); + com.google.cloud.datacatalog.v1beta1.TagTemplateField.class, com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder.class); } public static final int NAME_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
-   * Output only. The resource name of the tag template field in URL format. Example:
+   * Output only. The resource name of the tag template field in URL format.
+   * Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
    *
@@ -80,7 +60,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -89,17 +68,17 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.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 tag template field in URL format. Example:
+   * Output only. The resource name of the tag template field in URL format.
+   * Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
    *
@@ -108,15 +87,16 @@ public java.lang.String getName() {
    * 
* * string name = 6 [(.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 { @@ -125,18 +105,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * The display name for this field. Defaults to an empty string.
    * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -145,29 +121,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The display name for this field. Defaults to an empty string.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -178,16 +154,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int TYPE_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1beta1.FieldType type_; /** - * - * *
    * Required. The type of value this tag field can contain.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the type field is set. */ @java.lang.Override @@ -195,53 +166,37 @@ public boolean hasType() { return type_ != null; } /** - * - * *
    * Required. The type of value this tag field can contain.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.FieldType getType() { - return type_ == null - ? com.google.cloud.datacatalog.v1beta1.FieldType.getDefaultInstance() - : type_; + return type_ == null ? com.google.cloud.datacatalog.v1beta1.FieldType.getDefaultInstance() : type_; } /** - * - * *
    * Required. The type of value this tag field can contain.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.FieldTypeOrBuilder getTypeOrBuilder() { - return type_ == null - ? com.google.cloud.datacatalog.v1beta1.FieldType.getDefaultInstance() - : type_; + return type_ == null ? com.google.cloud.datacatalog.v1beta1.FieldType.getDefaultInstance() : type_; } public static final int IS_REQUIRED_FIELD_NUMBER = 3; private boolean isRequired_ = false; /** - * - * *
    * Whether this is a required field. Defaults to false.
    * 
* * bool is_required = 3; - * * @return The isRequired. */ @java.lang.Override @@ -249,11 +204,56 @@ public boolean getIsRequired() { return isRequired_; } - public static final int ORDER_FIELD_NUMBER = 5; - private int order_ = 0; + public static final int DESCRIPTION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object description_ = ""; /** + *
+   * The description for this field. Defaults to an empty string.
+   * 
* + * string description = 4; + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } + } + /** + *
+   * The description for this field. Defaults to an empty string.
+   * 
* + * string description = 4; + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ORDER_FIELD_NUMBER = 5; + private int order_ = 0; + /** *
    * The order of this field with respect to other fields in this tag
    * template.  A higher value indicates a more important field. The value can
@@ -262,7 +262,6 @@ public boolean getIsRequired() {
    * 
* * int32 order = 5; - * * @return The order. */ @java.lang.Override @@ -271,7 +270,6 @@ public int getOrder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -283,7 +281,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -293,6 +292,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (isRequired_ != false) { output.writeBool(3, isRequired_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_); + } if (order_ != 0) { output.writeInt32(5, order_); } @@ -312,13 +314,19 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, displayName_); } if (type_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getType()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getType()); } if (isRequired_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, isRequired_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, isRequired_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); } if (order_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, order_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, order_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); @@ -331,22 +339,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.datacatalog.v1beta1.TagTemplateField)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.TagTemplateField other = - (com.google.cloud.datacatalog.v1beta1.TagTemplateField) obj; + com.google.cloud.datacatalog.v1beta1.TagTemplateField other = (com.google.cloud.datacatalog.v1beta1.TagTemplateField) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (hasType() != other.hasType()) return false; if (hasType()) { - if (!getType().equals(other.getType())) return false; - } - if (getIsRequired() != other.getIsRequired()) return false; - if (getOrder() != other.getOrder()) return false; + if (!getType() + .equals(other.getType())) return false; + } + if (getIsRequired() + != other.getIsRequired()) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (getOrder() + != other.getOrder()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -367,7 +381,10 @@ public int hashCode() { hash = (53 * hash) + getType().hashCode(); } hash = (37 * hash) + IS_REQUIRED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsRequired()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsRequired()); + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); hash = (37 * hash) + ORDER_FIELD_NUMBER; hash = (53 * hash) + getOrder(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -376,136 +393,131 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.TagTemplateField parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.TagTemplateField parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.TagTemplateField parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.TagTemplateField parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.TagTemplateField parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.TagTemplateField parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.TagTemplateField parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.TagTemplateField parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.TagTemplateField parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.TagTemplateField parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.TagTemplateField parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.TagTemplateField parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.TagTemplateField parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.TagTemplateField parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.TagTemplateField prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.TagTemplateField prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 template for an individual field within a tag template.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.TagTemplateField} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.TagTemplateField) com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Tags - .internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.Tags - .internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.TagTemplateField.class, - com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder.class); + com.google.cloud.datacatalog.v1beta1.TagTemplateField.class, com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder.class); } // Construct using com.google.cloud.datacatalog.v1beta1.TagTemplateField.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -518,14 +530,15 @@ public Builder clear() { typeBuilder_ = null; } isRequired_ = false; + description_ = ""; order_ = 0; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.Tags - .internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_descriptor; } @java.lang.Override @@ -544,11 +557,8 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateField build() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TagTemplateField buildPartial() { - com.google.cloud.datacatalog.v1beta1.TagTemplateField result = - new com.google.cloud.datacatalog.v1beta1.TagTemplateField(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1beta1.TagTemplateField result = new com.google.cloud.datacatalog.v1beta1.TagTemplateField(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -562,12 +572,17 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.TagTemplateField result.displayName_ = displayName_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.type_ = typeBuilder_ == null ? type_ : typeBuilder_.build(); + result.type_ = typeBuilder_ == null + ? type_ + : typeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.isRequired_ = isRequired_; } if (((from_bitField0_ & 0x00000010) != 0)) { + result.description_ = description_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { result.order_ = order_; } } @@ -576,39 +591,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.TagTemplateField public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1beta1.TagTemplateField) { - return mergeFrom((com.google.cloud.datacatalog.v1beta1.TagTemplateField) other); + return mergeFrom((com.google.cloud.datacatalog.v1beta1.TagTemplateField)other); } else { super.mergeFrom(other); return this; @@ -616,8 +630,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.TagTemplateField other) { - if (other == com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance()) - return this; + if (other == com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -634,6 +647,11 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.TagTemplateField o if (other.getIsRequired() != false) { setIsRequired(other.getIsRequired()); } + if (!other.getDescription().isEmpty()) { + description_ = other.description_; + bitField0_ |= 0x00000010; + onChanged(); + } if (other.getOrder() != 0) { setOrder(other.getOrder()); } @@ -663,43 +681,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 10 - case 18: - { - input.readMessage(getTypeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 24: - { - isRequired_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 24 - case 40: - { - order_ = input.readInt32(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 50: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 10 + case 18: { + input.readMessage( + getTypeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 24: { + isRequired_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 24 + case 34: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 40: { + order_ = input.readInt32(); + bitField0_ |= 0x00000020; + break; + } // case 40 + case 50: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + 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) { @@ -709,15 +728,13 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
-     * Output only. The resource name of the tag template field in URL format. Example:
+     * Output only. The resource name of the tag template field in URL format.
+     * Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
      *
@@ -726,13 +743,13 @@ public Builder mergeFrom(
      * 
* * string name = 6 [(.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; @@ -741,10 +758,9 @@ public java.lang.String getName() { } } /** - * - * *
-     * Output only. The resource name of the tag template field in URL format. Example:
+     * Output only. The resource name of the tag template field in URL format.
+     * Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
      *
@@ -753,14 +769,15 @@ public java.lang.String getName() {
      * 
* * string name = 6 [(.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 { @@ -768,10 +785,9 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
-     * Output only. The resource name of the tag template field in URL format. Example:
+     * Output only. The resource name of the tag template field in URL format.
+     * Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
      *
@@ -780,24 +796,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 6 [(.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 resource name of the tag template field in URL format. Example:
+     * Output only. The resource name of the tag template field in URL format.
+     * Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
      *
@@ -806,7 +819,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -816,10 +828,9 @@ public Builder clearName() { return this; } /** - * - * *
-     * Output only. The resource name of the tag template field in URL format. Example:
+     * Output only. The resource name of the tag template field in URL format.
+     * Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
      *
@@ -828,14 +839,12 @@ public Builder clearName() {
      * 
* * string name = 6 [(.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; @@ -845,20 +854,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * The display name for this field. Defaults to an empty string.
      * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -867,21 +874,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The display name for this field. Defaults to an empty string.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -889,35 +895,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The display name for this field. Defaults to an empty string.
      * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The display name for this field. Defaults to an empty string.
      * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -927,21 +926,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * The display name for this field. Defaults to an empty string.
      * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -951,58 +946,39 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datacatalog.v1beta1.FieldType type_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.FieldType, - com.google.cloud.datacatalog.v1beta1.FieldType.Builder, - com.google.cloud.datacatalog.v1beta1.FieldTypeOrBuilder> - typeBuilder_; + com.google.cloud.datacatalog.v1beta1.FieldType, com.google.cloud.datacatalog.v1beta1.FieldType.Builder, com.google.cloud.datacatalog.v1beta1.FieldTypeOrBuilder> typeBuilder_; /** - * - * *
      * Required. The type of value this tag field can contain.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the type field is set. */ public boolean hasType() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The type of value this tag field can contain.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ public com.google.cloud.datacatalog.v1beta1.FieldType getType() { if (typeBuilder_ == null) { - return type_ == null - ? com.google.cloud.datacatalog.v1beta1.FieldType.getDefaultInstance() - : type_; + return type_ == null ? com.google.cloud.datacatalog.v1beta1.FieldType.getDefaultInstance() : type_; } else { return typeBuilder_.getMessage(); } } /** - * - * *
      * Required. The type of value this tag field can contain.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setType(com.google.cloud.datacatalog.v1beta1.FieldType value) { if (typeBuilder_ == null) { @@ -1018,17 +994,14 @@ public Builder setType(com.google.cloud.datacatalog.v1beta1.FieldType value) { return this; } /** - * - * *
      * Required. The type of value this tag field can contain.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setType(com.google.cloud.datacatalog.v1beta1.FieldType.Builder builderForValue) { + public Builder setType( + com.google.cloud.datacatalog.v1beta1.FieldType.Builder builderForValue) { if (typeBuilder_ == null) { type_ = builderForValue.build(); } else { @@ -1039,21 +1012,17 @@ public Builder setType(com.google.cloud.datacatalog.v1beta1.FieldType.Builder bu return this; } /** - * - * *
      * Required. The type of value this tag field can contain.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeType(com.google.cloud.datacatalog.v1beta1.FieldType value) { if (typeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && type_ != null - && type_ != com.google.cloud.datacatalog.v1beta1.FieldType.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + type_ != null && + type_ != com.google.cloud.datacatalog.v1beta1.FieldType.getDefaultInstance()) { getTypeBuilder().mergeFrom(value); } else { type_ = value; @@ -1066,15 +1035,11 @@ public Builder mergeType(com.google.cloud.datacatalog.v1beta1.FieldType value) { return this; } /** - * - * *
      * Required. The type of value this tag field can contain.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1087,15 +1052,11 @@ public Builder clearType() { return this; } /** - * - * *
      * Required. The type of value this tag field can contain.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1beta1.FieldType.Builder getTypeBuilder() { bitField0_ |= 0x00000004; @@ -1103,63 +1064,48 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.Builder getTypeBuilder() { return getTypeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The type of value this tag field can contain.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1beta1.FieldTypeOrBuilder getTypeOrBuilder() { if (typeBuilder_ != null) { return typeBuilder_.getMessageOrBuilder(); } else { - return type_ == null - ? com.google.cloud.datacatalog.v1beta1.FieldType.getDefaultInstance() - : type_; + return type_ == null ? + com.google.cloud.datacatalog.v1beta1.FieldType.getDefaultInstance() : type_; } } /** - * - * *
      * Required. The type of value this tag field can contain.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.FieldType, - com.google.cloud.datacatalog.v1beta1.FieldType.Builder, - com.google.cloud.datacatalog.v1beta1.FieldTypeOrBuilder> + com.google.cloud.datacatalog.v1beta1.FieldType, com.google.cloud.datacatalog.v1beta1.FieldType.Builder, com.google.cloud.datacatalog.v1beta1.FieldTypeOrBuilder> getTypeFieldBuilder() { if (typeBuilder_ == null) { - typeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.FieldType, - com.google.cloud.datacatalog.v1beta1.FieldType.Builder, - com.google.cloud.datacatalog.v1beta1.FieldTypeOrBuilder>( - getType(), getParentForChildren(), isClean()); + typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.FieldType, com.google.cloud.datacatalog.v1beta1.FieldType.Builder, com.google.cloud.datacatalog.v1beta1.FieldTypeOrBuilder>( + getType(), + getParentForChildren(), + isClean()); type_ = null; } return typeBuilder_; } - private boolean isRequired_; + private boolean isRequired_ ; /** - * - * *
      * Whether this is a required field. Defaults to false.
      * 
* * bool is_required = 3; - * * @return The isRequired. */ @java.lang.Override @@ -1167,14 +1113,11 @@ public boolean getIsRequired() { return isRequired_; } /** - * - * *
      * Whether this is a required field. Defaults to false.
      * 
* * bool is_required = 3; - * * @param value The isRequired to set. * @return This builder for chaining. */ @@ -1186,14 +1129,11 @@ public Builder setIsRequired(boolean value) { return this; } /** - * - * *
      * Whether this is a required field. Defaults to false.
      * 
* * bool is_required = 3; - * * @return This builder for chaining. */ public Builder clearIsRequired() { @@ -1203,10 +1143,100 @@ public Builder clearIsRequired() { return this; } - private int order_; + private java.lang.Object description_ = ""; /** + *
+     * The description for this field. Defaults to an empty string.
+     * 
* + * string description = 4; + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * The description for this field. Defaults to an empty string.
+     * 
* + * string description = 4; + * @return The bytes for description. + */ + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * The description for this field. Defaults to an empty string.
+     * 
+ * + * string description = 4; + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + description_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * The description for this field. Defaults to an empty string.
+     * 
+ * + * string description = 4; + * @return This builder for chaining. + */ + public Builder clearDescription() { + description_ = getDefaultInstance().getDescription(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + *
+     * The description for this field. Defaults to an empty string.
+     * 
+ * + * string description = 4; + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + description_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private int order_ ; + /** *
      * The order of this field with respect to other fields in this tag
      * template.  A higher value indicates a more important field. The value can
@@ -1215,7 +1245,6 @@ public Builder clearIsRequired() {
      * 
* * int32 order = 5; - * * @return The order. */ @java.lang.Override @@ -1223,8 +1252,6 @@ public int getOrder() { return order_; } /** - * - * *
      * The order of this field with respect to other fields in this tag
      * template.  A higher value indicates a more important field. The value can
@@ -1233,20 +1260,17 @@ public int getOrder() {
      * 
* * int32 order = 5; - * * @param value The order to set. * @return This builder for chaining. */ public Builder setOrder(int value) { order_ = value; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * The order of this field with respect to other fields in this tag
      * template.  A higher value indicates a more important field. The value can
@@ -1255,18 +1279,17 @@ public Builder setOrder(int value) {
      * 
* * int32 order = 5; - * * @return This builder for chaining. */ public Builder clearOrder() { - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000020); order_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1276,12 +1299,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.TagTemplateField) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.TagTemplateField) private static final com.google.cloud.datacatalog.v1beta1.TagTemplateField DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.TagTemplateField(); } @@ -1290,27 +1313,27 @@ public static com.google.cloud.datacatalog.v1beta1.TagTemplateField getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TagTemplateField parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TagTemplateField parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1325,4 +1348,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.TagTemplateField getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldEnumValueName.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldEnumValueName.java new file mode 100644 index 000000000000..f3a190998371 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldEnumValueName.java @@ -0,0 +1,309 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.datacatalog.v1beta1; + +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +@Generated("by gapic-generator-java") +public class TagTemplateFieldEnumValueName implements ResourceName { + private static final PathTemplate + PROJECT_LOCATION_TAG_TEMPLATE_TAG_TEMPLATE_FIELD_ID_ENUM_VALUE_DISPLAY_NAME = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/locations/{location}/tagTemplates/{tag_template}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}"); + private volatile Map fieldValuesMap; + private final String project; + private final String location; + private final String tagTemplate; + private final String tagTemplateFieldId; + private final String enumValueDisplayName; + + @Deprecated + protected TagTemplateFieldEnumValueName() { + project = null; + location = null; + tagTemplate = null; + tagTemplateFieldId = null; + enumValueDisplayName = null; + } + + private TagTemplateFieldEnumValueName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + location = Preconditions.checkNotNull(builder.getLocation()); + tagTemplate = Preconditions.checkNotNull(builder.getTagTemplate()); + tagTemplateFieldId = Preconditions.checkNotNull(builder.getTagTemplateFieldId()); + enumValueDisplayName = Preconditions.checkNotNull(builder.getEnumValueDisplayName()); + } + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getTagTemplate() { + return tagTemplate; + } + + public String getTagTemplateFieldId() { + return tagTemplateFieldId; + } + + public String getEnumValueDisplayName() { + return enumValueDisplayName; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static TagTemplateFieldEnumValueName of( + String project, + String location, + String tagTemplate, + String tagTemplateFieldId, + String enumValueDisplayName) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setTagTemplate(tagTemplate) + .setTagTemplateFieldId(tagTemplateFieldId) + .setEnumValueDisplayName(enumValueDisplayName) + .build(); + } + + public static String format( + String project, + String location, + String tagTemplate, + String tagTemplateFieldId, + String enumValueDisplayName) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setTagTemplate(tagTemplate) + .setTagTemplateFieldId(tagTemplateFieldId) + .setEnumValueDisplayName(enumValueDisplayName) + .build() + .toString(); + } + + public static TagTemplateFieldEnumValueName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PROJECT_LOCATION_TAG_TEMPLATE_TAG_TEMPLATE_FIELD_ID_ENUM_VALUE_DISPLAY_NAME.validatedMatch( + formattedString, + "TagTemplateFieldEnumValueName.parse: formattedString not in valid format"); + return of( + matchMap.get("project"), + matchMap.get("location"), + matchMap.get("tag_template"), + matchMap.get("tag_template_field_id"), + matchMap.get("enum_value_display_name")); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList<>(values.size()); + for (TagTemplateFieldEnumValueName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROJECT_LOCATION_TAG_TEMPLATE_TAG_TEMPLATE_FIELD_ID_ENUM_VALUE_DISPLAY_NAME.matches( + formattedString); + } + + @Override + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + if (project != null) { + fieldMapBuilder.put("project", project); + } + if (location != null) { + fieldMapBuilder.put("location", location); + } + if (tagTemplate != null) { + fieldMapBuilder.put("tag_template", tagTemplate); + } + if (tagTemplateFieldId != null) { + fieldMapBuilder.put("tag_template_field_id", tagTemplateFieldId); + } + if (enumValueDisplayName != null) { + fieldMapBuilder.put("enum_value_display_name", enumValueDisplayName); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PROJECT_LOCATION_TAG_TEMPLATE_TAG_TEMPLATE_FIELD_ID_ENUM_VALUE_DISPLAY_NAME.instantiate( + "project", + project, + "location", + location, + "tag_template", + tagTemplate, + "tag_template_field_id", + tagTemplateFieldId, + "enum_value_display_name", + enumValueDisplayName); + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o != null || getClass() == o.getClass()) { + TagTemplateFieldEnumValueName that = ((TagTemplateFieldEnumValueName) o); + return Objects.equals(this.project, that.project) + && Objects.equals(this.location, that.location) + && Objects.equals(this.tagTemplate, that.tagTemplate) + && Objects.equals(this.tagTemplateFieldId, that.tagTemplateFieldId) + && Objects.equals(this.enumValueDisplayName, that.enumValueDisplayName); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= Objects.hashCode(project); + h *= 1000003; + h ^= Objects.hashCode(location); + h *= 1000003; + h ^= Objects.hashCode(tagTemplate); + h *= 1000003; + h ^= Objects.hashCode(tagTemplateFieldId); + h *= 1000003; + h ^= Objects.hashCode(enumValueDisplayName); + return h; + } + + /** + * Builder for + * projects/{project}/locations/{location}/tagTemplates/{tag_template}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}. + */ + public static class Builder { + private String project; + private String location; + private String tagTemplate; + private String tagTemplateFieldId; + private String enumValueDisplayName; + + protected Builder() {} + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getTagTemplate() { + return tagTemplate; + } + + public String getTagTemplateFieldId() { + return tagTemplateFieldId; + } + + public String getEnumValueDisplayName() { + return enumValueDisplayName; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setLocation(String location) { + this.location = location; + return this; + } + + public Builder setTagTemplate(String tagTemplate) { + this.tagTemplate = tagTemplate; + return this; + } + + public Builder setTagTemplateFieldId(String tagTemplateFieldId) { + this.tagTemplateFieldId = tagTemplateFieldId; + return this; + } + + public Builder setEnumValueDisplayName(String enumValueDisplayName) { + this.enumValueDisplayName = enumValueDisplayName; + return this; + } + + private Builder(TagTemplateFieldEnumValueName tagTemplateFieldEnumValueName) { + this.project = tagTemplateFieldEnumValueName.project; + this.location = tagTemplateFieldEnumValueName.location; + this.tagTemplate = tagTemplateFieldEnumValueName.tagTemplate; + this.tagTemplateFieldId = tagTemplateFieldEnumValueName.tagTemplateFieldId; + this.enumValueDisplayName = tagTemplateFieldEnumValueName.enumValueDisplayName; + } + + public TagTemplateFieldEnumValueName build() { + return new TagTemplateFieldEnumValueName(this); + } + } +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldName.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldName.java similarity index 100% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldName.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldName.java diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldOrBuilder.java similarity index 67% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldOrBuilder.java index c0ecc64a0543..60b76529c291 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldOrBuilder.java @@ -1,33 +1,16 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/tags.proto package com.google.cloud.datacatalog.v1beta1; -public interface TagTemplateFieldOrBuilder - extends +public interface TagTemplateFieldOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.TagTemplateField) com.google.protobuf.MessageOrBuilder { /** - * - * *
-   * Output only. The resource name of the tag template field in URL format. Example:
+   * Output only. The resource name of the tag template field in URL format.
+   * Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
    *
@@ -36,15 +19,13 @@ public interface TagTemplateFieldOrBuilder
    * 
* * string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
-   * Output only. The resource name of the tag template field in URL format. Example:
+   * Output only. The resource name of the tag template field in URL format.
+   * Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
    *
@@ -53,93 +34,89 @@ public interface TagTemplateFieldOrBuilder
    * 
* * string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The display name for this field. Defaults to an empty string.
    * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The display name for this field. Defaults to an empty string.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Required. The type of value this tag field can contain.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the type field is set. */ boolean hasType(); /** - * - * *
    * Required. The type of value this tag field can contain.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ com.google.cloud.datacatalog.v1beta1.FieldType getType(); /** - * - * *
    * Required. The type of value this tag field can contain.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datacatalog.v1beta1.FieldTypeOrBuilder getTypeOrBuilder(); /** - * - * *
    * Whether this is a required field. Defaults to false.
    * 
* * bool is_required = 3; - * * @return The isRequired. */ boolean getIsRequired(); /** + *
+   * The description for this field. Defaults to an empty string.
+   * 
* + * string description = 4; + * @return The description. + */ + java.lang.String getDescription(); + /** + *
+   * The description for this field. Defaults to an empty string.
+   * 
* + * string description = 4; + * @return The bytes for description. + */ + com.google.protobuf.ByteString + getDescriptionBytes(); + + /** *
    * The order of this field with respect to other fields in this tag
    * template.  A higher value indicates a more important field. The value can
@@ -148,7 +125,6 @@ public interface TagTemplateFieldOrBuilder
    * 
* * int32 order = 5; - * * @return The order. */ int getOrder(); diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateName.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateName.java similarity index 100% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateName.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateName.java diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateOrBuilder.java similarity index 70% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateOrBuilder.java index cde0209ba152..319816946104 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/tags.proto package com.google.cloud.datacatalog.v1beta1; -public interface TagTemplateOrBuilder - extends +public interface TagTemplateOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.TagTemplate) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resource name of the tag template in URL format. Example:
    *
@@ -36,13 +18,10 @@ public interface TagTemplateOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The resource name of the tag template in URL format. Example:
    *
@@ -53,39 +32,32 @@ public interface TagTemplateOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The display name for this template. Defaults to an empty string.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The display name for this template. Defaults to an empty string.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. This map must contain
@@ -97,14 +69,10 @@ public interface TagTemplateOrBuilder
    * 64 characters long. Field IDs must start with a letter or underscore.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ int getFieldsCount(); /** - * - * *
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. This map must contain
@@ -116,18 +84,17 @@ public interface TagTemplateOrBuilder
    * 64 characters long. Field IDs must start with a letter or underscore.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + boolean containsFields( + java.lang.String key); + /** + * Use {@link #getFieldsMap()} instead. */ - boolean containsFields(java.lang.String key); - /** Use {@link #getFieldsMap()} instead. */ @java.lang.Deprecated java.util.Map - getFields(); + getFields(); /** - * - * *
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. This map must contain
@@ -139,15 +106,11 @@ public interface TagTemplateOrBuilder
    * 64 characters long. Field IDs must start with a letter or underscore.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ java.util.Map - getFieldsMap(); + getFieldsMap(); /** - * - * *
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. This map must contain
@@ -159,18 +122,14 @@ public interface TagTemplateOrBuilder
    * 64 characters long. Field IDs must start with a letter or underscore.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ /* nullable */ - com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrDefault( +com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.datacatalog.v1beta1.TagTemplateField defaultValue); +com.google.cloud.datacatalog.v1beta1.TagTemplateField defaultValue); /** - * - * *
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. This map must contain
@@ -182,9 +141,8 @@ com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrDefault(
    * 64 characters long. Field IDs must start with a letter or underscore.
    * 
* - * - * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrThrow(java.lang.String key); + com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrThrow( + java.lang.String key); } diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tags.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tags.java new file mode 100644 index 000000000000..05b745ef553a --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tags.java @@ -0,0 +1,212 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/tags.proto + +package com.google.cloud.datacatalog.v1beta1; + +public final class Tags { + private Tags() {} + 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_datacatalog_v1beta1_Tag_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_Tag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_Tag_FieldsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_Tag_FieldsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_TagField_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_TagField_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_FieldsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_FieldsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_FieldType_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_FieldType_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_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/datacatalog/v1beta1/tags." + + "proto\022 google.cloud.datacatalog.v1beta1\032" + + "\037google/api/field_behavior.proto\032\031google" + + "/api/resource.proto\032\037google/protobuf/tim" + + "estamp.proto\"\223\003\n\003Tag\022\014\n\004name\030\001 \001(\t\022\026\n\010te" + + "mplate\030\002 \001(\tB\004\342A\001\002\022#\n\025template_display_n" + + "ame\030\005 \001(\tB\004\342A\001\003\022\020\n\006column\030\004 \001(\tH\000\022G\n\006fie" + + "lds\030\003 \003(\01321.google.cloud.datacatalog.v1b" + + "eta1.Tag.FieldsEntryB\004\342A\001\002\032Y\n\013FieldsEntr" + + "y\022\013\n\003key\030\001 \001(\t\0229\n\005value\030\002 \001(\0132*.google.c" + + "loud.datacatalog.v1beta1.TagField:\0028\001:\201\001" + + "\352A~\n\036datacatalog.googleapis.com/Tag\022\\pro" + + "jects/{project}/locations/{location}/ent" + + "ryGroups/{entry_group}/entries/{entry}/t" + + "ags/{tag}B\007\n\005scope\"\257\002\n\010TagField\022\032\n\014displ" + + "ay_name\030\001 \001(\tB\004\342A\001\003\022\026\n\014double_value\030\002 \001(" + + "\001H\000\022\026\n\014string_value\030\003 \001(\tH\000\022\024\n\nbool_valu" + + "e\030\004 \001(\010H\000\0225\n\017timestamp_value\030\005 \001(\0132\032.goo" + + "gle.protobuf.TimestampH\000\022J\n\nenum_value\030\006" + + " \001(\01324.google.cloud.datacatalog.v1beta1." + + "TagField.EnumValueH\000\022\023\n\005order\030\007 \001(\005B\004\342A\001" + + "\003\032!\n\tEnumValue\022\024\n\014display_name\030\001 \001(\tB\006\n\004" + + "kind\"\327\002\n\013TagTemplate\022\014\n\004name\030\001 \001(\t\022\024\n\014di" + + "splay_name\030\002 \001(\t\022O\n\006fields\030\003 \003(\01329.googl" + + "e.cloud.datacatalog.v1beta1.TagTemplate." + + "FieldsEntryB\004\342A\001\002\032a\n\013FieldsEntry\022\013\n\003key\030" + + "\001 \001(\t\022A\n\005value\030\002 \001(\01322.google.cloud.data" + + "catalog.v1beta1.TagTemplateField:\0028\001:p\352A" + + "m\n&datacatalog.googleapis.com/TagTemplat" + + "e\022Cprojects/{project}/locations/{locatio" + + "n}/tagTemplates/{tag_template}\"\276\002\n\020TagTe" + + "mplateField\022\022\n\004name\030\006 \001(\tB\004\342A\001\003\022\024\n\014displ" + + "ay_name\030\001 \001(\t\022?\n\004type\030\002 \001(\0132+.google.clo" + + "ud.datacatalog.v1beta1.FieldTypeB\004\342A\001\002\022\023" + + "\n\013is_required\030\003 \001(\010\022\023\n\013description\030\004 \001(\t" + + "\022\r\n\005order\030\005 \001(\005:\205\001\352A\201\001\n+datacatalog.goog" + + "leapis.com/TagTemplateField\022Rprojects/{p" + + "roject}/locations/{location}/tagTemplate" + + "s/{tag_template}/fields/{field}\"\250\003\n\tFiel" + + "dType\022S\n\016primitive_type\030\001 \001(\01629.google.c" + + "loud.datacatalog.v1beta1.FieldType.Primi" + + "tiveTypeH\000\022I\n\tenum_type\030\002 \001(\01324.google.c" + + "loud.datacatalog.v1beta1.FieldType.EnumT" + + "ypeH\000\032\213\001\n\010EnumType\022V\n\016allowed_values\030\001 \003" + + "(\0132>.google.cloud.datacatalog.v1beta1.Fi" + + "eldType.EnumType.EnumValue\032\'\n\tEnumValue\022" + + "\032\n\014display_name\030\001 \001(\tB\004\342A\001\002\"`\n\rPrimitive" + + "Type\022\036\n\032PRIMITIVE_TYPE_UNSPECIFIED\020\000\022\n\n\006" + + "DOUBLE\020\001\022\n\n\006STRING\020\002\022\010\n\004BOOL\020\003\022\r\n\tTIMEST" + + "AMP\020\004B\013\n\ttype_declB\337\001\n$com.google.cloud." + + "datacatalog.v1beta1P\001ZFcloud.google.com/" + + "go/datacatalog/apiv1beta1/datacatalogpb;" + + "datacatalogpb\370\001\001\252\002 Google.Cloud.DataCata" + + "log.V1Beta1\312\002 Google\\Cloud\\DataCatalog\\V" + + "1beta1\352\002#Google::Cloud::DataCatalog::V1b" + + "eta1b\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.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1beta1_Tag_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1beta1_Tag_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_Tag_descriptor, + new java.lang.String[] { "Name", "Template", "TemplateDisplayName", "Column", "Fields", "Scope", }); + internal_static_google_cloud_datacatalog_v1beta1_Tag_FieldsEntry_descriptor = + internal_static_google_cloud_datacatalog_v1beta1_Tag_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datacatalog_v1beta1_Tag_FieldsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_Tag_FieldsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_datacatalog_v1beta1_TagField_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1beta1_TagField_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_TagField_descriptor, + new java.lang.String[] { "DisplayName", "DoubleValue", "StringValue", "BoolValue", "TimestampValue", "EnumValue", "Order", "Kind", }); + internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_descriptor = + internal_static_google_cloud_datacatalog_v1beta1_TagField_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_descriptor, + new java.lang.String[] { "DisplayName", }); + internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_descriptor, + new java.lang.String[] { "Name", "DisplayName", "Fields", }); + internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_FieldsEntry_descriptor = + internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_FieldsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_FieldsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_descriptor, + new java.lang.String[] { "Name", "DisplayName", "Type", "IsRequired", "Description", "Order", }); + internal_static_google_cloud_datacatalog_v1beta1_FieldType_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_datacatalog_v1beta1_FieldType_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_FieldType_descriptor, + new java.lang.String[] { "PrimitiveType", "EnumType", "TypeDecl", }); + internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_descriptor = + internal_static_google_cloud_datacatalog_v1beta1_FieldType_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_descriptor, + new java.lang.String[] { "AllowedValues", }); + internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_descriptor = + internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_descriptor, + new java.lang.String[] { "DisplayName", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Taxonomy.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Taxonomy.java new file mode 100644 index 000000000000..c60a86fc6376 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Taxonomy.java @@ -0,0 +1,2759 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/policytagmanager.proto + +package com.google.cloud.datacatalog.v1beta1; + +/** + *
+ * A taxonomy is a collection of policy tags that classify data along a common
+ * axis. For instance a data *sensitivity* taxonomy could contain policy tags
+ * denoting PII such as age, zipcode, and SSN. A data *origin* taxonomy could
+ * contain policy tags to distinguish user data, employee data, partner data,
+ * public data.
+ * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1beta1.Taxonomy} + */ +public final class Taxonomy extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.Taxonomy) + TaxonomyOrBuilder { +private static final long serialVersionUID = 0L; + // Use Taxonomy.newBuilder() to construct. + private Taxonomy(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Taxonomy() { + name_ = ""; + displayName_ = ""; + description_ = ""; + activatedPolicyTypes_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Taxonomy(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1beta1.Taxonomy.class, com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder.class); + } + + /** + *
+   * Defines policy types where policy tag can be used for.
+   * 
+ * + * Protobuf enum {@code google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType} + */ + public enum PolicyType + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+     * Unspecified policy type.
+     * 
+ * + * POLICY_TYPE_UNSPECIFIED = 0; + */ + POLICY_TYPE_UNSPECIFIED(0), + /** + *
+     * Fine grained access control policy, which enables access control on
+     * tagged resources.
+     * 
+ * + * FINE_GRAINED_ACCESS_CONTROL = 1; + */ + FINE_GRAINED_ACCESS_CONTROL(1), + UNRECOGNIZED(-1), + ; + + /** + *
+     * Unspecified policy type.
+     * 
+ * + * POLICY_TYPE_UNSPECIFIED = 0; + */ + public static final int POLICY_TYPE_UNSPECIFIED_VALUE = 0; + /** + *
+     * Fine grained access control policy, which enables access control on
+     * tagged resources.
+     * 
+ * + * FINE_GRAINED_ACCESS_CONTROL = 1; + */ + public static final int FINE_GRAINED_ACCESS_CONTROL_VALUE = 1; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static PolicyType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static PolicyType forNumber(int value) { + switch (value) { + case 0: return POLICY_TYPE_UNSPECIFIED; + case 1: return FINE_GRAINED_ACCESS_CONTROL; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + PolicyType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PolicyType findValueByNumber(int number) { + return PolicyType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Taxonomy.getDescriptor().getEnumTypes().get(0); + } + + private static final PolicyType[] VALUES = values(); + + public static PolicyType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private PolicyType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType) + } + + public interface ServiceOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.Taxonomy.Service) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * The Google Cloud service name.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.ManagingSystem name = 1; + * @return The enum numeric value on the wire for name. + */ + int getNameValue(); + /** + *
+     * The Google Cloud service name.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.ManagingSystem name = 1; + * @return The name. + */ + com.google.cloud.datacatalog.v1beta1.ManagingSystem getName(); + + /** + *
+     * The service agent for the service.
+     * 
+ * + * string identity = 2; + * @return The identity. + */ + java.lang.String getIdentity(); + /** + *
+     * The service agent for the service.
+     * 
+ * + * string identity = 2; + * @return The bytes for identity. + */ + com.google.protobuf.ByteString + getIdentityBytes(); + } + /** + *
+   * The source system of the Taxonomy.
+   * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1beta1.Taxonomy.Service} + */ + public static final class Service extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.Taxonomy.Service) + ServiceOrBuilder { + private static final long serialVersionUID = 0L; + // Use Service.newBuilder() to construct. + private Service(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Service() { + name_ = 0; + identity_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Service(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_Service_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_Service_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.class, com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private int name_ = 0; + /** + *
+     * The Google Cloud service name.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.ManagingSystem name = 1; + * @return The enum numeric value on the wire for name. + */ + @java.lang.Override public int getNameValue() { + return name_; + } + /** + *
+     * The Google Cloud service name.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.ManagingSystem name = 1; + * @return The name. + */ + @java.lang.Override public com.google.cloud.datacatalog.v1beta1.ManagingSystem getName() { + com.google.cloud.datacatalog.v1beta1.ManagingSystem result = com.google.cloud.datacatalog.v1beta1.ManagingSystem.forNumber(name_); + return result == null ? com.google.cloud.datacatalog.v1beta1.ManagingSystem.UNRECOGNIZED : result; + } + + public static final int IDENTITY_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object identity_ = ""; + /** + *
+     * The service agent for the service.
+     * 
+ * + * string identity = 2; + * @return The identity. + */ + @java.lang.Override + public java.lang.String getIdentity() { + java.lang.Object ref = identity_; + 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(); + identity_ = s; + return s; + } + } + /** + *
+     * The service agent for the service.
+     * 
+ * + * string identity = 2; + * @return The bytes for identity. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getIdentityBytes() { + java.lang.Object ref = identity_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + identity_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (name_ != com.google.cloud.datacatalog.v1beta1.ManagingSystem.MANAGING_SYSTEM_UNSPECIFIED.getNumber()) { + output.writeEnum(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(identity_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, identity_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (name_ != com.google.cloud.datacatalog.v1beta1.ManagingSystem.MANAGING_SYSTEM_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(identity_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, identity_); + } + 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.datacatalog.v1beta1.Taxonomy.Service)) { + return super.equals(obj); + } + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service other = (com.google.cloud.datacatalog.v1beta1.Taxonomy.Service) obj; + + if (name_ != other.name_) return false; + if (!getIdentity() + .equals(other.getIdentity())) 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) + NAME_FIELD_NUMBER; + hash = (53 * hash) + name_; + hash = (37 * hash) + IDENTITY_FIELD_NUMBER; + hash = (53 * hash) + getIdentity().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service 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.datacatalog.v1beta1.Taxonomy.Service parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service parseFrom( + java.io.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.datacatalog.v1beta1.Taxonomy.Service parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service parseDelimitedFrom( + java.io.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.datacatalog.v1beta1.Taxonomy.Service parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service 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.datacatalog.v1beta1.Taxonomy.Service 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; + } + /** + *
+     * The source system of the Taxonomy.
+     * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1beta1.Taxonomy.Service} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.Taxonomy.Service) + com.google.cloud.datacatalog.v1beta1.Taxonomy.ServiceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_Service_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_Service_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.class, com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.Builder.class); + } + + // Construct using com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = 0; + identity_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_Service_descriptor; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.Taxonomy.Service getDefaultInstanceForType() { + return com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.Taxonomy.Service build() { + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.Taxonomy.Service buildPartial() { + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service result = new com.google.cloud.datacatalog.v1beta1.Taxonomy.Service(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.datacatalog.v1beta1.Taxonomy.Service result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.identity_ = identity_; + } + } + + @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.datacatalog.v1beta1.Taxonomy.Service) { + return mergeFrom((com.google.cloud.datacatalog.v1beta1.Taxonomy.Service)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.Taxonomy.Service other) { + if (other == com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.getDefaultInstance()) return this; + if (other.name_ != 0) { + setNameValue(other.getNameValue()); + } + if (!other.getIdentity().isEmpty()) { + identity_ = other.identity_; + bitField0_ |= 0x00000002; + onChanged(); + } + 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 8: { + name_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + identity_ = 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int name_ = 0; + /** + *
+       * The Google Cloud service name.
+       * 
+ * + * .google.cloud.datacatalog.v1beta1.ManagingSystem name = 1; + * @return The enum numeric value on the wire for name. + */ + @java.lang.Override public int getNameValue() { + return name_; + } + /** + *
+       * The Google Cloud service name.
+       * 
+ * + * .google.cloud.datacatalog.v1beta1.ManagingSystem name = 1; + * @param value The enum numeric value on the wire for name to set. + * @return This builder for chaining. + */ + public Builder setNameValue(int value) { + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * The Google Cloud service name.
+       * 
+ * + * .google.cloud.datacatalog.v1beta1.ManagingSystem name = 1; + * @return The name. + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.ManagingSystem getName() { + com.google.cloud.datacatalog.v1beta1.ManagingSystem result = com.google.cloud.datacatalog.v1beta1.ManagingSystem.forNumber(name_); + return result == null ? com.google.cloud.datacatalog.v1beta1.ManagingSystem.UNRECOGNIZED : result; + } + /** + *
+       * The Google Cloud service name.
+       * 
+ * + * .google.cloud.datacatalog.v1beta1.ManagingSystem name = 1; + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(com.google.cloud.datacatalog.v1beta1.ManagingSystem value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + name_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+       * The Google Cloud service name.
+       * 
+ * + * .google.cloud.datacatalog.v1beta1.ManagingSystem name = 1; + * @return This builder for chaining. + */ + public Builder clearName() { + bitField0_ = (bitField0_ & ~0x00000001); + name_ = 0; + onChanged(); + return this; + } + + private java.lang.Object identity_ = ""; + /** + *
+       * The service agent for the service.
+       * 
+ * + * string identity = 2; + * @return The identity. + */ + public java.lang.String getIdentity() { + java.lang.Object ref = identity_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + identity_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * The service agent for the service.
+       * 
+ * + * string identity = 2; + * @return The bytes for identity. + */ + public com.google.protobuf.ByteString + getIdentityBytes() { + java.lang.Object ref = identity_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + identity_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * The service agent for the service.
+       * 
+ * + * string identity = 2; + * @param value The identity to set. + * @return This builder for chaining. + */ + public Builder setIdentity( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + identity_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * The service agent for the service.
+       * 
+ * + * string identity = 2; + * @return This builder for chaining. + */ + public Builder clearIdentity() { + identity_ = getDefaultInstance().getIdentity(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * The service agent for the service.
+       * 
+ * + * string identity = 2; + * @param value The bytes for identity to set. + * @return This builder for chaining. + */ + public Builder setIdentityBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + identity_ = value; + bitField0_ |= 0x00000002; + 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.datacatalog.v1beta1.Taxonomy.Service) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.Taxonomy.Service) + private static final com.google.cloud.datacatalog.v1beta1.Taxonomy.Service DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.Taxonomy.Service(); + } + + public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Service parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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.datacatalog.v1beta1.Taxonomy.Service getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + *
+   * Output only. Resource name of this taxonomy, whose format is:
+   * "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + /** + *
+   * Output only. Resource name of this taxonomy, whose format is:
+   * "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object displayName_ = ""; + /** + *
+   * Required. User defined name of this taxonomy. It must: contain only unicode
+   * letters, numbers, underscores, dashes and spaces; not start or end with
+   * spaces; and be at most 200 bytes long when encoded in UTF-8.
+   *
+   * The taxonomy display name must be unique within an organization.
+   * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The displayName. + */ + @java.lang.Override + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + 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(); + displayName_ = s; + return s; + } + } + /** + *
+   * Required. User defined name of this taxonomy. It must: contain only unicode
+   * letters, numbers, underscores, dashes and spaces; not start or end with
+   * spaces; and be at most 200 bytes long when encoded in UTF-8.
+   *
+   * The taxonomy display name must be unique within an organization.
+   * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for displayName. + */ + @java.lang.Override + 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); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DESCRIPTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object description_ = ""; + /** + *
+   * Optional. Description of this taxonomy. It must: contain only unicode
+   * characters, tabs, newlines, carriage returns and page breaks; and be at
+   * most 2000 bytes long when encoded in UTF-8. If not set, defaults to an
+   * empty description.
+   * 
+ * + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } + } + /** + *
+   * Optional. Description of this taxonomy. It must: contain only unicode
+   * characters, tabs, newlines, carriage returns and page breaks; and be at
+   * most 2000 bytes long when encoded in UTF-8. If not set, defaults to an
+   * empty description.
+   * 
+ * + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int POLICY_TAG_COUNT_FIELD_NUMBER = 4; + private int policyTagCount_ = 0; + /** + *
+   * Output only. Number of policy tags contained in this taxonomy.
+   * 
+ * + * int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The policyTagCount. + */ + @java.lang.Override + public int getPolicyTagCount() { + return policyTagCount_; + } + + public static final int TAXONOMY_TIMESTAMPS_FIELD_NUMBER = 5; + private com.google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomyTimestamps_; + /** + *
+   * Output only. Timestamps about this taxonomy. Only create_time and
+   * update_time are used.
+   * 
+ * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the taxonomyTimestamps field is set. + */ + @java.lang.Override + public boolean hasTaxonomyTimestamps() { + return taxonomyTimestamps_ != null; + } + /** + *
+   * Output only. Timestamps about this taxonomy. Only create_time and
+   * update_time are used.
+   * 
+ * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The taxonomyTimestamps. + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getTaxonomyTimestamps() { + return taxonomyTimestamps_ == null ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() : taxonomyTimestamps_; + } + /** + *
+   * Output only. Timestamps about this taxonomy. Only create_time and
+   * update_time are used.
+   * 
+ * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder getTaxonomyTimestampsOrBuilder() { + return taxonomyTimestamps_ == null ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() : taxonomyTimestamps_; + } + + public static final int ACTIVATED_POLICY_TYPES_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private java.util.List activatedPolicyTypes_; + private static final com.google.protobuf.Internal.ListAdapter.Converter< + java.lang.Integer, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType> activatedPolicyTypes_converter_ = + new com.google.protobuf.Internal.ListAdapter.Converter< + java.lang.Integer, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType>() { + public com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType convert(java.lang.Integer from) { + com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType result = com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType.forNumber(from); + return result == null ? com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType.UNRECOGNIZED : result; + } + }; + /** + *
+   * Optional. A list of policy types that are activated for this taxonomy. If
+   * not set, defaults to an empty list.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return A list containing the activatedPolicyTypes. + */ + @java.lang.Override + public java.util.List getActivatedPolicyTypesList() { + return new com.google.protobuf.Internal.ListAdapter< + java.lang.Integer, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType>(activatedPolicyTypes_, activatedPolicyTypes_converter_); + } + /** + *
+   * Optional. A list of policy types that are activated for this taxonomy. If
+   * not set, defaults to an empty list.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The count of activatedPolicyTypes. + */ + @java.lang.Override + public int getActivatedPolicyTypesCount() { + return activatedPolicyTypes_.size(); + } + /** + *
+   * Optional. A list of policy types that are activated for this taxonomy. If
+   * not set, defaults to an empty list.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param index The index of the element to return. + * @return The activatedPolicyTypes at the given index. + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType getActivatedPolicyTypes(int index) { + return activatedPolicyTypes_converter_.convert(activatedPolicyTypes_.get(index)); + } + /** + *
+   * Optional. A list of policy types that are activated for this taxonomy. If
+   * not set, defaults to an empty list.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return A list containing the enum numeric values on the wire for activatedPolicyTypes. + */ + @java.lang.Override + public java.util.List + getActivatedPolicyTypesValueList() { + return activatedPolicyTypes_; + } + /** + *
+   * Optional. A list of policy types that are activated for this taxonomy. If
+   * not set, defaults to an empty list.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param index The index of the value to return. + * @return The enum numeric value on the wire of activatedPolicyTypes at the given index. + */ + @java.lang.Override + public int getActivatedPolicyTypesValue(int index) { + return activatedPolicyTypes_.get(index); + } + private int activatedPolicyTypesMemoizedSerializedSize; + + public static final int SERVICE_FIELD_NUMBER = 7; + private com.google.cloud.datacatalog.v1beta1.Taxonomy.Service service_; + /** + *
+   * Output only. Identity of the service which owns the Taxonomy. This field is
+   * only populated when the taxonomy is created by a Google Cloud service.
+   * Currently only 'DATAPLEX' is supported.
+   * 
+ * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the service field is set. + */ + @java.lang.Override + public boolean hasService() { + return service_ != null; + } + /** + *
+   * Output only. Identity of the service which owns the Taxonomy. This field is
+   * only populated when the taxonomy is created by a Google Cloud service.
+   * Currently only 'DATAPLEX' is supported.
+   * 
+ * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The service. + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.Taxonomy.Service getService() { + return service_ == null ? com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.getDefaultInstance() : service_; + } + /** + *
+   * Output only. Identity of the service which owns the Taxonomy. This field is
+   * only populated when the taxonomy is created by a Google Cloud service.
+   * Currently only 'DATAPLEX' is supported.
+   * 
+ * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.Taxonomy.ServiceOrBuilder getServiceOrBuilder() { + return service_ == null ? com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.getDefaultInstance() : service_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); + } + if (policyTagCount_ != 0) { + output.writeInt32(4, policyTagCount_); + } + if (taxonomyTimestamps_ != null) { + output.writeMessage(5, getTaxonomyTimestamps()); + } + if (getActivatedPolicyTypesList().size() > 0) { + output.writeUInt32NoTag(50); + output.writeUInt32NoTag(activatedPolicyTypesMemoizedSerializedSize); + } + for (int i = 0; i < activatedPolicyTypes_.size(); i++) { + output.writeEnumNoTag(activatedPolicyTypes_.get(i)); + } + if (service_ != null) { + output.writeMessage(7, getService()); + } + 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(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); + } + if (policyTagCount_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, policyTagCount_); + } + if (taxonomyTimestamps_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getTaxonomyTimestamps()); + } + { + int dataSize = 0; + for (int i = 0; i < activatedPolicyTypes_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(activatedPolicyTypes_.get(i)); + } + size += dataSize; + if (!getActivatedPolicyTypesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }activatedPolicyTypesMemoizedSerializedSize = dataSize; + } + if (service_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getService()); + } + 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.datacatalog.v1beta1.Taxonomy)) { + return super.equals(obj); + } + com.google.cloud.datacatalog.v1beta1.Taxonomy other = (com.google.cloud.datacatalog.v1beta1.Taxonomy) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (getPolicyTagCount() + != other.getPolicyTagCount()) return false; + if (hasTaxonomyTimestamps() != other.hasTaxonomyTimestamps()) return false; + if (hasTaxonomyTimestamps()) { + if (!getTaxonomyTimestamps() + .equals(other.getTaxonomyTimestamps())) return false; + } + if (!activatedPolicyTypes_.equals(other.activatedPolicyTypes_)) return false; + if (hasService() != other.hasService()) return false; + if (hasService()) { + if (!getService() + .equals(other.getService())) 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) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; + hash = (53 * hash) + getDisplayName().hashCode(); + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + hash = (37 * hash) + POLICY_TAG_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getPolicyTagCount(); + if (hasTaxonomyTimestamps()) { + hash = (37 * hash) + TAXONOMY_TIMESTAMPS_FIELD_NUMBER; + hash = (53 * hash) + getTaxonomyTimestamps().hashCode(); + } + if (getActivatedPolicyTypesCount() > 0) { + hash = (37 * hash) + ACTIVATED_POLICY_TYPES_FIELD_NUMBER; + hash = (53 * hash) + activatedPolicyTypes_.hashCode(); + } + if (hasService()) { + hash = (37 * hash) + SERVICE_FIELD_NUMBER; + hash = (53 * hash) + getService().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datacatalog.v1beta1.Taxonomy parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datacatalog.v1beta1.Taxonomy 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.datacatalog.v1beta1.Taxonomy parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datacatalog.v1beta1.Taxonomy parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datacatalog.v1beta1.Taxonomy parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datacatalog.v1beta1.Taxonomy parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datacatalog.v1beta1.Taxonomy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datacatalog.v1beta1.Taxonomy parseFrom( + java.io.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.datacatalog.v1beta1.Taxonomy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1beta1.Taxonomy parseDelimitedFrom( + java.io.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.datacatalog.v1beta1.Taxonomy parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datacatalog.v1beta1.Taxonomy 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.datacatalog.v1beta1.Taxonomy prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * A taxonomy is a collection of policy tags that classify data along a common
+   * axis. For instance a data *sensitivity* taxonomy could contain policy tags
+   * denoting PII such as age, zipcode, and SSN. A data *origin* taxonomy could
+   * contain policy tags to distinguish user data, employee data, partner data,
+   * public data.
+   * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1beta1.Taxonomy} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.Taxonomy) + com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1beta1.Taxonomy.class, com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder.class); + } + + // Construct using com.google.cloud.datacatalog.v1beta1.Taxonomy.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + displayName_ = ""; + description_ = ""; + policyTagCount_ = 0; + taxonomyTimestamps_ = null; + if (taxonomyTimestampsBuilder_ != null) { + taxonomyTimestampsBuilder_.dispose(); + taxonomyTimestampsBuilder_ = null; + } + activatedPolicyTypes_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + service_ = null; + if (serviceBuilder_ != null) { + serviceBuilder_.dispose(); + serviceBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_descriptor; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.Taxonomy getDefaultInstanceForType() { + return com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.Taxonomy build() { + com.google.cloud.datacatalog.v1beta1.Taxonomy result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.Taxonomy buildPartial() { + com.google.cloud.datacatalog.v1beta1.Taxonomy result = new com.google.cloud.datacatalog.v1beta1.Taxonomy(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.Taxonomy result) { + if (((bitField0_ & 0x00000020) != 0)) { + activatedPolicyTypes_ = java.util.Collections.unmodifiableList(activatedPolicyTypes_); + bitField0_ = (bitField0_ & ~0x00000020); + } + result.activatedPolicyTypes_ = activatedPolicyTypes_; + } + + private void buildPartial0(com.google.cloud.datacatalog.v1beta1.Taxonomy result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.displayName_ = displayName_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.description_ = description_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.policyTagCount_ = policyTagCount_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.taxonomyTimestamps_ = taxonomyTimestampsBuilder_ == null + ? taxonomyTimestamps_ + : taxonomyTimestampsBuilder_.build(); + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.service_ = serviceBuilder_ == null + ? service_ + : serviceBuilder_.build(); + } + } + + @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.datacatalog.v1beta1.Taxonomy) { + return mergeFrom((com.google.cloud.datacatalog.v1beta1.Taxonomy)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.Taxonomy other) { + if (other == com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getDisplayName().isEmpty()) { + displayName_ = other.displayName_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getDescription().isEmpty()) { + description_ = other.description_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.getPolicyTagCount() != 0) { + setPolicyTagCount(other.getPolicyTagCount()); + } + if (other.hasTaxonomyTimestamps()) { + mergeTaxonomyTimestamps(other.getTaxonomyTimestamps()); + } + if (!other.activatedPolicyTypes_.isEmpty()) { + if (activatedPolicyTypes_.isEmpty()) { + activatedPolicyTypes_ = other.activatedPolicyTypes_; + bitField0_ = (bitField0_ & ~0x00000020); + } else { + ensureActivatedPolicyTypesIsMutable(); + activatedPolicyTypes_.addAll(other.activatedPolicyTypes_); + } + onChanged(); + } + if (other.hasService()) { + mergeService(other.getService()); + } + 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: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + policyTagCount_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + input.readMessage( + getTaxonomyTimestampsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: { + int tmpRaw = input.readEnum(); + ensureActivatedPolicyTypesIsMutable(); + activatedPolicyTypes_.add(tmpRaw); + break; + } // case 48 + case 50: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureActivatedPolicyTypesIsMutable(); + activatedPolicyTypes_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 50 + case 58: { + input.readMessage( + getServiceFieldBuilder().getBuilder(), + extensionRegistry); + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + *
+     * Output only. Resource name of this taxonomy, whose format is:
+     * "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
+     * 
+ * + * 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; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Output only. Resource name of this taxonomy, whose format is:
+     * "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Output only. Resource name of this taxonomy, whose format is:
+     * "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
+     * 
+ * + * 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(); } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Output only. Resource name of this taxonomy, whose format is:
+     * "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     * Output only. Resource name of this taxonomy, whose format is:
+     * "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
+     * 
+ * + * 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(); } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object displayName_ = ""; + /** + *
+     * Required. User defined name of this taxonomy. It must: contain only unicode
+     * letters, numbers, underscores, dashes and spaces; not start or end with
+     * spaces; and be at most 200 bytes long when encoded in UTF-8.
+     *
+     * The taxonomy display name must be unique within an organization.
+     * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @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; + java.lang.String s = bs.toStringUtf8(); + displayName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. User defined name of this taxonomy. It must: contain only unicode
+     * letters, numbers, underscores, dashes and spaces; not start or end with
+     * spaces; and be at most 200 bytes long when encoded in UTF-8.
+     *
+     * The taxonomy display name must be unique within an organization.
+     * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for displayName. + */ + 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); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. User defined name of this taxonomy. It must: contain only unicode
+     * letters, numbers, underscores, dashes and spaces; not start or end with
+     * spaces; and be at most 200 bytes long when encoded in UTF-8.
+     *
+     * The taxonomy display name must be unique within an organization.
+     * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + displayName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * Required. User defined name of this taxonomy. It must: contain only unicode
+     * letters, numbers, underscores, dashes and spaces; not start or end with
+     * spaces; and be at most 200 bytes long when encoded in UTF-8.
+     *
+     * The taxonomy display name must be unique within an organization.
+     * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearDisplayName() { + displayName_ = getDefaultInstance().getDisplayName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+     * Required. User defined name of this taxonomy. It must: contain only unicode
+     * letters, numbers, underscores, dashes and spaces; not start or end with
+     * spaces; and be at most 200 bytes long when encoded in UTF-8.
+     *
+     * The taxonomy display name must be unique within an organization.
+     * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @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(); } + checkByteStringIsUtf8(value); + displayName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object description_ = ""; + /** + *
+     * Optional. Description of this taxonomy. It must: contain only unicode
+     * characters, tabs, newlines, carriage returns and page breaks; and be at
+     * most 2000 bytes long when encoded in UTF-8. If not set, defaults to an
+     * empty description.
+     * 
+ * + * 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; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional. Description of this taxonomy. It must: contain only unicode
+     * characters, tabs, newlines, carriage returns and page breaks; and be at
+     * most 2000 bytes long when encoded in UTF-8. If not set, defaults to an
+     * empty description.
+     * 
+ * + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for description. + */ + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional. Description of this taxonomy. It must: contain only unicode
+     * characters, tabs, newlines, carriage returns and page breaks; and be at
+     * most 2000 bytes long when encoded in UTF-8. If not set, defaults to an
+     * empty description.
+     * 
+ * + * 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(); } + description_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * Optional. Description of this taxonomy. It must: contain only unicode
+     * characters, tabs, newlines, carriage returns and page breaks; and be at
+     * most 2000 bytes long when encoded in UTF-8. If not set, defaults to an
+     * empty description.
+     * 
+ * + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearDescription() { + description_ = getDefaultInstance().getDescription(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + *
+     * Optional. Description of this taxonomy. It must: contain only unicode
+     * characters, tabs, newlines, carriage returns and page breaks; and be at
+     * most 2000 bytes long when encoded in UTF-8. If not set, defaults to an
+     * empty description.
+     * 
+ * + * 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(); } + checkByteStringIsUtf8(value); + description_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private int policyTagCount_ ; + /** + *
+     * Output only. Number of policy tags contained in this taxonomy.
+     * 
+ * + * int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The policyTagCount. + */ + @java.lang.Override + public int getPolicyTagCount() { + return policyTagCount_; + } + /** + *
+     * Output only. Number of policy tags contained in this taxonomy.
+     * 
+ * + * int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The policyTagCount to set. + * @return This builder for chaining. + */ + public Builder setPolicyTagCount(int value) { + + policyTagCount_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Output only. Number of policy tags contained in this taxonomy.
+     * 
+ * + * int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearPolicyTagCount() { + bitField0_ = (bitField0_ & ~0x00000008); + policyTagCount_ = 0; + onChanged(); + return this; + } + + private com.google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomyTimestamps_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.SystemTimestamps, com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder> taxonomyTimestampsBuilder_; + /** + *
+     * Output only. Timestamps about this taxonomy. Only create_time and
+     * update_time are used.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the taxonomyTimestamps field is set. + */ + public boolean hasTaxonomyTimestamps() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + *
+     * Output only. Timestamps about this taxonomy. Only create_time and
+     * update_time are used.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The taxonomyTimestamps. + */ + public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getTaxonomyTimestamps() { + if (taxonomyTimestampsBuilder_ == null) { + return taxonomyTimestamps_ == null ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() : taxonomyTimestamps_; + } else { + return taxonomyTimestampsBuilder_.getMessage(); + } + } + /** + *
+     * Output only. Timestamps about this taxonomy. Only create_time and
+     * update_time are used.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setTaxonomyTimestamps(com.google.cloud.datacatalog.v1beta1.SystemTimestamps value) { + if (taxonomyTimestampsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + taxonomyTimestamps_ = value; + } else { + taxonomyTimestampsBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * Output only. Timestamps about this taxonomy. Only create_time and
+     * update_time are used.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setTaxonomyTimestamps( + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder builderForValue) { + if (taxonomyTimestampsBuilder_ == null) { + taxonomyTimestamps_ = builderForValue.build(); + } else { + taxonomyTimestampsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * Output only. Timestamps about this taxonomy. Only create_time and
+     * update_time are used.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeTaxonomyTimestamps(com.google.cloud.datacatalog.v1beta1.SystemTimestamps value) { + if (taxonomyTimestampsBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) && + taxonomyTimestamps_ != null && + taxonomyTimestamps_ != com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance()) { + getTaxonomyTimestampsBuilder().mergeFrom(value); + } else { + taxonomyTimestamps_ = value; + } + } else { + taxonomyTimestampsBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * Output only. Timestamps about this taxonomy. Only create_time and
+     * update_time are used.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearTaxonomyTimestamps() { + bitField0_ = (bitField0_ & ~0x00000010); + taxonomyTimestamps_ = null; + if (taxonomyTimestampsBuilder_ != null) { + taxonomyTimestampsBuilder_.dispose(); + taxonomyTimestampsBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * Output only. Timestamps about this taxonomy. Only create_time and
+     * update_time are used.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder getTaxonomyTimestampsBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getTaxonomyTimestampsFieldBuilder().getBuilder(); + } + /** + *
+     * Output only. Timestamps about this taxonomy. Only create_time and
+     * update_time are used.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder getTaxonomyTimestampsOrBuilder() { + if (taxonomyTimestampsBuilder_ != null) { + return taxonomyTimestampsBuilder_.getMessageOrBuilder(); + } else { + return taxonomyTimestamps_ == null ? + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() : taxonomyTimestamps_; + } + } + /** + *
+     * Output only. Timestamps about this taxonomy. Only create_time and
+     * update_time are used.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.SystemTimestamps, com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder> + getTaxonomyTimestampsFieldBuilder() { + if (taxonomyTimestampsBuilder_ == null) { + taxonomyTimestampsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.SystemTimestamps, com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder>( + getTaxonomyTimestamps(), + getParentForChildren(), + isClean()); + taxonomyTimestamps_ = null; + } + return taxonomyTimestampsBuilder_; + } + + private java.util.List activatedPolicyTypes_ = + java.util.Collections.emptyList(); + private void ensureActivatedPolicyTypesIsMutable() { + if (!((bitField0_ & 0x00000020) != 0)) { + activatedPolicyTypes_ = new java.util.ArrayList(activatedPolicyTypes_); + bitField0_ |= 0x00000020; + } + } + /** + *
+     * Optional. A list of policy types that are activated for this taxonomy. If
+     * not set, defaults to an empty list.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return A list containing the activatedPolicyTypes. + */ + public java.util.List getActivatedPolicyTypesList() { + return new com.google.protobuf.Internal.ListAdapter< + java.lang.Integer, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType>(activatedPolicyTypes_, activatedPolicyTypes_converter_); + } + /** + *
+     * Optional. A list of policy types that are activated for this taxonomy. If
+     * not set, defaults to an empty list.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The count of activatedPolicyTypes. + */ + public int getActivatedPolicyTypesCount() { + return activatedPolicyTypes_.size(); + } + /** + *
+     * Optional. A list of policy types that are activated for this taxonomy. If
+     * not set, defaults to an empty list.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param index The index of the element to return. + * @return The activatedPolicyTypes at the given index. + */ + public com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType getActivatedPolicyTypes(int index) { + return activatedPolicyTypes_converter_.convert(activatedPolicyTypes_.get(index)); + } + /** + *
+     * Optional. A list of policy types that are activated for this taxonomy. If
+     * not set, defaults to an empty list.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param index The index to set the value at. + * @param value The activatedPolicyTypes to set. + * @return This builder for chaining. + */ + public Builder setActivatedPolicyTypes( + int index, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType value) { + if (value == null) { + throw new NullPointerException(); + } + ensureActivatedPolicyTypesIsMutable(); + activatedPolicyTypes_.set(index, value.getNumber()); + onChanged(); + return this; + } + /** + *
+     * Optional. A list of policy types that are activated for this taxonomy. If
+     * not set, defaults to an empty list.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The activatedPolicyTypes to add. + * @return This builder for chaining. + */ + public Builder addActivatedPolicyTypes(com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType value) { + if (value == null) { + throw new NullPointerException(); + } + ensureActivatedPolicyTypesIsMutable(); + activatedPolicyTypes_.add(value.getNumber()); + onChanged(); + return this; + } + /** + *
+     * Optional. A list of policy types that are activated for this taxonomy. If
+     * not set, defaults to an empty list.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param values The activatedPolicyTypes to add. + * @return This builder for chaining. + */ + public Builder addAllActivatedPolicyTypes( + java.lang.Iterable values) { + ensureActivatedPolicyTypesIsMutable(); + for (com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType value : values) { + activatedPolicyTypes_.add(value.getNumber()); + } + onChanged(); + return this; + } + /** + *
+     * Optional. A list of policy types that are activated for this taxonomy. If
+     * not set, defaults to an empty list.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearActivatedPolicyTypes() { + activatedPolicyTypes_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + *
+     * Optional. A list of policy types that are activated for this taxonomy. If
+     * not set, defaults to an empty list.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return A list containing the enum numeric values on the wire for activatedPolicyTypes. + */ + public java.util.List + getActivatedPolicyTypesValueList() { + return java.util.Collections.unmodifiableList(activatedPolicyTypes_); + } + /** + *
+     * Optional. A list of policy types that are activated for this taxonomy. If
+     * not set, defaults to an empty list.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param index The index of the value to return. + * @return The enum numeric value on the wire of activatedPolicyTypes at the given index. + */ + public int getActivatedPolicyTypesValue(int index) { + return activatedPolicyTypes_.get(index); + } + /** + *
+     * Optional. A list of policy types that are activated for this taxonomy. If
+     * not set, defaults to an empty list.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param index The index to set the value at. + * @param value The enum numeric value on the wire for activatedPolicyTypes to set. + * @return This builder for chaining. + */ + public Builder setActivatedPolicyTypesValue( + int index, int value) { + ensureActivatedPolicyTypesIsMutable(); + activatedPolicyTypes_.set(index, value); + onChanged(); + return this; + } + /** + *
+     * Optional. A list of policy types that are activated for this taxonomy. If
+     * not set, defaults to an empty list.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The enum numeric value on the wire for activatedPolicyTypes to add. + * @return This builder for chaining. + */ + public Builder addActivatedPolicyTypesValue(int value) { + ensureActivatedPolicyTypesIsMutable(); + activatedPolicyTypes_.add(value); + onChanged(); + return this; + } + /** + *
+     * Optional. A list of policy types that are activated for this taxonomy. If
+     * not set, defaults to an empty list.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param values The enum numeric values on the wire for activatedPolicyTypes to add. + * @return This builder for chaining. + */ + public Builder addAllActivatedPolicyTypesValue( + java.lang.Iterable values) { + ensureActivatedPolicyTypesIsMutable(); + for (int value : values) { + activatedPolicyTypes_.add(value); + } + onChanged(); + return this; + } + + private com.google.cloud.datacatalog.v1beta1.Taxonomy.Service service_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service, com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.Builder, com.google.cloud.datacatalog.v1beta1.Taxonomy.ServiceOrBuilder> serviceBuilder_; + /** + *
+     * Output only. Identity of the service which owns the Taxonomy. This field is
+     * only populated when the taxonomy is created by a Google Cloud service.
+     * Currently only 'DATAPLEX' is supported.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the service field is set. + */ + public boolean hasService() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + *
+     * Output only. Identity of the service which owns the Taxonomy. This field is
+     * only populated when the taxonomy is created by a Google Cloud service.
+     * Currently only 'DATAPLEX' is supported.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The service. + */ + public com.google.cloud.datacatalog.v1beta1.Taxonomy.Service getService() { + if (serviceBuilder_ == null) { + return service_ == null ? com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.getDefaultInstance() : service_; + } else { + return serviceBuilder_.getMessage(); + } + } + /** + *
+     * Output only. Identity of the service which owns the Taxonomy. This field is
+     * only populated when the taxonomy is created by a Google Cloud service.
+     * Currently only 'DATAPLEX' is supported.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setService(com.google.cloud.datacatalog.v1beta1.Taxonomy.Service value) { + if (serviceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + service_ = value; + } else { + serviceBuilder_.setMessage(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+     * Output only. Identity of the service which owns the Taxonomy. This field is
+     * only populated when the taxonomy is created by a Google Cloud service.
+     * Currently only 'DATAPLEX' is supported.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setService( + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.Builder builderForValue) { + if (serviceBuilder_ == null) { + service_ = builderForValue.build(); + } else { + serviceBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+     * Output only. Identity of the service which owns the Taxonomy. This field is
+     * only populated when the taxonomy is created by a Google Cloud service.
+     * Currently only 'DATAPLEX' is supported.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeService(com.google.cloud.datacatalog.v1beta1.Taxonomy.Service value) { + if (serviceBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0) && + service_ != null && + service_ != com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.getDefaultInstance()) { + getServiceBuilder().mergeFrom(value); + } else { + service_ = value; + } + } else { + serviceBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+     * Output only. Identity of the service which owns the Taxonomy. This field is
+     * only populated when the taxonomy is created by a Google Cloud service.
+     * Currently only 'DATAPLEX' is supported.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearService() { + bitField0_ = (bitField0_ & ~0x00000040); + service_ = null; + if (serviceBuilder_ != null) { + serviceBuilder_.dispose(); + serviceBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * Output only. Identity of the service which owns the Taxonomy. This field is
+     * only populated when the taxonomy is created by a Google Cloud service.
+     * Currently only 'DATAPLEX' is supported.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.Builder getServiceBuilder() { + bitField0_ |= 0x00000040; + onChanged(); + return getServiceFieldBuilder().getBuilder(); + } + /** + *
+     * Output only. Identity of the service which owns the Taxonomy. This field is
+     * only populated when the taxonomy is created by a Google Cloud service.
+     * Currently only 'DATAPLEX' is supported.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.datacatalog.v1beta1.Taxonomy.ServiceOrBuilder getServiceOrBuilder() { + if (serviceBuilder_ != null) { + return serviceBuilder_.getMessageOrBuilder(); + } else { + return service_ == null ? + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.getDefaultInstance() : service_; + } + } + /** + *
+     * Output only. Identity of the service which owns the Taxonomy. This field is
+     * only populated when the taxonomy is created by a Google Cloud service.
+     * Currently only 'DATAPLEX' is supported.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service, com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.Builder, com.google.cloud.datacatalog.v1beta1.Taxonomy.ServiceOrBuilder> + getServiceFieldBuilder() { + if (serviceBuilder_ == null) { + serviceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service, com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.Builder, com.google.cloud.datacatalog.v1beta1.Taxonomy.ServiceOrBuilder>( + getService(), + getParentForChildren(), + isClean()); + service_ = null; + } + return serviceBuilder_; + } + @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.datacatalog.v1beta1.Taxonomy) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.Taxonomy) + private static final com.google.cloud.datacatalog.v1beta1.Taxonomy DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.Taxonomy(); + } + + public static com.google.cloud.datacatalog.v1beta1.Taxonomy getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Taxonomy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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.datacatalog.v1beta1.Taxonomy getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TaxonomyName.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TaxonomyName.java similarity index 100% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TaxonomyName.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TaxonomyName.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TaxonomyOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TaxonomyOrBuilder.java new file mode 100644 index 000000000000..99e799d3ce2b --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TaxonomyOrBuilder.java @@ -0,0 +1,212 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/policytagmanager.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface TaxonomyOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.Taxonomy) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Output only. Resource name of this taxonomy, whose format is:
+   * "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Output only. Resource name of this taxonomy, whose format is:
+   * "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * Required. User defined name of this taxonomy. It must: contain only unicode
+   * letters, numbers, underscores, dashes and spaces; not start or end with
+   * spaces; and be at most 200 bytes long when encoded in UTF-8.
+   *
+   * The taxonomy display name must be unique within an organization.
+   * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The displayName. + */ + java.lang.String getDisplayName(); + /** + *
+   * Required. User defined name of this taxonomy. It must: contain only unicode
+   * letters, numbers, underscores, dashes and spaces; not start or end with
+   * spaces; and be at most 200 bytes long when encoded in UTF-8.
+   *
+   * The taxonomy display name must be unique within an organization.
+   * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for displayName. + */ + com.google.protobuf.ByteString + getDisplayNameBytes(); + + /** + *
+   * Optional. Description of this taxonomy. It must: contain only unicode
+   * characters, tabs, newlines, carriage returns and page breaks; and be at
+   * most 2000 bytes long when encoded in UTF-8. If not set, defaults to an
+   * empty description.
+   * 
+ * + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The description. + */ + java.lang.String getDescription(); + /** + *
+   * Optional. Description of this taxonomy. It must: contain only unicode
+   * characters, tabs, newlines, carriage returns and page breaks; and be at
+   * most 2000 bytes long when encoded in UTF-8. If not set, defaults to an
+   * empty description.
+   * 
+ * + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for description. + */ + com.google.protobuf.ByteString + getDescriptionBytes(); + + /** + *
+   * Output only. Number of policy tags contained in this taxonomy.
+   * 
+ * + * int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The policyTagCount. + */ + int getPolicyTagCount(); + + /** + *
+   * Output only. Timestamps about this taxonomy. Only create_time and
+   * update_time are used.
+   * 
+ * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the taxonomyTimestamps field is set. + */ + boolean hasTaxonomyTimestamps(); + /** + *
+   * Output only. Timestamps about this taxonomy. Only create_time and
+   * update_time are used.
+   * 
+ * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The taxonomyTimestamps. + */ + com.google.cloud.datacatalog.v1beta1.SystemTimestamps getTaxonomyTimestamps(); + /** + *
+   * Output only. Timestamps about this taxonomy. Only create_time and
+   * update_time are used.
+   * 
+ * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder getTaxonomyTimestampsOrBuilder(); + + /** + *
+   * Optional. A list of policy types that are activated for this taxonomy. If
+   * not set, defaults to an empty list.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return A list containing the activatedPolicyTypes. + */ + java.util.List getActivatedPolicyTypesList(); + /** + *
+   * Optional. A list of policy types that are activated for this taxonomy. If
+   * not set, defaults to an empty list.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The count of activatedPolicyTypes. + */ + int getActivatedPolicyTypesCount(); + /** + *
+   * Optional. A list of policy types that are activated for this taxonomy. If
+   * not set, defaults to an empty list.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param index The index of the element to return. + * @return The activatedPolicyTypes at the given index. + */ + com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType getActivatedPolicyTypes(int index); + /** + *
+   * Optional. A list of policy types that are activated for this taxonomy. If
+   * not set, defaults to an empty list.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return A list containing the enum numeric values on the wire for activatedPolicyTypes. + */ + java.util.List + getActivatedPolicyTypesValueList(); + /** + *
+   * Optional. A list of policy types that are activated for this taxonomy. If
+   * not set, defaults to an empty list.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param index The index of the value to return. + * @return The enum numeric value on the wire of activatedPolicyTypes at the given index. + */ + int getActivatedPolicyTypesValue(int index); + + /** + *
+   * Output only. Identity of the service which owns the Taxonomy. This field is
+   * only populated when the taxonomy is created by a Google Cloud service.
+   * Currently only 'DATAPLEX' is supported.
+   * 
+ * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the service field is set. + */ + boolean hasService(); + /** + *
+   * Output only. Identity of the service which owns the Taxonomy. This field is
+   * only populated when the taxonomy is created by a Google Cloud service.
+   * Currently only 'DATAPLEX' is supported.
+   * 
+ * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The service. + */ + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service getService(); + /** + *
+   * Output only. Identity of the service which owns the Taxonomy. This field is
+   * only populated when the taxonomy is created by a Google Cloud service.
+   * Currently only 'DATAPLEX' is supported.
+   * 
+ * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.cloud.datacatalog.v1beta1.Taxonomy.ServiceOrBuilder getServiceOrBuilder(); +} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Timestamps.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Timestamps.java new file mode 100644 index 000000000000..796e644ec6d0 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Timestamps.java @@ -0,0 +1,68 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/timestamps.proto + +package com.google.cloud.datacatalog.v1beta1; + +public final class Timestamps { + private Timestamps() {} + 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_datacatalog_v1beta1_SystemTimestamps_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n1google/cloud/datacatalog/v1beta1/times" + + "tamps.proto\022 google.cloud.datacatalog.v1" + + "beta1\032\037google/api/field_behavior.proto\032\037" + + "google/protobuf/timestamp.proto\"\253\001\n\020Syst" + + "emTimestamps\022/\n\013create_time\030\001 \001(\0132\032.goog" + + "le.protobuf.Timestamp\022/\n\013update_time\030\002 \001" + + "(\0132\032.google.protobuf.Timestamp\0225\n\013expire" + + "_time\030\003 \001(\0132\032.google.protobuf.TimestampB" + + "\004\342A\001\003B\337\001\n$com.google.cloud.datacatalog.v" + + "1beta1P\001ZFcloud.google.com/go/datacatalo" + + "g/apiv1beta1/datacatalogpb;datacatalogpb" + + "\370\001\001\252\002 Google.Cloud.DataCatalog.V1Beta1\312\002" + + " Google\\Cloud\\DataCatalog\\V1beta1\352\002#Goog" + + "le::Cloud::DataCatalog::V1beta1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_descriptor, + new java.lang.String[] { "CreateTime", "UpdateTime", "ExpireTime", }); + 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.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequest.java similarity index 59% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequest.java index e318362a8c30..e7918a5d70a0 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [UpdateEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateEntryGroup].
@@ -28,52 +11,46 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest}
  */
-public final class UpdateEntryGroupRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateEntryGroupRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest)
     UpdateEntryGroupRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateEntryGroupRequest.newBuilder() to construct.
   private UpdateEntryGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdateEntryGroupRequest() {}
+  private UpdateEntryGroupRequest() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateEntryGroupRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.class,
-            com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.class, com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.Builder.class);
   }
 
   public static final int ENTRY_GROUP_FIELD_NUMBER = 1;
   private com.google.cloud.datacatalog.v1beta1.EntryGroup entryGroup_;
   /**
-   *
-   *
    * 
    * Required. The updated entry group. "name" field must be set.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the entryGroup field is set. */ @java.lang.Override @@ -81,54 +58,41 @@ public boolean hasEntryGroup() { return entryGroup_ != null; } /** - * - * *
    * Required. The updated entry group. "name" field must be set.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The entryGroup. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroup() { - return entryGroup_ == null - ? com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance() - : entryGroup_; + return entryGroup_ == null ? com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance() : entryGroup_; } /** - * - * *
    * Required. The updated entry group. "name" field must be set.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupOrBuilder() { - return entryGroup_ == null - ? com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance() - : entryGroup_; + return entryGroup_ == null ? com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance() : entryGroup_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
-   * The fields to update on the entry group. If absent or empty, all modifiable
-   * fields are updated.
+   * Names of fields whose values to overwrite on an entry group.
+   *
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -136,15 +100,15 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
-   * The fields to update on the entry group. If absent or empty, all modifiable
-   * fields are updated.
+   * Names of fields whose values to overwrite on an entry group.
+   *
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -152,11 +116,12 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
-   * The fields to update on the entry group. If absent or empty, all modifiable
-   * fields are updated.
+   * Names of fields whose values to overwrite on an entry group.
+   *
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -167,7 +132,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +143,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (entryGroup_ != null) { output.writeMessage(1, getEntryGroup()); } @@ -196,10 +161,12 @@ public int getSerializedSize() { size = 0; if (entryGroup_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntryGroup()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getEntryGroup()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -209,21 +176,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.datacatalog.v1beta1.UpdateEntryGroupRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest other = - (com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest) obj; + com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest other = (com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest) obj; if (hasEntryGroup() != other.hasEntryGroup()) return false; if (hasEntryGroup()) { - if (!getEntryGroup().equals(other.getEntryGroup())) return false; + if (!getEntryGroup() + .equals(other.getEntryGroup())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -250,104 +218,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [UpdateEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateEntryGroup].
@@ -355,32 +317,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest)
       com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.class,
-              com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.class, com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -399,14 +362,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest
-        getDefaultInstanceForType() {
+    public com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest getDefaultInstanceForType() {
       return com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.getDefaultInstance();
     }
 
@@ -421,23 +383,23 @@ public com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest result =
-          new com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest result = new com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest result) {
+    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.entryGroup_ = entryGroupBuilder_ == null ? entryGroup_ : entryGroupBuilder_.build();
+        result.entryGroup_ = entryGroupBuilder_ == null
+            ? entryGroup_
+            : entryGroupBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null
+            ? updateMask_
+            : updateMaskBuilder_.build();
       }
     }
 
@@ -445,39 +407,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.datacatalog.v1beta1.UpdateEntryGroupRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -485,9 +446,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest other) {
-      if (other
-          == com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.getDefaultInstance()) return this;
       if (other.hasEntryGroup()) {
         mergeEntryGroup(other.getEntryGroup());
       }
@@ -520,25 +479,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getEntryGroupFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getEntryGroupFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -548,63 +508,43 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.datacatalog.v1beta1.EntryGroup entryGroup_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1beta1.EntryGroup,
-            com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder,
-            com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder>
-        entryGroupBuilder_;
+        com.google.cloud.datacatalog.v1beta1.EntryGroup, com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder, com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder> entryGroupBuilder_;
     /**
-     *
-     *
      * 
      * Required. The updated entry group. "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the entryGroup field is set. */ public boolean hasEntryGroup() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The updated entry group. "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The entryGroup. */ public com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroup() { if (entryGroupBuilder_ == null) { - return entryGroup_ == null - ? com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance() - : entryGroup_; + return entryGroup_ == null ? com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance() : entryGroup_; } else { return entryGroupBuilder_.getMessage(); } } /** - * - * *
      * Required. The updated entry group. "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setEntryGroup(com.google.cloud.datacatalog.v1beta1.EntryGroup value) { if (entryGroupBuilder_ == null) { @@ -620,15 +560,11 @@ public Builder setEntryGroup(com.google.cloud.datacatalog.v1beta1.EntryGroup val return this; } /** - * - * *
      * Required. The updated entry group. "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setEntryGroup( com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder builderForValue) { @@ -642,22 +578,17 @@ public Builder setEntryGroup( return this; } /** - * - * *
      * Required. The updated entry group. "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeEntryGroup(com.google.cloud.datacatalog.v1beta1.EntryGroup value) { if (entryGroupBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && entryGroup_ != null - && entryGroup_ - != com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + entryGroup_ != null && + entryGroup_ != com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance()) { getEntryGroupBuilder().mergeFrom(value); } else { entryGroup_ = value; @@ -670,15 +601,11 @@ public Builder mergeEntryGroup(com.google.cloud.datacatalog.v1beta1.EntryGroup v return this; } /** - * - * *
      * Required. The updated entry group. "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearEntryGroup() { bitField0_ = (bitField0_ & ~0x00000001); @@ -691,15 +618,11 @@ public Builder clearEntryGroup() { return this; } /** - * - * *
      * Required. The updated entry group. "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder getEntryGroupBuilder() { bitField0_ |= 0x00000001; @@ -707,48 +630,36 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder getEntryGroupBuil return getEntryGroupFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The updated entry group. "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupOrBuilder() { if (entryGroupBuilder_ != null) { return entryGroupBuilder_.getMessageOrBuilder(); } else { - return entryGroup_ == null - ? com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance() - : entryGroup_; + return entryGroup_ == null ? + com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance() : entryGroup_; } } /** - * - * *
      * Required. The updated entry group. "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.EntryGroup, - com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder, - com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder> + com.google.cloud.datacatalog.v1beta1.EntryGroup, com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder, com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder> getEntryGroupFieldBuilder() { if (entryGroupBuilder_ == null) { - entryGroupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.EntryGroup, - com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder, - com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder>( - getEntryGroup(), getParentForChildren(), isClean()); + entryGroupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.EntryGroup, com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder, com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder>( + getEntryGroup(), + getParentForChildren(), + isClean()); entryGroup_ = null; } return entryGroupBuilder_; @@ -756,52 +667,48 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupOrB 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_; /** - * - * *
-     * The fields to update on the entry group. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry group.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
-     * The fields to update on the entry group. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry group.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @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(); } } /** - * - * *
-     * The fields to update on the entry group. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry group.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -820,16 +727,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
-     * The fields to update on the entry group. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry group.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ - 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 { @@ -840,20 +749,21 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
-     * The fields to update on the entry group. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry group.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ 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; @@ -866,11 +776,12 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
-     * The fields to update on the entry group. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry group.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -886,11 +797,12 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
-     * The fields to update on the entry group. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry group.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -901,11 +813,12 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
-     * The fields to update on the entry group. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry group.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -914,40 +827,37 @@ 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_; } } /** - * - * *
-     * The fields to update on the entry group. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry group.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -957,13 +867,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest) - private static final com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest(); } @@ -972,27 +881,27 @@ public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateEntryGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateEntryGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +916,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequestOrBuilder.java similarity index 50% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequestOrBuilder.java index ff02a38eeb68..f47bf6747e64 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequestOrBuilder.java @@ -1,101 +1,72 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface UpdateEntryGroupRequestOrBuilder - extends +public interface UpdateEntryGroupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The updated entry group. "name" field must be set.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the entryGroup field is set. */ boolean hasEntryGroup(); /** - * - * *
    * Required. The updated entry group. "name" field must be set.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The entryGroup. */ com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroup(); /** - * - * *
    * Required. The updated entry group. "name" field must be set.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupOrBuilder(); /** - * - * *
-   * The fields to update on the entry group. If absent or empty, all modifiable
-   * fields are updated.
+   * Names of fields whose values to overwrite on an entry group.
+   *
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
-   * The fields to update on the entry group. If absent or empty, all modifiable
-   * fields are updated.
+   * Names of fields whose values to overwrite on an entry group.
+   *
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
-   * The fields to update on the entry group. If absent or empty, all modifiable
-   * fields are updated.
+   * Names of fields whose values to overwrite on an entry group.
+   *
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequest.java similarity index 59% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequest.java index a98ea659c1dc..91ebda295e65 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [UpdateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateEntry].
@@ -28,52 +11,46 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.UpdateEntryRequest}
  */
-public final class UpdateEntryRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateEntryRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.UpdateEntryRequest)
     UpdateEntryRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateEntryRequest.newBuilder() to construct.
   private UpdateEntryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdateEntryRequest() {}
+  private UpdateEntryRequest() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateEntryRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest.class,
-            com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest.class, com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest.Builder.class);
   }
 
   public static final int ENTRY_FIELD_NUMBER = 1;
   private com.google.cloud.datacatalog.v1beta1.Entry entry_;
   /**
-   *
-   *
    * 
    * Required. The updated entry. The "name" field must be set.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the entry field is set. */ @java.lang.Override @@ -81,72 +58,60 @@ public boolean hasEntry() { return entry_ != null; } /** - * - * *
    * Required. The updated entry. The "name" field must be set.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The entry. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.Entry getEntry() { - return entry_ == null - ? com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance() - : entry_; + return entry_ == null ? com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance() : entry_; } /** - * - * *
    * Required. The updated entry. The "name" field must be set.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntryOrBuilder() { - return entry_ == null - ? com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance() - : entry_; + return entry_ == null ? com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance() : entry_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
-   * The fields to update on the entry. If absent or empty, all modifiable
-   * fields are updated.
+   * Names of fields whose values to overwrite on an entry.
+   *
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    *
    * The following fields are modifiable:
+   *
    * * For entries with type `DATA_STREAM`:
    *    * `schema`
-   * * For entries with type `FILESET`
+   * * For entries with type `FILESET`:
    *    * `schema`
    *    * `display_name`
    *    * `description`
    *    * `gcs_fileset_spec`
    *    * `gcs_fileset_spec.file_patterns`
-   * * For entries with `user_specified_type`
+   * * For entries with `user_specified_type`:
    *    * `schema`
    *    * `display_name`
    *    * `description`
-   *    * user_specified_type
-   *    * user_specified_system
-   *    * linked_resource
-   *    * source_system_timestamps
+   *    * `user_specified_type`
+   *    * `user_specified_system`
+   *    * `linked_resource`
+   *    * `source_system_timestamps`
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -154,33 +119,34 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
-   * The fields to update on the entry. If absent or empty, all modifiable
-   * fields are updated.
+   * Names of fields whose values to overwrite on an entry.
+   *
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    *
    * The following fields are modifiable:
+   *
    * * For entries with type `DATA_STREAM`:
    *    * `schema`
-   * * For entries with type `FILESET`
+   * * For entries with type `FILESET`:
    *    * `schema`
    *    * `display_name`
    *    * `description`
    *    * `gcs_fileset_spec`
    *    * `gcs_fileset_spec.file_patterns`
-   * * For entries with `user_specified_type`
+   * * For entries with `user_specified_type`:
    *    * `schema`
    *    * `display_name`
    *    * `description`
-   *    * user_specified_type
-   *    * user_specified_system
-   *    * linked_resource
-   *    * source_system_timestamps
+   *    * `user_specified_type`
+   *    * `user_specified_system`
+   *    * `linked_resource`
+   *    * `source_system_timestamps`
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -188,29 +154,31 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
-   * The fields to update on the entry. If absent or empty, all modifiable
-   * fields are updated.
+   * Names of fields whose values to overwrite on an entry.
+   *
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    *
    * The following fields are modifiable:
+   *
    * * For entries with type `DATA_STREAM`:
    *    * `schema`
-   * * For entries with type `FILESET`
+   * * For entries with type `FILESET`:
    *    * `schema`
    *    * `display_name`
    *    * `description`
    *    * `gcs_fileset_spec`
    *    * `gcs_fileset_spec.file_patterns`
-   * * For entries with `user_specified_type`
+   * * For entries with `user_specified_type`:
    *    * `schema`
    *    * `display_name`
    *    * `description`
-   *    * user_specified_type
-   *    * user_specified_system
-   *    * linked_resource
-   *    * source_system_timestamps
+   *    * `user_specified_type`
+   *    * `user_specified_system`
+   *    * `linked_resource`
+   *    * `source_system_timestamps`
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -221,7 +189,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -233,7 +200,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (entry_ != null) { output.writeMessage(1, getEntry()); } @@ -250,10 +218,12 @@ public int getSerializedSize() { size = 0; if (entry_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntry()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getEntry()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -263,21 +233,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest other = - (com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest) obj; + com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest other = (com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest) obj; if (hasEntry() != other.hasEntry()) return false; if (hasEntry()) { - if (!getEntry().equals(other.getEntry())) return false; + if (!getEntry() + .equals(other.getEntry())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -304,104 +275,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [UpdateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateEntry].
@@ -409,32 +374,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.UpdateEntryRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.UpdateEntryRequest)
       com.google.cloud.datacatalog.v1beta1.UpdateEntryRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest.class,
-              com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest.class, com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -453,9 +419,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_descriptor;
     }
 
     @java.lang.Override
@@ -474,11 +440,8 @@ public com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest result =
-          new com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest result = new com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -486,10 +449,14 @@ public com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest buildPartial() {
     private void buildPartial0(com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.entry_ = entryBuilder_ == null ? entry_ : entryBuilder_.build();
+        result.entry_ = entryBuilder_ == null
+            ? entry_
+            : entryBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null
+            ? updateMask_
+            : updateMaskBuilder_.build();
       }
     }
 
@@ -497,39 +464,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.UpdateEntryReque
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -537,8 +503,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest.getDefaultInstance()) return this;
       if (other.hasEntry()) {
         mergeEntry(other.getEntry());
       }
@@ -571,25 +536,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getEntryFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getEntryFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -599,63 +565,43 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.datacatalog.v1beta1.Entry entry_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1beta1.Entry,
-            com.google.cloud.datacatalog.v1beta1.Entry.Builder,
-            com.google.cloud.datacatalog.v1beta1.EntryOrBuilder>
-        entryBuilder_;
+        com.google.cloud.datacatalog.v1beta1.Entry, com.google.cloud.datacatalog.v1beta1.Entry.Builder, com.google.cloud.datacatalog.v1beta1.EntryOrBuilder> entryBuilder_;
     /**
-     *
-     *
      * 
      * Required. The updated entry. The "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the entry field is set. */ public boolean hasEntry() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The updated entry. The "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The entry. */ public com.google.cloud.datacatalog.v1beta1.Entry getEntry() { if (entryBuilder_ == null) { - return entry_ == null - ? com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance() - : entry_; + return entry_ == null ? com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance() : entry_; } else { return entryBuilder_.getMessage(); } } /** - * - * *
      * Required. The updated entry. The "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setEntry(com.google.cloud.datacatalog.v1beta1.Entry value) { if (entryBuilder_ == null) { @@ -671,17 +617,14 @@ public Builder setEntry(com.google.cloud.datacatalog.v1beta1.Entry value) { return this; } /** - * - * *
      * Required. The updated entry. The "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setEntry(com.google.cloud.datacatalog.v1beta1.Entry.Builder builderForValue) { + public Builder setEntry( + com.google.cloud.datacatalog.v1beta1.Entry.Builder builderForValue) { if (entryBuilder_ == null) { entry_ = builderForValue.build(); } else { @@ -692,21 +635,17 @@ public Builder setEntry(com.google.cloud.datacatalog.v1beta1.Entry.Builder build return this; } /** - * - * *
      * Required. The updated entry. The "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeEntry(com.google.cloud.datacatalog.v1beta1.Entry value) { if (entryBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && entry_ != null - && entry_ != com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + entry_ != null && + entry_ != com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance()) { getEntryBuilder().mergeFrom(value); } else { entry_ = value; @@ -719,15 +658,11 @@ public Builder mergeEntry(com.google.cloud.datacatalog.v1beta1.Entry value) { return this; } /** - * - * *
      * Required. The updated entry. The "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearEntry() { bitField0_ = (bitField0_ & ~0x00000001); @@ -740,15 +675,11 @@ public Builder clearEntry() { return this; } /** - * - * *
      * Required. The updated entry. The "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1beta1.Entry.Builder getEntryBuilder() { bitField0_ |= 0x00000001; @@ -756,48 +687,36 @@ public com.google.cloud.datacatalog.v1beta1.Entry.Builder getEntryBuilder() { return getEntryFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The updated entry. The "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntryOrBuilder() { if (entryBuilder_ != null) { return entryBuilder_.getMessageOrBuilder(); } else { - return entry_ == null - ? com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance() - : entry_; + return entry_ == null ? + com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance() : entry_; } } /** - * - * *
      * Required. The updated entry. The "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Entry, - com.google.cloud.datacatalog.v1beta1.Entry.Builder, - com.google.cloud.datacatalog.v1beta1.EntryOrBuilder> + com.google.cloud.datacatalog.v1beta1.Entry, com.google.cloud.datacatalog.v1beta1.Entry.Builder, com.google.cloud.datacatalog.v1beta1.EntryOrBuilder> getEntryFieldBuilder() { if (entryBuilder_ == null) { - entryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Entry, - com.google.cloud.datacatalog.v1beta1.Entry.Builder, - com.google.cloud.datacatalog.v1beta1.EntryOrBuilder>( - getEntry(), getParentForChildren(), isClean()); + entryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.Entry, com.google.cloud.datacatalog.v1beta1.Entry.Builder, com.google.cloud.datacatalog.v1beta1.EntryOrBuilder>( + getEntry(), + getParentForChildren(), + isClean()); entry_ = null; } return entryBuilder_; @@ -805,106 +724,105 @@ public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntryOrBuilder() { 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_; /** - * - * *
-     * The fields to update on the entry. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      *
      * The following fields are modifiable:
+     *
      * * For entries with type `DATA_STREAM`:
      *    * `schema`
-     * * For entries with type `FILESET`
+     * * For entries with type `FILESET`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
      *    * `gcs_fileset_spec`
      *    * `gcs_fileset_spec.file_patterns`
-     * * For entries with `user_specified_type`
+     * * For entries with `user_specified_type`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
-     *    * user_specified_type
-     *    * user_specified_system
-     *    * linked_resource
-     *    * source_system_timestamps
+     *    * `user_specified_type`
+     *    * `user_specified_system`
+     *    * `linked_resource`
+     *    * `source_system_timestamps`
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
-     * The fields to update on the entry. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      *
      * The following fields are modifiable:
+     *
      * * For entries with type `DATA_STREAM`:
      *    * `schema`
-     * * For entries with type `FILESET`
+     * * For entries with type `FILESET`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
      *    * `gcs_fileset_spec`
      *    * `gcs_fileset_spec.file_patterns`
-     * * For entries with `user_specified_type`
+     * * For entries with `user_specified_type`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
-     *    * user_specified_type
-     *    * user_specified_system
-     *    * linked_resource
-     *    * source_system_timestamps
+     *    * `user_specified_type`
+     *    * `user_specified_system`
+     *    * `linked_resource`
+     *    * `source_system_timestamps`
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @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(); } } /** - * - * *
-     * The fields to update on the entry. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      *
      * The following fields are modifiable:
+     *
      * * For entries with type `DATA_STREAM`:
      *    * `schema`
-     * * For entries with type `FILESET`
+     * * For entries with type `FILESET`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
      *    * `gcs_fileset_spec`
      *    * `gcs_fileset_spec.file_patterns`
-     * * For entries with `user_specified_type`
+     * * For entries with `user_specified_type`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
-     *    * user_specified_type
-     *    * user_specified_system
-     *    * linked_resource
-     *    * source_system_timestamps
+     *    * `user_specified_type`
+     *    * `user_specified_system`
+     *    * `linked_resource`
+     *    * `source_system_timestamps`
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -923,34 +841,37 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
-     * The fields to update on the entry. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      *
      * The following fields are modifiable:
+     *
      * * For entries with type `DATA_STREAM`:
      *    * `schema`
-     * * For entries with type `FILESET`
+     * * For entries with type `FILESET`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
      *    * `gcs_fileset_spec`
      *    * `gcs_fileset_spec.file_patterns`
-     * * For entries with `user_specified_type`
+     * * For entries with `user_specified_type`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
-     *    * user_specified_type
-     *    * user_specified_system
-     *    * linked_resource
-     *    * source_system_timestamps
+     *    * `user_specified_type`
+     *    * `user_specified_system`
+     *    * `linked_resource`
+     *    * `source_system_timestamps`
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ - 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 { @@ -961,38 +882,40 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
-     * The fields to update on the entry. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      *
      * The following fields are modifiable:
+     *
      * * For entries with type `DATA_STREAM`:
      *    * `schema`
-     * * For entries with type `FILESET`
+     * * For entries with type `FILESET`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
      *    * `gcs_fileset_spec`
      *    * `gcs_fileset_spec.file_patterns`
-     * * For entries with `user_specified_type`
+     * * For entries with `user_specified_type`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
-     *    * user_specified_type
-     *    * user_specified_system
-     *    * linked_resource
-     *    * source_system_timestamps
+     *    * `user_specified_type`
+     *    * `user_specified_system`
+     *    * `linked_resource`
+     *    * `source_system_timestamps`
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ 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; @@ -1005,29 +928,31 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
-     * The fields to update on the entry. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      *
      * The following fields are modifiable:
+     *
      * * For entries with type `DATA_STREAM`:
      *    * `schema`
-     * * For entries with type `FILESET`
+     * * For entries with type `FILESET`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
      *    * `gcs_fileset_spec`
      *    * `gcs_fileset_spec.file_patterns`
-     * * For entries with `user_specified_type`
+     * * For entries with `user_specified_type`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
-     *    * user_specified_type
-     *    * user_specified_system
-     *    * linked_resource
-     *    * source_system_timestamps
+     *    * `user_specified_type`
+     *    * `user_specified_system`
+     *    * `linked_resource`
+     *    * `source_system_timestamps`
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -1043,29 +968,31 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
-     * The fields to update on the entry. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      *
      * The following fields are modifiable:
+     *
      * * For entries with type `DATA_STREAM`:
      *    * `schema`
-     * * For entries with type `FILESET`
+     * * For entries with type `FILESET`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
      *    * `gcs_fileset_spec`
      *    * `gcs_fileset_spec.file_patterns`
-     * * For entries with `user_specified_type`
+     * * For entries with `user_specified_type`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
-     *    * user_specified_type
-     *    * user_specified_system
-     *    * linked_resource
-     *    * source_system_timestamps
+     *    * `user_specified_type`
+     *    * `user_specified_system`
+     *    * `linked_resource`
+     *    * `source_system_timestamps`
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -1076,29 +1003,31 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
-     * The fields to update on the entry. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      *
      * The following fields are modifiable:
+     *
      * * For entries with type `DATA_STREAM`:
      *    * `schema`
-     * * For entries with type `FILESET`
+     * * For entries with type `FILESET`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
      *    * `gcs_fileset_spec`
      *    * `gcs_fileset_spec.file_patterns`
-     * * For entries with `user_specified_type`
+     * * For entries with `user_specified_type`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
-     *    * user_specified_type
-     *    * user_specified_system
-     *    * linked_resource
-     *    * source_system_timestamps
+     *    * `user_specified_type`
+     *    * `user_specified_system`
+     *    * `linked_resource`
+     *    * `source_system_timestamps`
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -1107,58 +1036,56 @@ 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_; } } /** - * - * *
-     * The fields to update on the entry. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      *
      * The following fields are modifiable:
+     *
      * * For entries with type `DATA_STREAM`:
      *    * `schema`
-     * * For entries with type `FILESET`
+     * * For entries with type `FILESET`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
      *    * `gcs_fileset_spec`
      *    * `gcs_fileset_spec.file_patterns`
-     * * For entries with `user_specified_type`
+     * * For entries with `user_specified_type`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
-     *    * user_specified_type
-     *    * user_specified_system
-     *    * linked_resource
-     *    * source_system_timestamps
+     *    * `user_specified_type`
+     *    * `user_specified_system`
+     *    * `linked_resource`
+     *    * `source_system_timestamps`
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1168,12 +1095,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.UpdateEntryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.UpdateEntryRequest) private static final com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest(); } @@ -1182,27 +1109,27 @@ public static com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateEntryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateEntryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1217,4 +1144,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequestOrBuilder.java similarity index 54% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequestOrBuilder.java index f25e4470d7fe..a0aa3e143fa7 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequestOrBuilder.java @@ -1,155 +1,129 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface UpdateEntryRequestOrBuilder - extends +public interface UpdateEntryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.UpdateEntryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The updated entry. The "name" field must be set.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the entry field is set. */ boolean hasEntry(); /** - * - * *
    * Required. The updated entry. The "name" field must be set.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The entry. */ com.google.cloud.datacatalog.v1beta1.Entry getEntry(); /** - * - * *
    * Required. The updated entry. The "name" field must be set.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntryOrBuilder(); /** - * - * *
-   * The fields to update on the entry. If absent or empty, all modifiable
-   * fields are updated.
+   * Names of fields whose values to overwrite on an entry.
+   *
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    *
    * The following fields are modifiable:
+   *
    * * For entries with type `DATA_STREAM`:
    *    * `schema`
-   * * For entries with type `FILESET`
+   * * For entries with type `FILESET`:
    *    * `schema`
    *    * `display_name`
    *    * `description`
    *    * `gcs_fileset_spec`
    *    * `gcs_fileset_spec.file_patterns`
-   * * For entries with `user_specified_type`
+   * * For entries with `user_specified_type`:
    *    * `schema`
    *    * `display_name`
    *    * `description`
-   *    * user_specified_type
-   *    * user_specified_system
-   *    * linked_resource
-   *    * source_system_timestamps
+   *    * `user_specified_type`
+   *    * `user_specified_system`
+   *    * `linked_resource`
+   *    * `source_system_timestamps`
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
-   * The fields to update on the entry. If absent or empty, all modifiable
-   * fields are updated.
+   * Names of fields whose values to overwrite on an entry.
+   *
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    *
    * The following fields are modifiable:
+   *
    * * For entries with type `DATA_STREAM`:
    *    * `schema`
-   * * For entries with type `FILESET`
+   * * For entries with type `FILESET`:
    *    * `schema`
    *    * `display_name`
    *    * `description`
    *    * `gcs_fileset_spec`
    *    * `gcs_fileset_spec.file_patterns`
-   * * For entries with `user_specified_type`
+   * * For entries with `user_specified_type`:
    *    * `schema`
    *    * `display_name`
    *    * `description`
-   *    * user_specified_type
-   *    * user_specified_system
-   *    * linked_resource
-   *    * source_system_timestamps
+   *    * `user_specified_type`
+   *    * `user_specified_system`
+   *    * `linked_resource`
+   *    * `source_system_timestamps`
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
-   * The fields to update on the entry. If absent or empty, all modifiable
-   * fields are updated.
+   * Names of fields whose values to overwrite on an entry.
+   *
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    *
    * The following fields are modifiable:
+   *
    * * For entries with type `DATA_STREAM`:
    *    * `schema`
-   * * For entries with type `FILESET`
+   * * For entries with type `FILESET`:
    *    * `schema`
    *    * `display_name`
    *    * `description`
    *    * `gcs_fileset_spec`
    *    * `gcs_fileset_spec.file_patterns`
-   * * For entries with `user_specified_type`
+   * * For entries with `user_specified_type`:
    *    * `schema`
    *    * `display_name`
    *    * `description`
-   *    * user_specified_type
-   *    * user_specified_system
-   *    * linked_resource
-   *    * source_system_timestamps
+   *    * `user_specified_type`
+   *    * `user_specified_system`
+   *    * `linked_resource`
+   *    * `source_system_timestamps`
    * 
* * .google.protobuf.FieldMask update_mask = 2; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequest.java similarity index 74% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequest.java index 92fc3efba894..0089a2237f1b 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [UpdatePolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.UpdatePolicyTag].
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest}
  */
-public final class UpdatePolicyTagRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdatePolicyTagRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest)
     UpdatePolicyTagRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdatePolicyTagRequest.newBuilder() to construct.
   private UpdatePolicyTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdatePolicyTagRequest() {}
+  private UpdatePolicyTagRequest() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdatePolicyTagRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1beta1_UpdatePolicyTagRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_UpdatePolicyTagRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1beta1_UpdatePolicyTagRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_UpdatePolicyTagRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest.class,
-            com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest.class, com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest.Builder.class);
   }
 
   public static final int POLICY_TAG_FIELD_NUMBER = 1;
   private com.google.cloud.datacatalog.v1beta1.PolicyTag policyTag_;
   /**
-   *
-   *
    * 
    * The policy tag to update. Only the description, display_name, and
    * parent_policy_tag fields can be updated.
    * 
* * .google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 1; - * * @return Whether the policyTag field is set. */ @java.lang.Override @@ -80,26 +59,19 @@ public boolean hasPolicyTag() { return policyTag_ != null; } /** - * - * *
    * The policy tag to update. Only the description, display_name, and
    * parent_policy_tag fields can be updated.
    * 
* * .google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 1; - * * @return The policyTag. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.PolicyTag getPolicyTag() { - return policyTag_ == null - ? com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance() - : policyTag_; + return policyTag_ == null ? com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance() : policyTag_; } /** - * - * *
    * The policy tag to update. Only the description, display_name, and
    * parent_policy_tag fields can be updated.
@@ -109,16 +81,12 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTag getPolicyTag() {
    */
   @java.lang.Override
   public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagOrBuilder() {
-    return policyTag_ == null
-        ? com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance()
-        : policyTag_;
+    return policyTag_ == null ? com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance() : policyTag_;
   }
 
   public static final int UPDATE_MASK_FIELD_NUMBER = 2;
   private com.google.protobuf.FieldMask updateMask_;
   /**
-   *
-   *
    * 
    * The update mask applies to the resource. Only display_name, description and
    * parent_policy_tag can be updated and thus can be listed in the mask. If
@@ -130,7 +98,6 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagOrBui
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -138,8 +105,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The update mask applies to the resource. Only display_name, description and
    * parent_policy_tag can be updated and thus can be listed in the mask. If
@@ -151,7 +116,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -159,8 +123,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The update mask applies to the resource. Only display_name, description and
    * parent_policy_tag can be updated and thus can be listed in the mask. If
@@ -179,7 +141,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -191,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 (policyTag_ != null) {
       output.writeMessage(1, getPolicyTag());
     }
@@ -208,10 +170,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (policyTag_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPolicyTag());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getPolicyTag());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -221,21 +185,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.datacatalog.v1beta1.UpdatePolicyTagRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest other =
-        (com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest) obj;
+    com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest other = (com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest) obj;
 
     if (hasPolicyTag() != other.hasPolicyTag()) return false;
     if (hasPolicyTag()) {
-      if (!getPolicyTag().equals(other.getPolicyTag())) return false;
+      if (!getPolicyTag()
+          .equals(other.getPolicyTag())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -262,104 +227,98 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest prototype) {
+  public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Request message for
    * [UpdatePolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.UpdatePolicyTag].
@@ -367,32 +326,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest)
       com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_UpdatePolicyTagRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_UpdatePolicyTagRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_UpdatePolicyTagRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_UpdatePolicyTagRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest.class,
-              com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest.class, com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -411,9 +371,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_UpdatePolicyTagRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_UpdatePolicyTagRequest_descriptor;
     }
 
     @java.lang.Override
@@ -432,11 +392,8 @@ public com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest result =
-          new com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest result = new com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -444,10 +401,14 @@ public com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest buildPartial(
     private void buildPartial0(com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.policyTag_ = policyTagBuilder_ == null ? policyTag_ : policyTagBuilder_.build();
+        result.policyTag_ = policyTagBuilder_ == null
+            ? policyTag_
+            : policyTagBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null
+            ? updateMask_
+            : updateMaskBuilder_.build();
       }
     }
 
@@ -455,39 +416,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagR
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -495,8 +455,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest.getDefaultInstance()) return this;
       if (other.hasPolicyTag()) {
         mergePolicyTag(other.getPolicyTag());
       }
@@ -529,25 +488,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getPolicyTagFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getPolicyTagFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -557,54 +517,40 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.datacatalog.v1beta1.PolicyTag policyTag_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1beta1.PolicyTag,
-            com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder,
-            com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder>
-        policyTagBuilder_;
+        com.google.cloud.datacatalog.v1beta1.PolicyTag, com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder, com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder> policyTagBuilder_;
     /**
-     *
-     *
      * 
      * The policy tag to update. Only the description, display_name, and
      * parent_policy_tag fields can be updated.
      * 
* * .google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 1; - * * @return Whether the policyTag field is set. */ public boolean hasPolicyTag() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The policy tag to update. Only the description, display_name, and
      * parent_policy_tag fields can be updated.
      * 
* * .google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 1; - * * @return The policyTag. */ public com.google.cloud.datacatalog.v1beta1.PolicyTag getPolicyTag() { if (policyTagBuilder_ == null) { - return policyTag_ == null - ? com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance() - : policyTag_; + return policyTag_ == null ? com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance() : policyTag_; } else { return policyTagBuilder_.getMessage(); } } /** - * - * *
      * The policy tag to update. Only the description, display_name, and
      * parent_policy_tag fields can be updated.
@@ -626,8 +572,6 @@ public Builder setPolicyTag(com.google.cloud.datacatalog.v1beta1.PolicyTag value
       return this;
     }
     /**
-     *
-     *
      * 
      * The policy tag to update. Only the description, display_name, and
      * parent_policy_tag fields can be updated.
@@ -647,8 +591,6 @@ public Builder setPolicyTag(
       return this;
     }
     /**
-     *
-     *
      * 
      * The policy tag to update. Only the description, display_name, and
      * parent_policy_tag fields can be updated.
@@ -658,9 +600,9 @@ public Builder setPolicyTag(
      */
     public Builder mergePolicyTag(com.google.cloud.datacatalog.v1beta1.PolicyTag value) {
       if (policyTagBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && policyTag_ != null
-            && policyTag_ != com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          policyTag_ != null &&
+          policyTag_ != com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance()) {
           getPolicyTagBuilder().mergeFrom(value);
         } else {
           policyTag_ = value;
@@ -673,8 +615,6 @@ public Builder mergePolicyTag(com.google.cloud.datacatalog.v1beta1.PolicyTag val
       return this;
     }
     /**
-     *
-     *
      * 
      * The policy tag to update. Only the description, display_name, and
      * parent_policy_tag fields can be updated.
@@ -693,8 +633,6 @@ public Builder clearPolicyTag() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The policy tag to update. Only the description, display_name, and
      * parent_policy_tag fields can be updated.
@@ -708,8 +646,6 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder getPolicyTagBuilde
       return getPolicyTagFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The policy tag to update. Only the description, display_name, and
      * parent_policy_tag fields can be updated.
@@ -721,14 +657,11 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagOrBui
       if (policyTagBuilder_ != null) {
         return policyTagBuilder_.getMessageOrBuilder();
       } else {
-        return policyTag_ == null
-            ? com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance()
-            : policyTag_;
+        return policyTag_ == null ?
+            com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance() : policyTag_;
       }
     }
     /**
-     *
-     *
      * 
      * The policy tag to update. Only the description, display_name, and
      * parent_policy_tag fields can be updated.
@@ -737,17 +670,14 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagOrBui
      * .google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1beta1.PolicyTag,
-            com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder,
-            com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder>
+        com.google.cloud.datacatalog.v1beta1.PolicyTag, com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder, com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder> 
         getPolicyTagFieldBuilder() {
       if (policyTagBuilder_ == null) {
-        policyTagBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.datacatalog.v1beta1.PolicyTag,
-                com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder,
-                com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder>(
-                getPolicyTag(), getParentForChildren(), isClean());
+        policyTagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.datacatalog.v1beta1.PolicyTag, com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder, com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder>(
+                getPolicyTag(),
+                getParentForChildren(),
+                isClean());
         policyTag_ = null;
       }
       return policyTagBuilder_;
@@ -755,13 +685,8 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagOrBui
 
     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_;
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. Only display_name, description and
      * parent_policy_tag can be updated and thus can be listed in the mask. If
@@ -773,15 +698,12 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagOrBui
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The update mask applies to the resource. Only display_name, description and
      * parent_policy_tag can be updated and thus can be listed in the mask. If
@@ -793,21 +715,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @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(); } } /** - * - * *
      * The update mask applies to the resource. Only display_name, description and
      * parent_policy_tag can be updated and thus can be listed in the mask. If
@@ -834,8 +751,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. Only display_name, description and
      * parent_policy_tag can be updated and thus can be listed in the mask. If
@@ -848,7 +763,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    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 {
@@ -859,8 +775,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. Only display_name, description and
      * parent_policy_tag can be updated and thus can be listed in the mask. If
@@ -875,9 +789,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      */
     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;
@@ -890,8 +804,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. Only display_name, description and
      * parent_policy_tag can be updated and thus can be listed in the mask. If
@@ -915,8 +827,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. Only display_name, description and
      * parent_policy_tag can be updated and thus can be listed in the mask. If
@@ -935,8 +845,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. Only display_name, description and
      * parent_policy_tag can be updated and thus can be listed in the mask. If
@@ -953,14 +861,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. Only display_name, description and
      * parent_policy_tag can be updated and thus can be listed in the mask. If
@@ -974,24 +879,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1001,12 +903,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest)
   private static final com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest();
   }
@@ -1015,27 +917,27 @@ public static com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest getDef
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdatePolicyTagRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdatePolicyTagRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1050,4 +952,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequestOrBuilder.java
similarity index 81%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequestOrBuilder.java
rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequestOrBuilder.java
index fe63eb3b1dc1..e638e39ed1dc 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequestOrBuilder.java
+++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequestOrBuilder.java
@@ -1,57 +1,33 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1beta1/policytagmanager.proto
 
 package com.google.cloud.datacatalog.v1beta1;
 
-public interface UpdatePolicyTagRequestOrBuilder
-    extends
+public interface UpdatePolicyTagRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The policy tag to update. Only the description, display_name, and
    * parent_policy_tag fields can be updated.
    * 
* * .google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 1; - * * @return Whether the policyTag field is set. */ boolean hasPolicyTag(); /** - * - * *
    * The policy tag to update. Only the description, display_name, and
    * parent_policy_tag fields can be updated.
    * 
* * .google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 1; - * * @return The policyTag. */ com.google.cloud.datacatalog.v1beta1.PolicyTag getPolicyTag(); /** - * - * *
    * The policy tag to update. Only the description, display_name, and
    * parent_policy_tag fields can be updated.
@@ -62,8 +38,6 @@ public interface UpdatePolicyTagRequestOrBuilder
   com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagOrBuilder();
 
   /**
-   *
-   *
    * 
    * The update mask applies to the resource. Only display_name, description and
    * parent_policy_tag can be updated and thus can be listed in the mask. If
@@ -75,13 +49,10 @@ public interface UpdatePolicyTagRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The update mask applies to the resource. Only display_name, description and
    * parent_policy_tag can be updated and thus can be listed in the mask. If
@@ -93,13 +64,10 @@ public interface UpdatePolicyTagRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The update mask applies to the resource. Only display_name, description and
    * parent_policy_tag can be updated and thus can be listed in the mask. If
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequest.java
similarity index 57%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequest.java
rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequest.java
index b91cad40091c..4c7c5374cc4a 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequest.java
+++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequest.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1beta1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1beta1;
 
 /**
- *
- *
  * 
  * Request message for
  * [UpdateTag][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTag].
@@ -28,51 +11,46 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.UpdateTagRequest}
  */
-public final class UpdateTagRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateTagRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.UpdateTagRequest)
     UpdateTagRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateTagRequest.newBuilder() to construct.
   private UpdateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdateTagRequest() {}
+  private UpdateTagRequest() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateTagRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.UpdateTagRequest.class,
-            com.google.cloud.datacatalog.v1beta1.UpdateTagRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.UpdateTagRequest.class, com.google.cloud.datacatalog.v1beta1.UpdateTagRequest.Builder.class);
   }
 
   public static final int TAG_FIELD_NUMBER = 1;
   private com.google.cloud.datacatalog.v1beta1.Tag tag_;
   /**
-   *
-   *
    * 
    * Required. The updated tag. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tag field is set. */ @java.lang.Override @@ -80,15 +58,11 @@ public boolean hasTag() { return tag_ != null; } /** - * - * *
    * Required. The updated tag. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The tag. */ @java.lang.Override @@ -96,14 +70,11 @@ public com.google.cloud.datacatalog.v1beta1.Tag getTag() { return tag_ == null ? com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance() : tag_; } /** - * - * *
    * Required. The updated tag. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagOrBuilder() { @@ -113,15 +84,18 @@ public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + *
+   * Note: Currently, this parameter can only take `"fields"` as value.
    *
+   * Names of fields whose values to overwrite on a tag. Currently, a tag has
+   * the only modifiable field with the name `fields`.
    *
-   * 
-   * The fields to update on the Tag. If absent or empty, all modifiable fields
-   * are updated. Currently the only modifiable field is the field `fields`.
+   * In general, if this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -129,15 +103,18 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + *
+   * Note: Currently, this parameter can only take `"fields"` as value.
    *
+   * Names of fields whose values to overwrite on a tag. Currently, a tag has
+   * the only modifiable field with the name `fields`.
    *
-   * 
-   * The fields to update on the Tag. If absent or empty, all modifiable fields
-   * are updated. Currently the only modifiable field is the field `fields`.
+   * In general, if this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -145,11 +122,15 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + *
+   * Note: Currently, this parameter can only take `"fields"` as value.
    *
+   * Names of fields whose values to overwrite on a tag. Currently, a tag has
+   * the only modifiable field with the name `fields`.
    *
-   * 
-   * The fields to update on the Tag. If absent or empty, all modifiable fields
-   * are updated. Currently the only modifiable field is the field `fields`.
+   * In general, if this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -160,7 +141,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,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 (tag_ != null) { output.writeMessage(1, getTag()); } @@ -189,10 +170,12 @@ public int getSerializedSize() { size = 0; if (tag_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTag()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTag()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -202,21 +185,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.datacatalog.v1beta1.UpdateTagRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.UpdateTagRequest other = - (com.google.cloud.datacatalog.v1beta1.UpdateTagRequest) obj; + com.google.cloud.datacatalog.v1beta1.UpdateTagRequest other = (com.google.cloud.datacatalog.v1beta1.UpdateTagRequest) obj; if (hasTag() != other.hasTag()) return false; if (hasTag()) { - if (!getTag().equals(other.getTag())) return false; + if (!getTag() + .equals(other.getTag())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -243,104 +227,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.UpdateTagRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.UpdateTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.UpdateTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.UpdateTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.UpdateTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.UpdateTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.UpdateTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.UpdateTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.UpdateTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.UpdateTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.UpdateTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.UpdateTagRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.UpdateTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.UpdateTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.UpdateTagRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.UpdateTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [UpdateTag][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTag].
@@ -348,32 +326,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.UpdateTagRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.UpdateTagRequest)
       com.google.cloud.datacatalog.v1beta1.UpdateTagRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.UpdateTagRequest.class,
-              com.google.cloud.datacatalog.v1beta1.UpdateTagRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.UpdateTagRequest.class, com.google.cloud.datacatalog.v1beta1.UpdateTagRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.UpdateTagRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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,9 +371,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_descriptor;
     }
 
     @java.lang.Override
@@ -413,11 +392,8 @@ public com.google.cloud.datacatalog.v1beta1.UpdateTagRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.UpdateTagRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.UpdateTagRequest result =
-          new com.google.cloud.datacatalog.v1beta1.UpdateTagRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.UpdateTagRequest result = new com.google.cloud.datacatalog.v1beta1.UpdateTagRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -425,10 +401,14 @@ public com.google.cloud.datacatalog.v1beta1.UpdateTagRequest buildPartial() {
     private void buildPartial0(com.google.cloud.datacatalog.v1beta1.UpdateTagRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.tag_ = tagBuilder_ == null ? tag_ : tagBuilder_.build();
+        result.tag_ = tagBuilder_ == null
+            ? tag_
+            : tagBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null
+            ? updateMask_
+            : updateMaskBuilder_.build();
       }
     }
 
@@ -436,39 +416,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.UpdateTagRequest
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.UpdateTagRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.UpdateTagRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.UpdateTagRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -476,8 +455,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.UpdateTagRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.UpdateTagRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.UpdateTagRequest.getDefaultInstance()) return this;
       if (other.hasTag()) {
         mergeTag(other.getTag());
       }
@@ -510,25 +488,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getTagFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getTagFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -538,42 +517,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.datacatalog.v1beta1.Tag tag_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1beta1.Tag,
-            com.google.cloud.datacatalog.v1beta1.Tag.Builder,
-            com.google.cloud.datacatalog.v1beta1.TagOrBuilder>
-        tagBuilder_;
+        com.google.cloud.datacatalog.v1beta1.Tag, com.google.cloud.datacatalog.v1beta1.Tag.Builder, com.google.cloud.datacatalog.v1beta1.TagOrBuilder> tagBuilder_;
     /**
-     *
-     *
      * 
      * Required. The updated tag. The "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tag field is set. */ public boolean hasTag() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The updated tag. The "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The tag. */ public com.google.cloud.datacatalog.v1beta1.Tag getTag() { @@ -584,15 +549,11 @@ public com.google.cloud.datacatalog.v1beta1.Tag getTag() { } } /** - * - * *
      * Required. The updated tag. The "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTag(com.google.cloud.datacatalog.v1beta1.Tag value) { if (tagBuilder_ == null) { @@ -608,17 +569,14 @@ public Builder setTag(com.google.cloud.datacatalog.v1beta1.Tag value) { return this; } /** - * - * *
      * Required. The updated tag. The "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTag(com.google.cloud.datacatalog.v1beta1.Tag.Builder builderForValue) { + public Builder setTag( + com.google.cloud.datacatalog.v1beta1.Tag.Builder builderForValue) { if (tagBuilder_ == null) { tag_ = builderForValue.build(); } else { @@ -629,21 +587,17 @@ public Builder setTag(com.google.cloud.datacatalog.v1beta1.Tag.Builder builderFo return this; } /** - * - * *
      * Required. The updated tag. The "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTag(com.google.cloud.datacatalog.v1beta1.Tag value) { if (tagBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && tag_ != null - && tag_ != com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + tag_ != null && + tag_ != com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance()) { getTagBuilder().mergeFrom(value); } else { tag_ = value; @@ -656,15 +610,11 @@ public Builder mergeTag(com.google.cloud.datacatalog.v1beta1.Tag value) { return this; } /** - * - * *
      * Required. The updated tag. The "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTag() { bitField0_ = (bitField0_ & ~0x00000001); @@ -677,15 +627,11 @@ public Builder clearTag() { return this; } /** - * - * *
      * Required. The updated tag. The "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1beta1.Tag.Builder getTagBuilder() { bitField0_ |= 0x00000001; @@ -693,46 +639,36 @@ public com.google.cloud.datacatalog.v1beta1.Tag.Builder getTagBuilder() { return getTagFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The updated tag. The "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagOrBuilder() { if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null ? com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance() : tag_; + return tag_ == null ? + com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance() : tag_; } } /** - * - * *
      * Required. The updated tag. The "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Tag, - com.google.cloud.datacatalog.v1beta1.Tag.Builder, - com.google.cloud.datacatalog.v1beta1.TagOrBuilder> + com.google.cloud.datacatalog.v1beta1.Tag, com.google.cloud.datacatalog.v1beta1.Tag.Builder, com.google.cloud.datacatalog.v1beta1.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Tag, - com.google.cloud.datacatalog.v1beta1.Tag.Builder, - com.google.cloud.datacatalog.v1beta1.TagOrBuilder>( - getTag(), getParentForChildren(), isClean()); + tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.Tag, com.google.cloud.datacatalog.v1beta1.Tag.Builder, com.google.cloud.datacatalog.v1beta1.TagOrBuilder>( + getTag(), + getParentForChildren(), + isClean()); tag_ = null; } return tagBuilder_; @@ -740,52 +676,57 @@ public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagOrBuilder() { 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_; /** + *
+     * Note: Currently, this parameter can only take `"fields"` as value.
      *
+     * Names of fields whose values to overwrite on a tag. Currently, a tag has
+     * the only modifiable field with the name `fields`.
      *
-     * 
-     * The fields to update on the Tag. If absent or empty, all modifiable fields
-     * are updated. Currently the only modifiable field is the field `fields`.
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** + *
+     * Note: Currently, this parameter can only take `"fields"` as value.
      *
+     * Names of fields whose values to overwrite on a tag. Currently, a tag has
+     * the only modifiable field with the name `fields`.
      *
-     * 
-     * The fields to update on the Tag. If absent or empty, all modifiable fields
-     * are updated. Currently the only modifiable field is the field `fields`.
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @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(); } } /** + *
+     * Note: Currently, this parameter can only take `"fields"` as value.
      *
+     * Names of fields whose values to overwrite on a tag. Currently, a tag has
+     * the only modifiable field with the name `fields`.
      *
-     * 
-     * The fields to update on the Tag. If absent or empty, all modifiable fields
-     * are updated. Currently the only modifiable field is the field `fields`.
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -804,16 +745,21 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + *
+     * Note: Currently, this parameter can only take `"fields"` as value.
      *
+     * Names of fields whose values to overwrite on a tag. Currently, a tag has
+     * the only modifiable field with the name `fields`.
      *
-     * 
-     * The fields to update on the Tag. If absent or empty, all modifiable fields
-     * are updated. Currently the only modifiable field is the field `fields`.
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ - 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 { @@ -824,20 +770,24 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** + *
+     * Note: Currently, this parameter can only take `"fields"` as value.
      *
+     * Names of fields whose values to overwrite on a tag. Currently, a tag has
+     * the only modifiable field with the name `fields`.
      *
-     * 
-     * The fields to update on the Tag. If absent or empty, all modifiable fields
-     * are updated. Currently the only modifiable field is the field `fields`.
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ 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; @@ -850,11 +800,15 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + *
+     * Note: Currently, this parameter can only take `"fields"` as value.
      *
+     * Names of fields whose values to overwrite on a tag. Currently, a tag has
+     * the only modifiable field with the name `fields`.
      *
-     * 
-     * The fields to update on the Tag. If absent or empty, all modifiable fields
-     * are updated. Currently the only modifiable field is the field `fields`.
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -870,11 +824,15 @@ public Builder clearUpdateMask() { return this; } /** + *
+     * Note: Currently, this parameter can only take `"fields"` as value.
      *
+     * Names of fields whose values to overwrite on a tag. Currently, a tag has
+     * the only modifiable field with the name `fields`.
      *
-     * 
-     * The fields to update on the Tag. If absent or empty, all modifiable fields
-     * are updated. Currently the only modifiable field is the field `fields`.
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -885,11 +843,15 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + *
+     * Note: Currently, this parameter can only take `"fields"` as value.
      *
+     * Names of fields whose values to overwrite on a tag. Currently, a tag has
+     * the only modifiable field with the name `fields`.
      *
-     * 
-     * The fields to update on the Tag. If absent or empty, all modifiable fields
-     * are updated. Currently the only modifiable field is the field `fields`.
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -898,40 +860,40 @@ 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_; } } /** + *
+     * Note: Currently, this parameter can only take `"fields"` as value.
      *
+     * Names of fields whose values to overwrite on a tag. Currently, a tag has
+     * the only modifiable field with the name `fields`.
      *
-     * 
-     * The fields to update on the Tag. If absent or empty, all modifiable fields
-     * are updated. Currently the only modifiable field is the field `fields`.
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -941,12 +903,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.UpdateTagRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.UpdateTagRequest) private static final com.google.cloud.datacatalog.v1beta1.UpdateTagRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.UpdateTagRequest(); } @@ -955,27 +917,27 @@ public static com.google.cloud.datacatalog.v1beta1.UpdateTagRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +952,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.UpdateTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequestOrBuilder.java similarity index 53% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequestOrBuilder.java index 691c3631c7a2..0ff51ed50578 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequestOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequestOrBuilder.java @@ -1,98 +1,81 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface UpdateTagRequestOrBuilder - extends +public interface UpdateTagRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.UpdateTagRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The updated tag. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tag field is set. */ boolean hasTag(); /** - * - * *
    * Required. The updated tag. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The tag. */ com.google.cloud.datacatalog.v1beta1.Tag getTag(); /** - * - * *
    * Required. The updated tag. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagOrBuilder(); /** + *
+   * Note: Currently, this parameter can only take `"fields"` as value.
    *
+   * Names of fields whose values to overwrite on a tag. Currently, a tag has
+   * the only modifiable field with the name `fields`.
    *
-   * 
-   * The fields to update on the Tag. If absent or empty, all modifiable fields
-   * are updated. Currently the only modifiable field is the field `fields`.
+   * In general, if this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + *
+   * Note: Currently, this parameter can only take `"fields"` as value.
    *
+   * Names of fields whose values to overwrite on a tag. Currently, a tag has
+   * the only modifiable field with the name `fields`.
    *
-   * 
-   * The fields to update on the Tag. If absent or empty, all modifiable fields
-   * are updated. Currently the only modifiable field is the field `fields`.
+   * In general, if this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + *
+   * Note: Currently, this parameter can only take `"fields"` as value.
    *
+   * Names of fields whose values to overwrite on a tag. Currently, a tag has
+   * the only modifiable field with the name `fields`.
    *
-   * 
-   * The fields to update on the Tag. If absent or empty, all modifiable fields
-   * are updated. Currently the only modifiable field is the field `fields`.
+   * In general, if this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequest.java similarity index 52% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequest.java index 76ab84f3becd..8b6a69b6e63c 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [UpdateTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTagTemplateField].
@@ -28,58 +11,50 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest}
  */
-public final class UpdateTagTemplateFieldRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateTagTemplateFieldRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest)
     UpdateTagTemplateFieldRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateTagTemplateFieldRequest.newBuilder() to construct.
   private UpdateTagTemplateFieldRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UpdateTagTemplateFieldRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateTagTemplateFieldRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest.class,
-            com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest.class, com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the tag template field. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
    * 
* - * - * string name = 1 [(.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,33 +63,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the tag template field. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
    * 
* - * - * string name = 1 [(.google.api.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,16 +98,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int TAG_TEMPLATE_FIELD_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1beta1.TagTemplateField tagTemplateField_; /** - * - * *
    * Required. The template to update.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tagTemplateField field is set. */ @java.lang.Override @@ -142,68 +110,52 @@ public boolean hasTagTemplateField() { return tagTemplateField_ != null; } /** - * - * *
    * Required. The template to update.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The tagTemplateField. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TagTemplateField getTagTemplateField() { - return tagTemplateField_ == null - ? com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance() - : tagTemplateField_; + return tagTemplateField_ == null ? com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance() : tagTemplateField_; } /** - * - * *
    * Required. The template to update.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder - getTagTemplateFieldOrBuilder() { - return tagTemplateField_ == null - ? com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance() - : tagTemplateField_; + public com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder() { + return tagTemplateField_ == null ? com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance() : tagTemplateField_; } public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
-   * Optional. The field mask specifies the parts of the template to be updated.
-   * Allowed fields:
+   * Optional. Names of fields whose values to overwrite on an individual field
+   * of a tag template. The following fields are modifiable:
    *
    *   * `display_name`
    *   * `type.enum_type`
    *   * `is_required`
    *
-   * If `update_mask` is not set or empty, all of the allowed fields above will
-   * be updated.
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the request
+   * body, their values are emptied with one exception: when updating an enum
+   * type, the provided values are merged with the existing values. Therefore,
+   * enum values can only be added, existing enum values cannot be deleted or
+   * renamed.
    *
-   * When updating an enum type, the provided values will be merged with the
-   * existing values. Therefore, enum values can only be added, existing enum
-   * values cannot be deleted nor renamed. Updating a template field from
-   * optional to required is NOT allowed.
+   * Additionally, updating a template field from optional to required is
+   * *not* allowed.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -211,28 +163,26 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
-   * Optional. The field mask specifies the parts of the template to be updated.
-   * Allowed fields:
+   * Optional. Names of fields whose values to overwrite on an individual field
+   * of a tag template. The following fields are modifiable:
    *
    *   * `display_name`
    *   * `type.enum_type`
    *   * `is_required`
    *
-   * If `update_mask` is not set or empty, all of the allowed fields above will
-   * be updated.
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the request
+   * body, their values are emptied with one exception: when updating an enum
+   * type, the provided values are merged with the existing values. Therefore,
+   * enum values can only be added, existing enum values cannot be deleted or
+   * renamed.
    *
-   * When updating an enum type, the provided values will be merged with the
-   * existing values. Therefore, enum values can only be added, existing enum
-   * values cannot be deleted nor renamed. Updating a template field from
-   * optional to required is NOT allowed.
+   * Additionally, updating a template field from optional to required is
+   * *not* allowed.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ @java.lang.Override @@ -240,27 +190,26 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
-   * Optional. The field mask specifies the parts of the template to be updated.
-   * Allowed fields:
+   * Optional. Names of fields whose values to overwrite on an individual field
+   * of a tag template. The following fields are modifiable:
    *
    *   * `display_name`
    *   * `type.enum_type`
    *   * `is_required`
    *
-   * If `update_mask` is not set or empty, all of the allowed fields above will
-   * be updated.
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the request
+   * body, their values are emptied with one exception: when updating an enum
+   * type, the provided values are merged with the existing values. Therefore,
+   * enum values can only be added, existing enum values cannot be deleted or
+   * renamed.
    *
-   * When updating an enum type, the provided values will be merged with the
-   * existing values. Therefore, enum values can only be added, existing enum
-   * values cannot be deleted nor renamed. Updating a template field from
-   * optional to required is NOT allowed.
+   * Additionally, updating a template field from optional to required is
+   * *not* allowed.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -268,7 +217,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -280,7 +228,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -303,10 +252,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (tagTemplateField_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTagTemplateField()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTagTemplateField()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -316,22 +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.datacatalog.v1beta1.UpdateTagTemplateFieldRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest other = - (com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest) obj; + com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest other = (com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasTagTemplateField() != other.hasTagTemplateField()) return false; if (hasTagTemplateField()) { - if (!getTagTemplateField().equals(other.getTagTemplateField())) return false; + if (!getTagTemplateField() + .equals(other.getTagTemplateField())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -360,105 +313,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest - parseDelimitedFrom( - java.io.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.datacatalog.v1beta1.UpdateTagTemplateFieldRequest parseDelimitedFrom( + java.io.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.datacatalog.v1beta1.UpdateTagTemplateFieldRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [UpdateTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTagTemplateField].
@@ -466,33 +412,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest)
       com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest.class,
-              com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest.class, com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest.newBuilder()
-    private Builder() {}
+    // Construct using com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest.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();
@@ -512,16 +458,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest
-        getDefaultInstanceForType() {
-      return com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest
-          .getDefaultInstance();
+    public com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest getDefaultInstanceForType() {
+      return com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -535,27 +479,26 @@ public com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest build(
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest result =
-          new com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest result = new com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest result) {
+    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.tagTemplateField_ =
-            tagTemplateFieldBuilder_ == null ? tagTemplateField_ : tagTemplateFieldBuilder_.build();
+        result.tagTemplateField_ = tagTemplateFieldBuilder_ == null
+            ? tagTemplateField_
+            : tagTemplateFieldBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null
+            ? updateMask_
+            : updateMaskBuilder_.build();
       }
     }
 
@@ -563,51 +506,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest) {
-        return mergeFrom(
-            (com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest other) {
-      if (other
-          == com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest other) {
+      if (other == com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -645,32 +583,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(
-                    getTagTemplateFieldFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getTagTemplateFieldFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().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) {
@@ -680,29 +617,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the tag template field. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
      * 
* - * - * string name = 1 [(.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; @@ -711,25 +643,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the tag template field. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -737,43 +666,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the tag template field. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the tag template field. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
      * 
* - * - * string 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() { @@ -783,25 +701,19 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the tag template field. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
      * 
* - * - * string name = 1 [(.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,61 +723,41 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datacatalog.v1beta1.TagTemplateField tagTemplateField_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.TagTemplateField, - com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder, - com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder> - tagTemplateFieldBuilder_; + com.google.cloud.datacatalog.v1beta1.TagTemplateField, com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder, com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder> tagTemplateFieldBuilder_; /** - * - * *
      * Required. The template to update.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tagTemplateField field is set. */ public boolean hasTagTemplateField() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The template to update.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The tagTemplateField. */ public com.google.cloud.datacatalog.v1beta1.TagTemplateField getTagTemplateField() { if (tagTemplateFieldBuilder_ == null) { - return tagTemplateField_ == null - ? com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance() - : tagTemplateField_; + return tagTemplateField_ == null ? com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance() : tagTemplateField_; } else { return tagTemplateFieldBuilder_.getMessage(); } } /** - * - * *
      * Required. The template to update.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTagTemplateField( - com.google.cloud.datacatalog.v1beta1.TagTemplateField value) { + public Builder setTagTemplateField(com.google.cloud.datacatalog.v1beta1.TagTemplateField value) { if (tagTemplateFieldBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -879,15 +771,11 @@ public Builder setTagTemplateField( return this; } /** - * - * *
      * Required. The template to update.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTagTemplateField( com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder builderForValue) { @@ -901,23 +789,17 @@ public Builder setTagTemplateField( return this; } /** - * - * *
      * Required. The template to update.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeTagTemplateField( - com.google.cloud.datacatalog.v1beta1.TagTemplateField value) { + public Builder mergeTagTemplateField(com.google.cloud.datacatalog.v1beta1.TagTemplateField value) { if (tagTemplateFieldBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && tagTemplateField_ != null - && tagTemplateField_ - != com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + tagTemplateField_ != null && + tagTemplateField_ != com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance()) { getTagTemplateFieldBuilder().mergeFrom(value); } else { tagTemplateField_ = value; @@ -930,15 +812,11 @@ public Builder mergeTagTemplateField( return this; } /** - * - * *
      * Required. The template to update.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTagTemplateField() { bitField0_ = (bitField0_ & ~0x00000002); @@ -951,66 +829,48 @@ public Builder clearTagTemplateField() { return this; } /** - * - * *
      * Required. The template to update.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder - getTagTemplateFieldBuilder() { + public com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder getTagTemplateFieldBuilder() { bitField0_ |= 0x00000002; onChanged(); return getTagTemplateFieldFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The template to update.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder - getTagTemplateFieldOrBuilder() { + public com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder() { if (tagTemplateFieldBuilder_ != null) { return tagTemplateFieldBuilder_.getMessageOrBuilder(); } else { - return tagTemplateField_ == null - ? com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance() - : tagTemplateField_; + return tagTemplateField_ == null ? + com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance() : tagTemplateField_; } } /** - * - * *
      * Required. The template to update.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.TagTemplateField, - com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder, - com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder> + com.google.cloud.datacatalog.v1beta1.TagTemplateField, com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder, com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder> getTagTemplateFieldFieldBuilder() { if (tagTemplateFieldBuilder_ == null) { - tagTemplateFieldBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.TagTemplateField, - com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder, - com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder>( - getTagTemplateField(), getParentForChildren(), isClean()); + tagTemplateFieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.TagTemplateField, com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder, com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder>( + getTagTemplateField(), + getParentForChildren(), + isClean()); tagTemplateField_ = null; } return tagTemplateFieldBuilder_; @@ -1018,94 +878,84 @@ public Builder clearTagTemplateField() { 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_; /** - * - * *
-     * Optional. The field mask specifies the parts of the template to be updated.
-     * Allowed fields:
+     * Optional. Names of fields whose values to overwrite on an individual field
+     * of a tag template. The following fields are modifiable:
      *
      *   * `display_name`
      *   * `type.enum_type`
      *   * `is_required`
      *
-     * If `update_mask` is not set or empty, all of the allowed fields above will
-     * be updated.
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the request
+     * body, their values are emptied with one exception: when updating an enum
+     * type, the provided values are merged with the existing values. Therefore,
+     * enum values can only be added, existing enum values cannot be deleted or
+     * renamed.
      *
-     * When updating an enum type, the provided values will be merged with the
-     * existing values. Therefore, enum values can only be added, existing enum
-     * values cannot be deleted nor renamed. Updating a template field from
-     * optional to required is NOT allowed.
+     * Additionally, updating a template field from optional to required is
+     * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
-     * Optional. The field mask specifies the parts of the template to be updated.
-     * Allowed fields:
+     * Optional. Names of fields whose values to overwrite on an individual field
+     * of a tag template. The following fields are modifiable:
      *
      *   * `display_name`
      *   * `type.enum_type`
      *   * `is_required`
      *
-     * If `update_mask` is not set or empty, all of the allowed fields above will
-     * be updated.
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the request
+     * body, their values are emptied with one exception: when updating an enum
+     * type, the provided values are merged with the existing values. Therefore,
+     * enum values can only be added, existing enum values cannot be deleted or
+     * renamed.
      *
-     * When updating an enum type, the provided values will be merged with the
-     * existing values. Therefore, enum values can only be added, existing enum
-     * values cannot be deleted nor renamed. Updating a template field from
-     * optional to required is NOT allowed.
+     * Additionally, updating a template field from optional to required is
+     * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; * @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(); } } /** - * - * *
-     * Optional. The field mask specifies the parts of the template to be updated.
-     * Allowed fields:
+     * Optional. Names of fields whose values to overwrite on an individual field
+     * of a tag template. The following fields are modifiable:
      *
      *   * `display_name`
      *   * `type.enum_type`
      *   * `is_required`
      *
-     * If `update_mask` is not set or empty, all of the allowed fields above will
-     * be updated.
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the request
+     * body, their values are emptied with one exception: when updating an enum
+     * type, the provided values are merged with the existing values. Therefore,
+     * enum values can only be added, existing enum values cannot be deleted or
+     * renamed.
      *
-     * When updating an enum type, the provided values will be merged with the
-     * existing values. Therefore, enum values can only be added, existing enum
-     * values cannot be deleted nor renamed. Updating a template field from
-     * optional to required is NOT allowed.
+     * Additionally, updating a template field from optional to required is
+     * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -1121,29 +971,29 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
-     * Optional. The field mask specifies the parts of the template to be updated.
-     * Allowed fields:
+     * Optional. Names of fields whose values to overwrite on an individual field
+     * of a tag template. The following fields are modifiable:
      *
      *   * `display_name`
      *   * `type.enum_type`
      *   * `is_required`
      *
-     * If `update_mask` is not set or empty, all of the allowed fields above will
-     * be updated.
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the request
+     * body, their values are emptied with one exception: when updating an enum
+     * type, the provided values are merged with the existing values. Therefore,
+     * enum values can only be added, existing enum values cannot be deleted or
+     * renamed.
      *
-     * When updating an enum type, the provided values will be merged with the
-     * existing values. Therefore, enum values can only be added, existing enum
-     * values cannot be deleted nor renamed. Updating a template field from
-     * optional to required is NOT allowed.
+     * Additionally, updating a template field from optional to required is
+     * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - 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 { @@ -1154,33 +1004,32 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
-     * Optional. The field mask specifies the parts of the template to be updated.
-     * Allowed fields:
+     * Optional. Names of fields whose values to overwrite on an individual field
+     * of a tag template. The following fields are modifiable:
      *
      *   * `display_name`
      *   * `type.enum_type`
      *   * `is_required`
      *
-     * If `update_mask` is not set or empty, all of the allowed fields above will
-     * be updated.
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the request
+     * body, their values are emptied with one exception: when updating an enum
+     * type, the provided values are merged with the existing values. Therefore,
+     * enum values can only be added, existing enum values cannot be deleted or
+     * renamed.
      *
-     * When updating an enum type, the provided values will be merged with the
-     * existing values. Therefore, enum values can only be added, existing enum
-     * values cannot be deleted nor renamed. Updating a template field from
-     * optional to required is NOT allowed.
+     * Additionally, updating a template field from optional to required is
+     * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -1193,27 +1042,26 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
-     * Optional. The field mask specifies the parts of the template to be updated.
-     * Allowed fields:
+     * Optional. Names of fields whose values to overwrite on an individual field
+     * of a tag template. The following fields are modifiable:
      *
      *   * `display_name`
      *   * `type.enum_type`
      *   * `is_required`
      *
-     * If `update_mask` is not set or empty, all of the allowed fields above will
-     * be updated.
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the request
+     * body, their values are emptied with one exception: when updating an enum
+     * type, the provided values are merged with the existing values. Therefore,
+     * enum values can only be added, existing enum values cannot be deleted or
+     * renamed.
      *
-     * When updating an enum type, the provided values will be merged with the
-     * existing values. Therefore, enum values can only be added, existing enum
-     * values cannot be deleted nor renamed. Updating a template field from
-     * optional to required is NOT allowed.
+     * Additionally, updating a template field from optional to required is
+     * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1226,27 +1074,26 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
-     * Optional. The field mask specifies the parts of the template to be updated.
-     * Allowed fields:
+     * Optional. Names of fields whose values to overwrite on an individual field
+     * of a tag template. The following fields are modifiable:
      *
      *   * `display_name`
      *   * `type.enum_type`
      *   * `is_required`
      *
-     * If `update_mask` is not set or empty, all of the allowed fields above will
-     * be updated.
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the request
+     * body, their values are emptied with one exception: when updating an enum
+     * type, the provided values are merged with the existing values. Therefore,
+     * enum values can only be added, existing enum values cannot be deleted or
+     * renamed.
      *
-     * When updating an enum type, the provided values will be merged with the
-     * existing values. Therefore, enum values can only be added, existing enum
-     * values cannot be deleted nor renamed. Updating a template field from
-     * optional to required is NOT allowed.
+     * Additionally, updating a template field from optional to required is
+     * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000004; @@ -1254,79 +1101,73 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
-     * Optional. The field mask specifies the parts of the template to be updated.
-     * Allowed fields:
+     * Optional. Names of fields whose values to overwrite on an individual field
+     * of a tag template. The following fields are modifiable:
      *
      *   * `display_name`
      *   * `type.enum_type`
      *   * `is_required`
      *
-     * If `update_mask` is not set or empty, all of the allowed fields above will
-     * be updated.
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the request
+     * body, their values are emptied with one exception: when updating an enum
+     * type, the provided values are merged with the existing values. Therefore,
+     * enum values can only be added, existing enum values cannot be deleted or
+     * renamed.
      *
-     * When updating an enum type, the provided values will be merged with the
-     * existing values. Therefore, enum values can only be added, existing enum
-     * values cannot be deleted nor renamed. Updating a template field from
-     * optional to required is NOT allowed.
+     * Additionally, updating a template field from optional to required is
+     * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; } } /** - * - * *
-     * Optional. The field mask specifies the parts of the template to be updated.
-     * Allowed fields:
+     * Optional. Names of fields whose values to overwrite on an individual field
+     * of a tag template. The following fields are modifiable:
      *
      *   * `display_name`
      *   * `type.enum_type`
      *   * `is_required`
      *
-     * If `update_mask` is not set or empty, all of the allowed fields above will
-     * be updated.
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the request
+     * body, their values are emptied with one exception: when updating an enum
+     * type, the provided values are merged with the existing values. Therefore,
+     * enum values can only be added, existing enum values cannot be deleted or
+     * renamed.
      *
-     * When updating an enum type, the provided values will be merged with the
-     * existing values. Therefore, enum values can only be added, existing enum
-     * values cannot be deleted nor renamed. Updating a template field from
-     * optional to required is NOT allowed.
+     * Additionally, updating a template field from optional to required is
+     * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1336,43 +1177,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest) - private static final com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest(); } - public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest - getDefaultInstance() { + public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateTagTemplateFieldRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateTagTemplateFieldRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1384,8 +1223,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest - getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequestOrBuilder.java new file mode 100644 index 000000000000..067341fc3314 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequestOrBuilder.java @@ -0,0 +1,132 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/datacatalog.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface UpdateTagTemplateFieldRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the tag template field. Example:
+   *
+   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the tag template field. Example:
+   *
+   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * Required. The template to update.
+   * 
+ * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the tagTemplateField field is set. + */ + boolean hasTagTemplateField(); + /** + *
+   * Required. The template to update.
+   * 
+ * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The tagTemplateField. + */ + com.google.cloud.datacatalog.v1beta1.TagTemplateField getTagTemplateField(); + /** + *
+   * Required. The template to update.
+   * 
+ * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder(); + + /** + *
+   * Optional. Names of fields whose values to overwrite on an individual field
+   * of a tag template. The following fields are modifiable:
+   *
+   *   * `display_name`
+   *   * `type.enum_type`
+   *   * `is_required`
+   *
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the request
+   * body, their values are emptied with one exception: when updating an enum
+   * type, the provided values are merged with the existing values. Therefore,
+   * enum values can only be added, existing enum values cannot be deleted or
+   * renamed.
+   *
+   * Additionally, updating a template field from optional to required is
+   * *not* allowed.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the updateMask field is set. + */ + boolean hasUpdateMask(); + /** + *
+   * Optional. Names of fields whose values to overwrite on an individual field
+   * of a tag template. The following fields are modifiable:
+   *
+   *   * `display_name`
+   *   * `type.enum_type`
+   *   * `is_required`
+   *
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the request
+   * body, their values are emptied with one exception: when updating an enum
+   * type, the provided values are merged with the existing values. Therefore,
+   * enum values can only be added, existing enum values cannot be deleted or
+   * renamed.
+   *
+   * Additionally, updating a template field from optional to required is
+   * *not* allowed.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The updateMask. + */ + com.google.protobuf.FieldMask getUpdateMask(); + /** + *
+   * Optional. Names of fields whose values to overwrite on an individual field
+   * of a tag template. The following fields are modifiable:
+   *
+   *   * `display_name`
+   *   * `type.enum_type`
+   *   * `is_required`
+   *
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the request
+   * body, their values are emptied with one exception: when updating an enum
+   * type, the provided values are merged with the existing values. Therefore,
+   * enum values can only be added, existing enum values cannot be deleted or
+   * renamed.
+   *
+   * Additionally, updating a template field from optional to required is
+   * *not* allowed.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequest.java similarity index 57% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequest.java index 29d5dbdcc5e7..2689b4726c3c 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [UpdateTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTagTemplate].
@@ -28,52 +11,46 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest}
  */
-public final class UpdateTagTemplateRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateTagTemplateRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest)
     UpdateTagTemplateRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateTagTemplateRequest.newBuilder() to construct.
   private UpdateTagTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdateTagTemplateRequest() {}
+  private UpdateTagTemplateRequest() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateTagTemplateRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog
-        .internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest.class,
-            com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest.class, com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest.Builder.class);
   }
 
   public static final int TAG_TEMPLATE_FIELD_NUMBER = 1;
   private com.google.cloud.datacatalog.v1beta1.TagTemplate tagTemplate_;
   /**
-   *
-   *
    * 
    * Required. The template to update. The "name" field must be set.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tagTemplate field is set. */ @java.lang.Override @@ -81,59 +58,42 @@ public boolean hasTagTemplate() { return tagTemplate_ != null; } /** - * - * *
    * Required. The template to update. The "name" field must be set.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The tagTemplate. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TagTemplate getTagTemplate() { - return tagTemplate_ == null - ? com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance() - : tagTemplate_; + return tagTemplate_ == null ? com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance() : tagTemplate_; } /** - * - * *
    * Required. The template to update. The "name" field must be set.
    * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder getTagTemplateOrBuilder() { - return tagTemplate_ == null - ? com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance() - : tagTemplate_; + return tagTemplate_ == null ? com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance() : tagTemplate_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
-   * The field mask specifies the parts of the template to overwrite.
-   *
-   * Allowed fields:
+   * Names of fields whose values to overwrite on a tag template. Currently,
+   * only `display_name` can be overwritten.
    *
-   *   * `display_name`
-   *
-   * If absent or empty, all of the allowed fields above will be updated.
+   * In general, if this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -141,20 +101,16 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
-   * The field mask specifies the parts of the template to overwrite.
-   *
-   * Allowed fields:
+   * Names of fields whose values to overwrite on a tag template. Currently,
+   * only `display_name` can be overwritten.
    *
-   *   * `display_name`
-   *
-   * If absent or empty, all of the allowed fields above will be updated.
+   * In general, if this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -162,16 +118,13 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
-   * The field mask specifies the parts of the template to overwrite.
+   * Names of fields whose values to overwrite on a tag template. Currently,
+   * only `display_name` can be overwritten.
    *
-   * Allowed fields:
-   *
-   *   * `display_name`
-   *
-   * If absent or empty, all of the allowed fields above will be updated.
+   * In general, if this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -182,7 +135,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -194,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 (tagTemplate_ != null) { output.writeMessage(1, getTagTemplate()); } @@ -211,10 +164,12 @@ public int getSerializedSize() { size = 0; if (tagTemplate_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTagTemplate()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTagTemplate()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -224,21 +179,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.datacatalog.v1beta1.UpdateTagTemplateRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest other = - (com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest) obj; + com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest other = (com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest) obj; if (hasTagTemplate() != other.hasTagTemplate()) return false; if (hasTagTemplate()) { - if (!getTagTemplate().equals(other.getTagTemplate())) return false; + if (!getTagTemplate() + .equals(other.getTagTemplate())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -265,104 +221,98 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest prototype) { + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [UpdateTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTagTemplate].
@@ -370,32 +320,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest)
       com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest.class,
-              com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest.class, com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -414,14 +365,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog
-          .internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest
-        getDefaultInstanceForType() {
+    public com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest getDefaultInstanceForType() {
       return com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest.getDefaultInstance();
     }
 
@@ -436,24 +386,23 @@ public com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest result =
-          new com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest result = new com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest result) {
+    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.tagTemplate_ =
-            tagTemplateBuilder_ == null ? tagTemplate_ : tagTemplateBuilder_.build();
+        result.tagTemplate_ = tagTemplateBuilder_ == null
+            ? tagTemplate_
+            : tagTemplateBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null
+            ? updateMask_
+            : updateMaskBuilder_.build();
       }
     }
 
@@ -461,39 +410,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.datacatalog.v1beta1.UpdateTagTemplateRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -501,9 +449,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest other) {
-      if (other
-          == com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest.getDefaultInstance()) return this;
       if (other.hasTagTemplate()) {
         mergeTagTemplate(other.getTagTemplate());
       }
@@ -536,25 +482,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getTagTemplateFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getTagTemplateFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -564,63 +511,43 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.datacatalog.v1beta1.TagTemplate tagTemplate_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1beta1.TagTemplate,
-            com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder,
-            com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder>
-        tagTemplateBuilder_;
+        com.google.cloud.datacatalog.v1beta1.TagTemplate, com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder, com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder> tagTemplateBuilder_;
     /**
-     *
-     *
      * 
      * Required. The template to update. The "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tagTemplate field is set. */ public boolean hasTagTemplate() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The template to update. The "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The tagTemplate. */ public com.google.cloud.datacatalog.v1beta1.TagTemplate getTagTemplate() { if (tagTemplateBuilder_ == null) { - return tagTemplate_ == null - ? com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance() - : tagTemplate_; + return tagTemplate_ == null ? com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance() : tagTemplate_; } else { return tagTemplateBuilder_.getMessage(); } } /** - * - * *
      * Required. The template to update. The "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTagTemplate(com.google.cloud.datacatalog.v1beta1.TagTemplate value) { if (tagTemplateBuilder_ == null) { @@ -636,15 +563,11 @@ public Builder setTagTemplate(com.google.cloud.datacatalog.v1beta1.TagTemplate v return this; } /** - * - * *
      * Required. The template to update. The "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTagTemplate( com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder builderForValue) { @@ -658,22 +581,17 @@ public Builder setTagTemplate( return this; } /** - * - * *
      * Required. The template to update. The "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTagTemplate(com.google.cloud.datacatalog.v1beta1.TagTemplate value) { if (tagTemplateBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && tagTemplate_ != null - && tagTemplate_ - != com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + tagTemplate_ != null && + tagTemplate_ != com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance()) { getTagTemplateBuilder().mergeFrom(value); } else { tagTemplate_ = value; @@ -686,15 +604,11 @@ public Builder mergeTagTemplate(com.google.cloud.datacatalog.v1beta1.TagTemplate return this; } /** - * - * *
      * Required. The template to update. The "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTagTemplate() { bitField0_ = (bitField0_ & ~0x00000001); @@ -707,15 +621,11 @@ public Builder clearTagTemplate() { return this; } /** - * - * *
      * Required. The template to update. The "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder getTagTemplateBuilder() { bitField0_ |= 0x00000001; @@ -723,48 +633,36 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder getTagTemplateBu return getTagTemplateFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The template to update. The "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder getTagTemplateOrBuilder() { if (tagTemplateBuilder_ != null) { return tagTemplateBuilder_.getMessageOrBuilder(); } else { - return tagTemplate_ == null - ? com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance() - : tagTemplate_; + return tagTemplate_ == null ? + com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance() : tagTemplate_; } } /** - * - * *
      * Required. The template to update. The "name" field must be set.
      * 
* - * - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.TagTemplate, - com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder, - com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder> + com.google.cloud.datacatalog.v1beta1.TagTemplate, com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder, com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder> getTagTemplateFieldBuilder() { if (tagTemplateBuilder_ == null) { - tagTemplateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.TagTemplate, - com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder, - com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder>( - getTagTemplate(), getParentForChildren(), isClean()); + tagTemplateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.TagTemplate, com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder, com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder>( + getTagTemplate(), + getParentForChildren(), + isClean()); tagTemplate_ = null; } return tagTemplateBuilder_; @@ -772,67 +670,51 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder getTagTemplateO 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_; /** - * - * *
-     * The field mask specifies the parts of the template to overwrite.
-     *
-     * Allowed fields:
+     * Names of fields whose values to overwrite on a tag template. Currently,
+     * only `display_name` can be overwritten.
      *
-     *   * `display_name`
-     *
-     * If absent or empty, all of the allowed fields above will be updated.
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
-     * The field mask specifies the parts of the template to overwrite.
+     * Names of fields whose values to overwrite on a tag template. Currently,
+     * only `display_name` can be overwritten.
      *
-     * Allowed fields:
-     *
-     *   * `display_name`
-     *
-     * If absent or empty, all of the allowed fields above will be updated.
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @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(); } } /** - * - * *
-     * The field mask specifies the parts of the template to overwrite.
+     * Names of fields whose values to overwrite on a tag template. Currently,
+     * only `display_name` can be overwritten.
      *
-     * Allowed fields:
-     *
-     *   * `display_name`
-     *
-     * If absent or empty, all of the allowed fields above will be updated.
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -851,21 +733,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
-     * The field mask specifies the parts of the template to overwrite.
+     * Names of fields whose values to overwrite on a tag template. Currently,
+     * only `display_name` can be overwritten.
      *
-     * Allowed fields:
-     *
-     *   * `display_name`
-     *
-     * If absent or empty, all of the allowed fields above will be updated.
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ - 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 { @@ -876,25 +756,22 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
-     * The field mask specifies the parts of the template to overwrite.
-     *
-     * Allowed fields:
+     * Names of fields whose values to overwrite on a tag template. Currently,
+     * only `display_name` can be overwritten.
      *
-     *   * `display_name`
-     *
-     * If absent or empty, all of the allowed fields above will be updated.
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -907,16 +784,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
-     * The field mask specifies the parts of the template to overwrite.
-     *
-     * Allowed fields:
+     * Names of fields whose values to overwrite on a tag template. Currently,
+     * only `display_name` can be overwritten.
      *
-     *   * `display_name`
-     *
-     * If absent or empty, all of the allowed fields above will be updated.
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -932,16 +806,13 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
-     * The field mask specifies the parts of the template to overwrite.
-     *
-     * Allowed fields:
-     *
-     *   * `display_name`
+     * Names of fields whose values to overwrite on a tag template. Currently,
+     * only `display_name` can be overwritten.
      *
-     * If absent or empty, all of the allowed fields above will be updated.
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -952,16 +823,13 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
-     * The field mask specifies the parts of the template to overwrite.
-     *
-     * Allowed fields:
-     *
-     *   * `display_name`
+     * Names of fields whose values to overwrite on a tag template. Currently,
+     * only `display_name` can be overwritten.
      *
-     * If absent or empty, all of the allowed fields above will be updated.
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -970,45 +838,38 @@ 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_; } } /** - * - * *
-     * The field mask specifies the parts of the template to overwrite.
-     *
-     * Allowed fields:
+     * Names of fields whose values to overwrite on a tag template. Currently,
+     * only `display_name` can be overwritten.
      *
-     *   * `display_name`
-     *
-     * If absent or empty, all of the allowed fields above will be updated.
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1018,13 +879,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest) - private static final com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest(); } @@ -1033,27 +893,27 @@ public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateTagTemplateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateTagTemplateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1068,4 +928,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequestOrBuilder.java new file mode 100644 index 000000000000..5ea84f33411b --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequestOrBuilder.java @@ -0,0 +1,78 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/datacatalog.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface UpdateTagTemplateRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The template to update. The "name" field must be set.
+   * 
+ * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the tagTemplate field is set. + */ + boolean hasTagTemplate(); + /** + *
+   * Required. The template to update. The "name" field must be set.
+   * 
+ * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The tagTemplate. + */ + com.google.cloud.datacatalog.v1beta1.TagTemplate getTagTemplate(); + /** + *
+   * Required. The template to update. The "name" field must be set.
+   * 
+ * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder getTagTemplateOrBuilder(); + + /** + *
+   * Names of fields whose values to overwrite on a tag template. Currently,
+   * only `display_name` can be overwritten.
+   *
+   * In general, if this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 2; + * @return Whether the updateMask field is set. + */ + boolean hasUpdateMask(); + /** + *
+   * Names of fields whose values to overwrite on a tag template. Currently,
+   * only `display_name` can be overwritten.
+   *
+   * In general, if this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 2; + * @return The updateMask. + */ + com.google.protobuf.FieldMask getUpdateMask(); + /** + *
+   * Names of fields whose values to overwrite on a tag template. Currently,
+   * only `display_name` can be overwritten.
+   *
+   * In general, if this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 2; + */ + com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequest.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequest.java similarity index 71% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequest.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequest.java index 307c1654ddf1..360910a0ead9 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequest.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Request message for
  * [UpdateTaxonomy][google.cloud.datacatalog.v1beta1.PolicyTagManager.UpdateTaxonomy].
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest}
  */
-public final class UpdateTaxonomyRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateTaxonomyRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest)
     UpdateTaxonomyRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateTaxonomyRequest.newBuilder() to construct.
   private UpdateTaxonomyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdateTaxonomyRequest() {}
+  private UpdateTaxonomyRequest() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateTaxonomyRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1beta1_UpdateTaxonomyRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_UpdateTaxonomyRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-        .internal_static_google_cloud_datacatalog_v1beta1_UpdateTaxonomyRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_UpdateTaxonomyRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest.class,
-            com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest.class, com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest.Builder.class);
   }
 
   public static final int TAXONOMY_FIELD_NUMBER = 1;
   private com.google.cloud.datacatalog.v1beta1.Taxonomy taxonomy_;
   /**
-   *
-   *
    * 
    * The taxonomy to update. Only description, display_name, and activated
    * policy types can be updated.
    * 
* * .google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 1; - * * @return Whether the taxonomy field is set. */ @java.lang.Override @@ -80,26 +59,19 @@ public boolean hasTaxonomy() { return taxonomy_ != null; } /** - * - * *
    * The taxonomy to update. Only description, display_name, and activated
    * policy types can be updated.
    * 
* * .google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 1; - * * @return The taxonomy. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomy() { - return taxonomy_ == null - ? com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance() - : taxonomy_; + return taxonomy_ == null ? com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance() : taxonomy_; } /** - * - * *
    * The taxonomy to update. Only description, display_name, and activated
    * policy types can be updated.
@@ -109,16 +81,12 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomy() {
    */
   @java.lang.Override
   public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomyOrBuilder() {
-    return taxonomy_ == null
-        ? com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance()
-        : taxonomy_;
+    return taxonomy_ == null ? com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance() : taxonomy_;
   }
 
   public static final int UPDATE_MASK_FIELD_NUMBER = 2;
   private com.google.protobuf.FieldMask updateMask_;
   /**
-   *
-   *
    * 
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -127,7 +95,6 @@ public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomyOrBuild
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -135,8 +102,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -145,7 +110,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -153,8 +117,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -170,7 +132,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -182,7 +143,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (taxonomy_ != null) {
       output.writeMessage(1, getTaxonomy());
     }
@@ -199,10 +161,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (taxonomy_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTaxonomy());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getTaxonomy());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -212,21 +176,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.datacatalog.v1beta1.UpdateTaxonomyRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest other =
-        (com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest) obj;
+    com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest other = (com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest) obj;
 
     if (hasTaxonomy() != other.hasTaxonomy()) return false;
     if (hasTaxonomy()) {
-      if (!getTaxonomy().equals(other.getTaxonomy())) return false;
+      if (!getTaxonomy()
+          .equals(other.getTaxonomy())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -253,104 +218,98 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest prototype) {
+  public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Request message for
    * [UpdateTaxonomy][google.cloud.datacatalog.v1beta1.PolicyTagManager.UpdateTaxonomy].
@@ -358,32 +317,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest)
       com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_UpdateTaxonomyRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_UpdateTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_UpdateTaxonomyRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_UpdateTaxonomyRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest.class,
-              com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest.class, com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -402,9 +362,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
-          .internal_static_google_cloud_datacatalog_v1beta1_UpdateTaxonomyRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_UpdateTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
@@ -423,11 +383,8 @@ public com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest result =
-          new com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest result = new com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -435,10 +392,14 @@ public com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest buildPartial()
     private void buildPartial0(com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.taxonomy_ = taxonomyBuilder_ == null ? taxonomy_ : taxonomyBuilder_.build();
+        result.taxonomy_ = taxonomyBuilder_ == null
+            ? taxonomy_
+            : taxonomyBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null
+            ? updateMask_
+            : updateMaskBuilder_.build();
       }
     }
 
@@ -446,39 +407,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRe
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest) other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -486,8 +446,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest.getDefaultInstance()) return this;
       if (other.hasTaxonomy()) {
         mergeTaxonomy(other.getTaxonomy());
       }
@@ -520,25 +479,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getTaxonomyFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getTaxonomyFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -548,54 +508,40 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.datacatalog.v1beta1.Taxonomy taxonomy_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1beta1.Taxonomy,
-            com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder,
-            com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder>
-        taxonomyBuilder_;
+        com.google.cloud.datacatalog.v1beta1.Taxonomy, com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder> taxonomyBuilder_;
     /**
-     *
-     *
      * 
      * The taxonomy to update. Only description, display_name, and activated
      * policy types can be updated.
      * 
* * .google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 1; - * * @return Whether the taxonomy field is set. */ public boolean hasTaxonomy() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The taxonomy to update. Only description, display_name, and activated
      * policy types can be updated.
      * 
* * .google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 1; - * * @return The taxonomy. */ public com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomy() { if (taxonomyBuilder_ == null) { - return taxonomy_ == null - ? com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance() - : taxonomy_; + return taxonomy_ == null ? com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance() : taxonomy_; } else { return taxonomyBuilder_.getMessage(); } } /** - * - * *
      * The taxonomy to update. Only description, display_name, and activated
      * policy types can be updated.
@@ -617,8 +563,6 @@ public Builder setTaxonomy(com.google.cloud.datacatalog.v1beta1.Taxonomy value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The taxonomy to update. Only description, display_name, and activated
      * policy types can be updated.
@@ -638,8 +582,6 @@ public Builder setTaxonomy(
       return this;
     }
     /**
-     *
-     *
      * 
      * The taxonomy to update. Only description, display_name, and activated
      * policy types can be updated.
@@ -649,9 +591,9 @@ public Builder setTaxonomy(
      */
     public Builder mergeTaxonomy(com.google.cloud.datacatalog.v1beta1.Taxonomy value) {
       if (taxonomyBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && taxonomy_ != null
-            && taxonomy_ != com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          taxonomy_ != null &&
+          taxonomy_ != com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance()) {
           getTaxonomyBuilder().mergeFrom(value);
         } else {
           taxonomy_ = value;
@@ -664,8 +606,6 @@ public Builder mergeTaxonomy(com.google.cloud.datacatalog.v1beta1.Taxonomy value
       return this;
     }
     /**
-     *
-     *
      * 
      * The taxonomy to update. Only description, display_name, and activated
      * policy types can be updated.
@@ -684,8 +624,6 @@ public Builder clearTaxonomy() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The taxonomy to update. Only description, display_name, and activated
      * policy types can be updated.
@@ -699,8 +637,6 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder getTaxonomyBuilder(
       return getTaxonomyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The taxonomy to update. Only description, display_name, and activated
      * policy types can be updated.
@@ -712,14 +648,11 @@ public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomyOrBuild
       if (taxonomyBuilder_ != null) {
         return taxonomyBuilder_.getMessageOrBuilder();
       } else {
-        return taxonomy_ == null
-            ? com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance()
-            : taxonomy_;
+        return taxonomy_ == null ?
+            com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance() : taxonomy_;
       }
     }
     /**
-     *
-     *
      * 
      * The taxonomy to update. Only description, display_name, and activated
      * policy types can be updated.
@@ -728,17 +661,14 @@ public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomyOrBuild
      * .google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1beta1.Taxonomy,
-            com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder,
-            com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder>
+        com.google.cloud.datacatalog.v1beta1.Taxonomy, com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder> 
         getTaxonomyFieldBuilder() {
       if (taxonomyBuilder_ == null) {
-        taxonomyBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.datacatalog.v1beta1.Taxonomy,
-                com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder,
-                com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder>(
-                getTaxonomy(), getParentForChildren(), isClean());
+        taxonomyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.datacatalog.v1beta1.Taxonomy, com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder>(
+                getTaxonomy(),
+                getParentForChildren(),
+                isClean());
         taxonomy_ = null;
       }
       return taxonomyBuilder_;
@@ -746,13 +676,8 @@ public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomyOrBuild
 
     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_;
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -761,15 +686,12 @@ public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomyOrBuild
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -778,21 +700,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @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(); } } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -816,8 +733,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -827,7 +742,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    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 {
@@ -838,8 +754,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -851,9 +765,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      */
     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;
@@ -866,8 +780,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -888,8 +800,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -905,8 +815,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -920,14 +828,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -938,24 +843,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -965,12 +867,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest)
   private static final com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest();
   }
@@ -979,27 +881,27 @@ public static com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest getDefa
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateTaxonomyRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateTaxonomyRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1014,4 +916,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequestOrBuilder.java
similarity index 77%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequestOrBuilder.java
rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequestOrBuilder.java
index 7aa28ec1ab61..f55e668b0b8a 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequestOrBuilder.java
+++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequestOrBuilder.java
@@ -1,57 +1,33 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1beta1/policytagmanager.proto
 
 package com.google.cloud.datacatalog.v1beta1;
 
-public interface UpdateTaxonomyRequestOrBuilder
-    extends
+public interface UpdateTaxonomyRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The taxonomy to update. Only description, display_name, and activated
    * policy types can be updated.
    * 
* * .google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 1; - * * @return Whether the taxonomy field is set. */ boolean hasTaxonomy(); /** - * - * *
    * The taxonomy to update. Only description, display_name, and activated
    * policy types can be updated.
    * 
* * .google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 1; - * * @return The taxonomy. */ com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomy(); /** - * - * *
    * The taxonomy to update. Only description, display_name, and activated
    * policy types can be updated.
@@ -62,8 +38,6 @@ public interface UpdateTaxonomyRequestOrBuilder
   com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomyOrBuilder();
 
   /**
-   *
-   *
    * 
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -72,13 +46,10 @@ public interface UpdateTaxonomyRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -87,13 +58,10 @@ public interface UpdateTaxonomyRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Usage.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Usage.java
new file mode 100644
index 000000000000..c5837b4cfe8e
--- /dev/null
+++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Usage.java
@@ -0,0 +1,89 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/datacatalog/v1beta1/usage.proto
+
+package com.google.cloud.datacatalog.v1beta1;
+
+public final class Usage {
+  private Usage() {}
+  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_datacatalog_v1beta1_UsageStats_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_datacatalog_v1beta1_UsageStats_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_UsageWithinTimeRangeEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_UsageWithinTimeRangeEntry_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/datacatalog/v1beta1/usage" +
+      ".proto\022 google.cloud.datacatalog.v1beta1" +
+      "\032\037google/protobuf/timestamp.proto\"\221\001\n\nUs" +
+      "ageStats\022\031\n\021total_completions\030\001 \001(\002\022\026\n\016t" +
+      "otal_failures\030\002 \001(\002\022\033\n\023total_cancellatio" +
+      "ns\030\003 \001(\002\0223\n+total_execution_time_for_com" +
+      "pletions_millis\030\004 \001(\002\"\223\002\n\013UsageSignal\022/\n" +
+      "\013update_time\030\001 \001(\0132\032.google.protobuf.Tim" +
+      "estamp\022h\n\027usage_within_time_range\030\002 \003(\0132" +
+      "G.google.cloud.datacatalog.v1beta1.Usage" +
+      "Signal.UsageWithinTimeRangeEntry\032i\n\031Usag" +
+      "eWithinTimeRangeEntry\022\013\n\003key\030\001 \001(\t\022;\n\005va" +
+      "lue\030\002 \001(\0132,.google.cloud.datacatalog.v1b" +
+      "eta1.UsageStats:\0028\001B\337\001\n$com.google.cloud" +
+      ".datacatalog.v1beta1P\001ZFcloud.google.com" +
+      "/go/datacatalog/apiv1beta1/datacatalogpb" +
+      ";datacatalogpb\370\001\001\252\002 Google.Cloud.DataCat" +
+      "alog.V1Beta1\312\002 Google\\Cloud\\DataCatalog\\" +
+      "V1beta1\352\002#Google::Cloud::DataCatalog::V1" +
+      "beta1b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_cloud_datacatalog_v1beta1_UsageStats_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_datacatalog_v1beta1_UsageStats_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_datacatalog_v1beta1_UsageStats_descriptor,
+        new java.lang.String[] { "TotalCompletions", "TotalFailures", "TotalCancellations", "TotalExecutionTimeForCompletionsMillis", });
+    internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_descriptor,
+        new java.lang.String[] { "UpdateTime", "UsageWithinTimeRange", });
+    internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_UsageWithinTimeRangeEntry_descriptor =
+      internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_UsageWithinTimeRangeEntry_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_UsageWithinTimeRangeEntry_descriptor,
+        new java.lang.String[] { "Key", "Value", });
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageSignal.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageSignal.java
new file mode 100644
index 000000000000..9536f6d7ffb8
--- /dev/null
+++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageSignal.java
@@ -0,0 +1,976 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/datacatalog/v1beta1/usage.proto
+
+package com.google.cloud.datacatalog.v1beta1;
+
+/**
+ * 
+ * The set of all usage signals that we store in Data Catalog.
+ * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1beta1.UsageSignal} + */ +public final class UsageSignal extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.UsageSignal) + UsageSignalOrBuilder { +private static final long serialVersionUID = 0L; + // Use UsageSignal.newBuilder() to construct. + private UsageSignal(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UsageSignal() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UsageSignal(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Usage.internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 2: + return internalGetUsageWithinTimeRange(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1beta1.Usage.internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1beta1.UsageSignal.class, com.google.cloud.datacatalog.v1beta1.UsageSignal.Builder.class); + } + + public static final int UPDATE_TIME_FIELD_NUMBER = 1; + private com.google.protobuf.Timestamp updateTime_; + /** + *
+   * The timestamp of the end of the usage statistics duration.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 1; + * @return Whether the updateTime field is set. + */ + @java.lang.Override + public boolean hasUpdateTime() { + return updateTime_ != null; + } + /** + *
+   * The timestamp of the end of the usage statistics duration.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 1; + * @return The updateTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getUpdateTime() { + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + } + /** + *
+   * The timestamp of the end of the usage statistics duration.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + } + + public static final int USAGE_WITHIN_TIME_RANGE_FIELD_NUMBER = 2; + private static final class UsageWithinTimeRangeDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.datacatalog.v1beta1.UsageStats> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.datacatalog.v1beta1.Usage.internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_UsageWithinTimeRangeEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.datacatalog.v1beta1.UsageStats.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1beta1.UsageStats> usageWithinTimeRange_; + private com.google.protobuf.MapField + internalGetUsageWithinTimeRange() { + if (usageWithinTimeRange_ == null) { + return com.google.protobuf.MapField.emptyMapField( + UsageWithinTimeRangeDefaultEntryHolder.defaultEntry); + } + return usageWithinTimeRange_; + } + public int getUsageWithinTimeRangeCount() { + return internalGetUsageWithinTimeRange().getMap().size(); + } + /** + *
+   * Usage statistics over each of the pre-defined time ranges, supported
+   * strings for time ranges are {"24H", "7D", "30D"}.
+   * 
+ * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + */ + @java.lang.Override + public boolean containsUsageWithinTimeRange( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetUsageWithinTimeRange().getMap().containsKey(key); + } + /** + * Use {@link #getUsageWithinTimeRangeMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getUsageWithinTimeRange() { + return getUsageWithinTimeRangeMap(); + } + /** + *
+   * Usage statistics over each of the pre-defined time ranges, supported
+   * strings for time ranges are {"24H", "7D", "30D"}.
+   * 
+ * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + */ + @java.lang.Override + public java.util.Map getUsageWithinTimeRangeMap() { + return internalGetUsageWithinTimeRange().getMap(); + } + /** + *
+   * Usage statistics over each of the pre-defined time ranges, supported
+   * strings for time ranges are {"24H", "7D", "30D"}.
+   * 
+ * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + */ + @java.lang.Override + public /* nullable */ +com.google.cloud.datacatalog.v1beta1.UsageStats getUsageWithinTimeRangeOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.datacatalog.v1beta1.UsageStats defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetUsageWithinTimeRange().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+   * Usage statistics over each of the pre-defined time ranges, supported
+   * strings for time ranges are {"24H", "7D", "30D"}.
+   * 
+ * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.UsageStats getUsageWithinTimeRangeOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetUsageWithinTimeRange().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + 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 (updateTime_ != null) { + output.writeMessage(1, getUpdateTime()); + } + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetUsageWithinTimeRange(), + UsageWithinTimeRangeDefaultEntryHolder.defaultEntry, + 2); + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (updateTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateTime()); + } + for (java.util.Map.Entry entry + : internalGetUsageWithinTimeRange().getMap().entrySet()) { + com.google.protobuf.MapEntry + usageWithinTimeRange__ = UsageWithinTimeRangeDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, usageWithinTimeRange__); + } + 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.datacatalog.v1beta1.UsageSignal)) { + return super.equals(obj); + } + com.google.cloud.datacatalog.v1beta1.UsageSignal other = (com.google.cloud.datacatalog.v1beta1.UsageSignal) obj; + + if (hasUpdateTime() != other.hasUpdateTime()) return false; + if (hasUpdateTime()) { + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; + } + if (!internalGetUsageWithinTimeRange().equals( + other.internalGetUsageWithinTimeRange())) 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(); + if (hasUpdateTime()) { + hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getUpdateTime().hashCode(); + } + if (!internalGetUsageWithinTimeRange().getMap().isEmpty()) { + hash = (37 * hash) + USAGE_WITHIN_TIME_RANGE_FIELD_NUMBER; + hash = (53 * hash) + internalGetUsageWithinTimeRange().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datacatalog.v1beta1.UsageSignal parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datacatalog.v1beta1.UsageSignal 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.datacatalog.v1beta1.UsageSignal parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datacatalog.v1beta1.UsageSignal parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datacatalog.v1beta1.UsageSignal parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datacatalog.v1beta1.UsageSignal parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datacatalog.v1beta1.UsageSignal parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datacatalog.v1beta1.UsageSignal parseFrom( + java.io.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.datacatalog.v1beta1.UsageSignal parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1beta1.UsageSignal parseDelimitedFrom( + java.io.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.datacatalog.v1beta1.UsageSignal parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datacatalog.v1beta1.UsageSignal 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.datacatalog.v1beta1.UsageSignal 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; + } + /** + *
+   * The set of all usage signals that we store in Data Catalog.
+   * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1beta1.UsageSignal} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.UsageSignal) + com.google.cloud.datacatalog.v1beta1.UsageSignalOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Usage.internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 2: + return internalGetUsageWithinTimeRange(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 2: + return internalGetMutableUsageWithinTimeRange(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1beta1.Usage.internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1beta1.UsageSignal.class, com.google.cloud.datacatalog.v1beta1.UsageSignal.Builder.class); + } + + // Construct using com.google.cloud.datacatalog.v1beta1.UsageSignal.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + updateTime_ = null; + if (updateTimeBuilder_ != null) { + updateTimeBuilder_.dispose(); + updateTimeBuilder_ = null; + } + internalGetMutableUsageWithinTimeRange().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.Usage.internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_descriptor; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.UsageSignal getDefaultInstanceForType() { + return com.google.cloud.datacatalog.v1beta1.UsageSignal.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.UsageSignal build() { + com.google.cloud.datacatalog.v1beta1.UsageSignal result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.UsageSignal buildPartial() { + com.google.cloud.datacatalog.v1beta1.UsageSignal result = new com.google.cloud.datacatalog.v1beta1.UsageSignal(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.datacatalog.v1beta1.UsageSignal result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.usageWithinTimeRange_ = internalGetUsageWithinTimeRange(); + result.usageWithinTimeRange_.makeImmutable(); + } + } + + @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.datacatalog.v1beta1.UsageSignal) { + return mergeFrom((com.google.cloud.datacatalog.v1beta1.UsageSignal)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.UsageSignal other) { + if (other == com.google.cloud.datacatalog.v1beta1.UsageSignal.getDefaultInstance()) return this; + if (other.hasUpdateTime()) { + mergeUpdateTime(other.getUpdateTime()); + } + internalGetMutableUsageWithinTimeRange().mergeFrom( + other.internalGetUsageWithinTimeRange()); + bitField0_ |= 0x00000002; + 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: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.protobuf.MapEntry + usageWithinTimeRange__ = input.readMessage( + UsageWithinTimeRangeDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableUsageWithinTimeRange().getMutableMap().put( + usageWithinTimeRange__.getKey(), usageWithinTimeRange__.getValue()); + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // 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_; + /** + *
+     * The timestamp of the end of the usage statistics duration.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 1; + * @return Whether the updateTime field is set. + */ + public boolean hasUpdateTime() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+     * The timestamp of the end of the usage statistics duration.
+     * 
+ * + * .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_; + } else { + return updateTimeBuilder_.getMessage(); + } + } + /** + *
+     * The timestamp of the end of the usage statistics duration.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + public Builder setUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + updateTime_ = value; + } else { + updateTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * The timestamp of the end of the usage statistics duration.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (updateTimeBuilder_ == null) { + updateTime_ = builderForValue.build(); + } else { + updateTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * The timestamp of the end of the usage statistics duration.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getUpdateTimeBuilder().mergeFrom(value); + } else { + updateTime_ = value; + } + } else { + updateTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * The timestamp of the end of the usage statistics duration.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + public Builder clearUpdateTime() { + bitField0_ = (bitField0_ & ~0x00000001); + updateTime_ = null; + if (updateTimeBuilder_ != null) { + updateTimeBuilder_.dispose(); + updateTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * The timestamp of the end of the usage statistics duration.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getUpdateTimeFieldBuilder().getBuilder(); + } + /** + *
+     * The timestamp of the end of the usage statistics duration.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { + if (updateTimeBuilder_ != null) { + return updateTimeBuilder_.getMessageOrBuilder(); + } else { + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + } + } + /** + *
+     * The timestamp of the end of the usage statistics duration.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + 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()); + updateTime_ = null; + } + return updateTimeBuilder_; + } + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1beta1.UsageStats> usageWithinTimeRange_; + private com.google.protobuf.MapField + internalGetUsageWithinTimeRange() { + if (usageWithinTimeRange_ == null) { + return com.google.protobuf.MapField.emptyMapField( + UsageWithinTimeRangeDefaultEntryHolder.defaultEntry); + } + return usageWithinTimeRange_; + } + private com.google.protobuf.MapField + internalGetMutableUsageWithinTimeRange() { + if (usageWithinTimeRange_ == null) { + usageWithinTimeRange_ = com.google.protobuf.MapField.newMapField( + UsageWithinTimeRangeDefaultEntryHolder.defaultEntry); + } + if (!usageWithinTimeRange_.isMutable()) { + usageWithinTimeRange_ = usageWithinTimeRange_.copy(); + } + bitField0_ |= 0x00000002; + onChanged(); + return usageWithinTimeRange_; + } + public int getUsageWithinTimeRangeCount() { + return internalGetUsageWithinTimeRange().getMap().size(); + } + /** + *
+     * Usage statistics over each of the pre-defined time ranges, supported
+     * strings for time ranges are {"24H", "7D", "30D"}.
+     * 
+ * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + */ + @java.lang.Override + public boolean containsUsageWithinTimeRange( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetUsageWithinTimeRange().getMap().containsKey(key); + } + /** + * Use {@link #getUsageWithinTimeRangeMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getUsageWithinTimeRange() { + return getUsageWithinTimeRangeMap(); + } + /** + *
+     * Usage statistics over each of the pre-defined time ranges, supported
+     * strings for time ranges are {"24H", "7D", "30D"}.
+     * 
+ * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + */ + @java.lang.Override + public java.util.Map getUsageWithinTimeRangeMap() { + return internalGetUsageWithinTimeRange().getMap(); + } + /** + *
+     * Usage statistics over each of the pre-defined time ranges, supported
+     * strings for time ranges are {"24H", "7D", "30D"}.
+     * 
+ * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + */ + @java.lang.Override + public /* nullable */ +com.google.cloud.datacatalog.v1beta1.UsageStats getUsageWithinTimeRangeOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.datacatalog.v1beta1.UsageStats defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetUsageWithinTimeRange().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * Usage statistics over each of the pre-defined time ranges, supported
+     * strings for time ranges are {"24H", "7D", "30D"}.
+     * 
+ * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.UsageStats getUsageWithinTimeRangeOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetUsageWithinTimeRange().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + public Builder clearUsageWithinTimeRange() { + bitField0_ = (bitField0_ & ~0x00000002); + internalGetMutableUsageWithinTimeRange().getMutableMap() + .clear(); + return this; + } + /** + *
+     * Usage statistics over each of the pre-defined time ranges, supported
+     * strings for time ranges are {"24H", "7D", "30D"}.
+     * 
+ * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + */ + public Builder removeUsageWithinTimeRange( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableUsageWithinTimeRange().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableUsageWithinTimeRange() { + bitField0_ |= 0x00000002; + return internalGetMutableUsageWithinTimeRange().getMutableMap(); + } + /** + *
+     * Usage statistics over each of the pre-defined time ranges, supported
+     * strings for time ranges are {"24H", "7D", "30D"}.
+     * 
+ * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + */ + public Builder putUsageWithinTimeRange( + java.lang.String key, + com.google.cloud.datacatalog.v1beta1.UsageStats value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableUsageWithinTimeRange().getMutableMap() + .put(key, value); + bitField0_ |= 0x00000002; + return this; + } + /** + *
+     * Usage statistics over each of the pre-defined time ranges, supported
+     * strings for time ranges are {"24H", "7D", "30D"}.
+     * 
+ * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + */ + public Builder putAllUsageWithinTimeRange( + java.util.Map values) { + internalGetMutableUsageWithinTimeRange().getMutableMap() + .putAll(values); + bitField0_ |= 0x00000002; + 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.datacatalog.v1beta1.UsageSignal) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.UsageSignal) + private static final com.google.cloud.datacatalog.v1beta1.UsageSignal DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.UsageSignal(); + } + + public static com.google.cloud.datacatalog.v1beta1.UsageSignal getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UsageSignal parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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.datacatalog.v1beta1.UsageSignal getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageSignalOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageSignalOrBuilder.java new file mode 100644 index 000000000000..2ada342d2013 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageSignalOrBuilder.java @@ -0,0 +1,95 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/usage.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface UsageSignalOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.UsageSignal) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The timestamp of the end of the usage statistics duration.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 1; + * @return Whether the updateTime field is set. + */ + boolean hasUpdateTime(); + /** + *
+   * The timestamp of the end of the usage statistics duration.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 1; + * @return The updateTime. + */ + com.google.protobuf.Timestamp getUpdateTime(); + /** + *
+   * The timestamp of the end of the usage statistics duration.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); + + /** + *
+   * Usage statistics over each of the pre-defined time ranges, supported
+   * strings for time ranges are {"24H", "7D", "30D"}.
+   * 
+ * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + */ + int getUsageWithinTimeRangeCount(); + /** + *
+   * Usage statistics over each of the pre-defined time ranges, supported
+   * strings for time ranges are {"24H", "7D", "30D"}.
+   * 
+ * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + */ + boolean containsUsageWithinTimeRange( + java.lang.String key); + /** + * Use {@link #getUsageWithinTimeRangeMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getUsageWithinTimeRange(); + /** + *
+   * Usage statistics over each of the pre-defined time ranges, supported
+   * strings for time ranges are {"24H", "7D", "30D"}.
+   * 
+ * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + */ + java.util.Map + getUsageWithinTimeRangeMap(); + /** + *
+   * Usage statistics over each of the pre-defined time ranges, supported
+   * strings for time ranges are {"24H", "7D", "30D"}.
+   * 
+ * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + */ + /* nullable */ +com.google.cloud.datacatalog.v1beta1.UsageStats getUsageWithinTimeRangeOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.datacatalog.v1beta1.UsageStats defaultValue); + /** + *
+   * Usage statistics over each of the pre-defined time ranges, supported
+   * strings for time ranges are {"24H", "7D", "30D"}.
+   * 
+ * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + */ + com.google.cloud.datacatalog.v1beta1.UsageStats getUsageWithinTimeRangeOrThrow( + java.lang.String key); +} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageStats.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageStats.java new file mode 100644 index 000000000000..1af1525e8851 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageStats.java @@ -0,0 +1,769 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/usage.proto + +package com.google.cloud.datacatalog.v1beta1; + +/** + *
+ * Detailed counts on the entry's usage.
+ * Caveats:
+ *   - Only BigQuery tables have usage stats
+ *   - The usage stats only include BigQuery query jobs
+ *   - The usage stats might be underestimated, e.g. wildcard table references
+ *     are not yet counted in usage computation
+ *     https://cloud.google.com/bigquery/docs/querying-wildcard-tables
+ * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1beta1.UsageStats} + */ +public final class UsageStats extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.UsageStats) + UsageStatsOrBuilder { +private static final long serialVersionUID = 0L; + // Use UsageStats.newBuilder() to construct. + private UsageStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UsageStats() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UsageStats(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Usage.internal_static_google_cloud_datacatalog_v1beta1_UsageStats_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1beta1.Usage.internal_static_google_cloud_datacatalog_v1beta1_UsageStats_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1beta1.UsageStats.class, com.google.cloud.datacatalog.v1beta1.UsageStats.Builder.class); + } + + public static final int TOTAL_COMPLETIONS_FIELD_NUMBER = 1; + private float totalCompletions_ = 0F; + /** + *
+   * The number of times that the underlying entry was successfully used.
+   * 
+ * + * float total_completions = 1; + * @return The totalCompletions. + */ + @java.lang.Override + public float getTotalCompletions() { + return totalCompletions_; + } + + public static final int TOTAL_FAILURES_FIELD_NUMBER = 2; + private float totalFailures_ = 0F; + /** + *
+   * The number of times that the underlying entry was attempted to be used
+   * but failed.
+   * 
+ * + * float total_failures = 2; + * @return The totalFailures. + */ + @java.lang.Override + public float getTotalFailures() { + return totalFailures_; + } + + public static final int TOTAL_CANCELLATIONS_FIELD_NUMBER = 3; + private float totalCancellations_ = 0F; + /** + *
+   * The number of times that the underlying entry was attempted to be used
+   * but was cancelled by the user.
+   * 
+ * + * float total_cancellations = 3; + * @return The totalCancellations. + */ + @java.lang.Override + public float getTotalCancellations() { + return totalCancellations_; + } + + public static final int TOTAL_EXECUTION_TIME_FOR_COMPLETIONS_MILLIS_FIELD_NUMBER = 4; + private float totalExecutionTimeForCompletionsMillis_ = 0F; + /** + *
+   * Total time spent (in milliseconds) during uses the resulted in completions.
+   * 
+ * + * float total_execution_time_for_completions_millis = 4; + * @return The totalExecutionTimeForCompletionsMillis. + */ + @java.lang.Override + public float getTotalExecutionTimeForCompletionsMillis() { + return totalExecutionTimeForCompletionsMillis_; + } + + 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 (java.lang.Float.floatToRawIntBits(totalCompletions_) != 0) { + output.writeFloat(1, totalCompletions_); + } + if (java.lang.Float.floatToRawIntBits(totalFailures_) != 0) { + output.writeFloat(2, totalFailures_); + } + if (java.lang.Float.floatToRawIntBits(totalCancellations_) != 0) { + output.writeFloat(3, totalCancellations_); + } + if (java.lang.Float.floatToRawIntBits(totalExecutionTimeForCompletionsMillis_) != 0) { + output.writeFloat(4, totalExecutionTimeForCompletionsMillis_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (java.lang.Float.floatToRawIntBits(totalCompletions_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, totalCompletions_); + } + if (java.lang.Float.floatToRawIntBits(totalFailures_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, totalFailures_); + } + if (java.lang.Float.floatToRawIntBits(totalCancellations_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(3, totalCancellations_); + } + if (java.lang.Float.floatToRawIntBits(totalExecutionTimeForCompletionsMillis_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(4, totalExecutionTimeForCompletionsMillis_); + } + 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.datacatalog.v1beta1.UsageStats)) { + return super.equals(obj); + } + com.google.cloud.datacatalog.v1beta1.UsageStats other = (com.google.cloud.datacatalog.v1beta1.UsageStats) obj; + + if (java.lang.Float.floatToIntBits(getTotalCompletions()) + != java.lang.Float.floatToIntBits( + other.getTotalCompletions())) return false; + if (java.lang.Float.floatToIntBits(getTotalFailures()) + != java.lang.Float.floatToIntBits( + other.getTotalFailures())) return false; + if (java.lang.Float.floatToIntBits(getTotalCancellations()) + != java.lang.Float.floatToIntBits( + other.getTotalCancellations())) return false; + if (java.lang.Float.floatToIntBits(getTotalExecutionTimeForCompletionsMillis()) + != java.lang.Float.floatToIntBits( + other.getTotalExecutionTimeForCompletionsMillis())) 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) + TOTAL_COMPLETIONS_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getTotalCompletions()); + hash = (37 * hash) + TOTAL_FAILURES_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getTotalFailures()); + hash = (37 * hash) + TOTAL_CANCELLATIONS_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getTotalCancellations()); + hash = (37 * hash) + TOTAL_EXECUTION_TIME_FOR_COMPLETIONS_MILLIS_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getTotalExecutionTimeForCompletionsMillis()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datacatalog.v1beta1.UsageStats parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datacatalog.v1beta1.UsageStats 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.datacatalog.v1beta1.UsageStats parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datacatalog.v1beta1.UsageStats parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datacatalog.v1beta1.UsageStats parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datacatalog.v1beta1.UsageStats parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datacatalog.v1beta1.UsageStats parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datacatalog.v1beta1.UsageStats parseFrom( + java.io.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.datacatalog.v1beta1.UsageStats parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1beta1.UsageStats parseDelimitedFrom( + java.io.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.datacatalog.v1beta1.UsageStats parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datacatalog.v1beta1.UsageStats 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.datacatalog.v1beta1.UsageStats 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; + } + /** + *
+   * Detailed counts on the entry's usage.
+   * Caveats:
+   *   - Only BigQuery tables have usage stats
+   *   - The usage stats only include BigQuery query jobs
+   *   - The usage stats might be underestimated, e.g. wildcard table references
+   *     are not yet counted in usage computation
+   *     https://cloud.google.com/bigquery/docs/querying-wildcard-tables
+   * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1beta1.UsageStats} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.UsageStats) + com.google.cloud.datacatalog.v1beta1.UsageStatsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Usage.internal_static_google_cloud_datacatalog_v1beta1_UsageStats_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1beta1.Usage.internal_static_google_cloud_datacatalog_v1beta1_UsageStats_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1beta1.UsageStats.class, com.google.cloud.datacatalog.v1beta1.UsageStats.Builder.class); + } + + // Construct using com.google.cloud.datacatalog.v1beta1.UsageStats.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + totalCompletions_ = 0F; + totalFailures_ = 0F; + totalCancellations_ = 0F; + totalExecutionTimeForCompletionsMillis_ = 0F; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.Usage.internal_static_google_cloud_datacatalog_v1beta1_UsageStats_descriptor; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.UsageStats getDefaultInstanceForType() { + return com.google.cloud.datacatalog.v1beta1.UsageStats.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.UsageStats build() { + com.google.cloud.datacatalog.v1beta1.UsageStats result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.UsageStats buildPartial() { + com.google.cloud.datacatalog.v1beta1.UsageStats result = new com.google.cloud.datacatalog.v1beta1.UsageStats(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.datacatalog.v1beta1.UsageStats result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.totalCompletions_ = totalCompletions_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.totalFailures_ = totalFailures_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.totalCancellations_ = totalCancellations_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.totalExecutionTimeForCompletionsMillis_ = totalExecutionTimeForCompletionsMillis_; + } + } + + @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.datacatalog.v1beta1.UsageStats) { + return mergeFrom((com.google.cloud.datacatalog.v1beta1.UsageStats)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.UsageStats other) { + if (other == com.google.cloud.datacatalog.v1beta1.UsageStats.getDefaultInstance()) return this; + if (other.getTotalCompletions() != 0F) { + setTotalCompletions(other.getTotalCompletions()); + } + if (other.getTotalFailures() != 0F) { + setTotalFailures(other.getTotalFailures()); + } + if (other.getTotalCancellations() != 0F) { + setTotalCancellations(other.getTotalCancellations()); + } + if (other.getTotalExecutionTimeForCompletionsMillis() != 0F) { + setTotalExecutionTimeForCompletionsMillis(other.getTotalExecutionTimeForCompletionsMillis()); + } + 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 13: { + totalCompletions_ = input.readFloat(); + bitField0_ |= 0x00000001; + break; + } // case 13 + case 21: { + totalFailures_ = input.readFloat(); + bitField0_ |= 0x00000002; + break; + } // case 21 + case 29: { + totalCancellations_ = input.readFloat(); + bitField0_ |= 0x00000004; + break; + } // case 29 + case 37: { + totalExecutionTimeForCompletionsMillis_ = input.readFloat(); + bitField0_ |= 0x00000008; + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private float totalCompletions_ ; + /** + *
+     * The number of times that the underlying entry was successfully used.
+     * 
+ * + * float total_completions = 1; + * @return The totalCompletions. + */ + @java.lang.Override + public float getTotalCompletions() { + return totalCompletions_; + } + /** + *
+     * The number of times that the underlying entry was successfully used.
+     * 
+ * + * float total_completions = 1; + * @param value The totalCompletions to set. + * @return This builder for chaining. + */ + public Builder setTotalCompletions(float value) { + + totalCompletions_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * The number of times that the underlying entry was successfully used.
+     * 
+ * + * float total_completions = 1; + * @return This builder for chaining. + */ + public Builder clearTotalCompletions() { + bitField0_ = (bitField0_ & ~0x00000001); + totalCompletions_ = 0F; + onChanged(); + return this; + } + + private float totalFailures_ ; + /** + *
+     * The number of times that the underlying entry was attempted to be used
+     * but failed.
+     * 
+ * + * float total_failures = 2; + * @return The totalFailures. + */ + @java.lang.Override + public float getTotalFailures() { + return totalFailures_; + } + /** + *
+     * The number of times that the underlying entry was attempted to be used
+     * but failed.
+     * 
+ * + * float total_failures = 2; + * @param value The totalFailures to set. + * @return This builder for chaining. + */ + public Builder setTotalFailures(float value) { + + totalFailures_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * The number of times that the underlying entry was attempted to be used
+     * but failed.
+     * 
+ * + * float total_failures = 2; + * @return This builder for chaining. + */ + public Builder clearTotalFailures() { + bitField0_ = (bitField0_ & ~0x00000002); + totalFailures_ = 0F; + onChanged(); + return this; + } + + private float totalCancellations_ ; + /** + *
+     * The number of times that the underlying entry was attempted to be used
+     * but was cancelled by the user.
+     * 
+ * + * float total_cancellations = 3; + * @return The totalCancellations. + */ + @java.lang.Override + public float getTotalCancellations() { + return totalCancellations_; + } + /** + *
+     * The number of times that the underlying entry was attempted to be used
+     * but was cancelled by the user.
+     * 
+ * + * float total_cancellations = 3; + * @param value The totalCancellations to set. + * @return This builder for chaining. + */ + public Builder setTotalCancellations(float value) { + + totalCancellations_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * The number of times that the underlying entry was attempted to be used
+     * but was cancelled by the user.
+     * 
+ * + * float total_cancellations = 3; + * @return This builder for chaining. + */ + public Builder clearTotalCancellations() { + bitField0_ = (bitField0_ & ~0x00000004); + totalCancellations_ = 0F; + onChanged(); + return this; + } + + private float totalExecutionTimeForCompletionsMillis_ ; + /** + *
+     * Total time spent (in milliseconds) during uses the resulted in completions.
+     * 
+ * + * float total_execution_time_for_completions_millis = 4; + * @return The totalExecutionTimeForCompletionsMillis. + */ + @java.lang.Override + public float getTotalExecutionTimeForCompletionsMillis() { + return totalExecutionTimeForCompletionsMillis_; + } + /** + *
+     * Total time spent (in milliseconds) during uses the resulted in completions.
+     * 
+ * + * float total_execution_time_for_completions_millis = 4; + * @param value The totalExecutionTimeForCompletionsMillis to set. + * @return This builder for chaining. + */ + public Builder setTotalExecutionTimeForCompletionsMillis(float value) { + + totalExecutionTimeForCompletionsMillis_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Total time spent (in milliseconds) during uses the resulted in completions.
+     * 
+ * + * float total_execution_time_for_completions_millis = 4; + * @return This builder for chaining. + */ + public Builder clearTotalExecutionTimeForCompletionsMillis() { + bitField0_ = (bitField0_ & ~0x00000008); + totalExecutionTimeForCompletionsMillis_ = 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.datacatalog.v1beta1.UsageStats) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.UsageStats) + private static final com.google.cloud.datacatalog.v1beta1.UsageStats DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.UsageStats(); + } + + public static com.google.cloud.datacatalog.v1beta1.UsageStats getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UsageStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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.datacatalog.v1beta1.UsageStats getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageStatsOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageStatsOrBuilder.java new file mode 100644 index 000000000000..796ccd76a5d4 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageStatsOrBuilder.java @@ -0,0 +1,51 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/usage.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface UsageStatsOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.UsageStats) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The number of times that the underlying entry was successfully used.
+   * 
+ * + * float total_completions = 1; + * @return The totalCompletions. + */ + float getTotalCompletions(); + + /** + *
+   * The number of times that the underlying entry was attempted to be used
+   * but failed.
+   * 
+ * + * float total_failures = 2; + * @return The totalFailures. + */ + float getTotalFailures(); + + /** + *
+   * The number of times that the underlying entry was attempted to be used
+   * but was cancelled by the user.
+   * 
+ * + * float total_cancellations = 3; + * @return The totalCancellations. + */ + float getTotalCancellations(); + + /** + *
+   * Total time spent (in milliseconds) during uses the resulted in completions.
+   * 
+ * + * float total_execution_time_for_completions_millis = 4; + * @return The totalExecutionTimeForCompletionsMillis. + */ + float getTotalExecutionTimeForCompletionsMillis(); +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpec.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpec.java similarity index 67% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpec.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpec.java index 0c2c2744d729..f8f61932bbf9 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpec.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpec.java @@ -1,80 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/table_spec.proto package com.google.cloud.datacatalog.v1beta1; /** - * - * *
  * Table view specification.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.ViewSpec} */ -public final class ViewSpec extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ViewSpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ViewSpec) ViewSpecOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ViewSpec.newBuilder() to construct. private ViewSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ViewSpec() { viewQuery_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ViewSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass - .internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass - .internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.ViewSpec.class, - com.google.cloud.datacatalog.v1beta1.ViewSpec.Builder.class); + com.google.cloud.datacatalog.v1beta1.ViewSpec.class, com.google.cloud.datacatalog.v1beta1.ViewSpec.Builder.class); } public static final int VIEW_QUERY_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object viewQuery_ = ""; /** - * - * *
    * Output only. The query that defines the table view.
    * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The viewQuery. */ @java.lang.Override @@ -83,29 +60,29 @@ public java.lang.String getViewQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); viewQuery_ = s; return s; } } /** - * - * *
    * Output only. The query that defines the table view.
    * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for viewQuery. */ @java.lang.Override - public com.google.protobuf.ByteString getViewQueryBytes() { + public com.google.protobuf.ByteString + getViewQueryBytes() { java.lang.Object ref = viewQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); viewQuery_ = b; return b; } else { @@ -114,7 +91,6 @@ public com.google.protobuf.ByteString getViewQueryBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,7 +102,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(viewQuery_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, viewQuery_); } @@ -150,15 +127,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1beta1.ViewSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.ViewSpec other = - (com.google.cloud.datacatalog.v1beta1.ViewSpec) obj; + com.google.cloud.datacatalog.v1beta1.ViewSpec other = (com.google.cloud.datacatalog.v1beta1.ViewSpec) obj; - if (!getViewQuery().equals(other.getViewQuery())) return false; + if (!getViewQuery() + .equals(other.getViewQuery())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -177,136 +154,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1beta1.ViewSpec parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1beta1.ViewSpec parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ViewSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ViewSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ViewSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ViewSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.ViewSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ViewSpec parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.ViewSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ViewSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ViewSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.ViewSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ViewSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.ViewSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.ViewSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Table view specification.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.ViewSpec} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.ViewSpec) com.google.cloud.datacatalog.v1beta1.ViewSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass - .internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass - .internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.ViewSpec.class, - com.google.cloud.datacatalog.v1beta1.ViewSpec.Builder.class); + com.google.cloud.datacatalog.v1beta1.ViewSpec.class, com.google.cloud.datacatalog.v1beta1.ViewSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1beta1.ViewSpec.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -316,9 +289,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass - .internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_descriptor; } @java.lang.Override @@ -337,11 +310,8 @@ public com.google.cloud.datacatalog.v1beta1.ViewSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.ViewSpec buildPartial() { - com.google.cloud.datacatalog.v1beta1.ViewSpec result = - new com.google.cloud.datacatalog.v1beta1.ViewSpec(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.datacatalog.v1beta1.ViewSpec result = new com.google.cloud.datacatalog.v1beta1.ViewSpec(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -357,39 +327,38 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ViewSpec result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1beta1.ViewSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1beta1.ViewSpec) other); + return mergeFrom((com.google.cloud.datacatalog.v1beta1.ViewSpec)other); } else { super.mergeFrom(other); return this; @@ -429,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - viewQuery_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + viewQuery_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -451,25 +418,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object viewQuery_ = ""; /** - * - * *
      * Output only. The query that defines the table view.
      * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The viewQuery. */ public java.lang.String getViewQuery() { java.lang.Object ref = viewQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); viewQuery_ = s; return s; @@ -478,21 +442,20 @@ public java.lang.String getViewQuery() { } } /** - * - * *
      * Output only. The query that defines the table view.
      * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for viewQuery. */ - public com.google.protobuf.ByteString getViewQueryBytes() { + public com.google.protobuf.ByteString + getViewQueryBytes() { java.lang.Object ref = viewQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); viewQuery_ = b; return b; } else { @@ -500,35 +463,28 @@ public com.google.protobuf.ByteString getViewQueryBytes() { } } /** - * - * *
      * Output only. The query that defines the table view.
      * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The viewQuery to set. * @return This builder for chaining. */ - public Builder setViewQuery(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setViewQuery( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } viewQuery_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The query that defines the table view.
      * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearViewQuery() { @@ -538,30 +494,26 @@ public Builder clearViewQuery() { return this; } /** - * - * *
      * Output only. The query that defines the table view.
      * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for viewQuery to set. * @return This builder for chaining. */ - public Builder setViewQueryBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setViewQueryBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); viewQuery_ = 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); } @@ -571,12 +523,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ViewSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ViewSpec) private static final com.google.cloud.datacatalog.v1beta1.ViewSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ViewSpec(); } @@ -585,27 +537,27 @@ public static com.google.cloud.datacatalog.v1beta1.ViewSpec getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ViewSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ViewSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -620,4 +572,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.ViewSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpecOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpecOrBuilder.java similarity index 51% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpecOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpecOrBuilder.java index 2476de2aa2bb..e8b183bd5b86 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpecOrBuilder.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpecOrBuilder.java @@ -1,50 +1,29 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/table_spec.proto package com.google.cloud.datacatalog.v1beta1; -public interface ViewSpecOrBuilder - extends +public interface ViewSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ViewSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The query that defines the table view.
    * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The viewQuery. */ java.lang.String getViewQuery(); /** - * - * *
    * Output only. The query that defines the table view.
    * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for viewQuery. */ - com.google.protobuf.ByteString getViewQueryBytes(); + com.google.protobuf.ByteString + getViewQueryBytes(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/common.proto b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/common.proto similarity index 81% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/common.proto rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/common.proto index f61608a66554..586c03bca53a 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/common.proto +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/common.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -36,3 +36,16 @@ enum IntegratedSystem { // Cloud Pub/Sub. CLOUD_PUBSUB = 2; } + +// This enum describes all the systems that manage +// Taxonomy and PolicyTag resources in DataCatalog. +enum ManagingSystem { + // Default value + MANAGING_SYSTEM_UNSPECIFIED = 0; + + // Dataplex. + MANAGING_SYSTEM_DATAPLEX = 1; + + // Other + MANAGING_SYSTEM_OTHER = 2; +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/datacatalog.proto b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/datacatalog.proto similarity index 81% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/datacatalog.proto rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/datacatalog.proto index 0c6c0809b6f7..a076825754ff 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/datacatalog.proto +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/datacatalog.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -27,6 +27,7 @@ import "google/cloud/datacatalog/v1beta1/search.proto"; import "google/cloud/datacatalog/v1beta1/table_spec.proto"; import "google/cloud/datacatalog/v1beta1/tags.proto"; import "google/cloud/datacatalog/v1beta1/timestamps.proto"; +import "google/cloud/datacatalog/v1beta1/usage.proto"; import "google/iam/v1/iam_policy.proto"; import "google/iam/v1/policy.proto"; import "google/protobuf/empty.proto"; @@ -39,12 +40,17 @@ option java_multiple_files = true; option java_package = "com.google.cloud.datacatalog.v1beta1"; option php_namespace = "Google\\Cloud\\DataCatalog\\V1beta1"; option ruby_package = "Google::Cloud::DataCatalog::V1beta1"; +option (google.api.resource_definition) = { + type: "datacatalog.googleapis.com/TagTemplateFieldEnumValue" + pattern: "projects/{project}/locations/{location}/tagTemplates/{tag_template}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}" +}; // Data Catalog API service allows clients to discover, understand, and manage // their data. service DataCatalog { option (google.api.default_host) = "datacatalog.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Searches Data Catalog for multiple resources like entries, tags that // match a query. @@ -52,7 +58,7 @@ service DataCatalog { // This is a custom method // (https://cloud.google.com/apis/design/custom_methods) and does not return // the complete resource, only the resource identifier and high level - // fields. Clients can subsequentally call `Get` methods. + // fields. Clients can subsequently call `Get` methods. // // Note that Data Catalog search queries do not guarantee full recall. Query // results that match your query may not be returned, even in subsequent @@ -113,7 +119,8 @@ service DataCatalog { // identified by the `name` parameter (see [Data Catalog Resource Project] // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for // more information). - rpc DeleteEntryGroup(DeleteEntryGroupRequest) returns (google.protobuf.Empty) { + rpc DeleteEntryGroup(DeleteEntryGroupRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1beta1/{name=projects/*/locations/*/entryGroups/*}" }; @@ -121,7 +128,8 @@ service DataCatalog { } // Lists entry groups. - rpc ListEntryGroups(ListEntryGroupsRequest) returns (ListEntryGroupsResponse) { + rpc ListEntryGroups(ListEntryGroupsRequest) + returns (ListEntryGroupsResponse) { option (google.api.http) = { get: "/v1beta1/{parent=projects/*/locations/*}/entryGroups" }; @@ -208,7 +216,8 @@ service DataCatalog { post: "/v1beta1/{parent=projects/*/locations/*}/tagTemplates" body: "tag_template" }; - option (google.api.method_signature) = "parent,tag_template_id,tag_template"; + option (google.api.method_signature) = + "parent,tag_template_id,tag_template"; } // Gets a tag template. @@ -240,7 +249,8 @@ service DataCatalog { // the `name` parameter (see [Data Catalog Resource Project] // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for // more information). - rpc DeleteTagTemplate(DeleteTagTemplateRequest) returns (google.protobuf.Empty) { + rpc DeleteTagTemplate(DeleteTagTemplateRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1beta1/{name=projects/*/locations/*/tagTemplates/*}" }; @@ -252,12 +262,14 @@ service DataCatalog { // [Data Catalog Resource // Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project) // for more information). - rpc CreateTagTemplateField(CreateTagTemplateFieldRequest) returns (TagTemplateField) { + rpc CreateTagTemplateField(CreateTagTemplateFieldRequest) + returns (TagTemplateField) { option (google.api.http) = { post: "/v1beta1/{parent=projects/*/locations/*/tagTemplates/*}/fields" body: "tag_template_field" }; - option (google.api.method_signature) = "parent,tag_template_field_id,tag_template_field"; + option (google.api.method_signature) = + "parent,tag_template_field_id,tag_template_field"; } // Updates a field in a tag template. This method cannot be used to update the @@ -265,13 +277,15 @@ service DataCatalog { // identified by the `name` parameter (see [Data Catalog Resource Project] // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for // more information). - rpc UpdateTagTemplateField(UpdateTagTemplateFieldRequest) returns (TagTemplateField) { + rpc UpdateTagTemplateField(UpdateTagTemplateFieldRequest) + returns (TagTemplateField) { option (google.api.http) = { patch: "/v1beta1/{name=projects/*/locations/*/tagTemplates/*/fields/*}" body: "tag_template_field" }; option (google.api.method_signature) = "name,tag_template_field"; - option (google.api.method_signature) = "name,tag_template_field,update_mask"; + option (google.api.method_signature) = + "name,tag_template_field,update_mask"; } // Renames a field in a tag template. The user should enable the Data Catalog @@ -279,7 +293,8 @@ service DataCatalog { // Resource // Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project) // for more information). - rpc RenameTagTemplateField(RenameTagTemplateFieldRequest) returns (TagTemplateField) { + rpc RenameTagTemplateField(RenameTagTemplateFieldRequest) + returns (TagTemplateField) { option (google.api.http) = { post: "/v1beta1/{name=projects/*/locations/*/tagTemplates/*/fields/*}:rename" body: "*" @@ -287,12 +302,25 @@ service DataCatalog { option (google.api.method_signature) = "name,new_tag_template_field_id"; } + // Renames an enum value in a tag template. The enum values have to be unique + // within one enum field. Thus, an enum value cannot be renamed with a name + // used in any other enum value within the same enum field. + rpc RenameTagTemplateFieldEnumValue(RenameTagTemplateFieldEnumValueRequest) + returns (TagTemplateField) { + option (google.api.http) = { + post: "/v1beta1/{name=projects/*/locations/*/tagTemplates/*/fields/*/enumValues/*}:rename" + body: "*" + }; + option (google.api.method_signature) = "name,new_enum_value_display_name"; + } + // Deletes a field in a tag template and all uses of that field. // Users should enable the Data Catalog API in the project identified by // the `name` parameter (see [Data Catalog Resource Project] // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for // more information). - rpc DeleteTagTemplateField(DeleteTagTemplateFieldRequest) returns (google.protobuf.Empty) { + rpc DeleteTagTemplateField(DeleteTagTemplateFieldRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1beta1/{name=projects/*/locations/*/tagTemplates/*/fields/*}" }; @@ -343,7 +371,9 @@ service DataCatalog { option (google.api.method_signature) = "name"; } - // Lists the tags on an [Entry][google.cloud.datacatalog.v1beta1.Entry]. + // Lists tags assigned to an [Entry][google.cloud.datacatalog.v1beta1.Entry]. + // The [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response + // are lowercased. rpc ListTags(ListTagsRequest) returns (ListTagsResponse) { option (google.api.http) = { get: "/v1beta1/{parent=projects/*/locations/*/entryGroups/*/entries/*}/tags" @@ -368,7 +398,8 @@ service DataCatalog { // templates. // - `datacatalog.entries.setIamPolicy` to set policies on entries. // - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. - rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1beta1/{resource=projects/*/locations/*/tagTemplates/*}:setIamPolicy" body: "*" @@ -377,7 +408,6 @@ service DataCatalog { body: "*" } }; - option (google.api.method_signature) = "resource,policy"; } @@ -397,7 +427,8 @@ service DataCatalog { // templates. // - `datacatalog.entries.getIamPolicy` to get policies on entries. // - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups. - rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1beta1/{resource=projects/*/locations/*/tagTemplates/*}:getIamPolicy" body: "*" @@ -426,7 +457,8 @@ service DataCatalog { // // A caller is not required to have Google IAM permission to make this // request. - rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { + rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) + returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { post: "/v1beta1/{resource=projects/*/locations/*/tagTemplates/*}:testIamPermissions" body: "*" @@ -457,11 +489,49 @@ message SearchCatalogRequest { // https://cloud.google.com/docs/overview/#projects. repeated string include_project_ids = 3; - // If `true`, include Google Cloud Platform (GCP) public datasets in the - // search results. Info on GCP public datasets is available at - // https://cloud.google.com/public-datasets/. By default, GCP public - // datasets are excluded. + // If `true`, include Google Cloud public datasets in the + // search results. Info on Google Cloud public datasets is available at + // https://cloud.google.com/public-datasets/. By default, Google Cloud + // public datasets are excluded. bool include_gcp_public_datasets = 7; + + // Optional. The list of locations to search within. + // 1. If empty, search will be performed in all locations; + // 2. If any of the locations are NOT in the valid locations list, error + // will be returned; + // 3. Otherwise, search only the given locations for matching results. + // Typical usage is to leave this field empty. When a location is + // unreachable as returned in the `SearchCatalogResponse.unreachable` field, + // users can repeat the search request with this parameter set to get + // additional information on the error. + // + // Valid locations: + // * asia-east1 + // * asia-east2 + // * asia-northeast1 + // * asia-northeast2 + // * asia-northeast3 + // * asia-south1 + // * asia-southeast1 + // * australia-southeast1 + // * eu + // * europe-north1 + // * europe-west1 + // * europe-west2 + // * europe-west3 + // * europe-west4 + // * europe-west6 + // * global + // * northamerica-northeast1 + // * southamerica-east1 + // * us + // * us-central1 + // * us-east1 + // * us-east4 + // * us-west1 + // * us-west2 + repeated string restricted_locations = 16 + [(google.api.field_behavior) = OPTIONAL]; } // Required. The scope of this search request. A `scope` that has empty @@ -470,9 +540,9 @@ message SearchCatalogRequest { // return an error in such a case. Scope scope = 6 [(google.api.field_behavior) = REQUIRED]; - // Required. The query string in search query syntax. The query must be non-empty. - // - // Query strings can be simple as "x" or more qualified as: + // Optional. The query string in search query syntax. An empty query string + // will result in all data assets (in the specified scope) that the user has + // access to. Query strings can be simple as "x" or more qualified as: // // * name:x // * column:x @@ -482,15 +552,15 @@ message SearchCatalogRequest { // matching to work correctly. See [Data Catalog Search // Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference) // for more information. - string query = 1 [(google.api.field_behavior) = REQUIRED]; + string query = 1 [(google.api.field_behavior) = OPTIONAL]; // Number of results in the search page. If <=0 then defaults to 10. Max limit // for page_size is 1000. Throws an invalid argument for page_size > 1000. int32 page_size = 2; // Optional. Pagination token returned in an earlier - // [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which - // indicates that this is a continuation of a prior + // [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], + // which indicates that this is a continuation of a prior // [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog] // call, and that the system should return the next page of data. If empty, // the first page is returned. @@ -502,6 +572,7 @@ message SearchCatalogRequest { // * `relevance`, only supports descending // * `last_modified_timestamp [asc|desc]`, defaults to descending if not // specified + // * `default` that can only be descending // // If not specified, defaults to `relevance` descending. string order_by = 5; @@ -513,8 +584,17 @@ message SearchCatalogResponse { // Search results. repeated SearchCatalogResult results = 1; + // The approximate total number of entries matched by the query. + int32 total_size = 2; + // The token that can be used to retrieve the next page of results. string next_page_token = 3; + + // Unreachable locations. Search result does not include data from those + // locations. Users can get additional information on the error by repeating + // the search request with a more restrictive parameter -- setting the value + // for `SearchDataCatalogRequest.scope.restricted_locations`. + repeated string unreachable = 6; } // Request message for @@ -548,8 +628,11 @@ message UpdateEntryGroupRequest { // Required. The updated entry group. "name" field must be set. EntryGroup entry_group = 1 [(google.api.field_behavior) = REQUIRED]; - // The fields to update on the entry group. If absent or empty, all modifiable - // fields are updated. + // Names of fields whose values to overwrite on an entry group. + // + // If this parameter is absent or empty, all modifiable fields + // are overwritten. If such fields are non-required and omitted in the + // request body, their values are emptied. google.protobuf.FieldMask update_mask = 2; } @@ -588,8 +671,8 @@ message DeleteEntryGroupRequest { // Request message for // [ListEntryGroups][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntryGroups]. message ListEntryGroupsRequest { - // Required. The name of the location that contains the entry groups, which can be - // provided in URL format. Example: + // Required. The name of the location that contains the entry groups, which + // can be provided in URL format. Example: // // * projects/{project_id}/locations/{location} string parent = 1 [ @@ -599,12 +682,12 @@ message ListEntryGroupsRequest { } ]; - // Optional. The maximum number of items to return. Default is 10. Max limit is 1000. - // Throws an invalid argument for `page_size > 1000`. + // Optional. The maximum number of items to return. Default is 10. Max limit + // is 1000. Throws an invalid argument for `page_size > 1000`. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Token that specifies which page is requested. If empty, the first page is - // returned. + // Optional. Token that specifies which page is requested. If empty, the first + // page is returned. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; } @@ -648,26 +731,30 @@ message UpdateEntryRequest { // Required. The updated entry. The "name" field must be set. Entry entry = 1 [(google.api.field_behavior) = REQUIRED]; - // The fields to update on the entry. If absent or empty, all modifiable - // fields are updated. + // Names of fields whose values to overwrite on an entry. + // + // If this parameter is absent or empty, all modifiable fields + // are overwritten. If such fields are non-required and omitted in the + // request body, their values are emptied. // // The following fields are modifiable: + // // * For entries with type `DATA_STREAM`: // * `schema` - // * For entries with type `FILESET` + // * For entries with type `FILESET`: // * `schema` // * `display_name` // * `description` // * `gcs_fileset_spec` // * `gcs_fileset_spec.file_patterns` - // * For entries with `user_specified_type` + // * For entries with `user_specified_type`: // * `schema` // * `display_name` // * `description` - // * user_specified_type - // * user_specified_system - // * linked_resource - // * source_system_timestamps + // * `user_specified_type` + // * `user_specified_system` + // * `linked_resource` + // * `source_system_timestamps` google.protobuf.FieldMask update_mask = 2; } @@ -726,7 +813,7 @@ message LookupEntryRequest { // * `bigquery.dataset.project_id.dataset_id` // * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id` // - // `*_id`s shoud satisfy the standard SQL rules for identifiers. + // `*_id`s should satisfy the standard SQL rules for identifiers. // https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical. string sql_resource = 3; } @@ -748,15 +835,19 @@ message Entry { pattern: "projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}" }; - // The Data Catalog resource name of the entry in URL format. Example: + // Output only. The Data Catalog resource name of the entry in URL format. + // Example: // // * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} // // Note that this Entry and its child resources may not actually be stored in // the location in this name. - string name = 1 [(google.api.resource_reference) = { - type: "datacatalog.googleapis.com/EntryGroup" - }]; + string name = 1 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { + type: "datacatalog.googleapis.com/EntryGroup" + } + ]; // The resource this metadata entry refers to. // @@ -793,9 +884,10 @@ message Entry { // The source system of the entry. oneof system { - // Output only. This field indicates the entry's source system that Data Catalog - // integrates with, such as BigQuery or Pub/Sub. - IntegratedSystem integrated_system = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. This field indicates the entry's source system that Data + // Catalog integrates with, such as BigQuery or Pub/Sub. + IntegratedSystem integrated_system = 17 + [(google.api.field_behavior) = OUTPUT_ONLY]; // This field indicates the entry's source system that Data Catalog does not // integrate with. `user_specified_system` strings must begin with a letter @@ -833,11 +925,15 @@ message Entry { // Schema of the entry. An entry might not have any schema attached to it. Schema schema = 5; - // Output only. Timestamps about the underlying resource, not about this Data Catalog - // entry. Output only when Entry is of type in the EntryType enum. For entries - // with user_specified_type, this field is optional and defaults to an empty - // timestamp. - SystemTimestamps source_system_timestamps = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Timestamps about the underlying resource, not about this Data + // Catalog entry. Output only when Entry is of type in the EntryType enum. For + // entries with user_specified_type, this field is optional and defaults to an + // empty timestamp. + SystemTimestamps source_system_timestamps = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Statistics on the usage level of the resource. + UsageSignal usage_signal = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; } // EntryGroup Metadata. @@ -866,8 +962,10 @@ message EntryGroup { // string. string description = 3; - // Output only. Timestamps about this EntryGroup. Default value is empty timestamps. - SystemTimestamps data_catalog_timestamps = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Timestamps about this EntryGroup. Default value is empty + // timestamps. + SystemTimestamps data_catalog_timestamps = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Request message for @@ -913,13 +1011,12 @@ message UpdateTagTemplateRequest { // Required. The template to update. The "name" field must be set. TagTemplate tag_template = 1 [(google.api.field_behavior) = REQUIRED]; - // The field mask specifies the parts of the template to overwrite. - // - // Allowed fields: + // Names of fields whose values to overwrite on a tag template. Currently, + // only `display_name` can be overwritten. // - // * `display_name` - // - // If absent or empty, all of the allowed fields above will be updated. + // In general, if this parameter is absent or empty, all modifiable fields + // are overwritten. If such fields are non-required and omitted in the + // request body, their values are emptied. google.protobuf.FieldMask update_mask = 2; } @@ -945,8 +1042,8 @@ message DeleteTagTemplateRequest { // Request message for // [CreateTag][google.cloud.datacatalog.v1beta1.DataCatalog.CreateTag]. message CreateTagRequest { - // Required. The name of the resource to attach this tag to. Tags can be attached to - // Entries. Example: + // Required. The name of the resource to attach this tag to. Tags can be + // attached to Entries. Example: // // * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} // @@ -969,8 +1066,14 @@ message UpdateTagRequest { // Required. The updated tag. The "name" field must be set. Tag tag = 1 [(google.api.field_behavior) = REQUIRED]; - // The fields to update on the Tag. If absent or empty, all modifiable fields - // are updated. Currently the only modifiable field is the field `fields`. + // Note: Currently, this parameter can only take `"fields"` as value. + // + // Names of fields whose values to overwrite on a tag. Currently, a tag has + // the only modifiable field with the name `fields`. + // + // In general, if this parameter is absent or empty, all modifiable fields + // are overwritten. If such fields are non-required and omitted in the + // request body, their values are emptied. google.protobuf.FieldMask update_mask = 2; } @@ -1012,7 +1115,8 @@ message CreateTagTemplateFieldRequest { string tag_template_field_id = 2 [(google.api.field_behavior) = REQUIRED]; // Required. The tag template field to create. - TagTemplateField tag_template_field = 3 [(google.api.field_behavior) = REQUIRED]; + TagTemplateField tag_template_field = 3 + [(google.api.field_behavior) = REQUIRED]; } // Request message for @@ -1029,23 +1133,27 @@ message UpdateTagTemplateFieldRequest { ]; // Required. The template to update. - TagTemplateField tag_template_field = 2 [(google.api.field_behavior) = REQUIRED]; + TagTemplateField tag_template_field = 2 + [(google.api.field_behavior) = REQUIRED]; - // Optional. The field mask specifies the parts of the template to be updated. - // Allowed fields: + // Optional. Names of fields whose values to overwrite on an individual field + // of a tag template. The following fields are modifiable: // // * `display_name` // * `type.enum_type` // * `is_required` // - // If `update_mask` is not set or empty, all of the allowed fields above will - // be updated. + // If this parameter is absent or empty, all modifiable fields + // are overwritten. If such fields are non-required and omitted in the request + // body, their values are emptied with one exception: when updating an enum + // type, the provided values are merged with the existing values. Therefore, + // enum values can only be added, existing enum values cannot be deleted or + // renamed. // - // When updating an enum type, the provided values will be merged with the - // existing values. Therefore, enum values can only be added, existing enum - // values cannot be deleted nor renamed. Updating a template field from - // optional to required is NOT allowed. - google.protobuf.FieldMask update_mask = 3 [(google.api.field_behavior) = OPTIONAL]; + // Additionally, updating a template field from optional to required is + // *not* allowed. + google.protobuf.FieldMask update_mask = 3 + [(google.api.field_behavior) = OPTIONAL]; } // Request message for @@ -1061,10 +1169,30 @@ message RenameTagTemplateFieldRequest { } ]; - // Required. The new ID of this tag template field. For example, `my_new_field`. + // Required. The new ID of this tag template field. For example, + // `my_new_field`. string new_tag_template_field_id = 2 [(google.api.field_behavior) = REQUIRED]; } +// Request message for +// [RenameTagTemplateFieldEnumValue][google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateFieldEnumValue]. +message RenameTagTemplateFieldEnumValueRequest { + // Required. The name of the enum field value. Example: + // + // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name} + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "datacatalog.googleapis.com/TagTemplateFieldEnumValue" + } + ]; + + // Required. The new display name of the enum value. For example, + // `my_new_enum_value`. + string new_enum_value_display_name = 2 + [(google.api.field_behavior) = REQUIRED]; +} + // Request message for // [DeleteTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTagTemplateField]. message DeleteTagTemplateFieldRequest { @@ -1087,8 +1215,8 @@ message DeleteTagTemplateFieldRequest { // Request message for // [ListTags][google.cloud.datacatalog.v1beta1.DataCatalog.ListTags]. message ListTagsRequest { - // Required. The name of the Data Catalog resource to list the tags of. The resource - // could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an + // Required. The name of the Data Catalog resource to list the tags of. The + // resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an // [EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup]. // // Examples: diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto similarity index 92% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto index b7c6bcafab90..3373d8858ac1 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -59,9 +59,10 @@ message GcsFilesetSpec { // * `gs://bucket_name/[a-m]??.j*g` repeated string file_patterns = 1 [(google.api.field_behavior) = REQUIRED]; - // Output only. Sample files contained in this fileset, not all files contained in this - // fileset are represented here. - repeated GcsFileSpec sample_gcs_file_specs = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Sample files contained in this fileset, not all files + // contained in this fileset are represented here. + repeated GcsFileSpec sample_gcs_file_specs = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Specifications of a single file in Cloud Storage. @@ -70,7 +71,8 @@ message GcsFileSpec { string file_path = 1 [(google.api.field_behavior) = REQUIRED]; // Output only. Timestamps about the Cloud Storage file. - SystemTimestamps gcs_timestamps = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + SystemTimestamps gcs_timestamps = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The size of the file, in bytes. int64 size_bytes = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanager.proto b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanager.proto similarity index 86% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanager.proto rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanager.proto index 7cc2090557d3..71efec32b6b8 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanager.proto +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanager.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/datacatalog/v1beta1/common.proto"; import "google/cloud/datacatalog/v1beta1/timestamps.proto"; import "google/iam/v1/iam_policy.proto"; import "google/iam/v1/policy.proto"; @@ -39,7 +40,8 @@ option ruby_package = "Google::Cloud::DataCatalog::V1beta1"; // and policy tags. service PolicyTagManager { option (google.api.default_host) = "datacatalog.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Creates a taxonomy in the specified project. rpc CreateTaxonomy(CreateTaxonomyRequest) returns (Taxonomy) { @@ -128,7 +130,8 @@ service PolicyTagManager { } // Gets the IAM policy for a taxonomy or a policy tag. - rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1beta1/{resource=projects/*/locations/*/taxonomies/*}:getIamPolicy" body: "*" @@ -140,7 +143,8 @@ service PolicyTagManager { } // Sets the IAM policy for a taxonomy or a policy tag. - rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1beta1/{resource=projects/*/locations/*/taxonomies/*}:setIamPolicy" body: "*" @@ -153,7 +157,8 @@ service PolicyTagManager { // Returns the permissions that a caller has on the specified taxonomy or // policy tag. - rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { + rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) + returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { post: "/v1beta1/{resource=projects/*/locations/*/taxonomies/*}:testIamPermissions" body: "*" @@ -186,23 +191,49 @@ message Taxonomy { FINE_GRAINED_ACCESS_CONTROL = 1; } + // The source system of the Taxonomy. + message Service { + // The Google Cloud service name. + ManagingSystem name = 1; + + // The service agent for the service. + string identity = 2; + } + // Output only. Resource name of this taxonomy, whose format is: // "projects/{project_number}/locations/{location_id}/taxonomies/{id}". string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Required. User defined name of this taxonomy. It must: contain only unicode letters, - // numbers, underscores, dashes and spaces; not start or end with spaces; and - // be at most 200 bytes long when encoded in UTF-8. + // Required. User defined name of this taxonomy. It must: contain only unicode + // letters, numbers, underscores, dashes and spaces; not start or end with + // spaces; and be at most 200 bytes long when encoded in UTF-8. + // + // The taxonomy display name must be unique within an organization. string display_name = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. Description of this taxonomy. It must: contain only unicode characters, - // tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes - // long when encoded in UTF-8. If not set, defaults to an empty description. + // Optional. Description of this taxonomy. It must: contain only unicode + // characters, tabs, newlines, carriage returns and page breaks; and be at + // most 2000 bytes long when encoded in UTF-8. If not set, defaults to an + // empty description. string description = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A list of policy types that are activated for this taxonomy. If not set, - // defaults to an empty list. - repeated PolicyType activated_policy_types = 6 [(google.api.field_behavior) = OPTIONAL]; + // Output only. Number of policy tags contained in this taxonomy. + int32 policy_tag_count = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Timestamps about this taxonomy. Only create_time and + // update_time are used. + SystemTimestamps taxonomy_timestamps = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. A list of policy types that are activated for this taxonomy. If + // not set, defaults to an empty list. + repeated PolicyType activated_policy_types = 6 + [(google.api.field_behavior) = OPTIONAL]; + + // Output only. Identity of the service which owns the Taxonomy. This field is + // only populated when the taxonomy is created by a Google Cloud service. + // Currently only 'DATAPLEX' is supported. + Service service = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Denotes one policy tag in a taxonomy (e.g. ssn). Policy Tags can be defined @@ -219,10 +250,10 @@ message PolicyTag { // "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}". string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Required. User defined name of this policy tag. It must: be unique within the parent - // taxonomy; contain only unicode letters, numbers, underscores, dashes and - // spaces; not start or end with spaces; and be at most 200 bytes long when - // encoded in UTF-8. + // Required. User defined name of this policy tag. It must: be unique within + // the parent taxonomy; contain only unicode letters, numbers, underscores, + // dashes and spaces; not start or end with spaces; and be at most 200 bytes + // long when encoded in UTF-8. string display_name = 2 [(google.api.field_behavior) = REQUIRED]; // Description of this policy tag. It must: contain only unicode characters, @@ -240,7 +271,8 @@ message PolicyTag { string parent_policy_tag = 4; // Output only. Resource names of child policy tags of this policy tag. - repeated string child_policy_tags = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated string child_policy_tags = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Request message for @@ -303,6 +335,10 @@ message ListTaxonomiesRequest { // The next_page_token value returned from a previous list request, if any. If // not set, defaults to an empty string. string page_token = 3; + + // Supported field for filter is 'service' and value is 'dataplex'. + // Eg: service=dataplex. + string filter = 4; } // Response message for @@ -346,8 +382,8 @@ message CreatePolicyTagRequest { // Request message for // [DeletePolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.DeletePolicyTag]. message DeletePolicyTagRequest { - // Required. Resource name of the policy tag to be deleted. All of its descendant - // policy tags will also be deleted. + // Required. Resource name of the policy tag to be deleted. All of its + // descendant policy tags will also be deleted. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto similarity index 85% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto index a1b2314d39d4..ff652ff69262 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,11 +17,10 @@ syntax = "proto3"; package google.cloud.datacatalog.v1beta1; import "google/api/annotations.proto"; +import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/datacatalog/v1beta1/policytagmanager.proto"; -import "google/iam/v1/policy.proto"; -import "google/api/client.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1Beta1"; @@ -36,14 +35,16 @@ option ruby_package = "Google::Cloud::DataCatalog::V1beta1"; // their taxonomies and policy tags data with serialized format. service PolicyTagManagerSerialization { option (google.api.default_host) = "datacatalog.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Imports all taxonomies and their policy tags to a project as new // taxonomies. // // This method provides a bulk taxonomy / policy tag creation using nested // proto structure. - rpc ImportTaxonomies(ImportTaxonomiesRequest) returns (ImportTaxonomiesResponse) { + rpc ImportTaxonomies(ImportTaxonomiesRequest) + returns (ImportTaxonomiesResponse) { option (google.api.http) = { post: "/v1beta1/{parent=projects/*/locations/*}/taxonomies:import" body: "*" @@ -54,7 +55,8 @@ service PolicyTagManagerSerialization { // // This method generates SerializedTaxonomy protos with nested policy tags // that can be used as an input for future ImportTaxonomies calls. - rpc ExportTaxonomies(ExportTaxonomiesRequest) returns (ExportTaxonomiesResponse) { + rpc ExportTaxonomies(ExportTaxonomiesRequest) + returns (ExportTaxonomiesResponse) { option (google.api.http) = { get: "/v1beta1/{parent=projects/*/locations/*}/taxonomies:export" }; @@ -64,7 +66,8 @@ service PolicyTagManagerSerialization { // Message capturing a taxonomy and its policy tag hierarchy as a nested proto. // Used for taxonomy import/export and mutation. message SerializedTaxonomy { - // Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8. + // Required. Display name of the taxonomy. Max 200 bytes when encoded in + // UTF-8. string display_name = 1 [(google.api.field_behavior) = REQUIRED]; // Description of the serialized taxonomy. The length of the @@ -74,11 +77,20 @@ message SerializedTaxonomy { // Top level policy tags associated with the taxonomy if any. repeated SerializedPolicyTag policy_tags = 3; + + // A list of policy types that are activated for a taxonomy. + repeated Taxonomy.PolicyType activated_policy_types = 4; } // Message representing one policy tag when exported as a nested proto. message SerializedPolicyTag { - // Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8. + // Resource name of the policy tag. + // + // This field will be ignored when calling ImportTaxonomies. + string policy_tag = 1; + + // Required. Display name of the policy tag. Max 200 bytes when encoded in + // UTF-8. string display_name = 2 [(google.api.field_behavior) = REQUIRED]; // Description of the serialized policy tag. The length of the @@ -93,8 +105,8 @@ message SerializedPolicyTag { // Request message for // [ImportTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ImportTaxonomies]. message ImportTaxonomiesRequest { - // Required. Resource name of project that the newly created taxonomies will - // belong to. + // Required. Resource name of project that the imported taxonomies will belong + // to. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -102,9 +114,9 @@ message ImportTaxonomiesRequest { } ]; - // Required. Source taxonomies to be imported in a tree structure. + // Source taxonomies to be imported. oneof source { - // Inline source used for taxonomies import + // Inline source used for taxonomies to be imported. InlineSource inline_source = 2; } } @@ -112,7 +124,8 @@ message ImportTaxonomiesRequest { // Inline source used for taxonomies import. message InlineSource { // Required. Taxonomies to be imported. - repeated SerializedTaxonomy taxonomies = 1 [(google.api.field_behavior) = REQUIRED]; + repeated SerializedTaxonomy taxonomies = 1 + [(google.api.field_behavior) = REQUIRED]; } // Response message for diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/schema.proto b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/schema.proto similarity index 90% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/schema.proto rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/schema.proto index c51234aa494b..1620a6444de5 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/schema.proto +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/schema.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -28,8 +28,8 @@ option ruby_package = "Google::Cloud::DataCatalog::V1beta1"; // Represents a schema (e.g. BigQuery, GoogleSQL, Avro schema). message Schema { - // Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be - // specified. + // Required. Schema of columns. A maximum of 10,000 columns and sub-columns + // can be specified. repeated ColumnSchema columns = 2 [(google.api.field_behavior) = REQUIRED]; } @@ -45,11 +45,12 @@ message ColumnSchema { // Optional. Description of the column. Default value is an empty string. string description = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A column's mode indicates whether the values in this column are required, - // nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are supported. - // Default mode is `NULLABLE`. + // Optional. A column's mode indicates whether the values in this column are + // required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are + // supported. Default mode is `NULLABLE`. string mode = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Schema of sub-columns. A column can have zero or more sub-columns. + // Optional. Schema of sub-columns. A column can have zero or more + // sub-columns. repeated ColumnSchema subcolumns = 7 [(google.api.field_behavior) = OPTIONAL]; } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/search.proto b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/search.proto similarity index 92% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/search.proto rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/search.proto index 0455662cb866..64a2465eb4bf 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/search.proto +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/search.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,7 +16,8 @@ syntax = "proto3"; package google.cloud.datacatalog.v1beta1; -import "google/cloud/datacatalog/v1beta1/common.proto"; +import "google/api/field_behavior.proto"; +import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1Beta1"; @@ -52,6 +53,9 @@ message SearchCatalogResult { // // * `//bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId` string linked_resource = 4; + + // Last-modified timestamp of the entry from the managing system. + google.protobuf.Timestamp modify_time = 7; } // The different types of resources that can be returned in search. diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/table_spec.proto b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/table_spec.proto similarity index 88% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/table_spec.proto rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/table_spec.proto index abfc3fe46b17..9f76d8998ed2 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/table_spec.proto +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/table_spec.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -30,7 +30,8 @@ option ruby_package = "Google::Cloud::DataCatalog::V1beta1"; // Describes a BigQuery table. message BigQueryTableSpec { // Output only. The table source type. - TableSourceType table_source_type = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + TableSourceType table_source_type = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. oneof type_spec { @@ -54,6 +55,9 @@ enum TableSourceType { // BigQuery native table. BIGQUERY_TABLE = 5; + + // BigQuery materialized view. + BIGQUERY_MATERIALIZED_VIEW = 7; } // Table view specification. @@ -64,9 +68,9 @@ message ViewSpec { // Normal BigQuery table spec. message TableSpec { - // Output only. If the table is a dated shard, i.e., with name pattern `[prefix]YYYYMMDD`, - // `grouped_entry` is the Data Catalog resource name of the date sharded - // grouped entry, for example, + // Output only. If the table is a dated shard, i.e., with name pattern + // `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of + // the date sharded grouped entry, for example, // `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`. // Otherwise, `grouped_entry` is empty. string grouped_entry = 1 [ @@ -81,8 +85,8 @@ message TableSpec { // Context: // https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding message BigQueryDateShardedSpec { - // Output only. The Data Catalog resource name of the dataset entry the current table - // belongs to, for example, + // Output only. The Data Catalog resource name of the dataset entry the + // current table belongs to, for example, // `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`. string dataset = 1 [ (google.api.field_behavior) = OUTPUT_ONLY, @@ -91,7 +95,8 @@ message BigQueryDateShardedSpec { } ]; - // Output only. The table name prefix of the shards. The name of any given shard is + // Output only. The table name prefix of the shards. The name of any given + // shard is // `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the // `table_prefix` is `MyTable`. string table_prefix = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/tags.proto b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/tags.proto similarity index 89% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/tags.proto rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/tags.proto index 57a683bbe061..fa6b407891a6 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/tags.proto +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/tags.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -48,7 +48,8 @@ message Tag { // Note that this Tag may not actually be stored in the location in this name. string name = 1; - // Required. The resource name of the tag template that this tag uses. Example: + // Required. The resource name of the tag template that this tag uses. + // Example: // // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} // @@ -73,9 +74,9 @@ message Tag { string column = 4; } - // Required. This maps the ID of a tag field to the value of and additional information - // about that field. Valid field IDs are defined by the tag's template. A tag - // must have at least 1 field and at most 500 fields. + // Required. This maps the ID of a tag field to the value of and additional + // information about that field. Valid field IDs are defined by the tag's + // template. A tag must have at least 1 field and at most 500 fields. map fields = 3 [(google.api.field_behavior) = REQUIRED]; } @@ -110,8 +111,9 @@ message TagField { EnumValue enum_value = 6; } - // Output only. The order of this field with respect to other fields in this tag. It can be - // set in [Tag][google.cloud.datacatalog.v1beta1.TagTemplateField.order]. For + // Output only. The order of this field with respect to other fields in this + // tag. It can be set in + // [Tag][google.cloud.datacatalog.v1beta1.TagTemplateField.order]. For // example, a higher value can indicate a more important field. The value can // be negative. Multiple fields can have the same order, and field orders // within a tag do not have to be sequential. @@ -119,7 +121,7 @@ message TagField { } // A tag template defines a tag, which can have one or more typed fields. -// The template is used to create and attach the tag to GCP resources. +// The template is used to create and attach the tag to Google Cloud resources. // [Tag template // roles](https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles) // provide permissions to create, edit, and use the template. See, for example, @@ -151,7 +153,8 @@ message TagTemplate { // letters (both uppercase and lowercase), numbers (0-9) and underscores (_). // Field IDs must be at least 1 character long and at most // 64 characters long. Field IDs must start with a letter or underscore. - map fields = 3 [(google.api.field_behavior) = REQUIRED]; + map fields = 3 + [(google.api.field_behavior) = REQUIRED]; } // The template for an individual field within a tag template. @@ -161,7 +164,8 @@ message TagTemplateField { pattern: "projects/{project}/locations/{location}/tagTemplates/{tag_template}/fields/{field}" }; - // Output only. The resource name of the tag template field in URL format. Example: + // Output only. The resource name of the tag template field in URL format. + // Example: // // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field} // @@ -178,6 +182,9 @@ message TagTemplateField { // Whether this is a required field. Defaults to false. bool is_required = 3; + // The description for this field. Defaults to an empty string. + string description = 4; + // The order of this field with respect to other fields in this tag // template. A higher value indicates a more important field. The value can // be negative. Multiple fields can have the same order, and field orders @@ -186,21 +193,6 @@ message TagTemplateField { } message FieldType { - message EnumType { - message EnumValue { - // Required. The display name of the enum value. Must not be an empty string. - string display_name = 1 [(google.api.field_behavior) = REQUIRED]; - } - - // Required on create; optional on update. The set of allowed values for - // this enum. This set must not be empty, the display names of the values in - // this set must not be empty and the display names of the values must be - // case-insensitively unique within this set. Currently, enum values can - // only be added to the list of allowed values. Deletion and renaming of - // enum values are not supported. Can have up to 500 allowed values. - repeated EnumValue allowed_values = 1; - } - enum PrimitiveType { // This is the default invalid value for a type. PRIMITIVE_TYPE_UNSPECIFIED = 0; @@ -218,6 +210,16 @@ message FieldType { TIMESTAMP = 4; } + message EnumType { + message EnumValue { + // Required. The display name of the enum value. Must not be an empty + // string. + string display_name = 1 [(google.api.field_behavior) = REQUIRED]; + } + + repeated EnumValue allowed_values = 1; + } + // Required. oneof type_decl { // Represents primitive types - string, bool etc. diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/timestamps.proto b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/timestamps.proto similarity index 92% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/timestamps.proto rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/timestamps.proto index e524d671c99c..4f10cc7e2235 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/timestamps.proto +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/timestamps.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -37,5 +37,6 @@ message SystemTimestamps { // Output only. The expiration time of the resource within the given system. // Currently only apllicable to BigQuery resources. - google.protobuf.Timestamp expire_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp expire_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/usage.proto b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/usage.proto new file mode 100644 index 000000000000..f01efeaba76e --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/usage.proto @@ -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 +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +package google.cloud.datacatalog.v1beta1; + +import "google/protobuf/timestamp.proto"; + +option cc_enable_arenas = true; +option csharp_namespace = "Google.Cloud.DataCatalog.V1Beta1"; +option go_package = "cloud.google.com/go/datacatalog/apiv1beta1/datacatalogpb;datacatalogpb"; +option java_multiple_files = true; +option java_package = "com.google.cloud.datacatalog.v1beta1"; +option php_namespace = "Google\\Cloud\\DataCatalog\\V1beta1"; +option ruby_package = "Google::Cloud::DataCatalog::V1beta1"; + +// Detailed counts on the entry's usage. +// Caveats: +// - Only BigQuery tables have usage stats +// - The usage stats only include BigQuery query jobs +// - The usage stats might be underestimated, e.g. wildcard table references +// are not yet counted in usage computation +// https://cloud.google.com/bigquery/docs/querying-wildcard-tables +message UsageStats { + // The number of times that the underlying entry was successfully used. + float total_completions = 1; + + // The number of times that the underlying entry was attempted to be used + // but failed. + float total_failures = 2; + + // The number of times that the underlying entry was attempted to be used + // but was cancelled by the user. + float total_cancellations = 3; + + // Total time spent (in milliseconds) during uses the resulted in completions. + float total_execution_time_for_completions_millis = 4; +} + +// The set of all usage signals that we store in Data Catalog. +message UsageSignal { + // The timestamp of the end of the usage statistics duration. + google.protobuf.Timestamp update_time = 1; + + // Usage statistics over each of the pre-defined time ranges, supported + // strings for time ranges are {"24H", "7D", "30D"}. + map usage_within_time_range = 2; +} diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/create/SyncCreateSetCredentialsProvider.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/create/SyncCreateSetEndpoint.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/AsyncCreateEntry.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/AsyncCreateEntry.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/AsyncCreateEntry.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/AsyncCreateEntry.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/SyncCreateEntry.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/SyncCreateEntry.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/SyncCreateEntry.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/SyncCreateEntry.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/SyncCreateEntryEntrygroupnameStringEntry.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/SyncCreateEntryEntrygroupnameStringEntry.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/SyncCreateEntryEntrygroupnameStringEntry.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/SyncCreateEntryEntrygroupnameStringEntry.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/SyncCreateEntryStringStringEntry.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/SyncCreateEntryStringStringEntry.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/SyncCreateEntryStringStringEntry.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/SyncCreateEntryStringStringEntry.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/AsyncCreateEntryGroup.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/AsyncCreateEntryGroup.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/AsyncCreateEntryGroup.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/AsyncCreateEntryGroup.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/SyncCreateEntryGroup.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/SyncCreateEntryGroup.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/SyncCreateEntryGroup.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/SyncCreateEntryGroup.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/SyncCreateEntryGroupLocationnameStringEntrygroup.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/SyncCreateEntryGroupLocationnameStringEntrygroup.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/SyncCreateEntryGroupLocationnameStringEntrygroup.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/SyncCreateEntryGroupLocationnameStringEntrygroup.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/SyncCreateEntryGroupStringStringEntrygroup.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/SyncCreateEntryGroupStringStringEntrygroup.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/SyncCreateEntryGroupStringStringEntrygroup.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/SyncCreateEntryGroupStringStringEntrygroup.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/AsyncCreateTag.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/AsyncCreateTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/AsyncCreateTag.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/AsyncCreateTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/SyncCreateTag.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/SyncCreateTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/SyncCreateTag.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/SyncCreateTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/SyncCreateTagEntrynameTag.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/SyncCreateTagEntrynameTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/SyncCreateTagEntrynameTag.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/SyncCreateTagEntrynameTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/SyncCreateTagStringTag.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/SyncCreateTagStringTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/SyncCreateTagStringTag.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/SyncCreateTagStringTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/AsyncCreateTagTemplate.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/AsyncCreateTagTemplate.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/AsyncCreateTagTemplate.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/AsyncCreateTagTemplate.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/SyncCreateTagTemplate.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/SyncCreateTagTemplate.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/SyncCreateTagTemplate.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/SyncCreateTagTemplate.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/SyncCreateTagTemplateLocationnameStringTagtemplate.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/SyncCreateTagTemplateLocationnameStringTagtemplate.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/SyncCreateTagTemplateLocationnameStringTagtemplate.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/SyncCreateTagTemplateLocationnameStringTagtemplate.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/SyncCreateTagTemplateStringStringTagtemplate.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/SyncCreateTagTemplateStringStringTagtemplate.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/SyncCreateTagTemplateStringStringTagtemplate.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/SyncCreateTagTemplateStringStringTagtemplate.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/AsyncCreateTagTemplateField.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/AsyncCreateTagTemplateField.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/AsyncCreateTagTemplateField.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/AsyncCreateTagTemplateField.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateField.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateField.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateField.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateField.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldStringStringTagtemplatefield.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldStringStringTagtemplatefield.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldStringStringTagtemplatefield.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldStringStringTagtemplatefield.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldTagtemplatenameStringTagtemplatefield.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldTagtemplatenameStringTagtemplatefield.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldTagtemplatenameStringTagtemplatefield.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldTagtemplatenameStringTagtemplatefield.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/AsyncDeleteEntry.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/AsyncDeleteEntry.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/AsyncDeleteEntry.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/AsyncDeleteEntry.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/SyncDeleteEntry.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/SyncDeleteEntry.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/SyncDeleteEntry.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/SyncDeleteEntry.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/SyncDeleteEntryEntryname.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/SyncDeleteEntryEntryname.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/SyncDeleteEntryEntryname.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/SyncDeleteEntryEntryname.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/SyncDeleteEntryString.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/SyncDeleteEntryString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/SyncDeleteEntryString.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/SyncDeleteEntryString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/AsyncDeleteEntryGroup.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/AsyncDeleteEntryGroup.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/AsyncDeleteEntryGroup.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/AsyncDeleteEntryGroup.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/SyncDeleteEntryGroup.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/SyncDeleteEntryGroup.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/SyncDeleteEntryGroup.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/SyncDeleteEntryGroup.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupEntrygroupname.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupEntrygroupname.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupEntrygroupname.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupEntrygroupname.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupString.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupString.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/AsyncDeleteTag.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/AsyncDeleteTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/AsyncDeleteTag.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/AsyncDeleteTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/SyncDeleteTag.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/SyncDeleteTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/SyncDeleteTag.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/SyncDeleteTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/SyncDeleteTagEntryname.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/SyncDeleteTagEntryname.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/SyncDeleteTagEntryname.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/SyncDeleteTagEntryname.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/SyncDeleteTagString.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/SyncDeleteTagString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/SyncDeleteTagString.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/SyncDeleteTagString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/AsyncDeleteTagTemplate.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/AsyncDeleteTagTemplate.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/AsyncDeleteTagTemplate.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/AsyncDeleteTagTemplate.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/SyncDeleteTagTemplate.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/SyncDeleteTagTemplate.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/SyncDeleteTagTemplate.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/SyncDeleteTagTemplate.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateStringBoolean.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateStringBoolean.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateStringBoolean.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateStringBoolean.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateTagtemplatenameBoolean.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateTagtemplatenameBoolean.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateTagtemplatenameBoolean.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateTagtemplatenameBoolean.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/AsyncDeleteTagTemplateField.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/AsyncDeleteTagTemplateField.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/AsyncDeleteTagTemplateField.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/AsyncDeleteTagTemplateField.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateField.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateField.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateField.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateField.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldStringBoolean.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldStringBoolean.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldStringBoolean.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldStringBoolean.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldTagtemplatefieldnameBoolean.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldTagtemplatefieldnameBoolean.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldTagtemplatefieldnameBoolean.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldTagtemplatefieldnameBoolean.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/AsyncGetEntry.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/AsyncGetEntry.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/AsyncGetEntry.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/AsyncGetEntry.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/SyncGetEntry.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/SyncGetEntry.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/SyncGetEntry.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/SyncGetEntry.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/SyncGetEntryEntryname.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/SyncGetEntryEntryname.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/SyncGetEntryEntryname.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/SyncGetEntryEntryname.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/SyncGetEntryString.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/SyncGetEntryString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/SyncGetEntryString.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/SyncGetEntryString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/AsyncGetEntryGroup.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/AsyncGetEntryGroup.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/AsyncGetEntryGroup.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/AsyncGetEntryGroup.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroup.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroup.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroup.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroup.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupname.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupname.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupname.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupname.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupnameFieldmask.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupnameFieldmask.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupnameFieldmask.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupnameFieldmask.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupString.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupString.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupStringFieldmask.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupStringFieldmask.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupStringFieldmask.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupStringFieldmask.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/AsyncGetIamPolicy.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/AsyncGetIamPolicy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/AsyncGetIamPolicy.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/AsyncGetIamPolicy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/SyncGetIamPolicy.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/SyncGetIamPolicy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/SyncGetIamPolicy.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/SyncGetIamPolicy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/SyncGetIamPolicyResourcename.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/SyncGetIamPolicyResourcename.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/SyncGetIamPolicyResourcename.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/SyncGetIamPolicyResourcename.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/SyncGetIamPolicyString.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/SyncGetIamPolicyString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/SyncGetIamPolicyString.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/SyncGetIamPolicyString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/AsyncGetTagTemplate.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/AsyncGetTagTemplate.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/AsyncGetTagTemplate.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/AsyncGetTagTemplate.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/SyncGetTagTemplate.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/SyncGetTagTemplate.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/SyncGetTagTemplate.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/SyncGetTagTemplate.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/SyncGetTagTemplateString.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/SyncGetTagTemplateString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/SyncGetTagTemplateString.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/SyncGetTagTemplateString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/SyncGetTagTemplateTagtemplatename.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/SyncGetTagTemplateTagtemplatename.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/SyncGetTagTemplateTagtemplatename.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/SyncGetTagTemplateTagtemplatename.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/AsyncListEntries.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/AsyncListEntries.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/AsyncListEntries.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/AsyncListEntries.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/AsyncListEntriesPaged.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/AsyncListEntriesPaged.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/AsyncListEntriesPaged.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/AsyncListEntriesPaged.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/SyncListEntries.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/SyncListEntries.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/SyncListEntries.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/SyncListEntries.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/SyncListEntriesEntrygroupname.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/SyncListEntriesEntrygroupname.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/SyncListEntriesEntrygroupname.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/SyncListEntriesEntrygroupname.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/SyncListEntriesString.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/SyncListEntriesString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/SyncListEntriesString.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/SyncListEntriesString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/AsyncListEntryGroups.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/AsyncListEntryGroups.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/AsyncListEntryGroups.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/AsyncListEntryGroups.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/AsyncListEntryGroupsPaged.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/AsyncListEntryGroupsPaged.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/AsyncListEntryGroupsPaged.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/AsyncListEntryGroupsPaged.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/SyncListEntryGroups.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/SyncListEntryGroups.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/SyncListEntryGroups.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/SyncListEntryGroups.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/SyncListEntryGroupsLocationname.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/SyncListEntryGroupsLocationname.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/SyncListEntryGroupsLocationname.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/SyncListEntryGroupsLocationname.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/SyncListEntryGroupsString.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/SyncListEntryGroupsString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/SyncListEntryGroupsString.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/SyncListEntryGroupsString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/AsyncListTags.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/AsyncListTags.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/AsyncListTags.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/AsyncListTags.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/AsyncListTagsPaged.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/AsyncListTagsPaged.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/AsyncListTagsPaged.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/AsyncListTagsPaged.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/SyncListTags.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/SyncListTags.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/SyncListTags.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/SyncListTags.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/SyncListTagsEntryname.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/SyncListTagsEntryname.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/SyncListTagsEntryname.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/SyncListTagsEntryname.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/SyncListTagsString.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/SyncListTagsString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/SyncListTagsString.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/SyncListTagsString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/lookupentry/AsyncLookupEntry.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/lookupentry/AsyncLookupEntry.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/lookupentry/AsyncLookupEntry.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/lookupentry/AsyncLookupEntry.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/lookupentry/SyncLookupEntry.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/lookupentry/SyncLookupEntry.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/lookupentry/SyncLookupEntry.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/lookupentry/SyncLookupEntry.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/AsyncRenameTagTemplateField.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/AsyncRenameTagTemplateField.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/AsyncRenameTagTemplateField.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/AsyncRenameTagTemplateField.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateField.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateField.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateField.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateField.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldStringString.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldStringString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldStringString.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldStringString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldTagtemplatefieldnameString.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldTagtemplatefieldnameString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldTagtemplatefieldnameString.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldTagtemplatefieldnameString.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/AsyncRenameTagTemplateFieldEnumValue.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/AsyncRenameTagTemplateFieldEnumValue.java new file mode 100644 index 000000000000..2370f1e8ee22 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/AsyncRenameTagTemplateFieldEnumValue.java @@ -0,0 +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. + */ + +package com.google.cloud.datacatalog.v1beta1.samples; + +// [START datacatalog_v1beta1_generated_DataCatalog_RenameTagTemplateFieldEnumValue_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.datacatalog.v1beta1.DataCatalogClient; +import com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest; +import com.google.cloud.datacatalog.v1beta1.TagTemplateField; +import com.google.cloud.datacatalog.v1beta1.TagTemplateFieldEnumValueName; + +public class AsyncRenameTagTemplateFieldEnumValue { + + public static void main(String[] args) throws Exception { + asyncRenameTagTemplateFieldEnumValue(); + } + + public static void asyncRenameTagTemplateFieldEnumValue() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { + RenameTagTemplateFieldEnumValueRequest request = + RenameTagTemplateFieldEnumValueRequest.newBuilder() + .setName( + TagTemplateFieldEnumValueName.of( + "[PROJECT]", + "[LOCATION]", + "[TAG_TEMPLATE]", + "[TAG_TEMPLATE_FIELD_ID]", + "[ENUM_VALUE_DISPLAY_NAME]") + .toString()) + .setNewEnumValueDisplayName("newEnumValueDisplayName-1119629027") + .build(); + ApiFuture future = + dataCatalogClient.renameTagTemplateFieldEnumValueCallable().futureCall(request); + // Do something. + TagTemplateField response = future.get(); + } + } +} +// [END datacatalog_v1beta1_generated_DataCatalog_RenameTagTemplateFieldEnumValue_async] diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValue.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValue.java new file mode 100644 index 000000000000..7bd553654841 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValue.java @@ -0,0 +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. + */ + +package com.google.cloud.datacatalog.v1beta1.samples; + +// [START datacatalog_v1beta1_generated_DataCatalog_RenameTagTemplateFieldEnumValue_sync] +import com.google.cloud.datacatalog.v1beta1.DataCatalogClient; +import com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest; +import com.google.cloud.datacatalog.v1beta1.TagTemplateField; +import com.google.cloud.datacatalog.v1beta1.TagTemplateFieldEnumValueName; + +public class SyncRenameTagTemplateFieldEnumValue { + + public static void main(String[] args) throws Exception { + syncRenameTagTemplateFieldEnumValue(); + } + + public static void syncRenameTagTemplateFieldEnumValue() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { + RenameTagTemplateFieldEnumValueRequest request = + RenameTagTemplateFieldEnumValueRequest.newBuilder() + .setName( + TagTemplateFieldEnumValueName.of( + "[PROJECT]", + "[LOCATION]", + "[TAG_TEMPLATE]", + "[TAG_TEMPLATE_FIELD_ID]", + "[ENUM_VALUE_DISPLAY_NAME]") + .toString()) + .setNewEnumValueDisplayName("newEnumValueDisplayName-1119629027") + .build(); + TagTemplateField response = dataCatalogClient.renameTagTemplateFieldEnumValue(request); + } + } +} +// [END datacatalog_v1beta1_generated_DataCatalog_RenameTagTemplateFieldEnumValue_sync] diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueStringString.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueStringString.java new file mode 100644 index 000000000000..290e04e8da6c --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueStringString.java @@ -0,0 +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. + */ + +package com.google.cloud.datacatalog.v1beta1.samples; + +// [START datacatalog_v1beta1_generated_DataCatalog_RenameTagTemplateFieldEnumValue_StringString_sync] +import com.google.cloud.datacatalog.v1beta1.DataCatalogClient; +import com.google.cloud.datacatalog.v1beta1.TagTemplateField; +import com.google.cloud.datacatalog.v1beta1.TagTemplateFieldEnumValueName; + +public class SyncRenameTagTemplateFieldEnumValueStringString { + + public static void main(String[] args) throws Exception { + syncRenameTagTemplateFieldEnumValueStringString(); + } + + public static void syncRenameTagTemplateFieldEnumValueStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { + String name = + TagTemplateFieldEnumValueName.of( + "[PROJECT]", + "[LOCATION]", + "[TAG_TEMPLATE]", + "[TAG_TEMPLATE_FIELD_ID]", + "[ENUM_VALUE_DISPLAY_NAME]") + .toString(); + String newEnumValueDisplayName = "newEnumValueDisplayName-1119629027"; + TagTemplateField response = + dataCatalogClient.renameTagTemplateFieldEnumValue(name, newEnumValueDisplayName); + } + } +} +// [END datacatalog_v1beta1_generated_DataCatalog_RenameTagTemplateFieldEnumValue_StringString_sync] diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString.java new file mode 100644 index 000000000000..b01c5d445e05 --- /dev/null +++ b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString.java @@ -0,0 +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. + */ + +package com.google.cloud.datacatalog.v1beta1.samples; + +// [START datacatalog_v1beta1_generated_DataCatalog_RenameTagTemplateFieldEnumValue_TagtemplatefieldenumvaluenameString_sync] +import com.google.cloud.datacatalog.v1beta1.DataCatalogClient; +import com.google.cloud.datacatalog.v1beta1.TagTemplateField; +import com.google.cloud.datacatalog.v1beta1.TagTemplateFieldEnumValueName; + +public class SyncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString { + + public static void main(String[] args) throws Exception { + syncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString(); + } + + public static void syncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString() + throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { + TagTemplateFieldEnumValueName name = + TagTemplateFieldEnumValueName.of( + "[PROJECT]", + "[LOCATION]", + "[TAG_TEMPLATE]", + "[TAG_TEMPLATE_FIELD_ID]", + "[ENUM_VALUE_DISPLAY_NAME]"); + String newEnumValueDisplayName = "newEnumValueDisplayName-1119629027"; + TagTemplateField response = + dataCatalogClient.renameTagTemplateFieldEnumValue(name, newEnumValueDisplayName); + } + } +} +// [END datacatalog_v1beta1_generated_DataCatalog_RenameTagTemplateFieldEnumValue_TagtemplatefieldenumvaluenameString_sync] diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/AsyncSearchCatalog.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/AsyncSearchCatalog.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/AsyncSearchCatalog.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/AsyncSearchCatalog.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/AsyncSearchCatalogPaged.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/AsyncSearchCatalogPaged.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/AsyncSearchCatalogPaged.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/AsyncSearchCatalogPaged.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/SyncSearchCatalog.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/SyncSearchCatalog.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/SyncSearchCatalog.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/SyncSearchCatalog.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/SyncSearchCatalogSearchcatalogrequestscopeString.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/SyncSearchCatalogSearchcatalogrequestscopeString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/SyncSearchCatalogSearchcatalogrequestscopeString.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/SyncSearchCatalogSearchcatalogrequestscopeString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/AsyncSetIamPolicy.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/AsyncSetIamPolicy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/AsyncSetIamPolicy.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/AsyncSetIamPolicy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/SyncSetIamPolicy.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/SyncSetIamPolicy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/SyncSetIamPolicy.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/SyncSetIamPolicy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/SyncSetIamPolicyStringPolicy.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/SyncSetIamPolicyStringPolicy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/SyncSetIamPolicyStringPolicy.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/SyncSetIamPolicyStringPolicy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/testiampermissions/AsyncTestIamPermissions.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/testiampermissions/AsyncTestIamPermissions.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/testiampermissions/AsyncTestIamPermissions.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/testiampermissions/AsyncTestIamPermissions.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/testiampermissions/SyncTestIamPermissions.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/testiampermissions/SyncTestIamPermissions.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/testiampermissions/SyncTestIamPermissions.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/testiampermissions/SyncTestIamPermissions.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/AsyncUpdateEntry.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/AsyncUpdateEntry.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/AsyncUpdateEntry.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/AsyncUpdateEntry.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/SyncUpdateEntry.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/SyncUpdateEntry.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/SyncUpdateEntry.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/SyncUpdateEntry.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/SyncUpdateEntryEntry.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/SyncUpdateEntryEntry.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/SyncUpdateEntryEntry.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/SyncUpdateEntryEntry.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/SyncUpdateEntryEntryFieldmask.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/SyncUpdateEntryEntryFieldmask.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/SyncUpdateEntryEntryFieldmask.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/SyncUpdateEntryEntryFieldmask.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/AsyncUpdateEntryGroup.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/AsyncUpdateEntryGroup.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/AsyncUpdateEntryGroup.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/AsyncUpdateEntryGroup.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/SyncUpdateEntryGroup.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/SyncUpdateEntryGroup.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/SyncUpdateEntryGroup.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/SyncUpdateEntryGroup.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroup.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroup.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroup.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroup.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroupFieldmask.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroupFieldmask.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroupFieldmask.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroupFieldmask.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/AsyncUpdateTag.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/AsyncUpdateTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/AsyncUpdateTag.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/AsyncUpdateTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/SyncUpdateTag.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/SyncUpdateTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/SyncUpdateTag.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/SyncUpdateTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/SyncUpdateTagTag.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/SyncUpdateTagTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/SyncUpdateTagTag.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/SyncUpdateTagTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/SyncUpdateTagTagFieldmask.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/SyncUpdateTagTagFieldmask.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/SyncUpdateTagTagFieldmask.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/SyncUpdateTagTagFieldmask.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/AsyncUpdateTagTemplate.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/AsyncUpdateTagTemplate.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/AsyncUpdateTagTemplate.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/AsyncUpdateTagTemplate.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/SyncUpdateTagTemplate.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/SyncUpdateTagTemplate.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/SyncUpdateTagTemplate.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/SyncUpdateTagTemplate.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplate.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplate.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplate.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplate.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplateFieldmask.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplateFieldmask.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplateFieldmask.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplateFieldmask.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/AsyncUpdateTagTemplateField.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/AsyncUpdateTagTemplateField.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/AsyncUpdateTagTemplateField.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/AsyncUpdateTagTemplateField.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateField.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateField.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateField.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateField.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefield.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefield.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefield.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefield.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefieldFieldmask.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefieldFieldmask.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefieldFieldmask.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefieldFieldmask.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefield.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefield.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefield.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefield.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefieldFieldmask.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefieldFieldmask.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefieldFieldmask.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefieldFieldmask.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogsettings/createentrygroup/SyncCreateEntryGroup.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogsettings/createentrygroup/SyncCreateEntryGroup.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogsettings/createentrygroup/SyncCreateEntryGroup.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogsettings/createentrygroup/SyncCreateEntryGroup.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/create/SyncCreateSetCredentialsProvider.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/create/SyncCreateSetEndpoint.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/AsyncCreatePolicyTag.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/AsyncCreatePolicyTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/AsyncCreatePolicyTag.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/AsyncCreatePolicyTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/SyncCreatePolicyTag.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/SyncCreatePolicyTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/SyncCreatePolicyTag.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/SyncCreatePolicyTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/SyncCreatePolicyTagStringPolicytag.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/SyncCreatePolicyTagStringPolicytag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/SyncCreatePolicyTagStringPolicytag.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/SyncCreatePolicyTagStringPolicytag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/SyncCreatePolicyTagTaxonomynamePolicytag.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/SyncCreatePolicyTagTaxonomynamePolicytag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/SyncCreatePolicyTagTaxonomynamePolicytag.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/SyncCreatePolicyTagTaxonomynamePolicytag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/AsyncCreateTaxonomy.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/AsyncCreateTaxonomy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/AsyncCreateTaxonomy.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/AsyncCreateTaxonomy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/SyncCreateTaxonomy.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/SyncCreateTaxonomy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/SyncCreateTaxonomy.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/SyncCreateTaxonomy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/SyncCreateTaxonomyLocationnameTaxonomy.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/SyncCreateTaxonomyLocationnameTaxonomy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/SyncCreateTaxonomyLocationnameTaxonomy.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/SyncCreateTaxonomyLocationnameTaxonomy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/SyncCreateTaxonomyStringTaxonomy.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/SyncCreateTaxonomyStringTaxonomy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/SyncCreateTaxonomyStringTaxonomy.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/SyncCreateTaxonomyStringTaxonomy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/AsyncDeletePolicyTag.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/AsyncDeletePolicyTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/AsyncDeletePolicyTag.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/AsyncDeletePolicyTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/SyncDeletePolicyTag.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/SyncDeletePolicyTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/SyncDeletePolicyTag.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/SyncDeletePolicyTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/SyncDeletePolicyTagPolicytagname.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/SyncDeletePolicyTagPolicytagname.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/SyncDeletePolicyTagPolicytagname.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/SyncDeletePolicyTagPolicytagname.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/SyncDeletePolicyTagString.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/SyncDeletePolicyTagString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/SyncDeletePolicyTagString.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/SyncDeletePolicyTagString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/AsyncDeleteTaxonomy.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/AsyncDeleteTaxonomy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/AsyncDeleteTaxonomy.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/AsyncDeleteTaxonomy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomy.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomy.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyString.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyString.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyTaxonomyname.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyTaxonomyname.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyTaxonomyname.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyTaxonomyname.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getiampolicy/AsyncGetIamPolicy.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getiampolicy/AsyncGetIamPolicy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getiampolicy/AsyncGetIamPolicy.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getiampolicy/AsyncGetIamPolicy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getiampolicy/SyncGetIamPolicy.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getiampolicy/SyncGetIamPolicy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getiampolicy/SyncGetIamPolicy.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getiampolicy/SyncGetIamPolicy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/AsyncGetPolicyTag.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/AsyncGetPolicyTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/AsyncGetPolicyTag.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/AsyncGetPolicyTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/SyncGetPolicyTag.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/SyncGetPolicyTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/SyncGetPolicyTag.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/SyncGetPolicyTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/SyncGetPolicyTagPolicytagname.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/SyncGetPolicyTagPolicytagname.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/SyncGetPolicyTagPolicytagname.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/SyncGetPolicyTagPolicytagname.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/SyncGetPolicyTagString.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/SyncGetPolicyTagString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/SyncGetPolicyTagString.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/SyncGetPolicyTagString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/AsyncGetTaxonomy.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/AsyncGetTaxonomy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/AsyncGetTaxonomy.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/AsyncGetTaxonomy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/SyncGetTaxonomy.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/SyncGetTaxonomy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/SyncGetTaxonomy.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/SyncGetTaxonomy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/SyncGetTaxonomyString.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/SyncGetTaxonomyString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/SyncGetTaxonomyString.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/SyncGetTaxonomyString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/SyncGetTaxonomyTaxonomyname.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/SyncGetTaxonomyTaxonomyname.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/SyncGetTaxonomyTaxonomyname.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/SyncGetTaxonomyTaxonomyname.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/AsyncListPolicyTags.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/AsyncListPolicyTags.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/AsyncListPolicyTags.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/AsyncListPolicyTags.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/AsyncListPolicyTagsPaged.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/AsyncListPolicyTagsPaged.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/AsyncListPolicyTagsPaged.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/AsyncListPolicyTagsPaged.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/SyncListPolicyTags.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/SyncListPolicyTags.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/SyncListPolicyTags.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/SyncListPolicyTags.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/SyncListPolicyTagsString.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/SyncListPolicyTagsString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/SyncListPolicyTagsString.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/SyncListPolicyTagsString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/SyncListPolicyTagsTaxonomyname.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/SyncListPolicyTagsTaxonomyname.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/SyncListPolicyTagsTaxonomyname.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/SyncListPolicyTagsTaxonomyname.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomies.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomies.java similarity index 98% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomies.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomies.java index 228721fb5def..974b00838e6a 100644 --- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomies.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomies.java @@ -41,6 +41,7 @@ public static void asyncListTaxonomies() throws Exception { .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setPageSize(883849137) .setPageToken("pageToken873572522") + .setFilter("filter-1274492040") .build(); ApiFuture future = policyTagManagerClient.listTaxonomiesPagedCallable().futureCall(request); diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomiesPaged.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomiesPaged.java similarity index 98% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomiesPaged.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomiesPaged.java index 993af2b43d88..7834c30f77e4 100644 --- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomiesPaged.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomiesPaged.java @@ -42,6 +42,7 @@ public static void asyncListTaxonomiesPaged() throws Exception { .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setPageSize(883849137) .setPageToken("pageToken873572522") + .setFilter("filter-1274492040") .build(); while (true) { ListTaxonomiesResponse response = diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomies.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomies.java similarity index 97% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomies.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomies.java index db325c7abf66..c45815e28d00 100644 --- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomies.java +++ b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomies.java @@ -40,6 +40,7 @@ public static void syncListTaxonomies() throws Exception { .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setPageSize(883849137) .setPageToken("pageToken873572522") + .setFilter("filter-1274492040") .build(); for (Taxonomy element : policyTagManagerClient.listTaxonomies(request).iterateAll()) { // doThingsWith(element); diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomiesLocationname.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomiesLocationname.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomiesLocationname.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomiesLocationname.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomiesString.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomiesString.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomiesString.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomiesString.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/setiampolicy/AsyncSetIamPolicy.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/setiampolicy/AsyncSetIamPolicy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/setiampolicy/AsyncSetIamPolicy.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/setiampolicy/AsyncSetIamPolicy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/setiampolicy/SyncSetIamPolicy.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/setiampolicy/SyncSetIamPolicy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/setiampolicy/SyncSetIamPolicy.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/setiampolicy/SyncSetIamPolicy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/testiampermissions/AsyncTestIamPermissions.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/testiampermissions/AsyncTestIamPermissions.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/testiampermissions/AsyncTestIamPermissions.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/testiampermissions/AsyncTestIamPermissions.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/testiampermissions/SyncTestIamPermissions.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/testiampermissions/SyncTestIamPermissions.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/testiampermissions/SyncTestIamPermissions.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/testiampermissions/SyncTestIamPermissions.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatepolicytag/AsyncUpdatePolicyTag.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatepolicytag/AsyncUpdatePolicyTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatepolicytag/AsyncUpdatePolicyTag.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatepolicytag/AsyncUpdatePolicyTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatepolicytag/SyncUpdatePolicyTag.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatepolicytag/SyncUpdatePolicyTag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatepolicytag/SyncUpdatePolicyTag.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatepolicytag/SyncUpdatePolicyTag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatepolicytag/SyncUpdatePolicyTagPolicytag.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatepolicytag/SyncUpdatePolicyTagPolicytag.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatepolicytag/SyncUpdatePolicyTagPolicytag.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatepolicytag/SyncUpdatePolicyTagPolicytag.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatetaxonomy/AsyncUpdateTaxonomy.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatetaxonomy/AsyncUpdateTaxonomy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatetaxonomy/AsyncUpdateTaxonomy.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatetaxonomy/AsyncUpdateTaxonomy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomy.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomy.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomyTaxonomy.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomyTaxonomy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomyTaxonomy.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomyTaxonomy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/create/SyncCreateSetEndpoint.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/exporttaxonomies/AsyncExportTaxonomies.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/exporttaxonomies/AsyncExportTaxonomies.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/exporttaxonomies/AsyncExportTaxonomies.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/exporttaxonomies/AsyncExportTaxonomies.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/exporttaxonomies/SyncExportTaxonomies.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/exporttaxonomies/SyncExportTaxonomies.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/exporttaxonomies/SyncExportTaxonomies.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/exporttaxonomies/SyncExportTaxonomies.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/importtaxonomies/AsyncImportTaxonomies.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/importtaxonomies/AsyncImportTaxonomies.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/importtaxonomies/AsyncImportTaxonomies.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/importtaxonomies/AsyncImportTaxonomies.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/importtaxonomies/SyncImportTaxonomies.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/importtaxonomies/SyncImportTaxonomies.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/importtaxonomies/SyncImportTaxonomies.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/importtaxonomies/SyncImportTaxonomies.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationsettings/importtaxonomies/SyncImportTaxonomies.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationsettings/importtaxonomies/SyncImportTaxonomies.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationsettings/importtaxonomies/SyncImportTaxonomies.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationsettings/importtaxonomies/SyncImportTaxonomies.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagersettings/createtaxonomy/SyncCreateTaxonomy.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagersettings/createtaxonomy/SyncCreateTaxonomy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagersettings/createtaxonomy/SyncCreateTaxonomy.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagersettings/createtaxonomy/SyncCreateTaxonomy.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/datacatalogstubsettings/createentrygroup/SyncCreateEntryGroup.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/datacatalogstubsettings/createentrygroup/SyncCreateEntryGroup.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/datacatalogstubsettings/createentrygroup/SyncCreateEntryGroup.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/datacatalogstubsettings/createentrygroup/SyncCreateEntryGroup.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/policytagmanagerserializationstubsettings/importtaxonomies/SyncImportTaxonomies.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/policytagmanagerserializationstubsettings/importtaxonomies/SyncImportTaxonomies.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/policytagmanagerserializationstubsettings/importtaxonomies/SyncImportTaxonomies.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/policytagmanagerserializationstubsettings/importtaxonomies/SyncImportTaxonomies.java diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/policytagmanagerstubsettings/createtaxonomy/SyncCreateTaxonomy.java b/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/policytagmanagerstubsettings/createtaxonomy/SyncCreateTaxonomy.java similarity index 100% rename from java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/policytagmanagerstubsettings/createtaxonomy/SyncCreateTaxonomy.java rename to owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/policytagmanagerstubsettings/createtaxonomy/SyncCreateTaxonomy.java From 925371fa3214bc08403cac9f4fba3f2d0c782368 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 5 Jul 2023 20:18:43 +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 --- java-datacatalog/README.md | 4 +- .../datacatalog/v1/DataCatalogClient.java | 0 .../datacatalog/v1/DataCatalogSettings.java | 1 - .../v1/PolicyTagManagerClient.java | 0 .../PolicyTagManagerSerializationClient.java | 0 ...PolicyTagManagerSerializationSettings.java | 1 - .../v1/PolicyTagManagerSettings.java | 1 - .../cloud/datacatalog/v1/gapic_metadata.json | 0 .../cloud/datacatalog/v1/package-info.java | 0 .../datacatalog/v1/stub/DataCatalogStub.java | 0 .../v1/stub/DataCatalogStubSettings.java | 0 .../stub/GrpcDataCatalogCallableFactory.java | 0 .../v1/stub/GrpcDataCatalogStub.java | 1 - .../GrpcPolicyTagManagerCallableFactory.java | 0 ...agManagerSerializationCallableFactory.java | 0 ...GrpcPolicyTagManagerSerializationStub.java | 1 - .../v1/stub/GrpcPolicyTagManagerStub.java | 1 - .../HttpJsonDataCatalogCallableFactory.java | 0 .../v1/stub/HttpJsonDataCatalogStub.java | 1 - ...tpJsonPolicyTagManagerCallableFactory.java | 0 ...agManagerSerializationCallableFactory.java | 0 ...JsonPolicyTagManagerSerializationStub.java | 0 .../v1/stub/HttpJsonPolicyTagManagerStub.java | 0 .../PolicyTagManagerSerializationStub.java | 0 ...cyTagManagerSerializationStubSettings.java | 0 .../v1/stub/PolicyTagManagerStub.java | 0 .../v1/stub/PolicyTagManagerStubSettings.java | 0 .../v1beta1/DataCatalogClient.java | 0 .../v1beta1/DataCatalogSettings.java | 1 - .../v1beta1/PolicyTagManagerClient.java | 0 .../PolicyTagManagerSerializationClient.java | 0 ...PolicyTagManagerSerializationSettings.java | 1 - .../v1beta1/PolicyTagManagerSettings.java | 1 - .../datacatalog/v1beta1/gapic_metadata.json | 0 .../datacatalog/v1beta1/package-info.java | 0 .../v1beta1/stub/DataCatalogStub.java | 0 .../v1beta1/stub/DataCatalogStubSettings.java | 0 .../stub/GrpcDataCatalogCallableFactory.java | 0 .../v1beta1/stub/GrpcDataCatalogStub.java | 1 - .../GrpcPolicyTagManagerCallableFactory.java | 0 ...agManagerSerializationCallableFactory.java | 0 ...GrpcPolicyTagManagerSerializationStub.java | 1 - .../stub/GrpcPolicyTagManagerStub.java | 1 - .../HttpJsonDataCatalogCallableFactory.java | 0 .../v1beta1/stub/HttpJsonDataCatalogStub.java | 0 ...tpJsonPolicyTagManagerCallableFactory.java | 0 ...agManagerSerializationCallableFactory.java | 0 ...JsonPolicyTagManagerSerializationStub.java | 0 .../stub/HttpJsonPolicyTagManagerStub.java | 0 .../PolicyTagManagerSerializationStub.java | 0 ...cyTagManagerSerializationStubSettings.java | 0 .../v1beta1/stub/PolicyTagManagerStub.java | 0 .../stub/PolicyTagManagerStubSettings.java | 0 .../v1/DataCatalogClientHttpJsonTest.java | 0 .../datacatalog/v1/DataCatalogClientTest.java | 0 .../cloud/datacatalog/v1/MockDataCatalog.java | 0 .../datacatalog/v1/MockDataCatalogImpl.java | 0 .../cloud/datacatalog/v1/MockIAMPolicy.java | 0 .../datacatalog/v1/MockIAMPolicyImpl.java | 0 .../datacatalog/v1/MockPolicyTagManager.java | 0 .../v1/MockPolicyTagManagerImpl.java | 0 .../v1/MockPolicyTagManagerSerialization.java | 0 ...MockPolicyTagManagerSerializationImpl.java | 0 .../PolicyTagManagerClientHttpJsonTest.java | 0 .../v1/PolicyTagManagerClientTest.java | 0 ...anagerSerializationClientHttpJsonTest.java | 0 ...licyTagManagerSerializationClientTest.java | 0 .../DataCatalogClientHttpJsonTest.java | 0 .../v1beta1/DataCatalogClientTest.java | 0 .../datacatalog/v1beta1/MockDataCatalog.java | 0 .../v1beta1/MockDataCatalogImpl.java | 0 .../datacatalog/v1beta1/MockIAMPolicy.java | 0 .../v1beta1/MockIAMPolicyImpl.java | 0 .../v1beta1/MockPolicyTagManager.java | 0 .../v1beta1/MockPolicyTagManagerImpl.java | 0 .../MockPolicyTagManagerSerialization.java | 0 ...MockPolicyTagManagerSerializationImpl.java | 0 .../PolicyTagManagerClientHttpJsonTest.java | 0 .../v1beta1/PolicyTagManagerClientTest.java | 0 ...anagerSerializationClientHttpJsonTest.java | 0 ...licyTagManagerSerializationClientTest.java | 0 .../cloud/datacatalog/v1/DataCatalogGrpc.java | 3317 +++++++++----- .../datacatalog/v1/PolicyTagManagerGrpc.java | 1825 ++++++++ .../v1/PolicyTagManagerSerializationGrpc.java | 437 +- .../datacatalog/v1beta1/DataCatalogGrpc.java | 4019 +++++++++++++++++ .../v1beta1/PolicyTagManagerGrpc.java | 1792 ++++++++ .../PolicyTagManagerSerializationGrpc.java | 338 +- .../v1/BigQueryConnectionSpec.java | 594 ++- .../v1/BigQueryConnectionSpecOrBuilder.java | 41 +- .../v1/BigQueryDateShardedSpec.java | 530 ++- .../v1/BigQueryDateShardedSpecOrBuilder.java | 56 +- .../cloud/datacatalog/v1/BigQueryProto.java | 110 + .../datacatalog/v1/BigQueryRoutineSpec.java | 355 +- .../v1/BigQueryRoutineSpecOrBuilder.java | 36 +- .../datacatalog/v1/BigQueryTableSpec.java | 562 ++- .../v1/BigQueryTableSpecOrBuilder.java | 48 +- .../cloud/datacatalog/v1/BusinessContext.java | 439 +- .../v1/BusinessContextOrBuilder.java | 34 +- .../v1/CloudBigtableInstanceSpec.java | 1254 +++-- .../CloudBigtableInstanceSpecOrBuilder.java | 93 + .../v1/CloudBigtableSystemSpec.java | 322 +- .../v1/CloudBigtableSystemSpecOrBuilder.java | 27 +- .../v1/CloudSqlBigQueryConnectionSpec.java | 573 ++- ...oudSqlBigQueryConnectionSpecOrBuilder.java | 42 +- .../cloud/datacatalog/v1/ColumnSchema.java | 1779 +++++--- .../datacatalog/v1/ColumnSchemaOrBuilder.java | 147 +- .../google/cloud/datacatalog/v1/Common.java | 80 + .../datacatalog/v1/CommonUsageStats.java | 290 +- .../v1/CommonUsageStatsOrBuilder.java | 50 + .../google/cloud/datacatalog/v1/Contacts.java | 785 ++-- .../datacatalog/v1/ContactsOrBuilder.java | 36 +- .../v1/CreateEntryGroupRequest.java | 516 ++- .../v1/CreateEntryGroupRequestOrBuilder.java | 52 +- .../datacatalog/v1/CreateEntryRequest.java | 538 ++- .../v1/CreateEntryRequestOrBuilder.java | 61 +- .../v1/CreatePolicyTagRequest.java | 447 +- .../v1/CreatePolicyTagRequestOrBuilder.java | 43 +- .../datacatalog/v1/CreateTagRequest.java | 466 +- .../v1/CreateTagRequestOrBuilder.java | 52 +- .../v1/CreateTagTemplateFieldRequest.java | 580 ++- ...reateTagTemplateFieldRequestOrBuilder.java | 64 +- .../v1/CreateTagTemplateRequest.java | 565 ++- .../v1/CreateTagTemplateRequestOrBuilder.java | 64 +- .../datacatalog/v1/CreateTaxonomyRequest.java | 447 +- .../v1/CreateTaxonomyRequestOrBuilder.java | 43 +- .../datacatalog/v1/CrossRegionalSource.java | 347 +- .../v1/CrossRegionalSourceOrBuilder.java | 54 + .../cloud/datacatalog/v1/DataSource.java | 648 ++- .../v1/DataSourceConnectionSpec.java | 395 +- .../v1/DataSourceConnectionSpecOrBuilder.java | 29 +- .../datacatalog/v1/DataSourceOrBuilder.java | 50 +- .../cloud/datacatalog/v1/DataSourceProto.java | 97 + .../datacatalog/v1/DatabaseTableSpec.java | 1387 ++++-- .../v1/DatabaseTableSpecOrBuilder.java | 64 +- .../cloud/datacatalog/v1/Datacatalog.java | 1403 ++++++ .../datacatalog/v1/DataplexExternalTable.java | 528 ++- .../v1/DataplexExternalTableOrBuilder.java | 51 +- .../datacatalog/v1/DataplexFilesetSpec.java | 345 +- .../v1/DataplexFilesetSpecOrBuilder.java | 26 +- .../cloud/datacatalog/v1/DataplexSpec.java | 550 ++- .../datacatalog/v1/DataplexSpecOrBuilder.java | 53 +- .../datacatalog/v1/DataplexSpecProto.java | 125 + .../datacatalog/v1/DataplexTableSpec.java | 533 ++- .../v1/DataplexTableSpecOrBuilder.java | 44 +- .../v1/DeleteEntryGroupRequest.java | 384 +- .../v1/DeleteEntryGroupRequestOrBuilder.java | 67 + .../datacatalog/v1/DeleteEntryRequest.java | 347 +- .../v1/DeleteEntryRequestOrBuilder.java | 54 + .../v1/DeletePolicyTagRequest.java | 350 +- .../v1/DeletePolicyTagRequestOrBuilder.java | 58 + .../datacatalog/v1/DeleteTagRequest.java | 347 +- .../v1/DeleteTagRequestOrBuilder.java | 54 + .../v1/DeleteTagTemplateFieldRequest.java | 394 +- ...eleteTagTemplateFieldRequestOrBuilder.java | 69 + .../v1/DeleteTagTemplateRequest.java | 384 +- .../v1/DeleteTagTemplateRequestOrBuilder.java | 69 + .../datacatalog/v1/DeleteTaxonomyRequest.java | 350 +- .../v1/DeleteTaxonomyRequestOrBuilder.java | 58 + .../datacatalog/v1/DumpContentProto.java | 101 + .../google/cloud/datacatalog/v1/DumpItem.java | 368 +- .../datacatalog/v1/DumpItemOrBuilder.java | 26 +- .../google/cloud/datacatalog/v1/Entry.java | 3427 +++++++++----- .../cloud/datacatalog/v1/EntryGroup.java | 619 ++- .../cloud/datacatalog/v1/EntryGroupName.java | 0 .../datacatalog/v1/EntryGroupOrBuilder.java | 65 +- .../cloud/datacatalog/v1/EntryName.java | 0 .../cloud/datacatalog/v1/EntryOrBuilder.java | 369 +- .../cloud/datacatalog/v1/EntryOverview.java | 312 +- .../v1/EntryOverviewOrBuilder.java | 27 +- .../cloud/datacatalog/v1/EntryType.java | 171 +- .../v1/ExportTaxonomiesRequest.java | 602 ++- .../v1/ExportTaxonomiesRequestOrBuilder.java | 75 +- .../v1/ExportTaxonomiesResponse.java | 396 +- .../v1/ExportTaxonomiesResponseOrBuilder.java | 36 +- .../cloud/datacatalog/v1/FieldType.java | 1430 +++--- .../datacatalog/v1/FieldTypeOrBuilder.java | 35 +- .../cloud/datacatalog/v1/FilesetSpec.java | 345 +- .../datacatalog/v1/FilesetSpecOrBuilder.java | 26 +- .../cloud/datacatalog/v1/GcsFileSpec.java | 490 +- .../datacatalog/v1/GcsFileSpecOrBuilder.java | 50 +- .../cloud/datacatalog/v1/GcsFilesetSpec.java | 577 ++- .../v1/GcsFilesetSpecOrBuilder.java | 74 +- .../v1/GcsFilesetSpecOuterClass.java | 97 + .../datacatalog/v1/GetEntryGroupRequest.java | 430 +- .../v1/GetEntryGroupRequestOrBuilder.java | 43 +- .../cloud/datacatalog/v1/GetEntryRequest.java | 343 +- .../v1/GetEntryRequestOrBuilder.java | 54 + .../datacatalog/v1/GetPolicyTagRequest.java | 347 +- .../v1/GetPolicyTagRequestOrBuilder.java | 54 + .../datacatalog/v1/GetTagTemplateRequest.java | 350 +- .../v1/GetTagTemplateRequestOrBuilder.java | 54 + .../datacatalog/v1/GetTaxonomyRequest.java | 347 +- .../v1/GetTaxonomyRequestOrBuilder.java | 54 + .../datacatalog/v1/ImportEntriesMetadata.java | 566 ++- .../v1/ImportEntriesMetadataOrBuilder.java | 43 +- .../datacatalog/v1/ImportEntriesRequest.java | 547 ++- .../v1/ImportEntriesRequestOrBuilder.java | 56 +- .../datacatalog/v1/ImportEntriesResponse.java | 333 +- .../v1/ImportEntriesResponseOrBuilder.java | 30 +- .../v1/ImportTaxonomiesRequest.java | 593 ++- .../v1/ImportTaxonomiesRequestOrBuilder.java | 51 +- .../v1/ImportTaxonomiesResponse.java | 414 +- .../v1/ImportTaxonomiesResponseOrBuilder.java | 36 +- .../cloud/datacatalog/v1/InlineSource.java | 475 +- .../datacatalog/v1/InlineSourceOrBuilder.java | 87 + .../datacatalog/v1/IntegratedSystem.java | 124 +- .../datacatalog/v1/ListEntriesRequest.java | 535 ++- .../v1/ListEntriesRequestOrBuilder.java | 55 +- .../datacatalog/v1/ListEntriesResponse.java | 479 +- .../v1/ListEntriesResponseOrBuilder.java | 45 +- .../v1/ListEntryGroupsRequest.java | 453 +- .../v1/ListEntryGroupsRequestOrBuilder.java | 47 +- .../v1/ListEntryGroupsResponse.java | 483 +- .../v1/ListEntryGroupsResponseOrBuilder.java | 45 +- .../datacatalog/v1/ListPolicyTagsRequest.java | 453 +- .../v1/ListPolicyTagsRequestOrBuilder.java | 47 +- .../v1/ListPolicyTagsResponse.java | 483 +- .../v1/ListPolicyTagsResponseOrBuilder.java | 45 +- .../cloud/datacatalog/v1/ListTagsRequest.java | 446 +- .../v1/ListTagsRequestOrBuilder.java | 47 +- .../datacatalog/v1/ListTagsResponse.java | 485 +- .../v1/ListTagsResponseOrBuilder.java | 46 +- .../datacatalog/v1/ListTaxonomiesRequest.java | 525 ++- .../v1/ListTaxonomiesRequestOrBuilder.java | 56 +- .../v1/ListTaxonomiesResponse.java | 486 +- .../v1/ListTaxonomiesResponseOrBuilder.java | 45 +- .../cloud/datacatalog/v1/LocationName.java | 0 .../datacatalog/v1/LookerSystemSpec.java | 684 +-- .../v1/LookerSystemSpecOrBuilder.java | 72 +- .../datacatalog/v1/LookupEntryRequest.java | 709 +-- .../v1/LookupEntryRequestOrBuilder.java | 72 +- .../cloud/datacatalog/v1/ManagingSystem.java | 82 +- .../v1/ModifyEntryContactsRequest.java | 495 +- .../ModifyEntryContactsRequestOrBuilder.java | 95 + .../v1/ModifyEntryOverviewRequest.java | 494 +- .../ModifyEntryOverviewRequestOrBuilder.java | 95 + .../cloud/datacatalog/v1/PersonalDetails.java | 363 +- .../v1/PersonalDetailsOrBuilder.java | 29 +- .../cloud/datacatalog/v1/PhysicalSchema.java | 2598 ++++++----- .../v1/PhysicalSchemaOrBuilder.java | 66 +- .../datacatalog/v1/PhysicalSchemaProto.java | 159 + .../cloud/datacatalog/v1/PolicyTag.java | 677 +-- .../datacatalog/v1/PolicyTagManagerProto.java | 408 ++ .../PolicyTagManagerSerializationProto.java | 240 + .../cloud/datacatalog/v1/PolicyTagName.java | 0 .../datacatalog/v1/PolicyTagOrBuilder.java | 84 +- .../datacatalog/v1/ReconcileTagsMetadata.java | 654 +-- .../v1/ReconcileTagsMetadataOrBuilder.java | 54 +- .../datacatalog/v1/ReconcileTagsRequest.java | 647 ++- .../v1/ReconcileTagsRequestOrBuilder.java | 74 +- .../datacatalog/v1/ReconcileTagsResponse.java | 355 +- .../v1/ReconcileTagsResponseOrBuilder.java | 27 +- ...enameTagTemplateFieldEnumValueRequest.java | 479 +- ...emplateFieldEnumValueRequestOrBuilder.java | 44 +- .../v1/RenameTagTemplateFieldRequest.java | 432 +- ...enameTagTemplateFieldRequestOrBuilder.java | 44 +- .../v1/ReplaceTaxonomyRequest.java | 509 ++- .../v1/ReplaceTaxonomyRequestOrBuilder.java | 95 + .../cloud/datacatalog/v1/RoutineSpec.java | 1478 +++--- .../datacatalog/v1/RoutineSpecOrBuilder.java | 74 +- .../google/cloud/datacatalog/v1/Schema.java | 388 +- .../cloud/datacatalog/v1/SchemaOrBuilder.java | 36 +- .../datacatalog/v1/SchemaOuterClass.java | 133 + .../google/cloud/datacatalog/v1/Search.java | 105 + .../datacatalog/v1/SearchCatalogRequest.java | 1489 +++--- .../v1/SearchCatalogRequestOrBuilder.java | 68 +- .../datacatalog/v1/SearchCatalogResponse.java | 606 ++- .../v1/SearchCatalogResponseOrBuilder.java | 66 +- .../datacatalog/v1/SearchCatalogResult.java | 1071 +++-- .../v1/SearchCatalogResultOrBuilder.java | 119 +- .../datacatalog/v1/SearchResultType.java | 89 +- .../datacatalog/v1/SerializedPolicyTag.java | 610 ++- .../v1/SerializedPolicyTagOrBuilder.java | 60 +- .../datacatalog/v1/SerializedTaxonomy.java | 729 +-- .../v1/SerializedTaxonomyOrBuilder.java | 87 +- .../cloud/datacatalog/v1/ServiceSpec.java | 443 +- .../datacatalog/v1/ServiceSpecOrBuilder.java | 38 +- .../datacatalog/v1/SqlDatabaseSystemSpec.java | 466 +- .../v1/SqlDatabaseSystemSpecOrBuilder.java | 45 +- .../datacatalog/v1/StarEntryRequest.java | 347 +- .../v1/StarEntryRequestOrBuilder.java | 54 + .../datacatalog/v1/StarEntryResponse.java | 245 +- .../v1/StarEntryResponseOrBuilder.java | 24 + .../datacatalog/v1/StorageProperties.java | 427 +- .../v1/StoragePropertiesOrBuilder.java | 45 +- .../datacatalog/v1/SystemTimestamps.java | 562 ++- .../v1/SystemTimestampsOrBuilder.java | 51 +- .../cloud/datacatalog/v1/TableSourceType.java | 93 +- .../cloud/datacatalog/v1/TableSpec.java | 340 +- .../datacatalog/v1/TableSpecOrBuilder.java | 35 +- .../datacatalog/v1/TableSpecOuterClass.java | 132 + .../com/google/cloud/datacatalog/v1/Tag.java | 853 ++-- .../google/cloud/datacatalog/v1/TagField.java | 1184 +++-- .../datacatalog/v1/TagFieldOrBuilder.java | 82 +- .../google/cloud/datacatalog/v1/TagName.java | 0 .../cloud/datacatalog/v1/TagOrBuilder.java | 107 +- .../cloud/datacatalog/v1/TagTemplate.java | 713 +-- .../datacatalog/v1/TagTemplateField.java | 667 +-- .../v1/TagTemplateFieldEnumValueName.java | 0 .../datacatalog/v1/TagTemplateFieldName.java | 0 .../v1/TagTemplateFieldOrBuilder.java | 71 +- .../cloud/datacatalog/v1/TagTemplateName.java | 0 .../datacatalog/v1/TagTemplateOrBuilder.java | 89 +- .../cloud/datacatalog/v1/TaggedEntry.java | 873 ++-- .../datacatalog/v1/TaggedEntryOrBuilder.java | 102 +- .../com/google/cloud/datacatalog/v1/Tags.java | 246 + .../google/cloud/datacatalog/v1/Taxonomy.java | 1424 +++--- .../cloud/datacatalog/v1/TaxonomyName.java | 0 .../datacatalog/v1/TaxonomyOrBuilder.java | 126 +- .../cloud/datacatalog/v1/Timestamps.java | 83 + .../datacatalog/v1/UnstarEntryRequest.java | 347 +- .../v1/UnstarEntryRequestOrBuilder.java | 54 + .../datacatalog/v1/UnstarEntryResponse.java | 245 +- .../v1/UnstarEntryResponseOrBuilder.java | 24 + .../v1/UpdateEntryGroupRequest.java | 484 +- .../v1/UpdateEntryGroupRequestOrBuilder.java | 46 +- .../datacatalog/v1/UpdateEntryRequest.java | 458 +- .../v1/UpdateEntryRequestOrBuilder.java | 43 +- .../v1/UpdatePolicyTagRequest.java | 439 +- .../v1/UpdatePolicyTagRequestOrBuilder.java | 34 +- .../datacatalog/v1/UpdateTagRequest.java | 458 +- .../v1/UpdateTagRequestOrBuilder.java | 43 +- .../v1/UpdateTagTemplateFieldRequest.java | 633 ++- ...pdateTagTemplateFieldRequestOrBuilder.java | 72 +- .../v1/UpdateTagTemplateRequest.java | 485 +- .../v1/UpdateTagTemplateRequestOrBuilder.java | 46 +- .../datacatalog/v1/UpdateTaxonomyRequest.java | 439 +- .../v1/UpdateTaxonomyRequestOrBuilder.java | 34 +- .../google/cloud/datacatalog/v1/Usage.java | 152 + .../cloud/datacatalog/v1/UsageSignal.java | 929 ++-- .../datacatalog/v1/UsageSignalOrBuilder.java | 125 +- .../cloud/datacatalog/v1/UsageStats.java | 386 +- .../datacatalog/v1/UsageStatsOrBuilder.java | 30 +- .../google/cloud/datacatalog/v1/ViewSpec.java | 309 +- .../datacatalog/v1/ViewSpecOrBuilder.java | 27 +- .../cloud/datacatalog/v1/bigquery.proto | 0 .../google/cloud/datacatalog/v1/common.proto | 0 .../cloud/datacatalog/v1/data_source.proto | 0 .../cloud/datacatalog/v1/datacatalog.proto | 0 .../cloud/datacatalog/v1/dataplex_spec.proto | 0 .../cloud/datacatalog/v1/dump_content.proto | 0 .../datacatalog/v1/gcs_fileset_spec.proto | 0 .../datacatalog/v1/physical_schema.proto | 0 .../datacatalog/v1/policytagmanager.proto | 0 .../v1/policytagmanagerserialization.proto | 0 .../google/cloud/datacatalog/v1/schema.proto | 0 .../google/cloud/datacatalog/v1/search.proto | 0 .../cloud/datacatalog/v1/table_spec.proto | 0 .../google/cloud/datacatalog/v1/tags.proto | 0 .../cloud/datacatalog/v1/timestamps.proto | 0 .../google/cloud/datacatalog/v1/usage.proto | 0 .../v1beta1/BigQueryDateShardedSpec.java | 466 +- .../BigQueryDateShardedSpecOrBuilder.java | 47 +- .../v1beta1/BigQueryTableSpec.java | 567 ++- .../v1beta1/BigQueryTableSpecOrBuilder.java | 48 +- .../datacatalog/v1beta1/ColumnSchema.java | 774 ++-- .../v1beta1/ColumnSchemaOrBuilder.java | 92 +- .../cloud/datacatalog/v1beta1/Common.java | 58 + .../v1beta1/CreateEntryGroupRequest.java | 527 ++- .../CreateEntryGroupRequestOrBuilder.java | 52 +- .../v1beta1/CreateEntryRequest.java | 567 ++- .../v1beta1/CreateEntryRequestOrBuilder.java | 64 +- .../v1beta1/CreatePolicyTagRequest.java | 444 +- .../CreatePolicyTagRequestOrBuilder.java | 43 +- .../datacatalog/v1beta1/CreateTagRequest.java | 478 +- .../v1beta1/CreateTagRequestOrBuilder.java | 52 +- .../CreateTagTemplateFieldRequest.java | 617 ++- ...reateTagTemplateFieldRequestOrBuilder.java | 64 +- .../v1beta1/CreateTagTemplateRequest.java | 576 ++- .../CreateTagTemplateRequestOrBuilder.java | 64 +- .../v1beta1/CreateTaxonomyRequest.java | 444 +- .../CreateTaxonomyRequestOrBuilder.java | 43 +- .../datacatalog/v1beta1/Datacatalog.java | 833 ++++ .../v1beta1/DeleteEntryGroupRequest.java | 394 +- .../DeleteEntryGroupRequestOrBuilder.java | 69 + .../v1beta1/DeleteEntryRequest.java | 350 +- .../v1beta1/DeleteEntryRequestOrBuilder.java | 58 + .../v1beta1/DeletePolicyTagRequest.java | 350 +- .../DeletePolicyTagRequestOrBuilder.java | 56 + .../datacatalog/v1beta1/DeleteTagRequest.java | 350 +- .../v1beta1/DeleteTagRequestOrBuilder.java | 58 + .../DeleteTagTemplateFieldRequest.java | 419 +- ...eleteTagTemplateFieldRequestOrBuilder.java | 38 +- .../v1beta1/DeleteTagTemplateRequest.java | 394 +- .../DeleteTagTemplateRequestOrBuilder.java | 38 +- .../v1beta1/DeleteTaxonomyRequest.java | 350 +- .../DeleteTaxonomyRequestOrBuilder.java | 56 + .../cloud/datacatalog/v1beta1/Entry.java | 1819 +++++--- .../cloud/datacatalog/v1beta1/EntryGroup.java | 622 ++- .../datacatalog/v1beta1/EntryGroupName.java | 0 .../v1beta1/EntryGroupOrBuilder.java | 68 +- .../cloud/datacatalog/v1beta1/EntryName.java | 0 .../datacatalog/v1beta1/EntryOrBuilder.java | 206 +- .../cloud/datacatalog/v1beta1/EntryType.java | 96 +- .../v1beta1/ExportTaxonomiesRequest.java | 612 ++- .../ExportTaxonomiesRequestOrBuilder.java | 75 +- .../v1beta1/ExportTaxonomiesResponse.java | 422 +- .../ExportTaxonomiesResponseOrBuilder.java | 33 +- .../cloud/datacatalog/v1beta1/FieldType.java | 1415 +++--- .../v1beta1/FieldTypeOrBuilder.java | 35 +- .../datacatalog/v1beta1/GcsFileSpec.java | 503 ++- .../v1beta1/GcsFileSpecOrBuilder.java | 50 +- .../datacatalog/v1beta1/GcsFilesetSpec.java | 594 ++- .../v1beta1/GcsFilesetSpecOrBuilder.java | 71 +- .../v1beta1/GcsFilesetSpecOuterClass.java | 99 + .../v1beta1/GetEntryGroupRequest.java | 433 +- .../GetEntryGroupRequestOrBuilder.java | 43 +- .../datacatalog/v1beta1/GetEntryRequest.java | 347 +- .../v1beta1/GetEntryRequestOrBuilder.java | 58 + .../v1beta1/GetPolicyTagRequest.java | 350 +- .../v1beta1/GetPolicyTagRequestOrBuilder.java | 54 + .../v1beta1/GetTagTemplateRequest.java | 350 +- .../GetTagTemplateRequestOrBuilder.java | 58 + .../v1beta1/GetTaxonomyRequest.java | 350 +- .../v1beta1/GetTaxonomyRequestOrBuilder.java | 54 + .../v1beta1/ImportTaxonomiesRequest.java | 491 +- .../ImportTaxonomiesRequestOrBuilder.java | 43 +- .../v1beta1/ImportTaxonomiesResponse.java | 418 +- .../ImportTaxonomiesResponseOrBuilder.java | 36 +- .../datacatalog/v1beta1/InlineSource.java | 501 +- .../v1beta1/InlineSourceOrBuilder.java | 88 + .../datacatalog/v1beta1/IntegratedSystem.java | 82 +- .../v1beta1/ListEntriesRequest.java | 538 ++- .../v1beta1/ListEntriesRequestOrBuilder.java | 55 +- .../v1beta1/ListEntriesResponse.java | 483 +- .../v1beta1/ListEntriesResponseOrBuilder.java | 45 +- .../v1beta1/ListEntryGroupsRequest.java | 453 +- .../ListEntryGroupsRequestOrBuilder.java | 47 +- .../v1beta1/ListEntryGroupsResponse.java | 476 +- .../ListEntryGroupsResponseOrBuilder.java | 45 +- .../v1beta1/ListPolicyTagsRequest.java | 453 +- .../ListPolicyTagsRequestOrBuilder.java | 47 +- .../v1beta1/ListPolicyTagsResponse.java | 480 +- .../ListPolicyTagsResponseOrBuilder.java | 45 +- .../datacatalog/v1beta1/ListTagsRequest.java | 450 +- .../v1beta1/ListTagsRequestOrBuilder.java | 47 +- .../datacatalog/v1beta1/ListTagsResponse.java | 482 +- .../v1beta1/ListTagsResponseOrBuilder.java | 45 +- .../v1beta1/ListTaxonomiesRequest.java | 525 ++- .../ListTaxonomiesRequestOrBuilder.java | 56 +- .../v1beta1/ListTaxonomiesResponse.java | 480 +- .../ListTaxonomiesResponseOrBuilder.java | 45 +- .../datacatalog/v1beta1/LocationName.java | 0 .../v1beta1/LookupEntryRequest.java | 479 +- .../v1beta1/LookupEntryRequestOrBuilder.java | 42 +- .../datacatalog/v1beta1/ManagingSystem.java | 82 +- .../cloud/datacatalog/v1beta1/PolicyTag.java | 677 +-- .../v1beta1/PolicyTagManagerProto.java | 416 ++ .../PolicyTagManagerSerializationProto.java | 205 + .../datacatalog/v1beta1/PolicyTagName.java | 0 .../v1beta1/PolicyTagOrBuilder.java | 84 +- ...enameTagTemplateFieldEnumValueRequest.java | 536 ++- ...emplateFieldEnumValueRequestOrBuilder.java | 44 +- .../RenameTagTemplateFieldRequest.java | 457 +- ...enameTagTemplateFieldRequestOrBuilder.java | 44 +- .../cloud/datacatalog/v1beta1/Schema.java | 489 +- .../datacatalog/v1beta1/SchemaOrBuilder.java | 92 + .../datacatalog/v1beta1/SchemaOuterClass.java | 95 + .../cloud/datacatalog/v1beta1/Search.java | 87 + .../v1beta1/SearchCatalogRequest.java | 1388 +++--- .../SearchCatalogRequestOrBuilder.java | 68 +- .../v1beta1/SearchCatalogResponse.java | 621 ++- .../SearchCatalogResponseOrBuilder.java | 66 +- .../v1beta1/SearchCatalogResult.java | 624 ++- .../v1beta1/SearchCatalogResultOrBuilder.java | 59 +- .../datacatalog/v1beta1/SearchResultType.java | 89 +- .../v1beta1/SerializedPolicyTag.java | 717 +-- .../v1beta1/SerializedPolicyTagOrBuilder.java | 75 +- .../v1beta1/SerializedTaxonomy.java | 775 ++-- .../v1beta1/SerializedTaxonomyOrBuilder.java | 92 +- .../datacatalog/v1beta1/SystemTimestamps.java | 565 ++- .../v1beta1/SystemTimestampsOrBuilder.java | 51 +- .../datacatalog/v1beta1/TableSourceType.java | 93 +- .../cloud/datacatalog/v1beta1/TableSpec.java | 340 +- .../v1beta1/TableSpecOrBuilder.java | 35 +- .../v1beta1/TableSpecOuterClass.java | 132 + .../google/cloud/datacatalog/v1beta1/Tag.java | 873 ++-- .../cloud/datacatalog/v1beta1/TagField.java | 1099 +++-- .../v1beta1/TagFieldOrBuilder.java | 70 +- .../cloud/datacatalog/v1beta1/TagName.java | 0 .../datacatalog/v1beta1/TagOrBuilder.java | 107 +- .../datacatalog/v1beta1/TagTemplate.java | 684 +-- .../datacatalog/v1beta1/TagTemplateField.java | 678 +-- .../TagTemplateFieldEnumValueName.java | 0 .../v1beta1/TagTemplateFieldName.java | 0 .../v1beta1/TagTemplateFieldOrBuilder.java | 71 +- .../datacatalog/v1beta1/TagTemplateName.java | 0 .../v1beta1/TagTemplateOrBuilder.java | 84 +- .../cloud/datacatalog/v1beta1/Tags.java | 251 + .../cloud/datacatalog/v1beta1/Taxonomy.java | 1453 +++--- .../datacatalog/v1beta1/TaxonomyName.java | 0 .../v1beta1/TaxonomyOrBuilder.java | 129 +- .../cloud/datacatalog/v1beta1/Timestamps.java | 83 + .../v1beta1/UpdateEntryGroupRequest.java | 495 +- .../UpdateEntryGroupRequestOrBuilder.java | 46 +- .../v1beta1/UpdateEntryRequest.java | 487 +- .../v1beta1/UpdateEntryRequestOrBuilder.java | 46 +- .../v1beta1/UpdatePolicyTagRequest.java | 436 +- .../UpdatePolicyTagRequestOrBuilder.java | 34 +- .../datacatalog/v1beta1/UpdateTagRequest.java | 470 +- .../v1beta1/UpdateTagRequestOrBuilder.java | 43 +- .../UpdateTagTemplateFieldRequest.java | 670 ++- ...pdateTagTemplateFieldRequestOrBuilder.java | 72 +- .../v1beta1/UpdateTagTemplateRequest.java | 496 +- .../UpdateTagTemplateRequestOrBuilder.java | 46 +- .../v1beta1/UpdateTaxonomyRequest.java | 436 +- .../UpdateTaxonomyRequestOrBuilder.java | 34 +- .../cloud/datacatalog/v1beta1/Usage.java | 111 + .../datacatalog/v1beta1/UsageSignal.java | 632 ++- .../v1beta1/UsageSignalOrBuilder.java | 71 +- .../cloud/datacatalog/v1beta1/UsageStats.java | 389 +- .../v1beta1/UsageStatsOrBuilder.java | 30 +- .../cloud/datacatalog/v1beta1/ViewSpec.java | 312 +- .../v1beta1/ViewSpecOrBuilder.java | 27 +- .../cloud/datacatalog/v1beta1/common.proto | 0 .../datacatalog/v1beta1/datacatalog.proto | 0 .../v1beta1/gcs_fileset_spec.proto | 0 .../v1beta1/policytagmanager.proto | 0 .../policytagmanagerserialization.proto | 0 .../cloud/datacatalog/v1beta1/schema.proto | 0 .../cloud/datacatalog/v1beta1/search.proto | 0 .../datacatalog/v1beta1/table_spec.proto | 0 .../cloud/datacatalog/v1beta1/tags.proto | 0 .../datacatalog/v1beta1/timestamps.proto | 0 .../cloud/datacatalog/v1beta1/usage.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createentry/AsyncCreateEntry.java | 0 .../createentry/SyncCreateEntry.java | 0 ...cCreateEntryEntrygroupnameStringEntry.java | 0 .../SyncCreateEntryStringStringEntry.java | 0 .../AsyncCreateEntryGroup.java | 0 .../SyncCreateEntryGroup.java | 0 ...ntryGroupLocationnameStringEntrygroup.java | 0 ...reateEntryGroupStringStringEntrygroup.java | 0 .../datacatalog/createtag/AsyncCreateTag.java | 0 .../datacatalog/createtag/SyncCreateTag.java | 0 .../createtag/SyncCreateTagEntrynameTag.java | 0 .../createtag/SyncCreateTagStringTag.java | 0 .../AsyncCreateTagTemplate.java | 0 .../SyncCreateTagTemplate.java | 0 ...TemplateLocationnameStringTagtemplate.java | 0 ...ateTagTemplateStringStringTagtemplate.java | 0 .../AsyncCreateTagTemplateField.java | 0 .../SyncCreateTagTemplateField.java | 0 ...lateFieldStringStringTagtemplatefield.java | 0 ...TagtemplatenameStringTagtemplatefield.java | 0 .../deleteentry/AsyncDeleteEntry.java | 0 .../deleteentry/SyncDeleteEntry.java | 0 .../deleteentry/SyncDeleteEntryEntryname.java | 0 .../deleteentry/SyncDeleteEntryString.java | 0 .../AsyncDeleteEntryGroup.java | 0 .../SyncDeleteEntryGroup.java | 0 .../SyncDeleteEntryGroupEntrygroupname.java | 0 .../SyncDeleteEntryGroupString.java | 0 .../datacatalog/deletetag/AsyncDeleteTag.java | 0 .../datacatalog/deletetag/SyncDeleteTag.java | 0 .../deletetag/SyncDeleteTagEntryname.java | 0 .../deletetag/SyncDeleteTagString.java | 0 .../AsyncDeleteTagTemplate.java | 0 .../SyncDeleteTagTemplate.java | 0 .../SyncDeleteTagTemplateStringBoolean.java | 0 ...leteTagTemplateTagtemplatenameBoolean.java | 0 .../AsyncDeleteTagTemplateField.java | 0 .../SyncDeleteTagTemplateField.java | 0 ...ncDeleteTagTemplateFieldStringBoolean.java | 0 ...plateFieldTagtemplatefieldnameBoolean.java | 0 .../datacatalog/getentry/AsyncGetEntry.java | 0 .../v1/datacatalog/getentry/SyncGetEntry.java | 0 .../getentry/SyncGetEntryEntryname.java | 0 .../getentry/SyncGetEntryString.java | 0 .../getentrygroup/AsyncGetEntryGroup.java | 0 .../getentrygroup/SyncGetEntryGroup.java | 0 .../SyncGetEntryGroupEntrygroupname.java | 0 ...cGetEntryGroupEntrygroupnameFieldmask.java | 0 .../SyncGetEntryGroupString.java | 0 .../SyncGetEntryGroupStringFieldmask.java | 0 .../getiampolicy/AsyncGetIamPolicy.java | 0 .../getiampolicy/SyncGetIamPolicy.java | 0 .../SyncGetIamPolicyResourcename.java | 0 .../getiampolicy/SyncGetIamPolicyString.java | 0 .../gettagtemplate/AsyncGetTagTemplate.java | 0 .../gettagtemplate/SyncGetTagTemplate.java | 0 .../SyncGetTagTemplateString.java | 0 .../SyncGetTagTemplateTagtemplatename.java | 0 .../importentries/AsyncImportEntries.java | 0 .../importentries/AsyncImportEntriesLRO.java | 0 .../importentries/SyncImportEntries.java | 0 .../listentries/AsyncListEntries.java | 0 .../listentries/AsyncListEntriesPaged.java | 0 .../listentries/SyncListEntries.java | 0 .../SyncListEntriesEntrygroupname.java | 0 .../listentries/SyncListEntriesString.java | 0 .../listentrygroups/AsyncListEntryGroups.java | 0 .../AsyncListEntryGroupsPaged.java | 0 .../listentrygroups/SyncListEntryGroups.java | 0 .../SyncListEntryGroupsLocationname.java | 0 .../SyncListEntryGroupsString.java | 0 .../datacatalog/listtags/AsyncListTags.java | 0 .../listtags/AsyncListTagsPaged.java | 0 .../v1/datacatalog/listtags/SyncListTags.java | 0 .../listtags/SyncListTagsEntryname.java | 0 .../listtags/SyncListTagsString.java | 0 .../lookupentry/AsyncLookupEntry.java | 0 .../lookupentry/SyncLookupEntry.java | 0 .../AsyncModifyEntryContacts.java | 0 .../SyncModifyEntryContacts.java | 0 .../AsyncModifyEntryOverview.java | 0 .../SyncModifyEntryOverview.java | 0 .../reconciletags/AsyncReconcileTags.java | 0 .../reconciletags/AsyncReconcileTagsLRO.java | 0 .../reconciletags/SyncReconcileTags.java | 0 .../AsyncRenameTagTemplateField.java | 0 .../SyncRenameTagTemplateField.java | 0 ...yncRenameTagTemplateFieldStringString.java | 0 ...mplateFieldTagtemplatefieldnameString.java | 0 .../AsyncRenameTagTemplateFieldEnumValue.java | 0 .../SyncRenameTagTemplateFieldEnumValue.java | 0 ...TagTemplateFieldEnumValueStringString.java | 0 ...ueTagtemplatefieldenumvaluenameString.java | 0 .../searchcatalog/AsyncSearchCatalog.java | 0 .../AsyncSearchCatalogPaged.java | 0 .../searchcatalog/SyncSearchCatalog.java | 0 ...atalogSearchcatalogrequestscopeString.java | 0 .../setiampolicy/AsyncSetIamPolicy.java | 0 .../setiampolicy/SyncSetIamPolicy.java | 0 .../SyncSetIamPolicyResourcenamePolicy.java | 0 .../SyncSetIamPolicyStringPolicy.java | 0 .../datacatalog/starentry/AsyncStarEntry.java | 0 .../datacatalog/starentry/SyncStarEntry.java | 0 .../starentry/SyncStarEntryEntryname.java | 0 .../starentry/SyncStarEntryString.java | 0 .../AsyncTestIamPermissions.java | 0 .../SyncTestIamPermissions.java | 0 .../unstarentry/AsyncUnstarEntry.java | 0 .../unstarentry/SyncUnstarEntry.java | 0 .../unstarentry/SyncUnstarEntryEntryname.java | 0 .../unstarentry/SyncUnstarEntryString.java | 0 .../updateentry/AsyncUpdateEntry.java | 0 .../updateentry/SyncUpdateEntry.java | 0 .../updateentry/SyncUpdateEntryEntry.java | 0 .../SyncUpdateEntryEntryFieldmask.java | 0 .../AsyncUpdateEntryGroup.java | 0 .../SyncUpdateEntryGroup.java | 0 .../SyncUpdateEntryGroupEntrygroup.java | 0 ...ncUpdateEntryGroupEntrygroupFieldmask.java | 0 .../datacatalog/updatetag/AsyncUpdateTag.java | 0 .../datacatalog/updatetag/SyncUpdateTag.java | 0 .../updatetag/SyncUpdateTagTag.java | 0 .../updatetag/SyncUpdateTagTagFieldmask.java | 0 .../AsyncUpdateTagTemplate.java | 0 .../SyncUpdateTagTemplate.java | 0 .../SyncUpdateTagTemplateTagtemplate.java | 0 ...UpdateTagTemplateTagtemplateFieldmask.java | 0 .../AsyncUpdateTagTemplateField.java | 0 .../SyncUpdateTagTemplateField.java | 0 ...agTemplateFieldStringTagtemplatefield.java | 0 ...eFieldStringTagtemplatefieldFieldmask.java | 0 ...dTagtemplatefieldnameTagtemplatefield.java | 0 ...atefieldnameTagtemplatefieldFieldmask.java | 0 .../SyncCreateEntryGroup.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createpolicytag/AsyncCreatePolicyTag.java | 0 .../createpolicytag/SyncCreatePolicyTag.java | 0 .../SyncCreatePolicyTagStringPolicytag.java | 0 ...cCreatePolicyTagTaxonomynamePolicytag.java | 0 .../createtaxonomy/AsyncCreateTaxonomy.java | 0 .../createtaxonomy/SyncCreateTaxonomy.java | 0 ...yncCreateTaxonomyLocationnameTaxonomy.java | 0 .../SyncCreateTaxonomyStringTaxonomy.java | 0 .../deletepolicytag/AsyncDeletePolicyTag.java | 0 .../deletepolicytag/SyncDeletePolicyTag.java | 0 .../SyncDeletePolicyTagPolicytagname.java | 0 .../SyncDeletePolicyTagString.java | 0 .../deletetaxonomy/AsyncDeleteTaxonomy.java | 0 .../deletetaxonomy/SyncDeleteTaxonomy.java | 0 .../SyncDeleteTaxonomyString.java | 0 .../SyncDeleteTaxonomyTaxonomyname.java | 0 .../getiampolicy/AsyncGetIamPolicy.java | 0 .../getiampolicy/SyncGetIamPolicy.java | 0 .../getpolicytag/AsyncGetPolicyTag.java | 0 .../getpolicytag/SyncGetPolicyTag.java | 0 .../SyncGetPolicyTagPolicytagname.java | 0 .../getpolicytag/SyncGetPolicyTagString.java | 0 .../gettaxonomy/AsyncGetTaxonomy.java | 0 .../gettaxonomy/SyncGetTaxonomy.java | 0 .../gettaxonomy/SyncGetTaxonomyString.java | 0 .../SyncGetTaxonomyTaxonomyname.java | 0 .../listpolicytags/AsyncListPolicyTags.java | 0 .../AsyncListPolicyTagsPaged.java | 0 .../listpolicytags/SyncListPolicyTags.java | 0 .../SyncListPolicyTagsString.java | 0 .../SyncListPolicyTagsTaxonomyname.java | 0 .../listtaxonomies/AsyncListTaxonomies.java | 0 .../AsyncListTaxonomiesPaged.java | 0 .../listtaxonomies/SyncListTaxonomies.java | 0 .../SyncListTaxonomiesLocationname.java | 0 .../SyncListTaxonomiesString.java | 0 .../setiampolicy/AsyncSetIamPolicy.java | 0 .../setiampolicy/SyncSetIamPolicy.java | 0 .../AsyncTestIamPermissions.java | 0 .../SyncTestIamPermissions.java | 0 .../updatepolicytag/AsyncUpdatePolicyTag.java | 0 .../updatepolicytag/SyncUpdatePolicyTag.java | 0 .../SyncUpdatePolicyTagPolicytag.java | 0 .../updatetaxonomy/AsyncUpdateTaxonomy.java | 0 .../updatetaxonomy/SyncUpdateTaxonomy.java | 0 .../SyncUpdateTaxonomyTaxonomy.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncExportTaxonomies.java | 0 .../SyncExportTaxonomies.java | 0 .../AsyncImportTaxonomies.java | 0 .../SyncImportTaxonomies.java | 0 .../replacetaxonomy/AsyncReplaceTaxonomy.java | 0 .../replacetaxonomy/SyncReplaceTaxonomy.java | 0 .../replacetaxonomy/SyncReplaceTaxonomy.java | 0 .../createtaxonomy/SyncCreateTaxonomy.java | 0 .../SyncCreateEntryGroup.java | 0 .../replacetaxonomy/SyncReplaceTaxonomy.java | 0 .../createtaxonomy/SyncCreateTaxonomy.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createentry/AsyncCreateEntry.java | 0 .../createentry/SyncCreateEntry.java | 0 ...cCreateEntryEntrygroupnameStringEntry.java | 0 .../SyncCreateEntryStringStringEntry.java | 0 .../AsyncCreateEntryGroup.java | 0 .../SyncCreateEntryGroup.java | 0 ...ntryGroupLocationnameStringEntrygroup.java | 0 ...reateEntryGroupStringStringEntrygroup.java | 0 .../datacatalog/createtag/AsyncCreateTag.java | 0 .../datacatalog/createtag/SyncCreateTag.java | 0 .../createtag/SyncCreateTagEntrynameTag.java | 0 .../createtag/SyncCreateTagStringTag.java | 0 .../AsyncCreateTagTemplate.java | 0 .../SyncCreateTagTemplate.java | 0 ...TemplateLocationnameStringTagtemplate.java | 0 ...ateTagTemplateStringStringTagtemplate.java | 0 .../AsyncCreateTagTemplateField.java | 0 .../SyncCreateTagTemplateField.java | 0 ...lateFieldStringStringTagtemplatefield.java | 0 ...TagtemplatenameStringTagtemplatefield.java | 0 .../deleteentry/AsyncDeleteEntry.java | 0 .../deleteentry/SyncDeleteEntry.java | 0 .../deleteentry/SyncDeleteEntryEntryname.java | 0 .../deleteentry/SyncDeleteEntryString.java | 0 .../AsyncDeleteEntryGroup.java | 0 .../SyncDeleteEntryGroup.java | 0 .../SyncDeleteEntryGroupEntrygroupname.java | 0 .../SyncDeleteEntryGroupString.java | 0 .../datacatalog/deletetag/AsyncDeleteTag.java | 0 .../datacatalog/deletetag/SyncDeleteTag.java | 0 .../deletetag/SyncDeleteTagEntryname.java | 0 .../deletetag/SyncDeleteTagString.java | 0 .../AsyncDeleteTagTemplate.java | 0 .../SyncDeleteTagTemplate.java | 0 .../SyncDeleteTagTemplateStringBoolean.java | 0 ...leteTagTemplateTagtemplatenameBoolean.java | 0 .../AsyncDeleteTagTemplateField.java | 0 .../SyncDeleteTagTemplateField.java | 0 ...ncDeleteTagTemplateFieldStringBoolean.java | 0 ...plateFieldTagtemplatefieldnameBoolean.java | 0 .../datacatalog/getentry/AsyncGetEntry.java | 0 .../datacatalog/getentry/SyncGetEntry.java | 0 .../getentry/SyncGetEntryEntryname.java | 0 .../getentry/SyncGetEntryString.java | 0 .../getentrygroup/AsyncGetEntryGroup.java | 0 .../getentrygroup/SyncGetEntryGroup.java | 0 .../SyncGetEntryGroupEntrygroupname.java | 0 ...cGetEntryGroupEntrygroupnameFieldmask.java | 0 .../SyncGetEntryGroupString.java | 0 .../SyncGetEntryGroupStringFieldmask.java | 0 .../getiampolicy/AsyncGetIamPolicy.java | 0 .../getiampolicy/SyncGetIamPolicy.java | 0 .../SyncGetIamPolicyResourcename.java | 0 .../getiampolicy/SyncGetIamPolicyString.java | 0 .../gettagtemplate/AsyncGetTagTemplate.java | 0 .../gettagtemplate/SyncGetTagTemplate.java | 0 .../SyncGetTagTemplateString.java | 0 .../SyncGetTagTemplateTagtemplatename.java | 0 .../listentries/AsyncListEntries.java | 0 .../listentries/AsyncListEntriesPaged.java | 0 .../listentries/SyncListEntries.java | 0 .../SyncListEntriesEntrygroupname.java | 0 .../listentries/SyncListEntriesString.java | 0 .../listentrygroups/AsyncListEntryGroups.java | 0 .../AsyncListEntryGroupsPaged.java | 0 .../listentrygroups/SyncListEntryGroups.java | 0 .../SyncListEntryGroupsLocationname.java | 0 .../SyncListEntryGroupsString.java | 0 .../datacatalog/listtags/AsyncListTags.java | 0 .../listtags/AsyncListTagsPaged.java | 0 .../datacatalog/listtags/SyncListTags.java | 0 .../listtags/SyncListTagsEntryname.java | 0 .../listtags/SyncListTagsString.java | 0 .../lookupentry/AsyncLookupEntry.java | 0 .../lookupentry/SyncLookupEntry.java | 0 .../AsyncRenameTagTemplateField.java | 0 .../SyncRenameTagTemplateField.java | 0 ...yncRenameTagTemplateFieldStringString.java | 0 ...mplateFieldTagtemplatefieldnameString.java | 0 .../AsyncRenameTagTemplateFieldEnumValue.java | 0 .../SyncRenameTagTemplateFieldEnumValue.java | 0 ...TagTemplateFieldEnumValueStringString.java | 0 ...ueTagtemplatefieldenumvaluenameString.java | 0 .../searchcatalog/AsyncSearchCatalog.java | 0 .../AsyncSearchCatalogPaged.java | 0 .../searchcatalog/SyncSearchCatalog.java | 0 ...atalogSearchcatalogrequestscopeString.java | 0 .../setiampolicy/AsyncSetIamPolicy.java | 0 .../setiampolicy/SyncSetIamPolicy.java | 0 .../SyncSetIamPolicyResourcenamePolicy.java | 0 .../SyncSetIamPolicyStringPolicy.java | 0 .../AsyncTestIamPermissions.java | 0 .../SyncTestIamPermissions.java | 0 .../updateentry/AsyncUpdateEntry.java | 0 .../updateentry/SyncUpdateEntry.java | 0 .../updateentry/SyncUpdateEntryEntry.java | 0 .../SyncUpdateEntryEntryFieldmask.java | 0 .../AsyncUpdateEntryGroup.java | 0 .../SyncUpdateEntryGroup.java | 0 .../SyncUpdateEntryGroupEntrygroup.java | 0 ...ncUpdateEntryGroupEntrygroupFieldmask.java | 0 .../datacatalog/updatetag/AsyncUpdateTag.java | 0 .../datacatalog/updatetag/SyncUpdateTag.java | 0 .../updatetag/SyncUpdateTagTag.java | 0 .../updatetag/SyncUpdateTagTagFieldmask.java | 0 .../AsyncUpdateTagTemplate.java | 0 .../SyncUpdateTagTemplate.java | 0 .../SyncUpdateTagTemplateTagtemplate.java | 0 ...UpdateTagTemplateTagtemplateFieldmask.java | 0 .../AsyncUpdateTagTemplateField.java | 0 .../SyncUpdateTagTemplateField.java | 0 ...agTemplateFieldStringTagtemplatefield.java | 0 ...eFieldStringTagtemplatefieldFieldmask.java | 0 ...dTagtemplatefieldnameTagtemplatefield.java | 0 ...atefieldnameTagtemplatefieldFieldmask.java | 0 .../SyncCreateEntryGroup.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createpolicytag/AsyncCreatePolicyTag.java | 0 .../createpolicytag/SyncCreatePolicyTag.java | 0 .../SyncCreatePolicyTagStringPolicytag.java | 0 ...cCreatePolicyTagTaxonomynamePolicytag.java | 0 .../createtaxonomy/AsyncCreateTaxonomy.java | 0 .../createtaxonomy/SyncCreateTaxonomy.java | 0 ...yncCreateTaxonomyLocationnameTaxonomy.java | 0 .../SyncCreateTaxonomyStringTaxonomy.java | 0 .../deletepolicytag/AsyncDeletePolicyTag.java | 0 .../deletepolicytag/SyncDeletePolicyTag.java | 0 .../SyncDeletePolicyTagPolicytagname.java | 0 .../SyncDeletePolicyTagString.java | 0 .../deletetaxonomy/AsyncDeleteTaxonomy.java | 0 .../deletetaxonomy/SyncDeleteTaxonomy.java | 0 .../SyncDeleteTaxonomyString.java | 0 .../SyncDeleteTaxonomyTaxonomyname.java | 0 .../getiampolicy/AsyncGetIamPolicy.java | 0 .../getiampolicy/SyncGetIamPolicy.java | 0 .../getpolicytag/AsyncGetPolicyTag.java | 0 .../getpolicytag/SyncGetPolicyTag.java | 0 .../SyncGetPolicyTagPolicytagname.java | 0 .../getpolicytag/SyncGetPolicyTagString.java | 0 .../gettaxonomy/AsyncGetTaxonomy.java | 0 .../gettaxonomy/SyncGetTaxonomy.java | 0 .../gettaxonomy/SyncGetTaxonomyString.java | 0 .../SyncGetTaxonomyTaxonomyname.java | 0 .../listpolicytags/AsyncListPolicyTags.java | 0 .../AsyncListPolicyTagsPaged.java | 0 .../listpolicytags/SyncListPolicyTags.java | 0 .../SyncListPolicyTagsString.java | 0 .../SyncListPolicyTagsTaxonomyname.java | 0 .../listtaxonomies/AsyncListTaxonomies.java | 0 .../AsyncListTaxonomiesPaged.java | 0 .../listtaxonomies/SyncListTaxonomies.java | 0 .../SyncListTaxonomiesLocationname.java | 0 .../SyncListTaxonomiesString.java | 0 .../setiampolicy/AsyncSetIamPolicy.java | 0 .../setiampolicy/SyncSetIamPolicy.java | 0 .../AsyncTestIamPermissions.java | 0 .../SyncTestIamPermissions.java | 0 .../updatepolicytag/AsyncUpdatePolicyTag.java | 0 .../updatepolicytag/SyncUpdatePolicyTag.java | 0 .../SyncUpdatePolicyTagPolicytag.java | 0 .../updatetaxonomy/AsyncUpdateTaxonomy.java | 0 .../updatetaxonomy/SyncUpdateTaxonomy.java | 0 .../SyncUpdateTaxonomyTaxonomy.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncExportTaxonomies.java | 0 .../SyncExportTaxonomies.java | 0 .../AsyncImportTaxonomies.java | 0 .../SyncImportTaxonomies.java | 0 .../SyncImportTaxonomies.java | 0 .../createtaxonomy/SyncCreateTaxonomy.java | 0 .../SyncCreateEntryGroup.java | 0 .../SyncImportTaxonomies.java | 0 .../createtaxonomy/SyncCreateTaxonomy.java | 0 .../datacatalog/v1/PolicyTagManagerGrpc.java | 1423 ------ .../cloud/datacatalog/v1/BigQueryProto.java | 93 - .../CloudBigtableInstanceSpecOrBuilder.java | 53 - .../google/cloud/datacatalog/v1/Common.java | 65 - .../v1/CommonUsageStatsOrBuilder.java | 28 - .../v1/CrossRegionalSourceOrBuilder.java | 29 - .../cloud/datacatalog/v1/DataSourceProto.java | 81 - .../cloud/datacatalog/v1/Datacatalog.java | 1268 ------ .../datacatalog/v1/DataplexSpecProto.java | 107 - .../v1/DeleteEntryGroupRequestOrBuilder.java | 39 - .../v1/DeleteEntryRequestOrBuilder.java | 29 - .../v1/DeletePolicyTagRequestOrBuilder.java | 33 - .../v1/DeleteTagRequestOrBuilder.java | 29 - ...eleteTagTemplateFieldRequestOrBuilder.java | 41 - .../v1/DeleteTagTemplateRequestOrBuilder.java | 41 - .../v1/DeleteTaxonomyRequestOrBuilder.java | 33 - .../datacatalog/v1/DumpContentProto.java | 85 - .../v1/GcsFilesetSpecOuterClass.java | 81 - .../v1/GetEntryRequestOrBuilder.java | 29 - .../v1/GetPolicyTagRequestOrBuilder.java | 29 - .../v1/GetTagTemplateRequestOrBuilder.java | 29 - .../v1/GetTaxonomyRequestOrBuilder.java | 29 - .../datacatalog/v1/InlineSourceOrBuilder.java | 53 - .../ModifyEntryContactsRequestOrBuilder.java | 56 - .../ModifyEntryOverviewRequestOrBuilder.java | 56 - .../datacatalog/v1/PhysicalSchemaProto.java | 134 - .../datacatalog/v1/PolicyTagManagerProto.java | 373 -- .../PolicyTagManagerSerializationProto.java | 217 - .../v1/ReplaceTaxonomyRequestOrBuilder.java | 56 - .../datacatalog/v1/SchemaOuterClass.java | 106 - .../google/cloud/datacatalog/v1/Search.java | 80 - .../v1/StarEntryRequestOrBuilder.java | 29 - .../v1/StarEntryResponseOrBuilder.java | 9 - .../datacatalog/v1/TableSpecOuterClass.java | 114 - .../com/google/cloud/datacatalog/v1/Tags.java | 212 - .../cloud/datacatalog/v1/Timestamps.java | 68 - .../v1/UnstarEntryRequestOrBuilder.java | 29 - .../v1/UnstarEntryResponseOrBuilder.java | 9 - .../google/cloud/datacatalog/v1/Usage.java | 126 - .../datacatalog/v1beta1/DataCatalogGrpc.java | 3123 ------------- .../v1beta1/PolicyTagManagerGrpc.java | 1373 ------ .../cloud/datacatalog/v1beta1/Common.java | 47 - .../datacatalog/v1beta1/Datacatalog.java | 766 ---- .../DeleteEntryGroupRequestOrBuilder.java | 41 - .../v1beta1/DeleteEntryRequestOrBuilder.java | 33 - .../DeletePolicyTagRequestOrBuilder.java | 31 - .../v1beta1/DeleteTagRequestOrBuilder.java | 33 - .../DeleteTaxonomyRequestOrBuilder.java | 31 - .../v1beta1/GcsFilesetSpecOuterClass.java | 83 - .../v1beta1/GetEntryRequestOrBuilder.java | 33 - .../v1beta1/GetPolicyTagRequestOrBuilder.java | 29 - .../GetTagTemplateRequestOrBuilder.java | 33 - .../v1beta1/GetTaxonomyRequestOrBuilder.java | 29 - .../v1beta1/InlineSourceOrBuilder.java | 53 - .../v1beta1/PolicyTagManagerProto.java | 379 -- .../PolicyTagManagerSerializationProto.java | 184 - .../datacatalog/v1beta1/SchemaOrBuilder.java | 58 - .../datacatalog/v1beta1/SchemaOuterClass.java | 79 - .../cloud/datacatalog/v1beta1/Search.java | 68 - .../v1beta1/TableSpecOuterClass.java | 114 - .../cloud/datacatalog/v1beta1/Tags.java | 212 - .../cloud/datacatalog/v1beta1/Timestamps.java | 68 - .../cloud/datacatalog/v1beta1/Usage.java | 89 - 968 files changed, 91146 insertions(+), 55989 deletions(-) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogClient.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogSettings.java (99%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClient.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationSettings.java (99%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSettings.java (99%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/gapic_metadata.json (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/package-info.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/DataCatalogStub.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/DataCatalogStubSettings.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcDataCatalogCallableFactory.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcDataCatalogStub.java (99%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerCallableFactory.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerSerializationCallableFactory.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerSerializationStub.java (99%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerStub.java (99%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonDataCatalogCallableFactory.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonDataCatalogStub.java (99%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerCallableFactory.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerSerializationCallableFactory.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerSerializationStub.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerStub.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStub.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStubSettings.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerStub.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerStubSettings.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClient.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogSettings.java (99%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClient.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClient.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationSettings.java (99%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSettings.java (99%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/gapic_metadata.json (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/package-info.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStub.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStubSettings.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcDataCatalogCallableFactory.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcDataCatalogStub.java (99%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerCallableFactory.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerSerializationCallableFactory.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerSerializationStub.java (99%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerStub.java (99%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonDataCatalogCallableFactory.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonDataCatalogStub.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerCallableFactory.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerSerializationCallableFactory.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerSerializationStub.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerStub.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerSerializationStub.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerSerializationStubSettings.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStub.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStubSettings.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientTest.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockDataCatalog.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockDataCatalogImpl.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockIAMPolicy.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockIAMPolicyImpl.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManager.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerImpl.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerSerialization.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerSerializationImpl.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClientTest.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientTest.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientTest.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockDataCatalog.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockDataCatalogImpl.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockIAMPolicy.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockIAMPolicyImpl.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManager.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManagerImpl.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManagerSerialization.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManagerSerializationImpl.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientTest.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientTest.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java (52%) create mode 100644 java-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationGrpc.java (56%) create mode 100644 java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogGrpc.java create mode 100644 java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerGrpc.java rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationGrpc.java (53%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpec.java (67%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpecOrBuilder.java (71%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpec.java (70%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpecOrBuilder.java (67%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryProto.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpec.java (67%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpecOrBuilder.java (59%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpec.java (69%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpecOrBuilder.java (70%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContext.java (67%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContextOrBuilder.java (71%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpec.java (61%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpecOrBuilder.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpec.java (66%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpecOrBuilder.java (52%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpec.java (65%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpecOrBuilder.java (64%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchema.java (69%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchemaOrBuilder.java (70%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Common.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStats.java (66%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStatsOrBuilder.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Contacts.java (71%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ContactsOrBuilder.java (65%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequest.java (69%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequestOrBuilder.java (69%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequest.java (67%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequestOrBuilder.java (63%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequest.java (65%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequestOrBuilder.java (55%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequest.java (66%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequestOrBuilder.java (58%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequest.java (64%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequestOrBuilder.java (61%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequest.java (64%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequestOrBuilder.java (58%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequest.java (65%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequestOrBuilder.java (55%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSource.java (63%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSourceOrBuilder.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSource.java (71%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpec.java (63%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpecOrBuilder.java (61%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceOrBuilder.java (76%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceProto.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpec.java (66%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpecOrBuilder.java (63%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Datacatalog.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTable.java (70%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTableOrBuilder.java (68%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpec.java (65%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpecOrBuilder.java (59%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpec.java (70%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecOrBuilder.java (73%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecProto.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpec.java (74%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpecOrBuilder.java (79%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequest.java (63%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequestOrBuilder.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequest.java (61%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequestOrBuilder.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequest.java (64%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequestOrBuilder.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequest.java (61%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequestOrBuilder.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequest.java (63%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequestOrBuilder.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequest.java (64%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequestOrBuilder.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequest.java (64%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequestOrBuilder.java create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpContentProto.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItem.java (67%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItemOrBuilder.java (60%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Entry.java (73%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroup.java (66%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupName.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupOrBuilder.java (65%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryName.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOrBuilder.java (84%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverview.java (68%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverviewOrBuilder.java (61%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryType.java (78%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequest.java (64%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequestOrBuilder.java (53%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponse.java (72%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponseOrBuilder.java (67%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldType.java (73%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldTypeOrBuilder.java (72%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpec.java (67%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpecOrBuilder.java (64%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpec.java (65%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpecOrBuilder.java (58%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpec.java (78%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOrBuilder.java (82%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOuterClass.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequest.java (66%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequestOrBuilder.java (55%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequest.java (62%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequestOrBuilder.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequest.java (63%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequestOrBuilder.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequest.java (61%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequestOrBuilder.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequest.java (63%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequestOrBuilder.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadata.java (72%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadataOrBuilder.java (73%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequest.java (68%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequestOrBuilder.java (61%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponse.java (69%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponseOrBuilder.java (65%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequest.java (69%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequestOrBuilder.java (68%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponse.java (70%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponseOrBuilder.java (61%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSource.java (62%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSourceOrBuilder.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/IntegratedSystem.java (70%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequest.java (70%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequestOrBuilder.java (70%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponse.java (71%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponseOrBuilder.java (65%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequest.java (67%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequestOrBuilder.java (59%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponse.java (71%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponseOrBuilder.java (67%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequest.java (68%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequestOrBuilder.java (57%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponse.java (72%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponseOrBuilder.java (67%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequest.java (68%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequestOrBuilder.java (60%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponse.java (71%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponseOrBuilder.java (66%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequest.java (69%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequestOrBuilder.java (62%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponse.java (72%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponseOrBuilder.java (67%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LocationName.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpec.java (72%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpecOrBuilder.java (71%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequest.java (77%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequestOrBuilder.java (87%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ManagingSystem.java (66%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequest.java (60%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequestOrBuilder.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequest.java (60%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequestOrBuilder.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetails.java (68%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetailsOrBuilder.java (62%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchema.java (70%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaOrBuilder.java (84%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaProto.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTag.java (74%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerProto.java create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationProto.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagName.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagOrBuilder.java (77%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadata.java (63%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadataOrBuilder.java (65%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequest.java (71%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequestOrBuilder.java (67%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponse.java (66%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponseOrBuilder.java (56%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequest.java (61%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java (54%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequest.java (64%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequestOrBuilder.java (51%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequest.java (60%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequestOrBuilder.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpec.java (73%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpecOrBuilder.java (80%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Schema.java (74%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOrBuilder.java (71%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOuterClass.java create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Search.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequest.java (76%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequestOrBuilder.java (81%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponse.java (74%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponseOrBuilder.java (78%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResult.java (74%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResultOrBuilder.java (81%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchResultType.java (68%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTag.java (74%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTagOrBuilder.java (75%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomy.java (74%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomyOrBuilder.java (76%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpec.java (63%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpecOrBuilder.java (58%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpec.java (70%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpecOrBuilder.java (68%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequest.java (62%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequestOrBuilder.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponse.java (62%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponseOrBuilder.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StorageProperties.java (79%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StoragePropertiesOrBuilder.java (87%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestamps.java (70%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestampsOrBuilder.java (78%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSourceType.java (66%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpec.java (65%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOrBuilder.java (54%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOuterClass.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tag.java (69%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagField.java (73%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagFieldOrBuilder.java (84%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagName.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagOrBuilder.java (70%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplate.java (68%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateField.java (71%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldEnumValueName.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldName.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldOrBuilder.java (74%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateName.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateOrBuilder.java (73%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntry.java (66%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntryOrBuilder.java (58%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tags.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Taxonomy.java (70%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyName.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyOrBuilder.java (68%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Timestamps.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequest.java (62%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequestOrBuilder.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponse.java (62%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponseOrBuilder.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequest.java (66%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequestOrBuilder.java (66%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequest.java (75%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequestOrBuilder.java (81%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequest.java (72%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequestOrBuilder.java (78%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequest.java (71%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequestOrBuilder.java (74%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequest.java (67%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequestOrBuilder.java (69%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequest.java (68%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequestOrBuilder.java (71%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequest.java (71%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequestOrBuilder.java (76%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Usage.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignal.java (60%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignalOrBuilder.java (57%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStats.java (69%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStatsOrBuilder.java (63%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpec.java (66%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpecOrBuilder.java (51%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/bigquery.proto (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/common.proto (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/data_source.proto (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/dataplex_spec.proto (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/dump_content.proto (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/gcs_fileset_spec.proto (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/physical_schema.proto (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanager.proto (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanagerserialization.proto (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/schema.proto (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/search.proto (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/table_spec.proto (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/tags.proto (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/timestamps.proto (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/usage.proto (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpec.java (68%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpecOrBuilder.java (63%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpec.java (69%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpecOrBuilder.java (71%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchema.java (69%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchemaOrBuilder.java (64%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Common.java rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequest.java (68%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequestOrBuilder.java (69%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequest.java (63%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequestOrBuilder.java (56%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequest.java (65%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequestOrBuilder.java (56%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequest.java (64%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequestOrBuilder.java (59%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequest.java (62%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequestOrBuilder.java (62%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequest.java (63%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequestOrBuilder.java (55%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequest.java (65%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequestOrBuilder.java (56%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Datacatalog.java rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequest.java (63%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequestOrBuilder.java rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequest.java (62%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequestOrBuilder.java rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequest.java (64%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequestOrBuilder.java rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequest.java (63%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequestOrBuilder.java rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequest.java (62%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequestOrBuilder.java (54%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequest.java (64%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequestOrBuilder.java (53%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequest.java (64%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequestOrBuilder.java rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Entry.java (72%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroup.java (67%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroupName.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroupOrBuilder.java (66%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryName.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryOrBuilder.java (80%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryType.java (72%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequest.java (63%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequestOrBuilder.java (53%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponse.java (70%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponseOrBuilder.java (69%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldType.java (66%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldTypeOrBuilder.java (73%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpec.java (65%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpecOrBuilder.java (56%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpec.java (78%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOrBuilder.java (83%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOuterClass.java rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequest.java (66%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequestOrBuilder.java (59%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequest.java (63%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequestOrBuilder.java rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequest.java (63%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequestOrBuilder.java rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequest.java (63%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequestOrBuilder.java rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequest.java (63%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequestOrBuilder.java rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequest.java (66%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequestOrBuilder.java (60%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponse.java (70%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponseOrBuilder.java (65%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSource.java (61%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSourceOrBuilder.java rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/IntegratedSystem.java (66%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequest.java (71%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequestOrBuilder.java (71%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponse.java (71%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponseOrBuilder.java (66%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequest.java (67%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequestOrBuilder.java (61%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponse.java (71%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponseOrBuilder.java (68%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequest.java (67%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequestOrBuilder.java (55%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponse.java (72%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponseOrBuilder.java (70%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequest.java (69%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequestOrBuilder.java (64%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponse.java (71%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponseOrBuilder.java (68%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequest.java (68%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequestOrBuilder.java (60%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponse.java (72%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponseOrBuilder.java (69%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LocationName.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequest.java (73%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequestOrBuilder.java (82%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ManagingSystem.java (66%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTag.java (75%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerProto.java create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationProto.java rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagName.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagOrBuilder.java (78%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldEnumValueRequest.java (57%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java (60%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequest.java (63%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequestOrBuilder.java (56%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Schema.java (63%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOrBuilder.java create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOuterClass.java create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Search.java rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequest.java (78%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequestOrBuilder.java (79%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponse.java (74%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponseOrBuilder.java (78%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResult.java (73%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResultOrBuilder.java (80%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchResultType.java (68%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTag.java (71%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTagOrBuilder.java (71%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomy.java (71%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomyOrBuilder.java (70%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestamps.java (68%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestampsOrBuilder.java (74%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSourceType.java (66%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpec.java (66%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOrBuilder.java (53%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOuterClass.java rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tag.java (68%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagField.java (72%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagFieldOrBuilder.java (82%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagName.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagOrBuilder.java (72%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplate.java (65%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateField.java (69%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldEnumValueName.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldName.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldOrBuilder.java (70%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateName.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateOrBuilder.java (70%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tags.java rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Taxonomy.java (69%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TaxonomyName.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TaxonomyOrBuilder.java (68%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Timestamps.java rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequest.java (65%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequestOrBuilder.java (65%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequest.java (71%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequestOrBuilder.java (77%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequest.java (74%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequestOrBuilder.java (81%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequest.java (69%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequestOrBuilder.java (76%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequest.java (66%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequestOrBuilder.java (71%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequest.java (66%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequestOrBuilder.java (67%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequest.java (71%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequestOrBuilder.java (77%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Usage.java rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageSignal.java (60%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageSignalOrBuilder.java (57%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageStats.java (69%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageStatsOrBuilder.java (65%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpec.java (67%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpecOrBuilder.java (51%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/common.proto (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/datacatalog.proto (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanager.proto (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/schema.proto (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/search.proto (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/table_spec.proto (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/tags.proto (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/timestamps.proto (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/usage.proto (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/AsyncCreateEntry.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/SyncCreateEntry.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/SyncCreateEntryEntrygroupnameStringEntry.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/SyncCreateEntryStringStringEntry.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/AsyncCreateEntryGroup.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/SyncCreateEntryGroup.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/SyncCreateEntryGroupLocationnameStringEntrygroup.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/SyncCreateEntryGroupStringStringEntrygroup.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/AsyncCreateTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/SyncCreateTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/SyncCreateTagEntrynameTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/SyncCreateTagStringTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/AsyncCreateTagTemplate.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/SyncCreateTagTemplate.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/SyncCreateTagTemplateLocationnameStringTagtemplate.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/SyncCreateTagTemplateStringStringTagtemplate.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/AsyncCreateTagTemplateField.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateField.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldStringStringTagtemplatefield.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldTagtemplatenameStringTagtemplatefield.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/AsyncDeleteEntry.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/SyncDeleteEntry.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/SyncDeleteEntryEntryname.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/SyncDeleteEntryString.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/AsyncDeleteEntryGroup.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/SyncDeleteEntryGroup.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupEntrygroupname.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupString.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/AsyncDeleteTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/SyncDeleteTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/SyncDeleteTagEntryname.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/SyncDeleteTagString.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/AsyncDeleteTagTemplate.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/SyncDeleteTagTemplate.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateStringBoolean.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateTagtemplatenameBoolean.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/AsyncDeleteTagTemplateField.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateField.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldStringBoolean.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldTagtemplatefieldnameBoolean.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/AsyncGetEntry.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/SyncGetEntry.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/SyncGetEntryEntryname.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/SyncGetEntryString.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/AsyncGetEntryGroup.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroup.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupname.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupnameFieldmask.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupString.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupStringFieldmask.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/AsyncGetIamPolicy.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/SyncGetIamPolicy.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/SyncGetIamPolicyResourcename.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/SyncGetIamPolicyString.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/AsyncGetTagTemplate.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/SyncGetTagTemplate.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/SyncGetTagTemplateString.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/SyncGetTagTemplateTagtemplatename.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/importentries/AsyncImportEntries.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/importentries/AsyncImportEntriesLRO.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/importentries/SyncImportEntries.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/AsyncListEntries.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/AsyncListEntriesPaged.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/SyncListEntries.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/SyncListEntriesEntrygroupname.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/SyncListEntriesString.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/AsyncListEntryGroups.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/AsyncListEntryGroupsPaged.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/SyncListEntryGroups.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/SyncListEntryGroupsLocationname.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/SyncListEntryGroupsString.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/AsyncListTags.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/AsyncListTagsPaged.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/SyncListTags.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/SyncListTagsEntryname.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/SyncListTagsString.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/lookupentry/AsyncLookupEntry.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/lookupentry/SyncLookupEntry.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentrycontacts/AsyncModifyEntryContacts.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentrycontacts/SyncModifyEntryContacts.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentryoverview/AsyncModifyEntryOverview.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentryoverview/SyncModifyEntryOverview.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/reconciletags/AsyncReconcileTags.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/reconciletags/AsyncReconcileTagsLRO.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/reconciletags/SyncReconcileTags.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/AsyncRenameTagTemplateField.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateField.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldStringString.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldTagtemplatefieldnameString.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/AsyncRenameTagTemplateFieldEnumValue.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValue.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueStringString.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/AsyncSearchCatalog.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/AsyncSearchCatalogPaged.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/SyncSearchCatalog.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/SyncSearchCatalogSearchcatalogrequestscopeString.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/AsyncSetIamPolicy.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/SyncSetIamPolicy.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/SyncSetIamPolicyStringPolicy.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/AsyncStarEntry.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/SyncStarEntry.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/SyncStarEntryEntryname.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/SyncStarEntryString.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/testiampermissions/AsyncTestIamPermissions.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/testiampermissions/SyncTestIamPermissions.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/AsyncUnstarEntry.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/SyncUnstarEntry.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/SyncUnstarEntryEntryname.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/SyncUnstarEntryString.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/AsyncUpdateEntry.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/SyncUpdateEntry.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/SyncUpdateEntryEntry.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/SyncUpdateEntryEntryFieldmask.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/AsyncUpdateEntryGroup.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/SyncUpdateEntryGroup.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroup.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroupFieldmask.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/AsyncUpdateTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/SyncUpdateTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/SyncUpdateTagTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/SyncUpdateTagTagFieldmask.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/AsyncUpdateTagTemplate.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/SyncUpdateTagTemplate.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplate.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplateFieldmask.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/AsyncUpdateTagTemplateField.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateField.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefield.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefieldFieldmask.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefield.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefieldFieldmask.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogsettings/createentrygroup/SyncCreateEntryGroup.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/AsyncCreatePolicyTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/SyncCreatePolicyTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/SyncCreatePolicyTagStringPolicytag.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/SyncCreatePolicyTagTaxonomynamePolicytag.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/AsyncCreateTaxonomy.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/SyncCreateTaxonomy.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/SyncCreateTaxonomyLocationnameTaxonomy.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/SyncCreateTaxonomyStringTaxonomy.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/AsyncDeletePolicyTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/SyncDeletePolicyTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/SyncDeletePolicyTagPolicytagname.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/SyncDeletePolicyTagString.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/AsyncDeleteTaxonomy.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomy.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyString.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyTaxonomyname.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getiampolicy/AsyncGetIamPolicy.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getiampolicy/SyncGetIamPolicy.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/AsyncGetPolicyTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/SyncGetPolicyTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/SyncGetPolicyTagPolicytagname.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/SyncGetPolicyTagString.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/AsyncGetTaxonomy.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/SyncGetTaxonomy.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/SyncGetTaxonomyString.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/SyncGetTaxonomyTaxonomyname.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/AsyncListPolicyTags.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/AsyncListPolicyTagsPaged.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/SyncListPolicyTags.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/SyncListPolicyTagsString.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/SyncListPolicyTagsTaxonomyname.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/AsyncListTaxonomies.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/AsyncListTaxonomiesPaged.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/SyncListTaxonomies.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/SyncListTaxonomiesLocationname.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/SyncListTaxonomiesString.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/setiampolicy/AsyncSetIamPolicy.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/setiampolicy/SyncSetIamPolicy.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/testiampermissions/AsyncTestIamPermissions.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/testiampermissions/SyncTestIamPermissions.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatepolicytag/AsyncUpdatePolicyTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatepolicytag/SyncUpdatePolicyTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatepolicytag/SyncUpdatePolicyTagPolicytag.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatetaxonomy/AsyncUpdateTaxonomy.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomy.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomyTaxonomy.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/exporttaxonomies/AsyncExportTaxonomies.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/exporttaxonomies/SyncExportTaxonomies.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/importtaxonomies/AsyncImportTaxonomies.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/importtaxonomies/SyncImportTaxonomies.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/replacetaxonomy/AsyncReplaceTaxonomy.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/replacetaxonomy/SyncReplaceTaxonomy.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationsettings/replacetaxonomy/SyncReplaceTaxonomy.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagersettings/createtaxonomy/SyncCreateTaxonomy.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/datacatalogstubsettings/createentrygroup/SyncCreateEntryGroup.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/policytagmanagerserializationstubsettings/replacetaxonomy/SyncReplaceTaxonomy.java (100%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/policytagmanagerstubsettings/createtaxonomy/SyncCreateTaxonomy.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/AsyncCreateEntry.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/SyncCreateEntry.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/SyncCreateEntryEntrygroupnameStringEntry.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/SyncCreateEntryStringStringEntry.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/AsyncCreateEntryGroup.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/SyncCreateEntryGroup.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/SyncCreateEntryGroupLocationnameStringEntrygroup.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/SyncCreateEntryGroupStringStringEntrygroup.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/AsyncCreateTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/SyncCreateTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/SyncCreateTagEntrynameTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/SyncCreateTagStringTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/AsyncCreateTagTemplate.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/SyncCreateTagTemplate.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/SyncCreateTagTemplateLocationnameStringTagtemplate.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/SyncCreateTagTemplateStringStringTagtemplate.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/AsyncCreateTagTemplateField.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateField.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldStringStringTagtemplatefield.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldTagtemplatenameStringTagtemplatefield.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/AsyncDeleteEntry.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/SyncDeleteEntry.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/SyncDeleteEntryEntryname.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/SyncDeleteEntryString.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/AsyncDeleteEntryGroup.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/SyncDeleteEntryGroup.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupEntrygroupname.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupString.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/AsyncDeleteTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/SyncDeleteTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/SyncDeleteTagEntryname.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/SyncDeleteTagString.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/AsyncDeleteTagTemplate.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/SyncDeleteTagTemplate.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateStringBoolean.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateTagtemplatenameBoolean.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/AsyncDeleteTagTemplateField.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateField.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldStringBoolean.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldTagtemplatefieldnameBoolean.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/AsyncGetEntry.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/SyncGetEntry.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/SyncGetEntryEntryname.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/SyncGetEntryString.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/AsyncGetEntryGroup.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroup.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupname.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupnameFieldmask.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupString.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupStringFieldmask.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/AsyncGetIamPolicy.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/SyncGetIamPolicy.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/SyncGetIamPolicyResourcename.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/SyncGetIamPolicyString.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/AsyncGetTagTemplate.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/SyncGetTagTemplate.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/SyncGetTagTemplateString.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/SyncGetTagTemplateTagtemplatename.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/AsyncListEntries.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/AsyncListEntriesPaged.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/SyncListEntries.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/SyncListEntriesEntrygroupname.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/SyncListEntriesString.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/AsyncListEntryGroups.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/AsyncListEntryGroupsPaged.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/SyncListEntryGroups.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/SyncListEntryGroupsLocationname.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/SyncListEntryGroupsString.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/AsyncListTags.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/AsyncListTagsPaged.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/SyncListTags.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/SyncListTagsEntryname.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/SyncListTagsString.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/lookupentry/AsyncLookupEntry.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/lookupentry/SyncLookupEntry.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/AsyncRenameTagTemplateField.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateField.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldStringString.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldTagtemplatefieldnameString.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/AsyncRenameTagTemplateFieldEnumValue.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValue.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueStringString.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/AsyncSearchCatalog.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/AsyncSearchCatalogPaged.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/SyncSearchCatalog.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/SyncSearchCatalogSearchcatalogrequestscopeString.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/AsyncSetIamPolicy.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/SyncSetIamPolicy.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/SyncSetIamPolicyStringPolicy.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/testiampermissions/AsyncTestIamPermissions.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/testiampermissions/SyncTestIamPermissions.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/AsyncUpdateEntry.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/SyncUpdateEntry.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/SyncUpdateEntryEntry.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/SyncUpdateEntryEntryFieldmask.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/AsyncUpdateEntryGroup.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/SyncUpdateEntryGroup.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroup.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroupFieldmask.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/AsyncUpdateTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/SyncUpdateTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/SyncUpdateTagTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/SyncUpdateTagTagFieldmask.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/AsyncUpdateTagTemplate.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/SyncUpdateTagTemplate.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplate.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplateFieldmask.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/AsyncUpdateTagTemplateField.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateField.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefield.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefieldFieldmask.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefield.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefieldFieldmask.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogsettings/createentrygroup/SyncCreateEntryGroup.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/AsyncCreatePolicyTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/SyncCreatePolicyTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/SyncCreatePolicyTagStringPolicytag.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/SyncCreatePolicyTagTaxonomynamePolicytag.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/AsyncCreateTaxonomy.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/SyncCreateTaxonomy.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/SyncCreateTaxonomyLocationnameTaxonomy.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/SyncCreateTaxonomyStringTaxonomy.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/AsyncDeletePolicyTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/SyncDeletePolicyTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/SyncDeletePolicyTagPolicytagname.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/SyncDeletePolicyTagString.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/AsyncDeleteTaxonomy.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomy.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyString.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyTaxonomyname.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getiampolicy/AsyncGetIamPolicy.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getiampolicy/SyncGetIamPolicy.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/AsyncGetPolicyTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/SyncGetPolicyTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/SyncGetPolicyTagPolicytagname.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/SyncGetPolicyTagString.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/AsyncGetTaxonomy.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/SyncGetTaxonomy.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/SyncGetTaxonomyString.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/SyncGetTaxonomyTaxonomyname.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/AsyncListPolicyTags.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/AsyncListPolicyTagsPaged.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/SyncListPolicyTags.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/SyncListPolicyTagsString.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/SyncListPolicyTagsTaxonomyname.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomies.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomiesPaged.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomies.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomiesLocationname.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomiesString.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/setiampolicy/AsyncSetIamPolicy.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/setiampolicy/SyncSetIamPolicy.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/testiampermissions/AsyncTestIamPermissions.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/testiampermissions/SyncTestIamPermissions.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatepolicytag/AsyncUpdatePolicyTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatepolicytag/SyncUpdatePolicyTag.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatepolicytag/SyncUpdatePolicyTagPolicytag.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatetaxonomy/AsyncUpdateTaxonomy.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomy.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomyTaxonomy.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/exporttaxonomies/AsyncExportTaxonomies.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/exporttaxonomies/SyncExportTaxonomies.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/importtaxonomies/AsyncImportTaxonomies.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/importtaxonomies/SyncImportTaxonomies.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationsettings/importtaxonomies/SyncImportTaxonomies.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagersettings/createtaxonomy/SyncCreateTaxonomy.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/datacatalogstubsettings/createentrygroup/SyncCreateEntryGroup.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/policytagmanagerserializationstubsettings/importtaxonomies/SyncImportTaxonomies.java (100%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/policytagmanagerstubsettings/createtaxonomy/SyncCreateTaxonomy.java (100%) delete mode 100644 owl-bot-staging/java-datacatalog/v1/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryProto.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpecOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Common.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStatsOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSourceOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceProto.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Datacatalog.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecProto.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpContentProto.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOuterClass.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSourceOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaProto.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerProto.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationProto.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOuterClass.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Search.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponseOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOuterClass.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tags.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Timestamps.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponseOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Usage.java delete mode 100644 owl-bot-staging/java-datacatalog/v1beta1/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogGrpc.java delete mode 100644 owl-bot-staging/java-datacatalog/v1beta1/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerGrpc.java delete mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Common.java delete mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Datacatalog.java delete mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOuterClass.java delete mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSourceOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerProto.java delete mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationProto.java delete mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOrBuilder.java delete mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOuterClass.java delete mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Search.java delete mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOuterClass.java delete mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tags.java delete mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Timestamps.java delete mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Usage.java diff --git a/java-datacatalog/README.md b/java-datacatalog/README.md index 7a0f6ce4406b..f6dfdc386cd1 100644 --- a/java-datacatalog/README.md +++ b/java-datacatalog/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.16.0 + 26.18.0 pom import @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-datacatalog.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datacatalog/1.24.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datacatalog/1.26.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogClient.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogClient.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogClient.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogClient.java diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogSettings.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogSettings.java similarity index 99% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogSettings.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogSettings.java index be260b102f8e..339f9f0b65f1 100644 --- a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogSettings.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogSettings.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.datacatalog.v1.stub.DataCatalogStubSettings; diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClient.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClient.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClient.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClient.java diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationSettings.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationSettings.java similarity index 99% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationSettings.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationSettings.java index f33050ff7606..434fa6f0d380 100644 --- a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationSettings.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationSettings.java @@ -25,7 +25,6 @@ import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.datacatalog.v1.stub.PolicyTagManagerSerializationStubSettings; diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSettings.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSettings.java similarity index 99% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSettings.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSettings.java index 24a9c9e24186..f1cb9da09a19 100644 --- a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSettings.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSettings.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.datacatalog.v1.stub.PolicyTagManagerStubSettings; diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/gapic_metadata.json b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/gapic_metadata.json rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/gapic_metadata.json diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/package-info.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/package-info.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/package-info.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/package-info.java diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/DataCatalogStub.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/DataCatalogStub.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/DataCatalogStub.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/DataCatalogStub.java diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/DataCatalogStubSettings.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/DataCatalogStubSettings.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/DataCatalogStubSettings.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/DataCatalogStubSettings.java diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcDataCatalogCallableFactory.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcDataCatalogCallableFactory.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcDataCatalogCallableFactory.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcDataCatalogCallableFactory.java diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcDataCatalogStub.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcDataCatalogStub.java similarity index 99% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcDataCatalogStub.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcDataCatalogStub.java index 004f8cc88baf..d4619210e02d 100644 --- a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcDataCatalogStub.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcDataCatalogStub.java @@ -88,7 +88,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-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerCallableFactory.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerCallableFactory.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerCallableFactory.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerCallableFactory.java diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerSerializationCallableFactory.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerSerializationCallableFactory.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerSerializationCallableFactory.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerSerializationCallableFactory.java diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerSerializationStub.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerSerializationStub.java similarity index 99% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerSerializationStub.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerSerializationStub.java index cfbfff217ac1..6ca4e256ba72 100644 --- a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerSerializationStub.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerSerializationStub.java @@ -33,7 +33,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-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerStub.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerStub.java similarity index 99% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerStub.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerStub.java index 7a6e22d5da94..da5460455b9f 100644 --- a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerStub.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerStub.java @@ -50,7 +50,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-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonDataCatalogCallableFactory.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonDataCatalogCallableFactory.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonDataCatalogCallableFactory.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonDataCatalogCallableFactory.java diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonDataCatalogStub.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonDataCatalogStub.java similarity index 99% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonDataCatalogStub.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonDataCatalogStub.java index 72074ee25b40..8d83024024c3 100644 --- a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonDataCatalogStub.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonDataCatalogStub.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-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerCallableFactory.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerCallableFactory.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerCallableFactory.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerCallableFactory.java diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerSerializationCallableFactory.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerSerializationCallableFactory.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerSerializationCallableFactory.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerSerializationCallableFactory.java diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerSerializationStub.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerSerializationStub.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerSerializationStub.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerSerializationStub.java diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerStub.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerStub.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerStub.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonPolicyTagManagerStub.java diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStub.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStub.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStub.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStub.java diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStubSettings.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStubSettings.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStubSettings.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStubSettings.java diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerStub.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerStub.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerStub.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerStub.java diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerStubSettings.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerStubSettings.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerStubSettings.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerStubSettings.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClient.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClient.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClient.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClient.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogSettings.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogSettings.java similarity index 99% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogSettings.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogSettings.java index cc9c98bb7a93..175b498e8d8e 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogSettings.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogSettings.java @@ -31,7 +31,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.datacatalog.v1beta1.stub.DataCatalogStubSettings; diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClient.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClient.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClient.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClient.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClient.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClient.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClient.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClient.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationSettings.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationSettings.java similarity index 99% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationSettings.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationSettings.java index 600879169d5a..fbee4f0a143a 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationSettings.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationSettings.java @@ -25,7 +25,6 @@ import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.datacatalog.v1beta1.stub.PolicyTagManagerSerializationStubSettings; diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSettings.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSettings.java similarity index 99% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSettings.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSettings.java index cd0d0c08cf79..b61a2d57f57b 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSettings.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSettings.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.datacatalog.v1beta1.stub.PolicyTagManagerStubSettings; diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/gapic_metadata.json b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/gapic_metadata.json rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/gapic_metadata.json diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/package-info.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/package-info.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/package-info.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/package-info.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStub.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStub.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStub.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStub.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStubSettings.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStubSettings.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStubSettings.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStubSettings.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcDataCatalogCallableFactory.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcDataCatalogCallableFactory.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcDataCatalogCallableFactory.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcDataCatalogCallableFactory.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcDataCatalogStub.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcDataCatalogStub.java similarity index 99% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcDataCatalogStub.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcDataCatalogStub.java index a123dc5ec9b5..7e0d6a053fcb 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcDataCatalogStub.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcDataCatalogStub.java @@ -73,7 +73,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-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerCallableFactory.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerCallableFactory.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerCallableFactory.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerCallableFactory.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerSerializationCallableFactory.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerSerializationCallableFactory.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerSerializationCallableFactory.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerSerializationCallableFactory.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerSerializationStub.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerSerializationStub.java similarity index 99% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerSerializationStub.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerSerializationStub.java index 7b695601f3f8..03324246a06e 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerSerializationStub.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerSerializationStub.java @@ -32,7 +32,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerStub.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerStub.java similarity index 99% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerStub.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerStub.java index caa045428ec6..7eeb565f7d00 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerStub.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcPolicyTagManagerStub.java @@ -51,7 +51,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-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonDataCatalogCallableFactory.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonDataCatalogCallableFactory.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonDataCatalogCallableFactory.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonDataCatalogCallableFactory.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonDataCatalogStub.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonDataCatalogStub.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonDataCatalogStub.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonDataCatalogStub.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerCallableFactory.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerCallableFactory.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerCallableFactory.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerCallableFactory.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerSerializationCallableFactory.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerSerializationCallableFactory.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerSerializationCallableFactory.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerSerializationCallableFactory.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerSerializationStub.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerSerializationStub.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerSerializationStub.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerSerializationStub.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerStub.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerStub.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerStub.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerStub.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerSerializationStub.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerSerializationStub.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerSerializationStub.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerSerializationStub.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerSerializationStubSettings.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerSerializationStubSettings.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerSerializationStubSettings.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerSerializationStubSettings.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStub.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStub.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStub.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStub.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStubSettings.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStubSettings.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStubSettings.java rename to java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStubSettings.java diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientHttpJsonTest.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientHttpJsonTest.java rename to java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientHttpJsonTest.java diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientTest.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientTest.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientTest.java rename to java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientTest.java diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockDataCatalog.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockDataCatalog.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockDataCatalog.java rename to java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockDataCatalog.java diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockDataCatalogImpl.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockDataCatalogImpl.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockDataCatalogImpl.java rename to java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockDataCatalogImpl.java diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockIAMPolicy.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockIAMPolicy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockIAMPolicy.java rename to java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockIAMPolicy.java diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockIAMPolicyImpl.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockIAMPolicyImpl.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockIAMPolicyImpl.java rename to java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockIAMPolicyImpl.java diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManager.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManager.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManager.java rename to java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManager.java diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerImpl.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerImpl.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerImpl.java rename to java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerImpl.java diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerSerialization.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerSerialization.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerSerialization.java rename to java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerSerialization.java diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerSerializationImpl.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerSerializationImpl.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerSerializationImpl.java rename to java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerSerializationImpl.java diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClientHttpJsonTest.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClientHttpJsonTest.java rename to java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClientHttpJsonTest.java diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClientTest.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClientTest.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClientTest.java rename to java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClientTest.java diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientHttpJsonTest.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientHttpJsonTest.java rename to java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientHttpJsonTest.java diff --git a/owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientTest.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientTest.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientTest.java rename to java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientTest.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientHttpJsonTest.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientHttpJsonTest.java rename to java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientHttpJsonTest.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientTest.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientTest.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientTest.java rename to java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientTest.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockDataCatalog.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockDataCatalog.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockDataCatalog.java rename to java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockDataCatalog.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockDataCatalogImpl.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockDataCatalogImpl.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockDataCatalogImpl.java rename to java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockDataCatalogImpl.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockIAMPolicy.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockIAMPolicy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockIAMPolicy.java rename to java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockIAMPolicy.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockIAMPolicyImpl.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockIAMPolicyImpl.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockIAMPolicyImpl.java rename to java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockIAMPolicyImpl.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManager.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManager.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManager.java rename to java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManager.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManagerImpl.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManagerImpl.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManagerImpl.java rename to java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManagerImpl.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManagerSerialization.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManagerSerialization.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManagerSerialization.java rename to java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManagerSerialization.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManagerSerializationImpl.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManagerSerializationImpl.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManagerSerializationImpl.java rename to java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockPolicyTagManagerSerializationImpl.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientHttpJsonTest.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientHttpJsonTest.java rename to java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientHttpJsonTest.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientTest.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientTest.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientTest.java rename to java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientTest.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientHttpJsonTest.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientHttpJsonTest.java rename to java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientHttpJsonTest.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientTest.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientTest.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientTest.java rename to java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientTest.java diff --git a/owl-bot-staging/java-datacatalog/v1/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java b/java-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java similarity index 52% rename from owl-bot-staging/java-datacatalog/v1/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java rename to java-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java index 65e8d7606792..0c16d4fbfc23 100644 --- a/owl-bot-staging/java-datacatalog/v1/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java +++ b/java-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.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.datacatalog.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * Data Catalog API service allows you to discover, understand, and manage
  * your data.
@@ -19,1105 +36,1570 @@ private DataCatalogGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.datacatalog.v1.DataCatalog";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getSearchCatalogMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.SearchCatalogRequest,
+          com.google.cloud.datacatalog.v1.SearchCatalogResponse>
+      getSearchCatalogMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "SearchCatalog",
       requestType = com.google.cloud.datacatalog.v1.SearchCatalogRequest.class,
       responseType = com.google.cloud.datacatalog.v1.SearchCatalogResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getSearchCatalogMethod() {
-    io.grpc.MethodDescriptor getSearchCatalogMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.SearchCatalogRequest,
+          com.google.cloud.datacatalog.v1.SearchCatalogResponse>
+      getSearchCatalogMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.SearchCatalogRequest,
+            com.google.cloud.datacatalog.v1.SearchCatalogResponse>
+        getSearchCatalogMethod;
     if ((getSearchCatalogMethod = DataCatalogGrpc.getSearchCatalogMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getSearchCatalogMethod = DataCatalogGrpc.getSearchCatalogMethod) == null) {
-          DataCatalogGrpc.getSearchCatalogMethod = getSearchCatalogMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchCatalog"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.SearchCatalogRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.SearchCatalogResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("SearchCatalog"))
-              .build();
+          DataCatalogGrpc.getSearchCatalogMethod =
+              getSearchCatalogMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchCatalog"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.SearchCatalogRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.SearchCatalogResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("SearchCatalog"))
+                      .build();
         }
       }
     }
     return getSearchCatalogMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateEntryGroupMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.CreateEntryGroupRequest,
+          com.google.cloud.datacatalog.v1.EntryGroup>
+      getCreateEntryGroupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateEntryGroup",
       requestType = com.google.cloud.datacatalog.v1.CreateEntryGroupRequest.class,
       responseType = com.google.cloud.datacatalog.v1.EntryGroup.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateEntryGroupMethod() {
-    io.grpc.MethodDescriptor getCreateEntryGroupMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.CreateEntryGroupRequest,
+          com.google.cloud.datacatalog.v1.EntryGroup>
+      getCreateEntryGroupMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.CreateEntryGroupRequest,
+            com.google.cloud.datacatalog.v1.EntryGroup>
+        getCreateEntryGroupMethod;
     if ((getCreateEntryGroupMethod = DataCatalogGrpc.getCreateEntryGroupMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getCreateEntryGroupMethod = DataCatalogGrpc.getCreateEntryGroupMethod) == null) {
-          DataCatalogGrpc.getCreateEntryGroupMethod = getCreateEntryGroupMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEntryGroup"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.CreateEntryGroupRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()))
-              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("CreateEntryGroup"))
-              .build();
+          DataCatalogGrpc.getCreateEntryGroupMethod =
+              getCreateEntryGroupMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEntryGroup"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.CreateEntryGroupRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new DataCatalogMethodDescriptorSupplier("CreateEntryGroup"))
+                      .build();
         }
       }
     }
     return getCreateEntryGroupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetEntryGroupMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.GetEntryGroupRequest,
+          com.google.cloud.datacatalog.v1.EntryGroup>
+      getGetEntryGroupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetEntryGroup",
       requestType = com.google.cloud.datacatalog.v1.GetEntryGroupRequest.class,
       responseType = com.google.cloud.datacatalog.v1.EntryGroup.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetEntryGroupMethod() {
-    io.grpc.MethodDescriptor getGetEntryGroupMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.GetEntryGroupRequest,
+          com.google.cloud.datacatalog.v1.EntryGroup>
+      getGetEntryGroupMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.GetEntryGroupRequest,
+            com.google.cloud.datacatalog.v1.EntryGroup>
+        getGetEntryGroupMethod;
     if ((getGetEntryGroupMethod = DataCatalogGrpc.getGetEntryGroupMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getGetEntryGroupMethod = DataCatalogGrpc.getGetEntryGroupMethod) == null) {
-          DataCatalogGrpc.getGetEntryGroupMethod = getGetEntryGroupMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntryGroup"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.GetEntryGroupRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()))
-              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("GetEntryGroup"))
-              .build();
+          DataCatalogGrpc.getGetEntryGroupMethod =
+              getGetEntryGroupMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntryGroup"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.GetEntryGroupRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()))
+                      .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("GetEntryGroup"))
+                      .build();
         }
       }
     }
     return getGetEntryGroupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateEntryGroupMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest,
+          com.google.cloud.datacatalog.v1.EntryGroup>
+      getUpdateEntryGroupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateEntryGroup",
       requestType = com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest.class,
       responseType = com.google.cloud.datacatalog.v1.EntryGroup.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateEntryGroupMethod() {
-    io.grpc.MethodDescriptor getUpdateEntryGroupMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest,
+          com.google.cloud.datacatalog.v1.EntryGroup>
+      getUpdateEntryGroupMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest,
+            com.google.cloud.datacatalog.v1.EntryGroup>
+        getUpdateEntryGroupMethod;
     if ((getUpdateEntryGroupMethod = DataCatalogGrpc.getUpdateEntryGroupMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getUpdateEntryGroupMethod = DataCatalogGrpc.getUpdateEntryGroupMethod) == null) {
-          DataCatalogGrpc.getUpdateEntryGroupMethod = getUpdateEntryGroupMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEntryGroup"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()))
-              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UpdateEntryGroup"))
-              .build();
+          DataCatalogGrpc.getUpdateEntryGroupMethod =
+              getUpdateEntryGroupMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEntryGroup"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new DataCatalogMethodDescriptorSupplier("UpdateEntryGroup"))
+                      .build();
         }
       }
     }
     return getUpdateEntryGroupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteEntryGroupMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest, com.google.protobuf.Empty>
+      getDeleteEntryGroupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteEntryGroup",
       requestType = com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteEntryGroupMethod() {
-    io.grpc.MethodDescriptor getDeleteEntryGroupMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest, com.google.protobuf.Empty>
+      getDeleteEntryGroupMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest, com.google.protobuf.Empty>
+        getDeleteEntryGroupMethod;
     if ((getDeleteEntryGroupMethod = DataCatalogGrpc.getDeleteEntryGroupMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getDeleteEntryGroupMethod = DataCatalogGrpc.getDeleteEntryGroupMethod) == null) {
-          DataCatalogGrpc.getDeleteEntryGroupMethod = getDeleteEntryGroupMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEntryGroup"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("DeleteEntryGroup"))
-              .build();
+          DataCatalogGrpc.getDeleteEntryGroupMethod =
+              getDeleteEntryGroupMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEntryGroup"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new DataCatalogMethodDescriptorSupplier("DeleteEntryGroup"))
+                      .build();
         }
       }
     }
     return getDeleteEntryGroupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListEntryGroupsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.ListEntryGroupsRequest,
+          com.google.cloud.datacatalog.v1.ListEntryGroupsResponse>
+      getListEntryGroupsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListEntryGroups",
       requestType = com.google.cloud.datacatalog.v1.ListEntryGroupsRequest.class,
       responseType = com.google.cloud.datacatalog.v1.ListEntryGroupsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListEntryGroupsMethod() {
-    io.grpc.MethodDescriptor getListEntryGroupsMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.ListEntryGroupsRequest,
+          com.google.cloud.datacatalog.v1.ListEntryGroupsResponse>
+      getListEntryGroupsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.ListEntryGroupsRequest,
+            com.google.cloud.datacatalog.v1.ListEntryGroupsResponse>
+        getListEntryGroupsMethod;
     if ((getListEntryGroupsMethod = DataCatalogGrpc.getListEntryGroupsMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getListEntryGroupsMethod = DataCatalogGrpc.getListEntryGroupsMethod) == null) {
-          DataCatalogGrpc.getListEntryGroupsMethod = getListEntryGroupsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEntryGroups"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.ListEntryGroupsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.ListEntryGroupsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ListEntryGroups"))
-              .build();
+          DataCatalogGrpc.getListEntryGroupsMethod =
+              getListEntryGroupsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEntryGroups"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.ListEntryGroupsRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.ListEntryGroupsResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new DataCatalogMethodDescriptorSupplier("ListEntryGroups"))
+                      .build();
         }
       }
     }
     return getListEntryGroupsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateEntryMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.CreateEntryRequest, com.google.cloud.datacatalog.v1.Entry>
+      getCreateEntryMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateEntry",
       requestType = com.google.cloud.datacatalog.v1.CreateEntryRequest.class,
       responseType = com.google.cloud.datacatalog.v1.Entry.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateEntryMethod() {
-    io.grpc.MethodDescriptor getCreateEntryMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.CreateEntryRequest, com.google.cloud.datacatalog.v1.Entry>
+      getCreateEntryMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.CreateEntryRequest,
+            com.google.cloud.datacatalog.v1.Entry>
+        getCreateEntryMethod;
     if ((getCreateEntryMethod = DataCatalogGrpc.getCreateEntryMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getCreateEntryMethod = DataCatalogGrpc.getCreateEntryMethod) == null) {
-          DataCatalogGrpc.getCreateEntryMethod = getCreateEntryMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEntry"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.CreateEntryRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()))
-              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("CreateEntry"))
-              .build();
+          DataCatalogGrpc.getCreateEntryMethod =
+              getCreateEntryMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEntry"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.CreateEntryRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()))
+                      .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("CreateEntry"))
+                      .build();
         }
       }
     }
     return getCreateEntryMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateEntryMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.UpdateEntryRequest, com.google.cloud.datacatalog.v1.Entry>
+      getUpdateEntryMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateEntry",
       requestType = com.google.cloud.datacatalog.v1.UpdateEntryRequest.class,
       responseType = com.google.cloud.datacatalog.v1.Entry.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateEntryMethod() {
-    io.grpc.MethodDescriptor getUpdateEntryMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.UpdateEntryRequest, com.google.cloud.datacatalog.v1.Entry>
+      getUpdateEntryMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.UpdateEntryRequest,
+            com.google.cloud.datacatalog.v1.Entry>
+        getUpdateEntryMethod;
     if ((getUpdateEntryMethod = DataCatalogGrpc.getUpdateEntryMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getUpdateEntryMethod = DataCatalogGrpc.getUpdateEntryMethod) == null) {
-          DataCatalogGrpc.getUpdateEntryMethod = getUpdateEntryMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEntry"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.UpdateEntryRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()))
-              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UpdateEntry"))
-              .build();
+          DataCatalogGrpc.getUpdateEntryMethod =
+              getUpdateEntryMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEntry"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.UpdateEntryRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()))
+                      .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UpdateEntry"))
+                      .build();
         }
       }
     }
     return getUpdateEntryMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteEntryMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.DeleteEntryRequest, com.google.protobuf.Empty>
+      getDeleteEntryMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteEntry",
       requestType = com.google.cloud.datacatalog.v1.DeleteEntryRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteEntryMethod() {
-    io.grpc.MethodDescriptor getDeleteEntryMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.DeleteEntryRequest, com.google.protobuf.Empty>
+      getDeleteEntryMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.DeleteEntryRequest, com.google.protobuf.Empty>
+        getDeleteEntryMethod;
     if ((getDeleteEntryMethod = DataCatalogGrpc.getDeleteEntryMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getDeleteEntryMethod = DataCatalogGrpc.getDeleteEntryMethod) == null) {
-          DataCatalogGrpc.getDeleteEntryMethod = getDeleteEntryMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEntry"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.DeleteEntryRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("DeleteEntry"))
-              .build();
+          DataCatalogGrpc.getDeleteEntryMethod =
+              getDeleteEntryMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEntry"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.DeleteEntryRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("DeleteEntry"))
+                      .build();
         }
       }
     }
     return getDeleteEntryMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetEntryMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.GetEntryRequest, com.google.cloud.datacatalog.v1.Entry>
+      getGetEntryMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetEntry",
       requestType = com.google.cloud.datacatalog.v1.GetEntryRequest.class,
       responseType = com.google.cloud.datacatalog.v1.Entry.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetEntryMethod() {
-    io.grpc.MethodDescriptor getGetEntryMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.GetEntryRequest, com.google.cloud.datacatalog.v1.Entry>
+      getGetEntryMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.GetEntryRequest, com.google.cloud.datacatalog.v1.Entry>
+        getGetEntryMethod;
     if ((getGetEntryMethod = DataCatalogGrpc.getGetEntryMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getGetEntryMethod = DataCatalogGrpc.getGetEntryMethod) == null) {
-          DataCatalogGrpc.getGetEntryMethod = getGetEntryMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntry"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.GetEntryRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()))
-              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("GetEntry"))
-              .build();
+          DataCatalogGrpc.getGetEntryMethod =
+              getGetEntryMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntry"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.GetEntryRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()))
+                      .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("GetEntry"))
+                      .build();
         }
       }
     }
     return getGetEntryMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getLookupEntryMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.LookupEntryRequest, com.google.cloud.datacatalog.v1.Entry>
+      getLookupEntryMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "LookupEntry",
       requestType = com.google.cloud.datacatalog.v1.LookupEntryRequest.class,
       responseType = com.google.cloud.datacatalog.v1.Entry.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getLookupEntryMethod() {
-    io.grpc.MethodDescriptor getLookupEntryMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.LookupEntryRequest, com.google.cloud.datacatalog.v1.Entry>
+      getLookupEntryMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.LookupEntryRequest,
+            com.google.cloud.datacatalog.v1.Entry>
+        getLookupEntryMethod;
     if ((getLookupEntryMethod = DataCatalogGrpc.getLookupEntryMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getLookupEntryMethod = DataCatalogGrpc.getLookupEntryMethod) == null) {
-          DataCatalogGrpc.getLookupEntryMethod = getLookupEntryMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LookupEntry"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.LookupEntryRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()))
-              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("LookupEntry"))
-              .build();
+          DataCatalogGrpc.getLookupEntryMethod =
+              getLookupEntryMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LookupEntry"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.LookupEntryRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()))
+                      .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("LookupEntry"))
+                      .build();
         }
       }
     }
     return getLookupEntryMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListEntriesMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.ListEntriesRequest,
+          com.google.cloud.datacatalog.v1.ListEntriesResponse>
+      getListEntriesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListEntries",
       requestType = com.google.cloud.datacatalog.v1.ListEntriesRequest.class,
       responseType = com.google.cloud.datacatalog.v1.ListEntriesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListEntriesMethod() {
-    io.grpc.MethodDescriptor getListEntriesMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.ListEntriesRequest,
+          com.google.cloud.datacatalog.v1.ListEntriesResponse>
+      getListEntriesMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.ListEntriesRequest,
+            com.google.cloud.datacatalog.v1.ListEntriesResponse>
+        getListEntriesMethod;
     if ((getListEntriesMethod = DataCatalogGrpc.getListEntriesMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getListEntriesMethod = DataCatalogGrpc.getListEntriesMethod) == null) {
-          DataCatalogGrpc.getListEntriesMethod = getListEntriesMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEntries"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.ListEntriesRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.ListEntriesResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ListEntries"))
-              .build();
+          DataCatalogGrpc.getListEntriesMethod =
+              getListEntriesMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEntries"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.ListEntriesRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.ListEntriesResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ListEntries"))
+                      .build();
         }
       }
     }
     return getListEntriesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getModifyEntryOverviewMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest,
+          com.google.cloud.datacatalog.v1.EntryOverview>
+      getModifyEntryOverviewMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ModifyEntryOverview",
       requestType = com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest.class,
       responseType = com.google.cloud.datacatalog.v1.EntryOverview.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getModifyEntryOverviewMethod() {
-    io.grpc.MethodDescriptor getModifyEntryOverviewMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest,
+          com.google.cloud.datacatalog.v1.EntryOverview>
+      getModifyEntryOverviewMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest,
+            com.google.cloud.datacatalog.v1.EntryOverview>
+        getModifyEntryOverviewMethod;
     if ((getModifyEntryOverviewMethod = DataCatalogGrpc.getModifyEntryOverviewMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getModifyEntryOverviewMethod = DataCatalogGrpc.getModifyEntryOverviewMethod) == null) {
-          DataCatalogGrpc.getModifyEntryOverviewMethod = getModifyEntryOverviewMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ModifyEntryOverview"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance()))
-              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ModifyEntryOverview"))
-              .build();
+          DataCatalogGrpc.getModifyEntryOverviewMethod =
+              getModifyEntryOverviewMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "ModifyEntryOverview"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new DataCatalogMethodDescriptorSupplier("ModifyEntryOverview"))
+                      .build();
         }
       }
     }
     return getModifyEntryOverviewMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getModifyEntryContactsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest,
+          com.google.cloud.datacatalog.v1.Contacts>
+      getModifyEntryContactsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ModifyEntryContacts",
       requestType = com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest.class,
       responseType = com.google.cloud.datacatalog.v1.Contacts.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getModifyEntryContactsMethod() {
-    io.grpc.MethodDescriptor getModifyEntryContactsMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest,
+          com.google.cloud.datacatalog.v1.Contacts>
+      getModifyEntryContactsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest,
+            com.google.cloud.datacatalog.v1.Contacts>
+        getModifyEntryContactsMethod;
     if ((getModifyEntryContactsMethod = DataCatalogGrpc.getModifyEntryContactsMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getModifyEntryContactsMethod = DataCatalogGrpc.getModifyEntryContactsMethod) == null) {
-          DataCatalogGrpc.getModifyEntryContactsMethod = getModifyEntryContactsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ModifyEntryContacts"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance()))
-              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ModifyEntryContacts"))
-              .build();
+          DataCatalogGrpc.getModifyEntryContactsMethod =
+              getModifyEntryContactsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "ModifyEntryContacts"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new DataCatalogMethodDescriptorSupplier("ModifyEntryContacts"))
+                      .build();
         }
       }
     }
     return getModifyEntryContactsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateTagTemplateMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.CreateTagTemplateRequest,
+          com.google.cloud.datacatalog.v1.TagTemplate>
+      getCreateTagTemplateMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateTagTemplate",
       requestType = com.google.cloud.datacatalog.v1.CreateTagTemplateRequest.class,
       responseType = com.google.cloud.datacatalog.v1.TagTemplate.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateTagTemplateMethod() {
-    io.grpc.MethodDescriptor getCreateTagTemplateMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.CreateTagTemplateRequest,
+          com.google.cloud.datacatalog.v1.TagTemplate>
+      getCreateTagTemplateMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.CreateTagTemplateRequest,
+            com.google.cloud.datacatalog.v1.TagTemplate>
+        getCreateTagTemplateMethod;
     if ((getCreateTagTemplateMethod = DataCatalogGrpc.getCreateTagTemplateMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getCreateTagTemplateMethod = DataCatalogGrpc.getCreateTagTemplateMethod) == null) {
-          DataCatalogGrpc.getCreateTagTemplateMethod = getCreateTagTemplateMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTagTemplate"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.CreateTagTemplateRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance()))
-              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("CreateTagTemplate"))
-              .build();
+          DataCatalogGrpc.getCreateTagTemplateMethod =
+              getCreateTagTemplateMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTagTemplate"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.CreateTagTemplateRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new DataCatalogMethodDescriptorSupplier("CreateTagTemplate"))
+                      .build();
         }
       }
     }
     return getCreateTagTemplateMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetTagTemplateMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.GetTagTemplateRequest,
+          com.google.cloud.datacatalog.v1.TagTemplate>
+      getGetTagTemplateMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetTagTemplate",
       requestType = com.google.cloud.datacatalog.v1.GetTagTemplateRequest.class,
       responseType = com.google.cloud.datacatalog.v1.TagTemplate.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetTagTemplateMethod() {
-    io.grpc.MethodDescriptor getGetTagTemplateMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.GetTagTemplateRequest,
+          com.google.cloud.datacatalog.v1.TagTemplate>
+      getGetTagTemplateMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.GetTagTemplateRequest,
+            com.google.cloud.datacatalog.v1.TagTemplate>
+        getGetTagTemplateMethod;
     if ((getGetTagTemplateMethod = DataCatalogGrpc.getGetTagTemplateMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getGetTagTemplateMethod = DataCatalogGrpc.getGetTagTemplateMethod) == null) {
-          DataCatalogGrpc.getGetTagTemplateMethod = getGetTagTemplateMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTagTemplate"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.GetTagTemplateRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance()))
-              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("GetTagTemplate"))
-              .build();
+          DataCatalogGrpc.getGetTagTemplateMethod =
+              getGetTagTemplateMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTagTemplate"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.GetTagTemplateRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new DataCatalogMethodDescriptorSupplier("GetTagTemplate"))
+                      .build();
         }
       }
     }
     return getGetTagTemplateMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateTagTemplateMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest,
+          com.google.cloud.datacatalog.v1.TagTemplate>
+      getUpdateTagTemplateMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateTagTemplate",
       requestType = com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest.class,
       responseType = com.google.cloud.datacatalog.v1.TagTemplate.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateTagTemplateMethod() {
-    io.grpc.MethodDescriptor getUpdateTagTemplateMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest,
+          com.google.cloud.datacatalog.v1.TagTemplate>
+      getUpdateTagTemplateMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest,
+            com.google.cloud.datacatalog.v1.TagTemplate>
+        getUpdateTagTemplateMethod;
     if ((getUpdateTagTemplateMethod = DataCatalogGrpc.getUpdateTagTemplateMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getUpdateTagTemplateMethod = DataCatalogGrpc.getUpdateTagTemplateMethod) == null) {
-          DataCatalogGrpc.getUpdateTagTemplateMethod = getUpdateTagTemplateMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTagTemplate"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance()))
-              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UpdateTagTemplate"))
-              .build();
+          DataCatalogGrpc.getUpdateTagTemplateMethod =
+              getUpdateTagTemplateMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTagTemplate"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new DataCatalogMethodDescriptorSupplier("UpdateTagTemplate"))
+                      .build();
         }
       }
     }
     return getUpdateTagTemplateMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteTagTemplateMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest, com.google.protobuf.Empty>
+      getDeleteTagTemplateMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteTagTemplate",
       requestType = com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteTagTemplateMethod() {
-    io.grpc.MethodDescriptor getDeleteTagTemplateMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest, com.google.protobuf.Empty>
+      getDeleteTagTemplateMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest, com.google.protobuf.Empty>
+        getDeleteTagTemplateMethod;
     if ((getDeleteTagTemplateMethod = DataCatalogGrpc.getDeleteTagTemplateMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getDeleteTagTemplateMethod = DataCatalogGrpc.getDeleteTagTemplateMethod) == null) {
-          DataCatalogGrpc.getDeleteTagTemplateMethod = getDeleteTagTemplateMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTagTemplate"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("DeleteTagTemplate"))
-              .build();
+          DataCatalogGrpc.getDeleteTagTemplateMethod =
+              getDeleteTagTemplateMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTagTemplate"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new DataCatalogMethodDescriptorSupplier("DeleteTagTemplate"))
+                      .build();
         }
       }
     }
     return getDeleteTagTemplateMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateTagTemplateFieldMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest,
+          com.google.cloud.datacatalog.v1.TagTemplateField>
+      getCreateTagTemplateFieldMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateTagTemplateField",
       requestType = com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest.class,
       responseType = com.google.cloud.datacatalog.v1.TagTemplateField.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateTagTemplateFieldMethod() {
-    io.grpc.MethodDescriptor getCreateTagTemplateFieldMethod;
-    if ((getCreateTagTemplateFieldMethod = DataCatalogGrpc.getCreateTagTemplateFieldMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest,
+          com.google.cloud.datacatalog.v1.TagTemplateField>
+      getCreateTagTemplateFieldMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest,
+            com.google.cloud.datacatalog.v1.TagTemplateField>
+        getCreateTagTemplateFieldMethod;
+    if ((getCreateTagTemplateFieldMethod = DataCatalogGrpc.getCreateTagTemplateFieldMethod)
+        == null) {
       synchronized (DataCatalogGrpc.class) {
-        if ((getCreateTagTemplateFieldMethod = DataCatalogGrpc.getCreateTagTemplateFieldMethod) == null) {
-          DataCatalogGrpc.getCreateTagTemplateFieldMethod = getCreateTagTemplateFieldMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTagTemplateField"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance()))
-              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("CreateTagTemplateField"))
-              .build();
+        if ((getCreateTagTemplateFieldMethod = DataCatalogGrpc.getCreateTagTemplateFieldMethod)
+            == null) {
+          DataCatalogGrpc.getCreateTagTemplateFieldMethod =
+              getCreateTagTemplateFieldMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "CreateTagTemplateField"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.TagTemplateField
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new DataCatalogMethodDescriptorSupplier("CreateTagTemplateField"))
+                      .build();
         }
       }
     }
     return getCreateTagTemplateFieldMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateTagTemplateFieldMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest,
+          com.google.cloud.datacatalog.v1.TagTemplateField>
+      getUpdateTagTemplateFieldMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateTagTemplateField",
       requestType = com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest.class,
       responseType = com.google.cloud.datacatalog.v1.TagTemplateField.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateTagTemplateFieldMethod() {
-    io.grpc.MethodDescriptor getUpdateTagTemplateFieldMethod;
-    if ((getUpdateTagTemplateFieldMethod = DataCatalogGrpc.getUpdateTagTemplateFieldMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest,
+          com.google.cloud.datacatalog.v1.TagTemplateField>
+      getUpdateTagTemplateFieldMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest,
+            com.google.cloud.datacatalog.v1.TagTemplateField>
+        getUpdateTagTemplateFieldMethod;
+    if ((getUpdateTagTemplateFieldMethod = DataCatalogGrpc.getUpdateTagTemplateFieldMethod)
+        == null) {
       synchronized (DataCatalogGrpc.class) {
-        if ((getUpdateTagTemplateFieldMethod = DataCatalogGrpc.getUpdateTagTemplateFieldMethod) == null) {
-          DataCatalogGrpc.getUpdateTagTemplateFieldMethod = getUpdateTagTemplateFieldMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTagTemplateField"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance()))
-              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UpdateTagTemplateField"))
-              .build();
+        if ((getUpdateTagTemplateFieldMethod = DataCatalogGrpc.getUpdateTagTemplateFieldMethod)
+            == null) {
+          DataCatalogGrpc.getUpdateTagTemplateFieldMethod =
+              getUpdateTagTemplateFieldMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "UpdateTagTemplateField"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.TagTemplateField
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new DataCatalogMethodDescriptorSupplier("UpdateTagTemplateField"))
+                      .build();
         }
       }
     }
     return getUpdateTagTemplateFieldMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getRenameTagTemplateFieldMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest,
+          com.google.cloud.datacatalog.v1.TagTemplateField>
+      getRenameTagTemplateFieldMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RenameTagTemplateField",
       requestType = com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest.class,
       responseType = com.google.cloud.datacatalog.v1.TagTemplateField.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getRenameTagTemplateFieldMethod() {
-    io.grpc.MethodDescriptor getRenameTagTemplateFieldMethod;
-    if ((getRenameTagTemplateFieldMethod = DataCatalogGrpc.getRenameTagTemplateFieldMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest,
+          com.google.cloud.datacatalog.v1.TagTemplateField>
+      getRenameTagTemplateFieldMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest,
+            com.google.cloud.datacatalog.v1.TagTemplateField>
+        getRenameTagTemplateFieldMethod;
+    if ((getRenameTagTemplateFieldMethod = DataCatalogGrpc.getRenameTagTemplateFieldMethod)
+        == null) {
       synchronized (DataCatalogGrpc.class) {
-        if ((getRenameTagTemplateFieldMethod = DataCatalogGrpc.getRenameTagTemplateFieldMethod) == null) {
-          DataCatalogGrpc.getRenameTagTemplateFieldMethod = getRenameTagTemplateFieldMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RenameTagTemplateField"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance()))
-              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("RenameTagTemplateField"))
-              .build();
+        if ((getRenameTagTemplateFieldMethod = DataCatalogGrpc.getRenameTagTemplateFieldMethod)
+            == null) {
+          DataCatalogGrpc.getRenameTagTemplateFieldMethod =
+              getRenameTagTemplateFieldMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "RenameTagTemplateField"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.TagTemplateField
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new DataCatalogMethodDescriptorSupplier("RenameTagTemplateField"))
+                      .build();
         }
       }
     }
     return getRenameTagTemplateFieldMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getRenameTagTemplateFieldEnumValueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest,
+          com.google.cloud.datacatalog.v1.TagTemplateField>
+      getRenameTagTemplateFieldEnumValueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RenameTagTemplateFieldEnumValue",
       requestType = com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest.class,
       responseType = com.google.cloud.datacatalog.v1.TagTemplateField.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getRenameTagTemplateFieldEnumValueMethod() {
-    io.grpc.MethodDescriptor getRenameTagTemplateFieldEnumValueMethod;
-    if ((getRenameTagTemplateFieldEnumValueMethod = DataCatalogGrpc.getRenameTagTemplateFieldEnumValueMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest,
+          com.google.cloud.datacatalog.v1.TagTemplateField>
+      getRenameTagTemplateFieldEnumValueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest,
+            com.google.cloud.datacatalog.v1.TagTemplateField>
+        getRenameTagTemplateFieldEnumValueMethod;
+    if ((getRenameTagTemplateFieldEnumValueMethod =
+            DataCatalogGrpc.getRenameTagTemplateFieldEnumValueMethod)
+        == null) {
       synchronized (DataCatalogGrpc.class) {
-        if ((getRenameTagTemplateFieldEnumValueMethod = DataCatalogGrpc.getRenameTagTemplateFieldEnumValueMethod) == null) {
-          DataCatalogGrpc.getRenameTagTemplateFieldEnumValueMethod = getRenameTagTemplateFieldEnumValueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RenameTagTemplateFieldEnumValue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance()))
-              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("RenameTagTemplateFieldEnumValue"))
-              .build();
+        if ((getRenameTagTemplateFieldEnumValueMethod =
+                DataCatalogGrpc.getRenameTagTemplateFieldEnumValueMethod)
+            == null) {
+          DataCatalogGrpc.getRenameTagTemplateFieldEnumValueMethod =
+              getRenameTagTemplateFieldEnumValueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "RenameTagTemplateFieldEnumValue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.TagTemplateField
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new DataCatalogMethodDescriptorSupplier(
+                              "RenameTagTemplateFieldEnumValue"))
+                      .build();
         }
       }
     }
     return getRenameTagTemplateFieldEnumValueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteTagTemplateFieldMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest, com.google.protobuf.Empty>
+      getDeleteTagTemplateFieldMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteTagTemplateField",
       requestType = com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteTagTemplateFieldMethod() {
-    io.grpc.MethodDescriptor getDeleteTagTemplateFieldMethod;
-    if ((getDeleteTagTemplateFieldMethod = DataCatalogGrpc.getDeleteTagTemplateFieldMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest, com.google.protobuf.Empty>
+      getDeleteTagTemplateFieldMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest,
+            com.google.protobuf.Empty>
+        getDeleteTagTemplateFieldMethod;
+    if ((getDeleteTagTemplateFieldMethod = DataCatalogGrpc.getDeleteTagTemplateFieldMethod)
+        == null) {
       synchronized (DataCatalogGrpc.class) {
-        if ((getDeleteTagTemplateFieldMethod = DataCatalogGrpc.getDeleteTagTemplateFieldMethod) == null) {
-          DataCatalogGrpc.getDeleteTagTemplateFieldMethod = getDeleteTagTemplateFieldMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTagTemplateField"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("DeleteTagTemplateField"))
-              .build();
+        if ((getDeleteTagTemplateFieldMethod = DataCatalogGrpc.getDeleteTagTemplateFieldMethod)
+            == null) {
+          DataCatalogGrpc.getDeleteTagTemplateFieldMethod =
+              getDeleteTagTemplateFieldMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "DeleteTagTemplateField"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new DataCatalogMethodDescriptorSupplier("DeleteTagTemplateField"))
+                      .build();
         }
       }
     }
     return getDeleteTagTemplateFieldMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateTagMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.CreateTagRequest, com.google.cloud.datacatalog.v1.Tag>
+      getCreateTagMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateTag",
       requestType = com.google.cloud.datacatalog.v1.CreateTagRequest.class,
       responseType = com.google.cloud.datacatalog.v1.Tag.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateTagMethod() {
-    io.grpc.MethodDescriptor getCreateTagMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.CreateTagRequest, com.google.cloud.datacatalog.v1.Tag>
+      getCreateTagMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.CreateTagRequest, com.google.cloud.datacatalog.v1.Tag>
+        getCreateTagMethod;
     if ((getCreateTagMethod = DataCatalogGrpc.getCreateTagMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getCreateTagMethod = DataCatalogGrpc.getCreateTagMethod) == null) {
-          DataCatalogGrpc.getCreateTagMethod = getCreateTagMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.CreateTagRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()))
-              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("CreateTag"))
-              .build();
+          DataCatalogGrpc.getCreateTagMethod =
+              getCreateTagMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.CreateTagRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()))
+                      .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("CreateTag"))
+                      .build();
         }
       }
     }
     return getCreateTagMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateTagMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.UpdateTagRequest, com.google.cloud.datacatalog.v1.Tag>
+      getUpdateTagMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateTag",
       requestType = com.google.cloud.datacatalog.v1.UpdateTagRequest.class,
       responseType = com.google.cloud.datacatalog.v1.Tag.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateTagMethod() {
-    io.grpc.MethodDescriptor getUpdateTagMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.UpdateTagRequest, com.google.cloud.datacatalog.v1.Tag>
+      getUpdateTagMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.UpdateTagRequest, com.google.cloud.datacatalog.v1.Tag>
+        getUpdateTagMethod;
     if ((getUpdateTagMethod = DataCatalogGrpc.getUpdateTagMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getUpdateTagMethod = DataCatalogGrpc.getUpdateTagMethod) == null) {
-          DataCatalogGrpc.getUpdateTagMethod = getUpdateTagMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.UpdateTagRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()))
-              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UpdateTag"))
-              .build();
+          DataCatalogGrpc.getUpdateTagMethod =
+              getUpdateTagMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.UpdateTagRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()))
+                      .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UpdateTag"))
+                      .build();
         }
       }
     }
     return getUpdateTagMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteTagMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.DeleteTagRequest, com.google.protobuf.Empty>
+      getDeleteTagMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteTag",
       requestType = com.google.cloud.datacatalog.v1.DeleteTagRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteTagMethod() {
-    io.grpc.MethodDescriptor getDeleteTagMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.DeleteTagRequest, com.google.protobuf.Empty>
+      getDeleteTagMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.DeleteTagRequest, com.google.protobuf.Empty>
+        getDeleteTagMethod;
     if ((getDeleteTagMethod = DataCatalogGrpc.getDeleteTagMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getDeleteTagMethod = DataCatalogGrpc.getDeleteTagMethod) == null) {
-          DataCatalogGrpc.getDeleteTagMethod = getDeleteTagMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.DeleteTagRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("DeleteTag"))
-              .build();
+          DataCatalogGrpc.getDeleteTagMethod =
+              getDeleteTagMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.DeleteTagRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("DeleteTag"))
+                      .build();
         }
       }
     }
     return getDeleteTagMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListTagsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.ListTagsRequest,
+          com.google.cloud.datacatalog.v1.ListTagsResponse>
+      getListTagsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListTags",
       requestType = com.google.cloud.datacatalog.v1.ListTagsRequest.class,
       responseType = com.google.cloud.datacatalog.v1.ListTagsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListTagsMethod() {
-    io.grpc.MethodDescriptor getListTagsMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.ListTagsRequest,
+          com.google.cloud.datacatalog.v1.ListTagsResponse>
+      getListTagsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.ListTagsRequest,
+            com.google.cloud.datacatalog.v1.ListTagsResponse>
+        getListTagsMethod;
     if ((getListTagsMethod = DataCatalogGrpc.getListTagsMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getListTagsMethod = DataCatalogGrpc.getListTagsMethod) == null) {
-          DataCatalogGrpc.getListTagsMethod = getListTagsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.ListTagsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.ListTagsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ListTags"))
-              .build();
+          DataCatalogGrpc.getListTagsMethod =
+              getListTagsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.ListTagsRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.ListTagsResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ListTags"))
+                      .build();
         }
       }
     }
     return getListTagsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getReconcileTagsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.ReconcileTagsRequest, com.google.longrunning.Operation>
+      getReconcileTagsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ReconcileTags",
       requestType = com.google.cloud.datacatalog.v1.ReconcileTagsRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getReconcileTagsMethod() {
-    io.grpc.MethodDescriptor getReconcileTagsMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.ReconcileTagsRequest, com.google.longrunning.Operation>
+      getReconcileTagsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.ReconcileTagsRequest, com.google.longrunning.Operation>
+        getReconcileTagsMethod;
     if ((getReconcileTagsMethod = DataCatalogGrpc.getReconcileTagsMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getReconcileTagsMethod = DataCatalogGrpc.getReconcileTagsMethod) == null) {
-          DataCatalogGrpc.getReconcileTagsMethod = getReconcileTagsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReconcileTags"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.ReconcileTagsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ReconcileTags"))
-              .build();
+          DataCatalogGrpc.getReconcileTagsMethod =
+              getReconcileTagsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReconcileTags"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.ReconcileTagsRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ReconcileTags"))
+                      .build();
         }
       }
     }
     return getReconcileTagsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getStarEntryMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.StarEntryRequest,
+          com.google.cloud.datacatalog.v1.StarEntryResponse>
+      getStarEntryMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "StarEntry",
       requestType = com.google.cloud.datacatalog.v1.StarEntryRequest.class,
       responseType = com.google.cloud.datacatalog.v1.StarEntryResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getStarEntryMethod() {
-    io.grpc.MethodDescriptor getStarEntryMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.StarEntryRequest,
+          com.google.cloud.datacatalog.v1.StarEntryResponse>
+      getStarEntryMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.StarEntryRequest,
+            com.google.cloud.datacatalog.v1.StarEntryResponse>
+        getStarEntryMethod;
     if ((getStarEntryMethod = DataCatalogGrpc.getStarEntryMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getStarEntryMethod = DataCatalogGrpc.getStarEntryMethod) == null) {
-          DataCatalogGrpc.getStarEntryMethod = getStarEntryMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StarEntry"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.StarEntryRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.StarEntryResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("StarEntry"))
-              .build();
+          DataCatalogGrpc.getStarEntryMethod =
+              getStarEntryMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StarEntry"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.StarEntryRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.StarEntryResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("StarEntry"))
+                      .build();
         }
       }
     }
     return getStarEntryMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUnstarEntryMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.UnstarEntryRequest,
+          com.google.cloud.datacatalog.v1.UnstarEntryResponse>
+      getUnstarEntryMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UnstarEntry",
       requestType = com.google.cloud.datacatalog.v1.UnstarEntryRequest.class,
       responseType = com.google.cloud.datacatalog.v1.UnstarEntryResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUnstarEntryMethod() {
-    io.grpc.MethodDescriptor getUnstarEntryMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.UnstarEntryRequest,
+          com.google.cloud.datacatalog.v1.UnstarEntryResponse>
+      getUnstarEntryMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.UnstarEntryRequest,
+            com.google.cloud.datacatalog.v1.UnstarEntryResponse>
+        getUnstarEntryMethod;
     if ((getUnstarEntryMethod = DataCatalogGrpc.getUnstarEntryMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getUnstarEntryMethod = DataCatalogGrpc.getUnstarEntryMethod) == null) {
-          DataCatalogGrpc.getUnstarEntryMethod = getUnstarEntryMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UnstarEntry"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.UnstarEntryRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.UnstarEntryResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UnstarEntry"))
-              .build();
+          DataCatalogGrpc.getUnstarEntryMethod =
+              getUnstarEntryMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UnstarEntry"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.UnstarEntryRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.UnstarEntryResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UnstarEntry"))
+                      .build();
         }
       }
     }
     return getUnstarEntryMethod;
   }
 
-  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 = DataCatalogGrpc.getSetIamPolicyMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getSetIamPolicyMethod = DataCatalogGrpc.getSetIamPolicyMethod) == null) {
-          DataCatalogGrpc.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 DataCatalogMethodDescriptorSupplier("SetIamPolicy"))
-              .build();
+          DataCatalogGrpc.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 DataCatalogMethodDescriptorSupplier("SetIamPolicy"))
+                      .build();
         }
       }
     }
     return getSetIamPolicyMethod;
   }
 
-  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 = DataCatalogGrpc.getGetIamPolicyMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getGetIamPolicyMethod = DataCatalogGrpc.getGetIamPolicyMethod) == null) {
-          DataCatalogGrpc.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 DataCatalogMethodDescriptorSupplier("GetIamPolicy"))
-              .build();
+          DataCatalogGrpc.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 DataCatalogMethodDescriptorSupplier("GetIamPolicy"))
+                      .build();
         }
       }
     }
     return getGetIamPolicyMethod;
   }
 
-  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 = DataCatalogGrpc.getTestIamPermissionsMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getTestIamPermissionsMethod = DataCatalogGrpc.getTestIamPermissionsMethod) == null) {
-          DataCatalogGrpc.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 DataCatalogMethodDescriptorSupplier("TestIamPermissions"))
-              .build();
+          DataCatalogGrpc.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 DataCatalogMethodDescriptorSupplier("TestIamPermissions"))
+                      .build();
         }
       }
     }
     return getTestIamPermissionsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getImportEntriesMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.ImportEntriesRequest, com.google.longrunning.Operation>
+      getImportEntriesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ImportEntries",
       requestType = com.google.cloud.datacatalog.v1.ImportEntriesRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getImportEntriesMethod() {
-    io.grpc.MethodDescriptor getImportEntriesMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.ImportEntriesRequest, com.google.longrunning.Operation>
+      getImportEntriesMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.ImportEntriesRequest, com.google.longrunning.Operation>
+        getImportEntriesMethod;
     if ((getImportEntriesMethod = DataCatalogGrpc.getImportEntriesMethod) == null) {
       synchronized (DataCatalogGrpc.class) {
         if ((getImportEntriesMethod = DataCatalogGrpc.getImportEntriesMethod) == null) {
-          DataCatalogGrpc.getImportEntriesMethod = getImportEntriesMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportEntries"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.ImportEntriesRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ImportEntries"))
-              .build();
+          DataCatalogGrpc.getImportEntriesMethod =
+              getImportEntriesMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportEntries"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.ImportEntriesRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ImportEntries"))
+                      .build();
         }
       }
     }
     return getImportEntriesMethod;
   }
 
-  /**
-   * 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 DataCatalogStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public DataCatalogStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new DataCatalogStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public DataCatalogStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new DataCatalogStub(channel, callOptions);
+          }
+        };
     return DataCatalogStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static DataCatalogBlockingStub newBlockingStub(
-      io.grpc.Channel channel) {
+  public static DataCatalogBlockingStub newBlockingStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public DataCatalogBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new DataCatalogBlockingStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public DataCatalogBlockingStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new DataCatalogBlockingStub(channel, callOptions);
+          }
+        };
     return DataCatalogBlockingStub.newStub(factory, channel);
   }
 
-  /**
-   * Creates a new ListenableFuture-style stub that supports unary calls on the service
-   */
-  public static DataCatalogFutureStub newFutureStub(
-      io.grpc.Channel channel) {
+  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+  public static DataCatalogFutureStub newFutureStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public DataCatalogFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new DataCatalogFutureStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public DataCatalogFutureStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new DataCatalogFutureStub(channel, callOptions);
+          }
+        };
     return DataCatalogFutureStub.newStub(factory, channel);
   }
 
   /**
+   *
+   *
    * 
    * Data Catalog API service allows you to discover, understand, and manage
    * your data.
@@ -1126,6 +1608,8 @@ public DataCatalogFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOption
   public interface AsyncService {
 
     /**
+     *
+     *
      * 
      * Searches Data Catalog for multiple resources like entries and tags that
      * match a query.
@@ -1141,12 +1625,17 @@ public interface AsyncService {
      * (https://cloud.google.com/data-catalog/docs/how-to/search-reference).
      * 
*/ - default void searchCatalog(com.google.cloud.datacatalog.v1.SearchCatalogRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchCatalogMethod(), responseObserver); + default void searchCatalog( + com.google.cloud.datacatalog.v1.SearchCatalogRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSearchCatalogMethod(), responseObserver); } /** + * + * *
      * Creates an entry group.
      * An entry group contains logically related entries together with [Cloud
@@ -1170,22 +1659,30 @@ default void searchCatalog(com.google.cloud.datacatalog.v1.SearchCatalogRequest
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - default void createEntryGroup(com.google.cloud.datacatalog.v1.CreateEntryGroupRequest request, + default void createEntryGroup( + com.google.cloud.datacatalog.v1.CreateEntryGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateEntryGroupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateEntryGroupMethod(), responseObserver); } /** + * + * *
      * Gets an entry group.
      * 
*/ - default void getEntryGroup(com.google.cloud.datacatalog.v1.GetEntryGroupRequest request, + default void getEntryGroup( + com.google.cloud.datacatalog.v1.GetEntryGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEntryGroupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetEntryGroupMethod(), responseObserver); } /** + * + * *
      * Updates an entry group.
      * You must enable the Data Catalog API in the project identified by
@@ -1194,12 +1691,16 @@ default void getEntryGroup(com.google.cloud.datacatalog.v1.GetEntryGroupRequest
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - default void updateEntryGroup(com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest request, + default void updateEntryGroup( + com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateEntryGroupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateEntryGroupMethod(), responseObserver); } /** + * + * *
      * Deletes an entry group.
      * You must enable the Data Catalog API in the project
@@ -1208,22 +1709,31 @@ default void updateEntryGroup(com.google.cloud.datacatalog.v1.UpdateEntryGroupRe
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - default void deleteEntryGroup(com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest request, + default void deleteEntryGroup( + com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteEntryGroupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteEntryGroupMethod(), responseObserver); } /** + * + * *
      * Lists entry groups.
      * 
*/ - default void listEntryGroups(com.google.cloud.datacatalog.v1.ListEntryGroupsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListEntryGroupsMethod(), responseObserver); + default void listEntryGroups( + com.google.cloud.datacatalog.v1.ListEntryGroupsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListEntryGroupsMethod(), responseObserver); } /** + * + * *
      * Creates an entry.
      * You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM',
@@ -1235,12 +1745,16 @@ default void listEntryGroups(com.google.cloud.datacatalog.v1.ListEntryGroupsRequ
      * An entry group can have a maximum of 100,000 entries.
      * 
*/ - default void createEntry(com.google.cloud.datacatalog.v1.CreateEntryRequest request, + default void createEntry( + com.google.cloud.datacatalog.v1.CreateEntryRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateEntryMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateEntryMethod(), responseObserver); } /** + * + * *
      * Updates an existing entry.
      * You must enable the Data Catalog API in the project identified by
@@ -1249,12 +1763,16 @@ default void createEntry(com.google.cloud.datacatalog.v1.CreateEntryRequest requ
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - default void updateEntry(com.google.cloud.datacatalog.v1.UpdateEntryRequest request, + default void updateEntry( + com.google.cloud.datacatalog.v1.UpdateEntryRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateEntryMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateEntryMethod(), responseObserver); } /** + * + * *
      * Deletes an existing entry.
      * You can delete only the entries created by the
@@ -1266,33 +1784,44 @@ default void updateEntry(com.google.cloud.datacatalog.v1.UpdateEntryRequest requ
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - default void deleteEntry(com.google.cloud.datacatalog.v1.DeleteEntryRequest request, + default void deleteEntry( + com.google.cloud.datacatalog.v1.DeleteEntryRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteEntryMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteEntryMethod(), responseObserver); } /** + * + * *
      * Gets an entry.
      * 
*/ - default void getEntry(com.google.cloud.datacatalog.v1.GetEntryRequest request, + default void getEntry( + com.google.cloud.datacatalog.v1.GetEntryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEntryMethod(), responseObserver); } /** + * + * *
      * Gets an entry by its target resource name.
      * The resource name comes from the source Google Cloud Platform service.
      * 
*/ - default void lookupEntry(com.google.cloud.datacatalog.v1.LookupEntryRequest request, + default void lookupEntry( + com.google.cloud.datacatalog.v1.LookupEntryRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getLookupEntryMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getLookupEntryMethod(), responseObserver); } /** + * + * *
      * Lists entries.
      * Note: Currently, this method can list only custom entries.
@@ -1300,12 +1829,17 @@ default void lookupEntry(com.google.cloud.datacatalog.v1.LookupEntryRequest requ
      * [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
      * 
*/ - default void listEntries(com.google.cloud.datacatalog.v1.ListEntriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListEntriesMethod(), responseObserver); + default void listEntries( + com.google.cloud.datacatalog.v1.ListEntriesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListEntriesMethod(), responseObserver); } /** + * + * *
      * Modifies entry overview, part of the business context of an
      * [Entry][google.cloud.datacatalog.v1.Entry].
@@ -1313,12 +1847,17 @@ default void listEntries(com.google.cloud.datacatalog.v1.ListEntriesRequest requ
      * IAM permission on the corresponding project.
      * 
*/ - default void modifyEntryOverview(com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getModifyEntryOverviewMethod(), responseObserver); + default void modifyEntryOverview( + com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getModifyEntryOverviewMethod(), responseObserver); } /** + * + * *
      * Modifies contacts, part of the business context of an
      * [Entry][google.cloud.datacatalog.v1.Entry].
@@ -1326,12 +1865,16 @@ default void modifyEntryOverview(com.google.cloud.datacatalog.v1.ModifyEntryOver
      * IAM permission on the corresponding project.
      * 
*/ - default void modifyEntryContacts(com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest request, + default void modifyEntryContacts( + com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getModifyEntryContactsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getModifyEntryContactsMethod(), responseObserver); } /** + * + * *
      * Creates a tag template.
      * You must enable the Data Catalog API in the project identified by the
@@ -1340,22 +1883,30 @@ default void modifyEntryContacts(com.google.cloud.datacatalog.v1.ModifyEntryCont
      * (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - default void createTagTemplate(com.google.cloud.datacatalog.v1.CreateTagTemplateRequest request, + default void createTagTemplate( + com.google.cloud.datacatalog.v1.CreateTagTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagTemplateMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateTagTemplateMethod(), responseObserver); } /** + * + * *
      * Gets a tag template.
      * 
*/ - default void getTagTemplate(com.google.cloud.datacatalog.v1.GetTagTemplateRequest request, + default void getTagTemplate( + com.google.cloud.datacatalog.v1.GetTagTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagTemplateMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetTagTemplateMethod(), responseObserver); } /** + * + * *
      * Updates a tag template.
      * You can't update template fields with this method. These fields are
@@ -1366,12 +1917,16 @@ default void getTagTemplate(com.google.cloud.datacatalog.v1.GetTagTemplateReques
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - default void updateTagTemplate(com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest request, + default void updateTagTemplate( + com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagTemplateMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateTagTemplateMethod(), responseObserver); } /** + * + * *
      * Deletes a tag template and all tags that use it.
      * You must enable the Data Catalog API in the project identified by
@@ -1379,12 +1934,16 @@ default void updateTagTemplate(com.google.cloud.datacatalog.v1.UpdateTagTemplate
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - default void deleteTagTemplate(com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest request, + default void deleteTagTemplate( + com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagTemplateMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteTagTemplateMethod(), responseObserver); } /** + * + * *
      * Creates a field in a tag template.
      * You must enable the Data Catalog API in the project identified by
@@ -1392,12 +1951,17 @@ default void deleteTagTemplate(com.google.cloud.datacatalog.v1.DeleteTagTemplate
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - default void createTagTemplateField(com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagTemplateFieldMethod(), responseObserver); + default void createTagTemplateField( + com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateTagTemplateFieldMethod(), responseObserver); } /** + * + * *
      * Updates a field in a tag template.
      * You can't update the field type with this method.
@@ -1407,12 +1971,17 @@ default void createTagTemplateField(com.google.cloud.datacatalog.v1.CreateTagTem
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - default void updateTagTemplateField(com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagTemplateFieldMethod(), responseObserver); + default void updateTagTemplateField( + com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateTagTemplateFieldMethod(), responseObserver); } /** + * + * *
      * Renames a field in a tag template.
      * You must enable the Data Catalog API in the project identified by the
@@ -1420,23 +1989,33 @@ default void updateTagTemplateField(com.google.cloud.datacatalog.v1.UpdateTagTem
      * (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - default void renameTagTemplateField(com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRenameTagTemplateFieldMethod(), responseObserver); + default void renameTagTemplateField( + com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRenameTagTemplateFieldMethod(), responseObserver); } /** + * + * *
      * Renames an enum value in a tag template.
      * Within a single enum field, enum values must be unique.
      * 
*/ - default void renameTagTemplateFieldEnumValue(com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRenameTagTemplateFieldEnumValueMethod(), responseObserver); + default void renameTagTemplateFieldEnumValue( + com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRenameTagTemplateFieldEnumValueMethod(), responseObserver); } /** + * + * *
      * Deletes a field in a tag template and all uses of this field from the tags
      * based on this template.
@@ -1445,12 +2024,16 @@ default void renameTagTemplateFieldEnumValue(com.google.cloud.datacatalog.v1.Ren
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - default void deleteTagTemplateField(com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest request, + default void deleteTagTemplateField( + com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagTemplateFieldMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteTagTemplateFieldMethod(), responseObserver); } /** + * + * *
      * Creates a tag and assigns it to:
      * * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
@@ -1464,44 +2047,57 @@ default void deleteTagTemplateField(com.google.cloud.datacatalog.v1.DeleteTagTem
      * used to create the tag must be in the same organization.
      * 
*/ - default void createTag(com.google.cloud.datacatalog.v1.CreateTagRequest request, + default void createTag( + com.google.cloud.datacatalog.v1.CreateTagRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); } /** + * + * *
      * Updates an existing tag.
      * 
*/ - default void updateTag(com.google.cloud.datacatalog.v1.UpdateTagRequest request, + default void updateTag( + com.google.cloud.datacatalog.v1.UpdateTagRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); } /** + * + * *
      * Deletes a tag.
      * 
*/ - default void deleteTag(com.google.cloud.datacatalog.v1.DeleteTagRequest request, + default void deleteTag( + com.google.cloud.datacatalog.v1.DeleteTagRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); } /** + * + * *
      * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry].
      * The [columns][google.cloud.datacatalog.v1.Tag.column] in the response are
      * lowercased.
      * 
*/ - default void listTags(com.google.cloud.datacatalog.v1.ListTagsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + default void listTags( + com.google.cloud.datacatalog.v1.ListTagsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); } /** + * + * *
      * `ReconcileTags` creates or updates a list of tags on the entry.
      * If the
@@ -1517,34 +2113,47 @@ default void listTags(com.google.cloud.datacatalog.v1.ListTagsRequest request,
      * [google.cloud.datacatalog.v1.ReconcileTagsResponse] message.
      * 
*/ - default void reconcileTags(com.google.cloud.datacatalog.v1.ReconcileTagsRequest request, + default void reconcileTags( + com.google.cloud.datacatalog.v1.ReconcileTagsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReconcileTagsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getReconcileTagsMethod(), responseObserver); } /** + * + * *
      * Marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by
      * the current user. Starring information is private to each user.
      * 
*/ - default void starEntry(com.google.cloud.datacatalog.v1.StarEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { + default void starEntry( + com.google.cloud.datacatalog.v1.StarEntryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStarEntryMethod(), responseObserver); } /** + * + * *
      * Marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by
      * the current user. Starring information is private to each user.
      * 
*/ - default void unstarEntry(com.google.cloud.datacatalog.v1.UnstarEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUnstarEntryMethod(), responseObserver); + default void unstarEntry( + com.google.cloud.datacatalog.v1.UnstarEntryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUnstarEntryMethod(), responseObserver); } /** + * + * *
      * Sets an access control policy for a resource. Replaces any existing
      * policy.
@@ -1560,12 +2169,16 @@ default void unstarEntry(com.google.cloud.datacatalog.v1.UnstarEntryRequest requ
      * - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
      * 
*/ - 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); } /** + * + * *
      * Gets the access control policy for a resource.
      * May return:
@@ -1583,12 +2196,16 @@ default void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
      * - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
      * 
*/ - 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); } /** + * + * *
      * Gets your permissions on a resource.
      * Returns an empty set of permissions if the resource doesn't exist.
@@ -1601,12 +2218,17 @@ default void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
      * No Google IAM permissions are required to call this method.
      * 
*/ - 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); } /** + * + * *
      * Imports entries from a source, such as data previously dumped into a
      * Cloud Storage bucket, into Data Catalog. Import of entries
@@ -1626,29 +2248,34 @@ default void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest requ
      * message.
      * 
*/ - default void importEntries(com.google.cloud.datacatalog.v1.ImportEntriesRequest request, + default void importEntries( + com.google.cloud.datacatalog.v1.ImportEntriesRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportEntriesMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getImportEntriesMethod(), responseObserver); } } /** * Base class for the server implementation of the service DataCatalog. + * *
    * Data Catalog API service allows you to discover, understand, and manage
    * your data.
    * 
*/ - public static abstract class DataCatalogImplBase + public abstract static class DataCatalogImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return DataCatalogGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service DataCatalog. + * *
    * Data Catalog API service allows you to discover, understand, and manage
    * your data.
@@ -1656,18 +2283,18 @@ public static abstract class DataCatalogImplBase
    */
   public static final class DataCatalogStub
       extends io.grpc.stub.AbstractAsyncStub {
-    private DataCatalogStub(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private DataCatalogStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
     @java.lang.Override
-    protected DataCatalogStub build(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    protected DataCatalogStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       return new DataCatalogStub(channel, callOptions);
     }
 
     /**
+     *
+     *
      * 
      * Searches Data Catalog for multiple resources like entries and tags that
      * match a query.
@@ -1683,13 +2310,19 @@ protected DataCatalogStub build(
      * (https://cloud.google.com/data-catalog/docs/how-to/search-reference).
      * 
*/ - public void searchCatalog(com.google.cloud.datacatalog.v1.SearchCatalogRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void searchCatalog( + com.google.cloud.datacatalog.v1.SearchCatalogRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchCatalogMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getSearchCatalogMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Creates an entry group.
      * An entry group contains logically related entries together with [Cloud
@@ -1713,24 +2346,34 @@ public void searchCatalog(com.google.cloud.datacatalog.v1.SearchCatalogRequest r
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public void createEntryGroup(com.google.cloud.datacatalog.v1.CreateEntryGroupRequest request, + public void createEntryGroup( + com.google.cloud.datacatalog.v1.CreateEntryGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateEntryGroupMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateEntryGroupMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets an entry group.
      * 
*/ - public void getEntryGroup(com.google.cloud.datacatalog.v1.GetEntryGroupRequest request, + public void getEntryGroup( + com.google.cloud.datacatalog.v1.GetEntryGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetEntryGroupMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGetEntryGroupMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Updates an entry group.
      * You must enable the Data Catalog API in the project identified by
@@ -1739,13 +2382,18 @@ public void getEntryGroup(com.google.cloud.datacatalog.v1.GetEntryGroupRequest r
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public void updateEntryGroup(com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest request, + public void updateEntryGroup( + com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateEntryGroupMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateEntryGroupMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Deletes an entry group.
      * You must enable the Data Catalog API in the project
@@ -1754,24 +2402,35 @@ public void updateEntryGroup(com.google.cloud.datacatalog.v1.UpdateEntryGroupReq
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public void deleteEntryGroup(com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest request, + public void deleteEntryGroup( + com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteEntryGroupMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteEntryGroupMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists entry groups.
      * 
*/ - public void listEntryGroups(com.google.cloud.datacatalog.v1.ListEntryGroupsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listEntryGroups( + com.google.cloud.datacatalog.v1.ListEntryGroupsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListEntryGroupsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListEntryGroupsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Creates an entry.
      * You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM',
@@ -1783,13 +2442,18 @@ public void listEntryGroups(com.google.cloud.datacatalog.v1.ListEntryGroupsReque
      * An entry group can have a maximum of 100,000 entries.
      * 
*/ - public void createEntry(com.google.cloud.datacatalog.v1.CreateEntryRequest request, + public void createEntry( + com.google.cloud.datacatalog.v1.CreateEntryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateEntryMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateEntryMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Updates an existing entry.
      * You must enable the Data Catalog API in the project identified by
@@ -1798,13 +2462,18 @@ public void createEntry(com.google.cloud.datacatalog.v1.CreateEntryRequest reque
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public void updateEntry(com.google.cloud.datacatalog.v1.UpdateEntryRequest request, + public void updateEntry( + com.google.cloud.datacatalog.v1.UpdateEntryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateEntryMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateEntryMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Deletes an existing entry.
      * You can delete only the entries created by the
@@ -1816,36 +2485,49 @@ public void updateEntry(com.google.cloud.datacatalog.v1.UpdateEntryRequest reque
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public void deleteEntry(com.google.cloud.datacatalog.v1.DeleteEntryRequest request, + public void deleteEntry( + com.google.cloud.datacatalog.v1.DeleteEntryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteEntryMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteEntryMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets an entry.
      * 
*/ - public void getEntry(com.google.cloud.datacatalog.v1.GetEntryRequest request, + public void getEntry( + com.google.cloud.datacatalog.v1.GetEntryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetEntryMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Gets an entry by its target resource name.
      * The resource name comes from the source Google Cloud Platform service.
      * 
*/ - public void lookupEntry(com.google.cloud.datacatalog.v1.LookupEntryRequest request, + public void lookupEntry( + com.google.cloud.datacatalog.v1.LookupEntryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getLookupEntryMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getLookupEntryMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists entries.
      * Note: Currently, this method can list only custom entries.
@@ -1853,13 +2535,19 @@ public void lookupEntry(com.google.cloud.datacatalog.v1.LookupEntryRequest reque
      * [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
      * 
*/ - public void listEntries(com.google.cloud.datacatalog.v1.ListEntriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listEntries( + com.google.cloud.datacatalog.v1.ListEntriesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListEntriesMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListEntriesMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Modifies entry overview, part of the business context of an
      * [Entry][google.cloud.datacatalog.v1.Entry].
@@ -1867,13 +2555,19 @@ public void listEntries(com.google.cloud.datacatalog.v1.ListEntriesRequest reque
      * IAM permission on the corresponding project.
      * 
*/ - public void modifyEntryOverview(com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void modifyEntryOverview( + com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getModifyEntryOverviewMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getModifyEntryOverviewMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Modifies contacts, part of the business context of an
      * [Entry][google.cloud.datacatalog.v1.Entry].
@@ -1881,13 +2575,18 @@ public void modifyEntryOverview(com.google.cloud.datacatalog.v1.ModifyEntryOverv
      * IAM permission on the corresponding project.
      * 
*/ - public void modifyEntryContacts(com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest request, + public void modifyEntryContacts( + com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getModifyEntryContactsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getModifyEntryContactsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Creates a tag template.
      * You must enable the Data Catalog API in the project identified by the
@@ -1896,24 +2595,34 @@ public void modifyEntryContacts(com.google.cloud.datacatalog.v1.ModifyEntryConta
      * (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public void createTagTemplate(com.google.cloud.datacatalog.v1.CreateTagTemplateRequest request, + public void createTagTemplate( + com.google.cloud.datacatalog.v1.CreateTagTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTagTemplateMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateTagTemplateMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets a tag template.
      * 
*/ - public void getTagTemplate(com.google.cloud.datacatalog.v1.GetTagTemplateRequest request, + public void getTagTemplate( + com.google.cloud.datacatalog.v1.GetTagTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTagTemplateMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGetTagTemplateMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Updates a tag template.
      * You can't update template fields with this method. These fields are
@@ -1924,13 +2633,18 @@ public void getTagTemplate(com.google.cloud.datacatalog.v1.GetTagTemplateRequest
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public void updateTagTemplate(com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest request, + public void updateTagTemplate( + com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTagTemplateMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateTagTemplateMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Deletes a tag template and all tags that use it.
      * You must enable the Data Catalog API in the project identified by
@@ -1938,13 +2652,18 @@ public void updateTagTemplate(com.google.cloud.datacatalog.v1.UpdateTagTemplateR
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public void deleteTagTemplate(com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest request, + public void deleteTagTemplate( + com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTagTemplateMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteTagTemplateMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Creates a field in a tag template.
      * You must enable the Data Catalog API in the project identified by
@@ -1952,13 +2671,19 @@ public void deleteTagTemplate(com.google.cloud.datacatalog.v1.DeleteTagTemplateR
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public void createTagTemplateField(com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void createTagTemplateField( + com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTagTemplateFieldMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateTagTemplateFieldMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Updates a field in a tag template.
      * You can't update the field type with this method.
@@ -1968,13 +2693,19 @@ public void createTagTemplateField(com.google.cloud.datacatalog.v1.CreateTagTemp
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public void updateTagTemplateField(com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void updateTagTemplateField( + com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTagTemplateFieldMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateTagTemplateFieldMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Renames a field in a tag template.
      * You must enable the Data Catalog API in the project identified by the
@@ -1982,25 +2713,37 @@ public void updateTagTemplateField(com.google.cloud.datacatalog.v1.UpdateTagTemp
      * (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public void renameTagTemplateField(com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void renameTagTemplateField( + com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRenameTagTemplateFieldMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getRenameTagTemplateFieldMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Renames an enum value in a tag template.
      * Within a single enum field, enum values must be unique.
      * 
*/ - public void renameTagTemplateFieldEnumValue(com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void renameTagTemplateFieldEnumValue( + com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRenameTagTemplateFieldEnumValueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getRenameTagTemplateFieldEnumValueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Deletes a field in a tag template and all uses of this field from the tags
      * based on this template.
@@ -2009,13 +2752,18 @@ public void renameTagTemplateFieldEnumValue(com.google.cloud.datacatalog.v1.Rena
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public void deleteTagTemplateField(com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest request, + public void deleteTagTemplateField( + com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTagTemplateFieldMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteTagTemplateFieldMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Creates a tag and assigns it to:
      * * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
@@ -2029,48 +2777,61 @@ public void deleteTagTemplateField(com.google.cloud.datacatalog.v1.DeleteTagTemp
      * used to create the tag must be in the same organization.
      * 
*/ - public void createTag(com.google.cloud.datacatalog.v1.CreateTagRequest request, + public void createTag( + com.google.cloud.datacatalog.v1.CreateTagRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Updates an existing tag.
      * 
*/ - public void updateTag(com.google.cloud.datacatalog.v1.UpdateTagRequest request, + public void updateTag( + com.google.cloud.datacatalog.v1.UpdateTagRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Deletes a tag.
      * 
*/ - public void deleteTag(com.google.cloud.datacatalog.v1.DeleteTagRequest request, + public void deleteTag( + com.google.cloud.datacatalog.v1.DeleteTagRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry].
      * The [columns][google.cloud.datacatalog.v1.Tag.column] in the response are
      * lowercased.
      * 
*/ - public void listTags(com.google.cloud.datacatalog.v1.ListTagsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listTags( + com.google.cloud.datacatalog.v1.ListTagsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * `ReconcileTags` creates or updates a list of tags on the entry.
      * If the
@@ -2086,37 +2847,52 @@ public void listTags(com.google.cloud.datacatalog.v1.ListTagsRequest request,
      * [google.cloud.datacatalog.v1.ReconcileTagsResponse] message.
      * 
*/ - public void reconcileTags(com.google.cloud.datacatalog.v1.ReconcileTagsRequest request, + public void reconcileTags( + com.google.cloud.datacatalog.v1.ReconcileTagsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getReconcileTagsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getReconcileTagsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by
      * the current user. Starring information is private to each user.
      * 
*/ - public void starEntry(com.google.cloud.datacatalog.v1.StarEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void starEntry( + com.google.cloud.datacatalog.v1.StarEntryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getStarEntryMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by
      * the current user. Starring information is private to each user.
      * 
*/ - public void unstarEntry(com.google.cloud.datacatalog.v1.UnstarEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void unstarEntry( + com.google.cloud.datacatalog.v1.UnstarEntryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUnstarEntryMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUnstarEntryMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Sets an access control policy for a resource. Replaces any existing
      * policy.
@@ -2132,13 +2908,18 @@ public void unstarEntry(com.google.cloud.datacatalog.v1.UnstarEntryRequest reque
      * - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
      * 
*/ - 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); } /** + * + * *
      * Gets the access control policy for a resource.
      * May return:
@@ -2156,13 +2937,18 @@ public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
      * - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
      * 
*/ - 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); } /** + * + * *
      * Gets your permissions on a resource.
      * Returns an empty set of permissions if the resource doesn't exist.
@@ -2175,13 +2961,19 @@ public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
      * No Google IAM permissions are required to call this method.
      * 
*/ - 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); } /** + * + * *
      * Imports entries from a source, such as data previously dumped into a
      * Cloud Storage bucket, into Data Catalog. Import of entries
@@ -2201,15 +2993,19 @@ public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest reque
      * message.
      * 
*/ - public void importEntries(com.google.cloud.datacatalog.v1.ImportEntriesRequest request, + public void importEntries( + com.google.cloud.datacatalog.v1.ImportEntriesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportEntriesMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getImportEntriesMethod(), getCallOptions()), + request, + responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service DataCatalog. + * *
    * Data Catalog API service allows you to discover, understand, and manage
    * your data.
@@ -2217,8 +3013,7 @@ public void importEntries(com.google.cloud.datacatalog.v1.ImportEntriesRequest r
    */
   public static final class DataCatalogBlockingStub
       extends io.grpc.stub.AbstractBlockingStub {
-    private DataCatalogBlockingStub(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private DataCatalogBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -2229,6 +3024,8 @@ protected DataCatalogBlockingStub build(
     }
 
     /**
+     *
+     *
      * 
      * Searches Data Catalog for multiple resources like entries and tags that
      * match a query.
@@ -2244,12 +3041,15 @@ protected DataCatalogBlockingStub build(
      * (https://cloud.google.com/data-catalog/docs/how-to/search-reference).
      * 
*/ - public com.google.cloud.datacatalog.v1.SearchCatalogResponse searchCatalog(com.google.cloud.datacatalog.v1.SearchCatalogRequest request) { + public com.google.cloud.datacatalog.v1.SearchCatalogResponse searchCatalog( + com.google.cloud.datacatalog.v1.SearchCatalogRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSearchCatalogMethod(), getCallOptions(), request); } /** + * + * *
      * Creates an entry group.
      * An entry group contains logically related entries together with [Cloud
@@ -2273,22 +3073,28 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResponse searchCatalog(com.g
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.cloud.datacatalog.v1.EntryGroup createEntryGroup(com.google.cloud.datacatalog.v1.CreateEntryGroupRequest request) { + public com.google.cloud.datacatalog.v1.EntryGroup createEntryGroup( + com.google.cloud.datacatalog.v1.CreateEntryGroupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateEntryGroupMethod(), getCallOptions(), request); } /** + * + * *
      * Gets an entry group.
      * 
*/ - public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroup(com.google.cloud.datacatalog.v1.GetEntryGroupRequest request) { + public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroup( + com.google.cloud.datacatalog.v1.GetEntryGroupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetEntryGroupMethod(), getCallOptions(), request); } /** + * + * *
      * Updates an entry group.
      * You must enable the Data Catalog API in the project identified by
@@ -2297,12 +3103,15 @@ public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroup(com.google.cloud
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.cloud.datacatalog.v1.EntryGroup updateEntryGroup(com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest request) { + public com.google.cloud.datacatalog.v1.EntryGroup updateEntryGroup( + com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateEntryGroupMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes an entry group.
      * You must enable the Data Catalog API in the project
@@ -2311,22 +3120,28 @@ public com.google.cloud.datacatalog.v1.EntryGroup updateEntryGroup(com.google.cl
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.protobuf.Empty deleteEntryGroup(com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest request) { + public com.google.protobuf.Empty deleteEntryGroup( + com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteEntryGroupMethod(), getCallOptions(), request); } /** + * + * *
      * Lists entry groups.
      * 
*/ - public com.google.cloud.datacatalog.v1.ListEntryGroupsResponse listEntryGroups(com.google.cloud.datacatalog.v1.ListEntryGroupsRequest request) { + public com.google.cloud.datacatalog.v1.ListEntryGroupsResponse listEntryGroups( + com.google.cloud.datacatalog.v1.ListEntryGroupsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListEntryGroupsMethod(), getCallOptions(), request); } /** + * + * *
      * Creates an entry.
      * You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM',
@@ -2338,12 +3153,15 @@ public com.google.cloud.datacatalog.v1.ListEntryGroupsResponse listEntryGroups(c
      * An entry group can have a maximum of 100,000 entries.
      * 
*/ - public com.google.cloud.datacatalog.v1.Entry createEntry(com.google.cloud.datacatalog.v1.CreateEntryRequest request) { + public com.google.cloud.datacatalog.v1.Entry createEntry( + com.google.cloud.datacatalog.v1.CreateEntryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateEntryMethod(), getCallOptions(), request); } /** + * + * *
      * Updates an existing entry.
      * You must enable the Data Catalog API in the project identified by
@@ -2352,12 +3170,15 @@ public com.google.cloud.datacatalog.v1.Entry createEntry(com.google.cloud.dataca
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.cloud.datacatalog.v1.Entry updateEntry(com.google.cloud.datacatalog.v1.UpdateEntryRequest request) { + public com.google.cloud.datacatalog.v1.Entry updateEntry( + com.google.cloud.datacatalog.v1.UpdateEntryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateEntryMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes an existing entry.
      * You can delete only the entries created by the
@@ -2369,33 +3190,42 @@ public com.google.cloud.datacatalog.v1.Entry updateEntry(com.google.cloud.dataca
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.protobuf.Empty deleteEntry(com.google.cloud.datacatalog.v1.DeleteEntryRequest request) { + public com.google.protobuf.Empty deleteEntry( + com.google.cloud.datacatalog.v1.DeleteEntryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteEntryMethod(), getCallOptions(), request); } /** + * + * *
      * Gets an entry.
      * 
*/ - public com.google.cloud.datacatalog.v1.Entry getEntry(com.google.cloud.datacatalog.v1.GetEntryRequest request) { + public com.google.cloud.datacatalog.v1.Entry getEntry( + com.google.cloud.datacatalog.v1.GetEntryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetEntryMethod(), getCallOptions(), request); } /** + * + * *
      * Gets an entry by its target resource name.
      * The resource name comes from the source Google Cloud Platform service.
      * 
*/ - public com.google.cloud.datacatalog.v1.Entry lookupEntry(com.google.cloud.datacatalog.v1.LookupEntryRequest request) { + public com.google.cloud.datacatalog.v1.Entry lookupEntry( + com.google.cloud.datacatalog.v1.LookupEntryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getLookupEntryMethod(), getCallOptions(), request); } /** + * + * *
      * Lists entries.
      * Note: Currently, this method can list only custom entries.
@@ -2403,12 +3233,15 @@ public com.google.cloud.datacatalog.v1.Entry lookupEntry(com.google.cloud.dataca
      * [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
      * 
*/ - public com.google.cloud.datacatalog.v1.ListEntriesResponse listEntries(com.google.cloud.datacatalog.v1.ListEntriesRequest request) { + public com.google.cloud.datacatalog.v1.ListEntriesResponse listEntries( + com.google.cloud.datacatalog.v1.ListEntriesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListEntriesMethod(), getCallOptions(), request); } /** + * + * *
      * Modifies entry overview, part of the business context of an
      * [Entry][google.cloud.datacatalog.v1.Entry].
@@ -2416,12 +3249,15 @@ public com.google.cloud.datacatalog.v1.ListEntriesResponse listEntries(com.googl
      * IAM permission on the corresponding project.
      * 
*/ - public com.google.cloud.datacatalog.v1.EntryOverview modifyEntryOverview(com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest request) { + public com.google.cloud.datacatalog.v1.EntryOverview modifyEntryOverview( + com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getModifyEntryOverviewMethod(), getCallOptions(), request); } /** + * + * *
      * Modifies contacts, part of the business context of an
      * [Entry][google.cloud.datacatalog.v1.Entry].
@@ -2429,12 +3265,15 @@ public com.google.cloud.datacatalog.v1.EntryOverview modifyEntryOverview(com.goo
      * IAM permission on the corresponding project.
      * 
*/ - public com.google.cloud.datacatalog.v1.Contacts modifyEntryContacts(com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest request) { + public com.google.cloud.datacatalog.v1.Contacts modifyEntryContacts( + com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getModifyEntryContactsMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a tag template.
      * You must enable the Data Catalog API in the project identified by the
@@ -2443,22 +3282,28 @@ public com.google.cloud.datacatalog.v1.Contacts modifyEntryContacts(com.google.c
      * (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.cloud.datacatalog.v1.TagTemplate createTagTemplate(com.google.cloud.datacatalog.v1.CreateTagTemplateRequest request) { + public com.google.cloud.datacatalog.v1.TagTemplate createTagTemplate( + com.google.cloud.datacatalog.v1.CreateTagTemplateRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTagTemplateMethod(), getCallOptions(), request); } /** + * + * *
      * Gets a tag template.
      * 
*/ - public com.google.cloud.datacatalog.v1.TagTemplate getTagTemplate(com.google.cloud.datacatalog.v1.GetTagTemplateRequest request) { + public com.google.cloud.datacatalog.v1.TagTemplate getTagTemplate( + com.google.cloud.datacatalog.v1.GetTagTemplateRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetTagTemplateMethod(), getCallOptions(), request); } /** + * + * *
      * Updates a tag template.
      * You can't update template fields with this method. These fields are
@@ -2469,12 +3314,15 @@ public com.google.cloud.datacatalog.v1.TagTemplate getTagTemplate(com.google.clo
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.cloud.datacatalog.v1.TagTemplate updateTagTemplate(com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest request) { + public com.google.cloud.datacatalog.v1.TagTemplate updateTagTemplate( + com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateTagTemplateMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes a tag template and all tags that use it.
      * You must enable the Data Catalog API in the project identified by
@@ -2482,12 +3330,15 @@ public com.google.cloud.datacatalog.v1.TagTemplate updateTagTemplate(com.google.
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.protobuf.Empty deleteTagTemplate(com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest request) { + public com.google.protobuf.Empty deleteTagTemplate( + com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteTagTemplateMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a field in a tag template.
      * You must enable the Data Catalog API in the project identified by
@@ -2495,12 +3346,15 @@ public com.google.protobuf.Empty deleteTagTemplate(com.google.cloud.datacatalog.
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.cloud.datacatalog.v1.TagTemplateField createTagTemplateField(com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest request) { + public com.google.cloud.datacatalog.v1.TagTemplateField createTagTemplateField( + com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTagTemplateFieldMethod(), getCallOptions(), request); } /** + * + * *
      * Updates a field in a tag template.
      * You can't update the field type with this method.
@@ -2510,12 +3364,15 @@ public com.google.cloud.datacatalog.v1.TagTemplateField createTagTemplateField(c
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.cloud.datacatalog.v1.TagTemplateField updateTagTemplateField(com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest request) { + public com.google.cloud.datacatalog.v1.TagTemplateField updateTagTemplateField( + com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateTagTemplateFieldMethod(), getCallOptions(), request); } /** + * + * *
      * Renames a field in a tag template.
      * You must enable the Data Catalog API in the project identified by the
@@ -2523,23 +3380,29 @@ public com.google.cloud.datacatalog.v1.TagTemplateField updateTagTemplateField(c
      * (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.cloud.datacatalog.v1.TagTemplateField renameTagTemplateField(com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest request) { + public com.google.cloud.datacatalog.v1.TagTemplateField renameTagTemplateField( + com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRenameTagTemplateFieldMethod(), getCallOptions(), request); } /** + * + * *
      * Renames an enum value in a tag template.
      * Within a single enum field, enum values must be unique.
      * 
*/ - public com.google.cloud.datacatalog.v1.TagTemplateField renameTagTemplateFieldEnumValue(com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest request) { + public com.google.cloud.datacatalog.v1.TagTemplateField renameTagTemplateFieldEnumValue( + com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRenameTagTemplateFieldEnumValueMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes a field in a tag template and all uses of this field from the tags
      * based on this template.
@@ -2548,12 +3411,15 @@ public com.google.cloud.datacatalog.v1.TagTemplateField renameTagTemplateFieldEn
      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ - public com.google.protobuf.Empty deleteTagTemplateField(com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest request) { + public com.google.protobuf.Empty deleteTagTemplateField( + com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteTagTemplateFieldMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a tag and assigns it to:
      * * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
@@ -2567,44 +3433,56 @@ public com.google.protobuf.Empty deleteTagTemplateField(com.google.cloud.datacat
      * used to create the tag must be in the same organization.
      * 
*/ - public com.google.cloud.datacatalog.v1.Tag createTag(com.google.cloud.datacatalog.v1.CreateTagRequest request) { + public com.google.cloud.datacatalog.v1.Tag createTag( + com.google.cloud.datacatalog.v1.CreateTagRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTagMethod(), getCallOptions(), request); } /** + * + * *
      * Updates an existing tag.
      * 
*/ - public com.google.cloud.datacatalog.v1.Tag updateTag(com.google.cloud.datacatalog.v1.UpdateTagRequest request) { + public com.google.cloud.datacatalog.v1.Tag updateTag( + com.google.cloud.datacatalog.v1.UpdateTagRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateTagMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes a tag.
      * 
*/ - public com.google.protobuf.Empty deleteTag(com.google.cloud.datacatalog.v1.DeleteTagRequest request) { + public com.google.protobuf.Empty deleteTag( + com.google.cloud.datacatalog.v1.DeleteTagRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteTagMethod(), getCallOptions(), request); } /** + * + * *
      * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry].
      * The [columns][google.cloud.datacatalog.v1.Tag.column] in the response are
      * lowercased.
      * 
*/ - public com.google.cloud.datacatalog.v1.ListTagsResponse listTags(com.google.cloud.datacatalog.v1.ListTagsRequest request) { + public com.google.cloud.datacatalog.v1.ListTagsResponse listTags( + com.google.cloud.datacatalog.v1.ListTagsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListTagsMethod(), getCallOptions(), request); } /** + * + * *
      * `ReconcileTags` creates or updates a list of tags on the entry.
      * If the
@@ -2620,34 +3498,43 @@ public com.google.cloud.datacatalog.v1.ListTagsResponse listTags(com.google.clou
      * [google.cloud.datacatalog.v1.ReconcileTagsResponse] message.
      * 
*/ - public com.google.longrunning.Operation reconcileTags(com.google.cloud.datacatalog.v1.ReconcileTagsRequest request) { + public com.google.longrunning.Operation reconcileTags( + com.google.cloud.datacatalog.v1.ReconcileTagsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getReconcileTagsMethod(), getCallOptions(), request); } /** + * + * *
      * Marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by
      * the current user. Starring information is private to each user.
      * 
*/ - public com.google.cloud.datacatalog.v1.StarEntryResponse starEntry(com.google.cloud.datacatalog.v1.StarEntryRequest request) { + public com.google.cloud.datacatalog.v1.StarEntryResponse starEntry( + com.google.cloud.datacatalog.v1.StarEntryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getStarEntryMethod(), getCallOptions(), request); } /** + * + * *
      * Marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by
      * the current user. Starring information is private to each user.
      * 
*/ - public com.google.cloud.datacatalog.v1.UnstarEntryResponse unstarEntry(com.google.cloud.datacatalog.v1.UnstarEntryRequest request) { + public com.google.cloud.datacatalog.v1.UnstarEntryResponse unstarEntry( + com.google.cloud.datacatalog.v1.UnstarEntryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUnstarEntryMethod(), getCallOptions(), request); } /** + * + * *
      * Sets an access control policy for a resource. Replaces any existing
      * policy.
@@ -2669,6 +3556,8 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
+     *
+     *
      * 
      * Gets the access control policy for a resource.
      * May return:
@@ -2692,6 +3581,8 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
     }
 
     /**
+     *
+     *
      * 
      * Gets your permissions on a resource.
      * Returns an empty set of permissions if the resource doesn't exist.
@@ -2704,12 +3595,15 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
      * No Google IAM permissions are required to call this method.
      * 
*/ - 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); } /** + * + * *
      * Imports entries from a source, such as data previously dumped into a
      * Cloud Storage bucket, into Data Catalog. Import of entries
@@ -2729,7 +3623,8 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.googl
      * message.
      * 
*/ - public com.google.longrunning.Operation importEntries(com.google.cloud.datacatalog.v1.ImportEntriesRequest request) { + public com.google.longrunning.Operation importEntries( + com.google.cloud.datacatalog.v1.ImportEntriesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getImportEntriesMethod(), getCallOptions(), request); } @@ -2737,6 +3632,7 @@ public com.google.longrunning.Operation importEntries(com.google.cloud.datacatal /** * A stub to allow clients to do ListenableFuture-style rpc calls to service DataCatalog. + * *
    * Data Catalog API service allows you to discover, understand, and manage
    * your data.
@@ -2744,8 +3640,7 @@ public com.google.longrunning.Operation importEntries(com.google.cloud.datacatal
    */
   public static final class DataCatalogFutureStub
       extends io.grpc.stub.AbstractFutureStub {
-    private DataCatalogFutureStub(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private DataCatalogFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -2756,6 +3651,8 @@ protected DataCatalogFutureStub build(
     }
 
     /**
+     *
+     *
      * 
      * Searches Data Catalog for multiple resources like entries and tags that
      * match a query.
@@ -2771,13 +3668,16 @@ protected DataCatalogFutureStub build(
      * (https://cloud.google.com/data-catalog/docs/how-to/search-reference).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture searchCatalog( - com.google.cloud.datacatalog.v1.SearchCatalogRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1.SearchCatalogResponse> + searchCatalog(com.google.cloud.datacatalog.v1.SearchCatalogRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSearchCatalogMethod(), getCallOptions()), request); } /** + * + * *
      * Creates an entry group.
      * An entry group contains logically related entries together with [Cloud
@@ -2801,24 +3701,30 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createEntryGroup(
-        com.google.cloud.datacatalog.v1.CreateEntryGroupRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.datacatalog.v1.EntryGroup>
+        createEntryGroup(com.google.cloud.datacatalog.v1.CreateEntryGroupRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCreateEntryGroupMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets an entry group.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getEntryGroup( - com.google.cloud.datacatalog.v1.GetEntryGroupRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1.EntryGroup> + getEntryGroup(com.google.cloud.datacatalog.v1.GetEntryGroupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetEntryGroupMethod(), getCallOptions()), request); } /** + * + * *
      * Updates an entry group.
      * You must enable the Data Catalog API in the project identified by
@@ -2827,13 +3733,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture updateEntryGroup(
-        com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.datacatalog.v1.EntryGroup>
+        updateEntryGroup(com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getUpdateEntryGroupMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Deletes an entry group.
      * You must enable the Data Catalog API in the project
@@ -2842,24 +3751,29 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture deleteEntryGroup(
-        com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        deleteEntryGroup(com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getDeleteEntryGroupMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Lists entry groups.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listEntryGroups( - com.google.cloud.datacatalog.v1.ListEntryGroupsRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1.ListEntryGroupsResponse> + listEntryGroups(com.google.cloud.datacatalog.v1.ListEntryGroupsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListEntryGroupsMethod(), getCallOptions()), request); } /** + * + * *
      * Creates an entry.
      * You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM',
@@ -2871,13 +3785,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createEntry(
-        com.google.cloud.datacatalog.v1.CreateEntryRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        createEntry(com.google.cloud.datacatalog.v1.CreateEntryRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCreateEntryMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Updates an existing entry.
      * You must enable the Data Catalog API in the project identified by
@@ -2886,13 +3802,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture updateEntry(
-        com.google.cloud.datacatalog.v1.UpdateEntryRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        updateEntry(com.google.cloud.datacatalog.v1.UpdateEntryRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getUpdateEntryMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Deletes an existing entry.
      * You can delete only the entries created by the
@@ -2904,36 +3822,42 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture deleteEntry(
-        com.google.cloud.datacatalog.v1.DeleteEntryRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        deleteEntry(com.google.cloud.datacatalog.v1.DeleteEntryRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getDeleteEntryMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets an entry.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getEntry( - com.google.cloud.datacatalog.v1.GetEntryRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getEntry(com.google.cloud.datacatalog.v1.GetEntryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetEntryMethod(), getCallOptions()), request); } /** + * + * *
      * Gets an entry by its target resource name.
      * The resource name comes from the source Google Cloud Platform service.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture lookupEntry( - com.google.cloud.datacatalog.v1.LookupEntryRequest request) { + public com.google.common.util.concurrent.ListenableFuture + lookupEntry(com.google.cloud.datacatalog.v1.LookupEntryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getLookupEntryMethod(), getCallOptions()), request); } /** + * + * *
      * Lists entries.
      * Note: Currently, this method can list only custom entries.
@@ -2941,13 +3865,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture listEntries(
-        com.google.cloud.datacatalog.v1.ListEntriesRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.datacatalog.v1.ListEntriesResponse>
+        listEntries(com.google.cloud.datacatalog.v1.ListEntriesRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getListEntriesMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Modifies entry overview, part of the business context of an
      * [Entry][google.cloud.datacatalog.v1.Entry].
@@ -2955,13 +3882,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture modifyEntryOverview(
-        com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.datacatalog.v1.EntryOverview>
+        modifyEntryOverview(com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getModifyEntryOverviewMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Modifies contacts, part of the business context of an
      * [Entry][google.cloud.datacatalog.v1.Entry].
@@ -2969,13 +3899,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture modifyEntryContacts(
-        com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.datacatalog.v1.Contacts>
+        modifyEntryContacts(com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getModifyEntryContactsMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Creates a tag template.
      * You must enable the Data Catalog API in the project identified by the
@@ -2984,24 +3917,30 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createTagTemplate(
-        com.google.cloud.datacatalog.v1.CreateTagTemplateRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.datacatalog.v1.TagTemplate>
+        createTagTemplate(com.google.cloud.datacatalog.v1.CreateTagTemplateRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCreateTagTemplateMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets a tag template.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getTagTemplate( - com.google.cloud.datacatalog.v1.GetTagTemplateRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1.TagTemplate> + getTagTemplate(com.google.cloud.datacatalog.v1.GetTagTemplateRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetTagTemplateMethod(), getCallOptions()), request); } /** + * + * *
      * Updates a tag template.
      * You can't update template fields with this method. These fields are
@@ -3012,13 +3951,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture updateTagTemplate(
-        com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.datacatalog.v1.TagTemplate>
+        updateTagTemplate(com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getUpdateTagTemplateMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Deletes a tag template and all tags that use it.
      * You must enable the Data Catalog API in the project identified by
@@ -3026,13 +3968,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture deleteTagTemplate(
-        com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        deleteTagTemplate(com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getDeleteTagTemplateMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Creates a field in a tag template.
      * You must enable the Data Catalog API in the project identified by
@@ -3040,13 +3984,17 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createTagTemplateField(
-        com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.datacatalog.v1.TagTemplateField>
+        createTagTemplateField(
+            com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCreateTagTemplateFieldMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Updates a field in a tag template.
      * You can't update the field type with this method.
@@ -3056,13 +4004,17 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture updateTagTemplateField(
-        com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.datacatalog.v1.TagTemplateField>
+        updateTagTemplateField(
+            com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getUpdateTagTemplateFieldMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Renames a field in a tag template.
      * You must enable the Data Catalog API in the project identified by the
@@ -3070,25 +4022,34 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture renameTagTemplateField(
-        com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.datacatalog.v1.TagTemplateField>
+        renameTagTemplateField(
+            com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRenameTagTemplateFieldMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Renames an enum value in a tag template.
      * Within a single enum field, enum values must be unique.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture renameTagTemplateFieldEnumValue( - com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1.TagTemplateField> + renameTagTemplateFieldEnumValue( + com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRenameTagTemplateFieldEnumValueMethod(), getCallOptions()), request); + getChannel().newCall(getRenameTagTemplateFieldEnumValueMethod(), getCallOptions()), + request); } /** + * + * *
      * Deletes a field in a tag template and all uses of this field from the tags
      * based on this template.
@@ -3097,13 +4058,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture deleteTagTemplateField(
-        com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        deleteTagTemplateField(
+            com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getDeleteTagTemplateFieldMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Creates a tag and assigns it to:
      * * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
@@ -3117,24 +4081,28 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createTag(
-        com.google.cloud.datacatalog.v1.CreateTagRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        createTag(com.google.cloud.datacatalog.v1.CreateTagRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCreateTagMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Updates an existing tag.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture updateTag( - com.google.cloud.datacatalog.v1.UpdateTagRequest request) { + public com.google.common.util.concurrent.ListenableFuture + updateTag(com.google.cloud.datacatalog.v1.UpdateTagRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); } /** + * + * *
      * Deletes a tag.
      * 
@@ -3146,19 +4114,24 @@ public com.google.common.util.concurrent.ListenableFuture * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry]. * The [columns][google.cloud.datacatalog.v1.Tag.column] in the response are * lowercased. *
*/ - public com.google.common.util.concurrent.ListenableFuture listTags( - com.google.cloud.datacatalog.v1.ListTagsRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1.ListTagsResponse> + listTags(com.google.cloud.datacatalog.v1.ListTagsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListTagsMethod(), getCallOptions()), request); } /** + * + * *
      * `ReconcileTags` creates or updates a list of tags on the entry.
      * If the
@@ -3174,37 +4147,45 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture reconcileTags(
-        com.google.cloud.datacatalog.v1.ReconcileTagsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        reconcileTags(com.google.cloud.datacatalog.v1.ReconcileTagsRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getReconcileTagsMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by
      * the current user. Starring information is private to each user.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture starEntry( - com.google.cloud.datacatalog.v1.StarEntryRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1.StarEntryResponse> + starEntry(com.google.cloud.datacatalog.v1.StarEntryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getStarEntryMethod(), getCallOptions()), request); } /** + * + * *
      * Marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by
      * the current user. Starring information is private to each user.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture unstarEntry( - com.google.cloud.datacatalog.v1.UnstarEntryRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1.UnstarEntryResponse> + unstarEntry(com.google.cloud.datacatalog.v1.UnstarEntryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUnstarEntryMethod(), getCallOptions()), request); } /** + * + * *
      * Sets an access control policy for a resource. Replaces any existing
      * policy.
@@ -3220,13 +4201,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);
     }
 
     /**
+     *
+     *
      * 
      * Gets the access control policy for a resource.
      * May return:
@@ -3244,13 +4227,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);
     }
 
     /**
+     *
+     *
      * 
      * Gets your permissions on a resource.
      * Returns an empty set of permissions if the resource doesn't exist.
@@ -3263,13 +4248,16 @@ 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);
     }
 
     /**
+     *
+     *
      * 
      * Imports entries from a source, such as data previously dumped into a
      * Cloud Storage bucket, into Data Catalog. Import of entries
@@ -3289,8 +4277,8 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture importEntries(
-        com.google.cloud.datacatalog.v1.ImportEntriesRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        importEntries(com.google.cloud.datacatalog.v1.ImportEntriesRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getImportEntriesMethod(), getCallOptions()), request);
     }
@@ -3331,11 +4319,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;
 
@@ -3349,139 +4337,196 @@ private static final class MethodHandlers implements
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_SEARCH_CATALOG:
-          serviceImpl.searchCatalog((com.google.cloud.datacatalog.v1.SearchCatalogRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.searchCatalog(
+              (com.google.cloud.datacatalog.v1.SearchCatalogRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_CREATE_ENTRY_GROUP:
-          serviceImpl.createEntryGroup((com.google.cloud.datacatalog.v1.CreateEntryGroupRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.createEntryGroup(
+              (com.google.cloud.datacatalog.v1.CreateEntryGroupRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_GET_ENTRY_GROUP:
-          serviceImpl.getEntryGroup((com.google.cloud.datacatalog.v1.GetEntryGroupRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.getEntryGroup(
+              (com.google.cloud.datacatalog.v1.GetEntryGroupRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_UPDATE_ENTRY_GROUP:
-          serviceImpl.updateEntryGroup((com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.updateEntryGroup(
+              (com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_DELETE_ENTRY_GROUP:
-          serviceImpl.deleteEntryGroup((com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest) request,
+          serviceImpl.deleteEntryGroup(
+              (com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LIST_ENTRY_GROUPS:
-          serviceImpl.listEntryGroups((com.google.cloud.datacatalog.v1.ListEntryGroupsRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listEntryGroups(
+              (com.google.cloud.datacatalog.v1.ListEntryGroupsRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_CREATE_ENTRY:
-          serviceImpl.createEntry((com.google.cloud.datacatalog.v1.CreateEntryRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.createEntry(
+              (com.google.cloud.datacatalog.v1.CreateEntryRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_UPDATE_ENTRY:
-          serviceImpl.updateEntry((com.google.cloud.datacatalog.v1.UpdateEntryRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.updateEntry(
+              (com.google.cloud.datacatalog.v1.UpdateEntryRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_DELETE_ENTRY:
-          serviceImpl.deleteEntry((com.google.cloud.datacatalog.v1.DeleteEntryRequest) request,
+          serviceImpl.deleteEntry(
+              (com.google.cloud.datacatalog.v1.DeleteEntryRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_ENTRY:
-          serviceImpl.getEntry((com.google.cloud.datacatalog.v1.GetEntryRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.getEntry(
+              (com.google.cloud.datacatalog.v1.GetEntryRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_LOOKUP_ENTRY:
-          serviceImpl.lookupEntry((com.google.cloud.datacatalog.v1.LookupEntryRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.lookupEntry(
+              (com.google.cloud.datacatalog.v1.LookupEntryRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_LIST_ENTRIES:
-          serviceImpl.listEntries((com.google.cloud.datacatalog.v1.ListEntriesRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listEntries(
+              (com.google.cloud.datacatalog.v1.ListEntriesRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_MODIFY_ENTRY_OVERVIEW:
-          serviceImpl.modifyEntryOverview((com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.modifyEntryOverview(
+              (com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_MODIFY_ENTRY_CONTACTS:
-          serviceImpl.modifyEntryContacts((com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.modifyEntryContacts(
+              (com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_CREATE_TAG_TEMPLATE:
-          serviceImpl.createTagTemplate((com.google.cloud.datacatalog.v1.CreateTagTemplateRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.createTagTemplate(
+              (com.google.cloud.datacatalog.v1.CreateTagTemplateRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_GET_TAG_TEMPLATE:
-          serviceImpl.getTagTemplate((com.google.cloud.datacatalog.v1.GetTagTemplateRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.getTagTemplate(
+              (com.google.cloud.datacatalog.v1.GetTagTemplateRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_UPDATE_TAG_TEMPLATE:
-          serviceImpl.updateTagTemplate((com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.updateTagTemplate(
+              (com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_DELETE_TAG_TEMPLATE:
-          serviceImpl.deleteTagTemplate((com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest) request,
+          serviceImpl.deleteTagTemplate(
+              (com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_TAG_TEMPLATE_FIELD:
-          serviceImpl.createTagTemplateField((com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.createTagTemplateField(
+              (com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_UPDATE_TAG_TEMPLATE_FIELD:
-          serviceImpl.updateTagTemplateField((com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.updateTagTemplateField(
+              (com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_RENAME_TAG_TEMPLATE_FIELD:
-          serviceImpl.renameTagTemplateField((com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.renameTagTemplateField(
+              (com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_RENAME_TAG_TEMPLATE_FIELD_ENUM_VALUE:
-          serviceImpl.renameTagTemplateFieldEnumValue((com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.renameTagTemplateFieldEnumValue(
+              (com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_DELETE_TAG_TEMPLATE_FIELD:
-          serviceImpl.deleteTagTemplateField((com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest) request,
+          serviceImpl.deleteTagTemplateField(
+              (com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_TAG:
-          serviceImpl.createTag((com.google.cloud.datacatalog.v1.CreateTagRequest) request,
+          serviceImpl.createTag(
+              (com.google.cloud.datacatalog.v1.CreateTagRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UPDATE_TAG:
-          serviceImpl.updateTag((com.google.cloud.datacatalog.v1.UpdateTagRequest) request,
+          serviceImpl.updateTag(
+              (com.google.cloud.datacatalog.v1.UpdateTagRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_TAG:
-          serviceImpl.deleteTag((com.google.cloud.datacatalog.v1.DeleteTagRequest) request,
+          serviceImpl.deleteTag(
+              (com.google.cloud.datacatalog.v1.DeleteTagRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LIST_TAGS:
-          serviceImpl.listTags((com.google.cloud.datacatalog.v1.ListTagsRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listTags(
+              (com.google.cloud.datacatalog.v1.ListTagsRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_RECONCILE_TAGS:
-          serviceImpl.reconcileTags((com.google.cloud.datacatalog.v1.ReconcileTagsRequest) request,
+          serviceImpl.reconcileTags(
+              (com.google.cloud.datacatalog.v1.ReconcileTagsRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_STAR_ENTRY:
-          serviceImpl.starEntry((com.google.cloud.datacatalog.v1.StarEntryRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.starEntry(
+              (com.google.cloud.datacatalog.v1.StarEntryRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_UNSTAR_ENTRY:
-          serviceImpl.unstarEntry((com.google.cloud.datacatalog.v1.UnstarEntryRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.unstarEntry(
+              (com.google.cloud.datacatalog.v1.UnstarEntryRequest) 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_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_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_IMPORT_ENTRIES:
-          serviceImpl.importEntries((com.google.cloud.datacatalog.v1.ImportEntriesRequest) request,
+          serviceImpl.importEntries(
+              (com.google.cloud.datacatalog.v1.ImportEntriesRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         default:
@@ -3503,248 +4548,230 @@ public io.grpc.stub.StreamObserver invoke(
   public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) {
     return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
         .addMethod(
-          getSearchCatalogMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.SearchCatalogRequest,
-              com.google.cloud.datacatalog.v1.SearchCatalogResponse>(
-                service, METHODID_SEARCH_CATALOG)))
+            getSearchCatalogMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.SearchCatalogRequest,
+                    com.google.cloud.datacatalog.v1.SearchCatalogResponse>(
+                    service, METHODID_SEARCH_CATALOG)))
         .addMethod(
-          getCreateEntryGroupMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.CreateEntryGroupRequest,
-              com.google.cloud.datacatalog.v1.EntryGroup>(
-                service, METHODID_CREATE_ENTRY_GROUP)))
+            getCreateEntryGroupMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.CreateEntryGroupRequest,
+                    com.google.cloud.datacatalog.v1.EntryGroup>(
+                    service, METHODID_CREATE_ENTRY_GROUP)))
         .addMethod(
-          getGetEntryGroupMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.GetEntryGroupRequest,
-              com.google.cloud.datacatalog.v1.EntryGroup>(
-                service, METHODID_GET_ENTRY_GROUP)))
+            getGetEntryGroupMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.GetEntryGroupRequest,
+                    com.google.cloud.datacatalog.v1.EntryGroup>(service, METHODID_GET_ENTRY_GROUP)))
         .addMethod(
-          getUpdateEntryGroupMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest,
-              com.google.cloud.datacatalog.v1.EntryGroup>(
-                service, METHODID_UPDATE_ENTRY_GROUP)))
+            getUpdateEntryGroupMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest,
+                    com.google.cloud.datacatalog.v1.EntryGroup>(
+                    service, METHODID_UPDATE_ENTRY_GROUP)))
         .addMethod(
-          getDeleteEntryGroupMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest,
-              com.google.protobuf.Empty>(
-                service, METHODID_DELETE_ENTRY_GROUP)))
+            getDeleteEntryGroupMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest,
+                    com.google.protobuf.Empty>(service, METHODID_DELETE_ENTRY_GROUP)))
         .addMethod(
-          getListEntryGroupsMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.ListEntryGroupsRequest,
-              com.google.cloud.datacatalog.v1.ListEntryGroupsResponse>(
-                service, METHODID_LIST_ENTRY_GROUPS)))
+            getListEntryGroupsMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.ListEntryGroupsRequest,
+                    com.google.cloud.datacatalog.v1.ListEntryGroupsResponse>(
+                    service, METHODID_LIST_ENTRY_GROUPS)))
         .addMethod(
-          getCreateEntryMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.CreateEntryRequest,
-              com.google.cloud.datacatalog.v1.Entry>(
-                service, METHODID_CREATE_ENTRY)))
+            getCreateEntryMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.CreateEntryRequest,
+                    com.google.cloud.datacatalog.v1.Entry>(service, METHODID_CREATE_ENTRY)))
         .addMethod(
-          getUpdateEntryMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.UpdateEntryRequest,
-              com.google.cloud.datacatalog.v1.Entry>(
-                service, METHODID_UPDATE_ENTRY)))
+            getUpdateEntryMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.UpdateEntryRequest,
+                    com.google.cloud.datacatalog.v1.Entry>(service, METHODID_UPDATE_ENTRY)))
         .addMethod(
-          getDeleteEntryMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.DeleteEntryRequest,
-              com.google.protobuf.Empty>(
-                service, METHODID_DELETE_ENTRY)))
+            getDeleteEntryMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.DeleteEntryRequest, com.google.protobuf.Empty>(
+                    service, METHODID_DELETE_ENTRY)))
         .addMethod(
-          getGetEntryMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.GetEntryRequest,
-              com.google.cloud.datacatalog.v1.Entry>(
-                service, METHODID_GET_ENTRY)))
+            getGetEntryMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.GetEntryRequest,
+                    com.google.cloud.datacatalog.v1.Entry>(service, METHODID_GET_ENTRY)))
         .addMethod(
-          getLookupEntryMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.LookupEntryRequest,
-              com.google.cloud.datacatalog.v1.Entry>(
-                service, METHODID_LOOKUP_ENTRY)))
+            getLookupEntryMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.LookupEntryRequest,
+                    com.google.cloud.datacatalog.v1.Entry>(service, METHODID_LOOKUP_ENTRY)))
         .addMethod(
-          getListEntriesMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.ListEntriesRequest,
-              com.google.cloud.datacatalog.v1.ListEntriesResponse>(
-                service, METHODID_LIST_ENTRIES)))
+            getListEntriesMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.ListEntriesRequest,
+                    com.google.cloud.datacatalog.v1.ListEntriesResponse>(
+                    service, METHODID_LIST_ENTRIES)))
         .addMethod(
-          getModifyEntryOverviewMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest,
-              com.google.cloud.datacatalog.v1.EntryOverview>(
-                service, METHODID_MODIFY_ENTRY_OVERVIEW)))
+            getModifyEntryOverviewMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest,
+                    com.google.cloud.datacatalog.v1.EntryOverview>(
+                    service, METHODID_MODIFY_ENTRY_OVERVIEW)))
         .addMethod(
-          getModifyEntryContactsMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest,
-              com.google.cloud.datacatalog.v1.Contacts>(
-                service, METHODID_MODIFY_ENTRY_CONTACTS)))
+            getModifyEntryContactsMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest,
+                    com.google.cloud.datacatalog.v1.Contacts>(
+                    service, METHODID_MODIFY_ENTRY_CONTACTS)))
         .addMethod(
-          getCreateTagTemplateMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.CreateTagTemplateRequest,
-              com.google.cloud.datacatalog.v1.TagTemplate>(
-                service, METHODID_CREATE_TAG_TEMPLATE)))
+            getCreateTagTemplateMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.CreateTagTemplateRequest,
+                    com.google.cloud.datacatalog.v1.TagTemplate>(
+                    service, METHODID_CREATE_TAG_TEMPLATE)))
         .addMethod(
-          getGetTagTemplateMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.GetTagTemplateRequest,
-              com.google.cloud.datacatalog.v1.TagTemplate>(
-                service, METHODID_GET_TAG_TEMPLATE)))
+            getGetTagTemplateMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.GetTagTemplateRequest,
+                    com.google.cloud.datacatalog.v1.TagTemplate>(
+                    service, METHODID_GET_TAG_TEMPLATE)))
         .addMethod(
-          getUpdateTagTemplateMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest,
-              com.google.cloud.datacatalog.v1.TagTemplate>(
-                service, METHODID_UPDATE_TAG_TEMPLATE)))
+            getUpdateTagTemplateMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest,
+                    com.google.cloud.datacatalog.v1.TagTemplate>(
+                    service, METHODID_UPDATE_TAG_TEMPLATE)))
         .addMethod(
-          getDeleteTagTemplateMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest,
-              com.google.protobuf.Empty>(
-                service, METHODID_DELETE_TAG_TEMPLATE)))
+            getDeleteTagTemplateMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest,
+                    com.google.protobuf.Empty>(service, METHODID_DELETE_TAG_TEMPLATE)))
         .addMethod(
-          getCreateTagTemplateFieldMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest,
-              com.google.cloud.datacatalog.v1.TagTemplateField>(
-                service, METHODID_CREATE_TAG_TEMPLATE_FIELD)))
+            getCreateTagTemplateFieldMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest,
+                    com.google.cloud.datacatalog.v1.TagTemplateField>(
+                    service, METHODID_CREATE_TAG_TEMPLATE_FIELD)))
         .addMethod(
-          getUpdateTagTemplateFieldMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest,
-              com.google.cloud.datacatalog.v1.TagTemplateField>(
-                service, METHODID_UPDATE_TAG_TEMPLATE_FIELD)))
+            getUpdateTagTemplateFieldMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest,
+                    com.google.cloud.datacatalog.v1.TagTemplateField>(
+                    service, METHODID_UPDATE_TAG_TEMPLATE_FIELD)))
         .addMethod(
-          getRenameTagTemplateFieldMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest,
-              com.google.cloud.datacatalog.v1.TagTemplateField>(
-                service, METHODID_RENAME_TAG_TEMPLATE_FIELD)))
+            getRenameTagTemplateFieldMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest,
+                    com.google.cloud.datacatalog.v1.TagTemplateField>(
+                    service, METHODID_RENAME_TAG_TEMPLATE_FIELD)))
         .addMethod(
-          getRenameTagTemplateFieldEnumValueMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest,
-              com.google.cloud.datacatalog.v1.TagTemplateField>(
-                service, METHODID_RENAME_TAG_TEMPLATE_FIELD_ENUM_VALUE)))
+            getRenameTagTemplateFieldEnumValueMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest,
+                    com.google.cloud.datacatalog.v1.TagTemplateField>(
+                    service, METHODID_RENAME_TAG_TEMPLATE_FIELD_ENUM_VALUE)))
         .addMethod(
-          getDeleteTagTemplateFieldMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest,
-              com.google.protobuf.Empty>(
-                service, METHODID_DELETE_TAG_TEMPLATE_FIELD)))
+            getDeleteTagTemplateFieldMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest,
+                    com.google.protobuf.Empty>(service, METHODID_DELETE_TAG_TEMPLATE_FIELD)))
         .addMethod(
-          getCreateTagMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.CreateTagRequest,
-              com.google.cloud.datacatalog.v1.Tag>(
-                service, METHODID_CREATE_TAG)))
+            getCreateTagMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.CreateTagRequest,
+                    com.google.cloud.datacatalog.v1.Tag>(service, METHODID_CREATE_TAG)))
         .addMethod(
-          getUpdateTagMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.UpdateTagRequest,
-              com.google.cloud.datacatalog.v1.Tag>(
-                service, METHODID_UPDATE_TAG)))
+            getUpdateTagMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.UpdateTagRequest,
+                    com.google.cloud.datacatalog.v1.Tag>(service, METHODID_UPDATE_TAG)))
         .addMethod(
-          getDeleteTagMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.DeleteTagRequest,
-              com.google.protobuf.Empty>(
-                service, METHODID_DELETE_TAG)))
+            getDeleteTagMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.DeleteTagRequest, com.google.protobuf.Empty>(
+                    service, METHODID_DELETE_TAG)))
         .addMethod(
-          getListTagsMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.ListTagsRequest,
-              com.google.cloud.datacatalog.v1.ListTagsResponse>(
-                service, METHODID_LIST_TAGS)))
+            getListTagsMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.ListTagsRequest,
+                    com.google.cloud.datacatalog.v1.ListTagsResponse>(service, METHODID_LIST_TAGS)))
         .addMethod(
-          getReconcileTagsMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.ReconcileTagsRequest,
-              com.google.longrunning.Operation>(
-                service, METHODID_RECONCILE_TAGS)))
+            getReconcileTagsMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.ReconcileTagsRequest,
+                    com.google.longrunning.Operation>(service, METHODID_RECONCILE_TAGS)))
         .addMethod(
-          getStarEntryMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.StarEntryRequest,
-              com.google.cloud.datacatalog.v1.StarEntryResponse>(
-                service, METHODID_STAR_ENTRY)))
+            getStarEntryMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.StarEntryRequest,
+                    com.google.cloud.datacatalog.v1.StarEntryResponse>(
+                    service, METHODID_STAR_ENTRY)))
         .addMethod(
-          getUnstarEntryMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.UnstarEntryRequest,
-              com.google.cloud.datacatalog.v1.UnstarEntryResponse>(
-                service, METHODID_UNSTAR_ENTRY)))
+            getUnstarEntryMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.UnstarEntryRequest,
+                    com.google.cloud.datacatalog.v1.UnstarEntryResponse>(
+                    service, METHODID_UNSTAR_ENTRY)))
         .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(
-          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(
-          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(
-          getImportEntriesMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.ImportEntriesRequest,
-              com.google.longrunning.Operation>(
-                service, METHODID_IMPORT_ENTRIES)))
+            getImportEntriesMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.ImportEntriesRequest,
+                    com.google.longrunning.Operation>(service, METHODID_IMPORT_ENTRIES)))
         .build();
   }
 
-  private static abstract class DataCatalogBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private abstract static class DataCatalogBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
+          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     DataCatalogBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -3786,43 +4813,45 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (DataCatalogGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-              .setSchemaDescriptor(new DataCatalogFileDescriptorSupplier())
-              .addMethod(getSearchCatalogMethod())
-              .addMethod(getCreateEntryGroupMethod())
-              .addMethod(getGetEntryGroupMethod())
-              .addMethod(getUpdateEntryGroupMethod())
-              .addMethod(getDeleteEntryGroupMethod())
-              .addMethod(getListEntryGroupsMethod())
-              .addMethod(getCreateEntryMethod())
-              .addMethod(getUpdateEntryMethod())
-              .addMethod(getDeleteEntryMethod())
-              .addMethod(getGetEntryMethod())
-              .addMethod(getLookupEntryMethod())
-              .addMethod(getListEntriesMethod())
-              .addMethod(getModifyEntryOverviewMethod())
-              .addMethod(getModifyEntryContactsMethod())
-              .addMethod(getCreateTagTemplateMethod())
-              .addMethod(getGetTagTemplateMethod())
-              .addMethod(getUpdateTagTemplateMethod())
-              .addMethod(getDeleteTagTemplateMethod())
-              .addMethod(getCreateTagTemplateFieldMethod())
-              .addMethod(getUpdateTagTemplateFieldMethod())
-              .addMethod(getRenameTagTemplateFieldMethod())
-              .addMethod(getRenameTagTemplateFieldEnumValueMethod())
-              .addMethod(getDeleteTagTemplateFieldMethod())
-              .addMethod(getCreateTagMethod())
-              .addMethod(getUpdateTagMethod())
-              .addMethod(getDeleteTagMethod())
-              .addMethod(getListTagsMethod())
-              .addMethod(getReconcileTagsMethod())
-              .addMethod(getStarEntryMethod())
-              .addMethod(getUnstarEntryMethod())
-              .addMethod(getSetIamPolicyMethod())
-              .addMethod(getGetIamPolicyMethod())
-              .addMethod(getTestIamPermissionsMethod())
-              .addMethod(getImportEntriesMethod())
-              .build();
+          serviceDescriptor =
+              result =
+                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+                      .setSchemaDescriptor(new DataCatalogFileDescriptorSupplier())
+                      .addMethod(getSearchCatalogMethod())
+                      .addMethod(getCreateEntryGroupMethod())
+                      .addMethod(getGetEntryGroupMethod())
+                      .addMethod(getUpdateEntryGroupMethod())
+                      .addMethod(getDeleteEntryGroupMethod())
+                      .addMethod(getListEntryGroupsMethod())
+                      .addMethod(getCreateEntryMethod())
+                      .addMethod(getUpdateEntryMethod())
+                      .addMethod(getDeleteEntryMethod())
+                      .addMethod(getGetEntryMethod())
+                      .addMethod(getLookupEntryMethod())
+                      .addMethod(getListEntriesMethod())
+                      .addMethod(getModifyEntryOverviewMethod())
+                      .addMethod(getModifyEntryContactsMethod())
+                      .addMethod(getCreateTagTemplateMethod())
+                      .addMethod(getGetTagTemplateMethod())
+                      .addMethod(getUpdateTagTemplateMethod())
+                      .addMethod(getDeleteTagTemplateMethod())
+                      .addMethod(getCreateTagTemplateFieldMethod())
+                      .addMethod(getUpdateTagTemplateFieldMethod())
+                      .addMethod(getRenameTagTemplateFieldMethod())
+                      .addMethod(getRenameTagTemplateFieldEnumValueMethod())
+                      .addMethod(getDeleteTagTemplateFieldMethod())
+                      .addMethod(getCreateTagMethod())
+                      .addMethod(getUpdateTagMethod())
+                      .addMethod(getDeleteTagMethod())
+                      .addMethod(getListTagsMethod())
+                      .addMethod(getReconcileTagsMethod())
+                      .addMethod(getStarEntryMethod())
+                      .addMethod(getUnstarEntryMethod())
+                      .addMethod(getSetIamPolicyMethod())
+                      .addMethod(getGetIamPolicyMethod())
+                      .addMethod(getTestIamPermissionsMethod())
+                      .addMethod(getImportEntriesMethod())
+                      .build();
         }
       }
     }
diff --git a/java-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java b/java-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java
new file mode 100644
index 000000000000..49972fdd3a9b
--- /dev/null
+++ b/java-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java
@@ -0,0 +1,1825 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT 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.datacatalog.v1;
+
+import static io.grpc.MethodDescriptor.generateFullMethodName;
+
+/**
+ *
+ *
+ * 
+ * Policy Tag Manager API service allows you to manage your policy tags and
+ * taxonomies.
+ * Policy tags are used to tag BigQuery columns and apply additional access
+ * control policies. A taxonomy is a hierarchical grouping of policy tags that
+ * classify data along a common axis.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/datacatalog/v1/policytagmanager.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class PolicyTagManagerGrpc { + + private PolicyTagManagerGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.datacatalog.v1.PolicyTagManager"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.CreateTaxonomyRequest, + com.google.cloud.datacatalog.v1.Taxonomy> + getCreateTaxonomyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTaxonomy", + requestType = com.google.cloud.datacatalog.v1.CreateTaxonomyRequest.class, + responseType = com.google.cloud.datacatalog.v1.Taxonomy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.CreateTaxonomyRequest, + com.google.cloud.datacatalog.v1.Taxonomy> + getCreateTaxonomyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.CreateTaxonomyRequest, + com.google.cloud.datacatalog.v1.Taxonomy> + getCreateTaxonomyMethod; + if ((getCreateTaxonomyMethod = PolicyTagManagerGrpc.getCreateTaxonomyMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getCreateTaxonomyMethod = PolicyTagManagerGrpc.getCreateTaxonomyMethod) == null) { + PolicyTagManagerGrpc.getCreateTaxonomyMethod = + getCreateTaxonomyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTaxonomy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.CreateTaxonomyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance())) + .setSchemaDescriptor( + new PolicyTagManagerMethodDescriptorSupplier("CreateTaxonomy")) + .build(); + } + } + } + return getCreateTaxonomyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest, com.google.protobuf.Empty> + getDeleteTaxonomyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTaxonomy", + requestType = com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest, com.google.protobuf.Empty> + getDeleteTaxonomyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest, com.google.protobuf.Empty> + getDeleteTaxonomyMethod; + if ((getDeleteTaxonomyMethod = PolicyTagManagerGrpc.getDeleteTaxonomyMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getDeleteTaxonomyMethod = PolicyTagManagerGrpc.getDeleteTaxonomyMethod) == null) { + PolicyTagManagerGrpc.getDeleteTaxonomyMethod = + getDeleteTaxonomyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTaxonomy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new PolicyTagManagerMethodDescriptorSupplier("DeleteTaxonomy")) + .build(); + } + } + } + return getDeleteTaxonomyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest, + com.google.cloud.datacatalog.v1.Taxonomy> + getUpdateTaxonomyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTaxonomy", + requestType = com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest.class, + responseType = com.google.cloud.datacatalog.v1.Taxonomy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest, + com.google.cloud.datacatalog.v1.Taxonomy> + getUpdateTaxonomyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest, + com.google.cloud.datacatalog.v1.Taxonomy> + getUpdateTaxonomyMethod; + if ((getUpdateTaxonomyMethod = PolicyTagManagerGrpc.getUpdateTaxonomyMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getUpdateTaxonomyMethod = PolicyTagManagerGrpc.getUpdateTaxonomyMethod) == null) { + PolicyTagManagerGrpc.getUpdateTaxonomyMethod = + getUpdateTaxonomyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTaxonomy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance())) + .setSchemaDescriptor( + new PolicyTagManagerMethodDescriptorSupplier("UpdateTaxonomy")) + .build(); + } + } + } + return getUpdateTaxonomyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.ListTaxonomiesRequest, + com.google.cloud.datacatalog.v1.ListTaxonomiesResponse> + getListTaxonomiesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTaxonomies", + requestType = com.google.cloud.datacatalog.v1.ListTaxonomiesRequest.class, + responseType = com.google.cloud.datacatalog.v1.ListTaxonomiesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.ListTaxonomiesRequest, + com.google.cloud.datacatalog.v1.ListTaxonomiesResponse> + getListTaxonomiesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.ListTaxonomiesRequest, + com.google.cloud.datacatalog.v1.ListTaxonomiesResponse> + getListTaxonomiesMethod; + if ((getListTaxonomiesMethod = PolicyTagManagerGrpc.getListTaxonomiesMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getListTaxonomiesMethod = PolicyTagManagerGrpc.getListTaxonomiesMethod) == null) { + PolicyTagManagerGrpc.getListTaxonomiesMethod = + getListTaxonomiesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTaxonomies")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.ListTaxonomiesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.ListTaxonomiesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new PolicyTagManagerMethodDescriptorSupplier("ListTaxonomies")) + .build(); + } + } + } + return getListTaxonomiesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.GetTaxonomyRequest, + com.google.cloud.datacatalog.v1.Taxonomy> + getGetTaxonomyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTaxonomy", + requestType = com.google.cloud.datacatalog.v1.GetTaxonomyRequest.class, + responseType = com.google.cloud.datacatalog.v1.Taxonomy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.GetTaxonomyRequest, + com.google.cloud.datacatalog.v1.Taxonomy> + getGetTaxonomyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.GetTaxonomyRequest, + com.google.cloud.datacatalog.v1.Taxonomy> + getGetTaxonomyMethod; + if ((getGetTaxonomyMethod = PolicyTagManagerGrpc.getGetTaxonomyMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getGetTaxonomyMethod = PolicyTagManagerGrpc.getGetTaxonomyMethod) == null) { + PolicyTagManagerGrpc.getGetTaxonomyMethod = + getGetTaxonomyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTaxonomy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.GetTaxonomyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance())) + .setSchemaDescriptor( + new PolicyTagManagerMethodDescriptorSupplier("GetTaxonomy")) + .build(); + } + } + } + return getGetTaxonomyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.CreatePolicyTagRequest, + com.google.cloud.datacatalog.v1.PolicyTag> + getCreatePolicyTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreatePolicyTag", + requestType = com.google.cloud.datacatalog.v1.CreatePolicyTagRequest.class, + responseType = com.google.cloud.datacatalog.v1.PolicyTag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.CreatePolicyTagRequest, + com.google.cloud.datacatalog.v1.PolicyTag> + getCreatePolicyTagMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.CreatePolicyTagRequest, + com.google.cloud.datacatalog.v1.PolicyTag> + getCreatePolicyTagMethod; + if ((getCreatePolicyTagMethod = PolicyTagManagerGrpc.getCreatePolicyTagMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getCreatePolicyTagMethod = PolicyTagManagerGrpc.getCreatePolicyTagMethod) == null) { + PolicyTagManagerGrpc.getCreatePolicyTagMethod = + getCreatePolicyTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreatePolicyTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.CreatePolicyTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance())) + .setSchemaDescriptor( + new PolicyTagManagerMethodDescriptorSupplier("CreatePolicyTag")) + .build(); + } + } + } + return getCreatePolicyTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.DeletePolicyTagRequest, com.google.protobuf.Empty> + getDeletePolicyTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePolicyTag", + requestType = com.google.cloud.datacatalog.v1.DeletePolicyTagRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.DeletePolicyTagRequest, com.google.protobuf.Empty> + getDeletePolicyTagMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.DeletePolicyTagRequest, com.google.protobuf.Empty> + getDeletePolicyTagMethod; + if ((getDeletePolicyTagMethod = PolicyTagManagerGrpc.getDeletePolicyTagMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getDeletePolicyTagMethod = PolicyTagManagerGrpc.getDeletePolicyTagMethod) == null) { + PolicyTagManagerGrpc.getDeletePolicyTagMethod = + getDeletePolicyTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePolicyTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.DeletePolicyTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new PolicyTagManagerMethodDescriptorSupplier("DeletePolicyTag")) + .build(); + } + } + } + return getDeletePolicyTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest, + com.google.cloud.datacatalog.v1.PolicyTag> + getUpdatePolicyTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdatePolicyTag", + requestType = com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest.class, + responseType = com.google.cloud.datacatalog.v1.PolicyTag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest, + com.google.cloud.datacatalog.v1.PolicyTag> + getUpdatePolicyTagMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest, + com.google.cloud.datacatalog.v1.PolicyTag> + getUpdatePolicyTagMethod; + if ((getUpdatePolicyTagMethod = PolicyTagManagerGrpc.getUpdatePolicyTagMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getUpdatePolicyTagMethod = PolicyTagManagerGrpc.getUpdatePolicyTagMethod) == null) { + PolicyTagManagerGrpc.getUpdatePolicyTagMethod = + getUpdatePolicyTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdatePolicyTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance())) + .setSchemaDescriptor( + new PolicyTagManagerMethodDescriptorSupplier("UpdatePolicyTag")) + .build(); + } + } + } + return getUpdatePolicyTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.ListPolicyTagsRequest, + com.google.cloud.datacatalog.v1.ListPolicyTagsResponse> + getListPolicyTagsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPolicyTags", + requestType = com.google.cloud.datacatalog.v1.ListPolicyTagsRequest.class, + responseType = com.google.cloud.datacatalog.v1.ListPolicyTagsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.ListPolicyTagsRequest, + com.google.cloud.datacatalog.v1.ListPolicyTagsResponse> + getListPolicyTagsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.ListPolicyTagsRequest, + com.google.cloud.datacatalog.v1.ListPolicyTagsResponse> + getListPolicyTagsMethod; + if ((getListPolicyTagsMethod = PolicyTagManagerGrpc.getListPolicyTagsMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getListPolicyTagsMethod = PolicyTagManagerGrpc.getListPolicyTagsMethod) == null) { + PolicyTagManagerGrpc.getListPolicyTagsMethod = + getListPolicyTagsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPolicyTags")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.ListPolicyTagsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.ListPolicyTagsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new PolicyTagManagerMethodDescriptorSupplier("ListPolicyTags")) + .build(); + } + } + } + return getListPolicyTagsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.GetPolicyTagRequest, + com.google.cloud.datacatalog.v1.PolicyTag> + getGetPolicyTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPolicyTag", + requestType = com.google.cloud.datacatalog.v1.GetPolicyTagRequest.class, + responseType = com.google.cloud.datacatalog.v1.PolicyTag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.GetPolicyTagRequest, + com.google.cloud.datacatalog.v1.PolicyTag> + getGetPolicyTagMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.GetPolicyTagRequest, + com.google.cloud.datacatalog.v1.PolicyTag> + getGetPolicyTagMethod; + if ((getGetPolicyTagMethod = PolicyTagManagerGrpc.getGetPolicyTagMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getGetPolicyTagMethod = PolicyTagManagerGrpc.getGetPolicyTagMethod) == null) { + PolicyTagManagerGrpc.getGetPolicyTagMethod = + getGetPolicyTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPolicyTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.GetPolicyTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance())) + .setSchemaDescriptor( + new PolicyTagManagerMethodDescriptorSupplier("GetPolicyTag")) + .build(); + } + } + } + return getGetPolicyTagMethod; + } + + 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< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> + getGetIamPolicyMethod() { + io.grpc.MethodDescriptor + getGetIamPolicyMethod; + if ((getGetIamPolicyMethod = PolicyTagManagerGrpc.getGetIamPolicyMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getGetIamPolicyMethod = PolicyTagManagerGrpc.getGetIamPolicyMethod) == null) { + PolicyTagManagerGrpc.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 PolicyTagManagerMethodDescriptorSupplier("GetIamPolicy")) + .build(); + } + } + } + return getGetIamPolicyMethod; + } + + 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< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> + getSetIamPolicyMethod() { + io.grpc.MethodDescriptor + getSetIamPolicyMethod; + if ((getSetIamPolicyMethod = PolicyTagManagerGrpc.getSetIamPolicyMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getSetIamPolicyMethod = PolicyTagManagerGrpc.getSetIamPolicyMethod) == null) { + PolicyTagManagerGrpc.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 PolicyTagManagerMethodDescriptorSupplier("SetIamPolicy")) + .build(); + } + } + } + return getSetIamPolicyMethod; + } + + 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< + 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 = PolicyTagManagerGrpc.getTestIamPermissionsMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getTestIamPermissionsMethod = PolicyTagManagerGrpc.getTestIamPermissionsMethod) + == null) { + PolicyTagManagerGrpc.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 PolicyTagManagerMethodDescriptorSupplier("TestIamPermissions")) + .build(); + } + } + } + return getTestIamPermissionsMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static PolicyTagManagerStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public PolicyTagManagerStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PolicyTagManagerStub(channel, callOptions); + } + }; + return PolicyTagManagerStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static PolicyTagManagerBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public PolicyTagManagerBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PolicyTagManagerBlockingStub(channel, callOptions); + } + }; + return PolicyTagManagerBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static PolicyTagManagerFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public PolicyTagManagerFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PolicyTagManagerFutureStub(channel, callOptions); + } + }; + return PolicyTagManagerFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Policy Tag Manager API service allows you to manage your policy tags and
+   * taxonomies.
+   * Policy tags are used to tag BigQuery columns and apply additional access
+   * control policies. A taxonomy is a hierarchical grouping of policy tags that
+   * classify data along a common axis.
+   * 
+ */ + public interface AsyncService { + + /** + * + * + *
+     * Creates a taxonomy in a specified project.
+     * The taxonomy is initially empty, that is, it doesn't contain policy tags.
+     * 
+ */ + default void createTaxonomy( + com.google.cloud.datacatalog.v1.CreateTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateTaxonomyMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a taxonomy, including all policy tags in this
+     * taxonomy, their associated policies, and the policy tags references from
+     * BigQuery columns.
+     * 
+ */ + default void deleteTaxonomy( + com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteTaxonomyMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a taxonomy, including its display name,
+     * description, and activated policy types.
+     * 
+ */ + default void updateTaxonomy( + com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateTaxonomyMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all taxonomies in a project in a particular location that you
+     * have a permission to view.
+     * 
+ */ + default void listTaxonomies( + com.google.cloud.datacatalog.v1.ListTaxonomiesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListTaxonomiesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a taxonomy.
+     * 
+ */ + default void getTaxonomy( + com.google.cloud.datacatalog.v1.GetTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetTaxonomyMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a policy tag in a taxonomy.
+     * 
+ */ + default void createPolicyTag( + com.google.cloud.datacatalog.v1.CreatePolicyTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreatePolicyTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a policy tag together with the following:
+     * * All of its descendant policy tags, if any
+     * * Policies associated with the policy tag and its descendants
+     * * References from BigQuery table schema of the policy tag and its
+     *   descendants
+     * 
+ */ + default void deletePolicyTag( + com.google.cloud.datacatalog.v1.DeletePolicyTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeletePolicyTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a policy tag, including its display
+     * name, description, and parent policy tag.
+     * 
+ */ + default void updatePolicyTag( + com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdatePolicyTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all policy tags in a taxonomy.
+     * 
+ */ + default void listPolicyTags( + com.google.cloud.datacatalog.v1.ListPolicyTagsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListPolicyTagsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a policy tag.
+     * 
+ */ + default void getPolicyTag( + com.google.cloud.datacatalog.v1.GetPolicyTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetPolicyTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets the IAM policy for a policy tag or a taxonomy.
+     * 
+ */ + default void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetIamPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Sets the IAM policy for a policy tag or a taxonomy.
+     * 
+ */ + default void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetIamPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns your permissions on a specified policy tag or
+     * taxonomy.
+     * 
+ */ + default void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service PolicyTagManager. + * + *
+   * Policy Tag Manager API service allows you to manage your policy tags and
+   * taxonomies.
+   * Policy tags are used to tag BigQuery columns and apply additional access
+   * control policies. A taxonomy is a hierarchical grouping of policy tags that
+   * classify data along a common axis.
+   * 
+ */ + public abstract static class PolicyTagManagerImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return PolicyTagManagerGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service PolicyTagManager. + * + *
+   * Policy Tag Manager API service allows you to manage your policy tags and
+   * taxonomies.
+   * Policy tags are used to tag BigQuery columns and apply additional access
+   * control policies. A taxonomy is a hierarchical grouping of policy tags that
+   * classify data along a common axis.
+   * 
+ */ + public static final class PolicyTagManagerStub + extends io.grpc.stub.AbstractAsyncStub { + private PolicyTagManagerStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected PolicyTagManagerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PolicyTagManagerStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a taxonomy in a specified project.
+     * The taxonomy is initially empty, that is, it doesn't contain policy tags.
+     * 
+ */ + public void createTaxonomy( + com.google.cloud.datacatalog.v1.CreateTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTaxonomyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a taxonomy, including all policy tags in this
+     * taxonomy, their associated policies, and the policy tags references from
+     * BigQuery columns.
+     * 
+ */ + public void deleteTaxonomy( + com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTaxonomyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a taxonomy, including its display name,
+     * description, and activated policy types.
+     * 
+ */ + public void updateTaxonomy( + com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTaxonomyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists all taxonomies in a project in a particular location that you
+     * have a permission to view.
+     * 
+ */ + public void listTaxonomies( + com.google.cloud.datacatalog.v1.ListTaxonomiesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTaxonomiesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a taxonomy.
+     * 
+ */ + public void getTaxonomy( + com.google.cloud.datacatalog.v1.GetTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTaxonomyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a policy tag in a taxonomy.
+     * 
+ */ + public void createPolicyTag( + com.google.cloud.datacatalog.v1.CreatePolicyTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreatePolicyTagMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a policy tag together with the following:
+     * * All of its descendant policy tags, if any
+     * * Policies associated with the policy tag and its descendants
+     * * References from BigQuery table schema of the policy tag and its
+     *   descendants
+     * 
+ */ + public void deletePolicyTag( + com.google.cloud.datacatalog.v1.DeletePolicyTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePolicyTagMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a policy tag, including its display
+     * name, description, and parent policy tag.
+     * 
+ */ + public void updatePolicyTag( + com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdatePolicyTagMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists all policy tags in a taxonomy.
+     * 
+ */ + public void listPolicyTags( + com.google.cloud.datacatalog.v1.ListPolicyTagsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPolicyTagsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a policy tag.
+     * 
+ */ + public void getPolicyTag( + com.google.cloud.datacatalog.v1.GetPolicyTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPolicyTagMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets the IAM policy for a policy tag or a taxonomy.
+     * 
+ */ + 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); + } + + /** + * + * + *
+     * Sets the IAM policy for a policy tag or a taxonomy.
+     * 
+ */ + 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); + } + + /** + * + * + *
+     * Returns your permissions on a specified policy tag or
+     * taxonomy.
+     * 
+ */ + 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); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service PolicyTagManager. + * + *
+   * Policy Tag Manager API service allows you to manage your policy tags and
+   * taxonomies.
+   * Policy tags are used to tag BigQuery columns and apply additional access
+   * control policies. A taxonomy is a hierarchical grouping of policy tags that
+   * classify data along a common axis.
+   * 
+ */ + public static final class PolicyTagManagerBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private PolicyTagManagerBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected PolicyTagManagerBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PolicyTagManagerBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a taxonomy in a specified project.
+     * The taxonomy is initially empty, that is, it doesn't contain policy tags.
+     * 
+ */ + public com.google.cloud.datacatalog.v1.Taxonomy createTaxonomy( + com.google.cloud.datacatalog.v1.CreateTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTaxonomyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a taxonomy, including all policy tags in this
+     * taxonomy, their associated policies, and the policy tags references from
+     * BigQuery columns.
+     * 
+ */ + public com.google.protobuf.Empty deleteTaxonomy( + com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTaxonomyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a taxonomy, including its display name,
+     * description, and activated policy types.
+     * 
+ */ + public com.google.cloud.datacatalog.v1.Taxonomy updateTaxonomy( + com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTaxonomyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all taxonomies in a project in a particular location that you
+     * have a permission to view.
+     * 
+ */ + public com.google.cloud.datacatalog.v1.ListTaxonomiesResponse listTaxonomies( + com.google.cloud.datacatalog.v1.ListTaxonomiesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTaxonomiesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a taxonomy.
+     * 
+ */ + public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomy( + com.google.cloud.datacatalog.v1.GetTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTaxonomyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a policy tag in a taxonomy.
+     * 
+ */ + public com.google.cloud.datacatalog.v1.PolicyTag createPolicyTag( + com.google.cloud.datacatalog.v1.CreatePolicyTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreatePolicyTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a policy tag together with the following:
+     * * All of its descendant policy tags, if any
+     * * Policies associated with the policy tag and its descendants
+     * * References from BigQuery table schema of the policy tag and its
+     *   descendants
+     * 
+ */ + public com.google.protobuf.Empty deletePolicyTag( + com.google.cloud.datacatalog.v1.DeletePolicyTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePolicyTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a policy tag, including its display
+     * name, description, and parent policy tag.
+     * 
+ */ + public com.google.cloud.datacatalog.v1.PolicyTag updatePolicyTag( + com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdatePolicyTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all policy tags in a taxonomy.
+     * 
+ */ + public com.google.cloud.datacatalog.v1.ListPolicyTagsResponse listPolicyTags( + com.google.cloud.datacatalog.v1.ListPolicyTagsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPolicyTagsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a policy tag.
+     * 
+ */ + public com.google.cloud.datacatalog.v1.PolicyTag getPolicyTag( + com.google.cloud.datacatalog.v1.GetPolicyTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPolicyTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the IAM policy for a policy tag or a taxonomy.
+     * 
+ */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Sets the IAM policy for a policy tag or a taxonomy.
+     * 
+ */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns your permissions on a specified policy tag or
+     * taxonomy.
+     * 
+ */ + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service PolicyTagManager. + * + *
+   * Policy Tag Manager API service allows you to manage your policy tags and
+   * taxonomies.
+   * Policy tags are used to tag BigQuery columns and apply additional access
+   * control policies. A taxonomy is a hierarchical grouping of policy tags that
+   * classify data along a common axis.
+   * 
+ */ + public static final class PolicyTagManagerFutureStub + extends io.grpc.stub.AbstractFutureStub { + private PolicyTagManagerFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected PolicyTagManagerFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PolicyTagManagerFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a taxonomy in a specified project.
+     * The taxonomy is initially empty, that is, it doesn't contain policy tags.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1.Taxonomy> + createTaxonomy(com.google.cloud.datacatalog.v1.CreateTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTaxonomyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a taxonomy, including all policy tags in this
+     * taxonomy, their associated policies, and the policy tags references from
+     * BigQuery columns.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteTaxonomy(com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTaxonomyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a taxonomy, including its display name,
+     * description, and activated policy types.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1.Taxonomy> + updateTaxonomy(com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTaxonomyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all taxonomies in a project in a particular location that you
+     * have a permission to view.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1.ListTaxonomiesResponse> + listTaxonomies(com.google.cloud.datacatalog.v1.ListTaxonomiesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTaxonomiesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a taxonomy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1.Taxonomy> + getTaxonomy(com.google.cloud.datacatalog.v1.GetTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTaxonomyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a policy tag in a taxonomy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1.PolicyTag> + createPolicyTag(com.google.cloud.datacatalog.v1.CreatePolicyTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreatePolicyTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a policy tag together with the following:
+     * * All of its descendant policy tags, if any
+     * * Policies associated with the policy tag and its descendants
+     * * References from BigQuery table schema of the policy tag and its
+     *   descendants
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deletePolicyTag(com.google.cloud.datacatalog.v1.DeletePolicyTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePolicyTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a policy tag, including its display
+     * name, description, and parent policy tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1.PolicyTag> + updatePolicyTag(com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdatePolicyTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all policy tags in a taxonomy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1.ListPolicyTagsResponse> + listPolicyTags(com.google.cloud.datacatalog.v1.ListPolicyTagsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPolicyTagsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a policy tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1.PolicyTag> + getPolicyTag(com.google.cloud.datacatalog.v1.GetPolicyTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPolicyTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets the IAM policy for a policy tag or a taxonomy.
+     * 
+ */ + 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 IAM policy for a policy tag or a taxonomy.
+     * 
+ */ + 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 your permissions on a specified policy tag or
+     * taxonomy.
+     * 
+ */ + 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); + } + } + + private static final int METHODID_CREATE_TAXONOMY = 0; + private static final int METHODID_DELETE_TAXONOMY = 1; + private static final int METHODID_UPDATE_TAXONOMY = 2; + private static final int METHODID_LIST_TAXONOMIES = 3; + private static final int METHODID_GET_TAXONOMY = 4; + private static final int METHODID_CREATE_POLICY_TAG = 5; + private static final int METHODID_DELETE_POLICY_TAG = 6; + private static final int METHODID_UPDATE_POLICY_TAG = 7; + private static final int METHODID_LIST_POLICY_TAGS = 8; + private static final int METHODID_GET_POLICY_TAG = 9; + private static final int METHODID_GET_IAM_POLICY = 10; + private static final int METHODID_SET_IAM_POLICY = 11; + private static final int METHODID_TEST_IAM_PERMISSIONS = 12; + + 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_TAXONOMY: + serviceImpl.createTaxonomy( + (com.google.cloud.datacatalog.v1.CreateTaxonomyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_TAXONOMY: + serviceImpl.deleteTaxonomy( + (com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_TAXONOMY: + serviceImpl.updateTaxonomy( + (com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_TAXONOMIES: + serviceImpl.listTaxonomies( + (com.google.cloud.datacatalog.v1.ListTaxonomiesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_TAXONOMY: + serviceImpl.getTaxonomy( + (com.google.cloud.datacatalog.v1.GetTaxonomyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_POLICY_TAG: + serviceImpl.createPolicyTag( + (com.google.cloud.datacatalog.v1.CreatePolicyTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_POLICY_TAG: + serviceImpl.deletePolicyTag( + (com.google.cloud.datacatalog.v1.DeletePolicyTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_POLICY_TAG: + serviceImpl.updatePolicyTag( + (com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_POLICY_TAGS: + serviceImpl.listPolicyTags( + (com.google.cloud.datacatalog.v1.ListPolicyTagsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_POLICY_TAG: + serviceImpl.getPolicyTag( + (com.google.cloud.datacatalog.v1.GetPolicyTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_IAM_POLICY: + 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, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TEST_IAM_PERMISSIONS: + serviceImpl.testIamPermissions( + (com.google.iam.v1.TestIamPermissionsRequest) 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( + getCreateTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.CreateTaxonomyRequest, + com.google.cloud.datacatalog.v1.Taxonomy>(service, METHODID_CREATE_TAXONOMY))) + .addMethod( + getDeleteTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest, + com.google.protobuf.Empty>(service, METHODID_DELETE_TAXONOMY))) + .addMethod( + getUpdateTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest, + com.google.cloud.datacatalog.v1.Taxonomy>(service, METHODID_UPDATE_TAXONOMY))) + .addMethod( + getListTaxonomiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.ListTaxonomiesRequest, + com.google.cloud.datacatalog.v1.ListTaxonomiesResponse>( + service, METHODID_LIST_TAXONOMIES))) + .addMethod( + getGetTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.GetTaxonomyRequest, + com.google.cloud.datacatalog.v1.Taxonomy>(service, METHODID_GET_TAXONOMY))) + .addMethod( + getCreatePolicyTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.CreatePolicyTagRequest, + com.google.cloud.datacatalog.v1.PolicyTag>( + service, METHODID_CREATE_POLICY_TAG))) + .addMethod( + getDeletePolicyTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.DeletePolicyTagRequest, + com.google.protobuf.Empty>(service, METHODID_DELETE_POLICY_TAG))) + .addMethod( + getUpdatePolicyTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest, + com.google.cloud.datacatalog.v1.PolicyTag>( + service, METHODID_UPDATE_POLICY_TAG))) + .addMethod( + getListPolicyTagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.ListPolicyTagsRequest, + com.google.cloud.datacatalog.v1.ListPolicyTagsResponse>( + service, METHODID_LIST_POLICY_TAGS))) + .addMethod( + getGetPolicyTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.GetPolicyTagRequest, + com.google.cloud.datacatalog.v1.PolicyTag>(service, METHODID_GET_POLICY_TAG))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers( + service, METHODID_GET_IAM_POLICY))) + .addMethod( + 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))) + .build(); + } + + private abstract static class PolicyTagManagerBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + PolicyTagManagerBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("PolicyTagManager"); + } + } + + private static final class PolicyTagManagerFileDescriptorSupplier + extends PolicyTagManagerBaseDescriptorSupplier { + PolicyTagManagerFileDescriptorSupplier() {} + } + + private static final class PolicyTagManagerMethodDescriptorSupplier + extends PolicyTagManagerBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + PolicyTagManagerMethodDescriptorSupplier(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 (PolicyTagManagerGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new PolicyTagManagerFileDescriptorSupplier()) + .addMethod(getCreateTaxonomyMethod()) + .addMethod(getDeleteTaxonomyMethod()) + .addMethod(getUpdateTaxonomyMethod()) + .addMethod(getListTaxonomiesMethod()) + .addMethod(getGetTaxonomyMethod()) + .addMethod(getCreatePolicyTagMethod()) + .addMethod(getDeletePolicyTagMethod()) + .addMethod(getUpdatePolicyTagMethod()) + .addMethod(getListPolicyTagsMethod()) + .addMethod(getGetPolicyTagMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-datacatalog/v1/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationGrpc.java b/java-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationGrpc.java similarity index 56% rename from owl-bot-staging/java-datacatalog/v1/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationGrpc.java rename to java-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationGrpc.java index 80f8dd14dbb7..c4f72ec56987 100644 --- a/owl-bot-staging/java-datacatalog/v1/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationGrpc.java +++ b/java-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationGrpc.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.datacatalog.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * Policy Tag Manager Serialization API service allows you to manipulate
  * your policy tags and taxonomies in a serialized format.
@@ -17,147 +34,205 @@ public final class PolicyTagManagerSerializationGrpc {
 
   private PolicyTagManagerSerializationGrpc() {}
 
-  public static final String SERVICE_NAME = "google.cloud.datacatalog.v1.PolicyTagManagerSerialization";
+  public static final String SERVICE_NAME =
+      "google.cloud.datacatalog.v1.PolicyTagManagerSerialization";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getReplaceTaxonomyMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest,
+          com.google.cloud.datacatalog.v1.Taxonomy>
+      getReplaceTaxonomyMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ReplaceTaxonomy",
       requestType = com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.class,
       responseType = com.google.cloud.datacatalog.v1.Taxonomy.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getReplaceTaxonomyMethod() {
-    io.grpc.MethodDescriptor getReplaceTaxonomyMethod;
-    if ((getReplaceTaxonomyMethod = PolicyTagManagerSerializationGrpc.getReplaceTaxonomyMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest,
+          com.google.cloud.datacatalog.v1.Taxonomy>
+      getReplaceTaxonomyMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest,
+            com.google.cloud.datacatalog.v1.Taxonomy>
+        getReplaceTaxonomyMethod;
+    if ((getReplaceTaxonomyMethod = PolicyTagManagerSerializationGrpc.getReplaceTaxonomyMethod)
+        == null) {
       synchronized (PolicyTagManagerSerializationGrpc.class) {
-        if ((getReplaceTaxonomyMethod = PolicyTagManagerSerializationGrpc.getReplaceTaxonomyMethod) == null) {
-          PolicyTagManagerSerializationGrpc.getReplaceTaxonomyMethod = getReplaceTaxonomyMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReplaceTaxonomy"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance()))
-              .setSchemaDescriptor(new PolicyTagManagerSerializationMethodDescriptorSupplier("ReplaceTaxonomy"))
-              .build();
+        if ((getReplaceTaxonomyMethod = PolicyTagManagerSerializationGrpc.getReplaceTaxonomyMethod)
+            == null) {
+          PolicyTagManagerSerializationGrpc.getReplaceTaxonomyMethod =
+              getReplaceTaxonomyMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReplaceTaxonomy"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new PolicyTagManagerSerializationMethodDescriptorSupplier(
+                              "ReplaceTaxonomy"))
+                      .build();
         }
       }
     }
     return getReplaceTaxonomyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getImportTaxonomiesMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest,
+          com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse>
+      getImportTaxonomiesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ImportTaxonomies",
       requestType = com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest.class,
       responseType = com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getImportTaxonomiesMethod() {
-    io.grpc.MethodDescriptor getImportTaxonomiesMethod;
-    if ((getImportTaxonomiesMethod = PolicyTagManagerSerializationGrpc.getImportTaxonomiesMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest,
+          com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse>
+      getImportTaxonomiesMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest,
+            com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse>
+        getImportTaxonomiesMethod;
+    if ((getImportTaxonomiesMethod = PolicyTagManagerSerializationGrpc.getImportTaxonomiesMethod)
+        == null) {
       synchronized (PolicyTagManagerSerializationGrpc.class) {
-        if ((getImportTaxonomiesMethod = PolicyTagManagerSerializationGrpc.getImportTaxonomiesMethod) == null) {
-          PolicyTagManagerSerializationGrpc.getImportTaxonomiesMethod = getImportTaxonomiesMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportTaxonomies"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new PolicyTagManagerSerializationMethodDescriptorSupplier("ImportTaxonomies"))
-              .build();
+        if ((getImportTaxonomiesMethod =
+                PolicyTagManagerSerializationGrpc.getImportTaxonomiesMethod)
+            == null) {
+          PolicyTagManagerSerializationGrpc.getImportTaxonomiesMethod =
+              getImportTaxonomiesMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportTaxonomies"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new PolicyTagManagerSerializationMethodDescriptorSupplier(
+                              "ImportTaxonomies"))
+                      .build();
         }
       }
     }
     return getImportTaxonomiesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getExportTaxonomiesMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest,
+          com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse>
+      getExportTaxonomiesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ExportTaxonomies",
       requestType = com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest.class,
       responseType = com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getExportTaxonomiesMethod() {
-    io.grpc.MethodDescriptor getExportTaxonomiesMethod;
-    if ((getExportTaxonomiesMethod = PolicyTagManagerSerializationGrpc.getExportTaxonomiesMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest,
+          com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse>
+      getExportTaxonomiesMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest,
+            com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse>
+        getExportTaxonomiesMethod;
+    if ((getExportTaxonomiesMethod = PolicyTagManagerSerializationGrpc.getExportTaxonomiesMethod)
+        == null) {
       synchronized (PolicyTagManagerSerializationGrpc.class) {
-        if ((getExportTaxonomiesMethod = PolicyTagManagerSerializationGrpc.getExportTaxonomiesMethod) == null) {
-          PolicyTagManagerSerializationGrpc.getExportTaxonomiesMethod = getExportTaxonomiesMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportTaxonomies"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new PolicyTagManagerSerializationMethodDescriptorSupplier("ExportTaxonomies"))
-              .build();
+        if ((getExportTaxonomiesMethod =
+                PolicyTagManagerSerializationGrpc.getExportTaxonomiesMethod)
+            == null) {
+          PolicyTagManagerSerializationGrpc.getExportTaxonomiesMethod =
+              getExportTaxonomiesMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportTaxonomies"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new PolicyTagManagerSerializationMethodDescriptorSupplier(
+                              "ExportTaxonomies"))
+                      .build();
         }
       }
     }
     return getExportTaxonomiesMethod;
   }
 
-  /**
-   * 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 PolicyTagManagerSerializationStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public PolicyTagManagerSerializationStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new PolicyTagManagerSerializationStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public PolicyTagManagerSerializationStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new PolicyTagManagerSerializationStub(channel, callOptions);
+          }
+        };
     return PolicyTagManagerSerializationStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static PolicyTagManagerSerializationBlockingStub newBlockingStub(
-      io.grpc.Channel channel) {
+  public static PolicyTagManagerSerializationBlockingStub newBlockingStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public PolicyTagManagerSerializationBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new PolicyTagManagerSerializationBlockingStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public PolicyTagManagerSerializationBlockingStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new PolicyTagManagerSerializationBlockingStub(channel, callOptions);
+          }
+        };
     return PolicyTagManagerSerializationBlockingStub.newStub(factory, channel);
   }
 
-  /**
-   * Creates a new ListenableFuture-style stub that supports unary calls on the service
-   */
-  public static PolicyTagManagerSerializationFutureStub newFutureStub(
-      io.grpc.Channel channel) {
+  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+  public static PolicyTagManagerSerializationFutureStub newFutureStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public PolicyTagManagerSerializationFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new PolicyTagManagerSerializationFutureStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public PolicyTagManagerSerializationFutureStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new PolicyTagManagerSerializationFutureStub(channel, callOptions);
+          }
+        };
     return PolicyTagManagerSerializationFutureStub.newStub(factory, channel);
   }
 
   /**
+   *
+   *
    * 
    * Policy Tag Manager Serialization API service allows you to manipulate
    * your policy tags and taxonomies in a serialized format.
@@ -167,6 +242,8 @@ public PolicyTagManagerSerializationFutureStub newStub(io.grpc.Channel channel,
   public interface AsyncService {
 
     /**
+     *
+     *
      * 
      * Replaces (updates) a taxonomy and all its policy tags.
      * The taxonomy and its entire hierarchy of policy tags must be
@@ -180,12 +257,16 @@ public interface AsyncService {
      * - Updates policy tags with valid resources names accordingly.
      * 
*/ - default void replaceTaxonomy(com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest request, + default void replaceTaxonomy( + com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReplaceTaxonomyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getReplaceTaxonomyMethod(), responseObserver); } /** + * + * *
      * Creates new taxonomies (including their policy tags) in a given project
      * by importing from inlined or cross-regional sources.
@@ -195,12 +276,17 @@ default void replaceTaxonomy(com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequ
      * nested protocol buffer structures.
      * 
*/ - default void importTaxonomies(com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportTaxonomiesMethod(), responseObserver); + default void importTaxonomies( + com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getImportTaxonomiesMethod(), responseObserver); } /** + * + * *
      * Exports taxonomies in the requested type and returns them,
      * including their policy tags. The requested taxonomies must belong to the
@@ -209,30 +295,36 @@ default void importTaxonomies(com.google.cloud.datacatalog.v1.ImportTaxonomiesRe
      * policy tags that can be used as input for `ImportTaxonomies` calls.
      * 
*/ - default void exportTaxonomies(com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportTaxonomiesMethod(), responseObserver); + default void exportTaxonomies( + com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getExportTaxonomiesMethod(), responseObserver); } } /** * Base class for the server implementation of the service PolicyTagManagerSerialization. + * *
    * Policy Tag Manager Serialization API service allows you to manipulate
    * your policy tags and taxonomies in a serialized format.
    * Taxonomy is a hierarchical group of policy tags.
    * 
*/ - public static abstract class PolicyTagManagerSerializationImplBase + public abstract static class PolicyTagManagerSerializationImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return PolicyTagManagerSerializationGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service PolicyTagManagerSerialization. + * *
    * Policy Tag Manager Serialization API service allows you to manipulate
    * your policy tags and taxonomies in a serialized format.
@@ -253,6 +345,8 @@ protected PolicyTagManagerSerializationStub build(
     }
 
     /**
+     *
+     *
      * 
      * Replaces (updates) a taxonomy and all its policy tags.
      * The taxonomy and its entire hierarchy of policy tags must be
@@ -266,13 +360,18 @@ protected PolicyTagManagerSerializationStub build(
      * - Updates policy tags with valid resources names accordingly.
      * 
*/ - public void replaceTaxonomy(com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest request, + public void replaceTaxonomy( + com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getReplaceTaxonomyMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getReplaceTaxonomyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Creates new taxonomies (including their policy tags) in a given project
      * by importing from inlined or cross-regional sources.
@@ -282,13 +381,19 @@ public void replaceTaxonomy(com.google.cloud.datacatalog.v1.ReplaceTaxonomyReque
      * nested protocol buffer structures.
      * 
*/ - public void importTaxonomies(com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void importTaxonomies( + com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportTaxonomiesMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getImportTaxonomiesMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Exports taxonomies in the requested type and returns them,
      * including their policy tags. The requested taxonomies must belong to the
@@ -297,15 +402,20 @@ public void importTaxonomies(com.google.cloud.datacatalog.v1.ImportTaxonomiesReq
      * policy tags that can be used as input for `ImportTaxonomies` calls.
      * 
*/ - public void exportTaxonomies(com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void exportTaxonomies( + com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExportTaxonomiesMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getExportTaxonomiesMethod(), getCallOptions()), + request, + responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service PolicyTagManagerSerialization. + * *
    * Policy Tag Manager Serialization API service allows you to manipulate
    * your policy tags and taxonomies in a serialized format.
@@ -326,6 +436,8 @@ protected PolicyTagManagerSerializationBlockingStub build(
     }
 
     /**
+     *
+     *
      * 
      * Replaces (updates) a taxonomy and all its policy tags.
      * The taxonomy and its entire hierarchy of policy tags must be
@@ -339,12 +451,15 @@ protected PolicyTagManagerSerializationBlockingStub build(
      * - Updates policy tags with valid resources names accordingly.
      * 
*/ - public com.google.cloud.datacatalog.v1.Taxonomy replaceTaxonomy(com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest request) { + public com.google.cloud.datacatalog.v1.Taxonomy replaceTaxonomy( + com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getReplaceTaxonomyMethod(), getCallOptions(), request); } /** + * + * *
      * Creates new taxonomies (including their policy tags) in a given project
      * by importing from inlined or cross-regional sources.
@@ -354,12 +469,15 @@ public com.google.cloud.datacatalog.v1.Taxonomy replaceTaxonomy(com.google.cloud
      * nested protocol buffer structures.
      * 
*/ - public com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse importTaxonomies(com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest request) { + public com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse importTaxonomies( + com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getImportTaxonomiesMethod(), getCallOptions(), request); } /** + * + * *
      * Exports taxonomies in the requested type and returns them,
      * including their policy tags. The requested taxonomies must belong to the
@@ -368,14 +486,17 @@ public com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse importTaxonomies
      * policy tags that can be used as input for `ImportTaxonomies` calls.
      * 
*/ - public com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse exportTaxonomies(com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest request) { + public com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse exportTaxonomies( + com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getExportTaxonomiesMethod(), getCallOptions(), request); } } /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service PolicyTagManagerSerialization. + * A stub to allow clients to do ListenableFuture-style rpc calls to service + * PolicyTagManagerSerialization. + * *
    * Policy Tag Manager Serialization API service allows you to manipulate
    * your policy tags and taxonomies in a serialized format.
@@ -396,6 +517,8 @@ protected PolicyTagManagerSerializationFutureStub build(
     }
 
     /**
+     *
+     *
      * 
      * Replaces (updates) a taxonomy and all its policy tags.
      * The taxonomy and its entire hierarchy of policy tags must be
@@ -409,13 +532,16 @@ protected PolicyTagManagerSerializationFutureStub build(
      * - Updates policy tags with valid resources names accordingly.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture replaceTaxonomy( - com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1.Taxonomy> + replaceTaxonomy(com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getReplaceTaxonomyMethod(), getCallOptions()), request); } /** + * + * *
      * Creates new taxonomies (including their policy tags) in a given project
      * by importing from inlined or cross-regional sources.
@@ -425,13 +551,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture importTaxonomies(
-        com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse>
+        importTaxonomies(com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getImportTaxonomiesMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Exports taxonomies in the requested type and returns them,
      * including their policy tags. The requested taxonomies must belong to the
@@ -440,8 +569,9 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture exportTaxonomies(
-        com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse>
+        exportTaxonomies(com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getExportTaxonomiesMethod(), getCallOptions()), request);
     }
@@ -451,11 +581,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;
 
@@ -469,16 +599,24 @@ private static final class MethodHandlers implements
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_REPLACE_TAXONOMY:
-          serviceImpl.replaceTaxonomy((com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.replaceTaxonomy(
+              (com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_IMPORT_TAXONOMIES:
-          serviceImpl.importTaxonomies((com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.importTaxonomies(
+              (com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest) request,
+              (io.grpc.stub.StreamObserver<
+                      com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse>)
+                  responseObserver);
           break;
         case METHODID_EXPORT_TAXONOMIES:
-          serviceImpl.exportTaxonomies((com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.exportTaxonomies(
+              (com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest) request,
+              (io.grpc.stub.StreamObserver<
+                      com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse>)
+                  responseObserver);
           break;
         default:
           throw new AssertionError();
@@ -499,31 +637,31 @@ public io.grpc.stub.StreamObserver invoke(
   public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) {
     return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
         .addMethod(
-          getReplaceTaxonomyMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest,
-              com.google.cloud.datacatalog.v1.Taxonomy>(
-                service, METHODID_REPLACE_TAXONOMY)))
+            getReplaceTaxonomyMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest,
+                    com.google.cloud.datacatalog.v1.Taxonomy>(service, METHODID_REPLACE_TAXONOMY)))
         .addMethod(
-          getImportTaxonomiesMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest,
-              com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse>(
-                service, METHODID_IMPORT_TAXONOMIES)))
+            getImportTaxonomiesMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest,
+                    com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse>(
+                    service, METHODID_IMPORT_TAXONOMIES)))
         .addMethod(
-          getExportTaxonomiesMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest,
-              com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse>(
-                service, METHODID_EXPORT_TAXONOMIES)))
+            getExportTaxonomiesMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest,
+                    com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse>(
+                    service, METHODID_EXPORT_TAXONOMIES)))
         .build();
   }
 
-  private static abstract class PolicyTagManagerSerializationBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private abstract static class PolicyTagManagerSerializationBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
+          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     PolicyTagManagerSerializationBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -565,12 +703,15 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (PolicyTagManagerSerializationGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-              .setSchemaDescriptor(new PolicyTagManagerSerializationFileDescriptorSupplier())
-              .addMethod(getReplaceTaxonomyMethod())
-              .addMethod(getImportTaxonomiesMethod())
-              .addMethod(getExportTaxonomiesMethod())
-              .build();
+          serviceDescriptor =
+              result =
+                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+                      .setSchemaDescriptor(
+                          new PolicyTagManagerSerializationFileDescriptorSupplier())
+                      .addMethod(getReplaceTaxonomyMethod())
+                      .addMethod(getImportTaxonomiesMethod())
+                      .addMethod(getExportTaxonomiesMethod())
+                      .build();
         }
       }
     }
diff --git a/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogGrpc.java b/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogGrpc.java
new file mode 100644
index 000000000000..266903c68db2
--- /dev/null
+++ b/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogGrpc.java
@@ -0,0 +1,4019 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT 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.datacatalog.v1beta1;
+
+import static io.grpc.MethodDescriptor.generateFullMethodName;
+
+/**
+ *
+ *
+ * 
+ * Data Catalog API service allows clients to discover, understand, and manage
+ * their data.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/datacatalog/v1beta1/datacatalog.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class DataCatalogGrpc { + + private DataCatalogGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.datacatalog.v1beta1.DataCatalog"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest, + com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse> + getSearchCatalogMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SearchCatalog", + requestType = com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest, + com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse> + getSearchCatalogMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest, + com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse> + getSearchCatalogMethod; + if ((getSearchCatalogMethod = DataCatalogGrpc.getSearchCatalogMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getSearchCatalogMethod = DataCatalogGrpc.getSearchCatalogMethod) == null) { + DataCatalogGrpc.getSearchCatalogMethod = + getSearchCatalogMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchCatalog")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse + .getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("SearchCatalog")) + .build(); + } + } + } + return getSearchCatalogMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest, + com.google.cloud.datacatalog.v1beta1.EntryGroup> + getCreateEntryGroupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateEntryGroup", + requestType = com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.EntryGroup.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest, + com.google.cloud.datacatalog.v1beta1.EntryGroup> + getCreateEntryGroupMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest, + com.google.cloud.datacatalog.v1beta1.EntryGroup> + getCreateEntryGroupMethod; + if ((getCreateEntryGroupMethod = DataCatalogGrpc.getCreateEntryGroupMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getCreateEntryGroupMethod = DataCatalogGrpc.getCreateEntryGroupMethod) == null) { + DataCatalogGrpc.getCreateEntryGroupMethod = + getCreateEntryGroupMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEntryGroup")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance())) + .setSchemaDescriptor( + new DataCatalogMethodDescriptorSupplier("CreateEntryGroup")) + .build(); + } + } + } + return getCreateEntryGroupMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest, + com.google.cloud.datacatalog.v1beta1.EntryGroup> + getUpdateEntryGroupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateEntryGroup", + requestType = com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.EntryGroup.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest, + com.google.cloud.datacatalog.v1beta1.EntryGroup> + getUpdateEntryGroupMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest, + com.google.cloud.datacatalog.v1beta1.EntryGroup> + getUpdateEntryGroupMethod; + if ((getUpdateEntryGroupMethod = DataCatalogGrpc.getUpdateEntryGroupMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getUpdateEntryGroupMethod = DataCatalogGrpc.getUpdateEntryGroupMethod) == null) { + DataCatalogGrpc.getUpdateEntryGroupMethod = + getUpdateEntryGroupMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEntryGroup")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance())) + .setSchemaDescriptor( + new DataCatalogMethodDescriptorSupplier("UpdateEntryGroup")) + .build(); + } + } + } + return getUpdateEntryGroupMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest, + com.google.cloud.datacatalog.v1beta1.EntryGroup> + getGetEntryGroupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetEntryGroup", + requestType = com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.EntryGroup.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest, + com.google.cloud.datacatalog.v1beta1.EntryGroup> + getGetEntryGroupMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest, + com.google.cloud.datacatalog.v1beta1.EntryGroup> + getGetEntryGroupMethod; + if ((getGetEntryGroupMethod = DataCatalogGrpc.getGetEntryGroupMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getGetEntryGroupMethod = DataCatalogGrpc.getGetEntryGroupMethod) == null) { + DataCatalogGrpc.getGetEntryGroupMethod = + getGetEntryGroupMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntryGroup")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("GetEntryGroup")) + .build(); + } + } + } + return getGetEntryGroupMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest, com.google.protobuf.Empty> + getDeleteEntryGroupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteEntryGroup", + requestType = com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest, com.google.protobuf.Empty> + getDeleteEntryGroupMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest, com.google.protobuf.Empty> + getDeleteEntryGroupMethod; + if ((getDeleteEntryGroupMethod = DataCatalogGrpc.getDeleteEntryGroupMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getDeleteEntryGroupMethod = DataCatalogGrpc.getDeleteEntryGroupMethod) == null) { + DataCatalogGrpc.getDeleteEntryGroupMethod = + getDeleteEntryGroupMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEntryGroup")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new DataCatalogMethodDescriptorSupplier("DeleteEntryGroup")) + .build(); + } + } + } + return getDeleteEntryGroupMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest, + com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse> + getListEntryGroupsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListEntryGroups", + requestType = com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest, + com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse> + getListEntryGroupsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest, + com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse> + getListEntryGroupsMethod; + if ((getListEntryGroupsMethod = DataCatalogGrpc.getListEntryGroupsMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getListEntryGroupsMethod = DataCatalogGrpc.getListEntryGroupsMethod) == null) { + DataCatalogGrpc.getListEntryGroupsMethod = + getListEntryGroupsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEntryGroups")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataCatalogMethodDescriptorSupplier("ListEntryGroups")) + .build(); + } + } + } + return getListEntryGroupsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.CreateEntryRequest, + com.google.cloud.datacatalog.v1beta1.Entry> + getCreateEntryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateEntry", + requestType = com.google.cloud.datacatalog.v1beta1.CreateEntryRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.Entry.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.CreateEntryRequest, + com.google.cloud.datacatalog.v1beta1.Entry> + getCreateEntryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.CreateEntryRequest, + com.google.cloud.datacatalog.v1beta1.Entry> + getCreateEntryMethod; + if ((getCreateEntryMethod = DataCatalogGrpc.getCreateEntryMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getCreateEntryMethod = DataCatalogGrpc.getCreateEntryMethod) == null) { + DataCatalogGrpc.getCreateEntryMethod = + getCreateEntryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEntry")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.CreateEntryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("CreateEntry")) + .build(); + } + } + } + return getCreateEntryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest, + com.google.cloud.datacatalog.v1beta1.Entry> + getUpdateEntryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateEntry", + requestType = com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.Entry.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest, + com.google.cloud.datacatalog.v1beta1.Entry> + getUpdateEntryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest, + com.google.cloud.datacatalog.v1beta1.Entry> + getUpdateEntryMethod; + if ((getUpdateEntryMethod = DataCatalogGrpc.getUpdateEntryMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getUpdateEntryMethod = DataCatalogGrpc.getUpdateEntryMethod) == null) { + DataCatalogGrpc.getUpdateEntryMethod = + getUpdateEntryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEntry")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UpdateEntry")) + .build(); + } + } + } + return getUpdateEntryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest, com.google.protobuf.Empty> + getDeleteEntryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteEntry", + requestType = com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest, com.google.protobuf.Empty> + getDeleteEntryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest, com.google.protobuf.Empty> + getDeleteEntryMethod; + if ((getDeleteEntryMethod = DataCatalogGrpc.getDeleteEntryMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getDeleteEntryMethod = DataCatalogGrpc.getDeleteEntryMethod) == null) { + DataCatalogGrpc.getDeleteEntryMethod = + getDeleteEntryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEntry")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("DeleteEntry")) + .build(); + } + } + } + return getDeleteEntryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.GetEntryRequest, + com.google.cloud.datacatalog.v1beta1.Entry> + getGetEntryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetEntry", + requestType = com.google.cloud.datacatalog.v1beta1.GetEntryRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.Entry.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.GetEntryRequest, + com.google.cloud.datacatalog.v1beta1.Entry> + getGetEntryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.GetEntryRequest, + com.google.cloud.datacatalog.v1beta1.Entry> + getGetEntryMethod; + if ((getGetEntryMethod = DataCatalogGrpc.getGetEntryMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getGetEntryMethod = DataCatalogGrpc.getGetEntryMethod) == null) { + DataCatalogGrpc.getGetEntryMethod = + getGetEntryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntry")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.GetEntryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("GetEntry")) + .build(); + } + } + } + return getGetEntryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.LookupEntryRequest, + com.google.cloud.datacatalog.v1beta1.Entry> + getLookupEntryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "LookupEntry", + requestType = com.google.cloud.datacatalog.v1beta1.LookupEntryRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.Entry.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.LookupEntryRequest, + com.google.cloud.datacatalog.v1beta1.Entry> + getLookupEntryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.LookupEntryRequest, + com.google.cloud.datacatalog.v1beta1.Entry> + getLookupEntryMethod; + if ((getLookupEntryMethod = DataCatalogGrpc.getLookupEntryMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getLookupEntryMethod = DataCatalogGrpc.getLookupEntryMethod) == null) { + DataCatalogGrpc.getLookupEntryMethod = + getLookupEntryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LookupEntry")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.LookupEntryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("LookupEntry")) + .build(); + } + } + } + return getLookupEntryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.ListEntriesRequest, + com.google.cloud.datacatalog.v1beta1.ListEntriesResponse> + getListEntriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListEntries", + requestType = com.google.cloud.datacatalog.v1beta1.ListEntriesRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.ListEntriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.ListEntriesRequest, + com.google.cloud.datacatalog.v1beta1.ListEntriesResponse> + getListEntriesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.ListEntriesRequest, + com.google.cloud.datacatalog.v1beta1.ListEntriesResponse> + getListEntriesMethod; + if ((getListEntriesMethod = DataCatalogGrpc.getListEntriesMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getListEntriesMethod = DataCatalogGrpc.getListEntriesMethod) == null) { + DataCatalogGrpc.getListEntriesMethod = + getListEntriesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEntries")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.ListEntriesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.ListEntriesResponse + .getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ListEntries")) + .build(); + } + } + } + return getListEntriesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplate> + getCreateTagTemplateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTagTemplate", + requestType = com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.TagTemplate.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplate> + getCreateTagTemplateMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplate> + getCreateTagTemplateMethod; + if ((getCreateTagTemplateMethod = DataCatalogGrpc.getCreateTagTemplateMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getCreateTagTemplateMethod = DataCatalogGrpc.getCreateTagTemplateMethod) == null) { + DataCatalogGrpc.getCreateTagTemplateMethod = + getCreateTagTemplateMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTagTemplate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.TagTemplate + .getDefaultInstance())) + .setSchemaDescriptor( + new DataCatalogMethodDescriptorSupplier("CreateTagTemplate")) + .build(); + } + } + } + return getCreateTagTemplateMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplate> + getGetTagTemplateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTagTemplate", + requestType = com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.TagTemplate.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplate> + getGetTagTemplateMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplate> + getGetTagTemplateMethod; + if ((getGetTagTemplateMethod = DataCatalogGrpc.getGetTagTemplateMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getGetTagTemplateMethod = DataCatalogGrpc.getGetTagTemplateMethod) == null) { + DataCatalogGrpc.getGetTagTemplateMethod = + getGetTagTemplateMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTagTemplate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.TagTemplate + .getDefaultInstance())) + .setSchemaDescriptor( + new DataCatalogMethodDescriptorSupplier("GetTagTemplate")) + .build(); + } + } + } + return getGetTagTemplateMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplate> + getUpdateTagTemplateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTagTemplate", + requestType = com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.TagTemplate.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplate> + getUpdateTagTemplateMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplate> + getUpdateTagTemplateMethod; + if ((getUpdateTagTemplateMethod = DataCatalogGrpc.getUpdateTagTemplateMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getUpdateTagTemplateMethod = DataCatalogGrpc.getUpdateTagTemplateMethod) == null) { + DataCatalogGrpc.getUpdateTagTemplateMethod = + getUpdateTagTemplateMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTagTemplate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.TagTemplate + .getDefaultInstance())) + .setSchemaDescriptor( + new DataCatalogMethodDescriptorSupplier("UpdateTagTemplate")) + .build(); + } + } + } + return getUpdateTagTemplateMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest, com.google.protobuf.Empty> + getDeleteTagTemplateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTagTemplate", + requestType = com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest, com.google.protobuf.Empty> + getDeleteTagTemplateMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest, + com.google.protobuf.Empty> + getDeleteTagTemplateMethod; + if ((getDeleteTagTemplateMethod = DataCatalogGrpc.getDeleteTagTemplateMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getDeleteTagTemplateMethod = DataCatalogGrpc.getDeleteTagTemplateMethod) == null) { + DataCatalogGrpc.getDeleteTagTemplateMethod = + getDeleteTagTemplateMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTagTemplate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new DataCatalogMethodDescriptorSupplier("DeleteTagTemplate")) + .build(); + } + } + } + return getDeleteTagTemplateMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplateField> + getCreateTagTemplateFieldMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTagTemplateField", + requestType = com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.TagTemplateField.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplateField> + getCreateTagTemplateFieldMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplateField> + getCreateTagTemplateFieldMethod; + if ((getCreateTagTemplateFieldMethod = DataCatalogGrpc.getCreateTagTemplateFieldMethod) + == null) { + synchronized (DataCatalogGrpc.class) { + if ((getCreateTagTemplateFieldMethod = DataCatalogGrpc.getCreateTagTemplateFieldMethod) + == null) { + DataCatalogGrpc.getCreateTagTemplateFieldMethod = + getCreateTagTemplateFieldMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateTagTemplateField")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.TagTemplateField + .getDefaultInstance())) + .setSchemaDescriptor( + new DataCatalogMethodDescriptorSupplier("CreateTagTemplateField")) + .build(); + } + } + } + return getCreateTagTemplateFieldMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplateField> + getUpdateTagTemplateFieldMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTagTemplateField", + requestType = com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.TagTemplateField.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplateField> + getUpdateTagTemplateFieldMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplateField> + getUpdateTagTemplateFieldMethod; + if ((getUpdateTagTemplateFieldMethod = DataCatalogGrpc.getUpdateTagTemplateFieldMethod) + == null) { + synchronized (DataCatalogGrpc.class) { + if ((getUpdateTagTemplateFieldMethod = DataCatalogGrpc.getUpdateTagTemplateFieldMethod) + == null) { + DataCatalogGrpc.getUpdateTagTemplateFieldMethod = + getUpdateTagTemplateFieldMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateTagTemplateField")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.TagTemplateField + .getDefaultInstance())) + .setSchemaDescriptor( + new DataCatalogMethodDescriptorSupplier("UpdateTagTemplateField")) + .build(); + } + } + } + return getUpdateTagTemplateFieldMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplateField> + getRenameTagTemplateFieldMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RenameTagTemplateField", + requestType = com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.TagTemplateField.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplateField> + getRenameTagTemplateFieldMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplateField> + getRenameTagTemplateFieldMethod; + if ((getRenameTagTemplateFieldMethod = DataCatalogGrpc.getRenameTagTemplateFieldMethod) + == null) { + synchronized (DataCatalogGrpc.class) { + if ((getRenameTagTemplateFieldMethod = DataCatalogGrpc.getRenameTagTemplateFieldMethod) + == null) { + DataCatalogGrpc.getRenameTagTemplateFieldMethod = + getRenameTagTemplateFieldMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "RenameTagTemplateField")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.TagTemplateField + .getDefaultInstance())) + .setSchemaDescriptor( + new DataCatalogMethodDescriptorSupplier("RenameTagTemplateField")) + .build(); + } + } + } + return getRenameTagTemplateFieldMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplateField> + getRenameTagTemplateFieldEnumValueMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RenameTagTemplateFieldEnumValue", + requestType = + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.TagTemplateField.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplateField> + getRenameTagTemplateFieldEnumValueMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplateField> + getRenameTagTemplateFieldEnumValueMethod; + if ((getRenameTagTemplateFieldEnumValueMethod = + DataCatalogGrpc.getRenameTagTemplateFieldEnumValueMethod) + == null) { + synchronized (DataCatalogGrpc.class) { + if ((getRenameTagTemplateFieldEnumValueMethod = + DataCatalogGrpc.getRenameTagTemplateFieldEnumValueMethod) + == null) { + DataCatalogGrpc.getRenameTagTemplateFieldEnumValueMethod = + getRenameTagTemplateFieldEnumValueMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "RenameTagTemplateFieldEnumValue")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1 + .RenameTagTemplateFieldEnumValueRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.TagTemplateField + .getDefaultInstance())) + .setSchemaDescriptor( + new DataCatalogMethodDescriptorSupplier( + "RenameTagTemplateFieldEnumValue")) + .build(); + } + } + } + return getRenameTagTemplateFieldEnumValueMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest, + com.google.protobuf.Empty> + getDeleteTagTemplateFieldMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTagTemplateField", + requestType = com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest, + com.google.protobuf.Empty> + getDeleteTagTemplateFieldMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest, + com.google.protobuf.Empty> + getDeleteTagTemplateFieldMethod; + if ((getDeleteTagTemplateFieldMethod = DataCatalogGrpc.getDeleteTagTemplateFieldMethod) + == null) { + synchronized (DataCatalogGrpc.class) { + if ((getDeleteTagTemplateFieldMethod = DataCatalogGrpc.getDeleteTagTemplateFieldMethod) + == null) { + DataCatalogGrpc.getDeleteTagTemplateFieldMethod = + getDeleteTagTemplateFieldMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteTagTemplateField")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new DataCatalogMethodDescriptorSupplier("DeleteTagTemplateField")) + .build(); + } + } + } + return getDeleteTagTemplateFieldMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.CreateTagRequest, + com.google.cloud.datacatalog.v1beta1.Tag> + getCreateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTag", + requestType = com.google.cloud.datacatalog.v1beta1.CreateTagRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.CreateTagRequest, + com.google.cloud.datacatalog.v1beta1.Tag> + getCreateTagMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.CreateTagRequest, + com.google.cloud.datacatalog.v1beta1.Tag> + getCreateTagMethod; + if ((getCreateTagMethod = DataCatalogGrpc.getCreateTagMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getCreateTagMethod = DataCatalogGrpc.getCreateTagMethod) == null) { + DataCatalogGrpc.getCreateTagMethod = + getCreateTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.CreateTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("CreateTag")) + .build(); + } + } + } + return getCreateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.UpdateTagRequest, + com.google.cloud.datacatalog.v1beta1.Tag> + getUpdateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTag", + requestType = com.google.cloud.datacatalog.v1beta1.UpdateTagRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.UpdateTagRequest, + com.google.cloud.datacatalog.v1beta1.Tag> + getUpdateTagMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.UpdateTagRequest, + com.google.cloud.datacatalog.v1beta1.Tag> + getUpdateTagMethod; + if ((getUpdateTagMethod = DataCatalogGrpc.getUpdateTagMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getUpdateTagMethod = DataCatalogGrpc.getUpdateTagMethod) == null) { + DataCatalogGrpc.getUpdateTagMethod = + getUpdateTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.UpdateTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UpdateTag")) + .build(); + } + } + } + return getUpdateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.DeleteTagRequest, com.google.protobuf.Empty> + getDeleteTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTag", + requestType = com.google.cloud.datacatalog.v1beta1.DeleteTagRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.DeleteTagRequest, com.google.protobuf.Empty> + getDeleteTagMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.DeleteTagRequest, com.google.protobuf.Empty> + getDeleteTagMethod; + if ((getDeleteTagMethod = DataCatalogGrpc.getDeleteTagMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getDeleteTagMethod = DataCatalogGrpc.getDeleteTagMethod) == null) { + DataCatalogGrpc.getDeleteTagMethod = + getDeleteTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.DeleteTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("DeleteTag")) + .build(); + } + } + } + return getDeleteTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.ListTagsRequest, + com.google.cloud.datacatalog.v1beta1.ListTagsResponse> + getListTagsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTags", + requestType = com.google.cloud.datacatalog.v1beta1.ListTagsRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.ListTagsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.ListTagsRequest, + com.google.cloud.datacatalog.v1beta1.ListTagsResponse> + getListTagsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.ListTagsRequest, + com.google.cloud.datacatalog.v1beta1.ListTagsResponse> + getListTagsMethod; + if ((getListTagsMethod = DataCatalogGrpc.getListTagsMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getListTagsMethod = DataCatalogGrpc.getListTagsMethod) == null) { + DataCatalogGrpc.getListTagsMethod = + getListTagsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.ListTagsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.ListTagsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ListTags")) + .build(); + } + } + } + return getListTagsMethod; + } + + 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< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> + getSetIamPolicyMethod() { + io.grpc.MethodDescriptor + getSetIamPolicyMethod; + if ((getSetIamPolicyMethod = DataCatalogGrpc.getSetIamPolicyMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getSetIamPolicyMethod = DataCatalogGrpc.getSetIamPolicyMethod) == null) { + DataCatalogGrpc.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 DataCatalogMethodDescriptorSupplier("SetIamPolicy")) + .build(); + } + } + } + return getSetIamPolicyMethod; + } + + 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< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> + getGetIamPolicyMethod() { + io.grpc.MethodDescriptor + getGetIamPolicyMethod; + if ((getGetIamPolicyMethod = DataCatalogGrpc.getGetIamPolicyMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getGetIamPolicyMethod = DataCatalogGrpc.getGetIamPolicyMethod) == null) { + DataCatalogGrpc.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 DataCatalogMethodDescriptorSupplier("GetIamPolicy")) + .build(); + } + } + } + return getGetIamPolicyMethod; + } + + 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< + 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 = DataCatalogGrpc.getTestIamPermissionsMethod) == null) { + synchronized (DataCatalogGrpc.class) { + if ((getTestIamPermissionsMethod = DataCatalogGrpc.getTestIamPermissionsMethod) == null) { + DataCatalogGrpc.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 DataCatalogMethodDescriptorSupplier("TestIamPermissions")) + .build(); + } + } + } + return getTestIamPermissionsMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static DataCatalogStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataCatalogStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataCatalogStub(channel, callOptions); + } + }; + return DataCatalogStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static DataCatalogBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataCatalogBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataCatalogBlockingStub(channel, callOptions); + } + }; + return DataCatalogBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static DataCatalogFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataCatalogFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataCatalogFutureStub(channel, callOptions); + } + }; + return DataCatalogFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Data Catalog API service allows clients to discover, understand, and manage
+   * their data.
+   * 
+ */ + public interface AsyncService { + + /** + * + * + *
+     * Searches Data Catalog for multiple resources like entries, tags that
+     * match a query.
+     * This is a custom method
+     * (https://cloud.google.com/apis/design/custom_methods) and does not return
+     * the complete resource, only the resource identifier and high level
+     * fields. Clients can subsequently call `Get` methods.
+     * Note that Data Catalog search queries do not guarantee full recall. Query
+     * results that match your query may not be returned, even in subsequent
+     * result pages. Also note that results returned (and not returned) can vary
+     * across repeated search queries.
+     * See [Data Catalog Search
+     * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
+     * for more information.
+     * 
+ */ + default void searchCatalog( + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSearchCatalogMethod(), responseObserver); + } + + /** + * + * + *
+     * A maximum of 10,000 entry groups may be created per organization across all
+     * locations.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `parent` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + default void createEntryGroup( + com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateEntryGroupMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates an EntryGroup. The user should enable the Data Catalog API in the
+     * project identified by the `entry_group.name` parameter (see [Data Catalog
+     * Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + default void updateEntryGroup( + com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateEntryGroupMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets an EntryGroup.
+     * 
+ */ + default void getEntryGroup( + com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetEntryGroupMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes an EntryGroup. Only entry groups that do not contain entries can be
+     * deleted. Users should enable the Data Catalog API in the project
+     * identified by the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + default void deleteEntryGroup( + com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteEntryGroupMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists entry groups.
+     * 
+ */ + default void listEntryGroups( + com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListEntryGroupsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates an entry. Only entries of 'FILESET' type or user-specified type can
+     * be created.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `parent` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * A maximum of 100,000 entries may be created per entry group.
+     * 
+ */ + default void createEntry( + com.google.cloud.datacatalog.v1beta1.CreateEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateEntryMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates an existing entry.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `entry.name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + default void updateEntry( + com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateEntryMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes an existing entry. Only entries created through
+     * [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry]
+     * method can be deleted.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + default void deleteEntry( + com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteEntryMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets an entry.
+     * 
+ */ + default void getEntry( + com.google.cloud.datacatalog.v1beta1.GetEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEntryMethod(), responseObserver); + } + + /** + * + * + *
+     * Get an entry by target resource name. This method allows clients to use
+     * the resource name from the source Google Cloud Platform service to get the
+     * Data Catalog Entry.
+     * 
+ */ + default void lookupEntry( + com.google.cloud.datacatalog.v1beta1.LookupEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getLookupEntryMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists entries.
+     * 
+ */ + default void listEntries( + com.google.cloud.datacatalog.v1beta1.ListEntriesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListEntriesMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a tag template. The user should enable the Data Catalog API in
+     * the project identified by the `parent` parameter (see [Data Catalog
+     * Resource
+     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
+     * for more information).
+     * 
+ */ + default void createTagTemplate( + com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateTagTemplateMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a tag template.
+     * 
+ */ + default void getTagTemplate( + com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetTagTemplateMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a tag template. This method cannot be used to update the fields of
+     * a template. The tag template fields are represented as separate resources
+     * and should be updated using their own create/update/delete methods.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `tag_template.name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + default void updateTagTemplate( + com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateTagTemplateMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a tag template and all tags using the template.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + default void deleteTagTemplate( + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteTagTemplateMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a field in a tag template. The user should enable the Data Catalog
+     * API in the project identified by the `parent` parameter (see
+     * [Data Catalog Resource
+     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
+     * for more information).
+     * 
+ */ + default void createTagTemplateField( + com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateTagTemplateFieldMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a field in a tag template. This method cannot be used to update the
+     * field type. Users should enable the Data Catalog API in the project
+     * identified by the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + default void updateTagTemplateField( + com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateTagTemplateFieldMethod(), responseObserver); + } + + /** + * + * + *
+     * Renames a field in a tag template. The user should enable the Data Catalog
+     * API in the project identified by the `name` parameter (see [Data Catalog
+     * Resource
+     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
+     * for more information).
+     * 
+ */ + default void renameTagTemplateField( + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRenameTagTemplateFieldMethod(), responseObserver); + } + + /** + * + * + *
+     * Renames an enum value in a tag template. The enum values have to be unique
+     * within one enum field. Thus, an enum value cannot be renamed with a name
+     * used in any other enum value within the same enum field.
+     * 
+ */ + default void renameTagTemplateFieldEnumValue( + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRenameTagTemplateFieldEnumValueMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a field in a tag template and all uses of that field.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + default void deleteTagTemplateField( + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteTagTemplateFieldMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a tag on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+     * Note: The project identified by the `parent` parameter for the
+     * [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters)
+     * and the
+     * [tag
+     * template](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters)
+     * used to create the tag must be from the same organization.
+     * 
+ */ + default void createTag( + com.google.cloud.datacatalog.v1beta1.CreateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates an existing tag.
+     * 
+ */ + default void updateTag( + com.google.cloud.datacatalog.v1beta1.UpdateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + default void deleteTag( + com.google.cloud.datacatalog.v1beta1.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+     * The [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response
+     * are lowercased.
+     * 
+ */ + default void listTags( + com.google.cloud.datacatalog.v1beta1.ListTagsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); + } + + /** + * + * + *
+     * Sets the access control policy for a resource. Replaces any existing
+     * policy.
+     * Supported resources are:
+     *   - Tag templates.
+     *   - Entries.
+     *   - Entry groups.
+     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
+     * and any external Google Cloud Platform resources synced to Data Catalog.
+     * Callers must have following Google IAM permission
+     *   - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
+     *     templates.
+     *   - `datacatalog.entries.setIamPolicy` to set policies on entries.
+     *   - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
+     * 
+ */ + default void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetIamPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets the access control policy for a resource. A `NOT_FOUND` error
+     * is returned if the resource does not exist. An empty policy is returned
+     * if the resource exists but does not have a policy set on it.
+     * Supported resources are:
+     *   - Tag templates.
+     *   - Entries.
+     *   - Entry groups.
+     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
+     * and any external Google Cloud Platform resources synced to Data Catalog.
+     * Callers must have following Google IAM permission
+     *   - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
+     *     templates.
+     *   - `datacatalog.entries.getIamPolicy` to get policies on entries.
+     *   - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
+     * 
+ */ + default void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetIamPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns the caller's permissions on a resource.
+     * If the resource does not exist, an empty set of permissions is returned
+     * (We don't return a `NOT_FOUND` error).
+     * Supported resources are:
+     *   - Tag templates.
+     *   - Entries.
+     *   - Entry groups.
+     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
+     * and any external Google Cloud Platform resources synced to Data Catalog.
+     * A caller is not required to have Google IAM permission to make this
+     * request.
+     * 
+ */ + default void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service DataCatalog. + * + *
+   * Data Catalog API service allows clients to discover, understand, and manage
+   * their data.
+   * 
+ */ + public abstract static class DataCatalogImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return DataCatalogGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service DataCatalog. + * + *
+   * Data Catalog API service allows clients to discover, understand, and manage
+   * their data.
+   * 
+ */ + public static final class DataCatalogStub + extends io.grpc.stub.AbstractAsyncStub { + private DataCatalogStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataCatalogStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataCatalogStub(channel, callOptions); + } + + /** + * + * + *
+     * Searches Data Catalog for multiple resources like entries, tags that
+     * match a query.
+     * This is a custom method
+     * (https://cloud.google.com/apis/design/custom_methods) and does not return
+     * the complete resource, only the resource identifier and high level
+     * fields. Clients can subsequently call `Get` methods.
+     * Note that Data Catalog search queries do not guarantee full recall. Query
+     * results that match your query may not be returned, even in subsequent
+     * result pages. Also note that results returned (and not returned) can vary
+     * across repeated search queries.
+     * See [Data Catalog Search
+     * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
+     * for more information.
+     * 
+ */ + public void searchCatalog( + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSearchCatalogMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * A maximum of 10,000 entry groups may be created per organization across all
+     * locations.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `parent` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public void createEntryGroup( + com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateEntryGroupMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates an EntryGroup. The user should enable the Data Catalog API in the
+     * project identified by the `entry_group.name` parameter (see [Data Catalog
+     * Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public void updateEntryGroup( + com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateEntryGroupMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets an EntryGroup.
+     * 
+ */ + public void getEntryGroup( + com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetEntryGroupMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes an EntryGroup. Only entry groups that do not contain entries can be
+     * deleted. Users should enable the Data Catalog API in the project
+     * identified by the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public void deleteEntryGroup( + com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteEntryGroupMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists entry groups.
+     * 
+ */ + public void listEntryGroups( + com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListEntryGroupsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates an entry. Only entries of 'FILESET' type or user-specified type can
+     * be created.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `parent` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * A maximum of 100,000 entries may be created per entry group.
+     * 
+ */ + public void createEntry( + com.google.cloud.datacatalog.v1beta1.CreateEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateEntryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates an existing entry.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `entry.name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public void updateEntry( + com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateEntryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes an existing entry. Only entries created through
+     * [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry]
+     * method can be deleted.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public void deleteEntry( + com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteEntryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets an entry.
+     * 
+ */ + public void getEntry( + com.google.cloud.datacatalog.v1beta1.GetEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetEntryMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Get an entry by target resource name. This method allows clients to use
+     * the resource name from the source Google Cloud Platform service to get the
+     * Data Catalog Entry.
+     * 
+ */ + public void lookupEntry( + com.google.cloud.datacatalog.v1beta1.LookupEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getLookupEntryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists entries.
+     * 
+ */ + public void listEntries( + com.google.cloud.datacatalog.v1beta1.ListEntriesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListEntriesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a tag template. The user should enable the Data Catalog API in
+     * the project identified by the `parent` parameter (see [Data Catalog
+     * Resource
+     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
+     * for more information).
+     * 
+ */ + public void createTagTemplate( + com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTagTemplateMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a tag template.
+     * 
+ */ + public void getTagTemplate( + com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTagTemplateMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a tag template. This method cannot be used to update the fields of
+     * a template. The tag template fields are represented as separate resources
+     * and should be updated using their own create/update/delete methods.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `tag_template.name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public void updateTagTemplate( + com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTagTemplateMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a tag template and all tags using the template.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public void deleteTagTemplate( + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTagTemplateMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a field in a tag template. The user should enable the Data Catalog
+     * API in the project identified by the `parent` parameter (see
+     * [Data Catalog Resource
+     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
+     * for more information).
+     * 
+ */ + public void createTagTemplateField( + com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTagTemplateFieldMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a field in a tag template. This method cannot be used to update the
+     * field type. Users should enable the Data Catalog API in the project
+     * identified by the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public void updateTagTemplateField( + com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTagTemplateFieldMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Renames a field in a tag template. The user should enable the Data Catalog
+     * API in the project identified by the `name` parameter (see [Data Catalog
+     * Resource
+     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
+     * for more information).
+     * 
+ */ + public void renameTagTemplateField( + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRenameTagTemplateFieldMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Renames an enum value in a tag template. The enum values have to be unique
+     * within one enum field. Thus, an enum value cannot be renamed with a name
+     * used in any other enum value within the same enum field.
+     * 
+ */ + public void renameTagTemplateFieldEnumValue( + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRenameTagTemplateFieldEnumValueMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a field in a tag template and all uses of that field.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public void deleteTagTemplateField( + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTagTemplateFieldMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a tag on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+     * Note: The project identified by the `parent` parameter for the
+     * [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters)
+     * and the
+     * [tag
+     * template](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters)
+     * used to create the tag must be from the same organization.
+     * 
+ */ + public void createTag( + com.google.cloud.datacatalog.v1beta1.CreateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates an existing tag.
+     * 
+ */ + public void updateTag( + com.google.cloud.datacatalog.v1beta1.UpdateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag( + com.google.cloud.datacatalog.v1beta1.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+     * The [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response
+     * are lowercased.
+     * 
+ */ + public void listTags( + com.google.cloud.datacatalog.v1beta1.ListTagsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Sets the access control policy for a resource. Replaces any existing
+     * policy.
+     * Supported resources are:
+     *   - Tag templates.
+     *   - Entries.
+     *   - Entry groups.
+     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
+     * and any external Google Cloud Platform resources synced to Data Catalog.
+     * Callers must have following Google IAM permission
+     *   - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
+     *     templates.
+     *   - `datacatalog.entries.setIamPolicy` to set policies on entries.
+     *   - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
+     * 
+ */ + 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); + } + + /** + * + * + *
+     * Gets the access control policy for a resource. A `NOT_FOUND` error
+     * is returned if the resource does not exist. An empty policy is returned
+     * if the resource exists but does not have a policy set on it.
+     * Supported resources are:
+     *   - Tag templates.
+     *   - Entries.
+     *   - Entry groups.
+     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
+     * and any external Google Cloud Platform resources synced to Data Catalog.
+     * Callers must have following Google IAM permission
+     *   - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
+     *     templates.
+     *   - `datacatalog.entries.getIamPolicy` to get policies on entries.
+     *   - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
+     * 
+ */ + 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); + } + + /** + * + * + *
+     * Returns the caller's permissions on a resource.
+     * If the resource does not exist, an empty set of permissions is returned
+     * (We don't return a `NOT_FOUND` error).
+     * Supported resources are:
+     *   - Tag templates.
+     *   - Entries.
+     *   - Entry groups.
+     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
+     * and any external Google Cloud Platform resources synced to Data Catalog.
+     * A caller is not required to have Google IAM permission to make this
+     * request.
+     * 
+ */ + 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); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service DataCatalog. + * + *
+   * Data Catalog API service allows clients to discover, understand, and manage
+   * their data.
+   * 
+ */ + public static final class DataCatalogBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private DataCatalogBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataCatalogBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataCatalogBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Searches Data Catalog for multiple resources like entries, tags that
+     * match a query.
+     * This is a custom method
+     * (https://cloud.google.com/apis/design/custom_methods) and does not return
+     * the complete resource, only the resource identifier and high level
+     * fields. Clients can subsequently call `Get` methods.
+     * Note that Data Catalog search queries do not guarantee full recall. Query
+     * results that match your query may not be returned, even in subsequent
+     * result pages. Also note that results returned (and not returned) can vary
+     * across repeated search queries.
+     * See [Data Catalog Search
+     * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
+     * for more information.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse searchCatalog( + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSearchCatalogMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * A maximum of 10,000 entry groups may be created per organization across all
+     * locations.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `parent` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.EntryGroup createEntryGroup( + com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateEntryGroupMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an EntryGroup. The user should enable the Data Catalog API in the
+     * project identified by the `entry_group.name` parameter (see [Data Catalog
+     * Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.EntryGroup updateEntryGroup( + com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateEntryGroupMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets an EntryGroup.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroup( + com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetEntryGroupMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes an EntryGroup. Only entry groups that do not contain entries can be
+     * deleted. Users should enable the Data Catalog API in the project
+     * identified by the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.protobuf.Empty deleteEntryGroup( + com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteEntryGroupMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists entry groups.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse listEntryGroups( + com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListEntryGroupsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates an entry. Only entries of 'FILESET' type or user-specified type can
+     * be created.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `parent` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * A maximum of 100,000 entries may be created per entry group.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.Entry createEntry( + com.google.cloud.datacatalog.v1beta1.CreateEntryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateEntryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an existing entry.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `entry.name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.Entry updateEntry( + com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateEntryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes an existing entry. Only entries created through
+     * [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry]
+     * method can be deleted.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.protobuf.Empty deleteEntry( + com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteEntryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets an entry.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.Entry getEntry( + com.google.cloud.datacatalog.v1beta1.GetEntryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetEntryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get an entry by target resource name. This method allows clients to use
+     * the resource name from the source Google Cloud Platform service to get the
+     * Data Catalog Entry.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.Entry lookupEntry( + com.google.cloud.datacatalog.v1beta1.LookupEntryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getLookupEntryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists entries.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.ListEntriesResponse listEntries( + com.google.cloud.datacatalog.v1beta1.ListEntriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListEntriesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a tag template. The user should enable the Data Catalog API in
+     * the project identified by the `parent` parameter (see [Data Catalog
+     * Resource
+     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
+     * for more information).
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.TagTemplate createTagTemplate( + com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTagTemplateMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a tag template.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.TagTemplate getTagTemplate( + com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTagTemplateMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a tag template. This method cannot be used to update the fields of
+     * a template. The tag template fields are represented as separate resources
+     * and should be updated using their own create/update/delete methods.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `tag_template.name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.TagTemplate updateTagTemplate( + com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTagTemplateMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a tag template and all tags using the template.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.protobuf.Empty deleteTagTemplate( + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTagTemplateMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a field in a tag template. The user should enable the Data Catalog
+     * API in the project identified by the `parent` parameter (see
+     * [Data Catalog Resource
+     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
+     * for more information).
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.TagTemplateField createTagTemplateField( + com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTagTemplateFieldMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a field in a tag template. This method cannot be used to update the
+     * field type. Users should enable the Data Catalog API in the project
+     * identified by the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.TagTemplateField updateTagTemplateField( + com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTagTemplateFieldMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Renames a field in a tag template. The user should enable the Data Catalog
+     * API in the project identified by the `name` parameter (see [Data Catalog
+     * Resource
+     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
+     * for more information).
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.TagTemplateField renameTagTemplateField( + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRenameTagTemplateFieldMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Renames an enum value in a tag template. The enum values have to be unique
+     * within one enum field. Thus, an enum value cannot be renamed with a name
+     * used in any other enum value within the same enum field.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.TagTemplateField renameTagTemplateFieldEnumValue( + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRenameTagTemplateFieldEnumValueMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a field in a tag template and all uses of that field.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.protobuf.Empty deleteTagTemplateField( + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTagTemplateFieldMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a tag on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+     * Note: The project identified by the `parent` parameter for the
+     * [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters)
+     * and the
+     * [tag
+     * template](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters)
+     * used to create the tag must be from the same organization.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.Tag createTag( + com.google.cloud.datacatalog.v1beta1.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an existing tag.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.Tag updateTag( + com.google.cloud.datacatalog.v1beta1.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.protobuf.Empty deleteTag( + com.google.cloud.datacatalog.v1beta1.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+     * The [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response
+     * are lowercased.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.ListTagsResponse listTags( + com.google.cloud.datacatalog.v1beta1.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTagsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Sets the access control policy for a resource. Replaces any existing
+     * policy.
+     * Supported resources are:
+     *   - Tag templates.
+     *   - Entries.
+     *   - Entry groups.
+     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
+     * and any external Google Cloud Platform resources synced to Data Catalog.
+     * Callers must have following Google IAM permission
+     *   - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
+     *     templates.
+     *   - `datacatalog.entries.setIamPolicy` to set policies on entries.
+     *   - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
+     * 
+ */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the access control policy for a resource. A `NOT_FOUND` error
+     * is returned if the resource does not exist. An empty policy is returned
+     * if the resource exists but does not have a policy set on it.
+     * Supported resources are:
+     *   - Tag templates.
+     *   - Entries.
+     *   - Entry groups.
+     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
+     * and any external Google Cloud Platform resources synced to Data Catalog.
+     * Callers must have following Google IAM permission
+     *   - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
+     *     templates.
+     *   - `datacatalog.entries.getIamPolicy` to get policies on entries.
+     *   - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
+     * 
+ */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns the caller's permissions on a resource.
+     * If the resource does not exist, an empty set of permissions is returned
+     * (We don't return a `NOT_FOUND` error).
+     * Supported resources are:
+     *   - Tag templates.
+     *   - Entries.
+     *   - Entry groups.
+     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
+     * and any external Google Cloud Platform resources synced to Data Catalog.
+     * A caller is not required to have Google IAM permission to make this
+     * request.
+     * 
+ */ + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service DataCatalog. + * + *
+   * Data Catalog API service allows clients to discover, understand, and manage
+   * their data.
+   * 
+ */ + public static final class DataCatalogFutureStub + extends io.grpc.stub.AbstractFutureStub { + private DataCatalogFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataCatalogFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataCatalogFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Searches Data Catalog for multiple resources like entries, tags that
+     * match a query.
+     * This is a custom method
+     * (https://cloud.google.com/apis/design/custom_methods) and does not return
+     * the complete resource, only the resource identifier and high level
+     * fields. Clients can subsequently call `Get` methods.
+     * Note that Data Catalog search queries do not guarantee full recall. Query
+     * results that match your query may not be returned, even in subsequent
+     * result pages. Also note that results returned (and not returned) can vary
+     * across repeated search queries.
+     * See [Data Catalog Search
+     * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
+     * for more information.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse> + searchCatalog(com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSearchCatalogMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * A maximum of 10,000 entry groups may be created per organization across all
+     * locations.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `parent` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1beta1.EntryGroup> + createEntryGroup(com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateEntryGroupMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates an EntryGroup. The user should enable the Data Catalog API in the
+     * project identified by the `entry_group.name` parameter (see [Data Catalog
+     * Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1beta1.EntryGroup> + updateEntryGroup(com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateEntryGroupMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets an EntryGroup.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1beta1.EntryGroup> + getEntryGroup(com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetEntryGroupMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes an EntryGroup. Only entry groups that do not contain entries can be
+     * deleted. Users should enable the Data Catalog API in the project
+     * identified by the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteEntryGroup(com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteEntryGroupMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists entry groups.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse> + listEntryGroups(com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListEntryGroupsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates an entry. Only entries of 'FILESET' type or user-specified type can
+     * be created.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `parent` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * A maximum of 100,000 entries may be created per entry group.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1beta1.Entry> + createEntry(com.google.cloud.datacatalog.v1beta1.CreateEntryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateEntryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates an existing entry.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `entry.name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1beta1.Entry> + updateEntry(com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateEntryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes an existing entry. Only entries created through
+     * [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry]
+     * method can be deleted.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteEntry(com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteEntryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets an entry.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1beta1.Entry> + getEntry(com.google.cloud.datacatalog.v1beta1.GetEntryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetEntryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Get an entry by target resource name. This method allows clients to use
+     * the resource name from the source Google Cloud Platform service to get the
+     * Data Catalog Entry.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1beta1.Entry> + lookupEntry(com.google.cloud.datacatalog.v1beta1.LookupEntryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getLookupEntryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists entries.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1beta1.ListEntriesResponse> + listEntries(com.google.cloud.datacatalog.v1beta1.ListEntriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListEntriesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a tag template. The user should enable the Data Catalog API in
+     * the project identified by the `parent` parameter (see [Data Catalog
+     * Resource
+     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
+     * for more information).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1beta1.TagTemplate> + createTagTemplate(com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTagTemplateMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a tag template.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1beta1.TagTemplate> + getTagTemplate(com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTagTemplateMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a tag template. This method cannot be used to update the fields of
+     * a template. The tag template fields are represented as separate resources
+     * and should be updated using their own create/update/delete methods.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `tag_template.name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1beta1.TagTemplate> + updateTagTemplate(com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTagTemplateMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a tag template and all tags using the template.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteTagTemplate(com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTagTemplateMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a field in a tag template. The user should enable the Data Catalog
+     * API in the project identified by the `parent` parameter (see
+     * [Data Catalog Resource
+     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
+     * for more information).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1beta1.TagTemplateField> + createTagTemplateField( + com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTagTemplateFieldMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a field in a tag template. This method cannot be used to update the
+     * field type. Users should enable the Data Catalog API in the project
+     * identified by the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1beta1.TagTemplateField> + updateTagTemplateField( + com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTagTemplateFieldMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Renames a field in a tag template. The user should enable the Data Catalog
+     * API in the project identified by the `name` parameter (see [Data Catalog
+     * Resource
+     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
+     * for more information).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1beta1.TagTemplateField> + renameTagTemplateField( + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRenameTagTemplateFieldMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Renames an enum value in a tag template. The enum values have to be unique
+     * within one enum field. Thus, an enum value cannot be renamed with a name
+     * used in any other enum value within the same enum field.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1beta1.TagTemplateField> + renameTagTemplateFieldEnumValue( + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRenameTagTemplateFieldEnumValueMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Deletes a field in a tag template and all uses of that field.
+     * Users should enable the Data Catalog API in the project identified by
+     * the `name` parameter (see [Data Catalog Resource Project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+     * more information).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteTagTemplateField( + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTagTemplateFieldMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a tag on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+     * Note: The project identified by the `parent` parameter for the
+     * [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters)
+     * and the
+     * [tag
+     * template](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters)
+     * used to create the tag must be from the same organization.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1beta1.Tag> + createTag(com.google.cloud.datacatalog.v1beta1.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates an existing tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1beta1.Tag> + updateTag(com.google.cloud.datacatalog.v1beta1.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTag( + com.google.cloud.datacatalog.v1beta1.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+     * The [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response
+     * are lowercased.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1beta1.ListTagsResponse> + listTags(com.google.cloud.datacatalog.v1beta1.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Sets the access control policy for a resource. Replaces any existing
+     * policy.
+     * Supported resources are:
+     *   - Tag templates.
+     *   - Entries.
+     *   - Entry groups.
+     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
+     * and any external Google Cloud Platform resources synced to Data Catalog.
+     * Callers must have following Google IAM permission
+     *   - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
+     *     templates.
+     *   - `datacatalog.entries.setIamPolicy` to set policies on entries.
+     *   - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
+     * 
+ */ + 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); + } + + /** + * + * + *
+     * Gets the access control policy for a resource. A `NOT_FOUND` error
+     * is returned if the resource does not exist. An empty policy is returned
+     * if the resource exists but does not have a policy set on it.
+     * Supported resources are:
+     *   - Tag templates.
+     *   - Entries.
+     *   - Entry groups.
+     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
+     * and any external Google Cloud Platform resources synced to Data Catalog.
+     * Callers must have following Google IAM permission
+     *   - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
+     *     templates.
+     *   - `datacatalog.entries.getIamPolicy` to get policies on entries.
+     *   - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
+     * 
+ */ + 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); + } + + /** + * + * + *
+     * Returns the caller's permissions on a resource.
+     * If the resource does not exist, an empty set of permissions is returned
+     * (We don't return a `NOT_FOUND` error).
+     * Supported resources are:
+     *   - Tag templates.
+     *   - Entries.
+     *   - Entry groups.
+     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
+     * and any external Google Cloud Platform resources synced to Data Catalog.
+     * A caller is not required to have Google IAM permission to make this
+     * 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); + } + } + + private static final int METHODID_SEARCH_CATALOG = 0; + private static final int METHODID_CREATE_ENTRY_GROUP = 1; + private static final int METHODID_UPDATE_ENTRY_GROUP = 2; + private static final int METHODID_GET_ENTRY_GROUP = 3; + private static final int METHODID_DELETE_ENTRY_GROUP = 4; + private static final int METHODID_LIST_ENTRY_GROUPS = 5; + private static final int METHODID_CREATE_ENTRY = 6; + private static final int METHODID_UPDATE_ENTRY = 7; + private static final int METHODID_DELETE_ENTRY = 8; + private static final int METHODID_GET_ENTRY = 9; + private static final int METHODID_LOOKUP_ENTRY = 10; + private static final int METHODID_LIST_ENTRIES = 11; + private static final int METHODID_CREATE_TAG_TEMPLATE = 12; + private static final int METHODID_GET_TAG_TEMPLATE = 13; + private static final int METHODID_UPDATE_TAG_TEMPLATE = 14; + private static final int METHODID_DELETE_TAG_TEMPLATE = 15; + private static final int METHODID_CREATE_TAG_TEMPLATE_FIELD = 16; + private static final int METHODID_UPDATE_TAG_TEMPLATE_FIELD = 17; + private static final int METHODID_RENAME_TAG_TEMPLATE_FIELD = 18; + private static final int METHODID_RENAME_TAG_TEMPLATE_FIELD_ENUM_VALUE = 19; + private static final int METHODID_DELETE_TAG_TEMPLATE_FIELD = 20; + private static final int METHODID_CREATE_TAG = 21; + private static final int METHODID_UPDATE_TAG = 22; + private static final int METHODID_DELETE_TAG = 23; + private static final int METHODID_LIST_TAGS = 24; + private static final int METHODID_SET_IAM_POLICY = 25; + private static final int METHODID_GET_IAM_POLICY = 26; + private static final int METHODID_TEST_IAM_PERMISSIONS = 27; + + 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_SEARCH_CATALOG: + serviceImpl.searchCatalog( + (com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse>) + responseObserver); + break; + case METHODID_CREATE_ENTRY_GROUP: + serviceImpl.createEntryGroup( + (com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_ENTRY_GROUP: + serviceImpl.updateEntryGroup( + (com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_ENTRY_GROUP: + serviceImpl.getEntryGroup( + (com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_ENTRY_GROUP: + serviceImpl.deleteEntryGroup( + (com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ENTRY_GROUPS: + serviceImpl.listEntryGroups( + (com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse>) + responseObserver); + break; + case METHODID_CREATE_ENTRY: + serviceImpl.createEntry( + (com.google.cloud.datacatalog.v1beta1.CreateEntryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_ENTRY: + serviceImpl.updateEntry( + (com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_ENTRY: + serviceImpl.deleteEntry( + (com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_ENTRY: + serviceImpl.getEntry( + (com.google.cloud.datacatalog.v1beta1.GetEntryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LOOKUP_ENTRY: + serviceImpl.lookupEntry( + (com.google.cloud.datacatalog.v1beta1.LookupEntryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_ENTRIES: + serviceImpl.listEntries( + (com.google.cloud.datacatalog.v1beta1.ListEntriesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.datacatalog.v1beta1.ListEntriesResponse>) + responseObserver); + break; + case METHODID_CREATE_TAG_TEMPLATE: + serviceImpl.createTagTemplate( + (com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_TAG_TEMPLATE: + serviceImpl.getTagTemplate( + (com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_TAG_TEMPLATE: + serviceImpl.updateTagTemplate( + (com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_TAG_TEMPLATE: + serviceImpl.deleteTagTemplate( + (com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_TAG_TEMPLATE_FIELD: + serviceImpl.createTagTemplateField( + (com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_TAG_TEMPLATE_FIELD: + serviceImpl.updateTagTemplateField( + (com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_RENAME_TAG_TEMPLATE_FIELD: + serviceImpl.renameTagTemplateField( + (com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_RENAME_TAG_TEMPLATE_FIELD_ENUM_VALUE: + serviceImpl.renameTagTemplateFieldEnumValue( + (com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_TAG_TEMPLATE_FIELD: + serviceImpl.deleteTagTemplateField( + (com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_TAG: + serviceImpl.createTag( + (com.google.cloud.datacatalog.v1beta1.CreateTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_TAG: + serviceImpl.updateTag( + (com.google.cloud.datacatalog.v1beta1.UpdateTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_TAG: + serviceImpl.deleteTag( + (com.google.cloud.datacatalog.v1beta1.DeleteTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TAGS: + serviceImpl.listTags( + (com.google.cloud.datacatalog.v1beta1.ListTagsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_SET_IAM_POLICY: + serviceImpl.setIamPolicy( + (com.google.iam.v1.SetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_IAM_POLICY: + serviceImpl.getIamPolicy( + (com.google.iam.v1.GetIamPolicyRequest) 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); + 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( + getSearchCatalogMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest, + com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse>( + service, METHODID_SEARCH_CATALOG))) + .addMethod( + getCreateEntryGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest, + com.google.cloud.datacatalog.v1beta1.EntryGroup>( + service, METHODID_CREATE_ENTRY_GROUP))) + .addMethod( + getUpdateEntryGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest, + com.google.cloud.datacatalog.v1beta1.EntryGroup>( + service, METHODID_UPDATE_ENTRY_GROUP))) + .addMethod( + getGetEntryGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest, + com.google.cloud.datacatalog.v1beta1.EntryGroup>( + service, METHODID_GET_ENTRY_GROUP))) + .addMethod( + getDeleteEntryGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest, + com.google.protobuf.Empty>(service, METHODID_DELETE_ENTRY_GROUP))) + .addMethod( + getListEntryGroupsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest, + com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse>( + service, METHODID_LIST_ENTRY_GROUPS))) + .addMethod( + getCreateEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.CreateEntryRequest, + com.google.cloud.datacatalog.v1beta1.Entry>(service, METHODID_CREATE_ENTRY))) + .addMethod( + getUpdateEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest, + com.google.cloud.datacatalog.v1beta1.Entry>(service, METHODID_UPDATE_ENTRY))) + .addMethod( + getDeleteEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest, + com.google.protobuf.Empty>(service, METHODID_DELETE_ENTRY))) + .addMethod( + getGetEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.GetEntryRequest, + com.google.cloud.datacatalog.v1beta1.Entry>(service, METHODID_GET_ENTRY))) + .addMethod( + getLookupEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.LookupEntryRequest, + com.google.cloud.datacatalog.v1beta1.Entry>(service, METHODID_LOOKUP_ENTRY))) + .addMethod( + getListEntriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.ListEntriesRequest, + com.google.cloud.datacatalog.v1beta1.ListEntriesResponse>( + service, METHODID_LIST_ENTRIES))) + .addMethod( + getCreateTagTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplate>( + service, METHODID_CREATE_TAG_TEMPLATE))) + .addMethod( + getGetTagTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplate>( + service, METHODID_GET_TAG_TEMPLATE))) + .addMethod( + getUpdateTagTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplate>( + service, METHODID_UPDATE_TAG_TEMPLATE))) + .addMethod( + getDeleteTagTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest, + com.google.protobuf.Empty>(service, METHODID_DELETE_TAG_TEMPLATE))) + .addMethod( + getCreateTagTemplateFieldMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplateField>( + service, METHODID_CREATE_TAG_TEMPLATE_FIELD))) + .addMethod( + getUpdateTagTemplateFieldMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplateField>( + service, METHODID_UPDATE_TAG_TEMPLATE_FIELD))) + .addMethod( + getRenameTagTemplateFieldMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplateField>( + service, METHODID_RENAME_TAG_TEMPLATE_FIELD))) + .addMethod( + getRenameTagTemplateFieldEnumValueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplateField>( + service, METHODID_RENAME_TAG_TEMPLATE_FIELD_ENUM_VALUE))) + .addMethod( + getDeleteTagTemplateFieldMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest, + com.google.protobuf.Empty>(service, METHODID_DELETE_TAG_TEMPLATE_FIELD))) + .addMethod( + getCreateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.CreateTagRequest, + com.google.cloud.datacatalog.v1beta1.Tag>(service, METHODID_CREATE_TAG))) + .addMethod( + getUpdateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.UpdateTagRequest, + com.google.cloud.datacatalog.v1beta1.Tag>(service, METHODID_UPDATE_TAG))) + .addMethod( + getDeleteTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.DeleteTagRequest, + com.google.protobuf.Empty>(service, METHODID_DELETE_TAG))) + .addMethod( + getListTagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.ListTagsRequest, + com.google.cloud.datacatalog.v1beta1.ListTagsResponse>( + service, METHODID_LIST_TAGS))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers( + service, METHODID_SET_IAM_POLICY))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers( + service, METHODID_GET_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))) + .build(); + } + + private abstract static class DataCatalogBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + DataCatalogBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Datacatalog.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("DataCatalog"); + } + } + + private static final class DataCatalogFileDescriptorSupplier + extends DataCatalogBaseDescriptorSupplier { + DataCatalogFileDescriptorSupplier() {} + } + + private static final class DataCatalogMethodDescriptorSupplier + extends DataCatalogBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + DataCatalogMethodDescriptorSupplier(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 (DataCatalogGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DataCatalogFileDescriptorSupplier()) + .addMethod(getSearchCatalogMethod()) + .addMethod(getCreateEntryGroupMethod()) + .addMethod(getUpdateEntryGroupMethod()) + .addMethod(getGetEntryGroupMethod()) + .addMethod(getDeleteEntryGroupMethod()) + .addMethod(getListEntryGroupsMethod()) + .addMethod(getCreateEntryMethod()) + .addMethod(getUpdateEntryMethod()) + .addMethod(getDeleteEntryMethod()) + .addMethod(getGetEntryMethod()) + .addMethod(getLookupEntryMethod()) + .addMethod(getListEntriesMethod()) + .addMethod(getCreateTagTemplateMethod()) + .addMethod(getGetTagTemplateMethod()) + .addMethod(getUpdateTagTemplateMethod()) + .addMethod(getDeleteTagTemplateMethod()) + .addMethod(getCreateTagTemplateFieldMethod()) + .addMethod(getUpdateTagTemplateFieldMethod()) + .addMethod(getRenameTagTemplateFieldMethod()) + .addMethod(getRenameTagTemplateFieldEnumValueMethod()) + .addMethod(getDeleteTagTemplateFieldMethod()) + .addMethod(getCreateTagMethod()) + .addMethod(getUpdateTagMethod()) + .addMethod(getDeleteTagMethod()) + .addMethod(getListTagsMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerGrpc.java b/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerGrpc.java new file mode 100644 index 000000000000..a24eee4da69f --- /dev/null +++ b/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerGrpc.java @@ -0,0 +1,1792 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.datacatalog.v1beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * The policy tag manager API service allows clients to manage their taxonomies
+ * and policy tags.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/datacatalog/v1beta1/policytagmanager.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class PolicyTagManagerGrpc { + + private PolicyTagManagerGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.datacatalog.v1beta1.PolicyTagManager"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest, + com.google.cloud.datacatalog.v1beta1.Taxonomy> + getCreateTaxonomyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTaxonomy", + requestType = com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.Taxonomy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest, + com.google.cloud.datacatalog.v1beta1.Taxonomy> + getCreateTaxonomyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest, + com.google.cloud.datacatalog.v1beta1.Taxonomy> + getCreateTaxonomyMethod; + if ((getCreateTaxonomyMethod = PolicyTagManagerGrpc.getCreateTaxonomyMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getCreateTaxonomyMethod = PolicyTagManagerGrpc.getCreateTaxonomyMethod) == null) { + PolicyTagManagerGrpc.getCreateTaxonomyMethod = + getCreateTaxonomyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTaxonomy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance())) + .setSchemaDescriptor( + new PolicyTagManagerMethodDescriptorSupplier("CreateTaxonomy")) + .build(); + } + } + } + return getCreateTaxonomyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest, com.google.protobuf.Empty> + getDeleteTaxonomyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTaxonomy", + requestType = com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest, com.google.protobuf.Empty> + getDeleteTaxonomyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest, com.google.protobuf.Empty> + getDeleteTaxonomyMethod; + if ((getDeleteTaxonomyMethod = PolicyTagManagerGrpc.getDeleteTaxonomyMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getDeleteTaxonomyMethod = PolicyTagManagerGrpc.getDeleteTaxonomyMethod) == null) { + PolicyTagManagerGrpc.getDeleteTaxonomyMethod = + getDeleteTaxonomyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTaxonomy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new PolicyTagManagerMethodDescriptorSupplier("DeleteTaxonomy")) + .build(); + } + } + } + return getDeleteTaxonomyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest, + com.google.cloud.datacatalog.v1beta1.Taxonomy> + getUpdateTaxonomyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTaxonomy", + requestType = com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.Taxonomy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest, + com.google.cloud.datacatalog.v1beta1.Taxonomy> + getUpdateTaxonomyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest, + com.google.cloud.datacatalog.v1beta1.Taxonomy> + getUpdateTaxonomyMethod; + if ((getUpdateTaxonomyMethod = PolicyTagManagerGrpc.getUpdateTaxonomyMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getUpdateTaxonomyMethod = PolicyTagManagerGrpc.getUpdateTaxonomyMethod) == null) { + PolicyTagManagerGrpc.getUpdateTaxonomyMethod = + getUpdateTaxonomyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTaxonomy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance())) + .setSchemaDescriptor( + new PolicyTagManagerMethodDescriptorSupplier("UpdateTaxonomy")) + .build(); + } + } + } + return getUpdateTaxonomyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest, + com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse> + getListTaxonomiesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTaxonomies", + requestType = com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest, + com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse> + getListTaxonomiesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest, + com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse> + getListTaxonomiesMethod; + if ((getListTaxonomiesMethod = PolicyTagManagerGrpc.getListTaxonomiesMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getListTaxonomiesMethod = PolicyTagManagerGrpc.getListTaxonomiesMethod) == null) { + PolicyTagManagerGrpc.getListTaxonomiesMethod = + getListTaxonomiesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTaxonomies")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new PolicyTagManagerMethodDescriptorSupplier("ListTaxonomies")) + .build(); + } + } + } + return getListTaxonomiesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest, + com.google.cloud.datacatalog.v1beta1.Taxonomy> + getGetTaxonomyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTaxonomy", + requestType = com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.Taxonomy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest, + com.google.cloud.datacatalog.v1beta1.Taxonomy> + getGetTaxonomyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest, + com.google.cloud.datacatalog.v1beta1.Taxonomy> + getGetTaxonomyMethod; + if ((getGetTaxonomyMethod = PolicyTagManagerGrpc.getGetTaxonomyMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getGetTaxonomyMethod = PolicyTagManagerGrpc.getGetTaxonomyMethod) == null) { + PolicyTagManagerGrpc.getGetTaxonomyMethod = + getGetTaxonomyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTaxonomy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance())) + .setSchemaDescriptor( + new PolicyTagManagerMethodDescriptorSupplier("GetTaxonomy")) + .build(); + } + } + } + return getGetTaxonomyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest, + com.google.cloud.datacatalog.v1beta1.PolicyTag> + getCreatePolicyTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreatePolicyTag", + requestType = com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.PolicyTag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest, + com.google.cloud.datacatalog.v1beta1.PolicyTag> + getCreatePolicyTagMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest, + com.google.cloud.datacatalog.v1beta1.PolicyTag> + getCreatePolicyTagMethod; + if ((getCreatePolicyTagMethod = PolicyTagManagerGrpc.getCreatePolicyTagMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getCreatePolicyTagMethod = PolicyTagManagerGrpc.getCreatePolicyTagMethod) == null) { + PolicyTagManagerGrpc.getCreatePolicyTagMethod = + getCreatePolicyTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreatePolicyTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance())) + .setSchemaDescriptor( + new PolicyTagManagerMethodDescriptorSupplier("CreatePolicyTag")) + .build(); + } + } + } + return getCreatePolicyTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest, com.google.protobuf.Empty> + getDeletePolicyTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePolicyTag", + requestType = com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest, com.google.protobuf.Empty> + getDeletePolicyTagMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest, com.google.protobuf.Empty> + getDeletePolicyTagMethod; + if ((getDeletePolicyTagMethod = PolicyTagManagerGrpc.getDeletePolicyTagMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getDeletePolicyTagMethod = PolicyTagManagerGrpc.getDeletePolicyTagMethod) == null) { + PolicyTagManagerGrpc.getDeletePolicyTagMethod = + getDeletePolicyTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePolicyTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new PolicyTagManagerMethodDescriptorSupplier("DeletePolicyTag")) + .build(); + } + } + } + return getDeletePolicyTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest, + com.google.cloud.datacatalog.v1beta1.PolicyTag> + getUpdatePolicyTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdatePolicyTag", + requestType = com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.PolicyTag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest, + com.google.cloud.datacatalog.v1beta1.PolicyTag> + getUpdatePolicyTagMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest, + com.google.cloud.datacatalog.v1beta1.PolicyTag> + getUpdatePolicyTagMethod; + if ((getUpdatePolicyTagMethod = PolicyTagManagerGrpc.getUpdatePolicyTagMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getUpdatePolicyTagMethod = PolicyTagManagerGrpc.getUpdatePolicyTagMethod) == null) { + PolicyTagManagerGrpc.getUpdatePolicyTagMethod = + getUpdatePolicyTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdatePolicyTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance())) + .setSchemaDescriptor( + new PolicyTagManagerMethodDescriptorSupplier("UpdatePolicyTag")) + .build(); + } + } + } + return getUpdatePolicyTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest, + com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse> + getListPolicyTagsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPolicyTags", + requestType = com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest, + com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse> + getListPolicyTagsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest, + com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse> + getListPolicyTagsMethod; + if ((getListPolicyTagsMethod = PolicyTagManagerGrpc.getListPolicyTagsMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getListPolicyTagsMethod = PolicyTagManagerGrpc.getListPolicyTagsMethod) == null) { + PolicyTagManagerGrpc.getListPolicyTagsMethod = + getListPolicyTagsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPolicyTags")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new PolicyTagManagerMethodDescriptorSupplier("ListPolicyTags")) + .build(); + } + } + } + return getListPolicyTagsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest, + com.google.cloud.datacatalog.v1beta1.PolicyTag> + getGetPolicyTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPolicyTag", + requestType = com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.PolicyTag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest, + com.google.cloud.datacatalog.v1beta1.PolicyTag> + getGetPolicyTagMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest, + com.google.cloud.datacatalog.v1beta1.PolicyTag> + getGetPolicyTagMethod; + if ((getGetPolicyTagMethod = PolicyTagManagerGrpc.getGetPolicyTagMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getGetPolicyTagMethod = PolicyTagManagerGrpc.getGetPolicyTagMethod) == null) { + PolicyTagManagerGrpc.getGetPolicyTagMethod = + getGetPolicyTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPolicyTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance())) + .setSchemaDescriptor( + new PolicyTagManagerMethodDescriptorSupplier("GetPolicyTag")) + .build(); + } + } + } + return getGetPolicyTagMethod; + } + + 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< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> + getGetIamPolicyMethod() { + io.grpc.MethodDescriptor + getGetIamPolicyMethod; + if ((getGetIamPolicyMethod = PolicyTagManagerGrpc.getGetIamPolicyMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getGetIamPolicyMethod = PolicyTagManagerGrpc.getGetIamPolicyMethod) == null) { + PolicyTagManagerGrpc.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 PolicyTagManagerMethodDescriptorSupplier("GetIamPolicy")) + .build(); + } + } + } + return getGetIamPolicyMethod; + } + + 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< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> + getSetIamPolicyMethod() { + io.grpc.MethodDescriptor + getSetIamPolicyMethod; + if ((getSetIamPolicyMethod = PolicyTagManagerGrpc.getSetIamPolicyMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getSetIamPolicyMethod = PolicyTagManagerGrpc.getSetIamPolicyMethod) == null) { + PolicyTagManagerGrpc.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 PolicyTagManagerMethodDescriptorSupplier("SetIamPolicy")) + .build(); + } + } + } + return getSetIamPolicyMethod; + } + + 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< + 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 = PolicyTagManagerGrpc.getTestIamPermissionsMethod) == null) { + synchronized (PolicyTagManagerGrpc.class) { + if ((getTestIamPermissionsMethod = PolicyTagManagerGrpc.getTestIamPermissionsMethod) + == null) { + PolicyTagManagerGrpc.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 PolicyTagManagerMethodDescriptorSupplier("TestIamPermissions")) + .build(); + } + } + } + return getTestIamPermissionsMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static PolicyTagManagerStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public PolicyTagManagerStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PolicyTagManagerStub(channel, callOptions); + } + }; + return PolicyTagManagerStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static PolicyTagManagerBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public PolicyTagManagerBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PolicyTagManagerBlockingStub(channel, callOptions); + } + }; + return PolicyTagManagerBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static PolicyTagManagerFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public PolicyTagManagerFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PolicyTagManagerFutureStub(channel, callOptions); + } + }; + return PolicyTagManagerFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * The policy tag manager API service allows clients to manage their taxonomies
+   * and policy tags.
+   * 
+ */ + public interface AsyncService { + + /** + * + * + *
+     * Creates a taxonomy in the specified project.
+     * 
+ */ + default void createTaxonomy( + com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateTaxonomyMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a taxonomy. This operation will also delete all
+     * policy tags in this taxonomy along with their associated policies.
+     * 
+ */ + default void deleteTaxonomy( + com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteTaxonomyMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a taxonomy.
+     * 
+ */ + default void updateTaxonomy( + com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateTaxonomyMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all taxonomies in a project in a particular location that the caller
+     * has permission to view.
+     * 
+ */ + default void listTaxonomies( + com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListTaxonomiesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a taxonomy.
+     * 
+ */ + default void getTaxonomy( + com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetTaxonomyMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a policy tag in the specified taxonomy.
+     * 
+ */ + default void createPolicyTag( + com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreatePolicyTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a policy tag. Also deletes all of its descendant policy tags.
+     * 
+ */ + default void deletePolicyTag( + com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeletePolicyTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a policy tag.
+     * 
+ */ + default void updatePolicyTag( + com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdatePolicyTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all policy tags in a taxonomy.
+     * 
+ */ + default void listPolicyTags( + com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListPolicyTagsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a policy tag.
+     * 
+ */ + default void getPolicyTag( + com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetPolicyTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets the IAM policy for a taxonomy or a policy tag.
+     * 
+ */ + default void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetIamPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Sets the IAM policy for a taxonomy or a policy tag.
+     * 
+ */ + default void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetIamPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns the permissions that a caller has on the specified taxonomy or
+     * policy tag.
+     * 
+ */ + default void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service PolicyTagManager. + * + *
+   * The policy tag manager API service allows clients to manage their taxonomies
+   * and policy tags.
+   * 
+ */ + public abstract static class PolicyTagManagerImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return PolicyTagManagerGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service PolicyTagManager. + * + *
+   * The policy tag manager API service allows clients to manage their taxonomies
+   * and policy tags.
+   * 
+ */ + public static final class PolicyTagManagerStub + extends io.grpc.stub.AbstractAsyncStub { + private PolicyTagManagerStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected PolicyTagManagerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PolicyTagManagerStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a taxonomy in the specified project.
+     * 
+ */ + public void createTaxonomy( + com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTaxonomyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a taxonomy. This operation will also delete all
+     * policy tags in this taxonomy along with their associated policies.
+     * 
+ */ + public void deleteTaxonomy( + com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTaxonomyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a taxonomy.
+     * 
+ */ + public void updateTaxonomy( + com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTaxonomyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists all taxonomies in a project in a particular location that the caller
+     * has permission to view.
+     * 
+ */ + public void listTaxonomies( + com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTaxonomiesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a taxonomy.
+     * 
+ */ + public void getTaxonomy( + com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTaxonomyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a policy tag in the specified taxonomy.
+     * 
+ */ + public void createPolicyTag( + com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreatePolicyTagMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a policy tag. Also deletes all of its descendant policy tags.
+     * 
+ */ + public void deletePolicyTag( + com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePolicyTagMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a policy tag.
+     * 
+ */ + public void updatePolicyTag( + com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdatePolicyTagMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists all policy tags in a taxonomy.
+     * 
+ */ + public void listPolicyTags( + com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPolicyTagsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a policy tag.
+     * 
+ */ + public void getPolicyTag( + com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPolicyTagMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets the IAM policy for a taxonomy or a policy tag.
+     * 
+ */ + 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); + } + + /** + * + * + *
+     * Sets the IAM policy for a taxonomy or a policy tag.
+     * 
+ */ + 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); + } + + /** + * + * + *
+     * Returns the permissions that a caller has on the specified taxonomy or
+     * policy tag.
+     * 
+ */ + 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); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service PolicyTagManager. + * + *
+   * The policy tag manager API service allows clients to manage their taxonomies
+   * and policy tags.
+   * 
+ */ + public static final class PolicyTagManagerBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private PolicyTagManagerBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected PolicyTagManagerBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PolicyTagManagerBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a taxonomy in the specified project.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.Taxonomy createTaxonomy( + com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTaxonomyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a taxonomy. This operation will also delete all
+     * policy tags in this taxonomy along with their associated policies.
+     * 
+ */ + public com.google.protobuf.Empty deleteTaxonomy( + com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTaxonomyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a taxonomy.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.Taxonomy updateTaxonomy( + com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTaxonomyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all taxonomies in a project in a particular location that the caller
+     * has permission to view.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse listTaxonomies( + com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTaxonomiesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a taxonomy.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomy( + com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTaxonomyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a policy tag in the specified taxonomy.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.PolicyTag createPolicyTag( + com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreatePolicyTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a policy tag. Also deletes all of its descendant policy tags.
+     * 
+ */ + public com.google.protobuf.Empty deletePolicyTag( + com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePolicyTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a policy tag.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.PolicyTag updatePolicyTag( + com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdatePolicyTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all policy tags in a taxonomy.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse listPolicyTags( + com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPolicyTagsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a policy tag.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.PolicyTag getPolicyTag( + com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPolicyTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the IAM policy for a taxonomy or a policy tag.
+     * 
+ */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Sets the IAM policy for a taxonomy or a policy tag.
+     * 
+ */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns the permissions that a caller has on the specified taxonomy or
+     * policy tag.
+     * 
+ */ + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service PolicyTagManager. + * + *
+   * The policy tag manager API service allows clients to manage their taxonomies
+   * and policy tags.
+   * 
+ */ + public static final class PolicyTagManagerFutureStub + extends io.grpc.stub.AbstractFutureStub { + private PolicyTagManagerFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected PolicyTagManagerFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PolicyTagManagerFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a taxonomy in the specified project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1beta1.Taxonomy> + createTaxonomy(com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTaxonomyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a taxonomy. This operation will also delete all
+     * policy tags in this taxonomy along with their associated policies.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteTaxonomy(com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTaxonomyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a taxonomy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1beta1.Taxonomy> + updateTaxonomy(com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTaxonomyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all taxonomies in a project in a particular location that the caller
+     * has permission to view.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse> + listTaxonomies(com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTaxonomiesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a taxonomy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1beta1.Taxonomy> + getTaxonomy(com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTaxonomyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a policy tag in the specified taxonomy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1beta1.PolicyTag> + createPolicyTag(com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreatePolicyTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a policy tag. Also deletes all of its descendant policy tags.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deletePolicyTag(com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePolicyTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a policy tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1beta1.PolicyTag> + updatePolicyTag(com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdatePolicyTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all policy tags in a taxonomy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse> + listPolicyTags(com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPolicyTagsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a policy tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1beta1.PolicyTag> + getPolicyTag(com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPolicyTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets the IAM policy for a taxonomy or a policy tag.
+     * 
+ */ + 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 IAM policy for a taxonomy or a policy tag.
+     * 
+ */ + 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 permissions that a caller has on the specified taxonomy or
+     * policy tag.
+     * 
+ */ + 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); + } + } + + private static final int METHODID_CREATE_TAXONOMY = 0; + private static final int METHODID_DELETE_TAXONOMY = 1; + private static final int METHODID_UPDATE_TAXONOMY = 2; + private static final int METHODID_LIST_TAXONOMIES = 3; + private static final int METHODID_GET_TAXONOMY = 4; + private static final int METHODID_CREATE_POLICY_TAG = 5; + private static final int METHODID_DELETE_POLICY_TAG = 6; + private static final int METHODID_UPDATE_POLICY_TAG = 7; + private static final int METHODID_LIST_POLICY_TAGS = 8; + private static final int METHODID_GET_POLICY_TAG = 9; + private static final int METHODID_GET_IAM_POLICY = 10; + private static final int METHODID_SET_IAM_POLICY = 11; + private static final int METHODID_TEST_IAM_PERMISSIONS = 12; + + 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_TAXONOMY: + serviceImpl.createTaxonomy( + (com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_TAXONOMY: + serviceImpl.deleteTaxonomy( + (com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_TAXONOMY: + serviceImpl.updateTaxonomy( + (com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_TAXONOMIES: + serviceImpl.listTaxonomies( + (com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse>) + responseObserver); + break; + case METHODID_GET_TAXONOMY: + serviceImpl.getTaxonomy( + (com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_POLICY_TAG: + serviceImpl.createPolicyTag( + (com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_POLICY_TAG: + serviceImpl.deletePolicyTag( + (com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_POLICY_TAG: + serviceImpl.updatePolicyTag( + (com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_POLICY_TAGS: + serviceImpl.listPolicyTags( + (com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse>) + responseObserver); + break; + case METHODID_GET_POLICY_TAG: + serviceImpl.getPolicyTag( + (com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_IAM_POLICY: + 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, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TEST_IAM_PERMISSIONS: + serviceImpl.testIamPermissions( + (com.google.iam.v1.TestIamPermissionsRequest) 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( + getCreateTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest, + com.google.cloud.datacatalog.v1beta1.Taxonomy>( + service, METHODID_CREATE_TAXONOMY))) + .addMethod( + getDeleteTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest, + com.google.protobuf.Empty>(service, METHODID_DELETE_TAXONOMY))) + .addMethod( + getUpdateTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest, + com.google.cloud.datacatalog.v1beta1.Taxonomy>( + service, METHODID_UPDATE_TAXONOMY))) + .addMethod( + getListTaxonomiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest, + com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse>( + service, METHODID_LIST_TAXONOMIES))) + .addMethod( + getGetTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest, + com.google.cloud.datacatalog.v1beta1.Taxonomy>(service, METHODID_GET_TAXONOMY))) + .addMethod( + getCreatePolicyTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest, + com.google.cloud.datacatalog.v1beta1.PolicyTag>( + service, METHODID_CREATE_POLICY_TAG))) + .addMethod( + getDeletePolicyTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest, + com.google.protobuf.Empty>(service, METHODID_DELETE_POLICY_TAG))) + .addMethod( + getUpdatePolicyTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest, + com.google.cloud.datacatalog.v1beta1.PolicyTag>( + service, METHODID_UPDATE_POLICY_TAG))) + .addMethod( + getListPolicyTagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest, + com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse>( + service, METHODID_LIST_POLICY_TAGS))) + .addMethod( + getGetPolicyTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest, + com.google.cloud.datacatalog.v1beta1.PolicyTag>( + service, METHODID_GET_POLICY_TAG))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers( + service, METHODID_GET_IAM_POLICY))) + .addMethod( + 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))) + .build(); + } + + private abstract static class PolicyTagManagerBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + PolicyTagManagerBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("PolicyTagManager"); + } + } + + private static final class PolicyTagManagerFileDescriptorSupplier + extends PolicyTagManagerBaseDescriptorSupplier { + PolicyTagManagerFileDescriptorSupplier() {} + } + + private static final class PolicyTagManagerMethodDescriptorSupplier + extends PolicyTagManagerBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + PolicyTagManagerMethodDescriptorSupplier(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 (PolicyTagManagerGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new PolicyTagManagerFileDescriptorSupplier()) + .addMethod(getCreateTaxonomyMethod()) + .addMethod(getDeleteTaxonomyMethod()) + .addMethod(getUpdateTaxonomyMethod()) + .addMethod(getListTaxonomiesMethod()) + .addMethod(getGetTaxonomyMethod()) + .addMethod(getCreatePolicyTagMethod()) + .addMethod(getDeletePolicyTagMethod()) + .addMethod(getUpdatePolicyTagMethod()) + .addMethod(getListPolicyTagsMethod()) + .addMethod(getGetPolicyTagMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationGrpc.java b/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationGrpc.java similarity index 53% rename from owl-bot-staging/java-datacatalog/v1beta1/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationGrpc.java rename to java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationGrpc.java index 4cb7bbb89858..aa7ff5d7c92d 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationGrpc.java +++ b/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationGrpc.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.datacatalog.v1beta1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * Policy tag manager serialization API service allows clients to manipulate
  * their taxonomies and policy tags data with serialized format.
@@ -16,116 +33,156 @@ public final class PolicyTagManagerSerializationGrpc {
 
   private PolicyTagManagerSerializationGrpc() {}
 
-  public static final String SERVICE_NAME = "google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization";
+  public static final String SERVICE_NAME =
+      "google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getImportTaxonomiesMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest,
+          com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse>
+      getImportTaxonomiesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ImportTaxonomies",
       requestType = com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest.class,
       responseType = com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getImportTaxonomiesMethod() {
-    io.grpc.MethodDescriptor getImportTaxonomiesMethod;
-    if ((getImportTaxonomiesMethod = PolicyTagManagerSerializationGrpc.getImportTaxonomiesMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest,
+          com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse>
+      getImportTaxonomiesMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest,
+            com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse>
+        getImportTaxonomiesMethod;
+    if ((getImportTaxonomiesMethod = PolicyTagManagerSerializationGrpc.getImportTaxonomiesMethod)
+        == null) {
       synchronized (PolicyTagManagerSerializationGrpc.class) {
-        if ((getImportTaxonomiesMethod = PolicyTagManagerSerializationGrpc.getImportTaxonomiesMethod) == null) {
-          PolicyTagManagerSerializationGrpc.getImportTaxonomiesMethod = getImportTaxonomiesMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportTaxonomies"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new PolicyTagManagerSerializationMethodDescriptorSupplier("ImportTaxonomies"))
-              .build();
+        if ((getImportTaxonomiesMethod =
+                PolicyTagManagerSerializationGrpc.getImportTaxonomiesMethod)
+            == null) {
+          PolicyTagManagerSerializationGrpc.getImportTaxonomiesMethod =
+              getImportTaxonomiesMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportTaxonomies"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new PolicyTagManagerSerializationMethodDescriptorSupplier(
+                              "ImportTaxonomies"))
+                      .build();
         }
       }
     }
     return getImportTaxonomiesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getExportTaxonomiesMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest,
+          com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse>
+      getExportTaxonomiesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ExportTaxonomies",
       requestType = com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.class,
       responseType = com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getExportTaxonomiesMethod() {
-    io.grpc.MethodDescriptor getExportTaxonomiesMethod;
-    if ((getExportTaxonomiesMethod = PolicyTagManagerSerializationGrpc.getExportTaxonomiesMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest,
+          com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse>
+      getExportTaxonomiesMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest,
+            com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse>
+        getExportTaxonomiesMethod;
+    if ((getExportTaxonomiesMethod = PolicyTagManagerSerializationGrpc.getExportTaxonomiesMethod)
+        == null) {
       synchronized (PolicyTagManagerSerializationGrpc.class) {
-        if ((getExportTaxonomiesMethod = PolicyTagManagerSerializationGrpc.getExportTaxonomiesMethod) == null) {
-          PolicyTagManagerSerializationGrpc.getExportTaxonomiesMethod = getExportTaxonomiesMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportTaxonomies"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new PolicyTagManagerSerializationMethodDescriptorSupplier("ExportTaxonomies"))
-              .build();
+        if ((getExportTaxonomiesMethod =
+                PolicyTagManagerSerializationGrpc.getExportTaxonomiesMethod)
+            == null) {
+          PolicyTagManagerSerializationGrpc.getExportTaxonomiesMethod =
+              getExportTaxonomiesMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportTaxonomies"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new PolicyTagManagerSerializationMethodDescriptorSupplier(
+                              "ExportTaxonomies"))
+                      .build();
         }
       }
     }
     return getExportTaxonomiesMethod;
   }
 
-  /**
-   * 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 PolicyTagManagerSerializationStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public PolicyTagManagerSerializationStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new PolicyTagManagerSerializationStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public PolicyTagManagerSerializationStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new PolicyTagManagerSerializationStub(channel, callOptions);
+          }
+        };
     return PolicyTagManagerSerializationStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static PolicyTagManagerSerializationBlockingStub newBlockingStub(
-      io.grpc.Channel channel) {
+  public static PolicyTagManagerSerializationBlockingStub newBlockingStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public PolicyTagManagerSerializationBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new PolicyTagManagerSerializationBlockingStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public PolicyTagManagerSerializationBlockingStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new PolicyTagManagerSerializationBlockingStub(channel, callOptions);
+          }
+        };
     return PolicyTagManagerSerializationBlockingStub.newStub(factory, channel);
   }
 
-  /**
-   * Creates a new ListenableFuture-style stub that supports unary calls on the service
-   */
-  public static PolicyTagManagerSerializationFutureStub newFutureStub(
-      io.grpc.Channel channel) {
+  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+  public static PolicyTagManagerSerializationFutureStub newFutureStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public PolicyTagManagerSerializationFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new PolicyTagManagerSerializationFutureStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public PolicyTagManagerSerializationFutureStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new PolicyTagManagerSerializationFutureStub(channel, callOptions);
+          }
+        };
     return PolicyTagManagerSerializationFutureStub.newStub(factory, channel);
   }
 
   /**
+   *
+   *
    * 
    * Policy tag manager serialization API service allows clients to manipulate
    * their taxonomies and policy tags data with serialized format.
@@ -134,6 +191,8 @@ public PolicyTagManagerSerializationFutureStub newStub(io.grpc.Channel channel,
   public interface AsyncService {
 
     /**
+     *
+     *
      * 
      * Imports all taxonomies and their policy tags to a project as new
      * taxonomies.
@@ -141,41 +200,52 @@ public interface AsyncService {
      * proto structure.
      * 
*/ - default void importTaxonomies(com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportTaxonomiesMethod(), responseObserver); + default void importTaxonomies( + com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getImportTaxonomiesMethod(), responseObserver); } /** + * + * *
      * Exports all taxonomies and their policy tags in a project.
      * This method generates SerializedTaxonomy protos with nested policy tags
      * that can be used as an input for future ImportTaxonomies calls.
      * 
*/ - default void exportTaxonomies(com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportTaxonomiesMethod(), responseObserver); + default void exportTaxonomies( + com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getExportTaxonomiesMethod(), responseObserver); } } /** * Base class for the server implementation of the service PolicyTagManagerSerialization. + * *
    * Policy tag manager serialization API service allows clients to manipulate
    * their taxonomies and policy tags data with serialized format.
    * 
*/ - public static abstract class PolicyTagManagerSerializationImplBase + public abstract static class PolicyTagManagerSerializationImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return PolicyTagManagerSerializationGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service PolicyTagManagerSerialization. + * *
    * Policy tag manager serialization API service allows clients to manipulate
    * their taxonomies and policy tags data with serialized format.
@@ -195,6 +265,8 @@ protected PolicyTagManagerSerializationStub build(
     }
 
     /**
+     *
+     *
      * 
      * Imports all taxonomies and their policy tags to a project as new
      * taxonomies.
@@ -202,28 +274,39 @@ protected PolicyTagManagerSerializationStub build(
      * proto structure.
      * 
*/ - public void importTaxonomies(com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void importTaxonomies( + com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportTaxonomiesMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getImportTaxonomiesMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Exports all taxonomies and their policy tags in a project.
      * This method generates SerializedTaxonomy protos with nested policy tags
      * that can be used as an input for future ImportTaxonomies calls.
      * 
*/ - public void exportTaxonomies(com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void exportTaxonomies( + com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExportTaxonomiesMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getExportTaxonomiesMethod(), getCallOptions()), + request, + responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service PolicyTagManagerSerialization. + * *
    * Policy tag manager serialization API service allows clients to manipulate
    * their taxonomies and policy tags data with serialized format.
@@ -243,6 +326,8 @@ protected PolicyTagManagerSerializationBlockingStub build(
     }
 
     /**
+     *
+     *
      * 
      * Imports all taxonomies and their policy tags to a project as new
      * taxonomies.
@@ -250,26 +335,32 @@ protected PolicyTagManagerSerializationBlockingStub build(
      * proto structure.
      * 
*/ - public com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse importTaxonomies(com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest request) { + public com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse importTaxonomies( + com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getImportTaxonomiesMethod(), getCallOptions(), request); } /** + * + * *
      * Exports all taxonomies and their policy tags in a project.
      * This method generates SerializedTaxonomy protos with nested policy tags
      * that can be used as an input for future ImportTaxonomies calls.
      * 
*/ - public com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse exportTaxonomies(com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest request) { + public com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse exportTaxonomies( + com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getExportTaxonomiesMethod(), getCallOptions(), request); } } /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service PolicyTagManagerSerialization. + * A stub to allow clients to do ListenableFuture-style rpc calls to service + * PolicyTagManagerSerialization. + * *
    * Policy tag manager serialization API service allows clients to manipulate
    * their taxonomies and policy tags data with serialized format.
@@ -289,6 +380,8 @@ protected PolicyTagManagerSerializationFutureStub build(
     }
 
     /**
+     *
+     *
      * 
      * Imports all taxonomies and their policy tags to a project as new
      * taxonomies.
@@ -296,21 +389,25 @@ protected PolicyTagManagerSerializationFutureStub build(
      * proto structure.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture importTaxonomies( - com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse> + importTaxonomies(com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getImportTaxonomiesMethod(), getCallOptions()), request); } /** + * + * *
      * Exports all taxonomies and their policy tags in a project.
      * This method generates SerializedTaxonomy protos with nested policy tags
      * that can be used as an input for future ImportTaxonomies calls.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture exportTaxonomies( - com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse> + exportTaxonomies(com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getExportTaxonomiesMethod(), getCallOptions()), request); } @@ -319,11 +416,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; @@ -337,12 +434,18 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_IMPORT_TAXONOMIES: - serviceImpl.importTaxonomies((com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.importTaxonomies( + (com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse>) + responseObserver); break; case METHODID_EXPORT_TAXONOMIES: - serviceImpl.exportTaxonomies((com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.exportTaxonomies( + (com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse>) + responseObserver); break; default: throw new AssertionError(); @@ -363,29 +466,31 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getImportTaxonomiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest, - com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse>( - service, METHODID_IMPORT_TAXONOMIES))) + getImportTaxonomiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest, + com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse>( + service, METHODID_IMPORT_TAXONOMIES))) .addMethod( - getExportTaxonomiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest, - com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse>( - service, METHODID_EXPORT_TAXONOMIES))) + getExportTaxonomiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest, + com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse>( + service, METHODID_EXPORT_TAXONOMIES))) .build(); } - private static abstract class PolicyTagManagerSerializationBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class PolicyTagManagerSerializationBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { PolicyTagManagerSerializationBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.getDescriptor(); + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto + .getDescriptor(); } @java.lang.Override @@ -422,11 +527,14 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (PolicyTagManagerSerializationGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new PolicyTagManagerSerializationFileDescriptorSupplier()) - .addMethod(getImportTaxonomiesMethod()) - .addMethod(getExportTaxonomiesMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor( + new PolicyTagManagerSerializationFileDescriptorSupplier()) + .addMethod(getImportTaxonomiesMethod()) + .addMethod(getExportTaxonomiesMethod()) + .build(); } } } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpec.java similarity index 67% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpec.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpec.java index 2258ef69b730..e955ddceb307 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpec.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/datacatalog/v1/bigquery.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Specification for the BigQuery connection.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.BigQueryConnectionSpec} */ -public final class BigQueryConnectionSpec extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BigQueryConnectionSpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.BigQueryConnectionSpec) BigQueryConnectionSpecOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BigQueryConnectionSpec.newBuilder() to construct. private BigQueryConnectionSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BigQueryConnectionSpec() { connectionType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BigQueryConnectionSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.BigQueryProto.internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.BigQueryProto + .internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.BigQueryProto.internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.BigQueryProto + .internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.class, com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder.class); + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.class, + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder.class); } /** + * + * *
    * The type of the BigQuery connection.
    * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType} */ - public enum ConnectionType - implements com.google.protobuf.ProtocolMessageEnum { + public enum ConnectionType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified type.
      * 
@@ -61,6 +83,8 @@ public enum ConnectionType */ CONNECTION_TYPE_UNSPECIFIED(0), /** + * + * *
      * Cloud SQL connection.
      * 
@@ -72,6 +96,8 @@ public enum ConnectionType ; /** + * + * *
      * Unspecified type.
      * 
@@ -80,6 +106,8 @@ public enum ConnectionType */ public static final int CONNECTION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Cloud SQL connection.
      * 
@@ -88,7 +116,6 @@ public enum ConnectionType */ public static final int CLOUD_SQL_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -113,48 +140,49 @@ public static ConnectionType valueOf(int value) { */ public static ConnectionType forNumber(int value) { switch (value) { - case 0: return CONNECTION_TYPE_UNSPECIFIED; - case 1: return CLOUD_SQL; - default: return null; + case 0: + return CONNECTION_TYPE_UNSPECIFIED; + case 1: + return CLOUD_SQL; + 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< - ConnectionType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ConnectionType findValueByNumber(int number) { - return ConnectionType.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 ConnectionType findValueByNumber(int number) { + return ConnectionType.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.datacatalog.v1.BigQueryConnectionSpec.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.getDescriptor() + .getEnumTypes() + .get(0); } private static final ConnectionType[] VALUES = values(); - public static ConnectionType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ConnectionType 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; @@ -172,14 +200,18 @@ private ConnectionType(int value) { } private int connectionSpecCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object connectionSpec_; + public enum ConnectionSpecCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CLOUD_SQL(2), CONNECTIONSPEC_NOT_SET(0); private final int value; + private ConnectionSpecCase(int value) { this.value = value; } @@ -195,55 +227,74 @@ public static ConnectionSpecCase valueOf(int value) { public static ConnectionSpecCase forNumber(int value) { switch (value) { - case 2: return CLOUD_SQL; - case 0: return CONNECTIONSPEC_NOT_SET; - default: return null; + case 2: + return CLOUD_SQL; + case 0: + return CONNECTIONSPEC_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ConnectionSpecCase - getConnectionSpecCase() { - return ConnectionSpecCase.forNumber( - connectionSpecCase_); + public ConnectionSpecCase getConnectionSpecCase() { + return ConnectionSpecCase.forNumber(connectionSpecCase_); } public static final int CONNECTION_TYPE_FIELD_NUMBER = 1; private int connectionType_ = 0; /** + * + * *
    * The type of the BigQuery connection.
    * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; + * + * * @return The enum numeric value on the wire for connectionType. */ - @java.lang.Override public int getConnectionTypeValue() { + @java.lang.Override + public int getConnectionTypeValue() { return connectionType_; } /** + * + * *
    * The type of the BigQuery connection.
    * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; + * + * * @return The connectionType. */ - @java.lang.Override public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType getConnectionType() { - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType result = com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.forNumber(connectionType_); - return result == null ? com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType getConnectionType() { + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType result = + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.forNumber( + connectionType_); + return result == null + ? com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.UNRECOGNIZED + : result; } public static final int CLOUD_SQL_FIELD_NUMBER = 2; /** + * + * *
    * Specification for the BigQuery connection to a Cloud SQL instance.
    * 
* * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; + * * @return Whether the cloudSql field is set. */ @java.lang.Override @@ -251,21 +302,26 @@ public boolean hasCloudSql() { return connectionSpecCase_ == 2; } /** + * + * *
    * Specification for the BigQuery connection to a Cloud SQL instance.
    * 
* * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; + * * @return The cloudSql. */ @java.lang.Override public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec getCloudSql() { if (connectionSpecCase_ == 2) { - return (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) connectionSpec_; + return (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) connectionSpec_; } return com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.getDefaultInstance(); } /** + * + * *
    * Specification for the BigQuery connection to a Cloud SQL instance.
    * 
@@ -273,9 +329,10 @@ public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec getCloudSq * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder getCloudSqlOrBuilder() { + public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder + getCloudSqlOrBuilder() { if (connectionSpecCase_ == 2) { - return (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) connectionSpec_; + return (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) connectionSpec_; } return com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.getDefaultInstance(); } @@ -283,12 +340,15 @@ public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder g public static final int HAS_CREDENTIAL_FIELD_NUMBER = 3; private boolean hasCredential_ = false; /** + * + * *
    * True if there are credentials attached to the BigQuery connection; false
    * otherwise.
    * 
* * bool has_credential = 3; + * * @return The hasCredential. */ @java.lang.Override @@ -297,6 +357,7 @@ public boolean getHasCredential() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -308,13 +369,16 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (connectionType_ != com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.CONNECTION_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (connectionType_ + != com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType + .CONNECTION_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, connectionType_); } if (connectionSpecCase_ == 2) { - output.writeMessage(2, (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) connectionSpec_); + output.writeMessage( + 2, (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) connectionSpec_); } if (hasCredential_ != false) { output.writeBool(3, hasCredential_); @@ -328,17 +392,19 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (connectionType_ != com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.CONNECTION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, connectionType_); + if (connectionType_ + != com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType + .CONNECTION_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, connectionType_); } if (connectionSpecCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) connectionSpec_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) connectionSpec_); } if (hasCredential_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, hasCredential_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, hasCredential_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -348,21 +414,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.datacatalog.v1.BigQueryConnectionSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec other = (com.google.cloud.datacatalog.v1.BigQueryConnectionSpec) obj; + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec other = + (com.google.cloud.datacatalog.v1.BigQueryConnectionSpec) obj; if (connectionType_ != other.connectionType_) return false; - if (getHasCredential() - != other.getHasCredential()) return false; + if (getHasCredential() != other.getHasCredential()) return false; if (!getConnectionSpecCase().equals(other.getConnectionSpecCase())) return false; switch (connectionSpecCase_) { case 2: - if (!getCloudSql() - .equals(other.getCloudSql())) return false; + if (!getCloudSql().equals(other.getCloudSql())) return false; break; case 0: default: @@ -381,8 +446,7 @@ public int hashCode() { hash = (37 * hash) + CONNECTION_TYPE_FIELD_NUMBER; hash = (53 * hash) + connectionType_; hash = (37 * hash) + HAS_CREDENTIAL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getHasCredential()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHasCredential()); switch (connectionSpecCase_) { case 2: hash = (37 * hash) + CLOUD_SQL_FIELD_NUMBER; @@ -397,131 +461,136 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.BigQueryConnectionSpec prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Specification for the BigQuery connection.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.BigQueryConnectionSpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.BigQueryConnectionSpec) com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.BigQueryProto.internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.BigQueryProto + .internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.BigQueryProto.internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.BigQueryProto + .internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.class, com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder.class); + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.class, + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -537,9 +606,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.BigQueryProto.internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.BigQueryProto + .internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_descriptor; } @java.lang.Override @@ -558,8 +627,11 @@ public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec buildPartial() { - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec result = new com.google.cloud.datacatalog.v1.BigQueryConnectionSpec(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec result = + new com.google.cloud.datacatalog.v1.BigQueryConnectionSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -578,8 +650,7 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.BigQueryConnectionSpe private void buildPartialOneofs(com.google.cloud.datacatalog.v1.BigQueryConnectionSpec result) { result.connectionSpecCase_ = connectionSpecCase_; result.connectionSpec_ = this.connectionSpec_; - if (connectionSpecCase_ == 2 && - cloudSqlBuilder_ != null) { + if (connectionSpecCase_ == 2 && cloudSqlBuilder_ != null) { result.connectionSpec_ = cloudSqlBuilder_.build(); } } @@ -588,38 +659,39 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.BigQueryConnecti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.BigQueryConnectionSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1.BigQueryConnectionSpec)other); + return mergeFrom((com.google.cloud.datacatalog.v1.BigQueryConnectionSpec) other); } else { super.mergeFrom(other); return this; @@ -627,7 +699,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.BigQueryConnectionSpec other) { - if (other == com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.getDefaultInstance()) return this; + if (other == com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.getDefaultInstance()) + return this; if (other.connectionType_ != 0) { setConnectionTypeValue(other.getConnectionTypeValue()); } @@ -635,13 +708,15 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.BigQueryConnectionSpec setHasCredential(other.getHasCredential()); } switch (other.getConnectionSpecCase()) { - case CLOUD_SQL: { - mergeCloudSql(other.getCloudSql()); - break; - } - case CONNECTIONSPEC_NOT_SET: { - break; - } + case CLOUD_SQL: + { + mergeCloudSql(other.getCloudSql()); + break; + } + case CONNECTIONSPEC_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -669,29 +744,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - connectionType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - input.readMessage( - getCloudSqlFieldBuilder().getBuilder(), - extensionRegistry); - connectionSpecCase_ = 2; - break; - } // case 18 - case 24: { - hasCredential_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + connectionType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage(getCloudSqlFieldBuilder().getBuilder(), extensionRegistry); + connectionSpecCase_ = 2; + break; + } // case 18 + case 24: + { + hasCredential_ = 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) { @@ -701,12 +778,12 @@ public Builder mergeFrom( } // finally return this; } + private int connectionSpecCase_ = 0; private java.lang.Object connectionSpec_; - public ConnectionSpecCase - getConnectionSpecCase() { - return ConnectionSpecCase.forNumber( - connectionSpecCase_); + + public ConnectionSpecCase getConnectionSpecCase() { + return ConnectionSpecCase.forNumber(connectionSpecCase_); } public Builder clearConnectionSpec() { @@ -720,22 +797,31 @@ public Builder clearConnectionSpec() { private int connectionType_ = 0; /** + * + * *
      * The type of the BigQuery connection.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; + * + * * @return The enum numeric value on the wire for connectionType. */ - @java.lang.Override public int getConnectionTypeValue() { + @java.lang.Override + public int getConnectionTypeValue() { return connectionType_; } /** + * + * *
      * The type of the BigQuery connection.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; + * + * * @param value The enum numeric value on the wire for connectionType to set. * @return This builder for chaining. */ @@ -746,28 +832,42 @@ public Builder setConnectionTypeValue(int value) { return this; } /** + * + * *
      * The type of the BigQuery connection.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; + * + * * @return The connectionType. */ @java.lang.Override - public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType getConnectionType() { - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType result = com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.forNumber(connectionType_); - return result == null ? com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.UNRECOGNIZED : result; + public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType + getConnectionType() { + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType result = + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.forNumber( + connectionType_); + return result == null + ? com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.UNRECOGNIZED + : result; } /** + * + * *
      * The type of the BigQuery connection.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; + * + * * @param value The connectionType to set. * @return This builder for chaining. */ - public Builder setConnectionType(com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType value) { + public Builder setConnectionType( + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType value) { if (value == null) { throw new NullPointerException(); } @@ -777,11 +877,15 @@ public Builder setConnectionType(com.google.cloud.datacatalog.v1.BigQueryConnect return this; } /** + * + * *
      * The type of the BigQuery connection.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; + * + * * @return This builder for chaining. */ public Builder clearConnectionType() { @@ -792,13 +896,19 @@ public Builder clearConnectionType() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec, com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder, com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder> cloudSqlBuilder_; + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec, + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder, + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder> + cloudSqlBuilder_; /** + * + * *
      * Specification for the BigQuery connection to a Cloud SQL instance.
      * 
* * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; + * * @return Whether the cloudSql field is set. */ @java.lang.Override @@ -806,11 +916,14 @@ public boolean hasCloudSql() { return connectionSpecCase_ == 2; } /** + * + * *
      * Specification for the BigQuery connection to a Cloud SQL instance.
      * 
* * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; + * * @return The cloudSql. */ @java.lang.Override @@ -828,13 +941,16 @@ public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec getCloudSq } } /** + * + * *
      * Specification for the BigQuery connection to a Cloud SQL instance.
      * 
* * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; */ - public Builder setCloudSql(com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec value) { + public Builder setCloudSql( + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec value) { if (cloudSqlBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -848,6 +964,8 @@ public Builder setCloudSql(com.google.cloud.datacatalog.v1.CloudSqlBigQueryConne return this; } /** + * + * *
      * Specification for the BigQuery connection to a Cloud SQL instance.
      * 
@@ -866,18 +984,27 @@ public Builder setCloudSql( return this; } /** + * + * *
      * Specification for the BigQuery connection to a Cloud SQL instance.
      * 
* * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; */ - public Builder mergeCloudSql(com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec value) { + public Builder mergeCloudSql( + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec value) { if (cloudSqlBuilder_ == null) { - if (connectionSpecCase_ == 2 && - connectionSpec_ != com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.getDefaultInstance()) { - connectionSpec_ = com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.newBuilder((com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) connectionSpec_) - .mergeFrom(value).buildPartial(); + if (connectionSpecCase_ == 2 + && connectionSpec_ + != com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec + .getDefaultInstance()) { + connectionSpec_ = + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.newBuilder( + (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) + connectionSpec_) + .mergeFrom(value) + .buildPartial(); } else { connectionSpec_ = value; } @@ -893,6 +1020,8 @@ public Builder mergeCloudSql(com.google.cloud.datacatalog.v1.CloudSqlBigQueryCon return this; } /** + * + * *
      * Specification for the BigQuery connection to a Cloud SQL instance.
      * 
@@ -916,16 +1045,21 @@ public Builder clearCloudSql() { return this; } /** + * + * *
      * Specification for the BigQuery connection to a Cloud SQL instance.
      * 
* * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; */ - public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder getCloudSqlBuilder() { + public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder + getCloudSqlBuilder() { return getCloudSqlFieldBuilder().getBuilder(); } /** + * + * *
      * Specification for the BigQuery connection to a Cloud SQL instance.
      * 
@@ -933,7 +1067,8 @@ public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder ge * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder getCloudSqlOrBuilder() { + public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder + getCloudSqlOrBuilder() { if ((connectionSpecCase_ == 2) && (cloudSqlBuilder_ != null)) { return cloudSqlBuilder_.getMessageOrBuilder(); } else { @@ -944,6 +1079,8 @@ public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder g } } /** + * + * *
      * Specification for the BigQuery connection to a Cloud SQL instance.
      * 
@@ -951,14 +1088,20 @@ public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder g * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec, com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder, com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder> + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec, + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder, + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder> getCloudSqlFieldBuilder() { if (cloudSqlBuilder_ == null) { if (!(connectionSpecCase_ == 2)) { - connectionSpec_ = com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.getDefaultInstance(); + connectionSpec_ = + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.getDefaultInstance(); } - cloudSqlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec, com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder, com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder>( + cloudSqlBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec, + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder, + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder>( (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) connectionSpec_, getParentForChildren(), isClean()); @@ -969,14 +1112,17 @@ public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder g return cloudSqlBuilder_; } - private boolean hasCredential_ ; + private boolean hasCredential_; /** + * + * *
      * True if there are credentials attached to the BigQuery connection; false
      * otherwise.
      * 
* * bool has_credential = 3; + * * @return The hasCredential. */ @java.lang.Override @@ -984,12 +1130,15 @@ public boolean getHasCredential() { return hasCredential_; } /** + * + * *
      * True if there are credentials attached to the BigQuery connection; false
      * otherwise.
      * 
* * bool has_credential = 3; + * * @param value The hasCredential to set. * @return This builder for chaining. */ @@ -1001,12 +1150,15 @@ public Builder setHasCredential(boolean value) { return this; } /** + * + * *
      * True if there are credentials attached to the BigQuery connection; false
      * otherwise.
      * 
* * bool has_credential = 3; + * * @return This builder for chaining. */ public Builder clearHasCredential() { @@ -1015,9 +1167,9 @@ public Builder clearHasCredential() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1027,12 +1179,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.BigQueryConnectionSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.BigQueryConnectionSpec) private static final com.google.cloud.datacatalog.v1.BigQueryConnectionSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.BigQueryConnectionSpec(); } @@ -1041,27 +1193,27 @@ public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryConnectionSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryConnectionSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1076,6 +1228,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpecOrBuilder.java similarity index 71% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpecOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpecOrBuilder.java index 2fed25b3eb18..5d6ee6a51a92 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpecOrBuilder.java @@ -1,50 +1,82 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/bigquery.proto package com.google.cloud.datacatalog.v1; -public interface BigQueryConnectionSpecOrBuilder extends +public interface BigQueryConnectionSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.BigQueryConnectionSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The type of the BigQuery connection.
    * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; + * + * * @return The enum numeric value on the wire for connectionType. */ int getConnectionTypeValue(); /** + * + * *
    * The type of the BigQuery connection.
    * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; + * + * * @return The connectionType. */ com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType getConnectionType(); /** + * + * *
    * Specification for the BigQuery connection to a Cloud SQL instance.
    * 
* * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; + * * @return Whether the cloudSql field is set. */ boolean hasCloudSql(); /** + * + * *
    * Specification for the BigQuery connection to a Cloud SQL instance.
    * 
* * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; + * * @return The cloudSql. */ com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec getCloudSql(); /** + * + * *
    * Specification for the BigQuery connection to a Cloud SQL instance.
    * 
@@ -54,12 +86,15 @@ public interface BigQueryConnectionSpecOrBuilder extends com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder getCloudSqlOrBuilder(); /** + * + * *
    * True if there are credentials attached to the BigQuery connection; false
    * otherwise.
    * 
* * bool has_credential = 3; + * * @return The hasCredential. */ boolean getHasCredential(); diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpec.java similarity index 70% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpec.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpec.java index 7f9dcabba262..c38e61c80f63 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpec.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/datacatalog/v1/table_spec.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD` name
  * pattern.
@@ -14,15 +31,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.BigQueryDateShardedSpec}
  */
-public final class BigQueryDateShardedSpec extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BigQueryDateShardedSpec extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.BigQueryDateShardedSpec)
     BigQueryDateShardedSpecOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BigQueryDateShardedSpec.newBuilder() to construct.
   private BigQueryDateShardedSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private BigQueryDateShardedSpec() {
     dataset_ = "";
     tablePrefix_ = "";
@@ -31,28 +49,32 @@ private BigQueryDateShardedSpec() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BigQueryDateShardedSpec();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.TableSpecOuterClass
+        .internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.TableSpecOuterClass
+        .internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.class, com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.Builder.class);
+            com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.class,
+            com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.Builder.class);
   }
 
   public static final int DATASET_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object dataset_ = "";
   /**
+   *
+   *
    * 
    * Output only. The Data Catalog resource name of the dataset entry the
    * current table belongs to. For example:
@@ -60,7 +82,10 @@ protected java.lang.Object newInstance(
    * `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
    * 
* - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The dataset. */ @java.lang.Override @@ -69,14 +94,15 @@ public java.lang.String getDataset() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataset_ = s; return s; } } /** + * + * *
    * Output only. The Data Catalog resource name of the dataset entry the
    * current table belongs to. For example:
@@ -84,17 +110,18 @@ public java.lang.String getDataset() {
    * `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
    * 
* - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for dataset. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatasetBytes() { + public com.google.protobuf.ByteString getDatasetBytes() { java.lang.Object ref = dataset_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataset_ = b; return b; } else { @@ -103,9 +130,12 @@ public java.lang.String getDataset() { } public static final int TABLE_PREFIX_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object tablePrefix_ = ""; /** + * + * *
    * Output only. The table name prefix of the shards.
    *
@@ -115,6 +145,7 @@ public java.lang.String getDataset() {
    * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tablePrefix. */ @java.lang.Override @@ -123,14 +154,15 @@ public java.lang.String getTablePrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tablePrefix_ = s; return s; } } /** + * + * *
    * Output only. The table name prefix of the shards.
    *
@@ -140,16 +172,15 @@ public java.lang.String getTablePrefix() {
    * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for tablePrefix. */ @java.lang.Override - public com.google.protobuf.ByteString - getTablePrefixBytes() { + public com.google.protobuf.ByteString getTablePrefixBytes() { java.lang.Object ref = tablePrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tablePrefix_ = b; return b; } else { @@ -160,11 +191,14 @@ public java.lang.String getTablePrefix() { public static final int SHARD_COUNT_FIELD_NUMBER = 3; private long shardCount_ = 0L; /** + * + * *
    * Output only. Total number of shards.
    * 
* * int64 shard_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The shardCount. */ @java.lang.Override @@ -173,14 +207,18 @@ public long getShardCount() { } public static final int LATEST_SHARD_RESOURCE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object latestShardResource_ = ""; /** + * + * *
    * Output only. BigQuery resource name of the latest shard.
    * 
* * string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The latestShardResource. */ @java.lang.Override @@ -189,29 +227,29 @@ public java.lang.String getLatestShardResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); latestShardResource_ = s; return s; } } /** + * + * *
    * Output only. BigQuery resource name of the latest shard.
    * 
* * string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for latestShardResource. */ @java.lang.Override - public com.google.protobuf.ByteString - getLatestShardResourceBytes() { + public com.google.protobuf.ByteString getLatestShardResourceBytes() { java.lang.Object ref = latestShardResource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); latestShardResource_ = b; return b; } else { @@ -220,6 +258,7 @@ public java.lang.String getLatestShardResource() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -231,8 +270,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dataset_); } @@ -261,8 +299,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tablePrefix_); } if (shardCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, shardCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, shardCount_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(latestShardResource_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, latestShardResource_); @@ -275,21 +312,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.datacatalog.v1.BigQueryDateShardedSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec other = (com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec) obj; - - if (!getDataset() - .equals(other.getDataset())) return false; - if (!getTablePrefix() - .equals(other.getTablePrefix())) return false; - if (getShardCount() - != other.getShardCount()) return false; - if (!getLatestShardResource() - .equals(other.getLatestShardResource())) return false; + com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec other = + (com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec) obj; + + if (!getDataset().equals(other.getDataset())) return false; + if (!getTablePrefix().equals(other.getTablePrefix())) return false; + if (getShardCount() != other.getShardCount()) return false; + if (!getLatestShardResource().equals(other.getLatestShardResource())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -306,8 +340,7 @@ public int hashCode() { hash = (37 * hash) + TABLE_PREFIX_FIELD_NUMBER; hash = (53 * hash) + getTablePrefix().hashCode(); hash = (37 * hash) + SHARD_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getShardCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getShardCount()); hash = (37 * hash) + LATEST_SHARD_RESOURCE_FIELD_NUMBER; hash = (53 * hash) + getLatestShardResource().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -316,98 +349,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD` name
    * pattern.
@@ -418,33 +457,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.BigQueryDateShardedSpec}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.BigQueryDateShardedSpec)
       com.google.cloud.datacatalog.v1.BigQueryDateShardedSpecOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.TableSpecOuterClass
+          .internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.TableSpecOuterClass
+          .internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.class, com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.Builder.class);
+              com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.class,
+              com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -457,9 +495,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.TableSpecOuterClass
+          .internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_descriptor;
     }
 
     @java.lang.Override
@@ -478,8 +516,11 @@ public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec buildPartial() {
-      com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec result = new com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec result =
+          new com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -504,38 +545,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.BigQueryDateShardedSp
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -543,7 +585,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec other) {
-      if (other == com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.getDefaultInstance())
+        return this;
       if (!other.getDataset().isEmpty()) {
         dataset_ = other.dataset_;
         bitField0_ |= 0x00000001;
@@ -588,32 +631,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              dataset_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              tablePrefix_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 24: {
-              shardCount_ = input.readInt64();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            case 34: {
-              latestShardResource_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                dataset_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                tablePrefix_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 24:
+              {
+                shardCount_ = input.readInt64();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+            case 34:
+              {
+                latestShardResource_ = 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) {
@@ -623,10 +671,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object dataset_ = "";
     /**
+     *
+     *
      * 
      * Output only. The Data Catalog resource name of the dataset entry the
      * current table belongs to. For example:
@@ -634,14 +685,16 @@ public Builder mergeFrom(
      * `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
      * 
* - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The dataset. */ public java.lang.String getDataset() { java.lang.Object ref = dataset_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataset_ = s; return s; @@ -650,6 +703,8 @@ public java.lang.String getDataset() { } } /** + * + * *
      * Output only. The Data Catalog resource name of the dataset entry the
      * current table belongs to. For example:
@@ -657,16 +712,17 @@ public java.lang.String getDataset() {
      * `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
      * 
* - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for dataset. */ - public com.google.protobuf.ByteString - getDatasetBytes() { + public com.google.protobuf.ByteString getDatasetBytes() { java.lang.Object ref = dataset_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataset_ = b; return b; } else { @@ -674,6 +730,8 @@ public java.lang.String getDataset() { } } /** + * + * *
      * Output only. The Data Catalog resource name of the dataset entry the
      * current table belongs to. For example:
@@ -681,19 +739,25 @@ public java.lang.String getDataset() {
      * `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
      * 
* - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The dataset to set. * @return This builder for chaining. */ - public Builder setDataset( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataset(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } dataset_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The Data Catalog resource name of the dataset entry the
      * current table belongs to. For example:
@@ -701,7 +765,10 @@ public Builder setDataset(
      * `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
      * 
* - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearDataset() { @@ -711,6 +778,8 @@ public Builder clearDataset() { return this; } /** + * + * *
      * Output only. The Data Catalog resource name of the dataset entry the
      * current table belongs to. For example:
@@ -718,13 +787,17 @@ public Builder clearDataset() {
      * `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
      * 
* - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for dataset to set. * @return This builder for chaining. */ - public Builder setDatasetBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatasetBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); dataset_ = value; bitField0_ |= 0x00000001; @@ -734,6 +807,8 @@ public Builder setDatasetBytes( private java.lang.Object tablePrefix_ = ""; /** + * + * *
      * Output only. The table name prefix of the shards.
      *
@@ -743,13 +818,13 @@ public Builder setDatasetBytes(
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tablePrefix. */ public java.lang.String getTablePrefix() { java.lang.Object ref = tablePrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tablePrefix_ = s; return s; @@ -758,6 +833,8 @@ public java.lang.String getTablePrefix() { } } /** + * + * *
      * Output only. The table name prefix of the shards.
      *
@@ -767,15 +844,14 @@ public java.lang.String getTablePrefix() {
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for tablePrefix. */ - public com.google.protobuf.ByteString - getTablePrefixBytes() { + public com.google.protobuf.ByteString getTablePrefixBytes() { java.lang.Object ref = tablePrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tablePrefix_ = b; return b; } else { @@ -783,6 +859,8 @@ public java.lang.String getTablePrefix() { } } /** + * + * *
      * Output only. The table name prefix of the shards.
      *
@@ -792,18 +870,22 @@ public java.lang.String getTablePrefix() {
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The tablePrefix to set. * @return This builder for chaining. */ - public Builder setTablePrefix( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTablePrefix(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tablePrefix_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. The table name prefix of the shards.
      *
@@ -813,6 +895,7 @@ public Builder setTablePrefix(
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTablePrefix() { @@ -822,6 +905,8 @@ public Builder clearTablePrefix() { return this; } /** + * + * *
      * Output only. The table name prefix of the shards.
      *
@@ -831,12 +916,14 @@ public Builder clearTablePrefix() {
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for tablePrefix to set. * @return This builder for chaining. */ - public Builder setTablePrefixBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTablePrefixBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tablePrefix_ = value; bitField0_ |= 0x00000002; @@ -844,13 +931,16 @@ public Builder setTablePrefixBytes( return this; } - private long shardCount_ ; + private long shardCount_; /** + * + * *
      * Output only. Total number of shards.
      * 
* * int64 shard_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The shardCount. */ @java.lang.Override @@ -858,11 +948,14 @@ public long getShardCount() { return shardCount_; } /** + * + * *
      * Output only. Total number of shards.
      * 
* * int64 shard_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The shardCount to set. * @return This builder for chaining. */ @@ -874,11 +967,14 @@ public Builder setShardCount(long value) { return this; } /** + * + * *
      * Output only. Total number of shards.
      * 
* * int64 shard_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearShardCount() { @@ -890,18 +986,20 @@ public Builder clearShardCount() { private java.lang.Object latestShardResource_ = ""; /** + * + * *
      * Output only. BigQuery resource name of the latest shard.
      * 
* * string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The latestShardResource. */ public java.lang.String getLatestShardResource() { java.lang.Object ref = latestShardResource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); latestShardResource_ = s; return s; @@ -910,20 +1008,21 @@ public java.lang.String getLatestShardResource() { } } /** + * + * *
      * Output only. BigQuery resource name of the latest shard.
      * 
* * string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for latestShardResource. */ - public com.google.protobuf.ByteString - getLatestShardResourceBytes() { + public com.google.protobuf.ByteString getLatestShardResourceBytes() { java.lang.Object ref = latestShardResource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); latestShardResource_ = b; return b; } else { @@ -931,28 +1030,35 @@ public java.lang.String getLatestShardResource() { } } /** + * + * *
      * Output only. BigQuery resource name of the latest shard.
      * 
* * string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The latestShardResource to set. * @return This builder for chaining. */ - public Builder setLatestShardResource( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLatestShardResource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } latestShardResource_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Output only. BigQuery resource name of the latest shard.
      * 
* * string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearLatestShardResource() { @@ -962,26 +1068,30 @@ public Builder clearLatestShardResource() { return this; } /** + * + * *
      * Output only. BigQuery resource name of the latest shard.
      * 
* * string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for latestShardResource to set. * @return This builder for chaining. */ - public Builder setLatestShardResourceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLatestShardResourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); latestShardResource_ = 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); } @@ -991,12 +1101,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.BigQueryDateShardedSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.BigQueryDateShardedSpec) private static final com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec(); } @@ -1005,27 +1115,27 @@ public static com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryDateShardedSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryDateShardedSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1150,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpecOrBuilder.java similarity index 67% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpecOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpecOrBuilder.java index 83243c3d4690..8d7abf2d6ead 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpecOrBuilder.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/datacatalog/v1/table_spec.proto package com.google.cloud.datacatalog.v1; -public interface BigQueryDateShardedSpecOrBuilder extends +public interface BigQueryDateShardedSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.BigQueryDateShardedSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The Data Catalog resource name of the dataset entry the
    * current table belongs to. For example:
@@ -15,11 +33,16 @@ public interface BigQueryDateShardedSpecOrBuilder extends
    * `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
    * 
* - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The dataset. */ java.lang.String getDataset(); /** + * + * *
    * Output only. The Data Catalog resource name of the dataset entry the
    * current table belongs to. For example:
@@ -27,13 +50,17 @@ public interface BigQueryDateShardedSpecOrBuilder extends
    * `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
    * 
* - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for dataset. */ - com.google.protobuf.ByteString - getDatasetBytes(); + com.google.protobuf.ByteString getDatasetBytes(); /** + * + * *
    * Output only. The table name prefix of the shards.
    *
@@ -43,10 +70,13 @@ public interface BigQueryDateShardedSpecOrBuilder extends
    * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tablePrefix. */ java.lang.String getTablePrefix(); /** + * + * *
    * Output only. The table name prefix of the shards.
    *
@@ -56,38 +86,46 @@ public interface BigQueryDateShardedSpecOrBuilder extends
    * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for tablePrefix. */ - com.google.protobuf.ByteString - getTablePrefixBytes(); + com.google.protobuf.ByteString getTablePrefixBytes(); /** + * + * *
    * Output only. Total number of shards.
    * 
* * int64 shard_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The shardCount. */ long getShardCount(); /** + * + * *
    * Output only. BigQuery resource name of the latest shard.
    * 
* * string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The latestShardResource. */ java.lang.String getLatestShardResource(); /** + * + * *
    * Output only. BigQuery resource name of the latest shard.
    * 
* * string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for latestShardResource. */ - com.google.protobuf.ByteString - getLatestShardResourceBytes(); + com.google.protobuf.ByteString getLatestShardResourceBytes(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryProto.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryProto.java new file mode 100644 index 000000000000..3178fc484d41 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryProto.java @@ -0,0 +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/datacatalog/v1/bigquery.proto + +package com.google.cloud.datacatalog.v1; + +public final class BigQueryProto { + private BigQueryProto() {} + + 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_datacatalog_v1_BigQueryConnectionSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_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/datacatalog/v1/bigquery.p" + + "roto\022\033google.cloud.datacatalog.v1\032\037googl" + + "e/api/field_behavior.proto\"\264\002\n\026BigQueryC" + + "onnectionSpec\022[\n\017connection_type\030\001 \001(\0162B" + + ".google.cloud.datacatalog.v1.BigQueryCon" + + "nectionSpec.ConnectionType\022P\n\tcloud_sql\030" + + "\002 \001(\0132;.google.cloud.datacatalog.v1.Clou" + + "dSqlBigQueryConnectionSpecH\000\022\026\n\016has_cred" + + "ential\030\003 \001(\010\"@\n\016ConnectionType\022\037\n\033CONNEC" + + "TION_TYPE_UNSPECIFIED\020\000\022\r\n\tCLOUD_SQL\020\001B\021" + + "\n\017connection_spec\"\347\001\n\036CloudSqlBigQueryCo" + + "nnectionSpec\022\023\n\013instance_id\030\001 \001(\t\022\020\n\010dat" + + "abase\030\002 \001(\t\022V\n\004type\030\003 \001(\0162H.google.cloud" + + ".datacatalog.v1.CloudSqlBigQueryConnecti" + + "onSpec.DatabaseType\"F\n\014DatabaseType\022\035\n\031D" + + "ATABASE_TYPE_UNSPECIFIED\020\000\022\014\n\010POSTGRES\020\001" + + "\022\t\n\005MYSQL\020\002\"1\n\023BigQueryRoutineSpec\022\032\n\022im" + + "ported_libraries\030\001 \003(\tB\325\001\n\037com.google.cl" + + "oud.datacatalog.v1B\rBigQueryProtoP\001ZAclo" + + "ud.google.com/go/datacatalog/apiv1/datac" + + "atalogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud" + + ".DataCatalog.V1\312\002\033Google\\Cloud\\DataCatal" + + "og\\V1\352\002\036Google::Cloud::DataCatalog::V1b\006" + + "proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_descriptor, + new java.lang.String[] { + "ConnectionType", "CloudSql", "HasCredential", "ConnectionSpec", + }); + internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_descriptor, + new java.lang.String[] { + "InstanceId", "Database", "Type", + }); + internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_descriptor, + new java.lang.String[] { + "ImportedLibraries", + }); + com.google.api.FieldBehaviorProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpec.java similarity index 67% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpec.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpec.java index 3a228e889e65..3191731ab501 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpec.java @@ -1,82 +1,109 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/bigquery.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Fields specific for BigQuery routines.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.BigQueryRoutineSpec} */ -public final class BigQueryRoutineSpec extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BigQueryRoutineSpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.BigQueryRoutineSpec) BigQueryRoutineSpecOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BigQueryRoutineSpec.newBuilder() to construct. private BigQueryRoutineSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BigQueryRoutineSpec() { - importedLibraries_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + importedLibraries_ = 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 BigQueryRoutineSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.BigQueryProto.internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.BigQueryProto + .internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.BigQueryProto.internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.BigQueryProto + .internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.class, com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder.class); + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.class, + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder.class); } public static final int IMPORTED_LIBRARIES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList importedLibraries_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Paths of the imported libraries.
    * 
* * repeated string imported_libraries = 1; + * * @return A list containing the importedLibraries. */ - public com.google.protobuf.ProtocolStringList - getImportedLibrariesList() { + public com.google.protobuf.ProtocolStringList getImportedLibrariesList() { return importedLibraries_; } /** + * + * *
    * Paths of the imported libraries.
    * 
* * repeated string imported_libraries = 1; + * * @return The count of importedLibraries. */ public int getImportedLibrariesCount() { return importedLibraries_.size(); } /** + * + * *
    * Paths of the imported libraries.
    * 
* * repeated string imported_libraries = 1; + * * @param index The index of the element to return. * @return The importedLibraries at the given index. */ @@ -84,20 +111,23 @@ public java.lang.String getImportedLibraries(int index) { return importedLibraries_.get(index); } /** + * + * *
    * Paths of the imported libraries.
    * 
* * repeated string imported_libraries = 1; + * * @param index The index of the value to return. * @return The bytes of the importedLibraries at the given index. */ - public com.google.protobuf.ByteString - getImportedLibrariesBytes(int index) { + public com.google.protobuf.ByteString getImportedLibrariesBytes(int index) { return importedLibraries_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < importedLibraries_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, importedLibraries_.getRaw(i)); } @@ -139,15 +168,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.BigQueryRoutineSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.BigQueryRoutineSpec other = (com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) obj; + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec other = + (com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) obj; - if (!getImportedLibrariesList() - .equals(other.getImportedLibrariesList())) return false; + if (!getImportedLibrariesList().equals(other.getImportedLibrariesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -169,144 +198,147 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.BigQueryRoutineSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Fields specific for BigQuery routines.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.BigQueryRoutineSpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.BigQueryRoutineSpec) com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.BigQueryProto.internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.BigQueryProto + .internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.BigQueryProto.internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.BigQueryProto + .internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.class, com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder.class); + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.class, + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - 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; - importedLibraries_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + importedLibraries_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.BigQueryProto.internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.BigQueryProto + .internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_descriptor; } @java.lang.Override @@ -325,8 +357,11 @@ public com.google.cloud.datacatalog.v1.BigQueryRoutineSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1.BigQueryRoutineSpec buildPartial() { - com.google.cloud.datacatalog.v1.BigQueryRoutineSpec result = new com.google.cloud.datacatalog.v1.BigQueryRoutineSpec(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec result = + new com.google.cloud.datacatalog.v1.BigQueryRoutineSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -343,38 +378,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.BigQueryRoutineSpec 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.datacatalog.v1.BigQueryRoutineSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1.BigQueryRoutineSpec)other); + return mergeFrom((com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) other); } else { super.mergeFrom(other); return this; @@ -382,7 +418,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.BigQueryRoutineSpec other) { - if (other == com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.getDefaultInstance()) return this; + if (other == com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.getDefaultInstance()) + return this; if (!other.importedLibraries_.isEmpty()) { if (importedLibraries_.isEmpty()) { importedLibraries_ = other.importedLibraries_; @@ -419,18 +456,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureImportedLibrariesIsMutable(); - importedLibraries_.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(); + ensureImportedLibrariesIsMutable(); + importedLibraries_.add(s); + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -440,10 +479,12 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.LazyStringArrayList importedLibraries_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureImportedLibrariesIsMutable() { if (!importedLibraries_.isModifiable()) { importedLibraries_ = new com.google.protobuf.LazyStringArrayList(importedLibraries_); @@ -451,35 +492,43 @@ private void ensureImportedLibrariesIsMutable() { bitField0_ |= 0x00000001; } /** + * + * *
      * Paths of the imported libraries.
      * 
* * repeated string imported_libraries = 1; + * * @return A list containing the importedLibraries. */ - public com.google.protobuf.ProtocolStringList - getImportedLibrariesList() { + public com.google.protobuf.ProtocolStringList getImportedLibrariesList() { importedLibraries_.makeImmutable(); return importedLibraries_; } /** + * + * *
      * Paths of the imported libraries.
      * 
* * repeated string imported_libraries = 1; + * * @return The count of importedLibraries. */ public int getImportedLibrariesCount() { return importedLibraries_.size(); } /** + * + * *
      * Paths of the imported libraries.
      * 
* * repeated string imported_libraries = 1; + * * @param index The index of the element to return. * @return The importedLibraries at the given index. */ @@ -487,31 +536,37 @@ public java.lang.String getImportedLibraries(int index) { return importedLibraries_.get(index); } /** + * + * *
      * Paths of the imported libraries.
      * 
* * repeated string imported_libraries = 1; + * * @param index The index of the value to return. * @return The bytes of the importedLibraries at the given index. */ - public com.google.protobuf.ByteString - getImportedLibrariesBytes(int index) { + public com.google.protobuf.ByteString getImportedLibrariesBytes(int index) { return importedLibraries_.getByteString(index); } /** + * + * *
      * Paths of the imported libraries.
      * 
* * repeated string imported_libraries = 1; + * * @param index The index to set the value at. * @param value The importedLibraries to set. * @return This builder for chaining. */ - public Builder setImportedLibraries( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setImportedLibraries(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureImportedLibrariesIsMutable(); importedLibraries_.set(index, value); bitField0_ |= 0x00000001; @@ -519,17 +574,21 @@ public Builder setImportedLibraries( return this; } /** + * + * *
      * Paths of the imported libraries.
      * 
* * repeated string imported_libraries = 1; + * * @param value The importedLibraries to add. * @return This builder for chaining. */ - public Builder addImportedLibraries( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addImportedLibraries(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureImportedLibrariesIsMutable(); importedLibraries_.add(value); bitField0_ |= 0x00000001; @@ -537,50 +596,58 @@ public Builder addImportedLibraries( return this; } /** + * + * *
      * Paths of the imported libraries.
      * 
* * repeated string imported_libraries = 1; + * * @param values The importedLibraries to add. * @return This builder for chaining. */ - public Builder addAllImportedLibraries( - java.lang.Iterable values) { + public Builder addAllImportedLibraries(java.lang.Iterable values) { ensureImportedLibrariesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, importedLibraries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, importedLibraries_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Paths of the imported libraries.
      * 
* * repeated string imported_libraries = 1; + * * @return This builder for chaining. */ public Builder clearImportedLibraries() { - importedLibraries_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + importedLibraries_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
      * Paths of the imported libraries.
      * 
* * repeated string imported_libraries = 1; + * * @param value The bytes of the importedLibraries to add. * @return This builder for chaining. */ - public Builder addImportedLibrariesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addImportedLibrariesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureImportedLibrariesIsMutable(); importedLibraries_.add(value); @@ -588,9 +655,9 @@ public Builder addImportedLibrariesBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -600,12 +667,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.BigQueryRoutineSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.BigQueryRoutineSpec) private static final com.google.cloud.datacatalog.v1.BigQueryRoutineSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.BigQueryRoutineSpec(); } @@ -614,27 +681,27 @@ public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryRoutineSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryRoutineSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -649,6 +716,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.BigQueryRoutineSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpecOrBuilder.java similarity index 59% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpecOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpecOrBuilder.java index 4a099b760569..ff0033280899 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpecOrBuilder.java @@ -1,50 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/bigquery.proto package com.google.cloud.datacatalog.v1; -public interface BigQueryRoutineSpecOrBuilder extends +public interface BigQueryRoutineSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.BigQueryRoutineSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Paths of the imported libraries.
    * 
* * repeated string imported_libraries = 1; + * * @return A list containing the importedLibraries. */ - java.util.List - getImportedLibrariesList(); + java.util.List getImportedLibrariesList(); /** + * + * *
    * Paths of the imported libraries.
    * 
* * repeated string imported_libraries = 1; + * * @return The count of importedLibraries. */ int getImportedLibrariesCount(); /** + * + * *
    * Paths of the imported libraries.
    * 
* * repeated string imported_libraries = 1; + * * @param index The index of the element to return. * @return The importedLibraries at the given index. */ java.lang.String getImportedLibraries(int index); /** + * + * *
    * Paths of the imported libraries.
    * 
* * repeated string imported_libraries = 1; + * * @param index The index of the value to return. * @return The bytes of the importedLibraries at the given index. */ - com.google.protobuf.ByteString - getImportedLibrariesBytes(int index); + com.google.protobuf.ByteString getImportedLibrariesBytes(int index); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpec.java similarity index 69% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpec.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpec.java index 57c080a1e571..a4b540547201 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpec.java @@ -1,58 +1,81 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/table_spec.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Describes a BigQuery table.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.BigQueryTableSpec} */ -public final class BigQueryTableSpec extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BigQueryTableSpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.BigQueryTableSpec) BigQueryTableSpecOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BigQueryTableSpec.newBuilder() to construct. private BigQueryTableSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BigQueryTableSpec() { tableSourceType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BigQueryTableSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_BigQueryTableSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.TableSpecOuterClass + .internal_static_google_cloud_datacatalog_v1_BigQueryTableSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_BigQueryTableSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.TableSpecOuterClass + .internal_static_google_cloud_datacatalog_v1_BigQueryTableSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.BigQueryTableSpec.class, com.google.cloud.datacatalog.v1.BigQueryTableSpec.Builder.class); + com.google.cloud.datacatalog.v1.BigQueryTableSpec.class, + com.google.cloud.datacatalog.v1.BigQueryTableSpec.Builder.class); } private int typeSpecCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object typeSpec_; + public enum TypeSpecCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { VIEW_SPEC(2), TABLE_SPEC(3), TYPESPEC_NOT_SET(0); private final int value; + private TypeSpecCase(int value) { this.value = value; } @@ -68,57 +91,76 @@ public static TypeSpecCase valueOf(int value) { public static TypeSpecCase forNumber(int value) { switch (value) { - case 2: return VIEW_SPEC; - case 3: return TABLE_SPEC; - case 0: return TYPESPEC_NOT_SET; - default: return null; + case 2: + return VIEW_SPEC; + case 3: + return TABLE_SPEC; + case 0: + return TYPESPEC_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TypeSpecCase - getTypeSpecCase() { - return TypeSpecCase.forNumber( - typeSpecCase_); + public TypeSpecCase getTypeSpecCase() { + return TypeSpecCase.forNumber(typeSpecCase_); } public static final int TABLE_SOURCE_TYPE_FIELD_NUMBER = 1; private int tableSourceType_ = 0; /** + * + * *
    * Output only. The table source type.
    * 
* - * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for tableSourceType. */ - @java.lang.Override public int getTableSourceTypeValue() { + @java.lang.Override + public int getTableSourceTypeValue() { return tableSourceType_; } /** + * + * *
    * Output only. The table source type.
    * 
* - * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The tableSourceType. */ - @java.lang.Override public com.google.cloud.datacatalog.v1.TableSourceType getTableSourceType() { - com.google.cloud.datacatalog.v1.TableSourceType result = com.google.cloud.datacatalog.v1.TableSourceType.forNumber(tableSourceType_); + @java.lang.Override + public com.google.cloud.datacatalog.v1.TableSourceType getTableSourceType() { + com.google.cloud.datacatalog.v1.TableSourceType result = + com.google.cloud.datacatalog.v1.TableSourceType.forNumber(tableSourceType_); return result == null ? com.google.cloud.datacatalog.v1.TableSourceType.UNRECOGNIZED : result; } public static final int VIEW_SPEC_FIELD_NUMBER = 2; /** + * + * *
    * Table view specification. Populated only if
    * the `table_source_type` is `BIGQUERY_VIEW`.
    * 
* * .google.cloud.datacatalog.v1.ViewSpec view_spec = 2; + * * @return Whether the viewSpec field is set. */ @java.lang.Override @@ -126,22 +168,27 @@ public boolean hasViewSpec() { return typeSpecCase_ == 2; } /** + * + * *
    * Table view specification. Populated only if
    * the `table_source_type` is `BIGQUERY_VIEW`.
    * 
* * .google.cloud.datacatalog.v1.ViewSpec view_spec = 2; + * * @return The viewSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.ViewSpec getViewSpec() { if (typeSpecCase_ == 2) { - return (com.google.cloud.datacatalog.v1.ViewSpec) typeSpec_; + return (com.google.cloud.datacatalog.v1.ViewSpec) typeSpec_; } return com.google.cloud.datacatalog.v1.ViewSpec.getDefaultInstance(); } /** + * + * *
    * Table view specification. Populated only if
    * the `table_source_type` is `BIGQUERY_VIEW`.
@@ -152,19 +199,22 @@ public com.google.cloud.datacatalog.v1.ViewSpec getViewSpec() {
   @java.lang.Override
   public com.google.cloud.datacatalog.v1.ViewSpecOrBuilder getViewSpecOrBuilder() {
     if (typeSpecCase_ == 2) {
-       return (com.google.cloud.datacatalog.v1.ViewSpec) typeSpec_;
+      return (com.google.cloud.datacatalog.v1.ViewSpec) typeSpec_;
     }
     return com.google.cloud.datacatalog.v1.ViewSpec.getDefaultInstance();
   }
 
   public static final int TABLE_SPEC_FIELD_NUMBER = 3;
   /**
+   *
+   *
    * 
    * Specification of a BigQuery table. Populated only if
    * the `table_source_type` is `BIGQUERY_TABLE`.
    * 
* * .google.cloud.datacatalog.v1.TableSpec table_spec = 3; + * * @return Whether the tableSpec field is set. */ @java.lang.Override @@ -172,22 +222,27 @@ public boolean hasTableSpec() { return typeSpecCase_ == 3; } /** + * + * *
    * Specification of a BigQuery table. Populated only if
    * the `table_source_type` is `BIGQUERY_TABLE`.
    * 
* * .google.cloud.datacatalog.v1.TableSpec table_spec = 3; + * * @return The tableSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.TableSpec getTableSpec() { if (typeSpecCase_ == 3) { - return (com.google.cloud.datacatalog.v1.TableSpec) typeSpec_; + return (com.google.cloud.datacatalog.v1.TableSpec) typeSpec_; } return com.google.cloud.datacatalog.v1.TableSpec.getDefaultInstance(); } /** + * + * *
    * Specification of a BigQuery table. Populated only if
    * the `table_source_type` is `BIGQUERY_TABLE`.
@@ -198,12 +253,13 @@ public com.google.cloud.datacatalog.v1.TableSpec getTableSpec() {
   @java.lang.Override
   public com.google.cloud.datacatalog.v1.TableSpecOrBuilder getTableSpecOrBuilder() {
     if (typeSpecCase_ == 3) {
-       return (com.google.cloud.datacatalog.v1.TableSpec) typeSpec_;
+      return (com.google.cloud.datacatalog.v1.TableSpec) typeSpec_;
     }
     return com.google.cloud.datacatalog.v1.TableSpec.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -215,9 +271,10 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
-    if (tableSourceType_ != com.google.cloud.datacatalog.v1.TableSourceType.TABLE_SOURCE_TYPE_UNSPECIFIED.getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    if (tableSourceType_
+        != com.google.cloud.datacatalog.v1.TableSourceType.TABLE_SOURCE_TYPE_UNSPECIFIED
+            .getNumber()) {
       output.writeEnum(1, tableSourceType_);
     }
     if (typeSpecCase_ == 2) {
@@ -235,17 +292,20 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (tableSourceType_ != com.google.cloud.datacatalog.v1.TableSourceType.TABLE_SOURCE_TYPE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(1, tableSourceType_);
+    if (tableSourceType_
+        != com.google.cloud.datacatalog.v1.TableSourceType.TABLE_SOURCE_TYPE_UNSPECIFIED
+            .getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, tableSourceType_);
     }
     if (typeSpecCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, (com.google.cloud.datacatalog.v1.ViewSpec) typeSpec_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, (com.google.cloud.datacatalog.v1.ViewSpec) typeSpec_);
     }
     if (typeSpecCase_ == 3) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, (com.google.cloud.datacatalog.v1.TableSpec) typeSpec_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              3, (com.google.cloud.datacatalog.v1.TableSpec) typeSpec_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -255,23 +315,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.datacatalog.v1.BigQueryTableSpec)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1.BigQueryTableSpec other = (com.google.cloud.datacatalog.v1.BigQueryTableSpec) obj;
+    com.google.cloud.datacatalog.v1.BigQueryTableSpec other =
+        (com.google.cloud.datacatalog.v1.BigQueryTableSpec) obj;
 
     if (tableSourceType_ != other.tableSourceType_) return false;
     if (!getTypeSpecCase().equals(other.getTypeSpecCase())) return false;
     switch (typeSpecCase_) {
       case 2:
-        if (!getViewSpec()
-            .equals(other.getViewSpec())) return false;
+        if (!getViewSpec().equals(other.getViewSpec())) return false;
         break;
       case 3:
-        if (!getTableSpec()
-            .equals(other.getTableSpec())) return false;
+        if (!getTableSpec().equals(other.getTableSpec())) return false;
         break;
       case 0:
       default:
@@ -307,131 +366,135 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1.BigQueryTableSpec parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.BigQueryTableSpec parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.BigQueryTableSpec parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.BigQueryTableSpec parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.BigQueryTableSpec parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.BigQueryTableSpec parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.datacatalog.v1.BigQueryTableSpec parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.datacatalog.v1.BigQueryTableSpec parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1.BigQueryTableSpec parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1.BigQueryTableSpec parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.BigQueryTableSpec parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1.BigQueryTableSpec parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.BigQueryTableSpec parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1.BigQueryTableSpec parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.datacatalog.v1.BigQueryTableSpec prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 a BigQuery table.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.BigQueryTableSpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.BigQueryTableSpec) com.google.cloud.datacatalog.v1.BigQueryTableSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_BigQueryTableSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.TableSpecOuterClass + .internal_static_google_cloud_datacatalog_v1_BigQueryTableSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_BigQueryTableSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.TableSpecOuterClass + .internal_static_google_cloud_datacatalog_v1_BigQueryTableSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.BigQueryTableSpec.class, com.google.cloud.datacatalog.v1.BigQueryTableSpec.Builder.class); + com.google.cloud.datacatalog.v1.BigQueryTableSpec.class, + com.google.cloud.datacatalog.v1.BigQueryTableSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.BigQueryTableSpec.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -449,9 +512,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_BigQueryTableSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.TableSpecOuterClass + .internal_static_google_cloud_datacatalog_v1_BigQueryTableSpec_descriptor; } @java.lang.Override @@ -470,8 +533,11 @@ public com.google.cloud.datacatalog.v1.BigQueryTableSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1.BigQueryTableSpec buildPartial() { - com.google.cloud.datacatalog.v1.BigQueryTableSpec result = new com.google.cloud.datacatalog.v1.BigQueryTableSpec(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1.BigQueryTableSpec result = + new com.google.cloud.datacatalog.v1.BigQueryTableSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -487,12 +553,10 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.BigQueryTableSpec res private void buildPartialOneofs(com.google.cloud.datacatalog.v1.BigQueryTableSpec result) { result.typeSpecCase_ = typeSpecCase_; result.typeSpec_ = this.typeSpec_; - if (typeSpecCase_ == 2 && - viewSpecBuilder_ != null) { + if (typeSpecCase_ == 2 && viewSpecBuilder_ != null) { result.typeSpec_ = viewSpecBuilder_.build(); } - if (typeSpecCase_ == 3 && - tableSpecBuilder_ != null) { + if (typeSpecCase_ == 3 && tableSpecBuilder_ != null) { result.typeSpec_ = tableSpecBuilder_.build(); } } @@ -501,38 +565,39 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.BigQueryTableSpe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.BigQueryTableSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1.BigQueryTableSpec)other); + return mergeFrom((com.google.cloud.datacatalog.v1.BigQueryTableSpec) other); } else { super.mergeFrom(other); return this; @@ -540,22 +605,26 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.BigQueryTableSpec other) { - if (other == com.google.cloud.datacatalog.v1.BigQueryTableSpec.getDefaultInstance()) return this; + if (other == com.google.cloud.datacatalog.v1.BigQueryTableSpec.getDefaultInstance()) + return this; if (other.tableSourceType_ != 0) { setTableSourceTypeValue(other.getTableSourceTypeValue()); } switch (other.getTypeSpecCase()) { - case VIEW_SPEC: { - mergeViewSpec(other.getViewSpec()); - break; - } - case TABLE_SPEC: { - mergeTableSpec(other.getTableSpec()); - break; - } - case TYPESPEC_NOT_SET: { - break; - } + case VIEW_SPEC: + { + mergeViewSpec(other.getViewSpec()); + break; + } + case TABLE_SPEC: + { + mergeTableSpec(other.getTableSpec()); + break; + } + case TYPESPEC_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -583,31 +652,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - tableSourceType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - input.readMessage( - getViewSpecFieldBuilder().getBuilder(), - extensionRegistry); - typeSpecCase_ = 2; - break; - } // case 18 - case 26: { - input.readMessage( - getTableSpecFieldBuilder().getBuilder(), - extensionRegistry); - typeSpecCase_ = 3; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + tableSourceType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage(getViewSpecFieldBuilder().getBuilder(), extensionRegistry); + typeSpecCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage(getTableSpecFieldBuilder().getBuilder(), extensionRegistry); + typeSpecCase_ = 3; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -617,12 +686,12 @@ public Builder mergeFrom( } // finally return this; } + private int typeSpecCase_ = 0; private java.lang.Object typeSpec_; - public TypeSpecCase - getTypeSpecCase() { - return TypeSpecCase.forNumber( - typeSpecCase_); + + public TypeSpecCase getTypeSpecCase() { + return TypeSpecCase.forNumber(typeSpecCase_); } public Builder clearTypeSpec() { @@ -636,22 +705,33 @@ public Builder clearTypeSpec() { private int tableSourceType_ = 0; /** + * + * *
      * Output only. The table source type.
      * 
* - * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for tableSourceType. */ - @java.lang.Override public int getTableSourceTypeValue() { + @java.lang.Override + public int getTableSourceTypeValue() { return tableSourceType_; } /** + * + * *
      * Output only. The table source type.
      * 
* - * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for tableSourceType to set. * @return This builder for chaining. */ @@ -662,24 +742,35 @@ public Builder setTableSourceTypeValue(int value) { return this; } /** + * + * *
      * Output only. The table source type.
      * 
* - * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The tableSourceType. */ @java.lang.Override public com.google.cloud.datacatalog.v1.TableSourceType getTableSourceType() { - com.google.cloud.datacatalog.v1.TableSourceType result = com.google.cloud.datacatalog.v1.TableSourceType.forNumber(tableSourceType_); + com.google.cloud.datacatalog.v1.TableSourceType result = + com.google.cloud.datacatalog.v1.TableSourceType.forNumber(tableSourceType_); return result == null ? com.google.cloud.datacatalog.v1.TableSourceType.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The table source type.
      * 
* - * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The tableSourceType to set. * @return This builder for chaining. */ @@ -693,11 +784,16 @@ public Builder setTableSourceType(com.google.cloud.datacatalog.v1.TableSourceTyp return this; } /** + * + * *
      * Output only. The table source type.
      * 
* - * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearTableSourceType() { @@ -708,14 +804,20 @@ public Builder clearTableSourceType() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.ViewSpec, com.google.cloud.datacatalog.v1.ViewSpec.Builder, com.google.cloud.datacatalog.v1.ViewSpecOrBuilder> viewSpecBuilder_; + com.google.cloud.datacatalog.v1.ViewSpec, + com.google.cloud.datacatalog.v1.ViewSpec.Builder, + com.google.cloud.datacatalog.v1.ViewSpecOrBuilder> + viewSpecBuilder_; /** + * + * *
      * Table view specification. Populated only if
      * the `table_source_type` is `BIGQUERY_VIEW`.
      * 
* * .google.cloud.datacatalog.v1.ViewSpec view_spec = 2; + * * @return Whether the viewSpec field is set. */ @java.lang.Override @@ -723,12 +825,15 @@ public boolean hasViewSpec() { return typeSpecCase_ == 2; } /** + * + * *
      * Table view specification. Populated only if
      * the `table_source_type` is `BIGQUERY_VIEW`.
      * 
* * .google.cloud.datacatalog.v1.ViewSpec view_spec = 2; + * * @return The viewSpec. */ @java.lang.Override @@ -746,6 +851,8 @@ public com.google.cloud.datacatalog.v1.ViewSpec getViewSpec() { } } /** + * + * *
      * Table view specification. Populated only if
      * the `table_source_type` is `BIGQUERY_VIEW`.
@@ -767,6 +874,8 @@ public Builder setViewSpec(com.google.cloud.datacatalog.v1.ViewSpec value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Table view specification. Populated only if
      * the `table_source_type` is `BIGQUERY_VIEW`.
@@ -774,8 +883,7 @@ public Builder setViewSpec(com.google.cloud.datacatalog.v1.ViewSpec value) {
      *
      * .google.cloud.datacatalog.v1.ViewSpec view_spec = 2;
      */
-    public Builder setViewSpec(
-        com.google.cloud.datacatalog.v1.ViewSpec.Builder builderForValue) {
+    public Builder setViewSpec(com.google.cloud.datacatalog.v1.ViewSpec.Builder builderForValue) {
       if (viewSpecBuilder_ == null) {
         typeSpec_ = builderForValue.build();
         onChanged();
@@ -786,6 +894,8 @@ public Builder setViewSpec(
       return this;
     }
     /**
+     *
+     *
      * 
      * Table view specification. Populated only if
      * the `table_source_type` is `BIGQUERY_VIEW`.
@@ -795,10 +905,13 @@ public Builder setViewSpec(
      */
     public Builder mergeViewSpec(com.google.cloud.datacatalog.v1.ViewSpec value) {
       if (viewSpecBuilder_ == null) {
-        if (typeSpecCase_ == 2 &&
-            typeSpec_ != com.google.cloud.datacatalog.v1.ViewSpec.getDefaultInstance()) {
-          typeSpec_ = com.google.cloud.datacatalog.v1.ViewSpec.newBuilder((com.google.cloud.datacatalog.v1.ViewSpec) typeSpec_)
-              .mergeFrom(value).buildPartial();
+        if (typeSpecCase_ == 2
+            && typeSpec_ != com.google.cloud.datacatalog.v1.ViewSpec.getDefaultInstance()) {
+          typeSpec_ =
+              com.google.cloud.datacatalog.v1.ViewSpec.newBuilder(
+                      (com.google.cloud.datacatalog.v1.ViewSpec) typeSpec_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           typeSpec_ = value;
         }
@@ -814,6 +927,8 @@ public Builder mergeViewSpec(com.google.cloud.datacatalog.v1.ViewSpec value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Table view specification. Populated only if
      * the `table_source_type` is `BIGQUERY_VIEW`.
@@ -838,6 +953,8 @@ public Builder clearViewSpec() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Table view specification. Populated only if
      * the `table_source_type` is `BIGQUERY_VIEW`.
@@ -849,6 +966,8 @@ public com.google.cloud.datacatalog.v1.ViewSpec.Builder getViewSpecBuilder() {
       return getViewSpecFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Table view specification. Populated only if
      * the `table_source_type` is `BIGQUERY_VIEW`.
@@ -868,6 +987,8 @@ public com.google.cloud.datacatalog.v1.ViewSpecOrBuilder getViewSpecOrBuilder()
       }
     }
     /**
+     *
+     *
      * 
      * Table view specification. Populated only if
      * the `table_source_type` is `BIGQUERY_VIEW`.
@@ -876,14 +997,19 @@ public com.google.cloud.datacatalog.v1.ViewSpecOrBuilder getViewSpecOrBuilder()
      * .google.cloud.datacatalog.v1.ViewSpec view_spec = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.ViewSpec, com.google.cloud.datacatalog.v1.ViewSpec.Builder, com.google.cloud.datacatalog.v1.ViewSpecOrBuilder> 
+            com.google.cloud.datacatalog.v1.ViewSpec,
+            com.google.cloud.datacatalog.v1.ViewSpec.Builder,
+            com.google.cloud.datacatalog.v1.ViewSpecOrBuilder>
         getViewSpecFieldBuilder() {
       if (viewSpecBuilder_ == null) {
         if (!(typeSpecCase_ == 2)) {
           typeSpec_ = com.google.cloud.datacatalog.v1.ViewSpec.getDefaultInstance();
         }
-        viewSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.ViewSpec, com.google.cloud.datacatalog.v1.ViewSpec.Builder, com.google.cloud.datacatalog.v1.ViewSpecOrBuilder>(
+        viewSpecBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.datacatalog.v1.ViewSpec,
+                com.google.cloud.datacatalog.v1.ViewSpec.Builder,
+                com.google.cloud.datacatalog.v1.ViewSpecOrBuilder>(
                 (com.google.cloud.datacatalog.v1.ViewSpec) typeSpec_,
                 getParentForChildren(),
                 isClean());
@@ -895,14 +1021,20 @@ public com.google.cloud.datacatalog.v1.ViewSpecOrBuilder getViewSpecOrBuilder()
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.TableSpec, com.google.cloud.datacatalog.v1.TableSpec.Builder, com.google.cloud.datacatalog.v1.TableSpecOrBuilder> tableSpecBuilder_;
+            com.google.cloud.datacatalog.v1.TableSpec,
+            com.google.cloud.datacatalog.v1.TableSpec.Builder,
+            com.google.cloud.datacatalog.v1.TableSpecOrBuilder>
+        tableSpecBuilder_;
     /**
+     *
+     *
      * 
      * Specification of a BigQuery table. Populated only if
      * the `table_source_type` is `BIGQUERY_TABLE`.
      * 
* * .google.cloud.datacatalog.v1.TableSpec table_spec = 3; + * * @return Whether the tableSpec field is set. */ @java.lang.Override @@ -910,12 +1042,15 @@ public boolean hasTableSpec() { return typeSpecCase_ == 3; } /** + * + * *
      * Specification of a BigQuery table. Populated only if
      * the `table_source_type` is `BIGQUERY_TABLE`.
      * 
* * .google.cloud.datacatalog.v1.TableSpec table_spec = 3; + * * @return The tableSpec. */ @java.lang.Override @@ -933,6 +1068,8 @@ public com.google.cloud.datacatalog.v1.TableSpec getTableSpec() { } } /** + * + * *
      * Specification of a BigQuery table. Populated only if
      * the `table_source_type` is `BIGQUERY_TABLE`.
@@ -954,6 +1091,8 @@ public Builder setTableSpec(com.google.cloud.datacatalog.v1.TableSpec value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification of a BigQuery table. Populated only if
      * the `table_source_type` is `BIGQUERY_TABLE`.
@@ -961,8 +1100,7 @@ public Builder setTableSpec(com.google.cloud.datacatalog.v1.TableSpec value) {
      *
      * .google.cloud.datacatalog.v1.TableSpec table_spec = 3;
      */
-    public Builder setTableSpec(
-        com.google.cloud.datacatalog.v1.TableSpec.Builder builderForValue) {
+    public Builder setTableSpec(com.google.cloud.datacatalog.v1.TableSpec.Builder builderForValue) {
       if (tableSpecBuilder_ == null) {
         typeSpec_ = builderForValue.build();
         onChanged();
@@ -973,6 +1111,8 @@ public Builder setTableSpec(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification of a BigQuery table. Populated only if
      * the `table_source_type` is `BIGQUERY_TABLE`.
@@ -982,10 +1122,13 @@ public Builder setTableSpec(
      */
     public Builder mergeTableSpec(com.google.cloud.datacatalog.v1.TableSpec value) {
       if (tableSpecBuilder_ == null) {
-        if (typeSpecCase_ == 3 &&
-            typeSpec_ != com.google.cloud.datacatalog.v1.TableSpec.getDefaultInstance()) {
-          typeSpec_ = com.google.cloud.datacatalog.v1.TableSpec.newBuilder((com.google.cloud.datacatalog.v1.TableSpec) typeSpec_)
-              .mergeFrom(value).buildPartial();
+        if (typeSpecCase_ == 3
+            && typeSpec_ != com.google.cloud.datacatalog.v1.TableSpec.getDefaultInstance()) {
+          typeSpec_ =
+              com.google.cloud.datacatalog.v1.TableSpec.newBuilder(
+                      (com.google.cloud.datacatalog.v1.TableSpec) typeSpec_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           typeSpec_ = value;
         }
@@ -1001,6 +1144,8 @@ public Builder mergeTableSpec(com.google.cloud.datacatalog.v1.TableSpec value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification of a BigQuery table. Populated only if
      * the `table_source_type` is `BIGQUERY_TABLE`.
@@ -1025,6 +1170,8 @@ public Builder clearTableSpec() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification of a BigQuery table. Populated only if
      * the `table_source_type` is `BIGQUERY_TABLE`.
@@ -1036,6 +1183,8 @@ public com.google.cloud.datacatalog.v1.TableSpec.Builder getTableSpecBuilder() {
       return getTableSpecFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Specification of a BigQuery table. Populated only if
      * the `table_source_type` is `BIGQUERY_TABLE`.
@@ -1055,6 +1204,8 @@ public com.google.cloud.datacatalog.v1.TableSpecOrBuilder getTableSpecOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Specification of a BigQuery table. Populated only if
      * the `table_source_type` is `BIGQUERY_TABLE`.
@@ -1063,14 +1214,19 @@ public com.google.cloud.datacatalog.v1.TableSpecOrBuilder getTableSpecOrBuilder(
      * .google.cloud.datacatalog.v1.TableSpec table_spec = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.TableSpec, com.google.cloud.datacatalog.v1.TableSpec.Builder, com.google.cloud.datacatalog.v1.TableSpecOrBuilder> 
+            com.google.cloud.datacatalog.v1.TableSpec,
+            com.google.cloud.datacatalog.v1.TableSpec.Builder,
+            com.google.cloud.datacatalog.v1.TableSpecOrBuilder>
         getTableSpecFieldBuilder() {
       if (tableSpecBuilder_ == null) {
         if (!(typeSpecCase_ == 3)) {
           typeSpec_ = com.google.cloud.datacatalog.v1.TableSpec.getDefaultInstance();
         }
-        tableSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.TableSpec, com.google.cloud.datacatalog.v1.TableSpec.Builder, com.google.cloud.datacatalog.v1.TableSpecOrBuilder>(
+        tableSpecBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.datacatalog.v1.TableSpec,
+                com.google.cloud.datacatalog.v1.TableSpec.Builder,
+                com.google.cloud.datacatalog.v1.TableSpecOrBuilder>(
                 (com.google.cloud.datacatalog.v1.TableSpec) typeSpec_,
                 getParentForChildren(),
                 isClean());
@@ -1080,9 +1236,9 @@ public com.google.cloud.datacatalog.v1.TableSpecOrBuilder getTableSpecOrBuilder(
       onChanged();
       return tableSpecBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1092,12 +1248,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.BigQueryTableSpec)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.BigQueryTableSpec)
   private static final com.google.cloud.datacatalog.v1.BigQueryTableSpec DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.BigQueryTableSpec();
   }
@@ -1106,27 +1262,27 @@ public static com.google.cloud.datacatalog.v1.BigQueryTableSpec getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BigQueryTableSpec parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BigQueryTableSpec parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1141,6 +1297,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1.BigQueryTableSpec getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpecOrBuilder.java
similarity index 70%
rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpecOrBuilder.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpecOrBuilder.java
index 55cf067e9d94..d0090852bcfc 100644
--- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpecOrBuilder.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpecOrBuilder.java
@@ -1,52 +1,86 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/table_spec.proto
 
 package com.google.cloud.datacatalog.v1;
 
-public interface BigQueryTableSpecOrBuilder extends
+public interface BigQueryTableSpecOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.BigQueryTableSpec)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Output only. The table source type.
    * 
* - * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for tableSourceType. */ int getTableSourceTypeValue(); /** + * + * *
    * Output only. The table source type.
    * 
* - * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The tableSourceType. */ com.google.cloud.datacatalog.v1.TableSourceType getTableSourceType(); /** + * + * *
    * Table view specification. Populated only if
    * the `table_source_type` is `BIGQUERY_VIEW`.
    * 
* * .google.cloud.datacatalog.v1.ViewSpec view_spec = 2; + * * @return Whether the viewSpec field is set. */ boolean hasViewSpec(); /** + * + * *
    * Table view specification. Populated only if
    * the `table_source_type` is `BIGQUERY_VIEW`.
    * 
* * .google.cloud.datacatalog.v1.ViewSpec view_spec = 2; + * * @return The viewSpec. */ com.google.cloud.datacatalog.v1.ViewSpec getViewSpec(); /** + * + * *
    * Table view specification. Populated only if
    * the `table_source_type` is `BIGQUERY_VIEW`.
@@ -57,26 +91,34 @@ public interface BigQueryTableSpecOrBuilder extends
   com.google.cloud.datacatalog.v1.ViewSpecOrBuilder getViewSpecOrBuilder();
 
   /**
+   *
+   *
    * 
    * Specification of a BigQuery table. Populated only if
    * the `table_source_type` is `BIGQUERY_TABLE`.
    * 
* * .google.cloud.datacatalog.v1.TableSpec table_spec = 3; + * * @return Whether the tableSpec field is set. */ boolean hasTableSpec(); /** + * + * *
    * Specification of a BigQuery table. Populated only if
    * the `table_source_type` is `BIGQUERY_TABLE`.
    * 
* * .google.cloud.datacatalog.v1.TableSpec table_spec = 3; + * * @return The tableSpec. */ com.google.cloud.datacatalog.v1.TableSpec getTableSpec(); /** + * + * *
    * Specification of a BigQuery table. Populated only if
    * the `table_source_type` is `BIGQUERY_TABLE`.
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContext.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContext.java
similarity index 67%
rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContext.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContext.java
index 02c771a006ac..b0ec66afecbc 100644
--- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContext.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContext.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/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
 /**
+ *
+ *
  * 
  * Business Context of the entry.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.BusinessContext} */ -public final class BusinessContext extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BusinessContext extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.BusinessContext) BusinessContextOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BusinessContext.newBuilder() to construct. private BusinessContext(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BusinessContext() { - } + + private BusinessContext() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BusinessContext(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_BusinessContext_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_BusinessContext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_BusinessContext_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_BusinessContext_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.BusinessContext.class, com.google.cloud.datacatalog.v1.BusinessContext.Builder.class); + com.google.cloud.datacatalog.v1.BusinessContext.class, + com.google.cloud.datacatalog.v1.BusinessContext.Builder.class); } public static final int ENTRY_OVERVIEW_FIELD_NUMBER = 1; private com.google.cloud.datacatalog.v1.EntryOverview entryOverview_; /** + * + * *
    * Entry overview fields for rich text descriptions of entries.
    * 
* * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 1; + * * @return Whether the entryOverview field is set. */ @java.lang.Override @@ -57,18 +78,25 @@ public boolean hasEntryOverview() { return entryOverview_ != null; } /** + * + * *
    * Entry overview fields for rich text descriptions of entries.
    * 
* * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 1; + * * @return The entryOverview. */ @java.lang.Override public com.google.cloud.datacatalog.v1.EntryOverview getEntryOverview() { - return entryOverview_ == null ? com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance() : entryOverview_; + return entryOverview_ == null + ? com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance() + : entryOverview_; } /** + * + * *
    * Entry overview fields for rich text descriptions of entries.
    * 
@@ -77,17 +105,22 @@ public com.google.cloud.datacatalog.v1.EntryOverview getEntryOverview() { */ @java.lang.Override public com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder getEntryOverviewOrBuilder() { - return entryOverview_ == null ? com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance() : entryOverview_; + return entryOverview_ == null + ? com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance() + : entryOverview_; } public static final int CONTACTS_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1.Contacts contacts_; /** + * + * *
    * Contact people for the entry.
    * 
* * .google.cloud.datacatalog.v1.Contacts contacts = 2; + * * @return Whether the contacts field is set. */ @java.lang.Override @@ -95,18 +128,25 @@ public boolean hasContacts() { return contacts_ != null; } /** + * + * *
    * Contact people for the entry.
    * 
* * .google.cloud.datacatalog.v1.Contacts contacts = 2; + * * @return The contacts. */ @java.lang.Override public com.google.cloud.datacatalog.v1.Contacts getContacts() { - return contacts_ == null ? com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance() : contacts_; + return contacts_ == null + ? com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance() + : contacts_; } /** + * + * *
    * Contact people for the entry.
    * 
@@ -115,10 +155,13 @@ public com.google.cloud.datacatalog.v1.Contacts getContacts() { */ @java.lang.Override public com.google.cloud.datacatalog.v1.ContactsOrBuilder getContactsOrBuilder() { - return contacts_ == null ? com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance() : contacts_; + return contacts_ == null + ? com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance() + : contacts_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -130,8 +173,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (entryOverview_ != null) { output.writeMessage(1, getEntryOverview()); } @@ -148,12 +190,10 @@ public int getSerializedSize() { size = 0; if (entryOverview_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getEntryOverview()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntryOverview()); } if (contacts_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getContacts()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getContacts()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -163,22 +203,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.BusinessContext)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.BusinessContext other = (com.google.cloud.datacatalog.v1.BusinessContext) obj; + com.google.cloud.datacatalog.v1.BusinessContext other = + (com.google.cloud.datacatalog.v1.BusinessContext) obj; if (hasEntryOverview() != other.hasEntryOverview()) return false; if (hasEntryOverview()) { - if (!getEntryOverview() - .equals(other.getEntryOverview())) return false; + if (!getEntryOverview().equals(other.getEntryOverview())) return false; } if (hasContacts() != other.hasContacts()) return false; if (hasContacts()) { - if (!getContacts() - .equals(other.getContacts())) return false; + if (!getContacts().equals(other.getContacts())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -204,132 +243,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.BusinessContext parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.BusinessContext parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.BusinessContext parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.BusinessContext parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.BusinessContext parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.BusinessContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.BusinessContext parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.BusinessContext parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.BusinessContext parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.BusinessContext parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.BusinessContext parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.BusinessContext parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.BusinessContext parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.BusinessContext parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.BusinessContext prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Business Context of the entry.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.BusinessContext} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.BusinessContext) com.google.cloud.datacatalog.v1.BusinessContextOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_BusinessContext_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_BusinessContext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_BusinessContext_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_BusinessContext_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.BusinessContext.class, com.google.cloud.datacatalog.v1.BusinessContext.Builder.class); + com.google.cloud.datacatalog.v1.BusinessContext.class, + com.google.cloud.datacatalog.v1.BusinessContext.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.BusinessContext.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -348,9 +391,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_BusinessContext_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_BusinessContext_descriptor; } @java.lang.Override @@ -369,8 +412,11 @@ public com.google.cloud.datacatalog.v1.BusinessContext build() { @java.lang.Override public com.google.cloud.datacatalog.v1.BusinessContext buildPartial() { - com.google.cloud.datacatalog.v1.BusinessContext result = new com.google.cloud.datacatalog.v1.BusinessContext(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1.BusinessContext result = + new com.google.cloud.datacatalog.v1.BusinessContext(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -378,14 +424,11 @@ public com.google.cloud.datacatalog.v1.BusinessContext buildPartial() { private void buildPartial0(com.google.cloud.datacatalog.v1.BusinessContext result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.entryOverview_ = entryOverviewBuilder_ == null - ? entryOverview_ - : entryOverviewBuilder_.build(); + result.entryOverview_ = + entryOverviewBuilder_ == null ? entryOverview_ : entryOverviewBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.contacts_ = contactsBuilder_ == null - ? contacts_ - : contactsBuilder_.build(); + result.contacts_ = contactsBuilder_ == null ? contacts_ : contactsBuilder_.build(); } } @@ -393,38 +436,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.BusinessContext 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.datacatalog.v1.BusinessContext) { - return mergeFrom((com.google.cloud.datacatalog.v1.BusinessContext)other); + return mergeFrom((com.google.cloud.datacatalog.v1.BusinessContext) other); } else { super.mergeFrom(other); return this; @@ -432,7 +476,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.BusinessContext other) { - if (other == com.google.cloud.datacatalog.v1.BusinessContext.getDefaultInstance()) return this; + if (other == com.google.cloud.datacatalog.v1.BusinessContext.getDefaultInstance()) + return this; if (other.hasEntryOverview()) { mergeEntryOverview(other.getEntryOverview()); } @@ -465,26 +510,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getEntryOverviewFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getContactsFieldBuilder().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(getEntryOverviewFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getContactsFieldBuilder().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) { @@ -494,38 +538,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.datacatalog.v1.EntryOverview entryOverview_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.EntryOverview, com.google.cloud.datacatalog.v1.EntryOverview.Builder, com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder> entryOverviewBuilder_; + com.google.cloud.datacatalog.v1.EntryOverview, + com.google.cloud.datacatalog.v1.EntryOverview.Builder, + com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder> + entryOverviewBuilder_; /** + * + * *
      * Entry overview fields for rich text descriptions of entries.
      * 
* * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 1; + * * @return Whether the entryOverview field is set. */ public boolean hasEntryOverview() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Entry overview fields for rich text descriptions of entries.
      * 
* * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 1; + * * @return The entryOverview. */ public com.google.cloud.datacatalog.v1.EntryOverview getEntryOverview() { if (entryOverviewBuilder_ == null) { - return entryOverview_ == null ? com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance() : entryOverview_; + return entryOverview_ == null + ? com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance() + : entryOverview_; } else { return entryOverviewBuilder_.getMessage(); } } /** + * + * *
      * Entry overview fields for rich text descriptions of entries.
      * 
@@ -546,6 +604,8 @@ public Builder setEntryOverview(com.google.cloud.datacatalog.v1.EntryOverview va return this; } /** + * + * *
      * Entry overview fields for rich text descriptions of entries.
      * 
@@ -564,6 +624,8 @@ public Builder setEntryOverview( return this; } /** + * + * *
      * Entry overview fields for rich text descriptions of entries.
      * 
@@ -572,9 +634,10 @@ public Builder setEntryOverview( */ public Builder mergeEntryOverview(com.google.cloud.datacatalog.v1.EntryOverview value) { if (entryOverviewBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - entryOverview_ != null && - entryOverview_ != com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && entryOverview_ != null + && entryOverview_ + != com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance()) { getEntryOverviewBuilder().mergeFrom(value); } else { entryOverview_ = value; @@ -587,6 +650,8 @@ public Builder mergeEntryOverview(com.google.cloud.datacatalog.v1.EntryOverview return this; } /** + * + * *
      * Entry overview fields for rich text descriptions of entries.
      * 
@@ -604,6 +669,8 @@ public Builder clearEntryOverview() { return this; } /** + * + * *
      * Entry overview fields for rich text descriptions of entries.
      * 
@@ -616,6 +683,8 @@ public com.google.cloud.datacatalog.v1.EntryOverview.Builder getEntryOverviewBui return getEntryOverviewFieldBuilder().getBuilder(); } /** + * + * *
      * Entry overview fields for rich text descriptions of entries.
      * 
@@ -626,11 +695,14 @@ public com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder getEntryOverviewOr if (entryOverviewBuilder_ != null) { return entryOverviewBuilder_.getMessageOrBuilder(); } else { - return entryOverview_ == null ? - com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance() : entryOverview_; + return entryOverview_ == null + ? com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance() + : entryOverview_; } } /** + * + * *
      * Entry overview fields for rich text descriptions of entries.
      * 
@@ -638,14 +710,17 @@ public com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder getEntryOverviewOr * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.EntryOverview, com.google.cloud.datacatalog.v1.EntryOverview.Builder, com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder> + com.google.cloud.datacatalog.v1.EntryOverview, + com.google.cloud.datacatalog.v1.EntryOverview.Builder, + com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder> getEntryOverviewFieldBuilder() { if (entryOverviewBuilder_ == null) { - entryOverviewBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.EntryOverview, com.google.cloud.datacatalog.v1.EntryOverview.Builder, com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder>( - getEntryOverview(), - getParentForChildren(), - isClean()); + entryOverviewBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.EntryOverview, + com.google.cloud.datacatalog.v1.EntryOverview.Builder, + com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder>( + getEntryOverview(), getParentForChildren(), isClean()); entryOverview_ = null; } return entryOverviewBuilder_; @@ -653,34 +728,47 @@ public com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder getEntryOverviewOr private com.google.cloud.datacatalog.v1.Contacts contacts_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Contacts, com.google.cloud.datacatalog.v1.Contacts.Builder, com.google.cloud.datacatalog.v1.ContactsOrBuilder> contactsBuilder_; + com.google.cloud.datacatalog.v1.Contacts, + com.google.cloud.datacatalog.v1.Contacts.Builder, + com.google.cloud.datacatalog.v1.ContactsOrBuilder> + contactsBuilder_; /** + * + * *
      * Contact people for the entry.
      * 
* * .google.cloud.datacatalog.v1.Contacts contacts = 2; + * * @return Whether the contacts field is set. */ public boolean hasContacts() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Contact people for the entry.
      * 
* * .google.cloud.datacatalog.v1.Contacts contacts = 2; + * * @return The contacts. */ public com.google.cloud.datacatalog.v1.Contacts getContacts() { if (contactsBuilder_ == null) { - return contacts_ == null ? com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance() : contacts_; + return contacts_ == null + ? com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance() + : contacts_; } else { return contactsBuilder_.getMessage(); } } /** + * + * *
      * Contact people for the entry.
      * 
@@ -701,14 +789,15 @@ public Builder setContacts(com.google.cloud.datacatalog.v1.Contacts value) { return this; } /** + * + * *
      * Contact people for the entry.
      * 
* * .google.cloud.datacatalog.v1.Contacts contacts = 2; */ - public Builder setContacts( - com.google.cloud.datacatalog.v1.Contacts.Builder builderForValue) { + public Builder setContacts(com.google.cloud.datacatalog.v1.Contacts.Builder builderForValue) { if (contactsBuilder_ == null) { contacts_ = builderForValue.build(); } else { @@ -719,6 +808,8 @@ public Builder setContacts( return this; } /** + * + * *
      * Contact people for the entry.
      * 
@@ -727,9 +818,9 @@ public Builder setContacts( */ public Builder mergeContacts(com.google.cloud.datacatalog.v1.Contacts value) { if (contactsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - contacts_ != null && - contacts_ != com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && contacts_ != null + && contacts_ != com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance()) { getContactsBuilder().mergeFrom(value); } else { contacts_ = value; @@ -742,6 +833,8 @@ public Builder mergeContacts(com.google.cloud.datacatalog.v1.Contacts value) { return this; } /** + * + * *
      * Contact people for the entry.
      * 
@@ -759,6 +852,8 @@ public Builder clearContacts() { return this; } /** + * + * *
      * Contact people for the entry.
      * 
@@ -771,6 +866,8 @@ public com.google.cloud.datacatalog.v1.Contacts.Builder getContactsBuilder() { return getContactsFieldBuilder().getBuilder(); } /** + * + * *
      * Contact people for the entry.
      * 
@@ -781,11 +878,14 @@ public com.google.cloud.datacatalog.v1.ContactsOrBuilder getContactsOrBuilder() if (contactsBuilder_ != null) { return contactsBuilder_.getMessageOrBuilder(); } else { - return contacts_ == null ? - com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance() : contacts_; + return contacts_ == null + ? com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance() + : contacts_; } } /** + * + * *
      * Contact people for the entry.
      * 
@@ -793,21 +893,24 @@ public com.google.cloud.datacatalog.v1.ContactsOrBuilder getContactsOrBuilder() * .google.cloud.datacatalog.v1.Contacts contacts = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Contacts, com.google.cloud.datacatalog.v1.Contacts.Builder, com.google.cloud.datacatalog.v1.ContactsOrBuilder> + com.google.cloud.datacatalog.v1.Contacts, + com.google.cloud.datacatalog.v1.Contacts.Builder, + com.google.cloud.datacatalog.v1.ContactsOrBuilder> getContactsFieldBuilder() { if (contactsBuilder_ == null) { - contactsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Contacts, com.google.cloud.datacatalog.v1.Contacts.Builder, com.google.cloud.datacatalog.v1.ContactsOrBuilder>( - getContacts(), - getParentForChildren(), - isClean()); + contactsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.Contacts, + com.google.cloud.datacatalog.v1.Contacts.Builder, + com.google.cloud.datacatalog.v1.ContactsOrBuilder>( + getContacts(), getParentForChildren(), isClean()); contacts_ = null; } return contactsBuilder_; } + @java.lang.Override - 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 +920,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.BusinessContext) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.BusinessContext) private static final com.google.cloud.datacatalog.v1.BusinessContext DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.BusinessContext(); } @@ -831,27 +934,27 @@ public static com.google.cloud.datacatalog.v1.BusinessContext getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BusinessContext parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BusinessContext parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +969,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.BusinessContext getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContextOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContextOrBuilder.java similarity index 71% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContextOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContextOrBuilder.java index 417c73f282d1..146652f84263 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContextOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContextOrBuilder.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface BusinessContextOrBuilder extends +public interface BusinessContextOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.BusinessContext) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Entry overview fields for rich text descriptions of entries.
    * 
* * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 1; + * * @return Whether the entryOverview field is set. */ boolean hasEntryOverview(); /** + * + * *
    * Entry overview fields for rich text descriptions of entries.
    * 
* * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 1; + * * @return The entryOverview. */ com.google.cloud.datacatalog.v1.EntryOverview getEntryOverview(); /** + * + * *
    * Entry overview fields for rich text descriptions of entries.
    * 
@@ -35,24 +59,32 @@ public interface BusinessContextOrBuilder extends com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder getEntryOverviewOrBuilder(); /** + * + * *
    * Contact people for the entry.
    * 
* * .google.cloud.datacatalog.v1.Contacts contacts = 2; + * * @return Whether the contacts field is set. */ boolean hasContacts(); /** + * + * *
    * Contact people for the entry.
    * 
* * .google.cloud.datacatalog.v1.Contacts contacts = 2; + * * @return The contacts. */ com.google.cloud.datacatalog.v1.Contacts getContacts(); /** + * + * *
    * Contact people for the entry.
    * 
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpec.java similarity index 61% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpec.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpec.java index 3eef24dfbd48..be1610cfbdbf 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpec.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Specification that applies to Instance
  * entries that are part of `CLOUD_BIGTABLE` system.
@@ -12,139 +29,166 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.CloudBigtableInstanceSpec}
  */
-public final class CloudBigtableInstanceSpec extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CloudBigtableInstanceSpec extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.CloudBigtableInstanceSpec)
     CloudBigtableInstanceSpecOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CloudBigtableInstanceSpec.newBuilder() to construct.
   private CloudBigtableInstanceSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CloudBigtableInstanceSpec() {
     cloudBigtableClusterSpecs_ = 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 CloudBigtableInstanceSpec();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.class, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.Builder.class);
+            com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.class,
+            com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.Builder.class);
   }
 
-  public interface CloudBigtableClusterSpecOrBuilder extends
+  public interface CloudBigtableClusterSpecOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Name of the cluster.
      * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
      * Name of the cluster.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
      * Location of the cluster, typically a Cloud zone.
      * 
* * string location = 2; + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
      * Location of the cluster, typically a Cloud zone.
      * 
* * string location = 2; + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); /** + * + * *
      * Type of the resource. For a cluster this would be "CLUSTER".
      * 
* * string type = 3; + * * @return The type. */ java.lang.String getType(); /** + * + * *
      * Type of the resource. For a cluster this would be "CLUSTER".
      * 
* * string type = 3; + * * @return The bytes for type. */ - com.google.protobuf.ByteString - getTypeBytes(); + com.google.protobuf.ByteString getTypeBytes(); /** + * + * *
      * A link back to the parent resource, in this case Instance.
      * 
* * string linked_resource = 4; + * * @return The linkedResource. */ java.lang.String getLinkedResource(); /** + * + * *
      * A link back to the parent resource, in this case Instance.
      * 
* * string linked_resource = 4; + * * @return The bytes for linkedResource. */ - com.google.protobuf.ByteString - getLinkedResourceBytes(); + com.google.protobuf.ByteString getLinkedResourceBytes(); } /** + * + * *
    * Spec that applies to clusters of an Instance of Cloud Bigtable.
    * 
* - * Protobuf type {@code google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec} + * Protobuf type {@code + * google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec} */ - public static final class CloudBigtableClusterSpec extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CloudBigtableClusterSpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec) CloudBigtableClusterSpecOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CloudBigtableClusterSpec.newBuilder() to construct. private CloudBigtableClusterSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CloudBigtableClusterSpec() { displayName_ = ""; location_ = ""; @@ -154,33 +198,40 @@ private CloudBigtableClusterSpec() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CloudBigtableClusterSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.class, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder.class); + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + .class, + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + .Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
      * Name of the cluster.
      * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -189,29 +240,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; } } /** + * + * *
      * Name of the cluster.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -220,14 +271,18 @@ public java.lang.String getDisplayName() { } public static final int LOCATION_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object location_ = ""; /** + * + * *
      * Location of the cluster, typically a Cloud zone.
      * 
* * string location = 2; + * * @return The location. */ @java.lang.Override @@ -236,29 +291,29 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** + * + * *
      * Location of the cluster, typically a Cloud zone.
      * 
* * string location = 2; + * * @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 { @@ -267,14 +322,18 @@ public java.lang.String getLocation() { } public static final int TYPE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object type_ = ""; /** + * + * *
      * Type of the resource. For a cluster this would be "CLUSTER".
      * 
* * string type = 3; + * * @return The type. */ @java.lang.Override @@ -283,29 +342,29 @@ public java.lang.String getType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } } /** + * + * *
      * Type of the resource. For a cluster this would be "CLUSTER".
      * 
* * string type = 3; + * * @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 { @@ -314,14 +373,18 @@ public java.lang.String getType() { } public static final int LINKED_RESOURCE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object linkedResource_ = ""; /** + * + * *
      * A link back to the parent resource, in this case Instance.
      * 
* * string linked_resource = 4; + * * @return The linkedResource. */ @java.lang.Override @@ -330,29 +393,29 @@ public java.lang.String getLinkedResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); linkedResource_ = s; return s; } } /** + * + * *
      * A link back to the parent resource, in this case Instance.
      * 
* * string linked_resource = 4; + * * @return The bytes for linkedResource. */ @java.lang.Override - public com.google.protobuf.ByteString - getLinkedResourceBytes() { + public com.google.protobuf.ByteString getLinkedResourceBytes() { java.lang.Object ref = linkedResource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); linkedResource_ = b; return b; } else { @@ -361,6 +424,7 @@ public java.lang.String getLinkedResource() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -372,8 +436,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -415,21 +478,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.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec)) { + if (!(obj + instanceof + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec other = (com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec) obj; + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec other = + (com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec) obj; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getLocation() - .equals(other.getLocation())) return false; - if (!getType() - .equals(other.getType())) return false; - if (!getLinkedResource() - .equals(other.getLinkedResource())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getLocation().equals(other.getLocation())) return false; + if (!getType().equals(other.getType())) return false; + if (!getLinkedResource().equals(other.getLinkedResource())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -454,90 +516,102 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + 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.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec parseFrom( - java.io.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.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + parseFrom( + java.io.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.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec parseDelimitedFrom( - java.io.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.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + parseDelimitedFrom( + java.io.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.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec 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.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + 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.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -547,39 +621,46 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Spec that applies to clusters of an Instance of Cloud Bigtable.
      * 
* - * Protobuf type {@code google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec} + * Protobuf type {@code + * google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec) - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_descriptor; + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec + .CloudBigtableClusterSpecOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.class, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder.class); + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + .class, + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + .Builder.class); } - // Construct using com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.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(); @@ -592,19 +673,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_descriptor; } @java.lang.Override - public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec getDefaultInstanceForType() { - return com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.getDefaultInstance(); + public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + getDefaultInstanceForType() { + return com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec build() { - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec result = buildPartial(); + public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + build() { + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -612,14 +697,21 @@ public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableCl } @java.lang.Override - public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec buildPartial() { - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec result = new com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + buildPartial() { + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec result = + new com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec result) { + private void buildPartial0( + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.displayName_ = displayName_; @@ -639,46 +731,57 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CloudBigtableInstance public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec)other); + if (other + instanceof + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec) { + return mergeFrom( + (com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec other) { - if (other == com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + other) { + if (other + == com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + .getDefaultInstance()) return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -725,32 +828,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - location_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - type_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - linkedResource_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + location_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + type_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + linkedResource_ = 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) { @@ -760,22 +868,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object displayName_ = ""; /** + * + * *
        * Name of the cluster.
        * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -784,20 +895,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * Name of the cluster.
        * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -805,28 +917,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * Name of the cluster.
        * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Name of the cluster.
        * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -836,17 +955,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
        * Name of the cluster.
        * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -856,18 +979,20 @@ public Builder setDisplayNameBytes( private java.lang.Object location_ = ""; /** + * + * *
        * Location of the cluster, typically a Cloud zone.
        * 
* * string location = 2; + * * @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; @@ -876,20 +1001,21 @@ public java.lang.String getLocation() { } } /** + * + * *
        * Location of the cluster, typically a Cloud zone.
        * 
* * string location = 2; + * * @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 { @@ -897,28 +1023,35 @@ public java.lang.String getLocation() { } } /** + * + * *
        * Location of the cluster, typically a Cloud zone.
        * 
* * string location = 2; + * * @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_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Location of the cluster, typically a Cloud zone.
        * 
* * string location = 2; + * * @return This builder for chaining. */ public Builder clearLocation() { @@ -928,17 +1061,21 @@ public Builder clearLocation() { return this; } /** + * + * *
        * Location of the cluster, typically a Cloud zone.
        * 
* * string location = 2; + * * @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_ |= 0x00000002; @@ -948,18 +1085,20 @@ public Builder setLocationBytes( private java.lang.Object type_ = ""; /** + * + * *
        * Type of the resource. For a cluster this would be "CLUSTER".
        * 
* * string type = 3; + * * @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; @@ -968,20 +1107,21 @@ public java.lang.String getType() { } } /** + * + * *
        * Type of the resource. For a cluster this would be "CLUSTER".
        * 
* * string type = 3; + * * @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 { @@ -989,28 +1129,35 @@ public java.lang.String getType() { } } /** + * + * *
        * Type of the resource. For a cluster this would be "CLUSTER".
        * 
* * string type = 3; + * * @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_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * Type of the resource. For a cluster this would be "CLUSTER".
        * 
* * string type = 3; + * * @return This builder for chaining. */ public Builder clearType() { @@ -1020,17 +1167,21 @@ public Builder clearType() { return this; } /** + * + * *
        * Type of the resource. For a cluster this would be "CLUSTER".
        * 
* * string type = 3; + * * @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_ |= 0x00000004; @@ -1040,18 +1191,20 @@ public Builder setTypeBytes( private java.lang.Object linkedResource_ = ""; /** + * + * *
        * A link back to the parent resource, in this case Instance.
        * 
* * string linked_resource = 4; + * * @return The linkedResource. */ public java.lang.String getLinkedResource() { java.lang.Object ref = linkedResource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); linkedResource_ = s; return s; @@ -1060,20 +1213,21 @@ public java.lang.String getLinkedResource() { } } /** + * + * *
        * A link back to the parent resource, in this case Instance.
        * 
* * string linked_resource = 4; + * * @return The bytes for linkedResource. */ - public com.google.protobuf.ByteString - getLinkedResourceBytes() { + public com.google.protobuf.ByteString getLinkedResourceBytes() { java.lang.Object ref = linkedResource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); linkedResource_ = b; return b; } else { @@ -1081,28 +1235,35 @@ public java.lang.String getLinkedResource() { } } /** + * + * *
        * A link back to the parent resource, in this case Instance.
        * 
* * string linked_resource = 4; + * * @param value The linkedResource to set. * @return This builder for chaining. */ - public Builder setLinkedResource( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLinkedResource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } linkedResource_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
        * A link back to the parent resource, in this case Instance.
        * 
* * string linked_resource = 4; + * * @return This builder for chaining. */ public Builder clearLinkedResource() { @@ -1112,23 +1273,28 @@ public Builder clearLinkedResource() { return this; } /** + * + * *
        * A link back to the parent resource, in this case Instance.
        * 
* * string linked_resource = 4; + * * @param value The bytes for linkedResource to set. * @return This builder for chaining. */ - public Builder setLinkedResourceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); linkedResource_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1141,41 +1307,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec) - private static final com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec DEFAULT_INSTANCE; + private static final com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec + .CloudBigtableClusterSpec + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec(); + DEFAULT_INSTANCE = + new com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec(); } - public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec getDefaultInstance() { + public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudBigtableClusterSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudBigtableClusterSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1187,74 +1358,104 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int CLOUD_BIGTABLE_CLUSTER_SPECS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") - private java.util.List cloudBigtableClusterSpecs_; + private java.util.List< + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec> + cloudBigtableClusterSpecs_; /** + * + * *
    * The list of clusters for the Instance.
    * 
* - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * */ @java.lang.Override - public java.util.List getCloudBigtableClusterSpecsList() { + public java.util.List< + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec> + getCloudBigtableClusterSpecsList() { return cloudBigtableClusterSpecs_; } /** + * + * *
    * The list of clusters for the Instance.
    * 
* - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec + .CloudBigtableClusterSpecOrBuilder> getCloudBigtableClusterSpecsOrBuilderList() { return cloudBigtableClusterSpecs_; } /** + * + * *
    * The list of clusters for the Instance.
    * 
* - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * */ @java.lang.Override public int getCloudBigtableClusterSpecsCount() { return cloudBigtableClusterSpecs_.size(); } /** + * + * *
    * The list of clusters for the Instance.
    * 
* - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec getCloudBigtableClusterSpecs(int index) { + public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + getCloudBigtableClusterSpecs(int index) { return cloudBigtableClusterSpecs_.get(index); } /** + * + * *
    * The list of clusters for the Instance.
    * 
* - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpecOrBuilder getCloudBigtableClusterSpecsOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpecOrBuilder + getCloudBigtableClusterSpecsOrBuilder(int index) { return cloudBigtableClusterSpecs_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1266,8 +1467,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < cloudBigtableClusterSpecs_.size(); i++) { output.writeMessage(1, cloudBigtableClusterSpecs_.get(i)); } @@ -1281,8 +1481,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < cloudBigtableClusterSpecs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, cloudBigtableClusterSpecs_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, cloudBigtableClusterSpecs_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1292,15 +1493,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.datacatalog.v1.CloudBigtableInstanceSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec other = (com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) obj; + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec other = + (com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) obj; - if (!getCloudBigtableClusterSpecsList() - .equals(other.getCloudBigtableClusterSpecsList())) return false; + if (!getCloudBigtableClusterSpecsList().equals(other.getCloudBigtableClusterSpecsList())) + return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1322,98 +1524,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Specification that applies to Instance
    * entries that are part of `CLOUD_BIGTABLE` system.
@@ -1422,33 +1630,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.CloudBigtableInstanceSpec}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.CloudBigtableInstanceSpec)
       com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpecOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.class, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.Builder.class);
+              com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.class,
+              com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1464,9 +1671,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_descriptor;
     }
 
     @java.lang.Override
@@ -1485,17 +1692,22 @@ public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec buildPartial() {
-      com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec result = new com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec(this);
+      com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec result =
+          new com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec result) {
       if (cloudBigtableClusterSpecsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
-          cloudBigtableClusterSpecs_ = java.util.Collections.unmodifiableList(cloudBigtableClusterSpecs_);
+          cloudBigtableClusterSpecs_ =
+              java.util.Collections.unmodifiableList(cloudBigtableClusterSpecs_);
           bitField0_ = (bitField0_ & ~0x00000001);
         }
         result.cloudBigtableClusterSpecs_ = cloudBigtableClusterSpecs_;
@@ -1512,38 +1724,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CloudBigtableInstance
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1551,7 +1764,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec other) {
-      if (other == com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.getDefaultInstance())
+        return this;
       if (cloudBigtableClusterSpecsBuilder_ == null) {
         if (!other.cloudBigtableClusterSpecs_.isEmpty()) {
           if (cloudBigtableClusterSpecs_.isEmpty()) {
@@ -1570,9 +1784,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.CloudBigtableInstanceSp
             cloudBigtableClusterSpecsBuilder_ = null;
             cloudBigtableClusterSpecs_ = other.cloudBigtableClusterSpecs_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            cloudBigtableClusterSpecsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getCloudBigtableClusterSpecsFieldBuilder() : null;
+            cloudBigtableClusterSpecsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getCloudBigtableClusterSpecsFieldBuilder()
+                    : null;
           } else {
             cloudBigtableClusterSpecsBuilder_.addAllMessages(other.cloudBigtableClusterSpecs_);
           }
@@ -1604,25 +1819,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec m =
-                  input.readMessage(
-                      com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.parser(),
-                      extensionRegistry);
-              if (cloudBigtableClusterSpecsBuilder_ == null) {
-                ensureCloudBigtableClusterSpecsIsMutable();
-                cloudBigtableClusterSpecs_.add(m);
-              } else {
-                cloudBigtableClusterSpecsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec
+                    m =
+                        input.readMessage(
+                            com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec
+                                .CloudBigtableClusterSpec.parser(),
+                            extensionRegistry);
+                if (cloudBigtableClusterSpecsBuilder_ == null) {
+                  ensureCloudBigtableClusterSpecsIsMutable();
+                  cloudBigtableClusterSpecs_.add(m);
+                } else {
+                  cloudBigtableClusterSpecsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1632,28 +1851,45 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List cloudBigtableClusterSpecs_ =
-      java.util.Collections.emptyList();
+    private java.util.List<
+            com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec>
+        cloudBigtableClusterSpecs_ = java.util.Collections.emptyList();
+
     private void ensureCloudBigtableClusterSpecsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        cloudBigtableClusterSpecs_ = new java.util.ArrayList(cloudBigtableClusterSpecs_);
+        cloudBigtableClusterSpecs_ =
+            new java.util.ArrayList<
+                com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec>(
+                cloudBigtableClusterSpecs_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpecOrBuilder> cloudBigtableClusterSpecsBuilder_;
+            com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec,
+            com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec
+                .Builder,
+            com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec
+                .CloudBigtableClusterSpecOrBuilder>
+        cloudBigtableClusterSpecsBuilder_;
 
     /**
+     *
+     *
      * 
      * The list of clusters for the Instance.
      * 
* - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * */ - public java.util.List getCloudBigtableClusterSpecsList() { + public java.util.List< + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec> + getCloudBigtableClusterSpecsList() { if (cloudBigtableClusterSpecsBuilder_ == null) { return java.util.Collections.unmodifiableList(cloudBigtableClusterSpecs_); } else { @@ -1661,11 +1897,15 @@ public java.util.List * The list of clusters for the Instance. *
* - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * */ public int getCloudBigtableClusterSpecsCount() { if (cloudBigtableClusterSpecsBuilder_ == null) { @@ -1675,13 +1915,18 @@ public int getCloudBigtableClusterSpecsCount() { } } /** + * + * *
      * The list of clusters for the Instance.
      * 
* - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * */ - public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec getCloudBigtableClusterSpecs(int index) { + public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + getCloudBigtableClusterSpecs(int index) { if (cloudBigtableClusterSpecsBuilder_ == null) { return cloudBigtableClusterSpecs_.get(index); } else { @@ -1689,14 +1934,19 @@ public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableCl } } /** + * + * *
      * The list of clusters for the Instance.
      * 
* - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * */ public Builder setCloudBigtableClusterSpecs( - int index, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec value) { + int index, + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec value) { if (cloudBigtableClusterSpecsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1710,14 +1960,20 @@ public Builder setCloudBigtableClusterSpecs( return this; } /** + * + * *
      * The list of clusters for the Instance.
      * 
* - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * */ public Builder setCloudBigtableClusterSpecs( - int index, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder builderForValue) { + int index, + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder + builderForValue) { if (cloudBigtableClusterSpecsBuilder_ == null) { ensureCloudBigtableClusterSpecsIsMutable(); cloudBigtableClusterSpecs_.set(index, builderForValue.build()); @@ -1728,13 +1984,18 @@ public Builder setCloudBigtableClusterSpecs( return this; } /** + * + * *
      * The list of clusters for the Instance.
      * 
* - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * */ - public Builder addCloudBigtableClusterSpecs(com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec value) { + public Builder addCloudBigtableClusterSpecs( + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec value) { if (cloudBigtableClusterSpecsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1748,14 +2009,19 @@ public Builder addCloudBigtableClusterSpecs(com.google.cloud.datacatalog.v1.Clou return this; } /** + * + * *
      * The list of clusters for the Instance.
      * 
* - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * */ public Builder addCloudBigtableClusterSpecs( - int index, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec value) { + int index, + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec value) { if (cloudBigtableClusterSpecsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1769,14 +2035,19 @@ public Builder addCloudBigtableClusterSpecs( return this; } /** + * + * *
      * The list of clusters for the Instance.
      * 
* - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * */ public Builder addCloudBigtableClusterSpecs( - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder builderForValue) { + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder + builderForValue) { if (cloudBigtableClusterSpecsBuilder_ == null) { ensureCloudBigtableClusterSpecsIsMutable(); cloudBigtableClusterSpecs_.add(builderForValue.build()); @@ -1787,14 +2058,20 @@ public Builder addCloudBigtableClusterSpecs( return this; } /** + * + * *
      * The list of clusters for the Instance.
      * 
* - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * */ public Builder addCloudBigtableClusterSpecs( - int index, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder builderForValue) { + int index, + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder + builderForValue) { if (cloudBigtableClusterSpecsBuilder_ == null) { ensureCloudBigtableClusterSpecsIsMutable(); cloudBigtableClusterSpecs_.add(index, builderForValue.build()); @@ -1805,18 +2082,25 @@ public Builder addCloudBigtableClusterSpecs( return this; } /** + * + * *
      * The list of clusters for the Instance.
      * 
* - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * */ public Builder addAllCloudBigtableClusterSpecs( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec + .CloudBigtableClusterSpec> + values) { if (cloudBigtableClusterSpecsBuilder_ == null) { ensureCloudBigtableClusterSpecsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, cloudBigtableClusterSpecs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, cloudBigtableClusterSpecs_); onChanged(); } else { cloudBigtableClusterSpecsBuilder_.addAllMessages(values); @@ -1824,11 +2108,15 @@ public Builder addAllCloudBigtableClusterSpecs( return this; } /** + * + * *
      * The list of clusters for the Instance.
      * 
* - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * */ public Builder clearCloudBigtableClusterSpecs() { if (cloudBigtableClusterSpecsBuilder_ == null) { @@ -1841,11 +2129,15 @@ public Builder clearCloudBigtableClusterSpecs() { return this; } /** + * + * *
      * The list of clusters for the Instance.
      * 
* - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * */ public Builder removeCloudBigtableClusterSpecs(int index) { if (cloudBigtableClusterSpecsBuilder_ == null) { @@ -1858,39 +2150,57 @@ public Builder removeCloudBigtableClusterSpecs(int index) { return this; } /** + * + * *
      * The list of clusters for the Instance.
      * 
* - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * */ - public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder getCloudBigtableClusterSpecsBuilder( - int index) { + public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + .Builder + getCloudBigtableClusterSpecsBuilder(int index) { return getCloudBigtableClusterSpecsFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of clusters for the Instance.
      * 
* - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * */ - public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpecOrBuilder getCloudBigtableClusterSpecsOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec + .CloudBigtableClusterSpecOrBuilder + getCloudBigtableClusterSpecsOrBuilder(int index) { if (cloudBigtableClusterSpecsBuilder_ == null) { - return cloudBigtableClusterSpecs_.get(index); } else { + return cloudBigtableClusterSpecs_.get(index); + } else { return cloudBigtableClusterSpecsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of clusters for the Instance.
      * 
* - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * */ - public java.util.List - getCloudBigtableClusterSpecsOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec + .CloudBigtableClusterSpecOrBuilder> + getCloudBigtableClusterSpecsOrBuilderList() { if (cloudBigtableClusterSpecsBuilder_ != null) { return cloudBigtableClusterSpecsBuilder_.getMessageOrBuilderList(); } else { @@ -1898,45 +2208,77 @@ public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableCl } } /** + * + * *
      * The list of clusters for the Instance.
      * 
* - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * */ - public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder addCloudBigtableClusterSpecsBuilder() { - return getCloudBigtableClusterSpecsFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.getDefaultInstance()); + public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + .Builder + addCloudBigtableClusterSpecsBuilder() { + return getCloudBigtableClusterSpecsFieldBuilder() + .addBuilder( + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + .getDefaultInstance()); } /** + * + * *
      * The list of clusters for the Instance.
      * 
* - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * */ - public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder addCloudBigtableClusterSpecsBuilder( - int index) { - return getCloudBigtableClusterSpecsFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.getDefaultInstance()); + public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + .Builder + addCloudBigtableClusterSpecsBuilder(int index) { + return getCloudBigtableClusterSpecsFieldBuilder() + .addBuilder( + index, + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + .getDefaultInstance()); } /** + * + * *
      * The list of clusters for the Instance.
      * 
* - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * */ - public java.util.List - getCloudBigtableClusterSpecsBuilderList() { + public java.util.List< + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + .Builder> + getCloudBigtableClusterSpecsBuilderList() { return getCloudBigtableClusterSpecsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpecOrBuilder> + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec, + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + .Builder, + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec + .CloudBigtableClusterSpecOrBuilder> getCloudBigtableClusterSpecsFieldBuilder() { if (cloudBigtableClusterSpecsBuilder_ == null) { - cloudBigtableClusterSpecsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpecOrBuilder>( + cloudBigtableClusterSpecsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec, + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + .Builder, + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec + .CloudBigtableClusterSpecOrBuilder>( cloudBigtableClusterSpecs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1945,9 +2287,9 @@ public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableCl } return cloudBigtableClusterSpecsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1957,12 +2299,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) private static final com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec(); } @@ -1971,27 +2313,27 @@ public static com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudBigtableInstanceSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudBigtableInstanceSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2006,6 +2348,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpecOrBuilder.java new file mode 100644 index 000000000000..ab20ba9ad32f --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpecOrBuilder.java @@ -0,0 +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/datacatalog/v1/datacatalog.proto + +package com.google.cloud.datacatalog.v1; + +public interface CloudBigtableInstanceSpecOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The list of clusters for the Instance.
+   * 
+ * + * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * + */ + java.util.List + getCloudBigtableClusterSpecsList(); + /** + * + * + *
+   * The list of clusters for the Instance.
+   * 
+ * + * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * + */ + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec + getCloudBigtableClusterSpecs(int index); + /** + * + * + *
+   * The list of clusters for the Instance.
+   * 
+ * + * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * + */ + int getCloudBigtableClusterSpecsCount(); + /** + * + * + *
+   * The list of clusters for the Instance.
+   * 
+ * + * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * + */ + java.util.List< + ? extends + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec + .CloudBigtableClusterSpecOrBuilder> + getCloudBigtableClusterSpecsOrBuilderList(); + /** + * + * + *
+   * The list of clusters for the Instance.
+   * 
+ * + * + * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; + * + */ + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpecOrBuilder + getCloudBigtableClusterSpecsOrBuilder(int index); +} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpec.java similarity index 66% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpec.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpec.java index 06728fd8588b..218ae61db708 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpec.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Specification that applies to
  * all entries that are part of `CLOUD_BIGTABLE` system
@@ -12,49 +29,55 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.CloudBigtableSystemSpec}
  */
-public final class CloudBigtableSystemSpec extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CloudBigtableSystemSpec extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.CloudBigtableSystemSpec)
     CloudBigtableSystemSpecOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CloudBigtableSystemSpec.newBuilder() to construct.
   private CloudBigtableSystemSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CloudBigtableSystemSpec() {
     instanceDisplayName_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CloudBigtableSystemSpec();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.class, com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.Builder.class);
+            com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.class,
+            com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.Builder.class);
   }
 
   public static final int INSTANCE_DISPLAY_NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object instanceDisplayName_ = "";
   /**
+   *
+   *
    * 
    * Display name of the Instance. This is user specified and different from
    * the resource name.
    * 
* * string instance_display_name = 1; + * * @return The instanceDisplayName. */ @java.lang.Override @@ -63,30 +86,30 @@ public java.lang.String getInstanceDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceDisplayName_ = s; return s; } } /** + * + * *
    * Display name of the Instance. This is user specified and different from
    * the resource name.
    * 
* * string instance_display_name = 1; + * * @return The bytes for instanceDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstanceDisplayNameBytes() { + public com.google.protobuf.ByteString getInstanceDisplayNameBytes() { java.lang.Object ref = instanceDisplayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instanceDisplayName_ = b; return b; } else { @@ -95,6 +118,7 @@ public java.lang.String getInstanceDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,8 +130,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceDisplayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceDisplayName_); } @@ -131,15 +154,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec other = (com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec) obj; + com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec other = + (com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec) obj; - if (!getInstanceDisplayName() - .equals(other.getInstanceDisplayName())) return false; + if (!getInstanceDisplayName().equals(other.getInstanceDisplayName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -159,98 +182,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Specification that applies to
    * all entries that are part of `CLOUD_BIGTABLE` system
@@ -259,33 +288,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.CloudBigtableSystemSpec}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.CloudBigtableSystemSpec)
       com.google.cloud.datacatalog.v1.CloudBigtableSystemSpecOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.class, com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.Builder.class);
+              com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.class,
+              com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        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 +323,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_descriptor;
     }
 
     @java.lang.Override
@@ -316,8 +344,11 @@ public com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec buildPartial() {
-      com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec result = new com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec result =
+          new com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -333,38 +364,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CloudBigtableSystemSp
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -372,7 +404,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec other) {
-      if (other == com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.getDefaultInstance())
+        return this;
       if (!other.getInstanceDisplayName().isEmpty()) {
         instanceDisplayName_ = other.instanceDisplayName_;
         bitField0_ |= 0x00000001;
@@ -404,17 +437,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              instanceDisplayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                instanceDisplayName_ = 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,23 +459,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object instanceDisplayName_ = "";
     /**
+     *
+     *
      * 
      * Display name of the Instance. This is user specified and different from
      * the resource name.
      * 
* * string instance_display_name = 1; + * * @return The instanceDisplayName. */ public java.lang.String getInstanceDisplayName() { java.lang.Object ref = instanceDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceDisplayName_ = s; return s; @@ -449,21 +487,22 @@ public java.lang.String getInstanceDisplayName() { } } /** + * + * *
      * Display name of the Instance. This is user specified and different from
      * the resource name.
      * 
* * string instance_display_name = 1; + * * @return The bytes for instanceDisplayName. */ - public com.google.protobuf.ByteString - getInstanceDisplayNameBytes() { + public com.google.protobuf.ByteString getInstanceDisplayNameBytes() { java.lang.Object ref = instanceDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instanceDisplayName_ = b; return b; } else { @@ -471,30 +510,37 @@ public java.lang.String getInstanceDisplayName() { } } /** + * + * *
      * Display name of the Instance. This is user specified and different from
      * the resource name.
      * 
* * string instance_display_name = 1; + * * @param value The instanceDisplayName to set. * @return This builder for chaining. */ - public Builder setInstanceDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } instanceDisplayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Display name of the Instance. This is user specified and different from
      * the resource name.
      * 
* * string instance_display_name = 1; + * * @return This builder for chaining. */ public Builder clearInstanceDisplayName() { @@ -504,27 +550,31 @@ public Builder clearInstanceDisplayName() { return this; } /** + * + * *
      * Display name of the Instance. This is user specified and different from
      * the resource name.
      * 
* * string instance_display_name = 1; + * * @param value The bytes for instanceDisplayName to set. * @return This builder for chaining. */ - public Builder setInstanceDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); instanceDisplayName_ = 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); } @@ -534,12 +584,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.CloudBigtableSystemSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.CloudBigtableSystemSpec) private static final com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec(); } @@ -548,27 +598,27 @@ public static com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudBigtableSystemSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudBigtableSystemSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -583,6 +633,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpecOrBuilder.java similarity index 52% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpecOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpecOrBuilder.java index 337d21e00d86..2f37f1059d9e 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpecOrBuilder.java @@ -1,31 +1,52 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface CloudBigtableSystemSpecOrBuilder extends +public interface CloudBigtableSystemSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CloudBigtableSystemSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Display name of the Instance. This is user specified and different from
    * the resource name.
    * 
* * string instance_display_name = 1; + * * @return The instanceDisplayName. */ java.lang.String getInstanceDisplayName(); /** + * + * *
    * Display name of the Instance. This is user specified and different from
    * the resource name.
    * 
* * string instance_display_name = 1; + * * @return The bytes for instanceDisplayName. */ - com.google.protobuf.ByteString - getInstanceDisplayNameBytes(); + com.google.protobuf.ByteString getInstanceDisplayNameBytes(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpec.java similarity index 65% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpec.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpec.java index ef3dd02005d4..dd69535127ab 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpec.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/datacatalog/v1/bigquery.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Specification for the BigQuery connection to a Cloud SQL instance.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec} */ -public final class CloudSqlBigQueryConnectionSpec extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CloudSqlBigQueryConnectionSpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) CloudSqlBigQueryConnectionSpecOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CloudSqlBigQueryConnectionSpec.newBuilder() to construct. - private CloudSqlBigQueryConnectionSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CloudSqlBigQueryConnectionSpec( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CloudSqlBigQueryConnectionSpec() { instanceId_ = ""; database_ = ""; @@ -27,34 +46,38 @@ private CloudSqlBigQueryConnectionSpec() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CloudSqlBigQueryConnectionSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.BigQueryProto.internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.BigQueryProto + .internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.BigQueryProto.internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.BigQueryProto + .internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.class, com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder.class); + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.class, + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder.class); } /** + * + * *
    * Supported Cloud SQL database types.
    * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType} */ - public enum DatabaseType - implements com.google.protobuf.ProtocolMessageEnum { + public enum DatabaseType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified database type.
      * 
@@ -63,6 +86,8 @@ public enum DatabaseType */ DATABASE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Cloud SQL for PostgreSQL.
      * 
@@ -71,6 +96,8 @@ public enum DatabaseType */ POSTGRES(1), /** + * + * *
      * Cloud SQL for MySQL.
      * 
@@ -82,6 +109,8 @@ public enum DatabaseType ; /** + * + * *
      * Unspecified database type.
      * 
@@ -90,6 +119,8 @@ public enum DatabaseType */ public static final int DATABASE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Cloud SQL for PostgreSQL.
      * 
@@ -98,6 +129,8 @@ public enum DatabaseType */ public static final int POSTGRES_VALUE = 1; /** + * + * *
      * Cloud SQL for MySQL.
      * 
@@ -106,7 +139,6 @@ public enum DatabaseType */ public static final int MYSQL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -131,49 +163,51 @@ public static DatabaseType valueOf(int value) { */ public static DatabaseType forNumber(int value) { switch (value) { - case 0: return DATABASE_TYPE_UNSPECIFIED; - case 1: return POSTGRES; - case 2: return MYSQL; - default: return null; + case 0: + return DATABASE_TYPE_UNSPECIFIED; + case 1: + return POSTGRES; + case 2: + return MYSQL; + 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< - DatabaseType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DatabaseType findValueByNumber(int number) { - return DatabaseType.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 DatabaseType findValueByNumber(int number) { + return DatabaseType.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.datacatalog.v1.CloudSqlBigQueryConnectionSpec.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.getDescriptor() + .getEnumTypes() + .get(0); } private static final DatabaseType[] VALUES = values(); - public static DatabaseType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DatabaseType 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,14 +225,18 @@ private DatabaseType(int value) { } public static final int INSTANCE_ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** + * + * *
    * Cloud SQL instance ID in the format of `project:location:instance`.
    * 
* * string instance_id = 1; + * * @return The instanceId. */ @java.lang.Override @@ -207,29 +245,29 @@ public java.lang.String getInstanceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } } /** + * + * *
    * Cloud SQL instance ID in the format of `project:location:instance`.
    * 
* * string instance_id = 1; + * * @return The bytes for instanceId. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstanceIdBytes() { + public com.google.protobuf.ByteString getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instanceId_ = b; return b; } else { @@ -238,14 +276,18 @@ public java.lang.String getInstanceId() { } public static final int DATABASE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object database_ = ""; /** + * + * *
    * Database name.
    * 
* * string database = 2; + * * @return The database. */ @java.lang.Override @@ -254,29 +296,29 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** + * + * *
    * Database name.
    * 
* * string database = 2; + * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -287,30 +329,43 @@ public java.lang.String getDatabase() { public static final int TYPE_FIELD_NUMBER = 3; private int type_ = 0; /** + * + * *
    * Type of the Cloud SQL database.
    * 
* * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType 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_; } /** + * + * *
    * Type of the Cloud SQL database.
    * 
* * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; + * * @return The type. */ - @java.lang.Override public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType getType() { - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType result = com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType.forNumber(type_); - return result == null ? com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType getType() { + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType result = + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType.forNumber( + type_); + return result == null + ? com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -322,15 +377,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(instanceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, database_); } - if (type_ != com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType.DATABASE_TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType + .DATABASE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, type_); } getUnknownFields().writeTo(output); @@ -348,9 +405,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, database_); } - if (type_ != com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType.DATABASE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, type_); + if (type_ + != com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType + .DATABASE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -360,17 +419,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.datacatalog.v1.CloudSqlBigQueryConnectionSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec other = (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) obj; + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec other = + (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) obj; - if (!getInstanceId() - .equals(other.getInstanceId())) return false; - if (!getDatabase() - .equals(other.getDatabase())) return false; + if (!getInstanceId().equals(other.getInstanceId())) return false; + if (!getDatabase().equals(other.getDatabase())) return false; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -395,131 +453,136 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Specification for the BigQuery connection to a Cloud SQL instance.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.BigQueryProto.internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.BigQueryProto + .internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.BigQueryProto.internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.BigQueryProto + .internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.class, com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder.class); + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.class, + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -531,13 +594,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.BigQueryProto.internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.BigQueryProto + .internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_descriptor; } @java.lang.Override - public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec + getDefaultInstanceForType() { return com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.getDefaultInstance(); } @@ -552,13 +616,17 @@ public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec buildPartial() { - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec result = new com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec result = + new com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec result) { + private void buildPartial0( + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.instanceId_ = instanceId_; @@ -575,38 +643,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CloudSqlBigQueryConne public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec)other); + return mergeFrom((com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) other); } else { super.mergeFrom(other); return this; @@ -614,7 +683,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec other) { - if (other == com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.getDefaultInstance()) return this; + if (other + == com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.getDefaultInstance()) + return this; if (!other.getInstanceId().isEmpty()) { instanceId_ = other.instanceId_; bitField0_ |= 0x00000001; @@ -654,27 +725,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - database_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - type_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + database_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + type_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -684,22 +759,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object instanceId_ = ""; /** + * + * *
      * Cloud SQL instance ID in the format of `project:location:instance`.
      * 
* * string instance_id = 1; + * * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; @@ -708,20 +786,21 @@ public java.lang.String getInstanceId() { } } /** + * + * *
      * Cloud SQL instance ID in the format of `project:location:instance`.
      * 
* * string instance_id = 1; + * * @return The bytes for instanceId. */ - public com.google.protobuf.ByteString - getInstanceIdBytes() { + public com.google.protobuf.ByteString getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instanceId_ = b; return b; } else { @@ -729,28 +808,35 @@ public java.lang.String getInstanceId() { } } /** + * + * *
      * Cloud SQL instance ID in the format of `project:location:instance`.
      * 
* * string instance_id = 1; + * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } instanceId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Cloud SQL instance ID in the format of `project:location:instance`.
      * 
* * string instance_id = 1; + * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -760,17 +846,21 @@ public Builder clearInstanceId() { return this; } /** + * + * *
      * Cloud SQL instance ID in the format of `project:location:instance`.
      * 
* * string instance_id = 1; + * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000001; @@ -780,18 +870,20 @@ public Builder setInstanceIdBytes( private java.lang.Object database_ = ""; /** + * + * *
      * Database name.
      * 
* * string database = 2; + * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -800,20 +892,21 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Database name.
      * 
* * string database = 2; + * * @return The bytes for database. */ - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -821,28 +914,35 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Database name.
      * 
* * string database = 2; + * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } database_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Database name.
      * 
* * string database = 2; + * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -852,17 +952,21 @@ public Builder clearDatabase() { return this; } /** + * + * *
      * Database name.
      * 
* * string database = 2; + * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000002; @@ -872,22 +976,31 @@ public Builder setDatabaseBytes( private int type_ = 0; /** + * + * *
      * Type of the Cloud SQL database.
      * 
* - * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType 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_; } /** + * + * *
      * Type of the Cloud SQL database.
      * 
* - * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; + * + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -898,28 +1011,41 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * Type of the Cloud SQL database.
      * 
* - * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; + * + * * @return The type. */ @java.lang.Override public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType getType() { - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType result = com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType.forNumber(type_); - return result == null ? com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType.UNRECOGNIZED : result; + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType result = + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType.forNumber( + type_); + return result == null + ? com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType.UNRECOGNIZED + : result; } /** + * + * *
      * Type of the Cloud SQL database.
      * 
* - * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; + * + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType value) { + public Builder setType( + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType value) { if (value == null) { throw new NullPointerException(); } @@ -929,11 +1055,15 @@ public Builder setType(com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectio return this; } /** + * + * *
      * Type of the Cloud SQL database.
      * 
* - * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; + * + * * @return This builder for chaining. */ public Builder clearType() { @@ -942,9 +1072,9 @@ public Builder clearType() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -954,41 +1084,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) - private static final com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec DEFAULT_INSTANCE; + private static final com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec(); } - public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec getDefaultInstance() { + public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudSqlBigQueryConnectionSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudSqlBigQueryConnectionSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1000,9 +1132,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpecOrBuilder.java similarity index 64% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpecOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpecOrBuilder.java index 6215b3a0c169..766065f3a75e 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpecOrBuilder.java @@ -1,67 +1,99 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/bigquery.proto package com.google.cloud.datacatalog.v1; -public interface CloudSqlBigQueryConnectionSpecOrBuilder extends +public interface CloudSqlBigQueryConnectionSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Cloud SQL instance ID in the format of `project:location:instance`.
    * 
* * string instance_id = 1; + * * @return The instanceId. */ java.lang.String getInstanceId(); /** + * + * *
    * Cloud SQL instance ID in the format of `project:location:instance`.
    * 
* * string instance_id = 1; + * * @return The bytes for instanceId. */ - com.google.protobuf.ByteString - getInstanceIdBytes(); + com.google.protobuf.ByteString getInstanceIdBytes(); /** + * + * *
    * Database name.
    * 
* * string database = 2; + * * @return The database. */ java.lang.String getDatabase(); /** + * + * *
    * Database name.
    * 
* * string database = 2; + * * @return The bytes for database. */ - com.google.protobuf.ByteString - getDatabaseBytes(); + com.google.protobuf.ByteString getDatabaseBytes(); /** + * + * *
    * Type of the Cloud SQL database.
    * 
* * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Type of the Cloud SQL database.
    * 
* * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; + * * @return The type. */ com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType getType(); diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchema.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchema.java similarity index 69% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchema.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchema.java index e235fd658331..e91b08ea4937 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchema.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchema.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/datacatalog/v1/schema.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * A column within a schema. Columns can be nested inside
  * other columns.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ColumnSchema}
  */
-public final class ColumnSchema extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ColumnSchema extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ColumnSchema)
     ColumnSchemaOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ColumnSchema.newBuilder() to construct.
   private ColumnSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ColumnSchema() {
     column_ = "";
     type_ = "";
@@ -33,34 +51,38 @@ private ColumnSchema() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ColumnSchema();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1_ColumnSchema_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.SchemaOuterClass
+        .internal_static_google_cloud_datacatalog_v1_ColumnSchema_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1_ColumnSchema_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.SchemaOuterClass
+        .internal_static_google_cloud_datacatalog_v1_ColumnSchema_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ColumnSchema.class, com.google.cloud.datacatalog.v1.ColumnSchema.Builder.class);
+            com.google.cloud.datacatalog.v1.ColumnSchema.class,
+            com.google.cloud.datacatalog.v1.ColumnSchema.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Specifies inclusion of the column in an index
    * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.ColumnSchema.IndexingType} */ - public enum IndexingType - implements com.google.protobuf.ProtocolMessageEnum { + public enum IndexingType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified.
      * 
@@ -69,6 +91,8 @@ public enum IndexingType */ INDEXING_TYPE_UNSPECIFIED(0), /** + * + * *
      * Column not a part of an index.
      * 
@@ -77,6 +101,8 @@ public enum IndexingType */ INDEXING_TYPE_NONE(1), /** + * + * *
      * Column Part of non unique index.
      * 
@@ -85,6 +111,8 @@ public enum IndexingType */ INDEXING_TYPE_NON_UNIQUE(2), /** + * + * *
      * Column part of unique index.
      * 
@@ -93,6 +121,8 @@ public enum IndexingType */ INDEXING_TYPE_UNIQUE(3), /** + * + * *
      * Column part of the primary key.
      * 
@@ -104,6 +134,8 @@ public enum IndexingType ; /** + * + * *
      * Unspecified.
      * 
@@ -112,6 +144,8 @@ public enum IndexingType */ public static final int INDEXING_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Column not a part of an index.
      * 
@@ -120,6 +154,8 @@ public enum IndexingType */ public static final int INDEXING_TYPE_NONE_VALUE = 1; /** + * + * *
      * Column Part of non unique index.
      * 
@@ -128,6 +164,8 @@ public enum IndexingType */ public static final int INDEXING_TYPE_NON_UNIQUE_VALUE = 2; /** + * + * *
      * Column part of unique index.
      * 
@@ -136,6 +174,8 @@ public enum IndexingType */ public static final int INDEXING_TYPE_UNIQUE_VALUE = 3; /** + * + * *
      * Column part of the primary key.
      * 
@@ -144,7 +184,6 @@ public enum IndexingType */ public static final int INDEXING_TYPE_PRIMARY_KEY_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -169,51 +208,53 @@ public static IndexingType valueOf(int value) { */ public static IndexingType forNumber(int value) { switch (value) { - case 0: return INDEXING_TYPE_UNSPECIFIED; - case 1: return INDEXING_TYPE_NONE; - case 2: return INDEXING_TYPE_NON_UNIQUE; - case 3: return INDEXING_TYPE_UNIQUE; - case 4: return INDEXING_TYPE_PRIMARY_KEY; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return INDEXING_TYPE_UNSPECIFIED; + case 1: + return INDEXING_TYPE_NONE; + case 2: + return INDEXING_TYPE_NON_UNIQUE; + case 3: + return INDEXING_TYPE_UNIQUE; + case 4: + return INDEXING_TYPE_PRIMARY_KEY; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - IndexingType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public IndexingType findValueByNumber(int number) { - return IndexingType.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 IndexingType findValueByNumber(int number) { + return IndexingType.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.datacatalog.v1.ColumnSchema.getDescriptor().getEnumTypes().get(0); } private static final IndexingType[] VALUES = values(); - public static IndexingType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static IndexingType 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,79 +271,96 @@ private IndexingType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1.ColumnSchema.IndexingType) } - public interface LookerColumnSpecOrBuilder extends + public interface LookerColumnSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Looker specific column type of this column.
      * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
      * Looker specific column type of this column.
      * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; + * + * * @return The type. */ com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType getType(); } /** + * + * *
    * Column info specific to Looker System.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec} */ - public static final class LookerColumnSpec extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class LookerColumnSpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) LookerColumnSpecOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LookerColumnSpec.newBuilder() to construct. private LookerColumnSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LookerColumnSpec() { type_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LookerColumnSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.SchemaOuterClass + .internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.SchemaOuterClass + .internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.class, com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.Builder.class); + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.class, + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.Builder.class); } /** + * + * *
      * Column type in Looker.
      * 
* - * Protobuf enum {@code google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType} + * Protobuf enum {@code + * google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType} */ - public enum LookerColumnType - implements com.google.protobuf.ProtocolMessageEnum { + public enum LookerColumnType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Unspecified.
        * 
@@ -311,6 +369,8 @@ public enum LookerColumnType */ LOOKER_COLUMN_TYPE_UNSPECIFIED(0), /** + * + * *
        * Dimension.
        * 
@@ -319,6 +379,8 @@ public enum LookerColumnType */ DIMENSION(1), /** + * + * *
        * Dimension group - parent for Dimension.
        * 
@@ -327,6 +389,8 @@ public enum LookerColumnType */ DIMENSION_GROUP(2), /** + * + * *
        * Filter.
        * 
@@ -335,6 +399,8 @@ public enum LookerColumnType */ FILTER(3), /** + * + * *
        * Measure.
        * 
@@ -343,6 +409,8 @@ public enum LookerColumnType */ MEASURE(4), /** + * + * *
        * Parameter.
        * 
@@ -354,6 +422,8 @@ public enum LookerColumnType ; /** + * + * *
        * Unspecified.
        * 
@@ -362,6 +432,8 @@ public enum LookerColumnType */ public static final int LOOKER_COLUMN_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Dimension.
        * 
@@ -370,6 +442,8 @@ public enum LookerColumnType */ public static final int DIMENSION_VALUE = 1; /** + * + * *
        * Dimension group - parent for Dimension.
        * 
@@ -378,6 +452,8 @@ public enum LookerColumnType */ public static final int DIMENSION_GROUP_VALUE = 2; /** + * + * *
        * Filter.
        * 
@@ -386,6 +462,8 @@ public enum LookerColumnType */ public static final int FILTER_VALUE = 3; /** + * + * *
        * Measure.
        * 
@@ -394,6 +472,8 @@ public enum LookerColumnType */ public static final int MEASURE_VALUE = 4; /** + * + * *
        * Parameter.
        * 
@@ -402,7 +482,6 @@ public enum LookerColumnType */ public static final int PARAMETER_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -427,13 +506,20 @@ public static LookerColumnType valueOf(int value) { */ public static LookerColumnType forNumber(int value) { switch (value) { - case 0: return LOOKER_COLUMN_TYPE_UNSPECIFIED; - case 1: return DIMENSION; - case 2: return DIMENSION_GROUP; - case 3: return FILTER; - case 4: return MEASURE; - case 5: return PARAMETER; - default: return null; + case 0: + return LOOKER_COLUMN_TYPE_UNSPECIFIED; + case 1: + return DIMENSION; + case 2: + return DIMENSION_GROUP; + case 3: + return FILTER; + case 4: + return MEASURE; + case 5: + return PARAMETER; + default: + return null; } } @@ -441,29 +527,31 @@ public static LookerColumnType forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - LookerColumnType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LookerColumnType findValueByNumber(int number) { - return LookerColumnType.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 LookerColumnType findValueByNumber(int number) { + return LookerColumnType.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.datacatalog.v1.ColumnSchema.LookerColumnSpec.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.getDescriptor() + .getEnumTypes() + .get(0); } private static final LookerColumnType[] VALUES = values(); @@ -471,8 +559,7 @@ public LookerColumnType findValueByNumber(int number) { public static LookerColumnType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -492,30 +579,47 @@ private LookerColumnType(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_ = 0; /** + * + * *
      * Looker specific column type of this column.
      * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Looker specific column type of this column.
      * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; + * + * * @return The type. */ - @java.lang.Override public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType getType() { - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType result = com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType.forNumber(type_); - return result == null ? com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType + getType() { + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType result = + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType.forNumber( + type_); + return result == null + ? com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType + .UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -527,9 +631,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (type_ != com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType.LOOKER_COLUMN_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (type_ + != com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType + .LOOKER_COLUMN_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, type_); } getUnknownFields().writeTo(output); @@ -541,9 +647,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ != com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType.LOOKER_COLUMN_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + if (type_ + != com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType + .LOOKER_COLUMN_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -553,12 +661,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.datacatalog.v1.ColumnSchema.LookerColumnSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec other = (com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) obj; + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec other = + (com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) obj; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -580,89 +689,94 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -672,39 +786,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Column info specific to Looker System.
      * 
* * Protobuf type {@code google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.SchemaOuterClass + .internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.SchemaOuterClass + .internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.class, com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.Builder.class); + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.class, + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -714,13 +830,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.SchemaOuterClass + .internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_descriptor; } @java.lang.Override - public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec + getDefaultInstanceForType() { return com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.getDefaultInstance(); } @@ -735,13 +852,17 @@ public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec buildPartial() { - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec result = new com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec result = + new com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec result) { + private void buildPartial0( + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.type_ = type_; @@ -752,46 +873,52 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ColumnSchema.LookerCo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec)other); + return mergeFrom((com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec other) { - if (other == com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec other) { + if (other + == com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.getDefaultInstance()) + return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } @@ -821,17 +948,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - type_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + type_ = 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) { @@ -841,26 +970,36 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int type_ = 0; /** + * + * *
        * Looker specific column type of this column.
        * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
        * Looker specific column type of this column.
        * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; + * + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -871,28 +1010,43 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
        * Looker specific column type of this column.
        * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; + * + * * @return The type. */ @java.lang.Override - public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType getType() { - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType result = com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType.forNumber(type_); - return result == null ? com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType.UNRECOGNIZED : result; + public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType + getType() { + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType result = + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType + .forNumber(type_); + return result == null + ? com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType + .UNRECOGNIZED + : result; } /** + * + * *
        * Looker specific column type of this column.
        * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; + * + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType value) { + public Builder setType( + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType value) { if (value == null) { throw new NullPointerException(); } @@ -902,11 +1056,15 @@ public Builder setType(com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumn return this; } /** + * + * *
        * Looker specific column type of this column.
        * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType type = 1; + * + * * @return This builder for chaining. */ public Builder clearType() { @@ -915,6 +1073,7 @@ public Builder clearType() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -927,41 +1086,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) - private static final com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec DEFAULT_INSTANCE; + private static final com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec(); } - public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec getDefaultInstance() { + public static com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LookerColumnSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LookerColumnSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -973,21 +1135,25 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int systemSpecCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object systemSpec_; + public enum SystemSpecCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { LOOKER_COLUMN_SPEC(18), SYSTEMSPEC_NOT_SET(0); private final int value; + private SystemSpecCase(int value) { this.value = value; } @@ -1003,26 +1169,31 @@ public static SystemSpecCase valueOf(int value) { public static SystemSpecCase forNumber(int value) { switch (value) { - case 18: return LOOKER_COLUMN_SPEC; - case 0: return SYSTEMSPEC_NOT_SET; - default: return null; + case 18: + return LOOKER_COLUMN_SPEC; + case 0: + return SYSTEMSPEC_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public SystemSpecCase - getSystemSpecCase() { - return SystemSpecCase.forNumber( - systemSpecCase_); + public SystemSpecCase getSystemSpecCase() { + return SystemSpecCase.forNumber(systemSpecCase_); } public static final int COLUMN_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object column_ = ""; /** + * + * *
    * Required. Name of the column.
    *
@@ -1031,6 +1202,7 @@ public int getNumber() {
    * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The column. */ @java.lang.Override @@ -1039,14 +1211,15 @@ 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; } } /** + * + * *
    * Required. Name of the column.
    *
@@ -1055,16 +1228,15 @@ public java.lang.String getColumn() {
    * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -1073,9 +1245,12 @@ public java.lang.String getColumn() { } public static final int TYPE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object type_ = ""; /** + * + * *
    * Required. Type of the column.
    *
@@ -1083,6 +1258,7 @@ public java.lang.String getColumn() {
    * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The type. */ @java.lang.Override @@ -1091,14 +1267,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; } } /** + * + * *
    * Required. Type of the column.
    *
@@ -1106,16 +1283,15 @@ public java.lang.String getType() {
    * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -1124,9 +1300,12 @@ public java.lang.String getType() { } public static final int DESCRIPTION_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. Description of the column. Default value is an empty string.
    *
@@ -1135,6 +1314,7 @@ public java.lang.String getType() {
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -1143,14 +1323,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 column. Default value is an empty string.
    *
@@ -1159,16 +1340,15 @@ public java.lang.String getDescription() {
    * 
* * 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 { @@ -1177,9 +1357,12 @@ public java.lang.String getDescription() { } public static final int MODE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object mode_ = ""; /** + * + * *
    * Optional. A column's mode indicates whether values in this column are
    * required, nullable, or repeated.
@@ -1189,6 +1372,7 @@ public java.lang.String getDescription() {
    * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The mode. */ @java.lang.Override @@ -1197,14 +1381,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; } } /** + * + * *
    * Optional. A column's mode indicates whether values in this column are
    * required, nullable, or repeated.
@@ -1214,16 +1399,15 @@ public java.lang.String getMode() {
    * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -1232,14 +1416,18 @@ public java.lang.String getMode() { } public static final int DEFAULT_VALUE_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object defaultValue_ = ""; /** + * + * *
    * Optional. Default value for the column.
    * 
* * string default_value = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The defaultValue. */ @java.lang.Override @@ -1248,29 +1436,29 @@ public java.lang.String getDefaultValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultValue_ = s; return s; } } /** + * + * *
    * Optional. Default value for the column.
    * 
* * string default_value = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for defaultValue. */ @java.lang.Override - public com.google.protobuf.ByteString - getDefaultValueBytes() { + public com.google.protobuf.ByteString getDefaultValueBytes() { java.lang.Object ref = defaultValue_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultValue_ = b; return b; } else { @@ -1281,11 +1469,14 @@ public java.lang.String getDefaultValue() { public static final int ORDINAL_POSITION_FIELD_NUMBER = 9; private int ordinalPosition_ = 0; /** + * + * *
    * Optional. Ordinal position
    * 
* * int32 ordinal_position = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The ordinalPosition. */ @java.lang.Override @@ -1296,102 +1487,141 @@ public int getOrdinalPosition() { public static final int HIGHEST_INDEXING_TYPE_FIELD_NUMBER = 10; private int highestIndexingType_ = 0; /** + * + * *
    * Optional. Most important inclusion of this column.
    * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for highestIndexingType. */ - @java.lang.Override public int getHighestIndexingTypeValue() { + @java.lang.Override + public int getHighestIndexingTypeValue() { return highestIndexingType_; } /** + * + * *
    * Optional. Most important inclusion of this column.
    * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The highestIndexingType. */ - @java.lang.Override public com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType getHighestIndexingType() { - com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType result = com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType.forNumber(highestIndexingType_); - return result == null ? com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType getHighestIndexingType() { + com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType result = + com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType.forNumber(highestIndexingType_); + return result == null + ? com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType.UNRECOGNIZED + : result; } public static final int SUBCOLUMNS_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private java.util.List subcolumns_; /** + * + * *
    * Optional. Schema of sub-columns. A column can have zero or more
    * sub-columns.
    * 
* - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List getSubcolumnsList() { return subcolumns_; } /** + * + * *
    * Optional. Schema of sub-columns. A column can have zero or more
    * sub-columns.
    * 
* - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List getSubcolumnsOrBuilderList() { return subcolumns_; } /** + * + * *
    * Optional. Schema of sub-columns. A column can have zero or more
    * sub-columns.
    * 
* - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getSubcolumnsCount() { return subcolumns_.size(); } /** + * + * *
    * Optional. Schema of sub-columns. A column can have zero or more
    * sub-columns.
    * 
* - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1.ColumnSchema getSubcolumns(int index) { return subcolumns_.get(index); } /** + * + * *
    * Optional. Schema of sub-columns. A column can have zero or more
    * sub-columns.
    * 
* - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getSubcolumnsOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getSubcolumnsOrBuilder(int index) { return subcolumns_.get(index); } public static final int LOOKER_COLUMN_SPEC_FIELD_NUMBER = 18; /** + * + * *
    * Looker specific column info of this column.
    * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; + * + * * @return Whether the lookerColumnSpec field is set. */ @java.lang.Override @@ -1399,45 +1629,57 @@ public boolean hasLookerColumnSpec() { return systemSpecCase_ == 18; } /** + * + * *
    * Looker specific column info of this column.
    * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; + * + * * @return The lookerColumnSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec getLookerColumnSpec() { if (systemSpecCase_ == 18) { - return (com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) systemSpec_; + return (com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) systemSpec_; } return com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.getDefaultInstance(); } /** + * + * *
    * Looker specific column info of this column.
    * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpecOrBuilder getLookerColumnSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpecOrBuilder + getLookerColumnSpecOrBuilder() { if (systemSpecCase_ == 18) { - return (com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) systemSpec_; + return (com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) systemSpec_; } return com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.getDefaultInstance(); } public static final int GC_RULE_FIELD_NUMBER = 11; + @SuppressWarnings("serial") private volatile java.lang.Object gcRule_ = ""; /** + * + * *
    * Optional. Garbage collection policy for the column or column family.
    * Applies to systems like Cloud Bigtable.
    * 
* * string gc_rule = 11 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The gcRule. */ @java.lang.Override @@ -1446,30 +1688,30 @@ public java.lang.String getGcRule() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gcRule_ = s; return s; } } /** + * + * *
    * Optional. Garbage collection policy for the column or column family.
    * Applies to systems like Cloud Bigtable.
    * 
* * string gc_rule = 11 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for gcRule. */ @java.lang.Override - public com.google.protobuf.ByteString - getGcRuleBytes() { + public com.google.protobuf.ByteString getGcRuleBytes() { java.lang.Object ref = gcRule_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); gcRule_ = b; return b; } else { @@ -1478,6 +1720,7 @@ public java.lang.String getGcRule() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1489,8 +1732,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1512,14 +1754,17 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (ordinalPosition_ != 0) { output.writeInt32(9, ordinalPosition_); } - if (highestIndexingType_ != com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType.INDEXING_TYPE_UNSPECIFIED.getNumber()) { + if (highestIndexingType_ + != com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType.INDEXING_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(10, highestIndexingType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gcRule_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, gcRule_); } if (systemSpecCase_ == 18) { - output.writeMessage(18, (com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) systemSpec_); + output.writeMessage( + 18, (com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) systemSpec_); } getUnknownFields().writeTo(output); } @@ -1543,26 +1788,26 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, column_); } for (int i = 0; i < subcolumns_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, subcolumns_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, subcolumns_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultValue_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, defaultValue_); } if (ordinalPosition_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(9, ordinalPosition_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, ordinalPosition_); } - if (highestIndexingType_ != com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType.INDEXING_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(10, highestIndexingType_); + if (highestIndexingType_ + != com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType.INDEXING_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, highestIndexingType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gcRule_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, gcRule_); } if (systemSpecCase_ == 18) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(18, (com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) systemSpec_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 18, (com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) systemSpec_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1572,35 +1817,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.datacatalog.v1.ColumnSchema)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ColumnSchema other = (com.google.cloud.datacatalog.v1.ColumnSchema) obj; - - if (!getColumn() - .equals(other.getColumn())) return false; - if (!getType() - .equals(other.getType())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getMode() - .equals(other.getMode())) return false; - if (!getDefaultValue() - .equals(other.getDefaultValue())) return false; - if (getOrdinalPosition() - != other.getOrdinalPosition()) return false; + com.google.cloud.datacatalog.v1.ColumnSchema other = + (com.google.cloud.datacatalog.v1.ColumnSchema) obj; + + if (!getColumn().equals(other.getColumn())) return false; + if (!getType().equals(other.getType())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getMode().equals(other.getMode())) return false; + if (!getDefaultValue().equals(other.getDefaultValue())) return false; + if (getOrdinalPosition() != other.getOrdinalPosition()) return false; if (highestIndexingType_ != other.highestIndexingType_) return false; - if (!getSubcolumnsList() - .equals(other.getSubcolumnsList())) return false; - if (!getGcRule() - .equals(other.getGcRule())) return false; + if (!getSubcolumnsList().equals(other.getSubcolumnsList())) return false; + if (!getGcRule().equals(other.getGcRule())) return false; if (!getSystemSpecCase().equals(other.getSystemSpecCase())) return false; switch (systemSpecCase_) { case 18: - if (!getLookerColumnSpec() - .equals(other.getLookerColumnSpec())) return false; + if (!getLookerColumnSpec().equals(other.getLookerColumnSpec())) return false; break; case 0: default: @@ -1649,99 +1886,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.ColumnSchema parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.ColumnSchema parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ColumnSchema parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ColumnSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ColumnSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ColumnSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ColumnSchema parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ColumnSchema parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ColumnSchema parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ColumnSchema parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ColumnSchema parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ColumnSchema parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ColumnSchema parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ColumnSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.ColumnSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A column within a schema. Columns can be nested inside
    * other columns.
@@ -1749,33 +1991,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ColumnSchema}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ColumnSchema)
       com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1_ColumnSchema_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.SchemaOuterClass
+          .internal_static_google_cloud_datacatalog_v1_ColumnSchema_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1_ColumnSchema_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.SchemaOuterClass
+          .internal_static_google_cloud_datacatalog_v1_ColumnSchema_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ColumnSchema.class, com.google.cloud.datacatalog.v1.ColumnSchema.Builder.class);
+              com.google.cloud.datacatalog.v1.ColumnSchema.class,
+              com.google.cloud.datacatalog.v1.ColumnSchema.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ColumnSchema.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1804,9 +2045,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1_ColumnSchema_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.SchemaOuterClass
+          .internal_static_google_cloud_datacatalog_v1_ColumnSchema_descriptor;
     }
 
     @java.lang.Override
@@ -1825,9 +2066,12 @@ public com.google.cloud.datacatalog.v1.ColumnSchema build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ColumnSchema buildPartial() {
-      com.google.cloud.datacatalog.v1.ColumnSchema result = new com.google.cloud.datacatalog.v1.ColumnSchema(this);
+      com.google.cloud.datacatalog.v1.ColumnSchema result =
+          new com.google.cloud.datacatalog.v1.ColumnSchema(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1876,8 +2120,7 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ColumnSchema result)
     private void buildPartialOneofs(com.google.cloud.datacatalog.v1.ColumnSchema result) {
       result.systemSpecCase_ = systemSpecCase_;
       result.systemSpec_ = this.systemSpec_;
-      if (systemSpecCase_ == 18 &&
-          lookerColumnSpecBuilder_ != null) {
+      if (systemSpecCase_ == 18 && lookerColumnSpecBuilder_ != null) {
         result.systemSpec_ = lookerColumnSpecBuilder_.build();
       }
     }
@@ -1886,38 +2129,39 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.ColumnSchema 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.datacatalog.v1.ColumnSchema) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ColumnSchema)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ColumnSchema) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1975,9 +2219,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.ColumnSchema other) {
             subcolumnsBuilder_ = null;
             subcolumns_ = other.subcolumns_;
             bitField0_ = (bitField0_ & ~0x00000080);
-            subcolumnsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getSubcolumnsFieldBuilder() : null;
+            subcolumnsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getSubcolumnsFieldBuilder()
+                    : null;
           } else {
             subcolumnsBuilder_.addAllMessages(other.subcolumns_);
           }
@@ -1989,13 +2234,15 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.ColumnSchema other) {
         onChanged();
       }
       switch (other.getSystemSpecCase()) {
-        case LOOKER_COLUMN_SPEC: {
-          mergeLookerColumnSpec(other.getLookerColumnSpec());
-          break;
-        }
-        case SYSTEMSPEC_NOT_SET: {
-          break;
-        }
+        case LOOKER_COLUMN_SPEC:
+          {
+            mergeLookerColumnSpec(other.getLookerColumnSpec());
+            break;
+          }
+        case SYSTEMSPEC_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -2023,72 +2270,81 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              type_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 10
-            case 18: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 18
-            case 26: {
-              mode_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 26
-            case 50: {
-              column_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 50
-            case 58: {
-              com.google.cloud.datacatalog.v1.ColumnSchema m =
-                  input.readMessage(
-                      com.google.cloud.datacatalog.v1.ColumnSchema.parser(),
-                      extensionRegistry);
-              if (subcolumnsBuilder_ == null) {
-                ensureSubcolumnsIsMutable();
-                subcolumns_.add(m);
-              } else {
-                subcolumnsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 58
-            case 66: {
-              defaultValue_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 66
-            case 72: {
-              ordinalPosition_ = input.readInt32();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 72
-            case 80: {
-              highestIndexingType_ = input.readEnum();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 80
-            case 90: {
-              gcRule_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 90
-            case 146: {
-              input.readMessage(
-                  getLookerColumnSpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              systemSpecCase_ = 18;
-              break;
-            } // case 146
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                type_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 10
+            case 18:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 18
+            case 26:
+              {
+                mode_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 26
+            case 50:
+              {
+                column_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 50
+            case 58:
+              {
+                com.google.cloud.datacatalog.v1.ColumnSchema m =
+                    input.readMessage(
+                        com.google.cloud.datacatalog.v1.ColumnSchema.parser(), extensionRegistry);
+                if (subcolumnsBuilder_ == null) {
+                  ensureSubcolumnsIsMutable();
+                  subcolumns_.add(m);
+                } else {
+                  subcolumnsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 58
+            case 66:
+              {
+                defaultValue_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 66
+            case 72:
+              {
+                ordinalPosition_ = input.readInt32();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 72
+            case 80:
+              {
+                highestIndexingType_ = input.readEnum();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 80
+            case 90:
+              {
+                gcRule_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 90
+            case 146:
+              {
+                input.readMessage(
+                    getLookerColumnSpecFieldBuilder().getBuilder(), extensionRegistry);
+                systemSpecCase_ = 18;
+                break;
+              } // case 146
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2098,12 +2354,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int systemSpecCase_ = 0;
     private java.lang.Object systemSpec_;
-    public SystemSpecCase
-        getSystemSpecCase() {
-      return SystemSpecCase.forNumber(
-          systemSpecCase_);
+
+    public SystemSpecCase getSystemSpecCase() {
+      return SystemSpecCase.forNumber(systemSpecCase_);
     }
 
     public Builder clearSystemSpec() {
@@ -2117,6 +2373,8 @@ public Builder clearSystemSpec() {
 
     private java.lang.Object column_ = "";
     /**
+     *
+     *
      * 
      * Required. Name of the column.
      *
@@ -2125,13 +2383,13 @@ public Builder clearSystemSpec() {
      * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -2140,6 +2398,8 @@ public java.lang.String getColumn() { } } /** + * + * *
      * Required. Name of the column.
      *
@@ -2148,15 +2408,14 @@ public java.lang.String getColumn() {
      * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -2164,6 +2423,8 @@ public java.lang.String getColumn() { } } /** + * + * *
      * Required. Name of the column.
      *
@@ -2172,18 +2433,22 @@ public java.lang.String getColumn() {
      * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @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; } /** + * + * *
      * Required. Name of the column.
      *
@@ -2192,6 +2457,7 @@ public Builder setColumn(
      * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearColumn() { @@ -2201,6 +2467,8 @@ public Builder clearColumn() { return this; } /** + * + * *
      * Required. Name of the column.
      *
@@ -2209,12 +2477,14 @@ public Builder clearColumn() {
      * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -2224,6 +2494,8 @@ public Builder setColumnBytes( private java.lang.Object type_ = ""; /** + * + * *
      * Required. Type of the column.
      *
@@ -2231,13 +2503,13 @@ public Builder setColumnBytes(
      * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -2246,6 +2518,8 @@ public java.lang.String getType() { } } /** + * + * *
      * Required. Type of the column.
      *
@@ -2253,15 +2527,14 @@ public java.lang.String getType() {
      * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -2269,6 +2542,8 @@ public java.lang.String getType() { } } /** + * + * *
      * Required. Type of the column.
      *
@@ -2276,18 +2551,22 @@ public java.lang.String getType() {
      * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; } /** + * + * *
      * Required. Type of the column.
      *
@@ -2295,6 +2574,7 @@ public Builder setType(
      * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearType() { @@ -2304,6 +2584,8 @@ public Builder clearType() { return this; } /** + * + * *
      * Required. Type of the column.
      *
@@ -2311,12 +2593,14 @@ public Builder clearType() {
      * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -2326,6 +2610,8 @@ public Builder setTypeBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description of the column. Default value is an empty string.
      *
@@ -2334,13 +2620,13 @@ public Builder setTypeBytes(
      * 
* * 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; @@ -2349,6 +2635,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the column. Default value is an empty string.
      *
@@ -2357,15 +2645,14 @@ public java.lang.String getDescription() {
      * 
* * 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 { @@ -2373,6 +2660,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the column. Default value is an empty string.
      *
@@ -2381,18 +2670,22 @@ public java.lang.String getDescription() {
      * 
* * 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_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. Description of the column. Default value is an empty string.
      *
@@ -2401,6 +2694,7 @@ public Builder setDescription(
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2410,6 +2704,8 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. Description of the column. Default value is an empty string.
      *
@@ -2418,12 +2714,14 @@ public Builder clearDescription() {
      * 
* * 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_ |= 0x00000004; @@ -2433,6 +2731,8 @@ public Builder setDescriptionBytes( private java.lang.Object mode_ = ""; /** + * + * *
      * Optional. A column's mode indicates whether values in this column are
      * required, nullable, or repeated.
@@ -2442,13 +2742,13 @@ public Builder setDescriptionBytes(
      * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -2457,6 +2757,8 @@ public java.lang.String getMode() { } } /** + * + * *
      * Optional. A column's mode indicates whether values in this column are
      * required, nullable, or repeated.
@@ -2466,15 +2768,14 @@ public java.lang.String getMode() {
      * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -2482,6 +2783,8 @@ public java.lang.String getMode() { } } /** + * + * *
      * Optional. A column's mode indicates whether values in this column are
      * required, nullable, or repeated.
@@ -2491,18 +2794,22 @@ public java.lang.String getMode() {
      * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. A column's mode indicates whether values in this column are
      * required, nullable, or repeated.
@@ -2512,6 +2819,7 @@ public Builder setMode(
      * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearMode() { @@ -2521,6 +2829,8 @@ public Builder clearMode() { return this; } /** + * + * *
      * Optional. A column's mode indicates whether values in this column are
      * required, nullable, or repeated.
@@ -2530,12 +2840,14 @@ public Builder clearMode() {
      * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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_ |= 0x00000008; @@ -2545,18 +2857,20 @@ public Builder setModeBytes( private java.lang.Object defaultValue_ = ""; /** + * + * *
      * Optional. Default value for the column.
      * 
* * string default_value = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The defaultValue. */ public java.lang.String getDefaultValue() { java.lang.Object ref = defaultValue_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultValue_ = s; return s; @@ -2565,20 +2879,21 @@ public java.lang.String getDefaultValue() { } } /** + * + * *
      * Optional. Default value for the column.
      * 
* * string default_value = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for defaultValue. */ - public com.google.protobuf.ByteString - getDefaultValueBytes() { + public com.google.protobuf.ByteString getDefaultValueBytes() { java.lang.Object ref = defaultValue_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultValue_ = b; return b; } else { @@ -2586,28 +2901,35 @@ public java.lang.String getDefaultValue() { } } /** + * + * *
      * Optional. Default value for the column.
      * 
* * string default_value = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The defaultValue to set. * @return This builder for chaining. */ - public Builder setDefaultValue( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDefaultValue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } defaultValue_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Default value for the column.
      * 
* * string default_value = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDefaultValue() { @@ -2617,17 +2939,21 @@ public Builder clearDefaultValue() { return this; } /** + * + * *
      * Optional. Default value for the column.
      * 
* * string default_value = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for defaultValue to set. * @return This builder for chaining. */ - public Builder setDefaultValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDefaultValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); defaultValue_ = value; bitField0_ |= 0x00000010; @@ -2635,13 +2961,16 @@ public Builder setDefaultValueBytes( return this; } - private int ordinalPosition_ ; + private int ordinalPosition_; /** + * + * *
      * Optional. Ordinal position
      * 
* * int32 ordinal_position = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The ordinalPosition. */ @java.lang.Override @@ -2649,11 +2978,14 @@ public int getOrdinalPosition() { return ordinalPosition_; } /** + * + * *
      * Optional. Ordinal position
      * 
* * int32 ordinal_position = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The ordinalPosition to set. * @return This builder for chaining. */ @@ -2665,11 +2997,14 @@ public Builder setOrdinalPosition(int value) { return this; } /** + * + * *
      * Optional. Ordinal position
      * 
* * int32 ordinal_position = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrdinalPosition() { @@ -2681,22 +3016,33 @@ public Builder clearOrdinalPosition() { private int highestIndexingType_ = 0; /** + * + * *
      * Optional. Most important inclusion of this column.
      * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for highestIndexingType. */ - @java.lang.Override public int getHighestIndexingTypeValue() { + @java.lang.Override + public int getHighestIndexingTypeValue() { return highestIndexingType_; } /** + * + * *
      * Optional. Most important inclusion of this column.
      * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for highestIndexingType to set. * @return This builder for chaining. */ @@ -2707,28 +3053,42 @@ public Builder setHighestIndexingTypeValue(int value) { return this; } /** + * + * *
      * Optional. Most important inclusion of this column.
      * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The highestIndexingType. */ @java.lang.Override public com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType getHighestIndexingType() { - com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType result = com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType.forNumber(highestIndexingType_); - return result == null ? com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType.UNRECOGNIZED : result; + com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType result = + com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType.forNumber(highestIndexingType_); + return result == null + ? com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType.UNRECOGNIZED + : result; } /** + * + * *
      * Optional. Most important inclusion of this column.
      * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The highestIndexingType to set. * @return This builder for chaining. */ - public Builder setHighestIndexingType(com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType value) { + public Builder setHighestIndexingType( + com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType value) { if (value == null) { throw new NullPointerException(); } @@ -2738,11 +3098,16 @@ public Builder setHighestIndexingType(com.google.cloud.datacatalog.v1.ColumnSche return this; } /** + * + * *
      * Optional. Most important inclusion of this column.
      * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearHighestIndexingType() { @@ -2753,24 +3118,33 @@ public Builder clearHighestIndexingType() { } private java.util.List subcolumns_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureSubcolumnsIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { - subcolumns_ = new java.util.ArrayList(subcolumns_); + subcolumns_ = + new java.util.ArrayList(subcolumns_); bitField0_ |= 0x00000080; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.ColumnSchema, com.google.cloud.datacatalog.v1.ColumnSchema.Builder, com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder> subcolumnsBuilder_; + com.google.cloud.datacatalog.v1.ColumnSchema, + com.google.cloud.datacatalog.v1.ColumnSchema.Builder, + com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder> + subcolumnsBuilder_; /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getSubcolumnsList() { if (subcolumnsBuilder_ == null) { @@ -2780,12 +3154,16 @@ public java.util.List getSubcolumn } } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getSubcolumnsCount() { if (subcolumnsBuilder_ == null) { @@ -2795,12 +3173,16 @@ public int getSubcolumnsCount() { } } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.datacatalog.v1.ColumnSchema getSubcolumns(int index) { if (subcolumnsBuilder_ == null) { @@ -2810,15 +3192,18 @@ public com.google.cloud.datacatalog.v1.ColumnSchema getSubcolumns(int index) { } } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setSubcolumns( - int index, com.google.cloud.datacatalog.v1.ColumnSchema value) { + public Builder setSubcolumns(int index, com.google.cloud.datacatalog.v1.ColumnSchema value) { if (subcolumnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2832,12 +3217,16 @@ public Builder setSubcolumns( return this; } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setSubcolumns( int index, com.google.cloud.datacatalog.v1.ColumnSchema.Builder builderForValue) { @@ -2851,12 +3240,16 @@ public Builder setSubcolumns( return this; } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addSubcolumns(com.google.cloud.datacatalog.v1.ColumnSchema value) { if (subcolumnsBuilder_ == null) { @@ -2872,15 +3265,18 @@ public Builder addSubcolumns(com.google.cloud.datacatalog.v1.ColumnSchema value) return this; } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addSubcolumns( - int index, com.google.cloud.datacatalog.v1.ColumnSchema value) { + public Builder addSubcolumns(int index, com.google.cloud.datacatalog.v1.ColumnSchema value) { if (subcolumnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2894,12 +3290,16 @@ public Builder addSubcolumns( return this; } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addSubcolumns( com.google.cloud.datacatalog.v1.ColumnSchema.Builder builderForValue) { @@ -2913,12 +3313,16 @@ public Builder addSubcolumns( return this; } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addSubcolumns( int index, com.google.cloud.datacatalog.v1.ColumnSchema.Builder builderForValue) { @@ -2932,19 +3336,22 @@ public Builder addSubcolumns( return this; } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllSubcolumns( java.lang.Iterable values) { if (subcolumnsBuilder_ == null) { ensureSubcolumnsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, subcolumns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, subcolumns_); onChanged(); } else { subcolumnsBuilder_.addAllMessages(values); @@ -2952,12 +3359,16 @@ public Builder addAllSubcolumns( return this; } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearSubcolumns() { if (subcolumnsBuilder_ == null) { @@ -2970,12 +3381,16 @@ public Builder clearSubcolumns() { return this; } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeSubcolumns(int index) { if (subcolumnsBuilder_ == null) { @@ -2988,42 +3403,53 @@ public Builder removeSubcolumns(int index) { return this; } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.datacatalog.v1.ColumnSchema.Builder getSubcolumnsBuilder( - int index) { + public com.google.cloud.datacatalog.v1.ColumnSchema.Builder getSubcolumnsBuilder(int index) { return getSubcolumnsFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getSubcolumnsOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getSubcolumnsOrBuilder(int index) { if (subcolumnsBuilder_ == null) { - return subcolumns_.get(index); } else { + return subcolumns_.get(index); + } else { return subcolumnsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getSubcolumnsOrBuilderList() { + public java.util.List + getSubcolumnsOrBuilderList() { if (subcolumnsBuilder_ != null) { return subcolumnsBuilder_.getMessageOrBuilderList(); } else { @@ -3031,65 +3457,86 @@ public com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getSubcolumnsOrBuil } } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.datacatalog.v1.ColumnSchema.Builder addSubcolumnsBuilder() { - return getSubcolumnsFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1.ColumnSchema.getDefaultInstance()); + return getSubcolumnsFieldBuilder() + .addBuilder(com.google.cloud.datacatalog.v1.ColumnSchema.getDefaultInstance()); } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.datacatalog.v1.ColumnSchema.Builder addSubcolumnsBuilder( - int index) { - return getSubcolumnsFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1.ColumnSchema.getDefaultInstance()); + public com.google.cloud.datacatalog.v1.ColumnSchema.Builder addSubcolumnsBuilder(int index) { + return getSubcolumnsFieldBuilder() + .addBuilder(index, com.google.cloud.datacatalog.v1.ColumnSchema.getDefaultInstance()); } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getSubcolumnsBuilderList() { + public java.util.List + getSubcolumnsBuilderList() { return getSubcolumnsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.ColumnSchema, com.google.cloud.datacatalog.v1.ColumnSchema.Builder, com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder> + com.google.cloud.datacatalog.v1.ColumnSchema, + com.google.cloud.datacatalog.v1.ColumnSchema.Builder, + com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder> getSubcolumnsFieldBuilder() { if (subcolumnsBuilder_ == null) { - subcolumnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.ColumnSchema, com.google.cloud.datacatalog.v1.ColumnSchema.Builder, com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder>( - subcolumns_, - ((bitField0_ & 0x00000080) != 0), - getParentForChildren(), - isClean()); + subcolumnsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.ColumnSchema, + com.google.cloud.datacatalog.v1.ColumnSchema.Builder, + com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder>( + subcolumns_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), isClean()); subcolumns_ = null; } return subcolumnsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec, com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.Builder, com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpecOrBuilder> lookerColumnSpecBuilder_; + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec, + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.Builder, + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpecOrBuilder> + lookerColumnSpecBuilder_; /** + * + * *
      * Looker specific column info of this column.
      * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; + * + * * @return Whether the lookerColumnSpec field is set. */ @java.lang.Override @@ -3097,11 +3544,15 @@ public boolean hasLookerColumnSpec() { return systemSpecCase_ == 18; } /** + * + * *
      * Looker specific column info of this column.
      * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; + * + * * @return The lookerColumnSpec. */ @java.lang.Override @@ -3119,13 +3570,17 @@ public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec getLookerCo } } /** + * + * *
      * Looker specific column info of this column.
      * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; + * */ - public Builder setLookerColumnSpec(com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec value) { + public Builder setLookerColumnSpec( + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec value) { if (lookerColumnSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3139,11 +3594,14 @@ public Builder setLookerColumnSpec(com.google.cloud.datacatalog.v1.ColumnSchema. return this; } /** + * + * *
      * Looker specific column info of this column.
      * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; + * */ public Builder setLookerColumnSpec( com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.Builder builderForValue) { @@ -3157,18 +3615,27 @@ public Builder setLookerColumnSpec( return this; } /** + * + * *
      * Looker specific column info of this column.
      * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; + * */ - public Builder mergeLookerColumnSpec(com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec value) { + public Builder mergeLookerColumnSpec( + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec value) { if (lookerColumnSpecBuilder_ == null) { - if (systemSpecCase_ == 18 && - systemSpec_ != com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.getDefaultInstance()) { - systemSpec_ = com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.newBuilder((com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) systemSpec_) - .mergeFrom(value).buildPartial(); + if (systemSpecCase_ == 18 + && systemSpec_ + != com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec + .getDefaultInstance()) { + systemSpec_ = + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.newBuilder( + (com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) systemSpec_) + .mergeFrom(value) + .buildPartial(); } else { systemSpec_ = value; } @@ -3184,11 +3651,14 @@ public Builder mergeLookerColumnSpec(com.google.cloud.datacatalog.v1.ColumnSchem return this; } /** + * + * *
      * Looker specific column info of this column.
      * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; + * */ public Builder clearLookerColumnSpec() { if (lookerColumnSpecBuilder_ == null) { @@ -3207,24 +3677,32 @@ public Builder clearLookerColumnSpec() { return this; } /** + * + * *
      * Looker specific column info of this column.
      * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; + * */ - public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.Builder getLookerColumnSpecBuilder() { + public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.Builder + getLookerColumnSpecBuilder() { return getLookerColumnSpecFieldBuilder().getBuilder(); } /** + * + * *
      * Looker specific column info of this column.
      * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpecOrBuilder getLookerColumnSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpecOrBuilder + getLookerColumnSpecOrBuilder() { if ((systemSpecCase_ == 18) && (lookerColumnSpecBuilder_ != null)) { return lookerColumnSpecBuilder_.getMessageOrBuilder(); } else { @@ -3235,21 +3713,30 @@ public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpecOrBuilder ge } } /** + * + * *
      * Looker specific column info of this column.
      * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec, com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.Builder, com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpecOrBuilder> + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec, + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.Builder, + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpecOrBuilder> getLookerColumnSpecFieldBuilder() { if (lookerColumnSpecBuilder_ == null) { if (!(systemSpecCase_ == 18)) { - systemSpec_ = com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.getDefaultInstance(); + systemSpec_ = + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.getDefaultInstance(); } - lookerColumnSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec, com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.Builder, com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpecOrBuilder>( + lookerColumnSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec, + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.Builder, + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpecOrBuilder>( (com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec) systemSpec_, getParentForChildren(), isClean()); @@ -3262,19 +3749,21 @@ public com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpecOrBuilder ge private java.lang.Object gcRule_ = ""; /** + * + * *
      * Optional. Garbage collection policy for the column or column family.
      * Applies to systems like Cloud Bigtable.
      * 
* * string gc_rule = 11 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The gcRule. */ public java.lang.String getGcRule() { java.lang.Object ref = gcRule_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gcRule_ = s; return s; @@ -3283,21 +3772,22 @@ public java.lang.String getGcRule() { } } /** + * + * *
      * Optional. Garbage collection policy for the column or column family.
      * Applies to systems like Cloud Bigtable.
      * 
* * string gc_rule = 11 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for gcRule. */ - public com.google.protobuf.ByteString - getGcRuleBytes() { + public com.google.protobuf.ByteString getGcRuleBytes() { java.lang.Object ref = gcRule_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); gcRule_ = b; return b; } else { @@ -3305,30 +3795,37 @@ public java.lang.String getGcRule() { } } /** + * + * *
      * Optional. Garbage collection policy for the column or column family.
      * Applies to systems like Cloud Bigtable.
      * 
* * string gc_rule = 11 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The gcRule to set. * @return This builder for chaining. */ - public Builder setGcRule( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGcRule(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } gcRule_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** + * + * *
      * Optional. Garbage collection policy for the column or column family.
      * Applies to systems like Cloud Bigtable.
      * 
* * string gc_rule = 11 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearGcRule() { @@ -3338,27 +3835,31 @@ public Builder clearGcRule() { return this; } /** + * + * *
      * Optional. Garbage collection policy for the column or column family.
      * Applies to systems like Cloud Bigtable.
      * 
* * string gc_rule = 11 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for gcRule to set. * @return This builder for chaining. */ - public Builder setGcRuleBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGcRuleBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); gcRule_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3368,12 +3869,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ColumnSchema) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ColumnSchema) private static final com.google.cloud.datacatalog.v1.ColumnSchema DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ColumnSchema(); } @@ -3382,27 +3883,27 @@ public static com.google.cloud.datacatalog.v1.ColumnSchema getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ColumnSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ColumnSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3417,6 +3918,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ColumnSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchemaOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchemaOrBuilder.java similarity index 70% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchemaOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchemaOrBuilder.java index 9c1633597687..64cd0e3b7aee 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchemaOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchemaOrBuilder.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/datacatalog/v1/schema.proto package com.google.cloud.datacatalog.v1; -public interface ColumnSchemaOrBuilder extends +public interface ColumnSchemaOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ColumnSchema) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Name of the column.
    *
@@ -16,10 +34,13 @@ public interface ColumnSchemaOrBuilder extends
    * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The column. */ java.lang.String getColumn(); /** + * + * *
    * Required. Name of the column.
    *
@@ -28,12 +49,14 @@ public interface ColumnSchemaOrBuilder extends
    * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for column. */ - com.google.protobuf.ByteString - getColumnBytes(); + com.google.protobuf.ByteString getColumnBytes(); /** + * + * *
    * Required. Type of the column.
    *
@@ -41,10 +64,13 @@ public interface ColumnSchemaOrBuilder extends
    * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The type. */ java.lang.String getType(); /** + * + * *
    * Required. Type of the column.
    *
@@ -52,12 +78,14 @@ public interface ColumnSchemaOrBuilder extends
    * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for type. */ - com.google.protobuf.ByteString - getTypeBytes(); + com.google.protobuf.ByteString getTypeBytes(); /** + * + * *
    * Optional. Description of the column. Default value is an empty string.
    *
@@ -66,10 +94,13 @@ public interface ColumnSchemaOrBuilder extends
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. Description of the column. Default value is an empty string.
    *
@@ -78,12 +109,14 @@ public interface ColumnSchemaOrBuilder extends
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Optional. A column's mode indicates whether values in this column are
    * required, nullable, or repeated.
@@ -93,10 +126,13 @@ public interface ColumnSchemaOrBuilder extends
    * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The mode. */ java.lang.String getMode(); /** + * + * *
    * Optional. A column's mode indicates whether values in this column are
    * required, nullable, or repeated.
@@ -106,157 +142,210 @@ public interface ColumnSchemaOrBuilder extends
    * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for mode. */ - com.google.protobuf.ByteString - getModeBytes(); + com.google.protobuf.ByteString getModeBytes(); /** + * + * *
    * Optional. Default value for the column.
    * 
* * string default_value = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The defaultValue. */ java.lang.String getDefaultValue(); /** + * + * *
    * Optional. Default value for the column.
    * 
* * string default_value = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for defaultValue. */ - com.google.protobuf.ByteString - getDefaultValueBytes(); + com.google.protobuf.ByteString getDefaultValueBytes(); /** + * + * *
    * Optional. Ordinal position
    * 
* * int32 ordinal_position = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The ordinalPosition. */ int getOrdinalPosition(); /** + * + * *
    * Optional. Most important inclusion of this column.
    * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for highestIndexingType. */ int getHighestIndexingTypeValue(); /** + * + * *
    * Optional. Most important inclusion of this column.
    * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The highestIndexingType. */ com.google.cloud.datacatalog.v1.ColumnSchema.IndexingType getHighestIndexingType(); /** + * + * *
    * Optional. Schema of sub-columns. A column can have zero or more
    * sub-columns.
    * 
* - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List - getSubcolumnsList(); + java.util.List getSubcolumnsList(); /** + * + * *
    * Optional. Schema of sub-columns. A column can have zero or more
    * sub-columns.
    * 
* - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.datacatalog.v1.ColumnSchema getSubcolumns(int index); /** + * + * *
    * Optional. Schema of sub-columns. A column can have zero or more
    * sub-columns.
    * 
* - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getSubcolumnsCount(); /** + * + * *
    * Optional. Schema of sub-columns. A column can have zero or more
    * sub-columns.
    * 
* - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getSubcolumnsOrBuilderList(); /** + * + * *
    * Optional. Schema of sub-columns. A column can have zero or more
    * sub-columns.
    * 
* - * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getSubcolumnsOrBuilder( - int index); + com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getSubcolumnsOrBuilder(int index); /** + * + * *
    * Looker specific column info of this column.
    * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; + * + * * @return Whether the lookerColumnSpec field is set. */ boolean hasLookerColumnSpec(); /** + * + * *
    * Looker specific column info of this column.
    * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; + * + * * @return The lookerColumnSpec. */ com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec getLookerColumnSpec(); /** + * + * *
    * Looker specific column info of this column.
    * 
* - * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; + * .google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; + * */ - com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpecOrBuilder getLookerColumnSpecOrBuilder(); + com.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpecOrBuilder + getLookerColumnSpecOrBuilder(); /** + * + * *
    * Optional. Garbage collection policy for the column or column family.
    * Applies to systems like Cloud Bigtable.
    * 
* * string gc_rule = 11 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The gcRule. */ java.lang.String getGcRule(); /** + * + * *
    * Optional. Garbage collection policy for the column or column family.
    * Applies to systems like Cloud Bigtable.
    * 
* * string gc_rule = 11 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for gcRule. */ - com.google.protobuf.ByteString - getGcRuleBytes(); + com.google.protobuf.ByteString getGcRuleBytes(); com.google.cloud.datacatalog.v1.ColumnSchema.SystemSpecCase getSystemSpecCase(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Common.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Common.java new file mode 100644 index 000000000000..73385d50e707 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Common.java @@ -0,0 +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/datacatalog/v1/common.proto + +package com.google.cloud.datacatalog.v1; + +public final class Common { + private Common() {} + + 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_datacatalog_v1_PersonalDetails_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_PersonalDetails_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/datacatalog/v1/common.pro" + + "to\022\033google.cloud.datacatalog.v1\032\037google/" + + "protobuf/timestamp.proto\"Q\n\017PersonalDeta" + + "ils\022\017\n\007starred\030\001 \001(\010\022-\n\tstar_time\030\002 \001(\0132" + + "\032.google.protobuf.Timestamp*\275\001\n\020Integrat" + + "edSystem\022!\n\035INTEGRATED_SYSTEM_UNSPECIFIE" + + "D\020\000\022\014\n\010BIGQUERY\020\001\022\020\n\014CLOUD_PUBSUB\020\002\022\026\n\022D" + + "ATAPROC_METASTORE\020\003\022\014\n\010DATAPLEX\020\004\022\021\n\rCLO" + + "UD_SPANNER\020\006\022\022\n\016CLOUD_BIGTABLE\020\007\022\r\n\tCLOU" + + "D_SQL\020\010\022\n\n\006LOOKER\020\t*j\n\016ManagingSystem\022\037\n" + + "\033MANAGING_SYSTEM_UNSPECIFIED\020\000\022\034\n\030MANAGI" + + "NG_SYSTEM_DATAPLEX\020\001\022\031\n\025MANAGING_SYSTEM_" + + "OTHER\020\002B\306\001\n\037com.google.cloud.datacatalog" + + ".v1P\001ZAcloud.google.com/go/datacatalog/a" + + "piv1/datacatalogpb;datacatalogpb\370\001\001\252\002\033Go" + + "ogle.Cloud.DataCatalog.V1\312\002\033Google\\Cloud" + + "\\DataCatalog\\V1\352\002\036Google::Cloud::DataCat" + + "alog::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1_PersonalDetails_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1_PersonalDetails_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_PersonalDetails_descriptor, + new java.lang.String[] { + "Starred", "StarTime", + }); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStats.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStats.java similarity index 66% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStats.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStats.java index 4fd54d42ff2d..16fd7207bba9 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStats.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStats.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/datacatalog/v1/usage.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Common statistics on the entry's usage.
  *
@@ -12,47 +29,51 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.CommonUsageStats}
  */
-public final class CommonUsageStats extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CommonUsageStats extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.CommonUsageStats)
     CommonUsageStatsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CommonUsageStats.newBuilder() to construct.
   private CommonUsageStats(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private CommonUsageStats() {
-  }
+
+  private CommonUsageStats() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CommonUsageStats();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_CommonUsageStats_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Usage
+        .internal_static_google_cloud_datacatalog_v1_CommonUsageStats_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_CommonUsageStats_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Usage
+        .internal_static_google_cloud_datacatalog_v1_CommonUsageStats_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.CommonUsageStats.class, com.google.cloud.datacatalog.v1.CommonUsageStats.Builder.class);
+            com.google.cloud.datacatalog.v1.CommonUsageStats.class,
+            com.google.cloud.datacatalog.v1.CommonUsageStats.Builder.class);
   }
 
   private int bitField0_;
   public static final int VIEW_COUNT_FIELD_NUMBER = 1;
   private long viewCount_ = 0L;
   /**
+   *
+   *
    * 
    * View count in source system.
    * 
* * optional int64 view_count = 1; + * * @return Whether the viewCount field is set. */ @java.lang.Override @@ -60,11 +81,14 @@ public boolean hasViewCount() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * View count in source system.
    * 
* * optional int64 view_count = 1; + * * @return The viewCount. */ @java.lang.Override @@ -73,6 +97,7 @@ public long getViewCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -84,8 +109,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(1, viewCount_); } @@ -99,8 +123,7 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, viewCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, viewCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -110,17 +133,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.datacatalog.v1.CommonUsageStats)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.CommonUsageStats other = (com.google.cloud.datacatalog.v1.CommonUsageStats) obj; + com.google.cloud.datacatalog.v1.CommonUsageStats other = + (com.google.cloud.datacatalog.v1.CommonUsageStats) obj; if (hasViewCount() != other.hasViewCount()) return false; if (hasViewCount()) { - if (getViewCount() - != other.getViewCount()) return false; + if (getViewCount() != other.getViewCount()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -135,107 +158,111 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); if (hasViewCount()) { hash = (37 * hash) + VIEW_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getViewCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getViewCount()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.datacatalog.v1.CommonUsageStats parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.CommonUsageStats parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CommonUsageStats parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CommonUsageStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CommonUsageStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CommonUsageStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CommonUsageStats parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CommonUsageStats parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.CommonUsageStats parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.CommonUsageStats parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CommonUsageStats parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CommonUsageStats parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.CommonUsageStats parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CommonUsageStats parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.CommonUsageStats parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.CommonUsageStats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Common statistics on the entry's usage.
    *
@@ -244,33 +271,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.CommonUsageStats}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.CommonUsageStats)
       com.google.cloud.datacatalog.v1.CommonUsageStatsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_CommonUsageStats_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Usage
+          .internal_static_google_cloud_datacatalog_v1_CommonUsageStats_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_CommonUsageStats_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Usage
+          .internal_static_google_cloud_datacatalog_v1_CommonUsageStats_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.CommonUsageStats.class, com.google.cloud.datacatalog.v1.CommonUsageStats.Builder.class);
+              com.google.cloud.datacatalog.v1.CommonUsageStats.class,
+              com.google.cloud.datacatalog.v1.CommonUsageStats.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.CommonUsageStats.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -280,9 +306,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_CommonUsageStats_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Usage
+          .internal_static_google_cloud_datacatalog_v1_CommonUsageStats_descriptor;
     }
 
     @java.lang.Override
@@ -301,8 +327,11 @@ public com.google.cloud.datacatalog.v1.CommonUsageStats build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.CommonUsageStats buildPartial() {
-      com.google.cloud.datacatalog.v1.CommonUsageStats result = new com.google.cloud.datacatalog.v1.CommonUsageStats(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.CommonUsageStats result =
+          new com.google.cloud.datacatalog.v1.CommonUsageStats(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -321,38 +350,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CommonUsageStats 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.datacatalog.v1.CommonUsageStats) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.CommonUsageStats)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.CommonUsageStats) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -360,7 +390,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.CommonUsageStats other) {
-      if (other == com.google.cloud.datacatalog.v1.CommonUsageStats.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.CommonUsageStats.getDefaultInstance())
+        return this;
       if (other.hasViewCount()) {
         setViewCount(other.getViewCount());
       }
@@ -390,17 +421,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              viewCount_ = input.readInt64();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                viewCount_ = 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) {
@@ -410,15 +443,19 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private long viewCount_ ;
+    private long viewCount_;
     /**
+     *
+     *
      * 
      * View count in source system.
      * 
* * optional int64 view_count = 1; + * * @return Whether the viewCount field is set. */ @java.lang.Override @@ -426,11 +463,14 @@ public boolean hasViewCount() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * View count in source system.
      * 
* * optional int64 view_count = 1; + * * @return The viewCount. */ @java.lang.Override @@ -438,11 +478,14 @@ public long getViewCount() { return viewCount_; } /** + * + * *
      * View count in source system.
      * 
* * optional int64 view_count = 1; + * * @param value The viewCount to set. * @return This builder for chaining. */ @@ -454,11 +497,14 @@ public Builder setViewCount(long value) { return this; } /** + * + * *
      * View count in source system.
      * 
* * optional int64 view_count = 1; + * * @return This builder for chaining. */ public Builder clearViewCount() { @@ -467,9 +513,9 @@ public Builder clearViewCount() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -479,12 +525,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.CommonUsageStats) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.CommonUsageStats) private static final com.google.cloud.datacatalog.v1.CommonUsageStats DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.CommonUsageStats(); } @@ -493,27 +539,27 @@ public static com.google.cloud.datacatalog.v1.CommonUsageStats getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CommonUsageStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CommonUsageStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -528,6 +574,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.CommonUsageStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStatsOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStatsOrBuilder.java new file mode 100644 index 000000000000..f4137c6fba89 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStatsOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/usage.proto + +package com.google.cloud.datacatalog.v1; + +public interface CommonUsageStatsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CommonUsageStats) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * View count in source system.
+   * 
+ * + * optional int64 view_count = 1; + * + * @return Whether the viewCount field is set. + */ + boolean hasViewCount(); + /** + * + * + *
+   * View count in source system.
+   * 
+ * + * optional int64 view_count = 1; + * + * @return The viewCount. + */ + long getViewCount(); +} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Contacts.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Contacts.java similarity index 71% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Contacts.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Contacts.java index 4152bad2e853..b57f9a4e8a2c 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Contacts.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Contacts.java @@ -1,110 +1,143 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Contact people for the entry.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.Contacts} */ -public final class Contacts extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Contacts extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.Contacts) ContactsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Contacts.newBuilder() to construct. private Contacts(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Contacts() { people_ = 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 Contacts(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_Contacts_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_Contacts_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_Contacts_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_Contacts_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.Contacts.class, com.google.cloud.datacatalog.v1.Contacts.Builder.class); + com.google.cloud.datacatalog.v1.Contacts.class, + com.google.cloud.datacatalog.v1.Contacts.Builder.class); } - public interface PersonOrBuilder extends + public interface PersonOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.Contacts.Person) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Designation of the person, for example, Data Steward.
      * 
* * string designation = 1; + * * @return The designation. */ java.lang.String getDesignation(); /** + * + * *
      * Designation of the person, for example, Data Steward.
      * 
* * string designation = 1; + * * @return The bytes for designation. */ - com.google.protobuf.ByteString - getDesignationBytes(); + com.google.protobuf.ByteString getDesignationBytes(); /** + * + * *
      * Email of the person in the format of `john.doe@xyz`,
      * `<john.doe@xyz>`, or `John Doe<john.doe@xyz>`.
      * 
* * string email = 2; + * * @return The email. */ java.lang.String getEmail(); /** + * + * *
      * Email of the person in the format of `john.doe@xyz`,
      * `<john.doe@xyz>`, or `John Doe<john.doe@xyz>`.
      * 
* * string email = 2; + * * @return The bytes for email. */ - com.google.protobuf.ByteString - getEmailBytes(); + com.google.protobuf.ByteString getEmailBytes(); } /** + * + * *
    * A contact person for the entry.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.Contacts.Person} */ - public static final class Person extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Person extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.Contacts.Person) PersonOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Person.newBuilder() to construct. private Person(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Person() { designation_ = ""; email_ = ""; @@ -112,33 +145,38 @@ private Person() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Person(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_Contacts_Person_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_Contacts_Person_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_Contacts_Person_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_Contacts_Person_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.Contacts.Person.class, com.google.cloud.datacatalog.v1.Contacts.Person.Builder.class); + com.google.cloud.datacatalog.v1.Contacts.Person.class, + com.google.cloud.datacatalog.v1.Contacts.Person.Builder.class); } public static final int DESIGNATION_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object designation_ = ""; /** + * + * *
      * Designation of the person, for example, Data Steward.
      * 
* * string designation = 1; + * * @return The designation. */ @java.lang.Override @@ -147,29 +185,29 @@ public java.lang.String getDesignation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); designation_ = s; return s; } } /** + * + * *
      * Designation of the person, for example, Data Steward.
      * 
* * string designation = 1; + * * @return The bytes for designation. */ @java.lang.Override - public com.google.protobuf.ByteString - getDesignationBytes() { + public com.google.protobuf.ByteString getDesignationBytes() { java.lang.Object ref = designation_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); designation_ = b; return b; } else { @@ -178,15 +216,19 @@ public java.lang.String getDesignation() { } public static final int EMAIL_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object email_ = ""; /** + * + * *
      * Email of the person in the format of `john.doe@xyz`,
      * `<john.doe@xyz>`, or `John Doe<john.doe@xyz>`.
      * 
* * string email = 2; + * * @return The email. */ @java.lang.Override @@ -195,30 +237,30 @@ public java.lang.String getEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; } } /** + * + * *
      * Email of the person in the format of `john.doe@xyz`,
      * `<john.doe@xyz>`, or `John Doe<john.doe@xyz>`.
      * 
* * string email = 2; + * * @return The bytes for email. */ @java.lang.Override - public com.google.protobuf.ByteString - getEmailBytes() { + public com.google.protobuf.ByteString getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); email_ = b; return b; } else { @@ -227,6 +269,7 @@ public java.lang.String getEmail() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -238,8 +281,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(designation_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, designation_); } @@ -269,17 +311,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.datacatalog.v1.Contacts.Person)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.Contacts.Person other = (com.google.cloud.datacatalog.v1.Contacts.Person) obj; + com.google.cloud.datacatalog.v1.Contacts.Person other = + (com.google.cloud.datacatalog.v1.Contacts.Person) obj; - if (!getDesignation() - .equals(other.getDesignation())) return false; - if (!getEmail() - .equals(other.getEmail())) return false; + if (!getDesignation().equals(other.getDesignation())) return false; + if (!getEmail().equals(other.getEmail())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -301,89 +342,93 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.Contacts.Person parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.Contacts.Person parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.Contacts.Person parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.Contacts.Person parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.Contacts.Person parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.Contacts.Person parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.Contacts.Person parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.Contacts.Person parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.Contacts.Person parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.Contacts.Person parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.Contacts.Person parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.Contacts.Person parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.Contacts.Person parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.Contacts.Person parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.Contacts.Person prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 +438,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A contact person for the entry.
      * 
* * Protobuf type {@code google.cloud.datacatalog.v1.Contacts.Person} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.Contacts.Person) com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_Contacts_Person_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_Contacts_Person_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_Contacts_Person_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_Contacts_Person_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.Contacts.Person.class, com.google.cloud.datacatalog.v1.Contacts.Person.Builder.class); + com.google.cloud.datacatalog.v1.Contacts.Person.class, + com.google.cloud.datacatalog.v1.Contacts.Person.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.Contacts.Person.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -436,9 +483,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_Contacts_Person_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_Contacts_Person_descriptor; } @java.lang.Override @@ -457,8 +504,11 @@ public com.google.cloud.datacatalog.v1.Contacts.Person build() { @java.lang.Override public com.google.cloud.datacatalog.v1.Contacts.Person buildPartial() { - com.google.cloud.datacatalog.v1.Contacts.Person result = new com.google.cloud.datacatalog.v1.Contacts.Person(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1.Contacts.Person result = + new com.google.cloud.datacatalog.v1.Contacts.Person(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -477,38 +527,41 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.Contacts.Person 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.datacatalog.v1.Contacts.Person) { - return mergeFrom((com.google.cloud.datacatalog.v1.Contacts.Person)other); + return mergeFrom((com.google.cloud.datacatalog.v1.Contacts.Person) other); } else { super.mergeFrom(other); return this; @@ -516,7 +569,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.Contacts.Person other) { - if (other == com.google.cloud.datacatalog.v1.Contacts.Person.getDefaultInstance()) return this; + if (other == com.google.cloud.datacatalog.v1.Contacts.Person.getDefaultInstance()) + return this; if (!other.getDesignation().isEmpty()) { designation_ = other.designation_; bitField0_ |= 0x00000001; @@ -553,22 +607,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - designation_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - email_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + designation_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + email_ = 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) { @@ -578,22 +635,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object designation_ = ""; /** + * + * *
        * Designation of the person, for example, Data Steward.
        * 
* * string designation = 1; + * * @return The designation. */ public java.lang.String getDesignation() { java.lang.Object ref = designation_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); designation_ = s; return s; @@ -602,20 +662,21 @@ public java.lang.String getDesignation() { } } /** + * + * *
        * Designation of the person, for example, Data Steward.
        * 
* * string designation = 1; + * * @return The bytes for designation. */ - public com.google.protobuf.ByteString - getDesignationBytes() { + public com.google.protobuf.ByteString getDesignationBytes() { java.lang.Object ref = designation_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); designation_ = b; return b; } else { @@ -623,28 +684,35 @@ public java.lang.String getDesignation() { } } /** + * + * *
        * Designation of the person, for example, Data Steward.
        * 
* * string designation = 1; + * * @param value The designation to set. * @return This builder for chaining. */ - public Builder setDesignation( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDesignation(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } designation_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Designation of the person, for example, Data Steward.
        * 
* * string designation = 1; + * * @return This builder for chaining. */ public Builder clearDesignation() { @@ -654,17 +722,21 @@ public Builder clearDesignation() { return this; } /** + * + * *
        * Designation of the person, for example, Data Steward.
        * 
* * string designation = 1; + * * @param value The bytes for designation to set. * @return This builder for chaining. */ - public Builder setDesignationBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDesignationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); designation_ = value; bitField0_ |= 0x00000001; @@ -674,19 +746,21 @@ public Builder setDesignationBytes( private java.lang.Object email_ = ""; /** + * + * *
        * Email of the person in the format of `john.doe@xyz`,
        * `<john.doe@xyz>`, or `John Doe<john.doe@xyz>`.
        * 
* * string email = 2; + * * @return The email. */ public java.lang.String getEmail() { java.lang.Object ref = email_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; @@ -695,21 +769,22 @@ public java.lang.String getEmail() { } } /** + * + * *
        * Email of the person in the format of `john.doe@xyz`,
        * `<john.doe@xyz>`, or `John Doe<john.doe@xyz>`.
        * 
* * string email = 2; + * * @return The bytes for email. */ - public com.google.protobuf.ByteString - getEmailBytes() { + public com.google.protobuf.ByteString getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); email_ = b; return b; } else { @@ -717,30 +792,37 @@ public java.lang.String getEmail() { } } /** + * + * *
        * Email of the person in the format of `john.doe@xyz`,
        * `<john.doe@xyz>`, or `John Doe<john.doe@xyz>`.
        * 
* * string email = 2; + * * @param value The email to set. * @return This builder for chaining. */ - public Builder setEmail( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEmail(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } email_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Email of the person in the format of `john.doe@xyz`,
        * `<john.doe@xyz>`, or `John Doe<john.doe@xyz>`.
        * 
* * string email = 2; + * * @return This builder for chaining. */ public Builder clearEmail() { @@ -750,24 +832,29 @@ public Builder clearEmail() { return this; } /** + * + * *
        * Email of the person in the format of `john.doe@xyz`,
        * `<john.doe@xyz>`, or `John Doe<john.doe@xyz>`.
        * 
* * string email = 2; + * * @param value The bytes for email to set. * @return This builder for chaining. */ - public Builder setEmailBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEmailBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); email_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -780,12 +867,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.Contacts.Person) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.Contacts.Person) private static final com.google.cloud.datacatalog.v1.Contacts.Person DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.Contacts.Person(); } @@ -794,27 +881,28 @@ public static com.google.cloud.datacatalog.v1.Contacts.Person getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Person parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Person parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -829,13 +917,15 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.Contacts.Person getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int PEOPLE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List people_; /** + * + * *
    * The list of contact people for the entry.
    * 
@@ -847,6 +937,8 @@ public java.util.List getPeople return people_; } /** + * + * *
    * The list of contact people for the entry.
    * 
@@ -854,11 +946,13 @@ public java.util.List getPeople * repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPeopleOrBuilderList() { return people_; } /** + * + * *
    * The list of contact people for the entry.
    * 
@@ -870,6 +964,8 @@ public int getPeopleCount() { return people_.size(); } /** + * + * *
    * The list of contact people for the entry.
    * 
@@ -881,6 +977,8 @@ public com.google.cloud.datacatalog.v1.Contacts.Person getPeople(int index) { return people_.get(index); } /** + * + * *
    * The list of contact people for the entry.
    * 
@@ -888,12 +986,12 @@ public com.google.cloud.datacatalog.v1.Contacts.Person getPeople(int index) { * repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder getPeopleOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder getPeopleOrBuilder(int index) { return people_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -905,8 +1003,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < people_.size(); i++) { output.writeMessage(1, people_.get(i)); } @@ -920,8 +1017,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < people_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, people_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, people_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -931,15 +1027,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.Contacts)) { return super.equals(obj); } com.google.cloud.datacatalog.v1.Contacts other = (com.google.cloud.datacatalog.v1.Contacts) obj; - if (!getPeopleList() - .equals(other.getPeopleList())) return false; + if (!getPeopleList().equals(other.getPeopleList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -960,132 +1055,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.Contacts parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.Contacts parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.Contacts parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.Contacts parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.Contacts parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.Contacts parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.Contacts parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.Contacts parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.Contacts parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.Contacts parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.Contacts parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.Contacts parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.Contacts parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.Contacts parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.Contacts prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Contact people for the entry.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.Contacts} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.Contacts) com.google.cloud.datacatalog.v1.ContactsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_Contacts_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_Contacts_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_Contacts_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_Contacts_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.Contacts.class, com.google.cloud.datacatalog.v1.Contacts.Builder.class); + com.google.cloud.datacatalog.v1.Contacts.class, + com.google.cloud.datacatalog.v1.Contacts.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.Contacts.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1101,9 +1200,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_Contacts_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_Contacts_descriptor; } @java.lang.Override @@ -1122,9 +1221,12 @@ public com.google.cloud.datacatalog.v1.Contacts build() { @java.lang.Override public com.google.cloud.datacatalog.v1.Contacts buildPartial() { - com.google.cloud.datacatalog.v1.Contacts result = new com.google.cloud.datacatalog.v1.Contacts(this); + com.google.cloud.datacatalog.v1.Contacts result = + new com.google.cloud.datacatalog.v1.Contacts(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1149,38 +1251,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.Contacts result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.Contacts) { - return mergeFrom((com.google.cloud.datacatalog.v1.Contacts)other); + return mergeFrom((com.google.cloud.datacatalog.v1.Contacts) other); } else { super.mergeFrom(other); return this; @@ -1207,9 +1310,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.Contacts other) { peopleBuilder_ = null; people_ = other.people_; bitField0_ = (bitField0_ & ~0x00000001); - peopleBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPeopleFieldBuilder() : null; + peopleBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPeopleFieldBuilder() + : null; } else { peopleBuilder_.addAllMessages(other.people_); } @@ -1241,25 +1345,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.datacatalog.v1.Contacts.Person m = - input.readMessage( - com.google.cloud.datacatalog.v1.Contacts.Person.parser(), - extensionRegistry); - if (peopleBuilder_ == null) { - ensurePeopleIsMutable(); - people_.add(m); - } else { - peopleBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.datacatalog.v1.Contacts.Person m = + input.readMessage( + com.google.cloud.datacatalog.v1.Contacts.Person.parser(), + extensionRegistry); + if (peopleBuilder_ == null) { + ensurePeopleIsMutable(); + people_.add(m); + } else { + peopleBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1269,21 +1375,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List people_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePeopleIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { people_ = new java.util.ArrayList(people_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Contacts.Person, com.google.cloud.datacatalog.v1.Contacts.Person.Builder, com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder> peopleBuilder_; + com.google.cloud.datacatalog.v1.Contacts.Person, + com.google.cloud.datacatalog.v1.Contacts.Person.Builder, + com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder> + peopleBuilder_; /** + * + * *
      * The list of contact people for the entry.
      * 
@@ -1298,6 +1411,8 @@ public java.util.List getPeople } } /** + * + * *
      * The list of contact people for the entry.
      * 
@@ -1312,6 +1427,8 @@ public int getPeopleCount() { } } /** + * + * *
      * The list of contact people for the entry.
      * 
@@ -1326,14 +1443,15 @@ public com.google.cloud.datacatalog.v1.Contacts.Person getPeople(int index) { } } /** + * + * *
      * The list of contact people for the entry.
      * 
* * repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1; */ - public Builder setPeople( - int index, com.google.cloud.datacatalog.v1.Contacts.Person value) { + public Builder setPeople(int index, com.google.cloud.datacatalog.v1.Contacts.Person value) { if (peopleBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1347,6 +1465,8 @@ public Builder setPeople( return this; } /** + * + * *
      * The list of contact people for the entry.
      * 
@@ -1365,6 +1485,8 @@ public Builder setPeople( return this; } /** + * + * *
      * The list of contact people for the entry.
      * 
@@ -1385,14 +1507,15 @@ public Builder addPeople(com.google.cloud.datacatalog.v1.Contacts.Person value) return this; } /** + * + * *
      * The list of contact people for the entry.
      * 
* * repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1; */ - public Builder addPeople( - int index, com.google.cloud.datacatalog.v1.Contacts.Person value) { + public Builder addPeople(int index, com.google.cloud.datacatalog.v1.Contacts.Person value) { if (peopleBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1406,6 +1529,8 @@ public Builder addPeople( return this; } /** + * + * *
      * The list of contact people for the entry.
      * 
@@ -1424,6 +1549,8 @@ public Builder addPeople( return this; } /** + * + * *
      * The list of contact people for the entry.
      * 
@@ -1442,6 +1569,8 @@ public Builder addPeople( return this; } /** + * + * *
      * The list of contact people for the entry.
      * 
@@ -1452,8 +1581,7 @@ public Builder addAllPeople( java.lang.Iterable values) { if (peopleBuilder_ == null) { ensurePeopleIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, people_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, people_); onChanged(); } else { peopleBuilder_.addAllMessages(values); @@ -1461,6 +1589,8 @@ public Builder addAllPeople( return this; } /** + * + * *
      * The list of contact people for the entry.
      * 
@@ -1478,6 +1608,8 @@ public Builder clearPeople() { return this; } /** + * + * *
      * The list of contact people for the entry.
      * 
@@ -1495,39 +1627,44 @@ public Builder removePeople(int index) { return this; } /** + * + * *
      * The list of contact people for the entry.
      * 
* * repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1; */ - public com.google.cloud.datacatalog.v1.Contacts.Person.Builder getPeopleBuilder( - int index) { + public com.google.cloud.datacatalog.v1.Contacts.Person.Builder getPeopleBuilder(int index) { return getPeopleFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of contact people for the entry.
      * 
* * repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1; */ - public com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder getPeopleOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder getPeopleOrBuilder(int index) { if (peopleBuilder_ == null) { - return people_.get(index); } else { + return people_.get(index); + } else { return peopleBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of contact people for the entry.
      * 
* * repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1; */ - public java.util.List - getPeopleOrBuilderList() { + public java.util.List + getPeopleOrBuilderList() { if (peopleBuilder_ != null) { return peopleBuilder_.getMessageOrBuilderList(); } else { @@ -1535,6 +1672,8 @@ public com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder getPeopleOrBuild } } /** + * + * *
      * The list of contact people for the entry.
      * 
@@ -1542,49 +1681,55 @@ public com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder getPeopleOrBuild * repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1; */ public com.google.cloud.datacatalog.v1.Contacts.Person.Builder addPeopleBuilder() { - return getPeopleFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1.Contacts.Person.getDefaultInstance()); + return getPeopleFieldBuilder() + .addBuilder(com.google.cloud.datacatalog.v1.Contacts.Person.getDefaultInstance()); } /** + * + * *
      * The list of contact people for the entry.
      * 
* * repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1; */ - public com.google.cloud.datacatalog.v1.Contacts.Person.Builder addPeopleBuilder( - int index) { - return getPeopleFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1.Contacts.Person.getDefaultInstance()); + public com.google.cloud.datacatalog.v1.Contacts.Person.Builder addPeopleBuilder(int index) { + return getPeopleFieldBuilder() + .addBuilder(index, com.google.cloud.datacatalog.v1.Contacts.Person.getDefaultInstance()); } /** + * + * *
      * The list of contact people for the entry.
      * 
* * repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1; */ - public java.util.List - getPeopleBuilderList() { + public java.util.List + getPeopleBuilderList() { return getPeopleFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Contacts.Person, com.google.cloud.datacatalog.v1.Contacts.Person.Builder, com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder> + com.google.cloud.datacatalog.v1.Contacts.Person, + com.google.cloud.datacatalog.v1.Contacts.Person.Builder, + com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder> getPeopleFieldBuilder() { if (peopleBuilder_ == null) { - peopleBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Contacts.Person, com.google.cloud.datacatalog.v1.Contacts.Person.Builder, com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder>( - people_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + peopleBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.Contacts.Person, + com.google.cloud.datacatalog.v1.Contacts.Person.Builder, + com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder>( + people_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); people_ = null; } return peopleBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1594,12 +1739,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.Contacts) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.Contacts) private static final com.google.cloud.datacatalog.v1.Contacts DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.Contacts(); } @@ -1608,27 +1753,27 @@ public static com.google.cloud.datacatalog.v1.Contacts getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Contacts parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Contacts parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1643,6 +1788,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.Contacts getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ContactsOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ContactsOrBuilder.java similarity index 65% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ContactsOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ContactsOrBuilder.java index 119af210ddb6..bd9174acc785 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ContactsOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ContactsOrBuilder.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface ContactsOrBuilder extends +public interface ContactsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.Contacts) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of contact people for the entry.
    * 
* * repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1; */ - java.util.List - getPeopleList(); + java.util.List getPeopleList(); /** + * + * *
    * The list of contact people for the entry.
    * 
@@ -25,6 +44,8 @@ public interface ContactsOrBuilder extends */ com.google.cloud.datacatalog.v1.Contacts.Person getPeople(int index); /** + * + * *
    * The list of contact people for the entry.
    * 
@@ -33,21 +54,24 @@ public interface ContactsOrBuilder extends */ int getPeopleCount(); /** + * + * *
    * The list of contact people for the entry.
    * 
* * repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1; */ - java.util.List + java.util.List getPeopleOrBuilderList(); /** + * + * *
    * The list of contact people for the entry.
    * 
* * repeated .google.cloud.datacatalog.v1.Contacts.Person people = 1; */ - com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder getPeopleOrBuilder( - int index); + com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder getPeopleOrBuilder(int index); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequest.java similarity index 69% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequest.java index 29db7ba26e9d..d2d8f0515428 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequest.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [CreateEntryGroup][google.cloud.datacatalog.v1.DataCatalog.CreateEntryGroup].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.CreateEntryGroupRequest}
  */
-public final class CreateEntryGroupRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CreateEntryGroupRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.CreateEntryGroupRequest)
     CreateEntryGroupRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CreateEntryGroupRequest.newBuilder() to construct.
   private CreateEntryGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CreateEntryGroupRequest() {
     parent_ = "";
     entryGroupId_ = "";
@@ -27,28 +45,32 @@ private CreateEntryGroupRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateEntryGroupRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.CreateEntryGroupRequest.class, com.google.cloud.datacatalog.v1.CreateEntryGroupRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.CreateEntryGroupRequest.class,
+            com.google.cloud.datacatalog.v1.CreateEntryGroupRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The names of the project and location that the new entry group
    * belongs to.
@@ -57,7 +79,10 @@ protected java.lang.Object newInstance(
    * stored in the location specified in its name.
    * 
* - * string parent = 1 [(.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 names of the project and location that the new entry group
    * belongs to.
@@ -82,17 +108,18 @@ public java.lang.String getParent() {
    * stored in the location specified in its name.
    * 
* - * string parent = 1 [(.google.api.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,9 +128,12 @@ public java.lang.String getParent() { } public static final int ENTRY_GROUP_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object entryGroupId_ = ""; /** + * + * *
    * Required. The ID of the entry group to create.
    *
@@ -113,6 +143,7 @@ public java.lang.String getParent() {
    * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The entryGroupId. */ @java.lang.Override @@ -121,14 +152,15 @@ public java.lang.String getEntryGroupId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entryGroupId_ = s; return s; } } /** + * + * *
    * Required. The ID of the entry group to create.
    *
@@ -138,16 +170,15 @@ public java.lang.String getEntryGroupId() {
    * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for entryGroupId. */ @java.lang.Override - public com.google.protobuf.ByteString - getEntryGroupIdBytes() { + public com.google.protobuf.ByteString getEntryGroupIdBytes() { java.lang.Object ref = entryGroupId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); entryGroupId_ = b; return b; } else { @@ -158,11 +189,14 @@ public java.lang.String getEntryGroupId() { public static final int ENTRY_GROUP_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1.EntryGroup entryGroup_; /** + * + * *
    * The entry group to create. Defaults to empty.
    * 
* * .google.cloud.datacatalog.v1.EntryGroup entry_group = 2; + * * @return Whether the entryGroup field is set. */ @java.lang.Override @@ -170,18 +204,25 @@ public boolean hasEntryGroup() { return entryGroup_ != null; } /** + * + * *
    * The entry group to create. Defaults to empty.
    * 
* * .google.cloud.datacatalog.v1.EntryGroup entry_group = 2; + * * @return The entryGroup. */ @java.lang.Override public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroup() { - return entryGroup_ == null ? com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance() : entryGroup_; + return entryGroup_ == null + ? com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance() + : entryGroup_; } /** + * + * *
    * The entry group to create. Defaults to empty.
    * 
@@ -190,10 +231,13 @@ public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroup() { */ @java.lang.Override public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupOrBuilder() { - return entryGroup_ == null ? com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance() : entryGroup_; + return entryGroup_ == null + ? com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance() + : entryGroup_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,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_); } @@ -229,8 +272,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (entryGroup_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEntryGroup()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEntryGroup()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entryGroupId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, entryGroupId_); @@ -243,21 +285,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.datacatalog.v1.CreateEntryGroupRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.CreateEntryGroupRequest other = (com.google.cloud.datacatalog.v1.CreateEntryGroupRequest) obj; + com.google.cloud.datacatalog.v1.CreateEntryGroupRequest other = + (com.google.cloud.datacatalog.v1.CreateEntryGroupRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getEntryGroupId() - .equals(other.getEntryGroupId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getEntryGroupId().equals(other.getEntryGroupId())) return false; if (hasEntryGroup() != other.hasEntryGroup()) return false; if (hasEntryGroup()) { - if (!getEntryGroup() - .equals(other.getEntryGroup())) return false; + if (!getEntryGroup().equals(other.getEntryGroup())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -284,98 +324,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.CreateEntryGroupRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CreateEntryGroupRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CreateEntryGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CreateEntryGroupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CreateEntryGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CreateEntryGroupRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateEntryGroupRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.CreateEntryGroupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.CreateEntryGroupRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateEntryGroupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CreateEntryGroupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.CreateEntryGroupRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CreateEntryGroupRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.CreateEntryGroupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.CreateEntryGroupRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.CreateEntryGroupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CreateEntryGroup][google.cloud.datacatalog.v1.DataCatalog.CreateEntryGroup].
@@ -383,33 +429,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.CreateEntryGroupRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.CreateEntryGroupRequest)
       com.google.cloud.datacatalog.v1.CreateEntryGroupRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.CreateEntryGroupRequest.class, com.google.cloud.datacatalog.v1.CreateEntryGroupRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.CreateEntryGroupRequest.class,
+              com.google.cloud.datacatalog.v1.CreateEntryGroupRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.CreateEntryGroupRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -425,9 +470,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_descriptor;
     }
 
     @java.lang.Override
@@ -446,8 +491,11 @@ public com.google.cloud.datacatalog.v1.CreateEntryGroupRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.CreateEntryGroupRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.CreateEntryGroupRequest result = new com.google.cloud.datacatalog.v1.CreateEntryGroupRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.CreateEntryGroupRequest result =
+          new com.google.cloud.datacatalog.v1.CreateEntryGroupRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -461,9 +509,7 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CreateEntryGroupReque
         result.entryGroupId_ = entryGroupId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.entryGroup_ = entryGroupBuilder_ == null
-            ? entryGroup_
-            : entryGroupBuilder_.build();
+        result.entryGroup_ = entryGroupBuilder_ == null ? entryGroup_ : entryGroupBuilder_.build();
       }
     }
 
@@ -471,38 +517,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CreateEntryGroupReque
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.CreateEntryGroupRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.CreateEntryGroupRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.CreateEntryGroupRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -510,7 +557,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.CreateEntryGroupRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.CreateEntryGroupRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.CreateEntryGroupRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -550,29 +598,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getEntryGroupFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 18
-            case 26: {
-              entryGroupId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getEntryGroupFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 18
+            case 26:
+              {
+                entryGroupId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -582,10 +632,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The names of the project and location that the new entry group
      * belongs to.
@@ -594,14 +647,16 @@ public Builder mergeFrom(
      * stored in the location specified in its name.
      * 
* - * string parent = 1 [(.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; @@ -610,6 +665,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The names of the project and location that the new entry group
      * belongs to.
@@ -618,16 +675,17 @@ public java.lang.String getParent() {
      * stored in the location specified in its name.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -635,6 +693,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The names of the project and location that the new entry group
      * belongs to.
@@ -643,19 +703,25 @@ public java.lang.String getParent() {
      * stored in the location specified in its name.
      * 
* - * 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 names of the project and location that the new entry group
      * belongs to.
@@ -664,7 +730,10 @@ public Builder setParent(
      * stored in the location specified in its name.
      * 
* - * string 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() { @@ -674,6 +743,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The names of the project and location that the new entry group
      * belongs to.
@@ -682,13 +753,17 @@ public Builder clearParent() {
      * stored in the location specified in its name.
      * 
* - * 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; @@ -698,6 +773,8 @@ public Builder setParentBytes( private java.lang.Object entryGroupId_ = ""; /** + * + * *
      * Required. The ID of the entry group to create.
      *
@@ -707,13 +784,13 @@ public Builder setParentBytes(
      * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The entryGroupId. */ public java.lang.String getEntryGroupId() { java.lang.Object ref = entryGroupId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entryGroupId_ = s; return s; @@ -722,6 +799,8 @@ public java.lang.String getEntryGroupId() { } } /** + * + * *
      * Required. The ID of the entry group to create.
      *
@@ -731,15 +810,14 @@ public java.lang.String getEntryGroupId() {
      * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for entryGroupId. */ - public com.google.protobuf.ByteString - getEntryGroupIdBytes() { + public com.google.protobuf.ByteString getEntryGroupIdBytes() { java.lang.Object ref = entryGroupId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); entryGroupId_ = b; return b; } else { @@ -747,6 +825,8 @@ public java.lang.String getEntryGroupId() { } } /** + * + * *
      * Required. The ID of the entry group to create.
      *
@@ -756,18 +836,22 @@ public java.lang.String getEntryGroupId() {
      * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The entryGroupId to set. * @return This builder for chaining. */ - public Builder setEntryGroupId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEntryGroupId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } entryGroupId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The ID of the entry group to create.
      *
@@ -777,6 +861,7 @@ public Builder setEntryGroupId(
      * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearEntryGroupId() { @@ -786,6 +871,8 @@ public Builder clearEntryGroupId() { return this; } /** + * + * *
      * Required. The ID of the entry group to create.
      *
@@ -795,12 +882,14 @@ public Builder clearEntryGroupId() {
      * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for entryGroupId to set. * @return This builder for chaining. */ - public Builder setEntryGroupIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEntryGroupIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); entryGroupId_ = value; bitField0_ |= 0x00000002; @@ -810,34 +899,47 @@ public Builder setEntryGroupIdBytes( private com.google.cloud.datacatalog.v1.EntryGroup entryGroup_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.EntryGroup, com.google.cloud.datacatalog.v1.EntryGroup.Builder, com.google.cloud.datacatalog.v1.EntryGroupOrBuilder> entryGroupBuilder_; + com.google.cloud.datacatalog.v1.EntryGroup, + com.google.cloud.datacatalog.v1.EntryGroup.Builder, + com.google.cloud.datacatalog.v1.EntryGroupOrBuilder> + entryGroupBuilder_; /** + * + * *
      * The entry group to create. Defaults to empty.
      * 
* * .google.cloud.datacatalog.v1.EntryGroup entry_group = 2; + * * @return Whether the entryGroup field is set. */ public boolean hasEntryGroup() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The entry group to create. Defaults to empty.
      * 
* * .google.cloud.datacatalog.v1.EntryGroup entry_group = 2; + * * @return The entryGroup. */ public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroup() { if (entryGroupBuilder_ == null) { - return entryGroup_ == null ? com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance() : entryGroup_; + return entryGroup_ == null + ? com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance() + : entryGroup_; } else { return entryGroupBuilder_.getMessage(); } } /** + * + * *
      * The entry group to create. Defaults to empty.
      * 
@@ -858,6 +960,8 @@ public Builder setEntryGroup(com.google.cloud.datacatalog.v1.EntryGroup value) { return this; } /** + * + * *
      * The entry group to create. Defaults to empty.
      * 
@@ -876,6 +980,8 @@ public Builder setEntryGroup( return this; } /** + * + * *
      * The entry group to create. Defaults to empty.
      * 
@@ -884,9 +990,9 @@ public Builder setEntryGroup( */ public Builder mergeEntryGroup(com.google.cloud.datacatalog.v1.EntryGroup value) { if (entryGroupBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - entryGroup_ != null && - entryGroup_ != com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && entryGroup_ != null + && entryGroup_ != com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()) { getEntryGroupBuilder().mergeFrom(value); } else { entryGroup_ = value; @@ -899,6 +1005,8 @@ public Builder mergeEntryGroup(com.google.cloud.datacatalog.v1.EntryGroup value) return this; } /** + * + * *
      * The entry group to create. Defaults to empty.
      * 
@@ -916,6 +1024,8 @@ public Builder clearEntryGroup() { return this; } /** + * + * *
      * The entry group to create. Defaults to empty.
      * 
@@ -928,6 +1038,8 @@ public com.google.cloud.datacatalog.v1.EntryGroup.Builder getEntryGroupBuilder() return getEntryGroupFieldBuilder().getBuilder(); } /** + * + * *
      * The entry group to create. Defaults to empty.
      * 
@@ -938,11 +1050,14 @@ public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupOrBuilde if (entryGroupBuilder_ != null) { return entryGroupBuilder_.getMessageOrBuilder(); } else { - return entryGroup_ == null ? - com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance() : entryGroup_; + return entryGroup_ == null + ? com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance() + : entryGroup_; } } /** + * + * *
      * The entry group to create. Defaults to empty.
      * 
@@ -950,21 +1065,24 @@ public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupOrBuilde * .google.cloud.datacatalog.v1.EntryGroup entry_group = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.EntryGroup, com.google.cloud.datacatalog.v1.EntryGroup.Builder, com.google.cloud.datacatalog.v1.EntryGroupOrBuilder> + com.google.cloud.datacatalog.v1.EntryGroup, + com.google.cloud.datacatalog.v1.EntryGroup.Builder, + com.google.cloud.datacatalog.v1.EntryGroupOrBuilder> getEntryGroupFieldBuilder() { if (entryGroupBuilder_ == null) { - entryGroupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.EntryGroup, com.google.cloud.datacatalog.v1.EntryGroup.Builder, com.google.cloud.datacatalog.v1.EntryGroupOrBuilder>( - getEntryGroup(), - getParentForChildren(), - isClean()); + entryGroupBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.EntryGroup, + com.google.cloud.datacatalog.v1.EntryGroup.Builder, + com.google.cloud.datacatalog.v1.EntryGroupOrBuilder>( + getEntryGroup(), getParentForChildren(), isClean()); entryGroup_ = null; } return entryGroupBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -974,12 +1092,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.CreateEntryGroupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.CreateEntryGroupRequest) private static final com.google.cloud.datacatalog.v1.CreateEntryGroupRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.CreateEntryGroupRequest(); } @@ -988,27 +1106,27 @@ public static com.google.cloud.datacatalog.v1.CreateEntryGroupRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateEntryGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateEntryGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +1141,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.CreateEntryGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequestOrBuilder.java index 8d2672824e34..ed595745f8ce 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequestOrBuilder.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface CreateEntryGroupRequestOrBuilder extends +public interface CreateEntryGroupRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CreateEntryGroupRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The names of the project and location that the new entry group
    * belongs to.
@@ -16,11 +34,16 @@ public interface CreateEntryGroupRequestOrBuilder extends
    * stored in the location specified in its name.
    * 
* - * string parent = 1 [(.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 names of the project and location that the new entry group
    * belongs to.
@@ -29,13 +52,17 @@ public interface CreateEntryGroupRequestOrBuilder extends
    * stored in the location specified in its name.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The ID of the entry group to create.
    *
@@ -45,10 +72,13 @@ public interface CreateEntryGroupRequestOrBuilder extends
    * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The entryGroupId. */ java.lang.String getEntryGroupId(); /** + * + * *
    * Required. The ID of the entry group to create.
    *
@@ -58,30 +88,38 @@ public interface CreateEntryGroupRequestOrBuilder extends
    * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for entryGroupId. */ - com.google.protobuf.ByteString - getEntryGroupIdBytes(); + com.google.protobuf.ByteString getEntryGroupIdBytes(); /** + * + * *
    * The entry group to create. Defaults to empty.
    * 
* * .google.cloud.datacatalog.v1.EntryGroup entry_group = 2; + * * @return Whether the entryGroup field is set. */ boolean hasEntryGroup(); /** + * + * *
    * The entry group to create. Defaults to empty.
    * 
* * .google.cloud.datacatalog.v1.EntryGroup entry_group = 2; + * * @return The entryGroup. */ com.google.cloud.datacatalog.v1.EntryGroup getEntryGroup(); /** + * + * *
    * The entry group to create. Defaults to empty.
    * 
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequest.java similarity index 67% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequest.java index 188f106adf97..2f5867c319e4 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequest.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.CreateEntryRequest}
  */
-public final class CreateEntryRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CreateEntryRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.CreateEntryRequest)
     CreateEntryRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CreateEntryRequest.newBuilder() to construct.
   private CreateEntryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CreateEntryRequest() {
     parent_ = "";
     entryId_ = "";
@@ -27,28 +45,32 @@ private CreateEntryRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateEntryRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.CreateEntryRequest.class, com.google.cloud.datacatalog.v1.CreateEntryRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.CreateEntryRequest.class,
+            com.google.cloud.datacatalog.v1.CreateEntryRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the entry group this entry belongs to.
    *
@@ -56,7 +78,10 @@ protected java.lang.Object newInstance(
    * the location specified in its name.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -65,14 +90,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the entry group this entry belongs to.
    *
@@ -80,17 +106,18 @@ public java.lang.String getParent() {
    * the location specified in its name.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -99,9 +126,12 @@ public java.lang.String getParent() { } public static final int ENTRY_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object entryId_ = ""; /** + * + * *
    * Required. The ID of the entry to create.
    *
@@ -111,6 +141,7 @@ public java.lang.String getParent() {
    * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The entryId. */ @java.lang.Override @@ -119,14 +150,15 @@ public java.lang.String getEntryId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entryId_ = s; return s; } } /** + * + * *
    * Required. The ID of the entry to create.
    *
@@ -136,16 +168,15 @@ public java.lang.String getEntryId() {
    * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for entryId. */ @java.lang.Override - public com.google.protobuf.ByteString - getEntryIdBytes() { + public com.google.protobuf.ByteString getEntryIdBytes() { java.lang.Object ref = entryId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); entryId_ = b; return b; } else { @@ -156,11 +187,15 @@ public java.lang.String getEntryId() { public static final int ENTRY_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1.Entry entry_; /** + * + * *
    * Required. The entry to create.
    * 
* - * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the entry field is set. */ @java.lang.Override @@ -168,11 +203,15 @@ public boolean hasEntry() { return entry_ != null; } /** + * + * *
    * Required. The entry to create.
    * 
* - * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The entry. */ @java.lang.Override @@ -180,11 +219,14 @@ public com.google.cloud.datacatalog.v1.Entry getEntry() { return entry_ == null ? com.google.cloud.datacatalog.v1.Entry.getDefaultInstance() : entry_; } /** + * + * *
    * Required. The entry to create.
    * 
* - * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntryOrBuilder() { @@ -192,6 +234,7 @@ public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntryOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,8 +246,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -227,8 +269,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (entry_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEntry()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEntry()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entryId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, entryId_); @@ -241,21 +282,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.CreateEntryRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.CreateEntryRequest other = (com.google.cloud.datacatalog.v1.CreateEntryRequest) obj; + com.google.cloud.datacatalog.v1.CreateEntryRequest other = + (com.google.cloud.datacatalog.v1.CreateEntryRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getEntryId() - .equals(other.getEntryId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getEntryId().equals(other.getEntryId())) return false; if (hasEntry() != other.hasEntry()) return false; if (hasEntry()) { - if (!getEntry() - .equals(other.getEntry())) return false; + if (!getEntry().equals(other.getEntry())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -282,98 +321,103 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.CreateEntryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CreateEntryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CreateEntryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CreateEntryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CreateEntryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CreateEntryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateEntryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.CreateEntryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.CreateEntryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateEntryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CreateEntryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.CreateEntryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CreateEntryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.CreateEntryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.CreateEntryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry].
@@ -381,33 +425,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.CreateEntryRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.CreateEntryRequest)
       com.google.cloud.datacatalog.v1.CreateEntryRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.CreateEntryRequest.class, com.google.cloud.datacatalog.v1.CreateEntryRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.CreateEntryRequest.class,
+              com.google.cloud.datacatalog.v1.CreateEntryRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.CreateEntryRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -423,9 +466,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_descriptor;
     }
 
     @java.lang.Override
@@ -444,8 +487,11 @@ public com.google.cloud.datacatalog.v1.CreateEntryRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.CreateEntryRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.CreateEntryRequest result = new com.google.cloud.datacatalog.v1.CreateEntryRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.CreateEntryRequest result =
+          new com.google.cloud.datacatalog.v1.CreateEntryRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -459,9 +505,7 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CreateEntryRequest re
         result.entryId_ = entryId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.entry_ = entryBuilder_ == null
-            ? entry_
-            : entryBuilder_.build();
+        result.entry_ = entryBuilder_ == null ? entry_ : entryBuilder_.build();
       }
     }
 
@@ -469,38 +513,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CreateEntryRequest 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.datacatalog.v1.CreateEntryRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.CreateEntryRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.CreateEntryRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -508,7 +553,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.CreateEntryRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.CreateEntryRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.CreateEntryRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -548,29 +594,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getEntryFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 18
-            case 26: {
-              entryId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getEntryFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 18
+            case 26:
+              {
+                entryId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -580,10 +628,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the entry group this entry belongs to.
      *
@@ -591,14 +642,16 @@ public Builder mergeFrom(
      * the location specified in its name.
      * 
* - * string parent = 1 [(.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; @@ -607,6 +660,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the entry group this entry belongs to.
      *
@@ -614,16 +669,17 @@ public java.lang.String getParent() {
      * the location specified in its name.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -631,6 +687,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the entry group this entry belongs to.
      *
@@ -638,19 +696,25 @@ public java.lang.String getParent() {
      * the location specified in its name.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the entry group this entry belongs to.
      *
@@ -658,7 +722,10 @@ public Builder setParent(
      * the location specified in its name.
      * 
* - * string 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() { @@ -668,6 +735,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the entry group this entry belongs to.
      *
@@ -675,13 +744,17 @@ public Builder clearParent() {
      * the location specified in its name.
      * 
* - * 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; @@ -691,6 +764,8 @@ public Builder setParentBytes( private java.lang.Object entryId_ = ""; /** + * + * *
      * Required. The ID of the entry to create.
      *
@@ -700,13 +775,13 @@ public Builder setParentBytes(
      * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The entryId. */ public java.lang.String getEntryId() { java.lang.Object ref = entryId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entryId_ = s; return s; @@ -715,6 +790,8 @@ public java.lang.String getEntryId() { } } /** + * + * *
      * Required. The ID of the entry to create.
      *
@@ -724,15 +801,14 @@ public java.lang.String getEntryId() {
      * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for entryId. */ - public com.google.protobuf.ByteString - getEntryIdBytes() { + public com.google.protobuf.ByteString getEntryIdBytes() { java.lang.Object ref = entryId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); entryId_ = b; return b; } else { @@ -740,6 +816,8 @@ public java.lang.String getEntryId() { } } /** + * + * *
      * Required. The ID of the entry to create.
      *
@@ -749,18 +827,22 @@ public java.lang.String getEntryId() {
      * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The entryId to set. * @return This builder for chaining. */ - public Builder setEntryId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEntryId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } entryId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The ID of the entry to create.
      *
@@ -770,6 +852,7 @@ public Builder setEntryId(
      * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearEntryId() { @@ -779,6 +862,8 @@ public Builder clearEntryId() { return this; } /** + * + * *
      * Required. The ID of the entry to create.
      *
@@ -788,12 +873,14 @@ public Builder clearEntryId() {
      * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for entryId to set. * @return This builder for chaining. */ - public Builder setEntryIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEntryIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); entryId_ = value; bitField0_ |= 0x00000002; @@ -803,24 +890,35 @@ public Builder setEntryIdBytes( private com.google.cloud.datacatalog.v1.Entry entry_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Entry, com.google.cloud.datacatalog.v1.Entry.Builder, com.google.cloud.datacatalog.v1.EntryOrBuilder> entryBuilder_; + com.google.cloud.datacatalog.v1.Entry, + com.google.cloud.datacatalog.v1.Entry.Builder, + com.google.cloud.datacatalog.v1.EntryOrBuilder> + entryBuilder_; /** + * + * *
      * Required. The entry to create.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the entry field is set. */ public boolean hasEntry() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The entry to create.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The entry. */ public com.google.cloud.datacatalog.v1.Entry getEntry() { @@ -831,11 +929,14 @@ public com.google.cloud.datacatalog.v1.Entry getEntry() { } } /** + * + * *
      * Required. The entry to create.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEntry(com.google.cloud.datacatalog.v1.Entry value) { if (entryBuilder_ == null) { @@ -851,14 +952,16 @@ public Builder setEntry(com.google.cloud.datacatalog.v1.Entry value) { return this; } /** + * + * *
      * Required. The entry to create.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setEntry( - com.google.cloud.datacatalog.v1.Entry.Builder builderForValue) { + public Builder setEntry(com.google.cloud.datacatalog.v1.Entry.Builder builderForValue) { if (entryBuilder_ == null) { entry_ = builderForValue.build(); } else { @@ -869,17 +972,20 @@ public Builder setEntry( return this; } /** + * + * *
      * Required. The entry to create.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeEntry(com.google.cloud.datacatalog.v1.Entry value) { if (entryBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - entry_ != null && - entry_ != com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && entry_ != null + && entry_ != com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()) { getEntryBuilder().mergeFrom(value); } else { entry_ = value; @@ -892,11 +998,14 @@ public Builder mergeEntry(com.google.cloud.datacatalog.v1.Entry value) { return this; } /** + * + * *
      * Required. The entry to create.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearEntry() { bitField0_ = (bitField0_ & ~0x00000004); @@ -909,11 +1018,14 @@ public Builder clearEntry() { return this; } /** + * + * *
      * Required. The entry to create.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1.Entry.Builder getEntryBuilder() { bitField0_ |= 0x00000004; @@ -921,43 +1033,51 @@ public com.google.cloud.datacatalog.v1.Entry.Builder getEntryBuilder() { return getEntryFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The entry to create.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntryOrBuilder() { if (entryBuilder_ != null) { return entryBuilder_.getMessageOrBuilder(); } else { - return entry_ == null ? - com.google.cloud.datacatalog.v1.Entry.getDefaultInstance() : entry_; + return entry_ == null ? com.google.cloud.datacatalog.v1.Entry.getDefaultInstance() : entry_; } } /** + * + * *
      * Required. The entry to create.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Entry, com.google.cloud.datacatalog.v1.Entry.Builder, com.google.cloud.datacatalog.v1.EntryOrBuilder> + com.google.cloud.datacatalog.v1.Entry, + com.google.cloud.datacatalog.v1.Entry.Builder, + com.google.cloud.datacatalog.v1.EntryOrBuilder> getEntryFieldBuilder() { if (entryBuilder_ == null) { - entryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Entry, com.google.cloud.datacatalog.v1.Entry.Builder, com.google.cloud.datacatalog.v1.EntryOrBuilder>( - getEntry(), - getParentForChildren(), - isClean()); + entryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.Entry, + com.google.cloud.datacatalog.v1.Entry.Builder, + com.google.cloud.datacatalog.v1.EntryOrBuilder>( + getEntry(), getParentForChildren(), isClean()); entry_ = null; } return entryBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -967,12 +1087,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.CreateEntryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.CreateEntryRequest) private static final com.google.cloud.datacatalog.v1.CreateEntryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.CreateEntryRequest(); } @@ -981,27 +1101,27 @@ public static com.google.cloud.datacatalog.v1.CreateEntryRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateEntryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateEntryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1016,6 +1136,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.CreateEntryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequestOrBuilder.java index faa9b0f774b6..9ccc1c224eff 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequestOrBuilder.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface CreateEntryRequestOrBuilder extends +public interface CreateEntryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CreateEntryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the entry group this entry belongs to.
    *
@@ -15,11 +33,16 @@ public interface CreateEntryRequestOrBuilder extends
    * the location specified in its name.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the entry group this entry belongs to.
    *
@@ -27,13 +50,17 @@ public interface CreateEntryRequestOrBuilder extends
    * the location specified in its name.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The ID of the entry to create.
    *
@@ -43,10 +70,13 @@ public interface CreateEntryRequestOrBuilder extends
    * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The entryId. */ java.lang.String getEntryId(); /** + * + * *
    * Required. The ID of the entry to create.
    *
@@ -56,35 +86,46 @@ public interface CreateEntryRequestOrBuilder extends
    * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for entryId. */ - com.google.protobuf.ByteString - getEntryIdBytes(); + com.google.protobuf.ByteString getEntryIdBytes(); /** + * + * *
    * Required. The entry to create.
    * 
* - * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the entry field is set. */ boolean hasEntry(); /** + * + * *
    * Required. The entry to create.
    * 
* - * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The entry. */ com.google.cloud.datacatalog.v1.Entry getEntry(); /** + * + * *
    * Required. The entry to create.
    * 
* - * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.datacatalog.v1.EntryOrBuilder getEntryOrBuilder(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequest.java similarity index 65% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequest.java index 1cd25e298403..01ef7999b08d 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequest.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/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [CreatePolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.CreatePolicyTag].
@@ -11,48 +28,56 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.CreatePolicyTagRequest}
  */
-public final class CreatePolicyTagRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CreatePolicyTagRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.CreatePolicyTagRequest)
     CreatePolicyTagRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CreatePolicyTagRequest.newBuilder() to construct.
   private CreatePolicyTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CreatePolicyTagRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreatePolicyTagRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.CreatePolicyTagRequest.class, com.google.cloud.datacatalog.v1.CreatePolicyTagRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.CreatePolicyTagRequest.class,
+            com.google.cloud.datacatalog.v1.CreatePolicyTagRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. Resource name of the taxonomy that the policy tag will belong to.
    * 
* - * string parent = 1 [(.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,29 +86,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. Resource name of the taxonomy that the policy tag will belong to.
    * 
* - * string parent = 1 [(.google.api.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,11 +121,14 @@ public java.lang.String getParent() { public static final int POLICY_TAG_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1.PolicyTag policyTag_; /** + * + * *
    * The policy tag to create.
    * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; + * * @return Whether the policyTag field is set. */ @java.lang.Override @@ -106,18 +136,25 @@ public boolean hasPolicyTag() { return policyTag_ != null; } /** + * + * *
    * The policy tag to create.
    * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; + * * @return The policyTag. */ @java.lang.Override public com.google.cloud.datacatalog.v1.PolicyTag getPolicyTag() { - return policyTag_ == null ? com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance() : policyTag_; + return policyTag_ == null + ? com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance() + : policyTag_; } /** + * + * *
    * The policy tag to create.
    * 
@@ -126,10 +163,13 @@ public com.google.cloud.datacatalog.v1.PolicyTag getPolicyTag() { */ @java.lang.Override public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagOrBuilder() { - return policyTag_ == null ? com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance() : policyTag_; + return policyTag_ == null + ? com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance() + : policyTag_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -162,8 +201,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (policyTag_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getPolicyTag()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPolicyTag()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -173,19 +211,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.datacatalog.v1.CreatePolicyTagRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.CreatePolicyTagRequest other = (com.google.cloud.datacatalog.v1.CreatePolicyTagRequest) obj; + com.google.cloud.datacatalog.v1.CreatePolicyTagRequest other = + (com.google.cloud.datacatalog.v1.CreatePolicyTagRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasPolicyTag() != other.hasPolicyTag()) return false; if (hasPolicyTag()) { - if (!getPolicyTag() - .equals(other.getPolicyTag())) return false; + if (!getPolicyTag().equals(other.getPolicyTag())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -210,98 +247,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.CreatePolicyTagRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CreatePolicyTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CreatePolicyTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CreatePolicyTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CreatePolicyTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CreatePolicyTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreatePolicyTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.CreatePolicyTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.CreatePolicyTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreatePolicyTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CreatePolicyTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.CreatePolicyTagRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CreatePolicyTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.CreatePolicyTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.CreatePolicyTagRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.CreatePolicyTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CreatePolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.CreatePolicyTag].
@@ -309,33 +352,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.CreatePolicyTagRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.CreatePolicyTagRequest)
       com.google.cloud.datacatalog.v1.CreatePolicyTagRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.CreatePolicyTagRequest.class, com.google.cloud.datacatalog.v1.CreatePolicyTagRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.CreatePolicyTagRequest.class,
+              com.google.cloud.datacatalog.v1.CreatePolicyTagRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.CreatePolicyTagRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -350,9 +392,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_descriptor;
     }
 
     @java.lang.Override
@@ -371,8 +413,11 @@ public com.google.cloud.datacatalog.v1.CreatePolicyTagRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.CreatePolicyTagRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.CreatePolicyTagRequest result = new com.google.cloud.datacatalog.v1.CreatePolicyTagRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.CreatePolicyTagRequest result =
+          new com.google.cloud.datacatalog.v1.CreatePolicyTagRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -383,9 +428,7 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CreatePolicyTagReques
         result.parent_ = parent_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.policyTag_ = policyTagBuilder_ == null
-            ? policyTag_
-            : policyTagBuilder_.build();
+        result.policyTag_ = policyTagBuilder_ == null ? policyTag_ : policyTagBuilder_.build();
       }
     }
 
@@ -393,38 +436,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CreatePolicyTagReques
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.CreatePolicyTagRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.CreatePolicyTagRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.CreatePolicyTagRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -432,7 +476,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.CreatePolicyTagRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.CreatePolicyTagRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.CreatePolicyTagRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -467,24 +512,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getPolicyTagFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            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(getPolicyTagFieldBuilder().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) {
@@ -494,22 +540,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. Resource name of the taxonomy that the policy tag will belong to.
      * 
* - * string parent = 1 [(.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; @@ -518,20 +569,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the taxonomy that the policy tag will belong to.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -539,28 +593,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the taxonomy that the policy tag will belong to.
      * 
* - * 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. Resource name of the taxonomy that the policy tag will belong to.
      * 
* - * string 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() { @@ -570,17 +635,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Resource name of the taxonomy that the policy tag will belong to.
      * 
* - * 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; @@ -590,34 +661,47 @@ public Builder setParentBytes( private com.google.cloud.datacatalog.v1.PolicyTag policyTag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PolicyTag, com.google.cloud.datacatalog.v1.PolicyTag.Builder, com.google.cloud.datacatalog.v1.PolicyTagOrBuilder> policyTagBuilder_; + com.google.cloud.datacatalog.v1.PolicyTag, + com.google.cloud.datacatalog.v1.PolicyTag.Builder, + com.google.cloud.datacatalog.v1.PolicyTagOrBuilder> + policyTagBuilder_; /** + * + * *
      * The policy tag to create.
      * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; + * * @return Whether the policyTag field is set. */ public boolean hasPolicyTag() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The policy tag to create.
      * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; + * * @return The policyTag. */ public com.google.cloud.datacatalog.v1.PolicyTag getPolicyTag() { if (policyTagBuilder_ == null) { - return policyTag_ == null ? com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance() : policyTag_; + return policyTag_ == null + ? com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance() + : policyTag_; } else { return policyTagBuilder_.getMessage(); } } /** + * + * *
      * The policy tag to create.
      * 
@@ -638,14 +722,15 @@ public Builder setPolicyTag(com.google.cloud.datacatalog.v1.PolicyTag value) { return this; } /** + * + * *
      * The policy tag to create.
      * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; */ - public Builder setPolicyTag( - com.google.cloud.datacatalog.v1.PolicyTag.Builder builderForValue) { + public Builder setPolicyTag(com.google.cloud.datacatalog.v1.PolicyTag.Builder builderForValue) { if (policyTagBuilder_ == null) { policyTag_ = builderForValue.build(); } else { @@ -656,6 +741,8 @@ public Builder setPolicyTag( return this; } /** + * + * *
      * The policy tag to create.
      * 
@@ -664,9 +751,9 @@ public Builder setPolicyTag( */ public Builder mergePolicyTag(com.google.cloud.datacatalog.v1.PolicyTag value) { if (policyTagBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - policyTag_ != null && - policyTag_ != com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && policyTag_ != null + && policyTag_ != com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance()) { getPolicyTagBuilder().mergeFrom(value); } else { policyTag_ = value; @@ -679,6 +766,8 @@ public Builder mergePolicyTag(com.google.cloud.datacatalog.v1.PolicyTag value) { return this; } /** + * + * *
      * The policy tag to create.
      * 
@@ -696,6 +785,8 @@ public Builder clearPolicyTag() { return this; } /** + * + * *
      * The policy tag to create.
      * 
@@ -708,6 +799,8 @@ public com.google.cloud.datacatalog.v1.PolicyTag.Builder getPolicyTagBuilder() { return getPolicyTagFieldBuilder().getBuilder(); } /** + * + * *
      * The policy tag to create.
      * 
@@ -718,11 +811,14 @@ public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagOrBuilder( if (policyTagBuilder_ != null) { return policyTagBuilder_.getMessageOrBuilder(); } else { - return policyTag_ == null ? - com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance() : policyTag_; + return policyTag_ == null + ? com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance() + : policyTag_; } } /** + * + * *
      * The policy tag to create.
      * 
@@ -730,21 +826,24 @@ public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagOrBuilder( * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PolicyTag, com.google.cloud.datacatalog.v1.PolicyTag.Builder, com.google.cloud.datacatalog.v1.PolicyTagOrBuilder> + com.google.cloud.datacatalog.v1.PolicyTag, + com.google.cloud.datacatalog.v1.PolicyTag.Builder, + com.google.cloud.datacatalog.v1.PolicyTagOrBuilder> getPolicyTagFieldBuilder() { if (policyTagBuilder_ == null) { - policyTagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PolicyTag, com.google.cloud.datacatalog.v1.PolicyTag.Builder, com.google.cloud.datacatalog.v1.PolicyTagOrBuilder>( - getPolicyTag(), - getParentForChildren(), - isClean()); + policyTagBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.PolicyTag, + com.google.cloud.datacatalog.v1.PolicyTag.Builder, + com.google.cloud.datacatalog.v1.PolicyTagOrBuilder>( + getPolicyTag(), getParentForChildren(), isClean()); policyTag_ = null; } return policyTagBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -754,12 +853,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.CreatePolicyTagRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.CreatePolicyTagRequest) private static final com.google.cloud.datacatalog.v1.CreatePolicyTagRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.CreatePolicyTagRequest(); } @@ -768,27 +867,27 @@ public static com.google.cloud.datacatalog.v1.CreatePolicyTagRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreatePolicyTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreatePolicyTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -803,6 +902,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.CreatePolicyTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequestOrBuilder.java index f890c148e316..05f66ebff0b2 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequestOrBuilder.java @@ -1,51 +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/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; -public interface CreatePolicyTagRequestOrBuilder extends +public interface CreatePolicyTagRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CreatePolicyTagRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the taxonomy that the policy tag will belong to.
    * 
* - * string parent = 1 [(.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. Resource name of the taxonomy that the policy tag will belong to.
    * 
* - * string parent = 1 [(.google.api.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(); /** + * + * *
    * The policy tag to create.
    * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; + * * @return Whether the policyTag field is set. */ boolean hasPolicyTag(); /** + * + * *
    * The policy tag to create.
    * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; + * * @return The policyTag. */ com.google.cloud.datacatalog.v1.PolicyTag getPolicyTag(); /** + * + * *
    * The policy tag to create.
    * 
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequest.java similarity index 66% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequest.java index d5f88dfebf61..bf232538634f 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequest.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [CreateTag][google.cloud.datacatalog.v1.DataCatalog.CreateTag].
@@ -11,43 +28,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.CreateTagRequest}
  */
-public final class CreateTagRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CreateTagRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.CreateTagRequest)
     CreateTagRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CreateTagRequest.newBuilder() to construct.
   private CreateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CreateTagRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateTagRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateTagRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_CreateTagRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateTagRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_CreateTagRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.CreateTagRequest.class, com.google.cloud.datacatalog.v1.CreateTagRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.CreateTagRequest.class,
+            com.google.cloud.datacatalog.v1.CreateTagRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the resource to attach this tag to.
    *
@@ -58,7 +80,10 @@ protected java.lang.Object newInstance(
    * the location specified in its name.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,14 +92,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the resource to attach this tag to.
    *
@@ -85,17 +111,18 @@ public java.lang.String getParent() {
    * the location specified in its name.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -106,11 +133,15 @@ public java.lang.String getParent() { public static final int TAG_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1.Tag tag_; /** + * + * *
    * Required. The tag to create.
    * 
* - * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tag field is set. */ @java.lang.Override @@ -118,11 +149,15 @@ public boolean hasTag() { return tag_ != null; } /** + * + * *
    * Required. The tag to create.
    * 
* - * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tag. */ @java.lang.Override @@ -130,11 +165,14 @@ public com.google.cloud.datacatalog.v1.Tag getTag() { return tag_ == null ? com.google.cloud.datacatalog.v1.Tag.getDefaultInstance() : tag_; } /** + * + * *
    * Required. The tag to create.
    * 
* - * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1.TagOrBuilder getTagOrBuilder() { @@ -142,6 +180,7 @@ public com.google.cloud.datacatalog.v1.TagOrBuilder getTagOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +192,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -174,8 +212,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (tag_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTag()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTag()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -185,19 +222,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.datacatalog.v1.CreateTagRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.CreateTagRequest other = (com.google.cloud.datacatalog.v1.CreateTagRequest) obj; + com.google.cloud.datacatalog.v1.CreateTagRequest other = + (com.google.cloud.datacatalog.v1.CreateTagRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasTag() != other.hasTag()) return false; if (hasTag()) { - if (!getTag() - .equals(other.getTag())) return false; + if (!getTag().equals(other.getTag())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -221,99 +257,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.CreateTagRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.CreateTagRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CreateTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CreateTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CreateTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CreateTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CreateTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.CreateTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.CreateTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CreateTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.CreateTagRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CreateTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.CreateTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.CreateTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CreateTag][google.cloud.datacatalog.v1.DataCatalog.CreateTag].
@@ -321,33 +362,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.CreateTagRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.CreateTagRequest)
       com.google.cloud.datacatalog.v1.CreateTagRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateTagRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_CreateTagRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateTagRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_CreateTagRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.CreateTagRequest.class, com.google.cloud.datacatalog.v1.CreateTagRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.CreateTagRequest.class,
+              com.google.cloud.datacatalog.v1.CreateTagRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.CreateTagRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -362,9 +402,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateTagRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_CreateTagRequest_descriptor;
     }
 
     @java.lang.Override
@@ -383,8 +423,11 @@ public com.google.cloud.datacatalog.v1.CreateTagRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.CreateTagRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.CreateTagRequest result = new com.google.cloud.datacatalog.v1.CreateTagRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.CreateTagRequest result =
+          new com.google.cloud.datacatalog.v1.CreateTagRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -395,9 +438,7 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CreateTagRequest resu
         result.parent_ = parent_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.tag_ = tagBuilder_ == null
-            ? tag_
-            : tagBuilder_.build();
+        result.tag_ = tagBuilder_ == null ? tag_ : tagBuilder_.build();
       }
     }
 
@@ -405,38 +446,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CreateTagRequest 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.datacatalog.v1.CreateTagRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.CreateTagRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.CreateTagRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -444,7 +486,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.CreateTagRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.CreateTagRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.CreateTagRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -479,24 +522,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getTagFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            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(getTagFieldBuilder().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) {
@@ -506,10 +550,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the resource to attach this tag to.
      *
@@ -520,14 +567,16 @@ public Builder mergeFrom(
      * the location specified in its name.
      * 
* - * string parent = 1 [(.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; @@ -536,6 +585,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the resource to attach this tag to.
      *
@@ -546,16 +597,17 @@ public java.lang.String getParent() {
      * the location specified in its name.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -563,6 +615,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the resource to attach this tag to.
      *
@@ -573,19 +627,25 @@ public java.lang.String getParent() {
      * the location specified in its name.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource to attach this tag to.
      *
@@ -596,7 +656,10 @@ public Builder setParent(
      * the location specified in its name.
      * 
* - * string 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() { @@ -606,6 +669,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the resource to attach this tag to.
      *
@@ -616,13 +681,17 @@ public Builder clearParent() {
      * the location specified in its name.
      * 
* - * 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; @@ -632,24 +701,35 @@ public Builder setParentBytes( private com.google.cloud.datacatalog.v1.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder> tagBuilder_; + com.google.cloud.datacatalog.v1.Tag, + com.google.cloud.datacatalog.v1.Tag.Builder, + com.google.cloud.datacatalog.v1.TagOrBuilder> + tagBuilder_; /** + * + * *
      * Required. The tag to create.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tag field is set. */ public boolean hasTag() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The tag to create.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tag. */ public com.google.cloud.datacatalog.v1.Tag getTag() { @@ -660,11 +740,14 @@ public com.google.cloud.datacatalog.v1.Tag getTag() { } } /** + * + * *
      * Required. The tag to create.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTag(com.google.cloud.datacatalog.v1.Tag value) { if (tagBuilder_ == null) { @@ -680,14 +763,16 @@ public Builder setTag(com.google.cloud.datacatalog.v1.Tag value) { return this; } /** + * + * *
      * Required. The tag to create.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTag( - com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { + public Builder setTag(com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { if (tagBuilder_ == null) { tag_ = builderForValue.build(); } else { @@ -698,17 +783,20 @@ public Builder setTag( return this; } /** + * + * *
      * Required. The tag to create.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTag(com.google.cloud.datacatalog.v1.Tag value) { if (tagBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - tag_ != null && - tag_ != com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && tag_ != null + && tag_ != com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()) { getTagBuilder().mergeFrom(value); } else { tag_ = value; @@ -721,11 +809,14 @@ public Builder mergeTag(com.google.cloud.datacatalog.v1.Tag value) { return this; } /** + * + * *
      * Required. The tag to create.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTag() { bitField0_ = (bitField0_ & ~0x00000002); @@ -738,11 +829,14 @@ public Builder clearTag() { return this; } /** + * + * *
      * Required. The tag to create.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1.Tag.Builder getTagBuilder() { bitField0_ |= 0x00000002; @@ -750,43 +844,51 @@ public com.google.cloud.datacatalog.v1.Tag.Builder getTagBuilder() { return getTagFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The tag to create.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1.TagOrBuilder getTagOrBuilder() { if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null ? - com.google.cloud.datacatalog.v1.Tag.getDefaultInstance() : tag_; + return tag_ == null ? com.google.cloud.datacatalog.v1.Tag.getDefaultInstance() : tag_; } } /** + * + * *
      * Required. The tag to create.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder> + com.google.cloud.datacatalog.v1.Tag, + com.google.cloud.datacatalog.v1.Tag.Builder, + com.google.cloud.datacatalog.v1.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder>( - getTag(), - getParentForChildren(), - isClean()); + tagBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.Tag, + com.google.cloud.datacatalog.v1.Tag.Builder, + com.google.cloud.datacatalog.v1.TagOrBuilder>( + getTag(), getParentForChildren(), isClean()); tag_ = null; } return tagBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -796,12 +898,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.CreateTagRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.CreateTagRequest) private static final com.google.cloud.datacatalog.v1.CreateTagRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.CreateTagRequest(); } @@ -810,27 +912,27 @@ public static com.google.cloud.datacatalog.v1.CreateTagRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -845,6 +947,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.CreateTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequestOrBuilder.java similarity index 58% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequestOrBuilder.java index dfe40ffaf269..72bb52baa242 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequestOrBuilder.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface CreateTagRequestOrBuilder extends +public interface CreateTagRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CreateTagRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the resource to attach this tag to.
    *
@@ -18,11 +36,16 @@ public interface CreateTagRequestOrBuilder extends
    * the location specified in its name.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the resource to attach this tag to.
    *
@@ -33,36 +56,49 @@ public interface CreateTagRequestOrBuilder extends
    * the location specified in its name.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The tag to create.
    * 
* - * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tag field is set. */ boolean hasTag(); /** + * + * *
    * Required. The tag to create.
    * 
* - * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tag. */ com.google.cloud.datacatalog.v1.Tag getTag(); /** + * + * *
    * Required. The tag to create.
    * 
* - * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.datacatalog.v1.TagOrBuilder getTagOrBuilder(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequest.java similarity index 64% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequest.java index c4a4cc93a9b2..29d424b433f5 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequest.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [CreateTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.CreateTagTemplateField].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest}
  */
-public final class CreateTagTemplateFieldRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CreateTagTemplateFieldRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest)
     CreateTagTemplateFieldRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CreateTagTemplateFieldRequest.newBuilder() to construct.
   private CreateTagTemplateFieldRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CreateTagTemplateFieldRequest() {
     parent_ = "";
     tagTemplateFieldId_ = "";
@@ -27,34 +45,41 @@ private CreateTagTemplateFieldRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateTagTemplateFieldRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest.class, com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest.class,
+            com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
    * 
* - * string parent = 1 [(.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 name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
    * 
* - * string parent = 1 [(.google.api.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,9 +122,12 @@ public java.lang.String getParent() { } public static final int TAG_TEMPLATE_FIELD_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object tagTemplateFieldId_ = ""; /** + * + * *
    * Required. The ID of the tag template field to create.
    *
@@ -110,6 +140,7 @@ public java.lang.String getParent() {
    * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tagTemplateFieldId. */ @java.lang.Override @@ -118,14 +149,15 @@ public java.lang.String getTagTemplateFieldId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagTemplateFieldId_ = s; return s; } } /** + * + * *
    * Required. The ID of the tag template field to create.
    *
@@ -138,16 +170,15 @@ public java.lang.String getTagTemplateFieldId() {
    * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for tagTemplateFieldId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTagTemplateFieldIdBytes() { + public com.google.protobuf.ByteString getTagTemplateFieldIdBytes() { java.lang.Object ref = tagTemplateFieldId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagTemplateFieldId_ = b; return b; } else { @@ -158,11 +189,16 @@ public java.lang.String getTagTemplateFieldId() { public static final int TAG_TEMPLATE_FIELD_FIELD_NUMBER = 3; private com.google.cloud.datacatalog.v1.TagTemplateField tagTemplateField_; /** + * + * *
    * Required. The tag template field to create.
    * 
* - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tagTemplateField field is set. */ @java.lang.Override @@ -170,30 +206,44 @@ public boolean hasTagTemplateField() { return tagTemplateField_ != null; } /** + * + * *
    * Required. The tag template field to create.
    * 
* - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tagTemplateField. */ @java.lang.Override public com.google.cloud.datacatalog.v1.TagTemplateField getTagTemplateField() { - return tagTemplateField_ == null ? com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance() : tagTemplateField_; + return tagTemplateField_ == null + ? com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance() + : tagTemplateField_; } /** + * + * *
    * Required. The tag template field to create.
    * 
* - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder() { - return tagTemplateField_ == null ? com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance() : tagTemplateField_; + return tagTemplateField_ == null + ? com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance() + : tagTemplateField_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,8 +255,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -232,8 +281,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tagTemplateFieldId_); } if (tagTemplateField_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getTagTemplateField()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTagTemplateField()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -243,21 +291,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest other = (com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest) obj; + com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest other = + (com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getTagTemplateFieldId() - .equals(other.getTagTemplateFieldId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getTagTemplateFieldId().equals(other.getTagTemplateFieldId())) return false; if (hasTagTemplateField() != other.hasTagTemplateField()) return false; if (hasTagTemplateField()) { - if (!getTagTemplateField() - .equals(other.getTagTemplateField())) return false; + if (!getTagTemplateField().equals(other.getTagTemplateField())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -284,98 +330,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CreateTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.CreateTagTemplateField].
@@ -383,33 +435,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest)
       com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest.class, com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest.class,
+              com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -425,13 +476,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest getDefaultInstanceForType() {
+    public com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest.getDefaultInstance();
     }
 
@@ -446,13 +498,17 @@ public com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest result = new com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest result =
+          new com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest result) {
+    private void buildPartial0(
+        com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -461,9 +517,8 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CreateTagTemplateFiel
         result.tagTemplateFieldId_ = tagTemplateFieldId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.tagTemplateField_ = tagTemplateFieldBuilder_ == null
-            ? tagTemplateField_
-            : tagTemplateFieldBuilder_.build();
+        result.tagTemplateField_ =
+            tagTemplateFieldBuilder_ == null ? tagTemplateField_ : tagTemplateFieldBuilder_.build();
       }
     }
 
@@ -471,38 +526,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CreateTagTemplateFiel
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -510,7 +566,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -550,29 +608,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              tagTemplateFieldId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getTagTemplateFieldFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                tagTemplateFieldId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(
+                    getTagTemplateFieldFieldBuilder().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) {
@@ -582,23 +643,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
      * 
* - * string parent = 1 [(.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; @@ -607,21 +673,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
      * 
* - * string parent = 1 [(.google.api.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 { @@ -629,30 +698,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
      * 
* - * string 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() { @@ -662,18 +742,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
      * 
* - * 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; @@ -683,6 +769,8 @@ public Builder setParentBytes( private java.lang.Object tagTemplateFieldId_ = ""; /** + * + * *
      * Required. The ID of the tag template field to create.
      *
@@ -695,13 +783,13 @@ public Builder setParentBytes(
      * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tagTemplateFieldId. */ public java.lang.String getTagTemplateFieldId() { java.lang.Object ref = tagTemplateFieldId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagTemplateFieldId_ = s; return s; @@ -710,6 +798,8 @@ public java.lang.String getTagTemplateFieldId() { } } /** + * + * *
      * Required. The ID of the tag template field to create.
      *
@@ -722,15 +812,14 @@ public java.lang.String getTagTemplateFieldId() {
      * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for tagTemplateFieldId. */ - public com.google.protobuf.ByteString - getTagTemplateFieldIdBytes() { + public com.google.protobuf.ByteString getTagTemplateFieldIdBytes() { java.lang.Object ref = tagTemplateFieldId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagTemplateFieldId_ = b; return b; } else { @@ -738,6 +827,8 @@ public java.lang.String getTagTemplateFieldId() { } } /** + * + * *
      * Required. The ID of the tag template field to create.
      *
@@ -750,18 +841,22 @@ public java.lang.String getTagTemplateFieldId() {
      * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The tagTemplateFieldId to set. * @return This builder for chaining. */ - public Builder setTagTemplateFieldId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTagTemplateFieldId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tagTemplateFieldId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The ID of the tag template field to create.
      *
@@ -774,6 +869,7 @@ public Builder setTagTemplateFieldId(
      * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTagTemplateFieldId() { @@ -783,6 +879,8 @@ public Builder clearTagTemplateFieldId() { return this; } /** + * + * *
      * Required. The ID of the tag template field to create.
      *
@@ -795,12 +893,14 @@ public Builder clearTagTemplateFieldId() {
      * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for tagTemplateFieldId to set. * @return This builder for chaining. */ - public Builder setTagTemplateFieldIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTagTemplateFieldIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tagTemplateFieldId_ = value; bitField0_ |= 0x00000002; @@ -810,39 +910,58 @@ public Builder setTagTemplateFieldIdBytes( private com.google.cloud.datacatalog.v1.TagTemplateField tagTemplateField_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.TagTemplateField, com.google.cloud.datacatalog.v1.TagTemplateField.Builder, com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder> tagTemplateFieldBuilder_; + com.google.cloud.datacatalog.v1.TagTemplateField, + com.google.cloud.datacatalog.v1.TagTemplateField.Builder, + com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder> + tagTemplateFieldBuilder_; /** + * + * *
      * Required. The tag template field to create.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tagTemplateField field is set. */ public boolean hasTagTemplateField() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The tag template field to create.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tagTemplateField. */ public com.google.cloud.datacatalog.v1.TagTemplateField getTagTemplateField() { if (tagTemplateFieldBuilder_ == null) { - return tagTemplateField_ == null ? com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance() : tagTemplateField_; + return tagTemplateField_ == null + ? com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance() + : tagTemplateField_; } else { return tagTemplateFieldBuilder_.getMessage(); } } /** + * + * *
      * Required. The tag template field to create.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTagTemplateField(com.google.cloud.datacatalog.v1.TagTemplateField value) { if (tagTemplateFieldBuilder_ == null) { @@ -858,11 +977,15 @@ public Builder setTagTemplateField(com.google.cloud.datacatalog.v1.TagTemplateFi return this; } /** + * + * *
      * Required. The tag template field to create.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTagTemplateField( com.google.cloud.datacatalog.v1.TagTemplateField.Builder builderForValue) { @@ -876,17 +999,22 @@ public Builder setTagTemplateField( return this; } /** + * + * *
      * Required. The tag template field to create.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTagTemplateField(com.google.cloud.datacatalog.v1.TagTemplateField value) { if (tagTemplateFieldBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - tagTemplateField_ != null && - tagTemplateField_ != com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && tagTemplateField_ != null + && tagTemplateField_ + != com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance()) { getTagTemplateFieldBuilder().mergeFrom(value); } else { tagTemplateField_ = value; @@ -899,11 +1027,15 @@ public Builder mergeTagTemplateField(com.google.cloud.datacatalog.v1.TagTemplate return this; } /** + * + * *
      * Required. The tag template field to create.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTagTemplateField() { bitField0_ = (bitField0_ & ~0x00000004); @@ -916,11 +1048,15 @@ public Builder clearTagTemplateField() { return this; } /** + * + * *
      * Required. The tag template field to create.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1.TagTemplateField.Builder getTagTemplateFieldBuilder() { bitField0_ |= 0x00000004; @@ -928,43 +1064,56 @@ public com.google.cloud.datacatalog.v1.TagTemplateField.Builder getTagTemplateFi return getTagTemplateFieldFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The tag template field to create.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder() { + public com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder + getTagTemplateFieldOrBuilder() { if (tagTemplateFieldBuilder_ != null) { return tagTemplateFieldBuilder_.getMessageOrBuilder(); } else { - return tagTemplateField_ == null ? - com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance() : tagTemplateField_; + return tagTemplateField_ == null + ? com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance() + : tagTemplateField_; } } /** + * + * *
      * Required. The tag template field to create.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.TagTemplateField, com.google.cloud.datacatalog.v1.TagTemplateField.Builder, com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder> + com.google.cloud.datacatalog.v1.TagTemplateField, + com.google.cloud.datacatalog.v1.TagTemplateField.Builder, + com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder> getTagTemplateFieldFieldBuilder() { if (tagTemplateFieldBuilder_ == null) { - tagTemplateFieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.TagTemplateField, com.google.cloud.datacatalog.v1.TagTemplateField.Builder, com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder>( - getTagTemplateField(), - getParentForChildren(), - isClean()); + tagTemplateFieldBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.TagTemplateField, + com.google.cloud.datacatalog.v1.TagTemplateField.Builder, + com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder>( + getTagTemplateField(), getParentForChildren(), isClean()); tagTemplateField_ = null; } return tagTemplateFieldBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -974,12 +1123,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest) - private static final com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest DEFAULT_INSTANCE; + private static final com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest(); } @@ -988,27 +1138,27 @@ public static com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTagTemplateFieldRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTagTemplateFieldRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +1173,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequestOrBuilder.java index 2379c1d89e7e..a4e76454f8c1 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequestOrBuilder.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface CreateTagTemplateFieldRequestOrBuilder extends +public interface CreateTagTemplateFieldRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The ID of the tag template field to create.
    *
@@ -42,10 +69,13 @@ public interface CreateTagTemplateFieldRequestOrBuilder extends
    * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tagTemplateFieldId. */ java.lang.String getTagTemplateFieldId(); /** + * + * *
    * Required. The ID of the tag template field to create.
    *
@@ -58,35 +88,49 @@ public interface CreateTagTemplateFieldRequestOrBuilder extends
    * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for tagTemplateFieldId. */ - com.google.protobuf.ByteString - getTagTemplateFieldIdBytes(); + com.google.protobuf.ByteString getTagTemplateFieldIdBytes(); /** + * + * *
    * Required. The tag template field to create.
    * 
* - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tagTemplateField field is set. */ boolean hasTagTemplateField(); /** + * + * *
    * Required. The tag template field to create.
    * 
* - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tagTemplateField. */ com.google.cloud.datacatalog.v1.TagTemplateField getTagTemplateField(); /** + * + * *
    * Required. The tag template field to create.
    * 
* - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequest.java similarity index 64% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequest.java index 7694de299e2f..14b30523121a 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequest.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [CreateTagTemplate][google.cloud.datacatalog.v1.DataCatalog.CreateTagTemplate].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.CreateTagTemplateRequest}
  */
-public final class CreateTagTemplateRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CreateTagTemplateRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.CreateTagTemplateRequest)
     CreateTagTemplateRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CreateTagTemplateRequest.newBuilder() to construct.
   private CreateTagTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CreateTagTemplateRequest() {
     parent_ = "";
     tagTemplateId_ = "";
@@ -27,34 +45,41 @@ private CreateTagTemplateRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateTagTemplateRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.CreateTagTemplateRequest.class, com.google.cloud.datacatalog.v1.CreateTagTemplateRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.CreateTagTemplateRequest.class,
+            com.google.cloud.datacatalog.v1.CreateTagTemplateRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
    * 
* - * string parent = 1 [(.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 name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
    * 
* - * string parent = 1 [(.google.api.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,9 +122,12 @@ public java.lang.String getParent() { } public static final int TAG_TEMPLATE_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object tagTemplateId_ = ""; /** + * + * *
    * Required. The ID of the tag template to create.
    *
@@ -107,6 +137,7 @@ public java.lang.String getParent() {
    * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tagTemplateId. */ @java.lang.Override @@ -115,14 +146,15 @@ public java.lang.String getTagTemplateId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagTemplateId_ = s; return s; } } /** + * + * *
    * Required. The ID of the tag template to create.
    *
@@ -132,16 +164,15 @@ public java.lang.String getTagTemplateId() {
    * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for tagTemplateId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTagTemplateIdBytes() { + public com.google.protobuf.ByteString getTagTemplateIdBytes() { java.lang.Object ref = tagTemplateId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagTemplateId_ = b; return b; } else { @@ -152,11 +183,16 @@ public java.lang.String getTagTemplateId() { public static final int TAG_TEMPLATE_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1.TagTemplate tagTemplate_; /** + * + * *
    * Required. The tag template to create.
    * 
* - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tagTemplate field is set. */ @java.lang.Override @@ -164,30 +200,44 @@ public boolean hasTagTemplate() { return tagTemplate_ != null; } /** + * + * *
    * Required. The tag template to create.
    * 
* - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tagTemplate. */ @java.lang.Override public com.google.cloud.datacatalog.v1.TagTemplate getTagTemplate() { - return tagTemplate_ == null ? com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance() : tagTemplate_; + return tagTemplate_ == null + ? com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance() + : tagTemplate_; } /** + * + * *
    * Required. The tag template to create.
    * 
* - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1.TagTemplateOrBuilder getTagTemplateOrBuilder() { - return tagTemplate_ == null ? com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance() : tagTemplate_; + return tagTemplate_ == null + ? com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance() + : tagTemplate_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,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_); } @@ -223,8 +272,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (tagTemplate_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTagTemplate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTagTemplate()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tagTemplateId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, tagTemplateId_); @@ -237,21 +285,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.datacatalog.v1.CreateTagTemplateRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.CreateTagTemplateRequest other = (com.google.cloud.datacatalog.v1.CreateTagTemplateRequest) obj; + com.google.cloud.datacatalog.v1.CreateTagTemplateRequest other = + (com.google.cloud.datacatalog.v1.CreateTagTemplateRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getTagTemplateId() - .equals(other.getTagTemplateId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getTagTemplateId().equals(other.getTagTemplateId())) return false; if (hasTagTemplate() != other.hasTagTemplate()) return false; if (hasTagTemplate()) { - if (!getTagTemplate() - .equals(other.getTagTemplate())) return false; + if (!getTagTemplate().equals(other.getTagTemplate())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -278,98 +324,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.CreateTagTemplateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CreateTagTemplateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CreateTagTemplateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CreateTagTemplateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CreateTagTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CreateTagTemplateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateTagTemplateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.CreateTagTemplateRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.CreateTagTemplateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateTagTemplateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CreateTagTemplateRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.CreateTagTemplateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CreateTagTemplateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.CreateTagTemplateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.CreateTagTemplateRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.CreateTagTemplateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CreateTagTemplate][google.cloud.datacatalog.v1.DataCatalog.CreateTagTemplate].
@@ -377,33 +429,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.CreateTagTemplateRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.CreateTagTemplateRequest)
       com.google.cloud.datacatalog.v1.CreateTagTemplateRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.CreateTagTemplateRequest.class, com.google.cloud.datacatalog.v1.CreateTagTemplateRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.CreateTagTemplateRequest.class,
+              com.google.cloud.datacatalog.v1.CreateTagTemplateRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.CreateTagTemplateRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -419,9 +470,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_descriptor;
     }
 
     @java.lang.Override
@@ -440,8 +491,11 @@ public com.google.cloud.datacatalog.v1.CreateTagTemplateRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.CreateTagTemplateRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.CreateTagTemplateRequest result = new com.google.cloud.datacatalog.v1.CreateTagTemplateRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.CreateTagTemplateRequest result =
+          new com.google.cloud.datacatalog.v1.CreateTagTemplateRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -455,9 +509,8 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CreateTagTemplateRequ
         result.tagTemplateId_ = tagTemplateId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.tagTemplate_ = tagTemplateBuilder_ == null
-            ? tagTemplate_
-            : tagTemplateBuilder_.build();
+        result.tagTemplate_ =
+            tagTemplateBuilder_ == null ? tagTemplate_ : tagTemplateBuilder_.build();
       }
     }
 
@@ -465,38 +518,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CreateTagTemplateRequ
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.CreateTagTemplateRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.CreateTagTemplateRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.CreateTagTemplateRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -504,7 +558,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.CreateTagTemplateRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.CreateTagTemplateRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.CreateTagTemplateRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -544,29 +599,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getTagTemplateFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 18
-            case 26: {
-              tagTemplateId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getTagTemplateFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 18
+            case 26:
+              {
+                tagTemplateId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -576,23 +633,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
      * 
* - * string parent = 1 [(.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; @@ -601,21 +663,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
      * 
* - * string parent = 1 [(.google.api.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 { @@ -623,30 +688,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
      * 
* - * string 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() { @@ -656,18 +732,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
      * 
* - * 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; @@ -677,6 +759,8 @@ public Builder setParentBytes( private java.lang.Object tagTemplateId_ = ""; /** + * + * *
      * Required. The ID of the tag template to create.
      *
@@ -686,13 +770,13 @@ public Builder setParentBytes(
      * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tagTemplateId. */ public java.lang.String getTagTemplateId() { java.lang.Object ref = tagTemplateId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagTemplateId_ = s; return s; @@ -701,6 +785,8 @@ public java.lang.String getTagTemplateId() { } } /** + * + * *
      * Required. The ID of the tag template to create.
      *
@@ -710,15 +796,14 @@ public java.lang.String getTagTemplateId() {
      * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for tagTemplateId. */ - public com.google.protobuf.ByteString - getTagTemplateIdBytes() { + public com.google.protobuf.ByteString getTagTemplateIdBytes() { java.lang.Object ref = tagTemplateId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagTemplateId_ = b; return b; } else { @@ -726,6 +811,8 @@ public java.lang.String getTagTemplateId() { } } /** + * + * *
      * Required. The ID of the tag template to create.
      *
@@ -735,18 +822,22 @@ public java.lang.String getTagTemplateId() {
      * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The tagTemplateId to set. * @return This builder for chaining. */ - public Builder setTagTemplateId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTagTemplateId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tagTemplateId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The ID of the tag template to create.
      *
@@ -756,6 +847,7 @@ public Builder setTagTemplateId(
      * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTagTemplateId() { @@ -765,6 +857,8 @@ public Builder clearTagTemplateId() { return this; } /** + * + * *
      * Required. The ID of the tag template to create.
      *
@@ -774,12 +868,14 @@ public Builder clearTagTemplateId() {
      * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for tagTemplateId to set. * @return This builder for chaining. */ - public Builder setTagTemplateIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTagTemplateIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tagTemplateId_ = value; bitField0_ |= 0x00000002; @@ -789,39 +885,58 @@ public Builder setTagTemplateIdBytes( private com.google.cloud.datacatalog.v1.TagTemplate tagTemplate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.TagTemplate, com.google.cloud.datacatalog.v1.TagTemplate.Builder, com.google.cloud.datacatalog.v1.TagTemplateOrBuilder> tagTemplateBuilder_; + com.google.cloud.datacatalog.v1.TagTemplate, + com.google.cloud.datacatalog.v1.TagTemplate.Builder, + com.google.cloud.datacatalog.v1.TagTemplateOrBuilder> + tagTemplateBuilder_; /** + * + * *
      * Required. The tag template to create.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tagTemplate field is set. */ public boolean hasTagTemplate() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The tag template to create.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tagTemplate. */ public com.google.cloud.datacatalog.v1.TagTemplate getTagTemplate() { if (tagTemplateBuilder_ == null) { - return tagTemplate_ == null ? com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance() : tagTemplate_; + return tagTemplate_ == null + ? com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance() + : tagTemplate_; } else { return tagTemplateBuilder_.getMessage(); } } /** + * + * *
      * Required. The tag template to create.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTagTemplate(com.google.cloud.datacatalog.v1.TagTemplate value) { if (tagTemplateBuilder_ == null) { @@ -837,11 +952,15 @@ public Builder setTagTemplate(com.google.cloud.datacatalog.v1.TagTemplate value) return this; } /** + * + * *
      * Required. The tag template to create.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTagTemplate( com.google.cloud.datacatalog.v1.TagTemplate.Builder builderForValue) { @@ -855,17 +974,21 @@ public Builder setTagTemplate( return this; } /** + * + * *
      * Required. The tag template to create.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTagTemplate(com.google.cloud.datacatalog.v1.TagTemplate value) { if (tagTemplateBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - tagTemplate_ != null && - tagTemplate_ != com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && tagTemplate_ != null + && tagTemplate_ != com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance()) { getTagTemplateBuilder().mergeFrom(value); } else { tagTemplate_ = value; @@ -878,11 +1001,15 @@ public Builder mergeTagTemplate(com.google.cloud.datacatalog.v1.TagTemplate valu return this; } /** + * + * *
      * Required. The tag template to create.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTagTemplate() { bitField0_ = (bitField0_ & ~0x00000004); @@ -895,11 +1022,15 @@ public Builder clearTagTemplate() { return this; } /** + * + * *
      * Required. The tag template to create.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1.TagTemplate.Builder getTagTemplateBuilder() { bitField0_ |= 0x00000004; @@ -907,43 +1038,55 @@ public com.google.cloud.datacatalog.v1.TagTemplate.Builder getTagTemplateBuilder return getTagTemplateFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The tag template to create.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1.TagTemplateOrBuilder getTagTemplateOrBuilder() { if (tagTemplateBuilder_ != null) { return tagTemplateBuilder_.getMessageOrBuilder(); } else { - return tagTemplate_ == null ? - com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance() : tagTemplate_; + return tagTemplate_ == null + ? com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance() + : tagTemplate_; } } /** + * + * *
      * Required. The tag template to create.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.TagTemplate, com.google.cloud.datacatalog.v1.TagTemplate.Builder, com.google.cloud.datacatalog.v1.TagTemplateOrBuilder> + com.google.cloud.datacatalog.v1.TagTemplate, + com.google.cloud.datacatalog.v1.TagTemplate.Builder, + com.google.cloud.datacatalog.v1.TagTemplateOrBuilder> getTagTemplateFieldBuilder() { if (tagTemplateBuilder_ == null) { - tagTemplateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.TagTemplate, com.google.cloud.datacatalog.v1.TagTemplate.Builder, com.google.cloud.datacatalog.v1.TagTemplateOrBuilder>( - getTagTemplate(), - getParentForChildren(), - isClean()); + tagTemplateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.TagTemplate, + com.google.cloud.datacatalog.v1.TagTemplate.Builder, + com.google.cloud.datacatalog.v1.TagTemplateOrBuilder>( + getTagTemplate(), getParentForChildren(), isClean()); tagTemplate_ = null; } return tagTemplateBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -953,12 +1096,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.CreateTagTemplateRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.CreateTagTemplateRequest) private static final com.google.cloud.datacatalog.v1.CreateTagTemplateRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.CreateTagTemplateRequest(); } @@ -967,27 +1110,27 @@ public static com.google.cloud.datacatalog.v1.CreateTagTemplateRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTagTemplateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTagTemplateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1002,6 +1145,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.CreateTagTemplateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequestOrBuilder.java similarity index 58% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequestOrBuilder.java index 79e8142181be..40df450ff8af 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequestOrBuilder.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface CreateTagTemplateRequestOrBuilder extends +public interface CreateTagTemplateRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CreateTagTemplateRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The ID of the tag template to create.
    *
@@ -39,10 +66,13 @@ public interface CreateTagTemplateRequestOrBuilder extends
    * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tagTemplateId. */ java.lang.String getTagTemplateId(); /** + * + * *
    * Required. The ID of the tag template to create.
    *
@@ -52,35 +82,49 @@ public interface CreateTagTemplateRequestOrBuilder extends
    * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for tagTemplateId. */ - com.google.protobuf.ByteString - getTagTemplateIdBytes(); + com.google.protobuf.ByteString getTagTemplateIdBytes(); /** + * + * *
    * Required. The tag template to create.
    * 
* - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tagTemplate field is set. */ boolean hasTagTemplate(); /** + * + * *
    * Required. The tag template to create.
    * 
* - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tagTemplate. */ com.google.cloud.datacatalog.v1.TagTemplate getTagTemplate(); /** + * + * *
    * Required. The tag template to create.
    * 
* - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.datacatalog.v1.TagTemplateOrBuilder getTagTemplateOrBuilder(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequest.java similarity index 65% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequest.java index 399152b1f82e..3eeaf0fa714d 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequest.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/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [CreateTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.CreateTaxonomy].
@@ -11,48 +28,56 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.CreateTaxonomyRequest}
  */
-public final class CreateTaxonomyRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CreateTaxonomyRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.CreateTaxonomyRequest)
     CreateTaxonomyRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CreateTaxonomyRequest.newBuilder() to construct.
   private CreateTaxonomyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CreateTaxonomyRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateTaxonomyRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.CreateTaxonomyRequest.class, com.google.cloud.datacatalog.v1.CreateTaxonomyRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.CreateTaxonomyRequest.class,
+            com.google.cloud.datacatalog.v1.CreateTaxonomyRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. Resource name of the project that the taxonomy will belong to.
    * 
* - * string parent = 1 [(.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,29 +86,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. Resource name of the project that the taxonomy will belong to.
    * 
* - * string parent = 1 [(.google.api.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,11 +121,14 @@ public java.lang.String getParent() { public static final int TAXONOMY_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1.Taxonomy taxonomy_; /** + * + * *
    * The taxonomy to create.
    * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; + * * @return Whether the taxonomy field is set. */ @java.lang.Override @@ -106,18 +136,25 @@ public boolean hasTaxonomy() { return taxonomy_ != null; } /** + * + * *
    * The taxonomy to create.
    * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; + * * @return The taxonomy. */ @java.lang.Override public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomy() { - return taxonomy_ == null ? com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance() : taxonomy_; + return taxonomy_ == null + ? com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance() + : taxonomy_; } /** + * + * *
    * The taxonomy to create.
    * 
@@ -126,10 +163,13 @@ public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomy() { */ @java.lang.Override public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomyOrBuilder() { - return taxonomy_ == null ? com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance() : taxonomy_; + return taxonomy_ == null + ? com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance() + : taxonomy_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -162,8 +201,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (taxonomy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTaxonomy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTaxonomy()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -173,19 +211,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.datacatalog.v1.CreateTaxonomyRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.CreateTaxonomyRequest other = (com.google.cloud.datacatalog.v1.CreateTaxonomyRequest) obj; + com.google.cloud.datacatalog.v1.CreateTaxonomyRequest other = + (com.google.cloud.datacatalog.v1.CreateTaxonomyRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasTaxonomy() != other.hasTaxonomy()) return false; if (hasTaxonomy()) { - if (!getTaxonomy() - .equals(other.getTaxonomy())) return false; + if (!getTaxonomy().equals(other.getTaxonomy())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -210,98 +247,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.CreateTaxonomyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CreateTaxonomyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CreateTaxonomyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CreateTaxonomyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CreateTaxonomyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CreateTaxonomyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateTaxonomyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.CreateTaxonomyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.CreateTaxonomyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CreateTaxonomyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CreateTaxonomyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.CreateTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CreateTaxonomyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.CreateTaxonomyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.CreateTaxonomyRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.CreateTaxonomyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CreateTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.CreateTaxonomy].
@@ -309,33 +352,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.CreateTaxonomyRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.CreateTaxonomyRequest)
       com.google.cloud.datacatalog.v1.CreateTaxonomyRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.CreateTaxonomyRequest.class, com.google.cloud.datacatalog.v1.CreateTaxonomyRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.CreateTaxonomyRequest.class,
+              com.google.cloud.datacatalog.v1.CreateTaxonomyRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.CreateTaxonomyRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -350,9 +392,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
@@ -371,8 +413,11 @@ public com.google.cloud.datacatalog.v1.CreateTaxonomyRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.CreateTaxonomyRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.CreateTaxonomyRequest result = new com.google.cloud.datacatalog.v1.CreateTaxonomyRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.CreateTaxonomyRequest result =
+          new com.google.cloud.datacatalog.v1.CreateTaxonomyRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -383,9 +428,7 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CreateTaxonomyRequest
         result.parent_ = parent_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.taxonomy_ = taxonomyBuilder_ == null
-            ? taxonomy_
-            : taxonomyBuilder_.build();
+        result.taxonomy_ = taxonomyBuilder_ == null ? taxonomy_ : taxonomyBuilder_.build();
       }
     }
 
@@ -393,38 +436,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CreateTaxonomyRequest
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.CreateTaxonomyRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.CreateTaxonomyRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.CreateTaxonomyRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -432,7 +476,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.CreateTaxonomyRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.CreateTaxonomyRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.CreateTaxonomyRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -467,24 +512,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getTaxonomyFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            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(getTaxonomyFieldBuilder().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) {
@@ -494,22 +540,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. Resource name of the project that the taxonomy will belong to.
      * 
* - * string parent = 1 [(.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; @@ -518,20 +569,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the project that the taxonomy will belong to.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -539,28 +593,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the project that the taxonomy will belong to.
      * 
* - * 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. Resource name of the project that the taxonomy will belong to.
      * 
* - * string 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() { @@ -570,17 +635,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Resource name of the project that the taxonomy will belong to.
      * 
* - * 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; @@ -590,34 +661,47 @@ public Builder setParentBytes( private com.google.cloud.datacatalog.v1.Taxonomy taxonomy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Taxonomy, com.google.cloud.datacatalog.v1.Taxonomy.Builder, com.google.cloud.datacatalog.v1.TaxonomyOrBuilder> taxonomyBuilder_; + com.google.cloud.datacatalog.v1.Taxonomy, + com.google.cloud.datacatalog.v1.Taxonomy.Builder, + com.google.cloud.datacatalog.v1.TaxonomyOrBuilder> + taxonomyBuilder_; /** + * + * *
      * The taxonomy to create.
      * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; + * * @return Whether the taxonomy field is set. */ public boolean hasTaxonomy() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The taxonomy to create.
      * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; + * * @return The taxonomy. */ public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomy() { if (taxonomyBuilder_ == null) { - return taxonomy_ == null ? com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance() : taxonomy_; + return taxonomy_ == null + ? com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance() + : taxonomy_; } else { return taxonomyBuilder_.getMessage(); } } /** + * + * *
      * The taxonomy to create.
      * 
@@ -638,14 +722,15 @@ public Builder setTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy value) { return this; } /** + * + * *
      * The taxonomy to create.
      * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; */ - public Builder setTaxonomy( - com.google.cloud.datacatalog.v1.Taxonomy.Builder builderForValue) { + public Builder setTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy.Builder builderForValue) { if (taxonomyBuilder_ == null) { taxonomy_ = builderForValue.build(); } else { @@ -656,6 +741,8 @@ public Builder setTaxonomy( return this; } /** + * + * *
      * The taxonomy to create.
      * 
@@ -664,9 +751,9 @@ public Builder setTaxonomy( */ public Builder mergeTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy value) { if (taxonomyBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - taxonomy_ != null && - taxonomy_ != com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && taxonomy_ != null + && taxonomy_ != com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance()) { getTaxonomyBuilder().mergeFrom(value); } else { taxonomy_ = value; @@ -679,6 +766,8 @@ public Builder mergeTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy value) { return this; } /** + * + * *
      * The taxonomy to create.
      * 
@@ -696,6 +785,8 @@ public Builder clearTaxonomy() { return this; } /** + * + * *
      * The taxonomy to create.
      * 
@@ -708,6 +799,8 @@ public com.google.cloud.datacatalog.v1.Taxonomy.Builder getTaxonomyBuilder() { return getTaxonomyFieldBuilder().getBuilder(); } /** + * + * *
      * The taxonomy to create.
      * 
@@ -718,11 +811,14 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomyOrBuilder() if (taxonomyBuilder_ != null) { return taxonomyBuilder_.getMessageOrBuilder(); } else { - return taxonomy_ == null ? - com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance() : taxonomy_; + return taxonomy_ == null + ? com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance() + : taxonomy_; } } /** + * + * *
      * The taxonomy to create.
      * 
@@ -730,21 +826,24 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomyOrBuilder() * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Taxonomy, com.google.cloud.datacatalog.v1.Taxonomy.Builder, com.google.cloud.datacatalog.v1.TaxonomyOrBuilder> + com.google.cloud.datacatalog.v1.Taxonomy, + com.google.cloud.datacatalog.v1.Taxonomy.Builder, + com.google.cloud.datacatalog.v1.TaxonomyOrBuilder> getTaxonomyFieldBuilder() { if (taxonomyBuilder_ == null) { - taxonomyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Taxonomy, com.google.cloud.datacatalog.v1.Taxonomy.Builder, com.google.cloud.datacatalog.v1.TaxonomyOrBuilder>( - getTaxonomy(), - getParentForChildren(), - isClean()); + taxonomyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.Taxonomy, + com.google.cloud.datacatalog.v1.Taxonomy.Builder, + com.google.cloud.datacatalog.v1.TaxonomyOrBuilder>( + getTaxonomy(), getParentForChildren(), isClean()); taxonomy_ = null; } return taxonomyBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -754,12 +853,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.CreateTaxonomyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.CreateTaxonomyRequest) private static final com.google.cloud.datacatalog.v1.CreateTaxonomyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.CreateTaxonomyRequest(); } @@ -768,27 +867,27 @@ public static com.google.cloud.datacatalog.v1.CreateTaxonomyRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTaxonomyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTaxonomyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -803,6 +902,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.CreateTaxonomyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequestOrBuilder.java index d0ab0ff65e86..f49978151765 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequestOrBuilder.java @@ -1,51 +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/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; -public interface CreateTaxonomyRequestOrBuilder extends +public interface CreateTaxonomyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CreateTaxonomyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the project that the taxonomy will belong to.
    * 
* - * string parent = 1 [(.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. Resource name of the project that the taxonomy will belong to.
    * 
* - * string parent = 1 [(.google.api.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(); /** + * + * *
    * The taxonomy to create.
    * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; + * * @return Whether the taxonomy field is set. */ boolean hasTaxonomy(); /** + * + * *
    * The taxonomy to create.
    * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; + * * @return The taxonomy. */ com.google.cloud.datacatalog.v1.Taxonomy getTaxonomy(); /** + * + * *
    * The taxonomy to create.
    * 
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSource.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSource.java similarity index 63% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSource.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSource.java index c3fc078d59d1..72ad447ee710 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSource.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSource.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/datacatalog/v1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Cross-regional source used to import an existing taxonomy into a different
  * region.
@@ -11,48 +28,56 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.CrossRegionalSource}
  */
-public final class CrossRegionalSource extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CrossRegionalSource extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.CrossRegionalSource)
     CrossRegionalSourceOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CrossRegionalSource.newBuilder() to construct.
   private CrossRegionalSource(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CrossRegionalSource() {
     taxonomy_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CrossRegionalSource();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+        .internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+        .internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.CrossRegionalSource.class, com.google.cloud.datacatalog.v1.CrossRegionalSource.Builder.class);
+            com.google.cloud.datacatalog.v1.CrossRegionalSource.class,
+            com.google.cloud.datacatalog.v1.CrossRegionalSource.Builder.class);
   }
 
   public static final int TAXONOMY_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object taxonomy_ = "";
   /**
+   *
+   *
    * 
    * Required. The resource name of the source taxonomy to import.
    * 
* - * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The taxonomy. */ @java.lang.Override @@ -61,29 +86,31 @@ public java.lang.String getTaxonomy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); taxonomy_ = s; return s; } } /** + * + * *
    * Required. The resource name of the source taxonomy to import.
    * 
* - * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for taxonomy. */ @java.lang.Override - public com.google.protobuf.ByteString - getTaxonomyBytes() { + public com.google.protobuf.ByteString getTaxonomyBytes() { java.lang.Object ref = taxonomy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); taxonomy_ = b; return b; } else { @@ -92,6 +119,7 @@ public java.lang.String getTaxonomy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -103,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(taxonomy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, taxonomy_); } @@ -128,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.datacatalog.v1.CrossRegionalSource)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.CrossRegionalSource other = (com.google.cloud.datacatalog.v1.CrossRegionalSource) obj; + com.google.cloud.datacatalog.v1.CrossRegionalSource other = + (com.google.cloud.datacatalog.v1.CrossRegionalSource) obj; - if (!getTaxonomy() - .equals(other.getTaxonomy())) return false; + if (!getTaxonomy().equals(other.getTaxonomy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,98 +183,103 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.CrossRegionalSource parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CrossRegionalSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CrossRegionalSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CrossRegionalSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CrossRegionalSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.CrossRegionalSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CrossRegionalSource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.CrossRegionalSource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.CrossRegionalSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.CrossRegionalSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.CrossRegionalSource parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.CrossRegionalSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.CrossRegionalSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.CrossRegionalSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.CrossRegionalSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Cross-regional source used to import an existing taxonomy into a different
    * region.
@@ -255,33 +287,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.CrossRegionalSource}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.CrossRegionalSource)
       com.google.cloud.datacatalog.v1.CrossRegionalSourceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.CrossRegionalSource.class, com.google.cloud.datacatalog.v1.CrossRegionalSource.Builder.class);
+              com.google.cloud.datacatalog.v1.CrossRegionalSource.class,
+              com.google.cloud.datacatalog.v1.CrossRegionalSource.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.CrossRegionalSource.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        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.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_descriptor;
     }
 
     @java.lang.Override
@@ -312,8 +343,11 @@ public com.google.cloud.datacatalog.v1.CrossRegionalSource build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.CrossRegionalSource buildPartial() {
-      com.google.cloud.datacatalog.v1.CrossRegionalSource result = new com.google.cloud.datacatalog.v1.CrossRegionalSource(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.CrossRegionalSource result =
+          new com.google.cloud.datacatalog.v1.CrossRegionalSource(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.CrossRegionalSource 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.datacatalog.v1.CrossRegionalSource) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.CrossRegionalSource)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.CrossRegionalSource) 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.datacatalog.v1.CrossRegionalSource other) {
-      if (other == com.google.cloud.datacatalog.v1.CrossRegionalSource.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.CrossRegionalSource.getDefaultInstance())
+        return this;
       if (!other.getTaxonomy().isEmpty()) {
         taxonomy_ = other.taxonomy_;
         bitField0_ |= 0x00000001;
@@ -400,17 +436,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              taxonomy_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                taxonomy_ = 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,22 +458,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object taxonomy_ = "";
     /**
+     *
+     *
      * 
      * Required. The resource name of the source taxonomy to import.
      * 
* - * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The taxonomy. */ public java.lang.String getTaxonomy() { java.lang.Object ref = taxonomy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); taxonomy_ = s; return s; @@ -444,20 +487,23 @@ public java.lang.String getTaxonomy() { } } /** + * + * *
      * Required. The resource name of the source taxonomy to import.
      * 
* - * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for taxonomy. */ - public com.google.protobuf.ByteString - getTaxonomyBytes() { + public com.google.protobuf.ByteString getTaxonomyBytes() { java.lang.Object ref = taxonomy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); taxonomy_ = b; return b; } else { @@ -465,28 +511,39 @@ public java.lang.String getTaxonomy() { } } /** + * + * *
      * Required. The resource name of the source taxonomy to import.
      * 
* - * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The taxonomy to set. * @return This builder for chaining. */ - public Builder setTaxonomy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTaxonomy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } taxonomy_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the source taxonomy to import.
      * 
* - * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearTaxonomy() { @@ -496,26 +553,32 @@ public Builder clearTaxonomy() { return this; } /** + * + * *
      * Required. The resource name of the source taxonomy to import.
      * 
* - * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for taxonomy to set. * @return This builder for chaining. */ - public Builder setTaxonomyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTaxonomyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); taxonomy_ = 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); } @@ -525,12 +588,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.CrossRegionalSource) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.CrossRegionalSource) private static final com.google.cloud.datacatalog.v1.CrossRegionalSource DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.CrossRegionalSource(); } @@ -539,27 +602,27 @@ public static com.google.cloud.datacatalog.v1.CrossRegionalSource getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CrossRegionalSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CrossRegionalSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -574,6 +637,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.CrossRegionalSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSourceOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSourceOrBuilder.java new file mode 100644 index 000000000000..f26fa2d873de --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSourceOrBuilder.java @@ -0,0 +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/datacatalog/v1/policytagmanagerserialization.proto + +package com.google.cloud.datacatalog.v1; + +public interface CrossRegionalSourceOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CrossRegionalSource) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the source taxonomy to import.
+   * 
+ * + * + * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The taxonomy. + */ + java.lang.String getTaxonomy(); + /** + * + * + *
+   * Required. The resource name of the source taxonomy to import.
+   * 
+ * + * + * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for taxonomy. + */ + com.google.protobuf.ByteString getTaxonomyBytes(); +} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSource.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSource.java similarity index 71% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSource.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSource.java index 3ce07465cb99..4beaaddebc3e 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSource.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSource.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/datacatalog/v1/data_source.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Physical location of an entry.
  * 
* * Protobuf type {@code google.cloud.datacatalog.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.datacatalog.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() { service_ = 0; resource_ = ""; @@ -27,34 +45,38 @@ 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.datacatalog.v1.DataSourceProto.internal_static_google_cloud_datacatalog_v1_DataSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.DataSourceProto + .internal_static_google_cloud_datacatalog_v1_DataSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.DataSourceProto.internal_static_google_cloud_datacatalog_v1_DataSource_fieldAccessorTable + return com.google.cloud.datacatalog.v1.DataSourceProto + .internal_static_google_cloud_datacatalog_v1_DataSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.DataSource.class, com.google.cloud.datacatalog.v1.DataSource.Builder.class); + com.google.cloud.datacatalog.v1.DataSource.class, + com.google.cloud.datacatalog.v1.DataSource.Builder.class); } /** + * + * *
    * Name of a service that stores the data.
    * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.DataSource.Service} */ - public enum Service - implements com.google.protobuf.ProtocolMessageEnum { + public enum Service implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default unknown service.
      * 
@@ -63,6 +85,8 @@ public enum Service */ SERVICE_UNSPECIFIED(0), /** + * + * *
      * Google Cloud Storage service.
      * 
@@ -71,6 +95,8 @@ public enum Service */ CLOUD_STORAGE(1), /** + * + * *
      * BigQuery service.
      * 
@@ -82,6 +108,8 @@ public enum Service ; /** + * + * *
      * Default unknown service.
      * 
@@ -90,6 +118,8 @@ public enum Service */ public static final int SERVICE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Google Cloud Storage service.
      * 
@@ -98,6 +128,8 @@ public enum Service */ public static final int CLOUD_STORAGE_VALUE = 1; /** + * + * *
      * BigQuery service.
      * 
@@ -106,7 +138,6 @@ public enum Service */ public static final int BIGQUERY_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -131,49 +162,49 @@ public static Service valueOf(int value) { */ public static Service forNumber(int value) { switch (value) { - case 0: return SERVICE_UNSPECIFIED; - case 1: return CLOUD_STORAGE; - case 2: return BIGQUERY; - default: return null; + case 0: + return SERVICE_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< - 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.datacatalog.v1.DataSource.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; @@ -191,14 +222,18 @@ private Service(int value) { } private int propertiesCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object properties_; + public enum PropertiesCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STORAGE_PROPERTIES(4), PROPERTIES_NOT_SET(0); private final int value; + private PropertiesCase(int value) { this.value = value; } @@ -214,52 +249,68 @@ public static PropertiesCase valueOf(int value) { public static PropertiesCase forNumber(int value) { switch (value) { - case 4: return STORAGE_PROPERTIES; - case 0: return PROPERTIES_NOT_SET; - default: return null; + case 4: + return STORAGE_PROPERTIES; + case 0: + return PROPERTIES_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public PropertiesCase - getPropertiesCase() { - return PropertiesCase.forNumber( - propertiesCase_); + public PropertiesCase getPropertiesCase() { + return PropertiesCase.forNumber(propertiesCase_); } public static final int SERVICE_FIELD_NUMBER = 1; private int service_ = 0; /** + * + * *
    * Service that physically stores the data.
    * 
* * .google.cloud.datacatalog.v1.DataSource.Service service = 1; + * * @return The enum numeric value on the wire for service. */ - @java.lang.Override public int getServiceValue() { + @java.lang.Override + public int getServiceValue() { return service_; } /** + * + * *
    * Service that physically stores the data.
    * 
* * .google.cloud.datacatalog.v1.DataSource.Service service = 1; + * * @return The service. */ - @java.lang.Override public com.google.cloud.datacatalog.v1.DataSource.Service getService() { - com.google.cloud.datacatalog.v1.DataSource.Service result = com.google.cloud.datacatalog.v1.DataSource.Service.forNumber(service_); - return result == null ? com.google.cloud.datacatalog.v1.DataSource.Service.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.datacatalog.v1.DataSource.Service getService() { + com.google.cloud.datacatalog.v1.DataSource.Service result = + com.google.cloud.datacatalog.v1.DataSource.Service.forNumber(service_); + return result == null + ? com.google.cloud.datacatalog.v1.DataSource.Service.UNRECOGNIZED + : result; } public static final int RESOURCE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object resource_ = ""; /** + * + * *
    * Full name of a resource as defined by the service. For example:
    *
@@ -267,6 +318,7 @@ public int getNumber() {
    * 
* * string resource = 2; + * * @return The resource. */ @java.lang.Override @@ -275,14 +327,15 @@ public java.lang.String getResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; } } /** + * + * *
    * Full name of a resource as defined by the service. For example:
    *
@@ -290,16 +343,15 @@ public java.lang.String getResource() {
    * 
* * string resource = 2; + * * @return The bytes for resource. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceBytes() { + public com.google.protobuf.ByteString getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resource_ = b; return b; } else { @@ -308,14 +360,18 @@ public java.lang.String getResource() { } public static final int SOURCE_ENTRY_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object sourceEntry_ = ""; /** + * + * *
    * Output only. Data Catalog entry name, if applicable.
    * 
* * string source_entry = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sourceEntry. */ @java.lang.Override @@ -324,29 +380,29 @@ public java.lang.String getSourceEntry() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceEntry_ = s; return s; } } /** + * + * *
    * Output only. Data Catalog entry name, if applicable.
    * 
* * string source_entry = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for sourceEntry. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourceEntryBytes() { + public com.google.protobuf.ByteString getSourceEntryBytes() { java.lang.Object ref = sourceEntry_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceEntry_ = b; return b; } else { @@ -356,11 +412,14 @@ public java.lang.String getSourceEntry() { public static final int STORAGE_PROPERTIES_FIELD_NUMBER = 4; /** + * + * *
    * Detailed properties of the underlying storage.
    * 
* * .google.cloud.datacatalog.v1.StorageProperties storage_properties = 4; + * * @return Whether the storageProperties field is set. */ @java.lang.Override @@ -368,21 +427,26 @@ public boolean hasStorageProperties() { return propertiesCase_ == 4; } /** + * + * *
    * Detailed properties of the underlying storage.
    * 
* * .google.cloud.datacatalog.v1.StorageProperties storage_properties = 4; + * * @return The storageProperties. */ @java.lang.Override public com.google.cloud.datacatalog.v1.StorageProperties getStorageProperties() { if (propertiesCase_ == 4) { - return (com.google.cloud.datacatalog.v1.StorageProperties) properties_; + return (com.google.cloud.datacatalog.v1.StorageProperties) properties_; } return com.google.cloud.datacatalog.v1.StorageProperties.getDefaultInstance(); } /** + * + * *
    * Detailed properties of the underlying storage.
    * 
@@ -390,14 +454,16 @@ public com.google.cloud.datacatalog.v1.StorageProperties getStorageProperties() * .google.cloud.datacatalog.v1.StorageProperties storage_properties = 4; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.StoragePropertiesOrBuilder getStoragePropertiesOrBuilder() { + public com.google.cloud.datacatalog.v1.StoragePropertiesOrBuilder + getStoragePropertiesOrBuilder() { if (propertiesCase_ == 4) { - return (com.google.cloud.datacatalog.v1.StorageProperties) properties_; + return (com.google.cloud.datacatalog.v1.StorageProperties) properties_; } return com.google.cloud.datacatalog.v1.StorageProperties.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -409,9 +475,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (service_ != com.google.cloud.datacatalog.v1.DataSource.Service.SERVICE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (service_ + != com.google.cloud.datacatalog.v1.DataSource.Service.SERVICE_UNSPECIFIED.getNumber()) { output.writeEnum(1, service_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { @@ -432,9 +498,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (service_ != com.google.cloud.datacatalog.v1.DataSource.Service.SERVICE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, service_); + if (service_ + != com.google.cloud.datacatalog.v1.DataSource.Service.SERVICE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, service_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resource_); @@ -443,8 +509,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sourceEntry_); } if (propertiesCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.datacatalog.v1.StorageProperties) properties_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.cloud.datacatalog.v1.StorageProperties) properties_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -454,23 +521,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.datacatalog.v1.DataSource)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.DataSource other = (com.google.cloud.datacatalog.v1.DataSource) obj; + com.google.cloud.datacatalog.v1.DataSource other = + (com.google.cloud.datacatalog.v1.DataSource) obj; if (service_ != other.service_) return false; - if (!getResource() - .equals(other.getResource())) return false; - if (!getSourceEntry() - .equals(other.getSourceEntry())) return false; + if (!getResource().equals(other.getResource())) return false; + if (!getSourceEntry().equals(other.getSourceEntry())) return false; if (!getPropertiesCase().equals(other.getPropertiesCase())) return false; switch (propertiesCase_) { case 4: - if (!getStorageProperties() - .equals(other.getStorageProperties())) return false; + if (!getStorageProperties().equals(other.getStorageProperties())) return false; break; case 0: default: @@ -505,132 +570,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.DataSource parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.DataSource parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.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.datacatalog.v1.DataSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.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.datacatalog.v1.DataSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.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.datacatalog.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.datacatalog.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.datacatalog.v1.DataSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DataSource parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.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.datacatalog.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.datacatalog.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.datacatalog.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; } /** + * + * *
    * Physical location of an entry.
    * 
* * Protobuf type {@code google.cloud.datacatalog.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.datacatalog.v1.DataSource) com.google.cloud.datacatalog.v1.DataSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.DataSourceProto.internal_static_google_cloud_datacatalog_v1_DataSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.DataSourceProto + .internal_static_google_cloud_datacatalog_v1_DataSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.DataSourceProto.internal_static_google_cloud_datacatalog_v1_DataSource_fieldAccessorTable + return com.google.cloud.datacatalog.v1.DataSourceProto + .internal_static_google_cloud_datacatalog_v1_DataSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.DataSource.class, com.google.cloud.datacatalog.v1.DataSource.Builder.class); + com.google.cloud.datacatalog.v1.DataSource.class, + com.google.cloud.datacatalog.v1.DataSource.Builder.class); } // Construct using com.google.cloud.datacatalog.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(); @@ -647,9 +716,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.DataSourceProto.internal_static_google_cloud_datacatalog_v1_DataSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.DataSourceProto + .internal_static_google_cloud_datacatalog_v1_DataSource_descriptor; } @java.lang.Override @@ -668,8 +737,11 @@ public com.google.cloud.datacatalog.v1.DataSource build() { @java.lang.Override public com.google.cloud.datacatalog.v1.DataSource buildPartial() { - com.google.cloud.datacatalog.v1.DataSource result = new com.google.cloud.datacatalog.v1.DataSource(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1.DataSource result = + new com.google.cloud.datacatalog.v1.DataSource(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -691,8 +763,7 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DataSource result) { private void buildPartialOneofs(com.google.cloud.datacatalog.v1.DataSource result) { result.propertiesCase_ = propertiesCase_; result.properties_ = this.properties_; - if (propertiesCase_ == 4 && - storagePropertiesBuilder_ != null) { + if (propertiesCase_ == 4 && storagePropertiesBuilder_ != null) { result.properties_ = storagePropertiesBuilder_.build(); } } @@ -701,38 +772,39 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.DataSource 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.datacatalog.v1.DataSource) { - return mergeFrom((com.google.cloud.datacatalog.v1.DataSource)other); + return mergeFrom((com.google.cloud.datacatalog.v1.DataSource) other); } else { super.mergeFrom(other); return this; @@ -755,13 +827,15 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.DataSource other) { onChanged(); } switch (other.getPropertiesCase()) { - case STORAGE_PROPERTIES: { - mergeStorageProperties(other.getStorageProperties()); - break; - } - case PROPERTIES_NOT_SET: { - break; - } + case STORAGE_PROPERTIES: + { + mergeStorageProperties(other.getStorageProperties()); + break; + } + case PROPERTIES_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -789,34 +863,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - service_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - resource_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - sourceEntry_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getStoragePropertiesFieldBuilder().getBuilder(), - extensionRegistry); - propertiesCase_ = 4; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + service_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + resource_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + sourceEntry_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage( + getStoragePropertiesFieldBuilder().getBuilder(), extensionRegistry); + propertiesCase_ = 4; + 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) { @@ -826,12 +904,12 @@ public Builder mergeFrom( } // finally return this; } + private int propertiesCase_ = 0; private java.lang.Object properties_; - public PropertiesCase - getPropertiesCase() { - return PropertiesCase.forNumber( - propertiesCase_); + + public PropertiesCase getPropertiesCase() { + return PropertiesCase.forNumber(propertiesCase_); } public Builder clearProperties() { @@ -845,22 +923,29 @@ public Builder clearProperties() { private int service_ = 0; /** + * + * *
      * Service that physically stores the data.
      * 
* * .google.cloud.datacatalog.v1.DataSource.Service service = 1; + * * @return The enum numeric value on the wire for service. */ - @java.lang.Override public int getServiceValue() { + @java.lang.Override + public int getServiceValue() { return service_; } /** + * + * *
      * Service that physically stores the data.
      * 
* * .google.cloud.datacatalog.v1.DataSource.Service service = 1; + * * @param value The enum numeric value on the wire for service to set. * @return This builder for chaining. */ @@ -871,24 +956,33 @@ public Builder setServiceValue(int value) { return this; } /** + * + * *
      * Service that physically stores the data.
      * 
* * .google.cloud.datacatalog.v1.DataSource.Service service = 1; + * * @return The service. */ @java.lang.Override public com.google.cloud.datacatalog.v1.DataSource.Service getService() { - com.google.cloud.datacatalog.v1.DataSource.Service result = com.google.cloud.datacatalog.v1.DataSource.Service.forNumber(service_); - return result == null ? com.google.cloud.datacatalog.v1.DataSource.Service.UNRECOGNIZED : result; + com.google.cloud.datacatalog.v1.DataSource.Service result = + com.google.cloud.datacatalog.v1.DataSource.Service.forNumber(service_); + return result == null + ? com.google.cloud.datacatalog.v1.DataSource.Service.UNRECOGNIZED + : result; } /** + * + * *
      * Service that physically stores the data.
      * 
* * .google.cloud.datacatalog.v1.DataSource.Service service = 1; + * * @param value The service to set. * @return This builder for chaining. */ @@ -902,11 +996,14 @@ public Builder setService(com.google.cloud.datacatalog.v1.DataSource.Service val return this; } /** + * + * *
      * Service that physically stores the data.
      * 
* * .google.cloud.datacatalog.v1.DataSource.Service service = 1; + * * @return This builder for chaining. */ public Builder clearService() { @@ -918,6 +1015,8 @@ public Builder clearService() { private java.lang.Object resource_ = ""; /** + * + * *
      * Full name of a resource as defined by the service. For example:
      *
@@ -925,13 +1024,13 @@ public Builder clearService() {
      * 
* * string resource = 2; + * * @return The resource. */ public java.lang.String getResource() { java.lang.Object ref = resource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; @@ -940,6 +1039,8 @@ public java.lang.String getResource() { } } /** + * + * *
      * Full name of a resource as defined by the service. For example:
      *
@@ -947,15 +1048,14 @@ public java.lang.String getResource() {
      * 
* * string resource = 2; + * * @return The bytes for resource. */ - public com.google.protobuf.ByteString - getResourceBytes() { + public com.google.protobuf.ByteString getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resource_ = b; return b; } else { @@ -963,6 +1063,8 @@ public java.lang.String getResource() { } } /** + * + * *
      * Full name of a resource as defined by the service. For example:
      *
@@ -970,18 +1072,22 @@ public java.lang.String getResource() {
      * 
* * string resource = 2; + * * @param value The resource to set. * @return This builder for chaining. */ - public Builder setResource( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } resource_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Full name of a resource as defined by the service. For example:
      *
@@ -989,6 +1095,7 @@ public Builder setResource(
      * 
* * string resource = 2; + * * @return This builder for chaining. */ public Builder clearResource() { @@ -998,6 +1105,8 @@ public Builder clearResource() { return this; } /** + * + * *
      * Full name of a resource as defined by the service. For example:
      *
@@ -1005,12 +1114,14 @@ public Builder clearResource() {
      * 
* * string resource = 2; + * * @param value The bytes for resource to set. * @return This builder for chaining. */ - public Builder setResourceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); resource_ = value; bitField0_ |= 0x00000002; @@ -1020,18 +1131,20 @@ public Builder setResourceBytes( private java.lang.Object sourceEntry_ = ""; /** + * + * *
      * Output only. Data Catalog entry name, if applicable.
      * 
* * string source_entry = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sourceEntry. */ public java.lang.String getSourceEntry() { java.lang.Object ref = sourceEntry_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceEntry_ = s; return s; @@ -1040,20 +1153,21 @@ public java.lang.String getSourceEntry() { } } /** + * + * *
      * Output only. Data Catalog entry name, if applicable.
      * 
* * string source_entry = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for sourceEntry. */ - public com.google.protobuf.ByteString - getSourceEntryBytes() { + public com.google.protobuf.ByteString getSourceEntryBytes() { java.lang.Object ref = sourceEntry_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceEntry_ = b; return b; } else { @@ -1061,28 +1175,35 @@ public java.lang.String getSourceEntry() { } } /** + * + * *
      * Output only. Data Catalog entry name, if applicable.
      * 
* * string source_entry = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The sourceEntry to set. * @return This builder for chaining. */ - public Builder setSourceEntry( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceEntry(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sourceEntry_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. Data Catalog entry name, if applicable.
      * 
* * string source_entry = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSourceEntry() { @@ -1092,17 +1213,21 @@ public Builder clearSourceEntry() { return this; } /** + * + * *
      * Output only. Data Catalog entry name, if applicable.
      * 
* * string source_entry = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for sourceEntry to set. * @return This builder for chaining. */ - public Builder setSourceEntryBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceEntryBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sourceEntry_ = value; bitField0_ |= 0x00000004; @@ -1111,13 +1236,19 @@ public Builder setSourceEntryBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.StorageProperties, com.google.cloud.datacatalog.v1.StorageProperties.Builder, com.google.cloud.datacatalog.v1.StoragePropertiesOrBuilder> storagePropertiesBuilder_; + com.google.cloud.datacatalog.v1.StorageProperties, + com.google.cloud.datacatalog.v1.StorageProperties.Builder, + com.google.cloud.datacatalog.v1.StoragePropertiesOrBuilder> + storagePropertiesBuilder_; /** + * + * *
      * Detailed properties of the underlying storage.
      * 
* * .google.cloud.datacatalog.v1.StorageProperties storage_properties = 4; + * * @return Whether the storageProperties field is set. */ @java.lang.Override @@ -1125,11 +1256,14 @@ public boolean hasStorageProperties() { return propertiesCase_ == 4; } /** + * + * *
      * Detailed properties of the underlying storage.
      * 
* * .google.cloud.datacatalog.v1.StorageProperties storage_properties = 4; + * * @return The storageProperties. */ @java.lang.Override @@ -1147,6 +1281,8 @@ public com.google.cloud.datacatalog.v1.StorageProperties getStorageProperties() } } /** + * + * *
      * Detailed properties of the underlying storage.
      * 
@@ -1167,6 +1303,8 @@ public Builder setStorageProperties(com.google.cloud.datacatalog.v1.StoragePrope return this; } /** + * + * *
      * Detailed properties of the underlying storage.
      * 
@@ -1185,6 +1323,8 @@ public Builder setStorageProperties( return this; } /** + * + * *
      * Detailed properties of the underlying storage.
      * 
@@ -1193,10 +1333,14 @@ public Builder setStorageProperties( */ public Builder mergeStorageProperties(com.google.cloud.datacatalog.v1.StorageProperties value) { if (storagePropertiesBuilder_ == null) { - if (propertiesCase_ == 4 && - properties_ != com.google.cloud.datacatalog.v1.StorageProperties.getDefaultInstance()) { - properties_ = com.google.cloud.datacatalog.v1.StorageProperties.newBuilder((com.google.cloud.datacatalog.v1.StorageProperties) properties_) - .mergeFrom(value).buildPartial(); + if (propertiesCase_ == 4 + && properties_ + != com.google.cloud.datacatalog.v1.StorageProperties.getDefaultInstance()) { + properties_ = + com.google.cloud.datacatalog.v1.StorageProperties.newBuilder( + (com.google.cloud.datacatalog.v1.StorageProperties) properties_) + .mergeFrom(value) + .buildPartial(); } else { properties_ = value; } @@ -1212,6 +1356,8 @@ public Builder mergeStorageProperties(com.google.cloud.datacatalog.v1.StoragePro return this; } /** + * + * *
      * Detailed properties of the underlying storage.
      * 
@@ -1235,6 +1381,8 @@ public Builder clearStorageProperties() { return this; } /** + * + * *
      * Detailed properties of the underlying storage.
      * 
@@ -1245,6 +1393,8 @@ public com.google.cloud.datacatalog.v1.StorageProperties.Builder getStoragePrope return getStoragePropertiesFieldBuilder().getBuilder(); } /** + * + * *
      * Detailed properties of the underlying storage.
      * 
@@ -1252,7 +1402,8 @@ public com.google.cloud.datacatalog.v1.StorageProperties.Builder getStoragePrope * .google.cloud.datacatalog.v1.StorageProperties storage_properties = 4; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.StoragePropertiesOrBuilder getStoragePropertiesOrBuilder() { + public com.google.cloud.datacatalog.v1.StoragePropertiesOrBuilder + getStoragePropertiesOrBuilder() { if ((propertiesCase_ == 4) && (storagePropertiesBuilder_ != null)) { return storagePropertiesBuilder_.getMessageOrBuilder(); } else { @@ -1263,6 +1414,8 @@ public com.google.cloud.datacatalog.v1.StoragePropertiesOrBuilder getStorageProp } } /** + * + * *
      * Detailed properties of the underlying storage.
      * 
@@ -1270,14 +1423,19 @@ public com.google.cloud.datacatalog.v1.StoragePropertiesOrBuilder getStorageProp * .google.cloud.datacatalog.v1.StorageProperties storage_properties = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.StorageProperties, com.google.cloud.datacatalog.v1.StorageProperties.Builder, com.google.cloud.datacatalog.v1.StoragePropertiesOrBuilder> + com.google.cloud.datacatalog.v1.StorageProperties, + com.google.cloud.datacatalog.v1.StorageProperties.Builder, + com.google.cloud.datacatalog.v1.StoragePropertiesOrBuilder> getStoragePropertiesFieldBuilder() { if (storagePropertiesBuilder_ == null) { if (!(propertiesCase_ == 4)) { properties_ = com.google.cloud.datacatalog.v1.StorageProperties.getDefaultInstance(); } - storagePropertiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.StorageProperties, com.google.cloud.datacatalog.v1.StorageProperties.Builder, com.google.cloud.datacatalog.v1.StoragePropertiesOrBuilder>( + storagePropertiesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.StorageProperties, + com.google.cloud.datacatalog.v1.StorageProperties.Builder, + com.google.cloud.datacatalog.v1.StoragePropertiesOrBuilder>( (com.google.cloud.datacatalog.v1.StorageProperties) properties_, getParentForChildren(), isClean()); @@ -1287,9 +1445,9 @@ public com.google.cloud.datacatalog.v1.StoragePropertiesOrBuilder getStorageProp onChanged(); return storagePropertiesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1299,12 +1457,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.DataSource) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DataSource) private static final com.google.cloud.datacatalog.v1.DataSource DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DataSource(); } @@ -1313,27 +1471,27 @@ public static com.google.cloud.datacatalog.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; @@ -1348,6 +1506,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.DataSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpec.java similarity index 63% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpec.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpec.java index d3a40a71ff1d..8a595a41a4a9 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpec.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Specification that applies to a data source connection. Valid only for
  * entries with the `DATA_SOURCE_CONNECTION` type.
@@ -13,46 +30,50 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.DataSourceConnectionSpec}
  */
-public final class DataSourceConnectionSpec extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DataSourceConnectionSpec extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.DataSourceConnectionSpec)
     DataSourceConnectionSpecOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DataSourceConnectionSpec.newBuilder() to construct.
   private DataSourceConnectionSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private DataSourceConnectionSpec() {
-  }
+
+  private DataSourceConnectionSpec() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DataSourceConnectionSpec();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.class, com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder.class);
+            com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.class,
+            com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder.class);
   }
 
   public static final int BIGQUERY_CONNECTION_SPEC_FIELD_NUMBER = 1;
   private com.google.cloud.datacatalog.v1.BigQueryConnectionSpec bigqueryConnectionSpec_;
   /**
+   *
+   *
    * 
    * Output only. Fields specific to BigQuery connections.
    * 
* * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * * @return Whether the bigqueryConnectionSpec field is set. */ @java.lang.Override @@ -60,18 +81,25 @@ public boolean hasBigqueryConnectionSpec() { return bigqueryConnectionSpec_ != null; } /** + * + * *
    * Output only. Fields specific to BigQuery connections.
    * 
* * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * * @return The bigqueryConnectionSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec getBigqueryConnectionSpec() { - return bigqueryConnectionSpec_ == null ? com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.getDefaultInstance() : bigqueryConnectionSpec_; + return bigqueryConnectionSpec_ == null + ? com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.getDefaultInstance() + : bigqueryConnectionSpec_; } /** + * + * *
    * Output only. Fields specific to BigQuery connections.
    * 
@@ -79,11 +107,15 @@ public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec getBigqueryConnect * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder getBigqueryConnectionSpecOrBuilder() { - return bigqueryConnectionSpec_ == null ? com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.getDefaultInstance() : bigqueryConnectionSpec_; + public com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder + getBigqueryConnectionSpecOrBuilder() { + return bigqueryConnectionSpec_ == null + ? com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.getDefaultInstance() + : bigqueryConnectionSpec_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -95,8 +127,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (bigqueryConnectionSpec_ != null) { output.writeMessage(1, getBigqueryConnectionSpec()); } @@ -110,8 +141,8 @@ public int getSerializedSize() { size = 0; if (bigqueryConnectionSpec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getBigqueryConnectionSpec()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBigqueryConnectionSpec()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -121,17 +152,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.datacatalog.v1.DataSourceConnectionSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.DataSourceConnectionSpec other = (com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) obj; + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec other = + (com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) obj; if (hasBigqueryConnectionSpec() != other.hasBigqueryConnectionSpec()) return false; if (hasBigqueryConnectionSpec()) { - if (!getBigqueryConnectionSpec() - .equals(other.getBigqueryConnectionSpec())) return false; + if (!getBigqueryConnectionSpec().equals(other.getBigqueryConnectionSpec())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -154,98 +185,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.DataSourceConnectionSpec prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Specification that applies to a data source connection. Valid only for
    * entries with the `DATA_SOURCE_CONNECTION` type.
@@ -255,33 +292,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.DataSourceConnectionSpec}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.DataSourceConnectionSpec)
       com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.class, com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder.class);
+              com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.class,
+              com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        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 +331,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_descriptor;
     }
 
     @java.lang.Override
@@ -316,8 +352,11 @@ public com.google.cloud.datacatalog.v1.DataSourceConnectionSpec build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.DataSourceConnectionSpec buildPartial() {
-      com.google.cloud.datacatalog.v1.DataSourceConnectionSpec result = new com.google.cloud.datacatalog.v1.DataSourceConnectionSpec(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.DataSourceConnectionSpec result =
+          new com.google.cloud.datacatalog.v1.DataSourceConnectionSpec(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -325,9 +364,10 @@ public com.google.cloud.datacatalog.v1.DataSourceConnectionSpec buildPartial() {
     private void buildPartial0(com.google.cloud.datacatalog.v1.DataSourceConnectionSpec result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.bigqueryConnectionSpec_ = bigqueryConnectionSpecBuilder_ == null
-            ? bigqueryConnectionSpec_
-            : bigqueryConnectionSpecBuilder_.build();
+        result.bigqueryConnectionSpec_ =
+            bigqueryConnectionSpecBuilder_ == null
+                ? bigqueryConnectionSpec_
+                : bigqueryConnectionSpecBuilder_.build();
       }
     }
 
@@ -335,38 +375,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DataSourceConnectionS
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.DataSourceConnectionSpec)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -374,7 +415,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.DataSourceConnectionSpec other) {
-      if (other == com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.getDefaultInstance())
+        return this;
       if (other.hasBigqueryConnectionSpec()) {
         mergeBigqueryConnectionSpec(other.getBigqueryConnectionSpec());
       }
@@ -404,19 +446,20 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getBigqueryConnectionSpecFieldBuilder().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(
+                    getBigqueryConnectionSpecFieldBuilder().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) {
@@ -426,45 +469,63 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.datacatalog.v1.BigQueryConnectionSpec bigqueryConnectionSpec_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.BigQueryConnectionSpec, com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder, com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder> bigqueryConnectionSpecBuilder_;
+            com.google.cloud.datacatalog.v1.BigQueryConnectionSpec,
+            com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder,
+            com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder>
+        bigqueryConnectionSpecBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Fields specific to BigQuery connections.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * + * * @return Whether the bigqueryConnectionSpec field is set. */ public boolean hasBigqueryConnectionSpec() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Output only. Fields specific to BigQuery connections.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * + * * @return The bigqueryConnectionSpec. */ public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec getBigqueryConnectionSpec() { if (bigqueryConnectionSpecBuilder_ == null) { - return bigqueryConnectionSpec_ == null ? com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.getDefaultInstance() : bigqueryConnectionSpec_; + return bigqueryConnectionSpec_ == null + ? com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.getDefaultInstance() + : bigqueryConnectionSpec_; } else { return bigqueryConnectionSpecBuilder_.getMessage(); } } /** + * + * *
      * Output only. Fields specific to BigQuery connections.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * */ - public Builder setBigqueryConnectionSpec(com.google.cloud.datacatalog.v1.BigQueryConnectionSpec value) { + public Builder setBigqueryConnectionSpec( + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec value) { if (bigqueryConnectionSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -478,11 +539,14 @@ public Builder setBigqueryConnectionSpec(com.google.cloud.datacatalog.v1.BigQuer return this; } /** + * + * *
      * Output only. Fields specific to BigQuery connections.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * */ public Builder setBigqueryConnectionSpec( com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder builderForValue) { @@ -496,17 +560,22 @@ public Builder setBigqueryConnectionSpec( return this; } /** + * + * *
      * Output only. Fields specific to BigQuery connections.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * */ - public Builder mergeBigqueryConnectionSpec(com.google.cloud.datacatalog.v1.BigQueryConnectionSpec value) { + public Builder mergeBigqueryConnectionSpec( + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec value) { if (bigqueryConnectionSpecBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - bigqueryConnectionSpec_ != null && - bigqueryConnectionSpec_ != com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && bigqueryConnectionSpec_ != null + && bigqueryConnectionSpec_ + != com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.getDefaultInstance()) { getBigqueryConnectionSpecBuilder().mergeFrom(value); } else { bigqueryConnectionSpec_ = value; @@ -519,11 +588,14 @@ public Builder mergeBigqueryConnectionSpec(com.google.cloud.datacatalog.v1.BigQu return this; } /** + * + * *
      * Output only. Fields specific to BigQuery connections.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * */ public Builder clearBigqueryConnectionSpec() { bitField0_ = (bitField0_ & ~0x00000001); @@ -536,55 +608,70 @@ public Builder clearBigqueryConnectionSpec() { return this; } /** + * + * *
      * Output only. Fields specific to BigQuery connections.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * */ - public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder getBigqueryConnectionSpecBuilder() { + public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder + getBigqueryConnectionSpecBuilder() { bitField0_ |= 0x00000001; onChanged(); return getBigqueryConnectionSpecFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Fields specific to BigQuery connections.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * */ - public com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder getBigqueryConnectionSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder + getBigqueryConnectionSpecOrBuilder() { if (bigqueryConnectionSpecBuilder_ != null) { return bigqueryConnectionSpecBuilder_.getMessageOrBuilder(); } else { - return bigqueryConnectionSpec_ == null ? - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.getDefaultInstance() : bigqueryConnectionSpec_; + return bigqueryConnectionSpec_ == null + ? com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.getDefaultInstance() + : bigqueryConnectionSpec_; } } /** + * + * *
      * Output only. Fields specific to BigQuery connections.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec, com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder, com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder> + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec, + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder, + com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder> getBigqueryConnectionSpecFieldBuilder() { if (bigqueryConnectionSpecBuilder_ == null) { - bigqueryConnectionSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec, com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder, com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder>( - getBigqueryConnectionSpec(), - getParentForChildren(), - isClean()); + bigqueryConnectionSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec, + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder, + com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder>( + getBigqueryConnectionSpec(), getParentForChildren(), isClean()); bigqueryConnectionSpec_ = null; } return bigqueryConnectionSpecBuilder_; } + @java.lang.Override - 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 +681,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.DataSourceConnectionSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DataSourceConnectionSpec) private static final com.google.cloud.datacatalog.v1.DataSourceConnectionSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DataSourceConnectionSpec(); } @@ -608,27 +695,27 @@ public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataSourceConnectionSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataSourceConnectionSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +730,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.DataSourceConnectionSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpecOrBuilder.java similarity index 61% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpecOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpecOrBuilder.java index 7bdce6bdbaf7..061e7a65e6c0 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpecOrBuilder.java @@ -1,36 +1,61 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface DataSourceConnectionSpecOrBuilder extends +public interface DataSourceConnectionSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DataSourceConnectionSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Fields specific to BigQuery connections.
    * 
* * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * * @return Whether the bigqueryConnectionSpec field is set. */ boolean hasBigqueryConnectionSpec(); /** + * + * *
    * Output only. Fields specific to BigQuery connections.
    * 
* * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * * @return The bigqueryConnectionSpec. */ com.google.cloud.datacatalog.v1.BigQueryConnectionSpec getBigqueryConnectionSpec(); /** + * + * *
    * Output only. Fields specific to BigQuery connections.
    * 
* * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; */ - com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder getBigqueryConnectionSpecOrBuilder(); + com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder + getBigqueryConnectionSpecOrBuilder(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceOrBuilder.java similarity index 76% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceOrBuilder.java index ceb8a706a156..600fca0f45ed 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceOrBuilder.java @@ -1,32 +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/datacatalog/v1/data_source.proto package com.google.cloud.datacatalog.v1; -public interface DataSourceOrBuilder extends +public interface DataSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DataSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Service that physically stores the data.
    * 
* * .google.cloud.datacatalog.v1.DataSource.Service service = 1; + * * @return The enum numeric value on the wire for service. */ int getServiceValue(); /** + * + * *
    * Service that physically stores the data.
    * 
* * .google.cloud.datacatalog.v1.DataSource.Service service = 1; + * * @return The service. */ com.google.cloud.datacatalog.v1.DataSource.Service getService(); /** + * + * *
    * Full name of a resource as defined by the service. For example:
    *
@@ -34,10 +58,13 @@ public interface DataSourceOrBuilder extends
    * 
* * string resource = 2; + * * @return The resource. */ java.lang.String getResource(); /** + * + * *
    * Full name of a resource as defined by the service. For example:
    *
@@ -45,50 +72,63 @@ public interface DataSourceOrBuilder extends
    * 
* * string resource = 2; + * * @return The bytes for resource. */ - com.google.protobuf.ByteString - getResourceBytes(); + com.google.protobuf.ByteString getResourceBytes(); /** + * + * *
    * Output only. Data Catalog entry name, if applicable.
    * 
* * string source_entry = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sourceEntry. */ java.lang.String getSourceEntry(); /** + * + * *
    * Output only. Data Catalog entry name, if applicable.
    * 
* * string source_entry = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for sourceEntry. */ - com.google.protobuf.ByteString - getSourceEntryBytes(); + com.google.protobuf.ByteString getSourceEntryBytes(); /** + * + * *
    * Detailed properties of the underlying storage.
    * 
* * .google.cloud.datacatalog.v1.StorageProperties storage_properties = 4; + * * @return Whether the storageProperties field is set. */ boolean hasStorageProperties(); /** + * + * *
    * Detailed properties of the underlying storage.
    * 
* * .google.cloud.datacatalog.v1.StorageProperties storage_properties = 4; + * * @return The storageProperties. */ com.google.cloud.datacatalog.v1.StorageProperties getStorageProperties(); /** + * + * *
    * Detailed properties of the underlying storage.
    * 
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceProto.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceProto.java new file mode 100644 index 000000000000..e90344541e6e --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceProto.java @@ -0,0 +1,97 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/data_source.proto + +package com.google.cloud.datacatalog.v1; + +public final class DataSourceProto { + private DataSourceProto() {} + + 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_datacatalog_v1_DataSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DataSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_StorageProperties_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_StorageProperties_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/datacatalog/v1/data_sourc" + + "e.proto\022\033google.cloud.datacatalog.v1\032\037go" + + "ogle/api/field_behavior.proto\"\235\002\n\nDataSo" + + "urce\022@\n\007service\030\001 \001(\0162/.google.cloud.dat" + + "acatalog.v1.DataSource.Service\022\020\n\010resour" + + "ce\030\002 \001(\t\022\032\n\014source_entry\030\003 \001(\tB\004\342A\001\003\022L\n\022" + + "storage_properties\030\004 \001(\0132..google.cloud." + + "datacatalog.v1.StoragePropertiesH\000\"C\n\007Se" + + "rvice\022\027\n\023SERVICE_UNSPECIFIED\020\000\022\021\n\rCLOUD_" + + "STORAGE\020\001\022\014\n\010BIGQUERY\020\002B\014\n\nproperties\"<\n" + + "\021StorageProperties\022\024\n\014file_pattern\030\001 \003(\t" + + "\022\021\n\tfile_type\030\002 \001(\tB\327\001\n\037com.google.cloud" + + ".datacatalog.v1B\017DataSourceProtoP\001ZAclou" + + "d.google.com/go/datacatalog/apiv1/dataca" + + "talogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud." + + "DataCatalog.V1\312\002\033Google\\Cloud\\DataCatalo" + + "g\\V1\352\002\036Google::Cloud::DataCatalog::V1b\006p" + + "roto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1_DataSource_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1_DataSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DataSource_descriptor, + new java.lang.String[] { + "Service", "Resource", "SourceEntry", "StorageProperties", "Properties", + }); + internal_static_google_cloud_datacatalog_v1_StorageProperties_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1_StorageProperties_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_StorageProperties_descriptor, + new java.lang.String[] { + "FilePattern", "FileType", + }); + 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-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpec.java similarity index 66% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpec.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpec.java index c2ebf9c0d14e..b4b7254bab49 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpec.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Specification that applies to a table resource. Valid only
  * for entries with the `TABLE` type.
@@ -11,49 +28,54 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.DatabaseTableSpec}
  */
-public final class DatabaseTableSpec extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DatabaseTableSpec extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.DatabaseTableSpec)
     DatabaseTableSpecOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DatabaseTableSpec.newBuilder() to construct.
   private DatabaseTableSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DatabaseTableSpec() {
     type_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DatabaseTableSpec();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.DatabaseTableSpec.class, com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder.class);
+            com.google.cloud.datacatalog.v1.DatabaseTableSpec.class,
+            com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Type of the table.
    * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.DatabaseTableSpec.TableType} */ - public enum TableType - implements com.google.protobuf.ProtocolMessageEnum { + public enum TableType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default unknown table type.
      * 
@@ -62,6 +84,8 @@ public enum TableType */ TABLE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Native table.
      * 
@@ -70,6 +94,8 @@ public enum TableType */ NATIVE(1), /** + * + * *
      * External table.
      * 
@@ -81,6 +107,8 @@ public enum TableType ; /** + * + * *
      * Default unknown table type.
      * 
@@ -89,6 +117,8 @@ public enum TableType */ public static final int TABLE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Native table.
      * 
@@ -97,6 +127,8 @@ public enum TableType */ public static final int NATIVE_VALUE = 1; /** + * + * *
      * External table.
      * 
@@ -105,7 +137,6 @@ public enum TableType */ public static final int EXTERNAL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -130,49 +161,51 @@ public static TableType valueOf(int value) { */ public static TableType forNumber(int value) { switch (value) { - case 0: return TABLE_TYPE_UNSPECIFIED; - case 1: return NATIVE; - case 2: return EXTERNAL; - default: return null; + case 0: + return TABLE_TYPE_UNSPECIFIED; + case 1: + return NATIVE; + case 2: + return EXTERNAL; + 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< - TableType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TableType findValueByNumber(int number) { - return TableType.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 TableType findValueByNumber(int number) { + return TableType.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.datacatalog.v1.DatabaseTableSpec.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.DatabaseTableSpec.getDescriptor() + .getEnumTypes() + .get(0); } private static final TableType[] VALUES = values(); - public static TableType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static TableType 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; @@ -189,139 +222,172 @@ private TableType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1.DatabaseTableSpec.TableType) } - public interface DatabaseViewSpecOrBuilder extends + public interface DatabaseViewSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Type of this view.
      * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; + * + * * @return The enum numeric value on the wire for viewType. */ int getViewTypeValue(); /** + * + * *
      * Type of this view.
      * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; + * + * * @return The viewType. */ com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType getViewType(); /** + * + * *
      * Name of a singular table this view reflects one to one.
      * 
* * string base_table = 2; + * * @return Whether the baseTable field is set. */ boolean hasBaseTable(); /** + * + * *
      * Name of a singular table this view reflects one to one.
      * 
* * string base_table = 2; + * * @return The baseTable. */ java.lang.String getBaseTable(); /** + * + * *
      * Name of a singular table this view reflects one to one.
      * 
* * string base_table = 2; + * * @return The bytes for baseTable. */ - com.google.protobuf.ByteString - getBaseTableBytes(); + com.google.protobuf.ByteString getBaseTableBytes(); /** + * + * *
      * SQL query used to generate this view.
      * 
* * string sql_query = 3; + * * @return Whether the sqlQuery field is set. */ boolean hasSqlQuery(); /** + * + * *
      * SQL query used to generate this view.
      * 
* * string sql_query = 3; + * * @return The sqlQuery. */ java.lang.String getSqlQuery(); /** + * + * *
      * SQL query used to generate this view.
      * 
* * string sql_query = 3; + * * @return The bytes for sqlQuery. */ - com.google.protobuf.ByteString - getSqlQueryBytes(); + com.google.protobuf.ByteString getSqlQueryBytes(); - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.SourceDefinitionCase getSourceDefinitionCase(); + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.SourceDefinitionCase + getSourceDefinitionCase(); } /** + * + * *
    * Specification that applies to database view.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec} */ - public static final class DatabaseViewSpec extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DatabaseViewSpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec) DatabaseViewSpecOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DatabaseViewSpec.newBuilder() to construct. private DatabaseViewSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DatabaseViewSpec() { viewType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DatabaseViewSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.class, com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.Builder.class); + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.class, + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.Builder.class); } /** + * + * *
      * Concrete type of the view.
      * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType} */ - public enum ViewType - implements com.google.protobuf.ProtocolMessageEnum { + public enum ViewType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Default unknown view type.
        * 
@@ -330,6 +396,8 @@ public enum ViewType */ VIEW_TYPE_UNSPECIFIED(0), /** + * + * *
        * Standard view.
        * 
@@ -338,6 +406,8 @@ public enum ViewType */ STANDARD_VIEW(1), /** + * + * *
        * Materialized view.
        * 
@@ -349,6 +419,8 @@ public enum ViewType ; /** + * + * *
        * Default unknown view type.
        * 
@@ -357,6 +429,8 @@ public enum ViewType */ public static final int VIEW_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Standard view.
        * 
@@ -365,6 +439,8 @@ public enum ViewType */ public static final int STANDARD_VIEW_VALUE = 1; /** + * + * *
        * Materialized view.
        * 
@@ -373,7 +449,6 @@ public enum ViewType */ public static final int MATERIALIZED_VIEW_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -398,49 +473,51 @@ public static ViewType valueOf(int value) { */ public static ViewType forNumber(int value) { switch (value) { - case 0: return VIEW_TYPE_UNSPECIFIED; - case 1: return STANDARD_VIEW; - case 2: return MATERIALIZED_VIEW; - default: return null; + case 0: + return VIEW_TYPE_UNSPECIFIED; + case 1: + return STANDARD_VIEW; + case 2: + return MATERIALIZED_VIEW; + 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< - ViewType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ViewType findValueByNumber(int number) { - return ViewType.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 ViewType findValueByNumber(int number) { + return ViewType.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.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.getDescriptor() + .getEnumTypes() + .get(0); } private static final ViewType[] VALUES = values(); - public static ViewType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ViewType 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; @@ -458,15 +535,19 @@ private ViewType(int value) { } private int sourceDefinitionCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object sourceDefinition_; + public enum SourceDefinitionCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BASE_TABLE(2), SQL_QUERY(3), SOURCEDEFINITION_NOT_SET(0); private final int value; + private SourceDefinitionCase(int value) { this.value = value; } @@ -482,67 +563,91 @@ public static SourceDefinitionCase valueOf(int value) { public static SourceDefinitionCase forNumber(int value) { switch (value) { - case 2: return BASE_TABLE; - case 3: return SQL_QUERY; - case 0: return SOURCEDEFINITION_NOT_SET; - default: return null; + case 2: + return BASE_TABLE; + case 3: + return SQL_QUERY; + case 0: + return SOURCEDEFINITION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public SourceDefinitionCase - getSourceDefinitionCase() { - return SourceDefinitionCase.forNumber( - sourceDefinitionCase_); + public SourceDefinitionCase getSourceDefinitionCase() { + return SourceDefinitionCase.forNumber(sourceDefinitionCase_); } public static final int VIEW_TYPE_FIELD_NUMBER = 1; private int viewType_ = 0; /** + * + * *
      * Type of this view.
      * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; + * + * * @return The enum numeric value on the wire for viewType. */ - @java.lang.Override public int getViewTypeValue() { + @java.lang.Override + public int getViewTypeValue() { return viewType_; } /** + * + * *
      * Type of this view.
      * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; + * + * * @return The viewType. */ - @java.lang.Override public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType getViewType() { - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType result = com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType.forNumber(viewType_); - return result == null ? com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType + getViewType() { + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType result = + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType.forNumber( + viewType_); + return result == null + ? com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType.UNRECOGNIZED + : result; } public static final int BASE_TABLE_FIELD_NUMBER = 2; /** + * + * *
      * Name of a singular table this view reflects one to one.
      * 
* * string base_table = 2; + * * @return Whether the baseTable field is set. */ public boolean hasBaseTable() { return sourceDefinitionCase_ == 2; } /** + * + * *
      * Name of a singular table this view reflects one to one.
      * 
* * string base_table = 2; + * * @return The baseTable. */ public java.lang.String getBaseTable() { @@ -553,8 +658,7 @@ public java.lang.String getBaseTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (sourceDefinitionCase_ == 2) { sourceDefinition_ = s; @@ -563,23 +667,24 @@ public java.lang.String getBaseTable() { } } /** + * + * *
      * Name of a singular table this view reflects one to one.
      * 
* * string base_table = 2; + * * @return The bytes for baseTable. */ - public com.google.protobuf.ByteString - getBaseTableBytes() { + public com.google.protobuf.ByteString getBaseTableBytes() { java.lang.Object ref = ""; if (sourceDefinitionCase_ == 2) { ref = sourceDefinition_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (sourceDefinitionCase_ == 2) { sourceDefinition_ = b; } @@ -591,22 +696,28 @@ public java.lang.String getBaseTable() { public static final int SQL_QUERY_FIELD_NUMBER = 3; /** + * + * *
      * SQL query used to generate this view.
      * 
* * string sql_query = 3; + * * @return Whether the sqlQuery field is set. */ public boolean hasSqlQuery() { return sourceDefinitionCase_ == 3; } /** + * + * *
      * SQL query used to generate this view.
      * 
* * string sql_query = 3; + * * @return The sqlQuery. */ public java.lang.String getSqlQuery() { @@ -617,8 +728,7 @@ public java.lang.String getSqlQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (sourceDefinitionCase_ == 3) { sourceDefinition_ = s; @@ -627,23 +737,24 @@ public java.lang.String getSqlQuery() { } } /** + * + * *
      * SQL query used to generate this view.
      * 
* * string sql_query = 3; + * * @return The bytes for sqlQuery. */ - public com.google.protobuf.ByteString - getSqlQueryBytes() { + public com.google.protobuf.ByteString getSqlQueryBytes() { java.lang.Object ref = ""; if (sourceDefinitionCase_ == 3) { ref = sourceDefinition_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (sourceDefinitionCase_ == 3) { sourceDefinition_ = b; } @@ -654,6 +765,7 @@ public java.lang.String getSqlQuery() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -665,9 +777,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (viewType_ != com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType.VIEW_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (viewType_ + != com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType + .VIEW_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, viewType_); } if (sourceDefinitionCase_ == 2) { @@ -685,9 +799,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (viewType_ != com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType.VIEW_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, viewType_); + if (viewType_ + != com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType + .VIEW_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, viewType_); } if (sourceDefinitionCase_ == 2) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceDefinition_); @@ -703,23 +819,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.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec other = (com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec) obj; + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec other = + (com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec) obj; if (viewType_ != other.viewType_) return false; if (!getSourceDefinitionCase().equals(other.getSourceDefinitionCase())) return false; switch (sourceDefinitionCase_) { case 2: - if (!getBaseTable() - .equals(other.getBaseTable())) return false; + if (!getBaseTable().equals(other.getBaseTable())) return false; break; case 3: - if (!getSqlQuery() - .equals(other.getSqlQuery())) return false; + if (!getSqlQuery().equals(other.getSqlQuery())) return false; break; case 0: default: @@ -755,89 +870,95 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec parseDelimitedFrom( - java.io.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.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec + parseDelimitedFrom( + java.io.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.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -847,39 +968,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Specification that applies to database view.
      * 
* * Protobuf type {@code google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec) com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.class, com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.Builder.class); + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.class, + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.Builder.class); } - // Construct using com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.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(); @@ -891,14 +1015,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_descriptor; } @java.lang.Override - public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec getDefaultInstanceForType() { - return com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.getDefaultInstance(); + public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec + getDefaultInstanceForType() { + return com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec + .getDefaultInstance(); } @java.lang.Override @@ -912,21 +1038,26 @@ public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec build( @java.lang.Override public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec buildPartial() { - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec result = new com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec result = + new com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0(com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec result) { + private void buildPartial0( + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.viewType_ = viewType_; } } - private void buildPartialOneofs(com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec result) { + private void buildPartialOneofs( + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec result) { result.sourceDefinitionCase_ = sourceDefinitionCase_; result.sourceDefinition_ = this.sourceDefinition_; } @@ -935,65 +1066,75 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.DatabaseTableSpe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec)other); + return mergeFrom( + (com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec other) { - if (other == com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec other) { + if (other + == com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec + .getDefaultInstance()) return this; if (other.viewType_ != 0) { setViewTypeValue(other.getViewTypeValue()); } switch (other.getSourceDefinitionCase()) { - case BASE_TABLE: { - sourceDefinitionCase_ = 2; - sourceDefinition_ = other.sourceDefinition_; - onChanged(); - break; - } - case SQL_QUERY: { - sourceDefinitionCase_ = 3; - sourceDefinition_ = other.sourceDefinition_; - onChanged(); - break; - } - case SOURCEDEFINITION_NOT_SET: { - break; - } + case BASE_TABLE: + { + sourceDefinitionCase_ = 2; + sourceDefinition_ = other.sourceDefinition_; + onChanged(); + break; + } + case SQL_QUERY: + { + sourceDefinitionCase_ = 3; + sourceDefinition_ = other.sourceDefinition_; + onChanged(); + break; + } + case SOURCEDEFINITION_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1021,29 +1162,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - viewType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - sourceDefinitionCase_ = 2; - sourceDefinition_ = s; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - sourceDefinitionCase_ = 3; - sourceDefinition_ = s; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + viewType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + sourceDefinitionCase_ = 2; + sourceDefinition_ = s; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + sourceDefinitionCase_ = 3; + sourceDefinition_ = 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) { @@ -1053,12 +1198,12 @@ public Builder mergeFrom( } // finally return this; } + private int sourceDefinitionCase_ = 0; private java.lang.Object sourceDefinition_; - public SourceDefinitionCase - getSourceDefinitionCase() { - return SourceDefinitionCase.forNumber( - sourceDefinitionCase_); + + public SourceDefinitionCase getSourceDefinitionCase() { + return SourceDefinitionCase.forNumber(sourceDefinitionCase_); } public Builder clearSourceDefinition() { @@ -1072,22 +1217,33 @@ public Builder clearSourceDefinition() { private int viewType_ = 0; /** + * + * *
        * Type of this view.
        * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; + * + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; + * + * * @return The enum numeric value on the wire for viewType. */ - @java.lang.Override public int getViewTypeValue() { + @java.lang.Override + public int getViewTypeValue() { return viewType_; } /** + * + * *
        * Type of this view.
        * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; + * + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; + * + * * @param value The enum numeric value on the wire for viewType to set. * @return This builder for chaining. */ @@ -1098,28 +1254,45 @@ public Builder setViewTypeValue(int value) { return this; } /** + * + * *
        * Type of this view.
        * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; + * + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; + * + * * @return The viewType. */ @java.lang.Override - public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType getViewType() { - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType result = com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType.forNumber(viewType_); - return result == null ? com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType.UNRECOGNIZED : result; + public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType + getViewType() { + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType result = + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType.forNumber( + viewType_); + return result == null + ? com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType + .UNRECOGNIZED + : result; } /** + * + * *
        * Type of this view.
        * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; + * + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; + * + * * @param value The viewType to set. * @return This builder for chaining. */ - public Builder setViewType(com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType value) { + public Builder setViewType( + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType value) { if (value == null) { throw new NullPointerException(); } @@ -1129,11 +1302,16 @@ public Builder setViewType(com.google.cloud.datacatalog.v1.DatabaseTableSpec.Dat return this; } /** + * + * *
        * Type of this view.
        * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; + * + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1; + * + * * @return This builder for chaining. */ public Builder clearViewType() { @@ -1144,11 +1322,14 @@ public Builder clearViewType() { } /** + * + * *
        * Name of a singular table this view reflects one to one.
        * 
* * string base_table = 2; + * * @return Whether the baseTable field is set. */ @java.lang.Override @@ -1156,11 +1337,14 @@ public boolean hasBaseTable() { return sourceDefinitionCase_ == 2; } /** + * + * *
        * Name of a singular table this view reflects one to one.
        * 
* * string base_table = 2; + * * @return The baseTable. */ @java.lang.Override @@ -1170,8 +1354,7 @@ public java.lang.String getBaseTable() { ref = sourceDefinition_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (sourceDefinitionCase_ == 2) { sourceDefinition_ = s; @@ -1182,24 +1365,25 @@ public java.lang.String getBaseTable() { } } /** + * + * *
        * Name of a singular table this view reflects one to one.
        * 
* * string base_table = 2; + * * @return The bytes for baseTable. */ @java.lang.Override - public com.google.protobuf.ByteString - getBaseTableBytes() { + public com.google.protobuf.ByteString getBaseTableBytes() { java.lang.Object ref = ""; if (sourceDefinitionCase_ == 2) { ref = sourceDefinition_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (sourceDefinitionCase_ == 2) { sourceDefinition_ = b; } @@ -1209,28 +1393,35 @@ public java.lang.String getBaseTable() { } } /** + * + * *
        * Name of a singular table this view reflects one to one.
        * 
* * string base_table = 2; + * * @param value The baseTable to set. * @return This builder for chaining. */ - public Builder setBaseTable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBaseTable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sourceDefinitionCase_ = 2; sourceDefinition_ = value; onChanged(); return this; } /** + * + * *
        * Name of a singular table this view reflects one to one.
        * 
* * string base_table = 2; + * * @return This builder for chaining. */ public Builder clearBaseTable() { @@ -1242,17 +1433,21 @@ public Builder clearBaseTable() { return this; } /** + * + * *
        * Name of a singular table this view reflects one to one.
        * 
* * string base_table = 2; + * * @param value The bytes for baseTable to set. * @return This builder for chaining. */ - public Builder setBaseTableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBaseTableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sourceDefinitionCase_ = 2; sourceDefinition_ = value; @@ -1261,11 +1456,14 @@ public Builder setBaseTableBytes( } /** + * + * *
        * SQL query used to generate this view.
        * 
* * string sql_query = 3; + * * @return Whether the sqlQuery field is set. */ @java.lang.Override @@ -1273,11 +1471,14 @@ public boolean hasSqlQuery() { return sourceDefinitionCase_ == 3; } /** + * + * *
        * SQL query used to generate this view.
        * 
* * string sql_query = 3; + * * @return The sqlQuery. */ @java.lang.Override @@ -1287,8 +1488,7 @@ public java.lang.String getSqlQuery() { ref = sourceDefinition_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (sourceDefinitionCase_ == 3) { sourceDefinition_ = s; @@ -1299,24 +1499,25 @@ public java.lang.String getSqlQuery() { } } /** + * + * *
        * SQL query used to generate this view.
        * 
* * string sql_query = 3; + * * @return The bytes for sqlQuery. */ @java.lang.Override - public com.google.protobuf.ByteString - getSqlQueryBytes() { + public com.google.protobuf.ByteString getSqlQueryBytes() { java.lang.Object ref = ""; if (sourceDefinitionCase_ == 3) { ref = sourceDefinition_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (sourceDefinitionCase_ == 3) { sourceDefinition_ = b; } @@ -1326,28 +1527,35 @@ public java.lang.String getSqlQuery() { } } /** + * + * *
        * SQL query used to generate this view.
        * 
* * string sql_query = 3; + * * @param value The sqlQuery to set. * @return This builder for chaining. */ - public Builder setSqlQuery( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSqlQuery(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sourceDefinitionCase_ = 3; sourceDefinition_ = value; onChanged(); return this; } /** + * + * *
        * SQL query used to generate this view.
        * 
* * string sql_query = 3; + * * @return This builder for chaining. */ public Builder clearSqlQuery() { @@ -1359,23 +1567,28 @@ public Builder clearSqlQuery() { return this; } /** + * + * *
        * SQL query used to generate this view.
        * 
* * string sql_query = 3; + * * @param value The bytes for sqlQuery to set. * @return This builder for chaining. */ - public Builder setSqlQueryBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSqlQueryBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sourceDefinitionCase_ = 3; sourceDefinition_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1388,41 +1601,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec) - private static final com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec DEFAULT_INSTANCE; + private static final com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec(); } - public static com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec getDefaultInstance() { + public static com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DatabaseViewSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DatabaseViewSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1434,47 +1650,63 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int TYPE_FIELD_NUMBER = 1; private int type_ = 0; /** + * + * *
    * Type of this table.
    * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Type of this table.
    * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1; + * * @return The type. */ - @java.lang.Override public com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType getType() { - com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType result = com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType.forNumber(type_); - return result == null ? com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType getType() { + com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType result = + com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType.forNumber(type_); + return result == null + ? com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType.UNRECOGNIZED + : result; } public static final int DATAPLEX_TABLE_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1.DataplexTableSpec dataplexTable_; /** + * + * *
    * Output only. Fields specific to a Dataplex table and present only in the
    * Dataplex table entries.
    * 
* - * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dataplexTable field is set. */ @java.lang.Override @@ -1482,40 +1714,57 @@ public boolean hasDataplexTable() { return dataplexTable_ != null; } /** + * + * *
    * Output only. Fields specific to a Dataplex table and present only in the
    * Dataplex table entries.
    * 
* - * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dataplexTable. */ @java.lang.Override public com.google.cloud.datacatalog.v1.DataplexTableSpec getDataplexTable() { - return dataplexTable_ == null ? com.google.cloud.datacatalog.v1.DataplexTableSpec.getDefaultInstance() : dataplexTable_; + return dataplexTable_ == null + ? com.google.cloud.datacatalog.v1.DataplexTableSpec.getDefaultInstance() + : dataplexTable_; } /** + * + * *
    * Output only. Fields specific to a Dataplex table and present only in the
    * Dataplex table entries.
    * 
* - * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1.DataplexTableSpecOrBuilder getDataplexTableOrBuilder() { - return dataplexTable_ == null ? com.google.cloud.datacatalog.v1.DataplexTableSpec.getDefaultInstance() : dataplexTable_; + return dataplexTable_ == null + ? com.google.cloud.datacatalog.v1.DataplexTableSpec.getDefaultInstance() + : dataplexTable_; } public static final int DATABASE_VIEW_SPEC_FIELD_NUMBER = 3; private com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec databaseViewSpec_; /** + * + * *
    * Spec what aplies to tables that are actually views.
    * Not set for "real" tables.
    * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; + * + * * @return Whether the databaseViewSpec field is set. */ @java.lang.Override @@ -1523,32 +1772,45 @@ public boolean hasDatabaseViewSpec() { return databaseViewSpec_ != null; } /** + * + * *
    * Spec what aplies to tables that are actually views.
    * Not set for "real" tables.
    * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; + * + * * @return The databaseViewSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec getDatabaseViewSpec() { - return databaseViewSpec_ == null ? com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.getDefaultInstance() : databaseViewSpec_; + return databaseViewSpec_ == null + ? com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.getDefaultInstance() + : databaseViewSpec_; } /** + * + * *
    * Spec what aplies to tables that are actually views.
    * Not set for "real" tables.
    * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpecOrBuilder getDatabaseViewSpecOrBuilder() { - return databaseViewSpec_ == null ? com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.getDefaultInstance() : databaseViewSpec_; + public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpecOrBuilder + getDatabaseViewSpecOrBuilder() { + return databaseViewSpec_ == null + ? com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.getDefaultInstance() + : databaseViewSpec_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1560,9 +1822,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (type_ != com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType.TABLE_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (type_ + != com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType.TABLE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, type_); } if (dataplexTable_ != null) { @@ -1580,17 +1843,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ != com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType.TABLE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + if (type_ + != com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType.TABLE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } if (dataplexTable_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getDataplexTable()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDataplexTable()); } if (databaseViewSpec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getDatabaseViewSpec()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDatabaseViewSpec()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1600,23 +1862,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.datacatalog.v1.DatabaseTableSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.DatabaseTableSpec other = (com.google.cloud.datacatalog.v1.DatabaseTableSpec) obj; + com.google.cloud.datacatalog.v1.DatabaseTableSpec other = + (com.google.cloud.datacatalog.v1.DatabaseTableSpec) obj; if (type_ != other.type_) return false; if (hasDataplexTable() != other.hasDataplexTable()) return false; if (hasDataplexTable()) { - if (!getDataplexTable() - .equals(other.getDataplexTable())) return false; + if (!getDataplexTable().equals(other.getDataplexTable())) return false; } if (hasDatabaseViewSpec() != other.hasDatabaseViewSpec()) return false; if (hasDatabaseViewSpec()) { - if (!getDatabaseViewSpec() - .equals(other.getDatabaseViewSpec())) return false; + if (!getDatabaseViewSpec().equals(other.getDatabaseViewSpec())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1645,98 +1906,103 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.DatabaseTableSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DatabaseTableSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DatabaseTableSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DatabaseTableSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DatabaseTableSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DatabaseTableSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DatabaseTableSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.DatabaseTableSpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.DatabaseTableSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DatabaseTableSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DatabaseTableSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.DatabaseTableSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DatabaseTableSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.DatabaseTableSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.DatabaseTableSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Specification that applies to a table resource. Valid only
    * for entries with the `TABLE` type.
@@ -1744,33 +2010,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.DatabaseTableSpec}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.DatabaseTableSpec)
       com.google.cloud.datacatalog.v1.DatabaseTableSpecOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.DatabaseTableSpec.class, com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder.class);
+              com.google.cloud.datacatalog.v1.DatabaseTableSpec.class,
+              com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.DatabaseTableSpec.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1790,9 +2055,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_descriptor;
     }
 
     @java.lang.Override
@@ -1811,8 +2076,11 @@ public com.google.cloud.datacatalog.v1.DatabaseTableSpec build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.DatabaseTableSpec buildPartial() {
-      com.google.cloud.datacatalog.v1.DatabaseTableSpec result = new com.google.cloud.datacatalog.v1.DatabaseTableSpec(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.DatabaseTableSpec result =
+          new com.google.cloud.datacatalog.v1.DatabaseTableSpec(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -1823,14 +2091,12 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DatabaseTableSpec res
         result.type_ = type_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.dataplexTable_ = dataplexTableBuilder_ == null
-            ? dataplexTable_
-            : dataplexTableBuilder_.build();
+        result.dataplexTable_ =
+            dataplexTableBuilder_ == null ? dataplexTable_ : dataplexTableBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.databaseViewSpec_ = databaseViewSpecBuilder_ == null
-            ? databaseViewSpec_
-            : databaseViewSpecBuilder_.build();
+        result.databaseViewSpec_ =
+            databaseViewSpecBuilder_ == null ? databaseViewSpec_ : databaseViewSpecBuilder_.build();
       }
     }
 
@@ -1838,38 +2104,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DatabaseTableSpec 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.datacatalog.v1.DatabaseTableSpec) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.DatabaseTableSpec)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.DatabaseTableSpec) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1877,7 +2144,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.DatabaseTableSpec other) {
-      if (other == com.google.cloud.datacatalog.v1.DatabaseTableSpec.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.DatabaseTableSpec.getDefaultInstance())
+        return this;
       if (other.type_ != 0) {
         setTypeValue(other.getTypeValue());
       }
@@ -1913,31 +2181,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              type_ = input.readEnum();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 18: {
-              input.readMessage(
-                  getDataplexTableFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getDatabaseViewSpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                type_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 18:
+              {
+                input.readMessage(getDataplexTableFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(
+                    getDatabaseViewSpecFieldBuilder().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) {
@@ -1947,26 +2216,34 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private int type_ = 0;
     /**
+     *
+     *
      * 
      * Type of this table.
      * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Type of this table.
      * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -1977,24 +2254,33 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * Type of this table.
      * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1; + * * @return The type. */ @java.lang.Override public com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType getType() { - com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType result = com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType.forNumber(type_); - return result == null ? com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType.UNRECOGNIZED : result; + com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType result = + com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType.forNumber(type_); + return result == null + ? com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType.UNRECOGNIZED + : result; } /** + * + * *
      * Type of this table.
      * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1; + * * @param value The type to set. * @return This builder for chaining. */ @@ -2008,11 +2294,14 @@ public Builder setType(com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableTy return this; } /** + * + * *
      * Type of this table.
      * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1; + * * @return This builder for chaining. */ public Builder clearType() { @@ -2024,42 +2313,61 @@ public Builder clearType() { private com.google.cloud.datacatalog.v1.DataplexTableSpec dataplexTable_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.DataplexTableSpec, com.google.cloud.datacatalog.v1.DataplexTableSpec.Builder, com.google.cloud.datacatalog.v1.DataplexTableSpecOrBuilder> dataplexTableBuilder_; + com.google.cloud.datacatalog.v1.DataplexTableSpec, + com.google.cloud.datacatalog.v1.DataplexTableSpec.Builder, + com.google.cloud.datacatalog.v1.DataplexTableSpecOrBuilder> + dataplexTableBuilder_; /** + * + * *
      * Output only. Fields specific to a Dataplex table and present only in the
      * Dataplex table entries.
      * 
* - * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dataplexTable field is set. */ public boolean hasDataplexTable() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. Fields specific to a Dataplex table and present only in the
      * Dataplex table entries.
      * 
* - * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dataplexTable. */ public com.google.cloud.datacatalog.v1.DataplexTableSpec getDataplexTable() { if (dataplexTableBuilder_ == null) { - return dataplexTable_ == null ? com.google.cloud.datacatalog.v1.DataplexTableSpec.getDefaultInstance() : dataplexTable_; + return dataplexTable_ == null + ? com.google.cloud.datacatalog.v1.DataplexTableSpec.getDefaultInstance() + : dataplexTable_; } else { return dataplexTableBuilder_.getMessage(); } } /** + * + * *
      * Output only. Fields specific to a Dataplex table and present only in the
      * Dataplex table entries.
      * 
* - * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDataplexTable(com.google.cloud.datacatalog.v1.DataplexTableSpec value) { if (dataplexTableBuilder_ == null) { @@ -2075,12 +2383,16 @@ public Builder setDataplexTable(com.google.cloud.datacatalog.v1.DataplexTableSpe return this; } /** + * + * *
      * Output only. Fields specific to a Dataplex table and present only in the
      * Dataplex table entries.
      * 
* - * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDataplexTable( com.google.cloud.datacatalog.v1.DataplexTableSpec.Builder builderForValue) { @@ -2094,18 +2406,23 @@ public Builder setDataplexTable( return this; } /** + * + * *
      * Output only. Fields specific to a Dataplex table and present only in the
      * Dataplex table entries.
      * 
* - * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDataplexTable(com.google.cloud.datacatalog.v1.DataplexTableSpec value) { if (dataplexTableBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - dataplexTable_ != null && - dataplexTable_ != com.google.cloud.datacatalog.v1.DataplexTableSpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && dataplexTable_ != null + && dataplexTable_ + != com.google.cloud.datacatalog.v1.DataplexTableSpec.getDefaultInstance()) { getDataplexTableBuilder().mergeFrom(value); } else { dataplexTable_ = value; @@ -2118,12 +2435,16 @@ public Builder mergeDataplexTable(com.google.cloud.datacatalog.v1.DataplexTableS return this; } /** + * + * *
      * Output only. Fields specific to a Dataplex table and present only in the
      * Dataplex table entries.
      * 
* - * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDataplexTable() { bitField0_ = (bitField0_ & ~0x00000002); @@ -2136,12 +2457,16 @@ public Builder clearDataplexTable() { return this; } /** + * + * *
      * Output only. Fields specific to a Dataplex table and present only in the
      * Dataplex table entries.
      * 
* - * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.datacatalog.v1.DataplexTableSpec.Builder getDataplexTableBuilder() { bitField0_ |= 0x00000002; @@ -2149,38 +2474,50 @@ public com.google.cloud.datacatalog.v1.DataplexTableSpec.Builder getDataplexTabl return getDataplexTableFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Fields specific to a Dataplex table and present only in the
      * Dataplex table entries.
      * 
* - * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.datacatalog.v1.DataplexTableSpecOrBuilder getDataplexTableOrBuilder() { if (dataplexTableBuilder_ != null) { return dataplexTableBuilder_.getMessageOrBuilder(); } else { - return dataplexTable_ == null ? - com.google.cloud.datacatalog.v1.DataplexTableSpec.getDefaultInstance() : dataplexTable_; + return dataplexTable_ == null + ? com.google.cloud.datacatalog.v1.DataplexTableSpec.getDefaultInstance() + : dataplexTable_; } } /** + * + * *
      * Output only. Fields specific to a Dataplex table and present only in the
      * Dataplex table entries.
      * 
* - * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.DataplexTableSpec, com.google.cloud.datacatalog.v1.DataplexTableSpec.Builder, com.google.cloud.datacatalog.v1.DataplexTableSpecOrBuilder> + com.google.cloud.datacatalog.v1.DataplexTableSpec, + com.google.cloud.datacatalog.v1.DataplexTableSpec.Builder, + com.google.cloud.datacatalog.v1.DataplexTableSpecOrBuilder> getDataplexTableFieldBuilder() { if (dataplexTableBuilder_ == null) { - dataplexTableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.DataplexTableSpec, com.google.cloud.datacatalog.v1.DataplexTableSpec.Builder, com.google.cloud.datacatalog.v1.DataplexTableSpecOrBuilder>( - getDataplexTable(), - getParentForChildren(), - isClean()); + dataplexTableBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.DataplexTableSpec, + com.google.cloud.datacatalog.v1.DataplexTableSpec.Builder, + com.google.cloud.datacatalog.v1.DataplexTableSpecOrBuilder>( + getDataplexTable(), getParentForChildren(), isClean()); dataplexTable_ = null; } return dataplexTableBuilder_; @@ -2188,44 +2525,63 @@ public com.google.cloud.datacatalog.v1.DataplexTableSpecOrBuilder getDataplexTab private com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec databaseViewSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec, com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.Builder, com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpecOrBuilder> databaseViewSpecBuilder_; + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec, + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.Builder, + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpecOrBuilder> + databaseViewSpecBuilder_; /** + * + * *
      * Spec what aplies to tables that are actually views.
      * Not set for "real" tables.
      * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; + * + * * @return Whether the databaseViewSpec field is set. */ public boolean hasDatabaseViewSpec() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Spec what aplies to tables that are actually views.
      * Not set for "real" tables.
      * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; + * + * * @return The databaseViewSpec. */ - public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec getDatabaseViewSpec() { + public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec + getDatabaseViewSpec() { if (databaseViewSpecBuilder_ == null) { - return databaseViewSpec_ == null ? com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.getDefaultInstance() : databaseViewSpec_; + return databaseViewSpec_ == null + ? com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec + .getDefaultInstance() + : databaseViewSpec_; } else { return databaseViewSpecBuilder_.getMessage(); } } /** + * + * *
      * Spec what aplies to tables that are actually views.
      * Not set for "real" tables.
      * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; + * */ - public Builder setDatabaseViewSpec(com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec value) { + public Builder setDatabaseViewSpec( + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec value) { if (databaseViewSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2239,15 +2595,19 @@ public Builder setDatabaseViewSpec(com.google.cloud.datacatalog.v1.DatabaseTable return this; } /** + * + * *
      * Spec what aplies to tables that are actually views.
      * Not set for "real" tables.
      * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; + * */ public Builder setDatabaseViewSpec( - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.Builder builderForValue) { + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.Builder + builderForValue) { if (databaseViewSpecBuilder_ == null) { databaseViewSpec_ = builderForValue.build(); } else { @@ -2258,18 +2618,24 @@ public Builder setDatabaseViewSpec( return this; } /** + * + * *
      * Spec what aplies to tables that are actually views.
      * Not set for "real" tables.
      * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; + * */ - public Builder mergeDatabaseViewSpec(com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec value) { + public Builder mergeDatabaseViewSpec( + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec value) { if (databaseViewSpecBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - databaseViewSpec_ != null && - databaseViewSpec_ != com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && databaseViewSpec_ != null + && databaseViewSpec_ + != com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec + .getDefaultInstance()) { getDatabaseViewSpecBuilder().mergeFrom(value); } else { databaseViewSpec_ = value; @@ -2282,12 +2648,15 @@ public Builder mergeDatabaseViewSpec(com.google.cloud.datacatalog.v1.DatabaseTab return this; } /** + * + * *
      * Spec what aplies to tables that are actually views.
      * Not set for "real" tables.
      * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; + * */ public Builder clearDatabaseViewSpec() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2300,58 +2669,74 @@ public Builder clearDatabaseViewSpec() { return this; } /** + * + * *
      * Spec what aplies to tables that are actually views.
      * Not set for "real" tables.
      * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; + * */ - public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.Builder getDatabaseViewSpecBuilder() { + public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.Builder + getDatabaseViewSpecBuilder() { bitField0_ |= 0x00000004; onChanged(); return getDatabaseViewSpecFieldBuilder().getBuilder(); } /** + * + * *
      * Spec what aplies to tables that are actually views.
      * Not set for "real" tables.
      * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; + * */ - public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpecOrBuilder getDatabaseViewSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpecOrBuilder + getDatabaseViewSpecOrBuilder() { if (databaseViewSpecBuilder_ != null) { return databaseViewSpecBuilder_.getMessageOrBuilder(); } else { - return databaseViewSpec_ == null ? - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.getDefaultInstance() : databaseViewSpec_; + return databaseViewSpec_ == null + ? com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec + .getDefaultInstance() + : databaseViewSpec_; } } /** + * + * *
      * Spec what aplies to tables that are actually views.
      * Not set for "real" tables.
      * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec, com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.Builder, com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpecOrBuilder> + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec, + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.Builder, + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpecOrBuilder> getDatabaseViewSpecFieldBuilder() { if (databaseViewSpecBuilder_ == null) { - databaseViewSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec, com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.Builder, com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpecOrBuilder>( - getDatabaseViewSpec(), - getParentForChildren(), - isClean()); + databaseViewSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec, + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.Builder, + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpecOrBuilder>( + getDatabaseViewSpec(), getParentForChildren(), isClean()); databaseViewSpec_ = null; } return databaseViewSpecBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2361,12 +2746,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.DatabaseTableSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DatabaseTableSpec) private static final com.google.cloud.datacatalog.v1.DatabaseTableSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DatabaseTableSpec(); } @@ -2375,27 +2760,27 @@ public static com.google.cloud.datacatalog.v1.DatabaseTableSpec getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DatabaseTableSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DatabaseTableSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2410,6 +2795,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.DatabaseTableSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpecOrBuilder.java similarity index 63% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpecOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpecOrBuilder.java index 86c8f233c95d..37b719521c3e 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpecOrBuilder.java @@ -1,88 +1,136 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface DatabaseTableSpecOrBuilder extends +public interface DatabaseTableSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DatabaseTableSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Type of this table.
    * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Type of this table.
    * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1; + * * @return The type. */ com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType getType(); /** + * + * *
    * Output only. Fields specific to a Dataplex table and present only in the
    * Dataplex table entries.
    * 
* - * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dataplexTable field is set. */ boolean hasDataplexTable(); /** + * + * *
    * Output only. Fields specific to a Dataplex table and present only in the
    * Dataplex table entries.
    * 
* - * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dataplexTable. */ com.google.cloud.datacatalog.v1.DataplexTableSpec getDataplexTable(); /** + * + * *
    * Output only. Fields specific to a Dataplex table and present only in the
    * Dataplex table entries.
    * 
* - * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.datacatalog.v1.DataplexTableSpecOrBuilder getDataplexTableOrBuilder(); /** + * + * *
    * Spec what aplies to tables that are actually views.
    * Not set for "real" tables.
    * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; + * + * * @return Whether the databaseViewSpec field is set. */ boolean hasDatabaseViewSpec(); /** + * + * *
    * Spec what aplies to tables that are actually views.
    * Not set for "real" tables.
    * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; + * + * * @return The databaseViewSpec. */ com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec getDatabaseViewSpec(); /** + * + * *
    * Spec what aplies to tables that are actually views.
    * Not set for "real" tables.
    * 
* - * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; + * .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; + * */ - com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpecOrBuilder getDatabaseViewSpecOrBuilder(); + com.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpecOrBuilder + getDatabaseViewSpecOrBuilder(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Datacatalog.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Datacatalog.java new file mode 100644 index 000000000000..e9abf2e87e5a --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Datacatalog.java @@ -0,0 +1,1403 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/datacatalog.proto + +package com.google.cloud.datacatalog.v1; + +public final class Datacatalog { + private Datacatalog() {} + + 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_datacatalog_v1_SearchCatalogRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_GetEntryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_GetEntryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_Entry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_Entry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_Entry_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_Entry_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_FilesetSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_FilesetSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_RoutineSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ServiceSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ServiceSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_BusinessContext_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_BusinessContext_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_EntryOverview_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_EntryOverview_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_Contacts_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_Contacts_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_Contacts_Person_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_Contacts_Person_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_EntryGroup_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_EntryGroup_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_CreateTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_CreateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ListTagsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ListTagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ListTagsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ListTagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_ErrorsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_ErrorsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_StarEntryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_StarEntryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_StarEntryResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_StarEntryResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_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/datacatalog/v1/datacatalo" + + "g.proto\022\033google.cloud.datacatalog.v1\032\034go" + + "ogle/api/annotations.proto\032\027google/api/c" + + "lient.proto\032\037google/api/field_behavior.p" + + "roto\032\031google/api/resource.proto\032*google/" + + "cloud/datacatalog/v1/bigquery.proto\032(goo" + + "gle/cloud/datacatalog/v1/common.proto\032-g" + + "oogle/cloud/datacatalog/v1/data_source.p" + + "roto\032/google/cloud/datacatalog/v1/datapl" + + "ex_spec.proto\0322google/cloud/datacatalog/" + + "v1/gcs_fileset_spec.proto\032(google/cloud/" + + "datacatalog/v1/schema.proto\032(google/clou" + + "d/datacatalog/v1/search.proto\032,google/cl" + + "oud/datacatalog/v1/table_spec.proto\032&goo" + + "gle/cloud/datacatalog/v1/tags.proto\032,goo" + + "gle/cloud/datacatalog/v1/timestamps.prot" + + "o\032\'google/cloud/datacatalog/v1/usage.pro" + + "to\032\036google/iam/v1/iam_policy.proto\032\032goog" + + "le/iam/v1/policy.proto\032#google/longrunni" + + "ng/operations.proto\032\033google/protobuf/emp" + + "ty.proto\032 google/protobuf/field_mask.pro" + + "to\032\027google/rpc/status.proto\"\213\003\n\024SearchCa" + + "talogRequest\022L\n\005scope\030\006 \001(\01327.google.clo" + + "ud.datacatalog.v1.SearchCatalogRequest.S" + + "copeB\004\342A\001\002\022\023\n\005query\030\001 \001(\tB\004\342A\001\001\022\021\n\tpage_" + + "size\030\002 \001(\005\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\020\n\010" + + "order_by\030\005 \001(\t\032\320\001\n\005Scope\022\027\n\017include_org_" + + "ids\030\002 \003(\t\022\033\n\023include_project_ids\030\003 \003(\t\022#" + + "\n\033include_gcp_public_datasets\030\007 \001(\010\022\"\n\024r" + + "estricted_locations\030\020 \003(\tB\004\342A\001\001\022\032\n\014starr" + + "ed_only\030\022 \001(\010B\004\342A\001\001\022,\n\034include_public_ta" + + "g_templates\030\023 \001(\010B\006\030\001\342A\001\001\"\234\001\n\025SearchCata" + + "logResponse\022A\n\007results\030\001 \003(\01320.google.cl" + + "oud.datacatalog.v1.SearchCatalogResult\022\022" + + "\n\ntotal_size\030\002 \001(\005\022\027\n\017next_page_token\030\003 " + + "\001(\t\022\023\n\013unreachable\030\006 \003(\t\"\265\001\n\027CreateEntry" + + "GroupRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\022%d" + + "atacatalog.googleapis.com/EntryGroup\022\034\n\016" + + "entry_group_id\030\003 \001(\tB\004\342A\001\002\022<\n\013entry_grou" + + "p\030\002 \001(\0132\'.google.cloud.datacatalog.v1.En" + + "tryGroup\"\216\001\n\027UpdateEntryGroupRequest\022B\n\013" + + "entry_group\030\001 \001(\0132\'.google.cloud.datacat" + + "alog.v1.EntryGroupB\004\342A\001\002\022/\n\013update_mask\030" + + "\002 \001(\0132\032.google.protobuf.FieldMask\"\203\001\n\024Ge" + + "tEntryGroupRequest\022<\n\004name\030\001 \001(\tB.\342A\001\002\372A" + + "\'\n%datacatalog.googleapis.com/EntryGroup" + + "\022-\n\tread_mask\030\002 \001(\0132\032.google.protobuf.Fi" + + "eldMask\"l\n\027DeleteEntryGroupRequest\022<\n\004na" + + "me\030\001 \001(\tB.\342A\001\002\372A\'\n%datacatalog.googleapi" + + "s.com/EntryGroup\022\023\n\005force\030\002 \001(\010B\004\342A\001\001\"\213\001" + + "\n\026ListEntryGroupsRequest\022>\n\006parent\030\001 \001(\t" + + "B.\342A\001\002\372A\'\022%datacatalog.googleapis.com/En" + + "tryGroup\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\"q\n\027ListEntryGroupsRe" + + "sponse\022=\n\014entry_groups\030\001 \003(\0132\'.google.cl" + + "oud.datacatalog.v1.EntryGroup\022\027\n\017next_pa" + + "ge_token\030\002 \001(\t\"\245\001\n\022CreateEntryRequest\022>\n" + + "\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n%datacatalog.goog" + + "leapis.com/EntryGroup\022\026\n\010entry_id\030\003 \001(\tB" + + "\004\342A\001\002\0227\n\005entry\030\002 \001(\0132\".google.cloud.data" + + "catalog.v1.EntryB\004\342A\001\002\"~\n\022UpdateEntryReq" + + "uest\0227\n\005entry\030\001 \001(\0132\".google.cloud.datac" + + "atalog.v1.EntryB\004\342A\001\002\022/\n\013update_mask\030\002 \001" + + "(\0132\032.google.protobuf.FieldMask\"M\n\022Delete" + + "EntryRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n dat" + + "acatalog.googleapis.com/Entry\"J\n\017GetEntr" + + "yRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n datacat" + + "alog.googleapis.com/Entry\"\231\001\n\022LookupEntr" + + "yRequest\022\031\n\017linked_resource\030\001 \001(\tH\000\022\026\n\014s" + + "ql_resource\030\003 \001(\tH\000\022\036\n\024fully_qualified_n" + + "ame\030\005 \001(\tH\000\022\017\n\007project\030\006 \001(\t\022\020\n\010location" + + "\030\007 \001(\tB\r\n\013target_name\"\252\017\n\005Entry\022<\n\004name\030" + + "\001 \001(\tB.\342A\001\003\372A\'\n%datacatalog.googleapis.c" + + "om/EntryGroup\022\027\n\017linked_resource\030\t \001(\t\022\034" + + "\n\024fully_qualified_name\030\035 \001(\t\0226\n\004type\030\002 \001" + + "(\0162&.google.cloud.datacatalog.v1.EntryTy" + + "peH\000\022\035\n\023user_specified_type\030\020 \001(\tH\000\022P\n\021i" + + "ntegrated_system\030\021 \001(\0162-.google.cloud.da" + + "tacatalog.v1.IntegratedSystemB\004\342A\001\003H\001\022\037\n" + + "\025user_specified_system\030\022 \001(\tH\001\022V\n\030sql_da" + + "tabase_system_spec\030\' \001(\01322.google.cloud." + + "datacatalog.v1.SqlDatabaseSystemSpecH\002\022K" + + "\n\022looker_system_spec\030( \001(\0132-.google.clou" + + "d.datacatalog.v1.LookerSystemSpecH\002\022Z\n\032c" + + "loud_bigtable_system_spec\030) \001(\01324.google" + + ".cloud.datacatalog.v1.CloudBigtableSyste" + + "mSpecH\002\022G\n\020gcs_fileset_spec\030\006 \001(\0132+.goog" + + "le.cloud.datacatalog.v1.GcsFilesetSpecH\003" + + "\022S\n\023bigquery_table_spec\030\014 \001(\0132..google.c" + + "loud.datacatalog.v1.BigQueryTableSpecB\004\342" + + "A\001\003H\003\022`\n\032bigquery_date_sharded_spec\030\017 \001(" + + "\01324.google.cloud.datacatalog.v1.BigQuery" + + "DateShardedSpecB\004\342A\001\003H\003\022M\n\023database_tabl" + + "e_spec\030\030 \001(\0132..google.cloud.datacatalog." + + "v1.DatabaseTableSpecH\004\022\\\n\033data_source_co" + + "nnection_spec\030\033 \001(\01325.google.cloud.datac" + + "atalog.v1.DataSourceConnectionSpecH\004\022@\n\014" + + "routine_spec\030\034 \001(\0132(.google.cloud.dataca" + + "talog.v1.RoutineSpecH\004\022@\n\014fileset_spec\030!" + + " \001(\0132(.google.cloud.datacatalog.v1.Files" + + "etSpecH\004\022@\n\014service_spec\030* \001(\0132(.google." + + "cloud.datacatalog.v1.ServiceSpecH\004\022\024\n\014di" + + "splay_name\030\003 \001(\t\022\023\n\013description\030\004 \001(\t\022F\n" + + "\020business_context\030% \001(\0132,.google.cloud.d" + + "atacatalog.v1.BusinessContext\0223\n\006schema\030" + + "\005 \001(\0132#.google.cloud.datacatalog.v1.Sche" + + "ma\022O\n\030source_system_timestamps\030\007 \001(\0132-.g" + + "oogle.cloud.datacatalog.v1.SystemTimesta" + + "mps\022>\n\014usage_signal\030\r \001(\0132(.google.cloud" + + ".datacatalog.v1.UsageSignal\022>\n\006labels\030\016 " + + "\003(\0132..google.cloud.datacatalog.v1.Entry." + + "LabelsEntry\022B\n\013data_source\030\024 \001(\0132\'.googl" + + "e.cloud.datacatalog.v1.DataSourceB\004\342A\001\003\022" + + "L\n\020personal_details\030\032 \001(\0132,.google.cloud" + + ".datacatalog.v1.PersonalDetailsB\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:x\352Au\n datacatalog.googleapis.com/En" + + "try\022Qprojects/{project}/locations/{locat" + + "ion}/entryGroups/{entry_group}/entries/{" + + "entry}B\014\n\nentry_typeB\010\n\006systemB\r\n\013system" + + "_specB\013\n\ttype_specB\006\n\004spec\"\314\004\n\021DatabaseT" + + "ableSpec\022F\n\004type\030\001 \001(\01628.google.cloud.da" + + "tacatalog.v1.DatabaseTableSpec.TableType" + + "\022L\n\016dataplex_table\030\002 \001(\0132..google.cloud." + + "datacatalog.v1.DataplexTableSpecB\004\342A\001\003\022[" + + "\n\022database_view_spec\030\003 \001(\0132?.google.clou" + + "d.datacatalog.v1.DatabaseTableSpec.Datab" + + "aseViewSpec\032\200\002\n\020DatabaseViewSpec\022[\n\tview" + + "_type\030\001 \001(\0162H.google.cloud.datacatalog.v" + + "1.DatabaseTableSpec.DatabaseViewSpec.Vie" + + "wType\022\024\n\nbase_table\030\002 \001(\tH\000\022\023\n\tsql_query" + + "\030\003 \001(\tH\000\"O\n\010ViewType\022\031\n\025VIEW_TYPE_UNSPEC" + + "IFIED\020\000\022\021\n\rSTANDARD_VIEW\020\001\022\025\n\021MATERIALIZ" + + "ED_VIEW\020\002B\023\n\021source_definition\"A\n\tTableT" + + "ype\022\032\n\026TABLE_TYPE_UNSPECIFIED\020\000\022\n\n\006NATIV" + + "E\020\001\022\014\n\010EXTERNAL\020\002\"Y\n\013FilesetSpec\022J\n\020data" + + "plex_fileset\030\001 \001(\01320.google.cloud.dataca" + + "talog.v1.DataplexFilesetSpec\"q\n\030DataSour" + + "ceConnectionSpec\022U\n\030bigquery_connection_" + + "spec\030\001 \001(\01323.google.cloud.datacatalog.v1" + + ".BigQueryConnectionSpec\"\303\004\n\013RoutineSpec\022" + + "J\n\014routine_type\030\001 \001(\01624.google.cloud.dat" + + "acatalog.v1.RoutineSpec.RoutineType\022\020\n\010l" + + "anguage\030\002 \001(\t\022L\n\021routine_arguments\030\003 \003(\013" + + "21.google.cloud.datacatalog.v1.RoutineSp" + + "ec.Argument\022\023\n\013return_type\030\004 \001(\t\022\027\n\017defi" + + "nition_body\030\005 \001(\t\022Q\n\025bigquery_routine_sp" + + "ec\030\006 \001(\01320.google.cloud.datacatalog.v1.B" + + "igQueryRoutineSpecH\000\032\246\001\n\010Argument\022\014\n\004nam" + + "e\030\001 \001(\t\022D\n\004mode\030\002 \001(\01626.google.cloud.dat" + + "acatalog.v1.RoutineSpec.Argument.Mode\022\014\n" + + "\004type\030\003 \001(\t\"8\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020" + + "\000\022\006\n\002IN\020\001\022\007\n\003OUT\020\002\022\t\n\005INOUT\020\003\"O\n\013Routine" + + "Type\022\034\n\030ROUTINE_TYPE_UNSPECIFIED\020\000\022\023\n\017SC" + + "ALAR_FUNCTION\020\001\022\r\n\tPROCEDURE\020\002B\r\n\013system" + + "_spec\"\\\n\025SqlDatabaseSystemSpec\022\022\n\nsql_en" + + "gine\030\001 \001(\t\022\030\n\020database_version\030\002 \001(\t\022\025\n\r" + + "instance_host\030\003 \001(\t\"\312\001\n\020LookerSystemSpec" + + "\022\032\n\022parent_instance_id\030\001 \001(\t\022$\n\034parent_i" + + "nstance_display_name\030\002 \001(\t\022\027\n\017parent_mod" + + "el_id\030\003 \001(\t\022!\n\031parent_model_display_name" + + "\030\004 \001(\t\022\026\n\016parent_view_id\030\005 \001(\t\022 \n\030parent" + + "_view_display_name\030\006 \001(\t\"8\n\027CloudBigtabl" + + "eSystemSpec\022\035\n\025instance_display_name\030\001 \001" + + "(\t\"\375\001\n\031CloudBigtableInstanceSpec\022u\n\034clou" + + "d_bigtable_cluster_specs\030\001 \003(\0132O.google." + + "cloud.datacatalog.v1.CloudBigtableInstan" + + "ceSpec.CloudBigtableClusterSpec\032i\n\030Cloud" + + "BigtableClusterSpec\022\024\n\014display_name\030\001 \001(" + + "\t\022\020\n\010location\030\002 \001(\t\022\014\n\004type\030\003 \001(\t\022\027\n\017lin" + + "ked_resource\030\004 \001(\t\"|\n\013ServiceSpec\022^\n\034clo" + + "ud_bigtable_instance_spec\030\001 \001(\01326.google" + + ".cloud.datacatalog.v1.CloudBigtableInsta" + + "nceSpecH\000B\r\n\013system_spec\"\216\001\n\017BusinessCon" + + "text\022B\n\016entry_overview\030\001 \001(\0132*.google.cl" + + "oud.datacatalog.v1.EntryOverview\0227\n\010cont" + + "acts\030\002 \001(\0132%.google.cloud.datacatalog.v1" + + ".Contacts\"!\n\rEntryOverview\022\020\n\010overview\030\001" + + " \001(\t\"v\n\010Contacts\022<\n\006people\030\001 \003(\0132,.googl" + + "e.cloud.datacatalog.v1.Contacts.Person\032," + + "\n\006Person\022\023\n\013designation\030\001 \001(\t\022\r\n\005email\030\002" + + " \001(\t\"\212\002\n\nEntryGroup\022\014\n\004name\030\001 \001(\t\022\024\n\014dis" + + "play_name\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022T\n\027" + + "data_catalog_timestamps\030\004 \001(\0132-.google.c" + + "loud.datacatalog.v1.SystemTimestampsB\004\342A" + + "\001\003:m\352Aj\n%datacatalog.googleapis.com/Entr" + + "yGroup\022Aprojects/{project}/locations/{lo" + + "cation}/entryGroups/{entry_group}\"\300\001\n\030Cr" + + "eateTagTemplateRequest\022?\n\006parent\030\001 \001(\tB/" + + "\342A\001\002\372A(\022&datacatalog.googleapis.com/TagT" + + "emplate\022\035\n\017tag_template_id\030\003 \001(\tB\004\342A\001\002\022D" + + "\n\014tag_template\030\002 \001(\0132(.google.cloud.data" + + "catalog.v1.TagTemplateB\004\342A\001\002\"V\n\025GetTagTe" + + "mplateRequest\022=\n\004name\030\001 \001(\tB/\342A\001\002\372A(\n&da" + + "tacatalog.googleapis.com/TagTemplate\"\221\001\n" + + "\030UpdateTagTemplateRequest\022D\n\014tag_templat" + + "e\030\001 \001(\0132(.google.cloud.datacatalog.v1.Ta" + + "gTemplateB\004\342A\001\002\022/\n\013update_mask\030\002 \001(\0132\032.g" + + "oogle.protobuf.FieldMask\"n\n\030DeleteTagTem" + + "plateRequest\022=\n\004name\030\001 \001(\tB/\342A\001\002\372A(\n&dat" + + "acatalog.googleapis.com/TagTemplate\022\023\n\005f" + + "orce\030\002 \001(\010B\004\342A\001\002\"\200\001\n\020CreateTagRequest\0227\n" + + "\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036datacatalog.goog" + + "leapis.com/Tag\0223\n\003tag\030\002 \001(\0132 .google.clo" + + "ud.datacatalog.v1.TagB\004\342A\001\002\"x\n\020UpdateTag" + + "Request\0223\n\003tag\030\001 \001(\0132 .google.cloud.data" + + "catalog.v1.TagB\004\342A\001\002\022/\n\013update_mask\030\002 \001(" + + "\0132\032.google.protobuf.FieldMask\"I\n\020DeleteT" + + "agRequest\0225\n\004name\030\001 \001(\tB\'\342A\001\002\372A \022\036dataca" + + "talog.googleapis.com/Tag\"\326\001\n\035CreateTagTe" + + "mplateFieldRequest\022?\n\006parent\030\001 \001(\tB/\342A\001\002" + + "\372A(\n&datacatalog.googleapis.com/TagTempl" + + "ate\022#\n\025tag_template_field_id\030\002 \001(\tB\004\342A\001\002" + + "\022O\n\022tag_template_field\030\003 \001(\0132-.google.cl" + + "oud.datacatalog.v1.TagTemplateFieldB\004\342A\001" + + "\002\"\353\001\n\035UpdateTagTemplateFieldRequest\022B\n\004n" + + "ame\030\001 \001(\tB4\342A\001\002\372A-\n+datacatalog.googleap" + + "is.com/TagTemplateField\022O\n\022tag_template_" + + "field\030\002 \001(\0132-.google.cloud.datacatalog.v" + + "1.TagTemplateFieldB\004\342A\001\002\0225\n\013update_mask\030" + + "\003 \001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\001\"" + + "\214\001\n\035RenameTagTemplateFieldRequest\022B\n\004nam" + + "e\030\001 \001(\tB4\342A\001\002\372A-\n+datacatalog.googleapis" + + ".com/TagTemplateField\022\'\n\031new_tag_templat" + + "e_field_id\030\002 \001(\tB\004\342A\001\002\"\240\001\n&RenameTagTemp" + + "lateFieldEnumValueRequest\022K\n\004name\030\001 \001(\tB" + + "=\342A\001\002\372A6\n4datacatalog.googleapis.com/Tag" + + "TemplateFieldEnumValue\022)\n\033new_enum_value" + + "_display_name\030\002 \001(\tB\004\342A\001\002\"x\n\035DeleteTagTe" + + "mplateFieldRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A" + + "-\n+datacatalog.googleapis.com/TagTemplat" + + "eField\022\023\n\005force\030\002 \001(\010B\004\342A\001\002\"q\n\017ListTagsR" + + "equest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036datacat" + + "alog.googleapis.com/Tag\022\021\n\tpage_size\030\002 \001" + + "(\005\022\022\n\npage_token\030\003 \001(\t\"[\n\020ListTagsRespon" + + "se\022.\n\004tags\030\001 \003(\0132 .google.cloud.datacata" + + "log.v1.Tag\022\027\n\017next_page_token\030\002 \001(\t\"\346\001\n\024" + + "ReconcileTagsRequest\0229\n\006parent\030\001 \001(\tB)\342A" + + "\001\002\372A\"\n datacatalog.googleapis.com/Entry\022" + + "E\n\014tag_template\030\002 \001(\tB/\342A\001\002\372A(\n&datacata" + + "log.googleapis.com/TagTemplate\022\034\n\024force_" + + "delete_missing\030\003 \001(\010\022.\n\004tags\030\004 \003(\0132 .goo" + + "gle.cloud.datacatalog.v1.Tag\"k\n\025Reconcil" + + "eTagsResponse\022\032\n\022created_tags_count\030\001 \001(" + + "\003\022\032\n\022updated_tags_count\030\002 \001(\003\022\032\n\022deleted" + + "_tags_count\030\003 \001(\003\"\223\003\n\025ReconcileTagsMetad" + + "ata\022U\n\005state\030\001 \001(\0162F.google.cloud.dataca" + + "talog.v1.ReconcileTagsMetadata.Reconcili" + + "ationState\022N\n\006errors\030\002 \003(\0132>.google.clou" + + "d.datacatalog.v1.ReconcileTagsMetadata.E" + + "rrorsEntry\032A\n\013ErrorsEntry\022\013\n\003key\030\001 \001(\t\022!" + + "\n\005value\030\002 \001(\0132\022.google.rpc.Status:\0028\001\"\217\001" + + "\n\023ReconciliationState\022$\n RECONCILIATION_" + + "STATE_UNSPECIFIED\020\000\022\031\n\025RECONCILIATION_QU" + + "EUED\020\001\022\036\n\032RECONCILIATION_IN_PROGRESS\020\002\022\027" + + "\n\023RECONCILIATION_DONE\020\003\"\252\001\n\022ListEntriesR" + + "equest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n%datacat" + + "alog.googleapis.com/EntryGroup\022\021\n\tpage_s" + + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022-\n\tread_ma" + + "sk\030\004 \001(\0132\032.google.protobuf.FieldMask\"c\n\023" + + "ListEntriesResponse\0223\n\007entries\030\001 \003(\0132\".g" + + "oogle.cloud.datacatalog.v1.Entry\022\027\n\017next" + + "_page_token\030\002 \001(\t\"K\n\020StarEntryRequest\0227\n" + + "\004name\030\001 \001(\tB)\342A\001\002\372A\"\n datacatalog.google" + + "apis.com/Entry\"\023\n\021StarEntryResponse\"M\n\022U" + + "nstarEntryRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"" + + "\n datacatalog.googleapis.com/Entry\"\025\n\023Un" + + "starEntryResponse\"\214\001\n\024ImportEntriesReque" + + "st\0229\n\006parent\030\001 \001(\tB)\342A\001\002\372A\"\022 datacatalog" + + ".googleapis.com/Entry\022\031\n\017gcs_bucket_path" + + "\030\002 \001(\tH\000\022\024\n\006job_id\030\003 \001(\tB\004\342A\001\001B\010\n\006source" + + "\"\225\001\n\025ImportEntriesResponse\022#\n\026upserted_e" + + "ntries_count\030\005 \001(\003H\000\210\001\001\022\"\n\025deleted_entri" + + "es_count\030\006 \001(\003H\001\210\001\001B\031\n\027_upserted_entries" + + "_countB\030\n\026_deleted_entries_count\"\210\002\n\025Imp" + + "ortEntriesMetadata\022M\n\005state\030\001 \001(\0162>.goog" + + "le.cloud.datacatalog.v1.ImportEntriesMet" + + "adata.ImportState\022\"\n\006errors\030\002 \003(\0132\022.goog" + + "le.rpc.Status\"|\n\013ImportState\022\034\n\030IMPORT_S" + + "TATE_UNSPECIFIED\020\000\022\021\n\rIMPORT_QUEUED\020\001\022\026\n" + + "\022IMPORT_IN_PROGRESS\020\002\022\017\n\013IMPORT_DONE\020\003\022\023" + + "\n\017IMPORT_OBSOLETE\020\004\"\237\001\n\032ModifyEntryOverv" + + "iewRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n datac" + + "atalog.googleapis.com/Entry\022H\n\016entry_ove" + + "rview\030\002 \001(\0132*.google.cloud.datacatalog.v" + + "1.EntryOverviewB\004\342A\001\002\"\224\001\n\032ModifyEntryCon" + + "tactsRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n dat" + + "acatalog.googleapis.com/Entry\022=\n\010contact" + + "s\030\002 \001(\0132%.google.cloud.datacatalog.v1.Co" + + "ntactsB\004\342A\001\002*\373\001\n\tEntryType\022\032\n\026ENTRY_TYPE" + + "_UNSPECIFIED\020\000\022\t\n\005TABLE\020\002\022\t\n\005MODEL\020\005\022\017\n\013" + + "DATA_STREAM\020\003\022\013\n\007FILESET\020\004\022\013\n\007CLUSTER\020\006\022" + + "\014\n\010DATABASE\020\007\022\032\n\026DATA_SOURCE_CONNECTION\020" + + "\010\022\013\n\007ROUTINE\020\t\022\010\n\004LAKE\020\n\022\010\n\004ZONE\020\013\022\013\n\007SE" + + "RVICE\020\016\022\023\n\017DATABASE_SCHEMA\020\017\022\r\n\tDASHBOAR" + + "D\020\020\022\013\n\007EXPLORE\020\021\022\010\n\004LOOK\020\0222\300;\n\013DataCatal" + + "og\022\243\001\n\rSearchCatalog\0221.google.cloud.data" + + "catalog.v1.SearchCatalogRequest\0322.google" + + ".cloud.datacatalog.v1.SearchCatalogRespo" + + "nse\"+\332A\013scope,query\202\323\344\223\002\027\"\022/v1/catalog:s" + + "earch:\001*\022\333\001\n\020CreateEntryGroup\0224.google.c" + + "loud.datacatalog.v1.CreateEntryGroupRequ" + + "est\032\'.google.cloud.datacatalog.v1.EntryG" + + "roup\"h\332A!parent,entry_group_id,entry_gro" + + "up\202\323\344\223\002>\"//v1/{parent=projects/*/locatio" + + "ns/*}/entryGroups:\013entry_group\022\274\001\n\rGetEn" + + "tryGroup\0221.google.cloud.datacatalog.v1.G" + + "etEntryGroupRequest\032\'.google.cloud.datac" + + "atalog.v1.EntryGroup\"O\332A\004name\332A\016name,rea" + + "d_mask\202\323\344\223\0021\022//v1/{name=projects/*/locat" + + "ions/*/entryGroups/*}\022\353\001\n\020UpdateEntryGro" + + "up\0224.google.cloud.datacatalog.v1.UpdateE" + + "ntryGroupRequest\032\'.google.cloud.datacata" + + "log.v1.EntryGroup\"x\332A\013entry_group\332A\027entr" + + "y_group,update_mask\202\323\344\223\002J2;/v1/{entry_gr" + + "oup.name=projects/*/locations/*/entryGro" + + "ups/*}:\013entry_group\022\240\001\n\020DeleteEntryGroup" + + "\0224.google.cloud.datacatalog.v1.DeleteEnt" + + "ryGroupRequest\032\026.google.protobuf.Empty\">" + + "\332A\004name\202\323\344\223\0021*//v1/{name=projects/*/loca" + + "tions/*/entryGroups/*}\022\276\001\n\017ListEntryGrou" + + "ps\0223.google.cloud.datacatalog.v1.ListEnt" + + "ryGroupsRequest\0324.google.cloud.datacatal" + + "og.v1.ListEntryGroupsResponse\"@\332A\006parent" + + "\202\323\344\223\0021\022//v1/{parent=projects/*/locations" + + "/*}/entryGroups\022\304\001\n\013CreateEntry\022/.google" + + ".cloud.datacatalog.v1.CreateEntryRequest" + + "\032\".google.cloud.datacatalog.v1.Entry\"`\332A" + + "\025parent,entry_id,entry\202\323\344\223\002B\"9/v1/{paren" + + "t=projects/*/locations/*/entryGroups/*}/" + + "entries:\005entry\022\316\001\n\013UpdateEntry\022/.google." + + "cloud.datacatalog.v1.UpdateEntryRequest\032" + + "\".google.cloud.datacatalog.v1.Entry\"j\332A\005" + + "entry\332A\021entry,update_mask\202\323\344\223\002H2?/v1/{en" + + "try.name=projects/*/locations/*/entryGro" + + "ups/*/entries/*}:\005entry\022\240\001\n\013DeleteEntry\022" + + "/.google.cloud.datacatalog.v1.DeleteEntr" + + "yRequest\032\026.google.protobuf.Empty\"H\332A\004nam" + + "e\202\323\344\223\002;*9/v1/{name=projects/*/locations/" + + "*/entryGroups/*/entries/*}\022\246\001\n\010GetEntry\022" + + ",.google.cloud.datacatalog.v1.GetEntryRe" + + "quest\032\".google.cloud.datacatalog.v1.Entr" + + "y\"H\332A\004name\202\323\344\223\002;\0229/v1/{name=projects/*/l" + + "ocations/*/entryGroups/*/entries/*}\022~\n\013L" + + "ookupEntry\022/.google.cloud.datacatalog.v1" + + ".LookupEntryRequest\032\".google.cloud.datac" + + "atalog.v1.Entry\"\032\202\323\344\223\002\024\022\022/v1/entries:loo" + + "kup\022\274\001\n\013ListEntries\022/.google.cloud.datac" + + "atalog.v1.ListEntriesRequest\0320.google.cl" + + "oud.datacatalog.v1.ListEntriesResponse\"J" + + "\332A\006parent\202\323\344\223\002;\0229/v1/{parent=projects/*/" + + "locations/*/entryGroups/*}/entries\022\324\001\n\023M" + + "odifyEntryOverview\0227.google.cloud.dataca" + + "talog.v1.ModifyEntryOverviewRequest\032*.go" + + "ogle.cloud.datacatalog.v1.EntryOverview\"" + + "X\202\323\344\223\002R\"M/v1/{name=projects/*/locations/" + + "*/entryGroups/*/entries/*}:modifyEntryOv" + + "erview:\001*\022\317\001\n\023ModifyEntryContacts\0227.goog" + + "le.cloud.datacatalog.v1.ModifyEntryConta" + + "ctsRequest\032%.google.cloud.datacatalog.v1" + + ".Contacts\"X\202\323\344\223\002R\"M/v1/{name=projects/*/" + + "locations/*/entryGroups/*/entries/*}:mod" + + "ifyEntryContacts:\001*\022\342\001\n\021CreateTagTemplat" + + "e\0225.google.cloud.datacatalog.v1.CreateTa" + + "gTemplateRequest\032(.google.cloud.datacata" + + "log.v1.TagTemplate\"l\332A#parent,tag_templa" + + "te_id,tag_template\202\323\344\223\002@\"0/v1/{parent=pr" + + "ojects/*/locations/*}/tagTemplates:\014tag_" + + "template\022\257\001\n\016GetTagTemplate\0222.google.clo" + + "ud.datacatalog.v1.GetTagTemplateRequest\032" + + "(.google.cloud.datacatalog.v1.TagTemplat" + + "e\"?\332A\004name\202\323\344\223\0022\0220/v1/{name=projects/*/l" + + "ocations/*/tagTemplates/*}\022\363\001\n\021UpdateTag" + + "Template\0225.google.cloud.datacatalog.v1.U" + + "pdateTagTemplateRequest\032(.google.cloud.d" + + "atacatalog.v1.TagTemplate\"}\332A\014tag_templa" + + "te\332A\030tag_template,update_mask\202\323\344\223\002M2=/v1" + + "/{tag_template.name=projects/*/locations" + + "/*/tagTemplates/*}:\014tag_template\022\251\001\n\021Del" + + "eteTagTemplate\0225.google.cloud.datacatalo" + + "g.v1.DeleteTagTemplateRequest\032\026.google.p" + + "rotobuf.Empty\"E\332A\nname,force\202\323\344\223\0022*0/v1/" + + "{name=projects/*/locations/*/tagTemplate" + + "s/*}\022\215\002\n\026CreateTagTemplateField\022:.google" + + ".cloud.datacatalog.v1.CreateTagTemplateF" + + "ieldRequest\032-.google.cloud.datacatalog.v" + + "1.TagTemplateField\"\207\001\332A/parent,tag_templ" + + "ate_field_id,tag_template_field\202\323\344\223\002O\"9/" + + "v1/{parent=projects/*/locations/*/tagTem" + + "plates/*}/fields:\022tag_template_field\022\233\002\n" + + "\026UpdateTagTemplateField\022:.google.cloud.d" + + "atacatalog.v1.UpdateTagTemplateFieldRequ" + + "est\032-.google.cloud.datacatalog.v1.TagTem" + + "plateField\"\225\001\332A\027name,tag_template_field\332" + + "A#name,tag_template_field,update_mask\202\323\344" + + "\223\002O29/v1/{name=projects/*/locations/*/ta" + + "gTemplates/*/fields/*}:\022tag_template_fie" + + "ld\022\361\001\n\026RenameTagTemplateField\022:.google.c" + + "loud.datacatalog.v1.RenameTagTemplateFie" + + "ldRequest\032-.google.cloud.datacatalog.v1.", + "TagTemplateField\"l\332A\036name,new_tag_templa" + + "te_field_id\202\323\344\223\002E\"@/v1/{name=projects/*/" + + "locations/*/tagTemplates/*/fields/*}:ren" + + "ame:\001*\022\222\002\n\037RenameTagTemplateFieldEnumVal" + + "ue\022C.google.cloud.datacatalog.v1.RenameT" + + "agTemplateFieldEnumValueRequest\032-.google" + + ".cloud.datacatalog.v1.TagTemplateField\"{" + + "\332A name,new_enum_value_display_name\202\323\344\223\002" + + "R\"M/v1/{name=projects/*/locations/*/tagT" + + "emplates/*/fields/*/enumValues/*}:rename" + + ":\001*\022\274\001\n\026DeleteTagTemplateField\022:.google." + + "cloud.datacatalog.v1.DeleteTagTemplateFi" + + "eldRequest\032\026.google.protobuf.Empty\"N\332A\nn" + + "ame,force\202\323\344\223\002;*9/v1/{name=projects/*/lo" + + "cations/*/tagTemplates/*/fields/*}\022\371\001\n\tC" + + "reateTag\022-.google.cloud.datacatalog.v1.C" + + "reateTagRequest\032 .google.cloud.datacatal" + + "og.v1.Tag\"\232\001\332A\nparent,tag\202\323\344\223\002\206\001\"@/v1/{p" + + "arent=projects/*/locations/*/entryGroups" + + "/*/entries/*}/tags:\003tagZ=\"6/v1/{parent=p" + + "rojects/*/locations/*/entryGroups/*}/tag" + + "s:\003tag\022\214\002\n\tUpdateTag\022-.google.cloud.data" + + "catalog.v1.UpdateTagRequest\032 .google.clo" + + "ud.datacatalog.v1.Tag\"\255\001\332A\003tag\332A\017tag,upd" + + "ate_mask\202\323\344\223\002\216\0012D/v1/{tag.name=projects/" + + "*/locations/*/entryGroups/*/entries/*/ta" + + "gs/*}:\003tagZA2:/v1/{tag.name=projects/*/l" + + "ocations/*/entryGroups/*/tags/*}:\003tag\022\336\001" + + "\n\tDeleteTag\022-.google.cloud.datacatalog.v" + + "1.DeleteTagRequest\032\026.google.protobuf.Emp" + + "ty\"\211\001\332A\004name\202\323\344\223\002|*@/v1/{name=projects/*" + + "/locations/*/entryGroups/*/entries/*/tag" + + "s/*}Z8*6/v1/{name=projects/*/locations/*" + + "/entryGroups/*/tags/*}\022\365\001\n\010ListTags\022,.go" + + "ogle.cloud.datacatalog.v1.ListTagsReques" + + "t\032-.google.cloud.datacatalog.v1.ListTags" + + "Response\"\213\001\332A\006parent\202\323\344\223\002|\022@/v1/{parent=" + + "projects/*/locations/*/entryGroups/*/ent" + + "ries/*}/tagsZ8\0226/v1/{parent=projects/*/l" + + "ocations/*/entryGroups/*}/tags\022\352\001\n\rRecon" + + "cileTags\0221.google.cloud.datacatalog.v1.R" + + "econcileTagsRequest\032\035.google.longrunning" + + ".Operation\"\206\001\312A.\n\025ReconcileTagsResponse\022" + + "\025ReconcileTagsMetadata\202\323\344\223\002O\"J/v1/{paren" + + "t=projects/*/locations/*/entryGroups/*/e" + + "ntries/*}/tags:reconcile:\001*\022\274\001\n\tStarEntr" + + "y\022-.google.cloud.datacatalog.v1.StarEntr" + + "yRequest\032..google.cloud.datacatalog.v1.S" + + "tarEntryResponse\"P\332A\004name\202\323\344\223\002C\">/v1/{na" + + "me=projects/*/locations/*/entryGroups/*/" + + "entries/*}:star:\001*\022\304\001\n\013UnstarEntry\022/.goo" + + "gle.cloud.datacatalog.v1.UnstarEntryRequ" + + "est\0320.google.cloud.datacatalog.v1.Unstar" + + "EntryResponse\"R\332A\004name\202\323\344\223\002E\"@/v1/{name=" + + "projects/*/locations/*/entryGroups/*/ent" + + "ries/*}:unstar:\001*\022\362\001\n\014SetIamPolicy\022\".goo" + + "gle.iam.v1.SetIamPolicyRequest\032\025.google." + + "iam.v1.Policy\"\246\001\332A\017resource,policy\202\323\344\223\002\215" + + "\001\"A/v1/{resource=projects/*/locations/*/" + + "tagTemplates/*}:setIamPolicy:\001*ZE\"@/v1/{" + + "resource=projects/*/locations/*/entryGro" + + "ups/*}:setIamPolicy:\001*\022\274\002\n\014GetIamPolicy\022" + + "\".google.iam.v1.GetIamPolicyRequest\032\025.go" + + "ogle.iam.v1.Policy\"\360\001\332A\010resource\202\323\344\223\002\336\001\"" + + "A/v1/{resource=projects/*/locations/*/ta" + + "gTemplates/*}:getIamPolicy:\001*ZE\"@/v1/{re" + + "source=projects/*/locations/*/entryGroup" + + "s/*}:getIamPolicy:\001*ZO\"J/v1/{resource=pr" + + "ojects/*/locations/*/entryGroups/*/entri" + + "es/*}:getIamPolicy:\001*\022\343\002\n\022TestIamPermiss" + + "ions\022(.google.iam.v1.TestIamPermissionsR" + + "equest\032).google.iam.v1.TestIamPermission" + + "sResponse\"\367\001\202\323\344\223\002\360\001\"G/v1/{resource=proje" + + "cts/*/locations/*/tagTemplates/*}:testIa" + + "mPermissions:\001*ZK\"F/v1/{resource=project" + + "s/*/locations/*/entryGroups/*}:testIamPe" + + "rmissions:\001*ZU\"P/v1/{resource=projects/*" + + "/locations/*/entryGroups/*/entries/*}:te" + + "stIamPermissions:\001*\022\337\001\n\rImportEntries\0221." + + "google.cloud.datacatalog.v1.ImportEntrie" + + "sRequest\032\035.google.longrunning.Operation\"" + + "|\312A.\n\025ImportEntriesResponse\022\025ImportEntri" + + "esMetadata\202\323\344\223\002E\"@/v1/{parent=projects/*" + + "/locations/*/entryGroups/*}/entries:impo" + + "rt:\001*\032N\312A\032datacatalog.googleapis.com\322A.h" + + "ttps://www.googleapis.com/auth/cloud-pla" + + "tformB\212\003\n\037com.google.cloud.datacatalog.v" + + "1P\001ZAcloud.google.com/go/datacatalog/api" + + "v1/datacatalogpb;datacatalogpb\370\001\001\252\002\033Goog" + + "le.Cloud.DataCatalog.V1\312\002\033Google\\Cloud\\D" + + "ataCatalog\\V1\352\002\036Google::Cloud::DataCatal" + + "og::V1\352A\300\001\n4datacatalog.googleapis.com/T" + + "agTemplateFieldEnumValue\022\207\001projects/{pro" + + "ject}/locations/{location}/tagTemplates/" + + "{tag_template}/fields/{tag_template_fiel" + + "d_id}/enumValues/{enum_value_display_nam" + + "e}b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.datacatalog.v1.BigQueryProto.getDescriptor(), + com.google.cloud.datacatalog.v1.Common.getDescriptor(), + com.google.cloud.datacatalog.v1.DataSourceProto.getDescriptor(), + com.google.cloud.datacatalog.v1.DataplexSpecProto.getDescriptor(), + com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass.getDescriptor(), + com.google.cloud.datacatalog.v1.SchemaOuterClass.getDescriptor(), + com.google.cloud.datacatalog.v1.Search.getDescriptor(), + com.google.cloud.datacatalog.v1.TableSpecOuterClass.getDescriptor(), + com.google.cloud.datacatalog.v1.Tags.getDescriptor(), + com.google.cloud.datacatalog.v1.Timestamps.getDescriptor(), + com.google.cloud.datacatalog.v1.Usage.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_descriptor, + new java.lang.String[] { + "Scope", "Query", "PageSize", "PageToken", "OrderBy", + }); + internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_descriptor = + internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_descriptor, + new java.lang.String[] { + "IncludeOrgIds", + "IncludeProjectIds", + "IncludeGcpPublicDatasets", + "RestrictedLocations", + "StarredOnly", + "IncludePublicTagTemplates", + }); + internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_descriptor, + new java.lang.String[] { + "Results", "TotalSize", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_descriptor, + new java.lang.String[] { + "Parent", "EntryGroupId", "EntryGroup", + }); + internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_descriptor, + new java.lang.String[] { + "EntryGroup", "UpdateMask", + }); + internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_descriptor, + new java.lang.String[] { + "Name", "ReadMask", + }); + internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_descriptor, + new java.lang.String[] { + "Name", "Force", + }); + internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_descriptor, + new java.lang.String[] { + "EntryGroups", "NextPageToken", + }); + internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_descriptor, + new java.lang.String[] { + "Parent", "EntryId", "Entry", + }); + internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_descriptor, + new java.lang.String[] { + "Entry", "UpdateMask", + }); + internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_datacatalog_v1_GetEntryRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_datacatalog_v1_GetEntryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_GetEntryRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_descriptor, + new java.lang.String[] { + "LinkedResource", + "SqlResource", + "FullyQualifiedName", + "Project", + "Location", + "TargetName", + }); + internal_static_google_cloud_datacatalog_v1_Entry_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_datacatalog_v1_Entry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_Entry_descriptor, + new java.lang.String[] { + "Name", + "LinkedResource", + "FullyQualifiedName", + "Type", + "UserSpecifiedType", + "IntegratedSystem", + "UserSpecifiedSystem", + "SqlDatabaseSystemSpec", + "LookerSystemSpec", + "CloudBigtableSystemSpec", + "GcsFilesetSpec", + "BigqueryTableSpec", + "BigqueryDateShardedSpec", + "DatabaseTableSpec", + "DataSourceConnectionSpec", + "RoutineSpec", + "FilesetSpec", + "ServiceSpec", + "DisplayName", + "Description", + "BusinessContext", + "Schema", + "SourceSystemTimestamps", + "UsageSignal", + "Labels", + "DataSource", + "PersonalDetails", + "EntryType", + "System", + "SystemSpec", + "TypeSpec", + "Spec", + }); + internal_static_google_cloud_datacatalog_v1_Entry_LabelsEntry_descriptor = + internal_static_google_cloud_datacatalog_v1_Entry_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datacatalog_v1_Entry_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_Entry_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_descriptor, + new java.lang.String[] { + "Type", "DataplexTable", "DatabaseViewSpec", + }); + internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_descriptor = + internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_descriptor, + new java.lang.String[] { + "ViewType", "BaseTable", "SqlQuery", "SourceDefinition", + }); + internal_static_google_cloud_datacatalog_v1_FilesetSpec_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_datacatalog_v1_FilesetSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_FilesetSpec_descriptor, + new java.lang.String[] { + "DataplexFileset", + }); + internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_descriptor, + new java.lang.String[] { + "BigqueryConnectionSpec", + }); + internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_datacatalog_v1_RoutineSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor, + new java.lang.String[] { + "RoutineType", + "Language", + "RoutineArguments", + "ReturnType", + "DefinitionBody", + "BigqueryRoutineSpec", + "SystemSpec", + }); + internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_descriptor = + internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_descriptor, + new java.lang.String[] { + "Name", "Mode", "Type", + }); + internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_descriptor, + new java.lang.String[] { + "SqlEngine", "DatabaseVersion", "InstanceHost", + }); + internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_descriptor, + new java.lang.String[] { + "ParentInstanceId", + "ParentInstanceDisplayName", + "ParentModelId", + "ParentModelDisplayName", + "ParentViewId", + "ParentViewDisplayName", + }); + internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_descriptor, + new java.lang.String[] { + "InstanceDisplayName", + }); + internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_descriptor, + new java.lang.String[] { + "CloudBigtableClusterSpecs", + }); + internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_descriptor = + internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_descriptor, + new java.lang.String[] { + "DisplayName", "Location", "Type", "LinkedResource", + }); + internal_static_google_cloud_datacatalog_v1_ServiceSpec_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_datacatalog_v1_ServiceSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ServiceSpec_descriptor, + new java.lang.String[] { + "CloudBigtableInstanceSpec", "SystemSpec", + }); + internal_static_google_cloud_datacatalog_v1_BusinessContext_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_datacatalog_v1_BusinessContext_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_BusinessContext_descriptor, + new java.lang.String[] { + "EntryOverview", "Contacts", + }); + internal_static_google_cloud_datacatalog_v1_EntryOverview_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_datacatalog_v1_EntryOverview_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_EntryOverview_descriptor, + new java.lang.String[] { + "Overview", + }); + internal_static_google_cloud_datacatalog_v1_Contacts_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_datacatalog_v1_Contacts_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_Contacts_descriptor, + new java.lang.String[] { + "People", + }); + internal_static_google_cloud_datacatalog_v1_Contacts_Person_descriptor = + internal_static_google_cloud_datacatalog_v1_Contacts_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datacatalog_v1_Contacts_Person_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_Contacts_Person_descriptor, + new java.lang.String[] { + "Designation", "Email", + }); + internal_static_google_cloud_datacatalog_v1_EntryGroup_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_datacatalog_v1_EntryGroup_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_EntryGroup_descriptor, + new java.lang.String[] { + "Name", "DisplayName", "Description", "DataCatalogTimestamps", + }); + internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_descriptor, + new java.lang.String[] { + "Parent", "TagTemplateId", "TagTemplate", + }); + internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_descriptor, + new java.lang.String[] { + "TagTemplate", "UpdateMask", + }); + internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_descriptor, + new java.lang.String[] { + "Name", "Force", + }); + internal_static_google_cloud_datacatalog_v1_CreateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_cloud_datacatalog_v1_CreateTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_CreateTagRequest_descriptor, + new java.lang.String[] { + "Parent", "Tag", + }); + internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_descriptor, + new java.lang.String[] { + "Tag", "UpdateMask", + }); + internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_descriptor, + new java.lang.String[] { + "Parent", "TagTemplateFieldId", "TagTemplateField", + }); + internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_descriptor, + new java.lang.String[] { + "Name", "TagTemplateField", "UpdateMask", + }); + internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_descriptor, + new java.lang.String[] { + "Name", "NewTagTemplateFieldId", + }); + internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_descriptor, + new java.lang.String[] { + "Name", "NewEnumValueDisplayName", + }); + internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_descriptor, + new java.lang.String[] { + "Name", "Force", + }); + internal_static_google_cloud_datacatalog_v1_ListTagsRequest_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_cloud_datacatalog_v1_ListTagsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ListTagsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_datacatalog_v1_ListTagsResponse_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_cloud_datacatalog_v1_ListTagsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ListTagsResponse_descriptor, + new java.lang.String[] { + "Tags", "NextPageToken", + }); + internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_descriptor, + new java.lang.String[] { + "Parent", "TagTemplate", "ForceDeleteMissing", "Tags", + }); + internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_descriptor = + getDescriptor().getMessageTypes().get(42); + internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_descriptor, + new java.lang.String[] { + "CreatedTagsCount", "UpdatedTagsCount", "DeletedTagsCount", + }); + internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_descriptor = + getDescriptor().getMessageTypes().get(43); + internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_descriptor, + new java.lang.String[] { + "State", "Errors", + }); + internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_ErrorsEntry_descriptor = + internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_ErrorsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_ErrorsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_descriptor = + getDescriptor().getMessageTypes().get(44); + internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "ReadMask", + }); + internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_descriptor = + getDescriptor().getMessageTypes().get(45); + internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_descriptor, + new java.lang.String[] { + "Entries", "NextPageToken", + }); + internal_static_google_cloud_datacatalog_v1_StarEntryRequest_descriptor = + getDescriptor().getMessageTypes().get(46); + internal_static_google_cloud_datacatalog_v1_StarEntryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_StarEntryRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_datacatalog_v1_StarEntryResponse_descriptor = + getDescriptor().getMessageTypes().get(47); + internal_static_google_cloud_datacatalog_v1_StarEntryResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_StarEntryResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_descriptor = + getDescriptor().getMessageTypes().get(48); + internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_descriptor = + getDescriptor().getMessageTypes().get(49); + internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_descriptor = + getDescriptor().getMessageTypes().get(50); + internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_descriptor, + new java.lang.String[] { + "Parent", "GcsBucketPath", "JobId", "Source", + }); + internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_descriptor = + getDescriptor().getMessageTypes().get(51); + internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_descriptor, + new java.lang.String[] { + "UpsertedEntriesCount", + "DeletedEntriesCount", + "UpsertedEntriesCount", + "DeletedEntriesCount", + }); + internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_descriptor = + getDescriptor().getMessageTypes().get(52); + internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_descriptor, + new java.lang.String[] { + "State", "Errors", + }); + internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_descriptor = + getDescriptor().getMessageTypes().get(53); + internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_descriptor, + new java.lang.String[] { + "Name", "EntryOverview", + }); + internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_descriptor = + getDescriptor().getMessageTypes().get(54); + internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_descriptor, + new java.lang.String[] { + "Name", "Contacts", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + 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.datacatalog.v1.BigQueryProto.getDescriptor(); + com.google.cloud.datacatalog.v1.Common.getDescriptor(); + com.google.cloud.datacatalog.v1.DataSourceProto.getDescriptor(); + com.google.cloud.datacatalog.v1.DataplexSpecProto.getDescriptor(); + com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass.getDescriptor(); + com.google.cloud.datacatalog.v1.SchemaOuterClass.getDescriptor(); + com.google.cloud.datacatalog.v1.Search.getDescriptor(); + com.google.cloud.datacatalog.v1.TableSpecOuterClass.getDescriptor(); + com.google.cloud.datacatalog.v1.Tags.getDescriptor(); + com.google.cloud.datacatalog.v1.Timestamps.getDescriptor(); + com.google.cloud.datacatalog.v1.Usage.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTable.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTable.java similarity index 70% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTable.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTable.java index 7e00ab7973a3..7495f1b1468f 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTable.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTable.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/datacatalog/v1/dataplex_spec.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * External table registered by Dataplex.
  * Dataplex publishes data discovered from an asset into multiple other systems
@@ -16,15 +33,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.DataplexExternalTable}
  */
-public final class DataplexExternalTable extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DataplexExternalTable extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.DataplexExternalTable)
     DataplexExternalTableOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DataplexExternalTable.newBuilder() to construct.
   private DataplexExternalTable(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DataplexExternalTable() {
     system_ = 0;
     fullyQualifiedName_ = "";
@@ -34,59 +52,73 @@ private DataplexExternalTable() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DataplexExternalTable();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.DataplexSpecProto
+        .internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.DataplexSpecProto
+        .internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.DataplexExternalTable.class, com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder.class);
+            com.google.cloud.datacatalog.v1.DataplexExternalTable.class,
+            com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder.class);
   }
 
   public static final int SYSTEM_FIELD_NUMBER = 1;
   private int system_ = 0;
   /**
+   *
+   *
    * 
    * Service in which the external table is registered.
    * 
* * .google.cloud.datacatalog.v1.IntegratedSystem system = 1; + * * @return The enum numeric value on the wire for system. */ - @java.lang.Override public int getSystemValue() { + @java.lang.Override + public int getSystemValue() { return system_; } /** + * + * *
    * Service in which the external table is registered.
    * 
* * .google.cloud.datacatalog.v1.IntegratedSystem system = 1; + * * @return The system. */ - @java.lang.Override public com.google.cloud.datacatalog.v1.IntegratedSystem getSystem() { - com.google.cloud.datacatalog.v1.IntegratedSystem result = com.google.cloud.datacatalog.v1.IntegratedSystem.forNumber(system_); + @java.lang.Override + public com.google.cloud.datacatalog.v1.IntegratedSystem getSystem() { + com.google.cloud.datacatalog.v1.IntegratedSystem result = + com.google.cloud.datacatalog.v1.IntegratedSystem.forNumber(system_); return result == null ? com.google.cloud.datacatalog.v1.IntegratedSystem.UNRECOGNIZED : result; } public static final int FULLY_QUALIFIED_NAME_FIELD_NUMBER = 28; + @SuppressWarnings("serial") private volatile java.lang.Object fullyQualifiedName_ = ""; /** + * + * *
    * Fully qualified name (FQN) of the external table.
    * 
* * string fully_qualified_name = 28; + * * @return The fullyQualifiedName. */ @java.lang.Override @@ -95,29 +127,29 @@ public java.lang.String getFullyQualifiedName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullyQualifiedName_ = s; return s; } } /** + * + * *
    * Fully qualified name (FQN) of the external table.
    * 
* * string fully_qualified_name = 28; + * * @return The bytes for fullyQualifiedName. */ @java.lang.Override - public com.google.protobuf.ByteString - getFullyQualifiedNameBytes() { + public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { java.lang.Object ref = fullyQualifiedName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fullyQualifiedName_ = b; return b; } else { @@ -126,14 +158,18 @@ public java.lang.String getFullyQualifiedName() { } public static final int GOOGLE_CLOUD_RESOURCE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object googleCloudResource_ = ""; /** + * + * *
    * Google Cloud resource name of the external table.
    * 
* * string google_cloud_resource = 3; + * * @return The googleCloudResource. */ @java.lang.Override @@ -142,29 +178,29 @@ public java.lang.String getGoogleCloudResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); googleCloudResource_ = s; return s; } } /** + * + * *
    * Google Cloud resource name of the external table.
    * 
* * string google_cloud_resource = 3; + * * @return The bytes for googleCloudResource. */ @java.lang.Override - public com.google.protobuf.ByteString - getGoogleCloudResourceBytes() { + public com.google.protobuf.ByteString getGoogleCloudResourceBytes() { java.lang.Object ref = googleCloudResource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); googleCloudResource_ = b; return b; } else { @@ -173,14 +209,18 @@ public java.lang.String getGoogleCloudResource() { } public static final int DATA_CATALOG_ENTRY_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object dataCatalogEntry_ = ""; /** + * + * *
    * Name of the Data Catalog entry representing the external table.
    * 
* * string data_catalog_entry = 4; + * * @return The dataCatalogEntry. */ @java.lang.Override @@ -189,29 +229,29 @@ public java.lang.String getDataCatalogEntry() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataCatalogEntry_ = s; return s; } } /** + * + * *
    * Name of the Data Catalog entry representing the external table.
    * 
* * string data_catalog_entry = 4; + * * @return The bytes for dataCatalogEntry. */ @java.lang.Override - public com.google.protobuf.ByteString - getDataCatalogEntryBytes() { + public com.google.protobuf.ByteString getDataCatalogEntryBytes() { java.lang.Object ref = dataCatalogEntry_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataCatalogEntry_ = b; return b; } else { @@ -220,6 +260,7 @@ public java.lang.String getDataCatalogEntry() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -231,9 +272,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (system_ != com.google.cloud.datacatalog.v1.IntegratedSystem.INTEGRATED_SYSTEM_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (system_ + != com.google.cloud.datacatalog.v1.IntegratedSystem.INTEGRATED_SYSTEM_UNSPECIFIED + .getNumber()) { output.writeEnum(1, system_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(googleCloudResource_)) { @@ -254,9 +296,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (system_ != com.google.cloud.datacatalog.v1.IntegratedSystem.INTEGRATED_SYSTEM_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, system_); + if (system_ + != com.google.cloud.datacatalog.v1.IntegratedSystem.INTEGRATED_SYSTEM_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, system_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(googleCloudResource_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, googleCloudResource_); @@ -275,20 +318,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.DataplexExternalTable)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.DataplexExternalTable other = (com.google.cloud.datacatalog.v1.DataplexExternalTable) obj; + com.google.cloud.datacatalog.v1.DataplexExternalTable other = + (com.google.cloud.datacatalog.v1.DataplexExternalTable) obj; if (system_ != other.system_) return false; - if (!getFullyQualifiedName() - .equals(other.getFullyQualifiedName())) return false; - if (!getGoogleCloudResource() - .equals(other.getGoogleCloudResource())) return false; - if (!getDataCatalogEntry() - .equals(other.getDataCatalogEntry())) return false; + if (!getFullyQualifiedName().equals(other.getFullyQualifiedName())) return false; + if (!getGoogleCloudResource().equals(other.getGoogleCloudResource())) return false; + if (!getDataCatalogEntry().equals(other.getDataCatalogEntry())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -314,98 +355,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.DataplexExternalTable parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DataplexExternalTable parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DataplexExternalTable parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DataplexExternalTable parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DataplexExternalTable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DataplexExternalTable parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DataplexExternalTable parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.DataplexExternalTable parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.DataplexExternalTable parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DataplexExternalTable parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DataplexExternalTable parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.DataplexExternalTable parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DataplexExternalTable parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.DataplexExternalTable parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.DataplexExternalTable prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.DataplexExternalTable prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * External table registered by Dataplex.
    * Dataplex publishes data discovered from an asset into multiple other systems
@@ -418,33 +465,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.DataplexExternalTable}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.DataplexExternalTable)
       com.google.cloud.datacatalog.v1.DataplexExternalTableOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.DataplexSpecProto
+          .internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.DataplexSpecProto
+          .internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.DataplexExternalTable.class, com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder.class);
+              com.google.cloud.datacatalog.v1.DataplexExternalTable.class,
+              com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.DataplexExternalTable.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -457,9 +503,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.DataplexSpecProto
+          .internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_descriptor;
     }
 
     @java.lang.Override
@@ -478,8 +524,11 @@ public com.google.cloud.datacatalog.v1.DataplexExternalTable build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.DataplexExternalTable buildPartial() {
-      com.google.cloud.datacatalog.v1.DataplexExternalTable result = new com.google.cloud.datacatalog.v1.DataplexExternalTable(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.DataplexExternalTable result =
+          new com.google.cloud.datacatalog.v1.DataplexExternalTable(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -504,38 +553,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DataplexExternalTable
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.DataplexExternalTable) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.DataplexExternalTable)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.DataplexExternalTable) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -543,7 +593,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.DataplexExternalTable other) {
-      if (other == com.google.cloud.datacatalog.v1.DataplexExternalTable.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.DataplexExternalTable.getDefaultInstance())
+        return this;
       if (other.system_ != 0) {
         setSystemValue(other.getSystemValue());
       }
@@ -588,32 +639,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              system_ = input.readEnum();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 26: {
-              googleCloudResource_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              dataCatalogEntry_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 226: {
-              fullyQualifiedName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 226
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                system_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 26:
+              {
+                googleCloudResource_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                dataCatalogEntry_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 226:
+              {
+                fullyQualifiedName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 226
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -623,26 +679,34 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private int system_ = 0;
     /**
+     *
+     *
      * 
      * Service in which the external table is registered.
      * 
* * .google.cloud.datacatalog.v1.IntegratedSystem system = 1; + * * @return The enum numeric value on the wire for system. */ - @java.lang.Override public int getSystemValue() { + @java.lang.Override + public int getSystemValue() { return system_; } /** + * + * *
      * Service in which the external table is registered.
      * 
* * .google.cloud.datacatalog.v1.IntegratedSystem system = 1; + * * @param value The enum numeric value on the wire for system to set. * @return This builder for chaining. */ @@ -653,24 +717,33 @@ public Builder setSystemValue(int value) { return this; } /** + * + * *
      * Service in which the external table is registered.
      * 
* * .google.cloud.datacatalog.v1.IntegratedSystem system = 1; + * * @return The system. */ @java.lang.Override public com.google.cloud.datacatalog.v1.IntegratedSystem getSystem() { - com.google.cloud.datacatalog.v1.IntegratedSystem result = com.google.cloud.datacatalog.v1.IntegratedSystem.forNumber(system_); - return result == null ? com.google.cloud.datacatalog.v1.IntegratedSystem.UNRECOGNIZED : result; + com.google.cloud.datacatalog.v1.IntegratedSystem result = + com.google.cloud.datacatalog.v1.IntegratedSystem.forNumber(system_); + return result == null + ? com.google.cloud.datacatalog.v1.IntegratedSystem.UNRECOGNIZED + : result; } /** + * + * *
      * Service in which the external table is registered.
      * 
* * .google.cloud.datacatalog.v1.IntegratedSystem system = 1; + * * @param value The system to set. * @return This builder for chaining. */ @@ -684,11 +757,14 @@ public Builder setSystem(com.google.cloud.datacatalog.v1.IntegratedSystem value) return this; } /** + * + * *
      * Service in which the external table is registered.
      * 
* * .google.cloud.datacatalog.v1.IntegratedSystem system = 1; + * * @return This builder for chaining. */ public Builder clearSystem() { @@ -700,18 +776,20 @@ public Builder clearSystem() { private java.lang.Object fullyQualifiedName_ = ""; /** + * + * *
      * Fully qualified name (FQN) of the external table.
      * 
* * string fully_qualified_name = 28; + * * @return The fullyQualifiedName. */ public java.lang.String getFullyQualifiedName() { java.lang.Object ref = fullyQualifiedName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullyQualifiedName_ = s; return s; @@ -720,20 +798,21 @@ public java.lang.String getFullyQualifiedName() { } } /** + * + * *
      * Fully qualified name (FQN) of the external table.
      * 
* * string fully_qualified_name = 28; + * * @return The bytes for fullyQualifiedName. */ - public com.google.protobuf.ByteString - getFullyQualifiedNameBytes() { + public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { java.lang.Object ref = fullyQualifiedName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fullyQualifiedName_ = b; return b; } else { @@ -741,28 +820,35 @@ public java.lang.String getFullyQualifiedName() { } } /** + * + * *
      * Fully qualified name (FQN) of the external table.
      * 
* * string fully_qualified_name = 28; + * * @param value The fullyQualifiedName to set. * @return This builder for chaining. */ - public Builder setFullyQualifiedName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFullyQualifiedName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } fullyQualifiedName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Fully qualified name (FQN) of the external table.
      * 
* * string fully_qualified_name = 28; + * * @return This builder for chaining. */ public Builder clearFullyQualifiedName() { @@ -772,17 +858,21 @@ public Builder clearFullyQualifiedName() { return this; } /** + * + * *
      * Fully qualified name (FQN) of the external table.
      * 
* * string fully_qualified_name = 28; + * * @param value The bytes for fullyQualifiedName to set. * @return This builder for chaining. */ - public Builder setFullyQualifiedNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFullyQualifiedNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); fullyQualifiedName_ = value; bitField0_ |= 0x00000002; @@ -792,18 +882,20 @@ public Builder setFullyQualifiedNameBytes( private java.lang.Object googleCloudResource_ = ""; /** + * + * *
      * Google Cloud resource name of the external table.
      * 
* * string google_cloud_resource = 3; + * * @return The googleCloudResource. */ public java.lang.String getGoogleCloudResource() { java.lang.Object ref = googleCloudResource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); googleCloudResource_ = s; return s; @@ -812,20 +904,21 @@ public java.lang.String getGoogleCloudResource() { } } /** + * + * *
      * Google Cloud resource name of the external table.
      * 
* * string google_cloud_resource = 3; + * * @return The bytes for googleCloudResource. */ - public com.google.protobuf.ByteString - getGoogleCloudResourceBytes() { + public com.google.protobuf.ByteString getGoogleCloudResourceBytes() { java.lang.Object ref = googleCloudResource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); googleCloudResource_ = b; return b; } else { @@ -833,28 +926,35 @@ public java.lang.String getGoogleCloudResource() { } } /** + * + * *
      * Google Cloud resource name of the external table.
      * 
* * string google_cloud_resource = 3; + * * @param value The googleCloudResource to set. * @return This builder for chaining. */ - public Builder setGoogleCloudResource( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGoogleCloudResource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } googleCloudResource_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Google Cloud resource name of the external table.
      * 
* * string google_cloud_resource = 3; + * * @return This builder for chaining. */ public Builder clearGoogleCloudResource() { @@ -864,17 +964,21 @@ public Builder clearGoogleCloudResource() { return this; } /** + * + * *
      * Google Cloud resource name of the external table.
      * 
* * string google_cloud_resource = 3; + * * @param value The bytes for googleCloudResource to set. * @return This builder for chaining. */ - public Builder setGoogleCloudResourceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGoogleCloudResourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); googleCloudResource_ = value; bitField0_ |= 0x00000004; @@ -884,18 +988,20 @@ public Builder setGoogleCloudResourceBytes( private java.lang.Object dataCatalogEntry_ = ""; /** + * + * *
      * Name of the Data Catalog entry representing the external table.
      * 
* * string data_catalog_entry = 4; + * * @return The dataCatalogEntry. */ public java.lang.String getDataCatalogEntry() { java.lang.Object ref = dataCatalogEntry_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataCatalogEntry_ = s; return s; @@ -904,20 +1010,21 @@ public java.lang.String getDataCatalogEntry() { } } /** + * + * *
      * Name of the Data Catalog entry representing the external table.
      * 
* * string data_catalog_entry = 4; + * * @return The bytes for dataCatalogEntry. */ - public com.google.protobuf.ByteString - getDataCatalogEntryBytes() { + public com.google.protobuf.ByteString getDataCatalogEntryBytes() { java.lang.Object ref = dataCatalogEntry_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataCatalogEntry_ = b; return b; } else { @@ -925,28 +1032,35 @@ public java.lang.String getDataCatalogEntry() { } } /** + * + * *
      * Name of the Data Catalog entry representing the external table.
      * 
* * string data_catalog_entry = 4; + * * @param value The dataCatalogEntry to set. * @return This builder for chaining. */ - public Builder setDataCatalogEntry( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataCatalogEntry(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } dataCatalogEntry_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Name of the Data Catalog entry representing the external table.
      * 
* * string data_catalog_entry = 4; + * * @return This builder for chaining. */ public Builder clearDataCatalogEntry() { @@ -956,26 +1070,30 @@ public Builder clearDataCatalogEntry() { return this; } /** + * + * *
      * Name of the Data Catalog entry representing the external table.
      * 
* * string data_catalog_entry = 4; + * * @param value The bytes for dataCatalogEntry to set. * @return This builder for chaining. */ - public Builder setDataCatalogEntryBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataCatalogEntryBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); dataCatalogEntry_ = 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); } @@ -985,12 +1103,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.DataplexExternalTable) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DataplexExternalTable) private static final com.google.cloud.datacatalog.v1.DataplexExternalTable DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DataplexExternalTable(); } @@ -999,27 +1117,27 @@ public static com.google.cloud.datacatalog.v1.DataplexExternalTable getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataplexExternalTable parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataplexExternalTable parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1034,6 +1152,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.DataplexExternalTable getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTableOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTableOrBuilder.java similarity index 68% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTableOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTableOrBuilder.java index c1b9528d1c1d..8b6e5b480785 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTableOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTableOrBuilder.java @@ -1,88 +1,125 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/dataplex_spec.proto package com.google.cloud.datacatalog.v1; -public interface DataplexExternalTableOrBuilder extends +public interface DataplexExternalTableOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DataplexExternalTable) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Service in which the external table is registered.
    * 
* * .google.cloud.datacatalog.v1.IntegratedSystem system = 1; + * * @return The enum numeric value on the wire for system. */ int getSystemValue(); /** + * + * *
    * Service in which the external table is registered.
    * 
* * .google.cloud.datacatalog.v1.IntegratedSystem system = 1; + * * @return The system. */ com.google.cloud.datacatalog.v1.IntegratedSystem getSystem(); /** + * + * *
    * Fully qualified name (FQN) of the external table.
    * 
* * string fully_qualified_name = 28; + * * @return The fullyQualifiedName. */ java.lang.String getFullyQualifiedName(); /** + * + * *
    * Fully qualified name (FQN) of the external table.
    * 
* * string fully_qualified_name = 28; + * * @return The bytes for fullyQualifiedName. */ - com.google.protobuf.ByteString - getFullyQualifiedNameBytes(); + com.google.protobuf.ByteString getFullyQualifiedNameBytes(); /** + * + * *
    * Google Cloud resource name of the external table.
    * 
* * string google_cloud_resource = 3; + * * @return The googleCloudResource. */ java.lang.String getGoogleCloudResource(); /** + * + * *
    * Google Cloud resource name of the external table.
    * 
* * string google_cloud_resource = 3; + * * @return The bytes for googleCloudResource. */ - com.google.protobuf.ByteString - getGoogleCloudResourceBytes(); + com.google.protobuf.ByteString getGoogleCloudResourceBytes(); /** + * + * *
    * Name of the Data Catalog entry representing the external table.
    * 
* * string data_catalog_entry = 4; + * * @return The dataCatalogEntry. */ java.lang.String getDataCatalogEntry(); /** + * + * *
    * Name of the Data Catalog entry representing the external table.
    * 
* * string data_catalog_entry = 4; + * * @return The bytes for dataCatalogEntry. */ - com.google.protobuf.ByteString - getDataCatalogEntryBytes(); + com.google.protobuf.ByteString getDataCatalogEntryBytes(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpec.java similarity index 65% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpec.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpec.java index 69581c365827..f7c00d3bd881 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpec.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/datacatalog/v1/dataplex_spec.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Entry specyfication for a Dataplex fileset.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.DataplexFilesetSpec} */ -public final class DataplexFilesetSpec extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DataplexFilesetSpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.DataplexFilesetSpec) DataplexFilesetSpecOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DataplexFilesetSpec.newBuilder() to construct. private DataplexFilesetSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DataplexFilesetSpec() { - } + + private DataplexFilesetSpec() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataplexFilesetSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.DataplexSpecProto + .internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.DataplexSpecProto + .internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.DataplexFilesetSpec.class, com.google.cloud.datacatalog.v1.DataplexFilesetSpec.Builder.class); + com.google.cloud.datacatalog.v1.DataplexFilesetSpec.class, + com.google.cloud.datacatalog.v1.DataplexFilesetSpec.Builder.class); } public static final int DATAPLEX_SPEC_FIELD_NUMBER = 1; private com.google.cloud.datacatalog.v1.DataplexSpec dataplexSpec_; /** + * + * *
    * Common Dataplex fields.
    * 
* * .google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 1; + * * @return Whether the dataplexSpec field is set. */ @java.lang.Override @@ -57,18 +78,25 @@ public boolean hasDataplexSpec() { return dataplexSpec_ != null; } /** + * + * *
    * Common Dataplex fields.
    * 
* * .google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 1; + * * @return The dataplexSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.DataplexSpec getDataplexSpec() { - return dataplexSpec_ == null ? com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance() : dataplexSpec_; + return dataplexSpec_ == null + ? com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance() + : dataplexSpec_; } /** + * + * *
    * Common Dataplex fields.
    * 
@@ -77,10 +105,13 @@ public com.google.cloud.datacatalog.v1.DataplexSpec getDataplexSpec() { */ @java.lang.Override public com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder getDataplexSpecOrBuilder() { - return dataplexSpec_ == null ? com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance() : dataplexSpec_; + return dataplexSpec_ == null + ? com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance() + : dataplexSpec_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -92,8 +123,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (dataplexSpec_ != null) { output.writeMessage(1, getDataplexSpec()); } @@ -107,8 +137,7 @@ public int getSerializedSize() { size = 0; if (dataplexSpec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDataplexSpec()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDataplexSpec()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -118,17 +147,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.datacatalog.v1.DataplexFilesetSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.DataplexFilesetSpec other = (com.google.cloud.datacatalog.v1.DataplexFilesetSpec) obj; + com.google.cloud.datacatalog.v1.DataplexFilesetSpec other = + (com.google.cloud.datacatalog.v1.DataplexFilesetSpec) obj; if (hasDataplexSpec() != other.hasDataplexSpec()) return false; if (hasDataplexSpec()) { - if (!getDataplexSpec() - .equals(other.getDataplexSpec())) return false; + if (!getDataplexSpec().equals(other.getDataplexSpec())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -151,131 +180,135 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.DataplexFilesetSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DataplexFilesetSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DataplexFilesetSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DataplexFilesetSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DataplexFilesetSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DataplexFilesetSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DataplexFilesetSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.DataplexFilesetSpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.DataplexFilesetSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DataplexFilesetSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DataplexFilesetSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.DataplexFilesetSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DataplexFilesetSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.DataplexFilesetSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.DataplexFilesetSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Entry specyfication for a Dataplex fileset.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.DataplexFilesetSpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.DataplexFilesetSpec) com.google.cloud.datacatalog.v1.DataplexFilesetSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.DataplexSpecProto + .internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.DataplexSpecProto + .internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.DataplexFilesetSpec.class, com.google.cloud.datacatalog.v1.DataplexFilesetSpec.Builder.class); + com.google.cloud.datacatalog.v1.DataplexFilesetSpec.class, + com.google.cloud.datacatalog.v1.DataplexFilesetSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.DataplexFilesetSpec.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - 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 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.DataplexSpecProto + .internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_descriptor; } @java.lang.Override @@ -310,8 +343,11 @@ public com.google.cloud.datacatalog.v1.DataplexFilesetSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1.DataplexFilesetSpec buildPartial() { - com.google.cloud.datacatalog.v1.DataplexFilesetSpec result = new com.google.cloud.datacatalog.v1.DataplexFilesetSpec(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1.DataplexFilesetSpec result = + new com.google.cloud.datacatalog.v1.DataplexFilesetSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -319,9 +355,8 @@ public com.google.cloud.datacatalog.v1.DataplexFilesetSpec buildPartial() { private void buildPartial0(com.google.cloud.datacatalog.v1.DataplexFilesetSpec result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.dataplexSpec_ = dataplexSpecBuilder_ == null - ? dataplexSpec_ - : dataplexSpecBuilder_.build(); + result.dataplexSpec_ = + dataplexSpecBuilder_ == null ? dataplexSpec_ : dataplexSpecBuilder_.build(); } } @@ -329,38 +364,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DataplexFilesetSpec 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.datacatalog.v1.DataplexFilesetSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1.DataplexFilesetSpec)other); + return mergeFrom((com.google.cloud.datacatalog.v1.DataplexFilesetSpec) 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.datacatalog.v1.DataplexFilesetSpec other) { - if (other == com.google.cloud.datacatalog.v1.DataplexFilesetSpec.getDefaultInstance()) return this; + if (other == com.google.cloud.datacatalog.v1.DataplexFilesetSpec.getDefaultInstance()) + return this; if (other.hasDataplexSpec()) { mergeDataplexSpec(other.getDataplexSpec()); } @@ -398,19 +435,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getDataplexSpecFieldBuilder().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(getDataplexSpecFieldBuilder().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,38 +457,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.datacatalog.v1.DataplexSpec dataplexSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.DataplexSpec, com.google.cloud.datacatalog.v1.DataplexSpec.Builder, com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder> dataplexSpecBuilder_; + com.google.cloud.datacatalog.v1.DataplexSpec, + com.google.cloud.datacatalog.v1.DataplexSpec.Builder, + com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder> + dataplexSpecBuilder_; /** + * + * *
      * Common Dataplex fields.
      * 
* * .google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 1; + * * @return Whether the dataplexSpec field is set. */ public boolean hasDataplexSpec() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Common Dataplex fields.
      * 
* * .google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 1; + * * @return The dataplexSpec. */ public com.google.cloud.datacatalog.v1.DataplexSpec getDataplexSpec() { if (dataplexSpecBuilder_ == null) { - return dataplexSpec_ == null ? com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance() : dataplexSpec_; + return dataplexSpec_ == null + ? com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance() + : dataplexSpec_; } else { return dataplexSpecBuilder_.getMessage(); } } /** + * + * *
      * Common Dataplex fields.
      * 
@@ -472,6 +523,8 @@ public Builder setDataplexSpec(com.google.cloud.datacatalog.v1.DataplexSpec valu return this; } /** + * + * *
      * Common Dataplex fields.
      * 
@@ -490,6 +543,8 @@ public Builder setDataplexSpec( return this; } /** + * + * *
      * Common Dataplex fields.
      * 
@@ -498,9 +553,9 @@ public Builder setDataplexSpec( */ public Builder mergeDataplexSpec(com.google.cloud.datacatalog.v1.DataplexSpec value) { if (dataplexSpecBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - dataplexSpec_ != null && - dataplexSpec_ != com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && dataplexSpec_ != null + && dataplexSpec_ != com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance()) { getDataplexSpecBuilder().mergeFrom(value); } else { dataplexSpec_ = value; @@ -513,6 +568,8 @@ public Builder mergeDataplexSpec(com.google.cloud.datacatalog.v1.DataplexSpec va return this; } /** + * + * *
      * Common Dataplex fields.
      * 
@@ -530,6 +587,8 @@ public Builder clearDataplexSpec() { return this; } /** + * + * *
      * Common Dataplex fields.
      * 
@@ -542,6 +601,8 @@ public com.google.cloud.datacatalog.v1.DataplexSpec.Builder getDataplexSpecBuild return getDataplexSpecFieldBuilder().getBuilder(); } /** + * + * *
      * Common Dataplex fields.
      * 
@@ -552,11 +613,14 @@ public com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder getDataplexSpecOrBu if (dataplexSpecBuilder_ != null) { return dataplexSpecBuilder_.getMessageOrBuilder(); } else { - return dataplexSpec_ == null ? - com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance() : dataplexSpec_; + return dataplexSpec_ == null + ? com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance() + : dataplexSpec_; } } /** + * + * *
      * Common Dataplex fields.
      * 
@@ -564,21 +628,24 @@ public com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder getDataplexSpecOrBu * .google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.DataplexSpec, com.google.cloud.datacatalog.v1.DataplexSpec.Builder, com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder> + com.google.cloud.datacatalog.v1.DataplexSpec, + com.google.cloud.datacatalog.v1.DataplexSpec.Builder, + com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder> getDataplexSpecFieldBuilder() { if (dataplexSpecBuilder_ == null) { - dataplexSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.DataplexSpec, com.google.cloud.datacatalog.v1.DataplexSpec.Builder, com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder>( - getDataplexSpec(), - getParentForChildren(), - isClean()); + dataplexSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.DataplexSpec, + com.google.cloud.datacatalog.v1.DataplexSpec.Builder, + com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder>( + getDataplexSpec(), getParentForChildren(), isClean()); dataplexSpec_ = null; } return dataplexSpecBuilder_; } + @java.lang.Override - 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 +655,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.DataplexFilesetSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DataplexFilesetSpec) private static final com.google.cloud.datacatalog.v1.DataplexFilesetSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DataplexFilesetSpec(); } @@ -602,27 +669,27 @@ public static com.google.cloud.datacatalog.v1.DataplexFilesetSpec getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataplexFilesetSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataplexFilesetSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +704,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.DataplexFilesetSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpecOrBuilder.java similarity index 59% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpecOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpecOrBuilder.java index 111c8a153491..f3705ed41c51 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpecOrBuilder.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/datacatalog/v1/dataplex_spec.proto package com.google.cloud.datacatalog.v1; -public interface DataplexFilesetSpecOrBuilder extends +public interface DataplexFilesetSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DataplexFilesetSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Common Dataplex fields.
    * 
* * .google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 1; + * * @return Whether the dataplexSpec field is set. */ boolean hasDataplexSpec(); /** + * + * *
    * Common Dataplex fields.
    * 
* * .google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 1; + * * @return The dataplexSpec. */ com.google.cloud.datacatalog.v1.DataplexSpec getDataplexSpec(); /** + * + * *
    * Common Dataplex fields.
    * 
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpec.java similarity index 70% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpec.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpec.java index 55747646182e..4af7a31cfa63 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpec.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/datacatalog/v1/dataplex_spec.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Common Dataplex fields.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.DataplexSpec} */ -public final class DataplexSpec extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DataplexSpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.DataplexSpec) DataplexSpecOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DataplexSpec.newBuilder() to construct. private DataplexSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DataplexSpec() { asset_ = ""; compressionFormat_ = ""; @@ -27,28 +45,32 @@ private DataplexSpec() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataplexSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.DataplexSpecProto + .internal_static_google_cloud_datacatalog_v1_DataplexSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.DataplexSpecProto + .internal_static_google_cloud_datacatalog_v1_DataplexSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.DataplexSpec.class, com.google.cloud.datacatalog.v1.DataplexSpec.Builder.class); + com.google.cloud.datacatalog.v1.DataplexSpec.class, + com.google.cloud.datacatalog.v1.DataplexSpec.Builder.class); } public static final int ASSET_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object asset_ = ""; /** + * + * *
    * Fully qualified resource name of an asset in Dataplex, to which the
    * underlying data source (Cloud Storage bucket or BigQuery dataset) of the
@@ -56,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * string asset = 1; + * * @return The asset. */ @java.lang.Override @@ -64,14 +87,15 @@ public java.lang.String getAsset() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); asset_ = s; return s; } } /** + * + * *
    * Fully qualified resource name of an asset in Dataplex, to which the
    * underlying data source (Cloud Storage bucket or BigQuery dataset) of the
@@ -79,16 +103,15 @@ public java.lang.String getAsset() {
    * 
* * 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 { @@ -99,11 +122,14 @@ public java.lang.String getAsset() { public static final int DATA_FORMAT_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1.PhysicalSchema dataFormat_; /** + * + * *
    * Format of the data.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema data_format = 2; + * * @return Whether the dataFormat field is set. */ @java.lang.Override @@ -111,18 +137,25 @@ public boolean hasDataFormat() { return dataFormat_ != null; } /** + * + * *
    * Format of the data.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema data_format = 2; + * * @return The dataFormat. */ @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema getDataFormat() { - return dataFormat_ == null ? com.google.cloud.datacatalog.v1.PhysicalSchema.getDefaultInstance() : dataFormat_; + return dataFormat_ == null + ? com.google.cloud.datacatalog.v1.PhysicalSchema.getDefaultInstance() + : dataFormat_; } /** + * + * *
    * Format of the data.
    * 
@@ -131,18 +164,24 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema getDataFormat() { */ @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchemaOrBuilder getDataFormatOrBuilder() { - return dataFormat_ == null ? com.google.cloud.datacatalog.v1.PhysicalSchema.getDefaultInstance() : dataFormat_; + return dataFormat_ == null + ? com.google.cloud.datacatalog.v1.PhysicalSchema.getDefaultInstance() + : dataFormat_; } public static final int COMPRESSION_FORMAT_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object compressionFormat_ = ""; /** + * + * *
    * Compression format of the data, e.g., zip, gzip etc.
    * 
* * string compression_format = 3; + * * @return The compressionFormat. */ @java.lang.Override @@ -151,29 +190,29 @@ public java.lang.String getCompressionFormat() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); compressionFormat_ = s; return s; } } /** + * + * *
    * Compression format of the data, e.g., zip, gzip etc.
    * 
* * string compression_format = 3; + * * @return The bytes for compressionFormat. */ @java.lang.Override - public com.google.protobuf.ByteString - getCompressionFormatBytes() { + public com.google.protobuf.ByteString getCompressionFormatBytes() { java.lang.Object ref = compressionFormat_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); compressionFormat_ = b; return b; } else { @@ -182,9 +221,12 @@ public java.lang.String getCompressionFormat() { } public static final int PROJECT_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** + * + * *
    * Project ID of the underlying Cloud Storage or BigQuery data. Note that
    * this may not be the same project as the correspondingly Dataplex lake /
@@ -192,6 +234,7 @@ public java.lang.String getCompressionFormat() {
    * 
* * string project_id = 4; + * * @return The projectId. */ @java.lang.Override @@ -200,14 +243,15 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Project ID of the underlying Cloud Storage or BigQuery data. Note that
    * this may not be the same project as the correspondingly Dataplex lake /
@@ -215,16 +259,15 @@ public java.lang.String getProjectId() {
    * 
* * string project_id = 4; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -233,6 +276,7 @@ public java.lang.String getProjectId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,8 +288,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(asset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, asset_); } @@ -271,8 +314,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, asset_); } if (dataFormat_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getDataFormat()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDataFormat()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(compressionFormat_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, compressionFormat_); @@ -288,24 +330,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.datacatalog.v1.DataplexSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.DataplexSpec other = (com.google.cloud.datacatalog.v1.DataplexSpec) obj; + com.google.cloud.datacatalog.v1.DataplexSpec other = + (com.google.cloud.datacatalog.v1.DataplexSpec) obj; - if (!getAsset() - .equals(other.getAsset())) return false; + if (!getAsset().equals(other.getAsset())) return false; if (hasDataFormat() != other.hasDataFormat()) return false; if (hasDataFormat()) { - if (!getDataFormat() - .equals(other.getDataFormat())) return false; + if (!getDataFormat().equals(other.getDataFormat())) return false; } - if (!getCompressionFormat() - .equals(other.getCompressionFormat())) return false; - if (!getProjectId() - .equals(other.getProjectId())) return false; + if (!getCompressionFormat().equals(other.getCompressionFormat())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -332,132 +371,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.DataplexSpec parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.DataplexSpec parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DataplexSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DataplexSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DataplexSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DataplexSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DataplexSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DataplexSpec parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.DataplexSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DataplexSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DataplexSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.DataplexSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DataplexSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.DataplexSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.DataplexSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Common Dataplex fields.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.DataplexSpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.DataplexSpec) com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.DataplexSpecProto + .internal_static_google_cloud_datacatalog_v1_DataplexSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.DataplexSpecProto + .internal_static_google_cloud_datacatalog_v1_DataplexSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.DataplexSpec.class, com.google.cloud.datacatalog.v1.DataplexSpec.Builder.class); + com.google.cloud.datacatalog.v1.DataplexSpec.class, + com.google.cloud.datacatalog.v1.DataplexSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.DataplexSpec.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - 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 +517,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.DataplexSpecProto + .internal_static_google_cloud_datacatalog_v1_DataplexSpec_descriptor; } @java.lang.Override @@ -495,8 +538,11 @@ public com.google.cloud.datacatalog.v1.DataplexSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1.DataplexSpec buildPartial() { - com.google.cloud.datacatalog.v1.DataplexSpec result = new com.google.cloud.datacatalog.v1.DataplexSpec(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1.DataplexSpec result = + new com.google.cloud.datacatalog.v1.DataplexSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -507,9 +553,7 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DataplexSpec result) result.asset_ = asset_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.dataFormat_ = dataFormatBuilder_ == null - ? dataFormat_ - : dataFormatBuilder_.build(); + result.dataFormat_ = dataFormatBuilder_ == null ? dataFormat_ : dataFormatBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.compressionFormat_ = compressionFormat_; @@ -523,38 +567,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DataplexSpec result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.DataplexSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1.DataplexSpec)other); + return mergeFrom((com.google.cloud.datacatalog.v1.DataplexSpec) other); } else { super.mergeFrom(other); return this; @@ -607,34 +652,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - asset_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getDataFormatFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - compressionFormat_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + asset_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getDataFormatFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + compressionFormat_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + projectId_ = 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) { @@ -644,10 +692,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object asset_ = ""; /** + * + * *
      * Fully qualified resource name of an asset in Dataplex, to which the
      * underlying data source (Cloud Storage bucket or BigQuery dataset) of the
@@ -655,13 +706,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -670,6 +721,8 @@ public java.lang.String getAsset() { } } /** + * + * *
      * Fully qualified resource name of an asset in Dataplex, to which the
      * underlying data source (Cloud Storage bucket or BigQuery dataset) of the
@@ -677,15 +730,14 @@ public java.lang.String getAsset() {
      * 
* * 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 { @@ -693,6 +745,8 @@ public java.lang.String getAsset() { } } /** + * + * *
      * Fully qualified resource name of an asset in Dataplex, to which the
      * underlying data source (Cloud Storage bucket or BigQuery dataset) of the
@@ -700,18 +754,22 @@ public java.lang.String getAsset() {
      * 
* * 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; } /** + * + * *
      * Fully qualified resource name of an asset in Dataplex, to which the
      * underlying data source (Cloud Storage bucket or BigQuery dataset) of the
@@ -719,6 +777,7 @@ public Builder setAsset(
      * 
* * string asset = 1; + * * @return This builder for chaining. */ public Builder clearAsset() { @@ -728,6 +787,8 @@ public Builder clearAsset() { return this; } /** + * + * *
      * Fully qualified resource name of an asset in Dataplex, to which the
      * underlying data source (Cloud Storage bucket or BigQuery dataset) of the
@@ -735,12 +796,14 @@ public Builder clearAsset() {
      * 
* * 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; @@ -750,34 +813,47 @@ public Builder setAssetBytes( private com.google.cloud.datacatalog.v1.PhysicalSchema dataFormat_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchemaOrBuilder> dataFormatBuilder_; + com.google.cloud.datacatalog.v1.PhysicalSchema, + com.google.cloud.datacatalog.v1.PhysicalSchema.Builder, + com.google.cloud.datacatalog.v1.PhysicalSchemaOrBuilder> + dataFormatBuilder_; /** + * + * *
      * Format of the data.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema data_format = 2; + * * @return Whether the dataFormat field is set. */ public boolean hasDataFormat() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Format of the data.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema data_format = 2; + * * @return The dataFormat. */ public com.google.cloud.datacatalog.v1.PhysicalSchema getDataFormat() { if (dataFormatBuilder_ == null) { - return dataFormat_ == null ? com.google.cloud.datacatalog.v1.PhysicalSchema.getDefaultInstance() : dataFormat_; + return dataFormat_ == null + ? com.google.cloud.datacatalog.v1.PhysicalSchema.getDefaultInstance() + : dataFormat_; } else { return dataFormatBuilder_.getMessage(); } } /** + * + * *
      * Format of the data.
      * 
@@ -798,6 +874,8 @@ public Builder setDataFormat(com.google.cloud.datacatalog.v1.PhysicalSchema valu return this; } /** + * + * *
      * Format of the data.
      * 
@@ -816,6 +894,8 @@ public Builder setDataFormat( return this; } /** + * + * *
      * Format of the data.
      * 
@@ -824,9 +904,9 @@ public Builder setDataFormat( */ public Builder mergeDataFormat(com.google.cloud.datacatalog.v1.PhysicalSchema value) { if (dataFormatBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - dataFormat_ != null && - dataFormat_ != com.google.cloud.datacatalog.v1.PhysicalSchema.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && dataFormat_ != null + && dataFormat_ != com.google.cloud.datacatalog.v1.PhysicalSchema.getDefaultInstance()) { getDataFormatBuilder().mergeFrom(value); } else { dataFormat_ = value; @@ -839,6 +919,8 @@ public Builder mergeDataFormat(com.google.cloud.datacatalog.v1.PhysicalSchema va return this; } /** + * + * *
      * Format of the data.
      * 
@@ -856,6 +938,8 @@ public Builder clearDataFormat() { return this; } /** + * + * *
      * Format of the data.
      * 
@@ -868,6 +952,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.Builder getDataFormatBuild return getDataFormatFieldBuilder().getBuilder(); } /** + * + * *
      * Format of the data.
      * 
@@ -878,11 +964,14 @@ public com.google.cloud.datacatalog.v1.PhysicalSchemaOrBuilder getDataFormatOrBu if (dataFormatBuilder_ != null) { return dataFormatBuilder_.getMessageOrBuilder(); } else { - return dataFormat_ == null ? - com.google.cloud.datacatalog.v1.PhysicalSchema.getDefaultInstance() : dataFormat_; + return dataFormat_ == null + ? com.google.cloud.datacatalog.v1.PhysicalSchema.getDefaultInstance() + : dataFormat_; } } /** + * + * *
      * Format of the data.
      * 
@@ -890,14 +979,17 @@ public com.google.cloud.datacatalog.v1.PhysicalSchemaOrBuilder getDataFormatOrBu * .google.cloud.datacatalog.v1.PhysicalSchema data_format = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchemaOrBuilder> + com.google.cloud.datacatalog.v1.PhysicalSchema, + com.google.cloud.datacatalog.v1.PhysicalSchema.Builder, + com.google.cloud.datacatalog.v1.PhysicalSchemaOrBuilder> getDataFormatFieldBuilder() { if (dataFormatBuilder_ == null) { - dataFormatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchemaOrBuilder>( - getDataFormat(), - getParentForChildren(), - isClean()); + dataFormatBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.PhysicalSchema, + com.google.cloud.datacatalog.v1.PhysicalSchema.Builder, + com.google.cloud.datacatalog.v1.PhysicalSchemaOrBuilder>( + getDataFormat(), getParentForChildren(), isClean()); dataFormat_ = null; } return dataFormatBuilder_; @@ -905,18 +997,20 @@ public com.google.cloud.datacatalog.v1.PhysicalSchemaOrBuilder getDataFormatOrBu private java.lang.Object compressionFormat_ = ""; /** + * + * *
      * Compression format of the data, e.g., zip, gzip etc.
      * 
* * string compression_format = 3; + * * @return The compressionFormat. */ public java.lang.String getCompressionFormat() { java.lang.Object ref = compressionFormat_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); compressionFormat_ = s; return s; @@ -925,20 +1019,21 @@ public java.lang.String getCompressionFormat() { } } /** + * + * *
      * Compression format of the data, e.g., zip, gzip etc.
      * 
* * string compression_format = 3; + * * @return The bytes for compressionFormat. */ - public com.google.protobuf.ByteString - getCompressionFormatBytes() { + public com.google.protobuf.ByteString getCompressionFormatBytes() { java.lang.Object ref = compressionFormat_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); compressionFormat_ = b; return b; } else { @@ -946,28 +1041,35 @@ public java.lang.String getCompressionFormat() { } } /** + * + * *
      * Compression format of the data, e.g., zip, gzip etc.
      * 
* * string compression_format = 3; + * * @param value The compressionFormat to set. * @return This builder for chaining. */ - public Builder setCompressionFormat( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCompressionFormat(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } compressionFormat_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Compression format of the data, e.g., zip, gzip etc.
      * 
* * string compression_format = 3; + * * @return This builder for chaining. */ public Builder clearCompressionFormat() { @@ -977,17 +1079,21 @@ public Builder clearCompressionFormat() { return this; } /** + * + * *
      * Compression format of the data, e.g., zip, gzip etc.
      * 
* * string compression_format = 3; + * * @param value The bytes for compressionFormat to set. * @return This builder for chaining. */ - public Builder setCompressionFormatBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCompressionFormatBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); compressionFormat_ = value; bitField0_ |= 0x00000004; @@ -997,6 +1103,8 @@ public Builder setCompressionFormatBytes( private java.lang.Object projectId_ = ""; /** + * + * *
      * Project ID of the underlying Cloud Storage or BigQuery data. Note that
      * this may not be the same project as the correspondingly Dataplex lake /
@@ -1004,13 +1112,13 @@ public Builder setCompressionFormatBytes(
      * 
* * string project_id = 4; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -1019,6 +1127,8 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Project ID of the underlying Cloud Storage or BigQuery data. Note that
      * this may not be the same project as the correspondingly Dataplex lake /
@@ -1026,15 +1136,14 @@ public java.lang.String getProjectId() {
      * 
* * string project_id = 4; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -1042,6 +1151,8 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Project ID of the underlying Cloud Storage or BigQuery data. Note that
      * this may not be the same project as the correspondingly Dataplex lake /
@@ -1049,18 +1160,22 @@ public java.lang.String getProjectId() {
      * 
* * string project_id = 4; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } projectId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Project ID of the underlying Cloud Storage or BigQuery data. Note that
      * this may not be the same project as the correspondingly Dataplex lake /
@@ -1068,6 +1183,7 @@ public Builder setProjectId(
      * 
* * string project_id = 4; + * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -1077,6 +1193,8 @@ public Builder clearProjectId() { return this; } /** + * + * *
      * Project ID of the underlying Cloud Storage or BigQuery data. Note that
      * this may not be the same project as the correspondingly Dataplex lake /
@@ -1084,21 +1202,23 @@ public Builder clearProjectId() {
      * 
* * string project_id = 4; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); projectId_ = 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); } @@ -1108,12 +1228,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.DataplexSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DataplexSpec) private static final com.google.cloud.datacatalog.v1.DataplexSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DataplexSpec(); } @@ -1122,27 +1242,27 @@ public static com.google.cloud.datacatalog.v1.DataplexSpec getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataplexSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataplexSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1157,6 +1277,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.DataplexSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecOrBuilder.java similarity index 73% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecOrBuilder.java index cb2db7ffee4f..956de6b2d557 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecOrBuilder.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/datacatalog/v1/dataplex_spec.proto package com.google.cloud.datacatalog.v1; -public interface DataplexSpecOrBuilder extends +public interface DataplexSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DataplexSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Fully qualified resource name of an asset in Dataplex, to which the
    * underlying data source (Cloud Storage bucket or BigQuery dataset) of the
@@ -15,10 +33,13 @@ public interface DataplexSpecOrBuilder extends
    * 
* * string asset = 1; + * * @return The asset. */ java.lang.String getAsset(); /** + * + * *
    * Fully qualified resource name of an asset in Dataplex, to which the
    * underlying data source (Cloud Storage bucket or BigQuery dataset) of the
@@ -26,30 +47,38 @@ public interface DataplexSpecOrBuilder extends
    * 
* * string asset = 1; + * * @return The bytes for asset. */ - com.google.protobuf.ByteString - getAssetBytes(); + com.google.protobuf.ByteString getAssetBytes(); /** + * + * *
    * Format of the data.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema data_format = 2; + * * @return Whether the dataFormat field is set. */ boolean hasDataFormat(); /** + * + * *
    * Format of the data.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema data_format = 2; + * * @return The dataFormat. */ com.google.cloud.datacatalog.v1.PhysicalSchema getDataFormat(); /** + * + * *
    * Format of the data.
    * 
@@ -59,26 +88,33 @@ public interface DataplexSpecOrBuilder extends com.google.cloud.datacatalog.v1.PhysicalSchemaOrBuilder getDataFormatOrBuilder(); /** + * + * *
    * Compression format of the data, e.g., zip, gzip etc.
    * 
* * string compression_format = 3; + * * @return The compressionFormat. */ java.lang.String getCompressionFormat(); /** + * + * *
    * Compression format of the data, e.g., zip, gzip etc.
    * 
* * string compression_format = 3; + * * @return The bytes for compressionFormat. */ - com.google.protobuf.ByteString - getCompressionFormatBytes(); + com.google.protobuf.ByteString getCompressionFormatBytes(); /** + * + * *
    * Project ID of the underlying Cloud Storage or BigQuery data. Note that
    * this may not be the same project as the correspondingly Dataplex lake /
@@ -86,10 +122,13 @@ public interface DataplexSpecOrBuilder extends
    * 
* * string project_id = 4; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
    * Project ID of the underlying Cloud Storage or BigQuery data. Note that
    * this may not be the same project as the correspondingly Dataplex lake /
@@ -97,8 +136,8 @@ public interface DataplexSpecOrBuilder extends
    * 
* * string project_id = 4; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecProto.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecProto.java new file mode 100644 index 000000000000..c4c8720c3ab2 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecProto.java @@ -0,0 +1,125 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/dataplex_spec.proto + +package com.google.cloud.datacatalog.v1; + +public final class DataplexSpecProto { + private DataplexSpecProto() {} + + 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_datacatalog_v1_DataplexSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DataplexSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_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/datacatalog/v1/dataplex_s" + + "pec.proto\022\033google.cloud.datacatalog.v1\032(" + + "google/cloud/datacatalog/v1/common.proto" + + "\0321google/cloud/datacatalog/v1/physical_s" + + "chema.proto\"\217\001\n\014DataplexSpec\022\r\n\005asset\030\001 " + + "\001(\t\022@\n\013data_format\030\002 \001(\0132+.google.cloud." + + "datacatalog.v1.PhysicalSchema\022\032\n\022compres" + + "sion_format\030\003 \001(\t\022\022\n\nproject_id\030\004 \001(\t\"W\n" + + "\023DataplexFilesetSpec\022@\n\rdataplex_spec\030\001 " + + "\001(\0132).google.cloud.datacatalog.v1.Datapl" + + "exSpec\"\270\001\n\021DataplexTableSpec\022K\n\017external" + + "_tables\030\001 \003(\01322.google.cloud.datacatalog" + + ".v1.DataplexExternalTable\022@\n\rdataplex_sp" + + "ec\030\002 \001(\0132).google.cloud.datacatalog.v1.D" + + "ataplexSpec\022\024\n\014user_managed\030\003 \001(\010\"\257\001\n\025Da" + + "taplexExternalTable\022=\n\006system\030\001 \001(\0162-.go" + + "ogle.cloud.datacatalog.v1.IntegratedSyst" + + "em\022\034\n\024fully_qualified_name\030\034 \001(\t\022\035\n\025goog" + + "le_cloud_resource\030\003 \001(\t\022\032\n\022data_catalog_" + + "entry\030\004 \001(\tB\331\001\n\037com.google.cloud.datacat" + + "alog.v1B\021DataplexSpecProtoP\001ZAcloud.goog" + + "le.com/go/datacatalog/apiv1/datacatalogp" + + "b;datacatalogpb\370\001\001\252\002\033Google.Cloud.DataCa" + + "talog.V1\312\002\033Google\\Cloud\\DataCatalog\\V1\352\002" + + "\036Google::Cloud::DataCatalog::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.cloud.datacatalog.v1.Common.getDescriptor(), + com.google.cloud.datacatalog.v1.PhysicalSchemaProto.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1_DataplexSpec_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1_DataplexSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DataplexSpec_descriptor, + new java.lang.String[] { + "Asset", "DataFormat", "CompressionFormat", "ProjectId", + }); + internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_descriptor, + new java.lang.String[] { + "DataplexSpec", + }); + internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_descriptor, + new java.lang.String[] { + "ExternalTables", "DataplexSpec", "UserManaged", + }); + internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_descriptor, + new java.lang.String[] { + "System", "FullyQualifiedName", "GoogleCloudResource", "DataCatalogEntry", + }); + com.google.cloud.datacatalog.v1.Common.getDescriptor(); + com.google.cloud.datacatalog.v1.PhysicalSchemaProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpec.java similarity index 74% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpec.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpec.java index d6abc87373e1..e293816e6fbd 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpec.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/datacatalog/v1/dataplex_spec.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Entry specification for a Dataplex table.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.DataplexTableSpec} */ -public final class DataplexTableSpec extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DataplexTableSpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.DataplexTableSpec) DataplexTableSpecOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DataplexTableSpec.newBuilder() to construct. private DataplexTableSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DataplexTableSpec() { externalTables_ = 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 DataplexTableSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.DataplexSpecProto + .internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.DataplexSpecProto + .internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.DataplexTableSpec.class, com.google.cloud.datacatalog.v1.DataplexTableSpec.Builder.class); + com.google.cloud.datacatalog.v1.DataplexTableSpec.class, + com.google.cloud.datacatalog.v1.DataplexTableSpec.Builder.class); } public static final int EXTERNAL_TABLES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List externalTables_; /** + * + * *
    * List of external tables registered by Dataplex in other systems based on
    * the same underlying data.
@@ -57,10 +79,13 @@ protected java.lang.Object newInstance(
    * repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;
    */
   @java.lang.Override
-  public java.util.List getExternalTablesList() {
+  public java.util.List
+      getExternalTablesList() {
     return externalTables_;
   }
   /**
+   *
+   *
    * 
    * List of external tables registered by Dataplex in other systems based on
    * the same underlying data.
@@ -71,11 +96,13 @@ public java.util.List get
    * repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getExternalTablesOrBuilderList() {
     return externalTables_;
   }
   /**
+   *
+   *
    * 
    * List of external tables registered by Dataplex in other systems based on
    * the same underlying data.
@@ -90,6 +117,8 @@ public int getExternalTablesCount() {
     return externalTables_.size();
   }
   /**
+   *
+   *
    * 
    * List of external tables registered by Dataplex in other systems based on
    * the same underlying data.
@@ -104,6 +133,8 @@ public com.google.cloud.datacatalog.v1.DataplexExternalTable getExternalTables(i
     return externalTables_.get(index);
   }
   /**
+   *
+   *
    * 
    * List of external tables registered by Dataplex in other systems based on
    * the same underlying data.
@@ -122,11 +153,14 @@ public com.google.cloud.datacatalog.v1.DataplexExternalTableOrBuilder getExterna
   public static final int DATAPLEX_SPEC_FIELD_NUMBER = 2;
   private com.google.cloud.datacatalog.v1.DataplexSpec dataplexSpec_;
   /**
+   *
+   *
    * 
    * Common Dataplex fields.
    * 
* * .google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 2; + * * @return Whether the dataplexSpec field is set. */ @java.lang.Override @@ -134,18 +168,25 @@ public boolean hasDataplexSpec() { return dataplexSpec_ != null; } /** + * + * *
    * Common Dataplex fields.
    * 
* * .google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 2; + * * @return The dataplexSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.DataplexSpec getDataplexSpec() { - return dataplexSpec_ == null ? com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance() : dataplexSpec_; + return dataplexSpec_ == null + ? com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance() + : dataplexSpec_; } /** + * + * *
    * Common Dataplex fields.
    * 
@@ -154,17 +195,22 @@ public com.google.cloud.datacatalog.v1.DataplexSpec getDataplexSpec() { */ @java.lang.Override public com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder getDataplexSpecOrBuilder() { - return dataplexSpec_ == null ? com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance() : dataplexSpec_; + return dataplexSpec_ == null + ? com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance() + : dataplexSpec_; } public static final int USER_MANAGED_FIELD_NUMBER = 3; private boolean userManaged_ = false; /** + * + * *
    * Indicates if the table schema is managed by the user or not.
    * 
* * bool user_managed = 3; + * * @return The userManaged. */ @java.lang.Override @@ -173,6 +219,7 @@ public boolean getUserManaged() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -184,8 +231,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < externalTables_.size(); i++) { output.writeMessage(1, externalTables_.get(i)); } @@ -205,16 +251,13 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < externalTables_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, externalTables_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, externalTables_.get(i)); } if (dataplexSpec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getDataplexSpec()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDataplexSpec()); } if (userManaged_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, userManaged_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, userManaged_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -224,22 +267,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.datacatalog.v1.DataplexTableSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.DataplexTableSpec other = (com.google.cloud.datacatalog.v1.DataplexTableSpec) obj; + com.google.cloud.datacatalog.v1.DataplexTableSpec other = + (com.google.cloud.datacatalog.v1.DataplexTableSpec) obj; - if (!getExternalTablesList() - .equals(other.getExternalTablesList())) return false; + if (!getExternalTablesList().equals(other.getExternalTablesList())) return false; if (hasDataplexSpec() != other.hasDataplexSpec()) return false; if (hasDataplexSpec()) { - if (!getDataplexSpec() - .equals(other.getDataplexSpec())) return false; + if (!getDataplexSpec().equals(other.getDataplexSpec())) return false; } - if (getUserManaged() - != other.getUserManaged()) return false; + if (getUserManaged() != other.getUserManaged()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -260,139 +301,142 @@ public int hashCode() { hash = (53 * hash) + getDataplexSpec().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()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datacatalog.v1.DataplexTableSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DataplexTableSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DataplexTableSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DataplexTableSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DataplexTableSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DataplexTableSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DataplexTableSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.DataplexTableSpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.DataplexTableSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DataplexTableSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DataplexTableSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.DataplexTableSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DataplexTableSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.DataplexTableSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.DataplexTableSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Entry specification for a Dataplex table.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.DataplexTableSpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.DataplexTableSpec) com.google.cloud.datacatalog.v1.DataplexTableSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.DataplexSpecProto + .internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.DataplexSpecProto + .internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.DataplexTableSpec.class, com.google.cloud.datacatalog.v1.DataplexTableSpec.Builder.class); + com.google.cloud.datacatalog.v1.DataplexTableSpec.class, + com.google.cloud.datacatalog.v1.DataplexTableSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.DataplexTableSpec.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -414,9 +458,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.DataplexSpecProto.internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.DataplexSpecProto + .internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_descriptor; } @java.lang.Override @@ -435,14 +479,18 @@ public com.google.cloud.datacatalog.v1.DataplexTableSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1.DataplexTableSpec buildPartial() { - com.google.cloud.datacatalog.v1.DataplexTableSpec result = new com.google.cloud.datacatalog.v1.DataplexTableSpec(this); + com.google.cloud.datacatalog.v1.DataplexTableSpec result = + new com.google.cloud.datacatalog.v1.DataplexTableSpec(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1.DataplexTableSpec result) { + private void buildPartialRepeatedFields( + com.google.cloud.datacatalog.v1.DataplexTableSpec result) { if (externalTablesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { externalTables_ = java.util.Collections.unmodifiableList(externalTables_); @@ -457,9 +505,8 @@ private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1.Dataplex private void buildPartial0(com.google.cloud.datacatalog.v1.DataplexTableSpec result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { - result.dataplexSpec_ = dataplexSpecBuilder_ == null - ? dataplexSpec_ - : dataplexSpecBuilder_.build(); + result.dataplexSpec_ = + dataplexSpecBuilder_ == null ? dataplexSpec_ : dataplexSpecBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.userManaged_ = userManaged_; @@ -470,38 +517,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DataplexTableSpec 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.datacatalog.v1.DataplexTableSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1.DataplexTableSpec)other); + return mergeFrom((com.google.cloud.datacatalog.v1.DataplexTableSpec) other); } else { super.mergeFrom(other); return this; @@ -509,7 +557,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.DataplexTableSpec other) { - if (other == com.google.cloud.datacatalog.v1.DataplexTableSpec.getDefaultInstance()) return this; + if (other == com.google.cloud.datacatalog.v1.DataplexTableSpec.getDefaultInstance()) + return this; if (externalTablesBuilder_ == null) { if (!other.externalTables_.isEmpty()) { if (externalTables_.isEmpty()) { @@ -528,9 +577,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.DataplexTableSpec other externalTablesBuilder_ = null; externalTables_ = other.externalTables_; bitField0_ = (bitField0_ & ~0x00000001); - externalTablesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getExternalTablesFieldBuilder() : null; + externalTablesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getExternalTablesFieldBuilder() + : null; } else { externalTablesBuilder_.addAllMessages(other.externalTables_); } @@ -568,37 +618,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.datacatalog.v1.DataplexExternalTable m = - input.readMessage( - com.google.cloud.datacatalog.v1.DataplexExternalTable.parser(), - extensionRegistry); - if (externalTablesBuilder_ == null) { - ensureExternalTablesIsMutable(); - externalTables_.add(m); - } else { - externalTablesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - input.readMessage( - getDataplexSpecFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - userManaged_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.datacatalog.v1.DataplexExternalTable m = + input.readMessage( + com.google.cloud.datacatalog.v1.DataplexExternalTable.parser(), + extensionRegistry); + if (externalTablesBuilder_ == null) { + ensureExternalTablesIsMutable(); + externalTables_.add(m); + } else { + externalTablesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + input.readMessage(getDataplexSpecFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + userManaged_ = 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) { @@ -608,21 +660,30 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List externalTables_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureExternalTablesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - externalTables_ = new java.util.ArrayList(externalTables_); + externalTables_ = + new java.util.ArrayList( + externalTables_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.DataplexExternalTable, com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder, com.google.cloud.datacatalog.v1.DataplexExternalTableOrBuilder> externalTablesBuilder_; + com.google.cloud.datacatalog.v1.DataplexExternalTable, + com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder, + com.google.cloud.datacatalog.v1.DataplexExternalTableOrBuilder> + externalTablesBuilder_; /** + * + * *
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -632,7 +693,8 @@ private void ensureExternalTablesIsMutable() {
      *
      * repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;
      */
-    public java.util.List getExternalTablesList() {
+    public java.util.List
+        getExternalTablesList() {
       if (externalTablesBuilder_ == null) {
         return java.util.Collections.unmodifiableList(externalTables_);
       } else {
@@ -640,6 +702,8 @@ public java.util.List get
       }
     }
     /**
+     *
+     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -657,6 +721,8 @@ public int getExternalTablesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -674,6 +740,8 @@ public com.google.cloud.datacatalog.v1.DataplexExternalTable getExternalTables(i
       }
     }
     /**
+     *
+     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -698,6 +766,8 @@ public Builder setExternalTables(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -719,6 +789,8 @@ public Builder setExternalTables(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -742,6 +814,8 @@ public Builder addExternalTables(com.google.cloud.datacatalog.v1.DataplexExterna
       return this;
     }
     /**
+     *
+     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -766,6 +840,8 @@ public Builder addExternalTables(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -787,6 +863,8 @@ public Builder addExternalTables(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -808,6 +886,8 @@ public Builder addExternalTables(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -818,11 +898,11 @@ public Builder addExternalTables(
      * repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;
      */
     public Builder addAllExternalTables(
-        java.lang.Iterable values) {
+        java.lang.Iterable
+            values) {
       if (externalTablesBuilder_ == null) {
         ensureExternalTablesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, externalTables_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, externalTables_);
         onChanged();
       } else {
         externalTablesBuilder_.addAllMessages(values);
@@ -830,6 +910,8 @@ public Builder addAllExternalTables(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -850,6 +932,8 @@ public Builder clearExternalTables() {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -870,6 +954,8 @@ public Builder removeExternalTables(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -884,6 +970,8 @@ public com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder getExternal
       return getExternalTablesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -893,14 +981,17 @@ public com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder getExternal
      *
      * repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;
      */
-    public com.google.cloud.datacatalog.v1.DataplexExternalTableOrBuilder getExternalTablesOrBuilder(
-        int index) {
+    public com.google.cloud.datacatalog.v1.DataplexExternalTableOrBuilder
+        getExternalTablesOrBuilder(int index) {
       if (externalTablesBuilder_ == null) {
-        return externalTables_.get(index);  } else {
+        return externalTables_.get(index);
+      } else {
         return externalTablesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -910,8 +1001,8 @@ public com.google.cloud.datacatalog.v1.DataplexExternalTableOrBuilder getExterna
      *
      * repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;
      */
-    public java.util.List 
-         getExternalTablesOrBuilderList() {
+    public java.util.List
+        getExternalTablesOrBuilderList() {
       if (externalTablesBuilder_ != null) {
         return externalTablesBuilder_.getMessageOrBuilderList();
       } else {
@@ -919,6 +1010,8 @@ public com.google.cloud.datacatalog.v1.DataplexExternalTableOrBuilder getExterna
       }
     }
     /**
+     *
+     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -928,11 +1021,14 @@ public com.google.cloud.datacatalog.v1.DataplexExternalTableOrBuilder getExterna
      *
      * repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;
      */
-    public com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder addExternalTablesBuilder() {
-      return getExternalTablesFieldBuilder().addBuilder(
-          com.google.cloud.datacatalog.v1.DataplexExternalTable.getDefaultInstance());
+    public com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder
+        addExternalTablesBuilder() {
+      return getExternalTablesFieldBuilder()
+          .addBuilder(com.google.cloud.datacatalog.v1.DataplexExternalTable.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -944,10 +1040,13 @@ public com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder addExternal
      */
     public com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder addExternalTablesBuilder(
         int index) {
-      return getExternalTablesFieldBuilder().addBuilder(
-          index, com.google.cloud.datacatalog.v1.DataplexExternalTable.getDefaultInstance());
+      return getExternalTablesFieldBuilder()
+          .addBuilder(
+              index, com.google.cloud.datacatalog.v1.DataplexExternalTable.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -957,16 +1056,22 @@ public com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder addExternal
      *
      * repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;
      */
-    public java.util.List 
-         getExternalTablesBuilderList() {
+    public java.util.List
+        getExternalTablesBuilderList() {
       return getExternalTablesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.DataplexExternalTable, com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder, com.google.cloud.datacatalog.v1.DataplexExternalTableOrBuilder> 
+            com.google.cloud.datacatalog.v1.DataplexExternalTable,
+            com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder,
+            com.google.cloud.datacatalog.v1.DataplexExternalTableOrBuilder>
         getExternalTablesFieldBuilder() {
       if (externalTablesBuilder_ == null) {
-        externalTablesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.DataplexExternalTable, com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder, com.google.cloud.datacatalog.v1.DataplexExternalTableOrBuilder>(
+        externalTablesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.datacatalog.v1.DataplexExternalTable,
+                com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder,
+                com.google.cloud.datacatalog.v1.DataplexExternalTableOrBuilder>(
                 externalTables_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -978,34 +1083,47 @@ public com.google.cloud.datacatalog.v1.DataplexExternalTable.Builder addExternal
 
     private com.google.cloud.datacatalog.v1.DataplexSpec dataplexSpec_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.DataplexSpec, com.google.cloud.datacatalog.v1.DataplexSpec.Builder, com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder> dataplexSpecBuilder_;
+            com.google.cloud.datacatalog.v1.DataplexSpec,
+            com.google.cloud.datacatalog.v1.DataplexSpec.Builder,
+            com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder>
+        dataplexSpecBuilder_;
     /**
+     *
+     *
      * 
      * Common Dataplex fields.
      * 
* * .google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 2; + * * @return Whether the dataplexSpec field is set. */ public boolean hasDataplexSpec() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Common Dataplex fields.
      * 
* * .google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 2; + * * @return The dataplexSpec. */ public com.google.cloud.datacatalog.v1.DataplexSpec getDataplexSpec() { if (dataplexSpecBuilder_ == null) { - return dataplexSpec_ == null ? com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance() : dataplexSpec_; + return dataplexSpec_ == null + ? com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance() + : dataplexSpec_; } else { return dataplexSpecBuilder_.getMessage(); } } /** + * + * *
      * Common Dataplex fields.
      * 
@@ -1026,6 +1144,8 @@ public Builder setDataplexSpec(com.google.cloud.datacatalog.v1.DataplexSpec valu return this; } /** + * + * *
      * Common Dataplex fields.
      * 
@@ -1044,6 +1164,8 @@ public Builder setDataplexSpec( return this; } /** + * + * *
      * Common Dataplex fields.
      * 
@@ -1052,9 +1174,9 @@ public Builder setDataplexSpec( */ public Builder mergeDataplexSpec(com.google.cloud.datacatalog.v1.DataplexSpec value) { if (dataplexSpecBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - dataplexSpec_ != null && - dataplexSpec_ != com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && dataplexSpec_ != null + && dataplexSpec_ != com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance()) { getDataplexSpecBuilder().mergeFrom(value); } else { dataplexSpec_ = value; @@ -1067,6 +1189,8 @@ public Builder mergeDataplexSpec(com.google.cloud.datacatalog.v1.DataplexSpec va return this; } /** + * + * *
      * Common Dataplex fields.
      * 
@@ -1084,6 +1208,8 @@ public Builder clearDataplexSpec() { return this; } /** + * + * *
      * Common Dataplex fields.
      * 
@@ -1096,6 +1222,8 @@ public com.google.cloud.datacatalog.v1.DataplexSpec.Builder getDataplexSpecBuild return getDataplexSpecFieldBuilder().getBuilder(); } /** + * + * *
      * Common Dataplex fields.
      * 
@@ -1106,11 +1234,14 @@ public com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder getDataplexSpecOrBu if (dataplexSpecBuilder_ != null) { return dataplexSpecBuilder_.getMessageOrBuilder(); } else { - return dataplexSpec_ == null ? - com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance() : dataplexSpec_; + return dataplexSpec_ == null + ? com.google.cloud.datacatalog.v1.DataplexSpec.getDefaultInstance() + : dataplexSpec_; } } /** + * + * *
      * Common Dataplex fields.
      * 
@@ -1118,26 +1249,32 @@ public com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder getDataplexSpecOrBu * .google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.DataplexSpec, com.google.cloud.datacatalog.v1.DataplexSpec.Builder, com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder> + com.google.cloud.datacatalog.v1.DataplexSpec, + com.google.cloud.datacatalog.v1.DataplexSpec.Builder, + com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder> getDataplexSpecFieldBuilder() { if (dataplexSpecBuilder_ == null) { - dataplexSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.DataplexSpec, com.google.cloud.datacatalog.v1.DataplexSpec.Builder, com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder>( - getDataplexSpec(), - getParentForChildren(), - isClean()); + dataplexSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.DataplexSpec, + com.google.cloud.datacatalog.v1.DataplexSpec.Builder, + com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder>( + getDataplexSpec(), getParentForChildren(), isClean()); dataplexSpec_ = null; } return dataplexSpecBuilder_; } - private boolean userManaged_ ; + private boolean userManaged_; /** + * + * *
      * Indicates if the table schema is managed by the user or not.
      * 
* * bool user_managed = 3; + * * @return The userManaged. */ @java.lang.Override @@ -1145,11 +1282,14 @@ public boolean getUserManaged() { return userManaged_; } /** + * + * *
      * Indicates if the table schema is managed by the user or not.
      * 
* * bool user_managed = 3; + * * @param value The userManaged to set. * @return This builder for chaining. */ @@ -1161,11 +1301,14 @@ public Builder setUserManaged(boolean value) { return this; } /** + * + * *
      * Indicates if the table schema is managed by the user or not.
      * 
* * bool user_managed = 3; + * * @return This builder for chaining. */ public Builder clearUserManaged() { @@ -1174,9 +1317,9 @@ public Builder clearUserManaged() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1186,12 +1329,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.DataplexTableSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DataplexTableSpec) private static final com.google.cloud.datacatalog.v1.DataplexTableSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DataplexTableSpec(); } @@ -1200,27 +1343,27 @@ public static com.google.cloud.datacatalog.v1.DataplexTableSpec getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataplexTableSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataplexTableSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1235,6 +1378,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.DataplexTableSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpecOrBuilder.java similarity index 79% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpecOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpecOrBuilder.java index 89f0441d401e..90e1deb82d5c 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpecOrBuilder.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/datacatalog/v1/dataplex_spec.proto package com.google.cloud.datacatalog.v1; -public interface DataplexTableSpecOrBuilder extends +public interface DataplexTableSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DataplexTableSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of external tables registered by Dataplex in other systems based on
    * the same underlying data.
@@ -17,9 +35,10 @@ public interface DataplexTableSpecOrBuilder extends
    *
    * repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;
    */
-  java.util.List 
-      getExternalTablesList();
+  java.util.List getExternalTablesList();
   /**
+   *
+   *
    * 
    * List of external tables registered by Dataplex in other systems based on
    * the same underlying data.
@@ -31,6 +50,8 @@ public interface DataplexTableSpecOrBuilder extends
    */
   com.google.cloud.datacatalog.v1.DataplexExternalTable getExternalTables(int index);
   /**
+   *
+   *
    * 
    * List of external tables registered by Dataplex in other systems based on
    * the same underlying data.
@@ -42,6 +63,8 @@ public interface DataplexTableSpecOrBuilder extends
    */
   int getExternalTablesCount();
   /**
+   *
+   *
    * 
    * List of external tables registered by Dataplex in other systems based on
    * the same underlying data.
@@ -51,9 +74,11 @@ public interface DataplexTableSpecOrBuilder extends
    *
    * repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;
    */
-  java.util.List 
+  java.util.List
       getExternalTablesOrBuilderList();
   /**
+   *
+   *
    * 
    * List of external tables registered by Dataplex in other systems based on
    * the same underlying data.
@@ -67,24 +92,32 @@ com.google.cloud.datacatalog.v1.DataplexExternalTableOrBuilder getExternalTables
       int index);
 
   /**
+   *
+   *
    * 
    * Common Dataplex fields.
    * 
* * .google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 2; + * * @return Whether the dataplexSpec field is set. */ boolean hasDataplexSpec(); /** + * + * *
    * Common Dataplex fields.
    * 
* * .google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 2; + * * @return The dataplexSpec. */ com.google.cloud.datacatalog.v1.DataplexSpec getDataplexSpec(); /** + * + * *
    * Common Dataplex fields.
    * 
@@ -94,11 +127,14 @@ com.google.cloud.datacatalog.v1.DataplexExternalTableOrBuilder getExternalTables com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder getDataplexSpecOrBuilder(); /** + * + * *
    * Indicates if the table schema is managed by the user or not.
    * 
* * bool user_managed = 3; + * * @return The userManaged. */ boolean getUserManaged(); diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequest.java similarity index 63% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequest.java index 1bd016cd6361..750b1a7074cf 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequest.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [DeleteEntryGroup][google.cloud.datacatalog.v1.DataCatalog.DeleteEntryGroup].
@@ -11,48 +28,56 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.DeleteEntryGroupRequest}
  */
-public final class DeleteEntryGroupRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeleteEntryGroupRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.DeleteEntryGroupRequest)
     DeleteEntryGroupRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteEntryGroupRequest.newBuilder() to construct.
   private DeleteEntryGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteEntryGroupRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteEntryGroupRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest.class, com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest.class,
+            com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the entry group to delete.
    * 
* - * string name = 1 [(.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,29 +86,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the entry group to delete.
    * 
* - * string name = 1 [(.google.api.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,11 +121,14 @@ public java.lang.String getName() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_ = false; /** + * + * *
    * Optional. If true, deletes all entries in the entry group.
    * 
* * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The force. */ @java.lang.Override @@ -107,6 +137,7 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -118,8 +149,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -139,8 +169,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -150,17 +179,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.datacatalog.v1.DeleteEntryGroupRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest other = (com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest) obj; + com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest other = + (com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getForce() - != other.getForce()) return false; + if (!getName().equals(other.getName())) return false; + if (getForce() != other.getForce()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -175,106 +203,111 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [DeleteEntryGroup][google.cloud.datacatalog.v1.DataCatalog.DeleteEntryGroup].
@@ -282,33 +315,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.DeleteEntryGroupRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.DeleteEntryGroupRequest)
       com.google.cloud.datacatalog.v1.DeleteEntryGroupRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest.class, com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest.class,
+              com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -319,9 +351,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_descriptor;
     }
 
     @java.lang.Override
@@ -340,8 +372,11 @@ public com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest result = new com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest result =
+          new com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -360,38 +395,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DeleteEntryGroupReque
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -399,7 +435,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -434,22 +471,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              force_ = input.readBool();
-              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:
+              {
+                force_ = 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) {
@@ -459,22 +499,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the entry group to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -483,20 +528,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the entry group to delete.
      * 
* - * string name = 1 [(.google.api.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 { @@ -504,28 +552,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the entry group to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the entry group to delete.
      * 
* - * string 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() { @@ -535,17 +594,23 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the entry group to delete.
      * 
* - * string name = 1 [(.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; @@ -553,13 +618,16 @@ public Builder setNameBytes( return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * Optional. If true, deletes all entries in the entry group.
      * 
* * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The force. */ @java.lang.Override @@ -567,11 +635,14 @@ public boolean getForce() { return force_; } /** + * + * *
      * Optional. If true, deletes all entries in the entry group.
      * 
* * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The force to set. * @return This builder for chaining. */ @@ -583,11 +654,14 @@ public Builder setForce(boolean value) { return this; } /** + * + * *
      * Optional. If true, deletes all entries in the entry group.
      * 
* * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearForce() { @@ -596,9 +670,9 @@ public Builder clearForce() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -608,12 +682,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.DeleteEntryGroupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DeleteEntryGroupRequest) private static final com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest(); } @@ -622,27 +696,27 @@ public static com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteEntryGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteEntryGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,6 +731,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequestOrBuilder.java new file mode 100644 index 000000000000..409c39282d54 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequestOrBuilder.java @@ -0,0 +1,67 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/datacatalog.proto + +package com.google.cloud.datacatalog.v1; + +public interface DeleteEntryGroupRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DeleteEntryGroupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the entry group to delete.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the entry group to delete.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Optional. If true, deletes all entries in the entry group.
+   * 
+ * + * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The force. + */ + boolean getForce(); +} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequest.java similarity index 61% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequest.java index 742ae05d1f3c..b8a20f86eeaa 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequest.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [DeleteEntry][google.cloud.datacatalog.v1.DataCatalog.DeleteEntry].
@@ -11,48 +28,56 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.DeleteEntryRequest}
  */
-public final class DeleteEntryRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeleteEntryRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.DeleteEntryRequest)
     DeleteEntryRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteEntryRequest.newBuilder() to construct.
   private DeleteEntryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteEntryRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteEntryRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.DeleteEntryRequest.class, com.google.cloud.datacatalog.v1.DeleteEntryRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.DeleteEntryRequest.class,
+            com.google.cloud.datacatalog.v1.DeleteEntryRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the entry to delete.
    * 
* - * string name = 1 [(.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,29 +86,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the entry to delete.
    * 
* - * string name = 1 [(.google.api.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 { @@ -92,6 +119,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -103,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_); } @@ -128,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.datacatalog.v1.DeleteEntryRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.DeleteEntryRequest other = (com.google.cloud.datacatalog.v1.DeleteEntryRequest) obj; + com.google.cloud.datacatalog.v1.DeleteEntryRequest other = + (com.google.cloud.datacatalog.v1.DeleteEntryRequest) 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,98 +183,103 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.DeleteEntryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DeleteEntryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DeleteEntryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DeleteEntryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DeleteEntryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DeleteEntryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteEntryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.DeleteEntryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.DeleteEntryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteEntryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DeleteEntryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.DeleteEntryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DeleteEntryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.DeleteEntryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.DeleteEntryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [DeleteEntry][google.cloud.datacatalog.v1.DataCatalog.DeleteEntry].
@@ -255,33 +287,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.DeleteEntryRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.DeleteEntryRequest)
       com.google.cloud.datacatalog.v1.DeleteEntryRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.DeleteEntryRequest.class, com.google.cloud.datacatalog.v1.DeleteEntryRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.DeleteEntryRequest.class,
+              com.google.cloud.datacatalog.v1.DeleteEntryRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.DeleteEntryRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        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.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_descriptor;
     }
 
     @java.lang.Override
@@ -312,8 +343,11 @@ public com.google.cloud.datacatalog.v1.DeleteEntryRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.DeleteEntryRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.DeleteEntryRequest result = new com.google.cloud.datacatalog.v1.DeleteEntryRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.DeleteEntryRequest result =
+          new com.google.cloud.datacatalog.v1.DeleteEntryRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DeleteEntryRequest 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.datacatalog.v1.DeleteEntryRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.DeleteEntryRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.DeleteEntryRequest) 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.datacatalog.v1.DeleteEntryRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.DeleteEntryRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.DeleteEntryRequest.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,22 +458,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the entry to delete.
      * 
* - * string name = 1 [(.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; @@ -444,20 +487,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the entry to delete.
      * 
* - * string name = 1 [(.google.api.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 { @@ -465,28 +511,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the entry to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the entry to delete.
      * 
* - * string 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() { @@ -496,26 +553,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the entry to delete.
      * 
* - * string name = 1 [(.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); } @@ -525,12 +588,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.DeleteEntryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DeleteEntryRequest) private static final com.google.cloud.datacatalog.v1.DeleteEntryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DeleteEntryRequest(); } @@ -539,27 +602,27 @@ public static com.google.cloud.datacatalog.v1.DeleteEntryRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteEntryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteEntryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -574,6 +637,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.DeleteEntryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequestOrBuilder.java new file mode 100644 index 000000000000..dc2bd85e2ce3 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequestOrBuilder.java @@ -0,0 +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/datacatalog/v1/datacatalog.proto + +package com.google.cloud.datacatalog.v1; + +public interface DeleteEntryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DeleteEntryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the entry to delete.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the entry to delete.
+   * 
+ * + * + * 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-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequest.java similarity index 64% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequest.java index 16847015f3f4..c930bfff3c41 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequest.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/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [DeletePolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.DeletePolicyTag].
@@ -11,50 +28,58 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.DeletePolicyTagRequest}
  */
-public final class DeletePolicyTagRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeletePolicyTagRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.DeletePolicyTagRequest)
     DeletePolicyTagRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeletePolicyTagRequest.newBuilder() to construct.
   private DeletePolicyTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeletePolicyTagRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeletePolicyTagRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.DeletePolicyTagRequest.class, com.google.cloud.datacatalog.v1.DeletePolicyTagRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.DeletePolicyTagRequest.class,
+            com.google.cloud.datacatalog.v1.DeletePolicyTagRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. Resource name of the policy tag to delete.
    *
    * Note: All of its descendant policy tags are also deleted.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -63,31 +88,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Resource name of the policy tag to delete.
    *
    * Note: All of its descendant policy tags are also deleted.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -96,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -132,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.DeletePolicyTagRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.DeletePolicyTagRequest other = (com.google.cloud.datacatalog.v1.DeletePolicyTagRequest) obj; + com.google.cloud.datacatalog.v1.DeletePolicyTagRequest other = + (com.google.cloud.datacatalog.v1.DeletePolicyTagRequest) 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 +187,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.DeletePolicyTagRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DeletePolicyTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DeletePolicyTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DeletePolicyTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DeletePolicyTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DeletePolicyTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeletePolicyTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.DeletePolicyTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.DeletePolicyTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeletePolicyTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DeletePolicyTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.DeletePolicyTagRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DeletePolicyTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.DeletePolicyTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.DeletePolicyTagRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.DeletePolicyTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [DeletePolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.DeletePolicyTag].
@@ -259,33 +292,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.DeletePolicyTagRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.DeletePolicyTagRequest)
       com.google.cloud.datacatalog.v1.DeletePolicyTagRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.DeletePolicyTagRequest.class, com.google.cloud.datacatalog.v1.DeletePolicyTagRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.DeletePolicyTagRequest.class,
+              com.google.cloud.datacatalog.v1.DeletePolicyTagRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.DeletePolicyTagRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        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 +327,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_descriptor;
     }
 
     @java.lang.Override
@@ -316,8 +348,11 @@ public com.google.cloud.datacatalog.v1.DeletePolicyTagRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.DeletePolicyTagRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.DeletePolicyTagRequest result = new com.google.cloud.datacatalog.v1.DeletePolicyTagRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.DeletePolicyTagRequest result =
+          new com.google.cloud.datacatalog.v1.DeletePolicyTagRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -333,38 +368,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DeletePolicyTagReques
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.DeletePolicyTagRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.DeletePolicyTagRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.DeletePolicyTagRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -372,7 +408,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.DeletePolicyTagRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.DeletePolicyTagRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.DeletePolicyTagRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -404,17 +441,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -424,24 +463,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. Resource name of the policy tag to delete.
      *
      * Note: All of its descendant policy tags are also deleted.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -450,22 +494,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the policy tag to delete.
      *
      * Note: All of its descendant policy tags are also deleted.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -473,32 +520,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the policy tag to delete.
      *
      * Note: All of its descendant policy tags are also deleted.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - 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. Resource name of the policy tag to delete.
      *
      * Note: All of its descendant policy tags are also deleted.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -508,28 +566,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Resource name of the policy tag to delete.
      *
      * Note: All of its descendant policy tags are also deleted.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - 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 +603,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.DeletePolicyTagRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DeletePolicyTagRequest) private static final com.google.cloud.datacatalog.v1.DeletePolicyTagRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DeletePolicyTagRequest(); } @@ -553,27 +617,27 @@ public static com.google.cloud.datacatalog.v1.DeletePolicyTagRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePolicyTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePolicyTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +652,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.DeletePolicyTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequestOrBuilder.java new file mode 100644 index 000000000000..4093af26dee7 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequestOrBuilder.java @@ -0,0 +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/datacatalog/v1/policytagmanager.proto + +package com.google.cloud.datacatalog.v1; + +public interface DeletePolicyTagRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DeletePolicyTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Resource name of the policy tag to delete.
+   *
+   * Note: All of its descendant policy tags are also deleted.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Resource name of the policy tag to delete.
+   *
+   * Note: All of its descendant policy tags are also deleted.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequest.java similarity index 61% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequest.java index e8bce8875c0b..09f9a075d235 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequest.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [DeleteTag][google.cloud.datacatalog.v1.DataCatalog.DeleteTag].
@@ -11,48 +28,56 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.DeleteTagRequest}
  */
-public final class DeleteTagRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeleteTagRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.DeleteTagRequest)
     DeleteTagRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteTagRequest.newBuilder() to construct.
   private DeleteTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteTagRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteTagRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.DeleteTagRequest.class, com.google.cloud.datacatalog.v1.DeleteTagRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.DeleteTagRequest.class,
+            com.google.cloud.datacatalog.v1.DeleteTagRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the tag to delete.
    * 
* - * string name = 1 [(.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,29 +86,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the tag to delete.
    * 
* - * string name = 1 [(.google.api.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 { @@ -92,6 +119,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -103,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_); } @@ -128,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.datacatalog.v1.DeleteTagRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.DeleteTagRequest other = (com.google.cloud.datacatalog.v1.DeleteTagRequest) obj; + com.google.cloud.datacatalog.v1.DeleteTagRequest other = + (com.google.cloud.datacatalog.v1.DeleteTagRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -155,99 +182,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.DeleteTagRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.DeleteTagRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DeleteTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DeleteTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DeleteTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.DeleteTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.DeleteTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DeleteTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.DeleteTagRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DeleteTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.DeleteTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.DeleteTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [DeleteTag][google.cloud.datacatalog.v1.DataCatalog.DeleteTag].
@@ -255,33 +287,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.DeleteTagRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.DeleteTagRequest)
       com.google.cloud.datacatalog.v1.DeleteTagRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.DeleteTagRequest.class, com.google.cloud.datacatalog.v1.DeleteTagRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.DeleteTagRequest.class,
+              com.google.cloud.datacatalog.v1.DeleteTagRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.DeleteTagRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        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.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_descriptor;
     }
 
     @java.lang.Override
@@ -312,8 +343,11 @@ public com.google.cloud.datacatalog.v1.DeleteTagRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.DeleteTagRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.DeleteTagRequest result = new com.google.cloud.datacatalog.v1.DeleteTagRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.DeleteTagRequest result =
+          new com.google.cloud.datacatalog.v1.DeleteTagRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DeleteTagRequest 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.datacatalog.v1.DeleteTagRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.DeleteTagRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.DeleteTagRequest) 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.datacatalog.v1.DeleteTagRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.DeleteTagRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.DeleteTagRequest.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,22 +458,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the tag to delete.
      * 
* - * string name = 1 [(.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; @@ -444,20 +487,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the tag to delete.
      * 
* - * string name = 1 [(.google.api.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 { @@ -465,28 +511,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the tag to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the tag to delete.
      * 
* - * string 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() { @@ -496,26 +553,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the tag to delete.
      * 
* - * string name = 1 [(.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); } @@ -525,12 +588,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.DeleteTagRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DeleteTagRequest) private static final com.google.cloud.datacatalog.v1.DeleteTagRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DeleteTagRequest(); } @@ -539,27 +602,27 @@ public static com.google.cloud.datacatalog.v1.DeleteTagRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -574,6 +637,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.DeleteTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequestOrBuilder.java new file mode 100644 index 000000000000..30a5a0784fb5 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequestOrBuilder.java @@ -0,0 +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/datacatalog/v1/datacatalog.proto + +package com.google.cloud.datacatalog.v1; + +public interface DeleteTagRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DeleteTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the tag to delete.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the tag to delete.
+   * 
+ * + * + * 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-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequest.java similarity index 63% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequest.java index 879d8207d467..b474b525b416 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequest.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [DeleteTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.DeleteTagTemplateField].
@@ -11,48 +28,56 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest}
  */
-public final class DeleteTagTemplateFieldRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeleteTagTemplateFieldRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest)
     DeleteTagTemplateFieldRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteTagTemplateFieldRequest.newBuilder() to construct.
   private DeleteTagTemplateFieldRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteTagTemplateFieldRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteTagTemplateFieldRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest.class, com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest.class,
+            com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the tag template field to delete.
    * 
* - * string name = 1 [(.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,29 +86,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the tag template field to delete.
    * 
* - * string name = 1 [(.google.api.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,6 +121,8 @@ public java.lang.String getName() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_ = false; /** + * + * *
    * Required. If true, deletes this field from any tags that use it.
    *
@@ -101,6 +130,7 @@ public java.lang.String getName() {
    * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The force. */ @java.lang.Override @@ -109,6 +139,7 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -120,8 +151,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -141,8 +171,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -152,17 +181,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.datacatalog.v1.DeleteTagTemplateFieldRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest other = (com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest) obj; + com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest other = + (com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getForce() - != other.getForce()) return false; + if (!getName().equals(other.getName())) return false; + if (getForce() != other.getForce()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -177,106 +205,111 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [DeleteTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.DeleteTagTemplateField].
@@ -284,33 +317,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest)
       com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest.class, com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest.class,
+              com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -321,13 +353,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest getDefaultInstanceForType() {
+    public com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest.getDefaultInstance();
     }
 
@@ -342,13 +375,17 @@ public com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest result = new com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest result =
+          new com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest result) {
+    private void buildPartial0(
+        com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -362,38 +399,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DeleteTagTemplateFiel
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -401,7 +439,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -436,22 +476,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              force_ = input.readBool();
-              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:
+              {
+                force_ = 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) {
@@ -461,22 +504,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the tag template field to delete.
      * 
* - * string name = 1 [(.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; @@ -485,20 +533,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the tag template field to delete.
      * 
* - * string name = 1 [(.google.api.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 { @@ -506,28 +557,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the tag template field to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the tag template field to delete.
      * 
* - * string 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() { @@ -537,17 +599,23 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the tag template field to delete.
      * 
* - * string name = 1 [(.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; @@ -555,8 +623,10 @@ public Builder setNameBytes( return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * Required. If true, deletes this field from any tags that use it.
      *
@@ -564,6 +634,7 @@ public Builder setNameBytes(
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The force. */ @java.lang.Override @@ -571,6 +642,8 @@ public boolean getForce() { return force_; } /** + * + * *
      * Required. If true, deletes this field from any tags that use it.
      *
@@ -578,6 +651,7 @@ public boolean getForce() {
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The force to set. * @return This builder for chaining. */ @@ -589,6 +663,8 @@ public Builder setForce(boolean value) { return this; } /** + * + * *
      * Required. If true, deletes this field from any tags that use it.
      *
@@ -596,6 +672,7 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearForce() { @@ -604,9 +681,9 @@ public Builder clearForce() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,12 +693,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest) - private static final com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest DEFAULT_INSTANCE; + private static final com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest(); } @@ -630,27 +708,27 @@ public static com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTagTemplateFieldRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTagTemplateFieldRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -665,6 +743,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequestOrBuilder.java new file mode 100644 index 000000000000..82ef09b88ed9 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequestOrBuilder.java @@ -0,0 +1,69 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/datacatalog.proto + +package com.google.cloud.datacatalog.v1; + +public interface DeleteTagTemplateFieldRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the tag template field to delete.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the tag template field to delete.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Required. If true, deletes this field from any tags that use it.
+   *
+   * Currently, `true` is the only supported value.
+   * 
+ * + * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The force. + */ + boolean getForce(); +} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequest.java similarity index 64% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequest.java index aef6d51b3a4c..e6c6feced0c2 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequest.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [DeleteTagTemplate][google.cloud.datacatalog.v1.DataCatalog.DeleteTagTemplate].
@@ -11,48 +28,56 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.DeleteTagTemplateRequest}
  */
-public final class DeleteTagTemplateRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeleteTagTemplateRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.DeleteTagTemplateRequest)
     DeleteTagTemplateRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteTagTemplateRequest.newBuilder() to construct.
   private DeleteTagTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteTagTemplateRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteTagTemplateRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest.class, com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest.class,
+            com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the tag template to delete.
    * 
* - * string name = 1 [(.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,29 +86,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the tag template to delete.
    * 
* - * string name = 1 [(.google.api.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,6 +121,8 @@ public java.lang.String getName() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_ = false; /** + * + * *
    * Required. If true, deletes all tags that use this template.
    *
@@ -101,6 +130,7 @@ public java.lang.String getName() {
    * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The force. */ @java.lang.Override @@ -109,6 +139,7 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -120,8 +151,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -141,8 +171,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -152,17 +181,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.datacatalog.v1.DeleteTagTemplateRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest other = (com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest) obj; + com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest other = + (com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getForce() - != other.getForce()) return false; + if (!getName().equals(other.getName())) return false; + if (getForce() != other.getForce()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -177,106 +205,111 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [DeleteTagTemplate][google.cloud.datacatalog.v1.DataCatalog.DeleteTagTemplate].
@@ -284,33 +317,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.DeleteTagTemplateRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.DeleteTagTemplateRequest)
       com.google.cloud.datacatalog.v1.DeleteTagTemplateRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest.class, com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest.class,
+              com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -321,9 +353,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_descriptor;
     }
 
     @java.lang.Override
@@ -342,8 +374,11 @@ public com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest result = new com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest result =
+          new com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -362,38 +397,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DeleteTagTemplateRequ
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -401,7 +437,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -436,22 +473,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              force_ = input.readBool();
-              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:
+              {
+                force_ = 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) {
@@ -461,22 +501,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the tag template to delete.
      * 
* - * string name = 1 [(.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; @@ -485,20 +530,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the tag template to delete.
      * 
* - * string name = 1 [(.google.api.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 { @@ -506,28 +554,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the tag template to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the tag template to delete.
      * 
* - * string 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() { @@ -537,17 +596,23 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the tag template to delete.
      * 
* - * string name = 1 [(.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; @@ -555,8 +620,10 @@ public Builder setNameBytes( return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * Required. If true, deletes all tags that use this template.
      *
@@ -564,6 +631,7 @@ public Builder setNameBytes(
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The force. */ @java.lang.Override @@ -571,6 +639,8 @@ public boolean getForce() { return force_; } /** + * + * *
      * Required. If true, deletes all tags that use this template.
      *
@@ -578,6 +648,7 @@ public boolean getForce() {
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The force to set. * @return This builder for chaining. */ @@ -589,6 +660,8 @@ public Builder setForce(boolean value) { return this; } /** + * + * *
      * Required. If true, deletes all tags that use this template.
      *
@@ -596,6 +669,7 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearForce() { @@ -604,9 +678,9 @@ public Builder clearForce() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,12 +690,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.DeleteTagTemplateRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DeleteTagTemplateRequest) private static final com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest(); } @@ -630,27 +704,27 @@ public static com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTagTemplateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTagTemplateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -665,6 +739,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequestOrBuilder.java new file mode 100644 index 000000000000..f835cb1f59d9 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequestOrBuilder.java @@ -0,0 +1,69 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/datacatalog.proto + +package com.google.cloud.datacatalog.v1; + +public interface DeleteTagTemplateRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DeleteTagTemplateRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the tag template to delete.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the tag template to delete.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Required. If true, deletes all tags that use this template.
+   *
+   * Currently, `true` is the only supported value.
+   * 
+ * + * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The force. + */ + boolean getForce(); +} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequest.java similarity index 64% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequest.java index 32fb9e2d5072..589b95b4a374 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequest.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/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [DeleteTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.DeleteTaxonomy].
@@ -11,50 +28,58 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.DeleteTaxonomyRequest}
  */
-public final class DeleteTaxonomyRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeleteTaxonomyRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.DeleteTaxonomyRequest)
     DeleteTaxonomyRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteTaxonomyRequest.newBuilder() to construct.
   private DeleteTaxonomyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteTaxonomyRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteTaxonomyRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest.class, com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest.class,
+            com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. Resource name of the taxonomy to delete.
    *
    * Note: All policy tags in this taxonomy are also deleted.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -63,31 +88,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Resource name of the taxonomy to delete.
    *
    * Note: All policy tags in this taxonomy are also deleted.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -96,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -132,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest other = (com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest) obj; + com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest other = + (com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest) 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 +187,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [DeleteTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.DeleteTaxonomy].
@@ -259,33 +292,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.DeleteTaxonomyRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.DeleteTaxonomyRequest)
       com.google.cloud.datacatalog.v1.DeleteTaxonomyRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest.class, com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest.class,
+              com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        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 +327,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
@@ -316,8 +348,11 @@ public com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest result = new com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest result =
+          new com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -333,38 +368,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -372,7 +408,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -404,17 +441,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -424,24 +463,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. Resource name of the taxonomy to delete.
      *
      * Note: All policy tags in this taxonomy are also deleted.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -450,22 +494,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the taxonomy to delete.
      *
      * Note: All policy tags in this taxonomy are also deleted.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -473,32 +520,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the taxonomy to delete.
      *
      * Note: All policy tags in this taxonomy are also deleted.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - 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. Resource name of the taxonomy to delete.
      *
      * Note: All policy tags in this taxonomy are also deleted.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -508,28 +566,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Resource name of the taxonomy to delete.
      *
      * Note: All policy tags in this taxonomy are also deleted.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - 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 +603,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.DeleteTaxonomyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DeleteTaxonomyRequest) private static final com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest(); } @@ -553,27 +617,27 @@ public static com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTaxonomyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTaxonomyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +652,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequestOrBuilder.java new file mode 100644 index 000000000000..75bffaaefa69 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequestOrBuilder.java @@ -0,0 +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/datacatalog/v1/policytagmanager.proto + +package com.google.cloud.datacatalog.v1; + +public interface DeleteTaxonomyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DeleteTaxonomyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Resource name of the taxonomy to delete.
+   *
+   * Note: All policy tags in this taxonomy are also deleted.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Resource name of the taxonomy to delete.
+   *
+   * Note: All policy tags in this taxonomy are also deleted.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpContentProto.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpContentProto.java new file mode 100644 index 000000000000..34e22213284c --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpContentProto.java @@ -0,0 +1,101 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/dump_content.proto + +package com.google.cloud.datacatalog.v1; + +public final class DumpContentProto { + private DumpContentProto() {} + + 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_datacatalog_v1_TaggedEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_TaggedEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_DumpItem_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DumpItem_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/datacatalog/v1/dump_conte" + + "nt.proto\022\033google.cloud.datacatalog.v1\032\037g" + + "oogle/api/field_behavior.proto\032-google/c" + + "loud/datacatalog/v1/datacatalog.proto\032&g" + + "oogle/cloud/datacatalog/v1/tags.proto\"\311\001" + + "\n\013TaggedEntry\0226\n\010v1_entry\030\001 \001(\0132\".google" + + ".cloud.datacatalog.v1.EntryH\000\022<\n\014present" + + "_tags\030\002 \003(\0132 .google.cloud.datacatalog.v" + + "1.TagB\004\342A\001\001\022;\n\013absent_tags\030\003 \003(\0132 .googl" + + "e.cloud.datacatalog.v1.TagB\004\342A\001\001B\007\n\005entr" + + "y\"T\n\010DumpItem\022@\n\014tagged_entry\030\001 \001(\0132(.go" + + "ogle.cloud.datacatalog.v1.TaggedEntryH\000B" + + "\006\n\004itemB\330\001\n\037com.google.cloud.datacatalog" + + ".v1B\020DumpContentProtoP\001ZAcloud.google.co" + + "m/go/datacatalog/apiv1/datacatalogpb;dat" + + "acatalogpb\370\001\001\252\002\033Google.Cloud.DataCatalog" + + ".V1\312\002\033Google\\Cloud\\DataCatalog\\V1\352\002\036Goog" + + "le::Cloud::DataCatalog::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.cloud.datacatalog.v1.Datacatalog.getDescriptor(), + com.google.cloud.datacatalog.v1.Tags.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1_TaggedEntry_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1_TaggedEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_TaggedEntry_descriptor, + new java.lang.String[] { + "V1Entry", "PresentTags", "AbsentTags", "Entry", + }); + internal_static_google_cloud_datacatalog_v1_DumpItem_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1_DumpItem_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DumpItem_descriptor, + new java.lang.String[] { + "TaggedEntry", "Item", + }); + 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.datacatalog.v1.Datacatalog.getDescriptor(); + com.google.cloud.datacatalog.v1.Tags.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItem.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItem.java similarity index 67% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItem.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItem.java index 8f184d655d3c..5b1e7b6c1a66 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItem.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItem.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/datacatalog/v1/dump_content.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Wrapper for any item that can be contained in the dump.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.DumpItem} */ -public final class DumpItem extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DumpItem extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.DumpItem) DumpItemOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DumpItem.newBuilder() to construct. private DumpItem(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DumpItem() { - } + + private DumpItem() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DumpItem(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.DumpContentProto.internal_static_google_cloud_datacatalog_v1_DumpItem_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.DumpContentProto + .internal_static_google_cloud_datacatalog_v1_DumpItem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.DumpContentProto.internal_static_google_cloud_datacatalog_v1_DumpItem_fieldAccessorTable + return com.google.cloud.datacatalog.v1.DumpContentProto + .internal_static_google_cloud_datacatalog_v1_DumpItem_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.DumpItem.class, com.google.cloud.datacatalog.v1.DumpItem.Builder.class); + com.google.cloud.datacatalog.v1.DumpItem.class, + com.google.cloud.datacatalog.v1.DumpItem.Builder.class); } private int itemCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object item_; + public enum ItemCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TAGGED_ENTRY(1), ITEM_NOT_SET(0); private final int value; + private ItemCase(int value) { this.value = value; } @@ -66,29 +88,34 @@ public static ItemCase valueOf(int value) { public static ItemCase forNumber(int value) { switch (value) { - case 1: return TAGGED_ENTRY; - case 0: return ITEM_NOT_SET; - default: return null; + case 1: + return TAGGED_ENTRY; + case 0: + return ITEM_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ItemCase - getItemCase() { - return ItemCase.forNumber( - itemCase_); + public ItemCase getItemCase() { + return ItemCase.forNumber(itemCase_); } public static final int TAGGED_ENTRY_FIELD_NUMBER = 1; /** + * + * *
    * Entry and its tags.
    * 
* * .google.cloud.datacatalog.v1.TaggedEntry tagged_entry = 1; + * * @return Whether the taggedEntry field is set. */ @java.lang.Override @@ -96,21 +123,26 @@ public boolean hasTaggedEntry() { return itemCase_ == 1; } /** + * + * *
    * Entry and its tags.
    * 
* * .google.cloud.datacatalog.v1.TaggedEntry tagged_entry = 1; + * * @return The taggedEntry. */ @java.lang.Override public com.google.cloud.datacatalog.v1.TaggedEntry getTaggedEntry() { if (itemCase_ == 1) { - return (com.google.cloud.datacatalog.v1.TaggedEntry) item_; + return (com.google.cloud.datacatalog.v1.TaggedEntry) item_; } return com.google.cloud.datacatalog.v1.TaggedEntry.getDefaultInstance(); } /** + * + * *
    * Entry and its tags.
    * 
@@ -120,12 +152,13 @@ public com.google.cloud.datacatalog.v1.TaggedEntry getTaggedEntry() { @java.lang.Override public com.google.cloud.datacatalog.v1.TaggedEntryOrBuilder getTaggedEntryOrBuilder() { if (itemCase_ == 1) { - return (com.google.cloud.datacatalog.v1.TaggedEntry) item_; + return (com.google.cloud.datacatalog.v1.TaggedEntry) item_; } return com.google.cloud.datacatalog.v1.TaggedEntry.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,8 +170,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (itemCase_ == 1) { output.writeMessage(1, (com.google.cloud.datacatalog.v1.TaggedEntry) item_); } @@ -152,8 +184,9 @@ public int getSerializedSize() { size = 0; if (itemCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.datacatalog.v1.TaggedEntry) item_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.datacatalog.v1.TaggedEntry) item_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -163,7 +196,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.DumpItem)) { return super.equals(obj); @@ -173,8 +206,7 @@ public boolean equals(final java.lang.Object obj) { if (!getItemCase().equals(other.getItemCase())) return false; switch (itemCase_) { case 1: - if (!getTaggedEntry() - .equals(other.getTaggedEntry())) return false; + if (!getTaggedEntry().equals(other.getTaggedEntry())) return false; break; case 0: default: @@ -203,132 +235,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.DumpItem parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.DumpItem parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DumpItem parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DumpItem parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DumpItem parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DumpItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.DumpItem parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DumpItem parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.DumpItem parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.DumpItem parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.DumpItem parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.DumpItem parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.DumpItem parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.DumpItem parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.DumpItem prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Wrapper for any item that can be contained in the dump.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.DumpItem} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.DumpItem) com.google.cloud.datacatalog.v1.DumpItemOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.DumpContentProto.internal_static_google_cloud_datacatalog_v1_DumpItem_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.DumpContentProto + .internal_static_google_cloud_datacatalog_v1_DumpItem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.DumpContentProto.internal_static_google_cloud_datacatalog_v1_DumpItem_fieldAccessorTable + return com.google.cloud.datacatalog.v1.DumpContentProto + .internal_static_google_cloud_datacatalog_v1_DumpItem_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.DumpItem.class, com.google.cloud.datacatalog.v1.DumpItem.Builder.class); + com.google.cloud.datacatalog.v1.DumpItem.class, + com.google.cloud.datacatalog.v1.DumpItem.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.DumpItem.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -342,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.DumpContentProto.internal_static_google_cloud_datacatalog_v1_DumpItem_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.DumpContentProto + .internal_static_google_cloud_datacatalog_v1_DumpItem_descriptor; } @java.lang.Override @@ -363,8 +399,11 @@ public com.google.cloud.datacatalog.v1.DumpItem build() { @java.lang.Override public com.google.cloud.datacatalog.v1.DumpItem buildPartial() { - com.google.cloud.datacatalog.v1.DumpItem result = new com.google.cloud.datacatalog.v1.DumpItem(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1.DumpItem result = + new com.google.cloud.datacatalog.v1.DumpItem(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -377,8 +416,7 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.DumpItem result) { private void buildPartialOneofs(com.google.cloud.datacatalog.v1.DumpItem result) { result.itemCase_ = itemCase_; result.item_ = this.item_; - if (itemCase_ == 1 && - taggedEntryBuilder_ != null) { + if (itemCase_ == 1 && taggedEntryBuilder_ != null) { result.item_ = taggedEntryBuilder_.build(); } } @@ -387,38 +425,39 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.DumpItem result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.DumpItem) { - return mergeFrom((com.google.cloud.datacatalog.v1.DumpItem)other); + return mergeFrom((com.google.cloud.datacatalog.v1.DumpItem) other); } else { super.mergeFrom(other); return this; @@ -428,13 +467,15 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.datacatalog.v1.DumpItem other) { if (other == com.google.cloud.datacatalog.v1.DumpItem.getDefaultInstance()) return this; switch (other.getItemCase()) { - case TAGGED_ENTRY: { - mergeTaggedEntry(other.getTaggedEntry()); - break; - } - case ITEM_NOT_SET: { - break; - } + case TAGGED_ENTRY: + { + mergeTaggedEntry(other.getTaggedEntry()); + break; + } + case ITEM_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -462,19 +503,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getTaggedEntryFieldBuilder().getBuilder(), - extensionRegistry); - itemCase_ = 1; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getTaggedEntryFieldBuilder().getBuilder(), extensionRegistry); + itemCase_ = 1; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -484,12 +525,12 @@ public Builder mergeFrom( } // finally return this; } + private int itemCase_ = 0; private java.lang.Object item_; - public ItemCase - getItemCase() { - return ItemCase.forNumber( - itemCase_); + + public ItemCase getItemCase() { + return ItemCase.forNumber(itemCase_); } public Builder clearItem() { @@ -502,13 +543,19 @@ public Builder clearItem() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.TaggedEntry, com.google.cloud.datacatalog.v1.TaggedEntry.Builder, com.google.cloud.datacatalog.v1.TaggedEntryOrBuilder> taggedEntryBuilder_; + com.google.cloud.datacatalog.v1.TaggedEntry, + com.google.cloud.datacatalog.v1.TaggedEntry.Builder, + com.google.cloud.datacatalog.v1.TaggedEntryOrBuilder> + taggedEntryBuilder_; /** + * + * *
      * Entry and its tags.
      * 
* * .google.cloud.datacatalog.v1.TaggedEntry tagged_entry = 1; + * * @return Whether the taggedEntry field is set. */ @java.lang.Override @@ -516,11 +563,14 @@ public boolean hasTaggedEntry() { return itemCase_ == 1; } /** + * + * *
      * Entry and its tags.
      * 
* * .google.cloud.datacatalog.v1.TaggedEntry tagged_entry = 1; + * * @return The taggedEntry. */ @java.lang.Override @@ -538,6 +588,8 @@ public com.google.cloud.datacatalog.v1.TaggedEntry getTaggedEntry() { } } /** + * + * *
      * Entry and its tags.
      * 
@@ -558,6 +610,8 @@ public Builder setTaggedEntry(com.google.cloud.datacatalog.v1.TaggedEntry value) return this; } /** + * + * *
      * Entry and its tags.
      * 
@@ -576,6 +630,8 @@ public Builder setTaggedEntry( return this; } /** + * + * *
      * Entry and its tags.
      * 
@@ -584,10 +640,13 @@ public Builder setTaggedEntry( */ public Builder mergeTaggedEntry(com.google.cloud.datacatalog.v1.TaggedEntry value) { if (taggedEntryBuilder_ == null) { - if (itemCase_ == 1 && - item_ != com.google.cloud.datacatalog.v1.TaggedEntry.getDefaultInstance()) { - item_ = com.google.cloud.datacatalog.v1.TaggedEntry.newBuilder((com.google.cloud.datacatalog.v1.TaggedEntry) item_) - .mergeFrom(value).buildPartial(); + if (itemCase_ == 1 + && item_ != com.google.cloud.datacatalog.v1.TaggedEntry.getDefaultInstance()) { + item_ = + com.google.cloud.datacatalog.v1.TaggedEntry.newBuilder( + (com.google.cloud.datacatalog.v1.TaggedEntry) item_) + .mergeFrom(value) + .buildPartial(); } else { item_ = value; } @@ -603,6 +662,8 @@ public Builder mergeTaggedEntry(com.google.cloud.datacatalog.v1.TaggedEntry valu return this; } /** + * + * *
      * Entry and its tags.
      * 
@@ -626,6 +687,8 @@ public Builder clearTaggedEntry() { return this; } /** + * + * *
      * Entry and its tags.
      * 
@@ -636,6 +699,8 @@ public com.google.cloud.datacatalog.v1.TaggedEntry.Builder getTaggedEntryBuilder return getTaggedEntryFieldBuilder().getBuilder(); } /** + * + * *
      * Entry and its tags.
      * 
@@ -654,6 +719,8 @@ public com.google.cloud.datacatalog.v1.TaggedEntryOrBuilder getTaggedEntryOrBuil } } /** + * + * *
      * Entry and its tags.
      * 
@@ -661,14 +728,19 @@ public com.google.cloud.datacatalog.v1.TaggedEntryOrBuilder getTaggedEntryOrBuil * .google.cloud.datacatalog.v1.TaggedEntry tagged_entry = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.TaggedEntry, com.google.cloud.datacatalog.v1.TaggedEntry.Builder, com.google.cloud.datacatalog.v1.TaggedEntryOrBuilder> + com.google.cloud.datacatalog.v1.TaggedEntry, + com.google.cloud.datacatalog.v1.TaggedEntry.Builder, + com.google.cloud.datacatalog.v1.TaggedEntryOrBuilder> getTaggedEntryFieldBuilder() { if (taggedEntryBuilder_ == null) { if (!(itemCase_ == 1)) { item_ = com.google.cloud.datacatalog.v1.TaggedEntry.getDefaultInstance(); } - taggedEntryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.TaggedEntry, com.google.cloud.datacatalog.v1.TaggedEntry.Builder, com.google.cloud.datacatalog.v1.TaggedEntryOrBuilder>( + taggedEntryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.TaggedEntry, + com.google.cloud.datacatalog.v1.TaggedEntry.Builder, + com.google.cloud.datacatalog.v1.TaggedEntryOrBuilder>( (com.google.cloud.datacatalog.v1.TaggedEntry) item_, getParentForChildren(), isClean()); @@ -678,9 +750,9 @@ public com.google.cloud.datacatalog.v1.TaggedEntryOrBuilder getTaggedEntryOrBuil onChanged(); return taggedEntryBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -690,12 +762,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.DumpItem) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DumpItem) private static final com.google.cloud.datacatalog.v1.DumpItem DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DumpItem(); } @@ -704,27 +776,27 @@ public static com.google.cloud.datacatalog.v1.DumpItem getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DumpItem parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DumpItem parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -739,6 +811,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.DumpItem getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItemOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItemOrBuilder.java similarity index 60% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItemOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItemOrBuilder.java index edba41a9ebed..3e34ecbcff73 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItemOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItemOrBuilder.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/datacatalog/v1/dump_content.proto package com.google.cloud.datacatalog.v1; -public interface DumpItemOrBuilder extends +public interface DumpItemOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DumpItem) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Entry and its tags.
    * 
* * .google.cloud.datacatalog.v1.TaggedEntry tagged_entry = 1; + * * @return Whether the taggedEntry field is set. */ boolean hasTaggedEntry(); /** + * + * *
    * Entry and its tags.
    * 
* * .google.cloud.datacatalog.v1.TaggedEntry tagged_entry = 1; + * * @return The taggedEntry. */ com.google.cloud.datacatalog.v1.TaggedEntry getTaggedEntry(); /** + * + * *
    * Entry and its tags.
    * 
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Entry.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Entry.java similarity index 73% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Entry.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Entry.java index b612db25de81..c13c7951e611 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Entry.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Entry.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Entry metadata.
  * A Data Catalog entry represents another resource in Google
@@ -19,15 +36,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.Entry}
  */
-public final class Entry extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Entry extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.Entry)
     EntryOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Entry.newBuilder() to construct.
   private Entry(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Entry() {
     name_ = "";
     linkedResource_ = "";
@@ -38,46 +56,50 @@ private Entry() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Entry();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_Entry_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_Entry_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 14:
         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.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_Entry_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_Entry_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.Entry.class, com.google.cloud.datacatalog.v1.Entry.Builder.class);
+            com.google.cloud.datacatalog.v1.Entry.class,
+            com.google.cloud.datacatalog.v1.Entry.Builder.class);
   }
 
   private int entryTypeCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object entryType_;
+
   public enum EntryTypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     TYPE(2),
     USER_SPECIFIED_TYPE(16),
     ENTRYTYPE_NOT_SET(0);
     private final int value;
+
     private EntryTypeCase(int value) {
       this.value = value;
     }
@@ -93,33 +115,40 @@ public static EntryTypeCase valueOf(int value) {
 
     public static EntryTypeCase forNumber(int value) {
       switch (value) {
-        case 2: return TYPE;
-        case 16: return USER_SPECIFIED_TYPE;
-        case 0: return ENTRYTYPE_NOT_SET;
-        default: return null;
+        case 2:
+          return TYPE;
+        case 16:
+          return USER_SPECIFIED_TYPE;
+        case 0:
+          return ENTRYTYPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public EntryTypeCase
-  getEntryTypeCase() {
-    return EntryTypeCase.forNumber(
-        entryTypeCase_);
+  public EntryTypeCase getEntryTypeCase() {
+    return EntryTypeCase.forNumber(entryTypeCase_);
   }
 
   private int systemCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object system_;
+
   public enum SystemCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     INTEGRATED_SYSTEM(17),
     USER_SPECIFIED_SYSTEM(18),
     SYSTEM_NOT_SET(0);
     private final int value;
+
     private SystemCase(int value) {
       this.value = value;
     }
@@ -135,34 +164,41 @@ public static SystemCase valueOf(int value) {
 
     public static SystemCase forNumber(int value) {
       switch (value) {
-        case 17: return INTEGRATED_SYSTEM;
-        case 18: return USER_SPECIFIED_SYSTEM;
-        case 0: return SYSTEM_NOT_SET;
-        default: return null;
+        case 17:
+          return INTEGRATED_SYSTEM;
+        case 18:
+          return USER_SPECIFIED_SYSTEM;
+        case 0:
+          return SYSTEM_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SystemCase
-  getSystemCase() {
-    return SystemCase.forNumber(
-        systemCase_);
+  public SystemCase getSystemCase() {
+    return SystemCase.forNumber(systemCase_);
   }
 
   private int systemSpecCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object systemSpec_;
+
   public enum SystemSpecCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     SQL_DATABASE_SYSTEM_SPEC(39),
     LOOKER_SYSTEM_SPEC(40),
     CLOUD_BIGTABLE_SYSTEM_SPEC(41),
     SYSTEMSPEC_NOT_SET(0);
     private final int value;
+
     private SystemSpecCase(int value) {
       this.value = value;
     }
@@ -178,35 +214,43 @@ public static SystemSpecCase valueOf(int value) {
 
     public static SystemSpecCase forNumber(int value) {
       switch (value) {
-        case 39: return SQL_DATABASE_SYSTEM_SPEC;
-        case 40: return LOOKER_SYSTEM_SPEC;
-        case 41: return CLOUD_BIGTABLE_SYSTEM_SPEC;
-        case 0: return SYSTEMSPEC_NOT_SET;
-        default: return null;
+        case 39:
+          return SQL_DATABASE_SYSTEM_SPEC;
+        case 40:
+          return LOOKER_SYSTEM_SPEC;
+        case 41:
+          return CLOUD_BIGTABLE_SYSTEM_SPEC;
+        case 0:
+          return SYSTEMSPEC_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SystemSpecCase
-  getSystemSpecCase() {
-    return SystemSpecCase.forNumber(
-        systemSpecCase_);
+  public SystemSpecCase getSystemSpecCase() {
+    return SystemSpecCase.forNumber(systemSpecCase_);
   }
 
   private int typeSpecCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object typeSpec_;
+
   public enum TypeSpecCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     GCS_FILESET_SPEC(6),
     BIGQUERY_TABLE_SPEC(12),
     BIGQUERY_DATE_SHARDED_SPEC(15),
     TYPESPEC_NOT_SET(0);
     private final int value;
+
     private TypeSpecCase(int value) {
       this.value = value;
     }
@@ -222,29 +266,36 @@ public static TypeSpecCase valueOf(int value) {
 
     public static TypeSpecCase forNumber(int value) {
       switch (value) {
-        case 6: return GCS_FILESET_SPEC;
-        case 12: return BIGQUERY_TABLE_SPEC;
-        case 15: return BIGQUERY_DATE_SHARDED_SPEC;
-        case 0: return TYPESPEC_NOT_SET;
-        default: return null;
+        case 6:
+          return GCS_FILESET_SPEC;
+        case 12:
+          return BIGQUERY_TABLE_SPEC;
+        case 15:
+          return BIGQUERY_DATE_SHARDED_SPEC;
+        case 0:
+          return TYPESPEC_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TypeSpecCase
-  getTypeSpecCase() {
-    return TypeSpecCase.forNumber(
-        typeSpecCase_);
+  public TypeSpecCase getTypeSpecCase() {
+    return TypeSpecCase.forNumber(typeSpecCase_);
   }
 
   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 {
     DATABASE_TABLE_SPEC(24),
     DATA_SOURCE_CONNECTION_SPEC(27),
@@ -253,6 +304,7 @@ public enum SpecCase
     SERVICE_SPEC(42),
     SPEC_NOT_SET(0);
     private final int value;
+
     private SpecCase(int value) {
       this.value = value;
     }
@@ -268,30 +320,39 @@ public static SpecCase valueOf(int value) {
 
     public static SpecCase forNumber(int value) {
       switch (value) {
-        case 24: return DATABASE_TABLE_SPEC;
-        case 27: return DATA_SOURCE_CONNECTION_SPEC;
-        case 28: return ROUTINE_SPEC;
-        case 33: return FILESET_SPEC;
-        case 42: return SERVICE_SPEC;
-        case 0: return SPEC_NOT_SET;
-        default: return null;
+        case 24:
+          return DATABASE_TABLE_SPEC;
+        case 27:
+          return DATA_SOURCE_CONNECTION_SPEC;
+        case 28:
+          return ROUTINE_SPEC;
+        case 33:
+          return FILESET_SPEC;
+        case 42:
+          return SERVICE_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_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Output only. The resource name of an entry in URL format.
    *
@@ -299,7 +360,10 @@ public int getNumber() {
    * stored in the location specified in its name.
    * 
* - * 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 @@ -308,14 +372,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 resource name of an entry in URL format.
    *
@@ -323,17 +388,18 @@ public java.lang.String getName() {
    * stored in the location specified in its name.
    * 
* - * 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 { @@ -342,9 +408,12 @@ public java.lang.String getName() { } public static final int LINKED_RESOURCE_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object linkedResource_ = ""; /** + * + * *
    * The resource this metadata entry refers to.
    *
@@ -367,6 +436,7 @@ public java.lang.String getName() {
    * 
* * string linked_resource = 9; + * * @return The linkedResource. */ @java.lang.Override @@ -375,14 +445,15 @@ public java.lang.String getLinkedResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); linkedResource_ = s; return s; } } /** + * + * *
    * The resource this metadata entry refers to.
    *
@@ -405,16 +476,15 @@ public java.lang.String getLinkedResource() {
    * 
* * string linked_resource = 9; + * * @return The bytes for linkedResource. */ @java.lang.Override - public com.google.protobuf.ByteString - getLinkedResourceBytes() { + public com.google.protobuf.ByteString getLinkedResourceBytes() { java.lang.Object ref = linkedResource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); linkedResource_ = b; return b; } else { @@ -423,9 +493,12 @@ public java.lang.String getLinkedResource() { } public static final int FULLY_QUALIFIED_NAME_FIELD_NUMBER = 29; + @SuppressWarnings("serial") private volatile java.lang.Object fullyQualifiedName_ = ""; /** + * + * *
    * [Fully Qualified Name
    * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -435,6 +508,7 @@ public java.lang.String getLinkedResource() {
    * 
* * string fully_qualified_name = 29; + * * @return The fullyQualifiedName. */ @java.lang.Override @@ -443,14 +517,15 @@ public java.lang.String getFullyQualifiedName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullyQualifiedName_ = s; return s; } } /** + * + * *
    * [Fully Qualified Name
    * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -460,16 +535,15 @@ public java.lang.String getFullyQualifiedName() {
    * 
* * string fully_qualified_name = 29; + * * @return The bytes for fullyQualifiedName. */ @java.lang.Override - public com.google.protobuf.ByteString - getFullyQualifiedNameBytes() { + public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { java.lang.Object ref = fullyQualifiedName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fullyQualifiedName_ = b; return b; } else { @@ -479,6 +553,8 @@ public java.lang.String getFullyQualifiedName() { public static final int TYPE_FIELD_NUMBER = 2; /** + * + * *
    * The type of the entry.
    *
@@ -486,12 +562,15 @@ public java.lang.String getFullyQualifiedName() {
    * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; + * * @return Whether the type field is set. */ public boolean hasType() { return entryTypeCase_ == 2; } /** + * + * *
    * The type of the entry.
    *
@@ -499,6 +578,7 @@ public boolean hasType() {
    * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; + * * @return The enum numeric value on the wire for type. */ public int getTypeValue() { @@ -508,6 +588,8 @@ public int getTypeValue() { return 0; } /** + * + * *
    * The type of the entry.
    *
@@ -515,12 +597,13 @@ public int getTypeValue() {
    * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; + * * @return The type. */ public com.google.cloud.datacatalog.v1.EntryType getType() { if (entryTypeCase_ == 2) { - com.google.cloud.datacatalog.v1.EntryType result = com.google.cloud.datacatalog.v1.EntryType.forNumber( - (java.lang.Integer) entryType_); + com.google.cloud.datacatalog.v1.EntryType result = + com.google.cloud.datacatalog.v1.EntryType.forNumber((java.lang.Integer) entryType_); return result == null ? com.google.cloud.datacatalog.v1.EntryType.UNRECOGNIZED : result; } return com.google.cloud.datacatalog.v1.EntryType.ENTRY_TYPE_UNSPECIFIED; @@ -528,6 +611,8 @@ public com.google.cloud.datacatalog.v1.EntryType getType() { public static final int USER_SPECIFIED_TYPE_FIELD_NUMBER = 16; /** + * + * *
    * Custom entry type that doesn't match any of the values allowed for input
    * and listed in the `EntryType` enum.
@@ -545,12 +630,15 @@ public com.google.cloud.datacatalog.v1.EntryType getType() {
    * 
* * string user_specified_type = 16; + * * @return Whether the userSpecifiedType field is set. */ public boolean hasUserSpecifiedType() { return entryTypeCase_ == 16; } /** + * + * *
    * Custom entry type that doesn't match any of the values allowed for input
    * and listed in the `EntryType` enum.
@@ -568,6 +656,7 @@ public boolean hasUserSpecifiedType() {
    * 
* * string user_specified_type = 16; + * * @return The userSpecifiedType. */ public java.lang.String getUserSpecifiedType() { @@ -578,8 +667,7 @@ public java.lang.String getUserSpecifiedType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (entryTypeCase_ == 16) { entryType_ = s; @@ -588,6 +676,8 @@ public java.lang.String getUserSpecifiedType() { } } /** + * + * *
    * Custom entry type that doesn't match any of the values allowed for input
    * and listed in the `EntryType` enum.
@@ -605,18 +695,17 @@ public java.lang.String getUserSpecifiedType() {
    * 
* * string user_specified_type = 16; + * * @return The bytes for userSpecifiedType. */ - public com.google.protobuf.ByteString - getUserSpecifiedTypeBytes() { + public com.google.protobuf.ByteString getUserSpecifiedTypeBytes() { java.lang.Object ref = ""; if (entryTypeCase_ == 16) { ref = entryType_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (entryTypeCase_ == 16) { entryType_ = b; } @@ -628,24 +717,34 @@ public java.lang.String getUserSpecifiedType() { public static final int INTEGRATED_SYSTEM_FIELD_NUMBER = 17; /** + * + * *
    * Output only. Indicates the entry's source system that Data Catalog
    * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
    * 
* - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the integratedSystem field is set. */ public boolean hasIntegratedSystem() { return systemCase_ == 17; } /** + * + * *
    * Output only. Indicates the entry's source system that Data Catalog
    * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
    * 
* - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for integratedSystem. */ public int getIntegratedSystemValue() { @@ -655,25 +754,34 @@ public int getIntegratedSystemValue() { return 0; } /** + * + * *
    * Output only. Indicates the entry's source system that Data Catalog
    * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
    * 
* - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The integratedSystem. */ public com.google.cloud.datacatalog.v1.IntegratedSystem getIntegratedSystem() { if (systemCase_ == 17) { - com.google.cloud.datacatalog.v1.IntegratedSystem result = com.google.cloud.datacatalog.v1.IntegratedSystem.forNumber( - (java.lang.Integer) system_); - return result == null ? com.google.cloud.datacatalog.v1.IntegratedSystem.UNRECOGNIZED : result; + com.google.cloud.datacatalog.v1.IntegratedSystem result = + com.google.cloud.datacatalog.v1.IntegratedSystem.forNumber((java.lang.Integer) system_); + return result == null + ? com.google.cloud.datacatalog.v1.IntegratedSystem.UNRECOGNIZED + : result; } return com.google.cloud.datacatalog.v1.IntegratedSystem.INTEGRATED_SYSTEM_UNSPECIFIED; } public static final int USER_SPECIFIED_SYSTEM_FIELD_NUMBER = 18; /** + * + * *
    * Indicates the entry's source system that Data Catalog doesn't
    * automatically integrate with.
@@ -687,12 +795,15 @@ public com.google.cloud.datacatalog.v1.IntegratedSystem getIntegratedSystem() {
    * 
* * string user_specified_system = 18; + * * @return Whether the userSpecifiedSystem field is set. */ public boolean hasUserSpecifiedSystem() { return systemCase_ == 18; } /** + * + * *
    * Indicates the entry's source system that Data Catalog doesn't
    * automatically integrate with.
@@ -706,6 +817,7 @@ public boolean hasUserSpecifiedSystem() {
    * 
* * string user_specified_system = 18; + * * @return The userSpecifiedSystem. */ public java.lang.String getUserSpecifiedSystem() { @@ -716,8 +828,7 @@ public java.lang.String getUserSpecifiedSystem() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (systemCase_ == 18) { system_ = s; @@ -726,6 +837,8 @@ public java.lang.String getUserSpecifiedSystem() { } } /** + * + * *
    * Indicates the entry's source system that Data Catalog doesn't
    * automatically integrate with.
@@ -739,18 +852,17 @@ public java.lang.String getUserSpecifiedSystem() {
    * 
* * string user_specified_system = 18; + * * @return The bytes for userSpecifiedSystem. */ - public com.google.protobuf.ByteString - getUserSpecifiedSystemBytes() { + public com.google.protobuf.ByteString getUserSpecifiedSystemBytes() { java.lang.Object ref = ""; if (systemCase_ == 18) { ref = system_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (systemCase_ == 18) { system_ = b; } @@ -762,12 +874,15 @@ public java.lang.String getUserSpecifiedSystem() { public static final int SQL_DATABASE_SYSTEM_SPEC_FIELD_NUMBER = 39; /** + * + * *
    * Specification that applies to a relational database system. Only settable
    * when `user_specified_system` is equal to `SQL_DATABASE`
    * 
* * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; + * * @return Whether the sqlDatabaseSystemSpec field is set. */ @java.lang.Override @@ -775,22 +890,27 @@ public boolean hasSqlDatabaseSystemSpec() { return systemSpecCase_ == 39; } /** + * + * *
    * Specification that applies to a relational database system. Only settable
    * when `user_specified_system` is equal to `SQL_DATABASE`
    * 
* * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; + * * @return The sqlDatabaseSystemSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec getSqlDatabaseSystemSpec() { if (systemSpecCase_ == 39) { - return (com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec) systemSpec_; + return (com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec) systemSpec_; } return com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.getDefaultInstance(); } /** + * + * *
    * Specification that applies to a relational database system. Only settable
    * when `user_specified_system` is equal to `SQL_DATABASE`
@@ -799,21 +919,25 @@ public com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec getSqlDatabaseSyste
    * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39;
    */
   @java.lang.Override
-  public com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpecOrBuilder getSqlDatabaseSystemSpecOrBuilder() {
+  public com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpecOrBuilder
+      getSqlDatabaseSystemSpecOrBuilder() {
     if (systemSpecCase_ == 39) {
-       return (com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec) systemSpec_;
+      return (com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec) systemSpec_;
     }
     return com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.getDefaultInstance();
   }
 
   public static final int LOOKER_SYSTEM_SPEC_FIELD_NUMBER = 40;
   /**
+   *
+   *
    * 
    * Specification that applies to Looker sysstem. Only settable when
    * `user_specified_system` is equal to `LOOKER`
    * 
* * .google.cloud.datacatalog.v1.LookerSystemSpec looker_system_spec = 40; + * * @return Whether the lookerSystemSpec field is set. */ @java.lang.Override @@ -821,22 +945,27 @@ public boolean hasLookerSystemSpec() { return systemSpecCase_ == 40; } /** + * + * *
    * Specification that applies to Looker sysstem. Only settable when
    * `user_specified_system` is equal to `LOOKER`
    * 
* * .google.cloud.datacatalog.v1.LookerSystemSpec looker_system_spec = 40; + * * @return The lookerSystemSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.LookerSystemSpec getLookerSystemSpec() { if (systemSpecCase_ == 40) { - return (com.google.cloud.datacatalog.v1.LookerSystemSpec) systemSpec_; + return (com.google.cloud.datacatalog.v1.LookerSystemSpec) systemSpec_; } return com.google.cloud.datacatalog.v1.LookerSystemSpec.getDefaultInstance(); } /** + * + * *
    * Specification that applies to Looker sysstem. Only settable when
    * `user_specified_system` is equal to `LOOKER`
@@ -847,19 +976,23 @@ public com.google.cloud.datacatalog.v1.LookerSystemSpec getLookerSystemSpec() {
   @java.lang.Override
   public com.google.cloud.datacatalog.v1.LookerSystemSpecOrBuilder getLookerSystemSpecOrBuilder() {
     if (systemSpecCase_ == 40) {
-       return (com.google.cloud.datacatalog.v1.LookerSystemSpec) systemSpec_;
+      return (com.google.cloud.datacatalog.v1.LookerSystemSpec) systemSpec_;
     }
     return com.google.cloud.datacatalog.v1.LookerSystemSpec.getDefaultInstance();
   }
 
   public static final int CLOUD_BIGTABLE_SYSTEM_SPEC_FIELD_NUMBER = 41;
   /**
+   *
+   *
    * 
    * Specification that applies to Cloud Bigtable system. Only settable when
    * `integrated_system` is equal to `CLOUD_BIGTABLE`
    * 
* - * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; + * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; + * + * * @return Whether the cloudBigtableSystemSpec field is set. */ @java.lang.Override @@ -867,45 +1000,56 @@ public boolean hasCloudBigtableSystemSpec() { return systemSpecCase_ == 41; } /** + * + * *
    * Specification that applies to Cloud Bigtable system. Only settable when
    * `integrated_system` is equal to `CLOUD_BIGTABLE`
    * 
* - * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; + * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; + * + * * @return The cloudBigtableSystemSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec getCloudBigtableSystemSpec() { if (systemSpecCase_ == 41) { - return (com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec) systemSpec_; + return (com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec) systemSpec_; } return com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.getDefaultInstance(); } /** + * + * *
    * Specification that applies to Cloud Bigtable system. Only settable when
    * `integrated_system` is equal to `CLOUD_BIGTABLE`
    * 
* - * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; + * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1.CloudBigtableSystemSpecOrBuilder getCloudBigtableSystemSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.CloudBigtableSystemSpecOrBuilder + getCloudBigtableSystemSpecOrBuilder() { if (systemSpecCase_ == 41) { - return (com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec) systemSpec_; + return (com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec) systemSpec_; } return com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.getDefaultInstance(); } public static final int GCS_FILESET_SPEC_FIELD_NUMBER = 6; /** + * + * *
    * Specification that applies to a Cloud Storage fileset. Valid only
    * for entries with the `FILESET` type.
    * 
* * .google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6; + * * @return Whether the gcsFilesetSpec field is set. */ @java.lang.Override @@ -913,22 +1057,27 @@ public boolean hasGcsFilesetSpec() { return typeSpecCase_ == 6; } /** + * + * *
    * Specification that applies to a Cloud Storage fileset. Valid only
    * for entries with the `FILESET` type.
    * 
* * .google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6; + * * @return The gcsFilesetSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.GcsFilesetSpec getGcsFilesetSpec() { if (typeSpecCase_ == 6) { - return (com.google.cloud.datacatalog.v1.GcsFilesetSpec) typeSpec_; + return (com.google.cloud.datacatalog.v1.GcsFilesetSpec) typeSpec_; } return com.google.cloud.datacatalog.v1.GcsFilesetSpec.getDefaultInstance(); } /** + * + * *
    * Specification that applies to a Cloud Storage fileset. Valid only
    * for entries with the `FILESET` type.
@@ -939,19 +1088,24 @@ public com.google.cloud.datacatalog.v1.GcsFilesetSpec getGcsFilesetSpec() {
   @java.lang.Override
   public com.google.cloud.datacatalog.v1.GcsFilesetSpecOrBuilder getGcsFilesetSpecOrBuilder() {
     if (typeSpecCase_ == 6) {
-       return (com.google.cloud.datacatalog.v1.GcsFilesetSpec) typeSpec_;
+      return (com.google.cloud.datacatalog.v1.GcsFilesetSpec) typeSpec_;
     }
     return com.google.cloud.datacatalog.v1.GcsFilesetSpec.getDefaultInstance();
   }
 
   public static final int BIGQUERY_TABLE_SPEC_FIELD_NUMBER = 12;
   /**
+   *
+   *
    * 
    * Output only. Specification that applies to a BigQuery table. Valid only
    * for entries with the `TABLE` type.
    * 
* - * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the bigqueryTableSpec field is set. */ @java.lang.Override @@ -959,39 +1113,51 @@ public boolean hasBigqueryTableSpec() { return typeSpecCase_ == 12; } /** + * + * *
    * Output only. Specification that applies to a BigQuery table. Valid only
    * for entries with the `TABLE` type.
    * 
* - * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bigqueryTableSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.BigQueryTableSpec getBigqueryTableSpec() { if (typeSpecCase_ == 12) { - return (com.google.cloud.datacatalog.v1.BigQueryTableSpec) typeSpec_; + return (com.google.cloud.datacatalog.v1.BigQueryTableSpec) typeSpec_; } return com.google.cloud.datacatalog.v1.BigQueryTableSpec.getDefaultInstance(); } /** + * + * *
    * Output only. Specification that applies to a BigQuery table. Valid only
    * for entries with the `TABLE` type.
    * 
* - * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1.BigQueryTableSpecOrBuilder getBigqueryTableSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.BigQueryTableSpecOrBuilder + getBigqueryTableSpecOrBuilder() { if (typeSpecCase_ == 12) { - return (com.google.cloud.datacatalog.v1.BigQueryTableSpec) typeSpec_; + return (com.google.cloud.datacatalog.v1.BigQueryTableSpec) typeSpec_; } return com.google.cloud.datacatalog.v1.BigQueryTableSpec.getDefaultInstance(); } public static final int BIGQUERY_DATE_SHARDED_SPEC_FIELD_NUMBER = 15; /** + * + * *
    * Output only. Specification for a group of BigQuery tables with
    * the `[prefix]YYYYMMDD` name pattern.
@@ -1000,7 +1166,10 @@ public com.google.cloud.datacatalog.v1.BigQueryTableSpecOrBuilder getBigqueryTab
    * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
    * 
* - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the bigqueryDateShardedSpec field is set. */ @java.lang.Override @@ -1008,6 +1177,8 @@ public boolean hasBigqueryDateShardedSpec() { return typeSpecCase_ == 15; } /** + * + * *
    * Output only. Specification for a group of BigQuery tables with
    * the `[prefix]YYYYMMDD` name pattern.
@@ -1016,17 +1187,22 @@ public boolean hasBigqueryDateShardedSpec() {
    * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
    * 
* - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bigqueryDateShardedSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec getBigqueryDateShardedSpec() { if (typeSpecCase_ == 15) { - return (com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec) typeSpec_; + return (com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec) typeSpec_; } return com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.getDefaultInstance(); } /** + * + * *
    * Output only. Specification for a group of BigQuery tables with
    * the `[prefix]YYYYMMDD` name pattern.
@@ -1035,24 +1211,30 @@ public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec getBigqueryDateSh
    * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
    * 
* - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpecOrBuilder getBigqueryDateShardedSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpecOrBuilder + getBigqueryDateShardedSpecOrBuilder() { if (typeSpecCase_ == 15) { - return (com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec) typeSpec_; + return (com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec) typeSpec_; } return com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.getDefaultInstance(); } public static final int DATABASE_TABLE_SPEC_FIELD_NUMBER = 24; /** + * + * *
    * Specification that applies to a table resource. Valid only
    * for entries with the `TABLE` or `EXPLORE` type.
    * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; + * * @return Whether the databaseTableSpec field is set. */ @java.lang.Override @@ -1060,22 +1242,27 @@ public boolean hasDatabaseTableSpec() { return specCase_ == 24; } /** + * + * *
    * Specification that applies to a table resource. Valid only
    * for entries with the `TABLE` or `EXPLORE` type.
    * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; + * * @return The databaseTableSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.DatabaseTableSpec getDatabaseTableSpec() { if (specCase_ == 24) { - return (com.google.cloud.datacatalog.v1.DatabaseTableSpec) spec_; + return (com.google.cloud.datacatalog.v1.DatabaseTableSpec) spec_; } return com.google.cloud.datacatalog.v1.DatabaseTableSpec.getDefaultInstance(); } /** + * + * *
    * Specification that applies to a table resource. Valid only
    * for entries with the `TABLE` or `EXPLORE` type.
@@ -1084,21 +1271,26 @@ public com.google.cloud.datacatalog.v1.DatabaseTableSpec getDatabaseTableSpec()
    * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24;
    */
   @java.lang.Override
-  public com.google.cloud.datacatalog.v1.DatabaseTableSpecOrBuilder getDatabaseTableSpecOrBuilder() {
+  public com.google.cloud.datacatalog.v1.DatabaseTableSpecOrBuilder
+      getDatabaseTableSpecOrBuilder() {
     if (specCase_ == 24) {
-       return (com.google.cloud.datacatalog.v1.DatabaseTableSpec) spec_;
+      return (com.google.cloud.datacatalog.v1.DatabaseTableSpec) spec_;
     }
     return com.google.cloud.datacatalog.v1.DatabaseTableSpec.getDefaultInstance();
   }
 
   public static final int DATA_SOURCE_CONNECTION_SPEC_FIELD_NUMBER = 27;
   /**
+   *
+   *
    * 
    * Specification that applies to a data source connection. Valid only
    * for entries with the `DATA_SOURCE_CONNECTION` type.
    * 
* - * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * + * * @return Whether the dataSourceConnectionSpec field is set. */ @java.lang.Override @@ -1106,45 +1298,56 @@ public boolean hasDataSourceConnectionSpec() { return specCase_ == 27; } /** + * + * *
    * Specification that applies to a data source connection. Valid only
    * for entries with the `DATA_SOURCE_CONNECTION` type.
    * 
* - * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * + * * @return The dataSourceConnectionSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.DataSourceConnectionSpec getDataSourceConnectionSpec() { if (specCase_ == 27) { - return (com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) spec_; + return (com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) spec_; } return com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.getDefaultInstance(); } /** + * + * *
    * Specification that applies to a data source connection. Valid only
    * for entries with the `DATA_SOURCE_CONNECTION` type.
    * 
* - * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder getDataSourceConnectionSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder + getDataSourceConnectionSpecOrBuilder() { if (specCase_ == 27) { - return (com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) spec_; + return (com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) spec_; } return com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.getDefaultInstance(); } public static final int ROUTINE_SPEC_FIELD_NUMBER = 28; /** + * + * *
    * Specification that applies to a user-defined function or procedure. Valid
    * only for entries with the `ROUTINE` type.
    * 
* * .google.cloud.datacatalog.v1.RoutineSpec routine_spec = 28; + * * @return Whether the routineSpec field is set. */ @java.lang.Override @@ -1152,22 +1355,27 @@ public boolean hasRoutineSpec() { return specCase_ == 28; } /** + * + * *
    * Specification that applies to a user-defined function or procedure. Valid
    * only for entries with the `ROUTINE` type.
    * 
* * .google.cloud.datacatalog.v1.RoutineSpec routine_spec = 28; + * * @return The routineSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.RoutineSpec getRoutineSpec() { if (specCase_ == 28) { - return (com.google.cloud.datacatalog.v1.RoutineSpec) spec_; + return (com.google.cloud.datacatalog.v1.RoutineSpec) spec_; } return com.google.cloud.datacatalog.v1.RoutineSpec.getDefaultInstance(); } /** + * + * *
    * Specification that applies to a user-defined function or procedure. Valid
    * only for entries with the `ROUTINE` type.
@@ -1178,19 +1386,22 @@ public com.google.cloud.datacatalog.v1.RoutineSpec getRoutineSpec() {
   @java.lang.Override
   public com.google.cloud.datacatalog.v1.RoutineSpecOrBuilder getRoutineSpecOrBuilder() {
     if (specCase_ == 28) {
-       return (com.google.cloud.datacatalog.v1.RoutineSpec) spec_;
+      return (com.google.cloud.datacatalog.v1.RoutineSpec) spec_;
     }
     return com.google.cloud.datacatalog.v1.RoutineSpec.getDefaultInstance();
   }
 
   public static final int FILESET_SPEC_FIELD_NUMBER = 33;
   /**
+   *
+   *
    * 
    * Specification that applies to a fileset resource. Valid only
    * for entries with the `FILESET` type.
    * 
* * .google.cloud.datacatalog.v1.FilesetSpec fileset_spec = 33; + * * @return Whether the filesetSpec field is set. */ @java.lang.Override @@ -1198,22 +1409,27 @@ public boolean hasFilesetSpec() { return specCase_ == 33; } /** + * + * *
    * Specification that applies to a fileset resource. Valid only
    * for entries with the `FILESET` type.
    * 
* * .google.cloud.datacatalog.v1.FilesetSpec fileset_spec = 33; + * * @return The filesetSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.FilesetSpec getFilesetSpec() { if (specCase_ == 33) { - return (com.google.cloud.datacatalog.v1.FilesetSpec) spec_; + return (com.google.cloud.datacatalog.v1.FilesetSpec) spec_; } return com.google.cloud.datacatalog.v1.FilesetSpec.getDefaultInstance(); } /** + * + * *
    * Specification that applies to a fileset resource. Valid only
    * for entries with the `FILESET` type.
@@ -1224,18 +1440,21 @@ public com.google.cloud.datacatalog.v1.FilesetSpec getFilesetSpec() {
   @java.lang.Override
   public com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder getFilesetSpecOrBuilder() {
     if (specCase_ == 33) {
-       return (com.google.cloud.datacatalog.v1.FilesetSpec) spec_;
+      return (com.google.cloud.datacatalog.v1.FilesetSpec) spec_;
     }
     return com.google.cloud.datacatalog.v1.FilesetSpec.getDefaultInstance();
   }
 
   public static final int SERVICE_SPEC_FIELD_NUMBER = 42;
   /**
+   *
+   *
    * 
    * Specification that applies to a Service resource.
    * 
* * .google.cloud.datacatalog.v1.ServiceSpec service_spec = 42; + * * @return Whether the serviceSpec field is set. */ @java.lang.Override @@ -1243,21 +1462,26 @@ public boolean hasServiceSpec() { return specCase_ == 42; } /** + * + * *
    * Specification that applies to a Service resource.
    * 
* * .google.cloud.datacatalog.v1.ServiceSpec service_spec = 42; + * * @return The serviceSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.ServiceSpec getServiceSpec() { if (specCase_ == 42) { - return (com.google.cloud.datacatalog.v1.ServiceSpec) spec_; + return (com.google.cloud.datacatalog.v1.ServiceSpec) spec_; } return com.google.cloud.datacatalog.v1.ServiceSpec.getDefaultInstance(); } /** + * + * *
    * Specification that applies to a Service resource.
    * 
@@ -1267,15 +1491,18 @@ public com.google.cloud.datacatalog.v1.ServiceSpec getServiceSpec() { @java.lang.Override public com.google.cloud.datacatalog.v1.ServiceSpecOrBuilder getServiceSpecOrBuilder() { if (specCase_ == 42) { - return (com.google.cloud.datacatalog.v1.ServiceSpec) spec_; + return (com.google.cloud.datacatalog.v1.ServiceSpec) spec_; } return com.google.cloud.datacatalog.v1.ServiceSpec.getDefaultInstance(); } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Display name of an entry.
    *
@@ -1284,6 +1511,7 @@ public com.google.cloud.datacatalog.v1.ServiceSpecOrBuilder getServiceSpecOrBuil
    * 
* * string display_name = 3; + * * @return The displayName. */ @java.lang.Override @@ -1292,14 +1520,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; } } /** + * + * *
    * Display name of an entry.
    *
@@ -1308,16 +1537,15 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 3; + * * @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 { @@ -1326,9 +1554,12 @@ public java.lang.String getDisplayName() { } public static final int DESCRIPTION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Entry description that can consist of several sentences or paragraphs
    * that describe entry contents.
@@ -1341,6 +1572,7 @@ public java.lang.String getDisplayName() {
    * 
* * string description = 4; + * * @return The description. */ @java.lang.Override @@ -1349,14 +1581,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; } } /** + * + * *
    * Entry description that can consist of several sentences or paragraphs
    * that describe entry contents.
@@ -1369,16 +1602,15 @@ public java.lang.String getDescription() {
    * 
* * string description = 4; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1389,11 +1621,14 @@ public java.lang.String getDescription() { public static final int BUSINESS_CONTEXT_FIELD_NUMBER = 37; private com.google.cloud.datacatalog.v1.BusinessContext businessContext_; /** + * + * *
    * Business Context of the entry. Not supported for BigQuery datasets
    * 
* * .google.cloud.datacatalog.v1.BusinessContext business_context = 37; + * * @return Whether the businessContext field is set. */ @java.lang.Override @@ -1401,18 +1636,25 @@ public boolean hasBusinessContext() { return businessContext_ != null; } /** + * + * *
    * Business Context of the entry. Not supported for BigQuery datasets
    * 
* * .google.cloud.datacatalog.v1.BusinessContext business_context = 37; + * * @return The businessContext. */ @java.lang.Override public com.google.cloud.datacatalog.v1.BusinessContext getBusinessContext() { - return businessContext_ == null ? com.google.cloud.datacatalog.v1.BusinessContext.getDefaultInstance() : businessContext_; + return businessContext_ == null + ? com.google.cloud.datacatalog.v1.BusinessContext.getDefaultInstance() + : businessContext_; } /** + * + * *
    * Business Context of the entry. Not supported for BigQuery datasets
    * 
@@ -1421,17 +1663,22 @@ public com.google.cloud.datacatalog.v1.BusinessContext getBusinessContext() { */ @java.lang.Override public com.google.cloud.datacatalog.v1.BusinessContextOrBuilder getBusinessContextOrBuilder() { - return businessContext_ == null ? com.google.cloud.datacatalog.v1.BusinessContext.getDefaultInstance() : businessContext_; + return businessContext_ == null + ? com.google.cloud.datacatalog.v1.BusinessContext.getDefaultInstance() + : businessContext_; } public static final int SCHEMA_FIELD_NUMBER = 5; private com.google.cloud.datacatalog.v1.Schema schema_; /** + * + * *
    * Schema of the entry. An entry might not have any schema attached to it.
    * 
* * .google.cloud.datacatalog.v1.Schema schema = 5; + * * @return Whether the schema field is set. */ @java.lang.Override @@ -1439,11 +1686,14 @@ public boolean hasSchema() { return schema_ != null; } /** + * + * *
    * Schema of the entry. An entry might not have any schema attached to it.
    * 
* * .google.cloud.datacatalog.v1.Schema schema = 5; + * * @return The schema. */ @java.lang.Override @@ -1451,6 +1701,8 @@ public com.google.cloud.datacatalog.v1.Schema getSchema() { return schema_ == null ? com.google.cloud.datacatalog.v1.Schema.getDefaultInstance() : schema_; } /** + * + * *
    * Schema of the entry. An entry might not have any schema attached to it.
    * 
@@ -1465,6 +1717,8 @@ public com.google.cloud.datacatalog.v1.SchemaOrBuilder getSchemaOrBuilder() { public static final int SOURCE_SYSTEM_TIMESTAMPS_FIELD_NUMBER = 7; private com.google.cloud.datacatalog.v1.SystemTimestamps sourceSystemTimestamps_; /** + * + * *
    * Timestamps from the underlying resource, not from the Data Catalog
    * entry.
@@ -1475,6 +1729,7 @@ public com.google.cloud.datacatalog.v1.SchemaOrBuilder getSchemaOrBuilder() {
    * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; + * * @return Whether the sourceSystemTimestamps field is set. */ @java.lang.Override @@ -1482,6 +1737,8 @@ public boolean hasSourceSystemTimestamps() { return sourceSystemTimestamps_ != null; } /** + * + * *
    * Timestamps from the underlying resource, not from the Data Catalog
    * entry.
@@ -1492,13 +1749,18 @@ public boolean hasSourceSystemTimestamps() {
    * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; + * * @return The sourceSystemTimestamps. */ @java.lang.Override public com.google.cloud.datacatalog.v1.SystemTimestamps getSourceSystemTimestamps() { - return sourceSystemTimestamps_ == null ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() : sourceSystemTimestamps_; + return sourceSystemTimestamps_ == null + ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() + : sourceSystemTimestamps_; } /** + * + * *
    * Timestamps from the underlying resource, not from the Data Catalog
    * entry.
@@ -1511,18 +1773,24 @@ public com.google.cloud.datacatalog.v1.SystemTimestamps getSourceSystemTimestamp
    * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7;
    */
   @java.lang.Override
-  public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getSourceSystemTimestampsOrBuilder() {
-    return sourceSystemTimestamps_ == null ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() : sourceSystemTimestamps_;
+  public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder
+      getSourceSystemTimestampsOrBuilder() {
+    return sourceSystemTimestamps_ == null
+        ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance()
+        : sourceSystemTimestamps_;
   }
 
   public static final int USAGE_SIGNAL_FIELD_NUMBER = 13;
   private com.google.cloud.datacatalog.v1.UsageSignal usageSignal_;
   /**
+   *
+   *
    * 
    * Resource usage statistics.
    * 
* * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13; + * * @return Whether the usageSignal field is set. */ @java.lang.Override @@ -1530,18 +1798,25 @@ public boolean hasUsageSignal() { return usageSignal_ != null; } /** + * + * *
    * Resource usage statistics.
    * 
* * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13; + * * @return The usageSignal. */ @java.lang.Override public com.google.cloud.datacatalog.v1.UsageSignal getUsageSignal() { - return usageSignal_ == null ? com.google.cloud.datacatalog.v1.UsageSignal.getDefaultInstance() : usageSignal_; + return usageSignal_ == null + ? com.google.cloud.datacatalog.v1.UsageSignal.getDefaultInstance() + : usageSignal_; } /** + * + * *
    * Resource usage statistics.
    * 
@@ -1550,36 +1825,40 @@ public com.google.cloud.datacatalog.v1.UsageSignal getUsageSignal() { */ @java.lang.Override public com.google.cloud.datacatalog.v1.UsageSignalOrBuilder getUsageSignalOrBuilder() { - return usageSignal_ == null ? com.google.cloud.datacatalog.v1.UsageSignal.getDefaultInstance() : usageSignal_; + return usageSignal_ == null + ? com.google.cloud.datacatalog.v1.UsageSignal.getDefaultInstance() + : usageSignal_; } public static final int LABELS_FIELD_NUMBER = 14; + 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.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_Entry_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.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_Entry_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(); } /** + * + * *
    * Cloud labels attached to the entry.
    *
@@ -1591,20 +1870,21 @@ public int getLabelsCount() {
    * map<string, string> labels = 14;
    */
   @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();
   }
   /**
+   *
+   *
    * 
    * Cloud labels attached to the entry.
    *
@@ -1620,6 +1900,8 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Cloud labels attached to the entry.
    *
@@ -1631,17 +1913,19 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 14;
    */
   @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;
   }
   /**
+   *
+   *
    * 
    * Cloud labels attached to the entry.
    *
@@ -1653,11 +1937,11 @@ java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 14;
    */
   @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();
     }
@@ -1667,11 +1951,16 @@ public java.lang.String getLabelsOrThrow(
   public static final int DATA_SOURCE_FIELD_NUMBER = 20;
   private com.google.cloud.datacatalog.v1.DataSource dataSource_;
   /**
+   *
+   *
    * 
    * Output only. Physical location of the entry.
    * 
* - * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dataSource field is set. */ @java.lang.Override @@ -1679,38 +1968,56 @@ public boolean hasDataSource() { return dataSource_ != null; } /** + * + * *
    * Output only. Physical location of the entry.
    * 
* - * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dataSource. */ @java.lang.Override public com.google.cloud.datacatalog.v1.DataSource getDataSource() { - return dataSource_ == null ? com.google.cloud.datacatalog.v1.DataSource.getDefaultInstance() : dataSource_; + return dataSource_ == null + ? com.google.cloud.datacatalog.v1.DataSource.getDefaultInstance() + : dataSource_; } /** + * + * *
    * Output only. Physical location of the entry.
    * 
* - * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1.DataSourceOrBuilder getDataSourceOrBuilder() { - return dataSource_ == null ? com.google.cloud.datacatalog.v1.DataSource.getDefaultInstance() : dataSource_; + return dataSource_ == null + ? com.google.cloud.datacatalog.v1.DataSource.getDefaultInstance() + : dataSource_; } public static final int PERSONAL_DETAILS_FIELD_NUMBER = 26; private com.google.cloud.datacatalog.v1.PersonalDetails personalDetails_; /** + * + * *
    * Output only. Additional information related to the entry. Private to the
    * current user.
    * 
* - * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the personalDetails field is set. */ @java.lang.Override @@ -1718,32 +2025,46 @@ public boolean hasPersonalDetails() { return personalDetails_ != null; } /** + * + * *
    * Output only. Additional information related to the entry. Private to the
    * current user.
    * 
* - * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The personalDetails. */ @java.lang.Override public com.google.cloud.datacatalog.v1.PersonalDetails getPersonalDetails() { - return personalDetails_ == null ? com.google.cloud.datacatalog.v1.PersonalDetails.getDefaultInstance() : personalDetails_; + return personalDetails_ == null + ? com.google.cloud.datacatalog.v1.PersonalDetails.getDefaultInstance() + : personalDetails_; } /** + * + * *
    * Output only. Additional information related to the entry. Private to the
    * current user.
    * 
* - * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1.PersonalDetailsOrBuilder getPersonalDetailsOrBuilder() { - return personalDetails_ == null ? com.google.cloud.datacatalog.v1.PersonalDetails.getDefaultInstance() : personalDetails_; + return personalDetails_ == null + ? com.google.cloud.datacatalog.v1.PersonalDetails.getDefaultInstance() + : personalDetails_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1755,8 +2076,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1787,12 +2107,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (usageSignal_ != null) { output.writeMessage(13, getUsageSignal()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 14); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 14); if (typeSpecCase_ == 15) { output.writeMessage(15, (com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec) typeSpec_); } @@ -1836,7 +2152,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(40, (com.google.cloud.datacatalog.v1.LookerSystemSpec) systemSpec_); } if (systemSpecCase_ == 41) { - output.writeMessage(41, (com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec) systemSpec_); + output.writeMessage( + 41, (com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec) systemSpec_); } if (specCase_ == 42) { output.writeMessage(42, (com.google.cloud.datacatalog.v1.ServiceSpec) spec_); @@ -1854,8 +2171,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (entryTypeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, ((java.lang.Integer) entryType_)); + size += + com.google.protobuf.CodedOutputStream.computeEnumSize( + 2, ((java.lang.Integer) entryType_)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_); @@ -1864,98 +2182,104 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); } if (schema_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getSchema()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getSchema()); } if (typeSpecCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.cloud.datacatalog.v1.GcsFilesetSpec) typeSpec_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.cloud.datacatalog.v1.GcsFilesetSpec) typeSpec_); } if (sourceSystemTimestamps_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getSourceSystemTimestamps()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(7, getSourceSystemTimestamps()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(linkedResource_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, linkedResource_); } if (typeSpecCase_ == 12) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, (com.google.cloud.datacatalog.v1.BigQueryTableSpec) typeSpec_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 12, (com.google.cloud.datacatalog.v1.BigQueryTableSpec) typeSpec_); } if (usageSignal_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, getUsageSignal()); - } - 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(14, labels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getUsageSignal()); + } + 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(14, labels__); } if (typeSpecCase_ == 15) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, (com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec) typeSpec_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 15, (com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec) typeSpec_); } if (entryTypeCase_ == 16) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, entryType_); } if (systemCase_ == 17) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(17, ((java.lang.Integer) system_)); + size += + com.google.protobuf.CodedOutputStream.computeEnumSize(17, ((java.lang.Integer) system_)); } if (systemCase_ == 18) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, system_); } if (dataSource_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(20, getDataSource()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getDataSource()); } if (specCase_ == 24) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(24, (com.google.cloud.datacatalog.v1.DatabaseTableSpec) spec_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 24, (com.google.cloud.datacatalog.v1.DatabaseTableSpec) spec_); } if (personalDetails_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(26, getPersonalDetails()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(26, getPersonalDetails()); } if (specCase_ == 27) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(27, (com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) spec_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 27, (com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) spec_); } if (specCase_ == 28) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(28, (com.google.cloud.datacatalog.v1.RoutineSpec) spec_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 28, (com.google.cloud.datacatalog.v1.RoutineSpec) spec_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullyQualifiedName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(29, fullyQualifiedName_); } if (specCase_ == 33) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(33, (com.google.cloud.datacatalog.v1.FilesetSpec) spec_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 33, (com.google.cloud.datacatalog.v1.FilesetSpec) spec_); } if (businessContext_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(37, getBusinessContext()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(37, getBusinessContext()); } if (systemSpecCase_ == 39) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(39, (com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec) systemSpec_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 39, (com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec) systemSpec_); } if (systemSpecCase_ == 40) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(40, (com.google.cloud.datacatalog.v1.LookerSystemSpec) systemSpec_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 40, (com.google.cloud.datacatalog.v1.LookerSystemSpec) systemSpec_); } if (systemSpecCase_ == 41) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(41, (com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec) systemSpec_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 41, (com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec) systemSpec_); } if (specCase_ == 42) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(42, (com.google.cloud.datacatalog.v1.ServiceSpec) spec_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 42, (com.google.cloud.datacatalog.v1.ServiceSpec) spec_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1965,64 +2289,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.datacatalog.v1.Entry)) { return super.equals(obj); } com.google.cloud.datacatalog.v1.Entry other = (com.google.cloud.datacatalog.v1.Entry) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getLinkedResource() - .equals(other.getLinkedResource())) return false; - if (!getFullyQualifiedName() - .equals(other.getFullyQualifiedName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getName().equals(other.getName())) return false; + if (!getLinkedResource().equals(other.getLinkedResource())) return false; + if (!getFullyQualifiedName().equals(other.getFullyQualifiedName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (hasBusinessContext() != other.hasBusinessContext()) return false; if (hasBusinessContext()) { - if (!getBusinessContext() - .equals(other.getBusinessContext())) return false; + if (!getBusinessContext().equals(other.getBusinessContext())) 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 (hasSourceSystemTimestamps() != other.hasSourceSystemTimestamps()) return false; if (hasSourceSystemTimestamps()) { - if (!getSourceSystemTimestamps() - .equals(other.getSourceSystemTimestamps())) return false; + if (!getSourceSystemTimestamps().equals(other.getSourceSystemTimestamps())) return false; } if (hasUsageSignal() != other.hasUsageSignal()) return false; if (hasUsageSignal()) { - if (!getUsageSignal() - .equals(other.getUsageSignal())) return false; + if (!getUsageSignal().equals(other.getUsageSignal())) return false; } - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (hasDataSource() != other.hasDataSource()) return false; if (hasDataSource()) { - if (!getDataSource() - .equals(other.getDataSource())) return false; + if (!getDataSource().equals(other.getDataSource())) return false; } if (hasPersonalDetails() != other.hasPersonalDetails()) return false; if (hasPersonalDetails()) { - if (!getPersonalDetails() - .equals(other.getPersonalDetails())) return false; + if (!getPersonalDetails().equals(other.getPersonalDetails())) return false; } if (!getEntryTypeCase().equals(other.getEntryTypeCase())) return false; switch (entryTypeCase_) { case 2: - if (getTypeValue() - != other.getTypeValue()) return false; + if (getTypeValue() != other.getTypeValue()) return false; break; case 16: - if (!getUserSpecifiedType() - .equals(other.getUserSpecifiedType())) return false; + if (!getUserSpecifiedType().equals(other.getUserSpecifiedType())) return false; break; case 0: default: @@ -2030,12 +2340,10 @@ public boolean equals(final java.lang.Object obj) { if (!getSystemCase().equals(other.getSystemCase())) return false; switch (systemCase_) { case 17: - if (getIntegratedSystemValue() - != other.getIntegratedSystemValue()) return false; + if (getIntegratedSystemValue() != other.getIntegratedSystemValue()) return false; break; case 18: - if (!getUserSpecifiedSystem() - .equals(other.getUserSpecifiedSystem())) return false; + if (!getUserSpecifiedSystem().equals(other.getUserSpecifiedSystem())) return false; break; case 0: default: @@ -2043,16 +2351,13 @@ public boolean equals(final java.lang.Object obj) { if (!getSystemSpecCase().equals(other.getSystemSpecCase())) return false; switch (systemSpecCase_) { case 39: - if (!getSqlDatabaseSystemSpec() - .equals(other.getSqlDatabaseSystemSpec())) return false; + if (!getSqlDatabaseSystemSpec().equals(other.getSqlDatabaseSystemSpec())) return false; break; case 40: - if (!getLookerSystemSpec() - .equals(other.getLookerSystemSpec())) return false; + if (!getLookerSystemSpec().equals(other.getLookerSystemSpec())) return false; break; case 41: - if (!getCloudBigtableSystemSpec() - .equals(other.getCloudBigtableSystemSpec())) return false; + if (!getCloudBigtableSystemSpec().equals(other.getCloudBigtableSystemSpec())) return false; break; case 0: default: @@ -2060,16 +2365,13 @@ public boolean equals(final java.lang.Object obj) { if (!getTypeSpecCase().equals(other.getTypeSpecCase())) return false; switch (typeSpecCase_) { case 6: - if (!getGcsFilesetSpec() - .equals(other.getGcsFilesetSpec())) return false; + if (!getGcsFilesetSpec().equals(other.getGcsFilesetSpec())) return false; break; case 12: - if (!getBigqueryTableSpec() - .equals(other.getBigqueryTableSpec())) return false; + if (!getBigqueryTableSpec().equals(other.getBigqueryTableSpec())) return false; break; case 15: - if (!getBigqueryDateShardedSpec() - .equals(other.getBigqueryDateShardedSpec())) return false; + if (!getBigqueryDateShardedSpec().equals(other.getBigqueryDateShardedSpec())) return false; break; case 0: default: @@ -2077,24 +2379,20 @@ public boolean equals(final java.lang.Object obj) { if (!getSpecCase().equals(other.getSpecCase())) return false; switch (specCase_) { case 24: - if (!getDatabaseTableSpec() - .equals(other.getDatabaseTableSpec())) return false; + if (!getDatabaseTableSpec().equals(other.getDatabaseTableSpec())) return false; break; case 27: - if (!getDataSourceConnectionSpec() - .equals(other.getDataSourceConnectionSpec())) return false; + if (!getDataSourceConnectionSpec().equals(other.getDataSourceConnectionSpec())) + return false; break; case 28: - if (!getRoutineSpec() - .equals(other.getRoutineSpec())) return false; + if (!getRoutineSpec().equals(other.getRoutineSpec())) return false; break; case 33: - if (!getFilesetSpec() - .equals(other.getFilesetSpec())) return false; + if (!getFilesetSpec().equals(other.getFilesetSpec())) return false; break; case 42: - if (!getServiceSpec() - .equals(other.getServiceSpec())) return false; + if (!getServiceSpec().equals(other.getServiceSpec())) return false; break; case 0: default: @@ -2233,99 +2531,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.Entry parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.Entry parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.Entry parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.Entry parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.datacatalog.v1.Entry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.Entry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.Entry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.Entry parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.Entry parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.Entry parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.datacatalog.v1.Entry 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.datacatalog.v1.Entry parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.Entry parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.Entry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.Entry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Entry metadata.
    * A Data Catalog entry represents another resource in Google
@@ -2341,55 +2643,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.Entry}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.Entry)
       com.google.cloud.datacatalog.v1.EntryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_Entry_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_Entry_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 14:
           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 14:
           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.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_Entry_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_Entry_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.Entry.class, com.google.cloud.datacatalog.v1.Entry.Builder.class);
+              com.google.cloud.datacatalog.v1.Entry.class,
+              com.google.cloud.datacatalog.v1.Entry.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.Entry.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2477,9 +2776,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_Entry_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_Entry_descriptor;
     }
 
     @java.lang.Override
@@ -2498,8 +2797,11 @@ public com.google.cloud.datacatalog.v1.Entry build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.Entry buildPartial() {
-      com.google.cloud.datacatalog.v1.Entry result = new com.google.cloud.datacatalog.v1.Entry(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.Entry result =
+          new com.google.cloud.datacatalog.v1.Entry(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -2523,38 +2825,32 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.Entry result) {
         result.description_ = description_;
       }
       if (((from_bitField0_ & 0x00100000) != 0)) {
-        result.businessContext_ = businessContextBuilder_ == null
-            ? businessContext_
-            : businessContextBuilder_.build();
+        result.businessContext_ =
+            businessContextBuilder_ == null ? businessContext_ : businessContextBuilder_.build();
       }
       if (((from_bitField0_ & 0x00200000) != 0)) {
-        result.schema_ = schemaBuilder_ == null
-            ? schema_
-            : schemaBuilder_.build();
+        result.schema_ = schemaBuilder_ == null ? schema_ : schemaBuilder_.build();
       }
       if (((from_bitField0_ & 0x00400000) != 0)) {
-        result.sourceSystemTimestamps_ = sourceSystemTimestampsBuilder_ == null
-            ? sourceSystemTimestamps_
-            : sourceSystemTimestampsBuilder_.build();
+        result.sourceSystemTimestamps_ =
+            sourceSystemTimestampsBuilder_ == null
+                ? sourceSystemTimestamps_
+                : sourceSystemTimestampsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00800000) != 0)) {
-        result.usageSignal_ = usageSignalBuilder_ == null
-            ? usageSignal_
-            : usageSignalBuilder_.build();
+        result.usageSignal_ =
+            usageSignalBuilder_ == null ? usageSignal_ : usageSignalBuilder_.build();
       }
       if (((from_bitField0_ & 0x01000000) != 0)) {
         result.labels_ = internalGetLabels();
         result.labels_.makeImmutable();
       }
       if (((from_bitField0_ & 0x02000000) != 0)) {
-        result.dataSource_ = dataSourceBuilder_ == null
-            ? dataSource_
-            : dataSourceBuilder_.build();
+        result.dataSource_ = dataSourceBuilder_ == null ? dataSource_ : dataSourceBuilder_.build();
       }
       if (((from_bitField0_ & 0x04000000) != 0)) {
-        result.personalDetails_ = personalDetailsBuilder_ == null
-            ? personalDetails_
-            : personalDetailsBuilder_.build();
+        result.personalDetails_ =
+            personalDetailsBuilder_ == null ? personalDetails_ : personalDetailsBuilder_.build();
       }
     }
 
@@ -2565,52 +2861,41 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.Entry result) {
       result.system_ = this.system_;
       result.systemSpecCase_ = systemSpecCase_;
       result.systemSpec_ = this.systemSpec_;
-      if (systemSpecCase_ == 39 &&
-          sqlDatabaseSystemSpecBuilder_ != null) {
+      if (systemSpecCase_ == 39 && sqlDatabaseSystemSpecBuilder_ != null) {
         result.systemSpec_ = sqlDatabaseSystemSpecBuilder_.build();
       }
-      if (systemSpecCase_ == 40 &&
-          lookerSystemSpecBuilder_ != null) {
+      if (systemSpecCase_ == 40 && lookerSystemSpecBuilder_ != null) {
         result.systemSpec_ = lookerSystemSpecBuilder_.build();
       }
-      if (systemSpecCase_ == 41 &&
-          cloudBigtableSystemSpecBuilder_ != null) {
+      if (systemSpecCase_ == 41 && cloudBigtableSystemSpecBuilder_ != null) {
         result.systemSpec_ = cloudBigtableSystemSpecBuilder_.build();
       }
       result.typeSpecCase_ = typeSpecCase_;
       result.typeSpec_ = this.typeSpec_;
-      if (typeSpecCase_ == 6 &&
-          gcsFilesetSpecBuilder_ != null) {
+      if (typeSpecCase_ == 6 && gcsFilesetSpecBuilder_ != null) {
         result.typeSpec_ = gcsFilesetSpecBuilder_.build();
       }
-      if (typeSpecCase_ == 12 &&
-          bigqueryTableSpecBuilder_ != null) {
+      if (typeSpecCase_ == 12 && bigqueryTableSpecBuilder_ != null) {
         result.typeSpec_ = bigqueryTableSpecBuilder_.build();
       }
-      if (typeSpecCase_ == 15 &&
-          bigqueryDateShardedSpecBuilder_ != null) {
+      if (typeSpecCase_ == 15 && bigqueryDateShardedSpecBuilder_ != null) {
         result.typeSpec_ = bigqueryDateShardedSpecBuilder_.build();
       }
       result.specCase_ = specCase_;
       result.spec_ = this.spec_;
-      if (specCase_ == 24 &&
-          databaseTableSpecBuilder_ != null) {
+      if (specCase_ == 24 && databaseTableSpecBuilder_ != null) {
         result.spec_ = databaseTableSpecBuilder_.build();
       }
-      if (specCase_ == 27 &&
-          dataSourceConnectionSpecBuilder_ != null) {
+      if (specCase_ == 27 && dataSourceConnectionSpecBuilder_ != null) {
         result.spec_ = dataSourceConnectionSpecBuilder_.build();
       }
-      if (specCase_ == 28 &&
-          routineSpecBuilder_ != null) {
+      if (specCase_ == 28 && routineSpecBuilder_ != null) {
         result.spec_ = routineSpecBuilder_.build();
       }
-      if (specCase_ == 33 &&
-          filesetSpecBuilder_ != null) {
+      if (specCase_ == 33 && filesetSpecBuilder_ != null) {
         result.spec_ = filesetSpecBuilder_.build();
       }
-      if (specCase_ == 42 &&
-          serviceSpecBuilder_ != null) {
+      if (specCase_ == 42 && serviceSpecBuilder_ != null) {
         result.spec_ = serviceSpecBuilder_.build();
       }
     }
@@ -2619,38 +2904,39 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.Entry result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.Entry) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.Entry)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.Entry) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2696,8 +2982,7 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.Entry other) {
       if (other.hasUsageSignal()) {
         mergeUsageSignal(other.getUsageSignal());
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x01000000;
       if (other.hasDataSource()) {
         mergeDataSource(other.getDataSource());
@@ -2706,93 +2991,113 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.Entry other) {
         mergePersonalDetails(other.getPersonalDetails());
       }
       switch (other.getEntryTypeCase()) {
-        case TYPE: {
-          setTypeValue(other.getTypeValue());
-          break;
-        }
-        case USER_SPECIFIED_TYPE: {
-          entryTypeCase_ = 16;
-          entryType_ = other.entryType_;
-          onChanged();
-          break;
-        }
-        case ENTRYTYPE_NOT_SET: {
-          break;
-        }
+        case TYPE:
+          {
+            setTypeValue(other.getTypeValue());
+            break;
+          }
+        case USER_SPECIFIED_TYPE:
+          {
+            entryTypeCase_ = 16;
+            entryType_ = other.entryType_;
+            onChanged();
+            break;
+          }
+        case ENTRYTYPE_NOT_SET:
+          {
+            break;
+          }
       }
       switch (other.getSystemCase()) {
-        case INTEGRATED_SYSTEM: {
-          setIntegratedSystemValue(other.getIntegratedSystemValue());
-          break;
-        }
-        case USER_SPECIFIED_SYSTEM: {
-          systemCase_ = 18;
-          system_ = other.system_;
-          onChanged();
-          break;
-        }
-        case SYSTEM_NOT_SET: {
-          break;
-        }
+        case INTEGRATED_SYSTEM:
+          {
+            setIntegratedSystemValue(other.getIntegratedSystemValue());
+            break;
+          }
+        case USER_SPECIFIED_SYSTEM:
+          {
+            systemCase_ = 18;
+            system_ = other.system_;
+            onChanged();
+            break;
+          }
+        case SYSTEM_NOT_SET:
+          {
+            break;
+          }
       }
       switch (other.getSystemSpecCase()) {
-        case SQL_DATABASE_SYSTEM_SPEC: {
-          mergeSqlDatabaseSystemSpec(other.getSqlDatabaseSystemSpec());
-          break;
-        }
-        case LOOKER_SYSTEM_SPEC: {
-          mergeLookerSystemSpec(other.getLookerSystemSpec());
-          break;
-        }
-        case CLOUD_BIGTABLE_SYSTEM_SPEC: {
-          mergeCloudBigtableSystemSpec(other.getCloudBigtableSystemSpec());
-          break;
-        }
-        case SYSTEMSPEC_NOT_SET: {
-          break;
-        }
+        case SQL_DATABASE_SYSTEM_SPEC:
+          {
+            mergeSqlDatabaseSystemSpec(other.getSqlDatabaseSystemSpec());
+            break;
+          }
+        case LOOKER_SYSTEM_SPEC:
+          {
+            mergeLookerSystemSpec(other.getLookerSystemSpec());
+            break;
+          }
+        case CLOUD_BIGTABLE_SYSTEM_SPEC:
+          {
+            mergeCloudBigtableSystemSpec(other.getCloudBigtableSystemSpec());
+            break;
+          }
+        case SYSTEMSPEC_NOT_SET:
+          {
+            break;
+          }
       }
       switch (other.getTypeSpecCase()) {
-        case GCS_FILESET_SPEC: {
-          mergeGcsFilesetSpec(other.getGcsFilesetSpec());
-          break;
-        }
-        case BIGQUERY_TABLE_SPEC: {
-          mergeBigqueryTableSpec(other.getBigqueryTableSpec());
-          break;
-        }
-        case BIGQUERY_DATE_SHARDED_SPEC: {
-          mergeBigqueryDateShardedSpec(other.getBigqueryDateShardedSpec());
-          break;
-        }
-        case TYPESPEC_NOT_SET: {
-          break;
-        }
+        case GCS_FILESET_SPEC:
+          {
+            mergeGcsFilesetSpec(other.getGcsFilesetSpec());
+            break;
+          }
+        case BIGQUERY_TABLE_SPEC:
+          {
+            mergeBigqueryTableSpec(other.getBigqueryTableSpec());
+            break;
+          }
+        case BIGQUERY_DATE_SHARDED_SPEC:
+          {
+            mergeBigqueryDateShardedSpec(other.getBigqueryDateShardedSpec());
+            break;
+          }
+        case TYPESPEC_NOT_SET:
+          {
+            break;
+          }
       }
       switch (other.getSpecCase()) {
-        case DATABASE_TABLE_SPEC: {
-          mergeDatabaseTableSpec(other.getDatabaseTableSpec());
-          break;
-        }
-        case DATA_SOURCE_CONNECTION_SPEC: {
-          mergeDataSourceConnectionSpec(other.getDataSourceConnectionSpec());
-          break;
-        }
-        case ROUTINE_SPEC: {
-          mergeRoutineSpec(other.getRoutineSpec());
-          break;
-        }
-        case FILESET_SPEC: {
-          mergeFilesetSpec(other.getFilesetSpec());
-          break;
-        }
-        case SERVICE_SPEC: {
-          mergeServiceSpec(other.getServiceSpec());
-          break;
-        }
-        case SPEC_NOT_SET: {
-          break;
-        }
+        case DATABASE_TABLE_SPEC:
+          {
+            mergeDatabaseTableSpec(other.getDatabaseTableSpec());
+            break;
+          }
+        case DATA_SOURCE_CONNECTION_SPEC:
+          {
+            mergeDataSourceConnectionSpec(other.getDataSourceConnectionSpec());
+            break;
+          }
+        case ROUTINE_SPEC:
+          {
+            mergeRoutineSpec(other.getRoutineSpec());
+            break;
+          }
+        case FILESET_SPEC:
+          {
+            mergeFilesetSpec(other.getFilesetSpec());
+            break;
+          }
+        case SERVICE_SPEC:
+          {
+            mergeServiceSpec(other.getServiceSpec());
+            break;
+          }
+        case SPEC_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -2820,189 +3125,193 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              int rawValue = input.readEnum();
-              entryTypeCase_ = 2;
-              entryType_ = rawValue;
-              break;
-            } // case 16
-            case 26: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00040000;
-              break;
-            } // case 26
-            case 34: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00080000;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getSchemaFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00200000;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getGcsFilesetSpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              typeSpecCase_ = 6;
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getSourceSystemTimestampsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00400000;
-              break;
-            } // case 58
-            case 74: {
-              linkedResource_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 74
-            case 98: {
-              input.readMessage(
-                  getBigqueryTableSpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              typeSpecCase_ = 12;
-              break;
-            } // case 98
-            case 106: {
-              input.readMessage(
-                  getUsageSignalFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00800000;
-              break;
-            } // case 106
-            case 114: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x01000000;
-              break;
-            } // case 114
-            case 122: {
-              input.readMessage(
-                  getBigqueryDateShardedSpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              typeSpecCase_ = 15;
-              break;
-            } // case 122
-            case 130: {
-              java.lang.String s = input.readStringRequireUtf8();
-              entryTypeCase_ = 16;
-              entryType_ = s;
-              break;
-            } // case 130
-            case 136: {
-              int rawValue = input.readEnum();
-              systemCase_ = 17;
-              system_ = rawValue;
-              break;
-            } // case 136
-            case 146: {
-              java.lang.String s = input.readStringRequireUtf8();
-              systemCase_ = 18;
-              system_ = s;
-              break;
-            } // case 146
-            case 162: {
-              input.readMessage(
-                  getDataSourceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x02000000;
-              break;
-            } // case 162
-            case 194: {
-              input.readMessage(
-                  getDatabaseTableSpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              specCase_ = 24;
-              break;
-            } // case 194
-            case 210: {
-              input.readMessage(
-                  getPersonalDetailsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x04000000;
-              break;
-            } // case 210
-            case 218: {
-              input.readMessage(
-                  getDataSourceConnectionSpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              specCase_ = 27;
-              break;
-            } // case 218
-            case 226: {
-              input.readMessage(
-                  getRoutineSpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              specCase_ = 28;
-              break;
-            } // case 226
-            case 234: {
-              fullyQualifiedName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 234
-            case 266: {
-              input.readMessage(
-                  getFilesetSpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              specCase_ = 33;
-              break;
-            } // case 266
-            case 298: {
-              input.readMessage(
-                  getBusinessContextFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00100000;
-              break;
-            } // case 298
-            case 314: {
-              input.readMessage(
-                  getSqlDatabaseSystemSpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              systemSpecCase_ = 39;
-              break;
-            } // case 314
-            case 322: {
-              input.readMessage(
-                  getLookerSystemSpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              systemSpecCase_ = 40;
-              break;
-            } // case 322
-            case 330: {
-              input.readMessage(
-                  getCloudBigtableSystemSpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              systemSpecCase_ = 41;
-              break;
-            } // case 330
-            case 338: {
-              input.readMessage(
-                  getServiceSpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              specCase_ = 42;
-              break;
-            } // case 338
-            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:
+              {
+                int rawValue = input.readEnum();
+                entryTypeCase_ = 2;
+                entryType_ = rawValue;
+                break;
+              } // case 16
+            case 26:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00040000;
+                break;
+              } // case 26
+            case 34:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00080000;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getSchemaFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00200000;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getGcsFilesetSpecFieldBuilder().getBuilder(), extensionRegistry);
+                typeSpecCase_ = 6;
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(
+                    getSourceSystemTimestampsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00400000;
+                break;
+              } // case 58
+            case 74:
+              {
+                linkedResource_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 74
+            case 98:
+              {
+                input.readMessage(
+                    getBigqueryTableSpecFieldBuilder().getBuilder(), extensionRegistry);
+                typeSpecCase_ = 12;
+                break;
+              } // case 98
+            case 106:
+              {
+                input.readMessage(getUsageSignalFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00800000;
+                break;
+              } // case 106
+            case 114:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x01000000;
+                break;
+              } // case 114
+            case 122:
+              {
+                input.readMessage(
+                    getBigqueryDateShardedSpecFieldBuilder().getBuilder(), extensionRegistry);
+                typeSpecCase_ = 15;
+                break;
+              } // case 122
+            case 130:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                entryTypeCase_ = 16;
+                entryType_ = s;
+                break;
+              } // case 130
+            case 136:
+              {
+                int rawValue = input.readEnum();
+                systemCase_ = 17;
+                system_ = rawValue;
+                break;
+              } // case 136
+            case 146:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                systemCase_ = 18;
+                system_ = s;
+                break;
+              } // case 146
+            case 162:
+              {
+                input.readMessage(getDataSourceFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x02000000;
+                break;
+              } // case 162
+            case 194:
+              {
+                input.readMessage(
+                    getDatabaseTableSpecFieldBuilder().getBuilder(), extensionRegistry);
+                specCase_ = 24;
+                break;
+              } // case 194
+            case 210:
+              {
+                input.readMessage(getPersonalDetailsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x04000000;
+                break;
+              } // case 210
+            case 218:
+              {
+                input.readMessage(
+                    getDataSourceConnectionSpecFieldBuilder().getBuilder(), extensionRegistry);
+                specCase_ = 27;
+                break;
+              } // case 218
+            case 226:
+              {
+                input.readMessage(getRoutineSpecFieldBuilder().getBuilder(), extensionRegistry);
+                specCase_ = 28;
+                break;
+              } // case 226
+            case 234:
+              {
+                fullyQualifiedName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 234
+            case 266:
+              {
+                input.readMessage(getFilesetSpecFieldBuilder().getBuilder(), extensionRegistry);
+                specCase_ = 33;
+                break;
+              } // case 266
+            case 298:
+              {
+                input.readMessage(getBusinessContextFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00100000;
+                break;
+              } // case 298
+            case 314:
+              {
+                input.readMessage(
+                    getSqlDatabaseSystemSpecFieldBuilder().getBuilder(), extensionRegistry);
+                systemSpecCase_ = 39;
+                break;
+              } // case 314
+            case 322:
+              {
+                input.readMessage(
+                    getLookerSystemSpecFieldBuilder().getBuilder(), extensionRegistry);
+                systemSpecCase_ = 40;
+                break;
+              } // case 322
+            case 330:
+              {
+                input.readMessage(
+                    getCloudBigtableSystemSpecFieldBuilder().getBuilder(), extensionRegistry);
+                systemSpecCase_ = 41;
+                break;
+              } // case 330
+            case 338:
+              {
+                input.readMessage(getServiceSpecFieldBuilder().getBuilder(), extensionRegistry);
+                specCase_ = 42;
+                break;
+              } // case 338
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3012,12 +3321,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int entryTypeCase_ = 0;
     private java.lang.Object entryType_;
-    public EntryTypeCase
-        getEntryTypeCase() {
-      return EntryTypeCase.forNumber(
-          entryTypeCase_);
+
+    public EntryTypeCase getEntryTypeCase() {
+      return EntryTypeCase.forNumber(entryTypeCase_);
     }
 
     public Builder clearEntryType() {
@@ -3029,10 +3338,9 @@ public Builder clearEntryType() {
 
     private int systemCase_ = 0;
     private java.lang.Object system_;
-    public SystemCase
-        getSystemCase() {
-      return SystemCase.forNumber(
-          systemCase_);
+
+    public SystemCase getSystemCase() {
+      return SystemCase.forNumber(systemCase_);
     }
 
     public Builder clearSystem() {
@@ -3044,10 +3352,9 @@ public Builder clearSystem() {
 
     private int systemSpecCase_ = 0;
     private java.lang.Object systemSpec_;
-    public SystemSpecCase
-        getSystemSpecCase() {
-      return SystemSpecCase.forNumber(
-          systemSpecCase_);
+
+    public SystemSpecCase getSystemSpecCase() {
+      return SystemSpecCase.forNumber(systemSpecCase_);
     }
 
     public Builder clearSystemSpec() {
@@ -3059,10 +3366,9 @@ public Builder clearSystemSpec() {
 
     private int typeSpecCase_ = 0;
     private java.lang.Object typeSpec_;
-    public TypeSpecCase
-        getTypeSpecCase() {
-      return TypeSpecCase.forNumber(
-          typeSpecCase_);
+
+    public TypeSpecCase getTypeSpecCase() {
+      return TypeSpecCase.forNumber(typeSpecCase_);
     }
 
     public Builder clearTypeSpec() {
@@ -3074,10 +3380,9 @@ public Builder clearTypeSpec() {
 
     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() {
@@ -3091,6 +3396,8 @@ public Builder clearSpec() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The resource name of an entry in URL format.
      *
@@ -3098,14 +3405,16 @@ public Builder clearSpec() {
      * stored in the location specified in its name.
      * 
* - * 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; @@ -3114,6 +3423,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name of an entry in URL format.
      *
@@ -3121,16 +3432,17 @@ public java.lang.String getName() {
      * stored in the location specified in its name.
      * 
* - * 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 { @@ -3138,6 +3450,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name of an entry in URL format.
      *
@@ -3145,19 +3459,25 @@ public java.lang.String getName() {
      * stored in the location specified in its name.
      * 
* - * 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 an entry in URL format.
      *
@@ -3165,7 +3485,10 @@ public Builder setName(
      * stored in the location specified in its name.
      * 
* - * 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() { @@ -3175,6 +3498,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The resource name of an entry in URL format.
      *
@@ -3182,13 +3507,17 @@ public Builder clearName() {
      * stored in the location specified in its name.
      * 
* - * 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; @@ -3198,6 +3527,8 @@ public Builder setNameBytes( private java.lang.Object linkedResource_ = ""; /** + * + * *
      * The resource this metadata entry refers to.
      *
@@ -3220,13 +3551,13 @@ public Builder setNameBytes(
      * 
* * string linked_resource = 9; + * * @return The linkedResource. */ public java.lang.String getLinkedResource() { java.lang.Object ref = linkedResource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); linkedResource_ = s; return s; @@ -3235,6 +3566,8 @@ public java.lang.String getLinkedResource() { } } /** + * + * *
      * The resource this metadata entry refers to.
      *
@@ -3257,15 +3590,14 @@ public java.lang.String getLinkedResource() {
      * 
* * string linked_resource = 9; + * * @return The bytes for linkedResource. */ - public com.google.protobuf.ByteString - getLinkedResourceBytes() { + public com.google.protobuf.ByteString getLinkedResourceBytes() { java.lang.Object ref = linkedResource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); linkedResource_ = b; return b; } else { @@ -3273,6 +3605,8 @@ public java.lang.String getLinkedResource() { } } /** + * + * *
      * The resource this metadata entry refers to.
      *
@@ -3295,18 +3629,22 @@ public java.lang.String getLinkedResource() {
      * 
* * string linked_resource = 9; + * * @param value The linkedResource to set. * @return This builder for chaining. */ - public Builder setLinkedResource( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLinkedResource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } linkedResource_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The resource this metadata entry refers to.
      *
@@ -3329,6 +3667,7 @@ public Builder setLinkedResource(
      * 
* * string linked_resource = 9; + * * @return This builder for chaining. */ public Builder clearLinkedResource() { @@ -3338,6 +3677,8 @@ public Builder clearLinkedResource() { return this; } /** + * + * *
      * The resource this metadata entry refers to.
      *
@@ -3360,12 +3701,14 @@ public Builder clearLinkedResource() {
      * 
* * string linked_resource = 9; + * * @param value The bytes for linkedResource to set. * @return This builder for chaining. */ - public Builder setLinkedResourceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); linkedResource_ = value; bitField0_ |= 0x00000002; @@ -3375,6 +3718,8 @@ public Builder setLinkedResourceBytes( private java.lang.Object fullyQualifiedName_ = ""; /** + * + * *
      * [Fully Qualified Name
      * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -3384,13 +3729,13 @@ public Builder setLinkedResourceBytes(
      * 
* * string fully_qualified_name = 29; + * * @return The fullyQualifiedName. */ public java.lang.String getFullyQualifiedName() { java.lang.Object ref = fullyQualifiedName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullyQualifiedName_ = s; return s; @@ -3399,6 +3744,8 @@ public java.lang.String getFullyQualifiedName() { } } /** + * + * *
      * [Fully Qualified Name
      * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -3408,15 +3755,14 @@ public java.lang.String getFullyQualifiedName() {
      * 
* * string fully_qualified_name = 29; + * * @return The bytes for fullyQualifiedName. */ - public com.google.protobuf.ByteString - getFullyQualifiedNameBytes() { + public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { java.lang.Object ref = fullyQualifiedName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fullyQualifiedName_ = b; return b; } else { @@ -3424,6 +3770,8 @@ public java.lang.String getFullyQualifiedName() { } } /** + * + * *
      * [Fully Qualified Name
      * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -3433,18 +3781,22 @@ public java.lang.String getFullyQualifiedName() {
      * 
* * string fully_qualified_name = 29; + * * @param value The fullyQualifiedName to set. * @return This builder for chaining. */ - public Builder setFullyQualifiedName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFullyQualifiedName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } fullyQualifiedName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * [Fully Qualified Name
      * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -3454,6 +3806,7 @@ public Builder setFullyQualifiedName(
      * 
* * string fully_qualified_name = 29; + * * @return This builder for chaining. */ public Builder clearFullyQualifiedName() { @@ -3463,6 +3816,8 @@ public Builder clearFullyQualifiedName() { return this; } /** + * + * *
      * [Fully Qualified Name
      * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -3472,12 +3827,14 @@ public Builder clearFullyQualifiedName() {
      * 
* * string fully_qualified_name = 29; + * * @param value The bytes for fullyQualifiedName to set. * @return This builder for chaining. */ - public Builder setFullyQualifiedNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFullyQualifiedNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); fullyQualifiedName_ = value; bitField0_ |= 0x00000004; @@ -3486,6 +3843,8 @@ public Builder setFullyQualifiedNameBytes( } /** + * + * *
      * The type of the entry.
      *
@@ -3493,6 +3852,7 @@ public Builder setFullyQualifiedNameBytes(
      * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; + * * @return Whether the type field is set. */ @java.lang.Override @@ -3500,6 +3860,8 @@ public boolean hasType() { return entryTypeCase_ == 2; } /** + * + * *
      * The type of the entry.
      *
@@ -3507,6 +3869,7 @@ public boolean hasType() {
      * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; + * * @return The enum numeric value on the wire for type. */ @java.lang.Override @@ -3517,6 +3880,8 @@ public int getTypeValue() { return 0; } /** + * + * *
      * The type of the entry.
      *
@@ -3524,6 +3889,7 @@ public int getTypeValue() {
      * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -3534,6 +3900,8 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * The type of the entry.
      *
@@ -3541,18 +3909,21 @@ public Builder setTypeValue(int value) {
      * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; + * * @return The type. */ @java.lang.Override public com.google.cloud.datacatalog.v1.EntryType getType() { if (entryTypeCase_ == 2) { - com.google.cloud.datacatalog.v1.EntryType result = com.google.cloud.datacatalog.v1.EntryType.forNumber( - (java.lang.Integer) entryType_); + com.google.cloud.datacatalog.v1.EntryType result = + com.google.cloud.datacatalog.v1.EntryType.forNumber((java.lang.Integer) entryType_); return result == null ? com.google.cloud.datacatalog.v1.EntryType.UNRECOGNIZED : result; } return com.google.cloud.datacatalog.v1.EntryType.ENTRY_TYPE_UNSPECIFIED; } /** + * + * *
      * The type of the entry.
      *
@@ -3560,6 +3931,7 @@ public com.google.cloud.datacatalog.v1.EntryType getType() {
      * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; + * * @param value The type to set. * @return This builder for chaining. */ @@ -3573,6 +3945,8 @@ public Builder setType(com.google.cloud.datacatalog.v1.EntryType value) { return this; } /** + * + * *
      * The type of the entry.
      *
@@ -3580,6 +3954,7 @@ public Builder setType(com.google.cloud.datacatalog.v1.EntryType value) {
      * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; + * * @return This builder for chaining. */ public Builder clearType() { @@ -3592,6 +3967,8 @@ public Builder clearType() { } /** + * + * *
      * Custom entry type that doesn't match any of the values allowed for input
      * and listed in the `EntryType` enum.
@@ -3609,6 +3986,7 @@ public Builder clearType() {
      * 
* * string user_specified_type = 16; + * * @return Whether the userSpecifiedType field is set. */ @java.lang.Override @@ -3616,6 +3994,8 @@ public boolean hasUserSpecifiedType() { return entryTypeCase_ == 16; } /** + * + * *
      * Custom entry type that doesn't match any of the values allowed for input
      * and listed in the `EntryType` enum.
@@ -3633,6 +4013,7 @@ public boolean hasUserSpecifiedType() {
      * 
* * string user_specified_type = 16; + * * @return The userSpecifiedType. */ @java.lang.Override @@ -3642,8 +4023,7 @@ public java.lang.String getUserSpecifiedType() { ref = entryType_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (entryTypeCase_ == 16) { entryType_ = s; @@ -3654,6 +4034,8 @@ public java.lang.String getUserSpecifiedType() { } } /** + * + * *
      * Custom entry type that doesn't match any of the values allowed for input
      * and listed in the `EntryType` enum.
@@ -3671,19 +4053,18 @@ public java.lang.String getUserSpecifiedType() {
      * 
* * string user_specified_type = 16; + * * @return The bytes for userSpecifiedType. */ @java.lang.Override - public com.google.protobuf.ByteString - getUserSpecifiedTypeBytes() { + public com.google.protobuf.ByteString getUserSpecifiedTypeBytes() { java.lang.Object ref = ""; if (entryTypeCase_ == 16) { ref = entryType_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (entryTypeCase_ == 16) { entryType_ = b; } @@ -3693,6 +4074,8 @@ public java.lang.String getUserSpecifiedType() { } } /** + * + * *
      * Custom entry type that doesn't match any of the values allowed for input
      * and listed in the `EntryType` enum.
@@ -3710,18 +4093,22 @@ public java.lang.String getUserSpecifiedType() {
      * 
* * string user_specified_type = 16; + * * @param value The userSpecifiedType to set. * @return This builder for chaining. */ - public Builder setUserSpecifiedType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUserSpecifiedType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } entryTypeCase_ = 16; entryType_ = value; onChanged(); return this; } /** + * + * *
      * Custom entry type that doesn't match any of the values allowed for input
      * and listed in the `EntryType` enum.
@@ -3739,6 +4126,7 @@ public Builder setUserSpecifiedType(
      * 
* * string user_specified_type = 16; + * * @return This builder for chaining. */ public Builder clearUserSpecifiedType() { @@ -3750,6 +4138,8 @@ public Builder clearUserSpecifiedType() { return this; } /** + * + * *
      * Custom entry type that doesn't match any of the values allowed for input
      * and listed in the `EntryType` enum.
@@ -3767,12 +4157,14 @@ public Builder clearUserSpecifiedType() {
      * 
* * string user_specified_type = 16; + * * @param value The bytes for userSpecifiedType to set. * @return This builder for chaining. */ - public Builder setUserSpecifiedTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUserSpecifiedTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); entryTypeCase_ = 16; entryType_ = value; @@ -3781,12 +4173,17 @@ public Builder setUserSpecifiedTypeBytes( } /** + * + * *
      * Output only. Indicates the entry's source system that Data Catalog
      * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
      * 
* - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the integratedSystem field is set. */ @java.lang.Override @@ -3794,12 +4191,17 @@ public boolean hasIntegratedSystem() { return systemCase_ == 17; } /** + * + * *
      * Output only. Indicates the entry's source system that Data Catalog
      * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
      * 
* - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for integratedSystem. */ @java.lang.Override @@ -3810,12 +4212,17 @@ public int getIntegratedSystemValue() { return 0; } /** + * + * *
      * Output only. Indicates the entry's source system that Data Catalog
      * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
      * 
* - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for integratedSystem to set. * @return This builder for chaining. */ @@ -3826,30 +4233,42 @@ public Builder setIntegratedSystemValue(int value) { return this; } /** + * + * *
      * Output only. Indicates the entry's source system that Data Catalog
      * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
      * 
* - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The integratedSystem. */ @java.lang.Override public com.google.cloud.datacatalog.v1.IntegratedSystem getIntegratedSystem() { if (systemCase_ == 17) { - com.google.cloud.datacatalog.v1.IntegratedSystem result = com.google.cloud.datacatalog.v1.IntegratedSystem.forNumber( - (java.lang.Integer) system_); - return result == null ? com.google.cloud.datacatalog.v1.IntegratedSystem.UNRECOGNIZED : result; + com.google.cloud.datacatalog.v1.IntegratedSystem result = + com.google.cloud.datacatalog.v1.IntegratedSystem.forNumber((java.lang.Integer) system_); + return result == null + ? com.google.cloud.datacatalog.v1.IntegratedSystem.UNRECOGNIZED + : result; } return com.google.cloud.datacatalog.v1.IntegratedSystem.INTEGRATED_SYSTEM_UNSPECIFIED; } /** + * + * *
      * Output only. Indicates the entry's source system that Data Catalog
      * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
      * 
* - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The integratedSystem to set. * @return This builder for chaining. */ @@ -3863,12 +4282,17 @@ public Builder setIntegratedSystem(com.google.cloud.datacatalog.v1.IntegratedSys return this; } /** + * + * *
      * Output only. Indicates the entry's source system that Data Catalog
      * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
      * 
* - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearIntegratedSystem() { @@ -3881,6 +4305,8 @@ public Builder clearIntegratedSystem() { } /** + * + * *
      * Indicates the entry's source system that Data Catalog doesn't
      * automatically integrate with.
@@ -3894,6 +4320,7 @@ public Builder clearIntegratedSystem() {
      * 
* * string user_specified_system = 18; + * * @return Whether the userSpecifiedSystem field is set. */ @java.lang.Override @@ -3901,6 +4328,8 @@ public boolean hasUserSpecifiedSystem() { return systemCase_ == 18; } /** + * + * *
      * Indicates the entry's source system that Data Catalog doesn't
      * automatically integrate with.
@@ -3914,6 +4343,7 @@ public boolean hasUserSpecifiedSystem() {
      * 
* * string user_specified_system = 18; + * * @return The userSpecifiedSystem. */ @java.lang.Override @@ -3923,8 +4353,7 @@ public java.lang.String getUserSpecifiedSystem() { ref = system_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (systemCase_ == 18) { system_ = s; @@ -3935,6 +4364,8 @@ public java.lang.String getUserSpecifiedSystem() { } } /** + * + * *
      * Indicates the entry's source system that Data Catalog doesn't
      * automatically integrate with.
@@ -3948,19 +4379,18 @@ public java.lang.String getUserSpecifiedSystem() {
      * 
* * string user_specified_system = 18; + * * @return The bytes for userSpecifiedSystem. */ @java.lang.Override - public com.google.protobuf.ByteString - getUserSpecifiedSystemBytes() { + public com.google.protobuf.ByteString getUserSpecifiedSystemBytes() { java.lang.Object ref = ""; if (systemCase_ == 18) { ref = system_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (systemCase_ == 18) { system_ = b; } @@ -3970,6 +4400,8 @@ public java.lang.String getUserSpecifiedSystem() { } } /** + * + * *
      * Indicates the entry's source system that Data Catalog doesn't
      * automatically integrate with.
@@ -3983,18 +4415,22 @@ public java.lang.String getUserSpecifiedSystem() {
      * 
* * string user_specified_system = 18; + * * @param value The userSpecifiedSystem to set. * @return This builder for chaining. */ - public Builder setUserSpecifiedSystem( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUserSpecifiedSystem(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } systemCase_ = 18; system_ = value; onChanged(); return this; } /** + * + * *
      * Indicates the entry's source system that Data Catalog doesn't
      * automatically integrate with.
@@ -4008,6 +4444,7 @@ public Builder setUserSpecifiedSystem(
      * 
* * string user_specified_system = 18; + * * @return This builder for chaining. */ public Builder clearUserSpecifiedSystem() { @@ -4019,6 +4456,8 @@ public Builder clearUserSpecifiedSystem() { return this; } /** + * + * *
      * Indicates the entry's source system that Data Catalog doesn't
      * automatically integrate with.
@@ -4032,12 +4471,14 @@ public Builder clearUserSpecifiedSystem() {
      * 
* * string user_specified_system = 18; + * * @param value The bytes for userSpecifiedSystem to set. * @return This builder for chaining. */ - public Builder setUserSpecifiedSystemBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUserSpecifiedSystemBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); systemCase_ = 18; system_ = value; @@ -4046,14 +4487,21 @@ public Builder setUserSpecifiedSystemBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec, com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.Builder, com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpecOrBuilder> sqlDatabaseSystemSpecBuilder_; + com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec, + com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.Builder, + com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpecOrBuilder> + sqlDatabaseSystemSpecBuilder_; /** + * + * *
      * Specification that applies to a relational database system. Only settable
      * when `user_specified_system` is equal to `SQL_DATABASE`
      * 
* - * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; + * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; + * + * * @return Whether the sqlDatabaseSystemSpec field is set. */ @java.lang.Override @@ -4061,12 +4509,16 @@ public boolean hasSqlDatabaseSystemSpec() { return systemSpecCase_ == 39; } /** + * + * *
      * Specification that applies to a relational database system. Only settable
      * when `user_specified_system` is equal to `SQL_DATABASE`
      * 
* - * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; + * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; + * + * * @return The sqlDatabaseSystemSpec. */ @java.lang.Override @@ -4084,14 +4536,18 @@ public com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec getSqlDatabaseSyste } } /** + * + * *
      * Specification that applies to a relational database system. Only settable
      * when `user_specified_system` is equal to `SQL_DATABASE`
      * 
* - * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; + * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; + * */ - public Builder setSqlDatabaseSystemSpec(com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec value) { + public Builder setSqlDatabaseSystemSpec( + com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec value) { if (sqlDatabaseSystemSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4105,12 +4561,15 @@ public Builder setSqlDatabaseSystemSpec(com.google.cloud.datacatalog.v1.SqlDatab return this; } /** + * + * *
      * Specification that applies to a relational database system. Only settable
      * when `user_specified_system` is equal to `SQL_DATABASE`
      * 
* - * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; + * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; + * */ public Builder setSqlDatabaseSystemSpec( com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.Builder builderForValue) { @@ -4124,19 +4583,27 @@ public Builder setSqlDatabaseSystemSpec( return this; } /** + * + * *
      * Specification that applies to a relational database system. Only settable
      * when `user_specified_system` is equal to `SQL_DATABASE`
      * 
* - * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; + * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; + * */ - public Builder mergeSqlDatabaseSystemSpec(com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec value) { + public Builder mergeSqlDatabaseSystemSpec( + com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec value) { if (sqlDatabaseSystemSpecBuilder_ == null) { - if (systemSpecCase_ == 39 && - systemSpec_ != com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.getDefaultInstance()) { - systemSpec_ = com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.newBuilder((com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec) systemSpec_) - .mergeFrom(value).buildPartial(); + if (systemSpecCase_ == 39 + && systemSpec_ + != com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.getDefaultInstance()) { + systemSpec_ = + com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.newBuilder( + (com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec) systemSpec_) + .mergeFrom(value) + .buildPartial(); } else { systemSpec_ = value; } @@ -4152,12 +4619,15 @@ public Builder mergeSqlDatabaseSystemSpec(com.google.cloud.datacatalog.v1.SqlDat return this; } /** + * + * *
      * Specification that applies to a relational database system. Only settable
      * when `user_specified_system` is equal to `SQL_DATABASE`
      * 
* - * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; + * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; + * */ public Builder clearSqlDatabaseSystemSpec() { if (sqlDatabaseSystemSpecBuilder_ == null) { @@ -4176,26 +4646,34 @@ public Builder clearSqlDatabaseSystemSpec() { return this; } /** + * + * *
      * Specification that applies to a relational database system. Only settable
      * when `user_specified_system` is equal to `SQL_DATABASE`
      * 
* - * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; + * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; + * */ - public com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.Builder getSqlDatabaseSystemSpecBuilder() { + public com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.Builder + getSqlDatabaseSystemSpecBuilder() { return getSqlDatabaseSystemSpecFieldBuilder().getBuilder(); } /** + * + * *
      * Specification that applies to a relational database system. Only settable
      * when `user_specified_system` is equal to `SQL_DATABASE`
      * 
* - * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; + * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpecOrBuilder getSqlDatabaseSystemSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpecOrBuilder + getSqlDatabaseSystemSpecOrBuilder() { if ((systemSpecCase_ == 39) && (sqlDatabaseSystemSpecBuilder_ != null)) { return sqlDatabaseSystemSpecBuilder_.getMessageOrBuilder(); } else { @@ -4206,22 +4684,30 @@ public com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpecOrBuilder getSqlData } } /** + * + * *
      * Specification that applies to a relational database system. Only settable
      * when `user_specified_system` is equal to `SQL_DATABASE`
      * 
* - * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; + * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec, com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.Builder, com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpecOrBuilder> + com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec, + com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.Builder, + com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpecOrBuilder> getSqlDatabaseSystemSpecFieldBuilder() { if (sqlDatabaseSystemSpecBuilder_ == null) { if (!(systemSpecCase_ == 39)) { systemSpec_ = com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.getDefaultInstance(); } - sqlDatabaseSystemSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec, com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.Builder, com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpecOrBuilder>( + sqlDatabaseSystemSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec, + com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.Builder, + com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpecOrBuilder>( (com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec) systemSpec_, getParentForChildren(), isClean()); @@ -4233,14 +4719,20 @@ public com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpecOrBuilder getSqlData } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.LookerSystemSpec, com.google.cloud.datacatalog.v1.LookerSystemSpec.Builder, com.google.cloud.datacatalog.v1.LookerSystemSpecOrBuilder> lookerSystemSpecBuilder_; + com.google.cloud.datacatalog.v1.LookerSystemSpec, + com.google.cloud.datacatalog.v1.LookerSystemSpec.Builder, + com.google.cloud.datacatalog.v1.LookerSystemSpecOrBuilder> + lookerSystemSpecBuilder_; /** + * + * *
      * Specification that applies to Looker sysstem. Only settable when
      * `user_specified_system` is equal to `LOOKER`
      * 
* * .google.cloud.datacatalog.v1.LookerSystemSpec looker_system_spec = 40; + * * @return Whether the lookerSystemSpec field is set. */ @java.lang.Override @@ -4248,12 +4740,15 @@ public boolean hasLookerSystemSpec() { return systemSpecCase_ == 40; } /** + * + * *
      * Specification that applies to Looker sysstem. Only settable when
      * `user_specified_system` is equal to `LOOKER`
      * 
* * .google.cloud.datacatalog.v1.LookerSystemSpec looker_system_spec = 40; + * * @return The lookerSystemSpec. */ @java.lang.Override @@ -4271,6 +4766,8 @@ public com.google.cloud.datacatalog.v1.LookerSystemSpec getLookerSystemSpec() { } } /** + * + * *
      * Specification that applies to Looker sysstem. Only settable when
      * `user_specified_system` is equal to `LOOKER`
@@ -4292,6 +4789,8 @@ public Builder setLookerSystemSpec(com.google.cloud.datacatalog.v1.LookerSystemS
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to Looker sysstem. Only settable when
      * `user_specified_system` is equal to `LOOKER`
@@ -4311,6 +4810,8 @@ public Builder setLookerSystemSpec(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to Looker sysstem. Only settable when
      * `user_specified_system` is equal to `LOOKER`
@@ -4320,10 +4821,14 @@ public Builder setLookerSystemSpec(
      */
     public Builder mergeLookerSystemSpec(com.google.cloud.datacatalog.v1.LookerSystemSpec value) {
       if (lookerSystemSpecBuilder_ == null) {
-        if (systemSpecCase_ == 40 &&
-            systemSpec_ != com.google.cloud.datacatalog.v1.LookerSystemSpec.getDefaultInstance()) {
-          systemSpec_ = com.google.cloud.datacatalog.v1.LookerSystemSpec.newBuilder((com.google.cloud.datacatalog.v1.LookerSystemSpec) systemSpec_)
-              .mergeFrom(value).buildPartial();
+        if (systemSpecCase_ == 40
+            && systemSpec_
+                != com.google.cloud.datacatalog.v1.LookerSystemSpec.getDefaultInstance()) {
+          systemSpec_ =
+              com.google.cloud.datacatalog.v1.LookerSystemSpec.newBuilder(
+                      (com.google.cloud.datacatalog.v1.LookerSystemSpec) systemSpec_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           systemSpec_ = value;
         }
@@ -4339,6 +4844,8 @@ public Builder mergeLookerSystemSpec(com.google.cloud.datacatalog.v1.LookerSyste
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to Looker sysstem. Only settable when
      * `user_specified_system` is equal to `LOOKER`
@@ -4363,6 +4870,8 @@ public Builder clearLookerSystemSpec() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to Looker sysstem. Only settable when
      * `user_specified_system` is equal to `LOOKER`
@@ -4374,6 +4883,8 @@ public com.google.cloud.datacatalog.v1.LookerSystemSpec.Builder getLookerSystemS
       return getLookerSystemSpecFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Specification that applies to Looker sysstem. Only settable when
      * `user_specified_system` is equal to `LOOKER`
@@ -4382,7 +4893,8 @@ public com.google.cloud.datacatalog.v1.LookerSystemSpec.Builder getLookerSystemS
      * .google.cloud.datacatalog.v1.LookerSystemSpec looker_system_spec = 40;
      */
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1.LookerSystemSpecOrBuilder getLookerSystemSpecOrBuilder() {
+    public com.google.cloud.datacatalog.v1.LookerSystemSpecOrBuilder
+        getLookerSystemSpecOrBuilder() {
       if ((systemSpecCase_ == 40) && (lookerSystemSpecBuilder_ != null)) {
         return lookerSystemSpecBuilder_.getMessageOrBuilder();
       } else {
@@ -4393,6 +4905,8 @@ public com.google.cloud.datacatalog.v1.LookerSystemSpecOrBuilder getLookerSystem
       }
     }
     /**
+     *
+     *
      * 
      * Specification that applies to Looker sysstem. Only settable when
      * `user_specified_system` is equal to `LOOKER`
@@ -4401,14 +4915,19 @@ public com.google.cloud.datacatalog.v1.LookerSystemSpecOrBuilder getLookerSystem
      * .google.cloud.datacatalog.v1.LookerSystemSpec looker_system_spec = 40;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.LookerSystemSpec, com.google.cloud.datacatalog.v1.LookerSystemSpec.Builder, com.google.cloud.datacatalog.v1.LookerSystemSpecOrBuilder> 
+            com.google.cloud.datacatalog.v1.LookerSystemSpec,
+            com.google.cloud.datacatalog.v1.LookerSystemSpec.Builder,
+            com.google.cloud.datacatalog.v1.LookerSystemSpecOrBuilder>
         getLookerSystemSpecFieldBuilder() {
       if (lookerSystemSpecBuilder_ == null) {
         if (!(systemSpecCase_ == 40)) {
           systemSpec_ = com.google.cloud.datacatalog.v1.LookerSystemSpec.getDefaultInstance();
         }
-        lookerSystemSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.LookerSystemSpec, com.google.cloud.datacatalog.v1.LookerSystemSpec.Builder, com.google.cloud.datacatalog.v1.LookerSystemSpecOrBuilder>(
+        lookerSystemSpecBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.datacatalog.v1.LookerSystemSpec,
+                com.google.cloud.datacatalog.v1.LookerSystemSpec.Builder,
+                com.google.cloud.datacatalog.v1.LookerSystemSpecOrBuilder>(
                 (com.google.cloud.datacatalog.v1.LookerSystemSpec) systemSpec_,
                 getParentForChildren(),
                 isClean());
@@ -4420,14 +4939,21 @@ public com.google.cloud.datacatalog.v1.LookerSystemSpecOrBuilder getLookerSystem
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec, com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.Builder, com.google.cloud.datacatalog.v1.CloudBigtableSystemSpecOrBuilder> cloudBigtableSystemSpecBuilder_;
+            com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec,
+            com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.Builder,
+            com.google.cloud.datacatalog.v1.CloudBigtableSystemSpecOrBuilder>
+        cloudBigtableSystemSpecBuilder_;
     /**
+     *
+     *
      * 
      * Specification that applies to Cloud Bigtable system. Only settable when
      * `integrated_system` is equal to `CLOUD_BIGTABLE`
      * 
* - * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; + * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; + * + * * @return Whether the cloudBigtableSystemSpec field is set. */ @java.lang.Override @@ -4435,12 +4961,16 @@ public boolean hasCloudBigtableSystemSpec() { return systemSpecCase_ == 41; } /** + * + * *
      * Specification that applies to Cloud Bigtable system. Only settable when
      * `integrated_system` is equal to `CLOUD_BIGTABLE`
      * 
* - * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; + * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; + * + * * @return The cloudBigtableSystemSpec. */ @java.lang.Override @@ -4458,14 +4988,18 @@ public com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec getCloudBigtableS } } /** + * + * *
      * Specification that applies to Cloud Bigtable system. Only settable when
      * `integrated_system` is equal to `CLOUD_BIGTABLE`
      * 
* - * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; + * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; + * */ - public Builder setCloudBigtableSystemSpec(com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec value) { + public Builder setCloudBigtableSystemSpec( + com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec value) { if (cloudBigtableSystemSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4479,12 +5013,15 @@ public Builder setCloudBigtableSystemSpec(com.google.cloud.datacatalog.v1.CloudB return this; } /** + * + * *
      * Specification that applies to Cloud Bigtable system. Only settable when
      * `integrated_system` is equal to `CLOUD_BIGTABLE`
      * 
* - * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; + * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; + * */ public Builder setCloudBigtableSystemSpec( com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.Builder builderForValue) { @@ -4498,19 +5035,27 @@ public Builder setCloudBigtableSystemSpec( return this; } /** + * + * *
      * Specification that applies to Cloud Bigtable system. Only settable when
      * `integrated_system` is equal to `CLOUD_BIGTABLE`
      * 
* - * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; + * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; + * */ - public Builder mergeCloudBigtableSystemSpec(com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec value) { + public Builder mergeCloudBigtableSystemSpec( + com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec value) { if (cloudBigtableSystemSpecBuilder_ == null) { - if (systemSpecCase_ == 41 && - systemSpec_ != com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.getDefaultInstance()) { - systemSpec_ = com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.newBuilder((com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec) systemSpec_) - .mergeFrom(value).buildPartial(); + if (systemSpecCase_ == 41 + && systemSpec_ + != com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.getDefaultInstance()) { + systemSpec_ = + com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.newBuilder( + (com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec) systemSpec_) + .mergeFrom(value) + .buildPartial(); } else { systemSpec_ = value; } @@ -4526,12 +5071,15 @@ public Builder mergeCloudBigtableSystemSpec(com.google.cloud.datacatalog.v1.Clou return this; } /** + * + * *
      * Specification that applies to Cloud Bigtable system. Only settable when
      * `integrated_system` is equal to `CLOUD_BIGTABLE`
      * 
* - * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; + * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; + * */ public Builder clearCloudBigtableSystemSpec() { if (cloudBigtableSystemSpecBuilder_ == null) { @@ -4550,26 +5098,34 @@ public Builder clearCloudBigtableSystemSpec() { return this; } /** + * + * *
      * Specification that applies to Cloud Bigtable system. Only settable when
      * `integrated_system` is equal to `CLOUD_BIGTABLE`
      * 
* - * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; + * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; + * */ - public com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.Builder getCloudBigtableSystemSpecBuilder() { + public com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.Builder + getCloudBigtableSystemSpecBuilder() { return getCloudBigtableSystemSpecFieldBuilder().getBuilder(); } /** + * + * *
      * Specification that applies to Cloud Bigtable system. Only settable when
      * `integrated_system` is equal to `CLOUD_BIGTABLE`
      * 
* - * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; + * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1.CloudBigtableSystemSpecOrBuilder getCloudBigtableSystemSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.CloudBigtableSystemSpecOrBuilder + getCloudBigtableSystemSpecOrBuilder() { if ((systemSpecCase_ == 41) && (cloudBigtableSystemSpecBuilder_ != null)) { return cloudBigtableSystemSpecBuilder_.getMessageOrBuilder(); } else { @@ -4580,22 +5136,31 @@ public com.google.cloud.datacatalog.v1.CloudBigtableSystemSpecOrBuilder getCloud } } /** + * + * *
      * Specification that applies to Cloud Bigtable system. Only settable when
      * `integrated_system` is equal to `CLOUD_BIGTABLE`
      * 
* - * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; + * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec, com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.Builder, com.google.cloud.datacatalog.v1.CloudBigtableSystemSpecOrBuilder> + com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec, + com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.Builder, + com.google.cloud.datacatalog.v1.CloudBigtableSystemSpecOrBuilder> getCloudBigtableSystemSpecFieldBuilder() { if (cloudBigtableSystemSpecBuilder_ == null) { if (!(systemSpecCase_ == 41)) { - systemSpec_ = com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.getDefaultInstance(); - } - cloudBigtableSystemSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec, com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.Builder, com.google.cloud.datacatalog.v1.CloudBigtableSystemSpecOrBuilder>( + systemSpec_ = + com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.getDefaultInstance(); + } + cloudBigtableSystemSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec, + com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec.Builder, + com.google.cloud.datacatalog.v1.CloudBigtableSystemSpecOrBuilder>( (com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec) systemSpec_, getParentForChildren(), isClean()); @@ -4607,14 +5172,20 @@ public com.google.cloud.datacatalog.v1.CloudBigtableSystemSpecOrBuilder getCloud } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.GcsFilesetSpec, com.google.cloud.datacatalog.v1.GcsFilesetSpec.Builder, com.google.cloud.datacatalog.v1.GcsFilesetSpecOrBuilder> gcsFilesetSpecBuilder_; + com.google.cloud.datacatalog.v1.GcsFilesetSpec, + com.google.cloud.datacatalog.v1.GcsFilesetSpec.Builder, + com.google.cloud.datacatalog.v1.GcsFilesetSpecOrBuilder> + gcsFilesetSpecBuilder_; /** + * + * *
      * Specification that applies to a Cloud Storage fileset. Valid only
      * for entries with the `FILESET` type.
      * 
* * .google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6; + * * @return Whether the gcsFilesetSpec field is set. */ @java.lang.Override @@ -4622,12 +5193,15 @@ public boolean hasGcsFilesetSpec() { return typeSpecCase_ == 6; } /** + * + * *
      * Specification that applies to a Cloud Storage fileset. Valid only
      * for entries with the `FILESET` type.
      * 
* * .google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6; + * * @return The gcsFilesetSpec. */ @java.lang.Override @@ -4645,6 +5219,8 @@ public com.google.cloud.datacatalog.v1.GcsFilesetSpec getGcsFilesetSpec() { } } /** + * + * *
      * Specification that applies to a Cloud Storage fileset. Valid only
      * for entries with the `FILESET` type.
@@ -4666,6 +5242,8 @@ public Builder setGcsFilesetSpec(com.google.cloud.datacatalog.v1.GcsFilesetSpec
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a Cloud Storage fileset. Valid only
      * for entries with the `FILESET` type.
@@ -4685,6 +5263,8 @@ public Builder setGcsFilesetSpec(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a Cloud Storage fileset. Valid only
      * for entries with the `FILESET` type.
@@ -4694,10 +5274,13 @@ public Builder setGcsFilesetSpec(
      */
     public Builder mergeGcsFilesetSpec(com.google.cloud.datacatalog.v1.GcsFilesetSpec value) {
       if (gcsFilesetSpecBuilder_ == null) {
-        if (typeSpecCase_ == 6 &&
-            typeSpec_ != com.google.cloud.datacatalog.v1.GcsFilesetSpec.getDefaultInstance()) {
-          typeSpec_ = com.google.cloud.datacatalog.v1.GcsFilesetSpec.newBuilder((com.google.cloud.datacatalog.v1.GcsFilesetSpec) typeSpec_)
-              .mergeFrom(value).buildPartial();
+        if (typeSpecCase_ == 6
+            && typeSpec_ != com.google.cloud.datacatalog.v1.GcsFilesetSpec.getDefaultInstance()) {
+          typeSpec_ =
+              com.google.cloud.datacatalog.v1.GcsFilesetSpec.newBuilder(
+                      (com.google.cloud.datacatalog.v1.GcsFilesetSpec) typeSpec_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           typeSpec_ = value;
         }
@@ -4713,6 +5296,8 @@ public Builder mergeGcsFilesetSpec(com.google.cloud.datacatalog.v1.GcsFilesetSpe
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a Cloud Storage fileset. Valid only
      * for entries with the `FILESET` type.
@@ -4737,6 +5322,8 @@ public Builder clearGcsFilesetSpec() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a Cloud Storage fileset. Valid only
      * for entries with the `FILESET` type.
@@ -4748,6 +5335,8 @@ public com.google.cloud.datacatalog.v1.GcsFilesetSpec.Builder getGcsFilesetSpecB
       return getGcsFilesetSpecFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a Cloud Storage fileset. Valid only
      * for entries with the `FILESET` type.
@@ -4767,6 +5356,8 @@ public com.google.cloud.datacatalog.v1.GcsFilesetSpecOrBuilder getGcsFilesetSpec
       }
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a Cloud Storage fileset. Valid only
      * for entries with the `FILESET` type.
@@ -4775,14 +5366,19 @@ public com.google.cloud.datacatalog.v1.GcsFilesetSpecOrBuilder getGcsFilesetSpec
      * .google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.GcsFilesetSpec, com.google.cloud.datacatalog.v1.GcsFilesetSpec.Builder, com.google.cloud.datacatalog.v1.GcsFilesetSpecOrBuilder> 
+            com.google.cloud.datacatalog.v1.GcsFilesetSpec,
+            com.google.cloud.datacatalog.v1.GcsFilesetSpec.Builder,
+            com.google.cloud.datacatalog.v1.GcsFilesetSpecOrBuilder>
         getGcsFilesetSpecFieldBuilder() {
       if (gcsFilesetSpecBuilder_ == null) {
         if (!(typeSpecCase_ == 6)) {
           typeSpec_ = com.google.cloud.datacatalog.v1.GcsFilesetSpec.getDefaultInstance();
         }
-        gcsFilesetSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.GcsFilesetSpec, com.google.cloud.datacatalog.v1.GcsFilesetSpec.Builder, com.google.cloud.datacatalog.v1.GcsFilesetSpecOrBuilder>(
+        gcsFilesetSpecBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.datacatalog.v1.GcsFilesetSpec,
+                com.google.cloud.datacatalog.v1.GcsFilesetSpec.Builder,
+                com.google.cloud.datacatalog.v1.GcsFilesetSpecOrBuilder>(
                 (com.google.cloud.datacatalog.v1.GcsFilesetSpec) typeSpec_,
                 getParentForChildren(),
                 isClean());
@@ -4794,14 +5390,22 @@ public com.google.cloud.datacatalog.v1.GcsFilesetSpecOrBuilder getGcsFilesetSpec
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.BigQueryTableSpec, com.google.cloud.datacatalog.v1.BigQueryTableSpec.Builder, com.google.cloud.datacatalog.v1.BigQueryTableSpecOrBuilder> bigqueryTableSpecBuilder_;
+            com.google.cloud.datacatalog.v1.BigQueryTableSpec,
+            com.google.cloud.datacatalog.v1.BigQueryTableSpec.Builder,
+            com.google.cloud.datacatalog.v1.BigQueryTableSpecOrBuilder>
+        bigqueryTableSpecBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Specification that applies to a BigQuery table. Valid only
      * for entries with the `TABLE` type.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the bigqueryTableSpec field is set. */ @java.lang.Override @@ -4809,12 +5413,17 @@ public boolean hasBigqueryTableSpec() { return typeSpecCase_ == 12; } /** + * + * *
      * Output only. Specification that applies to a BigQuery table. Valid only
      * for entries with the `TABLE` type.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bigqueryTableSpec. */ @java.lang.Override @@ -4832,12 +5441,16 @@ public com.google.cloud.datacatalog.v1.BigQueryTableSpec getBigqueryTableSpec() } } /** + * + * *
      * Output only. Specification that applies to a BigQuery table. Valid only
      * for entries with the `TABLE` type.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setBigqueryTableSpec(com.google.cloud.datacatalog.v1.BigQueryTableSpec value) { if (bigqueryTableSpecBuilder_ == null) { @@ -4853,12 +5466,16 @@ public Builder setBigqueryTableSpec(com.google.cloud.datacatalog.v1.BigQueryTabl return this; } /** + * + * *
      * Output only. Specification that applies to a BigQuery table. Valid only
      * for entries with the `TABLE` type.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setBigqueryTableSpec( com.google.cloud.datacatalog.v1.BigQueryTableSpec.Builder builderForValue) { @@ -4872,19 +5489,27 @@ public Builder setBigqueryTableSpec( return this; } /** + * + * *
      * Output only. Specification that applies to a BigQuery table. Valid only
      * for entries with the `TABLE` type.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeBigqueryTableSpec(com.google.cloud.datacatalog.v1.BigQueryTableSpec value) { if (bigqueryTableSpecBuilder_ == null) { - if (typeSpecCase_ == 12 && - typeSpec_ != com.google.cloud.datacatalog.v1.BigQueryTableSpec.getDefaultInstance()) { - typeSpec_ = com.google.cloud.datacatalog.v1.BigQueryTableSpec.newBuilder((com.google.cloud.datacatalog.v1.BigQueryTableSpec) typeSpec_) - .mergeFrom(value).buildPartial(); + if (typeSpecCase_ == 12 + && typeSpec_ + != com.google.cloud.datacatalog.v1.BigQueryTableSpec.getDefaultInstance()) { + typeSpec_ = + com.google.cloud.datacatalog.v1.BigQueryTableSpec.newBuilder( + (com.google.cloud.datacatalog.v1.BigQueryTableSpec) typeSpec_) + .mergeFrom(value) + .buildPartial(); } else { typeSpec_ = value; } @@ -4900,12 +5525,16 @@ public Builder mergeBigqueryTableSpec(com.google.cloud.datacatalog.v1.BigQueryTa return this; } /** + * + * *
      * Output only. Specification that applies to a BigQuery table. Valid only
      * for entries with the `TABLE` type.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearBigqueryTableSpec() { if (bigqueryTableSpecBuilder_ == null) { @@ -4924,26 +5553,35 @@ public Builder clearBigqueryTableSpec() { return this; } /** + * + * *
      * Output only. Specification that applies to a BigQuery table. Valid only
      * for entries with the `TABLE` type.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.datacatalog.v1.BigQueryTableSpec.Builder getBigqueryTableSpecBuilder() { return getBigqueryTableSpecFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Specification that applies to a BigQuery table. Valid only
      * for entries with the `TABLE` type.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1.BigQueryTableSpecOrBuilder getBigqueryTableSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.BigQueryTableSpecOrBuilder + getBigqueryTableSpecOrBuilder() { if ((typeSpecCase_ == 12) && (bigqueryTableSpecBuilder_ != null)) { return bigqueryTableSpecBuilder_.getMessageOrBuilder(); } else { @@ -4954,22 +5592,31 @@ public com.google.cloud.datacatalog.v1.BigQueryTableSpecOrBuilder getBigqueryTab } } /** + * + * *
      * Output only. Specification that applies to a BigQuery table. Valid only
      * for entries with the `TABLE` type.
      * 
* - * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.BigQueryTableSpec, com.google.cloud.datacatalog.v1.BigQueryTableSpec.Builder, com.google.cloud.datacatalog.v1.BigQueryTableSpecOrBuilder> + com.google.cloud.datacatalog.v1.BigQueryTableSpec, + com.google.cloud.datacatalog.v1.BigQueryTableSpec.Builder, + com.google.cloud.datacatalog.v1.BigQueryTableSpecOrBuilder> getBigqueryTableSpecFieldBuilder() { if (bigqueryTableSpecBuilder_ == null) { if (!(typeSpecCase_ == 12)) { typeSpec_ = com.google.cloud.datacatalog.v1.BigQueryTableSpec.getDefaultInstance(); } - bigqueryTableSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.BigQueryTableSpec, com.google.cloud.datacatalog.v1.BigQueryTableSpec.Builder, com.google.cloud.datacatalog.v1.BigQueryTableSpecOrBuilder>( + bigqueryTableSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.BigQueryTableSpec, + com.google.cloud.datacatalog.v1.BigQueryTableSpec.Builder, + com.google.cloud.datacatalog.v1.BigQueryTableSpecOrBuilder>( (com.google.cloud.datacatalog.v1.BigQueryTableSpec) typeSpec_, getParentForChildren(), isClean()); @@ -4981,8 +5628,13 @@ public com.google.cloud.datacatalog.v1.BigQueryTableSpecOrBuilder getBigqueryTab } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec, com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.Builder, com.google.cloud.datacatalog.v1.BigQueryDateShardedSpecOrBuilder> bigqueryDateShardedSpecBuilder_; + com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec, + com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.Builder, + com.google.cloud.datacatalog.v1.BigQueryDateShardedSpecOrBuilder> + bigqueryDateShardedSpecBuilder_; /** + * + * *
      * Output only. Specification for a group of BigQuery tables with
      * the `[prefix]YYYYMMDD` name pattern.
@@ -4991,7 +5643,10 @@ public com.google.cloud.datacatalog.v1.BigQueryTableSpecOrBuilder getBigqueryTab
      * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the bigqueryDateShardedSpec field is set. */ @java.lang.Override @@ -4999,6 +5654,8 @@ public boolean hasBigqueryDateShardedSpec() { return typeSpecCase_ == 15; } /** + * + * *
      * Output only. Specification for a group of BigQuery tables with
      * the `[prefix]YYYYMMDD` name pattern.
@@ -5007,7 +5664,10 @@ public boolean hasBigqueryDateShardedSpec() {
      * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bigqueryDateShardedSpec. */ @java.lang.Override @@ -5025,6 +5685,8 @@ public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec getBigqueryDateSh } } /** + * + * *
      * Output only. Specification for a group of BigQuery tables with
      * the `[prefix]YYYYMMDD` name pattern.
@@ -5033,9 +5695,12 @@ public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec getBigqueryDateSh
      * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setBigqueryDateShardedSpec(com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec value) { + public Builder setBigqueryDateShardedSpec( + com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec value) { if (bigqueryDateShardedSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5049,6 +5714,8 @@ public Builder setBigqueryDateShardedSpec(com.google.cloud.datacatalog.v1.BigQue return this; } /** + * + * *
      * Output only. Specification for a group of BigQuery tables with
      * the `[prefix]YYYYMMDD` name pattern.
@@ -5057,7 +5724,9 @@ public Builder setBigqueryDateShardedSpec(com.google.cloud.datacatalog.v1.BigQue
      * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setBigqueryDateShardedSpec( com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.Builder builderForValue) { @@ -5071,6 +5740,8 @@ public Builder setBigqueryDateShardedSpec( return this; } /** + * + * *
      * Output only. Specification for a group of BigQuery tables with
      * the `[prefix]YYYYMMDD` name pattern.
@@ -5079,14 +5750,21 @@ public Builder setBigqueryDateShardedSpec(
      * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeBigqueryDateShardedSpec(com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec value) { + public Builder mergeBigqueryDateShardedSpec( + com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec value) { if (bigqueryDateShardedSpecBuilder_ == null) { - if (typeSpecCase_ == 15 && - typeSpec_ != com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.getDefaultInstance()) { - typeSpec_ = com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.newBuilder((com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec) typeSpec_) - .mergeFrom(value).buildPartial(); + if (typeSpecCase_ == 15 + && typeSpec_ + != com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.getDefaultInstance()) { + typeSpec_ = + com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.newBuilder( + (com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec) typeSpec_) + .mergeFrom(value) + .buildPartial(); } else { typeSpec_ = value; } @@ -5102,6 +5780,8 @@ public Builder mergeBigqueryDateShardedSpec(com.google.cloud.datacatalog.v1.BigQ return this; } /** + * + * *
      * Output only. Specification for a group of BigQuery tables with
      * the `[prefix]YYYYMMDD` name pattern.
@@ -5110,7 +5790,9 @@ public Builder mergeBigqueryDateShardedSpec(com.google.cloud.datacatalog.v1.BigQ
      * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearBigqueryDateShardedSpec() { if (bigqueryDateShardedSpecBuilder_ == null) { @@ -5129,6 +5811,8 @@ public Builder clearBigqueryDateShardedSpec() { return this; } /** + * + * *
      * Output only. Specification for a group of BigQuery tables with
      * the `[prefix]YYYYMMDD` name pattern.
@@ -5137,12 +5821,17 @@ public Builder clearBigqueryDateShardedSpec() {
      * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.Builder getBigqueryDateShardedSpecBuilder() { + public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.Builder + getBigqueryDateShardedSpecBuilder() { return getBigqueryDateShardedSpecFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Specification for a group of BigQuery tables with
      * the `[prefix]YYYYMMDD` name pattern.
@@ -5151,10 +5840,13 @@ public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.Builder getBigque
      * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpecOrBuilder getBigqueryDateShardedSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpecOrBuilder + getBigqueryDateShardedSpecOrBuilder() { if ((typeSpecCase_ == 15) && (bigqueryDateShardedSpecBuilder_ != null)) { return bigqueryDateShardedSpecBuilder_.getMessageOrBuilder(); } else { @@ -5165,6 +5857,8 @@ public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpecOrBuilder getBigqu } } /** + * + * *
      * Output only. Specification for a group of BigQuery tables with
      * the `[prefix]YYYYMMDD` name pattern.
@@ -5173,17 +5867,24 @@ public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpecOrBuilder getBigqu
      * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec, com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.Builder, com.google.cloud.datacatalog.v1.BigQueryDateShardedSpecOrBuilder> + com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec, + com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.Builder, + com.google.cloud.datacatalog.v1.BigQueryDateShardedSpecOrBuilder> getBigqueryDateShardedSpecFieldBuilder() { if (bigqueryDateShardedSpecBuilder_ == null) { if (!(typeSpecCase_ == 15)) { typeSpec_ = com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.getDefaultInstance(); } - bigqueryDateShardedSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec, com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.Builder, com.google.cloud.datacatalog.v1.BigQueryDateShardedSpecOrBuilder>( + bigqueryDateShardedSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec, + com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.Builder, + com.google.cloud.datacatalog.v1.BigQueryDateShardedSpecOrBuilder>( (com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec) typeSpec_, getParentForChildren(), isClean()); @@ -5195,14 +5896,20 @@ public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpecOrBuilder getBigqu } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.DatabaseTableSpec, com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder, com.google.cloud.datacatalog.v1.DatabaseTableSpecOrBuilder> databaseTableSpecBuilder_; + com.google.cloud.datacatalog.v1.DatabaseTableSpec, + com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder, + com.google.cloud.datacatalog.v1.DatabaseTableSpecOrBuilder> + databaseTableSpecBuilder_; /** + * + * *
      * Specification that applies to a table resource. Valid only
      * for entries with the `TABLE` or `EXPLORE` type.
      * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; + * * @return Whether the databaseTableSpec field is set. */ @java.lang.Override @@ -5210,12 +5917,15 @@ public boolean hasDatabaseTableSpec() { return specCase_ == 24; } /** + * + * *
      * Specification that applies to a table resource. Valid only
      * for entries with the `TABLE` or `EXPLORE` type.
      * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; + * * @return The databaseTableSpec. */ @java.lang.Override @@ -5233,6 +5943,8 @@ public com.google.cloud.datacatalog.v1.DatabaseTableSpec getDatabaseTableSpec() } } /** + * + * *
      * Specification that applies to a table resource. Valid only
      * for entries with the `TABLE` or `EXPLORE` type.
@@ -5254,6 +5966,8 @@ public Builder setDatabaseTableSpec(com.google.cloud.datacatalog.v1.DatabaseTabl
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a table resource. Valid only
      * for entries with the `TABLE` or `EXPLORE` type.
@@ -5273,6 +5987,8 @@ public Builder setDatabaseTableSpec(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a table resource. Valid only
      * for entries with the `TABLE` or `EXPLORE` type.
@@ -5282,10 +5998,13 @@ public Builder setDatabaseTableSpec(
      */
     public Builder mergeDatabaseTableSpec(com.google.cloud.datacatalog.v1.DatabaseTableSpec value) {
       if (databaseTableSpecBuilder_ == null) {
-        if (specCase_ == 24 &&
-            spec_ != com.google.cloud.datacatalog.v1.DatabaseTableSpec.getDefaultInstance()) {
-          spec_ = com.google.cloud.datacatalog.v1.DatabaseTableSpec.newBuilder((com.google.cloud.datacatalog.v1.DatabaseTableSpec) spec_)
-              .mergeFrom(value).buildPartial();
+        if (specCase_ == 24
+            && spec_ != com.google.cloud.datacatalog.v1.DatabaseTableSpec.getDefaultInstance()) {
+          spec_ =
+              com.google.cloud.datacatalog.v1.DatabaseTableSpec.newBuilder(
+                      (com.google.cloud.datacatalog.v1.DatabaseTableSpec) spec_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           spec_ = value;
         }
@@ -5301,6 +6020,8 @@ public Builder mergeDatabaseTableSpec(com.google.cloud.datacatalog.v1.DatabaseTa
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a table resource. Valid only
      * for entries with the `TABLE` or `EXPLORE` type.
@@ -5325,6 +6046,8 @@ public Builder clearDatabaseTableSpec() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a table resource. Valid only
      * for entries with the `TABLE` or `EXPLORE` type.
@@ -5336,6 +6059,8 @@ public com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder getDatabaseTabl
       return getDatabaseTableSpecFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a table resource. Valid only
      * for entries with the `TABLE` or `EXPLORE` type.
@@ -5344,7 +6069,8 @@ public com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder getDatabaseTabl
      * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24;
      */
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1.DatabaseTableSpecOrBuilder getDatabaseTableSpecOrBuilder() {
+    public com.google.cloud.datacatalog.v1.DatabaseTableSpecOrBuilder
+        getDatabaseTableSpecOrBuilder() {
       if ((specCase_ == 24) && (databaseTableSpecBuilder_ != null)) {
         return databaseTableSpecBuilder_.getMessageOrBuilder();
       } else {
@@ -5355,6 +6081,8 @@ public com.google.cloud.datacatalog.v1.DatabaseTableSpecOrBuilder getDatabaseTab
       }
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a table resource. Valid only
      * for entries with the `TABLE` or `EXPLORE` type.
@@ -5363,14 +6091,19 @@ public com.google.cloud.datacatalog.v1.DatabaseTableSpecOrBuilder getDatabaseTab
      * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.DatabaseTableSpec, com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder, com.google.cloud.datacatalog.v1.DatabaseTableSpecOrBuilder> 
+            com.google.cloud.datacatalog.v1.DatabaseTableSpec,
+            com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder,
+            com.google.cloud.datacatalog.v1.DatabaseTableSpecOrBuilder>
         getDatabaseTableSpecFieldBuilder() {
       if (databaseTableSpecBuilder_ == null) {
         if (!(specCase_ == 24)) {
           spec_ = com.google.cloud.datacatalog.v1.DatabaseTableSpec.getDefaultInstance();
         }
-        databaseTableSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.DatabaseTableSpec, com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder, com.google.cloud.datacatalog.v1.DatabaseTableSpecOrBuilder>(
+        databaseTableSpecBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.datacatalog.v1.DatabaseTableSpec,
+                com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder,
+                com.google.cloud.datacatalog.v1.DatabaseTableSpecOrBuilder>(
                 (com.google.cloud.datacatalog.v1.DatabaseTableSpec) spec_,
                 getParentForChildren(),
                 isClean());
@@ -5382,14 +6115,21 @@ public com.google.cloud.datacatalog.v1.DatabaseTableSpecOrBuilder getDatabaseTab
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.DataSourceConnectionSpec, com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder, com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder> dataSourceConnectionSpecBuilder_;
+            com.google.cloud.datacatalog.v1.DataSourceConnectionSpec,
+            com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder,
+            com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder>
+        dataSourceConnectionSpecBuilder_;
     /**
+     *
+     *
      * 
      * Specification that applies to a data source connection. Valid only
      * for entries with the `DATA_SOURCE_CONNECTION` type.
      * 
* - * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * + * * @return Whether the dataSourceConnectionSpec field is set. */ @java.lang.Override @@ -5397,12 +6137,16 @@ public boolean hasDataSourceConnectionSpec() { return specCase_ == 27; } /** + * + * *
      * Specification that applies to a data source connection. Valid only
      * for entries with the `DATA_SOURCE_CONNECTION` type.
      * 
* - * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * + * * @return The dataSourceConnectionSpec. */ @java.lang.Override @@ -5420,14 +6164,18 @@ public com.google.cloud.datacatalog.v1.DataSourceConnectionSpec getDataSourceCon } } /** + * + * *
      * Specification that applies to a data source connection. Valid only
      * for entries with the `DATA_SOURCE_CONNECTION` type.
      * 
* - * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * */ - public Builder setDataSourceConnectionSpec(com.google.cloud.datacatalog.v1.DataSourceConnectionSpec value) { + public Builder setDataSourceConnectionSpec( + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec value) { if (dataSourceConnectionSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5441,12 +6189,15 @@ public Builder setDataSourceConnectionSpec(com.google.cloud.datacatalog.v1.DataS return this; } /** + * + * *
      * Specification that applies to a data source connection. Valid only
      * for entries with the `DATA_SOURCE_CONNECTION` type.
      * 
* - * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * */ public Builder setDataSourceConnectionSpec( com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder builderForValue) { @@ -5460,19 +6211,27 @@ public Builder setDataSourceConnectionSpec( return this; } /** + * + * *
      * Specification that applies to a data source connection. Valid only
      * for entries with the `DATA_SOURCE_CONNECTION` type.
      * 
* - * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * */ - public Builder mergeDataSourceConnectionSpec(com.google.cloud.datacatalog.v1.DataSourceConnectionSpec value) { + public Builder mergeDataSourceConnectionSpec( + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec value) { if (dataSourceConnectionSpecBuilder_ == null) { - if (specCase_ == 27 && - spec_ != com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.getDefaultInstance()) { - spec_ = com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.newBuilder((com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) spec_) - .mergeFrom(value).buildPartial(); + if (specCase_ == 27 + && spec_ + != com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.getDefaultInstance()) { + spec_ = + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.newBuilder( + (com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) spec_) + .mergeFrom(value) + .buildPartial(); } else { spec_ = value; } @@ -5488,12 +6247,15 @@ public Builder mergeDataSourceConnectionSpec(com.google.cloud.datacatalog.v1.Dat return this; } /** + * + * *
      * Specification that applies to a data source connection. Valid only
      * for entries with the `DATA_SOURCE_CONNECTION` type.
      * 
* - * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * */ public Builder clearDataSourceConnectionSpec() { if (dataSourceConnectionSpecBuilder_ == null) { @@ -5512,26 +6274,34 @@ public Builder clearDataSourceConnectionSpec() { return this; } /** + * + * *
      * Specification that applies to a data source connection. Valid only
      * for entries with the `DATA_SOURCE_CONNECTION` type.
      * 
* - * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * */ - public com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder getDataSourceConnectionSpecBuilder() { + public com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder + getDataSourceConnectionSpecBuilder() { return getDataSourceConnectionSpecFieldBuilder().getBuilder(); } /** + * + * *
      * Specification that applies to a data source connection. Valid only
      * for entries with the `DATA_SOURCE_CONNECTION` type.
      * 
* - * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder getDataSourceConnectionSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder + getDataSourceConnectionSpecOrBuilder() { if ((specCase_ == 27) && (dataSourceConnectionSpecBuilder_ != null)) { return dataSourceConnectionSpecBuilder_.getMessageOrBuilder(); } else { @@ -5542,22 +6312,30 @@ public com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder getData } } /** + * + * *
      * Specification that applies to a data source connection. Valid only
      * for entries with the `DATA_SOURCE_CONNECTION` type.
      * 
* - * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.DataSourceConnectionSpec, com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder, com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder> + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec, + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder, + com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder> getDataSourceConnectionSpecFieldBuilder() { if (dataSourceConnectionSpecBuilder_ == null) { if (!(specCase_ == 27)) { spec_ = com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.getDefaultInstance(); } - dataSourceConnectionSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.DataSourceConnectionSpec, com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder, com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder>( + dataSourceConnectionSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec, + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder, + com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder>( (com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) spec_, getParentForChildren(), isClean()); @@ -5569,14 +6347,20 @@ public com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder getData } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.RoutineSpec, com.google.cloud.datacatalog.v1.RoutineSpec.Builder, com.google.cloud.datacatalog.v1.RoutineSpecOrBuilder> routineSpecBuilder_; + com.google.cloud.datacatalog.v1.RoutineSpec, + com.google.cloud.datacatalog.v1.RoutineSpec.Builder, + com.google.cloud.datacatalog.v1.RoutineSpecOrBuilder> + routineSpecBuilder_; /** + * + * *
      * Specification that applies to a user-defined function or procedure. Valid
      * only for entries with the `ROUTINE` type.
      * 
* * .google.cloud.datacatalog.v1.RoutineSpec routine_spec = 28; + * * @return Whether the routineSpec field is set. */ @java.lang.Override @@ -5584,12 +6368,15 @@ public boolean hasRoutineSpec() { return specCase_ == 28; } /** + * + * *
      * Specification that applies to a user-defined function or procedure. Valid
      * only for entries with the `ROUTINE` type.
      * 
* * .google.cloud.datacatalog.v1.RoutineSpec routine_spec = 28; + * * @return The routineSpec. */ @java.lang.Override @@ -5607,6 +6394,8 @@ public com.google.cloud.datacatalog.v1.RoutineSpec getRoutineSpec() { } } /** + * + * *
      * Specification that applies to a user-defined function or procedure. Valid
      * only for entries with the `ROUTINE` type.
@@ -5628,6 +6417,8 @@ public Builder setRoutineSpec(com.google.cloud.datacatalog.v1.RoutineSpec value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a user-defined function or procedure. Valid
      * only for entries with the `ROUTINE` type.
@@ -5647,6 +6438,8 @@ public Builder setRoutineSpec(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a user-defined function or procedure. Valid
      * only for entries with the `ROUTINE` type.
@@ -5656,10 +6449,13 @@ public Builder setRoutineSpec(
      */
     public Builder mergeRoutineSpec(com.google.cloud.datacatalog.v1.RoutineSpec value) {
       if (routineSpecBuilder_ == null) {
-        if (specCase_ == 28 &&
-            spec_ != com.google.cloud.datacatalog.v1.RoutineSpec.getDefaultInstance()) {
-          spec_ = com.google.cloud.datacatalog.v1.RoutineSpec.newBuilder((com.google.cloud.datacatalog.v1.RoutineSpec) spec_)
-              .mergeFrom(value).buildPartial();
+        if (specCase_ == 28
+            && spec_ != com.google.cloud.datacatalog.v1.RoutineSpec.getDefaultInstance()) {
+          spec_ =
+              com.google.cloud.datacatalog.v1.RoutineSpec.newBuilder(
+                      (com.google.cloud.datacatalog.v1.RoutineSpec) spec_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           spec_ = value;
         }
@@ -5675,6 +6471,8 @@ public Builder mergeRoutineSpec(com.google.cloud.datacatalog.v1.RoutineSpec valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a user-defined function or procedure. Valid
      * only for entries with the `ROUTINE` type.
@@ -5699,6 +6497,8 @@ public Builder clearRoutineSpec() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a user-defined function or procedure. Valid
      * only for entries with the `ROUTINE` type.
@@ -5710,6 +6510,8 @@ public com.google.cloud.datacatalog.v1.RoutineSpec.Builder getRoutineSpecBuilder
       return getRoutineSpecFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a user-defined function or procedure. Valid
      * only for entries with the `ROUTINE` type.
@@ -5729,6 +6531,8 @@ public com.google.cloud.datacatalog.v1.RoutineSpecOrBuilder getRoutineSpecOrBuil
       }
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a user-defined function or procedure. Valid
      * only for entries with the `ROUTINE` type.
@@ -5737,14 +6541,19 @@ public com.google.cloud.datacatalog.v1.RoutineSpecOrBuilder getRoutineSpecOrBuil
      * .google.cloud.datacatalog.v1.RoutineSpec routine_spec = 28;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.RoutineSpec, com.google.cloud.datacatalog.v1.RoutineSpec.Builder, com.google.cloud.datacatalog.v1.RoutineSpecOrBuilder> 
+            com.google.cloud.datacatalog.v1.RoutineSpec,
+            com.google.cloud.datacatalog.v1.RoutineSpec.Builder,
+            com.google.cloud.datacatalog.v1.RoutineSpecOrBuilder>
         getRoutineSpecFieldBuilder() {
       if (routineSpecBuilder_ == null) {
         if (!(specCase_ == 28)) {
           spec_ = com.google.cloud.datacatalog.v1.RoutineSpec.getDefaultInstance();
         }
-        routineSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.RoutineSpec, com.google.cloud.datacatalog.v1.RoutineSpec.Builder, com.google.cloud.datacatalog.v1.RoutineSpecOrBuilder>(
+        routineSpecBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.datacatalog.v1.RoutineSpec,
+                com.google.cloud.datacatalog.v1.RoutineSpec.Builder,
+                com.google.cloud.datacatalog.v1.RoutineSpecOrBuilder>(
                 (com.google.cloud.datacatalog.v1.RoutineSpec) spec_,
                 getParentForChildren(),
                 isClean());
@@ -5756,14 +6565,20 @@ public com.google.cloud.datacatalog.v1.RoutineSpecOrBuilder getRoutineSpecOrBuil
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.FilesetSpec, com.google.cloud.datacatalog.v1.FilesetSpec.Builder, com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder> filesetSpecBuilder_;
+            com.google.cloud.datacatalog.v1.FilesetSpec,
+            com.google.cloud.datacatalog.v1.FilesetSpec.Builder,
+            com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder>
+        filesetSpecBuilder_;
     /**
+     *
+     *
      * 
      * Specification that applies to a fileset resource. Valid only
      * for entries with the `FILESET` type.
      * 
* * .google.cloud.datacatalog.v1.FilesetSpec fileset_spec = 33; + * * @return Whether the filesetSpec field is set. */ @java.lang.Override @@ -5771,12 +6586,15 @@ public boolean hasFilesetSpec() { return specCase_ == 33; } /** + * + * *
      * Specification that applies to a fileset resource. Valid only
      * for entries with the `FILESET` type.
      * 
* * .google.cloud.datacatalog.v1.FilesetSpec fileset_spec = 33; + * * @return The filesetSpec. */ @java.lang.Override @@ -5794,6 +6612,8 @@ public com.google.cloud.datacatalog.v1.FilesetSpec getFilesetSpec() { } } /** + * + * *
      * Specification that applies to a fileset resource. Valid only
      * for entries with the `FILESET` type.
@@ -5815,6 +6635,8 @@ public Builder setFilesetSpec(com.google.cloud.datacatalog.v1.FilesetSpec value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a fileset resource. Valid only
      * for entries with the `FILESET` type.
@@ -5834,6 +6656,8 @@ public Builder setFilesetSpec(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a fileset resource. Valid only
      * for entries with the `FILESET` type.
@@ -5843,10 +6667,13 @@ public Builder setFilesetSpec(
      */
     public Builder mergeFilesetSpec(com.google.cloud.datacatalog.v1.FilesetSpec value) {
       if (filesetSpecBuilder_ == null) {
-        if (specCase_ == 33 &&
-            spec_ != com.google.cloud.datacatalog.v1.FilesetSpec.getDefaultInstance()) {
-          spec_ = com.google.cloud.datacatalog.v1.FilesetSpec.newBuilder((com.google.cloud.datacatalog.v1.FilesetSpec) spec_)
-              .mergeFrom(value).buildPartial();
+        if (specCase_ == 33
+            && spec_ != com.google.cloud.datacatalog.v1.FilesetSpec.getDefaultInstance()) {
+          spec_ =
+              com.google.cloud.datacatalog.v1.FilesetSpec.newBuilder(
+                      (com.google.cloud.datacatalog.v1.FilesetSpec) spec_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           spec_ = value;
         }
@@ -5862,6 +6689,8 @@ public Builder mergeFilesetSpec(com.google.cloud.datacatalog.v1.FilesetSpec valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a fileset resource. Valid only
      * for entries with the `FILESET` type.
@@ -5886,6 +6715,8 @@ public Builder clearFilesetSpec() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a fileset resource. Valid only
      * for entries with the `FILESET` type.
@@ -5897,6 +6728,8 @@ public com.google.cloud.datacatalog.v1.FilesetSpec.Builder getFilesetSpecBuilder
       return getFilesetSpecFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a fileset resource. Valid only
      * for entries with the `FILESET` type.
@@ -5916,6 +6749,8 @@ public com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder getFilesetSpecOrBuil
       }
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a fileset resource. Valid only
      * for entries with the `FILESET` type.
@@ -5924,14 +6759,19 @@ public com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder getFilesetSpecOrBuil
      * .google.cloud.datacatalog.v1.FilesetSpec fileset_spec = 33;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.FilesetSpec, com.google.cloud.datacatalog.v1.FilesetSpec.Builder, com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder> 
+            com.google.cloud.datacatalog.v1.FilesetSpec,
+            com.google.cloud.datacatalog.v1.FilesetSpec.Builder,
+            com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder>
         getFilesetSpecFieldBuilder() {
       if (filesetSpecBuilder_ == null) {
         if (!(specCase_ == 33)) {
           spec_ = com.google.cloud.datacatalog.v1.FilesetSpec.getDefaultInstance();
         }
-        filesetSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.FilesetSpec, com.google.cloud.datacatalog.v1.FilesetSpec.Builder, com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder>(
+        filesetSpecBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.datacatalog.v1.FilesetSpec,
+                com.google.cloud.datacatalog.v1.FilesetSpec.Builder,
+                com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder>(
                 (com.google.cloud.datacatalog.v1.FilesetSpec) spec_,
                 getParentForChildren(),
                 isClean());
@@ -5943,13 +6783,19 @@ public com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder getFilesetSpecOrBuil
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.ServiceSpec, com.google.cloud.datacatalog.v1.ServiceSpec.Builder, com.google.cloud.datacatalog.v1.ServiceSpecOrBuilder> serviceSpecBuilder_;
+            com.google.cloud.datacatalog.v1.ServiceSpec,
+            com.google.cloud.datacatalog.v1.ServiceSpec.Builder,
+            com.google.cloud.datacatalog.v1.ServiceSpecOrBuilder>
+        serviceSpecBuilder_;
     /**
+     *
+     *
      * 
      * Specification that applies to a Service resource.
      * 
* * .google.cloud.datacatalog.v1.ServiceSpec service_spec = 42; + * * @return Whether the serviceSpec field is set. */ @java.lang.Override @@ -5957,11 +6803,14 @@ public boolean hasServiceSpec() { return specCase_ == 42; } /** + * + * *
      * Specification that applies to a Service resource.
      * 
* * .google.cloud.datacatalog.v1.ServiceSpec service_spec = 42; + * * @return The serviceSpec. */ @java.lang.Override @@ -5979,6 +6828,8 @@ public com.google.cloud.datacatalog.v1.ServiceSpec getServiceSpec() { } } /** + * + * *
      * Specification that applies to a Service resource.
      * 
@@ -5999,6 +6850,8 @@ public Builder setServiceSpec(com.google.cloud.datacatalog.v1.ServiceSpec value) return this; } /** + * + * *
      * Specification that applies to a Service resource.
      * 
@@ -6017,6 +6870,8 @@ public Builder setServiceSpec( return this; } /** + * + * *
      * Specification that applies to a Service resource.
      * 
@@ -6025,10 +6880,13 @@ public Builder setServiceSpec( */ public Builder mergeServiceSpec(com.google.cloud.datacatalog.v1.ServiceSpec value) { if (serviceSpecBuilder_ == null) { - if (specCase_ == 42 && - spec_ != com.google.cloud.datacatalog.v1.ServiceSpec.getDefaultInstance()) { - spec_ = com.google.cloud.datacatalog.v1.ServiceSpec.newBuilder((com.google.cloud.datacatalog.v1.ServiceSpec) spec_) - .mergeFrom(value).buildPartial(); + if (specCase_ == 42 + && spec_ != com.google.cloud.datacatalog.v1.ServiceSpec.getDefaultInstance()) { + spec_ = + com.google.cloud.datacatalog.v1.ServiceSpec.newBuilder( + (com.google.cloud.datacatalog.v1.ServiceSpec) spec_) + .mergeFrom(value) + .buildPartial(); } else { spec_ = value; } @@ -6044,6 +6902,8 @@ public Builder mergeServiceSpec(com.google.cloud.datacatalog.v1.ServiceSpec valu return this; } /** + * + * *
      * Specification that applies to a Service resource.
      * 
@@ -6067,6 +6927,8 @@ public Builder clearServiceSpec() { return this; } /** + * + * *
      * Specification that applies to a Service resource.
      * 
@@ -6077,6 +6939,8 @@ public com.google.cloud.datacatalog.v1.ServiceSpec.Builder getServiceSpecBuilder return getServiceSpecFieldBuilder().getBuilder(); } /** + * + * *
      * Specification that applies to a Service resource.
      * 
@@ -6095,6 +6959,8 @@ public com.google.cloud.datacatalog.v1.ServiceSpecOrBuilder getServiceSpecOrBuil } } /** + * + * *
      * Specification that applies to a Service resource.
      * 
@@ -6102,14 +6968,19 @@ public com.google.cloud.datacatalog.v1.ServiceSpecOrBuilder getServiceSpecOrBuil * .google.cloud.datacatalog.v1.ServiceSpec service_spec = 42; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.ServiceSpec, com.google.cloud.datacatalog.v1.ServiceSpec.Builder, com.google.cloud.datacatalog.v1.ServiceSpecOrBuilder> + com.google.cloud.datacatalog.v1.ServiceSpec, + com.google.cloud.datacatalog.v1.ServiceSpec.Builder, + com.google.cloud.datacatalog.v1.ServiceSpecOrBuilder> getServiceSpecFieldBuilder() { if (serviceSpecBuilder_ == null) { if (!(specCase_ == 42)) { spec_ = com.google.cloud.datacatalog.v1.ServiceSpec.getDefaultInstance(); } - serviceSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.ServiceSpec, com.google.cloud.datacatalog.v1.ServiceSpec.Builder, com.google.cloud.datacatalog.v1.ServiceSpecOrBuilder>( + serviceSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.ServiceSpec, + com.google.cloud.datacatalog.v1.ServiceSpec.Builder, + com.google.cloud.datacatalog.v1.ServiceSpecOrBuilder>( (com.google.cloud.datacatalog.v1.ServiceSpec) spec_, getParentForChildren(), isClean()); @@ -6122,6 +6993,8 @@ public com.google.cloud.datacatalog.v1.ServiceSpecOrBuilder getServiceSpecOrBuil private java.lang.Object displayName_ = ""; /** + * + * *
      * Display name of an entry.
      *
@@ -6130,13 +7003,13 @@ public com.google.cloud.datacatalog.v1.ServiceSpecOrBuilder getServiceSpecOrBuil
      * 
* * string display_name = 3; + * * @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; @@ -6145,6 +7018,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display name of an entry.
      *
@@ -6153,15 +7028,14 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 3; + * * @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 { @@ -6169,6 +7043,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display name of an entry.
      *
@@ -6177,18 +7053,22 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 3; + * * @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_ |= 0x00040000; onChanged(); return this; } /** + * + * *
      * Display name of an entry.
      *
@@ -6197,6 +7077,7 @@ public Builder setDisplayName(
      * 
* * string display_name = 3; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -6206,6 +7087,8 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Display name of an entry.
      *
@@ -6214,12 +7097,14 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 3; + * * @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_ |= 0x00040000; @@ -6229,6 +7114,8 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Entry description that can consist of several sentences or paragraphs
      * that describe entry contents.
@@ -6241,13 +7128,13 @@ public Builder setDisplayNameBytes(
      * 
* * string description = 4; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -6256,6 +7143,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Entry description that can consist of several sentences or paragraphs
      * that describe entry contents.
@@ -6268,15 +7157,14 @@ public java.lang.String getDescription() {
      * 
* * string description = 4; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -6284,6 +7172,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Entry description that can consist of several sentences or paragraphs
      * that describe entry contents.
@@ -6296,18 +7186,22 @@ public java.lang.String getDescription() {
      * 
* * string description = 4; + * * @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_ |= 0x00080000; onChanged(); return this; } /** + * + * *
      * Entry description that can consist of several sentences or paragraphs
      * that describe entry contents.
@@ -6320,6 +7214,7 @@ public Builder setDescription(
      * 
* * string description = 4; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -6329,6 +7224,8 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Entry description that can consist of several sentences or paragraphs
      * that describe entry contents.
@@ -6341,12 +7238,14 @@ public Builder clearDescription() {
      * 
* * string description = 4; + * * @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_ |= 0x00080000; @@ -6356,34 +7255,47 @@ public Builder setDescriptionBytes( private com.google.cloud.datacatalog.v1.BusinessContext businessContext_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.BusinessContext, com.google.cloud.datacatalog.v1.BusinessContext.Builder, com.google.cloud.datacatalog.v1.BusinessContextOrBuilder> businessContextBuilder_; + com.google.cloud.datacatalog.v1.BusinessContext, + com.google.cloud.datacatalog.v1.BusinessContext.Builder, + com.google.cloud.datacatalog.v1.BusinessContextOrBuilder> + businessContextBuilder_; /** + * + * *
      * Business Context of the entry. Not supported for BigQuery datasets
      * 
* * .google.cloud.datacatalog.v1.BusinessContext business_context = 37; + * * @return Whether the businessContext field is set. */ public boolean hasBusinessContext() { return ((bitField0_ & 0x00100000) != 0); } /** + * + * *
      * Business Context of the entry. Not supported for BigQuery datasets
      * 
* * .google.cloud.datacatalog.v1.BusinessContext business_context = 37; + * * @return The businessContext. */ public com.google.cloud.datacatalog.v1.BusinessContext getBusinessContext() { if (businessContextBuilder_ == null) { - return businessContext_ == null ? com.google.cloud.datacatalog.v1.BusinessContext.getDefaultInstance() : businessContext_; + return businessContext_ == null + ? com.google.cloud.datacatalog.v1.BusinessContext.getDefaultInstance() + : businessContext_; } else { return businessContextBuilder_.getMessage(); } } /** + * + * *
      * Business Context of the entry. Not supported for BigQuery datasets
      * 
@@ -6404,6 +7316,8 @@ public Builder setBusinessContext(com.google.cloud.datacatalog.v1.BusinessContex return this; } /** + * + * *
      * Business Context of the entry. Not supported for BigQuery datasets
      * 
@@ -6422,6 +7336,8 @@ public Builder setBusinessContext( return this; } /** + * + * *
      * Business Context of the entry. Not supported for BigQuery datasets
      * 
@@ -6430,9 +7346,10 @@ public Builder setBusinessContext( */ public Builder mergeBusinessContext(com.google.cloud.datacatalog.v1.BusinessContext value) { if (businessContextBuilder_ == null) { - if (((bitField0_ & 0x00100000) != 0) && - businessContext_ != null && - businessContext_ != com.google.cloud.datacatalog.v1.BusinessContext.getDefaultInstance()) { + if (((bitField0_ & 0x00100000) != 0) + && businessContext_ != null + && businessContext_ + != com.google.cloud.datacatalog.v1.BusinessContext.getDefaultInstance()) { getBusinessContextBuilder().mergeFrom(value); } else { businessContext_ = value; @@ -6445,6 +7362,8 @@ public Builder mergeBusinessContext(com.google.cloud.datacatalog.v1.BusinessCont return this; } /** + * + * *
      * Business Context of the entry. Not supported for BigQuery datasets
      * 
@@ -6462,6 +7381,8 @@ public Builder clearBusinessContext() { return this; } /** + * + * *
      * Business Context of the entry. Not supported for BigQuery datasets
      * 
@@ -6474,6 +7395,8 @@ public com.google.cloud.datacatalog.v1.BusinessContext.Builder getBusinessContex return getBusinessContextFieldBuilder().getBuilder(); } /** + * + * *
      * Business Context of the entry. Not supported for BigQuery datasets
      * 
@@ -6484,11 +7407,14 @@ public com.google.cloud.datacatalog.v1.BusinessContextOrBuilder getBusinessConte if (businessContextBuilder_ != null) { return businessContextBuilder_.getMessageOrBuilder(); } else { - return businessContext_ == null ? - com.google.cloud.datacatalog.v1.BusinessContext.getDefaultInstance() : businessContext_; + return businessContext_ == null + ? com.google.cloud.datacatalog.v1.BusinessContext.getDefaultInstance() + : businessContext_; } } /** + * + * *
      * Business Context of the entry. Not supported for BigQuery datasets
      * 
@@ -6496,14 +7422,17 @@ public com.google.cloud.datacatalog.v1.BusinessContextOrBuilder getBusinessConte * .google.cloud.datacatalog.v1.BusinessContext business_context = 37; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.BusinessContext, com.google.cloud.datacatalog.v1.BusinessContext.Builder, com.google.cloud.datacatalog.v1.BusinessContextOrBuilder> + com.google.cloud.datacatalog.v1.BusinessContext, + com.google.cloud.datacatalog.v1.BusinessContext.Builder, + com.google.cloud.datacatalog.v1.BusinessContextOrBuilder> getBusinessContextFieldBuilder() { if (businessContextBuilder_ == null) { - businessContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.BusinessContext, com.google.cloud.datacatalog.v1.BusinessContext.Builder, com.google.cloud.datacatalog.v1.BusinessContextOrBuilder>( - getBusinessContext(), - getParentForChildren(), - isClean()); + businessContextBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.BusinessContext, + com.google.cloud.datacatalog.v1.BusinessContext.Builder, + com.google.cloud.datacatalog.v1.BusinessContextOrBuilder>( + getBusinessContext(), getParentForChildren(), isClean()); businessContext_ = null; } return businessContextBuilder_; @@ -6511,34 +7440,47 @@ public com.google.cloud.datacatalog.v1.BusinessContextOrBuilder getBusinessConte private com.google.cloud.datacatalog.v1.Schema schema_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Schema, com.google.cloud.datacatalog.v1.Schema.Builder, com.google.cloud.datacatalog.v1.SchemaOrBuilder> schemaBuilder_; + com.google.cloud.datacatalog.v1.Schema, + com.google.cloud.datacatalog.v1.Schema.Builder, + com.google.cloud.datacatalog.v1.SchemaOrBuilder> + schemaBuilder_; /** + * + * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
* * .google.cloud.datacatalog.v1.Schema schema = 5; + * * @return Whether the schema field is set. */ public boolean hasSchema() { return ((bitField0_ & 0x00200000) != 0); } /** + * + * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
* * .google.cloud.datacatalog.v1.Schema schema = 5; + * * @return The schema. */ public com.google.cloud.datacatalog.v1.Schema getSchema() { if (schemaBuilder_ == null) { - return schema_ == null ? com.google.cloud.datacatalog.v1.Schema.getDefaultInstance() : schema_; + return schema_ == null + ? com.google.cloud.datacatalog.v1.Schema.getDefaultInstance() + : schema_; } else { return schemaBuilder_.getMessage(); } } /** + * + * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -6559,14 +7501,15 @@ public Builder setSchema(com.google.cloud.datacatalog.v1.Schema value) { return this; } /** + * + * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
* * .google.cloud.datacatalog.v1.Schema schema = 5; */ - public Builder setSchema( - com.google.cloud.datacatalog.v1.Schema.Builder builderForValue) { + public Builder setSchema(com.google.cloud.datacatalog.v1.Schema.Builder builderForValue) { if (schemaBuilder_ == null) { schema_ = builderForValue.build(); } else { @@ -6577,6 +7520,8 @@ public Builder setSchema( return this; } /** + * + * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -6585,9 +7530,9 @@ public Builder setSchema( */ public Builder mergeSchema(com.google.cloud.datacatalog.v1.Schema value) { if (schemaBuilder_ == null) { - if (((bitField0_ & 0x00200000) != 0) && - schema_ != null && - schema_ != com.google.cloud.datacatalog.v1.Schema.getDefaultInstance()) { + if (((bitField0_ & 0x00200000) != 0) + && schema_ != null + && schema_ != com.google.cloud.datacatalog.v1.Schema.getDefaultInstance()) { getSchemaBuilder().mergeFrom(value); } else { schema_ = value; @@ -6600,6 +7545,8 @@ public Builder mergeSchema(com.google.cloud.datacatalog.v1.Schema value) { return this; } /** + * + * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -6617,6 +7564,8 @@ public Builder clearSchema() { return this; } /** + * + * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -6629,6 +7578,8 @@ public com.google.cloud.datacatalog.v1.Schema.Builder getSchemaBuilder() { return getSchemaFieldBuilder().getBuilder(); } /** + * + * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -6639,11 +7590,14 @@ public com.google.cloud.datacatalog.v1.SchemaOrBuilder getSchemaOrBuilder() { if (schemaBuilder_ != null) { return schemaBuilder_.getMessageOrBuilder(); } else { - return schema_ == null ? - com.google.cloud.datacatalog.v1.Schema.getDefaultInstance() : schema_; + return schema_ == null + ? com.google.cloud.datacatalog.v1.Schema.getDefaultInstance() + : schema_; } } /** + * + * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -6651,14 +7605,17 @@ public com.google.cloud.datacatalog.v1.SchemaOrBuilder getSchemaOrBuilder() { * .google.cloud.datacatalog.v1.Schema schema = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Schema, com.google.cloud.datacatalog.v1.Schema.Builder, com.google.cloud.datacatalog.v1.SchemaOrBuilder> + com.google.cloud.datacatalog.v1.Schema, + com.google.cloud.datacatalog.v1.Schema.Builder, + com.google.cloud.datacatalog.v1.SchemaOrBuilder> getSchemaFieldBuilder() { if (schemaBuilder_ == null) { - schemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Schema, com.google.cloud.datacatalog.v1.Schema.Builder, com.google.cloud.datacatalog.v1.SchemaOrBuilder>( - getSchema(), - getParentForChildren(), - isClean()); + schemaBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.Schema, + com.google.cloud.datacatalog.v1.Schema.Builder, + com.google.cloud.datacatalog.v1.SchemaOrBuilder>( + getSchema(), getParentForChildren(), isClean()); schema_ = null; } return schemaBuilder_; @@ -6666,8 +7623,13 @@ public com.google.cloud.datacatalog.v1.SchemaOrBuilder getSchemaOrBuilder() { private com.google.cloud.datacatalog.v1.SystemTimestamps sourceSystemTimestamps_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SystemTimestamps, com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder> sourceSystemTimestampsBuilder_; + com.google.cloud.datacatalog.v1.SystemTimestamps, + com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, + com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder> + sourceSystemTimestampsBuilder_; /** + * + * *
      * Timestamps from the underlying resource, not from the Data Catalog
      * entry.
@@ -6678,12 +7640,15 @@ public com.google.cloud.datacatalog.v1.SchemaOrBuilder getSchemaOrBuilder() {
      * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; + * * @return Whether the sourceSystemTimestamps field is set. */ public boolean hasSourceSystemTimestamps() { return ((bitField0_ & 0x00400000) != 0); } /** + * + * *
      * Timestamps from the underlying resource, not from the Data Catalog
      * entry.
@@ -6694,16 +7659,21 @@ public boolean hasSourceSystemTimestamps() {
      * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; + * * @return The sourceSystemTimestamps. */ public com.google.cloud.datacatalog.v1.SystemTimestamps getSourceSystemTimestamps() { if (sourceSystemTimestampsBuilder_ == null) { - return sourceSystemTimestamps_ == null ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() : sourceSystemTimestamps_; + return sourceSystemTimestamps_ == null + ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() + : sourceSystemTimestamps_; } else { return sourceSystemTimestampsBuilder_.getMessage(); } } /** + * + * *
      * Timestamps from the underlying resource, not from the Data Catalog
      * entry.
@@ -6715,7 +7685,8 @@ public com.google.cloud.datacatalog.v1.SystemTimestamps getSourceSystemTimestamp
      *
      * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7;
      */
-    public Builder setSourceSystemTimestamps(com.google.cloud.datacatalog.v1.SystemTimestamps value) {
+    public Builder setSourceSystemTimestamps(
+        com.google.cloud.datacatalog.v1.SystemTimestamps value) {
       if (sourceSystemTimestampsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -6729,6 +7700,8 @@ public Builder setSourceSystemTimestamps(com.google.cloud.datacatalog.v1.SystemT
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamps from the underlying resource, not from the Data Catalog
      * entry.
@@ -6752,6 +7725,8 @@ public Builder setSourceSystemTimestamps(
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamps from the underlying resource, not from the Data Catalog
      * entry.
@@ -6763,11 +7738,13 @@ public Builder setSourceSystemTimestamps(
      *
      * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7;
      */
-    public Builder mergeSourceSystemTimestamps(com.google.cloud.datacatalog.v1.SystemTimestamps value) {
+    public Builder mergeSourceSystemTimestamps(
+        com.google.cloud.datacatalog.v1.SystemTimestamps value) {
       if (sourceSystemTimestampsBuilder_ == null) {
-        if (((bitField0_ & 0x00400000) != 0) &&
-          sourceSystemTimestamps_ != null &&
-          sourceSystemTimestamps_ != com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance()) {
+        if (((bitField0_ & 0x00400000) != 0)
+            && sourceSystemTimestamps_ != null
+            && sourceSystemTimestamps_
+                != com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance()) {
           getSourceSystemTimestampsBuilder().mergeFrom(value);
         } else {
           sourceSystemTimestamps_ = value;
@@ -6780,6 +7757,8 @@ public Builder mergeSourceSystemTimestamps(com.google.cloud.datacatalog.v1.Syste
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamps from the underlying resource, not from the Data Catalog
      * entry.
@@ -6802,6 +7781,8 @@ public Builder clearSourceSystemTimestamps() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamps from the underlying resource, not from the Data Catalog
      * entry.
@@ -6813,12 +7794,15 @@ public Builder clearSourceSystemTimestamps() {
      *
      * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7;
      */
-    public com.google.cloud.datacatalog.v1.SystemTimestamps.Builder getSourceSystemTimestampsBuilder() {
+    public com.google.cloud.datacatalog.v1.SystemTimestamps.Builder
+        getSourceSystemTimestampsBuilder() {
       bitField0_ |= 0x00400000;
       onChanged();
       return getSourceSystemTimestampsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Timestamps from the underlying resource, not from the Data Catalog
      * entry.
@@ -6830,15 +7814,19 @@ public com.google.cloud.datacatalog.v1.SystemTimestamps.Builder getSourceSystemT
      *
      * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7;
      */
-    public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getSourceSystemTimestampsOrBuilder() {
+    public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder
+        getSourceSystemTimestampsOrBuilder() {
       if (sourceSystemTimestampsBuilder_ != null) {
         return sourceSystemTimestampsBuilder_.getMessageOrBuilder();
       } else {
-        return sourceSystemTimestamps_ == null ?
-            com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() : sourceSystemTimestamps_;
+        return sourceSystemTimestamps_ == null
+            ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance()
+            : sourceSystemTimestamps_;
       }
     }
     /**
+     *
+     *
      * 
      * Timestamps from the underlying resource, not from the Data Catalog
      * entry.
@@ -6851,14 +7839,17 @@ public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getSourceSystem
      * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.SystemTimestamps, com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder> 
+            com.google.cloud.datacatalog.v1.SystemTimestamps,
+            com.google.cloud.datacatalog.v1.SystemTimestamps.Builder,
+            com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder>
         getSourceSystemTimestampsFieldBuilder() {
       if (sourceSystemTimestampsBuilder_ == null) {
-        sourceSystemTimestampsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.SystemTimestamps, com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder>(
-                getSourceSystemTimestamps(),
-                getParentForChildren(),
-                isClean());
+        sourceSystemTimestampsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.datacatalog.v1.SystemTimestamps,
+                com.google.cloud.datacatalog.v1.SystemTimestamps.Builder,
+                com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder>(
+                getSourceSystemTimestamps(), getParentForChildren(), isClean());
         sourceSystemTimestamps_ = null;
       }
       return sourceSystemTimestampsBuilder_;
@@ -6866,34 +7857,47 @@ public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getSourceSystem
 
     private com.google.cloud.datacatalog.v1.UsageSignal usageSignal_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.UsageSignal, com.google.cloud.datacatalog.v1.UsageSignal.Builder, com.google.cloud.datacatalog.v1.UsageSignalOrBuilder> usageSignalBuilder_;
+            com.google.cloud.datacatalog.v1.UsageSignal,
+            com.google.cloud.datacatalog.v1.UsageSignal.Builder,
+            com.google.cloud.datacatalog.v1.UsageSignalOrBuilder>
+        usageSignalBuilder_;
     /**
+     *
+     *
      * 
      * Resource usage statistics.
      * 
* * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13; + * * @return Whether the usageSignal field is set. */ public boolean hasUsageSignal() { return ((bitField0_ & 0x00800000) != 0); } /** + * + * *
      * Resource usage statistics.
      * 
* * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13; + * * @return The usageSignal. */ public com.google.cloud.datacatalog.v1.UsageSignal getUsageSignal() { if (usageSignalBuilder_ == null) { - return usageSignal_ == null ? com.google.cloud.datacatalog.v1.UsageSignal.getDefaultInstance() : usageSignal_; + return usageSignal_ == null + ? com.google.cloud.datacatalog.v1.UsageSignal.getDefaultInstance() + : usageSignal_; } else { return usageSignalBuilder_.getMessage(); } } /** + * + * *
      * Resource usage statistics.
      * 
@@ -6914,6 +7918,8 @@ public Builder setUsageSignal(com.google.cloud.datacatalog.v1.UsageSignal value) return this; } /** + * + * *
      * Resource usage statistics.
      * 
@@ -6932,6 +7938,8 @@ public Builder setUsageSignal( return this; } /** + * + * *
      * Resource usage statistics.
      * 
@@ -6940,9 +7948,9 @@ public Builder setUsageSignal( */ public Builder mergeUsageSignal(com.google.cloud.datacatalog.v1.UsageSignal value) { if (usageSignalBuilder_ == null) { - if (((bitField0_ & 0x00800000) != 0) && - usageSignal_ != null && - usageSignal_ != com.google.cloud.datacatalog.v1.UsageSignal.getDefaultInstance()) { + if (((bitField0_ & 0x00800000) != 0) + && usageSignal_ != null + && usageSignal_ != com.google.cloud.datacatalog.v1.UsageSignal.getDefaultInstance()) { getUsageSignalBuilder().mergeFrom(value); } else { usageSignal_ = value; @@ -6955,6 +7963,8 @@ public Builder mergeUsageSignal(com.google.cloud.datacatalog.v1.UsageSignal valu return this; } /** + * + * *
      * Resource usage statistics.
      * 
@@ -6972,6 +7982,8 @@ public Builder clearUsageSignal() { return this; } /** + * + * *
      * Resource usage statistics.
      * 
@@ -6984,6 +7996,8 @@ public com.google.cloud.datacatalog.v1.UsageSignal.Builder getUsageSignalBuilder return getUsageSignalFieldBuilder().getBuilder(); } /** + * + * *
      * Resource usage statistics.
      * 
@@ -6994,11 +8008,14 @@ public com.google.cloud.datacatalog.v1.UsageSignalOrBuilder getUsageSignalOrBuil if (usageSignalBuilder_ != null) { return usageSignalBuilder_.getMessageOrBuilder(); } else { - return usageSignal_ == null ? - com.google.cloud.datacatalog.v1.UsageSignal.getDefaultInstance() : usageSignal_; + return usageSignal_ == null + ? com.google.cloud.datacatalog.v1.UsageSignal.getDefaultInstance() + : usageSignal_; } } /** + * + * *
      * Resource usage statistics.
      * 
@@ -7006,34 +8023,35 @@ public com.google.cloud.datacatalog.v1.UsageSignalOrBuilder getUsageSignalOrBuil * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.UsageSignal, com.google.cloud.datacatalog.v1.UsageSignal.Builder, com.google.cloud.datacatalog.v1.UsageSignalOrBuilder> + com.google.cloud.datacatalog.v1.UsageSignal, + com.google.cloud.datacatalog.v1.UsageSignal.Builder, + com.google.cloud.datacatalog.v1.UsageSignalOrBuilder> getUsageSignalFieldBuilder() { if (usageSignalBuilder_ == null) { - usageSignalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.UsageSignal, com.google.cloud.datacatalog.v1.UsageSignal.Builder, com.google.cloud.datacatalog.v1.UsageSignalOrBuilder>( - getUsageSignal(), - getParentForChildren(), - isClean()); + usageSignalBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.UsageSignal, + com.google.cloud.datacatalog.v1.UsageSignal.Builder, + com.google.cloud.datacatalog.v1.UsageSignalOrBuilder>( + getUsageSignal(), getParentForChildren(), isClean()); usageSignal_ = null; } return usageSignalBuilder_; } - 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(); @@ -7042,10 +8060,13 @@ public com.google.cloud.datacatalog.v1.UsageSignalOrBuilder getUsageSignalOrBuil onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Cloud labels attached to the entry.
      *
@@ -7057,20 +8078,21 @@ public int getLabelsCount() {
      * map<string, string> labels = 14;
      */
     @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();
     }
     /**
+     *
+     *
      * 
      * Cloud labels attached to the entry.
      *
@@ -7086,6 +8108,8 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Cloud labels attached to the entry.
      *
@@ -7097,17 +8121,19 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 14;
      */
     @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;
     }
     /**
+     *
+     *
      * 
      * Cloud labels attached to the entry.
      *
@@ -7119,23 +8145,25 @@ java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 14;
      */
     @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_ & ~0x01000000);
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Cloud labels attached to the entry.
      *
@@ -7146,23 +8174,22 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 14;
      */
-    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_ |= 0x01000000;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Cloud labels attached to the entry.
      *
@@ -7173,17 +8200,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 14;
      */
-    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_ |= 0x01000000;
       return this;
     }
     /**
+     *
+     *
      * 
      * Cloud labels attached to the entry.
      *
@@ -7194,49 +8224,66 @@ public Builder putLabels(
      *
      * map<string, string> labels = 14;
      */
-    public Builder putAllLabels(
-        java.util.Map values) {
-      internalGetMutableLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllLabels(java.util.Map values) {
+      internalGetMutableLabels().getMutableMap().putAll(values);
       bitField0_ |= 0x01000000;
       return this;
     }
 
     private com.google.cloud.datacatalog.v1.DataSource dataSource_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.DataSource, com.google.cloud.datacatalog.v1.DataSource.Builder, com.google.cloud.datacatalog.v1.DataSourceOrBuilder> dataSourceBuilder_;
+            com.google.cloud.datacatalog.v1.DataSource,
+            com.google.cloud.datacatalog.v1.DataSource.Builder,
+            com.google.cloud.datacatalog.v1.DataSourceOrBuilder>
+        dataSourceBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Physical location of the entry.
      * 
* - * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dataSource field is set. */ public boolean hasDataSource() { return ((bitField0_ & 0x02000000) != 0); } /** + * + * *
      * Output only. Physical location of the entry.
      * 
* - * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dataSource. */ public com.google.cloud.datacatalog.v1.DataSource getDataSource() { if (dataSourceBuilder_ == null) { - return dataSource_ == null ? com.google.cloud.datacatalog.v1.DataSource.getDefaultInstance() : dataSource_; + return dataSource_ == null + ? com.google.cloud.datacatalog.v1.DataSource.getDefaultInstance() + : dataSource_; } else { return dataSourceBuilder_.getMessage(); } } /** + * + * *
      * Output only. Physical location of the entry.
      * 
* - * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDataSource(com.google.cloud.datacatalog.v1.DataSource value) { if (dataSourceBuilder_ == null) { @@ -7252,11 +8299,15 @@ public Builder setDataSource(com.google.cloud.datacatalog.v1.DataSource value) { return this; } /** + * + * *
      * Output only. Physical location of the entry.
      * 
* - * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDataSource( com.google.cloud.datacatalog.v1.DataSource.Builder builderForValue) { @@ -7270,17 +8321,21 @@ public Builder setDataSource( return this; } /** + * + * *
      * Output only. Physical location of the entry.
      * 
* - * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDataSource(com.google.cloud.datacatalog.v1.DataSource value) { if (dataSourceBuilder_ == null) { - if (((bitField0_ & 0x02000000) != 0) && - dataSource_ != null && - dataSource_ != com.google.cloud.datacatalog.v1.DataSource.getDefaultInstance()) { + if (((bitField0_ & 0x02000000) != 0) + && dataSource_ != null + && dataSource_ != com.google.cloud.datacatalog.v1.DataSource.getDefaultInstance()) { getDataSourceBuilder().mergeFrom(value); } else { dataSource_ = value; @@ -7293,11 +8348,15 @@ public Builder mergeDataSource(com.google.cloud.datacatalog.v1.DataSource value) return this; } /** + * + * *
      * Output only. Physical location of the entry.
      * 
* - * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDataSource() { bitField0_ = (bitField0_ & ~0x02000000); @@ -7310,11 +8369,15 @@ public Builder clearDataSource() { return this; } /** + * + * *
      * Output only. Physical location of the entry.
      * 
* - * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.datacatalog.v1.DataSource.Builder getDataSourceBuilder() { bitField0_ |= 0x02000000; @@ -7322,36 +8385,48 @@ public com.google.cloud.datacatalog.v1.DataSource.Builder getDataSourceBuilder() return getDataSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Physical location of the entry.
      * 
* - * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.datacatalog.v1.DataSourceOrBuilder getDataSourceOrBuilder() { if (dataSourceBuilder_ != null) { return dataSourceBuilder_.getMessageOrBuilder(); } else { - return dataSource_ == null ? - com.google.cloud.datacatalog.v1.DataSource.getDefaultInstance() : dataSource_; + return dataSource_ == null + ? com.google.cloud.datacatalog.v1.DataSource.getDefaultInstance() + : dataSource_; } } /** + * + * *
      * Output only. Physical location of the entry.
      * 
* - * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.DataSource, com.google.cloud.datacatalog.v1.DataSource.Builder, com.google.cloud.datacatalog.v1.DataSourceOrBuilder> + com.google.cloud.datacatalog.v1.DataSource, + com.google.cloud.datacatalog.v1.DataSource.Builder, + com.google.cloud.datacatalog.v1.DataSourceOrBuilder> getDataSourceFieldBuilder() { if (dataSourceBuilder_ == null) { - dataSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.DataSource, com.google.cloud.datacatalog.v1.DataSource.Builder, com.google.cloud.datacatalog.v1.DataSourceOrBuilder>( - getDataSource(), - getParentForChildren(), - isClean()); + dataSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.DataSource, + com.google.cloud.datacatalog.v1.DataSource.Builder, + com.google.cloud.datacatalog.v1.DataSourceOrBuilder>( + getDataSource(), getParentForChildren(), isClean()); dataSource_ = null; } return dataSourceBuilder_; @@ -7359,42 +8434,61 @@ public com.google.cloud.datacatalog.v1.DataSourceOrBuilder getDataSourceOrBuilde private com.google.cloud.datacatalog.v1.PersonalDetails personalDetails_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PersonalDetails, com.google.cloud.datacatalog.v1.PersonalDetails.Builder, com.google.cloud.datacatalog.v1.PersonalDetailsOrBuilder> personalDetailsBuilder_; + com.google.cloud.datacatalog.v1.PersonalDetails, + com.google.cloud.datacatalog.v1.PersonalDetails.Builder, + com.google.cloud.datacatalog.v1.PersonalDetailsOrBuilder> + personalDetailsBuilder_; /** + * + * *
      * Output only. Additional information related to the entry. Private to the
      * current user.
      * 
* - * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the personalDetails field is set. */ public boolean hasPersonalDetails() { return ((bitField0_ & 0x04000000) != 0); } /** + * + * *
      * Output only. Additional information related to the entry. Private to the
      * current user.
      * 
* - * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The personalDetails. */ public com.google.cloud.datacatalog.v1.PersonalDetails getPersonalDetails() { if (personalDetailsBuilder_ == null) { - return personalDetails_ == null ? com.google.cloud.datacatalog.v1.PersonalDetails.getDefaultInstance() : personalDetails_; + return personalDetails_ == null + ? com.google.cloud.datacatalog.v1.PersonalDetails.getDefaultInstance() + : personalDetails_; } else { return personalDetailsBuilder_.getMessage(); } } /** + * + * *
      * Output only. Additional information related to the entry. Private to the
      * current user.
      * 
* - * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPersonalDetails(com.google.cloud.datacatalog.v1.PersonalDetails value) { if (personalDetailsBuilder_ == null) { @@ -7410,12 +8504,16 @@ public Builder setPersonalDetails(com.google.cloud.datacatalog.v1.PersonalDetail return this; } /** + * + * *
      * Output only. Additional information related to the entry. Private to the
      * current user.
      * 
* - * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPersonalDetails( com.google.cloud.datacatalog.v1.PersonalDetails.Builder builderForValue) { @@ -7429,18 +8527,23 @@ public Builder setPersonalDetails( return this; } /** + * + * *
      * Output only. Additional information related to the entry. Private to the
      * current user.
      * 
* - * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergePersonalDetails(com.google.cloud.datacatalog.v1.PersonalDetails value) { if (personalDetailsBuilder_ == null) { - if (((bitField0_ & 0x04000000) != 0) && - personalDetails_ != null && - personalDetails_ != com.google.cloud.datacatalog.v1.PersonalDetails.getDefaultInstance()) { + if (((bitField0_ & 0x04000000) != 0) + && personalDetails_ != null + && personalDetails_ + != com.google.cloud.datacatalog.v1.PersonalDetails.getDefaultInstance()) { getPersonalDetailsBuilder().mergeFrom(value); } else { personalDetails_ = value; @@ -7453,12 +8556,16 @@ public Builder mergePersonalDetails(com.google.cloud.datacatalog.v1.PersonalDeta return this; } /** + * + * *
      * Output only. Additional information related to the entry. Private to the
      * current user.
      * 
* - * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearPersonalDetails() { bitField0_ = (bitField0_ & ~0x04000000); @@ -7471,12 +8578,16 @@ public Builder clearPersonalDetails() { return this; } /** + * + * *
      * Output only. Additional information related to the entry. Private to the
      * current user.
      * 
* - * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.datacatalog.v1.PersonalDetails.Builder getPersonalDetailsBuilder() { bitField0_ |= 0x04000000; @@ -7484,45 +8595,57 @@ public com.google.cloud.datacatalog.v1.PersonalDetails.Builder getPersonalDetail return getPersonalDetailsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Additional information related to the entry. Private to the
      * current user.
      * 
* - * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.datacatalog.v1.PersonalDetailsOrBuilder getPersonalDetailsOrBuilder() { if (personalDetailsBuilder_ != null) { return personalDetailsBuilder_.getMessageOrBuilder(); } else { - return personalDetails_ == null ? - com.google.cloud.datacatalog.v1.PersonalDetails.getDefaultInstance() : personalDetails_; + return personalDetails_ == null + ? com.google.cloud.datacatalog.v1.PersonalDetails.getDefaultInstance() + : personalDetails_; } } /** + * + * *
      * Output only. Additional information related to the entry. Private to the
      * current user.
      * 
* - * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PersonalDetails, com.google.cloud.datacatalog.v1.PersonalDetails.Builder, com.google.cloud.datacatalog.v1.PersonalDetailsOrBuilder> + com.google.cloud.datacatalog.v1.PersonalDetails, + com.google.cloud.datacatalog.v1.PersonalDetails.Builder, + com.google.cloud.datacatalog.v1.PersonalDetailsOrBuilder> getPersonalDetailsFieldBuilder() { if (personalDetailsBuilder_ == null) { - personalDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PersonalDetails, com.google.cloud.datacatalog.v1.PersonalDetails.Builder, com.google.cloud.datacatalog.v1.PersonalDetailsOrBuilder>( - getPersonalDetails(), - getParentForChildren(), - isClean()); + personalDetailsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.PersonalDetails, + com.google.cloud.datacatalog.v1.PersonalDetails.Builder, + com.google.cloud.datacatalog.v1.PersonalDetailsOrBuilder>( + getPersonalDetails(), getParentForChildren(), isClean()); personalDetails_ = null; } return personalDetailsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -7532,12 +8655,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.Entry) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.Entry) private static final com.google.cloud.datacatalog.v1.Entry DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.Entry(); } @@ -7546,27 +8669,27 @@ public static com.google.cloud.datacatalog.v1.Entry getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Entry parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Entry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7581,6 +8704,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.Entry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroup.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroup.java similarity index 66% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroup.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroup.java index 51435e1079dc..b4edad13e085 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroup.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroup.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Entry group metadata.
  *
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.EntryGroup}
  */
-public final class EntryGroup extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class EntryGroup extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.EntryGroup)
     EntryGroupOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use EntryGroup.newBuilder() to construct.
   private EntryGroup(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private EntryGroup() {
     name_ = "";
     displayName_ = "";
@@ -30,28 +48,32 @@ private EntryGroup() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new EntryGroup();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_EntryGroup_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_EntryGroup_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_EntryGroup_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_EntryGroup_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.EntryGroup.class, com.google.cloud.datacatalog.v1.EntryGroup.Builder.class);
+            com.google.cloud.datacatalog.v1.EntryGroup.class,
+            com.google.cloud.datacatalog.v1.EntryGroup.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The resource name of the entry group in URL format.
    *
@@ -60,6 +82,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -68,14 +91,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The resource name of the entry group in URL format.
    *
@@ -84,16 +108,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 { @@ -102,15 +125,19 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * A short name to identify the entry group, for example,
    * "analytics data - jan 2011". Default value is an empty string.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -119,30 +146,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * A short name to identify the entry group, for example,
    * "analytics data - jan 2011". Default value is an empty string.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -151,9 +178,12 @@ public java.lang.String getDisplayName() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Entry group description. Can consist of several sentences or
    * paragraphs that describe the entry group contents.
@@ -161,6 +191,7 @@ public java.lang.String getDisplayName() {
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -169,14 +200,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; } } /** + * + * *
    * Entry group description. Can consist of several sentences or
    * paragraphs that describe the entry group contents.
@@ -184,16 +216,15 @@ public java.lang.String getDescription() {
    * 
* * string description = 3; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -204,11 +235,16 @@ public java.lang.String getDescription() { public static final int DATA_CATALOG_TIMESTAMPS_FIELD_NUMBER = 4; private com.google.cloud.datacatalog.v1.SystemTimestamps dataCatalogTimestamps_; /** + * + * *
    * Output only. Timestamps of the entry group. Default value is empty.
    * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dataCatalogTimestamps field is set. */ @java.lang.Override @@ -216,30 +252,45 @@ public boolean hasDataCatalogTimestamps() { return dataCatalogTimestamps_ != null; } /** + * + * *
    * Output only. Timestamps of the entry group. Default value is empty.
    * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dataCatalogTimestamps. */ @java.lang.Override public com.google.cloud.datacatalog.v1.SystemTimestamps getDataCatalogTimestamps() { - return dataCatalogTimestamps_ == null ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() : dataCatalogTimestamps_; + return dataCatalogTimestamps_ == null + ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() + : dataCatalogTimestamps_; } /** + * + * *
    * Output only. Timestamps of the entry group. Default value is empty.
    * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getDataCatalogTimestampsOrBuilder() { - return dataCatalogTimestamps_ == null ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() : dataCatalogTimestamps_; + public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder + getDataCatalogTimestampsOrBuilder() { + return dataCatalogTimestamps_ == null + ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() + : dataCatalogTimestamps_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -251,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -284,8 +334,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } if (dataCatalogTimestamps_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getDataCatalogTimestamps()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(4, getDataCatalogTimestamps()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -295,23 +345,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.datacatalog.v1.EntryGroup)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.EntryGroup other = (com.google.cloud.datacatalog.v1.EntryGroup) obj; + com.google.cloud.datacatalog.v1.EntryGroup other = + (com.google.cloud.datacatalog.v1.EntryGroup) 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 (hasDataCatalogTimestamps() != other.hasDataCatalogTimestamps()) return false; if (hasDataCatalogTimestamps()) { - if (!getDataCatalogTimestamps() - .equals(other.getDataCatalogTimestamps())) return false; + if (!getDataCatalogTimestamps().equals(other.getDataCatalogTimestamps())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -339,99 +386,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.EntryGroup parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.EntryGroup parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.EntryGroup parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.EntryGroup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.EntryGroup parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.EntryGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.EntryGroup parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.EntryGroup parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.EntryGroup parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.EntryGroup parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.EntryGroup parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.EntryGroup parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.EntryGroup parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.EntryGroup parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.EntryGroup prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Entry group metadata.
    *
@@ -441,33 +493,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.EntryGroup}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.EntryGroup)
       com.google.cloud.datacatalog.v1.EntryGroupOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_EntryGroup_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_EntryGroup_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_EntryGroup_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_EntryGroup_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.EntryGroup.class, com.google.cloud.datacatalog.v1.EntryGroup.Builder.class);
+              com.google.cloud.datacatalog.v1.EntryGroup.class,
+              com.google.cloud.datacatalog.v1.EntryGroup.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.EntryGroup.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -484,9 +535,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_EntryGroup_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_EntryGroup_descriptor;
     }
 
     @java.lang.Override
@@ -505,8 +556,11 @@ public com.google.cloud.datacatalog.v1.EntryGroup build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.EntryGroup buildPartial() {
-      com.google.cloud.datacatalog.v1.EntryGroup result = new com.google.cloud.datacatalog.v1.EntryGroup(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.EntryGroup result =
+          new com.google.cloud.datacatalog.v1.EntryGroup(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -523,9 +577,10 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.EntryGroup result) {
         result.description_ = description_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.dataCatalogTimestamps_ = dataCatalogTimestampsBuilder_ == null
-            ? dataCatalogTimestamps_
-            : dataCatalogTimestampsBuilder_.build();
+        result.dataCatalogTimestamps_ =
+            dataCatalogTimestampsBuilder_ == null
+                ? dataCatalogTimestamps_
+                : dataCatalogTimestampsBuilder_.build();
       }
     }
 
@@ -533,38 +588,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.EntryGroup result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.EntryGroup) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.EntryGroup)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.EntryGroup) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -617,34 +673,38 @@ 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 34: {
-              input.readMessage(
-                  getDataCatalogTimestampsFieldBuilder().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:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(
+                    getDataCatalogTimestampsFieldBuilder().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) {
@@ -654,10 +714,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The resource name of the entry group in URL format.
      *
@@ -666,13 +729,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; @@ -681,6 +744,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the entry group in URL format.
      *
@@ -689,15 +754,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 { @@ -705,6 +769,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the entry group in URL format.
      *
@@ -713,18 +779,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The resource name of the entry group in URL format.
      *
@@ -733,6 +803,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -742,6 +813,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The resource name of the entry group in URL format.
      *
@@ -750,12 +823,14 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -765,19 +840,21 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * A short name to identify the entry group, for example,
      * "analytics data - jan 2011". Default value is an empty string.
      * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -786,21 +863,22 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * A short name to identify the entry group, for example,
      * "analytics data - jan 2011". Default value is an empty string.
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -808,30 +886,37 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * A short name to identify the entry group, for example,
      * "analytics data - jan 2011". Default value is an empty string.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A short name to identify the entry group, for example,
      * "analytics data - jan 2011". Default value is an empty string.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -841,18 +926,22 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * A short name to identify the entry group, for example,
      * "analytics data - jan 2011". Default value is an empty string.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -862,6 +951,8 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Entry group description. Can consist of several sentences or
      * paragraphs that describe the entry group contents.
@@ -869,13 +960,13 @@ public Builder setDisplayNameBytes(
      * 
* * string description = 3; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -884,6 +975,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Entry group description. Can consist of several sentences or
      * paragraphs that describe the entry group contents.
@@ -891,15 +984,14 @@ public java.lang.String getDescription() {
      * 
* * string description = 3; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -907,6 +999,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Entry group description. Can consist of several sentences or
      * paragraphs that describe the entry group contents.
@@ -914,18 +1008,22 @@ public java.lang.String getDescription() {
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Entry group description. Can consist of several sentences or
      * paragraphs that describe the entry group contents.
@@ -933,6 +1031,7 @@ public Builder setDescription(
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -942,6 +1041,8 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Entry group description. Can consist of several sentences or
      * paragraphs that describe the entry group contents.
@@ -949,12 +1050,14 @@ public Builder clearDescription() {
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -964,41 +1067,61 @@ public Builder setDescriptionBytes( private com.google.cloud.datacatalog.v1.SystemTimestamps dataCatalogTimestamps_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SystemTimestamps, com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder> dataCatalogTimestampsBuilder_; + com.google.cloud.datacatalog.v1.SystemTimestamps, + com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, + com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder> + dataCatalogTimestampsBuilder_; /** + * + * *
      * Output only. Timestamps of the entry group. Default value is empty.
      * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dataCatalogTimestamps field is set. */ public boolean hasDataCatalogTimestamps() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. Timestamps of the entry group. Default value is empty.
      * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dataCatalogTimestamps. */ public com.google.cloud.datacatalog.v1.SystemTimestamps getDataCatalogTimestamps() { if (dataCatalogTimestampsBuilder_ == null) { - return dataCatalogTimestamps_ == null ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() : dataCatalogTimestamps_; + return dataCatalogTimestamps_ == null + ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() + : dataCatalogTimestamps_; } else { return dataCatalogTimestampsBuilder_.getMessage(); } } /** + * + * *
      * Output only. Timestamps of the entry group. Default value is empty.
      * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setDataCatalogTimestamps(com.google.cloud.datacatalog.v1.SystemTimestamps value) { + public Builder setDataCatalogTimestamps( + com.google.cloud.datacatalog.v1.SystemTimestamps value) { if (dataCatalogTimestampsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1012,11 +1135,15 @@ public Builder setDataCatalogTimestamps(com.google.cloud.datacatalog.v1.SystemTi return this; } /** + * + * *
      * Output only. Timestamps of the entry group. Default value is empty.
      * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDataCatalogTimestamps( com.google.cloud.datacatalog.v1.SystemTimestamps.Builder builderForValue) { @@ -1030,17 +1157,23 @@ public Builder setDataCatalogTimestamps( return this; } /** + * + * *
      * Output only. Timestamps of the entry group. Default value is empty.
      * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeDataCatalogTimestamps(com.google.cloud.datacatalog.v1.SystemTimestamps value) { + public Builder mergeDataCatalogTimestamps( + com.google.cloud.datacatalog.v1.SystemTimestamps value) { if (dataCatalogTimestampsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - dataCatalogTimestamps_ != null && - dataCatalogTimestamps_ != com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && dataCatalogTimestamps_ != null + && dataCatalogTimestamps_ + != com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance()) { getDataCatalogTimestampsBuilder().mergeFrom(value); } else { dataCatalogTimestamps_ = value; @@ -1053,11 +1186,15 @@ public Builder mergeDataCatalogTimestamps(com.google.cloud.datacatalog.v1.System return this; } /** + * + * *
      * Output only. Timestamps of the entry group. Default value is empty.
      * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDataCatalogTimestamps() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1070,55 +1207,73 @@ public Builder clearDataCatalogTimestamps() { return this; } /** + * + * *
      * Output only. Timestamps of the entry group. Default value is empty.
      * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.datacatalog.v1.SystemTimestamps.Builder getDataCatalogTimestampsBuilder() { + public com.google.cloud.datacatalog.v1.SystemTimestamps.Builder + getDataCatalogTimestampsBuilder() { bitField0_ |= 0x00000008; onChanged(); return getDataCatalogTimestampsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Timestamps of the entry group. Default value is empty.
      * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getDataCatalogTimestampsOrBuilder() { + public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder + getDataCatalogTimestampsOrBuilder() { if (dataCatalogTimestampsBuilder_ != null) { return dataCatalogTimestampsBuilder_.getMessageOrBuilder(); } else { - return dataCatalogTimestamps_ == null ? - com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() : dataCatalogTimestamps_; + return dataCatalogTimestamps_ == null + ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() + : dataCatalogTimestamps_; } } /** + * + * *
      * Output only. Timestamps of the entry group. Default value is empty.
      * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SystemTimestamps, com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder> + com.google.cloud.datacatalog.v1.SystemTimestamps, + com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, + com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder> getDataCatalogTimestampsFieldBuilder() { if (dataCatalogTimestampsBuilder_ == null) { - dataCatalogTimestampsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SystemTimestamps, com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder>( - getDataCatalogTimestamps(), - getParentForChildren(), - isClean()); + dataCatalogTimestampsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.SystemTimestamps, + com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, + com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder>( + getDataCatalogTimestamps(), getParentForChildren(), isClean()); dataCatalogTimestamps_ = null; } return dataCatalogTimestampsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1128,12 +1283,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.EntryGroup) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.EntryGroup) private static final com.google.cloud.datacatalog.v1.EntryGroup DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.EntryGroup(); } @@ -1142,27 +1297,27 @@ public static com.google.cloud.datacatalog.v1.EntryGroup getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EntryGroup parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EntryGroup parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1177,6 +1332,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.EntryGroup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupName.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupName.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupName.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupName.java diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupOrBuilder.java similarity index 65% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupOrBuilder.java index 8316977fdd30..0e33f1773ec7 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupOrBuilder.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface EntryGroupOrBuilder extends +public interface EntryGroupOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.EntryGroup) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The resource name of the entry group in URL format.
    *
@@ -16,10 +34,13 @@ public interface EntryGroupOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The resource name of the entry group in URL format.
    *
@@ -28,34 +49,41 @@ public interface EntryGroupOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * A short name to identify the entry group, for example,
    * "analytics data - jan 2011". Default value is an empty string.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * A short name to identify the entry group, for example,
    * "analytics data - jan 2011". Default value is an empty string.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Entry group description. Can consist of several sentences or
    * paragraphs that describe the entry group contents.
@@ -63,10 +91,13 @@ public interface EntryGroupOrBuilder extends
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Entry group description. Can consist of several sentences or
    * paragraphs that describe the entry group contents.
@@ -74,35 +105,49 @@ public interface EntryGroupOrBuilder extends
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Output only. Timestamps of the entry group. Default value is empty.
    * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dataCatalogTimestamps field is set. */ boolean hasDataCatalogTimestamps(); /** + * + * *
    * Output only. Timestamps of the entry group. Default value is empty.
    * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dataCatalogTimestamps. */ com.google.cloud.datacatalog.v1.SystemTimestamps getDataCatalogTimestamps(); /** + * + * *
    * Output only. Timestamps of the entry group. Default value is empty.
    * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getDataCatalogTimestampsOrBuilder(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryName.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryName.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryName.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryName.java diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOrBuilder.java similarity index 84% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOrBuilder.java index 36cd49e8bed6..21e779efc643 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOrBuilder.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface EntryOrBuilder extends +public interface EntryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.Entry) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The resource name of an entry in URL format.
    *
@@ -15,11 +33,16 @@ public interface EntryOrBuilder extends
    * stored in the location specified in its name.
    * 
* - * 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 an entry in URL format.
    *
@@ -27,13 +50,17 @@ public interface EntryOrBuilder extends
    * stored in the location specified in its name.
    * 
* - * 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(); /** + * + * *
    * The resource this metadata entry refers to.
    *
@@ -56,10 +83,13 @@ public interface EntryOrBuilder extends
    * 
* * string linked_resource = 9; + * * @return The linkedResource. */ java.lang.String getLinkedResource(); /** + * + * *
    * The resource this metadata entry refers to.
    *
@@ -82,12 +112,14 @@ public interface EntryOrBuilder extends
    * 
* * string linked_resource = 9; + * * @return The bytes for linkedResource. */ - com.google.protobuf.ByteString - getLinkedResourceBytes(); + com.google.protobuf.ByteString getLinkedResourceBytes(); /** + * + * *
    * [Fully Qualified Name
    * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -97,10 +129,13 @@ public interface EntryOrBuilder extends
    * 
* * string fully_qualified_name = 29; + * * @return The fullyQualifiedName. */ java.lang.String getFullyQualifiedName(); /** + * + * *
    * [Fully Qualified Name
    * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -110,12 +145,14 @@ public interface EntryOrBuilder extends
    * 
* * string fully_qualified_name = 29; + * * @return The bytes for fullyQualifiedName. */ - com.google.protobuf.ByteString - getFullyQualifiedNameBytes(); + com.google.protobuf.ByteString getFullyQualifiedNameBytes(); /** + * + * *
    * The type of the entry.
    *
@@ -123,10 +160,13 @@ public interface EntryOrBuilder extends
    * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; + * * @return Whether the type field is set. */ boolean hasType(); /** + * + * *
    * The type of the entry.
    *
@@ -134,10 +174,13 @@ public interface EntryOrBuilder extends
    * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The type of the entry.
    *
@@ -145,11 +188,14 @@ public interface EntryOrBuilder extends
    * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; + * * @return The type. */ com.google.cloud.datacatalog.v1.EntryType getType(); /** + * + * *
    * Custom entry type that doesn't match any of the values allowed for input
    * and listed in the `EntryType` enum.
@@ -167,10 +213,13 @@ public interface EntryOrBuilder extends
    * 
* * string user_specified_type = 16; + * * @return Whether the userSpecifiedType field is set. */ boolean hasUserSpecifiedType(); /** + * + * *
    * Custom entry type that doesn't match any of the values allowed for input
    * and listed in the `EntryType` enum.
@@ -188,10 +237,13 @@ public interface EntryOrBuilder extends
    * 
* * string user_specified_type = 16; + * * @return The userSpecifiedType. */ java.lang.String getUserSpecifiedType(); /** + * + * *
    * Custom entry type that doesn't match any of the values allowed for input
    * and listed in the `EntryType` enum.
@@ -209,43 +261,60 @@ public interface EntryOrBuilder extends
    * 
* * string user_specified_type = 16; + * * @return The bytes for userSpecifiedType. */ - com.google.protobuf.ByteString - getUserSpecifiedTypeBytes(); + com.google.protobuf.ByteString getUserSpecifiedTypeBytes(); /** + * + * *
    * Output only. Indicates the entry's source system that Data Catalog
    * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
    * 
* - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the integratedSystem field is set. */ boolean hasIntegratedSystem(); /** + * + * *
    * Output only. Indicates the entry's source system that Data Catalog
    * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
    * 
* - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for integratedSystem. */ int getIntegratedSystemValue(); /** + * + * *
    * Output only. Indicates the entry's source system that Data Catalog
    * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
    * 
* - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The integratedSystem. */ com.google.cloud.datacatalog.v1.IntegratedSystem getIntegratedSystem(); /** + * + * *
    * Indicates the entry's source system that Data Catalog doesn't
    * automatically integrate with.
@@ -259,10 +328,13 @@ public interface EntryOrBuilder extends
    * 
* * string user_specified_system = 18; + * * @return Whether the userSpecifiedSystem field is set. */ boolean hasUserSpecifiedSystem(); /** + * + * *
    * Indicates the entry's source system that Data Catalog doesn't
    * automatically integrate with.
@@ -276,10 +348,13 @@ public interface EntryOrBuilder extends
    * 
* * string user_specified_system = 18; + * * @return The userSpecifiedSystem. */ java.lang.String getUserSpecifiedSystem(); /** + * + * *
    * Indicates the entry's source system that Data Catalog doesn't
    * automatically integrate with.
@@ -293,32 +368,40 @@ public interface EntryOrBuilder extends
    * 
* * string user_specified_system = 18; + * * @return The bytes for userSpecifiedSystem. */ - com.google.protobuf.ByteString - getUserSpecifiedSystemBytes(); + com.google.protobuf.ByteString getUserSpecifiedSystemBytes(); /** + * + * *
    * Specification that applies to a relational database system. Only settable
    * when `user_specified_system` is equal to `SQL_DATABASE`
    * 
* * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; + * * @return Whether the sqlDatabaseSystemSpec field is set. */ boolean hasSqlDatabaseSystemSpec(); /** + * + * *
    * Specification that applies to a relational database system. Only settable
    * when `user_specified_system` is equal to `SQL_DATABASE`
    * 
* * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39; + * * @return The sqlDatabaseSystemSpec. */ com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec getSqlDatabaseSystemSpec(); /** + * + * *
    * Specification that applies to a relational database system. Only settable
    * when `user_specified_system` is equal to `SQL_DATABASE`
@@ -326,29 +409,38 @@ public interface EntryOrBuilder extends
    *
    * .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39;
    */
-  com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpecOrBuilder getSqlDatabaseSystemSpecOrBuilder();
+  com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpecOrBuilder
+      getSqlDatabaseSystemSpecOrBuilder();
 
   /**
+   *
+   *
    * 
    * Specification that applies to Looker sysstem. Only settable when
    * `user_specified_system` is equal to `LOOKER`
    * 
* * .google.cloud.datacatalog.v1.LookerSystemSpec looker_system_spec = 40; + * * @return Whether the lookerSystemSpec field is set. */ boolean hasLookerSystemSpec(); /** + * + * *
    * Specification that applies to Looker sysstem. Only settable when
    * `user_specified_system` is equal to `LOOKER`
    * 
* * .google.cloud.datacatalog.v1.LookerSystemSpec looker_system_spec = 40; + * * @return The lookerSystemSpec. */ com.google.cloud.datacatalog.v1.LookerSystemSpec getLookerSystemSpec(); /** + * + * *
    * Specification that applies to Looker sysstem. Only settable when
    * `user_specified_system` is equal to `LOOKER`
@@ -359,56 +451,76 @@ public interface EntryOrBuilder extends
   com.google.cloud.datacatalog.v1.LookerSystemSpecOrBuilder getLookerSystemSpecOrBuilder();
 
   /**
+   *
+   *
    * 
    * Specification that applies to Cloud Bigtable system. Only settable when
    * `integrated_system` is equal to `CLOUD_BIGTABLE`
    * 
* - * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; + * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; + * + * * @return Whether the cloudBigtableSystemSpec field is set. */ boolean hasCloudBigtableSystemSpec(); /** + * + * *
    * Specification that applies to Cloud Bigtable system. Only settable when
    * `integrated_system` is equal to `CLOUD_BIGTABLE`
    * 
* - * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; + * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; + * + * * @return The cloudBigtableSystemSpec. */ com.google.cloud.datacatalog.v1.CloudBigtableSystemSpec getCloudBigtableSystemSpec(); /** + * + * *
    * Specification that applies to Cloud Bigtable system. Only settable when
    * `integrated_system` is equal to `CLOUD_BIGTABLE`
    * 
* - * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; + * .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; + * */ - com.google.cloud.datacatalog.v1.CloudBigtableSystemSpecOrBuilder getCloudBigtableSystemSpecOrBuilder(); + com.google.cloud.datacatalog.v1.CloudBigtableSystemSpecOrBuilder + getCloudBigtableSystemSpecOrBuilder(); /** + * + * *
    * Specification that applies to a Cloud Storage fileset. Valid only
    * for entries with the `FILESET` type.
    * 
* * .google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6; + * * @return Whether the gcsFilesetSpec field is set. */ boolean hasGcsFilesetSpec(); /** + * + * *
    * Specification that applies to a Cloud Storage fileset. Valid only
    * for entries with the `FILESET` type.
    * 
* * .google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6; + * * @return The gcsFilesetSpec. */ com.google.cloud.datacatalog.v1.GcsFilesetSpec getGcsFilesetSpec(); /** + * + * *
    * Specification that applies to a Cloud Storage fileset. Valid only
    * for entries with the `FILESET` type.
@@ -419,36 +531,52 @@ public interface EntryOrBuilder extends
   com.google.cloud.datacatalog.v1.GcsFilesetSpecOrBuilder getGcsFilesetSpecOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. Specification that applies to a BigQuery table. Valid only
    * for entries with the `TABLE` type.
    * 
* - * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the bigqueryTableSpec field is set. */ boolean hasBigqueryTableSpec(); /** + * + * *
    * Output only. Specification that applies to a BigQuery table. Valid only
    * for entries with the `TABLE` type.
    * 
* - * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bigqueryTableSpec. */ com.google.cloud.datacatalog.v1.BigQueryTableSpec getBigqueryTableSpec(); /** + * + * *
    * Output only. Specification that applies to a BigQuery table. Valid only
    * for entries with the `TABLE` type.
    * 
* - * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.datacatalog.v1.BigQueryTableSpecOrBuilder getBigqueryTableSpecOrBuilder(); /** + * + * *
    * Output only. Specification for a group of BigQuery tables with
    * the `[prefix]YYYYMMDD` name pattern.
@@ -457,11 +585,16 @@ public interface EntryOrBuilder extends
    * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
    * 
* - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the bigqueryDateShardedSpec field is set. */ boolean hasBigqueryDateShardedSpec(); /** + * + * *
    * Output only. Specification for a group of BigQuery tables with
    * the `[prefix]YYYYMMDD` name pattern.
@@ -470,11 +603,16 @@ public interface EntryOrBuilder extends
    * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
    * 
* - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bigqueryDateShardedSpec. */ com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec getBigqueryDateShardedSpec(); /** + * + * *
    * Output only. Specification for a group of BigQuery tables with
    * the `[prefix]YYYYMMDD` name pattern.
@@ -483,31 +621,42 @@ public interface EntryOrBuilder extends
    * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
    * 
* - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.datacatalog.v1.BigQueryDateShardedSpecOrBuilder getBigqueryDateShardedSpecOrBuilder(); + com.google.cloud.datacatalog.v1.BigQueryDateShardedSpecOrBuilder + getBigqueryDateShardedSpecOrBuilder(); /** + * + * *
    * Specification that applies to a table resource. Valid only
    * for entries with the `TABLE` or `EXPLORE` type.
    * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; + * * @return Whether the databaseTableSpec field is set. */ boolean hasDatabaseTableSpec(); /** + * + * *
    * Specification that applies to a table resource. Valid only
    * for entries with the `TABLE` or `EXPLORE` type.
    * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; + * * @return The databaseTableSpec. */ com.google.cloud.datacatalog.v1.DatabaseTableSpec getDatabaseTableSpec(); /** + * + * *
    * Specification that applies to a table resource. Valid only
    * for entries with the `TABLE` or `EXPLORE` type.
@@ -518,56 +667,76 @@ public interface EntryOrBuilder extends
   com.google.cloud.datacatalog.v1.DatabaseTableSpecOrBuilder getDatabaseTableSpecOrBuilder();
 
   /**
+   *
+   *
    * 
    * Specification that applies to a data source connection. Valid only
    * for entries with the `DATA_SOURCE_CONNECTION` type.
    * 
* - * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * + * * @return Whether the dataSourceConnectionSpec field is set. */ boolean hasDataSourceConnectionSpec(); /** + * + * *
    * Specification that applies to a data source connection. Valid only
    * for entries with the `DATA_SOURCE_CONNECTION` type.
    * 
* - * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * + * * @return The dataSourceConnectionSpec. */ com.google.cloud.datacatalog.v1.DataSourceConnectionSpec getDataSourceConnectionSpec(); /** + * + * *
    * Specification that applies to a data source connection. Valid only
    * for entries with the `DATA_SOURCE_CONNECTION` type.
    * 
* - * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * */ - com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder getDataSourceConnectionSpecOrBuilder(); + com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder + getDataSourceConnectionSpecOrBuilder(); /** + * + * *
    * Specification that applies to a user-defined function or procedure. Valid
    * only for entries with the `ROUTINE` type.
    * 
* * .google.cloud.datacatalog.v1.RoutineSpec routine_spec = 28; + * * @return Whether the routineSpec field is set. */ boolean hasRoutineSpec(); /** + * + * *
    * Specification that applies to a user-defined function or procedure. Valid
    * only for entries with the `ROUTINE` type.
    * 
* * .google.cloud.datacatalog.v1.RoutineSpec routine_spec = 28; + * * @return The routineSpec. */ com.google.cloud.datacatalog.v1.RoutineSpec getRoutineSpec(); /** + * + * *
    * Specification that applies to a user-defined function or procedure. Valid
    * only for entries with the `ROUTINE` type.
@@ -578,26 +747,34 @@ public interface EntryOrBuilder extends
   com.google.cloud.datacatalog.v1.RoutineSpecOrBuilder getRoutineSpecOrBuilder();
 
   /**
+   *
+   *
    * 
    * Specification that applies to a fileset resource. Valid only
    * for entries with the `FILESET` type.
    * 
* * .google.cloud.datacatalog.v1.FilesetSpec fileset_spec = 33; + * * @return Whether the filesetSpec field is set. */ boolean hasFilesetSpec(); /** + * + * *
    * Specification that applies to a fileset resource. Valid only
    * for entries with the `FILESET` type.
    * 
* * .google.cloud.datacatalog.v1.FilesetSpec fileset_spec = 33; + * * @return The filesetSpec. */ com.google.cloud.datacatalog.v1.FilesetSpec getFilesetSpec(); /** + * + * *
    * Specification that applies to a fileset resource. Valid only
    * for entries with the `FILESET` type.
@@ -608,24 +785,32 @@ public interface EntryOrBuilder extends
   com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder getFilesetSpecOrBuilder();
 
   /**
+   *
+   *
    * 
    * Specification that applies to a Service resource.
    * 
* * .google.cloud.datacatalog.v1.ServiceSpec service_spec = 42; + * * @return Whether the serviceSpec field is set. */ boolean hasServiceSpec(); /** + * + * *
    * Specification that applies to a Service resource.
    * 
* * .google.cloud.datacatalog.v1.ServiceSpec service_spec = 42; + * * @return The serviceSpec. */ com.google.cloud.datacatalog.v1.ServiceSpec getServiceSpec(); /** + * + * *
    * Specification that applies to a Service resource.
    * 
@@ -635,6 +820,8 @@ public interface EntryOrBuilder extends com.google.cloud.datacatalog.v1.ServiceSpecOrBuilder getServiceSpecOrBuilder(); /** + * + * *
    * Display name of an entry.
    *
@@ -643,10 +830,13 @@ public interface EntryOrBuilder extends
    * 
* * string display_name = 3; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Display name of an entry.
    *
@@ -655,12 +845,14 @@ public interface EntryOrBuilder extends
    * 
* * string display_name = 3; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Entry description that can consist of several sentences or paragraphs
    * that describe entry contents.
@@ -673,10 +865,13 @@ public interface EntryOrBuilder extends
    * 
* * string description = 4; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Entry description that can consist of several sentences or paragraphs
    * that describe entry contents.
@@ -689,30 +884,38 @@ public interface EntryOrBuilder extends
    * 
* * string description = 4; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Business Context of the entry. Not supported for BigQuery datasets
    * 
* * .google.cloud.datacatalog.v1.BusinessContext business_context = 37; + * * @return Whether the businessContext field is set. */ boolean hasBusinessContext(); /** + * + * *
    * Business Context of the entry. Not supported for BigQuery datasets
    * 
* * .google.cloud.datacatalog.v1.BusinessContext business_context = 37; + * * @return The businessContext. */ com.google.cloud.datacatalog.v1.BusinessContext getBusinessContext(); /** + * + * *
    * Business Context of the entry. Not supported for BigQuery datasets
    * 
@@ -722,24 +925,32 @@ public interface EntryOrBuilder extends com.google.cloud.datacatalog.v1.BusinessContextOrBuilder getBusinessContextOrBuilder(); /** + * + * *
    * Schema of the entry. An entry might not have any schema attached to it.
    * 
* * .google.cloud.datacatalog.v1.Schema schema = 5; + * * @return Whether the schema field is set. */ boolean hasSchema(); /** + * + * *
    * Schema of the entry. An entry might not have any schema attached to it.
    * 
* * .google.cloud.datacatalog.v1.Schema schema = 5; + * * @return The schema. */ com.google.cloud.datacatalog.v1.Schema getSchema(); /** + * + * *
    * Schema of the entry. An entry might not have any schema attached to it.
    * 
@@ -749,6 +960,8 @@ public interface EntryOrBuilder extends com.google.cloud.datacatalog.v1.SchemaOrBuilder getSchemaOrBuilder(); /** + * + * *
    * Timestamps from the underlying resource, not from the Data Catalog
    * entry.
@@ -759,10 +972,13 @@ public interface EntryOrBuilder extends
    * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; + * * @return Whether the sourceSystemTimestamps field is set. */ boolean hasSourceSystemTimestamps(); /** + * + * *
    * Timestamps from the underlying resource, not from the Data Catalog
    * entry.
@@ -773,10 +989,13 @@ public interface EntryOrBuilder extends
    * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; + * * @return The sourceSystemTimestamps. */ com.google.cloud.datacatalog.v1.SystemTimestamps getSourceSystemTimestamps(); /** + * + * *
    * Timestamps from the underlying resource, not from the Data Catalog
    * entry.
@@ -791,24 +1010,32 @@ public interface EntryOrBuilder extends
   com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getSourceSystemTimestampsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Resource usage statistics.
    * 
* * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13; + * * @return Whether the usageSignal field is set. */ boolean hasUsageSignal(); /** + * + * *
    * Resource usage statistics.
    * 
* * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13; + * * @return The usageSignal. */ com.google.cloud.datacatalog.v1.UsageSignal getUsageSignal(); /** + * + * *
    * Resource usage statistics.
    * 
@@ -818,6 +1045,8 @@ public interface EntryOrBuilder extends com.google.cloud.datacatalog.v1.UsageSignalOrBuilder getUsageSignalOrBuilder(); /** + * + * *
    * Cloud labels attached to the entry.
    *
@@ -830,6 +1059,8 @@ public interface EntryOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Cloud labels attached to the entry.
    *
@@ -840,15 +1071,13 @@ public interface EntryOrBuilder extends
    *
    * map<string, string> labels = 14;
    */
-  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();
   /**
+   *
+   *
    * 
    * Cloud labels attached to the entry.
    *
@@ -859,9 +1088,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 14;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Cloud labels attached to the entry.
    *
@@ -873,11 +1103,13 @@ boolean containsLabels(
    * map<string, string> labels = 14;
    */
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Cloud labels attached to the entry.
    *
@@ -888,63 +1120,90 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 14;
    */
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Output only. Physical location of the entry.
    * 
* - * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dataSource field is set. */ boolean hasDataSource(); /** + * + * *
    * Output only. Physical location of the entry.
    * 
* - * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dataSource. */ com.google.cloud.datacatalog.v1.DataSource getDataSource(); /** + * + * *
    * Output only. Physical location of the entry.
    * 
* - * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.datacatalog.v1.DataSourceOrBuilder getDataSourceOrBuilder(); /** + * + * *
    * Output only. Additional information related to the entry. Private to the
    * current user.
    * 
* - * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the personalDetails field is set. */ boolean hasPersonalDetails(); /** + * + * *
    * Output only. Additional information related to the entry. Private to the
    * current user.
    * 
* - * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The personalDetails. */ com.google.cloud.datacatalog.v1.PersonalDetails getPersonalDetails(); /** + * + * *
    * Output only. Additional information related to the entry. Private to the
    * current user.
    * 
* - * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.datacatalog.v1.PersonalDetailsOrBuilder getPersonalDetailsOrBuilder(); diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverview.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverview.java similarity index 68% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverview.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverview.java index 10d5cb351144..4c6fa9a8998d 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverview.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverview.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Entry overview fields for rich text descriptions of entries.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.EntryOverview} */ -public final class EntryOverview extends - com.google.protobuf.GeneratedMessageV3 implements +public final class EntryOverview extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.EntryOverview) EntryOverviewOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use EntryOverview.newBuilder() to construct. private EntryOverview(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private EntryOverview() { overview_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new EntryOverview(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_EntryOverview_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_EntryOverview_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_EntryOverview_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_EntryOverview_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.EntryOverview.class, com.google.cloud.datacatalog.v1.EntryOverview.Builder.class); + com.google.cloud.datacatalog.v1.EntryOverview.class, + com.google.cloud.datacatalog.v1.EntryOverview.Builder.class); } public static final int OVERVIEW_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object overview_ = ""; /** + * + * *
    * Entry overview with support for rich text.
    *
@@ -58,6 +80,7 @@ protected java.lang.Object newInstance(
    * 
* * string overview = 1; + * * @return The overview. */ @java.lang.Override @@ -66,14 +89,15 @@ public java.lang.String getOverview() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); overview_ = s; return s; } } /** + * + * *
    * Entry overview with support for rich text.
    *
@@ -85,16 +109,15 @@ public java.lang.String getOverview() {
    * 
* * string overview = 1; + * * @return The bytes for overview. */ @java.lang.Override - public com.google.protobuf.ByteString - getOverviewBytes() { + public com.google.protobuf.ByteString getOverviewBytes() { java.lang.Object ref = overview_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); overview_ = b; return b; } else { @@ -103,6 +126,7 @@ public java.lang.String getOverview() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -114,8 +138,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(overview_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, overview_); } @@ -139,15 +162,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.EntryOverview)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.EntryOverview other = (com.google.cloud.datacatalog.v1.EntryOverview) obj; + com.google.cloud.datacatalog.v1.EntryOverview other = + (com.google.cloud.datacatalog.v1.EntryOverview) obj; - if (!getOverview() - .equals(other.getOverview())) return false; + if (!getOverview().equals(other.getOverview())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -166,132 +189,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.EntryOverview parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.EntryOverview parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.EntryOverview parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.EntryOverview parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.EntryOverview parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.EntryOverview parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.EntryOverview parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.EntryOverview parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.EntryOverview parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.EntryOverview parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.EntryOverview parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.EntryOverview parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.EntryOverview parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.EntryOverview parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.EntryOverview prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Entry overview fields for rich text descriptions of entries.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.EntryOverview} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.EntryOverview) com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_EntryOverview_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_EntryOverview_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_EntryOverview_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_EntryOverview_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.EntryOverview.class, com.google.cloud.datacatalog.v1.EntryOverview.Builder.class); + com.google.cloud.datacatalog.v1.EntryOverview.class, + com.google.cloud.datacatalog.v1.EntryOverview.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.EntryOverview.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -301,9 +328,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_EntryOverview_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_EntryOverview_descriptor; } @java.lang.Override @@ -322,8 +349,11 @@ public com.google.cloud.datacatalog.v1.EntryOverview build() { @java.lang.Override public com.google.cloud.datacatalog.v1.EntryOverview buildPartial() { - com.google.cloud.datacatalog.v1.EntryOverview result = new com.google.cloud.datacatalog.v1.EntryOverview(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1.EntryOverview result = + new com.google.cloud.datacatalog.v1.EntryOverview(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -339,38 +369,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.EntryOverview result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.EntryOverview) { - return mergeFrom((com.google.cloud.datacatalog.v1.EntryOverview)other); + return mergeFrom((com.google.cloud.datacatalog.v1.EntryOverview) other); } else { super.mergeFrom(other); return this; @@ -410,17 +441,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - overview_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + overview_ = 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) { @@ -430,10 +463,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object overview_ = ""; /** + * + * *
      * Entry overview with support for rich text.
      *
@@ -445,13 +481,13 @@ public Builder mergeFrom(
      * 
* * string overview = 1; + * * @return The overview. */ public java.lang.String getOverview() { java.lang.Object ref = overview_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); overview_ = s; return s; @@ -460,6 +496,8 @@ public java.lang.String getOverview() { } } /** + * + * *
      * Entry overview with support for rich text.
      *
@@ -471,15 +509,14 @@ public java.lang.String getOverview() {
      * 
* * string overview = 1; + * * @return The bytes for overview. */ - public com.google.protobuf.ByteString - getOverviewBytes() { + public com.google.protobuf.ByteString getOverviewBytes() { java.lang.Object ref = overview_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); overview_ = b; return b; } else { @@ -487,6 +524,8 @@ public java.lang.String getOverview() { } } /** + * + * *
      * Entry overview with support for rich text.
      *
@@ -498,18 +537,22 @@ public java.lang.String getOverview() {
      * 
* * string overview = 1; + * * @param value The overview to set. * @return This builder for chaining. */ - public Builder setOverview( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOverview(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } overview_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Entry overview with support for rich text.
      *
@@ -521,6 +564,7 @@ public Builder setOverview(
      * 
* * string overview = 1; + * * @return This builder for chaining. */ public Builder clearOverview() { @@ -530,6 +574,8 @@ public Builder clearOverview() { return this; } /** + * + * *
      * Entry overview with support for rich text.
      *
@@ -541,21 +587,23 @@ public Builder clearOverview() {
      * 
* * string overview = 1; + * * @param value The bytes for overview to set. * @return This builder for chaining. */ - public Builder setOverviewBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOverviewBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); overview_ = 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); } @@ -565,12 +613,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.EntryOverview) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.EntryOverview) private static final com.google.cloud.datacatalog.v1.EntryOverview DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.EntryOverview(); } @@ -579,27 +627,27 @@ public static com.google.cloud.datacatalog.v1.EntryOverview getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EntryOverview parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EntryOverview parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +662,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.EntryOverview getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverviewOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverviewOrBuilder.java similarity index 61% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverviewOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverviewOrBuilder.java index e66201e8d9ec..6f87e0c4e303 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverviewOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverviewOrBuilder.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface EntryOverviewOrBuilder extends +public interface EntryOverviewOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.EntryOverview) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Entry overview with support for rich text.
    *
@@ -19,10 +37,13 @@ public interface EntryOverviewOrBuilder extends
    * 
* * string overview = 1; + * * @return The overview. */ java.lang.String getOverview(); /** + * + * *
    * Entry overview with support for rich text.
    *
@@ -34,8 +55,8 @@ public interface EntryOverviewOrBuilder extends
    * 
* * string overview = 1; + * * @return The bytes for overview. */ - com.google.protobuf.ByteString - getOverviewBytes(); + com.google.protobuf.ByteString getOverviewBytes(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryType.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryType.java similarity index 78% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryType.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryType.java index 8869e1fc3d37..c682eefbecce 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryType.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryType.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Metadata automatically ingested from Google Cloud resources like BigQuery
  * tables or Pub/Sub topics always uses enum values from `EntryType` as the type
@@ -21,9 +38,10 @@
  *
  * Protobuf enum {@code google.cloud.datacatalog.v1.EntryType}
  */
-public enum EntryType
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum EntryType implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Default unknown type.
    * 
@@ -32,6 +50,8 @@ public enum EntryType */ ENTRY_TYPE_UNSPECIFIED(0), /** + * + * *
    * The entry type that has a GoogleSQL schema, including
    * logical views.
@@ -41,6 +61,8 @@ public enum EntryType
    */
   TABLE(2),
   /**
+   *
+   *
    * 
    * The type of models.
    *
@@ -52,6 +74,8 @@ public enum EntryType
    */
   MODEL(5),
   /**
+   *
+   *
    * 
    * An entry type for streaming entries. For example, a Pub/Sub topic.
    * 
@@ -60,6 +84,8 @@ public enum EntryType */ DATA_STREAM(3), /** + * + * *
    * An entry type for a set of files or objects. For example, a
    * Cloud Storage fileset.
@@ -69,6 +95,8 @@ public enum EntryType
    */
   FILESET(4),
   /**
+   *
+   *
    * 
    * A group of servers that work together. For example, a Kafka cluster.
    * 
@@ -77,6 +105,8 @@ public enum EntryType */ CLUSTER(6), /** + * + * *
    * A database.
    * 
@@ -85,6 +115,8 @@ public enum EntryType */ DATABASE(7), /** + * + * *
    * Connection to a data source. For example, a BigQuery
    * connection.
@@ -94,6 +126,8 @@ public enum EntryType
    */
   DATA_SOURCE_CONNECTION(8),
   /**
+   *
+   *
    * 
    * Routine, for example, a BigQuery routine.
    * 
@@ -102,6 +136,8 @@ public enum EntryType */ ROUTINE(9), /** + * + * *
    * A Dataplex lake.
    * 
@@ -110,6 +146,8 @@ public enum EntryType */ LAKE(10), /** + * + * *
    * A Dataplex zone.
    * 
@@ -118,6 +156,8 @@ public enum EntryType */ ZONE(11), /** + * + * *
    * A service, for example, a Dataproc Metastore service.
    * 
@@ -126,6 +166,8 @@ public enum EntryType */ SERVICE(14), /** + * + * *
    * Schema within a relational database.
    * 
@@ -134,6 +176,8 @@ public enum EntryType */ DATABASE_SCHEMA(15), /** + * + * *
    * A Dashboard, for example from Looker.
    * 
@@ -142,6 +186,8 @@ public enum EntryType */ DASHBOARD(16), /** + * + * *
    * A Looker Explore.
    *
@@ -153,6 +199,8 @@ public enum EntryType
    */
   EXPLORE(17),
   /**
+   *
+   *
    * 
    * A Looker Look.
    *
@@ -167,6 +215,8 @@ public enum EntryType
   ;
 
   /**
+   *
+   *
    * 
    * Default unknown type.
    * 
@@ -175,6 +225,8 @@ public enum EntryType */ public static final int ENTRY_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The entry type that has a GoogleSQL schema, including
    * logical views.
@@ -184,6 +236,8 @@ public enum EntryType
    */
   public static final int TABLE_VALUE = 2;
   /**
+   *
+   *
    * 
    * The type of models.
    *
@@ -195,6 +249,8 @@ public enum EntryType
    */
   public static final int MODEL_VALUE = 5;
   /**
+   *
+   *
    * 
    * An entry type for streaming entries. For example, a Pub/Sub topic.
    * 
@@ -203,6 +259,8 @@ public enum EntryType */ public static final int DATA_STREAM_VALUE = 3; /** + * + * *
    * An entry type for a set of files or objects. For example, a
    * Cloud Storage fileset.
@@ -212,6 +270,8 @@ public enum EntryType
    */
   public static final int FILESET_VALUE = 4;
   /**
+   *
+   *
    * 
    * A group of servers that work together. For example, a Kafka cluster.
    * 
@@ -220,6 +280,8 @@ public enum EntryType */ public static final int CLUSTER_VALUE = 6; /** + * + * *
    * A database.
    * 
@@ -228,6 +290,8 @@ public enum EntryType */ public static final int DATABASE_VALUE = 7; /** + * + * *
    * Connection to a data source. For example, a BigQuery
    * connection.
@@ -237,6 +301,8 @@ public enum EntryType
    */
   public static final int DATA_SOURCE_CONNECTION_VALUE = 8;
   /**
+   *
+   *
    * 
    * Routine, for example, a BigQuery routine.
    * 
@@ -245,6 +311,8 @@ public enum EntryType */ public static final int ROUTINE_VALUE = 9; /** + * + * *
    * A Dataplex lake.
    * 
@@ -253,6 +321,8 @@ public enum EntryType */ public static final int LAKE_VALUE = 10; /** + * + * *
    * A Dataplex zone.
    * 
@@ -261,6 +331,8 @@ public enum EntryType */ public static final int ZONE_VALUE = 11; /** + * + * *
    * A service, for example, a Dataproc Metastore service.
    * 
@@ -269,6 +341,8 @@ public enum EntryType */ public static final int SERVICE_VALUE = 14; /** + * + * *
    * Schema within a relational database.
    * 
@@ -277,6 +351,8 @@ public enum EntryType */ public static final int DATABASE_SCHEMA_VALUE = 15; /** + * + * *
    * A Dashboard, for example from Looker.
    * 
@@ -285,6 +361,8 @@ public enum EntryType */ public static final int DASHBOARD_VALUE = 16; /** + * + * *
    * A Looker Explore.
    *
@@ -296,6 +374,8 @@ public enum EntryType
    */
   public static final int EXPLORE_VALUE = 17;
   /**
+   *
+   *
    * 
    * A Looker Look.
    *
@@ -307,7 +387,6 @@ public enum EntryType
    */
   public static final int LOOK_VALUE = 18;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -332,62 +411,75 @@ public static EntryType valueOf(int value) {
    */
   public static EntryType forNumber(int value) {
     switch (value) {
-      case 0: return ENTRY_TYPE_UNSPECIFIED;
-      case 2: return TABLE;
-      case 5: return MODEL;
-      case 3: return DATA_STREAM;
-      case 4: return FILESET;
-      case 6: return CLUSTER;
-      case 7: return DATABASE;
-      case 8: return DATA_SOURCE_CONNECTION;
-      case 9: return ROUTINE;
-      case 10: return LAKE;
-      case 11: return ZONE;
-      case 14: return SERVICE;
-      case 15: return DATABASE_SCHEMA;
-      case 16: return DASHBOARD;
-      case 17: return EXPLORE;
-      case 18: return LOOK;
-      default: return null;
+      case 0:
+        return ENTRY_TYPE_UNSPECIFIED;
+      case 2:
+        return TABLE;
+      case 5:
+        return MODEL;
+      case 3:
+        return DATA_STREAM;
+      case 4:
+        return FILESET;
+      case 6:
+        return CLUSTER;
+      case 7:
+        return DATABASE;
+      case 8:
+        return DATA_SOURCE_CONNECTION;
+      case 9:
+        return ROUTINE;
+      case 10:
+        return LAKE;
+      case 11:
+        return ZONE;
+      case 14:
+        return SERVICE;
+      case 15:
+        return DATABASE_SCHEMA;
+      case 16:
+        return DASHBOARD;
+      case 17:
+        return EXPLORE;
+      case 18:
+        return LOOK;
+      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<
-      EntryType> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public EntryType findValueByNumber(int number) {
-            return EntryType.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 EntryType findValueByNumber(int number) {
+          return EntryType.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.datacatalog.v1.Datacatalog.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final EntryType[] VALUES = values();
 
-  public static EntryType valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static EntryType 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;
@@ -403,4 +495,3 @@ private EntryType(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1.EntryType)
 }
-
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequest.java
similarity index 64%
rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequest.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequest.java
index 7f38a3d9369f..c89097d18b46 100644
--- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequest.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequest.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/datacatalog/v1/policytagmanagerserialization.proto
 
 package com.google.cloud.datacatalog.v1;
 
 /**
+ *
+ *
  * 
  * Request message for
  * [ExportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ExportTaxonomies].
@@ -11,50 +28,55 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ExportTaxonomiesRequest}
  */
-public final class ExportTaxonomiesRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ExportTaxonomiesRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ExportTaxonomiesRequest)
     ExportTaxonomiesRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ExportTaxonomiesRequest.newBuilder() to construct.
   private ExportTaxonomiesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ExportTaxonomiesRequest() {
     parent_ = "";
-    taxonomies_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    taxonomies_ = 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 ExportTaxonomiesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+        .internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+        .internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest.class, com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest.class,
+            com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest.Builder.class);
   }
 
   private int destinationCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object destination_;
+
   public enum DestinationCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     SERIALIZED_TAXONOMIES(3),
     DESTINATION_NOT_SET(0);
     private final int value;
+
     private DestinationCase(int value) {
       this.value = value;
     }
@@ -70,32 +92,40 @@ public static DestinationCase valueOf(int value) {
 
     public static DestinationCase forNumber(int value) {
       switch (value) {
-        case 3: return SERIALIZED_TAXONOMIES;
-        case 0: return DESTINATION_NOT_SET;
-        default: return null;
+        case 3:
+          return SERIALIZED_TAXONOMIES;
+        case 0:
+          return DESTINATION_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public DestinationCase
-  getDestinationCase() {
-    return DestinationCase.forNumber(
-        destinationCase_);
+  public DestinationCase getDestinationCase() {
+    return DestinationCase.forNumber(destinationCase_);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. Resource name of the project that the exported taxonomies belong
    * to.
    * 
* - * string parent = 1 [(.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 @@ -104,30 +134,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. Resource name of the project that the exported taxonomies belong
    * to.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -136,38 +168,53 @@ public java.lang.String getParent() { } public static final int TAXONOMIES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList taxonomies_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Required. Resource names of the taxonomies to export.
    * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the taxonomies. */ - public com.google.protobuf.ProtocolStringList - getTaxonomiesList() { + public com.google.protobuf.ProtocolStringList getTaxonomiesList() { return taxonomies_; } /** + * + * *
    * Required. Resource names of the taxonomies to export.
    * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The count of taxonomies. */ public int getTaxonomiesCount() { return taxonomies_.size(); } /** + * + * *
    * Required. Resource names of the taxonomies to export.
    * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The taxonomies at the given index. */ @@ -175,27 +222,34 @@ public java.lang.String getTaxonomies(int index) { return taxonomies_.get(index); } /** + * + * *
    * Required. Resource names of the taxonomies to export.
    * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the taxonomies at the given index. */ - public com.google.protobuf.ByteString - getTaxonomiesBytes(int index) { + public com.google.protobuf.ByteString getTaxonomiesBytes(int index) { return taxonomies_.getByteString(index); } public static final int SERIALIZED_TAXONOMIES_FIELD_NUMBER = 3; /** + * + * *
    * Serialized export taxonomies that contain all the policy
    * tags as nested protocol buffers.
    * 
* * bool serialized_taxonomies = 3; + * * @return Whether the serializedTaxonomies field is set. */ @java.lang.Override @@ -203,12 +257,15 @@ public boolean hasSerializedTaxonomies() { return destinationCase_ == 3; } /** + * + * *
    * Serialized export taxonomies that contain all the policy
    * tags as nested protocol buffers.
    * 
* * bool serialized_taxonomies = 3; + * * @return The serializedTaxonomies. */ @java.lang.Override @@ -220,6 +277,7 @@ public boolean getSerializedTaxonomies() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -231,8 +289,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -240,8 +297,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 2, taxonomies_.getRaw(i)); } if (destinationCase_ == 3) { - output.writeBool( - 3, (boolean)((java.lang.Boolean) destination_)); + output.writeBool(3, (boolean) ((java.lang.Boolean) destination_)); } getUnknownFields().writeTo(output); } @@ -264,9 +320,9 @@ public int getSerializedSize() { size += 1 * getTaxonomiesList().size(); } if (destinationCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize( - 3, (boolean)((java.lang.Boolean) destination_)); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 3, (boolean) ((java.lang.Boolean) destination_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -276,22 +332,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.datacatalog.v1.ExportTaxonomiesRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest other = (com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest) obj; + com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest other = + (com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getTaxonomiesList() - .equals(other.getTaxonomiesList())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getTaxonomiesList().equals(other.getTaxonomiesList())) return false; if (!getDestinationCase().equals(other.getDestinationCase())) return false; switch (destinationCase_) { case 3: - if (getSerializedTaxonomies() - != other.getSerializedTaxonomies()) return false; + if (getSerializedTaxonomies() != other.getSerializedTaxonomies()) return false; break; case 0: default: @@ -316,8 +370,7 @@ public int hashCode() { switch (destinationCase_) { case 3: hash = (37 * hash) + SERIALIZED_TAXONOMIES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSerializedTaxonomies()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSerializedTaxonomies()); break; case 0: default: @@ -328,98 +381,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [ExportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ExportTaxonomies].
@@ -427,49 +486,47 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ExportTaxonomiesRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ExportTaxonomiesRequest)
       com.google.cloud.datacatalog.v1.ExportTaxonomiesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest.class, com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest.class,
+              com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
       parent_ = "";
-      taxonomies_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      taxonomies_ = com.google.protobuf.LazyStringArrayList.emptyList();
       destinationCase_ = 0;
       destination_ = null;
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -488,8 +545,11 @@ public com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest result = new com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest result =
+          new com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -506,7 +566,8 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ExportTaxonomiesReque
       }
     }
 
-    private void buildPartialOneofs(com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest result) {
+    private void buildPartialOneofs(
+        com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest result) {
       result.destinationCase_ = destinationCase_;
       result.destination_ = this.destination_;
     }
@@ -515,38 +576,39 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.ExportTaxonomies
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -554,7 +616,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -571,13 +634,15 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest
         onChanged();
       }
       switch (other.getDestinationCase()) {
-        case SERIALIZED_TAXONOMIES: {
-          setSerializedTaxonomies(other.getSerializedTaxonomies());
-          break;
-        }
-        case DESTINATION_NOT_SET: {
-          break;
-        }
+        case SERIALIZED_TAXONOMIES:
+          {
+            setSerializedTaxonomies(other.getSerializedTaxonomies());
+            break;
+          }
+        case DESTINATION_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -605,28 +670,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureTaxonomiesIsMutable();
-              taxonomies_.add(s);
-              break;
-            } // case 18
-            case 24: {
-              destination_ = input.readBool();
-              destinationCase_ = 3;
-              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:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureTaxonomiesIsMutable();
+                taxonomies_.add(s);
+                break;
+              } // case 18
+            case 24:
+              {
+                destination_ = input.readBool();
+                destinationCase_ = 3;
+                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) {
@@ -636,12 +705,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int destinationCase_ = 0;
     private java.lang.Object destination_;
-    public DestinationCase
-        getDestinationCase() {
-      return DestinationCase.forNumber(
-          destinationCase_);
+
+    public DestinationCase getDestinationCase() {
+      return DestinationCase.forNumber(destinationCase_);
     }
 
     public Builder clearDestination() {
@@ -655,19 +724,23 @@ public Builder clearDestination() {
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. Resource name of the project that the exported taxonomies belong
      * to.
      * 
* - * string parent = 1 [(.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; @@ -676,21 +749,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the project that the exported taxonomies belong
      * to.
      * 
* - * string parent = 1 [(.google.api.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,30 +774,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the project that the exported taxonomies belong
      * to.
      * 
* - * 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. Resource name of the project that the exported taxonomies belong
      * to.
      * 
* - * string 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() { @@ -731,18 +818,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Resource name of the project that the exported taxonomies belong
      * to.
      * 
* - * 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; @@ -752,6 +845,7 @@ public Builder setParentBytes( private com.google.protobuf.LazyStringArrayList taxonomies_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureTaxonomiesIsMutable() { if (!taxonomies_.isModifiable()) { taxonomies_ = new com.google.protobuf.LazyStringArrayList(taxonomies_); @@ -759,35 +853,49 @@ private void ensureTaxonomiesIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * Required. Resource names of the taxonomies to export.
      * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the taxonomies. */ - public com.google.protobuf.ProtocolStringList - getTaxonomiesList() { + public com.google.protobuf.ProtocolStringList getTaxonomiesList() { taxonomies_.makeImmutable(); return taxonomies_; } /** + * + * *
      * Required. Resource names of the taxonomies to export.
      * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The count of taxonomies. */ public int getTaxonomiesCount() { return taxonomies_.size(); } /** + * + * *
      * Required. Resource names of the taxonomies to export.
      * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The taxonomies at the given index. */ @@ -795,31 +903,41 @@ public java.lang.String getTaxonomies(int index) { return taxonomies_.get(index); } /** + * + * *
      * Required. Resource names of the taxonomies to export.
      * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the taxonomies at the given index. */ - public com.google.protobuf.ByteString - getTaxonomiesBytes(int index) { + public com.google.protobuf.ByteString getTaxonomiesBytes(int index) { return taxonomies_.getByteString(index); } /** + * + * *
      * Required. Resource names of the taxonomies to export.
      * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index to set the value at. * @param value The taxonomies to set. * @return This builder for chaining. */ - public Builder setTaxonomies( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTaxonomies(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureTaxonomiesIsMutable(); taxonomies_.set(index, value); bitField0_ |= 0x00000002; @@ -827,17 +945,23 @@ public Builder setTaxonomies( return this; } /** + * + * *
      * Required. Resource names of the taxonomies to export.
      * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The taxonomies to add. * @return This builder for chaining. */ - public Builder addTaxonomies( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addTaxonomies(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureTaxonomiesIsMutable(); taxonomies_.add(value); bitField0_ |= 0x00000002; @@ -845,50 +969,64 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * Required. Resource names of the taxonomies to export.
      * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param values The taxonomies to add. * @return This builder for chaining. */ - public Builder addAllTaxonomies( - java.lang.Iterable values) { + public Builder addAllTaxonomies(java.lang.Iterable values) { ensureTaxonomiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, taxonomies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taxonomies_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. Resource names of the taxonomies to export.
      * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearTaxonomies() { - taxonomies_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + taxonomies_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * Required. Resource names of the taxonomies to export.
      * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes of the taxonomies to add. * @return This builder for chaining. */ - public Builder addTaxonomiesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addTaxonomiesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureTaxonomiesIsMutable(); taxonomies_.add(value); @@ -898,24 +1036,30 @@ public Builder addTaxonomiesBytes( } /** + * + * *
      * Serialized export taxonomies that contain all the policy
      * tags as nested protocol buffers.
      * 
* * bool serialized_taxonomies = 3; + * * @return Whether the serializedTaxonomies field is set. */ public boolean hasSerializedTaxonomies() { return destinationCase_ == 3; } /** + * + * *
      * Serialized export taxonomies that contain all the policy
      * tags as nested protocol buffers.
      * 
* * bool serialized_taxonomies = 3; + * * @return The serializedTaxonomies. */ public boolean getSerializedTaxonomies() { @@ -925,12 +1069,15 @@ public boolean getSerializedTaxonomies() { return false; } /** + * + * *
      * Serialized export taxonomies that contain all the policy
      * tags as nested protocol buffers.
      * 
* * bool serialized_taxonomies = 3; + * * @param value The serializedTaxonomies to set. * @return This builder for chaining. */ @@ -942,12 +1089,15 @@ public Builder setSerializedTaxonomies(boolean value) { return this; } /** + * + * *
      * Serialized export taxonomies that contain all the policy
      * tags as nested protocol buffers.
      * 
* * bool serialized_taxonomies = 3; + * * @return This builder for chaining. */ public Builder clearSerializedTaxonomies() { @@ -958,9 +1108,9 @@ public Builder clearSerializedTaxonomies() { } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -970,12 +1120,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ExportTaxonomiesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ExportTaxonomiesRequest) private static final com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest(); } @@ -984,27 +1134,27 @@ public static com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportTaxonomiesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportTaxonomiesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1019,6 +1169,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequestOrBuilder.java similarity index 53% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequestOrBuilder.java index 094e777b7133..da837eb07b48 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequestOrBuilder.java @@ -1,92 +1,141 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1; -public interface ExportTaxonomiesRequestOrBuilder extends +public interface ExportTaxonomiesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ExportTaxonomiesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the project that the exported taxonomies belong
    * to.
    * 
* - * string parent = 1 [(.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. Resource name of the project that the exported taxonomies belong
    * to.
    * 
* - * string parent = 1 [(.google.api.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. Resource names of the taxonomies to export.
    * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the taxonomies. */ - java.util.List - getTaxonomiesList(); + java.util.List getTaxonomiesList(); /** + * + * *
    * Required. Resource names of the taxonomies to export.
    * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The count of taxonomies. */ int getTaxonomiesCount(); /** + * + * *
    * Required. Resource names of the taxonomies to export.
    * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The taxonomies at the given index. */ java.lang.String getTaxonomies(int index); /** + * + * *
    * Required. Resource names of the taxonomies to export.
    * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the taxonomies at the given index. */ - com.google.protobuf.ByteString - getTaxonomiesBytes(int index); + com.google.protobuf.ByteString getTaxonomiesBytes(int index); /** + * + * *
    * Serialized export taxonomies that contain all the policy
    * tags as nested protocol buffers.
    * 
* * bool serialized_taxonomies = 3; + * * @return Whether the serializedTaxonomies field is set. */ boolean hasSerializedTaxonomies(); /** + * + * *
    * Serialized export taxonomies that contain all the policy
    * tags as nested protocol buffers.
    * 
* * bool serialized_taxonomies = 3; + * * @return The serializedTaxonomies. */ boolean getSerializedTaxonomies(); diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponse.java similarity index 72% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponse.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponse.java index b30b2e5927cf..0bf54faf3771 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponse.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/datacatalog/v1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Response message for
  * [ExportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ExportTaxonomies].
@@ -11,43 +28,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ExportTaxonomiesResponse}
  */
-public final class ExportTaxonomiesResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ExportTaxonomiesResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ExportTaxonomiesResponse)
     ExportTaxonomiesResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ExportTaxonomiesResponse.newBuilder() to construct.
   private ExportTaxonomiesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ExportTaxonomiesResponse() {
     taxonomies_ = 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 ExportTaxonomiesResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+        .internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+        .internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse.class, com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse.Builder.class);
+            com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse.class,
+            com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse.Builder.class);
   }
 
   public static final int TAXONOMIES_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List taxonomies_;
   /**
+   *
+   *
    * 
    * List of taxonomies and policy tags as nested protocol buffers.
    * 
@@ -59,6 +81,8 @@ public java.util.List getTax return taxonomies_; } /** + * + * *
    * List of taxonomies and policy tags as nested protocol buffers.
    * 
@@ -66,11 +90,13 @@ public java.util.List getTax * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTaxonomiesOrBuilderList() { return taxonomies_; } /** + * + * *
    * List of taxonomies and policy tags as nested protocol buffers.
    * 
@@ -82,6 +108,8 @@ public int getTaxonomiesCount() { return taxonomies_.size(); } /** + * + * *
    * List of taxonomies and policy tags as nested protocol buffers.
    * 
@@ -93,6 +121,8 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomy getTaxonomies(int inde return taxonomies_.get(index); } /** + * + * *
    * List of taxonomies and policy tags as nested protocol buffers.
    * 
@@ -106,6 +136,7 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomies } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,8 +148,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < taxonomies_.size(); i++) { output.writeMessage(1, taxonomies_.get(i)); } @@ -132,8 +162,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < taxonomies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, taxonomies_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, taxonomies_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -143,15 +172,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse other = (com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse) obj; + com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse other = + (com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse) obj; - if (!getTaxonomiesList() - .equals(other.getTaxonomiesList())) return false; + if (!getTaxonomiesList().equals(other.getTaxonomiesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -173,98 +202,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for
    * [ExportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ExportTaxonomies].
@@ -272,33 +307,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ExportTaxonomiesResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ExportTaxonomiesResponse)
       com.google.cloud.datacatalog.v1.ExportTaxonomiesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse.class, com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse.Builder.class);
+              com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse.class,
+              com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -314,9 +348,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_descriptor;
     }
 
     @java.lang.Override
@@ -335,14 +369,18 @@ public com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse buildPartial() {
-      com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse result = new com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse(this);
+      com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse result =
+          new com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse result) {
       if (taxonomiesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           taxonomies_ = java.util.Collections.unmodifiableList(taxonomies_);
@@ -362,38 +400,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ExportTaxonomiesRespo
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -401,7 +440,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse other) {
-      if (other == com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse.getDefaultInstance())
+        return this;
       if (taxonomiesBuilder_ == null) {
         if (!other.taxonomies_.isEmpty()) {
           if (taxonomies_.isEmpty()) {
@@ -420,9 +460,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.ExportTaxonomiesRespons
             taxonomiesBuilder_ = null;
             taxonomies_ = other.taxonomies_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            taxonomiesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getTaxonomiesFieldBuilder() : null;
+            taxonomiesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getTaxonomiesFieldBuilder()
+                    : null;
           } else {
             taxonomiesBuilder_.addAllMessages(other.taxonomies_);
           }
@@ -454,25 +495,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.datacatalog.v1.SerializedTaxonomy m =
-                  input.readMessage(
-                      com.google.cloud.datacatalog.v1.SerializedTaxonomy.parser(),
-                      extensionRegistry);
-              if (taxonomiesBuilder_ == null) {
-                ensureTaxonomiesIsMutable();
-                taxonomies_.add(m);
-              } else {
-                taxonomiesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.cloud.datacatalog.v1.SerializedTaxonomy m =
+                    input.readMessage(
+                        com.google.cloud.datacatalog.v1.SerializedTaxonomy.parser(),
+                        extensionRegistry);
+                if (taxonomiesBuilder_ == null) {
+                  ensureTaxonomiesIsMutable();
+                  taxonomies_.add(m);
+                } else {
+                  taxonomiesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -482,21 +525,30 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List taxonomies_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureTaxonomiesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        taxonomies_ = new java.util.ArrayList(taxonomies_);
+        taxonomies_ =
+            new java.util.ArrayList(
+                taxonomies_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.SerializedTaxonomy, com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder> taxonomiesBuilder_;
+            com.google.cloud.datacatalog.v1.SerializedTaxonomy,
+            com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder,
+            com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder>
+        taxonomiesBuilder_;
 
     /**
+     *
+     *
      * 
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -511,6 +563,8 @@ public java.util.List getTax } } /** + * + * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -525,6 +579,8 @@ public int getTaxonomiesCount() { } } /** + * + * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -539,6 +595,8 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomy getTaxonomies(int inde } } /** + * + * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -560,6 +618,8 @@ public Builder setTaxonomies( return this; } /** + * + * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -578,6 +638,8 @@ public Builder setTaxonomies( return this; } /** + * + * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -598,6 +660,8 @@ public Builder addTaxonomies(com.google.cloud.datacatalog.v1.SerializedTaxonomy return this; } /** + * + * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -619,6 +683,8 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -637,6 +703,8 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -655,6 +723,8 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -665,8 +735,7 @@ public Builder addAllTaxonomies( java.lang.Iterable values) { if (taxonomiesBuilder_ == null) { ensureTaxonomiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, taxonomies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taxonomies_); onChanged(); } else { taxonomiesBuilder_.addAllMessages(values); @@ -674,6 +743,8 @@ public Builder addAllTaxonomies( return this; } /** + * + * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -691,6 +762,8 @@ public Builder clearTaxonomies() { return this; } /** + * + * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -708,6 +781,8 @@ public Builder removeTaxonomies(int index) { return this; } /** + * + * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -719,6 +794,8 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder getTaxonomiesB return getTaxonomiesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -728,19 +805,22 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder getTaxonomiesB public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomiesOrBuilder( int index) { if (taxonomiesBuilder_ == null) { - return taxonomies_.get(index); } else { + return taxonomies_.get(index); + } else { return taxonomiesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; */ - public java.util.List - getTaxonomiesOrBuilderList() { + public java.util.List + getTaxonomiesOrBuilderList() { if (taxonomiesBuilder_ != null) { return taxonomiesBuilder_.getMessageOrBuilderList(); } else { @@ -748,6 +828,8 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomies } } /** + * + * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -755,10 +837,12 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomies * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; */ public com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder addTaxonomiesBuilder() { - return getTaxonomiesFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance()); + return getTaxonomiesFieldBuilder() + .addBuilder(com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance()); } /** + * + * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -767,37 +851,43 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder addTaxonomiesB */ public com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder addTaxonomiesBuilder( int index) { - return getTaxonomiesFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance()); + return getTaxonomiesFieldBuilder() + .addBuilder( + index, com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance()); } /** + * + * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; */ - public java.util.List - getTaxonomiesBuilderList() { + public java.util.List + getTaxonomiesBuilderList() { return getTaxonomiesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.SerializedTaxonomy, com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder> + com.google.cloud.datacatalog.v1.SerializedTaxonomy, + com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, + com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder> getTaxonomiesFieldBuilder() { if (taxonomiesBuilder_ == null) { - taxonomiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.SerializedTaxonomy, com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder>( - taxonomies_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + taxonomiesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.SerializedTaxonomy, + com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, + com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder>( + taxonomies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); taxonomies_ = null; } return taxonomiesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -807,12 +897,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ExportTaxonomiesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ExportTaxonomiesResponse) private static final com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse(); } @@ -821,27 +911,27 @@ public static com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportTaxonomiesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportTaxonomiesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +946,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponseOrBuilder.java similarity index 67% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponseOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponseOrBuilder.java index 74c938677ccf..286aafe5ac6a 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponseOrBuilder.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/datacatalog/v1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1; -public interface ExportTaxonomiesResponseOrBuilder extends +public interface ExportTaxonomiesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ExportTaxonomiesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of taxonomies and policy tags as nested protocol buffers.
    * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; */ - java.util.List - getTaxonomiesList(); + java.util.List getTaxonomiesList(); /** + * + * *
    * List of taxonomies and policy tags as nested protocol buffers.
    * 
@@ -25,6 +44,8 @@ public interface ExportTaxonomiesResponseOrBuilder extends */ com.google.cloud.datacatalog.v1.SerializedTaxonomy getTaxonomies(int index); /** + * + * *
    * List of taxonomies and policy tags as nested protocol buffers.
    * 
@@ -33,21 +54,24 @@ public interface ExportTaxonomiesResponseOrBuilder extends */ int getTaxonomiesCount(); /** + * + * *
    * List of taxonomies and policy tags as nested protocol buffers.
    * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; */ - java.util.List + java.util.List getTaxonomiesOrBuilderList(); /** + * + * *
    * List of taxonomies and policy tags as nested protocol buffers.
    * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; */ - com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomiesOrBuilder( - int index); + com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomiesOrBuilder(int index); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldType.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldType.java similarity index 73% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldType.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldType.java index cd54e15cff36..2db984043454 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldType.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldType.java @@ -1,49 +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/datacatalog/v1/tags.proto package com.google.cloud.datacatalog.v1; -/** - * Protobuf type {@code google.cloud.datacatalog.v1.FieldType} - */ -public final class FieldType extends - com.google.protobuf.GeneratedMessageV3 implements +/** Protobuf type {@code google.cloud.datacatalog.v1.FieldType} */ +public final class FieldType extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.FieldType) FieldTypeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FieldType.newBuilder() to construct. private FieldType(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FieldType() { - } + + private FieldType() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FieldType(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_FieldType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Tags + .internal_static_google_cloud_datacatalog_v1_FieldType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_FieldType_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Tags + .internal_static_google_cloud_datacatalog_v1_FieldType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.FieldType.class, com.google.cloud.datacatalog.v1.FieldType.Builder.class); + com.google.cloud.datacatalog.v1.FieldType.class, + com.google.cloud.datacatalog.v1.FieldType.Builder.class); } - /** - * Protobuf enum {@code google.cloud.datacatalog.v1.FieldType.PrimitiveType} - */ - public enum PrimitiveType - implements com.google.protobuf.ProtocolMessageEnum { + /** Protobuf enum {@code google.cloud.datacatalog.v1.FieldType.PrimitiveType} */ + public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The default invalid value for a type.
      * 
@@ -52,6 +65,8 @@ public enum PrimitiveType */ PRIMITIVE_TYPE_UNSPECIFIED(0), /** + * + * *
      * A double precision number.
      * 
@@ -60,6 +75,8 @@ public enum PrimitiveType */ DOUBLE(1), /** + * + * *
      * An UTF-8 string.
      * 
@@ -68,6 +85,8 @@ public enum PrimitiveType */ STRING(2), /** + * + * *
      * A boolean value.
      * 
@@ -76,6 +95,8 @@ public enum PrimitiveType */ BOOL(3), /** + * + * *
      * A timestamp.
      * 
@@ -84,6 +105,8 @@ public enum PrimitiveType */ TIMESTAMP(4), /** + * + * *
      * A Richtext description.
      * 
@@ -95,6 +118,8 @@ public enum PrimitiveType ; /** + * + * *
      * The default invalid value for a type.
      * 
@@ -103,6 +128,8 @@ public enum PrimitiveType */ public static final int PRIMITIVE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * A double precision number.
      * 
@@ -111,6 +138,8 @@ public enum PrimitiveType */ public static final int DOUBLE_VALUE = 1; /** + * + * *
      * An UTF-8 string.
      * 
@@ -119,6 +148,8 @@ public enum PrimitiveType */ public static final int STRING_VALUE = 2; /** + * + * *
      * A boolean value.
      * 
@@ -127,6 +158,8 @@ public enum PrimitiveType */ public static final int BOOL_VALUE = 3; /** + * + * *
      * A timestamp.
      * 
@@ -135,6 +168,8 @@ public enum PrimitiveType */ public static final int TIMESTAMP_VALUE = 4; /** + * + * *
      * A Richtext description.
      * 
@@ -143,7 +178,6 @@ public enum PrimitiveType */ public static final int RICHTEXT_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -168,52 +202,55 @@ public static PrimitiveType valueOf(int value) { */ public static PrimitiveType forNumber(int value) { switch (value) { - case 0: return PRIMITIVE_TYPE_UNSPECIFIED; - case 1: return DOUBLE; - case 2: return STRING; - case 3: return BOOL; - case 4: return TIMESTAMP; - case 5: return RICHTEXT; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return PRIMITIVE_TYPE_UNSPECIFIED; + case 1: + return DOUBLE; + case 2: + return STRING; + case 3: + return BOOL; + case 4: + return TIMESTAMP; + case 5: + return RICHTEXT; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - PrimitiveType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PrimitiveType findValueByNumber(int number) { - return PrimitiveType.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 PrimitiveType findValueByNumber(int number) { + return PrimitiveType.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.datacatalog.v1.FieldType.getDescriptor().getEnumTypes().get(0); } private static final PrimitiveType[] VALUES = values(); - public static PrimitiveType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PrimitiveType 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,11 +267,14 @@ private PrimitiveType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1.FieldType.PrimitiveType) } - public interface EnumTypeOrBuilder extends + public interface EnumTypeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.FieldType.EnumType) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The set of allowed values for this enum.
      *
@@ -247,11 +287,14 @@ public interface EnumTypeOrBuilder extends
      * `RenameTagTemplateFieldEnumValue` method.
      * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ - java.util.List + java.util.List getAllowedValuesList(); /** + * + * *
      * The set of allowed values for this enum.
      *
@@ -264,10 +307,13 @@ public interface EnumTypeOrBuilder extends
      * `RenameTagTemplateFieldEnumValue` method.
      * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue getAllowedValues(int index); /** + * + * *
      * The set of allowed values for this enum.
      *
@@ -280,10 +326,13 @@ public interface EnumTypeOrBuilder extends
      * `RenameTagTemplateFieldEnumValue` method.
      * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ int getAllowedValuesCount(); /** + * + * *
      * The set of allowed values for this enum.
      *
@@ -296,11 +345,14 @@ public interface EnumTypeOrBuilder extends
      * `RenameTagTemplateFieldEnumValue` method.
      * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ - java.util.List + java.util.List getAllowedValuesOrBuilderList(); /** + * + * *
      * The set of allowed values for this enum.
      *
@@ -313,52 +365,56 @@ public interface EnumTypeOrBuilder extends
      * `RenameTagTemplateFieldEnumValue` method.
      * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder getAllowedValuesOrBuilder( int index); } - /** - * Protobuf type {@code google.cloud.datacatalog.v1.FieldType.EnumType} - */ - public static final class EnumType extends - com.google.protobuf.GeneratedMessageV3 implements + /** Protobuf type {@code google.cloud.datacatalog.v1.FieldType.EnumType} */ + public static final class EnumType extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.FieldType.EnumType) EnumTypeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use EnumType.newBuilder() to construct. private EnumType(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private EnumType() { allowedValues_ = 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 EnumType(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Tags + .internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Tags + .internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.FieldType.EnumType.class, com.google.cloud.datacatalog.v1.FieldType.EnumType.Builder.class); + com.google.cloud.datacatalog.v1.FieldType.EnumType.class, + com.google.cloud.datacatalog.v1.FieldType.EnumType.Builder.class); } - public interface EnumValueOrBuilder extends + public interface EnumValueOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Required. The display name of the enum value. Must not be an empty
        * string.
@@ -369,10 +425,13 @@ public interface EnumValueOrBuilder extends
        * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
        * Required. The display name of the enum value. Must not be an empty
        * string.
@@ -383,51 +442,54 @@ public interface EnumValueOrBuilder extends
        * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); } - /** - * Protobuf type {@code google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue} - */ - public static final class EnumValue extends - com.google.protobuf.GeneratedMessageV3 implements + /** Protobuf type {@code google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue} */ + public static final class EnumValue extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue) EnumValueOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use EnumValue.newBuilder() to construct. private EnumValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private EnumValue() { displayName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new EnumValue(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Tags + .internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Tags + .internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.class, com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder.class); + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.class, + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
        * Required. The display name of the enum value. Must not be an empty
        * string.
@@ -438,6 +500,7 @@ protected java.lang.Object newInstance(
        * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -446,14 +509,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; } } /** + * + * *
        * Required. The display name of the enum value. Must not be an empty
        * string.
@@ -464,16 +528,15 @@ public java.lang.String getDisplayName() {
        * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -482,6 +545,7 @@ public java.lang.String getDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -493,8 +557,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -518,15 +581,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue other = (com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue) obj; + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue other = + (com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue) obj; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -546,89 +609,94 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -637,36 +705,34 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue} */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue) com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Tags + .internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Tags + .internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.class, com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder.class); + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.class, + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -676,13 +742,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Tags + .internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_descriptor; } @java.lang.Override - public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue + getDefaultInstanceForType() { return com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.getDefaultInstance(); } @@ -697,13 +764,17 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue build() { @java.lang.Override public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue buildPartial() { - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue result = new com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue result = + new com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue result) { + private void buildPartial0( + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.displayName_ = displayName_; @@ -714,46 +785,52 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.FieldType.EnumType.En public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue) { - return mergeFrom((com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue)other); + return mergeFrom((com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue other) { - if (other == com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue other) { + if (other + == com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.getDefaultInstance()) + return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -785,17 +862,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -805,10 +884,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object displayName_ = ""; /** + * + * *
          * Required. The display name of the enum value. Must not be an empty
          * string.
@@ -819,13 +901,13 @@ public Builder mergeFrom(
          * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -834,6 +916,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
          * Required. The display name of the enum value. Must not be an empty
          * string.
@@ -844,15 +928,14 @@ public java.lang.String getDisplayName() {
          * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -860,6 +943,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
          * Required. The display name of the enum value. Must not be an empty
          * string.
@@ -870,18 +955,22 @@ public java.lang.String getDisplayName() {
          * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
          * Required. The display name of the enum value. Must not be an empty
          * string.
@@ -892,6 +981,7 @@ public Builder setDisplayName(
          * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -901,6 +991,8 @@ public Builder clearDisplayName() { return this; } /** + * + * *
          * Required. The display name of the enum value. Must not be an empty
          * string.
@@ -911,18 +1003,21 @@ public Builder clearDisplayName() {
          * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -935,41 +1030,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue) - private static final com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue DEFAULT_INSTANCE; + private static final com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue(); } - public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue getDefaultInstance() { + public static com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EnumValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EnumValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -981,16 +1079,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int ALLOWED_VALUES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") - private java.util.List allowedValues_; + private java.util.List + allowedValues_; /** + * + * *
      * The set of allowed values for this enum.
      *
@@ -1003,13 +1105,17 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue getDefaultIn
      * `RenameTagTemplateFieldEnumValue` method.
      * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ @java.lang.Override - public java.util.List getAllowedValuesList() { + public java.util.List + getAllowedValuesList() { return allowedValues_; } /** + * + * *
      * The set of allowed values for this enum.
      *
@@ -1022,14 +1128,18 @@ public java.util.List
      *
-     * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1;
+     * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1;
+     * 
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List<
+            ? extends com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder>
         getAllowedValuesOrBuilderList() {
       return allowedValues_;
     }
     /**
+     *
+     *
      * 
      * The set of allowed values for this enum.
      *
@@ -1042,13 +1152,16 @@ public java.util.List
      *
-     * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1;
+     * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1;
+     * 
      */
     @java.lang.Override
     public int getAllowedValuesCount() {
       return allowedValues_.size();
     }
     /**
+     *
+     *
      * 
      * The set of allowed values for this enum.
      *
@@ -1061,13 +1174,17 @@ public int getAllowedValuesCount() {
      * `RenameTagTemplateFieldEnumValue` method.
      * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue getAllowedValues(int index) { + public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue getAllowedValues( + int index) { return allowedValues_.get(index); } /** + * + * *
      * The set of allowed values for this enum.
      *
@@ -1080,15 +1197,17 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue getAllowedVa
      * `RenameTagTemplateFieldEnumValue` method.
      * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder getAllowedValuesOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder + getAllowedValuesOrBuilder(int index) { return allowedValues_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1100,8 +1219,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < allowedValues_.size(); i++) { output.writeMessage(1, allowedValues_.get(i)); } @@ -1115,8 +1233,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < allowedValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, allowedValues_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, allowedValues_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1126,15 +1243,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.FieldType.EnumType)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.FieldType.EnumType other = (com.google.cloud.datacatalog.v1.FieldType.EnumType) obj; + com.google.cloud.datacatalog.v1.FieldType.EnumType other = + (com.google.cloud.datacatalog.v1.FieldType.EnumType) obj; - if (!getAllowedValuesList() - .equals(other.getAllowedValuesList())) return false; + if (!getAllowedValuesList().equals(other.getAllowedValuesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1156,89 +1273,93 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.FieldType.EnumType parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.FieldType.EnumType parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.FieldType.EnumType parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.FieldType.EnumType parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.FieldType.EnumType parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.FieldType.EnumType parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.FieldType.EnumType parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.FieldType.EnumType parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.FieldType.EnumType parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.FieldType.EnumType parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.FieldType.EnumType parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.FieldType.EnumType parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.FieldType.EnumType parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.FieldType.EnumType parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.FieldType.EnumType prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1247,36 +1368,34 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code google.cloud.datacatalog.v1.FieldType.EnumType} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.datacatalog.v1.FieldType.EnumType} */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.FieldType.EnumType) com.google.cloud.datacatalog.v1.FieldType.EnumTypeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Tags + .internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Tags + .internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.FieldType.EnumType.class, com.google.cloud.datacatalog.v1.FieldType.EnumType.Builder.class); + com.google.cloud.datacatalog.v1.FieldType.EnumType.class, + com.google.cloud.datacatalog.v1.FieldType.EnumType.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.FieldType.EnumType.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1292,9 +1411,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Tags + .internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_descriptor; } @java.lang.Override @@ -1313,14 +1432,18 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType build() { @java.lang.Override public com.google.cloud.datacatalog.v1.FieldType.EnumType buildPartial() { - com.google.cloud.datacatalog.v1.FieldType.EnumType result = new com.google.cloud.datacatalog.v1.FieldType.EnumType(this); + com.google.cloud.datacatalog.v1.FieldType.EnumType result = + new com.google.cloud.datacatalog.v1.FieldType.EnumType(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1.FieldType.EnumType result) { + private void buildPartialRepeatedFields( + com.google.cloud.datacatalog.v1.FieldType.EnumType result) { if (allowedValuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { allowedValues_ = java.util.Collections.unmodifiableList(allowedValues_); @@ -1340,38 +1463,41 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.FieldType.EnumType 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.datacatalog.v1.FieldType.EnumType) { - return mergeFrom((com.google.cloud.datacatalog.v1.FieldType.EnumType)other); + return mergeFrom((com.google.cloud.datacatalog.v1.FieldType.EnumType) other); } else { super.mergeFrom(other); return this; @@ -1379,7 +1505,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.FieldType.EnumType other) { - if (other == com.google.cloud.datacatalog.v1.FieldType.EnumType.getDefaultInstance()) return this; + if (other == com.google.cloud.datacatalog.v1.FieldType.EnumType.getDefaultInstance()) + return this; if (allowedValuesBuilder_ == null) { if (!other.allowedValues_.isEmpty()) { if (allowedValues_.isEmpty()) { @@ -1398,9 +1525,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.FieldType.EnumType othe allowedValuesBuilder_ = null; allowedValues_ = other.allowedValues_; bitField0_ = (bitField0_ & ~0x00000001); - allowedValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAllowedValuesFieldBuilder() : null; + allowedValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAllowedValuesFieldBuilder() + : null; } else { allowedValuesBuilder_.addAllMessages(other.allowedValues_); } @@ -1432,25 +1560,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue m = - input.readMessage( - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.parser(), - extensionRegistry); - if (allowedValuesBuilder_ == null) { - ensureAllowedValuesIsMutable(); - allowedValues_.add(m); - } else { - allowedValuesBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue m = + input.readMessage( + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.parser(), + extensionRegistry); + if (allowedValuesBuilder_ == null) { + ensureAllowedValuesIsMutable(); + allowedValues_.add(m); + } else { + allowedValuesBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1460,21 +1590,30 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List allowedValues_ = - java.util.Collections.emptyList(); + private java.util.List + allowedValues_ = java.util.Collections.emptyList(); + private void ensureAllowedValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - allowedValues_ = new java.util.ArrayList(allowedValues_); + allowedValues_ = + new java.util.ArrayList( + allowedValues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue, com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder, com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder> allowedValuesBuilder_; + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue, + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder, + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder> + allowedValuesBuilder_; /** + * + * *
        * The set of allowed values for this enum.
        *
@@ -1487,9 +1626,12 @@ private void ensureAllowedValuesIsMutable() {
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ - public java.util.List getAllowedValuesList() { + public java.util.List + getAllowedValuesList() { if (allowedValuesBuilder_ == null) { return java.util.Collections.unmodifiableList(allowedValues_); } else { @@ -1497,6 +1639,8 @@ public java.util.List * The set of allowed values for this enum. * @@ -1509,7 +1653,9 @@ public java.util.List * - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ public int getAllowedValuesCount() { if (allowedValuesBuilder_ == null) { @@ -1519,6 +1665,8 @@ public int getAllowedValuesCount() { } } /** + * + * *
        * The set of allowed values for this enum.
        *
@@ -1531,9 +1679,12 @@ public int getAllowedValuesCount() {
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ - public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue getAllowedValues(int index) { + public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue getAllowedValues( + int index) { if (allowedValuesBuilder_ == null) { return allowedValues_.get(index); } else { @@ -1541,6 +1692,8 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue getAllowedVa } } /** + * + * *
        * The set of allowed values for this enum.
        *
@@ -1553,7 +1706,9 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue getAllowedVa
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ public Builder setAllowedValues( int index, com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue value) { @@ -1570,6 +1725,8 @@ public Builder setAllowedValues( return this; } /** + * + * *
        * The set of allowed values for this enum.
        *
@@ -1582,10 +1739,13 @@ public Builder setAllowedValues(
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ public Builder setAllowedValues( - int index, com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder builderForValue) { + int index, + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder builderForValue) { if (allowedValuesBuilder_ == null) { ensureAllowedValuesIsMutable(); allowedValues_.set(index, builderForValue.build()); @@ -1596,6 +1756,8 @@ public Builder setAllowedValues( return this; } /** + * + * *
        * The set of allowed values for this enum.
        *
@@ -1608,9 +1770,12 @@ public Builder setAllowedValues(
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ - public Builder addAllowedValues(com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue value) { + public Builder addAllowedValues( + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue value) { if (allowedValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1624,6 +1789,8 @@ public Builder addAllowedValues(com.google.cloud.datacatalog.v1.FieldType.EnumTy return this; } /** + * + * *
        * The set of allowed values for this enum.
        *
@@ -1636,7 +1803,9 @@ public Builder addAllowedValues(com.google.cloud.datacatalog.v1.FieldType.EnumTy
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ public Builder addAllowedValues( int index, com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue value) { @@ -1653,6 +1822,8 @@ public Builder addAllowedValues( return this; } /** + * + * *
        * The set of allowed values for this enum.
        *
@@ -1665,7 +1836,9 @@ public Builder addAllowedValues(
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ public Builder addAllowedValues( com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder builderForValue) { @@ -1679,6 +1852,8 @@ public Builder addAllowedValues( return this; } /** + * + * *
        * The set of allowed values for this enum.
        *
@@ -1691,10 +1866,13 @@ public Builder addAllowedValues(
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ public Builder addAllowedValues( - int index, com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder builderForValue) { + int index, + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder builderForValue) { if (allowedValuesBuilder_ == null) { ensureAllowedValuesIsMutable(); allowedValues_.add(index, builderForValue.build()); @@ -1705,6 +1883,8 @@ public Builder addAllowedValues( return this; } /** + * + * *
        * The set of allowed values for this enum.
        *
@@ -1717,14 +1897,16 @@ public Builder addAllowedValues(
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ public Builder addAllAllowedValues( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (allowedValuesBuilder_ == null) { ensureAllowedValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, allowedValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedValues_); onChanged(); } else { allowedValuesBuilder_.addAllMessages(values); @@ -1732,6 +1914,8 @@ public Builder addAllAllowedValues( return this; } /** + * + * *
        * The set of allowed values for this enum.
        *
@@ -1744,7 +1928,9 @@ public Builder addAllAllowedValues(
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ public Builder clearAllowedValues() { if (allowedValuesBuilder_ == null) { @@ -1757,6 +1943,8 @@ public Builder clearAllowedValues() { return this; } /** + * + * *
        * The set of allowed values for this enum.
        *
@@ -1769,7 +1957,9 @@ public Builder clearAllowedValues() {
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ public Builder removeAllowedValues(int index) { if (allowedValuesBuilder_ == null) { @@ -1782,6 +1972,8 @@ public Builder removeAllowedValues(int index) { return this; } /** + * + * *
        * The set of allowed values for this enum.
        *
@@ -1794,13 +1986,17 @@ public Builder removeAllowedValues(int index) {
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ - public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder getAllowedValuesBuilder( - int index) { + public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder + getAllowedValuesBuilder(int index) { return getAllowedValuesFieldBuilder().getBuilder(index); } /** + * + * *
        * The set of allowed values for this enum.
        *
@@ -1813,16 +2009,21 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder getA
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ - public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder getAllowedValuesOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder + getAllowedValuesOrBuilder(int index) { if (allowedValuesBuilder_ == null) { - return allowedValues_.get(index); } else { + return allowedValues_.get(index); + } else { return allowedValuesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * The set of allowed values for this enum.
        *
@@ -1835,10 +2036,13 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder get
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ - public java.util.List - getAllowedValuesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder> + getAllowedValuesOrBuilderList() { if (allowedValuesBuilder_ != null) { return allowedValuesBuilder_.getMessageOrBuilderList(); } else { @@ -1846,6 +2050,8 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder get } } /** + * + * *
        * The set of allowed values for this enum.
        *
@@ -1858,13 +2064,19 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder get
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ - public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder addAllowedValuesBuilder() { - return getAllowedValuesFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.getDefaultInstance()); + public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder + addAllowedValuesBuilder() { + return getAllowedValuesFieldBuilder() + .addBuilder( + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.getDefaultInstance()); } /** + * + * *
        * The set of allowed values for this enum.
        *
@@ -1877,14 +2089,20 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder addA
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ - public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder addAllowedValuesBuilder( - int index) { - return getAllowedValuesFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.getDefaultInstance()); + public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder + addAllowedValuesBuilder(int index) { + return getAllowedValuesFieldBuilder() + .addBuilder( + index, + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.getDefaultInstance()); } /** + * + * *
        * The set of allowed values for this enum.
        *
@@ -1897,18 +2115,26 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder addA
        * `RenameTagTemplateFieldEnumValue` method.
        * 
* - * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ - public java.util.List - getAllowedValuesBuilderList() { + public java.util.List + getAllowedValuesBuilderList() { return getAllowedValuesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue, com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder, com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder> + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue, + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder, + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder> getAllowedValuesFieldBuilder() { if (allowedValuesBuilder_ == null) { - allowedValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue, com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder, com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder>( + allowedValuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue, + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder, + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder>( allowedValues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1917,6 +2143,7 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.Builder addA } return allowedValuesBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1929,12 +2156,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.FieldType.EnumType) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.FieldType.EnumType) private static final com.google.cloud.datacatalog.v1.FieldType.EnumType DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.FieldType.EnumType(); } @@ -1943,27 +2170,28 @@ public static com.google.cloud.datacatalog.v1.FieldType.EnumType getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EnumType parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EnumType parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1978,19 +2206,22 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.FieldType.EnumType getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int typeDeclCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object typeDecl_; + public enum TypeDeclCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { PRIMITIVE_TYPE(1), ENUM_TYPE(2), TYPEDECL_NOT_SET(0); private final int value; + private TypeDeclCase(int value) { this.value = value; } @@ -2006,41 +2237,50 @@ public static TypeDeclCase valueOf(int value) { public static TypeDeclCase forNumber(int value) { switch (value) { - case 1: return PRIMITIVE_TYPE; - case 2: return ENUM_TYPE; - case 0: return TYPEDECL_NOT_SET; - default: return null; + case 1: + return PRIMITIVE_TYPE; + case 2: + return ENUM_TYPE; + case 0: + return TYPEDECL_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TypeDeclCase - getTypeDeclCase() { - return TypeDeclCase.forNumber( - typeDeclCase_); + public TypeDeclCase getTypeDeclCase() { + return TypeDeclCase.forNumber(typeDeclCase_); } public static final int PRIMITIVE_TYPE_FIELD_NUMBER = 1; /** + * + * *
    * Primitive types, such as string, boolean, etc.
    * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; + * * @return Whether the primitiveType field is set. */ public boolean hasPrimitiveType() { return typeDeclCase_ == 1; } /** + * + * *
    * Primitive types, such as string, boolean, etc.
    * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; + * * @return The enum numeric value on the wire for primitiveType. */ public int getPrimitiveTypeValue() { @@ -2050,29 +2290,38 @@ public int getPrimitiveTypeValue() { return 0; } /** + * + * *
    * Primitive types, such as string, boolean, etc.
    * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; + * * @return The primitiveType. */ public com.google.cloud.datacatalog.v1.FieldType.PrimitiveType getPrimitiveType() { if (typeDeclCase_ == 1) { - com.google.cloud.datacatalog.v1.FieldType.PrimitiveType result = com.google.cloud.datacatalog.v1.FieldType.PrimitiveType.forNumber( - (java.lang.Integer) typeDecl_); - return result == null ? com.google.cloud.datacatalog.v1.FieldType.PrimitiveType.UNRECOGNIZED : result; + com.google.cloud.datacatalog.v1.FieldType.PrimitiveType result = + com.google.cloud.datacatalog.v1.FieldType.PrimitiveType.forNumber( + (java.lang.Integer) typeDecl_); + return result == null + ? com.google.cloud.datacatalog.v1.FieldType.PrimitiveType.UNRECOGNIZED + : result; } return com.google.cloud.datacatalog.v1.FieldType.PrimitiveType.PRIMITIVE_TYPE_UNSPECIFIED; } public static final int ENUM_TYPE_FIELD_NUMBER = 2; /** + * + * *
    * An enum type.
    * 
* * .google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2; + * * @return Whether the enumType field is set. */ @java.lang.Override @@ -2080,21 +2329,26 @@ public boolean hasEnumType() { return typeDeclCase_ == 2; } /** + * + * *
    * An enum type.
    * 
* * .google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2; + * * @return The enumType. */ @java.lang.Override public com.google.cloud.datacatalog.v1.FieldType.EnumType getEnumType() { if (typeDeclCase_ == 2) { - return (com.google.cloud.datacatalog.v1.FieldType.EnumType) typeDecl_; + return (com.google.cloud.datacatalog.v1.FieldType.EnumType) typeDecl_; } return com.google.cloud.datacatalog.v1.FieldType.EnumType.getDefaultInstance(); } /** + * + * *
    * An enum type.
    * 
@@ -2104,12 +2358,13 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType getEnumType() { @java.lang.Override public com.google.cloud.datacatalog.v1.FieldType.EnumTypeOrBuilder getEnumTypeOrBuilder() { if (typeDeclCase_ == 2) { - return (com.google.cloud.datacatalog.v1.FieldType.EnumType) typeDecl_; + return (com.google.cloud.datacatalog.v1.FieldType.EnumType) typeDecl_; } return com.google.cloud.datacatalog.v1.FieldType.EnumType.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2121,8 +2376,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (typeDeclCase_ == 1) { output.writeEnum(1, ((java.lang.Integer) typeDecl_)); } @@ -2139,12 +2393,13 @@ public int getSerializedSize() { size = 0; if (typeDeclCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, ((java.lang.Integer) typeDecl_)); + size += + com.google.protobuf.CodedOutputStream.computeEnumSize(1, ((java.lang.Integer) typeDecl_)); } if (typeDeclCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.datacatalog.v1.FieldType.EnumType) typeDecl_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.datacatalog.v1.FieldType.EnumType) typeDecl_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2154,22 +2409,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.datacatalog.v1.FieldType)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.FieldType other = (com.google.cloud.datacatalog.v1.FieldType) obj; + com.google.cloud.datacatalog.v1.FieldType other = + (com.google.cloud.datacatalog.v1.FieldType) obj; if (!getTypeDeclCase().equals(other.getTypeDeclCase())) return false; switch (typeDeclCase_) { case 1: - if (getPrimitiveTypeValue() - != other.getPrimitiveTypeValue()) return false; + if (getPrimitiveTypeValue() != other.getPrimitiveTypeValue()) return false; break; case 2: - if (!getEnumType() - .equals(other.getEnumType())) return false; + if (!getEnumType().equals(other.getEnumType())) return false; break; case 0: default: @@ -2202,128 +2456,128 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.FieldType parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.FieldType parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.FieldType parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.FieldType parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.FieldType parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.FieldType parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.FieldType parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.FieldType parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.FieldType parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.FieldType parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.FieldType parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.FieldType parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.FieldType parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.FieldType parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.FieldType prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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.datacatalog.v1.FieldType} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.datacatalog.v1.FieldType} */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.FieldType) com.google.cloud.datacatalog.v1.FieldTypeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_FieldType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Tags + .internal_static_google_cloud_datacatalog_v1_FieldType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_FieldType_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Tags + .internal_static_google_cloud_datacatalog_v1_FieldType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.FieldType.class, com.google.cloud.datacatalog.v1.FieldType.Builder.class); + com.google.cloud.datacatalog.v1.FieldType.class, + com.google.cloud.datacatalog.v1.FieldType.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.FieldType.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2337,9 +2591,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_FieldType_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Tags + .internal_static_google_cloud_datacatalog_v1_FieldType_descriptor; } @java.lang.Override @@ -2358,8 +2612,11 @@ public com.google.cloud.datacatalog.v1.FieldType build() { @java.lang.Override public com.google.cloud.datacatalog.v1.FieldType buildPartial() { - com.google.cloud.datacatalog.v1.FieldType result = new com.google.cloud.datacatalog.v1.FieldType(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1.FieldType result = + new com.google.cloud.datacatalog.v1.FieldType(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -2372,8 +2629,7 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.FieldType result) { private void buildPartialOneofs(com.google.cloud.datacatalog.v1.FieldType result) { result.typeDeclCase_ = typeDeclCase_; result.typeDecl_ = this.typeDecl_; - if (typeDeclCase_ == 2 && - enumTypeBuilder_ != null) { + if (typeDeclCase_ == 2 && enumTypeBuilder_ != null) { result.typeDecl_ = enumTypeBuilder_.build(); } } @@ -2382,38 +2638,39 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.FieldType result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.FieldType) { - return mergeFrom((com.google.cloud.datacatalog.v1.FieldType)other); + return mergeFrom((com.google.cloud.datacatalog.v1.FieldType) other); } else { super.mergeFrom(other); return this; @@ -2423,17 +2680,20 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.datacatalog.v1.FieldType other) { if (other == com.google.cloud.datacatalog.v1.FieldType.getDefaultInstance()) return this; switch (other.getTypeDeclCase()) { - case PRIMITIVE_TYPE: { - setPrimitiveTypeValue(other.getPrimitiveTypeValue()); - break; - } - case ENUM_TYPE: { - mergeEnumType(other.getEnumType()); - break; - } - case TYPEDECL_NOT_SET: { - break; - } + case PRIMITIVE_TYPE: + { + setPrimitiveTypeValue(other.getPrimitiveTypeValue()); + break; + } + case ENUM_TYPE: + { + mergeEnumType(other.getEnumType()); + break; + } + case TYPEDECL_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2461,25 +2721,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); - typeDeclCase_ = 1; - typeDecl_ = rawValue; - break; - } // case 8 - case 18: { - input.readMessage( - getEnumTypeFieldBuilder().getBuilder(), - extensionRegistry); - typeDeclCase_ = 2; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + int rawValue = input.readEnum(); + typeDeclCase_ = 1; + typeDecl_ = rawValue; + break; + } // case 8 + case 18: + { + input.readMessage(getEnumTypeFieldBuilder().getBuilder(), extensionRegistry); + typeDeclCase_ = 2; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2489,12 +2750,12 @@ public Builder mergeFrom( } // finally return this; } + private int typeDeclCase_ = 0; private java.lang.Object typeDecl_; - public TypeDeclCase - getTypeDeclCase() { - return TypeDeclCase.forNumber( - typeDeclCase_); + + public TypeDeclCase getTypeDeclCase() { + return TypeDeclCase.forNumber(typeDeclCase_); } public Builder clearTypeDecl() { @@ -2507,11 +2768,14 @@ public Builder clearTypeDecl() { private int bitField0_; /** + * + * *
      * Primitive types, such as string, boolean, etc.
      * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; + * * @return Whether the primitiveType field is set. */ @java.lang.Override @@ -2519,11 +2783,14 @@ public boolean hasPrimitiveType() { return typeDeclCase_ == 1; } /** + * + * *
      * Primitive types, such as string, boolean, etc.
      * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; + * * @return The enum numeric value on the wire for primitiveType. */ @java.lang.Override @@ -2534,11 +2801,14 @@ public int getPrimitiveTypeValue() { return 0; } /** + * + * *
      * Primitive types, such as string, boolean, etc.
      * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; + * * @param value The enum numeric value on the wire for primitiveType to set. * @return This builder for chaining. */ @@ -2549,28 +2819,37 @@ public Builder setPrimitiveTypeValue(int value) { return this; } /** + * + * *
      * Primitive types, such as string, boolean, etc.
      * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; + * * @return The primitiveType. */ @java.lang.Override public com.google.cloud.datacatalog.v1.FieldType.PrimitiveType getPrimitiveType() { if (typeDeclCase_ == 1) { - com.google.cloud.datacatalog.v1.FieldType.PrimitiveType result = com.google.cloud.datacatalog.v1.FieldType.PrimitiveType.forNumber( - (java.lang.Integer) typeDecl_); - return result == null ? com.google.cloud.datacatalog.v1.FieldType.PrimitiveType.UNRECOGNIZED : result; + com.google.cloud.datacatalog.v1.FieldType.PrimitiveType result = + com.google.cloud.datacatalog.v1.FieldType.PrimitiveType.forNumber( + (java.lang.Integer) typeDecl_); + return result == null + ? com.google.cloud.datacatalog.v1.FieldType.PrimitiveType.UNRECOGNIZED + : result; } return com.google.cloud.datacatalog.v1.FieldType.PrimitiveType.PRIMITIVE_TYPE_UNSPECIFIED; } /** + * + * *
      * Primitive types, such as string, boolean, etc.
      * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; + * * @param value The primitiveType to set. * @return This builder for chaining. */ @@ -2584,11 +2863,14 @@ public Builder setPrimitiveType(com.google.cloud.datacatalog.v1.FieldType.Primit return this; } /** + * + * *
      * Primitive types, such as string, boolean, etc.
      * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; + * * @return This builder for chaining. */ public Builder clearPrimitiveType() { @@ -2601,13 +2883,19 @@ public Builder clearPrimitiveType() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.FieldType.EnumType, com.google.cloud.datacatalog.v1.FieldType.EnumType.Builder, com.google.cloud.datacatalog.v1.FieldType.EnumTypeOrBuilder> enumTypeBuilder_; + com.google.cloud.datacatalog.v1.FieldType.EnumType, + com.google.cloud.datacatalog.v1.FieldType.EnumType.Builder, + com.google.cloud.datacatalog.v1.FieldType.EnumTypeOrBuilder> + enumTypeBuilder_; /** + * + * *
      * An enum type.
      * 
* * .google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2; + * * @return Whether the enumType field is set. */ @java.lang.Override @@ -2615,11 +2903,14 @@ public boolean hasEnumType() { return typeDeclCase_ == 2; } /** + * + * *
      * An enum type.
      * 
* * .google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2; + * * @return The enumType. */ @java.lang.Override @@ -2637,6 +2928,8 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType getEnumType() { } } /** + * + * *
      * An enum type.
      * 
@@ -2657,6 +2950,8 @@ public Builder setEnumType(com.google.cloud.datacatalog.v1.FieldType.EnumType va return this; } /** + * + * *
      * An enum type.
      * 
@@ -2675,6 +2970,8 @@ public Builder setEnumType( return this; } /** + * + * *
      * An enum type.
      * 
@@ -2683,10 +2980,14 @@ public Builder setEnumType( */ public Builder mergeEnumType(com.google.cloud.datacatalog.v1.FieldType.EnumType value) { if (enumTypeBuilder_ == null) { - if (typeDeclCase_ == 2 && - typeDecl_ != com.google.cloud.datacatalog.v1.FieldType.EnumType.getDefaultInstance()) { - typeDecl_ = com.google.cloud.datacatalog.v1.FieldType.EnumType.newBuilder((com.google.cloud.datacatalog.v1.FieldType.EnumType) typeDecl_) - .mergeFrom(value).buildPartial(); + if (typeDeclCase_ == 2 + && typeDecl_ + != com.google.cloud.datacatalog.v1.FieldType.EnumType.getDefaultInstance()) { + typeDecl_ = + com.google.cloud.datacatalog.v1.FieldType.EnumType.newBuilder( + (com.google.cloud.datacatalog.v1.FieldType.EnumType) typeDecl_) + .mergeFrom(value) + .buildPartial(); } else { typeDecl_ = value; } @@ -2702,6 +3003,8 @@ public Builder mergeEnumType(com.google.cloud.datacatalog.v1.FieldType.EnumType return this; } /** + * + * *
      * An enum type.
      * 
@@ -2725,6 +3028,8 @@ public Builder clearEnumType() { return this; } /** + * + * *
      * An enum type.
      * 
@@ -2735,6 +3040,8 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType.Builder getEnumTypeBui return getEnumTypeFieldBuilder().getBuilder(); } /** + * + * *
      * An enum type.
      * 
@@ -2753,6 +3060,8 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumTypeOrBuilder getEnumTypeOr } } /** + * + * *
      * An enum type.
      * 
@@ -2760,14 +3069,19 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumTypeOrBuilder getEnumTypeOr * .google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.FieldType.EnumType, com.google.cloud.datacatalog.v1.FieldType.EnumType.Builder, com.google.cloud.datacatalog.v1.FieldType.EnumTypeOrBuilder> + com.google.cloud.datacatalog.v1.FieldType.EnumType, + com.google.cloud.datacatalog.v1.FieldType.EnumType.Builder, + com.google.cloud.datacatalog.v1.FieldType.EnumTypeOrBuilder> getEnumTypeFieldBuilder() { if (enumTypeBuilder_ == null) { if (!(typeDeclCase_ == 2)) { typeDecl_ = com.google.cloud.datacatalog.v1.FieldType.EnumType.getDefaultInstance(); } - enumTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.FieldType.EnumType, com.google.cloud.datacatalog.v1.FieldType.EnumType.Builder, com.google.cloud.datacatalog.v1.FieldType.EnumTypeOrBuilder>( + enumTypeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.FieldType.EnumType, + com.google.cloud.datacatalog.v1.FieldType.EnumType.Builder, + com.google.cloud.datacatalog.v1.FieldType.EnumTypeOrBuilder>( (com.google.cloud.datacatalog.v1.FieldType.EnumType) typeDecl_, getParentForChildren(), isClean()); @@ -2777,9 +3091,9 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumTypeOrBuilder getEnumTypeOr onChanged(); return enumTypeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2789,12 +3103,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.FieldType) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.FieldType) private static final com.google.cloud.datacatalog.v1.FieldType DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.FieldType(); } @@ -2803,27 +3117,27 @@ public static com.google.cloud.datacatalog.v1.FieldType getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FieldType parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FieldType parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2838,6 +3152,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.FieldType getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldTypeOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldTypeOrBuilder.java similarity index 72% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldTypeOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldTypeOrBuilder.java index aabcf24892f1..84a899982cff 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldTypeOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldTypeOrBuilder.java @@ -1,59 +1,92 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/tags.proto package com.google.cloud.datacatalog.v1; -public interface FieldTypeOrBuilder extends +public interface FieldTypeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.FieldType) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Primitive types, such as string, boolean, etc.
    * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; + * * @return Whether the primitiveType field is set. */ boolean hasPrimitiveType(); /** + * + * *
    * Primitive types, such as string, boolean, etc.
    * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; + * * @return The enum numeric value on the wire for primitiveType. */ int getPrimitiveTypeValue(); /** + * + * *
    * Primitive types, such as string, boolean, etc.
    * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; + * * @return The primitiveType. */ com.google.cloud.datacatalog.v1.FieldType.PrimitiveType getPrimitiveType(); /** + * + * *
    * An enum type.
    * 
* * .google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2; + * * @return Whether the enumType field is set. */ boolean hasEnumType(); /** + * + * *
    * An enum type.
    * 
* * .google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2; + * * @return The enumType. */ com.google.cloud.datacatalog.v1.FieldType.EnumType getEnumType(); /** + * + * *
    * An enum type.
    * 
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpec.java similarity index 67% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpec.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpec.java index ef17e8f4e85e..e9b691146b43 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpec.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Specification that applies to a fileset. Valid only for entries with the
  * 'FILESET' type.
@@ -11,47 +28,51 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.FilesetSpec}
  */
-public final class FilesetSpec extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class FilesetSpec extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.FilesetSpec)
     FilesetSpecOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use FilesetSpec.newBuilder() to construct.
   private FilesetSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private FilesetSpec() {
-  }
+
+  private FilesetSpec() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new FilesetSpec();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_FilesetSpec_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_FilesetSpec_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_FilesetSpec_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_FilesetSpec_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.FilesetSpec.class, com.google.cloud.datacatalog.v1.FilesetSpec.Builder.class);
+            com.google.cloud.datacatalog.v1.FilesetSpec.class,
+            com.google.cloud.datacatalog.v1.FilesetSpec.Builder.class);
   }
 
   public static final int DATAPLEX_FILESET_FIELD_NUMBER = 1;
   private com.google.cloud.datacatalog.v1.DataplexFilesetSpec dataplexFileset_;
   /**
+   *
+   *
    * 
    * Fields specific to a Dataplex fileset and present only in the Dataplex
    * fileset entries.
    * 
* * .google.cloud.datacatalog.v1.DataplexFilesetSpec dataplex_fileset = 1; + * * @return Whether the dataplexFileset field is set. */ @java.lang.Override @@ -59,19 +80,26 @@ public boolean hasDataplexFileset() { return dataplexFileset_ != null; } /** + * + * *
    * Fields specific to a Dataplex fileset and present only in the Dataplex
    * fileset entries.
    * 
* * .google.cloud.datacatalog.v1.DataplexFilesetSpec dataplex_fileset = 1; + * * @return The dataplexFileset. */ @java.lang.Override public com.google.cloud.datacatalog.v1.DataplexFilesetSpec getDataplexFileset() { - return dataplexFileset_ == null ? com.google.cloud.datacatalog.v1.DataplexFilesetSpec.getDefaultInstance() : dataplexFileset_; + return dataplexFileset_ == null + ? com.google.cloud.datacatalog.v1.DataplexFilesetSpec.getDefaultInstance() + : dataplexFileset_; } /** + * + * *
    * Fields specific to a Dataplex fileset and present only in the Dataplex
    * fileset entries.
@@ -80,11 +108,15 @@ public com.google.cloud.datacatalog.v1.DataplexFilesetSpec getDataplexFileset()
    * .google.cloud.datacatalog.v1.DataplexFilesetSpec dataplex_fileset = 1;
    */
   @java.lang.Override
-  public com.google.cloud.datacatalog.v1.DataplexFilesetSpecOrBuilder getDataplexFilesetOrBuilder() {
-    return dataplexFileset_ == null ? com.google.cloud.datacatalog.v1.DataplexFilesetSpec.getDefaultInstance() : dataplexFileset_;
+  public com.google.cloud.datacatalog.v1.DataplexFilesetSpecOrBuilder
+      getDataplexFilesetOrBuilder() {
+    return dataplexFileset_ == null
+        ? com.google.cloud.datacatalog.v1.DataplexFilesetSpec.getDefaultInstance()
+        : dataplexFileset_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -96,8 +128,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (dataplexFileset_ != null) {
       output.writeMessage(1, getDataplexFileset());
     }
@@ -111,8 +142,7 @@ public int getSerializedSize() {
 
     size = 0;
     if (dataplexFileset_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getDataplexFileset());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDataplexFileset());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -122,17 +152,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.datacatalog.v1.FilesetSpec)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1.FilesetSpec other = (com.google.cloud.datacatalog.v1.FilesetSpec) obj;
+    com.google.cloud.datacatalog.v1.FilesetSpec other =
+        (com.google.cloud.datacatalog.v1.FilesetSpec) obj;
 
     if (hasDataplexFileset() != other.hasDataplexFileset()) return false;
     if (hasDataplexFileset()) {
-      if (!getDataplexFileset()
-          .equals(other.getDataplexFileset())) return false;
+      if (!getDataplexFileset().equals(other.getDataplexFileset())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -154,99 +184,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.datacatalog.v1.FilesetSpec parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.datacatalog.v1.FilesetSpec parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.FilesetSpec parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.FilesetSpec parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.FilesetSpec parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.FilesetSpec parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.FilesetSpec parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.FilesetSpec parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1.FilesetSpec parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1.FilesetSpec parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.FilesetSpec parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1.FilesetSpec parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.FilesetSpec parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1.FilesetSpec parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.datacatalog.v1.FilesetSpec prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Specification that applies to a fileset. Valid only for entries with the
    * 'FILESET' type.
@@ -254,33 +289,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.FilesetSpec}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.FilesetSpec)
       com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_FilesetSpec_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_FilesetSpec_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_FilesetSpec_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_FilesetSpec_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.FilesetSpec.class, com.google.cloud.datacatalog.v1.FilesetSpec.Builder.class);
+              com.google.cloud.datacatalog.v1.FilesetSpec.class,
+              com.google.cloud.datacatalog.v1.FilesetSpec.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.FilesetSpec.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -294,9 +328,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_FilesetSpec_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_FilesetSpec_descriptor;
     }
 
     @java.lang.Override
@@ -315,8 +349,11 @@ public com.google.cloud.datacatalog.v1.FilesetSpec build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.FilesetSpec buildPartial() {
-      com.google.cloud.datacatalog.v1.FilesetSpec result = new com.google.cloud.datacatalog.v1.FilesetSpec(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.FilesetSpec result =
+          new com.google.cloud.datacatalog.v1.FilesetSpec(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -324,9 +361,8 @@ public com.google.cloud.datacatalog.v1.FilesetSpec buildPartial() {
     private void buildPartial0(com.google.cloud.datacatalog.v1.FilesetSpec result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.dataplexFileset_ = dataplexFilesetBuilder_ == null
-            ? dataplexFileset_
-            : dataplexFilesetBuilder_.build();
+        result.dataplexFileset_ =
+            dataplexFilesetBuilder_ == null ? dataplexFileset_ : dataplexFilesetBuilder_.build();
       }
     }
 
@@ -334,38 +370,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.FilesetSpec result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.FilesetSpec) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.FilesetSpec)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.FilesetSpec) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -403,19 +440,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getDataplexFilesetFieldBuilder().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(getDataplexFilesetFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -425,40 +462,54 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.datacatalog.v1.DataplexFilesetSpec dataplexFileset_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.DataplexFilesetSpec, com.google.cloud.datacatalog.v1.DataplexFilesetSpec.Builder, com.google.cloud.datacatalog.v1.DataplexFilesetSpecOrBuilder> dataplexFilesetBuilder_;
+            com.google.cloud.datacatalog.v1.DataplexFilesetSpec,
+            com.google.cloud.datacatalog.v1.DataplexFilesetSpec.Builder,
+            com.google.cloud.datacatalog.v1.DataplexFilesetSpecOrBuilder>
+        dataplexFilesetBuilder_;
     /**
+     *
+     *
      * 
      * Fields specific to a Dataplex fileset and present only in the Dataplex
      * fileset entries.
      * 
* * .google.cloud.datacatalog.v1.DataplexFilesetSpec dataplex_fileset = 1; + * * @return Whether the dataplexFileset field is set. */ public boolean hasDataplexFileset() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Fields specific to a Dataplex fileset and present only in the Dataplex
      * fileset entries.
      * 
* * .google.cloud.datacatalog.v1.DataplexFilesetSpec dataplex_fileset = 1; + * * @return The dataplexFileset. */ public com.google.cloud.datacatalog.v1.DataplexFilesetSpec getDataplexFileset() { if (dataplexFilesetBuilder_ == null) { - return dataplexFileset_ == null ? com.google.cloud.datacatalog.v1.DataplexFilesetSpec.getDefaultInstance() : dataplexFileset_; + return dataplexFileset_ == null + ? com.google.cloud.datacatalog.v1.DataplexFilesetSpec.getDefaultInstance() + : dataplexFileset_; } else { return dataplexFilesetBuilder_.getMessage(); } } /** + * + * *
      * Fields specific to a Dataplex fileset and present only in the Dataplex
      * fileset entries.
@@ -480,6 +531,8 @@ public Builder setDataplexFileset(com.google.cloud.datacatalog.v1.DataplexFilese
       return this;
     }
     /**
+     *
+     *
      * 
      * Fields specific to a Dataplex fileset and present only in the Dataplex
      * fileset entries.
@@ -499,6 +552,8 @@ public Builder setDataplexFileset(
       return this;
     }
     /**
+     *
+     *
      * 
      * Fields specific to a Dataplex fileset and present only in the Dataplex
      * fileset entries.
@@ -508,9 +563,10 @@ public Builder setDataplexFileset(
      */
     public Builder mergeDataplexFileset(com.google.cloud.datacatalog.v1.DataplexFilesetSpec value) {
       if (dataplexFilesetBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          dataplexFileset_ != null &&
-          dataplexFileset_ != com.google.cloud.datacatalog.v1.DataplexFilesetSpec.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && dataplexFileset_ != null
+            && dataplexFileset_
+                != com.google.cloud.datacatalog.v1.DataplexFilesetSpec.getDefaultInstance()) {
           getDataplexFilesetBuilder().mergeFrom(value);
         } else {
           dataplexFileset_ = value;
@@ -523,6 +579,8 @@ public Builder mergeDataplexFileset(com.google.cloud.datacatalog.v1.DataplexFile
       return this;
     }
     /**
+     *
+     *
      * 
      * Fields specific to a Dataplex fileset and present only in the Dataplex
      * fileset entries.
@@ -541,6 +599,8 @@ public Builder clearDataplexFileset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Fields specific to a Dataplex fileset and present only in the Dataplex
      * fileset entries.
@@ -554,6 +614,8 @@ public com.google.cloud.datacatalog.v1.DataplexFilesetSpec.Builder getDataplexFi
       return getDataplexFilesetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Fields specific to a Dataplex fileset and present only in the Dataplex
      * fileset entries.
@@ -561,15 +623,19 @@ public com.google.cloud.datacatalog.v1.DataplexFilesetSpec.Builder getDataplexFi
      *
      * .google.cloud.datacatalog.v1.DataplexFilesetSpec dataplex_fileset = 1;
      */
-    public com.google.cloud.datacatalog.v1.DataplexFilesetSpecOrBuilder getDataplexFilesetOrBuilder() {
+    public com.google.cloud.datacatalog.v1.DataplexFilesetSpecOrBuilder
+        getDataplexFilesetOrBuilder() {
       if (dataplexFilesetBuilder_ != null) {
         return dataplexFilesetBuilder_.getMessageOrBuilder();
       } else {
-        return dataplexFileset_ == null ?
-            com.google.cloud.datacatalog.v1.DataplexFilesetSpec.getDefaultInstance() : dataplexFileset_;
+        return dataplexFileset_ == null
+            ? com.google.cloud.datacatalog.v1.DataplexFilesetSpec.getDefaultInstance()
+            : dataplexFileset_;
       }
     }
     /**
+     *
+     *
      * 
      * Fields specific to a Dataplex fileset and present only in the Dataplex
      * fileset entries.
@@ -578,21 +644,24 @@ public com.google.cloud.datacatalog.v1.DataplexFilesetSpecOrBuilder getDataplexF
      * .google.cloud.datacatalog.v1.DataplexFilesetSpec dataplex_fileset = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.DataplexFilesetSpec, com.google.cloud.datacatalog.v1.DataplexFilesetSpec.Builder, com.google.cloud.datacatalog.v1.DataplexFilesetSpecOrBuilder> 
+            com.google.cloud.datacatalog.v1.DataplexFilesetSpec,
+            com.google.cloud.datacatalog.v1.DataplexFilesetSpec.Builder,
+            com.google.cloud.datacatalog.v1.DataplexFilesetSpecOrBuilder>
         getDataplexFilesetFieldBuilder() {
       if (dataplexFilesetBuilder_ == null) {
-        dataplexFilesetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.DataplexFilesetSpec, com.google.cloud.datacatalog.v1.DataplexFilesetSpec.Builder, com.google.cloud.datacatalog.v1.DataplexFilesetSpecOrBuilder>(
-                getDataplexFileset(),
-                getParentForChildren(),
-                isClean());
+        dataplexFilesetBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.datacatalog.v1.DataplexFilesetSpec,
+                com.google.cloud.datacatalog.v1.DataplexFilesetSpec.Builder,
+                com.google.cloud.datacatalog.v1.DataplexFilesetSpecOrBuilder>(
+                getDataplexFileset(), getParentForChildren(), isClean());
         dataplexFileset_ = null;
       }
       return dataplexFilesetBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -602,12 +671,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.FilesetSpec)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.FilesetSpec)
   private static final com.google.cloud.datacatalog.v1.FilesetSpec DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.FilesetSpec();
   }
@@ -616,27 +685,27 @@ public static com.google.cloud.datacatalog.v1.FilesetSpec getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public FilesetSpec parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public FilesetSpec parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -651,6 +720,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1.FilesetSpec getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpecOrBuilder.java
similarity index 64%
rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpecOrBuilder.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpecOrBuilder.java
index 897a46af28aa..7af32755af5d 100644
--- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpecOrBuilder.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpecOrBuilder.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/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
-public interface FilesetSpecOrBuilder extends
+public interface FilesetSpecOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.FilesetSpec)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Fields specific to a Dataplex fileset and present only in the Dataplex
    * fileset entries.
    * 
* * .google.cloud.datacatalog.v1.DataplexFilesetSpec dataplex_fileset = 1; + * * @return Whether the dataplexFileset field is set. */ boolean hasDataplexFileset(); /** + * + * *
    * Fields specific to a Dataplex fileset and present only in the Dataplex
    * fileset entries.
    * 
* * .google.cloud.datacatalog.v1.DataplexFilesetSpec dataplex_fileset = 1; + * * @return The dataplexFileset. */ com.google.cloud.datacatalog.v1.DataplexFilesetSpec getDataplexFileset(); /** + * + * *
    * Fields specific to a Dataplex fileset and present only in the Dataplex
    * fileset entries.
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpec.java
similarity index 65%
rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpec.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpec.java
index 72140dd88d6b..a2e0d96d00ca 100644
--- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpec.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpec.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/datacatalog/v1/gcs_fileset_spec.proto
 
 package com.google.cloud.datacatalog.v1;
 
 /**
+ *
+ *
  * 
  * Specification of a single file in Cloud Storage.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.GcsFileSpec} */ -public final class GcsFileSpec extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GcsFileSpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.GcsFileSpec) GcsFileSpecOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GcsFileSpec.newBuilder() to construct. private GcsFileSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GcsFileSpec() { filePath_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GcsFileSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1_GcsFileSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass + .internal_static_google_cloud_datacatalog_v1_GcsFileSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1_GcsFileSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass + .internal_static_google_cloud_datacatalog_v1_GcsFileSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.GcsFileSpec.class, com.google.cloud.datacatalog.v1.GcsFileSpec.Builder.class); + com.google.cloud.datacatalog.v1.GcsFileSpec.class, + com.google.cloud.datacatalog.v1.GcsFileSpec.Builder.class); } public static final int FILE_PATH_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object filePath_ = ""; /** + * + * *
    * Required. Full file path. Example: `gs://bucket_name/a/b.txt`.
    * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filePath. */ @java.lang.Override @@ -60,29 +83,29 @@ public java.lang.String getFilePath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filePath_ = s; return s; } } /** + * + * *
    * Required. Full file path. Example: `gs://bucket_name/a/b.txt`.
    * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filePath. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilePathBytes() { + public com.google.protobuf.ByteString getFilePathBytes() { java.lang.Object ref = filePath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filePath_ = b; return b; } else { @@ -93,12 +116,17 @@ public java.lang.String getFilePath() { public static final int GCS_TIMESTAMPS_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1.SystemTimestamps gcsTimestamps_; /** + * + * *
    * Output only. Creation, modification, and expiration timestamps of a Cloud
    * Storage file.
    * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the gcsTimestamps field is set. */ @java.lang.Override @@ -106,39 +134,55 @@ public boolean hasGcsTimestamps() { return gcsTimestamps_ != null; } /** + * + * *
    * Output only. Creation, modification, and expiration timestamps of a Cloud
    * Storage file.
    * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The gcsTimestamps. */ @java.lang.Override public com.google.cloud.datacatalog.v1.SystemTimestamps getGcsTimestamps() { - return gcsTimestamps_ == null ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() : gcsTimestamps_; + return gcsTimestamps_ == null + ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() + : gcsTimestamps_; } /** + * + * *
    * Output only. Creation, modification, and expiration timestamps of a Cloud
    * Storage file.
    * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getGcsTimestampsOrBuilder() { - return gcsTimestamps_ == null ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() : gcsTimestamps_; + return gcsTimestamps_ == null + ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() + : gcsTimestamps_; } public static final int SIZE_BYTES_FIELD_NUMBER = 4; private long sizeBytes_ = 0L; /** + * + * *
    * Output only. File size in bytes.
    * 
* * int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sizeBytes. */ @java.lang.Override @@ -147,6 +191,7 @@ public long getSizeBytes() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -158,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filePath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filePath_); } @@ -182,12 +226,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, filePath_); } if (gcsTimestamps_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getGcsTimestamps()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getGcsTimestamps()); } if (sizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, sizeBytes_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, sizeBytes_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -197,22 +239,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.datacatalog.v1.GcsFileSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.GcsFileSpec other = (com.google.cloud.datacatalog.v1.GcsFileSpec) obj; + com.google.cloud.datacatalog.v1.GcsFileSpec other = + (com.google.cloud.datacatalog.v1.GcsFileSpec) obj; - if (!getFilePath() - .equals(other.getFilePath())) return false; + if (!getFilePath().equals(other.getFilePath())) return false; if (hasGcsTimestamps() != other.hasGcsTimestamps()) return false; if (hasGcsTimestamps()) { - if (!getGcsTimestamps() - .equals(other.getGcsTimestamps())) return false; + if (!getGcsTimestamps().equals(other.getGcsTimestamps())) return false; } - if (getSizeBytes() - != other.getSizeBytes()) return false; + if (getSizeBytes() != other.getSizeBytes()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -231,139 +271,142 @@ public int hashCode() { hash = (53 * hash) + getGcsTimestamps().hashCode(); } hash = (37 * hash) + SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSizeBytes()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.datacatalog.v1.GcsFileSpec parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.GcsFileSpec parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.GcsFileSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.GcsFileSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.GcsFileSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.GcsFileSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.GcsFileSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.GcsFileSpec parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.GcsFileSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GcsFileSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.GcsFileSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.GcsFileSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.GcsFileSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.GcsFileSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.GcsFileSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Specification of a single file in Cloud Storage.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.GcsFileSpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.GcsFileSpec) com.google.cloud.datacatalog.v1.GcsFileSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1_GcsFileSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass + .internal_static_google_cloud_datacatalog_v1_GcsFileSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1_GcsFileSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass + .internal_static_google_cloud_datacatalog_v1_GcsFileSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.GcsFileSpec.class, com.google.cloud.datacatalog.v1.GcsFileSpec.Builder.class); + com.google.cloud.datacatalog.v1.GcsFileSpec.class, + com.google.cloud.datacatalog.v1.GcsFileSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.GcsFileSpec.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - 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 +422,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1_GcsFileSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass + .internal_static_google_cloud_datacatalog_v1_GcsFileSpec_descriptor; } @java.lang.Override @@ -400,8 +443,11 @@ public com.google.cloud.datacatalog.v1.GcsFileSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1.GcsFileSpec buildPartial() { - com.google.cloud.datacatalog.v1.GcsFileSpec result = new com.google.cloud.datacatalog.v1.GcsFileSpec(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1.GcsFileSpec result = + new com.google.cloud.datacatalog.v1.GcsFileSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -412,9 +458,8 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.GcsFileSpec result) { result.filePath_ = filePath_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.gcsTimestamps_ = gcsTimestampsBuilder_ == null - ? gcsTimestamps_ - : gcsTimestampsBuilder_.build(); + result.gcsTimestamps_ = + gcsTimestampsBuilder_ == null ? gcsTimestamps_ : gcsTimestampsBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.sizeBytes_ = sizeBytes_; @@ -425,38 +470,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.GcsFileSpec result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.GcsFileSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1.GcsFileSpec)other); + return mergeFrom((com.google.cloud.datacatalog.v1.GcsFileSpec) other); } else { super.mergeFrom(other); return this; @@ -502,29 +548,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - filePath_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getGcsTimestampsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 32: { - sizeBytes_ = input.readInt64(); - bitField0_ |= 0x00000004; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + filePath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getGcsTimestampsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 32: + { + sizeBytes_ = input.readInt64(); + 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,22 +582,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object filePath_ = ""; /** + * + * *
      * Required. Full file path. Example: `gs://bucket_name/a/b.txt`.
      * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filePath. */ public java.lang.String getFilePath() { java.lang.Object ref = filePath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filePath_ = s; return s; @@ -558,20 +609,21 @@ public java.lang.String getFilePath() { } } /** + * + * *
      * Required. Full file path. Example: `gs://bucket_name/a/b.txt`.
      * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filePath. */ - public com.google.protobuf.ByteString - getFilePathBytes() { + public com.google.protobuf.ByteString getFilePathBytes() { java.lang.Object ref = filePath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filePath_ = b; return b; } else { @@ -579,28 +631,35 @@ public java.lang.String getFilePath() { } } /** + * + * *
      * Required. Full file path. Example: `gs://bucket_name/a/b.txt`.
      * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The filePath to set. * @return This builder for chaining. */ - public Builder setFilePath( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilePath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filePath_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Full file path. Example: `gs://bucket_name/a/b.txt`.
      * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFilePath() { @@ -610,17 +669,21 @@ public Builder clearFilePath() { return this; } /** + * + * *
      * Required. Full file path. Example: `gs://bucket_name/a/b.txt`.
      * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for filePath to set. * @return This builder for chaining. */ - public Builder setFilePathBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilePathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filePath_ = value; bitField0_ |= 0x00000001; @@ -630,42 +693,61 @@ public Builder setFilePathBytes( private com.google.cloud.datacatalog.v1.SystemTimestamps gcsTimestamps_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SystemTimestamps, com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder> gcsTimestampsBuilder_; + com.google.cloud.datacatalog.v1.SystemTimestamps, + com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, + com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder> + gcsTimestampsBuilder_; /** + * + * *
      * Output only. Creation, modification, and expiration timestamps of a Cloud
      * Storage file.
      * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the gcsTimestamps field is set. */ public boolean hasGcsTimestamps() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. Creation, modification, and expiration timestamps of a Cloud
      * Storage file.
      * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The gcsTimestamps. */ public com.google.cloud.datacatalog.v1.SystemTimestamps getGcsTimestamps() { if (gcsTimestampsBuilder_ == null) { - return gcsTimestamps_ == null ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() : gcsTimestamps_; + return gcsTimestamps_ == null + ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() + : gcsTimestamps_; } else { return gcsTimestampsBuilder_.getMessage(); } } /** + * + * *
      * Output only. Creation, modification, and expiration timestamps of a Cloud
      * Storage file.
      * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setGcsTimestamps(com.google.cloud.datacatalog.v1.SystemTimestamps value) { if (gcsTimestampsBuilder_ == null) { @@ -681,12 +763,16 @@ public Builder setGcsTimestamps(com.google.cloud.datacatalog.v1.SystemTimestamps return this; } /** + * + * *
      * Output only. Creation, modification, and expiration timestamps of a Cloud
      * Storage file.
      * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setGcsTimestamps( com.google.cloud.datacatalog.v1.SystemTimestamps.Builder builderForValue) { @@ -700,18 +786,23 @@ public Builder setGcsTimestamps( return this; } /** + * + * *
      * Output only. Creation, modification, and expiration timestamps of a Cloud
      * Storage file.
      * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeGcsTimestamps(com.google.cloud.datacatalog.v1.SystemTimestamps value) { if (gcsTimestampsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - gcsTimestamps_ != null && - gcsTimestamps_ != com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && gcsTimestamps_ != null + && gcsTimestamps_ + != com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance()) { getGcsTimestampsBuilder().mergeFrom(value); } else { gcsTimestamps_ = value; @@ -724,12 +815,16 @@ public Builder mergeGcsTimestamps(com.google.cloud.datacatalog.v1.SystemTimestam return this; } /** + * + * *
      * Output only. Creation, modification, and expiration timestamps of a Cloud
      * Storage file.
      * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearGcsTimestamps() { bitField0_ = (bitField0_ & ~0x00000002); @@ -742,12 +837,16 @@ public Builder clearGcsTimestamps() { return this; } /** + * + * *
      * Output only. Creation, modification, and expiration timestamps of a Cloud
      * Storage file.
      * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.datacatalog.v1.SystemTimestamps.Builder getGcsTimestampsBuilder() { bitField0_ |= 0x00000002; @@ -755,50 +854,65 @@ public com.google.cloud.datacatalog.v1.SystemTimestamps.Builder getGcsTimestamps return getGcsTimestampsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Creation, modification, and expiration timestamps of a Cloud
      * Storage file.
      * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getGcsTimestampsOrBuilder() { if (gcsTimestampsBuilder_ != null) { return gcsTimestampsBuilder_.getMessageOrBuilder(); } else { - return gcsTimestamps_ == null ? - com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() : gcsTimestamps_; + return gcsTimestamps_ == null + ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() + : gcsTimestamps_; } } /** + * + * *
      * Output only. Creation, modification, and expiration timestamps of a Cloud
      * Storage file.
      * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SystemTimestamps, com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder> + com.google.cloud.datacatalog.v1.SystemTimestamps, + com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, + com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder> getGcsTimestampsFieldBuilder() { if (gcsTimestampsBuilder_ == null) { - gcsTimestampsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SystemTimestamps, com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder>( - getGcsTimestamps(), - getParentForChildren(), - isClean()); + gcsTimestampsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.SystemTimestamps, + com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, + com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder>( + getGcsTimestamps(), getParentForChildren(), isClean()); gcsTimestamps_ = null; } return gcsTimestampsBuilder_; } - private long sizeBytes_ ; + private long sizeBytes_; /** + * + * *
      * Output only. File size in bytes.
      * 
* * int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sizeBytes. */ @java.lang.Override @@ -806,11 +920,14 @@ public long getSizeBytes() { return sizeBytes_; } /** + * + * *
      * Output only. File size in bytes.
      * 
* * int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The sizeBytes to set. * @return This builder for chaining. */ @@ -822,11 +939,14 @@ public Builder setSizeBytes(long value) { return this; } /** + * + * *
      * Output only. File size in bytes.
      * 
* * int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSizeBytes() { @@ -835,9 +955,9 @@ public Builder clearSizeBytes() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -847,12 +967,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.GcsFileSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.GcsFileSpec) private static final com.google.cloud.datacatalog.v1.GcsFileSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.GcsFileSpec(); } @@ -861,27 +981,27 @@ public static com.google.cloud.datacatalog.v1.GcsFileSpec getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsFileSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsFileSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -896,6 +1016,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.GcsFileSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpecOrBuilder.java similarity index 58% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpecOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpecOrBuilder.java index 4a97a08a6a08..4d1489f61f0b 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpecOrBuilder.java @@ -1,68 +1,106 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/gcs_fileset_spec.proto package com.google.cloud.datacatalog.v1; -public interface GcsFileSpecOrBuilder extends +public interface GcsFileSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.GcsFileSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Full file path. Example: `gs://bucket_name/a/b.txt`.
    * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filePath. */ java.lang.String getFilePath(); /** + * + * *
    * Required. Full file path. Example: `gs://bucket_name/a/b.txt`.
    * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filePath. */ - com.google.protobuf.ByteString - getFilePathBytes(); + com.google.protobuf.ByteString getFilePathBytes(); /** + * + * *
    * Output only. Creation, modification, and expiration timestamps of a Cloud
    * Storage file.
    * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the gcsTimestamps field is set. */ boolean hasGcsTimestamps(); /** + * + * *
    * Output only. Creation, modification, and expiration timestamps of a Cloud
    * Storage file.
    * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The gcsTimestamps. */ com.google.cloud.datacatalog.v1.SystemTimestamps getGcsTimestamps(); /** + * + * *
    * Output only. Creation, modification, and expiration timestamps of a Cloud
    * Storage file.
    * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getGcsTimestampsOrBuilder(); /** + * + * *
    * Output only. File size in bytes.
    * 
* * int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sizeBytes. */ long getSizeBytes(); diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpec.java similarity index 78% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpec.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpec.java index a270b9ef2105..984d8a54dc5c 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpec.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/datacatalog/v1/gcs_fileset_spec.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Describes a Cloud Storage fileset entry.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.GcsFilesetSpec} */ -public final class GcsFilesetSpec extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GcsFilesetSpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.GcsFilesetSpec) GcsFilesetSpecOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GcsFilesetSpec.newBuilder() to construct. private GcsFilesetSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GcsFilesetSpec() { - filePatterns_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + filePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); sampleGcsFileSpecs_ = 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 GcsFilesetSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass + .internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass + .internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.GcsFilesetSpec.class, com.google.cloud.datacatalog.v1.GcsFilesetSpec.Builder.class); + com.google.cloud.datacatalog.v1.GcsFilesetSpec.class, + com.google.cloud.datacatalog.v1.GcsFilesetSpec.Builder.class); } public static final int FILE_PATTERNS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList filePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    *
@@ -83,13 +104,15 @@ protected java.lang.Object newInstance(
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the filePatterns. */ - public com.google.protobuf.ProtocolStringList - getFilePatternsList() { + public com.google.protobuf.ProtocolStringList getFilePatternsList() { return filePatterns_; } /** + * + * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    *
@@ -123,12 +146,15 @@ protected java.lang.Object newInstance(
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of filePatterns. */ public int getFilePatternsCount() { return filePatterns_.size(); } /** + * + * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    *
@@ -162,6 +188,7 @@ public int getFilePatternsCount() {
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The filePatterns at the given index. */ @@ -169,6 +196,8 @@ public java.lang.String getFilePatterns(int index) { return filePatterns_.get(index); } /** + * + * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    *
@@ -202,73 +231,94 @@ public java.lang.String getFilePatterns(int index) {
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the filePatterns at the given index. */ - public com.google.protobuf.ByteString - getFilePatternsBytes(int index) { + public com.google.protobuf.ByteString getFilePatternsBytes(int index) { return filePatterns_.getByteString(index); } public static final int SAMPLE_GCS_FILE_SPECS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List sampleGcsFileSpecs_; /** + * + * *
    * Output only. Sample files contained in this fileset, not all files
    * contained in this fileset are represented here.
    * 
* - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getSampleGcsFileSpecsList() { return sampleGcsFileSpecs_; } /** + * + * *
    * Output only. Sample files contained in this fileset, not all files
    * contained in this fileset are represented here.
    * 
* - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getSampleGcsFileSpecsOrBuilderList() { return sampleGcsFileSpecs_; } /** + * + * *
    * Output only. Sample files contained in this fileset, not all files
    * contained in this fileset are represented here.
    * 
* - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getSampleGcsFileSpecsCount() { return sampleGcsFileSpecs_.size(); } /** + * + * *
    * Output only. Sample files contained in this fileset, not all files
    * contained in this fileset are represented here.
    * 
* - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1.GcsFileSpec getSampleGcsFileSpecs(int index) { return sampleGcsFileSpecs_.get(index); } /** + * + * *
    * Output only. Sample files contained in this fileset, not all files
    * contained in this fileset are represented here.
    * 
* - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1.GcsFileSpecOrBuilder getSampleGcsFileSpecsOrBuilder( @@ -277,6 +327,7 @@ public com.google.cloud.datacatalog.v1.GcsFileSpecOrBuilder getSampleGcsFileSpec } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -288,8 +339,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < filePatterns_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filePatterns_.getRaw(i)); } @@ -314,8 +364,8 @@ public int getSerializedSize() { size += 1 * getFilePatternsList().size(); } for (int i = 0; i < sampleGcsFileSpecs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, sampleGcsFileSpecs_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, sampleGcsFileSpecs_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -325,17 +375,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.datacatalog.v1.GcsFilesetSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.GcsFilesetSpec other = (com.google.cloud.datacatalog.v1.GcsFilesetSpec) obj; + com.google.cloud.datacatalog.v1.GcsFilesetSpec other = + (com.google.cloud.datacatalog.v1.GcsFilesetSpec) obj; - if (!getFilePatternsList() - .equals(other.getFilePatternsList())) return false; - if (!getSampleGcsFileSpecsList() - .equals(other.getSampleGcsFileSpecsList())) return false; + if (!getFilePatternsList().equals(other.getFilePatternsList())) return false; + if (!getSampleGcsFileSpecsList().equals(other.getSampleGcsFileSpecsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -360,138 +409,141 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.GcsFilesetSpec parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.GcsFilesetSpec parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.GcsFilesetSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.GcsFilesetSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.GcsFilesetSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.GcsFilesetSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.GcsFilesetSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.GcsFilesetSpec parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.GcsFilesetSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GcsFilesetSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.GcsFilesetSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.GcsFilesetSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.GcsFilesetSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.GcsFilesetSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.GcsFilesetSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 a Cloud Storage fileset entry.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.GcsFilesetSpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.GcsFilesetSpec) com.google.cloud.datacatalog.v1.GcsFilesetSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass + .internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass + .internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.GcsFilesetSpec.class, com.google.cloud.datacatalog.v1.GcsFilesetSpec.Builder.class); + com.google.cloud.datacatalog.v1.GcsFilesetSpec.class, + com.google.cloud.datacatalog.v1.GcsFilesetSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.GcsFilesetSpec.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - 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; - filePatterns_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + filePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); if (sampleGcsFileSpecsBuilder_ == null) { sampleGcsFileSpecs_ = java.util.Collections.emptyList(); } else { @@ -503,9 +555,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass + .internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_descriptor; } @java.lang.Override @@ -524,9 +576,12 @@ public com.google.cloud.datacatalog.v1.GcsFilesetSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1.GcsFilesetSpec buildPartial() { - com.google.cloud.datacatalog.v1.GcsFilesetSpec result = new com.google.cloud.datacatalog.v1.GcsFilesetSpec(this); + com.google.cloud.datacatalog.v1.GcsFilesetSpec result = + new com.google.cloud.datacatalog.v1.GcsFilesetSpec(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -555,38 +610,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.GcsFilesetSpec result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.GcsFilesetSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1.GcsFilesetSpec)other); + return mergeFrom((com.google.cloud.datacatalog.v1.GcsFilesetSpec) other); } else { super.mergeFrom(other); return this; @@ -623,9 +679,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.GcsFilesetSpec other) { sampleGcsFileSpecsBuilder_ = null; sampleGcsFileSpecs_ = other.sampleGcsFileSpecs_; bitField0_ = (bitField0_ & ~0x00000002); - sampleGcsFileSpecsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSampleGcsFileSpecsFieldBuilder() : null; + sampleGcsFileSpecsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSampleGcsFileSpecsFieldBuilder() + : null; } else { sampleGcsFileSpecsBuilder_.addAllMessages(other.sampleGcsFileSpecs_); } @@ -657,31 +714,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureFilePatternsIsMutable(); - filePatterns_.add(s); - break; - } // case 10 - case 18: { - com.google.cloud.datacatalog.v1.GcsFileSpec m = - input.readMessage( - com.google.cloud.datacatalog.v1.GcsFileSpec.parser(), - extensionRegistry); - if (sampleGcsFileSpecsBuilder_ == null) { - ensureSampleGcsFileSpecsIsMutable(); - sampleGcsFileSpecs_.add(m); - } else { - sampleGcsFileSpecsBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureFilePatternsIsMutable(); + filePatterns_.add(s); + break; + } // case 10 + case 18: + { + com.google.cloud.datacatalog.v1.GcsFileSpec m = + input.readMessage( + com.google.cloud.datacatalog.v1.GcsFileSpec.parser(), extensionRegistry); + if (sampleGcsFileSpecsBuilder_ == null) { + ensureSampleGcsFileSpecsIsMutable(); + sampleGcsFileSpecs_.add(m); + } else { + sampleGcsFileSpecsBuilder_.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) { @@ -691,10 +750,12 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.LazyStringArrayList filePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureFilePatternsIsMutable() { if (!filePatterns_.isModifiable()) { filePatterns_ = new com.google.protobuf.LazyStringArrayList(filePatterns_); @@ -702,6 +763,8 @@ private void ensureFilePatternsIsMutable() { bitField0_ |= 0x00000001; } /** + * + * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      *
@@ -735,14 +798,16 @@ private void ensureFilePatternsIsMutable() {
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the filePatterns. */ - public com.google.protobuf.ProtocolStringList - getFilePatternsList() { + public com.google.protobuf.ProtocolStringList getFilePatternsList() { filePatterns_.makeImmutable(); return filePatterns_; } /** + * + * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      *
@@ -776,12 +841,15 @@ private void ensureFilePatternsIsMutable() {
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of filePatterns. */ public int getFilePatternsCount() { return filePatterns_.size(); } /** + * + * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      *
@@ -815,6 +883,7 @@ public int getFilePatternsCount() {
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The filePatterns at the given index. */ @@ -822,6 +891,8 @@ public java.lang.String getFilePatterns(int index) { return filePatterns_.get(index); } /** + * + * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      *
@@ -855,14 +926,16 @@ public java.lang.String getFilePatterns(int index) {
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the filePatterns at the given index. */ - public com.google.protobuf.ByteString - getFilePatternsBytes(int index) { + public com.google.protobuf.ByteString getFilePatternsBytes(int index) { return filePatterns_.getByteString(index); } /** + * + * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      *
@@ -896,13 +969,15 @@ public java.lang.String getFilePatterns(int index) {
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index to set the value at. * @param value The filePatterns to set. * @return This builder for chaining. */ - public Builder setFilePatterns( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilePatterns(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureFilePatternsIsMutable(); filePatterns_.set(index, value); bitField0_ |= 0x00000001; @@ -910,6 +985,8 @@ public Builder setFilePatterns( return this; } /** + * + * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      *
@@ -943,12 +1020,14 @@ public Builder setFilePatterns(
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The filePatterns to add. * @return This builder for chaining. */ - public Builder addFilePatterns( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addFilePatterns(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureFilePatternsIsMutable(); filePatterns_.add(value); bitField0_ |= 0x00000001; @@ -956,6 +1035,8 @@ public Builder addFilePatterns( return this; } /** + * + * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      *
@@ -989,19 +1070,20 @@ public Builder addFilePatterns(
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param values The filePatterns to add. * @return This builder for chaining. */ - public Builder addAllFilePatterns( - java.lang.Iterable values) { + public Builder addAllFilePatterns(java.lang.Iterable values) { ensureFilePatternsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, filePatterns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, filePatterns_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      *
@@ -1035,16 +1117,19 @@ public Builder addAllFilePatterns(
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFilePatterns() { - filePatterns_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + filePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      *
@@ -1078,12 +1163,14 @@ public Builder clearFilePatterns() {
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes of the filePatterns to add. * @return This builder for chaining. */ - public Builder addFilePatternsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addFilePatternsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureFilePatternsIsMutable(); filePatterns_.add(value); @@ -1093,24 +1180,34 @@ public Builder addFilePatternsBytes( } private java.util.List sampleGcsFileSpecs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureSampleGcsFileSpecsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - sampleGcsFileSpecs_ = new java.util.ArrayList(sampleGcsFileSpecs_); + sampleGcsFileSpecs_ = + new java.util.ArrayList( + sampleGcsFileSpecs_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.GcsFileSpec, com.google.cloud.datacatalog.v1.GcsFileSpec.Builder, com.google.cloud.datacatalog.v1.GcsFileSpecOrBuilder> sampleGcsFileSpecsBuilder_; + com.google.cloud.datacatalog.v1.GcsFileSpec, + com.google.cloud.datacatalog.v1.GcsFileSpec.Builder, + com.google.cloud.datacatalog.v1.GcsFileSpecOrBuilder> + sampleGcsFileSpecsBuilder_; /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getSampleGcsFileSpecsList() { if (sampleGcsFileSpecsBuilder_ == null) { @@ -1120,12 +1217,16 @@ public java.util.List getSampleGcsF } } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getSampleGcsFileSpecsCount() { if (sampleGcsFileSpecsBuilder_ == null) { @@ -1135,12 +1236,16 @@ public int getSampleGcsFileSpecsCount() { } } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.datacatalog.v1.GcsFileSpec getSampleGcsFileSpecs(int index) { if (sampleGcsFileSpecsBuilder_ == null) { @@ -1150,12 +1255,16 @@ public com.google.cloud.datacatalog.v1.GcsFileSpec getSampleGcsFileSpecs(int ind } } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setSampleGcsFileSpecs( int index, com.google.cloud.datacatalog.v1.GcsFileSpec value) { @@ -1172,12 +1281,16 @@ public Builder setSampleGcsFileSpecs( return this; } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setSampleGcsFileSpecs( int index, com.google.cloud.datacatalog.v1.GcsFileSpec.Builder builderForValue) { @@ -1191,12 +1304,16 @@ public Builder setSampleGcsFileSpecs( return this; } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addSampleGcsFileSpecs(com.google.cloud.datacatalog.v1.GcsFileSpec value) { if (sampleGcsFileSpecsBuilder_ == null) { @@ -1212,12 +1329,16 @@ public Builder addSampleGcsFileSpecs(com.google.cloud.datacatalog.v1.GcsFileSpec return this; } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addSampleGcsFileSpecs( int index, com.google.cloud.datacatalog.v1.GcsFileSpec value) { @@ -1234,12 +1355,16 @@ public Builder addSampleGcsFileSpecs( return this; } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addSampleGcsFileSpecs( com.google.cloud.datacatalog.v1.GcsFileSpec.Builder builderForValue) { @@ -1253,12 +1378,16 @@ public Builder addSampleGcsFileSpecs( return this; } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addSampleGcsFileSpecs( int index, com.google.cloud.datacatalog.v1.GcsFileSpec.Builder builderForValue) { @@ -1272,19 +1401,22 @@ public Builder addSampleGcsFileSpecs( return this; } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllSampleGcsFileSpecs( java.lang.Iterable values) { if (sampleGcsFileSpecsBuilder_ == null) { ensureSampleGcsFileSpecsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, sampleGcsFileSpecs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sampleGcsFileSpecs_); onChanged(); } else { sampleGcsFileSpecsBuilder_.addAllMessages(values); @@ -1292,12 +1424,16 @@ public Builder addAllSampleGcsFileSpecs( return this; } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearSampleGcsFileSpecs() { if (sampleGcsFileSpecsBuilder_ == null) { @@ -1310,12 +1446,16 @@ public Builder clearSampleGcsFileSpecs() { return this; } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeSampleGcsFileSpecs(int index) { if (sampleGcsFileSpecsBuilder_ == null) { @@ -1328,42 +1468,55 @@ public Builder removeSampleGcsFileSpecs(int index) { return this; } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.datacatalog.v1.GcsFileSpec.Builder getSampleGcsFileSpecsBuilder( int index) { return getSampleGcsFileSpecsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.datacatalog.v1.GcsFileSpecOrBuilder getSampleGcsFileSpecsOrBuilder( int index) { if (sampleGcsFileSpecsBuilder_ == null) { - return sampleGcsFileSpecs_.get(index); } else { + return sampleGcsFileSpecs_.get(index); + } else { return sampleGcsFileSpecsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getSampleGcsFileSpecsOrBuilderList() { + public java.util.List + getSampleGcsFileSpecsOrBuilderList() { if (sampleGcsFileSpecsBuilder_ != null) { return sampleGcsFileSpecsBuilder_.getMessageOrBuilderList(); } else { @@ -1371,48 +1524,66 @@ public com.google.cloud.datacatalog.v1.GcsFileSpecOrBuilder getSampleGcsFileSpec } } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.datacatalog.v1.GcsFileSpec.Builder addSampleGcsFileSpecsBuilder() { - return getSampleGcsFileSpecsFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1.GcsFileSpec.getDefaultInstance()); + return getSampleGcsFileSpecsFieldBuilder() + .addBuilder(com.google.cloud.datacatalog.v1.GcsFileSpec.getDefaultInstance()); } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.datacatalog.v1.GcsFileSpec.Builder addSampleGcsFileSpecsBuilder( int index) { - return getSampleGcsFileSpecsFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1.GcsFileSpec.getDefaultInstance()); + return getSampleGcsFileSpecsFieldBuilder() + .addBuilder(index, com.google.cloud.datacatalog.v1.GcsFileSpec.getDefaultInstance()); } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getSampleGcsFileSpecsBuilderList() { + public java.util.List + getSampleGcsFileSpecsBuilderList() { return getSampleGcsFileSpecsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.GcsFileSpec, com.google.cloud.datacatalog.v1.GcsFileSpec.Builder, com.google.cloud.datacatalog.v1.GcsFileSpecOrBuilder> + com.google.cloud.datacatalog.v1.GcsFileSpec, + com.google.cloud.datacatalog.v1.GcsFileSpec.Builder, + com.google.cloud.datacatalog.v1.GcsFileSpecOrBuilder> getSampleGcsFileSpecsFieldBuilder() { if (sampleGcsFileSpecsBuilder_ == null) { - sampleGcsFileSpecsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.GcsFileSpec, com.google.cloud.datacatalog.v1.GcsFileSpec.Builder, com.google.cloud.datacatalog.v1.GcsFileSpecOrBuilder>( + sampleGcsFileSpecsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.GcsFileSpec, + com.google.cloud.datacatalog.v1.GcsFileSpec.Builder, + com.google.cloud.datacatalog.v1.GcsFileSpecOrBuilder>( sampleGcsFileSpecs_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -1421,9 +1592,9 @@ public com.google.cloud.datacatalog.v1.GcsFileSpec.Builder addSampleGcsFileSpecs } return sampleGcsFileSpecsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1433,12 +1604,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.GcsFilesetSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.GcsFilesetSpec) private static final com.google.cloud.datacatalog.v1.GcsFilesetSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.GcsFilesetSpec(); } @@ -1447,27 +1618,27 @@ public static com.google.cloud.datacatalog.v1.GcsFilesetSpec getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsFilesetSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsFilesetSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1482,6 +1653,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.GcsFilesetSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOrBuilder.java similarity index 82% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOrBuilder.java index a0925605aff9..4ef1af398796 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOrBuilder.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/datacatalog/v1/gcs_fileset_spec.proto package com.google.cloud.datacatalog.v1; -public interface GcsFilesetSpecOrBuilder extends +public interface GcsFilesetSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.GcsFilesetSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    *
@@ -41,11 +59,13 @@ public interface GcsFilesetSpecOrBuilder extends
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the filePatterns. */ - java.util.List - getFilePatternsList(); + java.util.List getFilePatternsList(); /** + * + * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    *
@@ -79,10 +99,13 @@ public interface GcsFilesetSpecOrBuilder extends
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of filePatterns. */ int getFilePatternsCount(); /** + * + * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    *
@@ -116,11 +139,14 @@ public interface GcsFilesetSpecOrBuilder extends
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The filePatterns at the given index. */ java.lang.String getFilePatterns(int index); /** + * + * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    *
@@ -154,58 +180,76 @@ public interface GcsFilesetSpecOrBuilder extends
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the filePatterns at the given index. */ - com.google.protobuf.ByteString - getFilePatternsBytes(int index); + com.google.protobuf.ByteString getFilePatternsBytes(int index); /** + * + * *
    * Output only. Sample files contained in this fileset, not all files
    * contained in this fileset are represented here.
    * 
* - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getSampleGcsFileSpecsList(); + java.util.List getSampleGcsFileSpecsList(); /** + * + * *
    * Output only. Sample files contained in this fileset, not all files
    * contained in this fileset are represented here.
    * 
* - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.datacatalog.v1.GcsFileSpec getSampleGcsFileSpecs(int index); /** + * + * *
    * Output only. Sample files contained in this fileset, not all files
    * contained in this fileset are represented here.
    * 
* - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getSampleGcsFileSpecsCount(); /** + * + * *
    * Output only. Sample files contained in this fileset, not all files
    * contained in this fileset are represented here.
    * 
* - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getSampleGcsFileSpecsOrBuilderList(); /** + * + * *
    * Output only. Sample files contained in this fileset, not all files
    * contained in this fileset are represented here.
    * 
* - * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.datacatalog.v1.GcsFileSpecOrBuilder getSampleGcsFileSpecsOrBuilder( - int index); + com.google.cloud.datacatalog.v1.GcsFileSpecOrBuilder getSampleGcsFileSpecsOrBuilder(int index); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOuterClass.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOuterClass.java new file mode 100644 index 000000000000..3dbd70a9a378 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOuterClass.java @@ -0,0 +1,97 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/gcs_fileset_spec.proto + +package com.google.cloud.datacatalog.v1; + +public final class GcsFilesetSpecOuterClass { + private GcsFilesetSpecOuterClass() {} + + 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_datacatalog_v1_GcsFilesetSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_GcsFileSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_GcsFileSpec_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n2google/cloud/datacatalog/v1/gcs_filese" + + "t_spec.proto\022\033google.cloud.datacatalog.v" + + "1\032\037google/api/field_behavior.proto\032,goog" + + "le/cloud/datacatalog/v1/timestamps.proto" + + "\"|\n\016GcsFilesetSpec\022\033\n\rfile_patterns\030\001 \003(" + + "\tB\004\342A\001\002\022M\n\025sample_gcs_file_specs\030\002 \003(\0132(" + + ".google.cloud.datacatalog.v1.GcsFileSpec" + + "B\004\342A\001\003\"\215\001\n\013GcsFileSpec\022\027\n\tfile_path\030\001 \001(" + + "\tB\004\342A\001\002\022K\n\016gcs_timestamps\030\002 \001(\0132-.google" + + ".cloud.datacatalog.v1.SystemTimestampsB\004" + + "\342A\001\003\022\030\n\nsize_bytes\030\004 \001(\003B\004\342A\001\003B\306\001\n\037com.g" + + "oogle.cloud.datacatalog.v1P\001ZAcloud.goog" + + "le.com/go/datacatalog/apiv1/datacatalogp" + + "b;datacatalogpb\370\001\001\252\002\033Google.Cloud.DataCa" + + "talog.V1\312\002\033Google\\Cloud\\DataCatalog\\V1\352\002" + + "\036Google::Cloud::DataCatalog::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.cloud.datacatalog.v1.Timestamps.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_descriptor, + new java.lang.String[] { + "FilePatterns", "SampleGcsFileSpecs", + }); + internal_static_google_cloud_datacatalog_v1_GcsFileSpec_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1_GcsFileSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_GcsFileSpec_descriptor, + new java.lang.String[] { + "FilePath", "GcsTimestamps", "SizeBytes", + }); + 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.datacatalog.v1.Timestamps.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequest.java similarity index 66% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequest.java index 0416eaa694e1..0312845c302a 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequest.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [GetEntryGroup][google.cloud.datacatalog.v1.DataCatalog.GetEntryGroup].
@@ -11,48 +28,56 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.GetEntryGroupRequest}
  */
-public final class GetEntryGroupRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GetEntryGroupRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.GetEntryGroupRequest)
     GetEntryGroupRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GetEntryGroupRequest.newBuilder() to construct.
   private GetEntryGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GetEntryGroupRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetEntryGroupRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.GetEntryGroupRequest.class, com.google.cloud.datacatalog.v1.GetEntryGroupRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.GetEntryGroupRequest.class,
+            com.google.cloud.datacatalog.v1.GetEntryGroupRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the entry group to get.
    * 
* - * string name = 1 [(.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,29 +86,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the entry group to get.
    * 
* - * string name = 1 [(.google.api.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,11 +121,14 @@ public java.lang.String getName() { public static final int READ_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask readMask_; /** + * + * *
    * The fields to return. If empty or omitted, all fields are returned.
    * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return Whether the readMask field is set. */ @java.lang.Override @@ -106,11 +136,14 @@ public boolean hasReadMask() { return readMask_ != null; } /** + * + * *
    * The fields to return. If empty or omitted, all fields are returned.
    * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return The readMask. */ @java.lang.Override @@ -118,6 +151,8 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** + * + * *
    * The fields to return. If empty or omitted, all fields are returned.
    * 
@@ -130,6 +165,7 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,8 +177,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -162,8 +197,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getReadMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -173,19 +207,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.datacatalog.v1.GetEntryGroupRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.GetEntryGroupRequest other = (com.google.cloud.datacatalog.v1.GetEntryGroupRequest) obj; + com.google.cloud.datacatalog.v1.GetEntryGroupRequest other = + (com.google.cloud.datacatalog.v1.GetEntryGroupRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask() - .equals(other.getReadMask())) return false; + if (!getReadMask().equals(other.getReadMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -210,98 +243,103 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.GetEntryGroupRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.GetEntryGroupRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.GetEntryGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.GetEntryGroupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.GetEntryGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.GetEntryGroupRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GetEntryGroupRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.GetEntryGroupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.GetEntryGroupRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GetEntryGroupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.GetEntryGroupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.GetEntryGroupRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.GetEntryGroupRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.GetEntryGroupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.GetEntryGroupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [GetEntryGroup][google.cloud.datacatalog.v1.DataCatalog.GetEntryGroup].
@@ -309,33 +347,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.GetEntryGroupRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.GetEntryGroupRequest)
       com.google.cloud.datacatalog.v1.GetEntryGroupRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.GetEntryGroupRequest.class, com.google.cloud.datacatalog.v1.GetEntryGroupRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.GetEntryGroupRequest.class,
+              com.google.cloud.datacatalog.v1.GetEntryGroupRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.GetEntryGroupRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -350,9 +387,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_descriptor;
     }
 
     @java.lang.Override
@@ -371,8 +408,11 @@ public com.google.cloud.datacatalog.v1.GetEntryGroupRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.GetEntryGroupRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.GetEntryGroupRequest result = new com.google.cloud.datacatalog.v1.GetEntryGroupRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.GetEntryGroupRequest result =
+          new com.google.cloud.datacatalog.v1.GetEntryGroupRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -383,9 +423,7 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.GetEntryGroupRequest
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.readMask_ = readMaskBuilder_ == null
-            ? readMask_
-            : readMaskBuilder_.build();
+        result.readMask_ = readMaskBuilder_ == null ? readMask_ : readMaskBuilder_.build();
       }
     }
 
@@ -393,38 +431,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.GetEntryGroupRequest
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.GetEntryGroupRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.GetEntryGroupRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.GetEntryGroupRequest) 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.datacatalog.v1.GetEntryGroupRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.GetEntryGroupRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.GetEntryGroupRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -467,24 +507,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getReadMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getReadMaskFieldBuilder().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) {
@@ -494,22 +535,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the entry group to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -518,20 +564,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the entry group to get.
      * 
* - * string name = 1 [(.google.api.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 { @@ -539,28 +588,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the entry group to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the entry group to get.
      * 
* - * string 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() { @@ -570,17 +630,23 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the entry group to get.
      * 
* - * string name = 1 [(.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; @@ -590,24 +656,33 @@ public Builder setNameBytes( private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + readMaskBuilder_; /** + * + * *
      * The fields to return. If empty or omitted, all fields are returned.
      * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The fields to return. If empty or omitted, all fields are returned.
      * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -618,6 +693,8 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** + * + * *
      * The fields to return. If empty or omitted, all fields are returned.
      * 
@@ -638,14 +715,15 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The fields to return. If empty or omitted, all fields are returned.
      * 
* * .google.protobuf.FieldMask read_mask = 2; */ - public Builder setReadMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); } else { @@ -656,6 +734,8 @@ public Builder setReadMask( return this; } /** + * + * *
      * The fields to return. If empty or omitted, all fields are returned.
      * 
@@ -664,9 +744,9 @@ public Builder setReadMask( */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - readMask_ != null && - readMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && readMask_ != null + && readMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getReadMaskBuilder().mergeFrom(value); } else { readMask_ = value; @@ -679,6 +759,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The fields to return. If empty or omitted, all fields are returned.
      * 
@@ -696,6 +778,8 @@ public Builder clearReadMask() { return this; } /** + * + * *
      * The fields to return. If empty or omitted, all fields are returned.
      * 
@@ -708,6 +792,8 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { return getReadMaskFieldBuilder().getBuilder(); } /** + * + * *
      * The fields to return. If empty or omitted, all fields are returned.
      * 
@@ -718,11 +804,12 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** + * + * *
      * The fields to return. If empty or omitted, all fields are returned.
      * 
@@ -730,21 +817,24 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { * .google.protobuf.FieldMask read_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), - getParentForChildren(), - isClean()); + readMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), getParentForChildren(), isClean()); readMask_ = null; } return readMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -754,12 +844,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.GetEntryGroupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.GetEntryGroupRequest) private static final com.google.cloud.datacatalog.v1.GetEntryGroupRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.GetEntryGroupRequest(); } @@ -768,27 +858,27 @@ public static com.google.cloud.datacatalog.v1.GetEntryGroupRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetEntryGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetEntryGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -803,6 +893,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.GetEntryGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequestOrBuilder.java index 580920d70316..5f215f2ef185 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequestOrBuilder.java @@ -1,51 +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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface GetEntryGroupRequestOrBuilder extends +public interface GetEntryGroupRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.GetEntryGroupRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the entry group to get.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the entry group to get.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The fields to return. If empty or omitted, all fields are returned.
    * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** + * + * *
    * The fields to return. If empty or omitted, all fields are returned.
    * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** + * + * *
    * The fields to return. If empty or omitted, all fields are returned.
    * 
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequest.java similarity index 62% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequest.java index d0ec140a1a60..e2aca446c31c 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequest.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [GetEntry][google.cloud.datacatalog.v1.DataCatalog.GetEntry].
@@ -11,48 +28,56 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.GetEntryRequest}
  */
-public final class GetEntryRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GetEntryRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.GetEntryRequest)
     GetEntryRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GetEntryRequest.newBuilder() to construct.
   private GetEntryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GetEntryRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetEntryRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_GetEntryRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_GetEntryRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_GetEntryRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_GetEntryRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.GetEntryRequest.class, com.google.cloud.datacatalog.v1.GetEntryRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.GetEntryRequest.class,
+            com.google.cloud.datacatalog.v1.GetEntryRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the entry to get.
    * 
* - * string name = 1 [(.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,29 +86,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the entry to get.
    * 
* - * string name = 1 [(.google.api.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 { @@ -92,6 +119,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -103,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_); } @@ -128,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.datacatalog.v1.GetEntryRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.GetEntryRequest other = (com.google.cloud.datacatalog.v1.GetEntryRequest) obj; + com.google.cloud.datacatalog.v1.GetEntryRequest other = + (com.google.cloud.datacatalog.v1.GetEntryRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -155,99 +182,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.GetEntryRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.GetEntryRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.GetEntryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.GetEntryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.GetEntryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.GetEntryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.GetEntryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.GetEntryRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.GetEntryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GetEntryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.GetEntryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.GetEntryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.GetEntryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.GetEntryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.GetEntryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [GetEntry][google.cloud.datacatalog.v1.DataCatalog.GetEntry].
@@ -255,33 +287,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.GetEntryRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.GetEntryRequest)
       com.google.cloud.datacatalog.v1.GetEntryRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_GetEntryRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_GetEntryRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_GetEntryRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_GetEntryRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.GetEntryRequest.class, com.google.cloud.datacatalog.v1.GetEntryRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.GetEntryRequest.class,
+              com.google.cloud.datacatalog.v1.GetEntryRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.GetEntryRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        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.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_GetEntryRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_GetEntryRequest_descriptor;
     }
 
     @java.lang.Override
@@ -312,8 +343,11 @@ public com.google.cloud.datacatalog.v1.GetEntryRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.GetEntryRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.GetEntryRequest result = new com.google.cloud.datacatalog.v1.GetEntryRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.GetEntryRequest result =
+          new com.google.cloud.datacatalog.v1.GetEntryRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.GetEntryRequest 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.datacatalog.v1.GetEntryRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.GetEntryRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.GetEntryRequest) 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.datacatalog.v1.GetEntryRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.GetEntryRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.GetEntryRequest.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,22 +458,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the entry to get.
      * 
* - * string name = 1 [(.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; @@ -444,20 +487,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the entry to get.
      * 
* - * string name = 1 [(.google.api.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 { @@ -465,28 +511,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the entry to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the entry to get.
      * 
* - * string 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() { @@ -496,26 +553,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the entry to get.
      * 
* - * string name = 1 [(.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); } @@ -525,12 +588,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.GetEntryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.GetEntryRequest) private static final com.google.cloud.datacatalog.v1.GetEntryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.GetEntryRequest(); } @@ -539,27 +602,27 @@ public static com.google.cloud.datacatalog.v1.GetEntryRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetEntryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetEntryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -574,6 +637,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.GetEntryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequestOrBuilder.java new file mode 100644 index 000000000000..d31422b29231 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequestOrBuilder.java @@ -0,0 +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/datacatalog/v1/datacatalog.proto + +package com.google.cloud.datacatalog.v1; + +public interface GetEntryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.GetEntryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the entry to get.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the entry to get.
+   * 
+ * + * + * 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-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequest.java similarity index 63% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequest.java index c6ecbcb8fceb..1cf69cf798d3 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequest.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/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [GetPolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.GetPolicyTag].
@@ -11,48 +28,56 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.GetPolicyTagRequest}
  */
-public final class GetPolicyTagRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GetPolicyTagRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.GetPolicyTagRequest)
     GetPolicyTagRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GetPolicyTagRequest.newBuilder() to construct.
   private GetPolicyTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GetPolicyTagRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetPolicyTagRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.GetPolicyTagRequest.class, com.google.cloud.datacatalog.v1.GetPolicyTagRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.GetPolicyTagRequest.class,
+            com.google.cloud.datacatalog.v1.GetPolicyTagRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. Resource name of the policy tag.
    * 
* - * string name = 1 [(.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,29 +86,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Resource name of the policy tag.
    * 
* - * string name = 1 [(.google.api.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 { @@ -92,6 +119,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -103,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_); } @@ -128,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.datacatalog.v1.GetPolicyTagRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.GetPolicyTagRequest other = (com.google.cloud.datacatalog.v1.GetPolicyTagRequest) obj; + com.google.cloud.datacatalog.v1.GetPolicyTagRequest other = + (com.google.cloud.datacatalog.v1.GetPolicyTagRequest) 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,98 +183,103 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.GetPolicyTagRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.GetPolicyTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.GetPolicyTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.GetPolicyTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.GetPolicyTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.GetPolicyTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GetPolicyTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.GetPolicyTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.GetPolicyTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GetPolicyTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.GetPolicyTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.GetPolicyTagRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.GetPolicyTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.GetPolicyTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.GetPolicyTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [GetPolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.GetPolicyTag].
@@ -255,33 +287,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.GetPolicyTagRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.GetPolicyTagRequest)
       com.google.cloud.datacatalog.v1.GetPolicyTagRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.GetPolicyTagRequest.class, com.google.cloud.datacatalog.v1.GetPolicyTagRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.GetPolicyTagRequest.class,
+              com.google.cloud.datacatalog.v1.GetPolicyTagRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.GetPolicyTagRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        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.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_descriptor;
     }
 
     @java.lang.Override
@@ -312,8 +343,11 @@ public com.google.cloud.datacatalog.v1.GetPolicyTagRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.GetPolicyTagRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.GetPolicyTagRequest result = new com.google.cloud.datacatalog.v1.GetPolicyTagRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.GetPolicyTagRequest result =
+          new com.google.cloud.datacatalog.v1.GetPolicyTagRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.GetPolicyTagRequest 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.datacatalog.v1.GetPolicyTagRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.GetPolicyTagRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.GetPolicyTagRequest) 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.datacatalog.v1.GetPolicyTagRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.GetPolicyTagRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.GetPolicyTagRequest.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,22 +458,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. Resource name of the policy tag.
      * 
* - * string name = 1 [(.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; @@ -444,20 +487,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the policy tag.
      * 
* - * string name = 1 [(.google.api.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 { @@ -465,28 +511,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the policy tag.
      * 
* - * string name = 1 [(.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. Resource name of the policy tag.
      * 
* - * string 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() { @@ -496,26 +553,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Resource name of the policy tag.
      * 
* - * string name = 1 [(.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); } @@ -525,12 +588,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.GetPolicyTagRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.GetPolicyTagRequest) private static final com.google.cloud.datacatalog.v1.GetPolicyTagRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.GetPolicyTagRequest(); } @@ -539,27 +602,27 @@ public static com.google.cloud.datacatalog.v1.GetPolicyTagRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPolicyTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPolicyTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -574,6 +637,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.GetPolicyTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequestOrBuilder.java new file mode 100644 index 000000000000..955484eb5ec5 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequestOrBuilder.java @@ -0,0 +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/datacatalog/v1/policytagmanager.proto + +package com.google.cloud.datacatalog.v1; + +public interface GetPolicyTagRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.GetPolicyTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Resource name of the policy tag.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Resource name of the policy tag.
+   * 
+ * + * + * 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-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequest.java similarity index 61% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequest.java index 6ec1d6cc3b44..2fe68c142ca0 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequest.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [GetTagTemplate][google.cloud.datacatalog.v1.DataCatalog.GetTagTemplate].
@@ -11,48 +28,56 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.GetTagTemplateRequest}
  */
-public final class GetTagTemplateRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GetTagTemplateRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.GetTagTemplateRequest)
     GetTagTemplateRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GetTagTemplateRequest.newBuilder() to construct.
   private GetTagTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GetTagTemplateRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetTagTemplateRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.GetTagTemplateRequest.class, com.google.cloud.datacatalog.v1.GetTagTemplateRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.GetTagTemplateRequest.class,
+            com.google.cloud.datacatalog.v1.GetTagTemplateRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the tag template to get.
    * 
* - * string name = 1 [(.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,29 +86,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the tag template to get.
    * 
* - * string name = 1 [(.google.api.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 { @@ -92,6 +119,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -103,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_); } @@ -128,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.datacatalog.v1.GetTagTemplateRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.GetTagTemplateRequest other = (com.google.cloud.datacatalog.v1.GetTagTemplateRequest) obj; + com.google.cloud.datacatalog.v1.GetTagTemplateRequest other = + (com.google.cloud.datacatalog.v1.GetTagTemplateRequest) 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,98 +183,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.GetTagTemplateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.GetTagTemplateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.GetTagTemplateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.GetTagTemplateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.GetTagTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.GetTagTemplateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GetTagTemplateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.GetTagTemplateRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.GetTagTemplateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GetTagTemplateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.GetTagTemplateRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.GetTagTemplateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.GetTagTemplateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.GetTagTemplateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.GetTagTemplateRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.GetTagTemplateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [GetTagTemplate][google.cloud.datacatalog.v1.DataCatalog.GetTagTemplate].
@@ -255,33 +288,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.GetTagTemplateRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.GetTagTemplateRequest)
       com.google.cloud.datacatalog.v1.GetTagTemplateRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.GetTagTemplateRequest.class, com.google.cloud.datacatalog.v1.GetTagTemplateRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.GetTagTemplateRequest.class,
+              com.google.cloud.datacatalog.v1.GetTagTemplateRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.GetTagTemplateRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        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.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_descriptor;
     }
 
     @java.lang.Override
@@ -312,8 +344,11 @@ public com.google.cloud.datacatalog.v1.GetTagTemplateRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.GetTagTemplateRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.GetTagTemplateRequest result = new com.google.cloud.datacatalog.v1.GetTagTemplateRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.GetTagTemplateRequest result =
+          new com.google.cloud.datacatalog.v1.GetTagTemplateRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -329,38 +364,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.GetTagTemplateRequest
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.GetTagTemplateRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.GetTagTemplateRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.GetTagTemplateRequest) 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.datacatalog.v1.GetTagTemplateRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.GetTagTemplateRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.GetTagTemplateRequest.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,22 +459,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the tag template to get.
      * 
* - * string name = 1 [(.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; @@ -444,20 +488,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the tag template to get.
      * 
* - * string name = 1 [(.google.api.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 { @@ -465,28 +512,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the tag template to get.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the tag template to get.
      * 
* - * string 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() { @@ -496,26 +554,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the tag template to get.
      * 
* - * string name = 1 [(.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); } @@ -525,12 +589,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.GetTagTemplateRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.GetTagTemplateRequest) private static final com.google.cloud.datacatalog.v1.GetTagTemplateRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.GetTagTemplateRequest(); } @@ -539,27 +603,27 @@ public static com.google.cloud.datacatalog.v1.GetTagTemplateRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTagTemplateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTagTemplateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -574,6 +638,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.GetTagTemplateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequestOrBuilder.java new file mode 100644 index 000000000000..c37223a2dfdd --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequestOrBuilder.java @@ -0,0 +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/datacatalog/v1/datacatalog.proto + +package com.google.cloud.datacatalog.v1; + +public interface GetTagTemplateRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.GetTagTemplateRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the tag template to get.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the tag template to get.
+   * 
+ * + * + * 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-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequest.java similarity index 63% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequest.java index b31dc1f28db2..5790c85e3a38 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequest.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/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [GetTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.GetTaxonomy].
@@ -11,48 +28,56 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.GetTaxonomyRequest}
  */
-public final class GetTaxonomyRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GetTaxonomyRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.GetTaxonomyRequest)
     GetTaxonomyRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GetTaxonomyRequest.newBuilder() to construct.
   private GetTaxonomyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GetTaxonomyRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetTaxonomyRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.GetTaxonomyRequest.class, com.google.cloud.datacatalog.v1.GetTaxonomyRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.GetTaxonomyRequest.class,
+            com.google.cloud.datacatalog.v1.GetTaxonomyRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. Resource name of the taxonomy to get.
    * 
* - * string name = 1 [(.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,29 +86,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Resource name of the taxonomy to get.
    * 
* - * string name = 1 [(.google.api.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 { @@ -92,6 +119,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -103,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_); } @@ -128,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.datacatalog.v1.GetTaxonomyRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.GetTaxonomyRequest other = (com.google.cloud.datacatalog.v1.GetTaxonomyRequest) obj; + com.google.cloud.datacatalog.v1.GetTaxonomyRequest other = + (com.google.cloud.datacatalog.v1.GetTaxonomyRequest) 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,98 +183,103 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.GetTaxonomyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.GetTaxonomyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.GetTaxonomyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.GetTaxonomyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.GetTaxonomyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.GetTaxonomyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GetTaxonomyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.GetTaxonomyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.GetTaxonomyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.GetTaxonomyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.GetTaxonomyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.GetTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.GetTaxonomyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.GetTaxonomyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.GetTaxonomyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [GetTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.GetTaxonomy].
@@ -255,33 +287,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.GetTaxonomyRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.GetTaxonomyRequest)
       com.google.cloud.datacatalog.v1.GetTaxonomyRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.GetTaxonomyRequest.class, com.google.cloud.datacatalog.v1.GetTaxonomyRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.GetTaxonomyRequest.class,
+              com.google.cloud.datacatalog.v1.GetTaxonomyRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.GetTaxonomyRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        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.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
@@ -312,8 +343,11 @@ public com.google.cloud.datacatalog.v1.GetTaxonomyRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.GetTaxonomyRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.GetTaxonomyRequest result = new com.google.cloud.datacatalog.v1.GetTaxonomyRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.GetTaxonomyRequest result =
+          new com.google.cloud.datacatalog.v1.GetTaxonomyRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.GetTaxonomyRequest 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.datacatalog.v1.GetTaxonomyRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.GetTaxonomyRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.GetTaxonomyRequest) 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.datacatalog.v1.GetTaxonomyRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.GetTaxonomyRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.GetTaxonomyRequest.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,22 +458,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. Resource name of the taxonomy to get.
      * 
* - * string name = 1 [(.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; @@ -444,20 +487,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the taxonomy to get.
      * 
* - * string name = 1 [(.google.api.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 { @@ -465,28 +511,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the taxonomy to get.
      * 
* - * string name = 1 [(.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. Resource name of the taxonomy to get.
      * 
* - * string 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() { @@ -496,26 +553,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Resource name of the taxonomy to get.
      * 
* - * string name = 1 [(.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); } @@ -525,12 +588,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.GetTaxonomyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.GetTaxonomyRequest) private static final com.google.cloud.datacatalog.v1.GetTaxonomyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.GetTaxonomyRequest(); } @@ -539,27 +602,27 @@ public static com.google.cloud.datacatalog.v1.GetTaxonomyRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTaxonomyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTaxonomyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -574,6 +637,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.GetTaxonomyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequestOrBuilder.java new file mode 100644 index 000000000000..d577ffaa3cf6 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequestOrBuilder.java @@ -0,0 +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/datacatalog/v1/policytagmanager.proto + +package com.google.cloud.datacatalog.v1; + +public interface GetTaxonomyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.GetTaxonomyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Resource name of the taxonomy to get.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Resource name of the taxonomy to get.
+   * 
+ * + * + * 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-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadata.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadata.java similarity index 72% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadata.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadata.java index 2d5f2563e12f..440110a2a908 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadata.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadata.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Metadata message for [long-running operation][google.longrunning.Operation]
  * returned by the
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ImportEntriesMetadata}
  */
-public final class ImportEntriesMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ImportEntriesMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ImportEntriesMetadata)
     ImportEntriesMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ImportEntriesMetadata.newBuilder() to construct.
   private ImportEntriesMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ImportEntriesMetadata() {
     state_ = 0;
     errors_ = java.util.Collections.emptyList();
@@ -28,34 +46,38 @@ private ImportEntriesMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ImportEntriesMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ImportEntriesMetadata.class, com.google.cloud.datacatalog.v1.ImportEntriesMetadata.Builder.class);
+            com.google.cloud.datacatalog.v1.ImportEntriesMetadata.class,
+            com.google.cloud.datacatalog.v1.ImportEntriesMetadata.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Enum holding possible states of the import operation.
    * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState} */ - public enum ImportState - implements com.google.protobuf.ProtocolMessageEnum { + public enum ImportState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value. This value is unused.
      * 
@@ -64,6 +86,8 @@ public enum ImportState */ IMPORT_STATE_UNSPECIFIED(0), /** + * + * *
      * The dump with entries has been queued for import.
      * 
@@ -72,6 +96,8 @@ public enum ImportState */ IMPORT_QUEUED(1), /** + * + * *
      * The import of entries is in progress.
      * 
@@ -80,6 +106,8 @@ public enum ImportState */ IMPORT_IN_PROGRESS(2), /** + * + * *
      * The import of entries has been finished.
      * 
@@ -88,6 +116,8 @@ public enum ImportState */ IMPORT_DONE(3), /** + * + * *
      * The import of entries has been abandoned in favor of a newer request.
      * 
@@ -99,6 +129,8 @@ public enum ImportState ; /** + * + * *
      * Default value. This value is unused.
      * 
@@ -107,6 +139,8 @@ public enum ImportState */ public static final int IMPORT_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The dump with entries has been queued for import.
      * 
@@ -115,6 +149,8 @@ public enum ImportState */ public static final int IMPORT_QUEUED_VALUE = 1; /** + * + * *
      * The import of entries is in progress.
      * 
@@ -123,6 +159,8 @@ public enum ImportState */ public static final int IMPORT_IN_PROGRESS_VALUE = 2; /** + * + * *
      * The import of entries has been finished.
      * 
@@ -131,6 +169,8 @@ public enum ImportState */ public static final int IMPORT_DONE_VALUE = 3; /** + * + * *
      * The import of entries has been abandoned in favor of a newer request.
      * 
@@ -139,7 +179,6 @@ public enum ImportState */ public static final int IMPORT_OBSOLETE_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -164,51 +203,55 @@ public static ImportState valueOf(int value) { */ public static ImportState forNumber(int value) { switch (value) { - case 0: return IMPORT_STATE_UNSPECIFIED; - case 1: return IMPORT_QUEUED; - case 2: return IMPORT_IN_PROGRESS; - case 3: return IMPORT_DONE; - case 4: return IMPORT_OBSOLETE; - default: return null; + case 0: + return IMPORT_STATE_UNSPECIFIED; + case 1: + return IMPORT_QUEUED; + case 2: + return IMPORT_IN_PROGRESS; + case 3: + return IMPORT_DONE; + case 4: + return IMPORT_OBSOLETE; + 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< - ImportState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ImportState findValueByNumber(int number) { - return ImportState.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 ImportState findValueByNumber(int number) { + return ImportState.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.datacatalog.v1.ImportEntriesMetadata.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.ImportEntriesMetadata.getDescriptor() + .getEnumTypes() + .get(0); } private static final ImportState[] VALUES = values(); - public static ImportState valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ImportState 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,33 +271,47 @@ private ImportState(int value) { public static final int STATE_FIELD_NUMBER = 1; private int state_ = 0; /** + * + * *
    * State of the import operation.
    * 
* * .google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState 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_; } /** + * + * *
    * State of the import operation.
    * 
* * .google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState state = 1; + * * @return The state. */ - @java.lang.Override public com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState getState() { - com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState result = com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState.forNumber(state_); - return result == null ? com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState getState() { + com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState result = + com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState.forNumber(state_); + return result == null + ? com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState.UNRECOGNIZED + : result; } public static final int ERRORS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List errors_; /** + * + * *
    * Partial errors that are encountered during the ImportEntries operation.
    * There is no guarantee that all the encountered errors are reported.
@@ -269,6 +326,8 @@ public java.util.List getErrorsList() {
     return errors_;
   }
   /**
+   *
+   *
    * 
    * Partial errors that are encountered during the ImportEntries operation.
    * There is no guarantee that all the encountered errors are reported.
@@ -279,11 +338,12 @@ public java.util.List getErrorsList() {
    * repeated .google.rpc.Status errors = 2;
    */
   @java.lang.Override
-  public java.util.List 
-      getErrorsOrBuilderList() {
+  public java.util.List getErrorsOrBuilderList() {
     return errors_;
   }
   /**
+   *
+   *
    * 
    * Partial errors that are encountered during the ImportEntries operation.
    * There is no guarantee that all the encountered errors are reported.
@@ -298,6 +358,8 @@ public int getErrorsCount() {
     return errors_.size();
   }
   /**
+   *
+   *
    * 
    * Partial errors that are encountered during the ImportEntries operation.
    * There is no guarantee that all the encountered errors are reported.
@@ -312,6 +374,8 @@ public com.google.rpc.Status getErrors(int index) {
     return errors_.get(index);
   }
   /**
+   *
+   *
    * 
    * Partial errors that are encountered during the ImportEntries operation.
    * There is no guarantee that all the encountered errors are reported.
@@ -322,12 +386,12 @@ public com.google.rpc.Status getErrors(int index) {
    * repeated .google.rpc.Status errors = 2;
    */
   @java.lang.Override
-  public com.google.rpc.StatusOrBuilder getErrorsOrBuilder(
-      int index) {
+  public com.google.rpc.StatusOrBuilder getErrorsOrBuilder(int index) {
     return errors_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -339,9 +403,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.datacatalog.v1.ImportEntriesMetadata.ImportState.IMPORT_STATE_UNSPECIFIED.getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    if (state_
+        != com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState
+            .IMPORT_STATE_UNSPECIFIED
+            .getNumber()) {
       output.writeEnum(1, state_);
     }
     for (int i = 0; i < errors_.size(); i++) {
@@ -356,13 +422,14 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (state_ != com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState.IMPORT_STATE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(1, state_);
+    if (state_
+        != com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState
+            .IMPORT_STATE_UNSPECIFIED
+            .getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_);
     }
     for (int i = 0; i < errors_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, errors_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -372,16 +439,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.datacatalog.v1.ImportEntriesMetadata)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1.ImportEntriesMetadata other = (com.google.cloud.datacatalog.v1.ImportEntriesMetadata) obj;
+    com.google.cloud.datacatalog.v1.ImportEntriesMetadata other =
+        (com.google.cloud.datacatalog.v1.ImportEntriesMetadata) obj;
 
     if (state_ != other.state_) return false;
-    if (!getErrorsList()
-        .equals(other.getErrorsList())) return false;
+    if (!getErrorsList().equals(other.getErrorsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -405,98 +472,104 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1.ImportEntriesMetadata parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.ImportEntriesMetadata parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.ImportEntriesMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.ImportEntriesMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.ImportEntriesMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.ImportEntriesMetadata parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.datacatalog.v1.ImportEntriesMetadata parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.datacatalog.v1.ImportEntriesMetadata parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1.ImportEntriesMetadata parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1.ImportEntriesMetadata parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.ImportEntriesMetadata parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1.ImportEntriesMetadata parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.ImportEntriesMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1.ImportEntriesMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.datacatalog.v1.ImportEntriesMetadata prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.datacatalog.v1.ImportEntriesMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Metadata message for [long-running operation][google.longrunning.Operation]
    * returned by the
@@ -505,33 +578,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ImportEntriesMetadata}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ImportEntriesMetadata)
       com.google.cloud.datacatalog.v1.ImportEntriesMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ImportEntriesMetadata.class, com.google.cloud.datacatalog.v1.ImportEntriesMetadata.Builder.class);
+              com.google.cloud.datacatalog.v1.ImportEntriesMetadata.class,
+              com.google.cloud.datacatalog.v1.ImportEntriesMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ImportEntriesMetadata.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -548,9 +620,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -569,14 +641,18 @@ public com.google.cloud.datacatalog.v1.ImportEntriesMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ImportEntriesMetadata buildPartial() {
-      com.google.cloud.datacatalog.v1.ImportEntriesMetadata result = new com.google.cloud.datacatalog.v1.ImportEntriesMetadata(this);
+      com.google.cloud.datacatalog.v1.ImportEntriesMetadata result =
+          new com.google.cloud.datacatalog.v1.ImportEntriesMetadata(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1.ImportEntriesMetadata result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.datacatalog.v1.ImportEntriesMetadata result) {
       if (errorsBuilder_ == null) {
         if (((bitField0_ & 0x00000002) != 0)) {
           errors_ = java.util.Collections.unmodifiableList(errors_);
@@ -599,38 +675,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ImportEntriesMetadata
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ImportEntriesMetadata) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ImportEntriesMetadata)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ImportEntriesMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -638,7 +715,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ImportEntriesMetadata other) {
-      if (other == com.google.cloud.datacatalog.v1.ImportEntriesMetadata.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.ImportEntriesMetadata.getDefaultInstance())
+        return this;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
       }
@@ -660,9 +738,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.ImportEntriesMetadata o
             errorsBuilder_ = null;
             errors_ = other.errors_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            errorsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getErrorsFieldBuilder() : null;
+            errorsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getErrorsFieldBuilder()
+                    : null;
           } else {
             errorsBuilder_.addAllMessages(other.errors_);
           }
@@ -694,30 +773,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 18: {
-              com.google.rpc.Status m =
-                  input.readMessage(
-                      com.google.rpc.Status.parser(),
-                      extensionRegistry);
-              if (errorsBuilder_ == null) {
-                ensureErrorsIsMutable();
-                errors_.add(m);
-              } else {
-                errorsBuilder_.addMessage(m);
-              }
-              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:
+              {
+                com.google.rpc.Status m =
+                    input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
+                if (errorsBuilder_ == null) {
+                  ensureErrorsIsMutable();
+                  errors_.add(m);
+                } else {
+                  errorsBuilder_.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) {
@@ -727,26 +807,34 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private int state_ = 0;
     /**
+     *
+     *
      * 
      * State of the import operation.
      * 
* * .google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState 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_; } /** + * + * *
      * State of the import operation.
      * 
* * .google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState state = 1; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -757,28 +845,38 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * State of the import operation.
      * 
* * .google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState state = 1; + * * @return The state. */ @java.lang.Override public com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState getState() { - com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState result = com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState.forNumber(state_); - return result == null ? com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState.UNRECOGNIZED : result; + com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState result = + com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState.forNumber(state_); + return result == null + ? com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState.UNRECOGNIZED + : result; } /** + * + * *
      * State of the import operation.
      * 
* * .google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState state = 1; + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState(com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState value) { + public Builder setState( + com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState value) { if (value == null) { throw new NullPointerException(); } @@ -788,11 +886,14 @@ public Builder setState(com.google.cloud.datacatalog.v1.ImportEntriesMetadata.Im return this; } /** + * + * *
      * State of the import operation.
      * 
* * .google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState state = 1; + * * @return This builder for chaining. */ public Builder clearState() { @@ -802,19 +903,22 @@ public Builder clearState() { return this; } - private java.util.List errors_ = - java.util.Collections.emptyList(); + private java.util.List errors_ = java.util.Collections.emptyList(); + private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorsBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + errorsBuilder_; /** + * + * *
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -832,6 +936,8 @@ public java.util.List getErrorsList() {
       }
     }
     /**
+     *
+     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -849,6 +955,8 @@ public int getErrorsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -866,6 +974,8 @@ public com.google.rpc.Status getErrors(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -875,8 +985,7 @@ public com.google.rpc.Status getErrors(int index) {
      *
      * repeated .google.rpc.Status errors = 2;
      */
-    public Builder setErrors(
-        int index, com.google.rpc.Status value) {
+    public Builder setErrors(int index, com.google.rpc.Status value) {
       if (errorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -890,6 +999,8 @@ public Builder setErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -899,8 +1010,7 @@ public Builder setErrors(
      *
      * repeated .google.rpc.Status errors = 2;
      */
-    public Builder setErrors(
-        int index, com.google.rpc.Status.Builder builderForValue) {
+    public Builder setErrors(int index, com.google.rpc.Status.Builder builderForValue) {
       if (errorsBuilder_ == null) {
         ensureErrorsIsMutable();
         errors_.set(index, builderForValue.build());
@@ -911,6 +1021,8 @@ public Builder setErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -934,6 +1046,8 @@ public Builder addErrors(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -943,8 +1057,7 @@ public Builder addErrors(com.google.rpc.Status value) {
      *
      * repeated .google.rpc.Status errors = 2;
      */
-    public Builder addErrors(
-        int index, com.google.rpc.Status value) {
+    public Builder addErrors(int index, com.google.rpc.Status value) {
       if (errorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -958,6 +1071,8 @@ public Builder addErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -967,8 +1082,7 @@ public Builder addErrors(
      *
      * repeated .google.rpc.Status errors = 2;
      */
-    public Builder addErrors(
-        com.google.rpc.Status.Builder builderForValue) {
+    public Builder addErrors(com.google.rpc.Status.Builder builderForValue) {
       if (errorsBuilder_ == null) {
         ensureErrorsIsMutable();
         errors_.add(builderForValue.build());
@@ -979,6 +1093,8 @@ public Builder addErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -988,8 +1104,7 @@ public Builder addErrors(
      *
      * repeated .google.rpc.Status errors = 2;
      */
-    public Builder addErrors(
-        int index, com.google.rpc.Status.Builder builderForValue) {
+    public Builder addErrors(int index, com.google.rpc.Status.Builder builderForValue) {
       if (errorsBuilder_ == null) {
         ensureErrorsIsMutable();
         errors_.add(index, builderForValue.build());
@@ -1000,6 +1115,8 @@ public Builder addErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -1009,12 +1126,10 @@ public Builder addErrors(
      *
      * repeated .google.rpc.Status errors = 2;
      */
-    public Builder addAllErrors(
-        java.lang.Iterable values) {
+    public Builder addAllErrors(java.lang.Iterable values) {
       if (errorsBuilder_ == null) {
         ensureErrorsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, errors_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_);
         onChanged();
       } else {
         errorsBuilder_.addAllMessages(values);
@@ -1022,6 +1137,8 @@ public Builder addAllErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -1042,6 +1159,8 @@ public Builder clearErrors() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -1062,6 +1181,8 @@ public Builder removeErrors(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -1071,11 +1192,12 @@ public Builder removeErrors(int index) {
      *
      * repeated .google.rpc.Status errors = 2;
      */
-    public com.google.rpc.Status.Builder getErrorsBuilder(
-        int index) {
+    public com.google.rpc.Status.Builder getErrorsBuilder(int index) {
       return getErrorsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -1085,14 +1207,16 @@ public com.google.rpc.Status.Builder getErrorsBuilder(
      *
      * repeated .google.rpc.Status errors = 2;
      */
-    public com.google.rpc.StatusOrBuilder getErrorsOrBuilder(
-        int index) {
+    public com.google.rpc.StatusOrBuilder getErrorsOrBuilder(int index) {
       if (errorsBuilder_ == null) {
-        return errors_.get(index);  } else {
+        return errors_.get(index);
+      } else {
         return errorsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -1102,8 +1226,7 @@ public com.google.rpc.StatusOrBuilder getErrorsOrBuilder(
      *
      * repeated .google.rpc.Status errors = 2;
      */
-    public java.util.List 
-         getErrorsOrBuilderList() {
+    public java.util.List getErrorsOrBuilderList() {
       if (errorsBuilder_ != null) {
         return errorsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1111,6 +1234,8 @@ public com.google.rpc.StatusOrBuilder getErrorsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -1121,10 +1246,11 @@ public com.google.rpc.StatusOrBuilder getErrorsOrBuilder(
      * repeated .google.rpc.Status errors = 2;
      */
     public com.google.rpc.Status.Builder addErrorsBuilder() {
-      return getErrorsFieldBuilder().addBuilder(
-          com.google.rpc.Status.getDefaultInstance());
+      return getErrorsFieldBuilder().addBuilder(com.google.rpc.Status.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -1134,12 +1260,12 @@ public com.google.rpc.Status.Builder addErrorsBuilder() {
      *
      * repeated .google.rpc.Status errors = 2;
      */
-    public com.google.rpc.Status.Builder addErrorsBuilder(
-        int index) {
-      return getErrorsFieldBuilder().addBuilder(
-          index, com.google.rpc.Status.getDefaultInstance());
+    public com.google.rpc.Status.Builder addErrorsBuilder(int index) {
+      return getErrorsFieldBuilder().addBuilder(index, com.google.rpc.Status.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Partial errors that are encountered during the ImportEntries operation.
      * There is no guarantee that all the encountered errors are reported.
@@ -1149,27 +1275,27 @@ public com.google.rpc.Status.Builder addErrorsBuilder(
      *
      * repeated .google.rpc.Status errors = 2;
      */
-    public java.util.List 
-         getErrorsBuilderList() {
+    public java.util.List getErrorsBuilderList() {
       return getErrorsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
         getErrorsFieldBuilder() {
       if (errorsBuilder_ == null) {
-        errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
-                errors_,
-                ((bitField0_ & 0x00000002) != 0),
-                getParentForChildren(),
-                isClean());
+        errorsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.rpc.Status,
+                com.google.rpc.Status.Builder,
+                com.google.rpc.StatusOrBuilder>(
+                errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
         errors_ = null;
       }
       return errorsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1179,12 +1305,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ImportEntriesMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ImportEntriesMetadata)
   private static final com.google.cloud.datacatalog.v1.ImportEntriesMetadata DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ImportEntriesMetadata();
   }
@@ -1193,27 +1319,27 @@ public static com.google.cloud.datacatalog.v1.ImportEntriesMetadata getDefaultIn
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ImportEntriesMetadata parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ImportEntriesMetadata parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1228,6 +1354,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1.ImportEntriesMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadataOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadataOrBuilder.java
similarity index 73%
rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadataOrBuilder.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadataOrBuilder.java
index e229a74d117e..ad834cf7cff4 100644
--- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadataOrBuilder.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadataOrBuilder.java
@@ -1,32 +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/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
-public interface ImportEntriesMetadataOrBuilder extends
+public interface ImportEntriesMetadataOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ImportEntriesMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * State of the import operation.
    * 
* * .google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState state = 1; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * State of the import operation.
    * 
* * .google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState state = 1; + * * @return The state. */ com.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState getState(); /** + * + * *
    * Partial errors that are encountered during the ImportEntries operation.
    * There is no guarantee that all the encountered errors are reported.
@@ -36,9 +60,10 @@ public interface ImportEntriesMetadataOrBuilder extends
    *
    * repeated .google.rpc.Status errors = 2;
    */
-  java.util.List 
-      getErrorsList();
+  java.util.List getErrorsList();
   /**
+   *
+   *
    * 
    * Partial errors that are encountered during the ImportEntries operation.
    * There is no guarantee that all the encountered errors are reported.
@@ -50,6 +75,8 @@ public interface ImportEntriesMetadataOrBuilder extends
    */
   com.google.rpc.Status getErrors(int index);
   /**
+   *
+   *
    * 
    * Partial errors that are encountered during the ImportEntries operation.
    * There is no guarantee that all the encountered errors are reported.
@@ -61,6 +88,8 @@ public interface ImportEntriesMetadataOrBuilder extends
    */
   int getErrorsCount();
   /**
+   *
+   *
    * 
    * Partial errors that are encountered during the ImportEntries operation.
    * There is no guarantee that all the encountered errors are reported.
@@ -70,9 +99,10 @@ public interface ImportEntriesMetadataOrBuilder extends
    *
    * repeated .google.rpc.Status errors = 2;
    */
-  java.util.List 
-      getErrorsOrBuilderList();
+  java.util.List getErrorsOrBuilderList();
   /**
+   *
+   *
    * 
    * Partial errors that are encountered during the ImportEntries operation.
    * There is no guarantee that all the encountered errors are reported.
@@ -82,6 +112,5 @@ public interface ImportEntriesMetadataOrBuilder extends
    *
    * repeated .google.rpc.Status errors = 2;
    */
-  com.google.rpc.StatusOrBuilder getErrorsOrBuilder(
-      int index);
+  com.google.rpc.StatusOrBuilder getErrorsOrBuilder(int index);
 }
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequest.java
similarity index 68%
rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequest.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequest.java
index f0066e0a1652..936628d8f8a8 100644
--- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequest.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequest.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/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
 /**
+ *
+ *
  * 
  * Request message for
  * [ImportEntries][google.cloud.datacatalog.v1.DataCatalog.ImportEntries]
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ImportEntriesRequest}
  */
-public final class ImportEntriesRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ImportEntriesRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ImportEntriesRequest)
     ImportEntriesRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ImportEntriesRequest.newBuilder() to construct.
   private ImportEntriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ImportEntriesRequest() {
     parent_ = "";
     jobId_ = "";
@@ -28,33 +46,38 @@ private ImportEntriesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ImportEntriesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ImportEntriesRequest.class, com.google.cloud.datacatalog.v1.ImportEntriesRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.ImportEntriesRequest.class,
+            com.google.cloud.datacatalog.v1.ImportEntriesRequest.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 {
     GCS_BUCKET_PATH(2),
     SOURCE_NOT_SET(0);
     private final int value;
+
     private SourceCase(int value) {
       this.value = value;
     }
@@ -70,31 +93,39 @@ public static SourceCase valueOf(int value) {
 
     public static SourceCase forNumber(int value) {
       switch (value) {
-        case 2: return GCS_BUCKET_PATH;
-        case 0: return SOURCE_NOT_SET;
-        default: return null;
+        case 2:
+          return GCS_BUCKET_PATH;
+        case 0:
+          return SOURCE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SourceCase
-  getSourceCase() {
-    return SourceCase.forNumber(
-        sourceCase_);
+  public SourceCase getSourceCase() {
+    return SourceCase.forNumber(sourceCase_);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. Target entry group for ingested entries.
    * 
* - * string parent = 1 [(.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 @@ -103,29 +134,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. Target entry group for ingested entries.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -135,22 +168,28 @@ public java.lang.String getParent() { public static final int GCS_BUCKET_PATH_FIELD_NUMBER = 2; /** + * + * *
    * Path to a Cloud Storage bucket that contains a dump ready for ingestion.
    * 
* * string gcs_bucket_path = 2; + * * @return Whether the gcsBucketPath field is set. */ public boolean hasGcsBucketPath() { return sourceCase_ == 2; } /** + * + * *
    * Path to a Cloud Storage bucket that contains a dump ready for ingestion.
    * 
* * string gcs_bucket_path = 2; + * * @return The gcsBucketPath. */ public java.lang.String getGcsBucketPath() { @@ -161,8 +200,7 @@ public java.lang.String getGcsBucketPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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_ == 2) { source_ = s; @@ -171,23 +209,24 @@ public java.lang.String getGcsBucketPath() { } } /** + * + * *
    * Path to a Cloud Storage bucket that contains a dump ready for ingestion.
    * 
* * string gcs_bucket_path = 2; + * * @return The bytes for gcsBucketPath. */ - public com.google.protobuf.ByteString - getGcsBucketPathBytes() { + public com.google.protobuf.ByteString getGcsBucketPathBytes() { java.lang.Object ref = ""; if (sourceCase_ == 2) { 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_ == 2) { source_ = b; } @@ -198,15 +237,19 @@ public java.lang.String getGcsBucketPath() { } public static final int JOB_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object jobId_ = ""; /** + * + * *
    * Optional. (Optional) Dataplex task job id, if specified will be used as
    * part of ImportEntries LRO ID
    * 
* * string job_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The jobId. */ @java.lang.Override @@ -215,30 +258,30 @@ 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; } } /** + * + * *
    * Optional. (Optional) Dataplex task job id, if specified will be used as
    * part of ImportEntries LRO ID
    * 
* * string job_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -247,6 +290,7 @@ public java.lang.String getJobId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -258,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -295,22 +338,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.datacatalog.v1.ImportEntriesRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ImportEntriesRequest other = (com.google.cloud.datacatalog.v1.ImportEntriesRequest) obj; + com.google.cloud.datacatalog.v1.ImportEntriesRequest other = + (com.google.cloud.datacatalog.v1.ImportEntriesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getJobId() - .equals(other.getJobId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getJobId().equals(other.getJobId())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsBucketPath() - .equals(other.getGcsBucketPath())) return false; + if (!getGcsBucketPath().equals(other.getGcsBucketPath())) return false; break; case 0: default: @@ -344,98 +385,103 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ImportEntriesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ImportEntriesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ImportEntriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ImportEntriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ImportEntriesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ImportEntriesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ImportEntriesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.ImportEntriesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ImportEntriesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ImportEntriesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ImportEntriesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ImportEntriesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ImportEntriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ImportEntriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.ImportEntriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [ImportEntries][google.cloud.datacatalog.v1.DataCatalog.ImportEntries]
@@ -444,33 +490,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ImportEntriesRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ImportEntriesRequest)
       com.google.cloud.datacatalog.v1.ImportEntriesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ImportEntriesRequest.class, com.google.cloud.datacatalog.v1.ImportEntriesRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.ImportEntriesRequest.class,
+              com.google.cloud.datacatalog.v1.ImportEntriesRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ImportEntriesRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -483,9 +528,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -504,8 +549,11 @@ public com.google.cloud.datacatalog.v1.ImportEntriesRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ImportEntriesRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.ImportEntriesRequest result = new com.google.cloud.datacatalog.v1.ImportEntriesRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.ImportEntriesRequest result =
+          new com.google.cloud.datacatalog.v1.ImportEntriesRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -530,38 +578,39 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.ImportEntriesReq
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ImportEntriesRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ImportEntriesRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ImportEntriesRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -569,7 +618,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ImportEntriesRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.ImportEntriesRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.ImportEntriesRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -581,15 +631,17 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.ImportEntriesRequest ot
         onChanged();
       }
       switch (other.getSourceCase()) {
-        case GCS_BUCKET_PATH: {
-          sourceCase_ = 2;
-          source_ = other.source_;
-          onChanged();
-          break;
-        }
-        case SOURCE_NOT_SET: {
-          break;
-        }
+        case GCS_BUCKET_PATH:
+          {
+            sourceCase_ = 2;
+            source_ = other.source_;
+            onChanged();
+            break;
+          }
+        case SOURCE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -617,28 +669,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              sourceCase_ = 2;
-              source_ = s;
-              break;
-            } // case 18
-            case 26: {
-              jobId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                sourceCase_ = 2;
+                source_ = s;
+                break;
+              } // case 18
+            case 26:
+              {
+                jobId_ = 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) {
@@ -648,12 +704,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() {
@@ -667,18 +723,22 @@ public Builder clearSource() {
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. Target entry group for ingested entries.
      * 
* - * string parent = 1 [(.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; @@ -687,20 +747,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Target entry group for ingested entries.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -708,28 +771,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Target entry group for ingested entries.
      * 
* - * 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. Target entry group for ingested entries.
      * 
* - * string 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() { @@ -739,17 +813,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Target entry group for ingested entries.
      * 
* - * 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; @@ -758,11 +838,14 @@ public Builder setParentBytes( } /** + * + * *
      * Path to a Cloud Storage bucket that contains a dump ready for ingestion.
      * 
* * string gcs_bucket_path = 2; + * * @return Whether the gcsBucketPath field is set. */ @java.lang.Override @@ -770,11 +853,14 @@ public boolean hasGcsBucketPath() { return sourceCase_ == 2; } /** + * + * *
      * Path to a Cloud Storage bucket that contains a dump ready for ingestion.
      * 
* * string gcs_bucket_path = 2; + * * @return The gcsBucketPath. */ @java.lang.Override @@ -784,8 +870,7 @@ public java.lang.String getGcsBucketPath() { 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_ == 2) { source_ = s; @@ -796,24 +881,25 @@ public java.lang.String getGcsBucketPath() { } } /** + * + * *
      * Path to a Cloud Storage bucket that contains a dump ready for ingestion.
      * 
* * string gcs_bucket_path = 2; + * * @return The bytes for gcsBucketPath. */ @java.lang.Override - public com.google.protobuf.ByteString - getGcsBucketPathBytes() { + public com.google.protobuf.ByteString getGcsBucketPathBytes() { java.lang.Object ref = ""; if (sourceCase_ == 2) { 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_ == 2) { source_ = b; } @@ -823,28 +909,35 @@ public java.lang.String getGcsBucketPath() { } } /** + * + * *
      * Path to a Cloud Storage bucket that contains a dump ready for ingestion.
      * 
* * string gcs_bucket_path = 2; + * * @param value The gcsBucketPath to set. * @return This builder for chaining. */ - public Builder setGcsBucketPath( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGcsBucketPath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sourceCase_ = 2; source_ = value; onChanged(); return this; } /** + * + * *
      * Path to a Cloud Storage bucket that contains a dump ready for ingestion.
      * 
* * string gcs_bucket_path = 2; + * * @return This builder for chaining. */ public Builder clearGcsBucketPath() { @@ -856,17 +949,21 @@ public Builder clearGcsBucketPath() { return this; } /** + * + * *
      * Path to a Cloud Storage bucket that contains a dump ready for ingestion.
      * 
* * string gcs_bucket_path = 2; + * * @param value The bytes for gcsBucketPath to set. * @return This builder for chaining. */ - public Builder setGcsBucketPathBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGcsBucketPathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sourceCase_ = 2; source_ = value; @@ -876,19 +973,21 @@ public Builder setGcsBucketPathBytes( private java.lang.Object jobId_ = ""; /** + * + * *
      * Optional. (Optional) Dataplex task job id, if specified will be used as
      * part of ImportEntries LRO ID
      * 
* * string job_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -897,21 +996,22 @@ public java.lang.String getJobId() { } } /** + * + * *
      * Optional. (Optional) Dataplex task job id, if specified will be used as
      * part of ImportEntries LRO ID
      * 
* * string job_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -919,30 +1019,37 @@ public java.lang.String getJobId() { } } /** + * + * *
      * Optional. (Optional) Dataplex task job id, if specified will be used as
      * part of ImportEntries LRO ID
      * 
* * string job_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. (Optional) Dataplex task job id, if specified will be used as
      * part of ImportEntries LRO ID
      * 
* * string job_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearJobId() { @@ -952,27 +1059,31 @@ public Builder clearJobId() { return this; } /** + * + * *
      * Optional. (Optional) Dataplex task job id, if specified will be used as
      * part of ImportEntries LRO ID
      * 
* * string job_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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_ |= 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); } @@ -982,12 +1093,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ImportEntriesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ImportEntriesRequest) private static final com.google.cloud.datacatalog.v1.ImportEntriesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ImportEntriesRequest(); } @@ -996,27 +1107,27 @@ public static com.google.cloud.datacatalog.v1.ImportEntriesRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportEntriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportEntriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1031,6 +1142,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ImportEntriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequestOrBuilder.java index cbcc1c1deef8..c01aa1170345 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequestOrBuilder.java @@ -1,82 +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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface ImportEntriesRequestOrBuilder extends +public interface ImportEntriesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ImportEntriesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Target entry group for ingested entries.
    * 
* - * string parent = 1 [(.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. Target entry group for ingested entries.
    * 
* - * string parent = 1 [(.google.api.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(); /** + * + * *
    * Path to a Cloud Storage bucket that contains a dump ready for ingestion.
    * 
* * string gcs_bucket_path = 2; + * * @return Whether the gcsBucketPath field is set. */ boolean hasGcsBucketPath(); /** + * + * *
    * Path to a Cloud Storage bucket that contains a dump ready for ingestion.
    * 
* * string gcs_bucket_path = 2; + * * @return The gcsBucketPath. */ java.lang.String getGcsBucketPath(); /** + * + * *
    * Path to a Cloud Storage bucket that contains a dump ready for ingestion.
    * 
* * string gcs_bucket_path = 2; + * * @return The bytes for gcsBucketPath. */ - com.google.protobuf.ByteString - getGcsBucketPathBytes(); + com.google.protobuf.ByteString getGcsBucketPathBytes(); /** + * + * *
    * Optional. (Optional) Dataplex task job id, if specified will be used as
    * part of ImportEntries LRO ID
    * 
* * string job_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The jobId. */ java.lang.String getJobId(); /** + * + * *
    * Optional. (Optional) Dataplex task job id, if specified will be used as
    * part of ImportEntries LRO ID
    * 
* * string job_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for jobId. */ - com.google.protobuf.ByteString - getJobIdBytes(); + com.google.protobuf.ByteString getJobIdBytes(); com.google.cloud.datacatalog.v1.ImportEntriesRequest.SourceCase getSourceCase(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponse.java similarity index 69% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponse.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponse.java index b2ae625bd951..542a6e10c7c6 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponse.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Response message for [long-running operation][google.longrunning.Operation]
  * returned by the
@@ -12,48 +29,52 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ImportEntriesResponse}
  */
-public final class ImportEntriesResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ImportEntriesResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ImportEntriesResponse)
     ImportEntriesResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ImportEntriesResponse.newBuilder() to construct.
   private ImportEntriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ImportEntriesResponse() {
-  }
+
+  private ImportEntriesResponse() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ImportEntriesResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ImportEntriesResponse.class, com.google.cloud.datacatalog.v1.ImportEntriesResponse.Builder.class);
+            com.google.cloud.datacatalog.v1.ImportEntriesResponse.class,
+            com.google.cloud.datacatalog.v1.ImportEntriesResponse.Builder.class);
   }
 
   private int bitField0_;
   public static final int UPSERTED_ENTRIES_COUNT_FIELD_NUMBER = 5;
   private long upsertedEntriesCount_ = 0L;
   /**
+   *
+   *
    * 
    * Cumulative number of entries created and entries updated as a result of
    * import operation.
    * 
* * optional int64 upserted_entries_count = 5; + * * @return Whether the upsertedEntriesCount field is set. */ @java.lang.Override @@ -61,12 +82,15 @@ public boolean hasUpsertedEntriesCount() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Cumulative number of entries created and entries updated as a result of
    * import operation.
    * 
* * optional int64 upserted_entries_count = 5; + * * @return The upsertedEntriesCount. */ @java.lang.Override @@ -77,11 +101,14 @@ public long getUpsertedEntriesCount() { public static final int DELETED_ENTRIES_COUNT_FIELD_NUMBER = 6; private long deletedEntriesCount_ = 0L; /** + * + * *
    * Number of entries deleted as a result of import operation.
    * 
* * optional int64 deleted_entries_count = 6; + * * @return Whether the deletedEntriesCount field is set. */ @java.lang.Override @@ -89,11 +116,14 @@ public boolean hasDeletedEntriesCount() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Number of entries deleted as a result of import operation.
    * 
* * optional int64 deleted_entries_count = 6; + * * @return The deletedEntriesCount. */ @java.lang.Override @@ -102,6 +132,7 @@ public long getDeletedEntriesCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -113,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 (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(5, upsertedEntriesCount_); } @@ -131,12 +161,10 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(5, upsertedEntriesCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, upsertedEntriesCount_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(6, deletedEntriesCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(6, deletedEntriesCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -146,22 +174,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.datacatalog.v1.ImportEntriesResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ImportEntriesResponse other = (com.google.cloud.datacatalog.v1.ImportEntriesResponse) obj; + com.google.cloud.datacatalog.v1.ImportEntriesResponse other = + (com.google.cloud.datacatalog.v1.ImportEntriesResponse) obj; if (hasUpsertedEntriesCount() != other.hasUpsertedEntriesCount()) return false; if (hasUpsertedEntriesCount()) { - if (getUpsertedEntriesCount() - != other.getUpsertedEntriesCount()) return false; + if (getUpsertedEntriesCount() != other.getUpsertedEntriesCount()) return false; } if (hasDeletedEntriesCount() != other.hasDeletedEntriesCount()) return false; if (hasDeletedEntriesCount()) { - if (getDeletedEntriesCount() - != other.getDeletedEntriesCount()) return false; + if (getDeletedEntriesCount() != other.getDeletedEntriesCount()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -176,13 +203,11 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); if (hasUpsertedEntriesCount()) { hash = (37 * hash) + UPSERTED_ENTRIES_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getUpsertedEntriesCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUpsertedEntriesCount()); } if (hasDeletedEntriesCount()) { hash = (37 * hash) + DELETED_ENTRIES_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getDeletedEntriesCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDeletedEntriesCount()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -190,98 +215,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ImportEntriesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ImportEntriesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ImportEntriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ImportEntriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ImportEntriesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ImportEntriesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ImportEntriesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.ImportEntriesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ImportEntriesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ImportEntriesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ImportEntriesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ImportEntriesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ImportEntriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ImportEntriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.ImportEntriesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.ImportEntriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for [long-running operation][google.longrunning.Operation]
    * returned by the
@@ -290,33 +321,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ImportEntriesResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ImportEntriesResponse)
       com.google.cloud.datacatalog.v1.ImportEntriesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ImportEntriesResponse.class, com.google.cloud.datacatalog.v1.ImportEntriesResponse.Builder.class);
+              com.google.cloud.datacatalog.v1.ImportEntriesResponse.class,
+              com.google.cloud.datacatalog.v1.ImportEntriesResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ImportEntriesResponse.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -327,9 +357,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_descriptor;
     }
 
     @java.lang.Override
@@ -348,8 +378,11 @@ public com.google.cloud.datacatalog.v1.ImportEntriesResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ImportEntriesResponse buildPartial() {
-      com.google.cloud.datacatalog.v1.ImportEntriesResponse result = new com.google.cloud.datacatalog.v1.ImportEntriesResponse(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.ImportEntriesResponse result =
+          new com.google.cloud.datacatalog.v1.ImportEntriesResponse(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -372,38 +405,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ImportEntriesResponse
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ImportEntriesResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ImportEntriesResponse)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ImportEntriesResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -411,7 +445,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ImportEntriesResponse other) {
-      if (other == com.google.cloud.datacatalog.v1.ImportEntriesResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.ImportEntriesResponse.getDefaultInstance())
+        return this;
       if (other.hasUpsertedEntriesCount()) {
         setUpsertedEntriesCount(other.getUpsertedEntriesCount());
       }
@@ -444,22 +479,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 40: {
-              upsertedEntriesCount_ = input.readInt64();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 40
-            case 48: {
-              deletedEntriesCount_ = input.readInt64();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 48
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 40:
+              {
+                upsertedEntriesCount_ = input.readInt64();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 40
+            case 48:
+              {
+                deletedEntriesCount_ = input.readInt64();
+                bitField0_ |= 0x00000002;
+                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) {
@@ -469,16 +507,20 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private long upsertedEntriesCount_ ;
+    private long upsertedEntriesCount_;
     /**
+     *
+     *
      * 
      * Cumulative number of entries created and entries updated as a result of
      * import operation.
      * 
* * optional int64 upserted_entries_count = 5; + * * @return Whether the upsertedEntriesCount field is set. */ @java.lang.Override @@ -486,12 +528,15 @@ public boolean hasUpsertedEntriesCount() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Cumulative number of entries created and entries updated as a result of
      * import operation.
      * 
* * optional int64 upserted_entries_count = 5; + * * @return The upsertedEntriesCount. */ @java.lang.Override @@ -499,12 +544,15 @@ public long getUpsertedEntriesCount() { return upsertedEntriesCount_; } /** + * + * *
      * Cumulative number of entries created and entries updated as a result of
      * import operation.
      * 
* * optional int64 upserted_entries_count = 5; + * * @param value The upsertedEntriesCount to set. * @return This builder for chaining. */ @@ -516,12 +564,15 @@ public Builder setUpsertedEntriesCount(long value) { return this; } /** + * + * *
      * Cumulative number of entries created and entries updated as a result of
      * import operation.
      * 
* * optional int64 upserted_entries_count = 5; + * * @return This builder for chaining. */ public Builder clearUpsertedEntriesCount() { @@ -531,13 +582,16 @@ public Builder clearUpsertedEntriesCount() { return this; } - private long deletedEntriesCount_ ; + private long deletedEntriesCount_; /** + * + * *
      * Number of entries deleted as a result of import operation.
      * 
* * optional int64 deleted_entries_count = 6; + * * @return Whether the deletedEntriesCount field is set. */ @java.lang.Override @@ -545,11 +599,14 @@ public boolean hasDeletedEntriesCount() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Number of entries deleted as a result of import operation.
      * 
* * optional int64 deleted_entries_count = 6; + * * @return The deletedEntriesCount. */ @java.lang.Override @@ -557,11 +614,14 @@ public long getDeletedEntriesCount() { return deletedEntriesCount_; } /** + * + * *
      * Number of entries deleted as a result of import operation.
      * 
* * optional int64 deleted_entries_count = 6; + * * @param value The deletedEntriesCount to set. * @return This builder for chaining. */ @@ -573,11 +633,14 @@ public Builder setDeletedEntriesCount(long value) { return this; } /** + * + * *
      * Number of entries deleted as a result of import operation.
      * 
* * optional int64 deleted_entries_count = 6; + * * @return This builder for chaining. */ public Builder clearDeletedEntriesCount() { @@ -586,9 +649,9 @@ public Builder clearDeletedEntriesCount() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +661,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ImportEntriesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ImportEntriesResponse) private static final com.google.cloud.datacatalog.v1.ImportEntriesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ImportEntriesResponse(); } @@ -612,27 +675,27 @@ public static com.google.cloud.datacatalog.v1.ImportEntriesResponse getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportEntriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportEntriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -647,6 +710,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ImportEntriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponseOrBuilder.java similarity index 65% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponseOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponseOrBuilder.java index cd875f5eab6c..4b76466cf4fb 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponseOrBuilder.java @@ -1,48 +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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface ImportEntriesResponseOrBuilder extends +public interface ImportEntriesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ImportEntriesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Cumulative number of entries created and entries updated as a result of
    * import operation.
    * 
* * optional int64 upserted_entries_count = 5; + * * @return Whether the upsertedEntriesCount field is set. */ boolean hasUpsertedEntriesCount(); /** + * + * *
    * Cumulative number of entries created and entries updated as a result of
    * import operation.
    * 
* * optional int64 upserted_entries_count = 5; + * * @return The upsertedEntriesCount. */ long getUpsertedEntriesCount(); /** + * + * *
    * Number of entries deleted as a result of import operation.
    * 
* * optional int64 deleted_entries_count = 6; + * * @return Whether the deletedEntriesCount field is set. */ boolean hasDeletedEntriesCount(); /** + * + * *
    * Number of entries deleted as a result of import operation.
    * 
* * optional int64 deleted_entries_count = 6; + * * @return The deletedEntriesCount. */ long getDeletedEntriesCount(); diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequest.java similarity index 69% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequest.java index de46e48df81a..aab91b138b8a 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequest.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/datacatalog/v1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [ImportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ImportTaxonomies].
@@ -11,49 +28,55 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ImportTaxonomiesRequest}
  */
-public final class ImportTaxonomiesRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ImportTaxonomiesRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ImportTaxonomiesRequest)
     ImportTaxonomiesRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ImportTaxonomiesRequest.newBuilder() to construct.
   private ImportTaxonomiesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ImportTaxonomiesRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ImportTaxonomiesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+        .internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+        .internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest.class, com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest.class,
+            com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest.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 {
     INLINE_SOURCE(2),
     CROSS_REGIONAL_SOURCE(3),
     SOURCE_NOT_SET(0);
     private final int value;
+
     private SourceCase(int value) {
       this.value = value;
     }
@@ -69,33 +92,42 @@ public static SourceCase valueOf(int value) {
 
     public static SourceCase forNumber(int value) {
       switch (value) {
-        case 2: return INLINE_SOURCE;
-        case 3: return CROSS_REGIONAL_SOURCE;
-        case 0: return SOURCE_NOT_SET;
-        default: return null;
+        case 2:
+          return INLINE_SOURCE;
+        case 3:
+          return CROSS_REGIONAL_SOURCE;
+        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 PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. Resource name of project that the imported taxonomies will belong
    * to.
    * 
* - * string parent = 1 [(.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 @@ -104,30 +136,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. Resource name of project that the imported taxonomies will belong
    * to.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -137,11 +171,14 @@ public java.lang.String getParent() { public static final int INLINE_SOURCE_FIELD_NUMBER = 2; /** + * + * *
    * Inline source taxonomy to import.
    * 
* * .google.cloud.datacatalog.v1.InlineSource inline_source = 2; + * * @return Whether the inlineSource field is set. */ @java.lang.Override @@ -149,21 +186,26 @@ public boolean hasInlineSource() { return sourceCase_ == 2; } /** + * + * *
    * Inline source taxonomy to import.
    * 
* * .google.cloud.datacatalog.v1.InlineSource inline_source = 2; + * * @return The inlineSource. */ @java.lang.Override public com.google.cloud.datacatalog.v1.InlineSource getInlineSource() { if (sourceCase_ == 2) { - return (com.google.cloud.datacatalog.v1.InlineSource) source_; + return (com.google.cloud.datacatalog.v1.InlineSource) source_; } return com.google.cloud.datacatalog.v1.InlineSource.getDefaultInstance(); } /** + * + * *
    * Inline source taxonomy to import.
    * 
@@ -173,18 +215,21 @@ public com.google.cloud.datacatalog.v1.InlineSource getInlineSource() { @java.lang.Override public com.google.cloud.datacatalog.v1.InlineSourceOrBuilder getInlineSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.cloud.datacatalog.v1.InlineSource) source_; + return (com.google.cloud.datacatalog.v1.InlineSource) source_; } return com.google.cloud.datacatalog.v1.InlineSource.getDefaultInstance(); } public static final int CROSS_REGIONAL_SOURCE_FIELD_NUMBER = 3; /** + * + * *
    * Cross-regional source taxonomy to import.
    * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; + * * @return Whether the crossRegionalSource field is set. */ @java.lang.Override @@ -192,21 +237,26 @@ public boolean hasCrossRegionalSource() { return sourceCase_ == 3; } /** + * + * *
    * Cross-regional source taxonomy to import.
    * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; + * * @return The crossRegionalSource. */ @java.lang.Override public com.google.cloud.datacatalog.v1.CrossRegionalSource getCrossRegionalSource() { if (sourceCase_ == 3) { - return (com.google.cloud.datacatalog.v1.CrossRegionalSource) source_; + return (com.google.cloud.datacatalog.v1.CrossRegionalSource) source_; } return com.google.cloud.datacatalog.v1.CrossRegionalSource.getDefaultInstance(); } /** + * + * *
    * Cross-regional source taxonomy to import.
    * 
@@ -214,14 +264,16 @@ public com.google.cloud.datacatalog.v1.CrossRegionalSource getCrossRegionalSourc * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.CrossRegionalSourceOrBuilder getCrossRegionalSourceOrBuilder() { + public com.google.cloud.datacatalog.v1.CrossRegionalSourceOrBuilder + getCrossRegionalSourceOrBuilder() { if (sourceCase_ == 3) { - return (com.google.cloud.datacatalog.v1.CrossRegionalSource) source_; + return (com.google.cloud.datacatalog.v1.CrossRegionalSource) source_; } return com.google.cloud.datacatalog.v1.CrossRegionalSource.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -233,8 +285,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -257,12 +308,14 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.datacatalog.v1.InlineSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.datacatalog.v1.InlineSource) source_); } if (sourceCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.datacatalog.v1.CrossRegionalSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.datacatalog.v1.CrossRegionalSource) source_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -272,24 +325,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.datacatalog.v1.ImportTaxonomiesRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest other = (com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest) obj; + com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest other = + (com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getInlineSource() - .equals(other.getInlineSource())) return false; + if (!getInlineSource().equals(other.getInlineSource())) return false; break; case 3: - if (!getCrossRegionalSource() - .equals(other.getCrossRegionalSource())) return false; + if (!getCrossRegionalSource().equals(other.getCrossRegionalSource())) return false; break; case 0: default: @@ -325,98 +376,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [ImportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ImportTaxonomies].
@@ -424,33 +481,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ImportTaxonomiesRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ImportTaxonomiesRequest)
       com.google.cloud.datacatalog.v1.ImportTaxonomiesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest.class, com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest.class,
+              com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -468,9 +524,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -489,8 +545,11 @@ public com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest result = new com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest result =
+          new com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -503,15 +562,14 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ImportTaxonomiesReque
       }
     }
 
-    private void buildPartialOneofs(com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest result) {
+    private void buildPartialOneofs(
+        com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest result) {
       result.sourceCase_ = sourceCase_;
       result.source_ = this.source_;
-      if (sourceCase_ == 2 &&
-          inlineSourceBuilder_ != null) {
+      if (sourceCase_ == 2 && inlineSourceBuilder_ != null) {
         result.source_ = inlineSourceBuilder_.build();
       }
-      if (sourceCase_ == 3 &&
-          crossRegionalSourceBuilder_ != null) {
+      if (sourceCase_ == 3 && crossRegionalSourceBuilder_ != null) {
         result.source_ = crossRegionalSourceBuilder_.build();
       }
     }
@@ -520,38 +578,39 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.ImportTaxonomies
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -559,24 +618,28 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
         onChanged();
       }
       switch (other.getSourceCase()) {
-        case INLINE_SOURCE: {
-          mergeInlineSource(other.getInlineSource());
-          break;
-        }
-        case CROSS_REGIONAL_SOURCE: {
-          mergeCrossRegionalSource(other.getCrossRegionalSource());
-          break;
-        }
-        case SOURCE_NOT_SET: {
-          break;
-        }
+        case INLINE_SOURCE:
+          {
+            mergeInlineSource(other.getInlineSource());
+            break;
+          }
+        case CROSS_REGIONAL_SOURCE:
+          {
+            mergeCrossRegionalSource(other.getCrossRegionalSource());
+            break;
+          }
+        case SOURCE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -604,31 +667,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getInlineSourceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              sourceCase_ = 2;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getCrossRegionalSourceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              sourceCase_ = 3;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getInlineSourceFieldBuilder().getBuilder(), extensionRegistry);
+                sourceCase_ = 2;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(
+                    getCrossRegionalSourceFieldBuilder().getBuilder(), extensionRegistry);
+                sourceCase_ = 3;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -638,12 +702,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() {
@@ -657,19 +721,23 @@ public Builder clearSource() {
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. Resource name of project that the imported taxonomies will belong
      * to.
      * 
* - * string parent = 1 [(.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; @@ -678,21 +746,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of project that the imported taxonomies will belong
      * to.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -700,30 +771,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of project that the imported taxonomies will belong
      * to.
      * 
* - * 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. Resource name of project that the imported taxonomies will belong
      * to.
      * 
* - * string 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() { @@ -733,18 +815,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Resource name of project that the imported taxonomies will belong
      * to.
      * 
* - * 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; @@ -753,13 +841,19 @@ public Builder setParentBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.InlineSource, com.google.cloud.datacatalog.v1.InlineSource.Builder, com.google.cloud.datacatalog.v1.InlineSourceOrBuilder> inlineSourceBuilder_; + com.google.cloud.datacatalog.v1.InlineSource, + com.google.cloud.datacatalog.v1.InlineSource.Builder, + com.google.cloud.datacatalog.v1.InlineSourceOrBuilder> + inlineSourceBuilder_; /** + * + * *
      * Inline source taxonomy to import.
      * 
* * .google.cloud.datacatalog.v1.InlineSource inline_source = 2; + * * @return Whether the inlineSource field is set. */ @java.lang.Override @@ -767,11 +861,14 @@ public boolean hasInlineSource() { return sourceCase_ == 2; } /** + * + * *
      * Inline source taxonomy to import.
      * 
* * .google.cloud.datacatalog.v1.InlineSource inline_source = 2; + * * @return The inlineSource. */ @java.lang.Override @@ -789,6 +886,8 @@ public com.google.cloud.datacatalog.v1.InlineSource getInlineSource() { } } /** + * + * *
      * Inline source taxonomy to import.
      * 
@@ -809,6 +908,8 @@ public Builder setInlineSource(com.google.cloud.datacatalog.v1.InlineSource valu return this; } /** + * + * *
      * Inline source taxonomy to import.
      * 
@@ -827,6 +928,8 @@ public Builder setInlineSource( return this; } /** + * + * *
      * Inline source taxonomy to import.
      * 
@@ -835,10 +938,13 @@ public Builder setInlineSource( */ public Builder mergeInlineSource(com.google.cloud.datacatalog.v1.InlineSource value) { if (inlineSourceBuilder_ == null) { - if (sourceCase_ == 2 && - source_ != com.google.cloud.datacatalog.v1.InlineSource.getDefaultInstance()) { - source_ = com.google.cloud.datacatalog.v1.InlineSource.newBuilder((com.google.cloud.datacatalog.v1.InlineSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 2 + && source_ != com.google.cloud.datacatalog.v1.InlineSource.getDefaultInstance()) { + source_ = + com.google.cloud.datacatalog.v1.InlineSource.newBuilder( + (com.google.cloud.datacatalog.v1.InlineSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -854,6 +960,8 @@ public Builder mergeInlineSource(com.google.cloud.datacatalog.v1.InlineSource va return this; } /** + * + * *
      * Inline source taxonomy to import.
      * 
@@ -877,6 +985,8 @@ public Builder clearInlineSource() { return this; } /** + * + * *
      * Inline source taxonomy to import.
      * 
@@ -887,6 +997,8 @@ public com.google.cloud.datacatalog.v1.InlineSource.Builder getInlineSourceBuild return getInlineSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Inline source taxonomy to import.
      * 
@@ -905,6 +1017,8 @@ public com.google.cloud.datacatalog.v1.InlineSourceOrBuilder getInlineSourceOrBu } } /** + * + * *
      * Inline source taxonomy to import.
      * 
@@ -912,14 +1026,19 @@ public com.google.cloud.datacatalog.v1.InlineSourceOrBuilder getInlineSourceOrBu * .google.cloud.datacatalog.v1.InlineSource inline_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.InlineSource, com.google.cloud.datacatalog.v1.InlineSource.Builder, com.google.cloud.datacatalog.v1.InlineSourceOrBuilder> + com.google.cloud.datacatalog.v1.InlineSource, + com.google.cloud.datacatalog.v1.InlineSource.Builder, + com.google.cloud.datacatalog.v1.InlineSourceOrBuilder> getInlineSourceFieldBuilder() { if (inlineSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { source_ = com.google.cloud.datacatalog.v1.InlineSource.getDefaultInstance(); } - inlineSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.InlineSource, com.google.cloud.datacatalog.v1.InlineSource.Builder, com.google.cloud.datacatalog.v1.InlineSourceOrBuilder>( + inlineSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.InlineSource, + com.google.cloud.datacatalog.v1.InlineSource.Builder, + com.google.cloud.datacatalog.v1.InlineSourceOrBuilder>( (com.google.cloud.datacatalog.v1.InlineSource) source_, getParentForChildren(), isClean()); @@ -931,13 +1050,19 @@ public com.google.cloud.datacatalog.v1.InlineSourceOrBuilder getInlineSourceOrBu } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.CrossRegionalSource, com.google.cloud.datacatalog.v1.CrossRegionalSource.Builder, com.google.cloud.datacatalog.v1.CrossRegionalSourceOrBuilder> crossRegionalSourceBuilder_; + com.google.cloud.datacatalog.v1.CrossRegionalSource, + com.google.cloud.datacatalog.v1.CrossRegionalSource.Builder, + com.google.cloud.datacatalog.v1.CrossRegionalSourceOrBuilder> + crossRegionalSourceBuilder_; /** + * + * *
      * Cross-regional source taxonomy to import.
      * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; + * * @return Whether the crossRegionalSource field is set. */ @java.lang.Override @@ -945,11 +1070,14 @@ public boolean hasCrossRegionalSource() { return sourceCase_ == 3; } /** + * + * *
      * Cross-regional source taxonomy to import.
      * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; + * * @return The crossRegionalSource. */ @java.lang.Override @@ -967,13 +1095,16 @@ public com.google.cloud.datacatalog.v1.CrossRegionalSource getCrossRegionalSourc } } /** + * + * *
      * Cross-regional source taxonomy to import.
      * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; */ - public Builder setCrossRegionalSource(com.google.cloud.datacatalog.v1.CrossRegionalSource value) { + public Builder setCrossRegionalSource( + com.google.cloud.datacatalog.v1.CrossRegionalSource value) { if (crossRegionalSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -987,6 +1118,8 @@ public Builder setCrossRegionalSource(com.google.cloud.datacatalog.v1.CrossRegio return this; } /** + * + * *
      * Cross-regional source taxonomy to import.
      * 
@@ -1005,18 +1138,25 @@ public Builder setCrossRegionalSource( return this; } /** + * + * *
      * Cross-regional source taxonomy to import.
      * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; */ - public Builder mergeCrossRegionalSource(com.google.cloud.datacatalog.v1.CrossRegionalSource value) { + public Builder mergeCrossRegionalSource( + com.google.cloud.datacatalog.v1.CrossRegionalSource value) { if (crossRegionalSourceBuilder_ == null) { - if (sourceCase_ == 3 && - source_ != com.google.cloud.datacatalog.v1.CrossRegionalSource.getDefaultInstance()) { - source_ = com.google.cloud.datacatalog.v1.CrossRegionalSource.newBuilder((com.google.cloud.datacatalog.v1.CrossRegionalSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 3 + && source_ + != com.google.cloud.datacatalog.v1.CrossRegionalSource.getDefaultInstance()) { + source_ = + com.google.cloud.datacatalog.v1.CrossRegionalSource.newBuilder( + (com.google.cloud.datacatalog.v1.CrossRegionalSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -1032,6 +1172,8 @@ public Builder mergeCrossRegionalSource(com.google.cloud.datacatalog.v1.CrossReg return this; } /** + * + * *
      * Cross-regional source taxonomy to import.
      * 
@@ -1055,16 +1197,21 @@ public Builder clearCrossRegionalSource() { return this; } /** + * + * *
      * Cross-regional source taxonomy to import.
      * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; */ - public com.google.cloud.datacatalog.v1.CrossRegionalSource.Builder getCrossRegionalSourceBuilder() { + public com.google.cloud.datacatalog.v1.CrossRegionalSource.Builder + getCrossRegionalSourceBuilder() { return getCrossRegionalSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Cross-regional source taxonomy to import.
      * 
@@ -1072,7 +1219,8 @@ public com.google.cloud.datacatalog.v1.CrossRegionalSource.Builder getCrossRegio * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.CrossRegionalSourceOrBuilder getCrossRegionalSourceOrBuilder() { + public com.google.cloud.datacatalog.v1.CrossRegionalSourceOrBuilder + getCrossRegionalSourceOrBuilder() { if ((sourceCase_ == 3) && (crossRegionalSourceBuilder_ != null)) { return crossRegionalSourceBuilder_.getMessageOrBuilder(); } else { @@ -1083,6 +1231,8 @@ public com.google.cloud.datacatalog.v1.CrossRegionalSourceOrBuilder getCrossRegi } } /** + * + * *
      * Cross-regional source taxonomy to import.
      * 
@@ -1090,14 +1240,19 @@ public com.google.cloud.datacatalog.v1.CrossRegionalSourceOrBuilder getCrossRegi * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.CrossRegionalSource, com.google.cloud.datacatalog.v1.CrossRegionalSource.Builder, com.google.cloud.datacatalog.v1.CrossRegionalSourceOrBuilder> + com.google.cloud.datacatalog.v1.CrossRegionalSource, + com.google.cloud.datacatalog.v1.CrossRegionalSource.Builder, + com.google.cloud.datacatalog.v1.CrossRegionalSourceOrBuilder> getCrossRegionalSourceFieldBuilder() { if (crossRegionalSourceBuilder_ == null) { if (!(sourceCase_ == 3)) { source_ = com.google.cloud.datacatalog.v1.CrossRegionalSource.getDefaultInstance(); } - crossRegionalSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.CrossRegionalSource, com.google.cloud.datacatalog.v1.CrossRegionalSource.Builder, com.google.cloud.datacatalog.v1.CrossRegionalSourceOrBuilder>( + crossRegionalSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.CrossRegionalSource, + com.google.cloud.datacatalog.v1.CrossRegionalSource.Builder, + com.google.cloud.datacatalog.v1.CrossRegionalSourceOrBuilder>( (com.google.cloud.datacatalog.v1.CrossRegionalSource) source_, getParentForChildren(), isClean()); @@ -1107,9 +1262,9 @@ public com.google.cloud.datacatalog.v1.CrossRegionalSourceOrBuilder getCrossRegi onChanged(); return crossRegionalSourceBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1119,12 +1274,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ImportTaxonomiesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ImportTaxonomiesRequest) private static final com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest(); } @@ -1133,27 +1288,27 @@ public static com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportTaxonomiesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportTaxonomiesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1168,6 +1323,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequestOrBuilder.java index 4ed92f09d014..cd4ee592af42 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequestOrBuilder.java @@ -1,53 +1,86 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1; -public interface ImportTaxonomiesRequestOrBuilder extends +public interface ImportTaxonomiesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ImportTaxonomiesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of project that the imported taxonomies will belong
    * to.
    * 
* - * string parent = 1 [(.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. Resource name of project that the imported taxonomies will belong
    * to.
    * 
* - * string parent = 1 [(.google.api.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(); /** + * + * *
    * Inline source taxonomy to import.
    * 
* * .google.cloud.datacatalog.v1.InlineSource inline_source = 2; + * * @return Whether the inlineSource field is set. */ boolean hasInlineSource(); /** + * + * *
    * Inline source taxonomy to import.
    * 
* * .google.cloud.datacatalog.v1.InlineSource inline_source = 2; + * * @return The inlineSource. */ com.google.cloud.datacatalog.v1.InlineSource getInlineSource(); /** + * + * *
    * Inline source taxonomy to import.
    * 
@@ -57,24 +90,32 @@ public interface ImportTaxonomiesRequestOrBuilder extends com.google.cloud.datacatalog.v1.InlineSourceOrBuilder getInlineSourceOrBuilder(); /** + * + * *
    * Cross-regional source taxonomy to import.
    * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; + * * @return Whether the crossRegionalSource field is set. */ boolean hasCrossRegionalSource(); /** + * + * *
    * Cross-regional source taxonomy to import.
    * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; + * * @return The crossRegionalSource. */ com.google.cloud.datacatalog.v1.CrossRegionalSource getCrossRegionalSource(); /** + * + * *
    * Cross-regional source taxonomy to import.
    * 
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponse.java similarity index 70% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponse.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponse.java index 2568dc4d2f8f..02ac2467da3a 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponse.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/datacatalog/v1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Response message for
  * [ImportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ImportTaxonomies].
@@ -11,43 +28,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ImportTaxonomiesResponse}
  */
-public final class ImportTaxonomiesResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ImportTaxonomiesResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ImportTaxonomiesResponse)
     ImportTaxonomiesResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ImportTaxonomiesResponse.newBuilder() to construct.
   private ImportTaxonomiesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ImportTaxonomiesResponse() {
     taxonomies_ = 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 ImportTaxonomiesResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+        .internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+        .internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse.class, com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse.Builder.class);
+            com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse.class,
+            com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse.Builder.class);
   }
 
   public static final int TAXONOMIES_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List taxonomies_;
   /**
+   *
+   *
    * 
    * Imported taxonomies.
    * 
@@ -59,6 +81,8 @@ public java.util.List getTaxonomiesLis return taxonomies_; } /** + * + * *
    * Imported taxonomies.
    * 
@@ -66,11 +90,13 @@ public java.util.List getTaxonomiesLis * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTaxonomiesOrBuilderList() { return taxonomies_; } /** + * + * *
    * Imported taxonomies.
    * 
@@ -82,6 +108,8 @@ public int getTaxonomiesCount() { return taxonomies_.size(); } /** + * + * *
    * Imported taxonomies.
    * 
@@ -93,6 +121,8 @@ public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomies(int index) { return taxonomies_.get(index); } /** + * + * *
    * Imported taxonomies.
    * 
@@ -100,12 +130,12 @@ public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomies(int index) { * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder(int index) { return taxonomies_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,8 +147,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < taxonomies_.size(); i++) { output.writeMessage(1, taxonomies_.get(i)); } @@ -132,8 +161,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < taxonomies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, taxonomies_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, taxonomies_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -143,15 +171,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse other = (com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse) obj; + com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse other = + (com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse) obj; - if (!getTaxonomiesList() - .equals(other.getTaxonomiesList())) return false; + if (!getTaxonomiesList().equals(other.getTaxonomiesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -173,98 +201,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for
    * [ImportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ImportTaxonomies].
@@ -272,33 +306,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ImportTaxonomiesResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ImportTaxonomiesResponse)
       com.google.cloud.datacatalog.v1.ImportTaxonomiesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse.class, com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse.Builder.class);
+              com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse.class,
+              com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -314,9 +347,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_descriptor;
     }
 
     @java.lang.Override
@@ -335,14 +368,18 @@ public com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse buildPartial() {
-      com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse result = new com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse(this);
+      com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse result =
+          new com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse result) {
       if (taxonomiesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           taxonomies_ = java.util.Collections.unmodifiableList(taxonomies_);
@@ -362,38 +399,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ImportTaxonomiesRespo
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -401,7 +439,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse other) {
-      if (other == com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse.getDefaultInstance())
+        return this;
       if (taxonomiesBuilder_ == null) {
         if (!other.taxonomies_.isEmpty()) {
           if (taxonomies_.isEmpty()) {
@@ -420,9 +459,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.ImportTaxonomiesRespons
             taxonomiesBuilder_ = null;
             taxonomies_ = other.taxonomies_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            taxonomiesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getTaxonomiesFieldBuilder() : null;
+            taxonomiesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getTaxonomiesFieldBuilder()
+                    : null;
           } else {
             taxonomiesBuilder_.addAllMessages(other.taxonomies_);
           }
@@ -454,25 +494,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.datacatalog.v1.Taxonomy m =
-                  input.readMessage(
-                      com.google.cloud.datacatalog.v1.Taxonomy.parser(),
-                      extensionRegistry);
-              if (taxonomiesBuilder_ == null) {
-                ensureTaxonomiesIsMutable();
-                taxonomies_.add(m);
-              } else {
-                taxonomiesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.cloud.datacatalog.v1.Taxonomy m =
+                    input.readMessage(
+                        com.google.cloud.datacatalog.v1.Taxonomy.parser(), extensionRegistry);
+                if (taxonomiesBuilder_ == null) {
+                  ensureTaxonomiesIsMutable();
+                  taxonomies_.add(m);
+                } else {
+                  taxonomiesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -482,21 +523,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List taxonomies_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureTaxonomiesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        taxonomies_ = new java.util.ArrayList(taxonomies_);
+        taxonomies_ =
+            new java.util.ArrayList(taxonomies_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.Taxonomy, com.google.cloud.datacatalog.v1.Taxonomy.Builder, com.google.cloud.datacatalog.v1.TaxonomyOrBuilder> taxonomiesBuilder_;
+            com.google.cloud.datacatalog.v1.Taxonomy,
+            com.google.cloud.datacatalog.v1.Taxonomy.Builder,
+            com.google.cloud.datacatalog.v1.TaxonomyOrBuilder>
+        taxonomiesBuilder_;
 
     /**
+     *
+     *
      * 
      * Imported taxonomies.
      * 
@@ -511,6 +560,8 @@ public java.util.List getTaxonomiesLis } } /** + * + * *
      * Imported taxonomies.
      * 
@@ -525,6 +576,8 @@ public int getTaxonomiesCount() { } } /** + * + * *
      * Imported taxonomies.
      * 
@@ -539,14 +592,15 @@ public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomies(int index) { } } /** + * + * *
      * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - public Builder setTaxonomies( - int index, com.google.cloud.datacatalog.v1.Taxonomy value) { + public Builder setTaxonomies(int index, com.google.cloud.datacatalog.v1.Taxonomy value) { if (taxonomiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -560,6 +614,8 @@ public Builder setTaxonomies( return this; } /** + * + * *
      * Imported taxonomies.
      * 
@@ -578,6 +634,8 @@ public Builder setTaxonomies( return this; } /** + * + * *
      * Imported taxonomies.
      * 
@@ -598,14 +656,15 @@ public Builder addTaxonomies(com.google.cloud.datacatalog.v1.Taxonomy value) { return this; } /** + * + * *
      * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - public Builder addTaxonomies( - int index, com.google.cloud.datacatalog.v1.Taxonomy value) { + public Builder addTaxonomies(int index, com.google.cloud.datacatalog.v1.Taxonomy value) { if (taxonomiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -619,14 +678,15 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - public Builder addTaxonomies( - com.google.cloud.datacatalog.v1.Taxonomy.Builder builderForValue) { + public Builder addTaxonomies(com.google.cloud.datacatalog.v1.Taxonomy.Builder builderForValue) { if (taxonomiesBuilder_ == null) { ensureTaxonomiesIsMutable(); taxonomies_.add(builderForValue.build()); @@ -637,6 +697,8 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * Imported taxonomies.
      * 
@@ -655,6 +717,8 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * Imported taxonomies.
      * 
@@ -665,8 +729,7 @@ public Builder addAllTaxonomies( java.lang.Iterable values) { if (taxonomiesBuilder_ == null) { ensureTaxonomiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, taxonomies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taxonomies_); onChanged(); } else { taxonomiesBuilder_.addAllMessages(values); @@ -674,6 +737,8 @@ public Builder addAllTaxonomies( return this; } /** + * + * *
      * Imported taxonomies.
      * 
@@ -691,6 +756,8 @@ public Builder clearTaxonomies() { return this; } /** + * + * *
      * Imported taxonomies.
      * 
@@ -708,39 +775,44 @@ public Builder removeTaxonomies(int index) { return this; } /** + * + * *
      * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - public com.google.cloud.datacatalog.v1.Taxonomy.Builder getTaxonomiesBuilder( - int index) { + public com.google.cloud.datacatalog.v1.Taxonomy.Builder getTaxonomiesBuilder(int index) { return getTaxonomiesFieldBuilder().getBuilder(index); } /** + * + * *
      * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder(int index) { if (taxonomiesBuilder_ == null) { - return taxonomies_.get(index); } else { + return taxonomies_.get(index); + } else { return taxonomiesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - public java.util.List - getTaxonomiesOrBuilderList() { + public java.util.List + getTaxonomiesOrBuilderList() { if (taxonomiesBuilder_ != null) { return taxonomiesBuilder_.getMessageOrBuilderList(); } else { @@ -748,6 +820,8 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder( } } /** + * + * *
      * Imported taxonomies.
      * 
@@ -755,49 +829,55 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder( * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ public com.google.cloud.datacatalog.v1.Taxonomy.Builder addTaxonomiesBuilder() { - return getTaxonomiesFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance()); + return getTaxonomiesFieldBuilder() + .addBuilder(com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance()); } /** + * + * *
      * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - public com.google.cloud.datacatalog.v1.Taxonomy.Builder addTaxonomiesBuilder( - int index) { - return getTaxonomiesFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance()); + public com.google.cloud.datacatalog.v1.Taxonomy.Builder addTaxonomiesBuilder(int index) { + return getTaxonomiesFieldBuilder() + .addBuilder(index, com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance()); } /** + * + * *
      * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - public java.util.List - getTaxonomiesBuilderList() { + public java.util.List + getTaxonomiesBuilderList() { return getTaxonomiesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Taxonomy, com.google.cloud.datacatalog.v1.Taxonomy.Builder, com.google.cloud.datacatalog.v1.TaxonomyOrBuilder> + com.google.cloud.datacatalog.v1.Taxonomy, + com.google.cloud.datacatalog.v1.Taxonomy.Builder, + com.google.cloud.datacatalog.v1.TaxonomyOrBuilder> getTaxonomiesFieldBuilder() { if (taxonomiesBuilder_ == null) { - taxonomiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Taxonomy, com.google.cloud.datacatalog.v1.Taxonomy.Builder, com.google.cloud.datacatalog.v1.TaxonomyOrBuilder>( - taxonomies_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + taxonomiesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.Taxonomy, + com.google.cloud.datacatalog.v1.Taxonomy.Builder, + com.google.cloud.datacatalog.v1.TaxonomyOrBuilder>( + taxonomies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); taxonomies_ = null; } return taxonomiesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -807,12 +887,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ImportTaxonomiesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ImportTaxonomiesResponse) private static final com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse(); } @@ -821,27 +901,27 @@ public static com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportTaxonomiesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportTaxonomiesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +936,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponseOrBuilder.java similarity index 61% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponseOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponseOrBuilder.java index e9df0b81d75e..2eac46704179 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponseOrBuilder.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/datacatalog/v1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1; -public interface ImportTaxonomiesResponseOrBuilder extends +public interface ImportTaxonomiesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ImportTaxonomiesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Imported taxonomies.
    * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - java.util.List - getTaxonomiesList(); + java.util.List getTaxonomiesList(); /** + * + * *
    * Imported taxonomies.
    * 
@@ -25,6 +44,8 @@ public interface ImportTaxonomiesResponseOrBuilder extends */ com.google.cloud.datacatalog.v1.Taxonomy getTaxonomies(int index); /** + * + * *
    * Imported taxonomies.
    * 
@@ -33,21 +54,24 @@ public interface ImportTaxonomiesResponseOrBuilder extends */ int getTaxonomiesCount(); /** + * + * *
    * Imported taxonomies.
    * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - java.util.List + java.util.List getTaxonomiesOrBuilderList(); /** + * + * *
    * Imported taxonomies.
    * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder( - int index); + com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder(int index); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSource.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSource.java similarity index 62% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSource.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSource.java index e9864bd1c705..f53d578b305d 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSource.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSource.java @@ -1,102 +1,142 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Inline source containing taxonomies to import.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.InlineSource} */ -public final class InlineSource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class InlineSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.InlineSource) InlineSourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InlineSource.newBuilder() to construct. private InlineSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InlineSource() { taxonomies_ = 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 InlineSource(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_InlineSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto + .internal_static_google_cloud_datacatalog_v1_InlineSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_InlineSource_fieldAccessorTable + return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto + .internal_static_google_cloud_datacatalog_v1_InlineSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.InlineSource.class, com.google.cloud.datacatalog.v1.InlineSource.Builder.class); + com.google.cloud.datacatalog.v1.InlineSource.class, + com.google.cloud.datacatalog.v1.InlineSource.Builder.class); } public static final int TAXONOMIES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List taxonomies_; /** + * + * *
    * Required. Taxonomies to import.
    * 
* - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getTaxonomiesList() { return taxonomies_; } /** + * + * *
    * Required. Taxonomies to import.
    * 
* - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getTaxonomiesOrBuilderList() { return taxonomies_; } /** + * + * *
    * Required. Taxonomies to import.
    * 
* - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getTaxonomiesCount() { return taxonomies_.size(); } /** + * + * *
    * Required. Taxonomies to import.
    * 
* - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1.SerializedTaxonomy getTaxonomies(int index) { return taxonomies_.get(index); } /** + * + * *
    * Required. Taxonomies to import.
    * 
* - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomiesOrBuilder( @@ -105,6 +145,7 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomies } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,8 +157,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < taxonomies_.size(); i++) { output.writeMessage(1, taxonomies_.get(i)); } @@ -131,8 +171,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < taxonomies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, taxonomies_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, taxonomies_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -142,15 +181,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.InlineSource)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.InlineSource other = (com.google.cloud.datacatalog.v1.InlineSource) obj; + com.google.cloud.datacatalog.v1.InlineSource other = + (com.google.cloud.datacatalog.v1.InlineSource) obj; - if (!getTaxonomiesList() - .equals(other.getTaxonomiesList())) return false; + if (!getTaxonomiesList().equals(other.getTaxonomiesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -171,132 +210,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.InlineSource parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.InlineSource parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.InlineSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.InlineSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.InlineSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.InlineSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.InlineSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.InlineSource parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.InlineSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.InlineSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.InlineSource parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.InlineSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.InlineSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.InlineSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.InlineSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Inline source containing taxonomies to import.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.InlineSource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.InlineSource) com.google.cloud.datacatalog.v1.InlineSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_InlineSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto + .internal_static_google_cloud_datacatalog_v1_InlineSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_InlineSource_fieldAccessorTable + return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto + .internal_static_google_cloud_datacatalog_v1_InlineSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.InlineSource.class, com.google.cloud.datacatalog.v1.InlineSource.Builder.class); + com.google.cloud.datacatalog.v1.InlineSource.class, + com.google.cloud.datacatalog.v1.InlineSource.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.InlineSource.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -312,9 +355,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_InlineSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto + .internal_static_google_cloud_datacatalog_v1_InlineSource_descriptor; } @java.lang.Override @@ -333,9 +376,12 @@ public com.google.cloud.datacatalog.v1.InlineSource build() { @java.lang.Override public com.google.cloud.datacatalog.v1.InlineSource buildPartial() { - com.google.cloud.datacatalog.v1.InlineSource result = new com.google.cloud.datacatalog.v1.InlineSource(this); + com.google.cloud.datacatalog.v1.InlineSource result = + new com.google.cloud.datacatalog.v1.InlineSource(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -360,38 +406,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.InlineSource result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.InlineSource) { - return mergeFrom((com.google.cloud.datacatalog.v1.InlineSource)other); + return mergeFrom((com.google.cloud.datacatalog.v1.InlineSource) other); } else { super.mergeFrom(other); return this; @@ -418,9 +465,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.InlineSource other) { taxonomiesBuilder_ = null; taxonomies_ = other.taxonomies_; bitField0_ = (bitField0_ & ~0x00000001); - taxonomiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTaxonomiesFieldBuilder() : null; + taxonomiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTaxonomiesFieldBuilder() + : null; } else { taxonomiesBuilder_.addAllMessages(other.taxonomies_); } @@ -452,25 +500,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.datacatalog.v1.SerializedTaxonomy m = - input.readMessage( - com.google.cloud.datacatalog.v1.SerializedTaxonomy.parser(), - extensionRegistry); - if (taxonomiesBuilder_ == null) { - ensureTaxonomiesIsMutable(); - taxonomies_.add(m); - } else { - taxonomiesBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.datacatalog.v1.SerializedTaxonomy m = + input.readMessage( + com.google.cloud.datacatalog.v1.SerializedTaxonomy.parser(), + extensionRegistry); + if (taxonomiesBuilder_ == null) { + ensureTaxonomiesIsMutable(); + taxonomies_.add(m); + } else { + taxonomiesBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -480,26 +530,37 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List taxonomies_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTaxonomiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - taxonomies_ = new java.util.ArrayList(taxonomies_); + taxonomies_ = + new java.util.ArrayList( + taxonomies_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.SerializedTaxonomy, com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder> taxonomiesBuilder_; + com.google.cloud.datacatalog.v1.SerializedTaxonomy, + com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, + com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder> + taxonomiesBuilder_; /** + * + * *
      * Required. Taxonomies to import.
      * 
* - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getTaxonomiesList() { if (taxonomiesBuilder_ == null) { @@ -509,11 +570,15 @@ public java.util.List getTax } } /** + * + * *
      * Required. Taxonomies to import.
      * 
* - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getTaxonomiesCount() { if (taxonomiesBuilder_ == null) { @@ -523,11 +588,15 @@ public int getTaxonomiesCount() { } } /** + * + * *
      * Required. Taxonomies to import.
      * 
* - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1.SerializedTaxonomy getTaxonomies(int index) { if (taxonomiesBuilder_ == null) { @@ -537,11 +606,15 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomy getTaxonomies(int inde } } /** + * + * *
      * Required. Taxonomies to import.
      * 
* - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTaxonomies( int index, com.google.cloud.datacatalog.v1.SerializedTaxonomy value) { @@ -558,11 +631,15 @@ public Builder setTaxonomies( return this; } /** + * + * *
      * Required. Taxonomies to import.
      * 
* - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTaxonomies( int index, com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder builderForValue) { @@ -576,11 +653,15 @@ public Builder setTaxonomies( return this; } /** + * + * *
      * Required. Taxonomies to import.
      * 
* - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addTaxonomies(com.google.cloud.datacatalog.v1.SerializedTaxonomy value) { if (taxonomiesBuilder_ == null) { @@ -596,11 +677,15 @@ public Builder addTaxonomies(com.google.cloud.datacatalog.v1.SerializedTaxonomy return this; } /** + * + * *
      * Required. Taxonomies to import.
      * 
* - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addTaxonomies( int index, com.google.cloud.datacatalog.v1.SerializedTaxonomy value) { @@ -617,11 +702,15 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * Required. Taxonomies to import.
      * 
* - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addTaxonomies( com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder builderForValue) { @@ -635,11 +724,15 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * Required. Taxonomies to import.
      * 
* - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addTaxonomies( int index, com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder builderForValue) { @@ -653,18 +746,21 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * Required. Taxonomies to import.
      * 
* - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllTaxonomies( java.lang.Iterable values) { if (taxonomiesBuilder_ == null) { ensureTaxonomiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, taxonomies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taxonomies_); onChanged(); } else { taxonomiesBuilder_.addAllMessages(values); @@ -672,11 +768,15 @@ public Builder addAllTaxonomies( return this; } /** + * + * *
      * Required. Taxonomies to import.
      * 
* - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTaxonomies() { if (taxonomiesBuilder_ == null) { @@ -689,11 +789,15 @@ public Builder clearTaxonomies() { return this; } /** + * + * *
      * Required. Taxonomies to import.
      * 
* - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeTaxonomies(int index) { if (taxonomiesBuilder_ == null) { @@ -706,39 +810,52 @@ public Builder removeTaxonomies(int index) { return this; } /** + * + * *
      * Required. Taxonomies to import.
      * 
* - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder getTaxonomiesBuilder( int index) { return getTaxonomiesFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. Taxonomies to import.
      * 
* - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomiesOrBuilder( int index) { if (taxonomiesBuilder_ == null) { - return taxonomies_.get(index); } else { + return taxonomies_.get(index); + } else { return taxonomiesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. Taxonomies to import.
      * 
* - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getTaxonomiesOrBuilderList() { + public java.util.List + getTaxonomiesOrBuilderList() { if (taxonomiesBuilder_ != null) { return taxonomiesBuilder_.getMessageOrBuilderList(); } else { @@ -746,56 +863,72 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomies } } /** + * + * *
      * Required. Taxonomies to import.
      * 
* - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder addTaxonomiesBuilder() { - return getTaxonomiesFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance()); + return getTaxonomiesFieldBuilder() + .addBuilder(com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance()); } /** + * + * *
      * Required. Taxonomies to import.
      * 
* - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder addTaxonomiesBuilder( int index) { - return getTaxonomiesFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance()); + return getTaxonomiesFieldBuilder() + .addBuilder( + index, com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance()); } /** + * + * *
      * Required. Taxonomies to import.
      * 
* - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getTaxonomiesBuilderList() { + public java.util.List + getTaxonomiesBuilderList() { return getTaxonomiesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.SerializedTaxonomy, com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder> + com.google.cloud.datacatalog.v1.SerializedTaxonomy, + com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, + com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder> getTaxonomiesFieldBuilder() { if (taxonomiesBuilder_ == null) { - taxonomiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.SerializedTaxonomy, com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder>( - taxonomies_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + taxonomiesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.SerializedTaxonomy, + com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, + com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder>( + taxonomies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); taxonomies_ = null; } return taxonomiesBuilder_; } + @java.lang.Override - 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 +938,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.InlineSource) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.InlineSource) private static final com.google.cloud.datacatalog.v1.InlineSource DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.InlineSource(); } @@ -819,27 +952,27 @@ public static com.google.cloud.datacatalog.v1.InlineSource getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InlineSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InlineSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +987,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.InlineSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSourceOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSourceOrBuilder.java new file mode 100644 index 000000000000..47a8ba2d9310 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSourceOrBuilder.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/datacatalog/v1/policytagmanagerserialization.proto + +package com.google.cloud.datacatalog.v1; + +public interface InlineSourceOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.InlineSource) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Taxonomies to import.
+   * 
+ * + * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + java.util.List getTaxonomiesList(); + /** + * + * + *
+   * Required. Taxonomies to import.
+   * 
+ * + * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.datacatalog.v1.SerializedTaxonomy getTaxonomies(int index); + /** + * + * + *
+   * Required. Taxonomies to import.
+   * 
+ * + * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + int getTaxonomiesCount(); + /** + * + * + *
+   * Required. Taxonomies to import.
+   * 
+ * + * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + java.util.List + getTaxonomiesOrBuilderList(); + /** + * + * + *
+   * Required. Taxonomies to import.
+   * 
+ * + * + * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomiesOrBuilder(int index); +} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/IntegratedSystem.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/IntegratedSystem.java similarity index 70% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/IntegratedSystem.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/IntegratedSystem.java index bb6ee00e8008..7cbe4c8c1a3d 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/IntegratedSystem.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/IntegratedSystem.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/datacatalog/v1/common.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * This enum lists all the systems that Data Catalog integrates with.
  * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.IntegratedSystem} */ -public enum IntegratedSystem - implements com.google.protobuf.ProtocolMessageEnum { +public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Default unknown system.
    * 
@@ -21,6 +39,8 @@ public enum IntegratedSystem */ INTEGRATED_SYSTEM_UNSPECIFIED(0), /** + * + * *
    * BigQuery.
    * 
@@ -29,6 +49,8 @@ public enum IntegratedSystem */ BIGQUERY(1), /** + * + * *
    * Cloud Pub/Sub.
    * 
@@ -37,6 +59,8 @@ public enum IntegratedSystem */ CLOUD_PUBSUB(2), /** + * + * *
    * Dataproc Metastore.
    * 
@@ -45,6 +69,8 @@ public enum IntegratedSystem */ DATAPROC_METASTORE(3), /** + * + * *
    * Dataplex.
    * 
@@ -53,6 +79,8 @@ public enum IntegratedSystem */ DATAPLEX(4), /** + * + * *
    * Cloud Spanner
    * 
@@ -61,6 +89,8 @@ public enum IntegratedSystem */ CLOUD_SPANNER(6), /** + * + * *
    * Cloud Bigtable
    * 
@@ -69,6 +99,8 @@ public enum IntegratedSystem */ CLOUD_BIGTABLE(7), /** + * + * *
    * Cloud Sql
    * 
@@ -77,6 +109,8 @@ public enum IntegratedSystem */ CLOUD_SQL(8), /** + * + * *
    * Looker
    * 
@@ -88,6 +122,8 @@ public enum IntegratedSystem ; /** + * + * *
    * Default unknown system.
    * 
@@ -96,6 +132,8 @@ public enum IntegratedSystem */ public static final int INTEGRATED_SYSTEM_UNSPECIFIED_VALUE = 0; /** + * + * *
    * BigQuery.
    * 
@@ -104,6 +142,8 @@ public enum IntegratedSystem */ public static final int BIGQUERY_VALUE = 1; /** + * + * *
    * Cloud Pub/Sub.
    * 
@@ -112,6 +152,8 @@ public enum IntegratedSystem */ public static final int CLOUD_PUBSUB_VALUE = 2; /** + * + * *
    * Dataproc Metastore.
    * 
@@ -120,6 +162,8 @@ public enum IntegratedSystem */ public static final int DATAPROC_METASTORE_VALUE = 3; /** + * + * *
    * Dataplex.
    * 
@@ -128,6 +172,8 @@ public enum IntegratedSystem */ public static final int DATAPLEX_VALUE = 4; /** + * + * *
    * Cloud Spanner
    * 
@@ -136,6 +182,8 @@ public enum IntegratedSystem */ public static final int CLOUD_SPANNER_VALUE = 6; /** + * + * *
    * Cloud Bigtable
    * 
@@ -144,6 +192,8 @@ public enum IntegratedSystem */ public static final int CLOUD_BIGTABLE_VALUE = 7; /** + * + * *
    * Cloud Sql
    * 
@@ -152,6 +202,8 @@ public enum IntegratedSystem */ public static final int CLOUD_SQL_VALUE = 8; /** + * + * *
    * Looker
    * 
@@ -160,7 +212,6 @@ public enum IntegratedSystem */ public static final int LOOKER_VALUE = 9; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -185,55 +236,61 @@ public static IntegratedSystem valueOf(int value) { */ public static IntegratedSystem forNumber(int value) { switch (value) { - case 0: return INTEGRATED_SYSTEM_UNSPECIFIED; - case 1: return BIGQUERY; - case 2: return CLOUD_PUBSUB; - case 3: return DATAPROC_METASTORE; - case 4: return DATAPLEX; - case 6: return CLOUD_SPANNER; - case 7: return CLOUD_BIGTABLE; - case 8: return CLOUD_SQL; - case 9: return LOOKER; - default: return null; + case 0: + return INTEGRATED_SYSTEM_UNSPECIFIED; + case 1: + return BIGQUERY; + case 2: + return CLOUD_PUBSUB; + case 3: + return DATAPROC_METASTORE; + case 4: + return DATAPLEX; + case 6: + return CLOUD_SPANNER; + case 7: + return CLOUD_BIGTABLE; + case 8: + return CLOUD_SQL; + case 9: + return LOOKER; + 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< - IntegratedSystem> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public IntegratedSystem findValueByNumber(int number) { - return IntegratedSystem.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 IntegratedSystem findValueByNumber(int number) { + return IntegratedSystem.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.datacatalog.v1.Common.getDescriptor().getEnumTypes().get(0); } private static final IntegratedSystem[] VALUES = values(); - public static IntegratedSystem valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static IntegratedSystem 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; @@ -249,4 +306,3 @@ private IntegratedSystem(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1.IntegratedSystem) } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequest.java similarity index 70% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequest.java index 67cf779d66de..7d6dccc700d3 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequest.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [ListEntries][google.cloud.datacatalog.v1.DataCatalog.ListEntries].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ListEntriesRequest}
  */
-public final class ListEntriesRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListEntriesRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ListEntriesRequest)
     ListEntriesRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListEntriesRequest.newBuilder() to construct.
   private ListEntriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListEntriesRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -27,35 +45,42 @@ private ListEntriesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListEntriesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ListEntriesRequest.class, com.google.cloud.datacatalog.v1.ListEntriesRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.ListEntriesRequest.class,
+            com.google.cloud.datacatalog.v1.ListEntriesRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the entry group that contains the entries to list.
    *
    * Can be provided in URL format.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,31 +89,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the entry group that contains the entries to list.
    *
    * Can be provided in URL format.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -99,12 +126,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * The maximum number of items to return. Default is 10. Maximum limit is
    * 1000. Throws an invalid argument if `page_size` is more than 1000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -113,15 +143,19 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Pagination token that specifies the next page to return. If empty, the
    * first page is returned.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -130,30 +164,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Pagination token that specifies the next page to return. If empty, the
    * first page is returned.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -164,6 +198,8 @@ public java.lang.String getPageToken() { public static final int READ_MASK_FIELD_NUMBER = 4; private com.google.protobuf.FieldMask readMask_; /** + * + * *
    * The fields to return for each entry. If empty or omitted, all
    * fields are returned.
@@ -173,6 +209,7 @@ public java.lang.String getPageToken() {
    * 
* * .google.protobuf.FieldMask read_mask = 4; + * * @return Whether the readMask field is set. */ @java.lang.Override @@ -180,6 +217,8 @@ public boolean hasReadMask() { return readMask_ != null; } /** + * + * *
    * The fields to return for each entry. If empty or omitted, all
    * fields are returned.
@@ -189,6 +228,7 @@ public boolean hasReadMask() {
    * 
* * .google.protobuf.FieldMask read_mask = 4; + * * @return The readMask. */ @java.lang.Override @@ -196,6 +236,8 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** + * + * *
    * The fields to return for each entry. If empty or omitted, all
    * fields are returned.
@@ -212,6 +254,7 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -223,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,15 +292,13 @@ 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_);
     }
     if (readMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getReadMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getReadMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -268,23 +308,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.datacatalog.v1.ListEntriesRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1.ListEntriesRequest other = (com.google.cloud.datacatalog.v1.ListEntriesRequest) obj;
-
-    if (!getParent()
-        .equals(other.getParent())) return false;
-    if (getPageSize()
-        != other.getPageSize()) return false;
-    if (!getPageToken()
-        .equals(other.getPageToken())) return false;
+    com.google.cloud.datacatalog.v1.ListEntriesRequest other =
+        (com.google.cloud.datacatalog.v1.ListEntriesRequest) obj;
+
+    if (!getParent().equals(other.getParent())) return false;
+    if (getPageSize() != other.getPageSize()) return false;
+    if (!getPageToken().equals(other.getPageToken())) return false;
     if (hasReadMask() != other.hasReadMask()) return false;
     if (hasReadMask()) {
-      if (!getReadMask()
-          .equals(other.getReadMask())) return false;
+      if (!getReadMask().equals(other.getReadMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -313,98 +350,103 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1.ListEntriesRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.ListEntriesRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.ListEntriesRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.ListEntriesRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.ListEntriesRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.ListEntriesRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.datacatalog.v1.ListEntriesRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.datacatalog.v1.ListEntriesRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1.ListEntriesRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1.ListEntriesRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.ListEntriesRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1.ListEntriesRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.ListEntriesRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1.ListEntriesRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.datacatalog.v1.ListEntriesRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Request message for
    * [ListEntries][google.cloud.datacatalog.v1.DataCatalog.ListEntries].
@@ -412,33 +454,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ListEntriesRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ListEntriesRequest)
       com.google.cloud.datacatalog.v1.ListEntriesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ListEntriesRequest.class, com.google.cloud.datacatalog.v1.ListEntriesRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.ListEntriesRequest.class,
+              com.google.cloud.datacatalog.v1.ListEntriesRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ListEntriesRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -455,9 +496,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -476,8 +517,11 @@ public com.google.cloud.datacatalog.v1.ListEntriesRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ListEntriesRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.ListEntriesRequest result = new com.google.cloud.datacatalog.v1.ListEntriesRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.ListEntriesRequest result =
+          new com.google.cloud.datacatalog.v1.ListEntriesRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -494,9 +538,7 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ListEntriesRequest re
         result.pageToken_ = pageToken_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.readMask_ = readMaskBuilder_ == null
-            ? readMask_
-            : readMaskBuilder_.build();
+        result.readMask_ = readMaskBuilder_ == null ? readMask_ : readMaskBuilder_.build();
       }
     }
 
@@ -504,38 +546,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ListEntriesRequest 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.datacatalog.v1.ListEntriesRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ListEntriesRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ListEntriesRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -543,7 +586,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ListEntriesRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.ListEntriesRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.ListEntriesRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -586,34 +630,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: {
-              input.readMessage(
-                  getReadMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              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:
+              {
+                input.readMessage(getReadMaskFieldBuilder().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) {
@@ -623,24 +670,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the entry group that contains the entries to list.
      *
      * Can be provided in URL format.
      * 
* - * string parent = 1 [(.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,22 +701,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the entry group that contains the entries to list.
      *
      * Can be provided in URL format.
      * 
* - * string parent = 1 [(.google.api.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,32 +727,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the entry group that contains the entries to list.
      *
      * Can be provided in URL format.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the entry group that contains the entries to list.
      *
      * Can be provided in URL format.
      * 
* - * string 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() { @@ -707,19 +773,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the entry group that contains the entries to list.
      *
      * Can be provided in URL format.
      * 
* - * 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; @@ -727,14 +799,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of items to return. Default is 10. Maximum limit is
      * 1000. Throws an invalid argument if `page_size` is more than 1000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -742,12 +817,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of items to return. Default is 10. Maximum limit is
      * 1000. Throws an invalid argument if `page_size` is more than 1000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -759,12 +837,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of items to return. Default is 10. Maximum limit is
      * 1000. Throws an invalid argument if `page_size` is more than 1000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -776,19 +857,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Pagination token that specifies the next page to return. If empty, the
      * first page is returned.
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -797,21 +880,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Pagination token that specifies the next page to return. If empty, the
      * first page is returned.
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -819,30 +903,37 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Pagination token that specifies the next page to return. If empty, the
      * first page is returned.
      * 
* * string page_token = 3; + * * @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; } /** + * + * *
      * Pagination token that specifies the next page to return. If empty, the
      * first page is returned.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -852,18 +943,22 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Pagination token that specifies the next page to return. If empty, the
      * first page is returned.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - 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; @@ -873,8 +968,13 @@ public Builder setPageTokenBytes( private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + readMaskBuilder_; /** + * + * *
      * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
@@ -884,12 +984,15 @@ public Builder setPageTokenBytes(
      * 
* * .google.protobuf.FieldMask read_mask = 4; + * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
@@ -899,6 +1002,7 @@ public boolean hasReadMask() {
      * 
* * .google.protobuf.FieldMask read_mask = 4; + * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -909,6 +1013,8 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** + * + * *
      * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
@@ -933,6 +1039,8 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
@@ -943,8 +1051,7 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask read_mask = 4;
      */
-    public Builder setReadMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (readMaskBuilder_ == null) {
         readMask_ = builderForValue.build();
       } else {
@@ -955,6 +1062,8 @@ public Builder setReadMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
@@ -967,9 +1076,9 @@ public Builder setReadMask(
      */
     public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
       if (readMaskBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0) &&
-          readMask_ != null &&
-          readMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && readMask_ != null
+            && readMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) {
           getReadMaskBuilder().mergeFrom(value);
         } else {
           readMask_ = value;
@@ -982,6 +1091,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
@@ -1003,6 +1114,8 @@ public Builder clearReadMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
@@ -1019,6 +1132,8 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
       return getReadMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
@@ -1033,11 +1148,12 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
       if (readMaskBuilder_ != null) {
         return readMaskBuilder_.getMessageOrBuilder();
       } else {
-        return readMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : readMask_;
+        return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_;
       }
     }
     /**
+     *
+     *
      * 
      * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
@@ -1049,21 +1165,24 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
      * .google.protobuf.FieldMask read_mask = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getReadMaskFieldBuilder() {
       if (readMaskBuilder_ == null) {
-        readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getReadMask(),
-                getParentForChildren(),
-                isClean());
+        readMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getReadMask(), getParentForChildren(), isClean());
         readMask_ = null;
       }
       return readMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1073,12 +1192,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ListEntriesRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ListEntriesRequest)
   private static final com.google.cloud.datacatalog.v1.ListEntriesRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ListEntriesRequest();
   }
@@ -1087,27 +1206,27 @@ public static com.google.cloud.datacatalog.v1.ListEntriesRequest getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ListEntriesRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ListEntriesRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1122,6 +1241,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1.ListEntriesRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequestOrBuilder.java
similarity index 70%
rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequestOrBuilder.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequestOrBuilder.java
index 1c65f4a515e3..8e751a7b682b 100644
--- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequestOrBuilder.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequestOrBuilder.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/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
-public interface ListEntriesRequestOrBuilder extends
+public interface ListEntriesRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ListEntriesRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The name of the entry group that contains the entries to list.
    *
    * Can be provided in URL format.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the entry group that contains the entries to list.
    *
    * Can be provided in URL format.
    * 
* - * string parent = 1 [(.google.api.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(); /** + * + * *
    * The maximum number of items to return. Default is 10. Maximum limit is
    * 1000. Throws an invalid argument if `page_size` is more than 1000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Pagination token that specifies the next page to return. If empty, the
    * first page is returned.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Pagination token that specifies the next page to return. If empty, the
    * first page is returned.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The fields to return for each entry. If empty or omitted, all
    * fields are returned.
@@ -74,10 +109,13 @@ public interface ListEntriesRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask read_mask = 4; + * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** + * + * *
    * The fields to return for each entry. If empty or omitted, all
    * fields are returned.
@@ -87,10 +125,13 @@ public interface ListEntriesRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask read_mask = 4; + * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** + * + * *
    * The fields to return for each entry. If empty or omitted, all
    * fields are returned.
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponse.java
similarity index 71%
rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponse.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponse.java
index 42fedb24210e..8b27dbeb0ad4 100644
--- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponse.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponse.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/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
 /**
+ *
+ *
  * 
  * Response message for
  * [ListEntries][google.cloud.datacatalog.v1.DataCatalog.ListEntries].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ListEntriesResponse}
  */
-public final class ListEntriesResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListEntriesResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ListEntriesResponse)
     ListEntriesResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListEntriesResponse.newBuilder() to construct.
   private ListEntriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListEntriesResponse() {
     entries_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,28 +45,32 @@ private ListEntriesResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListEntriesResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ListEntriesResponse.class, com.google.cloud.datacatalog.v1.ListEntriesResponse.Builder.class);
+            com.google.cloud.datacatalog.v1.ListEntriesResponse.class,
+            com.google.cloud.datacatalog.v1.ListEntriesResponse.Builder.class);
   }
 
   public static final int ENTRIES_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List entries_;
   /**
+   *
+   *
    * 
    * Entry details.
    * 
@@ -60,6 +82,8 @@ public java.util.List getEntriesList() { return entries_; } /** + * + * *
    * Entry details.
    * 
@@ -67,11 +91,13 @@ public java.util.List getEntriesList() { * repeated .google.cloud.datacatalog.v1.Entry entries = 1; */ @java.lang.Override - public java.util.List + public java.util.List getEntriesOrBuilderList() { return entries_; } /** + * + * *
    * Entry details.
    * 
@@ -83,6 +109,8 @@ public int getEntriesCount() { return entries_.size(); } /** + * + * *
    * Entry details.
    * 
@@ -94,6 +122,8 @@ public com.google.cloud.datacatalog.v1.Entry getEntries(int index) { return entries_.get(index); } /** + * + * *
    * Entry details.
    * 
@@ -101,21 +131,24 @@ public com.google.cloud.datacatalog.v1.Entry getEntries(int index) { * repeated .google.cloud.datacatalog.v1.Entry entries = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntriesOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntriesOrBuilder(int index) { return entries_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Pagination token of the next results page. Empty if there are no more items
    * in results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -124,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; } } /** + * + * *
    * Pagination token of the next results page. Empty if there are no more items
    * in results.
    * 
* * 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 { @@ -156,6 +189,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,8 +201,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < entries_.size(); i++) { output.writeMessage(1, entries_.get(i)); } @@ -185,8 +218,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < entries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, entries_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, entries_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -199,17 +231,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.datacatalog.v1.ListEntriesResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ListEntriesResponse other = (com.google.cloud.datacatalog.v1.ListEntriesResponse) obj; + com.google.cloud.datacatalog.v1.ListEntriesResponse other = + (com.google.cloud.datacatalog.v1.ListEntriesResponse) obj; - if (!getEntriesList() - .equals(other.getEntriesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getEntriesList().equals(other.getEntriesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -233,98 +264,103 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ListEntriesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ListEntriesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ListEntriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ListEntriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ListEntriesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ListEntriesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListEntriesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.ListEntriesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ListEntriesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListEntriesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ListEntriesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ListEntriesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ListEntriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ListEntriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.ListEntriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for
    * [ListEntries][google.cloud.datacatalog.v1.DataCatalog.ListEntries].
@@ -332,33 +368,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ListEntriesResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ListEntriesResponse)
       com.google.cloud.datacatalog.v1.ListEntriesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ListEntriesResponse.class, com.google.cloud.datacatalog.v1.ListEntriesResponse.Builder.class);
+              com.google.cloud.datacatalog.v1.ListEntriesResponse.class,
+              com.google.cloud.datacatalog.v1.ListEntriesResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ListEntriesResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -375,9 +410,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_descriptor;
     }
 
     @java.lang.Override
@@ -396,14 +431,18 @@ public com.google.cloud.datacatalog.v1.ListEntriesResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ListEntriesResponse buildPartial() {
-      com.google.cloud.datacatalog.v1.ListEntriesResponse result = new com.google.cloud.datacatalog.v1.ListEntriesResponse(this);
+      com.google.cloud.datacatalog.v1.ListEntriesResponse result =
+          new com.google.cloud.datacatalog.v1.ListEntriesResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1.ListEntriesResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.datacatalog.v1.ListEntriesResponse result) {
       if (entriesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           entries_ = java.util.Collections.unmodifiableList(entries_);
@@ -426,38 +465,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ListEntriesResponse 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.datacatalog.v1.ListEntriesResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ListEntriesResponse)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ListEntriesResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -465,7 +505,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ListEntriesResponse other) {
-      if (other == com.google.cloud.datacatalog.v1.ListEntriesResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.ListEntriesResponse.getDefaultInstance())
+        return this;
       if (entriesBuilder_ == null) {
         if (!other.entries_.isEmpty()) {
           if (entries_.isEmpty()) {
@@ -484,9 +525,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.ListEntriesResponse oth
             entriesBuilder_ = null;
             entries_ = other.entries_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            entriesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getEntriesFieldBuilder() : null;
+            entriesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getEntriesFieldBuilder()
+                    : null;
           } else {
             entriesBuilder_.addAllMessages(other.entries_);
           }
@@ -523,30 +565,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.datacatalog.v1.Entry m =
-                  input.readMessage(
-                      com.google.cloud.datacatalog.v1.Entry.parser(),
-                      extensionRegistry);
-              if (entriesBuilder_ == null) {
-                ensureEntriesIsMutable();
-                entries_.add(m);
-              } else {
-                entriesBuilder_.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.datacatalog.v1.Entry m =
+                    input.readMessage(
+                        com.google.cloud.datacatalog.v1.Entry.parser(), extensionRegistry);
+                if (entriesBuilder_ == null) {
+                  ensureEntriesIsMutable();
+                  entries_.add(m);
+                } else {
+                  entriesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -556,21 +600,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List entries_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureEntriesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         entries_ = new java.util.ArrayList(entries_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.Entry, com.google.cloud.datacatalog.v1.Entry.Builder, com.google.cloud.datacatalog.v1.EntryOrBuilder> entriesBuilder_;
+            com.google.cloud.datacatalog.v1.Entry,
+            com.google.cloud.datacatalog.v1.Entry.Builder,
+            com.google.cloud.datacatalog.v1.EntryOrBuilder>
+        entriesBuilder_;
 
     /**
+     *
+     *
      * 
      * Entry details.
      * 
@@ -585,6 +636,8 @@ public java.util.List getEntriesList() { } } /** + * + * *
      * Entry details.
      * 
@@ -599,6 +652,8 @@ public int getEntriesCount() { } } /** + * + * *
      * Entry details.
      * 
@@ -613,14 +668,15 @@ public com.google.cloud.datacatalog.v1.Entry getEntries(int index) { } } /** + * + * *
      * Entry details.
      * 
* * repeated .google.cloud.datacatalog.v1.Entry entries = 1; */ - public Builder setEntries( - int index, com.google.cloud.datacatalog.v1.Entry value) { + public Builder setEntries(int index, com.google.cloud.datacatalog.v1.Entry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -634,6 +690,8 @@ public Builder setEntries( return this; } /** + * + * *
      * Entry details.
      * 
@@ -652,6 +710,8 @@ public Builder setEntries( return this; } /** + * + * *
      * Entry details.
      * 
@@ -672,14 +732,15 @@ public Builder addEntries(com.google.cloud.datacatalog.v1.Entry value) { return this; } /** + * + * *
      * Entry details.
      * 
* * repeated .google.cloud.datacatalog.v1.Entry entries = 1; */ - public Builder addEntries( - int index, com.google.cloud.datacatalog.v1.Entry value) { + public Builder addEntries(int index, com.google.cloud.datacatalog.v1.Entry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -693,14 +754,15 @@ public Builder addEntries( return this; } /** + * + * *
      * Entry details.
      * 
* * repeated .google.cloud.datacatalog.v1.Entry entries = 1; */ - public Builder addEntries( - com.google.cloud.datacatalog.v1.Entry.Builder builderForValue) { + public Builder addEntries(com.google.cloud.datacatalog.v1.Entry.Builder builderForValue) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.add(builderForValue.build()); @@ -711,6 +773,8 @@ public Builder addEntries( return this; } /** + * + * *
      * Entry details.
      * 
@@ -729,6 +793,8 @@ public Builder addEntries( return this; } /** + * + * *
      * Entry details.
      * 
@@ -739,8 +805,7 @@ public Builder addAllEntries( java.lang.Iterable values) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, entries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entries_); onChanged(); } else { entriesBuilder_.addAllMessages(values); @@ -748,6 +813,8 @@ public Builder addAllEntries( return this; } /** + * + * *
      * Entry details.
      * 
@@ -765,6 +832,8 @@ public Builder clearEntries() { return this; } /** + * + * *
      * Entry details.
      * 
@@ -782,39 +851,44 @@ public Builder removeEntries(int index) { return this; } /** + * + * *
      * Entry details.
      * 
* * repeated .google.cloud.datacatalog.v1.Entry entries = 1; */ - public com.google.cloud.datacatalog.v1.Entry.Builder getEntriesBuilder( - int index) { + public com.google.cloud.datacatalog.v1.Entry.Builder getEntriesBuilder(int index) { return getEntriesFieldBuilder().getBuilder(index); } /** + * + * *
      * Entry details.
      * 
* * repeated .google.cloud.datacatalog.v1.Entry entries = 1; */ - public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntriesOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntriesOrBuilder(int index) { if (entriesBuilder_ == null) { - return entries_.get(index); } else { + return entries_.get(index); + } else { return entriesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Entry details.
      * 
* * repeated .google.cloud.datacatalog.v1.Entry entries = 1; */ - public java.util.List - getEntriesOrBuilderList() { + public java.util.List + getEntriesOrBuilderList() { if (entriesBuilder_ != null) { return entriesBuilder_.getMessageOrBuilderList(); } else { @@ -822,6 +896,8 @@ public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntriesOrBuilder( } } /** + * + * *
      * Entry details.
      * 
@@ -829,42 +905,47 @@ public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntriesOrBuilder( * repeated .google.cloud.datacatalog.v1.Entry entries = 1; */ public com.google.cloud.datacatalog.v1.Entry.Builder addEntriesBuilder() { - return getEntriesFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()); + return getEntriesFieldBuilder() + .addBuilder(com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()); } /** + * + * *
      * Entry details.
      * 
* * repeated .google.cloud.datacatalog.v1.Entry entries = 1; */ - public com.google.cloud.datacatalog.v1.Entry.Builder addEntriesBuilder( - int index) { - return getEntriesFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()); + public com.google.cloud.datacatalog.v1.Entry.Builder addEntriesBuilder(int index) { + return getEntriesFieldBuilder() + .addBuilder(index, com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()); } /** + * + * *
      * Entry details.
      * 
* * repeated .google.cloud.datacatalog.v1.Entry entries = 1; */ - public java.util.List - getEntriesBuilderList() { + public java.util.List getEntriesBuilderList() { return getEntriesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Entry, com.google.cloud.datacatalog.v1.Entry.Builder, com.google.cloud.datacatalog.v1.EntryOrBuilder> + com.google.cloud.datacatalog.v1.Entry, + com.google.cloud.datacatalog.v1.Entry.Builder, + com.google.cloud.datacatalog.v1.EntryOrBuilder> getEntriesFieldBuilder() { if (entriesBuilder_ == null) { - entriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Entry, com.google.cloud.datacatalog.v1.Entry.Builder, com.google.cloud.datacatalog.v1.EntryOrBuilder>( - entries_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + entriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.Entry, + com.google.cloud.datacatalog.v1.Entry.Builder, + com.google.cloud.datacatalog.v1.EntryOrBuilder>( + entries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); entries_ = null; } return entriesBuilder_; @@ -872,19 +953,21 @@ public com.google.cloud.datacatalog.v1.Entry.Builder addEntriesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Pagination token of the next results page. Empty if there are no more items
      * in results.
      * 
* * 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; @@ -893,21 +976,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Pagination token of the next results page. Empty if there are no more items
      * in results.
      * 
* * 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 { @@ -915,30 +999,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Pagination token of the next results page. Empty if there are no more items
      * in results.
      * 
* * 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; } /** + * + * *
      * Pagination token of the next results page. Empty if there are no more items
      * in results.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -948,27 +1039,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Pagination token of the next results page. Empty if there are no more items
      * in results.
      * 
* * 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); } @@ -978,12 +1073,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ListEntriesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ListEntriesResponse) private static final com.google.cloud.datacatalog.v1.ListEntriesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ListEntriesResponse(); } @@ -992,27 +1087,27 @@ public static com.google.cloud.datacatalog.v1.ListEntriesResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEntriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEntriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +1122,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ListEntriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponseOrBuilder.java similarity index 65% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponseOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponseOrBuilder.java index b4817e03f031..958b4c0d34c3 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponseOrBuilder.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface ListEntriesResponseOrBuilder extends +public interface ListEntriesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ListEntriesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Entry details.
    * 
* * repeated .google.cloud.datacatalog.v1.Entry entries = 1; */ - java.util.List - getEntriesList(); + java.util.List getEntriesList(); /** + * + * *
    * Entry details.
    * 
@@ -25,6 +44,8 @@ public interface ListEntriesResponseOrBuilder extends */ com.google.cloud.datacatalog.v1.Entry getEntries(int index); /** + * + * *
    * Entry details.
    * 
@@ -33,43 +54,51 @@ public interface ListEntriesResponseOrBuilder extends */ int getEntriesCount(); /** + * + * *
    * Entry details.
    * 
* * repeated .google.cloud.datacatalog.v1.Entry entries = 1; */ - java.util.List + java.util.List getEntriesOrBuilderList(); /** + * + * *
    * Entry details.
    * 
* * repeated .google.cloud.datacatalog.v1.Entry entries = 1; */ - com.google.cloud.datacatalog.v1.EntryOrBuilder getEntriesOrBuilder( - int index); + com.google.cloud.datacatalog.v1.EntryOrBuilder getEntriesOrBuilder(int index); /** + * + * *
    * Pagination token of the next results page. Empty if there are no more items
    * in results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Pagination token of the next results page. Empty if there are no more items
    * in results.
    * 
* * 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-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequest.java similarity index 67% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequest.java index ee5190decc23..bd83c7ff9681 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequest.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [ListEntryGroups][google.cloud.datacatalog.v1.DataCatalog.ListEntryGroups].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ListEntryGroupsRequest}
  */
-public final class ListEntryGroupsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListEntryGroupsRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ListEntryGroupsRequest)
     ListEntryGroupsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListEntryGroupsRequest.newBuilder() to construct.
   private ListEntryGroupsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListEntryGroupsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -27,35 +45,42 @@ private ListEntryGroupsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListEntryGroupsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ListEntryGroupsRequest.class, com.google.cloud.datacatalog.v1.ListEntryGroupsRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.ListEntryGroupsRequest.class,
+            com.google.cloud.datacatalog.v1.ListEntryGroupsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the location that contains the entry groups to list.
    *
    * Can be provided as a URL.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,31 +89,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the location that contains the entry groups to list.
    *
    * Can be provided as a URL.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -99,6 +126,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. The maximum number of items to return.
    *
@@ -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,15 +145,19 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. Pagination token that specifies the next page to return.
    * If empty, returns the first page.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -132,30 +166,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Pagination token that specifies the next page to return.
    * If empty, returns the first page.
    * 
* * 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.datacatalog.v1.ListEntryGroupsRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ListEntryGroupsRequest other = (com.google.cloud.datacatalog.v1.ListEntryGroupsRequest) obj; + com.google.cloud.datacatalog.v1.ListEntryGroupsRequest other = + (com.google.cloud.datacatalog.v1.ListEntryGroupsRequest) 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,98 +280,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ListEntryGroupsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ListEntryGroupsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ListEntryGroupsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ListEntryGroupsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ListEntryGroupsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ListEntryGroupsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListEntryGroupsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.ListEntryGroupsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ListEntryGroupsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListEntryGroupsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ListEntryGroupsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ListEntryGroupsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ListEntryGroupsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ListEntryGroupsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.ListEntryGroupsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.ListEntryGroupsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [ListEntryGroups][google.cloud.datacatalog.v1.DataCatalog.ListEntryGroups].
@@ -348,33 +385,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ListEntryGroupsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ListEntryGroupsRequest)
       com.google.cloud.datacatalog.v1.ListEntryGroupsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ListEntryGroupsRequest.class, com.google.cloud.datacatalog.v1.ListEntryGroupsRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.ListEntryGroupsRequest.class,
+              com.google.cloud.datacatalog.v1.ListEntryGroupsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ListEntryGroupsRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -386,9 +422,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -407,8 +443,11 @@ public com.google.cloud.datacatalog.v1.ListEntryGroupsRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ListEntryGroupsRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.ListEntryGroupsRequest result = new com.google.cloud.datacatalog.v1.ListEntryGroupsRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.ListEntryGroupsRequest result =
+          new com.google.cloud.datacatalog.v1.ListEntryGroupsRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -430,38 +469,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ListEntryGroupsReques
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ListEntryGroupsRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ListEntryGroupsRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ListEntryGroupsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -469,7 +509,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ListEntryGroupsRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.ListEntryGroupsRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.ListEntryGroupsRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -509,27 +550,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) {
@@ -539,24 +584,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the location that contains the entry groups to list.
      *
      * Can be provided as a URL.
      * 
* - * string parent = 1 [(.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; @@ -565,22 +615,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the location that contains the entry groups to list.
      *
      * Can be provided as a URL.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -588,32 +641,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the location that contains the entry groups to list.
      *
      * Can be provided as a URL.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the location that contains the entry groups to list.
      *
      * Can be provided as a URL.
      * 
* - * string 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() { @@ -623,19 +687,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the location that contains the entry groups to list.
      *
      * Can be provided as a URL.
      * 
* - * 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; @@ -643,8 +713,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. The maximum number of items to return.
      *
@@ -653,6 +725,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -660,6 +733,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The maximum number of items to return.
      *
@@ -668,6 +743,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -679,6 +755,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. The maximum number of items to return.
      *
@@ -687,6 +765,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -698,19 +777,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Pagination token that specifies the next page to return.
      * If empty, returns the first page.
      * 
* * 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; @@ -719,21 +800,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Pagination token that specifies the next page to return.
      * If empty, returns the first page.
      * 
* * 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 { @@ -741,30 +823,37 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Pagination token that specifies the next page to return.
      * If empty, returns the first page.
      * 
* * 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. Pagination token that specifies the next page to return.
      * If empty, returns the first page.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -774,27 +863,31 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. Pagination token that specifies the next page to return.
      * If empty, returns the first page.
      * 
* * 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); } @@ -804,12 +897,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ListEntryGroupsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ListEntryGroupsRequest) private static final com.google.cloud.datacatalog.v1.ListEntryGroupsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ListEntryGroupsRequest(); } @@ -818,27 +911,27 @@ public static com.google.cloud.datacatalog.v1.ListEntryGroupsRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEntryGroupsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEntryGroupsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -853,6 +946,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ListEntryGroupsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequestOrBuilder.java similarity index 59% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequestOrBuilder.java index 6d0c060e1893..06005e56f455 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequestOrBuilder.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface ListEntryGroupsRequestOrBuilder extends +public interface ListEntryGroupsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ListEntryGroupsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the location that contains the entry groups to list.
    *
    * Can be provided as a URL.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the location that contains the entry groups to list.
    *
    * Can be provided as a URL.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. The maximum number of items to return.
    *
@@ -40,29 +67,35 @@ public interface ListEntryGroupsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Pagination token that specifies the next page to return.
    * If empty, returns the first page.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Pagination token that specifies the next page to return.
    * If empty, returns the first page.
    * 
* * 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-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponse.java similarity index 71% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponse.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponse.java index e6e6748d5024..0b237a113343 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponse.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Response message for
  * [ListEntryGroups][google.cloud.datacatalog.v1.DataCatalog.ListEntryGroups].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ListEntryGroupsResponse}
  */
-public final class ListEntryGroupsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListEntryGroupsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ListEntryGroupsResponse)
     ListEntryGroupsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListEntryGroupsResponse.newBuilder() to construct.
   private ListEntryGroupsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListEntryGroupsResponse() {
     entryGroups_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,28 +45,32 @@ private ListEntryGroupsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListEntryGroupsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ListEntryGroupsResponse.class, com.google.cloud.datacatalog.v1.ListEntryGroupsResponse.Builder.class);
+            com.google.cloud.datacatalog.v1.ListEntryGroupsResponse.class,
+            com.google.cloud.datacatalog.v1.ListEntryGroupsResponse.Builder.class);
   }
 
   public static final int ENTRY_GROUPS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List entryGroups_;
   /**
+   *
+   *
    * 
    * Entry group details.
    * 
@@ -60,6 +82,8 @@ public java.util.List getEntryGroups return entryGroups_; } /** + * + * *
    * Entry group details.
    * 
@@ -67,11 +91,13 @@ public java.util.List getEntryGroups * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; */ @java.lang.Override - public java.util.List + public java.util.List getEntryGroupsOrBuilderList() { return entryGroups_; } /** + * + * *
    * Entry group details.
    * 
@@ -83,6 +109,8 @@ public int getEntryGroupsCount() { return entryGroups_.size(); } /** + * + * *
    * Entry group details.
    * 
@@ -94,6 +122,8 @@ public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroups(int index) { return entryGroups_.get(index); } /** + * + * *
    * Entry group details.
    * 
@@ -101,21 +131,24 @@ public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroups(int index) { * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupsOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupsOrBuilder(int index) { return entryGroups_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Pagination token to specify in the next call to retrieve the next page of
    * results. Empty if there are no more items.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -124,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; } } /** + * + * *
    * Pagination token to specify in the next call to retrieve the next page of
    * results. Empty if there are no more items.
    * 
* * 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 { @@ -156,6 +189,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,8 +201,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < entryGroups_.size(); i++) { output.writeMessage(1, entryGroups_.get(i)); } @@ -185,8 +218,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < entryGroups_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, entryGroups_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, entryGroups_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -199,17 +231,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.datacatalog.v1.ListEntryGroupsResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ListEntryGroupsResponse other = (com.google.cloud.datacatalog.v1.ListEntryGroupsResponse) obj; + com.google.cloud.datacatalog.v1.ListEntryGroupsResponse other = + (com.google.cloud.datacatalog.v1.ListEntryGroupsResponse) obj; - if (!getEntryGroupsList() - .equals(other.getEntryGroupsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getEntryGroupsList().equals(other.getEntryGroupsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -233,98 +264,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ListEntryGroupsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ListEntryGroupsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ListEntryGroupsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ListEntryGroupsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ListEntryGroupsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ListEntryGroupsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListEntryGroupsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.ListEntryGroupsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ListEntryGroupsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListEntryGroupsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ListEntryGroupsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ListEntryGroupsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ListEntryGroupsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ListEntryGroupsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.ListEntryGroupsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.ListEntryGroupsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for
    * [ListEntryGroups][google.cloud.datacatalog.v1.DataCatalog.ListEntryGroups].
@@ -332,33 +369,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ListEntryGroupsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ListEntryGroupsResponse)
       com.google.cloud.datacatalog.v1.ListEntryGroupsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ListEntryGroupsResponse.class, com.google.cloud.datacatalog.v1.ListEntryGroupsResponse.Builder.class);
+              com.google.cloud.datacatalog.v1.ListEntryGroupsResponse.class,
+              com.google.cloud.datacatalog.v1.ListEntryGroupsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ListEntryGroupsResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -375,9 +411,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -396,14 +432,18 @@ public com.google.cloud.datacatalog.v1.ListEntryGroupsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ListEntryGroupsResponse buildPartial() {
-      com.google.cloud.datacatalog.v1.ListEntryGroupsResponse result = new com.google.cloud.datacatalog.v1.ListEntryGroupsResponse(this);
+      com.google.cloud.datacatalog.v1.ListEntryGroupsResponse result =
+          new com.google.cloud.datacatalog.v1.ListEntryGroupsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1.ListEntryGroupsResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.datacatalog.v1.ListEntryGroupsResponse result) {
       if (entryGroupsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           entryGroups_ = java.util.Collections.unmodifiableList(entryGroups_);
@@ -426,38 +466,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ListEntryGroupsRespon
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ListEntryGroupsResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ListEntryGroupsResponse)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ListEntryGroupsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -465,7 +506,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ListEntryGroupsResponse other) {
-      if (other == com.google.cloud.datacatalog.v1.ListEntryGroupsResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.ListEntryGroupsResponse.getDefaultInstance())
+        return this;
       if (entryGroupsBuilder_ == null) {
         if (!other.entryGroups_.isEmpty()) {
           if (entryGroups_.isEmpty()) {
@@ -484,9 +526,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.ListEntryGroupsResponse
             entryGroupsBuilder_ = null;
             entryGroups_ = other.entryGroups_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            entryGroupsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getEntryGroupsFieldBuilder() : null;
+            entryGroupsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getEntryGroupsFieldBuilder()
+                    : null;
           } else {
             entryGroupsBuilder_.addAllMessages(other.entryGroups_);
           }
@@ -523,30 +566,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.datacatalog.v1.EntryGroup m =
-                  input.readMessage(
-                      com.google.cloud.datacatalog.v1.EntryGroup.parser(),
-                      extensionRegistry);
-              if (entryGroupsBuilder_ == null) {
-                ensureEntryGroupsIsMutable();
-                entryGroups_.add(m);
-              } else {
-                entryGroupsBuilder_.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.datacatalog.v1.EntryGroup m =
+                    input.readMessage(
+                        com.google.cloud.datacatalog.v1.EntryGroup.parser(), extensionRegistry);
+                if (entryGroupsBuilder_ == null) {
+                  ensureEntryGroupsIsMutable();
+                  entryGroups_.add(m);
+                } else {
+                  entryGroupsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -556,21 +601,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List entryGroups_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureEntryGroupsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        entryGroups_ = new java.util.ArrayList(entryGroups_);
+        entryGroups_ =
+            new java.util.ArrayList(entryGroups_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.EntryGroup, com.google.cloud.datacatalog.v1.EntryGroup.Builder, com.google.cloud.datacatalog.v1.EntryGroupOrBuilder> entryGroupsBuilder_;
+            com.google.cloud.datacatalog.v1.EntryGroup,
+            com.google.cloud.datacatalog.v1.EntryGroup.Builder,
+            com.google.cloud.datacatalog.v1.EntryGroupOrBuilder>
+        entryGroupsBuilder_;
 
     /**
+     *
+     *
      * 
      * Entry group details.
      * 
@@ -585,6 +638,8 @@ public java.util.List getEntryGroups } } /** + * + * *
      * Entry group details.
      * 
@@ -599,6 +654,8 @@ public int getEntryGroupsCount() { } } /** + * + * *
      * Entry group details.
      * 
@@ -613,14 +670,15 @@ public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroups(int index) { } } /** + * + * *
      * Entry group details.
      * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; */ - public Builder setEntryGroups( - int index, com.google.cloud.datacatalog.v1.EntryGroup value) { + public Builder setEntryGroups(int index, com.google.cloud.datacatalog.v1.EntryGroup value) { if (entryGroupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -634,6 +692,8 @@ public Builder setEntryGroups( return this; } /** + * + * *
      * Entry group details.
      * 
@@ -652,6 +712,8 @@ public Builder setEntryGroups( return this; } /** + * + * *
      * Entry group details.
      * 
@@ -672,14 +734,15 @@ public Builder addEntryGroups(com.google.cloud.datacatalog.v1.EntryGroup value) return this; } /** + * + * *
      * Entry group details.
      * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; */ - public Builder addEntryGroups( - int index, com.google.cloud.datacatalog.v1.EntryGroup value) { + public Builder addEntryGroups(int index, com.google.cloud.datacatalog.v1.EntryGroup value) { if (entryGroupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -693,6 +756,8 @@ public Builder addEntryGroups( return this; } /** + * + * *
      * Entry group details.
      * 
@@ -711,6 +776,8 @@ public Builder addEntryGroups( return this; } /** + * + * *
      * Entry group details.
      * 
@@ -729,6 +796,8 @@ public Builder addEntryGroups( return this; } /** + * + * *
      * Entry group details.
      * 
@@ -739,8 +808,7 @@ public Builder addAllEntryGroups( java.lang.Iterable values) { if (entryGroupsBuilder_ == null) { ensureEntryGroupsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, entryGroups_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entryGroups_); onChanged(); } else { entryGroupsBuilder_.addAllMessages(values); @@ -748,6 +816,8 @@ public Builder addAllEntryGroups( return this; } /** + * + * *
      * Entry group details.
      * 
@@ -765,6 +835,8 @@ public Builder clearEntryGroups() { return this; } /** + * + * *
      * Entry group details.
      * 
@@ -782,39 +854,44 @@ public Builder removeEntryGroups(int index) { return this; } /** + * + * *
      * Entry group details.
      * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; */ - public com.google.cloud.datacatalog.v1.EntryGroup.Builder getEntryGroupsBuilder( - int index) { + public com.google.cloud.datacatalog.v1.EntryGroup.Builder getEntryGroupsBuilder(int index) { return getEntryGroupsFieldBuilder().getBuilder(index); } /** + * + * *
      * Entry group details.
      * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; */ - public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupsOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupsOrBuilder(int index) { if (entryGroupsBuilder_ == null) { - return entryGroups_.get(index); } else { + return entryGroups_.get(index); + } else { return entryGroupsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Entry group details.
      * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; */ - public java.util.List - getEntryGroupsOrBuilderList() { + public java.util.List + getEntryGroupsOrBuilderList() { if (entryGroupsBuilder_ != null) { return entryGroupsBuilder_.getMessageOrBuilderList(); } else { @@ -822,6 +899,8 @@ public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupsOrBuild } } /** + * + * *
      * Entry group details.
      * 
@@ -829,42 +908,48 @@ public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupsOrBuild * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; */ public com.google.cloud.datacatalog.v1.EntryGroup.Builder addEntryGroupsBuilder() { - return getEntryGroupsFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()); + return getEntryGroupsFieldBuilder() + .addBuilder(com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()); } /** + * + * *
      * Entry group details.
      * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; */ - public com.google.cloud.datacatalog.v1.EntryGroup.Builder addEntryGroupsBuilder( - int index) { - return getEntryGroupsFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()); + public com.google.cloud.datacatalog.v1.EntryGroup.Builder addEntryGroupsBuilder(int index) { + return getEntryGroupsFieldBuilder() + .addBuilder(index, com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()); } /** + * + * *
      * Entry group details.
      * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; */ - public java.util.List - getEntryGroupsBuilderList() { + public java.util.List + getEntryGroupsBuilderList() { return getEntryGroupsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.EntryGroup, com.google.cloud.datacatalog.v1.EntryGroup.Builder, com.google.cloud.datacatalog.v1.EntryGroupOrBuilder> + com.google.cloud.datacatalog.v1.EntryGroup, + com.google.cloud.datacatalog.v1.EntryGroup.Builder, + com.google.cloud.datacatalog.v1.EntryGroupOrBuilder> getEntryGroupsFieldBuilder() { if (entryGroupsBuilder_ == null) { - entryGroupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.EntryGroup, com.google.cloud.datacatalog.v1.EntryGroup.Builder, com.google.cloud.datacatalog.v1.EntryGroupOrBuilder>( - entryGroups_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + entryGroupsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.EntryGroup, + com.google.cloud.datacatalog.v1.EntryGroup.Builder, + com.google.cloud.datacatalog.v1.EntryGroupOrBuilder>( + entryGroups_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); entryGroups_ = null; } return entryGroupsBuilder_; @@ -872,19 +957,21 @@ public com.google.cloud.datacatalog.v1.EntryGroup.Builder addEntryGroupsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Pagination token to specify in the next call to retrieve the next page of
      * results. Empty if there are no more items.
      * 
* * 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; @@ -893,21 +980,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Pagination token to specify in the next call to retrieve the next page of
      * results. Empty if there are no more items.
      * 
* * 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 { @@ -915,30 +1003,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Pagination token to specify in the next call to retrieve the next page of
      * results. Empty if there are no more items.
      * 
* * 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; } /** + * + * *
      * Pagination token to specify in the next call to retrieve the next page of
      * results. Empty if there are no more items.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -948,27 +1043,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Pagination token to specify in the next call to retrieve the next page of
      * results. Empty if there are no more items.
      * 
* * 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); } @@ -978,12 +1077,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ListEntryGroupsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ListEntryGroupsResponse) private static final com.google.cloud.datacatalog.v1.ListEntryGroupsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ListEntryGroupsResponse(); } @@ -992,27 +1091,27 @@ public static com.google.cloud.datacatalog.v1.ListEntryGroupsResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEntryGroupsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEntryGroupsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +1126,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ListEntryGroupsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponseOrBuilder.java similarity index 67% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponseOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponseOrBuilder.java index 7905abbf9d46..021ffce6839d 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponseOrBuilder.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface ListEntryGroupsResponseOrBuilder extends +public interface ListEntryGroupsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ListEntryGroupsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Entry group details.
    * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; */ - java.util.List - getEntryGroupsList(); + java.util.List getEntryGroupsList(); /** + * + * *
    * Entry group details.
    * 
@@ -25,6 +44,8 @@ public interface ListEntryGroupsResponseOrBuilder extends */ com.google.cloud.datacatalog.v1.EntryGroup getEntryGroups(int index); /** + * + * *
    * Entry group details.
    * 
@@ -33,43 +54,51 @@ public interface ListEntryGroupsResponseOrBuilder extends */ int getEntryGroupsCount(); /** + * + * *
    * Entry group details.
    * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; */ - java.util.List + java.util.List getEntryGroupsOrBuilderList(); /** + * + * *
    * Entry group details.
    * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; */ - com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupsOrBuilder( - int index); + com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupsOrBuilder(int index); /** + * + * *
    * Pagination token to specify in the next call to retrieve the next page of
    * results. Empty if there are no more items.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Pagination token to specify in the next call to retrieve the next page of
    * results. Empty if there are no more items.
    * 
* * 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-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequest.java similarity index 68% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequest.java index d1e535368613..f33725a33295 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequest.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/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [ListPolicyTags][google.cloud.datacatalog.v1.PolicyTagManager.ListPolicyTags].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ListPolicyTagsRequest}
  */
-public final class ListPolicyTagsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListPolicyTagsRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ListPolicyTagsRequest)
     ListPolicyTagsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListPolicyTagsRequest.newBuilder() to construct.
   private ListPolicyTagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListPolicyTagsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -27,33 +45,40 @@ private ListPolicyTagsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListPolicyTagsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ListPolicyTagsRequest.class, com.google.cloud.datacatalog.v1.ListPolicyTagsRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.ListPolicyTagsRequest.class,
+            com.google.cloud.datacatalog.v1.ListPolicyTagsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. Resource name of the taxonomy to list the policy tags of.
    * 
* - * string parent = 1 [(.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,29 +87,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. Resource name of the taxonomy to list the policy tags of.
    * 
* - * string parent = 1 [(.google.api.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,6 +122,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * The maximum number of items to return. Must be a value between 1 and 1000
    * inclusively.
@@ -102,6 +131,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -110,9 +140,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * The pagination token of the next results page. If not set, returns the
    * first page.
@@ -121,6 +154,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -129,14 +163,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The pagination token of the next results page. If not set, returns the
    * first page.
@@ -145,16 +180,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -163,6 +197,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +209,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -198,8 +232,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_); @@ -212,19 +245,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.datacatalog.v1.ListPolicyTagsRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ListPolicyTagsRequest other = (com.google.cloud.datacatalog.v1.ListPolicyTagsRequest) obj; + com.google.cloud.datacatalog.v1.ListPolicyTagsRequest other = + (com.google.cloud.datacatalog.v1.ListPolicyTagsRequest) 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,98 +279,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ListPolicyTagsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ListPolicyTagsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ListPolicyTagsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ListPolicyTagsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ListPolicyTagsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ListPolicyTagsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListPolicyTagsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.ListPolicyTagsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ListPolicyTagsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListPolicyTagsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ListPolicyTagsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ListPolicyTagsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ListPolicyTagsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ListPolicyTagsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.ListPolicyTagsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.ListPolicyTagsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [ListPolicyTags][google.cloud.datacatalog.v1.PolicyTagManager.ListPolicyTags].
@@ -347,33 +384,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ListPolicyTagsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ListPolicyTagsRequest)
       com.google.cloud.datacatalog.v1.ListPolicyTagsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ListPolicyTagsRequest.class, com.google.cloud.datacatalog.v1.ListPolicyTagsRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.ListPolicyTagsRequest.class,
+              com.google.cloud.datacatalog.v1.ListPolicyTagsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ListPolicyTagsRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        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 +421,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -406,8 +442,11 @@ public com.google.cloud.datacatalog.v1.ListPolicyTagsRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ListPolicyTagsRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.ListPolicyTagsRequest result = new com.google.cloud.datacatalog.v1.ListPolicyTagsRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.ListPolicyTagsRequest result =
+          new com.google.cloud.datacatalog.v1.ListPolicyTagsRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -429,38 +468,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ListPolicyTagsRequest
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ListPolicyTagsRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ListPolicyTagsRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ListPolicyTagsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -468,7 +508,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ListPolicyTagsRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.ListPolicyTagsRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.ListPolicyTagsRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -508,27 +549,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,22 +583,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. Resource name of the taxonomy to list the policy tags of.
      * 
* - * string parent = 1 [(.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; @@ -562,20 +612,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the taxonomy to list the policy tags of.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -583,28 +636,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the taxonomy to list the policy tags of.
      * 
* - * 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. Resource name of the taxonomy to list the policy tags of.
      * 
* - * string 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,17 +678,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Resource name of the taxonomy to list the policy tags of.
      * 
* - * 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; @@ -632,8 +702,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of items to return. Must be a value between 1 and 1000
      * inclusively.
@@ -641,6 +713,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -648,6 +721,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of items to return. Must be a value between 1 and 1000
      * inclusively.
@@ -655,6 +730,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -666,6 +742,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of items to return. Must be a value between 1 and 1000
      * inclusively.
@@ -673,6 +751,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -684,6 +763,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The pagination token of the next results page. If not set, returns the
      * first page.
@@ -692,13 +773,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -707,6 +788,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The pagination token of the next results page. If not set, returns the
      * first page.
@@ -715,15 +798,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -731,6 +813,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The pagination token of the next results page. If not set, returns the
      * first page.
@@ -739,18 +823,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @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; } /** + * + * *
      * The pagination token of the next results page. If not set, returns the
      * first page.
@@ -759,6 +847,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -768,6 +857,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * The pagination token of the next results page. If not set, returns the
      * first page.
@@ -776,21 +867,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - 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); } @@ -800,12 +893,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ListPolicyTagsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ListPolicyTagsRequest) private static final com.google.cloud.datacatalog.v1.ListPolicyTagsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ListPolicyTagsRequest(); } @@ -814,27 +907,27 @@ public static com.google.cloud.datacatalog.v1.ListPolicyTagsRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPolicyTagsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPolicyTagsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +942,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ListPolicyTagsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequestOrBuilder.java similarity index 57% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequestOrBuilder.java index b61b50eeb423..0cdb0ceebd33 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequestOrBuilder.java @@ -1,33 +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/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; -public interface ListPolicyTagsRequestOrBuilder extends +public interface ListPolicyTagsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ListPolicyTagsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the taxonomy to list the policy tags of.
    * 
* - * string parent = 1 [(.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. Resource name of the taxonomy to list the policy tags of.
    * 
* - * string parent = 1 [(.google.api.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(); /** + * + * *
    * The maximum number of items to return. Must be a value between 1 and 1000
    * inclusively.
@@ -35,11 +62,14 @@ public interface ListPolicyTagsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The pagination token of the next results page. If not set, returns the
    * first page.
@@ -48,10 +78,13 @@ public interface ListPolicyTagsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The pagination token of the next results page. If not set, returns the
    * first page.
@@ -60,8 +93,8 @@ public interface ListPolicyTagsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponse.java similarity index 72% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponse.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponse.java index 751f3cb79e17..6c38112ed708 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponse.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/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Response message for
  * [ListPolicyTags][google.cloud.datacatalog.v1.PolicyTagManager.ListPolicyTags].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ListPolicyTagsResponse}
  */
-public final class ListPolicyTagsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListPolicyTagsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ListPolicyTagsResponse)
     ListPolicyTagsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListPolicyTagsResponse.newBuilder() to construct.
   private ListPolicyTagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListPolicyTagsResponse() {
     policyTags_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,28 +45,32 @@ private ListPolicyTagsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListPolicyTagsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ListPolicyTagsResponse.class, com.google.cloud.datacatalog.v1.ListPolicyTagsResponse.Builder.class);
+            com.google.cloud.datacatalog.v1.ListPolicyTagsResponse.class,
+            com.google.cloud.datacatalog.v1.ListPolicyTagsResponse.Builder.class);
   }
 
   public static final int POLICY_TAGS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List policyTags_;
   /**
+   *
+   *
    * 
    * The policy tags that belong to the taxonomy.
    * 
@@ -60,6 +82,8 @@ public java.util.List getPolicyTagsLi return policyTags_; } /** + * + * *
    * The policy tags that belong to the taxonomy.
    * 
@@ -67,11 +91,13 @@ public java.util.List getPolicyTagsLi * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPolicyTagsOrBuilderList() { return policyTags_; } /** + * + * *
    * The policy tags that belong to the taxonomy.
    * 
@@ -83,6 +109,8 @@ public int getPolicyTagsCount() { return policyTags_.size(); } /** + * + * *
    * The policy tags that belong to the taxonomy.
    * 
@@ -94,6 +122,8 @@ public com.google.cloud.datacatalog.v1.PolicyTag getPolicyTags(int index) { return policyTags_.get(index); } /** + * + * *
    * The policy tags that belong to the taxonomy.
    * 
@@ -101,21 +131,24 @@ public com.google.cloud.datacatalog.v1.PolicyTag getPolicyTags(int index) { * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagsOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagsOrBuilder(int index) { return policyTags_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Pagination token of the next results page. Empty if there are no
    * more results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -124,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; } } /** + * + * *
    * Pagination token of the next results page. 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 { @@ -156,6 +189,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,8 +201,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < policyTags_.size(); i++) { output.writeMessage(1, policyTags_.get(i)); } @@ -185,8 +218,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < policyTags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, policyTags_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, policyTags_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -199,17 +231,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.datacatalog.v1.ListPolicyTagsResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ListPolicyTagsResponse other = (com.google.cloud.datacatalog.v1.ListPolicyTagsResponse) obj; + com.google.cloud.datacatalog.v1.ListPolicyTagsResponse other = + (com.google.cloud.datacatalog.v1.ListPolicyTagsResponse) obj; - if (!getPolicyTagsList() - .equals(other.getPolicyTagsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getPolicyTagsList().equals(other.getPolicyTagsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -233,98 +264,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ListPolicyTagsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ListPolicyTagsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ListPolicyTagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ListPolicyTagsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ListPolicyTagsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ListPolicyTagsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListPolicyTagsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.ListPolicyTagsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ListPolicyTagsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListPolicyTagsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ListPolicyTagsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ListPolicyTagsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ListPolicyTagsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ListPolicyTagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.ListPolicyTagsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.ListPolicyTagsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for
    * [ListPolicyTags][google.cloud.datacatalog.v1.PolicyTagManager.ListPolicyTags].
@@ -332,33 +369,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ListPolicyTagsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ListPolicyTagsResponse)
       com.google.cloud.datacatalog.v1.ListPolicyTagsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ListPolicyTagsResponse.class, com.google.cloud.datacatalog.v1.ListPolicyTagsResponse.Builder.class);
+              com.google.cloud.datacatalog.v1.ListPolicyTagsResponse.class,
+              com.google.cloud.datacatalog.v1.ListPolicyTagsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ListPolicyTagsResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -375,9 +411,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -396,14 +432,18 @@ public com.google.cloud.datacatalog.v1.ListPolicyTagsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ListPolicyTagsResponse buildPartial() {
-      com.google.cloud.datacatalog.v1.ListPolicyTagsResponse result = new com.google.cloud.datacatalog.v1.ListPolicyTagsResponse(this);
+      com.google.cloud.datacatalog.v1.ListPolicyTagsResponse result =
+          new com.google.cloud.datacatalog.v1.ListPolicyTagsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1.ListPolicyTagsResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.datacatalog.v1.ListPolicyTagsResponse result) {
       if (policyTagsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           policyTags_ = java.util.Collections.unmodifiableList(policyTags_);
@@ -426,38 +466,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ListPolicyTagsRespons
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ListPolicyTagsResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ListPolicyTagsResponse)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ListPolicyTagsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -465,7 +506,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ListPolicyTagsResponse other) {
-      if (other == com.google.cloud.datacatalog.v1.ListPolicyTagsResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.ListPolicyTagsResponse.getDefaultInstance())
+        return this;
       if (policyTagsBuilder_ == null) {
         if (!other.policyTags_.isEmpty()) {
           if (policyTags_.isEmpty()) {
@@ -484,9 +526,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.ListPolicyTagsResponse
             policyTagsBuilder_ = null;
             policyTags_ = other.policyTags_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            policyTagsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getPolicyTagsFieldBuilder() : null;
+            policyTagsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getPolicyTagsFieldBuilder()
+                    : null;
           } else {
             policyTagsBuilder_.addAllMessages(other.policyTags_);
           }
@@ -523,30 +566,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.datacatalog.v1.PolicyTag m =
-                  input.readMessage(
-                      com.google.cloud.datacatalog.v1.PolicyTag.parser(),
-                      extensionRegistry);
-              if (policyTagsBuilder_ == null) {
-                ensurePolicyTagsIsMutable();
-                policyTags_.add(m);
-              } else {
-                policyTagsBuilder_.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.datacatalog.v1.PolicyTag m =
+                    input.readMessage(
+                        com.google.cloud.datacatalog.v1.PolicyTag.parser(), extensionRegistry);
+                if (policyTagsBuilder_ == null) {
+                  ensurePolicyTagsIsMutable();
+                  policyTags_.add(m);
+                } else {
+                  policyTagsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -556,21 +601,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List policyTags_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensurePolicyTagsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        policyTags_ = new java.util.ArrayList(policyTags_);
+        policyTags_ =
+            new java.util.ArrayList(policyTags_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.PolicyTag, com.google.cloud.datacatalog.v1.PolicyTag.Builder, com.google.cloud.datacatalog.v1.PolicyTagOrBuilder> policyTagsBuilder_;
+            com.google.cloud.datacatalog.v1.PolicyTag,
+            com.google.cloud.datacatalog.v1.PolicyTag.Builder,
+            com.google.cloud.datacatalog.v1.PolicyTagOrBuilder>
+        policyTagsBuilder_;
 
     /**
+     *
+     *
      * 
      * The policy tags that belong to the taxonomy.
      * 
@@ -585,6 +638,8 @@ public java.util.List getPolicyTagsLi } } /** + * + * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -599,6 +654,8 @@ public int getPolicyTagsCount() { } } /** + * + * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -613,14 +670,15 @@ public com.google.cloud.datacatalog.v1.PolicyTag getPolicyTags(int index) { } } /** + * + * *
      * The policy tags that belong to the taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; */ - public Builder setPolicyTags( - int index, com.google.cloud.datacatalog.v1.PolicyTag value) { + public Builder setPolicyTags(int index, com.google.cloud.datacatalog.v1.PolicyTag value) { if (policyTagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -634,6 +692,8 @@ public Builder setPolicyTags( return this; } /** + * + * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -652,6 +712,8 @@ public Builder setPolicyTags( return this; } /** + * + * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -672,14 +734,15 @@ public Builder addPolicyTags(com.google.cloud.datacatalog.v1.PolicyTag value) { return this; } /** + * + * *
      * The policy tags that belong to the taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; */ - public Builder addPolicyTags( - int index, com.google.cloud.datacatalog.v1.PolicyTag value) { + public Builder addPolicyTags(int index, com.google.cloud.datacatalog.v1.PolicyTag value) { if (policyTagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -693,6 +756,8 @@ public Builder addPolicyTags( return this; } /** + * + * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -711,6 +776,8 @@ public Builder addPolicyTags( return this; } /** + * + * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -729,6 +796,8 @@ public Builder addPolicyTags( return this; } /** + * + * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -739,8 +808,7 @@ public Builder addAllPolicyTags( java.lang.Iterable values) { if (policyTagsBuilder_ == null) { ensurePolicyTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, policyTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, policyTags_); onChanged(); } else { policyTagsBuilder_.addAllMessages(values); @@ -748,6 +816,8 @@ public Builder addAllPolicyTags( return this; } /** + * + * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -765,6 +835,8 @@ public Builder clearPolicyTags() { return this; } /** + * + * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -782,39 +854,44 @@ public Builder removePolicyTags(int index) { return this; } /** + * + * *
      * The policy tags that belong to the taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; */ - public com.google.cloud.datacatalog.v1.PolicyTag.Builder getPolicyTagsBuilder( - int index) { + public com.google.cloud.datacatalog.v1.PolicyTag.Builder getPolicyTagsBuilder(int index) { return getPolicyTagsFieldBuilder().getBuilder(index); } /** + * + * *
      * The policy tags that belong to the taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; */ - public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagsOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagsOrBuilder(int index) { if (policyTagsBuilder_ == null) { - return policyTags_.get(index); } else { + return policyTags_.get(index); + } else { return policyTagsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The policy tags that belong to the taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; */ - public java.util.List - getPolicyTagsOrBuilderList() { + public java.util.List + getPolicyTagsOrBuilderList() { if (policyTagsBuilder_ != null) { return policyTagsBuilder_.getMessageOrBuilderList(); } else { @@ -822,6 +899,8 @@ public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagsOrBuilder } } /** + * + * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -829,42 +908,48 @@ public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagsOrBuilder * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; */ public com.google.cloud.datacatalog.v1.PolicyTag.Builder addPolicyTagsBuilder() { - return getPolicyTagsFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance()); + return getPolicyTagsFieldBuilder() + .addBuilder(com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance()); } /** + * + * *
      * The policy tags that belong to the taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; */ - public com.google.cloud.datacatalog.v1.PolicyTag.Builder addPolicyTagsBuilder( - int index) { - return getPolicyTagsFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance()); + public com.google.cloud.datacatalog.v1.PolicyTag.Builder addPolicyTagsBuilder(int index) { + return getPolicyTagsFieldBuilder() + .addBuilder(index, com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance()); } /** + * + * *
      * The policy tags that belong to the taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; */ - public java.util.List - getPolicyTagsBuilderList() { + public java.util.List + getPolicyTagsBuilderList() { return getPolicyTagsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.PolicyTag, com.google.cloud.datacatalog.v1.PolicyTag.Builder, com.google.cloud.datacatalog.v1.PolicyTagOrBuilder> + com.google.cloud.datacatalog.v1.PolicyTag, + com.google.cloud.datacatalog.v1.PolicyTag.Builder, + com.google.cloud.datacatalog.v1.PolicyTagOrBuilder> getPolicyTagsFieldBuilder() { if (policyTagsBuilder_ == null) { - policyTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.PolicyTag, com.google.cloud.datacatalog.v1.PolicyTag.Builder, com.google.cloud.datacatalog.v1.PolicyTagOrBuilder>( - policyTags_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + policyTagsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.PolicyTag, + com.google.cloud.datacatalog.v1.PolicyTag.Builder, + com.google.cloud.datacatalog.v1.PolicyTagOrBuilder>( + policyTags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); policyTags_ = null; } return policyTagsBuilder_; @@ -872,19 +957,21 @@ public com.google.cloud.datacatalog.v1.PolicyTag.Builder addPolicyTagsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Pagination token of the next results page. 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; @@ -893,21 +980,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Pagination token of the next results page. 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 { @@ -915,30 +1003,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Pagination token of the next results page. 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; } /** + * + * *
      * Pagination token of the next results page. Empty if there are no
      * more results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -948,27 +1043,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Pagination token of the next results page. 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); } @@ -978,12 +1077,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ListPolicyTagsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ListPolicyTagsResponse) private static final com.google.cloud.datacatalog.v1.ListPolicyTagsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ListPolicyTagsResponse(); } @@ -992,27 +1091,27 @@ public static com.google.cloud.datacatalog.v1.ListPolicyTagsResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPolicyTagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPolicyTagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +1126,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ListPolicyTagsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponseOrBuilder.java similarity index 67% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponseOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponseOrBuilder.java index 99a5d4b0ff14..e353fddf1ff5 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponseOrBuilder.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/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; -public interface ListPolicyTagsResponseOrBuilder extends +public interface ListPolicyTagsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ListPolicyTagsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The policy tags that belong to the taxonomy.
    * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; */ - java.util.List - getPolicyTagsList(); + java.util.List getPolicyTagsList(); /** + * + * *
    * The policy tags that belong to the taxonomy.
    * 
@@ -25,6 +44,8 @@ public interface ListPolicyTagsResponseOrBuilder extends */ com.google.cloud.datacatalog.v1.PolicyTag getPolicyTags(int index); /** + * + * *
    * The policy tags that belong to the taxonomy.
    * 
@@ -33,43 +54,51 @@ public interface ListPolicyTagsResponseOrBuilder extends */ int getPolicyTagsCount(); /** + * + * *
    * The policy tags that belong to the taxonomy.
    * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; */ - java.util.List + java.util.List getPolicyTagsOrBuilderList(); /** + * + * *
    * The policy tags that belong to the taxonomy.
    * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; */ - com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagsOrBuilder( - int index); + com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagsOrBuilder(int index); /** + * + * *
    * Pagination token of the next results page. Empty if there are no
    * more results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Pagination token of the next results page. 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-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequest.java similarity index 68% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequest.java index 38aa4a21ef1c..c4bb62b502fb 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequest.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [ListTags][google.cloud.datacatalog.v1.DataCatalog.ListTags].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ListTagsRequest}
  */
-public final class ListTagsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListTagsRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ListTagsRequest)
     ListTagsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListTagsRequest.newBuilder() to construct.
   private ListTagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListTagsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -27,28 +45,32 @@ private ListTagsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListTagsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListTagsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_ListTagsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListTagsRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_ListTagsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ListTagsRequest.class, com.google.cloud.datacatalog.v1.ListTagsRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.ListTagsRequest.class,
+            com.google.cloud.datacatalog.v1.ListTagsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the Data Catalog resource to list the tags of.
    *
@@ -57,7 +79,10 @@ protected java.lang.Object newInstance(
    * (without `/entries/{entries}` at the end).
    * 
* - * string parent = 1 [(.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 name of the Data Catalog resource to list the tags of.
    *
@@ -82,17 +108,18 @@ public java.lang.String getParent() {
    * (without `/entries/{entries}` at the end).
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -103,11 +130,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * The maximum number of tags to return. Default is 10. Maximum limit is 1000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -116,15 +146,19 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Pagination token that specifies the next page to return. If empty, the
    * first page is returned.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -133,30 +167,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Pagination token that specifies the next page to return. If empty, the
    * first page is returned.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -165,6 +199,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -176,8 +211,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -200,8 +234,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_); @@ -214,19 +247,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.datacatalog.v1.ListTagsRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ListTagsRequest other = (com.google.cloud.datacatalog.v1.ListTagsRequest) obj; + com.google.cloud.datacatalog.v1.ListTagsRequest other = + (com.google.cloud.datacatalog.v1.ListTagsRequest) 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,99 +280,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.ListTagsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.ListTagsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ListTagsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ListTagsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ListTagsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ListTagsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ListTagsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ListTagsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ListTagsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListTagsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ListTagsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ListTagsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ListTagsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ListTagsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.ListTagsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [ListTags][google.cloud.datacatalog.v1.DataCatalog.ListTags].
@@ -349,33 +385,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ListTagsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ListTagsRequest)
       com.google.cloud.datacatalog.v1.ListTagsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListTagsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ListTagsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListTagsRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ListTagsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ListTagsRequest.class, com.google.cloud.datacatalog.v1.ListTagsRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.ListTagsRequest.class,
+              com.google.cloud.datacatalog.v1.ListTagsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ListTagsRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -387,9 +422,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListTagsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ListTagsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -408,8 +443,11 @@ public com.google.cloud.datacatalog.v1.ListTagsRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ListTagsRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.ListTagsRequest result = new com.google.cloud.datacatalog.v1.ListTagsRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.ListTagsRequest result =
+          new com.google.cloud.datacatalog.v1.ListTagsRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -431,38 +469,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ListTagsRequest 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.datacatalog.v1.ListTagsRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ListTagsRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ListTagsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -470,7 +509,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ListTagsRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.ListTagsRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.ListTagsRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -510,27 +550,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) {
@@ -540,10 +584,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the Data Catalog resource to list the tags of.
      *
@@ -552,14 +599,16 @@ public Builder mergeFrom(
      * (without `/entries/{entries}` at the end).
      * 
* - * string parent = 1 [(.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; @@ -568,6 +617,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the Data Catalog resource to list the tags of.
      *
@@ -576,16 +627,17 @@ public java.lang.String getParent() {
      * (without `/entries/{entries}` at the end).
      * 
* - * string parent = 1 [(.google.api.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 { @@ -593,6 +645,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the Data Catalog resource to list the tags of.
      *
@@ -601,19 +655,25 @@ public java.lang.String getParent() {
      * (without `/entries/{entries}` at the end).
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the Data Catalog resource to list the tags of.
      *
@@ -622,7 +682,10 @@ public Builder setParent(
      * (without `/entries/{entries}` at the end).
      * 
* - * string 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() { @@ -632,6 +695,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the Data Catalog resource to list the tags of.
      *
@@ -640,13 +705,17 @@ public Builder clearParent() {
      * (without `/entries/{entries}` at the end).
      * 
* - * 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; @@ -654,13 +723,16 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of tags to return. Default is 10. Maximum limit is 1000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -668,11 +740,14 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of tags to return. Default is 10. Maximum limit is 1000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -684,11 +759,14 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of tags to return. Default is 10. Maximum limit is 1000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -700,19 +778,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Pagination token that specifies the next page to return. If empty, the
      * first page is returned.
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -721,21 +801,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Pagination token that specifies the next page to return. If empty, the
      * first page is returned.
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -743,30 +824,37 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Pagination token that specifies the next page to return. If empty, the
      * first page is returned.
      * 
* * string page_token = 3; + * * @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; } /** + * + * *
      * Pagination token that specifies the next page to return. If empty, the
      * first page is returned.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -776,27 +864,31 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Pagination token that specifies the next page to return. If empty, the
      * first page is returned.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - 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); } @@ -806,12 +898,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ListTagsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ListTagsRequest) private static final com.google.cloud.datacatalog.v1.ListTagsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ListTagsRequest(); } @@ -820,27 +912,27 @@ public static com.google.cloud.datacatalog.v1.ListTagsRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -855,6 +947,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ListTagsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequestOrBuilder.java index fb840d5c25e1..68f6ffd63f6b 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequestOrBuilder.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface ListTagsRequestOrBuilder extends +public interface ListTagsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ListTagsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the Data Catalog resource to list the tags of.
    *
@@ -16,11 +34,16 @@ public interface ListTagsRequestOrBuilder extends
    * (without `/entries/{entries}` at the end).
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the Data Catalog resource to list the tags of.
    *
@@ -29,41 +52,51 @@ public interface ListTagsRequestOrBuilder extends
    * (without `/entries/{entries}` at the end).
    * 
* - * string parent = 1 [(.google.api.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(); /** + * + * *
    * The maximum number of tags to return. Default is 10. Maximum limit is 1000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Pagination token that specifies the next page to return. If empty, the
    * first page is returned.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Pagination token that specifies the next page to return. If empty, the
    * first page is returned.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponse.java similarity index 71% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponse.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponse.java index 1156c6c87de5..825dcc649aad 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponse.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Response message for
  * [ListTags][google.cloud.datacatalog.v1.DataCatalog.ListTags].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ListTagsResponse}
  */
-public final class ListTagsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListTagsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ListTagsResponse)
     ListTagsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListTagsResponse.newBuilder() to construct.
   private ListTagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListTagsResponse() {
     tags_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,28 +45,32 @@ private ListTagsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListTagsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListTagsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_ListTagsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListTagsResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_ListTagsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ListTagsResponse.class, com.google.cloud.datacatalog.v1.ListTagsResponse.Builder.class);
+            com.google.cloud.datacatalog.v1.ListTagsResponse.class,
+            com.google.cloud.datacatalog.v1.ListTagsResponse.Builder.class);
   }
 
   public static final int TAGS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List tags_;
   /**
+   *
+   *
    * 
    * [Tag][google.cloud.datacatalog.v1.Tag] details.
    * 
@@ -60,6 +82,8 @@ public java.util.List getTagsList() { return tags_; } /** + * + * *
    * [Tag][google.cloud.datacatalog.v1.Tag] details.
    * 
@@ -67,11 +91,13 @@ public java.util.List getTagsList() { * repeated .google.cloud.datacatalog.v1.Tag tags = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTagsOrBuilderList() { return tags_; } /** + * + * *
    * [Tag][google.cloud.datacatalog.v1.Tag] details.
    * 
@@ -83,6 +109,8 @@ public int getTagsCount() { return tags_.size(); } /** + * + * *
    * [Tag][google.cloud.datacatalog.v1.Tag] details.
    * 
@@ -94,6 +122,8 @@ public com.google.cloud.datacatalog.v1.Tag getTags(int index) { return tags_.get(index); } /** + * + * *
    * [Tag][google.cloud.datacatalog.v1.Tag] details.
    * 
@@ -101,21 +131,24 @@ public com.google.cloud.datacatalog.v1.Tag getTags(int index) { * repeated .google.cloud.datacatalog.v1.Tag tags = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder(int index) { return tags_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Pagination token of the next results page. Empty if there are
    * no more items in results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -124,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; } } /** + * + * *
    * Pagination token of the next results page. Empty if there are
    * no more items in results.
    * 
* * 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 { @@ -156,6 +189,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,8 +201,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < tags_.size(); i++) { output.writeMessage(1, tags_.get(i)); } @@ -185,8 +218,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, tags_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tags_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -199,17 +231,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.datacatalog.v1.ListTagsResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ListTagsResponse other = (com.google.cloud.datacatalog.v1.ListTagsResponse) obj; + com.google.cloud.datacatalog.v1.ListTagsResponse other = + (com.google.cloud.datacatalog.v1.ListTagsResponse) obj; - if (!getTagsList() - .equals(other.getTagsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getTagsList().equals(other.getTagsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -232,99 +263,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.ListTagsResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.ListTagsResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ListTagsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ListTagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ListTagsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ListTagsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ListTagsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListTagsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.ListTagsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ListTagsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListTagsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ListTagsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ListTagsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ListTagsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ListTagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.ListTagsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for
    * [ListTags][google.cloud.datacatalog.v1.DataCatalog.ListTags].
@@ -332,33 +368,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ListTagsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ListTagsResponse)
       com.google.cloud.datacatalog.v1.ListTagsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListTagsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ListTagsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListTagsResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ListTagsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ListTagsResponse.class, com.google.cloud.datacatalog.v1.ListTagsResponse.Builder.class);
+              com.google.cloud.datacatalog.v1.ListTagsResponse.class,
+              com.google.cloud.datacatalog.v1.ListTagsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ListTagsResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -375,9 +410,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ListTagsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ListTagsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -396,14 +431,18 @@ public com.google.cloud.datacatalog.v1.ListTagsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ListTagsResponse buildPartial() {
-      com.google.cloud.datacatalog.v1.ListTagsResponse result = new com.google.cloud.datacatalog.v1.ListTagsResponse(this);
+      com.google.cloud.datacatalog.v1.ListTagsResponse result =
+          new com.google.cloud.datacatalog.v1.ListTagsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1.ListTagsResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.datacatalog.v1.ListTagsResponse result) {
       if (tagsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           tags_ = java.util.Collections.unmodifiableList(tags_);
@@ -426,38 +465,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ListTagsResponse 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.datacatalog.v1.ListTagsResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ListTagsResponse)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ListTagsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -465,7 +505,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ListTagsResponse other) {
-      if (other == com.google.cloud.datacatalog.v1.ListTagsResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.ListTagsResponse.getDefaultInstance())
+        return this;
       if (tagsBuilder_ == null) {
         if (!other.tags_.isEmpty()) {
           if (tags_.isEmpty()) {
@@ -484,9 +525,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.ListTagsResponse other)
             tagsBuilder_ = null;
             tags_ = other.tags_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            tagsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getTagsFieldBuilder() : null;
+            tagsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getTagsFieldBuilder()
+                    : null;
           } else {
             tagsBuilder_.addAllMessages(other.tags_);
           }
@@ -523,30 +565,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.datacatalog.v1.Tag m =
-                  input.readMessage(
-                      com.google.cloud.datacatalog.v1.Tag.parser(),
-                      extensionRegistry);
-              if (tagsBuilder_ == null) {
-                ensureTagsIsMutable();
-                tags_.add(m);
-              } else {
-                tagsBuilder_.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.datacatalog.v1.Tag m =
+                    input.readMessage(
+                        com.google.cloud.datacatalog.v1.Tag.parser(), extensionRegistry);
+                if (tagsBuilder_ == null) {
+                  ensureTagsIsMutable();
+                  tags_.add(m);
+                } else {
+                  tagsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -556,21 +600,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List tags_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureTagsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         tags_ = new java.util.ArrayList(tags_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder> tagsBuilder_;
+            com.google.cloud.datacatalog.v1.Tag,
+            com.google.cloud.datacatalog.v1.Tag.Builder,
+            com.google.cloud.datacatalog.v1.TagOrBuilder>
+        tagsBuilder_;
 
     /**
+     *
+     *
      * 
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
@@ -585,6 +636,8 @@ public java.util.List getTagsList() { } } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
@@ -599,6 +652,8 @@ public int getTagsCount() { } } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
@@ -613,14 +668,15 @@ public com.google.cloud.datacatalog.v1.Tag getTags(int index) { } } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1.Tag tags = 1; */ - public Builder setTags( - int index, com.google.cloud.datacatalog.v1.Tag value) { + public Builder setTags(int index, com.google.cloud.datacatalog.v1.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -634,14 +690,15 @@ public Builder setTags( return this; } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1.Tag tags = 1; */ - public Builder setTags( - int index, com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { + public Builder setTags(int index, com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); tags_.set(index, builderForValue.build()); @@ -652,6 +709,8 @@ public Builder setTags( return this; } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
@@ -672,14 +731,15 @@ public Builder addTags(com.google.cloud.datacatalog.v1.Tag value) { return this; } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1.Tag tags = 1; */ - public Builder addTags( - int index, com.google.cloud.datacatalog.v1.Tag value) { + public Builder addTags(int index, com.google.cloud.datacatalog.v1.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -693,14 +753,15 @@ public Builder addTags( return this; } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1.Tag tags = 1; */ - public Builder addTags( - com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { + public Builder addTags(com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); tags_.add(builderForValue.build()); @@ -711,14 +772,15 @@ public Builder addTags( return this; } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1.Tag tags = 1; */ - public Builder addTags( - int index, com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { + public Builder addTags(int index, com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); tags_.add(index, builderForValue.build()); @@ -729,6 +791,8 @@ public Builder addTags( return this; } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
@@ -739,8 +803,7 @@ public Builder addAllTags( java.lang.Iterable values) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); onChanged(); } else { tagsBuilder_.addAllMessages(values); @@ -748,6 +811,8 @@ public Builder addAllTags( return this; } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
@@ -765,6 +830,8 @@ public Builder clearTags() { return this; } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
@@ -782,39 +849,44 @@ public Builder removeTags(int index) { return this; } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1.Tag tags = 1; */ - public com.google.cloud.datacatalog.v1.Tag.Builder getTagsBuilder( - int index) { + public com.google.cloud.datacatalog.v1.Tag.Builder getTagsBuilder(int index) { return getTagsFieldBuilder().getBuilder(index); } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1.Tag tags = 1; */ - public com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder(int index) { if (tagsBuilder_ == null) { - return tags_.get(index); } else { + return tags_.get(index); + } else { return tagsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1.Tag tags = 1; */ - public java.util.List - getTagsOrBuilderList() { + public java.util.List + getTagsOrBuilderList() { if (tagsBuilder_ != null) { return tagsBuilder_.getMessageOrBuilderList(); } else { @@ -822,6 +894,8 @@ public com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder( } } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
@@ -829,42 +903,47 @@ public com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder( * repeated .google.cloud.datacatalog.v1.Tag tags = 1; */ public com.google.cloud.datacatalog.v1.Tag.Builder addTagsBuilder() { - return getTagsFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()); + return getTagsFieldBuilder() + .addBuilder(com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()); } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1.Tag tags = 1; */ - public com.google.cloud.datacatalog.v1.Tag.Builder addTagsBuilder( - int index) { - return getTagsFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()); + public com.google.cloud.datacatalog.v1.Tag.Builder addTagsBuilder(int index) { + return getTagsFieldBuilder() + .addBuilder(index, com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()); } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1.Tag tags = 1; */ - public java.util.List - getTagsBuilderList() { + public java.util.List getTagsBuilderList() { return getTagsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder> + com.google.cloud.datacatalog.v1.Tag, + com.google.cloud.datacatalog.v1.Tag.Builder, + com.google.cloud.datacatalog.v1.TagOrBuilder> getTagsFieldBuilder() { if (tagsBuilder_ == null) { - tagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder>( - tags_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + tagsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.Tag, + com.google.cloud.datacatalog.v1.Tag.Builder, + com.google.cloud.datacatalog.v1.TagOrBuilder>( + tags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tags_ = null; } return tagsBuilder_; @@ -872,19 +951,21 @@ public com.google.cloud.datacatalog.v1.Tag.Builder addTagsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Pagination token of the next results page. Empty if there are
      * no more items in results.
      * 
* * 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; @@ -893,21 +974,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Pagination token of the next results page. Empty if there are
      * no more items in results.
      * 
* * 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 { @@ -915,30 +997,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Pagination token of the next results page. Empty if there are
      * no more items in results.
      * 
* * 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; } /** + * + * *
      * Pagination token of the next results page. Empty if there are
      * no more items in results.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -948,27 +1037,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Pagination token of the next results page. Empty if there are
      * no more items in results.
      * 
* * 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); } @@ -978,12 +1071,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ListTagsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ListTagsResponse) private static final com.google.cloud.datacatalog.v1.ListTagsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ListTagsResponse(); } @@ -992,27 +1085,27 @@ public static com.google.cloud.datacatalog.v1.ListTagsResponse getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +1120,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ListTagsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponseOrBuilder.java similarity index 66% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponseOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponseOrBuilder.java index e2ec2d91bb5e..a8177c786dfb 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponseOrBuilder.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface ListTagsResponseOrBuilder extends +public interface ListTagsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ListTagsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * [Tag][google.cloud.datacatalog.v1.Tag] details.
    * 
* * repeated .google.cloud.datacatalog.v1.Tag tags = 1; */ - java.util.List - getTagsList(); + java.util.List getTagsList(); /** + * + * *
    * [Tag][google.cloud.datacatalog.v1.Tag] details.
    * 
@@ -25,6 +44,8 @@ public interface ListTagsResponseOrBuilder extends */ com.google.cloud.datacatalog.v1.Tag getTags(int index); /** + * + * *
    * [Tag][google.cloud.datacatalog.v1.Tag] details.
    * 
@@ -33,43 +54,50 @@ public interface ListTagsResponseOrBuilder extends */ int getTagsCount(); /** + * + * *
    * [Tag][google.cloud.datacatalog.v1.Tag] details.
    * 
* * repeated .google.cloud.datacatalog.v1.Tag tags = 1; */ - java.util.List - getTagsOrBuilderList(); + java.util.List getTagsOrBuilderList(); /** + * + * *
    * [Tag][google.cloud.datacatalog.v1.Tag] details.
    * 
* * repeated .google.cloud.datacatalog.v1.Tag tags = 1; */ - com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder( - int index); + com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder(int index); /** + * + * *
    * Pagination token of the next results page. Empty if there are
    * no more items in results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Pagination token of the next results page. Empty if there are
    * no more items in results.
    * 
* * 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-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequest.java similarity index 69% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequest.java index eeaab757b7e9..ab5a95ce82a2 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequest.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/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [ListTaxonomies][google.cloud.datacatalog.v1.PolicyTagManager.ListTaxonomies].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ListTaxonomiesRequest}
  */
-public final class ListTaxonomiesRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListTaxonomiesRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ListTaxonomiesRequest)
     ListTaxonomiesRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListTaxonomiesRequest.newBuilder() to construct.
   private ListTaxonomiesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListTaxonomiesRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -28,33 +46,40 @@ private ListTaxonomiesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListTaxonomiesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ListTaxonomiesRequest.class, com.google.cloud.datacatalog.v1.ListTaxonomiesRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.ListTaxonomiesRequest.class,
+            com.google.cloud.datacatalog.v1.ListTaxonomiesRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. Resource name of the project to list the taxonomies of.
    * 
* - * string parent = 1 [(.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,29 +88,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. Resource name of the project to list the taxonomies of.
    * 
* - * string parent = 1 [(.google.api.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,12 +123,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * The maximum number of items to return. Must be a value between 1 and 1000
    * inclusively. If not set, defaults to 50.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -110,9 +140,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * The pagination token of the next results page. If not set,
    * the first page is returned.
@@ -121,6 +154,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -129,14 +163,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The pagination token of the next results page. If not set,
    * the first page is returned.
@@ -145,16 +180,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -163,15 +197,19 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Supported field for filter is 'service' and value is 'dataplex'.
    * Eg: service=dataplex.
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -180,30 +218,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Supported field for filter is 'service' and value is 'dataplex'.
    * Eg: service=dataplex.
    * 
* * string filter = 4; + * * @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 { @@ -212,6 +250,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,8 +262,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -250,8 +288,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_); @@ -267,21 +304,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.datacatalog.v1.ListTaxonomiesRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ListTaxonomiesRequest other = (com.google.cloud.datacatalog.v1.ListTaxonomiesRequest) obj; + com.google.cloud.datacatalog.v1.ListTaxonomiesRequest other = + (com.google.cloud.datacatalog.v1.ListTaxonomiesRequest) 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 (!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; } @@ -307,98 +341,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ListTaxonomiesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ListTaxonomiesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ListTaxonomiesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ListTaxonomiesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ListTaxonomiesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ListTaxonomiesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListTaxonomiesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.ListTaxonomiesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ListTaxonomiesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListTaxonomiesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ListTaxonomiesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ListTaxonomiesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ListTaxonomiesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ListTaxonomiesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.ListTaxonomiesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.ListTaxonomiesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [ListTaxonomies][google.cloud.datacatalog.v1.PolicyTagManager.ListTaxonomies].
@@ -406,33 +446,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ListTaxonomiesRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ListTaxonomiesRequest)
       com.google.cloud.datacatalog.v1.ListTaxonomiesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ListTaxonomiesRequest.class, com.google.cloud.datacatalog.v1.ListTaxonomiesRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.ListTaxonomiesRequest.class,
+              com.google.cloud.datacatalog.v1.ListTaxonomiesRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ListTaxonomiesRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -445,9 +484,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -466,8 +505,11 @@ public com.google.cloud.datacatalog.v1.ListTaxonomiesRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ListTaxonomiesRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.ListTaxonomiesRequest result = new com.google.cloud.datacatalog.v1.ListTaxonomiesRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.ListTaxonomiesRequest result =
+          new com.google.cloud.datacatalog.v1.ListTaxonomiesRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -492,38 +534,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ListTaxonomiesRequest
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ListTaxonomiesRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ListTaxonomiesRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ListTaxonomiesRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -531,7 +574,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ListTaxonomiesRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.ListTaxonomiesRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.ListTaxonomiesRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -576,32 +620,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) {
@@ -611,22 +660,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. Resource name of the project to list the taxonomies of.
      * 
* - * string parent = 1 [(.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; @@ -635,20 +689,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the project to list the taxonomies of.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -656,28 +713,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the project to list the taxonomies of.
      * 
* - * 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. Resource name of the project to list the taxonomies of.
      * 
* - * string 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() { @@ -687,17 +755,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Resource name of the project to list the taxonomies of.
      * 
* - * 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,14 +779,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of items to return. Must be a value between 1 and 1000
      * inclusively. If not set, defaults to 50.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -720,12 +797,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of items to return. Must be a value between 1 and 1000
      * inclusively. If not set, defaults to 50.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -737,12 +817,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of items to return. Must be a value between 1 and 1000
      * inclusively. If not set, defaults to 50.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -754,6 +837,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The pagination token of the next results page. If not set,
      * the first page is returned.
@@ -762,13 +847,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -777,6 +862,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The pagination token of the next results page. If not set,
      * the first page is returned.
@@ -785,15 +872,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -801,6 +887,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The pagination token of the next results page. If not set,
      * the first page is returned.
@@ -809,18 +897,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @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; } /** + * + * *
      * The pagination token of the next results page. If not set,
      * the first page is returned.
@@ -829,6 +921,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -838,6 +931,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * The pagination token of the next results page. If not set,
      * the first page is returned.
@@ -846,12 +941,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - 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; @@ -861,19 +958,21 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Supported field for filter is 'service' and value is 'dataplex'.
      * Eg: service=dataplex.
      * 
* * string filter = 4; + * * @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; @@ -882,21 +981,22 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Supported field for filter is 'service' and value is 'dataplex'.
      * Eg: service=dataplex.
      * 
* * string filter = 4; + * * @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 { @@ -904,30 +1004,37 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Supported field for filter is 'service' and value is 'dataplex'.
      * Eg: service=dataplex.
      * 
* * string filter = 4; + * * @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; } /** + * + * *
      * Supported field for filter is 'service' and value is 'dataplex'.
      * Eg: service=dataplex.
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -937,27 +1044,31 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Supported field for filter is 'service' and value is 'dataplex'.
      * Eg: service=dataplex.
      * 
* * string filter = 4; + * * @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); } @@ -967,12 +1078,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ListTaxonomiesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ListTaxonomiesRequest) private static final com.google.cloud.datacatalog.v1.ListTaxonomiesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ListTaxonomiesRequest(); } @@ -981,27 +1092,27 @@ public static com.google.cloud.datacatalog.v1.ListTaxonomiesRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTaxonomiesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTaxonomiesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1016,6 +1127,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ListTaxonomiesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequestOrBuilder.java index 9d8042300e9f..5cf1b2b264fb 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequestOrBuilder.java @@ -1,44 +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/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; -public interface ListTaxonomiesRequestOrBuilder extends +public interface ListTaxonomiesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ListTaxonomiesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the project to list the taxonomies of.
    * 
* - * string parent = 1 [(.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. Resource name of the project to list the taxonomies of.
    * 
* - * string parent = 1 [(.google.api.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(); /** + * + * *
    * The maximum number of items to return. Must be a value between 1 and 1000
    * inclusively. If not set, defaults to 50.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The pagination token of the next results page. If not set,
    * the first page is returned.
@@ -47,10 +77,13 @@ public interface ListTaxonomiesRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The pagination token of the next results page. If not set,
    * the first page is returned.
@@ -59,30 +92,35 @@ public interface ListTaxonomiesRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Supported field for filter is 'service' and value is 'dataplex'.
    * Eg: service=dataplex.
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Supported field for filter is 'service' and value is 'dataplex'.
    * Eg: service=dataplex.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponse.java similarity index 72% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponse.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponse.java index a95acc83874a..5eb5868715ad 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponse.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/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Response message for
  * [ListTaxonomies][google.cloud.datacatalog.v1.PolicyTagManager.ListTaxonomies].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ListTaxonomiesResponse}
  */
-public final class ListTaxonomiesResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListTaxonomiesResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ListTaxonomiesResponse)
     ListTaxonomiesResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListTaxonomiesResponse.newBuilder() to construct.
   private ListTaxonomiesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListTaxonomiesResponse() {
     taxonomies_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,28 +45,32 @@ private ListTaxonomiesResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListTaxonomiesResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ListTaxonomiesResponse.class, com.google.cloud.datacatalog.v1.ListTaxonomiesResponse.Builder.class);
+            com.google.cloud.datacatalog.v1.ListTaxonomiesResponse.class,
+            com.google.cloud.datacatalog.v1.ListTaxonomiesResponse.Builder.class);
   }
 
   public static final int TAXONOMIES_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List taxonomies_;
   /**
+   *
+   *
    * 
    * Taxonomies that the project contains.
    * 
@@ -60,6 +82,8 @@ public java.util.List getTaxonomiesLis return taxonomies_; } /** + * + * *
    * Taxonomies that the project contains.
    * 
@@ -67,11 +91,13 @@ public java.util.List getTaxonomiesLis * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTaxonomiesOrBuilderList() { return taxonomies_; } /** + * + * *
    * Taxonomies that the project contains.
    * 
@@ -83,6 +109,8 @@ public int getTaxonomiesCount() { return taxonomies_.size(); } /** + * + * *
    * Taxonomies that the project contains.
    * 
@@ -94,6 +122,8 @@ public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomies(int index) { return taxonomies_.get(index); } /** + * + * *
    * Taxonomies that the project contains.
    * 
@@ -101,21 +131,24 @@ public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomies(int index) { * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder(int index) { return taxonomies_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Pagination token of the next results page. Empty if there are no
    * more results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -124,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; } } /** + * + * *
    * Pagination token of the next results page. 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 { @@ -156,6 +189,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,8 +201,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < taxonomies_.size(); i++) { output.writeMessage(1, taxonomies_.get(i)); } @@ -185,8 +218,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < taxonomies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, taxonomies_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, taxonomies_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -199,17 +231,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.datacatalog.v1.ListTaxonomiesResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ListTaxonomiesResponse other = (com.google.cloud.datacatalog.v1.ListTaxonomiesResponse) obj; + com.google.cloud.datacatalog.v1.ListTaxonomiesResponse other = + (com.google.cloud.datacatalog.v1.ListTaxonomiesResponse) obj; - if (!getTaxonomiesList() - .equals(other.getTaxonomiesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getTaxonomiesList().equals(other.getTaxonomiesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -233,98 +264,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ListTaxonomiesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ListTaxonomiesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ListTaxonomiesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ListTaxonomiesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ListTaxonomiesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ListTaxonomiesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListTaxonomiesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.ListTaxonomiesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ListTaxonomiesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ListTaxonomiesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ListTaxonomiesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ListTaxonomiesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ListTaxonomiesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ListTaxonomiesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.ListTaxonomiesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.ListTaxonomiesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for
    * [ListTaxonomies][google.cloud.datacatalog.v1.PolicyTagManager.ListTaxonomies].
@@ -332,33 +369,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ListTaxonomiesResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ListTaxonomiesResponse)
       com.google.cloud.datacatalog.v1.ListTaxonomiesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ListTaxonomiesResponse.class, com.google.cloud.datacatalog.v1.ListTaxonomiesResponse.Builder.class);
+              com.google.cloud.datacatalog.v1.ListTaxonomiesResponse.class,
+              com.google.cloud.datacatalog.v1.ListTaxonomiesResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ListTaxonomiesResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -375,9 +411,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_descriptor;
     }
 
     @java.lang.Override
@@ -396,14 +432,18 @@ public com.google.cloud.datacatalog.v1.ListTaxonomiesResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ListTaxonomiesResponse buildPartial() {
-      com.google.cloud.datacatalog.v1.ListTaxonomiesResponse result = new com.google.cloud.datacatalog.v1.ListTaxonomiesResponse(this);
+      com.google.cloud.datacatalog.v1.ListTaxonomiesResponse result =
+          new com.google.cloud.datacatalog.v1.ListTaxonomiesResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1.ListTaxonomiesResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.datacatalog.v1.ListTaxonomiesResponse result) {
       if (taxonomiesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           taxonomies_ = java.util.Collections.unmodifiableList(taxonomies_);
@@ -426,38 +466,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ListTaxonomiesRespons
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ListTaxonomiesResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ListTaxonomiesResponse)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ListTaxonomiesResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -465,7 +506,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ListTaxonomiesResponse other) {
-      if (other == com.google.cloud.datacatalog.v1.ListTaxonomiesResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.ListTaxonomiesResponse.getDefaultInstance())
+        return this;
       if (taxonomiesBuilder_ == null) {
         if (!other.taxonomies_.isEmpty()) {
           if (taxonomies_.isEmpty()) {
@@ -484,9 +526,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.ListTaxonomiesResponse
             taxonomiesBuilder_ = null;
             taxonomies_ = other.taxonomies_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            taxonomiesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getTaxonomiesFieldBuilder() : null;
+            taxonomiesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getTaxonomiesFieldBuilder()
+                    : null;
           } else {
             taxonomiesBuilder_.addAllMessages(other.taxonomies_);
           }
@@ -523,30 +566,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.datacatalog.v1.Taxonomy m =
-                  input.readMessage(
-                      com.google.cloud.datacatalog.v1.Taxonomy.parser(),
-                      extensionRegistry);
-              if (taxonomiesBuilder_ == null) {
-                ensureTaxonomiesIsMutable();
-                taxonomies_.add(m);
-              } else {
-                taxonomiesBuilder_.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.datacatalog.v1.Taxonomy m =
+                    input.readMessage(
+                        com.google.cloud.datacatalog.v1.Taxonomy.parser(), extensionRegistry);
+                if (taxonomiesBuilder_ == null) {
+                  ensureTaxonomiesIsMutable();
+                  taxonomies_.add(m);
+                } else {
+                  taxonomiesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -556,21 +601,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List taxonomies_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureTaxonomiesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        taxonomies_ = new java.util.ArrayList(taxonomies_);
+        taxonomies_ =
+            new java.util.ArrayList(taxonomies_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.Taxonomy, com.google.cloud.datacatalog.v1.Taxonomy.Builder, com.google.cloud.datacatalog.v1.TaxonomyOrBuilder> taxonomiesBuilder_;
+            com.google.cloud.datacatalog.v1.Taxonomy,
+            com.google.cloud.datacatalog.v1.Taxonomy.Builder,
+            com.google.cloud.datacatalog.v1.TaxonomyOrBuilder>
+        taxonomiesBuilder_;
 
     /**
+     *
+     *
      * 
      * Taxonomies that the project contains.
      * 
@@ -585,6 +638,8 @@ public java.util.List getTaxonomiesLis } } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -599,6 +654,8 @@ public int getTaxonomiesCount() { } } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -613,14 +670,15 @@ public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomies(int index) { } } /** + * + * *
      * Taxonomies that the project contains.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - public Builder setTaxonomies( - int index, com.google.cloud.datacatalog.v1.Taxonomy value) { + public Builder setTaxonomies(int index, com.google.cloud.datacatalog.v1.Taxonomy value) { if (taxonomiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -634,6 +692,8 @@ public Builder setTaxonomies( return this; } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -652,6 +712,8 @@ public Builder setTaxonomies( return this; } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -672,14 +734,15 @@ public Builder addTaxonomies(com.google.cloud.datacatalog.v1.Taxonomy value) { return this; } /** + * + * *
      * Taxonomies that the project contains.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - public Builder addTaxonomies( - int index, com.google.cloud.datacatalog.v1.Taxonomy value) { + public Builder addTaxonomies(int index, com.google.cloud.datacatalog.v1.Taxonomy value) { if (taxonomiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -693,14 +756,15 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * Taxonomies that the project contains.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - public Builder addTaxonomies( - com.google.cloud.datacatalog.v1.Taxonomy.Builder builderForValue) { + public Builder addTaxonomies(com.google.cloud.datacatalog.v1.Taxonomy.Builder builderForValue) { if (taxonomiesBuilder_ == null) { ensureTaxonomiesIsMutable(); taxonomies_.add(builderForValue.build()); @@ -711,6 +775,8 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -729,6 +795,8 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -739,8 +807,7 @@ public Builder addAllTaxonomies( java.lang.Iterable values) { if (taxonomiesBuilder_ == null) { ensureTaxonomiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, taxonomies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taxonomies_); onChanged(); } else { taxonomiesBuilder_.addAllMessages(values); @@ -748,6 +815,8 @@ public Builder addAllTaxonomies( return this; } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -765,6 +834,8 @@ public Builder clearTaxonomies() { return this; } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -782,39 +853,44 @@ public Builder removeTaxonomies(int index) { return this; } /** + * + * *
      * Taxonomies that the project contains.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - public com.google.cloud.datacatalog.v1.Taxonomy.Builder getTaxonomiesBuilder( - int index) { + public com.google.cloud.datacatalog.v1.Taxonomy.Builder getTaxonomiesBuilder(int index) { return getTaxonomiesFieldBuilder().getBuilder(index); } /** + * + * *
      * Taxonomies that the project contains.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder(int index) { if (taxonomiesBuilder_ == null) { - return taxonomies_.get(index); } else { + return taxonomies_.get(index); + } else { return taxonomiesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Taxonomies that the project contains.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - public java.util.List - getTaxonomiesOrBuilderList() { + public java.util.List + getTaxonomiesOrBuilderList() { if (taxonomiesBuilder_ != null) { return taxonomiesBuilder_.getMessageOrBuilderList(); } else { @@ -822,6 +898,8 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder( } } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -829,42 +907,48 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder( * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ public com.google.cloud.datacatalog.v1.Taxonomy.Builder addTaxonomiesBuilder() { - return getTaxonomiesFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance()); + return getTaxonomiesFieldBuilder() + .addBuilder(com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance()); } /** + * + * *
      * Taxonomies that the project contains.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - public com.google.cloud.datacatalog.v1.Taxonomy.Builder addTaxonomiesBuilder( - int index) { - return getTaxonomiesFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance()); + public com.google.cloud.datacatalog.v1.Taxonomy.Builder addTaxonomiesBuilder(int index) { + return getTaxonomiesFieldBuilder() + .addBuilder(index, com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance()); } /** + * + * *
      * Taxonomies that the project contains.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - public java.util.List - getTaxonomiesBuilderList() { + public java.util.List + getTaxonomiesBuilderList() { return getTaxonomiesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Taxonomy, com.google.cloud.datacatalog.v1.Taxonomy.Builder, com.google.cloud.datacatalog.v1.TaxonomyOrBuilder> + com.google.cloud.datacatalog.v1.Taxonomy, + com.google.cloud.datacatalog.v1.Taxonomy.Builder, + com.google.cloud.datacatalog.v1.TaxonomyOrBuilder> getTaxonomiesFieldBuilder() { if (taxonomiesBuilder_ == null) { - taxonomiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Taxonomy, com.google.cloud.datacatalog.v1.Taxonomy.Builder, com.google.cloud.datacatalog.v1.TaxonomyOrBuilder>( - taxonomies_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + taxonomiesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.Taxonomy, + com.google.cloud.datacatalog.v1.Taxonomy.Builder, + com.google.cloud.datacatalog.v1.TaxonomyOrBuilder>( + taxonomies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); taxonomies_ = null; } return taxonomiesBuilder_; @@ -872,19 +956,21 @@ public com.google.cloud.datacatalog.v1.Taxonomy.Builder addTaxonomiesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Pagination token of the next results page. 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; @@ -893,21 +979,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Pagination token of the next results page. 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 { @@ -915,30 +1002,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Pagination token of the next results page. 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; } /** + * + * *
      * Pagination token of the next results page. Empty if there are no
      * more results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -948,27 +1042,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Pagination token of the next results page. 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); } @@ -978,12 +1076,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ListTaxonomiesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ListTaxonomiesResponse) private static final com.google.cloud.datacatalog.v1.ListTaxonomiesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ListTaxonomiesResponse(); } @@ -992,27 +1090,27 @@ public static com.google.cloud.datacatalog.v1.ListTaxonomiesResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTaxonomiesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTaxonomiesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +1125,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ListTaxonomiesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponseOrBuilder.java similarity index 67% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponseOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponseOrBuilder.java index 204cf994888d..f8b150b20979 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponseOrBuilder.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/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; -public interface ListTaxonomiesResponseOrBuilder extends +public interface ListTaxonomiesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ListTaxonomiesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Taxonomies that the project contains.
    * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - java.util.List - getTaxonomiesList(); + java.util.List getTaxonomiesList(); /** + * + * *
    * Taxonomies that the project contains.
    * 
@@ -25,6 +44,8 @@ public interface ListTaxonomiesResponseOrBuilder extends */ com.google.cloud.datacatalog.v1.Taxonomy getTaxonomies(int index); /** + * + * *
    * Taxonomies that the project contains.
    * 
@@ -33,43 +54,51 @@ public interface ListTaxonomiesResponseOrBuilder extends */ int getTaxonomiesCount(); /** + * + * *
    * Taxonomies that the project contains.
    * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - java.util.List + java.util.List getTaxonomiesOrBuilderList(); /** + * + * *
    * Taxonomies that the project contains.
    * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; */ - com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder( - int index); + com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder(int index); /** + * + * *
    * Pagination token of the next results page. Empty if there are no
    * more results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Pagination token of the next results page. 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-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LocationName.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LocationName.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LocationName.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LocationName.java diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpec.java similarity index 72% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpec.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpec.java index 676bd3f674d1..de807f5e577d 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpec.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Specification that applies to
  * entries that are part `LOOKER` system
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.LookerSystemSpec}
  */
-public final class LookerSystemSpec extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class LookerSystemSpec extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.LookerSystemSpec)
     LookerSystemSpecOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use LookerSystemSpec.newBuilder() to construct.
   private LookerSystemSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private LookerSystemSpec() {
     parentInstanceId_ = "";
     parentInstanceDisplayName_ = "";
@@ -32,34 +50,39 @@ private LookerSystemSpec() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new LookerSystemSpec();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.LookerSystemSpec.class, com.google.cloud.datacatalog.v1.LookerSystemSpec.Builder.class);
+            com.google.cloud.datacatalog.v1.LookerSystemSpec.class,
+            com.google.cloud.datacatalog.v1.LookerSystemSpec.Builder.class);
   }
 
   public static final int PARENT_INSTANCE_ID_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parentInstanceId_ = "";
   /**
+   *
+   *
    * 
    * ID of the parent Looker Instance. Empty if it does not exist.
    * Example value: `someinstance.looker.com`
    * 
* * string parent_instance_id = 1; + * * @return The parentInstanceId. */ @java.lang.Override @@ -68,30 +91,30 @@ public java.lang.String getParentInstanceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentInstanceId_ = s; return s; } } /** + * + * *
    * ID of the parent Looker Instance. Empty if it does not exist.
    * Example value: `someinstance.looker.com`
    * 
* * string parent_instance_id = 1; + * * @return The bytes for parentInstanceId. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentInstanceIdBytes() { + public com.google.protobuf.ByteString getParentInstanceIdBytes() { java.lang.Object ref = parentInstanceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parentInstanceId_ = b; return b; } else { @@ -100,14 +123,18 @@ public java.lang.String getParentInstanceId() { } public static final int PARENT_INSTANCE_DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object parentInstanceDisplayName_ = ""; /** + * + * *
    * Name of the parent Looker Instance. Empty if it does not exist.
    * 
* * string parent_instance_display_name = 2; + * * @return The parentInstanceDisplayName. */ @java.lang.Override @@ -116,29 +143,29 @@ public java.lang.String getParentInstanceDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentInstanceDisplayName_ = s; return s; } } /** + * + * *
    * Name of the parent Looker Instance. Empty if it does not exist.
    * 
* * string parent_instance_display_name = 2; + * * @return The bytes for parentInstanceDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentInstanceDisplayNameBytes() { + public com.google.protobuf.ByteString getParentInstanceDisplayNameBytes() { java.lang.Object ref = parentInstanceDisplayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parentInstanceDisplayName_ = b; return b; } else { @@ -147,14 +174,18 @@ public java.lang.String getParentInstanceDisplayName() { } public static final int PARENT_MODEL_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object parentModelId_ = ""; /** + * + * *
    * ID of the parent Model. Empty if it does not exist.
    * 
* * string parent_model_id = 3; + * * @return The parentModelId. */ @java.lang.Override @@ -163,29 +194,29 @@ public java.lang.String getParentModelId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentModelId_ = s; return s; } } /** + * + * *
    * ID of the parent Model. Empty if it does not exist.
    * 
* * string parent_model_id = 3; + * * @return The bytes for parentModelId. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentModelIdBytes() { + public com.google.protobuf.ByteString getParentModelIdBytes() { java.lang.Object ref = parentModelId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parentModelId_ = b; return b; } else { @@ -194,14 +225,18 @@ public java.lang.String getParentModelId() { } public static final int PARENT_MODEL_DISPLAY_NAME_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object parentModelDisplayName_ = ""; /** + * + * *
    * Name of the parent Model. Empty if it does not exist.
    * 
* * string parent_model_display_name = 4; + * * @return The parentModelDisplayName. */ @java.lang.Override @@ -210,29 +245,29 @@ public java.lang.String getParentModelDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentModelDisplayName_ = s; return s; } } /** + * + * *
    * Name of the parent Model. Empty if it does not exist.
    * 
* * string parent_model_display_name = 4; + * * @return The bytes for parentModelDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentModelDisplayNameBytes() { + public com.google.protobuf.ByteString getParentModelDisplayNameBytes() { java.lang.Object ref = parentModelDisplayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parentModelDisplayName_ = b; return b; } else { @@ -241,14 +276,18 @@ public java.lang.String getParentModelDisplayName() { } public static final int PARENT_VIEW_ID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object parentViewId_ = ""; /** + * + * *
    * ID of the parent View. Empty if it does not exist.
    * 
* * string parent_view_id = 5; + * * @return The parentViewId. */ @java.lang.Override @@ -257,29 +296,29 @@ public java.lang.String getParentViewId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentViewId_ = s; return s; } } /** + * + * *
    * ID of the parent View. Empty if it does not exist.
    * 
* * string parent_view_id = 5; + * * @return The bytes for parentViewId. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentViewIdBytes() { + public com.google.protobuf.ByteString getParentViewIdBytes() { java.lang.Object ref = parentViewId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parentViewId_ = b; return b; } else { @@ -288,14 +327,18 @@ public java.lang.String getParentViewId() { } public static final int PARENT_VIEW_DISPLAY_NAME_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object parentViewDisplayName_ = ""; /** + * + * *
    * Name of the parent View. Empty if it does not exist.
    * 
* * string parent_view_display_name = 6; + * * @return The parentViewDisplayName. */ @java.lang.Override @@ -304,29 +347,29 @@ public java.lang.String getParentViewDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentViewDisplayName_ = s; return s; } } /** + * + * *
    * Name of the parent View. Empty if it does not exist.
    * 
* * string parent_view_display_name = 6; + * * @return The bytes for parentViewDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentViewDisplayNameBytes() { + public com.google.protobuf.ByteString getParentViewDisplayNameBytes() { java.lang.Object ref = parentViewDisplayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parentViewDisplayName_ = b; return b; } else { @@ -335,6 +378,7 @@ public java.lang.String getParentViewDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -346,8 +390,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parentInstanceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parentInstanceId_); } @@ -379,7 +422,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parentInstanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parentInstanceDisplayName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, parentInstanceDisplayName_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(2, parentInstanceDisplayName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parentModelId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, parentModelId_); @@ -401,25 +445,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.datacatalog.v1.LookerSystemSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.LookerSystemSpec other = (com.google.cloud.datacatalog.v1.LookerSystemSpec) obj; - - if (!getParentInstanceId() - .equals(other.getParentInstanceId())) return false; - if (!getParentInstanceDisplayName() - .equals(other.getParentInstanceDisplayName())) return false; - if (!getParentModelId() - .equals(other.getParentModelId())) return false; - if (!getParentModelDisplayName() - .equals(other.getParentModelDisplayName())) return false; - if (!getParentViewId() - .equals(other.getParentViewId())) return false; - if (!getParentViewDisplayName() - .equals(other.getParentViewDisplayName())) return false; + com.google.cloud.datacatalog.v1.LookerSystemSpec other = + (com.google.cloud.datacatalog.v1.LookerSystemSpec) obj; + + if (!getParentInstanceId().equals(other.getParentInstanceId())) return false; + if (!getParentInstanceDisplayName().equals(other.getParentInstanceDisplayName())) return false; + if (!getParentModelId().equals(other.getParentModelId())) return false; + if (!getParentModelDisplayName().equals(other.getParentModelDisplayName())) return false; + if (!getParentViewId().equals(other.getParentViewId())) return false; + if (!getParentViewDisplayName().equals(other.getParentViewDisplayName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -448,99 +487,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.LookerSystemSpec parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.LookerSystemSpec parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.LookerSystemSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.LookerSystemSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.LookerSystemSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.LookerSystemSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.LookerSystemSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.LookerSystemSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.LookerSystemSpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.LookerSystemSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.LookerSystemSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.LookerSystemSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.LookerSystemSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.LookerSystemSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.LookerSystemSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.LookerSystemSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Specification that applies to
    * entries that are part `LOOKER` system
@@ -549,33 +593,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.LookerSystemSpec}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.LookerSystemSpec)
       com.google.cloud.datacatalog.v1.LookerSystemSpecOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.LookerSystemSpec.class, com.google.cloud.datacatalog.v1.LookerSystemSpec.Builder.class);
+              com.google.cloud.datacatalog.v1.LookerSystemSpec.class,
+              com.google.cloud.datacatalog.v1.LookerSystemSpec.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.LookerSystemSpec.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -590,9 +633,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_descriptor;
     }
 
     @java.lang.Override
@@ -611,8 +654,11 @@ public com.google.cloud.datacatalog.v1.LookerSystemSpec build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.LookerSystemSpec buildPartial() {
-      com.google.cloud.datacatalog.v1.LookerSystemSpec result = new com.google.cloud.datacatalog.v1.LookerSystemSpec(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.LookerSystemSpec result =
+          new com.google.cloud.datacatalog.v1.LookerSystemSpec(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -643,38 +689,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.LookerSystemSpec 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.datacatalog.v1.LookerSystemSpec) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.LookerSystemSpec)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.LookerSystemSpec) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -682,7 +729,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.LookerSystemSpec other) {
-      if (other == com.google.cloud.datacatalog.v1.LookerSystemSpec.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.LookerSystemSpec.getDefaultInstance())
+        return this;
       if (!other.getParentInstanceId().isEmpty()) {
         parentInstanceId_ = other.parentInstanceId_;
         bitField0_ |= 0x00000001;
@@ -739,42 +787,49 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parentInstanceId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              parentInstanceDisplayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              parentModelId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              parentModelDisplayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              parentViewId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              parentViewDisplayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parentInstanceId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                parentInstanceDisplayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                parentModelId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                parentModelDisplayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                parentViewId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                parentViewDisplayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -784,23 +839,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parentInstanceId_ = "";
     /**
+     *
+     *
      * 
      * ID of the parent Looker Instance. Empty if it does not exist.
      * Example value: `someinstance.looker.com`
      * 
* * string parent_instance_id = 1; + * * @return The parentInstanceId. */ public java.lang.String getParentInstanceId() { java.lang.Object ref = parentInstanceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentInstanceId_ = s; return s; @@ -809,21 +867,22 @@ public java.lang.String getParentInstanceId() { } } /** + * + * *
      * ID of the parent Looker Instance. Empty if it does not exist.
      * Example value: `someinstance.looker.com`
      * 
* * string parent_instance_id = 1; + * * @return The bytes for parentInstanceId. */ - public com.google.protobuf.ByteString - getParentInstanceIdBytes() { + public com.google.protobuf.ByteString getParentInstanceIdBytes() { java.lang.Object ref = parentInstanceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parentInstanceId_ = b; return b; } else { @@ -831,30 +890,37 @@ public java.lang.String getParentInstanceId() { } } /** + * + * *
      * ID of the parent Looker Instance. Empty if it does not exist.
      * Example value: `someinstance.looker.com`
      * 
* * string parent_instance_id = 1; + * * @param value The parentInstanceId to set. * @return This builder for chaining. */ - public Builder setParentInstanceId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentInstanceId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parentInstanceId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * ID of the parent Looker Instance. Empty if it does not exist.
      * Example value: `someinstance.looker.com`
      * 
* * string parent_instance_id = 1; + * * @return This builder for chaining. */ public Builder clearParentInstanceId() { @@ -864,18 +930,22 @@ public Builder clearParentInstanceId() { return this; } /** + * + * *
      * ID of the parent Looker Instance. Empty if it does not exist.
      * Example value: `someinstance.looker.com`
      * 
* * string parent_instance_id = 1; + * * @param value The bytes for parentInstanceId to set. * @return This builder for chaining. */ - public Builder setParentInstanceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentInstanceIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parentInstanceId_ = value; bitField0_ |= 0x00000001; @@ -885,18 +955,20 @@ public Builder setParentInstanceIdBytes( private java.lang.Object parentInstanceDisplayName_ = ""; /** + * + * *
      * Name of the parent Looker Instance. Empty if it does not exist.
      * 
* * string parent_instance_display_name = 2; + * * @return The parentInstanceDisplayName. */ public java.lang.String getParentInstanceDisplayName() { java.lang.Object ref = parentInstanceDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentInstanceDisplayName_ = s; return s; @@ -905,20 +977,21 @@ public java.lang.String getParentInstanceDisplayName() { } } /** + * + * *
      * Name of the parent Looker Instance. Empty if it does not exist.
      * 
* * string parent_instance_display_name = 2; + * * @return The bytes for parentInstanceDisplayName. */ - public com.google.protobuf.ByteString - getParentInstanceDisplayNameBytes() { + public com.google.protobuf.ByteString getParentInstanceDisplayNameBytes() { java.lang.Object ref = parentInstanceDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parentInstanceDisplayName_ = b; return b; } else { @@ -926,28 +999,35 @@ public java.lang.String getParentInstanceDisplayName() { } } /** + * + * *
      * Name of the parent Looker Instance. Empty if it does not exist.
      * 
* * string parent_instance_display_name = 2; + * * @param value The parentInstanceDisplayName to set. * @return This builder for chaining. */ - public Builder setParentInstanceDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentInstanceDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parentInstanceDisplayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Name of the parent Looker Instance. Empty if it does not exist.
      * 
* * string parent_instance_display_name = 2; + * * @return This builder for chaining. */ public Builder clearParentInstanceDisplayName() { @@ -957,17 +1037,21 @@ public Builder clearParentInstanceDisplayName() { return this; } /** + * + * *
      * Name of the parent Looker Instance. Empty if it does not exist.
      * 
* * string parent_instance_display_name = 2; + * * @param value The bytes for parentInstanceDisplayName to set. * @return This builder for chaining. */ - public Builder setParentInstanceDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentInstanceDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parentInstanceDisplayName_ = value; bitField0_ |= 0x00000002; @@ -977,18 +1061,20 @@ public Builder setParentInstanceDisplayNameBytes( private java.lang.Object parentModelId_ = ""; /** + * + * *
      * ID of the parent Model. Empty if it does not exist.
      * 
* * string parent_model_id = 3; + * * @return The parentModelId. */ public java.lang.String getParentModelId() { java.lang.Object ref = parentModelId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentModelId_ = s; return s; @@ -997,20 +1083,21 @@ public java.lang.String getParentModelId() { } } /** + * + * *
      * ID of the parent Model. Empty if it does not exist.
      * 
* * string parent_model_id = 3; + * * @return The bytes for parentModelId. */ - public com.google.protobuf.ByteString - getParentModelIdBytes() { + public com.google.protobuf.ByteString getParentModelIdBytes() { java.lang.Object ref = parentModelId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parentModelId_ = b; return b; } else { @@ -1018,28 +1105,35 @@ public java.lang.String getParentModelId() { } } /** + * + * *
      * ID of the parent Model. Empty if it does not exist.
      * 
* * string parent_model_id = 3; + * * @param value The parentModelId to set. * @return This builder for chaining. */ - public Builder setParentModelId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentModelId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parentModelId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * ID of the parent Model. Empty if it does not exist.
      * 
* * string parent_model_id = 3; + * * @return This builder for chaining. */ public Builder clearParentModelId() { @@ -1049,17 +1143,21 @@ public Builder clearParentModelId() { return this; } /** + * + * *
      * ID of the parent Model. Empty if it does not exist.
      * 
* * string parent_model_id = 3; + * * @param value The bytes for parentModelId to set. * @return This builder for chaining. */ - public Builder setParentModelIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentModelIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parentModelId_ = value; bitField0_ |= 0x00000004; @@ -1069,18 +1167,20 @@ public Builder setParentModelIdBytes( private java.lang.Object parentModelDisplayName_ = ""; /** + * + * *
      * Name of the parent Model. Empty if it does not exist.
      * 
* * string parent_model_display_name = 4; + * * @return The parentModelDisplayName. */ public java.lang.String getParentModelDisplayName() { java.lang.Object ref = parentModelDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentModelDisplayName_ = s; return s; @@ -1089,20 +1189,21 @@ public java.lang.String getParentModelDisplayName() { } } /** + * + * *
      * Name of the parent Model. Empty if it does not exist.
      * 
* * string parent_model_display_name = 4; + * * @return The bytes for parentModelDisplayName. */ - public com.google.protobuf.ByteString - getParentModelDisplayNameBytes() { + public com.google.protobuf.ByteString getParentModelDisplayNameBytes() { java.lang.Object ref = parentModelDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parentModelDisplayName_ = b; return b; } else { @@ -1110,28 +1211,35 @@ public java.lang.String getParentModelDisplayName() { } } /** + * + * *
      * Name of the parent Model. Empty if it does not exist.
      * 
* * string parent_model_display_name = 4; + * * @param value The parentModelDisplayName to set. * @return This builder for chaining. */ - public Builder setParentModelDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentModelDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parentModelDisplayName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Name of the parent Model. Empty if it does not exist.
      * 
* * string parent_model_display_name = 4; + * * @return This builder for chaining. */ public Builder clearParentModelDisplayName() { @@ -1141,17 +1249,21 @@ public Builder clearParentModelDisplayName() { return this; } /** + * + * *
      * Name of the parent Model. Empty if it does not exist.
      * 
* * string parent_model_display_name = 4; + * * @param value The bytes for parentModelDisplayName to set. * @return This builder for chaining. */ - public Builder setParentModelDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentModelDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parentModelDisplayName_ = value; bitField0_ |= 0x00000008; @@ -1161,18 +1273,20 @@ public Builder setParentModelDisplayNameBytes( private java.lang.Object parentViewId_ = ""; /** + * + * *
      * ID of the parent View. Empty if it does not exist.
      * 
* * string parent_view_id = 5; + * * @return The parentViewId. */ public java.lang.String getParentViewId() { java.lang.Object ref = parentViewId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentViewId_ = s; return s; @@ -1181,20 +1295,21 @@ public java.lang.String getParentViewId() { } } /** + * + * *
      * ID of the parent View. Empty if it does not exist.
      * 
* * string parent_view_id = 5; + * * @return The bytes for parentViewId. */ - public com.google.protobuf.ByteString - getParentViewIdBytes() { + public com.google.protobuf.ByteString getParentViewIdBytes() { java.lang.Object ref = parentViewId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parentViewId_ = b; return b; } else { @@ -1202,28 +1317,35 @@ public java.lang.String getParentViewId() { } } /** + * + * *
      * ID of the parent View. Empty if it does not exist.
      * 
* * string parent_view_id = 5; + * * @param value The parentViewId to set. * @return This builder for chaining. */ - public Builder setParentViewId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentViewId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parentViewId_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * ID of the parent View. Empty if it does not exist.
      * 
* * string parent_view_id = 5; + * * @return This builder for chaining. */ public Builder clearParentViewId() { @@ -1233,17 +1355,21 @@ public Builder clearParentViewId() { return this; } /** + * + * *
      * ID of the parent View. Empty if it does not exist.
      * 
* * string parent_view_id = 5; + * * @param value The bytes for parentViewId to set. * @return This builder for chaining. */ - public Builder setParentViewIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentViewIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parentViewId_ = value; bitField0_ |= 0x00000010; @@ -1253,18 +1379,20 @@ public Builder setParentViewIdBytes( private java.lang.Object parentViewDisplayName_ = ""; /** + * + * *
      * Name of the parent View. Empty if it does not exist.
      * 
* * string parent_view_display_name = 6; + * * @return The parentViewDisplayName. */ public java.lang.String getParentViewDisplayName() { java.lang.Object ref = parentViewDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentViewDisplayName_ = s; return s; @@ -1273,20 +1401,21 @@ public java.lang.String getParentViewDisplayName() { } } /** + * + * *
      * Name of the parent View. Empty if it does not exist.
      * 
* * string parent_view_display_name = 6; + * * @return The bytes for parentViewDisplayName. */ - public com.google.protobuf.ByteString - getParentViewDisplayNameBytes() { + public com.google.protobuf.ByteString getParentViewDisplayNameBytes() { java.lang.Object ref = parentViewDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parentViewDisplayName_ = b; return b; } else { @@ -1294,28 +1423,35 @@ public java.lang.String getParentViewDisplayName() { } } /** + * + * *
      * Name of the parent View. Empty if it does not exist.
      * 
* * string parent_view_display_name = 6; + * * @param value The parentViewDisplayName to set. * @return This builder for chaining. */ - public Builder setParentViewDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentViewDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parentViewDisplayName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Name of the parent View. Empty if it does not exist.
      * 
* * string parent_view_display_name = 6; + * * @return This builder for chaining. */ public Builder clearParentViewDisplayName() { @@ -1325,26 +1461,30 @@ public Builder clearParentViewDisplayName() { return this; } /** + * + * *
      * Name of the parent View. Empty if it does not exist.
      * 
* * string parent_view_display_name = 6; + * * @param value The bytes for parentViewDisplayName to set. * @return This builder for chaining. */ - public Builder setParentViewDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentViewDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parentViewDisplayName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1354,12 +1494,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.LookerSystemSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.LookerSystemSpec) private static final com.google.cloud.datacatalog.v1.LookerSystemSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.LookerSystemSpec(); } @@ -1368,27 +1508,27 @@ public static com.google.cloud.datacatalog.v1.LookerSystemSpec getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LookerSystemSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LookerSystemSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1403,6 +1543,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.LookerSystemSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpecOrBuilder.java similarity index 71% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpecOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpecOrBuilder.java index dd194476deff..13055f5a1a59 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpecOrBuilder.java @@ -1,131 +1,177 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface LookerSystemSpecOrBuilder extends +public interface LookerSystemSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.LookerSystemSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * ID of the parent Looker Instance. Empty if it does not exist.
    * Example value: `someinstance.looker.com`
    * 
* * string parent_instance_id = 1; + * * @return The parentInstanceId. */ java.lang.String getParentInstanceId(); /** + * + * *
    * ID of the parent Looker Instance. Empty if it does not exist.
    * Example value: `someinstance.looker.com`
    * 
* * string parent_instance_id = 1; + * * @return The bytes for parentInstanceId. */ - com.google.protobuf.ByteString - getParentInstanceIdBytes(); + com.google.protobuf.ByteString getParentInstanceIdBytes(); /** + * + * *
    * Name of the parent Looker Instance. Empty if it does not exist.
    * 
* * string parent_instance_display_name = 2; + * * @return The parentInstanceDisplayName. */ java.lang.String getParentInstanceDisplayName(); /** + * + * *
    * Name of the parent Looker Instance. Empty if it does not exist.
    * 
* * string parent_instance_display_name = 2; + * * @return The bytes for parentInstanceDisplayName. */ - com.google.protobuf.ByteString - getParentInstanceDisplayNameBytes(); + com.google.protobuf.ByteString getParentInstanceDisplayNameBytes(); /** + * + * *
    * ID of the parent Model. Empty if it does not exist.
    * 
* * string parent_model_id = 3; + * * @return The parentModelId. */ java.lang.String getParentModelId(); /** + * + * *
    * ID of the parent Model. Empty if it does not exist.
    * 
* * string parent_model_id = 3; + * * @return The bytes for parentModelId. */ - com.google.protobuf.ByteString - getParentModelIdBytes(); + com.google.protobuf.ByteString getParentModelIdBytes(); /** + * + * *
    * Name of the parent Model. Empty if it does not exist.
    * 
* * string parent_model_display_name = 4; + * * @return The parentModelDisplayName. */ java.lang.String getParentModelDisplayName(); /** + * + * *
    * Name of the parent Model. Empty if it does not exist.
    * 
* * string parent_model_display_name = 4; + * * @return The bytes for parentModelDisplayName. */ - com.google.protobuf.ByteString - getParentModelDisplayNameBytes(); + com.google.protobuf.ByteString getParentModelDisplayNameBytes(); /** + * + * *
    * ID of the parent View. Empty if it does not exist.
    * 
* * string parent_view_id = 5; + * * @return The parentViewId. */ java.lang.String getParentViewId(); /** + * + * *
    * ID of the parent View. Empty if it does not exist.
    * 
* * string parent_view_id = 5; + * * @return The bytes for parentViewId. */ - com.google.protobuf.ByteString - getParentViewIdBytes(); + com.google.protobuf.ByteString getParentViewIdBytes(); /** + * + * *
    * Name of the parent View. Empty if it does not exist.
    * 
* * string parent_view_display_name = 6; + * * @return The parentViewDisplayName. */ java.lang.String getParentViewDisplayName(); /** + * + * *
    * Name of the parent View. Empty if it does not exist.
    * 
* * string parent_view_display_name = 6; + * * @return The bytes for parentViewDisplayName. */ - com.google.protobuf.ByteString - getParentViewDisplayNameBytes(); + com.google.protobuf.ByteString getParentViewDisplayNameBytes(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequest.java similarity index 77% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequest.java index ce3c1a70d13d..ce7d2da9a4d8 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequest.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [LookupEntry][google.cloud.datacatalog.v1.DataCatalog.LookupEntry].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.LookupEntryRequest}
  */
-public final class LookupEntryRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class LookupEntryRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.LookupEntryRequest)
     LookupEntryRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use LookupEntryRequest.newBuilder() to construct.
   private LookupEntryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private LookupEntryRequest() {
     project_ = "";
     location_ = "";
@@ -27,35 +45,40 @@ private LookupEntryRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new LookupEntryRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.LookupEntryRequest.class, com.google.cloud.datacatalog.v1.LookupEntryRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.LookupEntryRequest.class,
+            com.google.cloud.datacatalog.v1.LookupEntryRequest.Builder.class);
   }
 
   private int targetNameCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object targetName_;
+
   public enum TargetNameCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     LINKED_RESOURCE(1),
     SQL_RESOURCE(3),
     FULLY_QUALIFIED_NAME(5),
     TARGETNAME_NOT_SET(0);
     private final int value;
+
     private TargetNameCase(int value) {
       this.value = value;
     }
@@ -71,26 +94,32 @@ public static TargetNameCase valueOf(int value) {
 
     public static TargetNameCase forNumber(int value) {
       switch (value) {
-        case 1: return LINKED_RESOURCE;
-        case 3: return SQL_RESOURCE;
-        case 5: return FULLY_QUALIFIED_NAME;
-        case 0: return TARGETNAME_NOT_SET;
-        default: return null;
+        case 1:
+          return LINKED_RESOURCE;
+        case 3:
+          return SQL_RESOURCE;
+        case 5:
+          return FULLY_QUALIFIED_NAME;
+        case 0:
+          return TARGETNAME_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TargetNameCase
-  getTargetNameCase() {
-    return TargetNameCase.forNumber(
-        targetNameCase_);
+  public TargetNameCase getTargetNameCase() {
+    return TargetNameCase.forNumber(targetNameCase_);
   }
 
   public static final int LINKED_RESOURCE_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * The full name of the Google Cloud Platform resource the Data Catalog
    * entry represents. For more information, see [Full Resource Name]
@@ -103,12 +132,15 @@ public int getNumber() {
    * 
* * string linked_resource = 1; + * * @return Whether the linkedResource field is set. */ public boolean hasLinkedResource() { return targetNameCase_ == 1; } /** + * + * *
    * The full name of the Google Cloud Platform resource the Data Catalog
    * entry represents. For more information, see [Full Resource Name]
@@ -121,6 +153,7 @@ public boolean hasLinkedResource() {
    * 
* * string linked_resource = 1; + * * @return The linkedResource. */ public java.lang.String getLinkedResource() { @@ -131,8 +164,7 @@ public java.lang.String getLinkedResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (targetNameCase_ == 1) { targetName_ = s; @@ -141,6 +173,8 @@ public java.lang.String getLinkedResource() { } } /** + * + * *
    * The full name of the Google Cloud Platform resource the Data Catalog
    * entry represents. For more information, see [Full Resource Name]
@@ -153,18 +187,17 @@ public java.lang.String getLinkedResource() {
    * 
* * string linked_resource = 1; + * * @return The bytes for linkedResource. */ - public com.google.protobuf.ByteString - getLinkedResourceBytes() { + public com.google.protobuf.ByteString getLinkedResourceBytes() { java.lang.Object ref = ""; if (targetNameCase_ == 1) { ref = targetName_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (targetNameCase_ == 1) { targetName_ = b; } @@ -176,6 +209,8 @@ public java.lang.String getLinkedResource() { public static final int SQL_RESOURCE_FIELD_NUMBER = 3; /** + * + * *
    * The SQL name of the entry. SQL names are case-sensitive.
    *
@@ -193,12 +228,15 @@ public java.lang.String getLinkedResource() {
    * 
* * string sql_resource = 3; + * * @return Whether the sqlResource field is set. */ public boolean hasSqlResource() { return targetNameCase_ == 3; } /** + * + * *
    * The SQL name of the entry. SQL names are case-sensitive.
    *
@@ -216,6 +254,7 @@ public boolean hasSqlResource() {
    * 
* * string sql_resource = 3; + * * @return The sqlResource. */ public java.lang.String getSqlResource() { @@ -226,8 +265,7 @@ public java.lang.String getSqlResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (targetNameCase_ == 3) { targetName_ = s; @@ -236,6 +274,8 @@ public java.lang.String getSqlResource() { } } /** + * + * *
    * The SQL name of the entry. SQL names are case-sensitive.
    *
@@ -253,18 +293,17 @@ public java.lang.String getSqlResource() {
    * 
* * string sql_resource = 3; + * * @return The bytes for sqlResource. */ - public com.google.protobuf.ByteString - getSqlResourceBytes() { + public com.google.protobuf.ByteString getSqlResourceBytes() { java.lang.Object ref = ""; if (targetNameCase_ == 3) { ref = targetName_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (targetNameCase_ == 3) { targetName_ = b; } @@ -276,6 +315,8 @@ public java.lang.String getSqlResource() { public static final int FULLY_QUALIFIED_NAME_FIELD_NUMBER = 5; /** + * + * *
    * [Fully Qualified Name
    * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -297,12 +338,15 @@ public java.lang.String getSqlResource() {
    * 
* * string fully_qualified_name = 5; + * * @return Whether the fullyQualifiedName field is set. */ public boolean hasFullyQualifiedName() { return targetNameCase_ == 5; } /** + * + * *
    * [Fully Qualified Name
    * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -324,6 +368,7 @@ public boolean hasFullyQualifiedName() {
    * 
* * string fully_qualified_name = 5; + * * @return The fullyQualifiedName. */ public java.lang.String getFullyQualifiedName() { @@ -334,8 +379,7 @@ public java.lang.String getFullyQualifiedName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (targetNameCase_ == 5) { targetName_ = s; @@ -344,6 +388,8 @@ public java.lang.String getFullyQualifiedName() { } } /** + * + * *
    * [Fully Qualified Name
    * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -365,18 +411,17 @@ public java.lang.String getFullyQualifiedName() {
    * 
* * string fully_qualified_name = 5; + * * @return The bytes for fullyQualifiedName. */ - public com.google.protobuf.ByteString - getFullyQualifiedNameBytes() { + public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { java.lang.Object ref = ""; if (targetNameCase_ == 5) { ref = targetName_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (targetNameCase_ == 5) { targetName_ = b; } @@ -387,9 +432,12 @@ public java.lang.String getFullyQualifiedName() { } public static final int PROJECT_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object project_ = ""; /** + * + * *
    * Project where the lookup should be performed. Required to lookup
    * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -397,6 +445,7 @@ public java.lang.String getFullyQualifiedName() {
    * 
* * string project = 6; + * * @return The project. */ @java.lang.Override @@ -405,14 +454,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; } } /** + * + * *
    * Project where the lookup should be performed. Required to lookup
    * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -420,16 +470,15 @@ public java.lang.String getProject() {
    * 
* * string project = 6; + * * @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 { @@ -438,9 +487,12 @@ public java.lang.String getProject() { } public static final int LOCATION_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object location_ = ""; /** + * + * *
    * Location where the lookup should be performed. Required to lookup
    * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -448,6 +500,7 @@ public java.lang.String getProject() {
    * 
* * string location = 7; + * * @return The location. */ @java.lang.Override @@ -456,14 +509,15 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** + * + * *
    * Location where the lookup should be performed. Required to lookup
    * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -471,16 +525,15 @@ public java.lang.String getLocation() {
    * 
* * string location = 7; + * * @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 { @@ -489,6 +542,7 @@ public java.lang.String getLocation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -500,8 +554,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (targetNameCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, targetName_); } @@ -549,30 +602,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.datacatalog.v1.LookupEntryRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.LookupEntryRequest other = (com.google.cloud.datacatalog.v1.LookupEntryRequest) obj; + com.google.cloud.datacatalog.v1.LookupEntryRequest other = + (com.google.cloud.datacatalog.v1.LookupEntryRequest) obj; - if (!getProject() - .equals(other.getProject())) return false; - if (!getLocation() - .equals(other.getLocation())) return false; + if (!getProject().equals(other.getProject())) return false; + if (!getLocation().equals(other.getLocation())) return false; if (!getTargetNameCase().equals(other.getTargetNameCase())) return false; switch (targetNameCase_) { case 1: - if (!getLinkedResource() - .equals(other.getLinkedResource())) return false; + if (!getLinkedResource().equals(other.getLinkedResource())) return false; break; case 3: - if (!getSqlResource() - .equals(other.getSqlResource())) return false; + if (!getSqlResource().equals(other.getSqlResource())) return false; break; case 5: - if (!getFullyQualifiedName() - .equals(other.getFullyQualifiedName())) return false; + if (!getFullyQualifiedName().equals(other.getFullyQualifiedName())) return false; break; case 0: default: @@ -614,98 +663,103 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.LookupEntryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.LookupEntryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.LookupEntryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.LookupEntryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.LookupEntryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.LookupEntryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.LookupEntryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.LookupEntryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.LookupEntryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.LookupEntryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.LookupEntryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.LookupEntryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.LookupEntryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.LookupEntryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.LookupEntryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [LookupEntry][google.cloud.datacatalog.v1.DataCatalog.LookupEntry].
@@ -713,33 +767,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.LookupEntryRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.LookupEntryRequest)
       com.google.cloud.datacatalog.v1.LookupEntryRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.LookupEntryRequest.class, com.google.cloud.datacatalog.v1.LookupEntryRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.LookupEntryRequest.class,
+              com.google.cloud.datacatalog.v1.LookupEntryRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.LookupEntryRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -752,9 +805,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_descriptor;
     }
 
     @java.lang.Override
@@ -773,8 +826,11 @@ public com.google.cloud.datacatalog.v1.LookupEntryRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.LookupEntryRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.LookupEntryRequest result = new com.google.cloud.datacatalog.v1.LookupEntryRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.LookupEntryRequest result =
+          new com.google.cloud.datacatalog.v1.LookupEntryRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -799,38 +855,39 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.LookupEntryReque
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.LookupEntryRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.LookupEntryRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.LookupEntryRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -838,7 +895,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.LookupEntryRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.LookupEntryRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.LookupEntryRequest.getDefaultInstance())
+        return this;
       if (!other.getProject().isEmpty()) {
         project_ = other.project_;
         bitField0_ |= 0x00000008;
@@ -850,27 +908,31 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.LookupEntryRequest othe
         onChanged();
       }
       switch (other.getTargetNameCase()) {
-        case LINKED_RESOURCE: {
-          targetNameCase_ = 1;
-          targetName_ = other.targetName_;
-          onChanged();
-          break;
-        }
-        case SQL_RESOURCE: {
-          targetNameCase_ = 3;
-          targetName_ = other.targetName_;
-          onChanged();
-          break;
-        }
-        case FULLY_QUALIFIED_NAME: {
-          targetNameCase_ = 5;
-          targetName_ = other.targetName_;
-          onChanged();
-          break;
-        }
-        case TARGETNAME_NOT_SET: {
-          break;
-        }
+        case LINKED_RESOURCE:
+          {
+            targetNameCase_ = 1;
+            targetName_ = other.targetName_;
+            onChanged();
+            break;
+          }
+        case SQL_RESOURCE:
+          {
+            targetNameCase_ = 3;
+            targetName_ = other.targetName_;
+            onChanged();
+            break;
+          }
+        case FULLY_QUALIFIED_NAME:
+          {
+            targetNameCase_ = 5;
+            targetName_ = other.targetName_;
+            onChanged();
+            break;
+          }
+        case TARGETNAME_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -898,40 +960,46 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-              targetNameCase_ = 1;
-              targetName_ = s;
-              break;
-            } // case 10
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              targetNameCase_ = 3;
-              targetName_ = s;
-              break;
-            } // case 26
-            case 42: {
-              java.lang.String s = input.readStringRequireUtf8();
-              targetNameCase_ = 5;
-              targetName_ = s;
-              break;
-            } // case 42
-            case 50: {
-              project_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 50
-            case 58: {
-              location_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 58
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                targetNameCase_ = 1;
+                targetName_ = s;
+                break;
+              } // case 10
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                targetNameCase_ = 3;
+                targetName_ = s;
+                break;
+              } // case 26
+            case 42:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                targetNameCase_ = 5;
+                targetName_ = s;
+                break;
+              } // case 42
+            case 50:
+              {
+                project_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 50
+            case 58:
+              {
+                location_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 58
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -941,12 +1009,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int targetNameCase_ = 0;
     private java.lang.Object targetName_;
-    public TargetNameCase
-        getTargetNameCase() {
-      return TargetNameCase.forNumber(
-          targetNameCase_);
+
+    public TargetNameCase getTargetNameCase() {
+      return TargetNameCase.forNumber(targetNameCase_);
     }
 
     public Builder clearTargetName() {
@@ -959,6 +1027,8 @@ public Builder clearTargetName() {
     private int bitField0_;
 
     /**
+     *
+     *
      * 
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. For more information, see [Full Resource Name]
@@ -971,6 +1041,7 @@ public Builder clearTargetName() {
      * 
* * string linked_resource = 1; + * * @return Whether the linkedResource field is set. */ @java.lang.Override @@ -978,6 +1049,8 @@ public boolean hasLinkedResource() { return targetNameCase_ == 1; } /** + * + * *
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. For more information, see [Full Resource Name]
@@ -990,6 +1063,7 @@ public boolean hasLinkedResource() {
      * 
* * string linked_resource = 1; + * * @return The linkedResource. */ @java.lang.Override @@ -999,8 +1073,7 @@ public java.lang.String getLinkedResource() { ref = targetName_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (targetNameCase_ == 1) { targetName_ = s; @@ -1011,6 +1084,8 @@ public java.lang.String getLinkedResource() { } } /** + * + * *
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. For more information, see [Full Resource Name]
@@ -1023,19 +1098,18 @@ public java.lang.String getLinkedResource() {
      * 
* * string linked_resource = 1; + * * @return The bytes for linkedResource. */ @java.lang.Override - public com.google.protobuf.ByteString - getLinkedResourceBytes() { + public com.google.protobuf.ByteString getLinkedResourceBytes() { java.lang.Object ref = ""; if (targetNameCase_ == 1) { ref = targetName_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (targetNameCase_ == 1) { targetName_ = b; } @@ -1045,6 +1119,8 @@ public java.lang.String getLinkedResource() { } } /** + * + * *
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. For more information, see [Full Resource Name]
@@ -1057,18 +1133,22 @@ public java.lang.String getLinkedResource() {
      * 
* * string linked_resource = 1; + * * @param value The linkedResource to set. * @return This builder for chaining. */ - public Builder setLinkedResource( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLinkedResource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } targetNameCase_ = 1; targetName_ = value; onChanged(); return this; } /** + * + * *
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. For more information, see [Full Resource Name]
@@ -1081,6 +1161,7 @@ public Builder setLinkedResource(
      * 
* * string linked_resource = 1; + * * @return This builder for chaining. */ public Builder clearLinkedResource() { @@ -1092,6 +1173,8 @@ public Builder clearLinkedResource() { return this; } /** + * + * *
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. For more information, see [Full Resource Name]
@@ -1104,12 +1187,14 @@ public Builder clearLinkedResource() {
      * 
* * string linked_resource = 1; + * * @param value The bytes for linkedResource to set. * @return This builder for chaining. */ - public Builder setLinkedResourceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); targetNameCase_ = 1; targetName_ = value; @@ -1118,6 +1203,8 @@ public Builder setLinkedResourceBytes( } /** + * + * *
      * The SQL name of the entry. SQL names are case-sensitive.
      *
@@ -1135,6 +1222,7 @@ public Builder setLinkedResourceBytes(
      * 
* * string sql_resource = 3; + * * @return Whether the sqlResource field is set. */ @java.lang.Override @@ -1142,6 +1230,8 @@ public boolean hasSqlResource() { return targetNameCase_ == 3; } /** + * + * *
      * The SQL name of the entry. SQL names are case-sensitive.
      *
@@ -1159,6 +1249,7 @@ public boolean hasSqlResource() {
      * 
* * string sql_resource = 3; + * * @return The sqlResource. */ @java.lang.Override @@ -1168,8 +1259,7 @@ public java.lang.String getSqlResource() { ref = targetName_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (targetNameCase_ == 3) { targetName_ = s; @@ -1180,6 +1270,8 @@ public java.lang.String getSqlResource() { } } /** + * + * *
      * The SQL name of the entry. SQL names are case-sensitive.
      *
@@ -1197,19 +1289,18 @@ public java.lang.String getSqlResource() {
      * 
* * string sql_resource = 3; + * * @return The bytes for sqlResource. */ @java.lang.Override - public com.google.protobuf.ByteString - getSqlResourceBytes() { + public com.google.protobuf.ByteString getSqlResourceBytes() { java.lang.Object ref = ""; if (targetNameCase_ == 3) { ref = targetName_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (targetNameCase_ == 3) { targetName_ = b; } @@ -1219,6 +1310,8 @@ public java.lang.String getSqlResource() { } } /** + * + * *
      * The SQL name of the entry. SQL names are case-sensitive.
      *
@@ -1236,18 +1329,22 @@ public java.lang.String getSqlResource() {
      * 
* * string sql_resource = 3; + * * @param value The sqlResource to set. * @return This builder for chaining. */ - public Builder setSqlResource( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSqlResource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } targetNameCase_ = 3; targetName_ = value; onChanged(); return this; } /** + * + * *
      * The SQL name of the entry. SQL names are case-sensitive.
      *
@@ -1265,6 +1362,7 @@ public Builder setSqlResource(
      * 
* * string sql_resource = 3; + * * @return This builder for chaining. */ public Builder clearSqlResource() { @@ -1276,6 +1374,8 @@ public Builder clearSqlResource() { return this; } /** + * + * *
      * The SQL name of the entry. SQL names are case-sensitive.
      *
@@ -1293,12 +1393,14 @@ public Builder clearSqlResource() {
      * 
* * string sql_resource = 3; + * * @param value The bytes for sqlResource to set. * @return This builder for chaining. */ - public Builder setSqlResourceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSqlResourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); targetNameCase_ = 3; targetName_ = value; @@ -1307,6 +1409,8 @@ public Builder setSqlResourceBytes( } /** + * + * *
      * [Fully Qualified Name
      * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -1328,6 +1432,7 @@ public Builder setSqlResourceBytes(
      * 
* * string fully_qualified_name = 5; + * * @return Whether the fullyQualifiedName field is set. */ @java.lang.Override @@ -1335,6 +1440,8 @@ public boolean hasFullyQualifiedName() { return targetNameCase_ == 5; } /** + * + * *
      * [Fully Qualified Name
      * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -1356,6 +1463,7 @@ public boolean hasFullyQualifiedName() {
      * 
* * string fully_qualified_name = 5; + * * @return The fullyQualifiedName. */ @java.lang.Override @@ -1365,8 +1473,7 @@ public java.lang.String getFullyQualifiedName() { ref = targetName_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (targetNameCase_ == 5) { targetName_ = s; @@ -1377,6 +1484,8 @@ public java.lang.String getFullyQualifiedName() { } } /** + * + * *
      * [Fully Qualified Name
      * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -1398,19 +1507,18 @@ public java.lang.String getFullyQualifiedName() {
      * 
* * string fully_qualified_name = 5; + * * @return The bytes for fullyQualifiedName. */ @java.lang.Override - public com.google.protobuf.ByteString - getFullyQualifiedNameBytes() { + public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { java.lang.Object ref = ""; if (targetNameCase_ == 5) { ref = targetName_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (targetNameCase_ == 5) { targetName_ = b; } @@ -1420,6 +1528,8 @@ public java.lang.String getFullyQualifiedName() { } } /** + * + * *
      * [Fully Qualified Name
      * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -1441,18 +1551,22 @@ public java.lang.String getFullyQualifiedName() {
      * 
* * string fully_qualified_name = 5; + * * @param value The fullyQualifiedName to set. * @return This builder for chaining. */ - public Builder setFullyQualifiedName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFullyQualifiedName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } targetNameCase_ = 5; targetName_ = value; onChanged(); return this; } /** + * + * *
      * [Fully Qualified Name
      * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -1474,6 +1588,7 @@ public Builder setFullyQualifiedName(
      * 
* * string fully_qualified_name = 5; + * * @return This builder for chaining. */ public Builder clearFullyQualifiedName() { @@ -1485,6 +1600,8 @@ public Builder clearFullyQualifiedName() { return this; } /** + * + * *
      * [Fully Qualified Name
      * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -1506,12 +1623,14 @@ public Builder clearFullyQualifiedName() {
      * 
* * string fully_qualified_name = 5; + * * @param value The bytes for fullyQualifiedName to set. * @return This builder for chaining. */ - public Builder setFullyQualifiedNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFullyQualifiedNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); targetNameCase_ = 5; targetName_ = value; @@ -1521,6 +1640,8 @@ public Builder setFullyQualifiedNameBytes( private java.lang.Object project_ = ""; /** + * + * *
      * Project where the lookup should be performed. Required to lookup
      * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -1528,13 +1649,13 @@ public Builder setFullyQualifiedNameBytes(
      * 
* * string project = 6; + * * @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; @@ -1543,6 +1664,8 @@ public java.lang.String getProject() { } } /** + * + * *
      * Project where the lookup should be performed. Required to lookup
      * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -1550,15 +1673,14 @@ public java.lang.String getProject() {
      * 
* * string project = 6; + * * @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 { @@ -1566,6 +1688,8 @@ public java.lang.String getProject() { } } /** + * + * *
      * Project where the lookup should be performed. Required to lookup
      * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -1573,18 +1697,22 @@ public java.lang.String getProject() {
      * 
* * string project = 6; + * * @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_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Project where the lookup should be performed. Required to lookup
      * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -1592,6 +1720,7 @@ public Builder setProject(
      * 
* * string project = 6; + * * @return This builder for chaining. */ public Builder clearProject() { @@ -1601,6 +1730,8 @@ public Builder clearProject() { return this; } /** + * + * *
      * Project where the lookup should be performed. Required to lookup
      * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -1608,12 +1739,14 @@ public Builder clearProject() {
      * 
* * string project = 6; + * * @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_ |= 0x00000008; @@ -1623,6 +1756,8 @@ public Builder setProjectBytes( private java.lang.Object location_ = ""; /** + * + * *
      * Location where the lookup should be performed. Required to lookup
      * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -1630,13 +1765,13 @@ public Builder setProjectBytes(
      * 
* * string location = 7; + * * @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; @@ -1645,6 +1780,8 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Location where the lookup should be performed. Required to lookup
      * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -1652,15 +1789,14 @@ public java.lang.String getLocation() {
      * 
* * string location = 7; + * * @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 { @@ -1668,6 +1804,8 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Location where the lookup should be performed. Required to lookup
      * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -1675,18 +1813,22 @@ public java.lang.String getLocation() {
      * 
* * string location = 7; + * * @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_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Location where the lookup should be performed. Required to lookup
      * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -1694,6 +1836,7 @@ public Builder setLocation(
      * 
* * string location = 7; + * * @return This builder for chaining. */ public Builder clearLocation() { @@ -1703,6 +1846,8 @@ public Builder clearLocation() { return this; } /** + * + * *
      * Location where the lookup should be performed. Required to lookup
      * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -1710,21 +1855,23 @@ public Builder clearLocation() {
      * 
* * string location = 7; + * * @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_ |= 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); } @@ -1734,12 +1881,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.LookupEntryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.LookupEntryRequest) private static final com.google.cloud.datacatalog.v1.LookupEntryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.LookupEntryRequest(); } @@ -1748,27 +1895,27 @@ public static com.google.cloud.datacatalog.v1.LookupEntryRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LookupEntryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LookupEntryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1783,6 +1930,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.LookupEntryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequestOrBuilder.java similarity index 87% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequestOrBuilder.java index 8af4b83e1155..801d3f85e0f7 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequestOrBuilder.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface LookupEntryRequestOrBuilder extends +public interface LookupEntryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.LookupEntryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The full name of the Google Cloud Platform resource the Data Catalog
    * entry represents. For more information, see [Full Resource Name]
@@ -20,10 +38,13 @@ public interface LookupEntryRequestOrBuilder extends
    * 
* * string linked_resource = 1; + * * @return Whether the linkedResource field is set. */ boolean hasLinkedResource(); /** + * + * *
    * The full name of the Google Cloud Platform resource the Data Catalog
    * entry represents. For more information, see [Full Resource Name]
@@ -36,10 +57,13 @@ public interface LookupEntryRequestOrBuilder extends
    * 
* * string linked_resource = 1; + * * @return The linkedResource. */ java.lang.String getLinkedResource(); /** + * + * *
    * The full name of the Google Cloud Platform resource the Data Catalog
    * entry represents. For more information, see [Full Resource Name]
@@ -52,12 +76,14 @@ public interface LookupEntryRequestOrBuilder extends
    * 
* * string linked_resource = 1; + * * @return The bytes for linkedResource. */ - com.google.protobuf.ByteString - getLinkedResourceBytes(); + com.google.protobuf.ByteString getLinkedResourceBytes(); /** + * + * *
    * The SQL name of the entry. SQL names are case-sensitive.
    *
@@ -75,10 +101,13 @@ public interface LookupEntryRequestOrBuilder extends
    * 
* * string sql_resource = 3; + * * @return Whether the sqlResource field is set. */ boolean hasSqlResource(); /** + * + * *
    * The SQL name of the entry. SQL names are case-sensitive.
    *
@@ -96,10 +125,13 @@ public interface LookupEntryRequestOrBuilder extends
    * 
* * string sql_resource = 3; + * * @return The sqlResource. */ java.lang.String getSqlResource(); /** + * + * *
    * The SQL name of the entry. SQL names are case-sensitive.
    *
@@ -117,12 +149,14 @@ public interface LookupEntryRequestOrBuilder extends
    * 
* * string sql_resource = 3; + * * @return The bytes for sqlResource. */ - com.google.protobuf.ByteString - getSqlResourceBytes(); + com.google.protobuf.ByteString getSqlResourceBytes(); /** + * + * *
    * [Fully Qualified Name
    * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -144,10 +178,13 @@ public interface LookupEntryRequestOrBuilder extends
    * 
* * string fully_qualified_name = 5; + * * @return Whether the fullyQualifiedName field is set. */ boolean hasFullyQualifiedName(); /** + * + * *
    * [Fully Qualified Name
    * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -169,10 +206,13 @@ public interface LookupEntryRequestOrBuilder extends
    * 
* * string fully_qualified_name = 5; + * * @return The fullyQualifiedName. */ java.lang.String getFullyQualifiedName(); /** + * + * *
    * [Fully Qualified Name
    * (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
@@ -194,12 +234,14 @@ public interface LookupEntryRequestOrBuilder extends
    * 
* * string fully_qualified_name = 5; + * * @return The bytes for fullyQualifiedName. */ - com.google.protobuf.ByteString - getFullyQualifiedNameBytes(); + com.google.protobuf.ByteString getFullyQualifiedNameBytes(); /** + * + * *
    * Project where the lookup should be performed. Required to lookup
    * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -207,10 +249,13 @@ public interface LookupEntryRequestOrBuilder extends
    * 
* * string project = 6; + * * @return The project. */ java.lang.String getProject(); /** + * + * *
    * Project where the lookup should be performed. Required to lookup
    * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -218,12 +263,14 @@ public interface LookupEntryRequestOrBuilder extends
    * 
* * string project = 6; + * * @return The bytes for project. */ - com.google.protobuf.ByteString - getProjectBytes(); + com.google.protobuf.ByteString getProjectBytes(); /** + * + * *
    * Location where the lookup should be performed. Required to lookup
    * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -231,10 +278,13 @@ public interface LookupEntryRequestOrBuilder extends
    * 
* * string location = 7; + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
    * Location where the lookup should be performed. Required to lookup
    * entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
@@ -242,10 +292,10 @@ public interface LookupEntryRequestOrBuilder extends
    * 
* * string location = 7; + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); com.google.cloud.datacatalog.v1.LookupEntryRequest.TargetNameCase getTargetNameCase(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ManagingSystem.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ManagingSystem.java similarity index 66% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ManagingSystem.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ManagingSystem.java index 95375a84f805..fe82c6a9f687 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ManagingSystem.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ManagingSystem.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/datacatalog/v1/common.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * This enum describes all the systems that manage
  * Taxonomy and PolicyTag resources in DataCatalog.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.cloud.datacatalog.v1.ManagingSystem}
  */
-public enum ManagingSystem
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum ManagingSystem implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Default value
    * 
@@ -22,6 +40,8 @@ public enum ManagingSystem */ MANAGING_SYSTEM_UNSPECIFIED(0), /** + * + * *
    * Dataplex.
    * 
@@ -30,6 +50,8 @@ public enum ManagingSystem */ MANAGING_SYSTEM_DATAPLEX(1), /** + * + * *
    * Other
    * 
@@ -41,6 +63,8 @@ public enum ManagingSystem ; /** + * + * *
    * Default value
    * 
@@ -49,6 +73,8 @@ public enum ManagingSystem */ public static final int MANAGING_SYSTEM_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Dataplex.
    * 
@@ -57,6 +83,8 @@ public enum ManagingSystem */ public static final int MANAGING_SYSTEM_DATAPLEX_VALUE = 1; /** + * + * *
    * Other
    * 
@@ -65,7 +93,6 @@ public enum ManagingSystem */ public static final int MANAGING_SYSTEM_OTHER_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -90,49 +117,49 @@ public static ManagingSystem valueOf(int value) { */ public static ManagingSystem forNumber(int value) { switch (value) { - case 0: return MANAGING_SYSTEM_UNSPECIFIED; - case 1: return MANAGING_SYSTEM_DATAPLEX; - case 2: return MANAGING_SYSTEM_OTHER; - default: return null; + case 0: + return MANAGING_SYSTEM_UNSPECIFIED; + case 1: + return MANAGING_SYSTEM_DATAPLEX; + case 2: + return MANAGING_SYSTEM_OTHER; + 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< - ManagingSystem> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ManagingSystem findValueByNumber(int number) { - return ManagingSystem.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 ManagingSystem findValueByNumber(int number) { + return ManagingSystem.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.datacatalog.v1.Common.getDescriptor().getEnumTypes().get(1); } private static final ManagingSystem[] VALUES = values(); - public static ManagingSystem valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ManagingSystem valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -148,4 +175,3 @@ private ManagingSystem(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1.ManagingSystem) } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequest.java similarity index 60% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequest.java index 6ec55360aa81..d00b5dcfb1b4 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequest.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [ModifyEntryContacts][google.cloud.datacatalog.v1.DataCatalog.ModifyEntryContacts].
@@ -11,48 +28,56 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ModifyEntryContactsRequest}
  */
-public final class ModifyEntryContactsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ModifyEntryContactsRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ModifyEntryContactsRequest)
     ModifyEntryContactsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ModifyEntryContactsRequest.newBuilder() to construct.
   private ModifyEntryContactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ModifyEntryContactsRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ModifyEntryContactsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest.class, com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest.class,
+            com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The full resource name of the entry.
    * 
* - * string name = 1 [(.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,29 +86,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The full resource name of the entry.
    * 
* - * string name = 1 [(.google.api.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,11 +121,16 @@ public java.lang.String getName() { public static final int CONTACTS_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1.Contacts contacts_; /** + * + * *
    * Required. The new value for the Contacts.
    * 
* - * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the contacts field is set. */ @java.lang.Override @@ -106,30 +138,44 @@ public boolean hasContacts() { return contacts_ != null; } /** + * + * *
    * Required. The new value for the Contacts.
    * 
* - * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The contacts. */ @java.lang.Override public com.google.cloud.datacatalog.v1.Contacts getContacts() { - return contacts_ == null ? com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance() : contacts_; + return contacts_ == null + ? com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance() + : contacts_; } /** + * + * *
    * Required. The new value for the Contacts.
    * 
* - * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1.ContactsOrBuilder getContactsOrBuilder() { - return contacts_ == null ? com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance() : contacts_; + return contacts_ == null + ? com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance() + : contacts_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,8 +187,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -162,8 +207,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (contacts_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getContacts()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getContacts()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -173,19 +217,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.datacatalog.v1.ModifyEntryContactsRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest other = (com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest) obj; + com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest other = + (com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasContacts() != other.hasContacts()) return false; if (hasContacts()) { - if (!getContacts() - .equals(other.getContacts())) return false; + if (!getContacts().equals(other.getContacts())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -210,98 +253,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [ModifyEntryContacts][google.cloud.datacatalog.v1.DataCatalog.ModifyEntryContacts].
@@ -309,33 +358,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ModifyEntryContactsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ModifyEntryContactsRequest)
       com.google.cloud.datacatalog.v1.ModifyEntryContactsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest.class, com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest.class,
+              com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -350,9 +398,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -371,8 +419,11 @@ public com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest result = new com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest result =
+          new com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -383,9 +434,7 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ModifyEntryContactsRe
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.contacts_ = contactsBuilder_ == null
-            ? contacts_
-            : contactsBuilder_.build();
+        result.contacts_ = contactsBuilder_ == null ? contacts_ : contactsBuilder_.build();
       }
     }
 
@@ -393,38 +442,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ModifyEntryContactsRe
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -432,7 +482,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -467,24 +518,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getContactsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getContactsFieldBuilder().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) {
@@ -494,22 +546,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The full resource name of the entry.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -518,20 +575,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The full resource name of the entry.
      * 
* - * string name = 1 [(.google.api.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 { @@ -539,28 +599,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The full resource name of the entry.
      * 
* - * string name = 1 [(.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 full resource name of the entry.
      * 
* - * string 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() { @@ -570,17 +641,23 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The full resource name of the entry.
      * 
* - * string name = 1 [(.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; @@ -590,39 +667,58 @@ public Builder setNameBytes( private com.google.cloud.datacatalog.v1.Contacts contacts_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Contacts, com.google.cloud.datacatalog.v1.Contacts.Builder, com.google.cloud.datacatalog.v1.ContactsOrBuilder> contactsBuilder_; + com.google.cloud.datacatalog.v1.Contacts, + com.google.cloud.datacatalog.v1.Contacts.Builder, + com.google.cloud.datacatalog.v1.ContactsOrBuilder> + contactsBuilder_; /** + * + * *
      * Required. The new value for the Contacts.
      * 
* - * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the contacts field is set. */ public boolean hasContacts() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The new value for the Contacts.
      * 
* - * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The contacts. */ public com.google.cloud.datacatalog.v1.Contacts getContacts() { if (contactsBuilder_ == null) { - return contacts_ == null ? com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance() : contacts_; + return contacts_ == null + ? com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance() + : contacts_; } else { return contactsBuilder_.getMessage(); } } /** + * + * *
      * Required. The new value for the Contacts.
      * 
* - * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setContacts(com.google.cloud.datacatalog.v1.Contacts value) { if (contactsBuilder_ == null) { @@ -638,14 +734,17 @@ public Builder setContacts(com.google.cloud.datacatalog.v1.Contacts value) { return this; } /** + * + * *
      * Required. The new value for the Contacts.
      * 
* - * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setContacts( - com.google.cloud.datacatalog.v1.Contacts.Builder builderForValue) { + public Builder setContacts(com.google.cloud.datacatalog.v1.Contacts.Builder builderForValue) { if (contactsBuilder_ == null) { contacts_ = builderForValue.build(); } else { @@ -656,17 +755,21 @@ public Builder setContacts( return this; } /** + * + * *
      * Required. The new value for the Contacts.
      * 
* - * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeContacts(com.google.cloud.datacatalog.v1.Contacts value) { if (contactsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - contacts_ != null && - contacts_ != com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && contacts_ != null + && contacts_ != com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance()) { getContactsBuilder().mergeFrom(value); } else { contacts_ = value; @@ -679,11 +782,15 @@ public Builder mergeContacts(com.google.cloud.datacatalog.v1.Contacts value) { return this; } /** + * + * *
      * Required. The new value for the Contacts.
      * 
* - * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearContacts() { bitField0_ = (bitField0_ & ~0x00000002); @@ -696,11 +803,15 @@ public Builder clearContacts() { return this; } /** + * + * *
      * Required. The new value for the Contacts.
      * 
* - * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1.Contacts.Builder getContactsBuilder() { bitField0_ |= 0x00000002; @@ -708,43 +819,55 @@ public com.google.cloud.datacatalog.v1.Contacts.Builder getContactsBuilder() { return getContactsFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The new value for the Contacts.
      * 
* - * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1.ContactsOrBuilder getContactsOrBuilder() { if (contactsBuilder_ != null) { return contactsBuilder_.getMessageOrBuilder(); } else { - return contacts_ == null ? - com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance() : contacts_; + return contacts_ == null + ? com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance() + : contacts_; } } /** + * + * *
      * Required. The new value for the Contacts.
      * 
* - * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Contacts, com.google.cloud.datacatalog.v1.Contacts.Builder, com.google.cloud.datacatalog.v1.ContactsOrBuilder> + com.google.cloud.datacatalog.v1.Contacts, + com.google.cloud.datacatalog.v1.Contacts.Builder, + com.google.cloud.datacatalog.v1.ContactsOrBuilder> getContactsFieldBuilder() { if (contactsBuilder_ == null) { - contactsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Contacts, com.google.cloud.datacatalog.v1.Contacts.Builder, com.google.cloud.datacatalog.v1.ContactsOrBuilder>( - getContacts(), - getParentForChildren(), - isClean()); + contactsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.Contacts, + com.google.cloud.datacatalog.v1.Contacts.Builder, + com.google.cloud.datacatalog.v1.ContactsOrBuilder>( + getContacts(), getParentForChildren(), isClean()); contacts_ = null; } return contactsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -754,12 +877,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ModifyEntryContactsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ModifyEntryContactsRequest) private static final com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest(); } @@ -768,27 +891,27 @@ public static com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ModifyEntryContactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ModifyEntryContactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -803,6 +926,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequestOrBuilder.java new file mode 100644 index 000000000000..c585ba87f333 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequestOrBuilder.java @@ -0,0 +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/datacatalog/v1/datacatalog.proto + +package com.google.cloud.datacatalog.v1; + +public interface ModifyEntryContactsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ModifyEntryContactsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The full resource name of the entry.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The full resource name of the entry.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Required. The new value for the Contacts.
+   * 
+ * + * + * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the contacts field is set. + */ + boolean hasContacts(); + /** + * + * + *
+   * Required. The new value for the Contacts.
+   * 
+ * + * + * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The contacts. + */ + com.google.cloud.datacatalog.v1.Contacts getContacts(); + /** + * + * + *
+   * Required. The new value for the Contacts.
+   * 
+ * + * + * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.datacatalog.v1.ContactsOrBuilder getContactsOrBuilder(); +} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequest.java similarity index 60% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequest.java index a0dd9d9cca78..5f7381d0f6fe 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequest.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [ModifyEntryOverview][google.cloud.datacatalog.v1.DataCatalog.ModifyEntryOverview].
@@ -11,48 +28,56 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ModifyEntryOverviewRequest}
  */
-public final class ModifyEntryOverviewRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ModifyEntryOverviewRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ModifyEntryOverviewRequest)
     ModifyEntryOverviewRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ModifyEntryOverviewRequest.newBuilder() to construct.
   private ModifyEntryOverviewRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ModifyEntryOverviewRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ModifyEntryOverviewRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest.class, com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest.class,
+            com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The full resource name of the entry.
    * 
* - * string name = 1 [(.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,29 +86,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The full resource name of the entry.
    * 
* - * string name = 1 [(.google.api.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,11 +121,16 @@ public java.lang.String getName() { public static final int ENTRY_OVERVIEW_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1.EntryOverview entryOverview_; /** + * + * *
    * Required. The new value for the Entry Overview.
    * 
* - * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the entryOverview field is set. */ @java.lang.Override @@ -106,30 +138,44 @@ public boolean hasEntryOverview() { return entryOverview_ != null; } /** + * + * *
    * Required. The new value for the Entry Overview.
    * 
* - * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The entryOverview. */ @java.lang.Override public com.google.cloud.datacatalog.v1.EntryOverview getEntryOverview() { - return entryOverview_ == null ? com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance() : entryOverview_; + return entryOverview_ == null + ? com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance() + : entryOverview_; } /** + * + * *
    * Required. The new value for the Entry Overview.
    * 
* - * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder getEntryOverviewOrBuilder() { - return entryOverview_ == null ? com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance() : entryOverview_; + return entryOverview_ == null + ? com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance() + : entryOverview_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,8 +187,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -162,8 +207,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (entryOverview_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEntryOverview()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEntryOverview()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -173,19 +217,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.datacatalog.v1.ModifyEntryOverviewRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest other = (com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest) obj; + com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest other = + (com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasEntryOverview() != other.hasEntryOverview()) return false; if (hasEntryOverview()) { - if (!getEntryOverview() - .equals(other.getEntryOverview())) return false; + if (!getEntryOverview().equals(other.getEntryOverview())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -210,98 +253,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [ModifyEntryOverview][google.cloud.datacatalog.v1.DataCatalog.ModifyEntryOverview].
@@ -309,33 +358,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ModifyEntryOverviewRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ModifyEntryOverviewRequest)
       com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest.class, com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest.class,
+              com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -350,9 +398,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_descriptor;
     }
 
     @java.lang.Override
@@ -371,8 +419,11 @@ public com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest result = new com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest result =
+          new com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -383,9 +434,8 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ModifyEntryOverviewRe
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.entryOverview_ = entryOverviewBuilder_ == null
-            ? entryOverview_
-            : entryOverviewBuilder_.build();
+        result.entryOverview_ =
+            entryOverviewBuilder_ == null ? entryOverview_ : entryOverviewBuilder_.build();
       }
     }
 
@@ -393,38 +443,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ModifyEntryOverviewRe
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -432,7 +483,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -467,24 +519,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getEntryOverviewFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getEntryOverviewFieldBuilder().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) {
@@ -494,22 +547,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The full resource name of the entry.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -518,20 +576,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The full resource name of the entry.
      * 
* - * string name = 1 [(.google.api.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 { @@ -539,28 +600,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The full resource name of the entry.
      * 
* - * string name = 1 [(.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 full resource name of the entry.
      * 
* - * string 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() { @@ -570,17 +642,23 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The full resource name of the entry.
      * 
* - * string name = 1 [(.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; @@ -590,39 +668,58 @@ public Builder setNameBytes( private com.google.cloud.datacatalog.v1.EntryOverview entryOverview_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.EntryOverview, com.google.cloud.datacatalog.v1.EntryOverview.Builder, com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder> entryOverviewBuilder_; + com.google.cloud.datacatalog.v1.EntryOverview, + com.google.cloud.datacatalog.v1.EntryOverview.Builder, + com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder> + entryOverviewBuilder_; /** + * + * *
      * Required. The new value for the Entry Overview.
      * 
* - * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the entryOverview field is set. */ public boolean hasEntryOverview() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The new value for the Entry Overview.
      * 
* - * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The entryOverview. */ public com.google.cloud.datacatalog.v1.EntryOverview getEntryOverview() { if (entryOverviewBuilder_ == null) { - return entryOverview_ == null ? com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance() : entryOverview_; + return entryOverview_ == null + ? com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance() + : entryOverview_; } else { return entryOverviewBuilder_.getMessage(); } } /** + * + * *
      * Required. The new value for the Entry Overview.
      * 
* - * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEntryOverview(com.google.cloud.datacatalog.v1.EntryOverview value) { if (entryOverviewBuilder_ == null) { @@ -638,11 +735,15 @@ public Builder setEntryOverview(com.google.cloud.datacatalog.v1.EntryOverview va return this; } /** + * + * *
      * Required. The new value for the Entry Overview.
      * 
* - * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEntryOverview( com.google.cloud.datacatalog.v1.EntryOverview.Builder builderForValue) { @@ -656,17 +757,22 @@ public Builder setEntryOverview( return this; } /** + * + * *
      * Required. The new value for the Entry Overview.
      * 
* - * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeEntryOverview(com.google.cloud.datacatalog.v1.EntryOverview value) { if (entryOverviewBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - entryOverview_ != null && - entryOverview_ != com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && entryOverview_ != null + && entryOverview_ + != com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance()) { getEntryOverviewBuilder().mergeFrom(value); } else { entryOverview_ = value; @@ -679,11 +785,15 @@ public Builder mergeEntryOverview(com.google.cloud.datacatalog.v1.EntryOverview return this; } /** + * + * *
      * Required. The new value for the Entry Overview.
      * 
* - * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearEntryOverview() { bitField0_ = (bitField0_ & ~0x00000002); @@ -696,11 +806,15 @@ public Builder clearEntryOverview() { return this; } /** + * + * *
      * Required. The new value for the Entry Overview.
      * 
* - * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1.EntryOverview.Builder getEntryOverviewBuilder() { bitField0_ |= 0x00000002; @@ -708,43 +822,55 @@ public com.google.cloud.datacatalog.v1.EntryOverview.Builder getEntryOverviewBui return getEntryOverviewFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The new value for the Entry Overview.
      * 
* - * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder getEntryOverviewOrBuilder() { if (entryOverviewBuilder_ != null) { return entryOverviewBuilder_.getMessageOrBuilder(); } else { - return entryOverview_ == null ? - com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance() : entryOverview_; + return entryOverview_ == null + ? com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance() + : entryOverview_; } } /** + * + * *
      * Required. The new value for the Entry Overview.
      * 
* - * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.EntryOverview, com.google.cloud.datacatalog.v1.EntryOverview.Builder, com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder> + com.google.cloud.datacatalog.v1.EntryOverview, + com.google.cloud.datacatalog.v1.EntryOverview.Builder, + com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder> getEntryOverviewFieldBuilder() { if (entryOverviewBuilder_ == null) { - entryOverviewBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.EntryOverview, com.google.cloud.datacatalog.v1.EntryOverview.Builder, com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder>( - getEntryOverview(), - getParentForChildren(), - isClean()); + entryOverviewBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.EntryOverview, + com.google.cloud.datacatalog.v1.EntryOverview.Builder, + com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder>( + getEntryOverview(), getParentForChildren(), isClean()); entryOverview_ = null; } return entryOverviewBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -754,12 +880,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ModifyEntryOverviewRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ModifyEntryOverviewRequest) private static final com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest(); } @@ -768,27 +894,27 @@ public static com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ModifyEntryOverviewRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ModifyEntryOverviewRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -803,6 +929,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequestOrBuilder.java new file mode 100644 index 000000000000..f54cd2391c3f --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequestOrBuilder.java @@ -0,0 +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/datacatalog/v1/datacatalog.proto + +package com.google.cloud.datacatalog.v1; + +public interface ModifyEntryOverviewRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ModifyEntryOverviewRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The full resource name of the entry.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The full resource name of the entry.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Required. The new value for the Entry Overview.
+   * 
+ * + * + * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the entryOverview field is set. + */ + boolean hasEntryOverview(); + /** + * + * + *
+   * Required. The new value for the Entry Overview.
+   * 
+ * + * + * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The entryOverview. + */ + com.google.cloud.datacatalog.v1.EntryOverview getEntryOverview(); + /** + * + * + *
+   * Required. The new value for the Entry Overview.
+   * 
+ * + * + * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder getEntryOverviewOrBuilder(); +} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetails.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetails.java similarity index 68% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetails.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetails.java index 900adbaf098f..a6e3d630ff5d 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetails.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetails.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/datacatalog/v1/common.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Entry metadata relevant only to the user and private to them.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.PersonalDetails} */ -public final class PersonalDetails extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PersonalDetails extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.PersonalDetails) PersonalDetailsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PersonalDetails.newBuilder() to construct. private PersonalDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PersonalDetails() { - } + + private PersonalDetails() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PersonalDetails(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.Common.internal_static_google_cloud_datacatalog_v1_PersonalDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Common + .internal_static_google_cloud_datacatalog_v1_PersonalDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Common.internal_static_google_cloud_datacatalog_v1_PersonalDetails_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Common + .internal_static_google_cloud_datacatalog_v1_PersonalDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.PersonalDetails.class, com.google.cloud.datacatalog.v1.PersonalDetails.Builder.class); + com.google.cloud.datacatalog.v1.PersonalDetails.class, + com.google.cloud.datacatalog.v1.PersonalDetails.Builder.class); } public static final int STARRED_FIELD_NUMBER = 1; private boolean starred_ = false; /** + * + * *
    * True if the entry is starred by the user; false otherwise.
    * 
* * bool starred = 1; + * * @return The starred. */ @java.lang.Override @@ -60,11 +81,14 @@ public boolean getStarred() { public static final int STAR_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp starTime_; /** + * + * *
    * Set if the entry is starred; unset otherwise.
    * 
* * .google.protobuf.Timestamp star_time = 2; + * * @return Whether the starTime field is set. */ @java.lang.Override @@ -72,11 +96,14 @@ public boolean hasStarTime() { return starTime_ != null; } /** + * + * *
    * Set if the entry is starred; unset otherwise.
    * 
* * .google.protobuf.Timestamp star_time = 2; + * * @return The starTime. */ @java.lang.Override @@ -84,6 +111,8 @@ public com.google.protobuf.Timestamp getStarTime() { return starTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : starTime_; } /** + * + * *
    * Set if the entry is starred; unset otherwise.
    * 
@@ -96,6 +125,7 @@ public com.google.protobuf.TimestampOrBuilder getStarTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (starred_ != false) { output.writeBool(1, starred_); } @@ -125,12 +154,10 @@ public int getSerializedSize() { size = 0; if (starred_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, starred_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, starred_); } if (starTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getStarTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStarTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -140,19 +167,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.PersonalDetails)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.PersonalDetails other = (com.google.cloud.datacatalog.v1.PersonalDetails) obj; + com.google.cloud.datacatalog.v1.PersonalDetails other = + (com.google.cloud.datacatalog.v1.PersonalDetails) obj; - if (getStarred() - != other.getStarred()) return false; + if (getStarred() != other.getStarred()) return false; if (hasStarTime() != other.hasStarTime()) return false; if (hasStarTime()) { - if (!getStarTime() - .equals(other.getStarTime())) return false; + if (!getStarTime().equals(other.getStarTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -166,8 +192,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + STARRED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getStarred()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStarred()); if (hasStarTime()) { hash = (37 * hash) + STAR_TIME_FIELD_NUMBER; hash = (53 * hash) + getStarTime().hashCode(); @@ -177,132 +202,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.PersonalDetails parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.PersonalDetails parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.PersonalDetails parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.PersonalDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.PersonalDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.PersonalDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.PersonalDetails parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.PersonalDetails parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.PersonalDetails parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PersonalDetails parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.PersonalDetails parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.PersonalDetails parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.PersonalDetails parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.PersonalDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.PersonalDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Entry metadata relevant only to the user and private to them.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.PersonalDetails} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.PersonalDetails) com.google.cloud.datacatalog.v1.PersonalDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.Common.internal_static_google_cloud_datacatalog_v1_PersonalDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Common + .internal_static_google_cloud_datacatalog_v1_PersonalDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Common.internal_static_google_cloud_datacatalog_v1_PersonalDetails_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Common + .internal_static_google_cloud_datacatalog_v1_PersonalDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.PersonalDetails.class, com.google.cloud.datacatalog.v1.PersonalDetails.Builder.class); + com.google.cloud.datacatalog.v1.PersonalDetails.class, + com.google.cloud.datacatalog.v1.PersonalDetails.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.PersonalDetails.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -317,9 +346,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.Common.internal_static_google_cloud_datacatalog_v1_PersonalDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Common + .internal_static_google_cloud_datacatalog_v1_PersonalDetails_descriptor; } @java.lang.Override @@ -338,8 +367,11 @@ public com.google.cloud.datacatalog.v1.PersonalDetails build() { @java.lang.Override public com.google.cloud.datacatalog.v1.PersonalDetails buildPartial() { - com.google.cloud.datacatalog.v1.PersonalDetails result = new com.google.cloud.datacatalog.v1.PersonalDetails(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1.PersonalDetails result = + new com.google.cloud.datacatalog.v1.PersonalDetails(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -350,9 +382,7 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.PersonalDetails resul result.starred_ = starred_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.starTime_ = starTimeBuilder_ == null - ? starTime_ - : starTimeBuilder_.build(); + result.starTime_ = starTimeBuilder_ == null ? starTime_ : starTimeBuilder_.build(); } } @@ -360,38 +390,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.PersonalDetails 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.datacatalog.v1.PersonalDetails) { - return mergeFrom((com.google.cloud.datacatalog.v1.PersonalDetails)other); + return mergeFrom((com.google.cloud.datacatalog.v1.PersonalDetails) other); } else { super.mergeFrom(other); return this; @@ -399,7 +430,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.PersonalDetails other) { - if (other == com.google.cloud.datacatalog.v1.PersonalDetails.getDefaultInstance()) return this; + if (other == com.google.cloud.datacatalog.v1.PersonalDetails.getDefaultInstance()) + return this; if (other.getStarred() != false) { setStarred(other.getStarred()); } @@ -432,24 +464,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - starred_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - input.readMessage( - getStarTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + starred_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage(getStarTimeFieldBuilder().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) { @@ -459,15 +492,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private boolean starred_ ; + private boolean starred_; /** + * + * *
      * True if the entry is starred by the user; false otherwise.
      * 
* * bool starred = 1; + * * @return The starred. */ @java.lang.Override @@ -475,11 +512,14 @@ public boolean getStarred() { return starred_; } /** + * + * *
      * True if the entry is starred by the user; false otherwise.
      * 
* * bool starred = 1; + * * @param value The starred to set. * @return This builder for chaining. */ @@ -491,11 +531,14 @@ public Builder setStarred(boolean value) { return this; } /** + * + * *
      * True if the entry is starred by the user; false otherwise.
      * 
* * bool starred = 1; + * * @return This builder for chaining. */ public Builder clearStarred() { @@ -507,24 +550,33 @@ public Builder clearStarred() { private com.google.protobuf.Timestamp starTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> starTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + starTimeBuilder_; /** + * + * *
      * Set if the entry is starred; unset otherwise.
      * 
* * .google.protobuf.Timestamp star_time = 2; + * * @return Whether the starTime field is set. */ public boolean hasStarTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Set if the entry is starred; unset otherwise.
      * 
* * .google.protobuf.Timestamp star_time = 2; + * * @return The starTime. */ public com.google.protobuf.Timestamp getStarTime() { @@ -535,6 +587,8 @@ public com.google.protobuf.Timestamp getStarTime() { } } /** + * + * *
      * Set if the entry is starred; unset otherwise.
      * 
@@ -555,14 +609,15 @@ public Builder setStarTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Set if the entry is starred; unset otherwise.
      * 
* * .google.protobuf.Timestamp star_time = 2; */ - public Builder setStarTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStarTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (starTimeBuilder_ == null) { starTime_ = builderForValue.build(); } else { @@ -573,6 +628,8 @@ public Builder setStarTime( return this; } /** + * + * *
      * Set if the entry is starred; unset otherwise.
      * 
@@ -581,9 +638,9 @@ public Builder setStarTime( */ public Builder mergeStarTime(com.google.protobuf.Timestamp value) { if (starTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - starTime_ != null && - starTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && starTime_ != null + && starTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStarTimeBuilder().mergeFrom(value); } else { starTime_ = value; @@ -596,6 +653,8 @@ public Builder mergeStarTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Set if the entry is starred; unset otherwise.
      * 
@@ -613,6 +672,8 @@ public Builder clearStarTime() { return this; } /** + * + * *
      * Set if the entry is starred; unset otherwise.
      * 
@@ -625,6 +686,8 @@ public com.google.protobuf.Timestamp.Builder getStarTimeBuilder() { return getStarTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Set if the entry is starred; unset otherwise.
      * 
@@ -635,11 +698,12 @@ public com.google.protobuf.TimestampOrBuilder getStarTimeOrBuilder() { if (starTimeBuilder_ != null) { return starTimeBuilder_.getMessageOrBuilder(); } else { - return starTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : starTime_; + return starTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : starTime_; } } /** + * + * *
      * Set if the entry is starred; unset otherwise.
      * 
@@ -647,21 +711,24 @@ public com.google.protobuf.TimestampOrBuilder getStarTimeOrBuilder() { * .google.protobuf.Timestamp star_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getStarTimeFieldBuilder() { if (starTimeBuilder_ == null) { - starTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStarTime(), - getParentForChildren(), - isClean()); + starTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStarTime(), getParentForChildren(), isClean()); starTime_ = null; } return starTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -671,12 +738,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.PersonalDetails) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.PersonalDetails) private static final com.google.cloud.datacatalog.v1.PersonalDetails DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.PersonalDetails(); } @@ -685,27 +752,27 @@ public static com.google.cloud.datacatalog.v1.PersonalDetails getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PersonalDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PersonalDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -720,6 +787,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.PersonalDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetailsOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetailsOrBuilder.java similarity index 62% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetailsOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetailsOrBuilder.java index 7cf11cbf4838..9032ba0c35e1 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetailsOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetailsOrBuilder.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/datacatalog/v1/common.proto package com.google.cloud.datacatalog.v1; -public interface PersonalDetailsOrBuilder extends +public interface PersonalDetailsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.PersonalDetails) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * True if the entry is starred by the user; false otherwise.
    * 
* * bool starred = 1; + * * @return The starred. */ boolean getStarred(); /** + * + * *
    * Set if the entry is starred; unset otherwise.
    * 
* * .google.protobuf.Timestamp star_time = 2; + * * @return Whether the starTime field is set. */ boolean hasStarTime(); /** + * + * *
    * Set if the entry is starred; unset otherwise.
    * 
* * .google.protobuf.Timestamp star_time = 2; + * * @return The starTime. */ com.google.protobuf.Timestamp getStarTime(); /** + * + * *
    * Set if the entry is starred; unset otherwise.
    * 
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchema.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchema.java similarity index 70% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchema.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchema.java index 9ffdf3d66ea7..1dba976a28b4 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchema.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchema.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/datacatalog/v1/physical_schema.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Native schema used by a resource represented as an entry. Used by query
  * engines for deserializing and parsing source data.
@@ -11,111 +28,126 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.PhysicalSchema}
  */
-public final class PhysicalSchema extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class PhysicalSchema extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.PhysicalSchema)
     PhysicalSchemaOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use PhysicalSchema.newBuilder() to construct.
   private PhysicalSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private PhysicalSchema() {
-  }
+
+  private PhysicalSchema() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new PhysicalSchema();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PhysicalSchemaProto
+        .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PhysicalSchemaProto
+        .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.PhysicalSchema.class, com.google.cloud.datacatalog.v1.PhysicalSchema.Builder.class);
+            com.google.cloud.datacatalog.v1.PhysicalSchema.class,
+            com.google.cloud.datacatalog.v1.PhysicalSchema.Builder.class);
   }
 
-  public interface AvroSchemaOrBuilder extends
+  public interface AvroSchemaOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * JSON source of the Avro schema.
      * 
* * string text = 1; + * * @return The text. */ java.lang.String getText(); /** + * + * *
      * JSON source of the Avro schema.
      * 
* * string text = 1; + * * @return The bytes for text. */ - com.google.protobuf.ByteString - getTextBytes(); + com.google.protobuf.ByteString getTextBytes(); } /** + * + * *
    * Schema in Avro JSON format.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema} */ - public static final class AvroSchema extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class AvroSchema extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) AvroSchemaOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AvroSchema.newBuilder() to construct. private AvroSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AvroSchema() { text_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AvroSchema(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto + .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_fieldAccessorTable + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto + .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.class, com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.Builder.class); + com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.class, + com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.Builder.class); } public static final int TEXT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object text_ = ""; /** + * + * *
      * JSON source of the Avro schema.
      * 
* * string text = 1; + * * @return The text. */ @java.lang.Override @@ -124,29 +156,29 @@ public java.lang.String getText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); text_ = s; return s; } } /** + * + * *
      * JSON source of the Avro schema.
      * 
* * string text = 1; + * * @return The bytes for text. */ @java.lang.Override - public com.google.protobuf.ByteString - getTextBytes() { + public com.google.protobuf.ByteString getTextBytes() { java.lang.Object ref = text_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); text_ = b; return b; } else { @@ -155,6 +187,7 @@ public java.lang.String getText() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, text_); } @@ -191,15 +223,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema other = (com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) obj; + com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema other = + (com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) obj; - if (!getText() - .equals(other.getText())) return false; + if (!getText().equals(other.getText())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -219,89 +251,94 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -311,39 +348,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Schema in Avro JSON format.
      * 
* * Protobuf type {@code google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto + .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_fieldAccessorTable + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto + .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.class, com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.Builder.class); + com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.class, + com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -353,9 +392,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto + .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_descriptor; } @java.lang.Override @@ -374,8 +413,11 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema build() { @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema buildPartial() { - com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema result = new com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema result = + new com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -391,38 +433,41 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSc public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) { - return mergeFrom((com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema)other); + return mergeFrom((com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) other); } else { super.mergeFrom(other); return this; @@ -430,7 +475,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema other) { - if (other == com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.getDefaultInstance()) return this; + if (other == com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.getDefaultInstance()) + return this; if (!other.getText().isEmpty()) { text_ = other.text_; bitField0_ |= 0x00000001; @@ -462,17 +508,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - text_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + text_ = 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) { @@ -482,22 +530,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object text_ = ""; /** + * + * *
        * JSON source of the Avro schema.
        * 
* * string text = 1; + * * @return The text. */ public java.lang.String getText() { java.lang.Object ref = text_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); text_ = s; return s; @@ -506,20 +557,21 @@ public java.lang.String getText() { } } /** + * + * *
        * JSON source of the Avro schema.
        * 
* * string text = 1; + * * @return The bytes for text. */ - public com.google.protobuf.ByteString - getTextBytes() { + public com.google.protobuf.ByteString getTextBytes() { java.lang.Object ref = text_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); text_ = b; return b; } else { @@ -527,28 +579,35 @@ public java.lang.String getText() { } } /** + * + * *
        * JSON source of the Avro schema.
        * 
* * string text = 1; + * * @param value The text to set. * @return This builder for chaining. */ - public Builder setText( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setText(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } text_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * JSON source of the Avro schema.
        * 
* * string text = 1; + * * @return This builder for chaining. */ public Builder clearText() { @@ -558,23 +617,28 @@ public Builder clearText() { return this; } /** + * + * *
        * JSON source of the Avro schema.
        * 
* * string text = 1; + * * @param value The bytes for text to set. * @return This builder for chaining. */ - public Builder setTextBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTextBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); text_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -587,12 +651,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) private static final com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema(); } @@ -601,27 +665,28 @@ public static com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AvroSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AvroSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,82 +701,95 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ThriftSchemaOrBuilder extends + public interface ThriftSchemaOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Thrift IDL source of the schema.
      * 
* * string text = 1; + * * @return The text. */ java.lang.String getText(); /** + * + * *
      * Thrift IDL source of the schema.
      * 
* * string text = 1; + * * @return The bytes for text. */ - com.google.protobuf.ByteString - getTextBytes(); + com.google.protobuf.ByteString getTextBytes(); } /** + * + * *
    * Schema in Thrift format.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema} */ - public static final class ThriftSchema extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ThriftSchema extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) ThriftSchemaOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ThriftSchema.newBuilder() to construct. private ThriftSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ThriftSchema() { text_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ThriftSchema(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto + .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_fieldAccessorTable + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto + .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.class, com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.Builder.class); + com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.class, + com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.Builder.class); } public static final int TEXT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object text_ = ""; /** + * + * *
      * Thrift IDL source of the schema.
      * 
* * string text = 1; + * * @return The text. */ @java.lang.Override @@ -720,29 +798,29 @@ public java.lang.String getText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); text_ = s; return s; } } /** + * + * *
      * Thrift IDL source of the schema.
      * 
* * string text = 1; + * * @return The bytes for text. */ @java.lang.Override - public com.google.protobuf.ByteString - getTextBytes() { + public com.google.protobuf.ByteString getTextBytes() { java.lang.Object ref = text_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); text_ = b; return b; } else { @@ -751,6 +829,7 @@ public java.lang.String getText() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -762,8 +841,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, text_); } @@ -787,15 +865,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema other = (com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) obj; + com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema other = + (com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) obj; - if (!getText() - .equals(other.getText())) return false; + if (!getText().equals(other.getText())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -815,89 +893,94 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -907,39 +990,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Schema in Thrift format.
      * 
* * Protobuf type {@code google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto + .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_fieldAccessorTable + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto + .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.class, com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.Builder.class); + com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.class, + com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -949,13 +1034,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto + .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_descriptor; } @java.lang.Override - public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema + getDefaultInstanceForType() { return com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.getDefaultInstance(); } @@ -970,13 +1056,17 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema build() { @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema buildPartial() { - com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema result = new com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema result = + new com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema result) { + private void buildPartial0( + com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.text_ = text_; @@ -987,38 +1077,41 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.PhysicalSchema.Thrift public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) { - return mergeFrom((com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema)other); + return mergeFrom((com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) other); } else { super.mergeFrom(other); return this; @@ -1026,7 +1119,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema other) { - if (other == com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.getDefaultInstance()) return this; + if (other + == com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.getDefaultInstance()) + return this; if (!other.getText().isEmpty()) { text_ = other.text_; bitField0_ |= 0x00000001; @@ -1058,17 +1153,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - text_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + text_ = 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) { @@ -1078,22 +1175,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object text_ = ""; /** + * + * *
        * Thrift IDL source of the schema.
        * 
* * string text = 1; + * * @return The text. */ public java.lang.String getText() { java.lang.Object ref = text_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); text_ = s; return s; @@ -1102,20 +1202,21 @@ public java.lang.String getText() { } } /** + * + * *
        * Thrift IDL source of the schema.
        * 
* * string text = 1; + * * @return The bytes for text. */ - public com.google.protobuf.ByteString - getTextBytes() { + public com.google.protobuf.ByteString getTextBytes() { java.lang.Object ref = text_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); text_ = b; return b; } else { @@ -1123,28 +1224,35 @@ public java.lang.String getText() { } } /** + * + * *
        * Thrift IDL source of the schema.
        * 
* * string text = 1; + * * @param value The text to set. * @return This builder for chaining. */ - public Builder setText( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setText(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } text_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Thrift IDL source of the schema.
        * 
* * string text = 1; + * * @return This builder for chaining. */ public Builder clearText() { @@ -1154,23 +1262,28 @@ public Builder clearText() { return this; } /** + * + * *
        * Thrift IDL source of the schema.
        * 
* * string text = 1; + * * @param value The bytes for text to set. * @return This builder for chaining. */ - public Builder setTextBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTextBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); text_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1183,12 +1296,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) - private static final com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema DEFAULT_INSTANCE; + private static final com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema(); } @@ -1197,27 +1311,28 @@ public static com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ThriftSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ThriftSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1232,82 +1347,95 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ProtobufSchemaOrBuilder extends + public interface ProtobufSchemaOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Protocol buffer source of the schema.
      * 
* * string text = 1; + * * @return The text. */ java.lang.String getText(); /** + * + * *
      * Protocol buffer source of the schema.
      * 
* * string text = 1; + * * @return The bytes for text. */ - com.google.protobuf.ByteString - getTextBytes(); + com.google.protobuf.ByteString getTextBytes(); } /** + * + * *
    * Schema in protocol buffer format.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema} */ - public static final class ProtobufSchema extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ProtobufSchema extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) ProtobufSchemaOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProtobufSchema.newBuilder() to construct. private ProtobufSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ProtobufSchema() { text_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProtobufSchema(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto + .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_fieldAccessorTable + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto + .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.class, com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.Builder.class); + com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.class, + com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.Builder.class); } public static final int TEXT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object text_ = ""; /** + * + * *
      * Protocol buffer source of the schema.
      * 
* * string text = 1; + * * @return The text. */ @java.lang.Override @@ -1316,29 +1444,29 @@ public java.lang.String getText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); text_ = s; return s; } } /** + * + * *
      * Protocol buffer source of the schema.
      * 
* * string text = 1; + * * @return The bytes for text. */ @java.lang.Override - public com.google.protobuf.ByteString - getTextBytes() { + public com.google.protobuf.ByteString getTextBytes() { java.lang.Object ref = text_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); text_ = b; return b; } else { @@ -1347,6 +1475,7 @@ public java.lang.String getText() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1358,8 +1487,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, text_); } @@ -1383,15 +1511,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema other = (com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) obj; + com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema other = + (com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) obj; - if (!getText() - .equals(other.getText())) return false; + if (!getText().equals(other.getText())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1411,89 +1539,94 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1503,39 +1636,41 @@ protected Builder newBuilderForType( return builder; } /** - *
+     *
+     *
+     * 
      * Schema in protocol buffer format.
      * 
* * Protobuf type {@code google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto + .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_fieldAccessorTable + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto + .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.class, com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.Builder.class); + com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.class, + com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1545,13 +1680,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto + .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_descriptor; } @java.lang.Override - public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema + getDefaultInstanceForType() { return com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.getDefaultInstance(); } @@ -1566,13 +1702,17 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema build() { @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema buildPartial() { - com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema result = new com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema result = + new com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema result) { + private void buildPartial0( + com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.text_ = text_; @@ -1583,46 +1723,52 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.PhysicalSchema.Protob public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) { - return mergeFrom((com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema)other); + return mergeFrom((com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema other) { - if (other == com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema other) { + if (other + == com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.getDefaultInstance()) + return this; if (!other.getText().isEmpty()) { text_ = other.text_; bitField0_ |= 0x00000001; @@ -1654,17 +1800,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - text_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + text_ = 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) { @@ -1674,22 +1822,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object text_ = ""; /** + * + * *
        * Protocol buffer source of the schema.
        * 
* * string text = 1; + * * @return The text. */ public java.lang.String getText() { java.lang.Object ref = text_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); text_ = s; return s; @@ -1698,20 +1849,21 @@ public java.lang.String getText() { } } /** + * + * *
        * Protocol buffer source of the schema.
        * 
* * string text = 1; + * * @return The bytes for text. */ - public com.google.protobuf.ByteString - getTextBytes() { + public com.google.protobuf.ByteString getTextBytes() { java.lang.Object ref = text_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); text_ = b; return b; } else { @@ -1719,28 +1871,35 @@ public java.lang.String getText() { } } /** + * + * *
        * Protocol buffer source of the schema.
        * 
* * string text = 1; + * * @param value The text to set. * @return This builder for chaining. */ - public Builder setText( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setText(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } text_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Protocol buffer source of the schema.
        * 
* * string text = 1; + * * @return This builder for chaining. */ public Builder clearText() { @@ -1750,23 +1909,28 @@ public Builder clearText() { return this; } /** + * + * *
        * Protocol buffer source of the schema.
        * 
* * string text = 1; + * * @param value The bytes for text to set. * @return This builder for chaining. */ - public Builder setTextBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTextBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); text_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1779,41 +1943,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) - private static final com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema DEFAULT_INSTANCE; + private static final com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema(); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema getDefaultInstance() { + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProtobufSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProtobufSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1825,56 +1992,60 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ParquetSchemaOrBuilder extends + public interface ParquetSchemaOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) - com.google.protobuf.MessageOrBuilder { - } + com.google.protobuf.MessageOrBuilder {} /** + * + * *
    * Marks a Parquet-encoded data source.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema} */ - public static final class ParquetSchema extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ParquetSchema extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) ParquetSchemaOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ParquetSchema.newBuilder() to construct. private ParquetSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ParquetSchema() { - } + + private ParquetSchema() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ParquetSchema(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto + .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_fieldAccessorTable + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto + .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.class, com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.Builder.class); + com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.class, + com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1886,8 +2057,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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); } @@ -1905,12 +2075,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.datacatalog.v1.PhysicalSchema.ParquetSchema)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema other = (com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) obj; + com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema other = + (com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1929,89 +2100,94 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2021,39 +2197,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Marks a Parquet-encoded data source.
      * 
* * Protobuf type {@code google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto + .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_fieldAccessorTable + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto + .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.class, com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.Builder.class); + com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.class, + com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2061,13 +2239,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto + .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_descriptor; } @java.lang.Override - public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema + getDefaultInstanceForType() { return com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.getDefaultInstance(); } @@ -2082,7 +2261,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema build() { @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema buildPartial() { - com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema result = new com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema(this); + com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema result = + new com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema(this); onBuilt(); return result; } @@ -2091,38 +2271,41 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) { - return mergeFrom((com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema)other); + return mergeFrom((com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) other); } else { super.mergeFrom(other); return this; @@ -2130,7 +2313,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema other) { - if (other == com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.getDefaultInstance()) return this; + if (other + == com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.getDefaultInstance()) + return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -2157,12 +2342,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) { @@ -2172,6 +2358,7 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2184,41 +2371,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) - private static final com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema DEFAULT_INSTANCE; + private static final com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema(); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema getDefaultInstance() { + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ParquetSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ParquetSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2230,56 +2420,60 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface OrcSchemaOrBuilder extends + public interface OrcSchemaOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) - com.google.protobuf.MessageOrBuilder { - } + com.google.protobuf.MessageOrBuilder {} /** + * + * *
    * Marks an ORC-encoded data source.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema} */ - public static final class OrcSchema extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class OrcSchema extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) OrcSchemaOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OrcSchema.newBuilder() to construct. private OrcSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OrcSchema() { - } + + private OrcSchema() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OrcSchema(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto + .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_fieldAccessorTable + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto + .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.class, com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.Builder.class); + com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.class, + com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2291,8 +2485,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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); } @@ -2310,12 +2503,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.datacatalog.v1.PhysicalSchema.OrcSchema)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema other = (com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) obj; + com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema other = + (com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2334,89 +2528,94 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2426,39 +2625,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Marks an ORC-encoded data source.
      * 
* * Protobuf type {@code google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto + .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_fieldAccessorTable + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto + .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.class, com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.Builder.class); + com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.class, + com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2466,9 +2667,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto + .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_descriptor; } @java.lang.Override @@ -2487,7 +2688,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema build() { @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema buildPartial() { - com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema result = new com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema(this); + com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema result = + new com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema(this); onBuilt(); return result; } @@ -2496,38 +2698,41 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) { - return mergeFrom((com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema)other); + return mergeFrom((com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) other); } else { super.mergeFrom(other); return this; @@ -2535,7 +2740,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema other) { - if (other == com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.getDefaultInstance()) return this; + if (other == com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.getDefaultInstance()) + return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -2562,12 +2768,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) { @@ -2577,6 +2784,7 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2589,12 +2797,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) private static final com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema(); } @@ -2603,27 +2811,28 @@ public static com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OrcSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OrcSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2638,53 +2847,56 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface CsvSchemaOrBuilder extends + public interface CsvSchemaOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) - com.google.protobuf.MessageOrBuilder { - } + com.google.protobuf.MessageOrBuilder {} /** + * + * *
    * Marks a CSV-encoded data source.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema} */ - public static final class CsvSchema extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CsvSchema extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) CsvSchemaOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CsvSchema.newBuilder() to construct. private CsvSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CsvSchema() { - } + + private CsvSchema() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CsvSchema(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto + .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_fieldAccessorTable + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto + .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.class, com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.Builder.class); + com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.class, + com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2696,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 { getUnknownFields().writeTo(output); } @@ -2715,12 +2926,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.datacatalog.v1.PhysicalSchema.CsvSchema)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema other = (com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) obj; + com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema other = + (com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2739,89 +2951,94 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2831,39 +3048,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Marks a CSV-encoded data source.
      * 
* * Protobuf type {@code google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto + .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_fieldAccessorTable + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto + .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.class, com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.Builder.class); + com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.class, + com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2871,9 +3090,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.PhysicalSchemaProto + .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_descriptor; } @java.lang.Override @@ -2892,7 +3111,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema build() { @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema buildPartial() { - com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema result = new com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema(this); + com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema result = + new com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema(this); onBuilt(); return result; } @@ -2901,38 +3121,41 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) { - return mergeFrom((com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema)other); + return mergeFrom((com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) other); } else { super.mergeFrom(other); return this; @@ -2940,7 +3163,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema other) { - if (other == com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.getDefaultInstance()) return this; + if (other == com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.getDefaultInstance()) + return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -2967,12 +3191,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) { @@ -2982,6 +3207,7 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2994,12 +3220,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) private static final com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema(); } @@ -3008,28 +3234,29 @@ public static com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CsvSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CsvSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + public static com.google.protobuf.Parser parser() { return PARSER; } @@ -3043,14 +3270,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int schemaCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object schema_; + public enum SchemaCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { AVRO(1), THRIFT(2), @@ -3060,6 +3289,7 @@ public enum SchemaCase CSV(6), SCHEMA_NOT_SET(0); private final int value; + private SchemaCase(int value) { this.value = value; } @@ -3075,34 +3305,44 @@ public static SchemaCase valueOf(int value) { public static SchemaCase forNumber(int value) { switch (value) { - case 1: return AVRO; - case 2: return THRIFT; - case 3: return PROTOBUF; - case 4: return PARQUET; - case 5: return ORC; - case 6: return CSV; - case 0: return SCHEMA_NOT_SET; - default: return null; + case 1: + return AVRO; + case 2: + return THRIFT; + case 3: + return PROTOBUF; + case 4: + return PARQUET; + case 5: + return ORC; + case 6: + return CSV; + case 0: + return SCHEMA_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public SchemaCase - getSchemaCase() { - return SchemaCase.forNumber( - schemaCase_); + public SchemaCase getSchemaCase() { + return SchemaCase.forNumber(schemaCase_); } public static final int AVRO_FIELD_NUMBER = 1; /** + * + * *
    * Schema in Avro JSON format.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema avro = 1; + * * @return Whether the avro field is set. */ @java.lang.Override @@ -3110,21 +3350,26 @@ public boolean hasAvro() { return schemaCase_ == 1; } /** + * + * *
    * Schema in Avro JSON format.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema avro = 1; + * * @return The avro. */ @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema getAvro() { if (schemaCase_ == 1) { - return (com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) schema_; + return (com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) schema_; } return com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.getDefaultInstance(); } /** + * + * *
    * Schema in Avro JSON format.
    * 
@@ -3134,18 +3379,21 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema getAvro() { @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchemaOrBuilder getAvroOrBuilder() { if (schemaCase_ == 1) { - return (com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) schema_; + return (com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) schema_; } return com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.getDefaultInstance(); } public static final int THRIFT_FIELD_NUMBER = 2; /** + * + * *
    * Schema in Thrift format.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2; + * * @return Whether the thrift field is set. */ @java.lang.Override @@ -3153,21 +3401,26 @@ public boolean hasThrift() { return schemaCase_ == 2; } /** + * + * *
    * Schema in Thrift format.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2; + * * @return The thrift. */ @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema getThrift() { if (schemaCase_ == 2) { - return (com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) schema_; + return (com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) schema_; } return com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.getDefaultInstance(); } /** + * + * *
    * Schema in Thrift format.
    * 
@@ -3177,18 +3430,21 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema getThrift() { @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchemaOrBuilder getThriftOrBuilder() { if (schemaCase_ == 2) { - return (com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) schema_; + return (com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) schema_; } return com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.getDefaultInstance(); } public static final int PROTOBUF_FIELD_NUMBER = 3; /** + * + * *
    * Schema in protocol buffer format.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3; + * * @return Whether the protobuf field is set. */ @java.lang.Override @@ -3196,21 +3452,26 @@ public boolean hasProtobuf() { return schemaCase_ == 3; } /** + * + * *
    * Schema in protocol buffer format.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3; + * * @return The protobuf. */ @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema getProtobuf() { if (schemaCase_ == 3) { - return (com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) schema_; + return (com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) schema_; } return com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.getDefaultInstance(); } /** + * + * *
    * Schema in protocol buffer format.
    * 
@@ -3218,20 +3479,24 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema getProtobuf * .google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchemaOrBuilder getProtobufOrBuilder() { + public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchemaOrBuilder + getProtobufOrBuilder() { if (schemaCase_ == 3) { - return (com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) schema_; + return (com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) schema_; } return com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.getDefaultInstance(); } public static final int PARQUET_FIELD_NUMBER = 4; /** + * + * *
    * Marks a Parquet-encoded data source.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4; + * * @return Whether the parquet field is set. */ @java.lang.Override @@ -3239,21 +3504,26 @@ public boolean hasParquet() { return schemaCase_ == 4; } /** + * + * *
    * Marks a Parquet-encoded data source.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4; + * * @return The parquet. */ @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema getParquet() { if (schemaCase_ == 4) { - return (com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) schema_; + return (com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) schema_; } return com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.getDefaultInstance(); } /** + * + * *
    * Marks a Parquet-encoded data source.
    * 
@@ -3261,20 +3531,24 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema getParquet() * .google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchemaOrBuilder getParquetOrBuilder() { + public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchemaOrBuilder + getParquetOrBuilder() { if (schemaCase_ == 4) { - return (com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) schema_; + return (com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) schema_; } return com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.getDefaultInstance(); } public static final int ORC_FIELD_NUMBER = 5; /** + * + * *
    * Marks an ORC-encoded data source.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema orc = 5; + * * @return Whether the orc field is set. */ @java.lang.Override @@ -3282,21 +3556,26 @@ public boolean hasOrc() { return schemaCase_ == 5; } /** + * + * *
    * Marks an ORC-encoded data source.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema orc = 5; + * * @return The orc. */ @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema getOrc() { if (schemaCase_ == 5) { - return (com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) schema_; + return (com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) schema_; } return com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.getDefaultInstance(); } /** + * + * *
    * Marks an ORC-encoded data source.
    * 
@@ -3306,18 +3585,21 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema getOrc() { @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchemaOrBuilder getOrcOrBuilder() { if (schemaCase_ == 5) { - return (com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) schema_; + return (com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) schema_; } return com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.getDefaultInstance(); } public static final int CSV_FIELD_NUMBER = 6; /** + * + * *
    * Marks a CSV-encoded data source.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema csv = 6; + * * @return Whether the csv field is set. */ @java.lang.Override @@ -3325,21 +3607,26 @@ public boolean hasCsv() { return schemaCase_ == 6; } /** + * + * *
    * Marks a CSV-encoded data source.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema csv = 6; + * * @return The csv. */ @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema getCsv() { if (schemaCase_ == 6) { - return (com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) schema_; + return (com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) schema_; } return com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.getDefaultInstance(); } /** + * + * *
    * Marks a CSV-encoded data source.
    * 
@@ -3349,12 +3636,13 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema getCsv() { @java.lang.Override public com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchemaOrBuilder getCsvOrBuilder() { if (schemaCase_ == 6) { - return (com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) schema_; + return (com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) schema_; } return com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3366,8 +3654,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (schemaCase_ == 1) { output.writeMessage(1, (com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) schema_); } @@ -3375,10 +3662,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(2, (com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) schema_); } if (schemaCase_ == 3) { - output.writeMessage(3, (com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) schema_); + output.writeMessage( + 3, (com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) schema_); } if (schemaCase_ == 4) { - output.writeMessage(4, (com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) schema_); + output.writeMessage( + 4, (com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) schema_); } if (schemaCase_ == 5) { output.writeMessage(5, (com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) schema_); @@ -3396,28 +3685,34 @@ public int getSerializedSize() { size = 0; if (schemaCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) schema_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) schema_); } if (schemaCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) schema_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) schema_); } if (schemaCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) schema_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) schema_); } if (schemaCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) schema_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) schema_); } if (schemaCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) schema_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) schema_); } if (schemaCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) schema_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) schema_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3427,38 +3722,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.datacatalog.v1.PhysicalSchema)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.PhysicalSchema other = (com.google.cloud.datacatalog.v1.PhysicalSchema) obj; + com.google.cloud.datacatalog.v1.PhysicalSchema other = + (com.google.cloud.datacatalog.v1.PhysicalSchema) obj; if (!getSchemaCase().equals(other.getSchemaCase())) return false; switch (schemaCase_) { case 1: - if (!getAvro() - .equals(other.getAvro())) return false; + if (!getAvro().equals(other.getAvro())) return false; break; case 2: - if (!getThrift() - .equals(other.getThrift())) return false; + if (!getThrift().equals(other.getThrift())) return false; break; case 3: - if (!getProtobuf() - .equals(other.getProtobuf())) return false; + if (!getProtobuf().equals(other.getProtobuf())) return false; break; case 4: - if (!getParquet() - .equals(other.getParquet())) return false; + if (!getParquet().equals(other.getParquet())) return false; break; case 5: - if (!getOrc() - .equals(other.getOrc())) return false; + if (!getOrc().equals(other.getOrc())) return false; break; case 6: - if (!getCsv() - .equals(other.getCsv())) return false; + if (!getCsv().equals(other.getCsv())) return false; break; case 0: default: @@ -3507,99 +3797,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.PhysicalSchema parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.PhysicalSchema parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.PhysicalSchema parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.PhysicalSchema parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.PhysicalSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Native schema used by a resource represented as an entry. Used by query
    * engines for deserializing and parsing source data.
@@ -3607,33 +3902,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.PhysicalSchema}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.PhysicalSchema)
       com.google.cloud.datacatalog.v1.PhysicalSchemaOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PhysicalSchemaProto
+          .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PhysicalSchemaProto
+          .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.PhysicalSchema.class, com.google.cloud.datacatalog.v1.PhysicalSchema.Builder.class);
+              com.google.cloud.datacatalog.v1.PhysicalSchema.class,
+              com.google.cloud.datacatalog.v1.PhysicalSchema.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.PhysicalSchema.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -3662,9 +3956,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PhysicalSchemaProto.internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PhysicalSchemaProto
+          .internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor;
     }
 
     @java.lang.Override
@@ -3683,8 +3977,11 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.PhysicalSchema buildPartial() {
-      com.google.cloud.datacatalog.v1.PhysicalSchema result = new com.google.cloud.datacatalog.v1.PhysicalSchema(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.PhysicalSchema result =
+          new com.google.cloud.datacatalog.v1.PhysicalSchema(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -3697,28 +3994,22 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.PhysicalSchema result
     private void buildPartialOneofs(com.google.cloud.datacatalog.v1.PhysicalSchema result) {
       result.schemaCase_ = schemaCase_;
       result.schema_ = this.schema_;
-      if (schemaCase_ == 1 &&
-          avroBuilder_ != null) {
+      if (schemaCase_ == 1 && avroBuilder_ != null) {
         result.schema_ = avroBuilder_.build();
       }
-      if (schemaCase_ == 2 &&
-          thriftBuilder_ != null) {
+      if (schemaCase_ == 2 && thriftBuilder_ != null) {
         result.schema_ = thriftBuilder_.build();
       }
-      if (schemaCase_ == 3 &&
-          protobufBuilder_ != null) {
+      if (schemaCase_ == 3 && protobufBuilder_ != null) {
         result.schema_ = protobufBuilder_.build();
       }
-      if (schemaCase_ == 4 &&
-          parquetBuilder_ != null) {
+      if (schemaCase_ == 4 && parquetBuilder_ != null) {
         result.schema_ = parquetBuilder_.build();
       }
-      if (schemaCase_ == 5 &&
-          orcBuilder_ != null) {
+      if (schemaCase_ == 5 && orcBuilder_ != null) {
         result.schema_ = orcBuilder_.build();
       }
-      if (schemaCase_ == 6 &&
-          csvBuilder_ != null) {
+      if (schemaCase_ == 6 && csvBuilder_ != null) {
         result.schema_ = csvBuilder_.build();
       }
     }
@@ -3727,38 +4018,39 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.PhysicalSchema 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.datacatalog.v1.PhysicalSchema) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.PhysicalSchema)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.PhysicalSchema) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3768,33 +4060,40 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.PhysicalSchema other) {
       if (other == com.google.cloud.datacatalog.v1.PhysicalSchema.getDefaultInstance()) return this;
       switch (other.getSchemaCase()) {
-        case AVRO: {
-          mergeAvro(other.getAvro());
-          break;
-        }
-        case THRIFT: {
-          mergeThrift(other.getThrift());
-          break;
-        }
-        case PROTOBUF: {
-          mergeProtobuf(other.getProtobuf());
-          break;
-        }
-        case PARQUET: {
-          mergeParquet(other.getParquet());
-          break;
-        }
-        case ORC: {
-          mergeOrc(other.getOrc());
-          break;
-        }
-        case CSV: {
-          mergeCsv(other.getCsv());
-          break;
-        }
-        case SCHEMA_NOT_SET: {
-          break;
-        }
+        case AVRO:
+          {
+            mergeAvro(other.getAvro());
+            break;
+          }
+        case THRIFT:
+          {
+            mergeThrift(other.getThrift());
+            break;
+          }
+        case PROTOBUF:
+          {
+            mergeProtobuf(other.getProtobuf());
+            break;
+          }
+        case PARQUET:
+          {
+            mergeParquet(other.getParquet());
+            break;
+          }
+        case ORC:
+          {
+            mergeOrc(other.getOrc());
+            break;
+          }
+        case CSV:
+          {
+            mergeCsv(other.getCsv());
+            break;
+          }
+        case SCHEMA_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -3822,54 +4121,49 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getAvroFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              schemaCase_ = 1;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getThriftFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              schemaCase_ = 2;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getProtobufFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              schemaCase_ = 3;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getParquetFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              schemaCase_ = 4;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getOrcFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              schemaCase_ = 5;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getCsvFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              schemaCase_ = 6;
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getAvroFieldBuilder().getBuilder(), extensionRegistry);
+                schemaCase_ = 1;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getThriftFieldBuilder().getBuilder(), extensionRegistry);
+                schemaCase_ = 2;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getProtobufFieldBuilder().getBuilder(), extensionRegistry);
+                schemaCase_ = 3;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getParquetFieldBuilder().getBuilder(), extensionRegistry);
+                schemaCase_ = 4;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getOrcFieldBuilder().getBuilder(), extensionRegistry);
+                schemaCase_ = 5;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getCsvFieldBuilder().getBuilder(), extensionRegistry);
+                schemaCase_ = 6;
+                break;
+              } // case 50
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3879,12 +4173,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int schemaCase_ = 0;
     private java.lang.Object schema_;
-    public SchemaCase
-        getSchemaCase() {
-      return SchemaCase.forNumber(
-          schemaCase_);
+
+    public SchemaCase getSchemaCase() {
+      return SchemaCase.forNumber(schemaCase_);
     }
 
     public Builder clearSchema() {
@@ -3897,13 +4191,19 @@ public Builder clearSchema() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchemaOrBuilder> avroBuilder_;
+            com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema,
+            com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.Builder,
+            com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchemaOrBuilder>
+        avroBuilder_;
     /**
+     *
+     *
      * 
      * Schema in Avro JSON format.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema avro = 1; + * * @return Whether the avro field is set. */ @java.lang.Override @@ -3911,11 +4211,14 @@ public boolean hasAvro() { return schemaCase_ == 1; } /** + * + * *
      * Schema in Avro JSON format.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema avro = 1; + * * @return The avro. */ @java.lang.Override @@ -3933,6 +4236,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema getAvro() { } } /** + * + * *
      * Schema in Avro JSON format.
      * 
@@ -3953,6 +4258,8 @@ public Builder setAvro(com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema return this; } /** + * + * *
      * Schema in Avro JSON format.
      * 
@@ -3971,6 +4278,8 @@ public Builder setAvro( return this; } /** + * + * *
      * Schema in Avro JSON format.
      * 
@@ -3979,10 +4288,14 @@ public Builder setAvro( */ public Builder mergeAvro(com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema value) { if (avroBuilder_ == null) { - if (schemaCase_ == 1 && - schema_ != com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.getDefaultInstance()) { - schema_ = com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.newBuilder((com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) schema_) - .mergeFrom(value).buildPartial(); + if (schemaCase_ == 1 + && schema_ + != com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.getDefaultInstance()) { + schema_ = + com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.newBuilder( + (com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) schema_) + .mergeFrom(value) + .buildPartial(); } else { schema_ = value; } @@ -3998,6 +4311,8 @@ public Builder mergeAvro(com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSche return this; } /** + * + * *
      * Schema in Avro JSON format.
      * 
@@ -4021,6 +4336,8 @@ public Builder clearAvro() { return this; } /** + * + * *
      * Schema in Avro JSON format.
      * 
@@ -4031,6 +4348,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.Builder getAvro return getAvroFieldBuilder().getBuilder(); } /** + * + * *
      * Schema in Avro JSON format.
      * 
@@ -4049,6 +4368,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchemaOrBuilder getAvr } } /** + * + * *
      * Schema in Avro JSON format.
      * 
@@ -4056,14 +4377,19 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchemaOrBuilder getAvr * .google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema avro = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchemaOrBuilder> + com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema, + com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.Builder, + com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchemaOrBuilder> getAvroFieldBuilder() { if (avroBuilder_ == null) { if (!(schemaCase_ == 1)) { schema_ = com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.getDefaultInstance(); } - avroBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchemaOrBuilder>( + avroBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema, + com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.Builder, + com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchemaOrBuilder>( (com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) schema_, getParentForChildren(), isClean()); @@ -4075,13 +4401,19 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchemaOrBuilder getAvr } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchemaOrBuilder> thriftBuilder_; + com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema, + com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.Builder, + com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchemaOrBuilder> + thriftBuilder_; /** + * + * *
      * Schema in Thrift format.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2; + * * @return Whether the thrift field is set. */ @java.lang.Override @@ -4089,11 +4421,14 @@ public boolean hasThrift() { return schemaCase_ == 2; } /** + * + * *
      * Schema in Thrift format.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2; + * * @return The thrift. */ @java.lang.Override @@ -4111,6 +4446,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema getThrift() { } } /** + * + * *
      * Schema in Thrift format.
      * 
@@ -4131,6 +4468,8 @@ public Builder setThrift(com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSc return this; } /** + * + * *
      * Schema in Thrift format.
      * 
@@ -4149,6 +4488,8 @@ public Builder setThrift( return this; } /** + * + * *
      * Schema in Thrift format.
      * 
@@ -4157,10 +4498,15 @@ public Builder setThrift( */ public Builder mergeThrift(com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema value) { if (thriftBuilder_ == null) { - if (schemaCase_ == 2 && - schema_ != com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.getDefaultInstance()) { - schema_ = com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.newBuilder((com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) schema_) - .mergeFrom(value).buildPartial(); + if (schemaCase_ == 2 + && schema_ + != com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema + .getDefaultInstance()) { + schema_ = + com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.newBuilder( + (com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) schema_) + .mergeFrom(value) + .buildPartial(); } else { schema_ = value; } @@ -4176,6 +4522,8 @@ public Builder mergeThrift(com.google.cloud.datacatalog.v1.PhysicalSchema.Thrift return this; } /** + * + * *
      * Schema in Thrift format.
      * 
@@ -4199,6 +4547,8 @@ public Builder clearThrift() { return this; } /** + * + * *
      * Schema in Thrift format.
      * 
@@ -4209,6 +4559,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.Builder getTh return getThriftFieldBuilder().getBuilder(); } /** + * + * *
      * Schema in Thrift format.
      * 
@@ -4216,7 +4568,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.Builder getTh * .google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchemaOrBuilder getThriftOrBuilder() { + public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchemaOrBuilder + getThriftOrBuilder() { if ((schemaCase_ == 2) && (thriftBuilder_ != null)) { return thriftBuilder_.getMessageOrBuilder(); } else { @@ -4227,6 +4580,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchemaOrBuilder getT } } /** + * + * *
      * Schema in Thrift format.
      * 
@@ -4234,14 +4589,20 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchemaOrBuilder getT * .google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchemaOrBuilder> + com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema, + com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.Builder, + com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchemaOrBuilder> getThriftFieldBuilder() { if (thriftBuilder_ == null) { if (!(schemaCase_ == 2)) { - schema_ = com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.getDefaultInstance(); + schema_ = + com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.getDefaultInstance(); } - thriftBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchemaOrBuilder>( + thriftBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema, + com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.Builder, + com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchemaOrBuilder>( (com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) schema_, getParentForChildren(), isClean()); @@ -4253,13 +4614,19 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchemaOrBuilder getT } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchemaOrBuilder> protobufBuilder_; + com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema, + com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.Builder, + com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchemaOrBuilder> + protobufBuilder_; /** + * + * *
      * Schema in protocol buffer format.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3; + * * @return Whether the protobuf field is set. */ @java.lang.Override @@ -4267,11 +4634,14 @@ public boolean hasProtobuf() { return schemaCase_ == 3; } /** + * + * *
      * Schema in protocol buffer format.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3; + * * @return The protobuf. */ @java.lang.Override @@ -4289,13 +4659,16 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema getProtobuf } } /** + * + * *
      * Schema in protocol buffer format.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3; */ - public Builder setProtobuf(com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema value) { + public Builder setProtobuf( + com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema value) { if (protobufBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4309,6 +4682,8 @@ public Builder setProtobuf(com.google.cloud.datacatalog.v1.PhysicalSchema.Protob return this; } /** + * + * *
      * Schema in protocol buffer format.
      * 
@@ -4327,18 +4702,26 @@ public Builder setProtobuf( return this; } /** + * + * *
      * Schema in protocol buffer format.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3; */ - public Builder mergeProtobuf(com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema value) { + public Builder mergeProtobuf( + com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema value) { if (protobufBuilder_ == null) { - if (schemaCase_ == 3 && - schema_ != com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.getDefaultInstance()) { - schema_ = com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.newBuilder((com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) schema_) - .mergeFrom(value).buildPartial(); + if (schemaCase_ == 3 + && schema_ + != com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema + .getDefaultInstance()) { + schema_ = + com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.newBuilder( + (com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) schema_) + .mergeFrom(value) + .buildPartial(); } else { schema_ = value; } @@ -4354,6 +4737,8 @@ public Builder mergeProtobuf(com.google.cloud.datacatalog.v1.PhysicalSchema.Prot return this; } /** + * + * *
      * Schema in protocol buffer format.
      * 
@@ -4377,16 +4762,21 @@ public Builder clearProtobuf() { return this; } /** + * + * *
      * Schema in protocol buffer format.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3; */ - public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.Builder getProtobufBuilder() { + public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.Builder + getProtobufBuilder() { return getProtobufFieldBuilder().getBuilder(); } /** + * + * *
      * Schema in protocol buffer format.
      * 
@@ -4394,7 +4784,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.Builder get * .google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchemaOrBuilder getProtobufOrBuilder() { + public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchemaOrBuilder + getProtobufOrBuilder() { if ((schemaCase_ == 3) && (protobufBuilder_ != null)) { return protobufBuilder_.getMessageOrBuilder(); } else { @@ -4405,6 +4796,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchemaOrBuilder ge } } /** + * + * *
      * Schema in protocol buffer format.
      * 
@@ -4412,14 +4805,20 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchemaOrBuilder ge * .google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchemaOrBuilder> + com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema, + com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.Builder, + com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchemaOrBuilder> getProtobufFieldBuilder() { if (protobufBuilder_ == null) { if (!(schemaCase_ == 3)) { - schema_ = com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.getDefaultInstance(); + schema_ = + com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.getDefaultInstance(); } - protobufBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchemaOrBuilder>( + protobufBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema, + com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.Builder, + com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchemaOrBuilder>( (com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema) schema_, getParentForChildren(), isClean()); @@ -4431,13 +4830,19 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchemaOrBuilder ge } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchemaOrBuilder> parquetBuilder_; + com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema, + com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.Builder, + com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchemaOrBuilder> + parquetBuilder_; /** + * + * *
      * Marks a Parquet-encoded data source.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4; + * * @return Whether the parquet field is set. */ @java.lang.Override @@ -4445,11 +4850,14 @@ public boolean hasParquet() { return schemaCase_ == 4; } /** + * + * *
      * Marks a Parquet-encoded data source.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4; + * * @return The parquet. */ @java.lang.Override @@ -4467,6 +4875,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema getParquet() } } /** + * + * *
      * Marks a Parquet-encoded data source.
      * 
@@ -4487,6 +4897,8 @@ public Builder setParquet(com.google.cloud.datacatalog.v1.PhysicalSchema.Parquet return this; } /** + * + * *
      * Marks a Parquet-encoded data source.
      * 
@@ -4505,18 +4917,26 @@ public Builder setParquet( return this; } /** + * + * *
      * Marks a Parquet-encoded data source.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4; */ - public Builder mergeParquet(com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema value) { + public Builder mergeParquet( + com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema value) { if (parquetBuilder_ == null) { - if (schemaCase_ == 4 && - schema_ != com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.getDefaultInstance()) { - schema_ = com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.newBuilder((com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) schema_) - .mergeFrom(value).buildPartial(); + if (schemaCase_ == 4 + && schema_ + != com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema + .getDefaultInstance()) { + schema_ = + com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.newBuilder( + (com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) schema_) + .mergeFrom(value) + .buildPartial(); } else { schema_ = value; } @@ -4532,6 +4952,8 @@ public Builder mergeParquet(com.google.cloud.datacatalog.v1.PhysicalSchema.Parqu return this; } /** + * + * *
      * Marks a Parquet-encoded data source.
      * 
@@ -4555,16 +4977,21 @@ public Builder clearParquet() { return this; } /** + * + * *
      * Marks a Parquet-encoded data source.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4; */ - public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.Builder getParquetBuilder() { + public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.Builder + getParquetBuilder() { return getParquetFieldBuilder().getBuilder(); } /** + * + * *
      * Marks a Parquet-encoded data source.
      * 
@@ -4572,7 +4999,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.Builder getP * .google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchemaOrBuilder getParquetOrBuilder() { + public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchemaOrBuilder + getParquetOrBuilder() { if ((schemaCase_ == 4) && (parquetBuilder_ != null)) { return parquetBuilder_.getMessageOrBuilder(); } else { @@ -4583,6 +5011,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchemaOrBuilder get } } /** + * + * *
      * Marks a Parquet-encoded data source.
      * 
@@ -4590,14 +5020,20 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchemaOrBuilder get * .google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchemaOrBuilder> + com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema, + com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.Builder, + com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchemaOrBuilder> getParquetFieldBuilder() { if (parquetBuilder_ == null) { if (!(schemaCase_ == 4)) { - schema_ = com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.getDefaultInstance(); + schema_ = + com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.getDefaultInstance(); } - parquetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchemaOrBuilder>( + parquetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema, + com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.Builder, + com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchemaOrBuilder>( (com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema) schema_, getParentForChildren(), isClean()); @@ -4609,13 +5045,19 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchemaOrBuilder get } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchemaOrBuilder> orcBuilder_; + com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema, + com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.Builder, + com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchemaOrBuilder> + orcBuilder_; /** + * + * *
      * Marks an ORC-encoded data source.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema orc = 5; + * * @return Whether the orc field is set. */ @java.lang.Override @@ -4623,11 +5065,14 @@ public boolean hasOrc() { return schemaCase_ == 5; } /** + * + * *
      * Marks an ORC-encoded data source.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema orc = 5; + * * @return The orc. */ @java.lang.Override @@ -4645,6 +5090,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema getOrc() { } } /** + * + * *
      * Marks an ORC-encoded data source.
      * 
@@ -4665,6 +5112,8 @@ public Builder setOrc(com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema v return this; } /** + * + * *
      * Marks an ORC-encoded data source.
      * 
@@ -4683,6 +5132,8 @@ public Builder setOrc( return this; } /** + * + * *
      * Marks an ORC-encoded data source.
      * 
@@ -4691,10 +5142,14 @@ public Builder setOrc( */ public Builder mergeOrc(com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema value) { if (orcBuilder_ == null) { - if (schemaCase_ == 5 && - schema_ != com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.getDefaultInstance()) { - schema_ = com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.newBuilder((com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) schema_) - .mergeFrom(value).buildPartial(); + if (schemaCase_ == 5 + && schema_ + != com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.getDefaultInstance()) { + schema_ = + com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.newBuilder( + (com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) schema_) + .mergeFrom(value) + .buildPartial(); } else { schema_ = value; } @@ -4710,6 +5165,8 @@ public Builder mergeOrc(com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema return this; } /** + * + * *
      * Marks an ORC-encoded data source.
      * 
@@ -4733,6 +5190,8 @@ public Builder clearOrc() { return this; } /** + * + * *
      * Marks an ORC-encoded data source.
      * 
@@ -4743,6 +5202,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.Builder getOrcBu return getOrcFieldBuilder().getBuilder(); } /** + * + * *
      * Marks an ORC-encoded data source.
      * 
@@ -4761,6 +5222,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchemaOrBuilder getOrcO } } /** + * + * *
      * Marks an ORC-encoded data source.
      * 
@@ -4768,14 +5231,19 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchemaOrBuilder getOrcO * .google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema orc = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchemaOrBuilder> + com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema, + com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.Builder, + com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchemaOrBuilder> getOrcFieldBuilder() { if (orcBuilder_ == null) { if (!(schemaCase_ == 5)) { schema_ = com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.getDefaultInstance(); } - orcBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchemaOrBuilder>( + orcBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema, + com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.Builder, + com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchemaOrBuilder>( (com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema) schema_, getParentForChildren(), isClean()); @@ -4787,13 +5255,19 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchemaOrBuilder getOrcO } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchemaOrBuilder> csvBuilder_; + com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema, + com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.Builder, + com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchemaOrBuilder> + csvBuilder_; /** + * + * *
      * Marks a CSV-encoded data source.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema csv = 6; + * * @return Whether the csv field is set. */ @java.lang.Override @@ -4801,11 +5275,14 @@ public boolean hasCsv() { return schemaCase_ == 6; } /** + * + * *
      * Marks a CSV-encoded data source.
      * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema csv = 6; + * * @return The csv. */ @java.lang.Override @@ -4823,6 +5300,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema getCsv() { } } /** + * + * *
      * Marks a CSV-encoded data source.
      * 
@@ -4843,6 +5322,8 @@ public Builder setCsv(com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema v return this; } /** + * + * *
      * Marks a CSV-encoded data source.
      * 
@@ -4861,6 +5342,8 @@ public Builder setCsv( return this; } /** + * + * *
      * Marks a CSV-encoded data source.
      * 
@@ -4869,10 +5352,14 @@ public Builder setCsv( */ public Builder mergeCsv(com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema value) { if (csvBuilder_ == null) { - if (schemaCase_ == 6 && - schema_ != com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.getDefaultInstance()) { - schema_ = com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.newBuilder((com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) schema_) - .mergeFrom(value).buildPartial(); + if (schemaCase_ == 6 + && schema_ + != com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.getDefaultInstance()) { + schema_ = + com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.newBuilder( + (com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) schema_) + .mergeFrom(value) + .buildPartial(); } else { schema_ = value; } @@ -4888,6 +5375,8 @@ public Builder mergeCsv(com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema return this; } /** + * + * *
      * Marks a CSV-encoded data source.
      * 
@@ -4911,6 +5400,8 @@ public Builder clearCsv() { return this; } /** + * + * *
      * Marks a CSV-encoded data source.
      * 
@@ -4921,6 +5412,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.Builder getCsvBu return getCsvFieldBuilder().getBuilder(); } /** + * + * *
      * Marks a CSV-encoded data source.
      * 
@@ -4939,6 +5432,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchemaOrBuilder getCsvO } } /** + * + * *
      * Marks a CSV-encoded data source.
      * 
@@ -4946,14 +5441,19 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchemaOrBuilder getCsvO * .google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema csv = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchemaOrBuilder> + com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema, + com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.Builder, + com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchemaOrBuilder> getCsvFieldBuilder() { if (csvBuilder_ == null) { if (!(schemaCase_ == 6)) { schema_ = com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.getDefaultInstance(); } - csvBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema, com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.Builder, com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchemaOrBuilder>( + csvBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema, + com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.Builder, + com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchemaOrBuilder>( (com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema) schema_, getParentForChildren(), isClean()); @@ -4963,9 +5463,9 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchemaOrBuilder getCsvO onChanged(); return csvBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4975,12 +5475,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.PhysicalSchema) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.PhysicalSchema) private static final com.google.cloud.datacatalog.v1.PhysicalSchema DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.PhysicalSchema(); } @@ -4989,27 +5489,27 @@ public static com.google.cloud.datacatalog.v1.PhysicalSchema getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PhysicalSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PhysicalSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5024,6 +5524,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.PhysicalSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaOrBuilder.java similarity index 84% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaOrBuilder.java index 177effb23fa9..b0becdb54ff4 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaOrBuilder.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/datacatalog/v1/physical_schema.proto package com.google.cloud.datacatalog.v1; -public interface PhysicalSchemaOrBuilder extends +public interface PhysicalSchemaOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.PhysicalSchema) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Schema in Avro JSON format.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema avro = 1; + * * @return Whether the avro field is set. */ boolean hasAvro(); /** + * + * *
    * Schema in Avro JSON format.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema avro = 1; + * * @return The avro. */ com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema getAvro(); /** + * + * *
    * Schema in Avro JSON format.
    * 
@@ -35,24 +59,32 @@ public interface PhysicalSchemaOrBuilder extends com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchemaOrBuilder getAvroOrBuilder(); /** + * + * *
    * Schema in Thrift format.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2; + * * @return Whether the thrift field is set. */ boolean hasThrift(); /** + * + * *
    * Schema in Thrift format.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2; + * * @return The thrift. */ com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema getThrift(); /** + * + * *
    * Schema in Thrift format.
    * 
@@ -62,24 +94,32 @@ public interface PhysicalSchemaOrBuilder extends com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchemaOrBuilder getThriftOrBuilder(); /** + * + * *
    * Schema in protocol buffer format.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3; + * * @return Whether the protobuf field is set. */ boolean hasProtobuf(); /** + * + * *
    * Schema in protocol buffer format.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3; + * * @return The protobuf. */ com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema getProtobuf(); /** + * + * *
    * Schema in protocol buffer format.
    * 
@@ -89,24 +129,32 @@ public interface PhysicalSchemaOrBuilder extends com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchemaOrBuilder getProtobufOrBuilder(); /** + * + * *
    * Marks a Parquet-encoded data source.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4; + * * @return Whether the parquet field is set. */ boolean hasParquet(); /** + * + * *
    * Marks a Parquet-encoded data source.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4; + * * @return The parquet. */ com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema getParquet(); /** + * + * *
    * Marks a Parquet-encoded data source.
    * 
@@ -116,24 +164,32 @@ public interface PhysicalSchemaOrBuilder extends com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchemaOrBuilder getParquetOrBuilder(); /** + * + * *
    * Marks an ORC-encoded data source.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema orc = 5; + * * @return Whether the orc field is set. */ boolean hasOrc(); /** + * + * *
    * Marks an ORC-encoded data source.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema orc = 5; + * * @return The orc. */ com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema getOrc(); /** + * + * *
    * Marks an ORC-encoded data source.
    * 
@@ -143,24 +199,32 @@ public interface PhysicalSchemaOrBuilder extends com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchemaOrBuilder getOrcOrBuilder(); /** + * + * *
    * Marks a CSV-encoded data source.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema csv = 6; + * * @return Whether the csv field is set. */ boolean hasCsv(); /** + * + * *
    * Marks a CSV-encoded data source.
    * 
* * .google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema csv = 6; + * * @return The csv. */ com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema getCsv(); /** + * + * *
    * Marks a CSV-encoded data source.
    * 
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaProto.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaProto.java new file mode 100644 index 000000000000..21279465e591 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaProto.java @@ -0,0 +1,159 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/physical_schema.proto + +package com.google.cloud.datacatalog.v1; + +public final class PhysicalSchemaProto { + private PhysicalSchemaProto() {} + + 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_datacatalog_v1_PhysicalSchema_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n1google/cloud/datacatalog/v1/physical_s" + + "chema.proto\022\033google.cloud.datacatalog.v1" + + "\"\335\004\n\016PhysicalSchema\022F\n\004avro\030\001 \001(\01326.goog" + + "le.cloud.datacatalog.v1.PhysicalSchema.A" + + "vroSchemaH\000\022J\n\006thrift\030\002 \001(\01328.google.clo" + + "ud.datacatalog.v1.PhysicalSchema.ThriftS" + + "chemaH\000\022N\n\010protobuf\030\003 \001(\0132:.google.cloud" + + ".datacatalog.v1.PhysicalSchema.ProtobufS" + + "chemaH\000\022L\n\007parquet\030\004 \001(\01329.google.cloud." + + "datacatalog.v1.PhysicalSchema.ParquetSch" + + "emaH\000\022D\n\003orc\030\005 \001(\01325.google.cloud.dataca" + + "talog.v1.PhysicalSchema.OrcSchemaH\000\022D\n\003c" + + "sv\030\006 \001(\01325.google.cloud.datacatalog.v1.P" + + "hysicalSchema.CsvSchemaH\000\032\032\n\nAvroSchema\022" + + "\014\n\004text\030\001 \001(\t\032\034\n\014ThriftSchema\022\014\n\004text\030\001 " + + "\001(\t\032\036\n\016ProtobufSchema\022\014\n\004text\030\001 \001(\t\032\017\n\rP" + + "arquetSchema\032\013\n\tOrcSchema\032\013\n\tCsvSchemaB\010" + + "\n\006schemaB\333\001\n\037com.google.cloud.datacatalo" + + "g.v1B\023PhysicalSchemaProtoP\001ZAcloud.googl" + + "e.com/go/datacatalog/apiv1/datacatalogpb" + + ";datacatalogpb\370\001\001\252\002\033Google.Cloud.DataCat" + + "alog.V1\312\002\033Google\\Cloud\\DataCatalog\\V1\352\002\036" + + "Google::Cloud::DataCatalog::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor, + new java.lang.String[] { + "Avro", "Thrift", "Protobuf", "Parquet", "Orc", "Csv", "Schema", + }); + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_descriptor = + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_descriptor, + new java.lang.String[] { + "Text", + }); + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_descriptor = + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_descriptor, + new java.lang.String[] { + "Text", + }); + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_descriptor = + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_descriptor, + new java.lang.String[] { + "Text", + }); + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_descriptor = + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor + .getNestedTypes() + .get(3); + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_descriptor = + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor + .getNestedTypes() + .get(4); + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_descriptor = + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor + .getNestedTypes() + .get(5); + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_descriptor, + new java.lang.String[] {}); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTag.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTag.java similarity index 74% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTag.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTag.java index baa93c88dd65..aa50b3761086 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTag.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTag.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/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Denotes one policy tag in a taxonomy, for example, SSN.
  *
@@ -21,48 +38,52 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.PolicyTag}
  */
-public final class PolicyTag extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class PolicyTag extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.PolicyTag)
     PolicyTagOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use PolicyTag.newBuilder() to construct.
   private PolicyTag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private PolicyTag() {
     name_ = "";
     displayName_ = "";
     description_ = "";
     parentPolicyTag_ = "";
-    childPolicyTags_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    childPolicyTags_ = 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 PolicyTag();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_PolicyTag_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1_PolicyTag_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_PolicyTag_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1_PolicyTag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.PolicyTag.class, com.google.cloud.datacatalog.v1.PolicyTag.Builder.class);
+            com.google.cloud.datacatalog.v1.PolicyTag.class,
+            com.google.cloud.datacatalog.v1.PolicyTag.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Output only. Resource name of this policy tag in the URL format.
    *
@@ -70,6 +91,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -78,14 +100,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Resource name of this policy tag in the URL format.
    *
@@ -93,16 +116,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 { @@ -111,9 +133,12 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Required. User-defined name of this policy tag.
    *
@@ -123,6 +148,7 @@ public java.lang.String getName() {
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -131,14 +157,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; } } /** + * + * *
    * Required. User-defined name of this policy tag.
    *
@@ -148,16 +175,15 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -166,9 +192,12 @@ public java.lang.String getDisplayName() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Description of this policy tag. If not set, defaults to empty.
    *
@@ -178,6 +207,7 @@ public java.lang.String getDisplayName() {
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -186,14 +216,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; } } /** + * + * *
    * Description of this policy tag. If not set, defaults to empty.
    *
@@ -203,16 +234,15 @@ public java.lang.String getDescription() {
    * 
* * string description = 3; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -221,9 +251,12 @@ public java.lang.String getDescription() { } public static final int PARENT_POLICY_TAG_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object parentPolicyTag_ = ""; /** + * + * *
    * Resource name of this policy tag's parent policy tag. If empty, this is a
    * top level tag. If not set, defaults to an empty string.
@@ -234,6 +267,7 @@ public java.lang.String getDescription() {
    * 
* * string parent_policy_tag = 4; + * * @return The parentPolicyTag. */ @java.lang.Override @@ -242,14 +276,15 @@ public java.lang.String getParentPolicyTag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentPolicyTag_ = s; return s; } } /** + * + * *
    * Resource name of this policy tag's parent policy tag. If empty, this is a
    * top level tag. If not set, defaults to an empty string.
@@ -260,16 +295,15 @@ public java.lang.String getParentPolicyTag() {
    * 
* * string parent_policy_tag = 4; + * * @return The bytes for parentPolicyTag. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentPolicyTagBytes() { + public com.google.protobuf.ByteString getParentPolicyTagBytes() { java.lang.Object ref = parentPolicyTag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parentPolicyTag_ = b; return b; } else { @@ -278,38 +312,50 @@ public java.lang.String getParentPolicyTag() { } public static final int CHILD_POLICY_TAGS_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList childPolicyTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Output only. Resource names of child policy tags of this policy tag.
    * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the childPolicyTags. */ - public com.google.protobuf.ProtocolStringList - getChildPolicyTagsList() { + public com.google.protobuf.ProtocolStringList getChildPolicyTagsList() { return childPolicyTags_; } /** + * + * *
    * Output only. Resource names of child policy tags of this policy tag.
    * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of childPolicyTags. */ public int getChildPolicyTagsCount() { return childPolicyTags_.size(); } /** + * + * *
    * Output only. Resource names of child policy tags of this policy tag.
    * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The childPolicyTags at the given index. */ @@ -317,20 +363,24 @@ public java.lang.String getChildPolicyTags(int index) { return childPolicyTags_.get(index); } /** + * + * *
    * Output only. Resource names of child policy tags of this policy tag.
    * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the childPolicyTags at the given index. */ - public com.google.protobuf.ByteString - getChildPolicyTagsBytes(int index) { + public com.google.protobuf.ByteString getChildPolicyTagsBytes(int index) { return childPolicyTags_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -342,8 +392,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -396,23 +445,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.datacatalog.v1.PolicyTag)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.PolicyTag other = (com.google.cloud.datacatalog.v1.PolicyTag) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getParentPolicyTag() - .equals(other.getParentPolicyTag())) return false; - if (!getChildPolicyTagsList() - .equals(other.getChildPolicyTagsList())) return false; + com.google.cloud.datacatalog.v1.PolicyTag other = + (com.google.cloud.datacatalog.v1.PolicyTag) obj; + + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getParentPolicyTag().equals(other.getParentPolicyTag())) return false; + if (!getChildPolicyTagsList().equals(other.getChildPolicyTagsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -441,99 +486,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.PolicyTag parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.PolicyTag parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.PolicyTag parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.PolicyTag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.PolicyTag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.PolicyTag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.PolicyTag parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.PolicyTag parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.PolicyTag parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.PolicyTag parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.PolicyTag parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.PolicyTag parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.PolicyTag parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.PolicyTag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.PolicyTag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 policy tag in a taxonomy, for example, SSN.
    *
@@ -551,33 +601,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.PolicyTag}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.PolicyTag)
       com.google.cloud.datacatalog.v1.PolicyTagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_PolicyTag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_PolicyTag_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_PolicyTag_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_PolicyTag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.PolicyTag.class, com.google.cloud.datacatalog.v1.PolicyTag.Builder.class);
+              com.google.cloud.datacatalog.v1.PolicyTag.class,
+              com.google.cloud.datacatalog.v1.PolicyTag.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.PolicyTag.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -586,15 +635,14 @@ public Builder clear() {
       displayName_ = "";
       description_ = "";
       parentPolicyTag_ = "";
-      childPolicyTags_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      childPolicyTags_ = com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_PolicyTag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_PolicyTag_descriptor;
     }
 
     @java.lang.Override
@@ -613,8 +661,11 @@ public com.google.cloud.datacatalog.v1.PolicyTag build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.PolicyTag buildPartial() {
-      com.google.cloud.datacatalog.v1.PolicyTag result = new com.google.cloud.datacatalog.v1.PolicyTag(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.PolicyTag result =
+          new com.google.cloud.datacatalog.v1.PolicyTag(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -643,38 +694,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.PolicyTag result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.PolicyTag) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.PolicyTag)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.PolicyTag) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -739,38 +791,44 @@ 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 34: {
-              parentPolicyTag_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureChildPolicyTagsIsMutable();
-              childPolicyTags_.add(s);
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                parentPolicyTag_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureChildPolicyTagsIsMutable();
+                childPolicyTags_.add(s);
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -780,10 +838,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. Resource name of this policy tag in the URL format.
      *
@@ -791,13 +852,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -806,6 +867,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this policy tag in the URL format.
      *
@@ -813,15 +876,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 { @@ -829,6 +891,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this policy tag in the URL format.
      *
@@ -836,18 +900,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. Resource name of this policy tag in the URL format.
      *
@@ -855,6 +923,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -864,6 +933,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name of this policy tag in the URL format.
      *
@@ -871,12 +942,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; @@ -886,6 +959,8 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Required. User-defined name of this policy tag.
      *
@@ -895,13 +970,13 @@ public Builder setNameBytes(
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -910,6 +985,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. User-defined name of this policy tag.
      *
@@ -919,15 +996,14 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -935,6 +1011,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. User-defined name of this policy tag.
      *
@@ -944,18 +1022,22 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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; } /** + * + * *
      * Required. User-defined name of this policy tag.
      *
@@ -965,6 +1047,7 @@ public Builder setDisplayName(
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -974,6 +1057,8 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Required. User-defined name of this policy tag.
      *
@@ -983,12 +1068,14 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -998,6 +1085,8 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Description of this policy tag. If not set, defaults to empty.
      *
@@ -1007,13 +1096,13 @@ public Builder setDisplayNameBytes(
      * 
* * string description = 3; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1022,6 +1111,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Description of this policy tag. If not set, defaults to empty.
      *
@@ -1031,15 +1122,14 @@ public java.lang.String getDescription() {
      * 
* * string description = 3; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1047,6 +1137,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Description of this policy tag. If not set, defaults to empty.
      *
@@ -1056,18 +1148,22 @@ public java.lang.String getDescription() {
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Description of this policy tag. If not set, defaults to empty.
      *
@@ -1077,6 +1173,7 @@ public Builder setDescription(
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1086,6 +1183,8 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Description of this policy tag. If not set, defaults to empty.
      *
@@ -1095,12 +1194,14 @@ public Builder clearDescription() {
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -1110,6 +1211,8 @@ public Builder setDescriptionBytes( private java.lang.Object parentPolicyTag_ = ""; /** + * + * *
      * Resource name of this policy tag's parent policy tag. If empty, this is a
      * top level tag. If not set, defaults to an empty string.
@@ -1120,13 +1223,13 @@ public Builder setDescriptionBytes(
      * 
* * string parent_policy_tag = 4; + * * @return The parentPolicyTag. */ public java.lang.String getParentPolicyTag() { java.lang.Object ref = parentPolicyTag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentPolicyTag_ = s; return s; @@ -1135,6 +1238,8 @@ public java.lang.String getParentPolicyTag() { } } /** + * + * *
      * Resource name of this policy tag's parent policy tag. If empty, this is a
      * top level tag. If not set, defaults to an empty string.
@@ -1145,15 +1250,14 @@ public java.lang.String getParentPolicyTag() {
      * 
* * string parent_policy_tag = 4; + * * @return The bytes for parentPolicyTag. */ - public com.google.protobuf.ByteString - getParentPolicyTagBytes() { + public com.google.protobuf.ByteString getParentPolicyTagBytes() { java.lang.Object ref = parentPolicyTag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parentPolicyTag_ = b; return b; } else { @@ -1161,6 +1265,8 @@ public java.lang.String getParentPolicyTag() { } } /** + * + * *
      * Resource name of this policy tag's parent policy tag. If empty, this is a
      * top level tag. If not set, defaults to an empty string.
@@ -1171,18 +1277,22 @@ public java.lang.String getParentPolicyTag() {
      * 
* * string parent_policy_tag = 4; + * * @param value The parentPolicyTag to set. * @return This builder for chaining. */ - public Builder setParentPolicyTag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentPolicyTag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parentPolicyTag_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Resource name of this policy tag's parent policy tag. If empty, this is a
      * top level tag. If not set, defaults to an empty string.
@@ -1193,6 +1303,7 @@ public Builder setParentPolicyTag(
      * 
* * string parent_policy_tag = 4; + * * @return This builder for chaining. */ public Builder clearParentPolicyTag() { @@ -1202,6 +1313,8 @@ public Builder clearParentPolicyTag() { return this; } /** + * + * *
      * Resource name of this policy tag's parent policy tag. If empty, this is a
      * top level tag. If not set, defaults to an empty string.
@@ -1212,12 +1325,14 @@ public Builder clearParentPolicyTag() {
      * 
* * string parent_policy_tag = 4; + * * @param value The bytes for parentPolicyTag to set. * @return This builder for chaining. */ - public Builder setParentPolicyTagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentPolicyTagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parentPolicyTag_ = value; bitField0_ |= 0x00000008; @@ -1227,6 +1342,7 @@ public Builder setParentPolicyTagBytes( private com.google.protobuf.LazyStringArrayList childPolicyTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureChildPolicyTagsIsMutable() { if (!childPolicyTags_.isModifiable()) { childPolicyTags_ = new com.google.protobuf.LazyStringArrayList(childPolicyTags_); @@ -1234,35 +1350,46 @@ private void ensureChildPolicyTagsIsMutable() { bitField0_ |= 0x00000010; } /** + * + * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the childPolicyTags. */ - public com.google.protobuf.ProtocolStringList - getChildPolicyTagsList() { + public com.google.protobuf.ProtocolStringList getChildPolicyTagsList() { childPolicyTags_.makeImmutable(); return childPolicyTags_; } /** + * + * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of childPolicyTags. */ public int getChildPolicyTagsCount() { return childPolicyTags_.size(); } /** + * + * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The childPolicyTags at the given index. */ @@ -1270,31 +1397,39 @@ public java.lang.String getChildPolicyTags(int index) { return childPolicyTags_.get(index); } /** + * + * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the childPolicyTags at the given index. */ - public com.google.protobuf.ByteString - getChildPolicyTagsBytes(int index) { + public com.google.protobuf.ByteString getChildPolicyTagsBytes(int index) { return childPolicyTags_.getByteString(index); } /** + * + * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index to set the value at. * @param value The childPolicyTags to set. * @return This builder for chaining. */ - public Builder setChildPolicyTags( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setChildPolicyTags(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureChildPolicyTagsIsMutable(); childPolicyTags_.set(index, value); bitField0_ |= 0x00000010; @@ -1302,17 +1437,22 @@ public Builder setChildPolicyTags( return this; } /** + * + * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The childPolicyTags to add. * @return This builder for chaining. */ - public Builder addChildPolicyTags( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addChildPolicyTags(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureChildPolicyTagsIsMutable(); childPolicyTags_.add(value); bitField0_ |= 0x00000010; @@ -1320,50 +1460,61 @@ public Builder addChildPolicyTags( return this; } /** + * + * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The childPolicyTags to add. * @return This builder for chaining. */ - public Builder addAllChildPolicyTags( - java.lang.Iterable values) { + public Builder addAllChildPolicyTags(java.lang.Iterable values) { ensureChildPolicyTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, childPolicyTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, childPolicyTags_); bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearChildPolicyTags() { - childPolicyTags_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010);; + childPolicyTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + ; onChanged(); return this; } /** + * + * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes of the childPolicyTags to add. * @return This builder for chaining. */ - public Builder addChildPolicyTagsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addChildPolicyTagsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureChildPolicyTagsIsMutable(); childPolicyTags_.add(value); @@ -1371,9 +1522,9 @@ public Builder addChildPolicyTagsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1383,12 +1534,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.PolicyTag) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.PolicyTag) private static final com.google.cloud.datacatalog.v1.PolicyTag DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.PolicyTag(); } @@ -1397,27 +1548,27 @@ public static com.google.cloud.datacatalog.v1.PolicyTag getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PolicyTag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PolicyTag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1432,6 +1583,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.PolicyTag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerProto.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerProto.java new file mode 100644 index 000000000000..cea193eb84aa --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerProto.java @@ -0,0 +1,408 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/policytagmanager.proto + +package com.google.cloud.datacatalog.v1; + +public final class PolicyTagManagerProto { + private PolicyTagManagerProto() {} + + 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_datacatalog_v1_Taxonomy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_Taxonomy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_PolicyTag_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_PolicyTag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n2google/cloud/datacatalog/v1/policytagm" + + "anager.proto\022\033google.cloud.datacatalog.v" + + "1\032\034google/api/annotations.proto\032\027google/" + + "api/client.proto\032\037google/api/field_behav" + + "ior.proto\032\031google/api/resource.proto\032(go" + + "ogle/cloud/datacatalog/v1/common.proto\032," + + "google/cloud/datacatalog/v1/timestamps.p" + + "roto\032\036google/iam/v1/iam_policy.proto\032\032go" + + "ogle/iam/v1/policy.proto\032\033google/protobu" + + "f/empty.proto\032 google/protobuf/field_mas" + + "k.proto\"\362\004\n\010Taxonomy\022\022\n\004name\030\001 \001(\tB\004\342A\001\003" + + "\022\032\n\014display_name\030\002 \001(\tB\004\342A\001\002\022\031\n\013descript" + + "ion\030\003 \001(\tB\004\342A\001\001\022\036\n\020policy_tag_count\030\004 \001(" + + "\005B\004\342A\001\003\022P\n\023taxonomy_timestamps\030\005 \001(\0132-.g" + + "oogle.cloud.datacatalog.v1.SystemTimesta" + + "mpsB\004\342A\001\003\022V\n\026activated_policy_types\030\006 \003(" + + "\01620.google.cloud.datacatalog.v1.Taxonomy" + + ".PolicyTypeB\004\342A\001\001\022D\n\007service\030\007 \001(\0132-.goo" + + "gle.cloud.datacatalog.v1.Taxonomy.Servic" + + "eB\004\342A\001\003\032V\n\007Service\0229\n\004name\030\001 \001(\0162+.googl" + + "e.cloud.datacatalog.v1.ManagingSystem\022\020\n" + + "\010identity\030\002 \001(\t\"J\n\nPolicyType\022\033\n\027POLICY_" + + "TYPE_UNSPECIFIED\020\000\022\037\n\033FINE_GRAINED_ACCES" + + "S_CONTROL\020\001:g\352Ad\n#datacatalog.googleapis" + + ".com/Taxonomy\022=projects/{project}/locati" + + "ons/{location}/taxonomies/{taxonomy}\"\217\002\n" + + "\tPolicyTag\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\032\n\014displa" + + "y_name\030\002 \001(\tB\004\342A\001\002\022\023\n\013description\030\003 \001(\t\022" + + "\031\n\021parent_policy_tag\030\004 \001(\t\022\037\n\021child_poli" + + "cy_tags\030\005 \003(\tB\004\342A\001\003:\200\001\352A}\n$datacatalog.g" + + "oogleapis.com/PolicyTag\022Uprojects/{proje" + + "ct}/locations/{location}/taxonomies/{tax" + + "onomy}/policyTags/{policy_tag}\"\216\001\n\025Creat" + + "eTaxonomyRequest\022<\n\006parent\030\001 \001(\tB,\342A\001\002\372A" + + "%\022#datacatalog.googleapis.com/Taxonomy\0227" + + "\n\010taxonomy\030\002 \001(\0132%.google.cloud.datacata" + + "log.v1.Taxonomy\"S\n\025DeleteTaxonomyRequest" + + "\022:\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#datacatalog.goo" + + "gleapis.com/Taxonomy\"\201\001\n\025UpdateTaxonomyR" + + "equest\0227\n\010taxonomy\030\001 \001(\0132%.google.cloud." + + "datacatalog.v1.Taxonomy\022/\n\013update_mask\030\002" + + " \001(\0132\032.google.protobuf.FieldMask\"\214\001\n\025Lis" + + "tTaxonomiesRequest\022<\n\006parent\030\001 \001(\tB,\342A\001\002" + + "\372A%\022#datacatalog.googleapis.com/Taxonomy" + + "\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022" + + "\016\n\006filter\030\004 \001(\t\"l\n\026ListTaxonomiesRespons" + + "e\0229\n\ntaxonomies\030\001 \003(\0132%.google.cloud.dat" + + "acatalog.v1.Taxonomy\022\027\n\017next_page_token\030" + + "\002 \001(\t\"P\n\022GetTaxonomyRequest\022:\n\004name\030\001 \001(" + + "\tB,\342A\001\002\372A%\n#datacatalog.googleapis.com/T" + + "axonomy\"\223\001\n\026CreatePolicyTagRequest\022=\n\006pa" + + "rent\030\001 \001(\tB-\342A\001\002\372A&\022$datacatalog.googlea" + + "pis.com/PolicyTag\022:\n\npolicy_tag\030\002 \001(\0132&." + + "google.cloud.datacatalog.v1.PolicyTag\"U\n" + + "\026DeletePolicyTagRequest\022;\n\004name\030\001 \001(\tB-\342" + + "A\001\002\372A&\n$datacatalog.googleapis.com/Polic" + + "yTag\"\205\001\n\026UpdatePolicyTagRequest\022:\n\npolic" + + "y_tag\030\001 \001(\0132&.google.cloud.datacatalog.v" + + "1.PolicyTag\022/\n\013update_mask\030\002 \001(\0132\032.googl" + + "e.protobuf.FieldMask\"}\n\025ListPolicyTagsRe" + + "quest\022=\n\006parent\030\001 \001(\tB-\342A\001\002\372A&\022$datacata" + + "log.googleapis.com/PolicyTag\022\021\n\tpage_siz" + + "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"n\n\026ListPolic" + + "yTagsResponse\022;\n\013policy_tags\030\001 \003(\0132&.goo" + + "gle.cloud.datacatalog.v1.PolicyTag\022\027\n\017ne" + + "xt_page_token\030\002 \001(\t\"R\n\023GetPolicyTagReque" + + "st\022;\n\004name\030\001 \001(\tB-\342A\001\002\372A&\n$datacatalog.g" + + "oogleapis.com/PolicyTag2\273\025\n\020PolicyTagMan" + + "ager\022\277\001\n\016CreateTaxonomy\0222.google.cloud.d" + + "atacatalog.v1.CreateTaxonomyRequest\032%.go" + + "ogle.cloud.datacatalog.v1.Taxonomy\"R\332A\017p" + + "arent,taxonomy\202\323\344\223\002:\"./v1/{parent=projec" + + "ts/*/locations/*}/taxonomies:\010taxonomy\022\233" + + "\001\n\016DeleteTaxonomy\0222.google.cloud.datacat" + + "alog.v1.DeleteTaxonomyRequest\032\026.google.p" + + "rotobuf.Empty\"=\332A\004name\202\323\344\223\0020*./v1/{name=" + + "projects/*/locations/*/taxonomies/*}\022\301\001\n" + + "\016UpdateTaxonomy\0222.google.cloud.datacatal" + + "og.v1.UpdateTaxonomyRequest\032%.google.clo" + + "ud.datacatalog.v1.Taxonomy\"T\332A\010taxonomy\202" + + "\323\344\223\002C27/v1/{taxonomy.name=projects/*/loc" + + "ations/*/taxonomies/*}:\010taxonomy\022\272\001\n\016Lis" + + "tTaxonomies\0222.google.cloud.datacatalog.v" + + "1.ListTaxonomiesRequest\0323.google.cloud.d" + + "atacatalog.v1.ListTaxonomiesResponse\"?\332A" + + "\006parent\202\323\344\223\0020\022./v1/{parent=projects/*/lo" + + "cations/*}/taxonomies\022\244\001\n\013GetTaxonomy\022/." + + "google.cloud.datacatalog.v1.GetTaxonomyR" + + "equest\032%.google.cloud.datacatalog.v1.Tax" + + "onomy\"=\332A\004name\202\323\344\223\0020\022./v1/{name=projects" + + "/*/locations/*/taxonomies/*}\022\323\001\n\017CreateP" + + "olicyTag\0223.google.cloud.datacatalog.v1.C" + + "reatePolicyTagRequest\032&.google.cloud.dat" + + "acatalog.v1.PolicyTag\"c\332A\021parent,policy_" + + "tag\202\323\344\223\002I\";/v1/{parent=projects/*/locati" + + "ons/*/taxonomies/*}/policyTags:\npolicy_t" + + "ag\022\252\001\n\017DeletePolicyTag\0223.google.cloud.da" + + "tacatalog.v1.DeletePolicyTagRequest\032\026.go" + + "ogle.protobuf.Empty\"J\332A\004name\202\323\344\223\002=*;/v1/" + + "{name=projects/*/locations/*/taxonomies/" + + "*/policyTags/*}\022\327\001\n\017UpdatePolicyTag\0223.go" + + "ogle.cloud.datacatalog.v1.UpdatePolicyTa" + + "gRequest\032&.google.cloud.datacatalog.v1.P" + + "olicyTag\"g\332A\npolicy_tag\202\323\344\223\002T2F/v1/{poli" + + "cy_tag.name=projects/*/locations/*/taxon" + + "omies/*/policyTags/*}:\npolicy_tag\022\307\001\n\016Li" + + "stPolicyTags\0222.google.cloud.datacatalog." + + "v1.ListPolicyTagsRequest\0323.google.cloud." + + "datacatalog.v1.ListPolicyTagsResponse\"L\332" + + "A\006parent\202\323\344\223\002=\022;/v1/{parent=projects/*/l" + + "ocations/*/taxonomies/*}/policyTags\022\264\001\n\014" + + "GetPolicyTag\0220.google.cloud.datacatalog." + + "v1.GetPolicyTagRequest\032&.google.cloud.da" + + "tacatalog.v1.PolicyTag\"J\332A\004name\202\323\344\223\002=\022;/" + + "v1/{name=projects/*/locations/*/taxonomi" + + "es/*/policyTags/*}\022\352\001\n\014GetIamPolicy\022\".go" + + "ogle.iam.v1.GetIamPolicyRequest\032\025.google" + + ".iam.v1.Policy\"\236\001\202\323\344\223\002\227\001\"?/v1/{resource=" + + "projects/*/locations/*/taxonomies/*}:get" + + "IamPolicy:\001*ZQ\"L/v1/{resource=projects/*" + + "/locations/*/taxonomies/*/policyTags/*}:" + + "getIamPolicy:\001*\022\352\001\n\014SetIamPolicy\022\".googl" + + "e.iam.v1.SetIamPolicyRequest\032\025.google.ia" + + "m.v1.Policy\"\236\001\202\323\344\223\002\227\001\"?/v1/{resource=pro" + + "jects/*/locations/*/taxonomies/*}:setIam" + + "Policy:\001*ZQ\"L/v1/{resource=projects/*/lo" + + "cations/*/taxonomies/*/policyTags/*}:set" + + "IamPolicy:\001*\022\226\002\n\022TestIamPermissions\022(.go" + + "ogle.iam.v1.TestIamPermissionsRequest\032)." + + "google.iam.v1.TestIamPermissionsResponse" + + "\"\252\001\202\323\344\223\002\243\001\"E/v1/{resource=projects/*/loc" + + "ations/*/taxonomies/*}:testIamPermission" + + "s:\001*ZW\"R/v1/{resource=projects/*/locatio" + + "ns/*/taxonomies/*/policyTags/*}:testIamP" + + "ermissions:\001*\032N\312A\032datacatalog.googleapis" + + ".com\322A.https://www.googleapis.com/auth/c" + + "loud-platformB\335\001\n\037com.google.cloud.datac" + + "atalog.v1B\025PolicyTagManagerProtoP\001ZAclou" + + "d.google.com/go/datacatalog/apiv1/dataca" + + "talogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud." + + "DataCatalog.V1\312\002\033Google\\Cloud\\DataCatalo" + + "g\\V1\352\002\036Google::Cloud::DataCatalog::V1b\006p" + + "roto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.datacatalog.v1.Common.getDescriptor(), + com.google.cloud.datacatalog.v1.Timestamps.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1_Taxonomy_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1_Taxonomy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_Taxonomy_descriptor, + new java.lang.String[] { + "Name", + "DisplayName", + "Description", + "PolicyTagCount", + "TaxonomyTimestamps", + "ActivatedPolicyTypes", + "Service", + }); + internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_descriptor = + internal_static_google_cloud_datacatalog_v1_Taxonomy_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_descriptor, + new java.lang.String[] { + "Name", "Identity", + }); + internal_static_google_cloud_datacatalog_v1_PolicyTag_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1_PolicyTag_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_PolicyTag_descriptor, + new java.lang.String[] { + "Name", "DisplayName", "Description", "ParentPolicyTag", "ChildPolicyTags", + }); + internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_descriptor, + new java.lang.String[] { + "Parent", "Taxonomy", + }); + internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_descriptor, + new java.lang.String[] { + "Taxonomy", "UpdateMask", + }); + internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", + }); + internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_descriptor, + new java.lang.String[] { + "Taxonomies", "NextPageToken", + }); + internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_descriptor, + new java.lang.String[] { + "Parent", "PolicyTag", + }); + internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_descriptor, + new java.lang.String[] { + "PolicyTag", "UpdateMask", + }); + internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_descriptor, + new java.lang.String[] { + "PolicyTags", "NextPageToken", + }); + internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.datacatalog.v1.Common.getDescriptor(); + com.google.cloud.datacatalog.v1.Timestamps.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationProto.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationProto.java new file mode 100644 index 000000000000..48c84d1e0cfc --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationProto.java @@ -0,0 +1,240 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto + +package com.google.cloud.datacatalog.v1; + +public final class PolicyTagManagerSerializationProto { + private PolicyTagManagerSerializationProto() {} + + 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_datacatalog_v1_SerializedTaxonomy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_InlineSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_InlineSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_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/datacatalog/v1/policytagm" + + "anagerserialization.proto\022\033google.cloud." + + "datacatalog.v1\032\034google/api/annotations.p" + + "roto\032\027google/api/client.proto\032\037google/ap" + + "i/field_behavior.proto\032\031google/api/resou" + + "rce.proto\0322google/cloud/datacatalog/v1/p" + + "olicytagmanager.proto\"\336\001\n\022SerializedTaxo" + + "nomy\022\032\n\014display_name\030\001 \001(\tB\004\342A\001\002\022\023\n\013desc" + + "ription\030\002 \001(\t\022E\n\013policy_tags\030\003 \003(\01320.goo" + + "gle.cloud.datacatalog.v1.SerializedPolic" + + "yTag\022P\n\026activated_policy_types\030\004 \003(\01620.g" + + "oogle.cloud.datacatalog.v1.Taxonomy.Poli" + + "cyType\"\247\001\n\023SerializedPolicyTag\022\022\n\npolicy" + + "_tag\030\001 \001(\t\022\032\n\014display_name\030\002 \001(\tB\004\342A\001\002\022\023" + + "\n\013description\030\003 \001(\t\022K\n\021child_policy_tags" + + "\030\004 \003(\01320.google.cloud.datacatalog.v1.Ser" + + "ializedPolicyTag\"\250\001\n\026ReplaceTaxonomyRequ" + + "est\022:\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#datacatalog." + + "googleapis.com/Taxonomy\022R\n\023serialized_ta" + + "xonomy\030\002 \001(\0132/.google.cloud.datacatalog." + + "v1.SerializedTaxonomyB\004\342A\001\002\"\370\001\n\027ImportTa" + + "xonomiesRequest\022<\n\006parent\030\001 \001(\tB,\342A\001\002\372A%" + + "\022#datacatalog.googleapis.com/Taxonomy\022B\n" + + "\rinline_source\030\002 \001(\0132).google.cloud.data" + + "catalog.v1.InlineSourceH\000\022Q\n\025cross_regio" + + "nal_source\030\003 \001(\01320.google.cloud.datacata" + + "log.v1.CrossRegionalSourceH\000B\010\n\006source\"Y" + + "\n\014InlineSource\022I\n\ntaxonomies\030\001 \003(\0132/.goo" + + "gle.cloud.datacatalog.v1.SerializedTaxon" + + "omyB\004\342A\001\002\"U\n\023CrossRegionalSource\022>\n\010taxo" + + "nomy\030\001 \001(\tB,\342A\001\002\372A%\n#datacatalog.googlea" + + "pis.com/Taxonomy\"U\n\030ImportTaxonomiesResp" + + "onse\0229\n\ntaxonomies\030\001 \003(\0132%.google.cloud." + + "datacatalog.v1.Taxonomy\"\311\001\n\027ExportTaxono" + + "miesRequest\022<\n\006parent\030\001 \001(\tB,\342A\001\002\372A%\022#da" + + "tacatalog.googleapis.com/Taxonomy\022@\n\ntax" + + "onomies\030\002 \003(\tB,\342A\001\002\372A%\n#datacatalog.goog" + + "leapis.com/Taxonomy\022\037\n\025serialized_taxono" + + "mies\030\003 \001(\010H\000B\r\n\013destination\"_\n\030ExportTax" + + "onomiesResponse\022C\n\ntaxonomies\030\001 \003(\0132/.go" + + "ogle.cloud.datacatalog.v1.SerializedTaxo" + + "nomy2\247\005\n\035PolicyTagManagerSerialization\022\260" + + "\001\n\017ReplaceTaxonomy\0223.google.cloud.dataca" + + "talog.v1.ReplaceTaxonomyRequest\032%.google" + + ".cloud.datacatalog.v1.Taxonomy\"A\202\323\344\223\002;\"6" + + "/v1/{name=projects/*/locations/*/taxonom" + + "ies/*}:replace:\001*\022\301\001\n\020ImportTaxonomies\0224" + + ".google.cloud.datacatalog.v1.ImportTaxon" + + "omiesRequest\0325.google.cloud.datacatalog." + + "v1.ImportTaxonomiesResponse\"@\202\323\344\223\002:\"5/v1" + + "/{parent=projects/*/locations/*}/taxonom" + + "ies:import:\001*\022\276\001\n\020ExportTaxonomies\0224.goo" + + "gle.cloud.datacatalog.v1.ExportTaxonomie" + + "sRequest\0325.google.cloud.datacatalog.v1.E" + + "xportTaxonomiesResponse\"=\202\323\344\223\0027\0225/v1/{pa" + + "rent=projects/*/locations/*}/taxonomies:" + + "export\032N\312A\032datacatalog.googleapis.com\322A." + + "https://www.googleapis.com/auth/cloud-pl" + + "atformB\352\001\n\037com.google.cloud.datacatalog." + + "v1B\"PolicyTagManagerSerializationProtoP\001" + + "ZAcloud.google.com/go/datacatalog/apiv1/" + + "datacatalogpb;datacatalogpb\370\001\001\252\002\033Google." + + "Cloud.DataCatalog.V1\312\002\033Google\\Cloud\\Data" + + "Catalog\\V1\352\002\036Google::Cloud::DataCatalog:" + + ":V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.datacatalog.v1.PolicyTagManagerProto.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_descriptor, + new java.lang.String[] { + "DisplayName", "Description", "PolicyTags", "ActivatedPolicyTypes", + }); + internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_descriptor, + new java.lang.String[] { + "PolicyTag", "DisplayName", "Description", "ChildPolicyTags", + }); + internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_descriptor, + new java.lang.String[] { + "Name", "SerializedTaxonomy", + }); + internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_descriptor, + new java.lang.String[] { + "Parent", "InlineSource", "CrossRegionalSource", "Source", + }); + internal_static_google_cloud_datacatalog_v1_InlineSource_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_datacatalog_v1_InlineSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_InlineSource_descriptor, + new java.lang.String[] { + "Taxonomies", + }); + internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_descriptor, + new java.lang.String[] { + "Taxonomy", + }); + internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_descriptor, + new java.lang.String[] { + "Taxonomies", + }); + internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_descriptor, + new java.lang.String[] { + "Parent", "Taxonomies", "SerializedTaxonomies", "Destination", + }); + internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_descriptor, + new java.lang.String[] { + "Taxonomies", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + 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.datacatalog.v1.PolicyTagManagerProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagName.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagName.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagName.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagName.java diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagOrBuilder.java similarity index 77% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagOrBuilder.java index 320e7c03025c..14101711c368 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagOrBuilder.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/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; -public interface PolicyTagOrBuilder extends +public interface PolicyTagOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.PolicyTag) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name of this policy tag in the URL format.
    *
@@ -15,10 +33,13 @@ public interface PolicyTagOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name of this policy tag in the URL format.
    *
@@ -26,12 +47,14 @@ public interface PolicyTagOrBuilder 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(); /** + * + * *
    * Required. User-defined name of this policy tag.
    *
@@ -41,10 +64,13 @@ public interface PolicyTagOrBuilder extends
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. User-defined name of this policy tag.
    *
@@ -54,12 +80,14 @@ public interface PolicyTagOrBuilder extends
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Description of this policy tag. If not set, defaults to empty.
    *
@@ -69,10 +97,13 @@ public interface PolicyTagOrBuilder extends
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Description of this policy tag. If not set, defaults to empty.
    *
@@ -82,12 +113,14 @@ public interface PolicyTagOrBuilder extends
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Resource name of this policy tag's parent policy tag. If empty, this is a
    * top level tag. If not set, defaults to an empty string.
@@ -98,10 +131,13 @@ public interface PolicyTagOrBuilder extends
    * 
* * string parent_policy_tag = 4; + * * @return The parentPolicyTag. */ java.lang.String getParentPolicyTag(); /** + * + * *
    * Resource name of this policy tag's parent policy tag. If empty, this is a
    * top level tag. If not set, defaults to an empty string.
@@ -112,49 +148,63 @@ public interface PolicyTagOrBuilder extends
    * 
* * string parent_policy_tag = 4; + * * @return The bytes for parentPolicyTag. */ - com.google.protobuf.ByteString - getParentPolicyTagBytes(); + com.google.protobuf.ByteString getParentPolicyTagBytes(); /** + * + * *
    * Output only. Resource names of child policy tags of this policy tag.
    * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the childPolicyTags. */ - java.util.List - getChildPolicyTagsList(); + java.util.List getChildPolicyTagsList(); /** + * + * *
    * Output only. Resource names of child policy tags of this policy tag.
    * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of childPolicyTags. */ int getChildPolicyTagsCount(); /** + * + * *
    * Output only. Resource names of child policy tags of this policy tag.
    * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The childPolicyTags at the given index. */ java.lang.String getChildPolicyTags(int index); /** + * + * *
    * Output only. Resource names of child policy tags of this policy tag.
    * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the childPolicyTags at the given index. */ - com.google.protobuf.ByteString - getChildPolicyTagsBytes(int index); + com.google.protobuf.ByteString getChildPolicyTagsBytes(int index); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadata.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadata.java similarity index 63% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadata.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadata.java index 178bf07b6dfc..91ff8cd295bb 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadata.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadata.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * [Long-running operation][google.longrunning.Operation]
  * metadata message returned by the
@@ -12,61 +29,65 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ReconcileTagsMetadata}
  */
-public final class ReconcileTagsMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ReconcileTagsMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ReconcileTagsMetadata)
     ReconcileTagsMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ReconcileTagsMetadata.newBuilder() to construct.
   private ReconcileTagsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ReconcileTagsMetadata() {
     state_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ReconcileTagsMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_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 2:
         return internalGetErrors();
       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.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.class, com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.Builder.class);
+            com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.class,
+            com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Enum holding possible states of the reconciliation operation.
    * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState} */ - public enum ReconciliationState - implements com.google.protobuf.ProtocolMessageEnum { + public enum ReconciliationState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value. This value is unused.
      * 
@@ -75,6 +96,8 @@ public enum ReconciliationState */ RECONCILIATION_STATE_UNSPECIFIED(0), /** + * + * *
      * The reconciliation has been queued and awaits for execution.
      * 
@@ -83,6 +106,8 @@ public enum ReconciliationState */ RECONCILIATION_QUEUED(1), /** + * + * *
      * The reconciliation is in progress.
      * 
@@ -91,6 +116,8 @@ public enum ReconciliationState */ RECONCILIATION_IN_PROGRESS(2), /** + * + * *
      * The reconciliation has been finished.
      * 
@@ -102,6 +129,8 @@ public enum ReconciliationState ; /** + * + * *
      * Default value. This value is unused.
      * 
@@ -110,6 +139,8 @@ public enum ReconciliationState */ public static final int RECONCILIATION_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The reconciliation has been queued and awaits for execution.
      * 
@@ -118,6 +149,8 @@ public enum ReconciliationState */ public static final int RECONCILIATION_QUEUED_VALUE = 1; /** + * + * *
      * The reconciliation is in progress.
      * 
@@ -126,6 +159,8 @@ public enum ReconciliationState */ public static final int RECONCILIATION_IN_PROGRESS_VALUE = 2; /** + * + * *
      * The reconciliation has been finished.
      * 
@@ -134,7 +169,6 @@ public enum ReconciliationState */ public static final int RECONCILIATION_DONE_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -159,11 +193,16 @@ public static ReconciliationState valueOf(int value) { */ public static ReconciliationState forNumber(int value) { switch (value) { - case 0: return RECONCILIATION_STATE_UNSPECIFIED; - case 1: return RECONCILIATION_QUEUED; - case 2: return RECONCILIATION_IN_PROGRESS; - case 3: return RECONCILIATION_DONE; - default: return null; + case 0: + return RECONCILIATION_STATE_UNSPECIFIED; + case 1: + return RECONCILIATION_QUEUED; + case 2: + return RECONCILIATION_IN_PROGRESS; + case 3: + return RECONCILIATION_DONE; + default: + return null; } } @@ -171,29 +210,31 @@ public static ReconciliationState forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ReconciliationState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ReconciliationState findValueByNumber(int number) { - return ReconciliationState.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 ReconciliationState findValueByNumber(int number) { + return ReconciliationState.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.datacatalog.v1.ReconcileTagsMetadata.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.getDescriptor() + .getEnumTypes() + .get(0); } private static final ReconciliationState[] VALUES = values(); @@ -201,8 +242,7 @@ public ReconciliationState findValueByNumber(int number) { public static ReconciliationState 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,56 +262,72 @@ private ReconciliationState(int value) { public static final int STATE_FIELD_NUMBER = 1; private int state_ = 0; /** + * + * *
    * State of the reconciliation operation.
    * 
* * .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState 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_; } /** + * + * *
    * State of the reconciliation operation.
    * 
* * .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState state = 1; + * * @return The state. */ - @java.lang.Override public com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState getState() { - com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState result = com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState.forNumber(state_); - return result == null ? com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState getState() { + com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState result = + com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState.forNumber(state_); + return result == null + ? com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState.UNRECOGNIZED + : result; } public static final int ERRORS_FIELD_NUMBER = 2; + private static final class ErrorsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, com.google.rpc.Status> defaultEntry = + static final com.google.protobuf.MapEntry + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_ErrorsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.rpc.Status.getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_ErrorsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.rpc.Status.getDefaultInstance()); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, com.google.rpc.Status> errors_; + private com.google.protobuf.MapField errors_; + private com.google.protobuf.MapField - internalGetErrors() { + internalGetErrors() { if (errors_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ErrorsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(ErrorsDefaultEntryHolder.defaultEntry); } return errors_; } + public int getErrorsCount() { return internalGetErrors().getMap().size(); } /** + * + * *
    * Maps the name of each tagged column (or empty string for a
    * sole entry) to tagging operation [status][google.rpc.Status].
@@ -280,20 +336,21 @@ public int getErrorsCount() {
    * map<string, .google.rpc.Status> errors = 2;
    */
   @java.lang.Override
-  public boolean containsErrors(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsErrors(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetErrors().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getErrorsMap()} instead.
-   */
+  /** Use {@link #getErrorsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getErrors() {
     return getErrorsMap();
   }
   /**
+   *
+   *
    * 
    * Maps the name of each tagged column (or empty string for a
    * sole entry) to tagging operation [status][google.rpc.Status].
@@ -306,6 +363,8 @@ public java.util.Map getErrorsMap() {
     return internalGetErrors().getMap();
   }
   /**
+   *
+   *
    * 
    * Maps the name of each tagged column (or empty string for a
    * sole entry) to tagging operation [status][google.rpc.Status].
@@ -314,17 +373,19 @@ public java.util.Map getErrorsMap() {
    * map<string, .google.rpc.Status> errors = 2;
    */
   @java.lang.Override
-  public /* nullable */
-com.google.rpc.Status getErrorsOrDefault(
+  public /* nullable */ com.google.rpc.Status getErrorsOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.rpc.Status defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetErrors().getMap();
+      com.google.rpc.Status defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetErrors().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Maps the name of each tagged column (or empty string for a
    * sole entry) to tagging operation [status][google.rpc.Status].
@@ -333,11 +394,11 @@ com.google.rpc.Status getErrorsOrDefault(
    * map<string, .google.rpc.Status> errors = 2;
    */
   @java.lang.Override
-  public com.google.rpc.Status getErrorsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetErrors().getMap();
+  public com.google.rpc.Status getErrorsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetErrors().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -345,6 +406,7 @@ public com.google.rpc.Status getErrorsOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -356,17 +418,15 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
-    if (state_ != com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState.RECONCILIATION_STATE_UNSPECIFIED.getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    if (state_
+        != com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState
+            .RECONCILIATION_STATE_UNSPECIFIED
+            .getNumber()) {
       output.writeEnum(1, state_);
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetErrors(),
-        ErrorsDefaultEntryHolder.defaultEntry,
-        2);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetErrors(), ErrorsDefaultEntryHolder.defaultEntry, 2);
     getUnknownFields().writeTo(output);
   }
 
@@ -376,19 +436,21 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (state_ != com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState.RECONCILIATION_STATE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(1, state_);
+    if (state_
+        != com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState
+            .RECONCILIATION_STATE_UNSPECIFIED
+            .getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_);
     }
-    for (java.util.Map.Entry entry
-         : internalGetErrors().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      errors__ = ErrorsDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, errors__);
+    for (java.util.Map.Entry entry :
+        internalGetErrors().getMap().entrySet()) {
+      com.google.protobuf.MapEntry errors__ =
+          ErrorsDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors__);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -398,16 +460,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.datacatalog.v1.ReconcileTagsMetadata)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1.ReconcileTagsMetadata other = (com.google.cloud.datacatalog.v1.ReconcileTagsMetadata) obj;
+    com.google.cloud.datacatalog.v1.ReconcileTagsMetadata other =
+        (com.google.cloud.datacatalog.v1.ReconcileTagsMetadata) obj;
 
     if (state_ != other.state_) return false;
-    if (!internalGetErrors().equals(
-        other.internalGetErrors())) return false;
+    if (!internalGetErrors().equals(other.internalGetErrors())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -431,98 +493,104 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1.ReconcileTagsMetadata parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.ReconcileTagsMetadata parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.ReconcileTagsMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.ReconcileTagsMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.ReconcileTagsMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.ReconcileTagsMetadata parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.datacatalog.v1.ReconcileTagsMetadata parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.datacatalog.v1.ReconcileTagsMetadata parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1.ReconcileTagsMetadata parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1.ReconcileTagsMetadata parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.ReconcileTagsMetadata parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1.ReconcileTagsMetadata parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.ReconcileTagsMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1.ReconcileTagsMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.datacatalog.v1.ReconcileTagsMetadata prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.datacatalog.v1.ReconcileTagsMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * [Long-running operation][google.longrunning.Operation]
    * metadata message returned by the
@@ -531,55 +599,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ReconcileTagsMetadata}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ReconcileTagsMetadata)
       com.google.cloud.datacatalog.v1.ReconcileTagsMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 2:
           return internalGetErrors();
         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 2:
           return internalGetMutableErrors();
         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.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.class, com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.Builder.class);
+              com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.class,
+              com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -590,9 +655,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -611,8 +676,11 @@ public com.google.cloud.datacatalog.v1.ReconcileTagsMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ReconcileTagsMetadata buildPartial() {
-      com.google.cloud.datacatalog.v1.ReconcileTagsMetadata result = new com.google.cloud.datacatalog.v1.ReconcileTagsMetadata(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.ReconcileTagsMetadata result =
+          new com.google.cloud.datacatalog.v1.ReconcileTagsMetadata(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -632,38 +700,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ReconcileTagsMetadata
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ReconcileTagsMetadata) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ReconcileTagsMetadata)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ReconcileTagsMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -671,12 +740,12 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ReconcileTagsMetadata other) {
-      if (other == com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.getDefaultInstance())
+        return this;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
       }
-      internalGetMutableErrors().mergeFrom(
-          other.internalGetErrors());
+      internalGetMutableErrors().mergeFrom(other.internalGetErrors());
       bitField0_ |= 0x00000002;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -704,26 +773,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 18: {
-              com.google.protobuf.MapEntry
-              errors__ = input.readMessage(
-                  ErrorsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableErrors().getMutableMap().put(
-                  errors__.getKey(), errors__.getValue());
-              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:
+              {
+                com.google.protobuf.MapEntry errors__ =
+                    input.readMessage(
+                        ErrorsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableErrors()
+                    .getMutableMap()
+                    .put(errors__.getKey(), errors__.getValue());
+                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) {
@@ -733,26 +807,36 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private int state_ = 0;
     /**
+     *
+     *
      * 
      * State of the reconciliation operation.
      * 
* - * .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState state = 1; + * .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState 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_; } /** + * + * *
      * State of the reconciliation operation.
      * 
* - * .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState state = 1; + * .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState state = 1; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -763,28 +847,41 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * State of the reconciliation operation.
      * 
* - * .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState state = 1; + * .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState state = 1; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState getState() { - com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState result = com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState.forNumber(state_); - return result == null ? com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState.UNRECOGNIZED : result; + com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState result = + com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState.forNumber( + state_); + return result == null + ? com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState.UNRECOGNIZED + : result; } /** + * + * *
      * State of the reconciliation operation.
      * 
* - * .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState state = 1; + * .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState state = 1; + * + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState(com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState value) { + public Builder setState( + com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState value) { if (value == null) { throw new NullPointerException(); } @@ -794,11 +891,15 @@ public Builder setState(com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.Re return this; } /** + * + * *
      * State of the reconciliation operation.
      * 
* - * .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState state = 1; + * .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState state = 1; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -808,21 +909,20 @@ public Builder clearState() { return this; } - private com.google.protobuf.MapField< - java.lang.String, com.google.rpc.Status> errors_; + private com.google.protobuf.MapField errors_; + private com.google.protobuf.MapField internalGetErrors() { if (errors_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ErrorsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(ErrorsDefaultEntryHolder.defaultEntry); } return errors_; } + private com.google.protobuf.MapField internalGetMutableErrors() { if (errors_ == null) { - errors_ = com.google.protobuf.MapField.newMapField( - ErrorsDefaultEntryHolder.defaultEntry); + errors_ = com.google.protobuf.MapField.newMapField(ErrorsDefaultEntryHolder.defaultEntry); } if (!errors_.isMutable()) { errors_ = errors_.copy(); @@ -831,10 +931,13 @@ public Builder clearState() { onChanged(); return errors_; } + public int getErrorsCount() { return internalGetErrors().getMap().size(); } /** + * + * *
      * Maps the name of each tagged column (or empty string for a
      * sole entry) to tagging operation [status][google.rpc.Status].
@@ -843,20 +946,21 @@ public int getErrorsCount() {
      * map<string, .google.rpc.Status> errors = 2;
      */
     @java.lang.Override
-    public boolean containsErrors(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsErrors(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetErrors().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getErrorsMap()} instead.
-     */
+    /** Use {@link #getErrorsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getErrors() {
       return getErrorsMap();
     }
     /**
+     *
+     *
      * 
      * Maps the name of each tagged column (or empty string for a
      * sole entry) to tagging operation [status][google.rpc.Status].
@@ -869,6 +973,8 @@ public java.util.Map getErrorsMap() {
       return internalGetErrors().getMap();
     }
     /**
+     *
+     *
      * 
      * Maps the name of each tagged column (or empty string for a
      * sole entry) to tagging operation [status][google.rpc.Status].
@@ -877,17 +983,19 @@ public java.util.Map getErrorsMap() {
      * map<string, .google.rpc.Status> errors = 2;
      */
     @java.lang.Override
-    public /* nullable */
-com.google.rpc.Status getErrorsOrDefault(
+    public /* nullable */ com.google.rpc.Status getErrorsOrDefault(
         java.lang.String key,
         /* nullable */
-com.google.rpc.Status defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetErrors().getMap();
+        com.google.rpc.Status defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetErrors().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Maps the name of each tagged column (or empty string for a
      * sole entry) to tagging operation [status][google.rpc.Status].
@@ -896,23 +1004,25 @@ com.google.rpc.Status getErrorsOrDefault(
      * map<string, .google.rpc.Status> errors = 2;
      */
     @java.lang.Override
-    public com.google.rpc.Status getErrorsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetErrors().getMap();
+    public com.google.rpc.Status getErrorsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetErrors().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearErrors() {
       bitField0_ = (bitField0_ & ~0x00000002);
-      internalGetMutableErrors().getMutableMap()
-          .clear();
+      internalGetMutableErrors().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Maps the name of each tagged column (or empty string for a
      * sole entry) to tagging operation [status][google.rpc.Status].
@@ -920,23 +1030,22 @@ public Builder clearErrors() {
      *
      * map<string, .google.rpc.Status> errors = 2;
      */
-    public Builder removeErrors(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableErrors().getMutableMap()
-          .remove(key);
+    public Builder removeErrors(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableErrors().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableErrors() {
+    public java.util.Map getMutableErrors() {
       bitField0_ |= 0x00000002;
       return internalGetMutableErrors().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Maps the name of each tagged column (or empty string for a
      * sole entry) to tagging operation [status][google.rpc.Status].
@@ -944,17 +1053,20 @@ public Builder removeErrors(
      *
      * map<string, .google.rpc.Status> errors = 2;
      */
-    public Builder putErrors(
-        java.lang.String key,
-        com.google.rpc.Status value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableErrors().getMutableMap()
-          .put(key, value);
+    public Builder putErrors(java.lang.String key, com.google.rpc.Status value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableErrors().getMutableMap().put(key, value);
       bitField0_ |= 0x00000002;
       return this;
     }
     /**
+     *
+     *
      * 
      * Maps the name of each tagged column (or empty string for a
      * sole entry) to tagging operation [status][google.rpc.Status].
@@ -962,16 +1074,14 @@ public Builder putErrors(
      *
      * map<string, .google.rpc.Status> errors = 2;
      */
-    public Builder putAllErrors(
-        java.util.Map values) {
-      internalGetMutableErrors().getMutableMap()
-          .putAll(values);
+    public Builder putAllErrors(java.util.Map values) {
+      internalGetMutableErrors().getMutableMap().putAll(values);
       bitField0_ |= 0x00000002;
       return this;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -981,12 +1091,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ReconcileTagsMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ReconcileTagsMetadata)
   private static final com.google.cloud.datacatalog.v1.ReconcileTagsMetadata DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ReconcileTagsMetadata();
   }
@@ -995,27 +1105,27 @@ public static com.google.cloud.datacatalog.v1.ReconcileTagsMetadata getDefaultIn
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ReconcileTagsMetadata parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ReconcileTagsMetadata parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1030,6 +1140,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1.ReconcileTagsMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadataOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadataOrBuilder.java
similarity index 65%
rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadataOrBuilder.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadataOrBuilder.java
index 141cab5c0f89..29b9c0082c27 100644
--- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadataOrBuilder.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadataOrBuilder.java
@@ -1,32 +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/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
-public interface ReconcileTagsMetadataOrBuilder extends
+public interface ReconcileTagsMetadataOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ReconcileTagsMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * State of the reconciliation operation.
    * 
* * .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState state = 1; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * State of the reconciliation operation.
    * 
* * .google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState state = 1; + * * @return The state. */ com.google.cloud.datacatalog.v1.ReconcileTagsMetadata.ReconciliationState getState(); /** + * + * *
    * Maps the name of each tagged column (or empty string for a
    * sole entry) to tagging operation [status][google.rpc.Status].
@@ -36,6 +60,8 @@ public interface ReconcileTagsMetadataOrBuilder extends
    */
   int getErrorsCount();
   /**
+   *
+   *
    * 
    * Maps the name of each tagged column (or empty string for a
    * sole entry) to tagging operation [status][google.rpc.Status].
@@ -43,15 +69,13 @@ public interface ReconcileTagsMetadataOrBuilder extends
    *
    * map<string, .google.rpc.Status> errors = 2;
    */
-  boolean containsErrors(
-      java.lang.String key);
-  /**
-   * Use {@link #getErrorsMap()} instead.
-   */
+  boolean containsErrors(java.lang.String key);
+  /** Use {@link #getErrorsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getErrors();
+  java.util.Map getErrors();
   /**
+   *
+   *
    * 
    * Maps the name of each tagged column (or empty string for a
    * sole entry) to tagging operation [status][google.rpc.Status].
@@ -59,9 +83,10 @@ boolean containsErrors(
    *
    * map<string, .google.rpc.Status> errors = 2;
    */
-  java.util.Map
-  getErrorsMap();
+  java.util.Map getErrorsMap();
   /**
+   *
+   *
    * 
    * Maps the name of each tagged column (or empty string for a
    * sole entry) to tagging operation [status][google.rpc.Status].
@@ -70,11 +95,13 @@ boolean containsErrors(
    * map<string, .google.rpc.Status> errors = 2;
    */
   /* nullable */
-com.google.rpc.Status getErrorsOrDefault(
+  com.google.rpc.Status getErrorsOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.rpc.Status defaultValue);
+      com.google.rpc.Status defaultValue);
   /**
+   *
+   *
    * 
    * Maps the name of each tagged column (or empty string for a
    * sole entry) to tagging operation [status][google.rpc.Status].
@@ -82,6 +109,5 @@ com.google.rpc.Status getErrorsOrDefault(
    *
    * map<string, .google.rpc.Status> errors = 2;
    */
-  com.google.rpc.Status getErrorsOrThrow(
-      java.lang.String key);
+  com.google.rpc.Status getErrorsOrThrow(java.lang.String key);
 }
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequest.java
similarity index 71%
rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequest.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequest.java
index 1b8baa7b65fe..68010c4da572 100644
--- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequest.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequest.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/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
 /**
+ *
+ *
  * 
  * Request message for
  * [ReconcileTags][google.cloud.datacatalog.v1.DataCatalog.ReconcileTags].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ReconcileTagsRequest}
  */
-public final class ReconcileTagsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ReconcileTagsRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ReconcileTagsRequest)
     ReconcileTagsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ReconcileTagsRequest.newBuilder() to construct.
   private ReconcileTagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ReconcileTagsRequest() {
     parent_ = "";
     tagTemplate_ = "";
@@ -28,33 +46,40 @@ private ReconcileTagsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ReconcileTagsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ReconcileTagsRequest.class, com.google.cloud.datacatalog.v1.ReconcileTagsRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.ReconcileTagsRequest.class,
+            com.google.cloud.datacatalog.v1.ReconcileTagsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. Name of [Entry][google.cloud.datacatalog.v1.Entry] to be tagged.
    * 
* - * string parent = 1 [(.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,29 +88,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. Name of [Entry][google.cloud.datacatalog.v1.Entry] to be tagged.
    * 
* - * string parent = 1 [(.google.api.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,20 @@ public java.lang.String getParent() { } public static final int TAG_TEMPLATE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object tagTemplate_ = ""; /** + * + * *
    * Required. The name of the tag template, which is used for reconciliation.
    * 
* - * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The tagTemplate. */ @java.lang.Override @@ -110,29 +143,31 @@ public java.lang.String getTagTemplate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagTemplate_ = s; return s; } } /** + * + * *
    * Required. The name of the tag template, which is used for reconciliation.
    * 
* - * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for tagTemplate. */ @java.lang.Override - public com.google.protobuf.ByteString - getTagTemplateBytes() { + public com.google.protobuf.ByteString getTagTemplateBytes() { java.lang.Object ref = tagTemplate_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagTemplate_ = b; return b; } else { @@ -143,6 +178,8 @@ public java.lang.String getTagTemplate() { public static final int FORCE_DELETE_MISSING_FIELD_NUMBER = 3; private boolean forceDeleteMissing_ = false; /** + * + * *
    * If set to `true`, deletes entry tags related to a tag template
    * not listed in the tags source from an entry. If set to `false`,
@@ -150,6 +187,7 @@ public java.lang.String getTagTemplate() {
    * 
* * bool force_delete_missing = 3; + * * @return The forceDeleteMissing. */ @java.lang.Override @@ -158,9 +196,12 @@ public boolean getForceDeleteMissing() { } public static final int TAGS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private java.util.List tags_; /** + * + * *
    * A list of tags to apply to an entry. A tag can specify a
    * tag template, which must be the template specified in the
@@ -175,6 +216,8 @@ public java.util.List getTagsList() {
     return tags_;
   }
   /**
+   *
+   *
    * 
    * A list of tags to apply to an entry. A tag can specify a
    * tag template, which must be the template specified in the
@@ -185,11 +228,13 @@ public java.util.List getTagsList() {
    * repeated .google.cloud.datacatalog.v1.Tag tags = 4;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getTagsOrBuilderList() {
     return tags_;
   }
   /**
+   *
+   *
    * 
    * A list of tags to apply to an entry. A tag can specify a
    * tag template, which must be the template specified in the
@@ -204,6 +249,8 @@ public int getTagsCount() {
     return tags_.size();
   }
   /**
+   *
+   *
    * 
    * A list of tags to apply to an entry. A tag can specify a
    * tag template, which must be the template specified in the
@@ -218,6 +265,8 @@ public com.google.cloud.datacatalog.v1.Tag getTags(int index) {
     return tags_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of tags to apply to an entry. A tag can specify a
    * tag template, which must be the template specified in the
@@ -228,12 +277,12 @@ public com.google.cloud.datacatalog.v1.Tag getTags(int index) {
    * repeated .google.cloud.datacatalog.v1.Tag tags = 4;
    */
   @java.lang.Override
-  public com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder(
-      int index) {
+  public com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder(int index) {
     return tags_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -245,8 +294,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -275,12 +323,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tagTemplate_);
     }
     if (forceDeleteMissing_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(3, forceDeleteMissing_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, forceDeleteMissing_);
     }
     for (int i = 0; i < tags_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, tags_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, tags_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -290,21 +336,18 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.datacatalog.v1.ReconcileTagsRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1.ReconcileTagsRequest other = (com.google.cloud.datacatalog.v1.ReconcileTagsRequest) obj;
+    com.google.cloud.datacatalog.v1.ReconcileTagsRequest other =
+        (com.google.cloud.datacatalog.v1.ReconcileTagsRequest) obj;
 
-    if (!getParent()
-        .equals(other.getParent())) return false;
-    if (!getTagTemplate()
-        .equals(other.getTagTemplate())) return false;
-    if (getForceDeleteMissing()
-        != other.getForceDeleteMissing()) return false;
-    if (!getTagsList()
-        .equals(other.getTagsList())) return false;
+    if (!getParent().equals(other.getParent())) return false;
+    if (!getTagTemplate().equals(other.getTagTemplate())) return false;
+    if (getForceDeleteMissing() != other.getForceDeleteMissing()) return false;
+    if (!getTagsList().equals(other.getTagsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -321,8 +364,7 @@ public int hashCode() {
     hash = (37 * hash) + TAG_TEMPLATE_FIELD_NUMBER;
     hash = (53 * hash) + getTagTemplate().hashCode();
     hash = (37 * hash) + FORCE_DELETE_MISSING_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getForceDeleteMissing());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForceDeleteMissing());
     if (getTagsCount() > 0) {
       hash = (37 * hash) + TAGS_FIELD_NUMBER;
       hash = (53 * hash) + getTagsList().hashCode();
@@ -333,98 +375,103 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1.ReconcileTagsRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.ReconcileTagsRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.ReconcileTagsRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.ReconcileTagsRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.ReconcileTagsRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.ReconcileTagsRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.datacatalog.v1.ReconcileTagsRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.datacatalog.v1.ReconcileTagsRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1.ReconcileTagsRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1.ReconcileTagsRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.ReconcileTagsRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1.ReconcileTagsRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.ReconcileTagsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1.ReconcileTagsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.datacatalog.v1.ReconcileTagsRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Request message for
    * [ReconcileTags][google.cloud.datacatalog.v1.DataCatalog.ReconcileTags].
@@ -432,33 +479,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ReconcileTagsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ReconcileTagsRequest)
       com.google.cloud.datacatalog.v1.ReconcileTagsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ReconcileTagsRequest.class, com.google.cloud.datacatalog.v1.ReconcileTagsRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.ReconcileTagsRequest.class,
+              com.google.cloud.datacatalog.v1.ReconcileTagsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ReconcileTagsRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        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 +523,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -498,14 +544,18 @@ public com.google.cloud.datacatalog.v1.ReconcileTagsRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ReconcileTagsRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.ReconcileTagsRequest result = new com.google.cloud.datacatalog.v1.ReconcileTagsRequest(this);
+      com.google.cloud.datacatalog.v1.ReconcileTagsRequest result =
+          new com.google.cloud.datacatalog.v1.ReconcileTagsRequest(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1.ReconcileTagsRequest result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.datacatalog.v1.ReconcileTagsRequest result) {
       if (tagsBuilder_ == null) {
         if (((bitField0_ & 0x00000008) != 0)) {
           tags_ = java.util.Collections.unmodifiableList(tags_);
@@ -534,38 +584,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ReconcileTagsRequest
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ReconcileTagsRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ReconcileTagsRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ReconcileTagsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -573,7 +624,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ReconcileTagsRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.ReconcileTagsRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.ReconcileTagsRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -605,9 +657,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.ReconcileTagsRequest ot
             tagsBuilder_ = null;
             tags_ = other.tags_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            tagsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getTagsFieldBuilder() : null;
+            tagsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getTagsFieldBuilder()
+                    : null;
           } else {
             tagsBuilder_.addAllMessages(other.tags_);
           }
@@ -639,40 +692,44 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              tagTemplate_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 24: {
-              forceDeleteMissing_ = input.readBool();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            case 34: {
-              com.google.cloud.datacatalog.v1.Tag m =
-                  input.readMessage(
-                      com.google.cloud.datacatalog.v1.Tag.parser(),
-                      extensionRegistry);
-              if (tagsBuilder_ == null) {
-                ensureTagsIsMutable();
-                tags_.add(m);
-              } else {
-                tagsBuilder_.addMessage(m);
-              }
-              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 18:
+              {
+                tagTemplate_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 24:
+              {
+                forceDeleteMissing_ = input.readBool();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+            case 34:
+              {
+                com.google.cloud.datacatalog.v1.Tag m =
+                    input.readMessage(
+                        com.google.cloud.datacatalog.v1.Tag.parser(), extensionRegistry);
+                if (tagsBuilder_ == null) {
+                  ensureTagsIsMutable();
+                  tags_.add(m);
+                } else {
+                  tagsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -682,22 +739,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. Name of [Entry][google.cloud.datacatalog.v1.Entry] to be tagged.
      * 
* - * string parent = 1 [(.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; @@ -706,20 +768,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Name of [Entry][google.cloud.datacatalog.v1.Entry] to be tagged.
      * 
* - * string parent = 1 [(.google.api.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,28 +792,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Name of [Entry][google.cloud.datacatalog.v1.Entry] to be tagged.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of [Entry][google.cloud.datacatalog.v1.Entry] to be tagged.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -758,17 +834,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Name of [Entry][google.cloud.datacatalog.v1.Entry] to be tagged.
      * 
* - * 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; @@ -778,18 +860,22 @@ public Builder setParentBytes( private java.lang.Object tagTemplate_ = ""; /** + * + * *
      * Required. The name of the tag template, which is used for reconciliation.
      * 
* - * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The tagTemplate. */ public java.lang.String getTagTemplate() { java.lang.Object ref = tagTemplate_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagTemplate_ = s; return s; @@ -798,20 +884,23 @@ public java.lang.String getTagTemplate() { } } /** + * + * *
      * Required. The name of the tag template, which is used for reconciliation.
      * 
* - * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for tagTemplate. */ - public com.google.protobuf.ByteString - getTagTemplateBytes() { + public com.google.protobuf.ByteString getTagTemplateBytes() { java.lang.Object ref = tagTemplate_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagTemplate_ = b; return b; } else { @@ -819,28 +908,39 @@ public java.lang.String getTagTemplate() { } } /** + * + * *
      * Required. The name of the tag template, which is used for reconciliation.
      * 
* - * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The tagTemplate to set. * @return This builder for chaining. */ - public Builder setTagTemplate( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTagTemplate(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tagTemplate_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The name of the tag template, which is used for reconciliation.
      * 
* - * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearTagTemplate() { @@ -850,17 +950,23 @@ public Builder clearTagTemplate() { return this; } /** + * + * *
      * Required. The name of the tag template, which is used for reconciliation.
      * 
* - * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for tagTemplate to set. * @return This builder for chaining. */ - public Builder setTagTemplateBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTagTemplateBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tagTemplate_ = value; bitField0_ |= 0x00000002; @@ -868,8 +974,10 @@ public Builder setTagTemplateBytes( return this; } - private boolean forceDeleteMissing_ ; + private boolean forceDeleteMissing_; /** + * + * *
      * If set to `true`, deletes entry tags related to a tag template
      * not listed in the tags source from an entry. If set to `false`,
@@ -877,6 +985,7 @@ public Builder setTagTemplateBytes(
      * 
* * bool force_delete_missing = 3; + * * @return The forceDeleteMissing. */ @java.lang.Override @@ -884,6 +993,8 @@ public boolean getForceDeleteMissing() { return forceDeleteMissing_; } /** + * + * *
      * If set to `true`, deletes entry tags related to a tag template
      * not listed in the tags source from an entry. If set to `false`,
@@ -891,6 +1002,7 @@ public boolean getForceDeleteMissing() {
      * 
* * bool force_delete_missing = 3; + * * @param value The forceDeleteMissing to set. * @return This builder for chaining. */ @@ -902,6 +1014,8 @@ public Builder setForceDeleteMissing(boolean value) { return this; } /** + * + * *
      * If set to `true`, deletes entry tags related to a tag template
      * not listed in the tags source from an entry. If set to `false`,
@@ -909,6 +1023,7 @@ public Builder setForceDeleteMissing(boolean value) {
      * 
* * bool force_delete_missing = 3; + * * @return This builder for chaining. */ public Builder clearForceDeleteMissing() { @@ -919,18 +1034,24 @@ public Builder clearForceDeleteMissing() { } private java.util.List tags_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { tags_ = new java.util.ArrayList(tags_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder> tagsBuilder_; + com.google.cloud.datacatalog.v1.Tag, + com.google.cloud.datacatalog.v1.Tag.Builder, + com.google.cloud.datacatalog.v1.TagOrBuilder> + tagsBuilder_; /** + * + * *
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -948,6 +1069,8 @@ public java.util.List getTagsList() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -965,6 +1088,8 @@ public int getTagsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -982,6 +1107,8 @@ public com.google.cloud.datacatalog.v1.Tag getTags(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -991,8 +1118,7 @@ public com.google.cloud.datacatalog.v1.Tag getTags(int index) {
      *
      * repeated .google.cloud.datacatalog.v1.Tag tags = 4;
      */
-    public Builder setTags(
-        int index, com.google.cloud.datacatalog.v1.Tag value) {
+    public Builder setTags(int index, com.google.cloud.datacatalog.v1.Tag value) {
       if (tagsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1006,6 +1132,8 @@ public Builder setTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -1015,8 +1143,7 @@ public Builder setTags(
      *
      * repeated .google.cloud.datacatalog.v1.Tag tags = 4;
      */
-    public Builder setTags(
-        int index, com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) {
+    public Builder setTags(int index, com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) {
       if (tagsBuilder_ == null) {
         ensureTagsIsMutable();
         tags_.set(index, builderForValue.build());
@@ -1027,6 +1154,8 @@ public Builder setTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -1050,6 +1179,8 @@ public Builder addTags(com.google.cloud.datacatalog.v1.Tag value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -1059,8 +1190,7 @@ public Builder addTags(com.google.cloud.datacatalog.v1.Tag value) {
      *
      * repeated .google.cloud.datacatalog.v1.Tag tags = 4;
      */
-    public Builder addTags(
-        int index, com.google.cloud.datacatalog.v1.Tag value) {
+    public Builder addTags(int index, com.google.cloud.datacatalog.v1.Tag value) {
       if (tagsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1074,6 +1204,8 @@ public Builder addTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -1083,8 +1215,7 @@ public Builder addTags(
      *
      * repeated .google.cloud.datacatalog.v1.Tag tags = 4;
      */
-    public Builder addTags(
-        com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) {
+    public Builder addTags(com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) {
       if (tagsBuilder_ == null) {
         ensureTagsIsMutable();
         tags_.add(builderForValue.build());
@@ -1095,6 +1226,8 @@ public Builder addTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -1104,8 +1237,7 @@ public Builder addTags(
      *
      * repeated .google.cloud.datacatalog.v1.Tag tags = 4;
      */
-    public Builder addTags(
-        int index, com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) {
+    public Builder addTags(int index, com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) {
       if (tagsBuilder_ == null) {
         ensureTagsIsMutable();
         tags_.add(index, builderForValue.build());
@@ -1116,6 +1248,8 @@ public Builder addTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -1129,8 +1263,7 @@ public Builder addAllTags(
         java.lang.Iterable values) {
       if (tagsBuilder_ == null) {
         ensureTagsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, tags_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_);
         onChanged();
       } else {
         tagsBuilder_.addAllMessages(values);
@@ -1138,6 +1271,8 @@ public Builder addAllTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -1158,6 +1293,8 @@ public Builder clearTags() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -1178,6 +1315,8 @@ public Builder removeTags(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -1187,11 +1326,12 @@ public Builder removeTags(int index) {
      *
      * repeated .google.cloud.datacatalog.v1.Tag tags = 4;
      */
-    public com.google.cloud.datacatalog.v1.Tag.Builder getTagsBuilder(
-        int index) {
+    public com.google.cloud.datacatalog.v1.Tag.Builder getTagsBuilder(int index) {
       return getTagsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -1201,14 +1341,16 @@ public com.google.cloud.datacatalog.v1.Tag.Builder getTagsBuilder(
      *
      * repeated .google.cloud.datacatalog.v1.Tag tags = 4;
      */
-    public com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder(
-        int index) {
+    public com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder(int index) {
       if (tagsBuilder_ == null) {
-        return tags_.get(index);  } else {
+        return tags_.get(index);
+      } else {
         return tagsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -1218,8 +1360,8 @@ public com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder(
      *
      * repeated .google.cloud.datacatalog.v1.Tag tags = 4;
      */
-    public java.util.List 
-         getTagsOrBuilderList() {
+    public java.util.List
+        getTagsOrBuilderList() {
       if (tagsBuilder_ != null) {
         return tagsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1227,6 +1369,8 @@ public com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -1237,10 +1381,12 @@ public com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder(
      * repeated .google.cloud.datacatalog.v1.Tag tags = 4;
      */
     public com.google.cloud.datacatalog.v1.Tag.Builder addTagsBuilder() {
-      return getTagsFieldBuilder().addBuilder(
-          com.google.cloud.datacatalog.v1.Tag.getDefaultInstance());
+      return getTagsFieldBuilder()
+          .addBuilder(com.google.cloud.datacatalog.v1.Tag.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -1250,12 +1396,13 @@ public com.google.cloud.datacatalog.v1.Tag.Builder addTagsBuilder() {
      *
      * repeated .google.cloud.datacatalog.v1.Tag tags = 4;
      */
-    public com.google.cloud.datacatalog.v1.Tag.Builder addTagsBuilder(
-        int index) {
-      return getTagsFieldBuilder().addBuilder(
-          index, com.google.cloud.datacatalog.v1.Tag.getDefaultInstance());
+    public com.google.cloud.datacatalog.v1.Tag.Builder addTagsBuilder(int index) {
+      return getTagsFieldBuilder()
+          .addBuilder(index, com.google.cloud.datacatalog.v1.Tag.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of tags to apply to an entry. A tag can specify a
      * tag template, which must be the template specified in the
@@ -1265,27 +1412,29 @@ public com.google.cloud.datacatalog.v1.Tag.Builder addTagsBuilder(
      *
      * repeated .google.cloud.datacatalog.v1.Tag tags = 4;
      */
-    public java.util.List 
-         getTagsBuilderList() {
+    public java.util.List getTagsBuilderList() {
       return getTagsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder> 
+            com.google.cloud.datacatalog.v1.Tag,
+            com.google.cloud.datacatalog.v1.Tag.Builder,
+            com.google.cloud.datacatalog.v1.TagOrBuilder>
         getTagsFieldBuilder() {
       if (tagsBuilder_ == null) {
-        tagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder>(
-                tags_,
-                ((bitField0_ & 0x00000008) != 0),
-                getParentForChildren(),
-                isClean());
+        tagsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.datacatalog.v1.Tag,
+                com.google.cloud.datacatalog.v1.Tag.Builder,
+                com.google.cloud.datacatalog.v1.TagOrBuilder>(
+                tags_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
         tags_ = null;
       }
       return tagsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1295,12 +1444,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ReconcileTagsRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ReconcileTagsRequest)
   private static final com.google.cloud.datacatalog.v1.ReconcileTagsRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ReconcileTagsRequest();
   }
@@ -1309,27 +1458,27 @@ public static com.google.cloud.datacatalog.v1.ReconcileTagsRequest getDefaultIns
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ReconcileTagsRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ReconcileTagsRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1344,6 +1493,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1.ReconcileTagsRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequestOrBuilder.java
similarity index 67%
rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequestOrBuilder.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequestOrBuilder.java
index fefea36cf326..8a41be95f6b6 100644
--- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequestOrBuilder.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequestOrBuilder.java
@@ -1,53 +1,89 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
-public interface ReconcileTagsRequestOrBuilder extends
+public interface ReconcileTagsRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ReconcileTagsRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. Name of [Entry][google.cloud.datacatalog.v1.Entry] to be tagged.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Name of [Entry][google.cloud.datacatalog.v1.Entry] to be tagged.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The name of the tag template, which is used for reconciliation.
    * 
* - * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The tagTemplate. */ java.lang.String getTagTemplate(); /** + * + * *
    * Required. The name of the tag template, which is used for reconciliation.
    * 
* - * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for tagTemplate. */ - com.google.protobuf.ByteString - getTagTemplateBytes(); + com.google.protobuf.ByteString getTagTemplateBytes(); /** + * + * *
    * If set to `true`, deletes entry tags related to a tag template
    * not listed in the tags source from an entry. If set to `false`,
@@ -55,11 +91,14 @@ public interface ReconcileTagsRequestOrBuilder extends
    * 
* * bool force_delete_missing = 3; + * * @return The forceDeleteMissing. */ boolean getForceDeleteMissing(); /** + * + * *
    * A list of tags to apply to an entry. A tag can specify a
    * tag template, which must be the template specified in the
@@ -69,9 +108,10 @@ public interface ReconcileTagsRequestOrBuilder extends
    *
    * repeated .google.cloud.datacatalog.v1.Tag tags = 4;
    */
-  java.util.List 
-      getTagsList();
+  java.util.List getTagsList();
   /**
+   *
+   *
    * 
    * A list of tags to apply to an entry. A tag can specify a
    * tag template, which must be the template specified in the
@@ -83,6 +123,8 @@ public interface ReconcileTagsRequestOrBuilder extends
    */
   com.google.cloud.datacatalog.v1.Tag getTags(int index);
   /**
+   *
+   *
    * 
    * A list of tags to apply to an entry. A tag can specify a
    * tag template, which must be the template specified in the
@@ -94,6 +136,8 @@ public interface ReconcileTagsRequestOrBuilder extends
    */
   int getTagsCount();
   /**
+   *
+   *
    * 
    * A list of tags to apply to an entry. A tag can specify a
    * tag template, which must be the template specified in the
@@ -103,9 +147,10 @@ public interface ReconcileTagsRequestOrBuilder extends
    *
    * repeated .google.cloud.datacatalog.v1.Tag tags = 4;
    */
-  java.util.List 
-      getTagsOrBuilderList();
+  java.util.List getTagsOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of tags to apply to an entry. A tag can specify a
    * tag template, which must be the template specified in the
@@ -115,6 +160,5 @@ public interface ReconcileTagsRequestOrBuilder extends
    *
    * repeated .google.cloud.datacatalog.v1.Tag tags = 4;
    */
-  com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder(
-      int index);
+  com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder(int index);
 }
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponse.java
similarity index 66%
rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponse.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponse.java
index a5ee8a9c5dd6..d15fddf29a6a 100644
--- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponse.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponse.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/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
 /**
+ *
+ *
  * 
  * [Long-running operation][google.longrunning.Operation]
  * response message returned by
@@ -12,46 +29,50 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ReconcileTagsResponse}
  */
-public final class ReconcileTagsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ReconcileTagsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ReconcileTagsResponse)
     ReconcileTagsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ReconcileTagsResponse.newBuilder() to construct.
   private ReconcileTagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ReconcileTagsResponse() {
-  }
+
+  private ReconcileTagsResponse() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ReconcileTagsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ReconcileTagsResponse.class, com.google.cloud.datacatalog.v1.ReconcileTagsResponse.Builder.class);
+            com.google.cloud.datacatalog.v1.ReconcileTagsResponse.class,
+            com.google.cloud.datacatalog.v1.ReconcileTagsResponse.Builder.class);
   }
 
   public static final int CREATED_TAGS_COUNT_FIELD_NUMBER = 1;
   private long createdTagsCount_ = 0L;
   /**
+   *
+   *
    * 
    * Number of tags created in the request.
    * 
* * int64 created_tags_count = 1; + * * @return The createdTagsCount. */ @java.lang.Override @@ -62,11 +83,14 @@ public long getCreatedTagsCount() { public static final int UPDATED_TAGS_COUNT_FIELD_NUMBER = 2; private long updatedTagsCount_ = 0L; /** + * + * *
    * Number of tags updated in the request.
    * 
* * int64 updated_tags_count = 2; + * * @return The updatedTagsCount. */ @java.lang.Override @@ -77,11 +101,14 @@ public long getUpdatedTagsCount() { public static final int DELETED_TAGS_COUNT_FIELD_NUMBER = 3; private long deletedTagsCount_ = 0L; /** + * + * *
    * Number of tags deleted in the request.
    * 
* * int64 deleted_tags_count = 3; + * * @return The deletedTagsCount. */ @java.lang.Override @@ -90,6 +117,7 @@ public long getDeletedTagsCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -101,8 +129,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (createdTagsCount_ != 0L) { output.writeInt64(1, createdTagsCount_); } @@ -122,16 +149,13 @@ public int getSerializedSize() { size = 0; if (createdTagsCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, createdTagsCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, createdTagsCount_); } if (updatedTagsCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, updatedTagsCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, updatedTagsCount_); } if (deletedTagsCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, deletedTagsCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, deletedTagsCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -141,19 +165,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.datacatalog.v1.ReconcileTagsResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ReconcileTagsResponse other = (com.google.cloud.datacatalog.v1.ReconcileTagsResponse) obj; + com.google.cloud.datacatalog.v1.ReconcileTagsResponse other = + (com.google.cloud.datacatalog.v1.ReconcileTagsResponse) obj; - if (getCreatedTagsCount() - != other.getCreatedTagsCount()) return false; - if (getUpdatedTagsCount() - != other.getUpdatedTagsCount()) return false; - if (getDeletedTagsCount() - != other.getDeletedTagsCount()) return false; + if (getCreatedTagsCount() != other.getCreatedTagsCount()) return false; + if (getUpdatedTagsCount() != other.getUpdatedTagsCount()) return false; + if (getDeletedTagsCount() != other.getDeletedTagsCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -166,112 +188,115 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CREATED_TAGS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getCreatedTagsCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCreatedTagsCount()); hash = (37 * hash) + UPDATED_TAGS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getUpdatedTagsCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUpdatedTagsCount()); hash = (37 * hash) + DELETED_TAGS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getDeletedTagsCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDeletedTagsCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datacatalog.v1.ReconcileTagsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ReconcileTagsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ReconcileTagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ReconcileTagsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ReconcileTagsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ReconcileTagsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ReconcileTagsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.ReconcileTagsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ReconcileTagsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ReconcileTagsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ReconcileTagsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ReconcileTagsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ReconcileTagsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ReconcileTagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.ReconcileTagsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.ReconcileTagsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * [Long-running operation][google.longrunning.Operation]
    * response message returned by
@@ -280,33 +305,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ReconcileTagsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ReconcileTagsResponse)
       com.google.cloud.datacatalog.v1.ReconcileTagsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ReconcileTagsResponse.class, com.google.cloud.datacatalog.v1.ReconcileTagsResponse.Builder.class);
+              com.google.cloud.datacatalog.v1.ReconcileTagsResponse.class,
+              com.google.cloud.datacatalog.v1.ReconcileTagsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ReconcileTagsResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -318,9 +342,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -339,8 +363,11 @@ public com.google.cloud.datacatalog.v1.ReconcileTagsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ReconcileTagsResponse buildPartial() {
-      com.google.cloud.datacatalog.v1.ReconcileTagsResponse result = new com.google.cloud.datacatalog.v1.ReconcileTagsResponse(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.ReconcileTagsResponse result =
+          new com.google.cloud.datacatalog.v1.ReconcileTagsResponse(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -362,38 +389,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ReconcileTagsResponse
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ReconcileTagsResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ReconcileTagsResponse)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ReconcileTagsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -401,7 +429,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ReconcileTagsResponse other) {
-      if (other == com.google.cloud.datacatalog.v1.ReconcileTagsResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.ReconcileTagsResponse.getDefaultInstance())
+        return this;
       if (other.getCreatedTagsCount() != 0L) {
         setCreatedTagsCount(other.getCreatedTagsCount());
       }
@@ -437,27 +466,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              createdTagsCount_ = input.readInt64();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 16: {
-              updatedTagsCount_ = input.readInt64();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 24: {
-              deletedTagsCount_ = input.readInt64();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                createdTagsCount_ = input.readInt64();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 16:
+              {
+                updatedTagsCount_ = input.readInt64();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 24:
+              {
+                deletedTagsCount_ = input.readInt64();
+                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) {
@@ -467,15 +500,19 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private long createdTagsCount_ ;
+    private long createdTagsCount_;
     /**
+     *
+     *
      * 
      * Number of tags created in the request.
      * 
* * int64 created_tags_count = 1; + * * @return The createdTagsCount. */ @java.lang.Override @@ -483,11 +520,14 @@ public long getCreatedTagsCount() { return createdTagsCount_; } /** + * + * *
      * Number of tags created in the request.
      * 
* * int64 created_tags_count = 1; + * * @param value The createdTagsCount to set. * @return This builder for chaining. */ @@ -499,11 +539,14 @@ public Builder setCreatedTagsCount(long value) { return this; } /** + * + * *
      * Number of tags created in the request.
      * 
* * int64 created_tags_count = 1; + * * @return This builder for chaining. */ public Builder clearCreatedTagsCount() { @@ -513,13 +556,16 @@ public Builder clearCreatedTagsCount() { return this; } - private long updatedTagsCount_ ; + private long updatedTagsCount_; /** + * + * *
      * Number of tags updated in the request.
      * 
* * int64 updated_tags_count = 2; + * * @return The updatedTagsCount. */ @java.lang.Override @@ -527,11 +573,14 @@ public long getUpdatedTagsCount() { return updatedTagsCount_; } /** + * + * *
      * Number of tags updated in the request.
      * 
* * int64 updated_tags_count = 2; + * * @param value The updatedTagsCount to set. * @return This builder for chaining. */ @@ -543,11 +592,14 @@ public Builder setUpdatedTagsCount(long value) { return this; } /** + * + * *
      * Number of tags updated in the request.
      * 
* * int64 updated_tags_count = 2; + * * @return This builder for chaining. */ public Builder clearUpdatedTagsCount() { @@ -557,13 +609,16 @@ public Builder clearUpdatedTagsCount() { return this; } - private long deletedTagsCount_ ; + private long deletedTagsCount_; /** + * + * *
      * Number of tags deleted in the request.
      * 
* * int64 deleted_tags_count = 3; + * * @return The deletedTagsCount. */ @java.lang.Override @@ -571,11 +626,14 @@ public long getDeletedTagsCount() { return deletedTagsCount_; } /** + * + * *
      * Number of tags deleted in the request.
      * 
* * int64 deleted_tags_count = 3; + * * @param value The deletedTagsCount to set. * @return This builder for chaining. */ @@ -587,11 +645,14 @@ public Builder setDeletedTagsCount(long value) { return this; } /** + * + * *
      * Number of tags deleted in the request.
      * 
* * int64 deleted_tags_count = 3; + * * @return This builder for chaining. */ public Builder clearDeletedTagsCount() { @@ -600,9 +661,9 @@ public Builder clearDeletedTagsCount() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -612,12 +673,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ReconcileTagsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ReconcileTagsResponse) private static final com.google.cloud.datacatalog.v1.ReconcileTagsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ReconcileTagsResponse(); } @@ -626,27 +687,27 @@ public static com.google.cloud.datacatalog.v1.ReconcileTagsResponse getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReconcileTagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReconcileTagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -661,6 +722,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ReconcileTagsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponseOrBuilder.java similarity index 56% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponseOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponseOrBuilder.java index bb222f363e2b..f6d7593b2439 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponseOrBuilder.java @@ -1,38 +1,63 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface ReconcileTagsResponseOrBuilder extends +public interface ReconcileTagsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ReconcileTagsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Number of tags created in the request.
    * 
* * int64 created_tags_count = 1; + * * @return The createdTagsCount. */ long getCreatedTagsCount(); /** + * + * *
    * Number of tags updated in the request.
    * 
* * int64 updated_tags_count = 2; + * * @return The updatedTagsCount. */ long getUpdatedTagsCount(); /** + * + * *
    * Number of tags deleted in the request.
    * 
* * int64 deleted_tags_count = 3; + * * @return The deletedTagsCount. */ long getDeletedTagsCount(); diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequest.java similarity index 61% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequest.java index ede6f75d2dfe..c63877c79990 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequest.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [RenameTagTemplateFieldEnumValue][google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateFieldEnumValue].
@@ -11,15 +28,18 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest}
  */
-public final class RenameTagTemplateFieldEnumValueRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RenameTagTemplateFieldEnumValueRequest
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest)
     RenameTagTemplateFieldEnumValueRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RenameTagTemplateFieldEnumValueRequest.newBuilder() to construct.
-  private RenameTagTemplateFieldEnumValueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private RenameTagTemplateFieldEnumValueRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RenameTagTemplateFieldEnumValueRequest() {
     name_ = "";
     newEnumValueDisplayName_ = "";
@@ -27,33 +47,40 @@ private RenameTagTemplateFieldEnumValueRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RenameTagTemplateFieldEnumValueRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest.class, com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest.class,
+            com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the enum field value.
    * 
* - * string name = 1 [(.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,29 +89,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the enum field value.
    * 
* - * string name = 1 [(.google.api.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,15 +122,19 @@ public java.lang.String getName() { } public static final int NEW_ENUM_VALUE_DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object newEnumValueDisplayName_ = ""; /** + * + * *
    * Required. The new display name of the enum value. For example,
    * `my_new_enum_value`.
    * 
* * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The newEnumValueDisplayName. */ @java.lang.Override @@ -110,30 +143,30 @@ public java.lang.String getNewEnumValueDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newEnumValueDisplayName_ = s; return s; } } /** + * + * *
    * Required. The new display name of the enum value. For example,
    * `my_new_enum_value`.
    * 
* * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for newEnumValueDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getNewEnumValueDisplayNameBytes() { + public com.google.protobuf.ByteString getNewEnumValueDisplayNameBytes() { java.lang.Object ref = newEnumValueDisplayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); newEnumValueDisplayName_ = b; return b; } else { @@ -142,6 +175,7 @@ public java.lang.String getNewEnumValueDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +187,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -184,17 +217,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.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest other = (com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest) obj; + com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest other = + (com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getNewEnumValueDisplayName() - .equals(other.getNewEnumValueDisplayName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getNewEnumValueDisplayName().equals(other.getNewEnumValueDisplayName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -216,98 +248,105 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest parseDelimitedFrom( - java.io.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.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest + parseDelimitedFrom( + java.io.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.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [RenameTagTemplateFieldEnumValue][google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateFieldEnumValue].
@@ -315,33 +354,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest)
       com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest.class, com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest.class,
+              com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest.Builder.class);
     }
 
-    // Construct using com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest.newBuilder()
-    private Builder() {
+    // Construct using
+    // com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest.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();
@@ -352,19 +391,22 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest getDefaultInstanceForType() {
-      return com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest.getDefaultInstance();
+    public com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest
+        getDefaultInstanceForType() {
+      return com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest
+          .getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest build() {
-      com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest result = buildPartial();
+      com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest result =
+          buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -373,13 +415,17 @@ public com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest bu
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest result = new com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest result =
+          new com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest result) {
+    private void buildPartial0(
+        com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -393,46 +439,51 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.RenameTagTemplateFiel
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest)other);
+        return mergeFrom(
+            (com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest other) {
+      if (other
+          == com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest
+              .getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -469,22 +520,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              newEnumValueDisplayName_ = 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:
+              {
+                newEnumValueDisplayName_ = 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,22 +548,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the enum field value.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -518,20 +577,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the enum field value.
      * 
* - * string name = 1 [(.google.api.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 { @@ -539,28 +601,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the enum field value.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the enum field value.
      * 
* - * string 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() { @@ -570,17 +643,23 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the enum field value.
      * 
* - * string name = 1 [(.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; @@ -590,19 +669,22 @@ public Builder setNameBytes( private java.lang.Object newEnumValueDisplayName_ = ""; /** + * + * *
      * Required. The new display name of the enum value. For example,
      * `my_new_enum_value`.
      * 
* - * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The newEnumValueDisplayName. */ public java.lang.String getNewEnumValueDisplayName() { java.lang.Object ref = newEnumValueDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newEnumValueDisplayName_ = s; return s; @@ -611,21 +693,23 @@ public java.lang.String getNewEnumValueDisplayName() { } } /** + * + * *
      * Required. The new display name of the enum value. For example,
      * `my_new_enum_value`.
      * 
* - * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The bytes for newEnumValueDisplayName. */ - public com.google.protobuf.ByteString - getNewEnumValueDisplayNameBytes() { + public com.google.protobuf.ByteString getNewEnumValueDisplayNameBytes() { java.lang.Object ref = newEnumValueDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); newEnumValueDisplayName_ = b; return b; } else { @@ -633,30 +717,39 @@ public java.lang.String getNewEnumValueDisplayName() { } } /** + * + * *
      * Required. The new display name of the enum value. For example,
      * `my_new_enum_value`.
      * 
* - * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The newEnumValueDisplayName to set. * @return This builder for chaining. */ - public Builder setNewEnumValueDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNewEnumValueDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } newEnumValueDisplayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The new display name of the enum value. For example,
      * `my_new_enum_value`.
      * 
* - * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearNewEnumValueDisplayName() { @@ -666,27 +759,32 @@ public Builder clearNewEnumValueDisplayName() { return this; } /** + * + * *
      * Required. The new display name of the enum value. For example,
      * `my_new_enum_value`.
      * 
* - * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The bytes for newEnumValueDisplayName to set. * @return This builder for chaining. */ - public Builder setNewEnumValueDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNewEnumValueDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); newEnumValueDisplayName_ = 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); } @@ -696,41 +794,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest) - private static final com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest DEFAULT_INSTANCE; + private static final com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest(); } - public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest getDefaultInstance() { + public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RenameTagTemplateFieldEnumValueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RenameTagTemplateFieldEnumValueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -742,9 +842,8 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java index 2b8938a76e42..f6cf558a7dfb 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java @@ -1,51 +1,81 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface RenameTagTemplateFieldEnumValueRequestOrBuilder extends +public interface RenameTagTemplateFieldEnumValueRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the enum field value.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the enum field value.
    * 
* - * string name = 1 [(.google.api.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 new display name of the enum value. For example,
    * `my_new_enum_value`.
    * 
* * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The newEnumValueDisplayName. */ java.lang.String getNewEnumValueDisplayName(); /** + * + * *
    * Required. The new display name of the enum value. For example,
    * `my_new_enum_value`.
    * 
* * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for newEnumValueDisplayName. */ - com.google.protobuf.ByteString - getNewEnumValueDisplayNameBytes(); + com.google.protobuf.ByteString getNewEnumValueDisplayNameBytes(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequest.java similarity index 64% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequest.java index 3441206fb50b..1a9dbd6f11c9 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequest.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [RenameTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateField].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest}
  */
-public final class RenameTagTemplateFieldRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RenameTagTemplateFieldRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest)
     RenameTagTemplateFieldRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RenameTagTemplateFieldRequest.newBuilder() to construct.
   private RenameTagTemplateFieldRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RenameTagTemplateFieldRequest() {
     name_ = "";
     newTagTemplateFieldId_ = "";
@@ -27,33 +45,40 @@ private RenameTagTemplateFieldRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RenameTagTemplateFieldRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest.class, com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest.class,
+            com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the tag template field.
    * 
* - * string name = 1 [(.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,29 +87,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the tag template field.
    * 
* - * string name = 1 [(.google.api.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,15 +120,19 @@ public java.lang.String getName() { } public static final int NEW_TAG_TEMPLATE_FIELD_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object newTagTemplateFieldId_ = ""; /** + * + * *
    * Required. The new ID of this tag template field. For example,
    * `my_new_field`.
    * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The newTagTemplateFieldId. */ @java.lang.Override @@ -110,30 +141,30 @@ public java.lang.String getNewTagTemplateFieldId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newTagTemplateFieldId_ = s; return s; } } /** + * + * *
    * Required. The new ID of this tag template field. For example,
    * `my_new_field`.
    * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for newTagTemplateFieldId. */ @java.lang.Override - public com.google.protobuf.ByteString - getNewTagTemplateFieldIdBytes() { + public com.google.protobuf.ByteString getNewTagTemplateFieldIdBytes() { java.lang.Object ref = newTagTemplateFieldId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); newTagTemplateFieldId_ = b; return b; } else { @@ -142,6 +173,7 @@ public java.lang.String getNewTagTemplateFieldId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +185,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -184,17 +215,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest other = (com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest) obj; + com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest other = + (com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getNewTagTemplateFieldId() - .equals(other.getNewTagTemplateFieldId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getNewTagTemplateFieldId().equals(other.getNewTagTemplateFieldId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -216,98 +246,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [RenameTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateField].
@@ -315,33 +351,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest)
       com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest.class, com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest.class,
+              com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        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,13 +387,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest getDefaultInstanceForType() {
+    public com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest.getDefaultInstance();
     }
 
@@ -373,13 +409,17 @@ public com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest result = new com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest result =
+          new com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest result) {
+    private void buildPartial0(
+        com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -393,38 +433,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.RenameTagTemplateFiel
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -432,7 +473,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -469,22 +512,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              newTagTemplateFieldId_ = 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:
+              {
+                newTagTemplateFieldId_ = 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,22 +540,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the tag template field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -518,20 +569,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the tag template field.
      * 
* - * string name = 1 [(.google.api.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 { @@ -539,28 +593,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the tag template field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the tag template field.
      * 
* - * string 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() { @@ -570,17 +635,23 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the tag template field.
      * 
* - * string name = 1 [(.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; @@ -590,19 +661,21 @@ public Builder setNameBytes( private java.lang.Object newTagTemplateFieldId_ = ""; /** + * + * *
      * Required. The new ID of this tag template field. For example,
      * `my_new_field`.
      * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The newTagTemplateFieldId. */ public java.lang.String getNewTagTemplateFieldId() { java.lang.Object ref = newTagTemplateFieldId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newTagTemplateFieldId_ = s; return s; @@ -611,21 +684,22 @@ public java.lang.String getNewTagTemplateFieldId() { } } /** + * + * *
      * Required. The new ID of this tag template field. For example,
      * `my_new_field`.
      * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for newTagTemplateFieldId. */ - public com.google.protobuf.ByteString - getNewTagTemplateFieldIdBytes() { + public com.google.protobuf.ByteString getNewTagTemplateFieldIdBytes() { java.lang.Object ref = newTagTemplateFieldId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); newTagTemplateFieldId_ = b; return b; } else { @@ -633,30 +707,37 @@ public java.lang.String getNewTagTemplateFieldId() { } } /** + * + * *
      * Required. The new ID of this tag template field. For example,
      * `my_new_field`.
      * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The newTagTemplateFieldId to set. * @return This builder for chaining. */ - public Builder setNewTagTemplateFieldId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNewTagTemplateFieldId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } newTagTemplateFieldId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The new ID of this tag template field. For example,
      * `my_new_field`.
      * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearNewTagTemplateFieldId() { @@ -666,27 +747,31 @@ public Builder clearNewTagTemplateFieldId() { return this; } /** + * + * *
      * Required. The new ID of this tag template field. For example,
      * `my_new_field`.
      * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for newTagTemplateFieldId to set. * @return This builder for chaining. */ - public Builder setNewTagTemplateFieldIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNewTagTemplateFieldIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); newTagTemplateFieldId_ = 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); } @@ -696,12 +781,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest) - private static final com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest DEFAULT_INSTANCE; + private static final com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest(); } @@ -710,27 +796,27 @@ public static com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RenameTagTemplateFieldRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RenameTagTemplateFieldRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -745,6 +831,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequestOrBuilder.java similarity index 51% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequestOrBuilder.java index e9945b69da19..0214c8cd25a3 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequestOrBuilder.java @@ -1,51 +1,81 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface RenameTagTemplateFieldRequestOrBuilder extends +public interface RenameTagTemplateFieldRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the tag template field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the tag template field.
    * 
* - * string name = 1 [(.google.api.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 new ID of this tag template field. For example,
    * `my_new_field`.
    * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The newTagTemplateFieldId. */ java.lang.String getNewTagTemplateFieldId(); /** + * + * *
    * Required. The new ID of this tag template field. For example,
    * `my_new_field`.
    * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for newTagTemplateFieldId. */ - com.google.protobuf.ByteString - getNewTagTemplateFieldIdBytes(); + com.google.protobuf.ByteString getNewTagTemplateFieldIdBytes(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequest.java similarity index 60% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequest.java index 73f958beccdc..eae8637053e7 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequest.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/datacatalog/v1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [ReplaceTaxonomy][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ReplaceTaxonomy].
@@ -11,48 +28,56 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ReplaceTaxonomyRequest}
  */
-public final class ReplaceTaxonomyRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ReplaceTaxonomyRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ReplaceTaxonomyRequest)
     ReplaceTaxonomyRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ReplaceTaxonomyRequest.newBuilder() to construct.
   private ReplaceTaxonomyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ReplaceTaxonomyRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ReplaceTaxonomyRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+        .internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+        .internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.class, com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.class,
+            com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. Resource name of the taxonomy to update.
    * 
* - * string name = 1 [(.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,29 +86,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Resource name of the taxonomy to update.
    * 
* - * string name = 1 [(.google.api.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,11 +121,16 @@ public java.lang.String getName() { public static final int SERIALIZED_TAXONOMY_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1.SerializedTaxonomy serializedTaxonomy_; /** + * + * *
    * Required. Taxonomy to update along with its child policy tags.
    * 
* - * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the serializedTaxonomy field is set. */ @java.lang.Override @@ -106,30 +138,45 @@ public boolean hasSerializedTaxonomy() { return serializedTaxonomy_ != null; } /** + * + * *
    * Required. Taxonomy to update along with its child policy tags.
    * 
* - * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The serializedTaxonomy. */ @java.lang.Override public com.google.cloud.datacatalog.v1.SerializedTaxonomy getSerializedTaxonomy() { - return serializedTaxonomy_ == null ? com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance() : serializedTaxonomy_; + return serializedTaxonomy_ == null + ? com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance() + : serializedTaxonomy_; } /** + * + * *
    * Required. Taxonomy to update along with its child policy tags.
    * 
* - * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getSerializedTaxonomyOrBuilder() { - return serializedTaxonomy_ == null ? com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance() : serializedTaxonomy_; + public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder + getSerializedTaxonomyOrBuilder() { + return serializedTaxonomy_ == null + ? com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance() + : serializedTaxonomy_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,8 +188,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -162,8 +208,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (serializedTaxonomy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getSerializedTaxonomy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSerializedTaxonomy()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -173,19 +218,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest other = (com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest) obj; + com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest other = + (com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasSerializedTaxonomy() != other.hasSerializedTaxonomy()) return false; if (hasSerializedTaxonomy()) { - if (!getSerializedTaxonomy() - .equals(other.getSerializedTaxonomy())) return false; + if (!getSerializedTaxonomy().equals(other.getSerializedTaxonomy())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -210,98 +254,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [ReplaceTaxonomy][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ReplaceTaxonomy].
@@ -309,33 +359,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ReplaceTaxonomyRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ReplaceTaxonomyRequest)
       com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.class, com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.class,
+              com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -350,9 +399,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
@@ -371,8 +420,11 @@ public com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest result = new com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest result =
+          new com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -383,9 +435,10 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ReplaceTaxonomyReques
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.serializedTaxonomy_ = serializedTaxonomyBuilder_ == null
-            ? serializedTaxonomy_
-            : serializedTaxonomyBuilder_.build();
+        result.serializedTaxonomy_ =
+            serializedTaxonomyBuilder_ == null
+                ? serializedTaxonomy_
+                : serializedTaxonomyBuilder_.build();
       }
     }
 
@@ -393,38 +446,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ReplaceTaxonomyReques
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -432,7 +486,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -467,24 +522,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getSerializedTaxonomyFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(
+                    getSerializedTaxonomyFieldBuilder().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) {
@@ -494,22 +551,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. Resource name of the taxonomy to update.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -518,20 +580,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the taxonomy to update.
      * 
* - * string name = 1 [(.google.api.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 { @@ -539,28 +604,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the taxonomy to update.
      * 
* - * string name = 1 [(.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. Resource name of the taxonomy to update.
      * 
* - * string 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() { @@ -570,17 +646,23 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Resource name of the taxonomy to update.
      * 
* - * string name = 1 [(.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; @@ -590,39 +672,58 @@ public Builder setNameBytes( private com.google.cloud.datacatalog.v1.SerializedTaxonomy serializedTaxonomy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SerializedTaxonomy, com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder> serializedTaxonomyBuilder_; + com.google.cloud.datacatalog.v1.SerializedTaxonomy, + com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, + com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder> + serializedTaxonomyBuilder_; /** + * + * *
      * Required. Taxonomy to update along with its child policy tags.
      * 
* - * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the serializedTaxonomy field is set. */ public boolean hasSerializedTaxonomy() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Taxonomy to update along with its child policy tags.
      * 
* - * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The serializedTaxonomy. */ public com.google.cloud.datacatalog.v1.SerializedTaxonomy getSerializedTaxonomy() { if (serializedTaxonomyBuilder_ == null) { - return serializedTaxonomy_ == null ? com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance() : serializedTaxonomy_; + return serializedTaxonomy_ == null + ? com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance() + : serializedTaxonomy_; } else { return serializedTaxonomyBuilder_.getMessage(); } } /** + * + * *
      * Required. Taxonomy to update along with its child policy tags.
      * 
* - * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSerializedTaxonomy(com.google.cloud.datacatalog.v1.SerializedTaxonomy value) { if (serializedTaxonomyBuilder_ == null) { @@ -638,11 +739,15 @@ public Builder setSerializedTaxonomy(com.google.cloud.datacatalog.v1.SerializedT return this; } /** + * + * *
      * Required. Taxonomy to update along with its child policy tags.
      * 
* - * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSerializedTaxonomy( com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder builderForValue) { @@ -656,17 +761,23 @@ public Builder setSerializedTaxonomy( return this; } /** + * + * *
      * Required. Taxonomy to update along with its child policy tags.
      * 
* - * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeSerializedTaxonomy(com.google.cloud.datacatalog.v1.SerializedTaxonomy value) { + public Builder mergeSerializedTaxonomy( + com.google.cloud.datacatalog.v1.SerializedTaxonomy value) { if (serializedTaxonomyBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - serializedTaxonomy_ != null && - serializedTaxonomy_ != com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && serializedTaxonomy_ != null + && serializedTaxonomy_ + != com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance()) { getSerializedTaxonomyBuilder().mergeFrom(value); } else { serializedTaxonomy_ = value; @@ -679,11 +790,15 @@ public Builder mergeSerializedTaxonomy(com.google.cloud.datacatalog.v1.Serialize return this; } /** + * + * *
      * Required. Taxonomy to update along with its child policy tags.
      * 
* - * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearSerializedTaxonomy() { bitField0_ = (bitField0_ & ~0x00000002); @@ -696,55 +811,73 @@ public Builder clearSerializedTaxonomy() { return this; } /** + * + * *
      * Required. Taxonomy to update along with its child policy tags.
      * 
* - * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder getSerializedTaxonomyBuilder() { + public com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder + getSerializedTaxonomyBuilder() { bitField0_ |= 0x00000002; onChanged(); return getSerializedTaxonomyFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Taxonomy to update along with its child policy tags.
      * 
* - * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getSerializedTaxonomyOrBuilder() { + public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder + getSerializedTaxonomyOrBuilder() { if (serializedTaxonomyBuilder_ != null) { return serializedTaxonomyBuilder_.getMessageOrBuilder(); } else { - return serializedTaxonomy_ == null ? - com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance() : serializedTaxonomy_; + return serializedTaxonomy_ == null + ? com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance() + : serializedTaxonomy_; } } /** + * + * *
      * Required. Taxonomy to update along with its child policy tags.
      * 
* - * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SerializedTaxonomy, com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder> + com.google.cloud.datacatalog.v1.SerializedTaxonomy, + com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, + com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder> getSerializedTaxonomyFieldBuilder() { if (serializedTaxonomyBuilder_ == null) { - serializedTaxonomyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SerializedTaxonomy, com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder>( - getSerializedTaxonomy(), - getParentForChildren(), - isClean()); + serializedTaxonomyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.SerializedTaxonomy, + com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, + com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder>( + getSerializedTaxonomy(), getParentForChildren(), isClean()); serializedTaxonomy_ = null; } return serializedTaxonomyBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -754,12 +887,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ReplaceTaxonomyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ReplaceTaxonomyRequest) private static final com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest(); } @@ -768,27 +901,27 @@ public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReplaceTaxonomyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReplaceTaxonomyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -803,6 +936,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequestOrBuilder.java new file mode 100644 index 000000000000..8ac435f11b5c --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequestOrBuilder.java @@ -0,0 +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/datacatalog/v1/policytagmanagerserialization.proto + +package com.google.cloud.datacatalog.v1; + +public interface ReplaceTaxonomyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ReplaceTaxonomyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Resource name of the taxonomy to update.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Resource name of the taxonomy to update.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Required. Taxonomy to update along with its child policy tags.
+   * 
+ * + * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the serializedTaxonomy field is set. + */ + boolean hasSerializedTaxonomy(); + /** + * + * + *
+   * Required. Taxonomy to update along with its child policy tags.
+   * 
+ * + * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The serializedTaxonomy. + */ + com.google.cloud.datacatalog.v1.SerializedTaxonomy getSerializedTaxonomy(); + /** + * + * + *
+   * Required. Taxonomy to update along with its child policy tags.
+   * 
+ * + * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getSerializedTaxonomyOrBuilder(); +} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpec.java similarity index 73% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpec.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpec.java index 726bb3825387..c0aeb9fa1c93 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpec.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Specification that applies to a routine. Valid only for
  * entries with the `ROUTINE` type.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.RoutineSpec}
  */
-public final class RoutineSpec extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RoutineSpec extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.RoutineSpec)
     RoutineSpecOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RoutineSpec.newBuilder() to construct.
   private RoutineSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RoutineSpec() {
     routineType_ = 0;
     language_ = "";
@@ -30,34 +48,38 @@ private RoutineSpec() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RoutineSpec();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RoutineSpec_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_RoutineSpec_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.RoutineSpec.class, com.google.cloud.datacatalog.v1.RoutineSpec.Builder.class);
+            com.google.cloud.datacatalog.v1.RoutineSpec.class,
+            com.google.cloud.datacatalog.v1.RoutineSpec.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * The fine-grained type of the routine.
    * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.RoutineSpec.RoutineType} */ - public enum RoutineType - implements com.google.protobuf.ProtocolMessageEnum { + public enum RoutineType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified type.
      * 
@@ -66,6 +88,8 @@ public enum RoutineType */ ROUTINE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Non-builtin permanent scalar function.
      * 
@@ -74,6 +98,8 @@ public enum RoutineType */ SCALAR_FUNCTION(1), /** + * + * *
      * Stored procedure.
      * 
@@ -85,6 +111,8 @@ public enum RoutineType ; /** + * + * *
      * Unspecified type.
      * 
@@ -93,6 +121,8 @@ public enum RoutineType */ public static final int ROUTINE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Non-builtin permanent scalar function.
      * 
@@ -101,6 +131,8 @@ public enum RoutineType */ public static final int SCALAR_FUNCTION_VALUE = 1; /** + * + * *
      * Stored procedure.
      * 
@@ -109,7 +141,6 @@ public enum RoutineType */ public static final int PROCEDURE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -134,49 +165,49 @@ public static RoutineType valueOf(int value) { */ public static RoutineType forNumber(int value) { switch (value) { - case 0: return ROUTINE_TYPE_UNSPECIFIED; - case 1: return SCALAR_FUNCTION; - case 2: return PROCEDURE; - default: return null; + case 0: + return ROUTINE_TYPE_UNSPECIFIED; + case 1: + return SCALAR_FUNCTION; + case 2: + return PROCEDURE; + 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< - RoutineType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RoutineType findValueByNumber(int number) { - return RoutineType.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 RoutineType findValueByNumber(int number) { + return RoutineType.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.datacatalog.v1.RoutineSpec.getDescriptor().getEnumTypes().get(0); } private static final RoutineType[] VALUES = values(); - public static RoutineType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RoutineType 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,89 +224,109 @@ private RoutineType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1.RoutineSpec.RoutineType) } - public interface ArgumentOrBuilder extends + public interface ArgumentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.RoutineSpec.Argument) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The name of the argument. A return argument of a function might not have
      * a name.
      * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * The name of the argument. A return argument of a function might not have
      * a name.
      * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * Specifies whether the argument is input or output.
      * 
* * .google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode mode = 2; + * * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** + * + * *
      * Specifies whether the argument is input or output.
      * 
* * .google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode mode = 2; + * * @return The mode. */ com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode getMode(); /** + * + * *
      * Type of the argument. The exact value depends on the source system and
      * the language.
      * 
* * string type = 3; + * * @return The type. */ java.lang.String getType(); /** + * + * *
      * Type of the argument. The exact value depends on the source system and
      * the language.
      * 
* * string type = 3; + * * @return The bytes for type. */ - com.google.protobuf.ByteString - getTypeBytes(); + com.google.protobuf.ByteString getTypeBytes(); } /** + * + * *
    * Input or output argument of a function or stored procedure.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.RoutineSpec.Argument} */ - public static final class Argument extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Argument extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.RoutineSpec.Argument) ArgumentOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Argument.newBuilder() to construct. private Argument(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Argument() { name_ = ""; mode_ = 0; @@ -284,34 +335,38 @@ private Argument() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Argument(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.RoutineSpec.Argument.class, com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder.class); + com.google.cloud.datacatalog.v1.RoutineSpec.Argument.class, + com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder.class); } /** + * + * *
      * The input or output mode of the argument.
      * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode} */ - public enum Mode - implements com.google.protobuf.ProtocolMessageEnum { + public enum Mode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Unspecified mode.
        * 
@@ -320,6 +375,8 @@ public enum Mode */ MODE_UNSPECIFIED(0), /** + * + * *
        * The argument is input-only.
        * 
@@ -328,6 +385,8 @@ public enum Mode */ IN(1), /** + * + * *
        * The argument is output-only.
        * 
@@ -336,6 +395,8 @@ public enum Mode */ OUT(2), /** + * + * *
        * The argument is both an input and an output.
        * 
@@ -347,6 +408,8 @@ public enum Mode ; /** + * + * *
        * Unspecified mode.
        * 
@@ -355,6 +418,8 @@ public enum Mode */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The argument is input-only.
        * 
@@ -363,6 +428,8 @@ public enum Mode */ public static final int IN_VALUE = 1; /** + * + * *
        * The argument is output-only.
        * 
@@ -371,6 +438,8 @@ public enum Mode */ public static final int OUT_VALUE = 2; /** + * + * *
        * The argument is both an input and an output.
        * 
@@ -379,7 +448,6 @@ public enum Mode */ public static final int INOUT_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -404,50 +472,53 @@ public static Mode valueOf(int value) { */ public static Mode forNumber(int value) { switch (value) { - case 0: return MODE_UNSPECIFIED; - case 1: return IN; - case 2: return OUT; - case 3: return INOUT; - default: return null; + case 0: + return MODE_UNSPECIFIED; + case 1: + return IN; + case 2: + return OUT; + case 3: + return INOUT; + 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() { - return com.google.cloud.datacatalog.v1.RoutineSpec.Argument.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.RoutineSpec.Argument.getDescriptor() + .getEnumTypes() + .get(0); } 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; @@ -465,15 +536,19 @@ private Mode(int value) { } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
      * The name of the argument. A return argument of a function might not have
      * a name.
      * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -482,30 +557,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; } } /** + * + * *
      * The name of the argument. A return argument of a function might not have
      * a name.
      * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -516,39 +591,54 @@ public java.lang.String getName() { public static final int MODE_FIELD_NUMBER = 2; private int mode_ = 0; /** + * + * *
      * Specifies whether the argument is input or output.
      * 
* * .google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode mode = 2; + * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override public int getModeValue() { + @java.lang.Override + public int getModeValue() { return mode_; } /** + * + * *
      * Specifies whether the argument is input or output.
      * 
* * .google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode mode = 2; + * * @return The mode. */ - @java.lang.Override public com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode getMode() { - com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode result = com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.forNumber(mode_); - return result == null ? com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode getMode() { + com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode result = + com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.forNumber(mode_); + return result == null + ? com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.UNRECOGNIZED + : result; } public static final int TYPE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object type_ = ""; /** + * + * *
      * Type of the argument. The exact value depends on the source system and
      * the language.
      * 
* * string type = 3; + * * @return The type. */ @java.lang.Override @@ -557,30 +647,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; } } /** + * + * *
      * Type of the argument. The exact value depends on the source system and
      * the language.
      * 
* * string type = 3; + * * @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 { @@ -589,6 +679,7 @@ public java.lang.String getType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -600,12 +691,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 (mode_ != com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.MODE_UNSPECIFIED.getNumber()) { + if (mode_ + != com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, mode_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { @@ -623,9 +715,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (mode_ != com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, mode_); + if (mode_ + != com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, mode_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, type_); @@ -638,18 +731,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.datacatalog.v1.RoutineSpec.Argument)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.RoutineSpec.Argument other = (com.google.cloud.datacatalog.v1.RoutineSpec.Argument) obj; + com.google.cloud.datacatalog.v1.RoutineSpec.Argument other = + (com.google.cloud.datacatalog.v1.RoutineSpec.Argument) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (mode_ != other.mode_) return false; - if (!getType() - .equals(other.getType())) return false; + if (!getType().equals(other.getType())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -673,89 +765,94 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.RoutineSpec.Argument prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.RoutineSpec.Argument prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -765,39 +862,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Input or output argument of a function or stored procedure.
      * 
* * Protobuf type {@code google.cloud.datacatalog.v1.RoutineSpec.Argument} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.RoutineSpec.Argument) com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.RoutineSpec.Argument.class, com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder.class); + com.google.cloud.datacatalog.v1.RoutineSpec.Argument.class, + com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.RoutineSpec.Argument.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -809,9 +908,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_descriptor; } @java.lang.Override @@ -830,8 +929,11 @@ public com.google.cloud.datacatalog.v1.RoutineSpec.Argument build() { @java.lang.Override public com.google.cloud.datacatalog.v1.RoutineSpec.Argument buildPartial() { - com.google.cloud.datacatalog.v1.RoutineSpec.Argument result = new com.google.cloud.datacatalog.v1.RoutineSpec.Argument(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1.RoutineSpec.Argument result = + new com.google.cloud.datacatalog.v1.RoutineSpec.Argument(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -853,38 +955,41 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.RoutineSpec.Argument public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.RoutineSpec.Argument) { - return mergeFrom((com.google.cloud.datacatalog.v1.RoutineSpec.Argument)other); + return mergeFrom((com.google.cloud.datacatalog.v1.RoutineSpec.Argument) other); } else { super.mergeFrom(other); return this; @@ -892,7 +997,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.RoutineSpec.Argument other) { - if (other == com.google.cloud.datacatalog.v1.RoutineSpec.Argument.getDefaultInstance()) return this; + if (other == com.google.cloud.datacatalog.v1.RoutineSpec.Argument.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -932,27 +1038,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - mode_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - type_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - 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: + { + mode_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + type_ = 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) { @@ -962,23 +1072,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
        * The name of the argument. A return argument of a function might not have
        * a name.
        * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -987,21 +1100,22 @@ public java.lang.String getName() { } } /** + * + * *
        * The name of the argument. A return argument of a function might not have
        * a name.
        * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1009,30 +1123,37 @@ public java.lang.String getName() { } } /** + * + * *
        * The name of the argument. A return argument of a function might not have
        * a name.
        * 
* * 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 argument. A return argument of a function might not have
        * a name.
        * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1042,18 +1163,22 @@ public Builder clearName() { return this; } /** + * + * *
        * The name of the argument. A return argument of a function might not have
        * a name.
        * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - 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; @@ -1063,22 +1188,29 @@ public Builder setNameBytes( private int mode_ = 0; /** + * + * *
        * Specifies whether the argument is input or output.
        * 
* * .google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode mode = 2; + * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override public int getModeValue() { + @java.lang.Override + public int getModeValue() { return mode_; } /** + * + * *
        * Specifies whether the argument is input or output.
        * 
* * .google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode mode = 2; + * * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ @@ -1089,24 +1221,33 @@ public Builder setModeValue(int value) { return this; } /** + * + * *
        * Specifies whether the argument is input or output.
        * 
* * .google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode mode = 2; + * * @return The mode. */ @java.lang.Override public com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode getMode() { - com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode result = com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.forNumber(mode_); - return result == null ? com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.UNRECOGNIZED : result; + com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode result = + com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.forNumber(mode_); + return result == null + ? com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.UNRECOGNIZED + : result; } /** + * + * *
        * Specifies whether the argument is input or output.
        * 
* * .google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode mode = 2; + * * @param value The mode to set. * @return This builder for chaining. */ @@ -1120,11 +1261,14 @@ public Builder setMode(com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode return this; } /** + * + * *
        * Specifies whether the argument is input or output.
        * 
* * .google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode mode = 2; + * * @return This builder for chaining. */ public Builder clearMode() { @@ -1136,19 +1280,21 @@ public Builder clearMode() { private java.lang.Object type_ = ""; /** + * + * *
        * Type of the argument. The exact value depends on the source system and
        * the language.
        * 
* * string type = 3; + * * @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; @@ -1157,21 +1303,22 @@ public java.lang.String getType() { } } /** + * + * *
        * Type of the argument. The exact value depends on the source system and
        * the language.
        * 
* * string type = 3; + * * @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 { @@ -1179,30 +1326,37 @@ public java.lang.String getType() { } } /** + * + * *
        * Type of the argument. The exact value depends on the source system and
        * the language.
        * 
* * string type = 3; + * * @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_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * Type of the argument. The exact value depends on the source system and
        * the language.
        * 
* * string type = 3; + * * @return This builder for chaining. */ public Builder clearType() { @@ -1212,24 +1366,29 @@ public Builder clearType() { return this; } /** + * + * *
        * Type of the argument. The exact value depends on the source system and
        * the language.
        * 
* * string type = 3; + * * @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_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1242,12 +1401,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.RoutineSpec.Argument) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.RoutineSpec.Argument) private static final com.google.cloud.datacatalog.v1.RoutineSpec.Argument DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.RoutineSpec.Argument(); } @@ -1256,27 +1415,28 @@ public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Argument parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Argument parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1291,18 +1451,21 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.RoutineSpec.Argument getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int systemSpecCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object systemSpec_; + public enum SystemSpecCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BIGQUERY_ROUTINE_SPEC(6), SYSTEMSPEC_NOT_SET(0); private final int value; + private SystemSpecCase(int value) { this.value = value; } @@ -1318,52 +1481,68 @@ public static SystemSpecCase valueOf(int value) { public static SystemSpecCase forNumber(int value) { switch (value) { - case 6: return BIGQUERY_ROUTINE_SPEC; - case 0: return SYSTEMSPEC_NOT_SET; - default: return null; + case 6: + return BIGQUERY_ROUTINE_SPEC; + case 0: + return SYSTEMSPEC_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public SystemSpecCase - getSystemSpecCase() { - return SystemSpecCase.forNumber( - systemSpecCase_); + public SystemSpecCase getSystemSpecCase() { + return SystemSpecCase.forNumber(systemSpecCase_); } public static final int ROUTINE_TYPE_FIELD_NUMBER = 1; private int routineType_ = 0; /** + * + * *
    * The type of the routine.
    * 
* * .google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1; + * * @return The enum numeric value on the wire for routineType. */ - @java.lang.Override public int getRoutineTypeValue() { + @java.lang.Override + public int getRoutineTypeValue() { return routineType_; } /** + * + * *
    * The type of the routine.
    * 
* * .google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1; + * * @return The routineType. */ - @java.lang.Override public com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType getRoutineType() { - com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType result = com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.forNumber(routineType_); - return result == null ? com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType getRoutineType() { + com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType result = + com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.forNumber(routineType_); + return result == null + ? com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.UNRECOGNIZED + : result; } public static final int LANGUAGE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object language_ = ""; /** + * + * *
    * The language the routine is written in. The exact value depends on the
    * source system. For BigQuery routines, possible values are:
@@ -1373,6 +1552,7 @@ public int getNumber() {
    * 
* * string language = 2; + * * @return The language. */ @java.lang.Override @@ -1381,14 +1561,15 @@ public java.lang.String getLanguage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); language_ = s; return s; } } /** + * + * *
    * The language the routine is written in. The exact value depends on the
    * source system. For BigQuery routines, possible values are:
@@ -1398,16 +1579,15 @@ public java.lang.String getLanguage() {
    * 
* * string language = 2; + * * @return The bytes for language. */ @java.lang.Override - public com.google.protobuf.ByteString - getLanguageBytes() { + public com.google.protobuf.ByteString getLanguageBytes() { java.lang.Object ref = language_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); language_ = b; return b; } else { @@ -1416,9 +1596,12 @@ public java.lang.String getLanguage() { } public static final int ROUTINE_ARGUMENTS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List routineArguments_; /** + * + * *
    * Arguments of the routine.
    * 
@@ -1426,10 +1609,13 @@ public java.lang.String getLanguage() { * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; */ @java.lang.Override - public java.util.List getRoutineArgumentsList() { + public java.util.List + getRoutineArgumentsList() { return routineArguments_; } /** + * + * *
    * Arguments of the routine.
    * 
@@ -1437,11 +1623,13 @@ public java.util.List getR * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; */ @java.lang.Override - public java.util.List + public java.util.List getRoutineArgumentsOrBuilderList() { return routineArguments_; } /** + * + * *
    * Arguments of the routine.
    * 
@@ -1453,6 +1641,8 @@ public int getRoutineArgumentsCount() { return routineArguments_.size(); } /** + * + * *
    * Arguments of the routine.
    * 
@@ -1464,6 +1654,8 @@ public com.google.cloud.datacatalog.v1.RoutineSpec.Argument getRoutineArguments( return routineArguments_.get(index); } /** + * + * *
    * Arguments of the routine.
    * 
@@ -1477,15 +1669,19 @@ public com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder getRoutineA } public static final int RETURN_TYPE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object returnType_ = ""; /** + * + * *
    * Return type of the argument. The exact value depends on the source system
    * and the language.
    * 
* * string return_type = 4; + * * @return The returnType. */ @java.lang.Override @@ -1494,30 +1690,30 @@ public java.lang.String getReturnType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); returnType_ = s; return s; } } /** + * + * *
    * Return type of the argument. The exact value depends on the source system
    * and the language.
    * 
* * string return_type = 4; + * * @return The bytes for returnType. */ @java.lang.Override - public com.google.protobuf.ByteString - getReturnTypeBytes() { + public com.google.protobuf.ByteString getReturnTypeBytes() { java.lang.Object ref = returnType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); returnType_ = b; return b; } else { @@ -1526,14 +1722,18 @@ public java.lang.String getReturnType() { } public static final int DEFINITION_BODY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object definitionBody_ = ""; /** + * + * *
    * The body of the routine.
    * 
* * string definition_body = 5; + * * @return The definitionBody. */ @java.lang.Override @@ -1542,29 +1742,29 @@ public java.lang.String getDefinitionBody() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); definitionBody_ = s; return s; } } /** + * + * *
    * The body of the routine.
    * 
* * string definition_body = 5; + * * @return The bytes for definitionBody. */ @java.lang.Override - public com.google.protobuf.ByteString - getDefinitionBodyBytes() { + public com.google.protobuf.ByteString getDefinitionBodyBytes() { java.lang.Object ref = definitionBody_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); definitionBody_ = b; return b; } else { @@ -1574,11 +1774,14 @@ public java.lang.String getDefinitionBody() { public static final int BIGQUERY_ROUTINE_SPEC_FIELD_NUMBER = 6; /** + * + * *
    * Fields specific for BigQuery routines.
    * 
* * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; + * * @return Whether the bigqueryRoutineSpec field is set. */ @java.lang.Override @@ -1586,21 +1789,26 @@ public boolean hasBigqueryRoutineSpec() { return systemSpecCase_ == 6; } /** + * + * *
    * Fields specific for BigQuery routines.
    * 
* * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; + * * @return The bigqueryRoutineSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.BigQueryRoutineSpec getBigqueryRoutineSpec() { if (systemSpecCase_ == 6) { - return (com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) systemSpec_; + return (com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) systemSpec_; } return com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.getDefaultInstance(); } /** + * + * *
    * Fields specific for BigQuery routines.
    * 
@@ -1608,14 +1816,16 @@ public com.google.cloud.datacatalog.v1.BigQueryRoutineSpec getBigqueryRoutineSpe * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder getBigqueryRoutineSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder + getBigqueryRoutineSpecOrBuilder() { if (systemSpecCase_ == 6) { - return (com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) systemSpec_; + return (com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) systemSpec_; } return com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1627,9 +1837,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (routineType_ != com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.ROUTINE_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (routineType_ + != com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.ROUTINE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, routineType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(language_)) { @@ -1656,16 +1867,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (routineType_ != com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.ROUTINE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, routineType_); + if (routineType_ + != com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.ROUTINE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, routineType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(language_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, language_); } for (int i = 0; i < routineArguments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, routineArguments_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, routineArguments_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(returnType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, returnType_); @@ -1674,8 +1885,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, definitionBody_); } if (systemSpecCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) systemSpec_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) systemSpec_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1685,27 +1897,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.datacatalog.v1.RoutineSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.RoutineSpec other = (com.google.cloud.datacatalog.v1.RoutineSpec) obj; + com.google.cloud.datacatalog.v1.RoutineSpec other = + (com.google.cloud.datacatalog.v1.RoutineSpec) obj; if (routineType_ != other.routineType_) return false; - if (!getLanguage() - .equals(other.getLanguage())) return false; - if (!getRoutineArgumentsList() - .equals(other.getRoutineArgumentsList())) return false; - if (!getReturnType() - .equals(other.getReturnType())) return false; - if (!getDefinitionBody() - .equals(other.getDefinitionBody())) return false; + if (!getLanguage().equals(other.getLanguage())) return false; + if (!getRoutineArgumentsList().equals(other.getRoutineArgumentsList())) return false; + if (!getReturnType().equals(other.getReturnType())) return false; + if (!getDefinitionBody().equals(other.getDefinitionBody())) return false; if (!getSystemSpecCase().equals(other.getSystemSpecCase())) return false; switch (systemSpecCase_) { case 6: - if (!getBigqueryRoutineSpec() - .equals(other.getBigqueryRoutineSpec())) return false; + if (!getBigqueryRoutineSpec().equals(other.getBigqueryRoutineSpec())) return false; break; case 0: default: @@ -1746,99 +1954,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.RoutineSpec parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.RoutineSpec parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.RoutineSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.RoutineSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.RoutineSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.RoutineSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.RoutineSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.RoutineSpec parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.RoutineSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.RoutineSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.RoutineSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.RoutineSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.RoutineSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.RoutineSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.RoutineSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Specification that applies to a routine. Valid only for
    * entries with the `ROUTINE` type.
@@ -1846,33 +2059,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.RoutineSpec}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.RoutineSpec)
       com.google.cloud.datacatalog.v1.RoutineSpecOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RoutineSpec_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_RoutineSpec_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.RoutineSpec.class, com.google.cloud.datacatalog.v1.RoutineSpec.Builder.class);
+              com.google.cloud.datacatalog.v1.RoutineSpec.class,
+              com.google.cloud.datacatalog.v1.RoutineSpec.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.RoutineSpec.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1897,9 +2109,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor;
     }
 
     @java.lang.Override
@@ -1918,9 +2130,12 @@ public com.google.cloud.datacatalog.v1.RoutineSpec build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.RoutineSpec buildPartial() {
-      com.google.cloud.datacatalog.v1.RoutineSpec result = new com.google.cloud.datacatalog.v1.RoutineSpec(this);
+      com.google.cloud.datacatalog.v1.RoutineSpec result =
+          new com.google.cloud.datacatalog.v1.RoutineSpec(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1957,8 +2172,7 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.RoutineSpec result) {
     private void buildPartialOneofs(com.google.cloud.datacatalog.v1.RoutineSpec result) {
       result.systemSpecCase_ = systemSpecCase_;
       result.systemSpec_ = this.systemSpec_;
-      if (systemSpecCase_ == 6 &&
-          bigqueryRoutineSpecBuilder_ != null) {
+      if (systemSpecCase_ == 6 && bigqueryRoutineSpecBuilder_ != null) {
         result.systemSpec_ = bigqueryRoutineSpecBuilder_.build();
       }
     }
@@ -1967,38 +2181,39 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.RoutineSpec 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.datacatalog.v1.RoutineSpec) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.RoutineSpec)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.RoutineSpec) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2033,9 +2248,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.RoutineSpec other) {
             routineArgumentsBuilder_ = null;
             routineArguments_ = other.routineArguments_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            routineArgumentsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getRoutineArgumentsFieldBuilder() : null;
+            routineArgumentsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getRoutineArgumentsFieldBuilder()
+                    : null;
           } else {
             routineArgumentsBuilder_.addAllMessages(other.routineArguments_);
           }
@@ -2052,13 +2268,15 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.RoutineSpec other) {
         onChanged();
       }
       switch (other.getSystemSpecCase()) {
-        case BIGQUERY_ROUTINE_SPEC: {
-          mergeBigqueryRoutineSpec(other.getBigqueryRoutineSpec());
-          break;
-        }
-        case SYSTEMSPEC_NOT_SET: {
-          break;
-        }
+        case BIGQUERY_ROUTINE_SPEC:
+          {
+            mergeBigqueryRoutineSpec(other.getBigqueryRoutineSpec());
+            break;
+          }
+        case SYSTEMSPEC_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -2086,52 +2304,58 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              routineType_ = input.readEnum();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 18: {
-              language_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              com.google.cloud.datacatalog.v1.RoutineSpec.Argument m =
-                  input.readMessage(
-                      com.google.cloud.datacatalog.v1.RoutineSpec.Argument.parser(),
-                      extensionRegistry);
-              if (routineArgumentsBuilder_ == null) {
-                ensureRoutineArgumentsIsMutable();
-                routineArguments_.add(m);
-              } else {
-                routineArgumentsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 26
-            case 34: {
-              returnType_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              definitionBody_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getBigqueryRoutineSpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              systemSpecCase_ = 6;
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                routineType_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 18:
+              {
+                language_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                com.google.cloud.datacatalog.v1.RoutineSpec.Argument m =
+                    input.readMessage(
+                        com.google.cloud.datacatalog.v1.RoutineSpec.Argument.parser(),
+                        extensionRegistry);
+                if (routineArgumentsBuilder_ == null) {
+                  ensureRoutineArgumentsIsMutable();
+                  routineArguments_.add(m);
+                } else {
+                  routineArgumentsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 26
+            case 34:
+              {
+                returnType_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                definitionBody_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(
+                    getBigqueryRoutineSpecFieldBuilder().getBuilder(), extensionRegistry);
+                systemSpecCase_ = 6;
+                break;
+              } // case 50
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2141,12 +2365,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int systemSpecCase_ = 0;
     private java.lang.Object systemSpec_;
-    public SystemSpecCase
-        getSystemSpecCase() {
-      return SystemSpecCase.forNumber(
-          systemSpecCase_);
+
+    public SystemSpecCase getSystemSpecCase() {
+      return SystemSpecCase.forNumber(systemSpecCase_);
     }
 
     public Builder clearSystemSpec() {
@@ -2160,22 +2384,29 @@ public Builder clearSystemSpec() {
 
     private int routineType_ = 0;
     /**
+     *
+     *
      * 
      * The type of the routine.
      * 
* * .google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1; + * * @return The enum numeric value on the wire for routineType. */ - @java.lang.Override public int getRoutineTypeValue() { + @java.lang.Override + public int getRoutineTypeValue() { return routineType_; } /** + * + * *
      * The type of the routine.
      * 
* * .google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1; + * * @param value The enum numeric value on the wire for routineType to set. * @return This builder for chaining. */ @@ -2186,24 +2417,33 @@ public Builder setRoutineTypeValue(int value) { return this; } /** + * + * *
      * The type of the routine.
      * 
* * .google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1; + * * @return The routineType. */ @java.lang.Override public com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType getRoutineType() { - com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType result = com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.forNumber(routineType_); - return result == null ? com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.UNRECOGNIZED : result; + com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType result = + com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.forNumber(routineType_); + return result == null + ? com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.UNRECOGNIZED + : result; } /** + * + * *
      * The type of the routine.
      * 
* * .google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1; + * * @param value The routineType to set. * @return This builder for chaining. */ @@ -2217,11 +2457,14 @@ public Builder setRoutineType(com.google.cloud.datacatalog.v1.RoutineSpec.Routin return this; } /** + * + * *
      * The type of the routine.
      * 
* * .google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1; + * * @return This builder for chaining. */ public Builder clearRoutineType() { @@ -2233,6 +2476,8 @@ public Builder clearRoutineType() { private java.lang.Object language_ = ""; /** + * + * *
      * The language the routine is written in. The exact value depends on the
      * source system. For BigQuery routines, possible values are:
@@ -2242,13 +2487,13 @@ public Builder clearRoutineType() {
      * 
* * string language = 2; + * * @return The language. */ public java.lang.String getLanguage() { java.lang.Object ref = language_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); language_ = s; return s; @@ -2257,6 +2502,8 @@ public java.lang.String getLanguage() { } } /** + * + * *
      * The language the routine is written in. The exact value depends on the
      * source system. For BigQuery routines, possible values are:
@@ -2266,15 +2513,14 @@ public java.lang.String getLanguage() {
      * 
* * string language = 2; + * * @return The bytes for language. */ - public com.google.protobuf.ByteString - getLanguageBytes() { + public com.google.protobuf.ByteString getLanguageBytes() { java.lang.Object ref = language_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); language_ = b; return b; } else { @@ -2282,6 +2528,8 @@ public java.lang.String getLanguage() { } } /** + * + * *
      * The language the routine is written in. The exact value depends on the
      * source system. For BigQuery routines, possible values are:
@@ -2291,18 +2539,22 @@ public java.lang.String getLanguage() {
      * 
* * string language = 2; + * * @param value The language to set. * @return This builder for chaining. */ - public Builder setLanguage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLanguage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } language_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The language the routine is written in. The exact value depends on the
      * source system. For BigQuery routines, possible values are:
@@ -2312,6 +2564,7 @@ public Builder setLanguage(
      * 
* * string language = 2; + * * @return This builder for chaining. */ public Builder clearLanguage() { @@ -2321,6 +2574,8 @@ public Builder clearLanguage() { return this; } /** + * + * *
      * The language the routine is written in. The exact value depends on the
      * source system. For BigQuery routines, possible values are:
@@ -2330,12 +2585,14 @@ public Builder clearLanguage() {
      * 
* * string language = 2; + * * @param value The bytes for language to set. * @return This builder for chaining. */ - public Builder setLanguageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLanguageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); language_ = value; bitField0_ |= 0x00000002; @@ -2344,25 +2601,35 @@ public Builder setLanguageBytes( } private java.util.List routineArguments_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRoutineArgumentsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - routineArguments_ = new java.util.ArrayList(routineArguments_); + routineArguments_ = + new java.util.ArrayList( + routineArguments_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.RoutineSpec.Argument, com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder, com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder> routineArgumentsBuilder_; + com.google.cloud.datacatalog.v1.RoutineSpec.Argument, + com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder, + com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder> + routineArgumentsBuilder_; /** + * + * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * */ - public java.util.List getRoutineArgumentsList() { + public java.util.List + getRoutineArgumentsList() { if (routineArgumentsBuilder_ == null) { return java.util.Collections.unmodifiableList(routineArguments_); } else { @@ -2370,11 +2637,14 @@ public java.util.List getR } } /** + * + * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * */ public int getRoutineArgumentsCount() { if (routineArgumentsBuilder_ == null) { @@ -2384,11 +2654,14 @@ public int getRoutineArgumentsCount() { } } /** + * + * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * */ public com.google.cloud.datacatalog.v1.RoutineSpec.Argument getRoutineArguments(int index) { if (routineArgumentsBuilder_ == null) { @@ -2398,11 +2671,14 @@ public com.google.cloud.datacatalog.v1.RoutineSpec.Argument getRoutineArguments( } } /** + * + * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * */ public Builder setRoutineArguments( int index, com.google.cloud.datacatalog.v1.RoutineSpec.Argument value) { @@ -2419,11 +2695,14 @@ public Builder setRoutineArguments( return this; } /** + * + * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * */ public Builder setRoutineArguments( int index, com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder builderForValue) { @@ -2437,11 +2716,14 @@ public Builder setRoutineArguments( return this; } /** + * + * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * */ public Builder addRoutineArguments(com.google.cloud.datacatalog.v1.RoutineSpec.Argument value) { if (routineArgumentsBuilder_ == null) { @@ -2457,11 +2739,14 @@ public Builder addRoutineArguments(com.google.cloud.datacatalog.v1.RoutineSpec.A return this; } /** + * + * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * */ public Builder addRoutineArguments( int index, com.google.cloud.datacatalog.v1.RoutineSpec.Argument value) { @@ -2478,11 +2763,14 @@ public Builder addRoutineArguments( return this; } /** + * + * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * */ public Builder addRoutineArguments( com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder builderForValue) { @@ -2496,11 +2784,14 @@ public Builder addRoutineArguments( return this; } /** + * + * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * */ public Builder addRoutineArguments( int index, com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder builderForValue) { @@ -2514,18 +2805,20 @@ public Builder addRoutineArguments( return this; } /** + * + * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * */ public Builder addAllRoutineArguments( java.lang.Iterable values) { if (routineArgumentsBuilder_ == null) { ensureRoutineArgumentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, routineArguments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, routineArguments_); onChanged(); } else { routineArgumentsBuilder_.addAllMessages(values); @@ -2533,11 +2826,14 @@ public Builder addAllRoutineArguments( return this; } /** + * + * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * */ public Builder clearRoutineArguments() { if (routineArgumentsBuilder_ == null) { @@ -2550,11 +2846,14 @@ public Builder clearRoutineArguments() { return this; } /** + * + * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * */ public Builder removeRoutineArguments(int index) { if (routineArgumentsBuilder_ == null) { @@ -2567,39 +2866,49 @@ public Builder removeRoutineArguments(int index) { return this; } /** + * + * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * */ public com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder getRoutineArgumentsBuilder( int index) { return getRoutineArgumentsFieldBuilder().getBuilder(index); } /** + * + * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * */ - public com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder getRoutineArgumentsOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder + getRoutineArgumentsOrBuilder(int index) { if (routineArgumentsBuilder_ == null) { - return routineArguments_.get(index); } else { + return routineArguments_.get(index); + } else { return routineArgumentsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * */ - public java.util.List - getRoutineArgumentsOrBuilderList() { + public java.util.List + getRoutineArgumentsOrBuilderList() { if (routineArgumentsBuilder_ != null) { return routineArgumentsBuilder_.getMessageOrBuilderList(); } else { @@ -2607,45 +2916,62 @@ public com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder getRoutineA } } /** + * + * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * */ - public com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder addRoutineArgumentsBuilder() { - return getRoutineArgumentsFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1.RoutineSpec.Argument.getDefaultInstance()); + public com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder + addRoutineArgumentsBuilder() { + return getRoutineArgumentsFieldBuilder() + .addBuilder(com.google.cloud.datacatalog.v1.RoutineSpec.Argument.getDefaultInstance()); } /** + * + * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * */ public com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder addRoutineArgumentsBuilder( int index) { - return getRoutineArgumentsFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1.RoutineSpec.Argument.getDefaultInstance()); + return getRoutineArgumentsFieldBuilder() + .addBuilder( + index, com.google.cloud.datacatalog.v1.RoutineSpec.Argument.getDefaultInstance()); } /** + * + * *
      * Arguments of the routine.
      * 
* - * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * */ - public java.util.List - getRoutineArgumentsBuilderList() { + public java.util.List + getRoutineArgumentsBuilderList() { return getRoutineArgumentsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.RoutineSpec.Argument, com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder, com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder> + com.google.cloud.datacatalog.v1.RoutineSpec.Argument, + com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder, + com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder> getRoutineArgumentsFieldBuilder() { if (routineArgumentsBuilder_ == null) { - routineArgumentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.RoutineSpec.Argument, com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder, com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder>( + routineArgumentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.RoutineSpec.Argument, + com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder, + com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder>( routineArguments_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -2657,19 +2983,21 @@ public com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder addRoutineAr private java.lang.Object returnType_ = ""; /** + * + * *
      * Return type of the argument. The exact value depends on the source system
      * and the language.
      * 
* * string return_type = 4; + * * @return The returnType. */ public java.lang.String getReturnType() { java.lang.Object ref = returnType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); returnType_ = s; return s; @@ -2678,21 +3006,22 @@ public java.lang.String getReturnType() { } } /** + * + * *
      * Return type of the argument. The exact value depends on the source system
      * and the language.
      * 
* * string return_type = 4; + * * @return The bytes for returnType. */ - public com.google.protobuf.ByteString - getReturnTypeBytes() { + public com.google.protobuf.ByteString getReturnTypeBytes() { java.lang.Object ref = returnType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); returnType_ = b; return b; } else { @@ -2700,30 +3029,37 @@ public java.lang.String getReturnType() { } } /** + * + * *
      * Return type of the argument. The exact value depends on the source system
      * and the language.
      * 
* * string return_type = 4; + * * @param value The returnType to set. * @return This builder for chaining. */ - public Builder setReturnType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReturnType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } returnType_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Return type of the argument. The exact value depends on the source system
      * and the language.
      * 
* * string return_type = 4; + * * @return This builder for chaining. */ public Builder clearReturnType() { @@ -2733,18 +3069,22 @@ public Builder clearReturnType() { return this; } /** + * + * *
      * Return type of the argument. The exact value depends on the source system
      * and the language.
      * 
* * string return_type = 4; + * * @param value The bytes for returnType to set. * @return This builder for chaining. */ - public Builder setReturnTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReturnTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); returnType_ = value; bitField0_ |= 0x00000008; @@ -2754,18 +3094,20 @@ public Builder setReturnTypeBytes( private java.lang.Object definitionBody_ = ""; /** + * + * *
      * The body of the routine.
      * 
* * string definition_body = 5; + * * @return The definitionBody. */ public java.lang.String getDefinitionBody() { java.lang.Object ref = definitionBody_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); definitionBody_ = s; return s; @@ -2774,20 +3116,21 @@ public java.lang.String getDefinitionBody() { } } /** + * + * *
      * The body of the routine.
      * 
* * string definition_body = 5; + * * @return The bytes for definitionBody. */ - public com.google.protobuf.ByteString - getDefinitionBodyBytes() { + public com.google.protobuf.ByteString getDefinitionBodyBytes() { java.lang.Object ref = definitionBody_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); definitionBody_ = b; return b; } else { @@ -2795,28 +3138,35 @@ public java.lang.String getDefinitionBody() { } } /** + * + * *
      * The body of the routine.
      * 
* * string definition_body = 5; + * * @param value The definitionBody to set. * @return This builder for chaining. */ - public Builder setDefinitionBody( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDefinitionBody(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } definitionBody_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * The body of the routine.
      * 
* * string definition_body = 5; + * * @return This builder for chaining. */ public Builder clearDefinitionBody() { @@ -2826,17 +3176,21 @@ public Builder clearDefinitionBody() { return this; } /** + * + * *
      * The body of the routine.
      * 
* * string definition_body = 5; + * * @param value The bytes for definitionBody to set. * @return This builder for chaining. */ - public Builder setDefinitionBodyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDefinitionBodyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); definitionBody_ = value; bitField0_ |= 0x00000010; @@ -2845,13 +3199,19 @@ public Builder setDefinitionBodyBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.BigQueryRoutineSpec, com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder, com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder> bigqueryRoutineSpecBuilder_; + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec, + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder, + com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder> + bigqueryRoutineSpecBuilder_; /** + * + * *
      * Fields specific for BigQuery routines.
      * 
* * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; + * * @return Whether the bigqueryRoutineSpec field is set. */ @java.lang.Override @@ -2859,11 +3219,14 @@ public boolean hasBigqueryRoutineSpec() { return systemSpecCase_ == 6; } /** + * + * *
      * Fields specific for BigQuery routines.
      * 
* * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; + * * @return The bigqueryRoutineSpec. */ @java.lang.Override @@ -2881,13 +3244,16 @@ public com.google.cloud.datacatalog.v1.BigQueryRoutineSpec getBigqueryRoutineSpe } } /** + * + * *
      * Fields specific for BigQuery routines.
      * 
* * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; */ - public Builder setBigqueryRoutineSpec(com.google.cloud.datacatalog.v1.BigQueryRoutineSpec value) { + public Builder setBigqueryRoutineSpec( + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec value) { if (bigqueryRoutineSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2901,6 +3267,8 @@ public Builder setBigqueryRoutineSpec(com.google.cloud.datacatalog.v1.BigQueryRo return this; } /** + * + * *
      * Fields specific for BigQuery routines.
      * 
@@ -2919,18 +3287,25 @@ public Builder setBigqueryRoutineSpec( return this; } /** + * + * *
      * Fields specific for BigQuery routines.
      * 
* * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; */ - public Builder mergeBigqueryRoutineSpec(com.google.cloud.datacatalog.v1.BigQueryRoutineSpec value) { + public Builder mergeBigqueryRoutineSpec( + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec value) { if (bigqueryRoutineSpecBuilder_ == null) { - if (systemSpecCase_ == 6 && - systemSpec_ != com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.getDefaultInstance()) { - systemSpec_ = com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.newBuilder((com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) systemSpec_) - .mergeFrom(value).buildPartial(); + if (systemSpecCase_ == 6 + && systemSpec_ + != com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.getDefaultInstance()) { + systemSpec_ = + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.newBuilder( + (com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) systemSpec_) + .mergeFrom(value) + .buildPartial(); } else { systemSpec_ = value; } @@ -2946,6 +3321,8 @@ public Builder mergeBigqueryRoutineSpec(com.google.cloud.datacatalog.v1.BigQuery return this; } /** + * + * *
      * Fields specific for BigQuery routines.
      * 
@@ -2969,16 +3346,21 @@ public Builder clearBigqueryRoutineSpec() { return this; } /** + * + * *
      * Fields specific for BigQuery routines.
      * 
* * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; */ - public com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder getBigqueryRoutineSpecBuilder() { + public com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder + getBigqueryRoutineSpecBuilder() { return getBigqueryRoutineSpecFieldBuilder().getBuilder(); } /** + * + * *
      * Fields specific for BigQuery routines.
      * 
@@ -2986,7 +3368,8 @@ public com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder getBigqueryRo * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder getBigqueryRoutineSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder + getBigqueryRoutineSpecOrBuilder() { if ((systemSpecCase_ == 6) && (bigqueryRoutineSpecBuilder_ != null)) { return bigqueryRoutineSpecBuilder_.getMessageOrBuilder(); } else { @@ -2997,6 +3380,8 @@ public com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder getBigqueryR } } /** + * + * *
      * Fields specific for BigQuery routines.
      * 
@@ -3004,14 +3389,19 @@ public com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder getBigqueryR * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.BigQueryRoutineSpec, com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder, com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder> + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec, + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder, + com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder> getBigqueryRoutineSpecFieldBuilder() { if (bigqueryRoutineSpecBuilder_ == null) { if (!(systemSpecCase_ == 6)) { systemSpec_ = com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.getDefaultInstance(); } - bigqueryRoutineSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.BigQueryRoutineSpec, com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder, com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder>( + bigqueryRoutineSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec, + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder, + com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder>( (com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) systemSpec_, getParentForChildren(), isClean()); @@ -3021,9 +3411,9 @@ public com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder getBigqueryR onChanged(); return bigqueryRoutineSpecBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3033,12 +3423,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.RoutineSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.RoutineSpec) private static final com.google.cloud.datacatalog.v1.RoutineSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.RoutineSpec(); } @@ -3047,27 +3437,27 @@ public static com.google.cloud.datacatalog.v1.RoutineSpec getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RoutineSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RoutineSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3082,6 +3472,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.RoutineSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpecOrBuilder.java similarity index 80% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpecOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpecOrBuilder.java index 1f7c370d1c05..09807bb7e3e5 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpecOrBuilder.java @@ -1,32 +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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface RoutineSpecOrBuilder extends +public interface RoutineSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.RoutineSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The type of the routine.
    * 
* * .google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1; + * * @return The enum numeric value on the wire for routineType. */ int getRoutineTypeValue(); /** + * + * *
    * The type of the routine.
    * 
* * .google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1; + * * @return The routineType. */ com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType getRoutineType(); /** + * + * *
    * The language the routine is written in. The exact value depends on the
    * source system. For BigQuery routines, possible values are:
@@ -36,10 +60,13 @@ public interface RoutineSpecOrBuilder extends
    * 
* * string language = 2; + * * @return The language. */ java.lang.String getLanguage(); /** + * + * *
    * The language the routine is written in. The exact value depends on the
    * source system. For BigQuery routines, possible values are:
@@ -49,21 +76,24 @@ public interface RoutineSpecOrBuilder extends
    * 
* * string language = 2; + * * @return The bytes for language. */ - com.google.protobuf.ByteString - getLanguageBytes(); + com.google.protobuf.ByteString getLanguageBytes(); /** + * + * *
    * Arguments of the routine.
    * 
* * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; */ - java.util.List - getRoutineArgumentsList(); + java.util.List getRoutineArgumentsList(); /** + * + * *
    * Arguments of the routine.
    * 
@@ -72,6 +102,8 @@ public interface RoutineSpecOrBuilder extends */ com.google.cloud.datacatalog.v1.RoutineSpec.Argument getRoutineArguments(int index); /** + * + * *
    * Arguments of the routine.
    * 
@@ -80,15 +112,19 @@ public interface RoutineSpecOrBuilder extends */ int getRoutineArgumentsCount(); /** + * + * *
    * Arguments of the routine.
    * 
* * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; */ - java.util.List + java.util.List getRoutineArgumentsOrBuilderList(); /** + * + * *
    * Arguments of the routine.
    * 
@@ -99,66 +135,84 @@ com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder getRoutineArgument int index); /** + * + * *
    * Return type of the argument. The exact value depends on the source system
    * and the language.
    * 
* * string return_type = 4; + * * @return The returnType. */ java.lang.String getReturnType(); /** + * + * *
    * Return type of the argument. The exact value depends on the source system
    * and the language.
    * 
* * string return_type = 4; + * * @return The bytes for returnType. */ - com.google.protobuf.ByteString - getReturnTypeBytes(); + com.google.protobuf.ByteString getReturnTypeBytes(); /** + * + * *
    * The body of the routine.
    * 
* * string definition_body = 5; + * * @return The definitionBody. */ java.lang.String getDefinitionBody(); /** + * + * *
    * The body of the routine.
    * 
* * string definition_body = 5; + * * @return The bytes for definitionBody. */ - com.google.protobuf.ByteString - getDefinitionBodyBytes(); + com.google.protobuf.ByteString getDefinitionBodyBytes(); /** + * + * *
    * Fields specific for BigQuery routines.
    * 
* * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; + * * @return Whether the bigqueryRoutineSpec field is set. */ boolean hasBigqueryRoutineSpec(); /** + * + * *
    * Fields specific for BigQuery routines.
    * 
* * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; + * * @return The bigqueryRoutineSpec. */ com.google.cloud.datacatalog.v1.BigQueryRoutineSpec getBigqueryRoutineSpec(); /** + * + * *
    * Fields specific for BigQuery routines.
    * 
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Schema.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Schema.java similarity index 74% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Schema.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Schema.java index 28f68237b0a1..933952bc2ae5 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Schema.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Schema.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/datacatalog/v1/schema.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Represents a schema, for example, a BigQuery, GoogleSQL, or Avro schema.
  * 
* * Protobuf type {@code google.cloud.datacatalog.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.datacatalog.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() { columns_ = 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 Schema(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1_Schema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.SchemaOuterClass + .internal_static_google_cloud_datacatalog_v1_Schema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1_Schema_fieldAccessorTable + return com.google.cloud.datacatalog.v1.SchemaOuterClass + .internal_static_google_cloud_datacatalog_v1_Schema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.Schema.class, com.google.cloud.datacatalog.v1.Schema.Builder.class); + com.google.cloud.datacatalog.v1.Schema.class, + com.google.cloud.datacatalog.v1.Schema.Builder.class); } public static final int COLUMNS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List columns_; /** + * + * *
    * The unified GoogleSQL-like schema of columns.
    *
@@ -61,6 +83,8 @@ public java.util.List getColumnsLi
     return columns_;
   }
   /**
+   *
+   *
    * 
    * The unified GoogleSQL-like schema of columns.
    *
@@ -71,11 +95,13 @@ public java.util.List getColumnsLi
    * repeated .google.cloud.datacatalog.v1.ColumnSchema columns = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getColumnsOrBuilderList() {
     return columns_;
   }
   /**
+   *
+   *
    * 
    * The unified GoogleSQL-like schema of columns.
    *
@@ -90,6 +116,8 @@ public int getColumnsCount() {
     return columns_.size();
   }
   /**
+   *
+   *
    * 
    * The unified GoogleSQL-like schema of columns.
    *
@@ -104,6 +132,8 @@ public com.google.cloud.datacatalog.v1.ColumnSchema getColumns(int index) {
     return columns_.get(index);
   }
   /**
+   *
+   *
    * 
    * The unified GoogleSQL-like schema of columns.
    *
@@ -114,12 +144,12 @@ public com.google.cloud.datacatalog.v1.ColumnSchema getColumns(int index) {
    * repeated .google.cloud.datacatalog.v1.ColumnSchema columns = 2;
    */
   @java.lang.Override
-  public com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getColumnsOrBuilder(
-      int index) {
+  public com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getColumnsOrBuilder(int index) {
     return columns_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -131,8 +161,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < columns_.size(); i++) {
       output.writeMessage(2, columns_.get(i));
     }
@@ -146,8 +175,7 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < columns_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, columns_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, columns_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -157,15 +185,14 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.datacatalog.v1.Schema)) {
       return super.equals(obj);
     }
     com.google.cloud.datacatalog.v1.Schema other = (com.google.cloud.datacatalog.v1.Schema) obj;
 
-    if (!getColumnsList()
-        .equals(other.getColumnsList())) return false;
+    if (!getColumnsList().equals(other.getColumnsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -186,132 +213,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.datacatalog.v1.Schema parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.datacatalog.v1.Schema parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.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.datacatalog.v1.Schema parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.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.datacatalog.v1.Schema parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.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.datacatalog.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.datacatalog.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.datacatalog.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.datacatalog.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.datacatalog.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.datacatalog.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.datacatalog.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;
   }
   /**
+   *
+   *
    * 
    * Represents a schema, for example, a BigQuery, GoogleSQL, or Avro schema.
    * 
* * Protobuf type {@code google.cloud.datacatalog.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.datacatalog.v1.Schema) com.google.cloud.datacatalog.v1.SchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1_Schema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.SchemaOuterClass + .internal_static_google_cloud_datacatalog_v1_Schema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1_Schema_fieldAccessorTable + return com.google.cloud.datacatalog.v1.SchemaOuterClass + .internal_static_google_cloud_datacatalog_v1_Schema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.Schema.class, com.google.cloud.datacatalog.v1.Schema.Builder.class); + com.google.cloud.datacatalog.v1.Schema.class, + com.google.cloud.datacatalog.v1.Schema.Builder.class); } // Construct using com.google.cloud.datacatalog.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(); @@ -327,9 +358,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1_Schema_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.SchemaOuterClass + .internal_static_google_cloud_datacatalog_v1_Schema_descriptor; } @java.lang.Override @@ -348,9 +379,12 @@ public com.google.cloud.datacatalog.v1.Schema build() { @java.lang.Override public com.google.cloud.datacatalog.v1.Schema buildPartial() { - com.google.cloud.datacatalog.v1.Schema result = new com.google.cloud.datacatalog.v1.Schema(this); + com.google.cloud.datacatalog.v1.Schema result = + new com.google.cloud.datacatalog.v1.Schema(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -375,38 +409,39 @@ private void buildPartial0(com.google.cloud.datacatalog.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.datacatalog.v1.Schema) { - return mergeFrom((com.google.cloud.datacatalog.v1.Schema)other); + return mergeFrom((com.google.cloud.datacatalog.v1.Schema) other); } else { super.mergeFrom(other); return this; @@ -433,9 +468,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.Schema other) { columnsBuilder_ = null; columns_ = other.columns_; bitField0_ = (bitField0_ & ~0x00000001); - columnsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getColumnsFieldBuilder() : null; + columnsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getColumnsFieldBuilder() + : null; } else { columnsBuilder_.addAllMessages(other.columns_); } @@ -467,25 +503,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - com.google.cloud.datacatalog.v1.ColumnSchema m = - input.readMessage( - com.google.cloud.datacatalog.v1.ColumnSchema.parser(), - extensionRegistry); - if (columnsBuilder_ == null) { - ensureColumnsIsMutable(); - columns_.add(m); - } else { - columnsBuilder_.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.datacatalog.v1.ColumnSchema m = + input.readMessage( + com.google.cloud.datacatalog.v1.ColumnSchema.parser(), extensionRegistry); + if (columnsBuilder_ == null) { + ensureColumnsIsMutable(); + columns_.add(m); + } else { + columnsBuilder_.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) { @@ -495,21 +532,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List columns_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureColumnsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { columns_ = new java.util.ArrayList(columns_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.ColumnSchema, com.google.cloud.datacatalog.v1.ColumnSchema.Builder, com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder> columnsBuilder_; + com.google.cloud.datacatalog.v1.ColumnSchema, + com.google.cloud.datacatalog.v1.ColumnSchema.Builder, + com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder> + columnsBuilder_; /** + * + * *
      * The unified GoogleSQL-like schema of columns.
      *
@@ -527,6 +571,8 @@ public java.util.List getColumnsLi
       }
     }
     /**
+     *
+     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -544,6 +590,8 @@ public int getColumnsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -561,6 +609,8 @@ public com.google.cloud.datacatalog.v1.ColumnSchema getColumns(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -570,8 +620,7 @@ public com.google.cloud.datacatalog.v1.ColumnSchema getColumns(int index) {
      *
      * repeated .google.cloud.datacatalog.v1.ColumnSchema columns = 2;
      */
-    public Builder setColumns(
-        int index, com.google.cloud.datacatalog.v1.ColumnSchema value) {
+    public Builder setColumns(int index, com.google.cloud.datacatalog.v1.ColumnSchema value) {
       if (columnsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -585,6 +634,8 @@ public Builder setColumns(
       return this;
     }
     /**
+     *
+     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -606,6 +657,8 @@ public Builder setColumns(
       return this;
     }
     /**
+     *
+     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -629,6 +682,8 @@ public Builder addColumns(com.google.cloud.datacatalog.v1.ColumnSchema value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -638,8 +693,7 @@ public Builder addColumns(com.google.cloud.datacatalog.v1.ColumnSchema value) {
      *
      * repeated .google.cloud.datacatalog.v1.ColumnSchema columns = 2;
      */
-    public Builder addColumns(
-        int index, com.google.cloud.datacatalog.v1.ColumnSchema value) {
+    public Builder addColumns(int index, com.google.cloud.datacatalog.v1.ColumnSchema value) {
       if (columnsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -653,6 +707,8 @@ public Builder addColumns(
       return this;
     }
     /**
+     *
+     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -674,6 +730,8 @@ public Builder addColumns(
       return this;
     }
     /**
+     *
+     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -695,6 +753,8 @@ public Builder addColumns(
       return this;
     }
     /**
+     *
+     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -708,8 +768,7 @@ 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);
@@ -717,6 +776,8 @@ public Builder addAllColumns(
       return this;
     }
     /**
+     *
+     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -737,6 +798,8 @@ public Builder clearColumns() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -757,6 +820,8 @@ public Builder removeColumns(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -766,11 +831,12 @@ public Builder removeColumns(int index) {
      *
      * repeated .google.cloud.datacatalog.v1.ColumnSchema columns = 2;
      */
-    public com.google.cloud.datacatalog.v1.ColumnSchema.Builder getColumnsBuilder(
-        int index) {
+    public com.google.cloud.datacatalog.v1.ColumnSchema.Builder getColumnsBuilder(int index) {
       return getColumnsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -780,14 +846,16 @@ public com.google.cloud.datacatalog.v1.ColumnSchema.Builder getColumnsBuilder(
      *
      * repeated .google.cloud.datacatalog.v1.ColumnSchema columns = 2;
      */
-    public com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getColumnsOrBuilder(
-        int index) {
+    public com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getColumnsOrBuilder(int index) {
       if (columnsBuilder_ == null) {
-        return columns_.get(index);  } else {
+        return columns_.get(index);
+      } else {
         return columnsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -797,8 +865,8 @@ public com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getColumnsOrBuilder
      *
      * repeated .google.cloud.datacatalog.v1.ColumnSchema columns = 2;
      */
-    public java.util.List 
-         getColumnsOrBuilderList() {
+    public java.util.List
+        getColumnsOrBuilderList() {
       if (columnsBuilder_ != null) {
         return columnsBuilder_.getMessageOrBuilderList();
       } else {
@@ -806,6 +874,8 @@ public com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getColumnsOrBuilder
       }
     }
     /**
+     *
+     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -816,10 +886,12 @@ public com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getColumnsOrBuilder
      * repeated .google.cloud.datacatalog.v1.ColumnSchema columns = 2;
      */
     public com.google.cloud.datacatalog.v1.ColumnSchema.Builder addColumnsBuilder() {
-      return getColumnsFieldBuilder().addBuilder(
-          com.google.cloud.datacatalog.v1.ColumnSchema.getDefaultInstance());
+      return getColumnsFieldBuilder()
+          .addBuilder(com.google.cloud.datacatalog.v1.ColumnSchema.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -829,12 +901,13 @@ public com.google.cloud.datacatalog.v1.ColumnSchema.Builder addColumnsBuilder()
      *
      * repeated .google.cloud.datacatalog.v1.ColumnSchema columns = 2;
      */
-    public com.google.cloud.datacatalog.v1.ColumnSchema.Builder addColumnsBuilder(
-        int index) {
-      return getColumnsFieldBuilder().addBuilder(
-          index, com.google.cloud.datacatalog.v1.ColumnSchema.getDefaultInstance());
+    public com.google.cloud.datacatalog.v1.ColumnSchema.Builder addColumnsBuilder(int index) {
+      return getColumnsFieldBuilder()
+          .addBuilder(index, com.google.cloud.datacatalog.v1.ColumnSchema.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The unified GoogleSQL-like schema of columns.
      *
@@ -844,27 +917,30 @@ public com.google.cloud.datacatalog.v1.ColumnSchema.Builder addColumnsBuilder(
      *
      * repeated .google.cloud.datacatalog.v1.ColumnSchema columns = 2;
      */
-    public java.util.List 
-         getColumnsBuilderList() {
+    public java.util.List
+        getColumnsBuilderList() {
       return getColumnsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.ColumnSchema, com.google.cloud.datacatalog.v1.ColumnSchema.Builder, com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder> 
+            com.google.cloud.datacatalog.v1.ColumnSchema,
+            com.google.cloud.datacatalog.v1.ColumnSchema.Builder,
+            com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder>
         getColumnsFieldBuilder() {
       if (columnsBuilder_ == null) {
-        columnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.ColumnSchema, com.google.cloud.datacatalog.v1.ColumnSchema.Builder, com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder>(
-                columns_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        columnsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.datacatalog.v1.ColumnSchema,
+                com.google.cloud.datacatalog.v1.ColumnSchema.Builder,
+                com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder>(
+                columns_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         columns_ = null;
       }
       return columnsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -874,12 +950,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.Schema)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.Schema)
   private static final com.google.cloud.datacatalog.v1.Schema DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.Schema();
   }
@@ -888,27 +964,27 @@ public static com.google.cloud.datacatalog.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;
@@ -923,6 +999,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1.Schema getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOrBuilder.java
similarity index 71%
rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOrBuilder.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOrBuilder.java
index 4c43d53c355d..1acd97924791 100644
--- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOrBuilder.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/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/datacatalog/v1/schema.proto
 
 package com.google.cloud.datacatalog.v1;
 
-public interface SchemaOrBuilder extends
+public interface SchemaOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.Schema)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The unified GoogleSQL-like schema of columns.
    *
@@ -17,9 +35,10 @@ public interface SchemaOrBuilder extends
    *
    * repeated .google.cloud.datacatalog.v1.ColumnSchema columns = 2;
    */
-  java.util.List 
-      getColumnsList();
+  java.util.List getColumnsList();
   /**
+   *
+   *
    * 
    * The unified GoogleSQL-like schema of columns.
    *
@@ -31,6 +50,8 @@ public interface SchemaOrBuilder extends
    */
   com.google.cloud.datacatalog.v1.ColumnSchema getColumns(int index);
   /**
+   *
+   *
    * 
    * The unified GoogleSQL-like schema of columns.
    *
@@ -42,6 +63,8 @@ public interface SchemaOrBuilder extends
    */
   int getColumnsCount();
   /**
+   *
+   *
    * 
    * The unified GoogleSQL-like schema of columns.
    *
@@ -51,9 +74,11 @@ public interface SchemaOrBuilder extends
    *
    * repeated .google.cloud.datacatalog.v1.ColumnSchema columns = 2;
    */
-  java.util.List 
+  java.util.List
       getColumnsOrBuilderList();
   /**
+   *
+   *
    * 
    * The unified GoogleSQL-like schema of columns.
    *
@@ -63,6 +88,5 @@ public interface SchemaOrBuilder extends
    *
    * repeated .google.cloud.datacatalog.v1.ColumnSchema columns = 2;
    */
-  com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getColumnsOrBuilder(
-      int index);
+  com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getColumnsOrBuilder(int index);
 }
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOuterClass.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOuterClass.java
new file mode 100644
index 000000000000..e69cf8a2a026
--- /dev/null
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOuterClass.java
@@ -0,0 +1,133 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/datacatalog/v1/schema.proto
+
+package com.google.cloud.datacatalog.v1;
+
+public final class SchemaOuterClass {
+  private SchemaOuterClass() {}
+
+  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_datacatalog_v1_Schema_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_datacatalog_v1_Schema_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_datacatalog_v1_ColumnSchema_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_datacatalog_v1_ColumnSchema_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_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/datacatalog/v1/schema.pro"
+          + "to\022\033google.cloud.datacatalog.v1\032\037google/"
+          + "api/field_behavior.proto\"D\n\006Schema\022:\n\007co"
+          + "lumns\030\002 \003(\0132).google.cloud.datacatalog.v"
+          + "1.ColumnSchema\"\332\006\n\014ColumnSchema\022\024\n\006colum"
+          + "n\030\006 \001(\tB\004\342A\001\002\022\022\n\004type\030\001 \001(\tB\004\342A\001\002\022\031\n\013des"
+          + "cription\030\002 \001(\tB\004\342A\001\001\022\022\n\004mode\030\003 \001(\tB\004\342A\001\001"
+          + "\022\033\n\rdefault_value\030\010 \001(\tB\004\342A\001\001\022\036\n\020ordinal"
+          + "_position\030\t \001(\005B\004\342A\001\001\022[\n\025highest_indexin"
+          + "g_type\030\n \001(\01626.google.cloud.datacatalog."
+          + "v1.ColumnSchema.IndexingTypeB\004\342A\001\001\022C\n\nsu"
+          + "bcolumns\030\007 \003(\0132).google.cloud.datacatalo"
+          + "g.v1.ColumnSchemaB\004\342A\001\001\022X\n\022looker_column"
+          + "_spec\030\022 \001(\0132:.google.cloud.datacatalog.v"
+          + "1.ColumnSchema.LookerColumnSpecH\000\022\025\n\007gc_"
+          + "rule\030\013 \001(\tB\004\342A\001\001\032\362\001\n\020LookerColumnSpec\022Y\n"
+          + "\004type\030\001 \001(\0162K.google.cloud.datacatalog.v"
+          + "1.ColumnSchema.LookerColumnSpec.LookerCo"
+          + "lumnType\"\202\001\n\020LookerColumnType\022\"\n\036LOOKER_"
+          + "COLUMN_TYPE_UNSPECIFIED\020\000\022\r\n\tDIMENSION\020\001"
+          + "\022\023\n\017DIMENSION_GROUP\020\002\022\n\n\006FILTER\020\003\022\013\n\007MEA"
+          + "SURE\020\004\022\r\n\tPARAMETER\020\005\"\234\001\n\014IndexingType\022\035"
+          + "\n\031INDEXING_TYPE_UNSPECIFIED\020\000\022\026\n\022INDEXIN"
+          + "G_TYPE_NONE\020\001\022\034\n\030INDEXING_TYPE_NON_UNIQU"
+          + "E\020\002\022\030\n\024INDEXING_TYPE_UNIQUE\020\003\022\035\n\031INDEXIN"
+          + "G_TYPE_PRIMARY_KEY\020\004B\r\n\013system_specB\306\001\n\037"
+          + "com.google.cloud.datacatalog.v1P\001ZAcloud"
+          + ".google.com/go/datacatalog/apiv1/datacat"
+          + "alogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud.D"
+          + "ataCatalog.V1\312\002\033Google\\Cloud\\DataCatalog"
+          + "\\V1\352\002\036Google::Cloud::DataCatalog::V1b\006pr"
+          + "oto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+            });
+    internal_static_google_cloud_datacatalog_v1_Schema_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_datacatalog_v1_Schema_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_datacatalog_v1_Schema_descriptor,
+            new java.lang.String[] {
+              "Columns",
+            });
+    internal_static_google_cloud_datacatalog_v1_ColumnSchema_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_datacatalog_v1_ColumnSchema_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_datacatalog_v1_ColumnSchema_descriptor,
+            new java.lang.String[] {
+              "Column",
+              "Type",
+              "Description",
+              "Mode",
+              "DefaultValue",
+              "OrdinalPosition",
+              "HighestIndexingType",
+              "Subcolumns",
+              "LookerColumnSpec",
+              "GcRule",
+              "SystemSpec",
+            });
+    internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_descriptor =
+        internal_static_google_cloud_datacatalog_v1_ColumnSchema_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_descriptor,
+            new java.lang.String[] {
+              "Type",
+            });
+    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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Search.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Search.java
new file mode 100644
index 000000000000..a97086a9dbda
--- /dev/null
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Search.java
@@ -0,0 +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/datacatalog/v1/search.proto
+
+package com.google.cloud.datacatalog.v1;
+
+public final class Search {
+  private Search() {}
+
+  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_datacatalog_v1_SearchCatalogResult_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_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/datacatalog/v1/search.pro"
+          + "to\022\033google.cloud.datacatalog.v1\032\037google/"
+          + "api/field_behavior.proto\032(google/cloud/d"
+          + "atacatalog/v1/common.proto\032\037google/proto"
+          + "buf/timestamp.proto\"\257\003\n\023SearchCatalogRes"
+          + "ult\022I\n\022search_result_type\030\001 \001(\0162-.google"
+          + ".cloud.datacatalog.v1.SearchResultType\022\035"
+          + "\n\025search_result_subtype\030\002 \001(\t\022\036\n\026relativ"
+          + "e_resource_name\030\003 \001(\t\022\027\n\017linked_resource"
+          + "\030\004 \001(\t\022/\n\013modify_time\030\007 \001(\0132\032.google.pro"
+          + "tobuf.Timestamp\022P\n\021integrated_system\030\010 \001"
+          + "(\0162-.google.cloud.datacatalog.v1.Integra"
+          + "tedSystemB\004\342A\001\003H\000\022\037\n\025user_specified_syst"
+          + "em\030\t \001(\tH\000\022\034\n\024fully_qualified_name\030\n \001(\t"
+          + "\022\024\n\014display_name\030\014 \001(\t\022\023\n\013description\030\r "
+          + "\001(\tB\010\n\006system*d\n\020SearchResultType\022\"\n\036SEA"
+          + "RCH_RESULT_TYPE_UNSPECIFIED\020\000\022\t\n\005ENTRY\020\001"
+          + "\022\020\n\014TAG_TEMPLATE\020\002\022\017\n\013ENTRY_GROUP\020\003B\306\001\n\037"
+          + "com.google.cloud.datacatalog.v1P\001ZAcloud"
+          + ".google.com/go/datacatalog/apiv1/datacat"
+          + "alogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud.D"
+          + "ataCatalog.V1\312\002\033Google\\Cloud\\DataCatalog"
+          + "\\V1\352\002\036Google::Cloud::DataCatalog::V1b\006pr"
+          + "oto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.cloud.datacatalog.v1.Common.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
+    internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_descriptor,
+            new java.lang.String[] {
+              "SearchResultType",
+              "SearchResultSubtype",
+              "RelativeResourceName",
+              "LinkedResource",
+              "ModifyTime",
+              "IntegratedSystem",
+              "UserSpecifiedSystem",
+              "FullyQualifiedName",
+              "DisplayName",
+              "Description",
+              "System",
+            });
+    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.datacatalog.v1.Common.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequest.java
similarity index 76%
rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequest.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequest.java
index fa755e87cf6d..6a88fc7c0c16 100644
--- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequest.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequest.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/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
 /**
+ *
+ *
  * 
  * Request message for
  * [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.SearchCatalogRequest}
  */
-public final class SearchCatalogRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SearchCatalogRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.SearchCatalogRequest)
     SearchCatalogRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SearchCatalogRequest.newBuilder() to construct.
   private SearchCatalogRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SearchCatalogRequest() {
     query_ = "";
     pageToken_ = "";
@@ -28,29 +46,33 @@ private SearchCatalogRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SearchCatalogRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.SearchCatalogRequest.class, com.google.cloud.datacatalog.v1.SearchCatalogRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.SearchCatalogRequest.class,
+            com.google.cloud.datacatalog.v1.SearchCatalogRequest.Builder.class);
   }
 
-  public interface ScopeOrBuilder extends
+  public interface ScopeOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.SearchCatalogRequest.Scope)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The list of organization IDs to search within.
      *
@@ -60,11 +82,13 @@ public interface ScopeOrBuilder extends
      * 
* * repeated string include_org_ids = 2; + * * @return A list containing the includeOrgIds. */ - java.util.List - getIncludeOrgIdsList(); + java.util.List getIncludeOrgIdsList(); /** + * + * *
      * The list of organization IDs to search within.
      *
@@ -74,10 +98,13 @@ public interface ScopeOrBuilder extends
      * 
* * repeated string include_org_ids = 2; + * * @return The count of includeOrgIds. */ int getIncludeOrgIdsCount(); /** + * + * *
      * The list of organization IDs to search within.
      *
@@ -87,11 +114,14 @@ public interface ScopeOrBuilder extends
      * 
* * repeated string include_org_ids = 2; + * * @param index The index of the element to return. * @return The includeOrgIds at the given index. */ java.lang.String getIncludeOrgIds(int index); /** + * + * *
      * The list of organization IDs to search within.
      *
@@ -101,13 +131,15 @@ public interface ScopeOrBuilder extends
      * 
* * repeated string include_org_ids = 2; + * * @param index The index of the value to return. * @return The bytes of the includeOrgIds at the given index. */ - com.google.protobuf.ByteString - getIncludeOrgIdsBytes(int index); + com.google.protobuf.ByteString getIncludeOrgIdsBytes(int index); /** + * + * *
      * The list of project IDs to search within.
      *
@@ -116,11 +148,13 @@ public interface ScopeOrBuilder extends
      * 
* * repeated string include_project_ids = 3; + * * @return A list containing the includeProjectIds. */ - java.util.List - getIncludeProjectIdsList(); + java.util.List getIncludeProjectIdsList(); /** + * + * *
      * The list of project IDs to search within.
      *
@@ -129,10 +163,13 @@ public interface ScopeOrBuilder extends
      * 
* * repeated string include_project_ids = 3; + * * @return The count of includeProjectIds. */ int getIncludeProjectIdsCount(); /** + * + * *
      * The list of project IDs to search within.
      *
@@ -141,11 +178,14 @@ public interface ScopeOrBuilder extends
      * 
* * repeated string include_project_ids = 3; + * * @param index The index of the element to return. * @return The includeProjectIds at the given index. */ java.lang.String getIncludeProjectIds(int index); /** + * + * *
      * The list of project IDs to search within.
      *
@@ -154,13 +194,15 @@ public interface ScopeOrBuilder extends
      * 
* * repeated string include_project_ids = 3; + * * @param index The index of the value to return. * @return The bytes of the includeProjectIds at the given index. */ - com.google.protobuf.ByteString - getIncludeProjectIdsBytes(int index); + com.google.protobuf.ByteString getIncludeProjectIdsBytes(int index); /** + * + * *
      * If `true`, include Google Cloud public datasets in
      * search results. By default, they are excluded.
@@ -170,11 +212,14 @@ public interface ScopeOrBuilder extends
      * 
* * bool include_gcp_public_datasets = 7; + * * @return The includeGcpPublicDatasets. */ boolean getIncludeGcpPublicDatasets(); /** + * + * *
      * Optional. The list of locations to search within. If empty, all locations
      * are searched.
@@ -188,12 +233,15 @@ public interface ScopeOrBuilder extends
      * value of this parameter.
      * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the restrictedLocations. */ - java.util.List - getRestrictedLocationsList(); + java.util.List getRestrictedLocationsList(); /** + * + * *
      * Optional. The list of locations to search within. If empty, all locations
      * are searched.
@@ -207,11 +255,15 @@ public interface ScopeOrBuilder extends
      * value of this parameter.
      * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of restrictedLocations. */ int getRestrictedLocationsCount(); /** + * + * *
      * Optional. The list of locations to search within. If empty, all locations
      * are searched.
@@ -225,12 +277,16 @@ public interface ScopeOrBuilder extends
      * value of this parameter.
      * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The restrictedLocations at the given index. */ java.lang.String getRestrictedLocations(int index); /** + * + * *
      * Optional. The list of locations to search within. If empty, all locations
      * are searched.
@@ -244,14 +300,17 @@ public interface ScopeOrBuilder extends
      * value of this parameter.
      * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The bytes of the restrictedLocations at the given index. */ - com.google.protobuf.ByteString - getRestrictedLocationsBytes(int index); + com.google.protobuf.ByteString getRestrictedLocationsBytes(int index); /** + * + * *
      * Optional. If `true`, search only among starred entries.
      *
@@ -259,73 +318,85 @@ public interface ScopeOrBuilder extends
      * 
* * bool starred_only = 18 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The starredOnly. */ boolean getStarredOnly(); /** + * + * *
      * Optional. This field is deprecated. The search mechanism for public and
      * private tag templates is the same.
      * 
* - * bool include_public_tag_templates = 19 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates is deprecated. - * See google/cloud/datacatalog/v1/datacatalog.proto;l=677 + * + * bool include_public_tag_templates = 19 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * + * + * @deprecated + * google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates is + * deprecated. See google/cloud/datacatalog/v1/datacatalog.proto;l=677 * @return The includePublicTagTemplates. */ - @java.lang.Deprecated boolean getIncludePublicTagTemplates(); + @java.lang.Deprecated + boolean getIncludePublicTagTemplates(); } /** + * + * *
    * The criteria that select the subspace used for query matching.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.SearchCatalogRequest.Scope} */ - public static final class Scope extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Scope extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.SearchCatalogRequest.Scope) ScopeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Scope.newBuilder() to construct. private Scope(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Scope() { - includeOrgIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - includeProjectIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - restrictedLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + includeOrgIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + includeProjectIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + restrictedLocations_ = 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 Scope(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.class, com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.Builder.class); + com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.class, + com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.Builder.class); } public static final int INCLUDE_ORG_IDS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList includeOrgIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * The list of organization IDs to search within.
      *
@@ -335,13 +406,15 @@ protected java.lang.Object newInstance(
      * 
* * repeated string include_org_ids = 2; + * * @return A list containing the includeOrgIds. */ - public com.google.protobuf.ProtocolStringList - getIncludeOrgIdsList() { + public com.google.protobuf.ProtocolStringList getIncludeOrgIdsList() { return includeOrgIds_; } /** + * + * *
      * The list of organization IDs to search within.
      *
@@ -351,12 +424,15 @@ protected java.lang.Object newInstance(
      * 
* * repeated string include_org_ids = 2; + * * @return The count of includeOrgIds. */ public int getIncludeOrgIdsCount() { return includeOrgIds_.size(); } /** + * + * *
      * The list of organization IDs to search within.
      *
@@ -366,6 +442,7 @@ public int getIncludeOrgIdsCount() {
      * 
* * repeated string include_org_ids = 2; + * * @param index The index of the element to return. * @return The includeOrgIds at the given index. */ @@ -373,6 +450,8 @@ public java.lang.String getIncludeOrgIds(int index) { return includeOrgIds_.get(index); } /** + * + * *
      * The list of organization IDs to search within.
      *
@@ -382,19 +461,22 @@ public java.lang.String getIncludeOrgIds(int index) {
      * 
* * repeated string include_org_ids = 2; + * * @param index The index of the value to return. * @return The bytes of the includeOrgIds at the given index. */ - public com.google.protobuf.ByteString - getIncludeOrgIdsBytes(int index) { + public com.google.protobuf.ByteString getIncludeOrgIdsBytes(int index) { return includeOrgIds_.getByteString(index); } public static final int INCLUDE_PROJECT_IDS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList includeProjectIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * The list of project IDs to search within.
      *
@@ -403,13 +485,15 @@ public java.lang.String getIncludeOrgIds(int index) {
      * 
* * repeated string include_project_ids = 3; + * * @return A list containing the includeProjectIds. */ - public com.google.protobuf.ProtocolStringList - getIncludeProjectIdsList() { + public com.google.protobuf.ProtocolStringList getIncludeProjectIdsList() { return includeProjectIds_; } /** + * + * *
      * The list of project IDs to search within.
      *
@@ -418,12 +502,15 @@ public java.lang.String getIncludeOrgIds(int index) {
      * 
* * repeated string include_project_ids = 3; + * * @return The count of includeProjectIds. */ public int getIncludeProjectIdsCount() { return includeProjectIds_.size(); } /** + * + * *
      * The list of project IDs to search within.
      *
@@ -432,6 +519,7 @@ public int getIncludeProjectIdsCount() {
      * 
* * repeated string include_project_ids = 3; + * * @param index The index of the element to return. * @return The includeProjectIds at the given index. */ @@ -439,6 +527,8 @@ public java.lang.String getIncludeProjectIds(int index) { return includeProjectIds_.get(index); } /** + * + * *
      * The list of project IDs to search within.
      *
@@ -447,17 +537,19 @@ public java.lang.String getIncludeProjectIds(int index) {
      * 
* * repeated string include_project_ids = 3; + * * @param index The index of the value to return. * @return The bytes of the includeProjectIds at the given index. */ - public com.google.protobuf.ByteString - getIncludeProjectIdsBytes(int index) { + public com.google.protobuf.ByteString getIncludeProjectIdsBytes(int index) { return includeProjectIds_.getByteString(index); } public static final int INCLUDE_GCP_PUBLIC_DATASETS_FIELD_NUMBER = 7; private boolean includeGcpPublicDatasets_ = false; /** + * + * *
      * If `true`, include Google Cloud public datasets in
      * search results. By default, they are excluded.
@@ -467,6 +559,7 @@ public java.lang.String getIncludeProjectIds(int index) {
      * 
* * bool include_gcp_public_datasets = 7; + * * @return The includeGcpPublicDatasets. */ @java.lang.Override @@ -475,10 +568,13 @@ public boolean getIncludeGcpPublicDatasets() { } public static final int RESTRICTED_LOCATIONS_FIELD_NUMBER = 16; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList restrictedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * Optional. The list of locations to search within. If empty, all locations
      * are searched.
@@ -492,14 +588,17 @@ public boolean getIncludeGcpPublicDatasets() {
      * value of this parameter.
      * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the restrictedLocations. */ - public com.google.protobuf.ProtocolStringList - getRestrictedLocationsList() { + public com.google.protobuf.ProtocolStringList getRestrictedLocationsList() { return restrictedLocations_; } /** + * + * *
      * Optional. The list of locations to search within. If empty, all locations
      * are searched.
@@ -513,13 +612,17 @@ public boolean getIncludeGcpPublicDatasets() {
      * value of this parameter.
      * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of restrictedLocations. */ public int getRestrictedLocationsCount() { return restrictedLocations_.size(); } /** + * + * *
      * Optional. The list of locations to search within. If empty, all locations
      * are searched.
@@ -533,7 +636,9 @@ public int getRestrictedLocationsCount() {
      * value of this parameter.
      * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The restrictedLocations at the given index. */ @@ -541,6 +646,8 @@ public java.lang.String getRestrictedLocations(int index) { return restrictedLocations_.get(index); } /** + * + * *
      * Optional. The list of locations to search within. If empty, all locations
      * are searched.
@@ -554,18 +661,21 @@ public java.lang.String getRestrictedLocations(int index) {
      * value of this parameter.
      * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The bytes of the restrictedLocations at the given index. */ - public com.google.protobuf.ByteString - getRestrictedLocationsBytes(int index) { + public com.google.protobuf.ByteString getRestrictedLocationsBytes(int index) { return restrictedLocations_.getByteString(index); } public static final int STARRED_ONLY_FIELD_NUMBER = 18; private boolean starredOnly_ = false; /** + * + * *
      * Optional. If `true`, search only among starred entries.
      *
@@ -573,6 +683,7 @@ public java.lang.String getRestrictedLocations(int index) {
      * 
* * bool starred_only = 18 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The starredOnly. */ @java.lang.Override @@ -583,22 +694,30 @@ public boolean getStarredOnly() { public static final int INCLUDE_PUBLIC_TAG_TEMPLATES_FIELD_NUMBER = 19; private boolean includePublicTagTemplates_ = false; /** + * + * *
      * Optional. This field is deprecated. The search mechanism for public and
      * private tag templates is the same.
      * 
* - * bool include_public_tag_templates = 19 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates is deprecated. - * See google/cloud/datacatalog/v1/datacatalog.proto;l=677 + * + * bool include_public_tag_templates = 19 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * + * + * @deprecated + * google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates is + * deprecated. See google/cloud/datacatalog/v1/datacatalog.proto;l=677 * @return The includePublicTagTemplates. */ @java.lang.Override - @java.lang.Deprecated public boolean getIncludePublicTagTemplates() { + @java.lang.Deprecated + public boolean getIncludePublicTagTemplates() { return includePublicTagTemplates_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -610,8 +729,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < includeOrgIds_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, includeOrgIds_.getRaw(i)); } @@ -622,7 +740,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeBool(7, includeGcpPublicDatasets_); } for (int i = 0; i < restrictedLocations_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 16, restrictedLocations_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 16, restrictedLocations_.getRaw(i)); } if (starredOnly_ != false) { output.writeBool(18, starredOnly_); @@ -656,8 +775,7 @@ public int getSerializedSize() { size += 1 * getIncludeProjectIdsList().size(); } if (includeGcpPublicDatasets_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(7, includeGcpPublicDatasets_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, includeGcpPublicDatasets_); } { int dataSize = 0; @@ -668,12 +786,11 @@ public int getSerializedSize() { size += 2 * getRestrictedLocationsList().size(); } if (starredOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(18, starredOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(18, starredOnly_); } if (includePublicTagTemplates_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(19, includePublicTagTemplates_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(19, includePublicTagTemplates_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -683,25 +800,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.datacatalog.v1.SearchCatalogRequest.Scope)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope other = (com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope) obj; - - if (!getIncludeOrgIdsList() - .equals(other.getIncludeOrgIdsList())) return false; - if (!getIncludeProjectIdsList() - .equals(other.getIncludeProjectIdsList())) return false; - if (getIncludeGcpPublicDatasets() - != other.getIncludeGcpPublicDatasets()) return false; - if (!getRestrictedLocationsList() - .equals(other.getRestrictedLocationsList())) return false; - if (getStarredOnly() - != other.getStarredOnly()) return false; - if (getIncludePublicTagTemplates() - != other.getIncludePublicTagTemplates()) return false; + com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope other = + (com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope) obj; + + if (!getIncludeOrgIdsList().equals(other.getIncludeOrgIdsList())) return false; + if (!getIncludeProjectIdsList().equals(other.getIncludeProjectIdsList())) return false; + if (getIncludeGcpPublicDatasets() != other.getIncludeGcpPublicDatasets()) return false; + if (!getRestrictedLocationsList().equals(other.getRestrictedLocationsList())) return false; + if (getStarredOnly() != other.getStarredOnly()) return false; + if (getIncludePublicTagTemplates() != other.getIncludePublicTagTemplates()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -722,107 +834,109 @@ public int hashCode() { hash = (53 * hash) + getIncludeProjectIdsList().hashCode(); } hash = (37 * hash) + INCLUDE_GCP_PUBLIC_DATASETS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIncludeGcpPublicDatasets()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeGcpPublicDatasets()); if (getRestrictedLocationsCount() > 0) { hash = (37 * hash) + RESTRICTED_LOCATIONS_FIELD_NUMBER; hash = (53 * hash) + getRestrictedLocationsList().hashCode(); } hash = (37 * hash) + STARRED_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getStarredOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStarredOnly()); hash = (37 * hash) + INCLUDE_PUBLIC_TAG_TEMPLATES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIncludePublicTagTemplates()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludePublicTagTemplates()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -832,63 +946,63 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The criteria that select the subspace used for query matching.
      * 
* * Protobuf type {@code google.cloud.datacatalog.v1.SearchCatalogRequest.Scope} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.SearchCatalogRequest.Scope) com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.class, com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.Builder.class); + com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.class, + com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - 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; - includeOrgIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - includeProjectIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + includeOrgIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + includeProjectIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); includeGcpPublicDatasets_ = false; - restrictedLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + restrictedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); starredOnly_ = false; includePublicTagTemplates_ = false; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_descriptor; } @java.lang.Override - public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope + getDefaultInstanceForType() { return com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.getDefaultInstance(); } @@ -903,13 +1017,17 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope build() { @java.lang.Override public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope buildPartial() { - com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope result = new com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope result = + new com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope result) { + private void buildPartial0( + com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { includeOrgIds_.makeImmutable(); @@ -938,38 +1056,41 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.SearchCatalogRequest. public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope) { - return mergeFrom((com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope)other); + return mergeFrom((com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope) other); } else { super.mergeFrom(other); return this; @@ -977,7 +1098,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope other) { - if (other == com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.getDefaultInstance()) return this; + if (other + == com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.getDefaultInstance()) + return this; if (!other.includeOrgIds_.isEmpty()) { if (includeOrgIds_.isEmpty()) { includeOrgIds_ = other.includeOrgIds_; @@ -1043,45 +1166,52 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureIncludeOrgIdsIsMutable(); - includeOrgIds_.add(s); - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureIncludeProjectIdsIsMutable(); - includeProjectIds_.add(s); - break; - } // case 26 - case 56: { - includeGcpPublicDatasets_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 56 - case 130: { - java.lang.String s = input.readStringRequireUtf8(); - ensureRestrictedLocationsIsMutable(); - restrictedLocations_.add(s); - break; - } // case 130 - case 144: { - starredOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 144 - case 152: { - includePublicTagTemplates_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 152 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureIncludeOrgIdsIsMutable(); + includeOrgIds_.add(s); + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureIncludeProjectIdsIsMutable(); + includeProjectIds_.add(s); + break; + } // case 26 + case 56: + { + includeGcpPublicDatasets_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 56 + case 130: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureRestrictedLocationsIsMutable(); + restrictedLocations_.add(s); + break; + } // case 130 + case 144: + { + starredOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 144 + case 152: + { + includePublicTagTemplates_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 152 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1091,10 +1221,12 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.LazyStringArrayList includeOrgIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureIncludeOrgIdsIsMutable() { if (!includeOrgIds_.isModifiable()) { includeOrgIds_ = new com.google.protobuf.LazyStringArrayList(includeOrgIds_); @@ -1102,6 +1234,8 @@ private void ensureIncludeOrgIdsIsMutable() { bitField0_ |= 0x00000001; } /** + * + * *
        * The list of organization IDs to search within.
        *
@@ -1111,14 +1245,16 @@ private void ensureIncludeOrgIdsIsMutable() {
        * 
* * repeated string include_org_ids = 2; + * * @return A list containing the includeOrgIds. */ - public com.google.protobuf.ProtocolStringList - getIncludeOrgIdsList() { + public com.google.protobuf.ProtocolStringList getIncludeOrgIdsList() { includeOrgIds_.makeImmutable(); return includeOrgIds_; } /** + * + * *
        * The list of organization IDs to search within.
        *
@@ -1128,12 +1264,15 @@ private void ensureIncludeOrgIdsIsMutable() {
        * 
* * repeated string include_org_ids = 2; + * * @return The count of includeOrgIds. */ public int getIncludeOrgIdsCount() { return includeOrgIds_.size(); } /** + * + * *
        * The list of organization IDs to search within.
        *
@@ -1143,6 +1282,7 @@ public int getIncludeOrgIdsCount() {
        * 
* * repeated string include_org_ids = 2; + * * @param index The index of the element to return. * @return The includeOrgIds at the given index. */ @@ -1150,6 +1290,8 @@ public java.lang.String getIncludeOrgIds(int index) { return includeOrgIds_.get(index); } /** + * + * *
        * The list of organization IDs to search within.
        *
@@ -1159,14 +1301,16 @@ public java.lang.String getIncludeOrgIds(int index) {
        * 
* * repeated string include_org_ids = 2; + * * @param index The index of the value to return. * @return The bytes of the includeOrgIds at the given index. */ - public com.google.protobuf.ByteString - getIncludeOrgIdsBytes(int index) { + public com.google.protobuf.ByteString getIncludeOrgIdsBytes(int index) { return includeOrgIds_.getByteString(index); } /** + * + * *
        * The list of organization IDs to search within.
        *
@@ -1176,13 +1320,15 @@ public java.lang.String getIncludeOrgIds(int index) {
        * 
* * repeated string include_org_ids = 2; + * * @param index The index to set the value at. * @param value The includeOrgIds to set. * @return This builder for chaining. */ - public Builder setIncludeOrgIds( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIncludeOrgIds(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureIncludeOrgIdsIsMutable(); includeOrgIds_.set(index, value); bitField0_ |= 0x00000001; @@ -1190,6 +1336,8 @@ public Builder setIncludeOrgIds( return this; } /** + * + * *
        * The list of organization IDs to search within.
        *
@@ -1199,12 +1347,14 @@ public Builder setIncludeOrgIds(
        * 
* * repeated string include_org_ids = 2; + * * @param value The includeOrgIds to add. * @return This builder for chaining. */ - public Builder addIncludeOrgIds( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addIncludeOrgIds(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureIncludeOrgIdsIsMutable(); includeOrgIds_.add(value); bitField0_ |= 0x00000001; @@ -1212,6 +1362,8 @@ public Builder addIncludeOrgIds( return this; } /** + * + * *
        * The list of organization IDs to search within.
        *
@@ -1221,19 +1373,20 @@ public Builder addIncludeOrgIds(
        * 
* * repeated string include_org_ids = 2; + * * @param values The includeOrgIds to add. * @return This builder for chaining. */ - public Builder addAllIncludeOrgIds( - java.lang.Iterable values) { + public Builder addAllIncludeOrgIds(java.lang.Iterable values) { ensureIncludeOrgIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, includeOrgIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, includeOrgIds_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The list of organization IDs to search within.
        *
@@ -1243,16 +1396,19 @@ public Builder addAllIncludeOrgIds(
        * 
* * repeated string include_org_ids = 2; + * * @return This builder for chaining. */ public Builder clearIncludeOrgIds() { - includeOrgIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + includeOrgIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
        * The list of organization IDs to search within.
        *
@@ -1262,12 +1418,14 @@ public Builder clearIncludeOrgIds() {
        * 
* * repeated string include_org_ids = 2; + * * @param value The bytes of the includeOrgIds to add. * @return This builder for chaining. */ - public Builder addIncludeOrgIdsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addIncludeOrgIdsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureIncludeOrgIdsIsMutable(); includeOrgIds_.add(value); @@ -1278,6 +1436,7 @@ public Builder addIncludeOrgIdsBytes( private com.google.protobuf.LazyStringArrayList includeProjectIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureIncludeProjectIdsIsMutable() { if (!includeProjectIds_.isModifiable()) { includeProjectIds_ = new com.google.protobuf.LazyStringArrayList(includeProjectIds_); @@ -1285,6 +1444,8 @@ private void ensureIncludeProjectIdsIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
        * The list of project IDs to search within.
        *
@@ -1293,14 +1454,16 @@ private void ensureIncludeProjectIdsIsMutable() {
        * 
* * repeated string include_project_ids = 3; + * * @return A list containing the includeProjectIds. */ - public com.google.protobuf.ProtocolStringList - getIncludeProjectIdsList() { + public com.google.protobuf.ProtocolStringList getIncludeProjectIdsList() { includeProjectIds_.makeImmutable(); return includeProjectIds_; } /** + * + * *
        * The list of project IDs to search within.
        *
@@ -1309,12 +1472,15 @@ private void ensureIncludeProjectIdsIsMutable() {
        * 
* * repeated string include_project_ids = 3; + * * @return The count of includeProjectIds. */ public int getIncludeProjectIdsCount() { return includeProjectIds_.size(); } /** + * + * *
        * The list of project IDs to search within.
        *
@@ -1323,6 +1489,7 @@ public int getIncludeProjectIdsCount() {
        * 
* * repeated string include_project_ids = 3; + * * @param index The index of the element to return. * @return The includeProjectIds at the given index. */ @@ -1330,6 +1497,8 @@ public java.lang.String getIncludeProjectIds(int index) { return includeProjectIds_.get(index); } /** + * + * *
        * The list of project IDs to search within.
        *
@@ -1338,14 +1507,16 @@ public java.lang.String getIncludeProjectIds(int index) {
        * 
* * repeated string include_project_ids = 3; + * * @param index The index of the value to return. * @return The bytes of the includeProjectIds at the given index. */ - public com.google.protobuf.ByteString - getIncludeProjectIdsBytes(int index) { + public com.google.protobuf.ByteString getIncludeProjectIdsBytes(int index) { return includeProjectIds_.getByteString(index); } /** + * + * *
        * The list of project IDs to search within.
        *
@@ -1354,13 +1525,15 @@ public java.lang.String getIncludeProjectIds(int index) {
        * 
* * repeated string include_project_ids = 3; + * * @param index The index to set the value at. * @param value The includeProjectIds to set. * @return This builder for chaining. */ - public Builder setIncludeProjectIds( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIncludeProjectIds(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureIncludeProjectIdsIsMutable(); includeProjectIds_.set(index, value); bitField0_ |= 0x00000002; @@ -1368,6 +1541,8 @@ public Builder setIncludeProjectIds( return this; } /** + * + * *
        * The list of project IDs to search within.
        *
@@ -1376,12 +1551,14 @@ public Builder setIncludeProjectIds(
        * 
* * repeated string include_project_ids = 3; + * * @param value The includeProjectIds to add. * @return This builder for chaining. */ - public Builder addIncludeProjectIds( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addIncludeProjectIds(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureIncludeProjectIdsIsMutable(); includeProjectIds_.add(value); bitField0_ |= 0x00000002; @@ -1389,6 +1566,8 @@ public Builder addIncludeProjectIds( return this; } /** + * + * *
        * The list of project IDs to search within.
        *
@@ -1397,19 +1576,20 @@ public Builder addIncludeProjectIds(
        * 
* * repeated string include_project_ids = 3; + * * @param values The includeProjectIds to add. * @return This builder for chaining. */ - public Builder addAllIncludeProjectIds( - java.lang.Iterable values) { + public Builder addAllIncludeProjectIds(java.lang.Iterable values) { ensureIncludeProjectIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, includeProjectIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, includeProjectIds_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * The list of project IDs to search within.
        *
@@ -1418,16 +1598,19 @@ public Builder addAllIncludeProjectIds(
        * 
* * repeated string include_project_ids = 3; + * * @return This builder for chaining. */ public Builder clearIncludeProjectIds() { - includeProjectIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + includeProjectIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
        * The list of project IDs to search within.
        *
@@ -1436,12 +1619,14 @@ public Builder clearIncludeProjectIds() {
        * 
* * repeated string include_project_ids = 3; + * * @param value The bytes of the includeProjectIds to add. * @return This builder for chaining. */ - public Builder addIncludeProjectIdsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addIncludeProjectIdsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureIncludeProjectIdsIsMutable(); includeProjectIds_.add(value); @@ -1450,8 +1635,10 @@ public Builder addIncludeProjectIdsBytes( return this; } - private boolean includeGcpPublicDatasets_ ; + private boolean includeGcpPublicDatasets_; /** + * + * *
        * If `true`, include Google Cloud public datasets in
        * search results. By default, they are excluded.
@@ -1461,6 +1648,7 @@ public Builder addIncludeProjectIdsBytes(
        * 
* * bool include_gcp_public_datasets = 7; + * * @return The includeGcpPublicDatasets. */ @java.lang.Override @@ -1468,6 +1656,8 @@ public boolean getIncludeGcpPublicDatasets() { return includeGcpPublicDatasets_; } /** + * + * *
        * If `true`, include Google Cloud public datasets in
        * search results. By default, they are excluded.
@@ -1477,6 +1667,7 @@ public boolean getIncludeGcpPublicDatasets() {
        * 
* * bool include_gcp_public_datasets = 7; + * * @param value The includeGcpPublicDatasets to set. * @return This builder for chaining. */ @@ -1488,6 +1679,8 @@ public Builder setIncludeGcpPublicDatasets(boolean value) { return this; } /** + * + * *
        * If `true`, include Google Cloud public datasets in
        * search results. By default, they are excluded.
@@ -1497,6 +1690,7 @@ public Builder setIncludeGcpPublicDatasets(boolean value) {
        * 
* * bool include_gcp_public_datasets = 7; + * * @return This builder for chaining. */ public Builder clearIncludeGcpPublicDatasets() { @@ -1508,6 +1702,7 @@ public Builder clearIncludeGcpPublicDatasets() { private com.google.protobuf.LazyStringArrayList restrictedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureRestrictedLocationsIsMutable() { if (!restrictedLocations_.isModifiable()) { restrictedLocations_ = new com.google.protobuf.LazyStringArrayList(restrictedLocations_); @@ -1515,6 +1710,8 @@ private void ensureRestrictedLocationsIsMutable() { bitField0_ |= 0x00000008; } /** + * + * *
        * Optional. The list of locations to search within. If empty, all locations
        * are searched.
@@ -1528,15 +1725,18 @@ private void ensureRestrictedLocationsIsMutable() {
        * value of this parameter.
        * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the restrictedLocations. */ - public com.google.protobuf.ProtocolStringList - getRestrictedLocationsList() { + public com.google.protobuf.ProtocolStringList getRestrictedLocationsList() { restrictedLocations_.makeImmutable(); return restrictedLocations_; } /** + * + * *
        * Optional. The list of locations to search within. If empty, all locations
        * are searched.
@@ -1550,13 +1750,17 @@ private void ensureRestrictedLocationsIsMutable() {
        * value of this parameter.
        * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of restrictedLocations. */ public int getRestrictedLocationsCount() { return restrictedLocations_.size(); } /** + * + * *
        * Optional. The list of locations to search within. If empty, all locations
        * are searched.
@@ -1570,7 +1774,9 @@ public int getRestrictedLocationsCount() {
        * value of this parameter.
        * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The restrictedLocations at the given index. */ @@ -1578,6 +1784,8 @@ public java.lang.String getRestrictedLocations(int index) { return restrictedLocations_.get(index); } /** + * + * *
        * Optional. The list of locations to search within. If empty, all locations
        * are searched.
@@ -1591,15 +1799,18 @@ public java.lang.String getRestrictedLocations(int index) {
        * value of this parameter.
        * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The bytes of the restrictedLocations at the given index. */ - public com.google.protobuf.ByteString - getRestrictedLocationsBytes(int index) { + public com.google.protobuf.ByteString getRestrictedLocationsBytes(int index) { return restrictedLocations_.getByteString(index); } /** + * + * *
        * Optional. The list of locations to search within. If empty, all locations
        * are searched.
@@ -1613,14 +1824,17 @@ public java.lang.String getRestrictedLocations(int index) {
        * value of this parameter.
        * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The restrictedLocations to set. * @return This builder for chaining. */ - public Builder setRestrictedLocations( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRestrictedLocations(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureRestrictedLocationsIsMutable(); restrictedLocations_.set(index, value); bitField0_ |= 0x00000008; @@ -1628,6 +1842,8 @@ public Builder setRestrictedLocations( return this; } /** + * + * *
        * Optional. The list of locations to search within. If empty, all locations
        * are searched.
@@ -1641,13 +1857,16 @@ public Builder setRestrictedLocations(
        * value of this parameter.
        * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The restrictedLocations to add. * @return This builder for chaining. */ - public Builder addRestrictedLocations( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addRestrictedLocations(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureRestrictedLocationsIsMutable(); restrictedLocations_.add(value); bitField0_ |= 0x00000008; @@ -1655,6 +1874,8 @@ public Builder addRestrictedLocations( return this; } /** + * + * *
        * Optional. The list of locations to search within. If empty, all locations
        * are searched.
@@ -1668,20 +1889,22 @@ public Builder addRestrictedLocations(
        * value of this parameter.
        * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The restrictedLocations to add. * @return This builder for chaining. */ - public Builder addAllRestrictedLocations( - java.lang.Iterable values) { + public Builder addAllRestrictedLocations(java.lang.Iterable values) { ensureRestrictedLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, restrictedLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, restrictedLocations_); bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
        * Optional. The list of locations to search within. If empty, all locations
        * are searched.
@@ -1695,17 +1918,21 @@ public Builder addAllRestrictedLocations(
        * value of this parameter.
        * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearRestrictedLocations() { - restrictedLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008);; + restrictedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + ; onChanged(); return this; } /** + * + * *
        * Optional. The list of locations to search within. If empty, all locations
        * are searched.
@@ -1719,13 +1946,16 @@ public Builder clearRestrictedLocations() {
        * value of this parameter.
        * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The bytes of the restrictedLocations to add. * @return This builder for chaining. */ - public Builder addRestrictedLocationsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addRestrictedLocationsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureRestrictedLocationsIsMutable(); restrictedLocations_.add(value); @@ -1734,8 +1964,10 @@ public Builder addRestrictedLocationsBytes( return this; } - private boolean starredOnly_ ; + private boolean starredOnly_; /** + * + * *
        * Optional. If `true`, search only among starred entries.
        *
@@ -1743,6 +1975,7 @@ public Builder addRestrictedLocationsBytes(
        * 
* * bool starred_only = 18 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The starredOnly. */ @java.lang.Override @@ -1750,6 +1983,8 @@ public boolean getStarredOnly() { return starredOnly_; } /** + * + * *
        * Optional. If `true`, search only among starred entries.
        *
@@ -1757,6 +1992,7 @@ public boolean getStarredOnly() {
        * 
* * bool starred_only = 18 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The starredOnly to set. * @return This builder for chaining. */ @@ -1768,6 +2004,8 @@ public Builder setStarredOnly(boolean value) { return this; } /** + * + * *
        * Optional. If `true`, search only among starred entries.
        *
@@ -1775,6 +2013,7 @@ public Builder setStarredOnly(boolean value) {
        * 
* * bool starred_only = 18 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearStarredOnly() { @@ -1784,35 +2023,49 @@ public Builder clearStarredOnly() { return this; } - private boolean includePublicTagTemplates_ ; + private boolean includePublicTagTemplates_; /** + * + * *
        * Optional. This field is deprecated. The search mechanism for public and
        * private tag templates is the same.
        * 
* - * bool include_public_tag_templates = 19 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates is deprecated. - * See google/cloud/datacatalog/v1/datacatalog.proto;l=677 + * + * bool include_public_tag_templates = 19 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * + * + * @deprecated + * google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates is + * deprecated. See google/cloud/datacatalog/v1/datacatalog.proto;l=677 * @return The includePublicTagTemplates. */ @java.lang.Override - @java.lang.Deprecated public boolean getIncludePublicTagTemplates() { + @java.lang.Deprecated + public boolean getIncludePublicTagTemplates() { return includePublicTagTemplates_; } /** + * + * *
        * Optional. This field is deprecated. The search mechanism for public and
        * private tag templates is the same.
        * 
* - * bool include_public_tag_templates = 19 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates is deprecated. - * See google/cloud/datacatalog/v1/datacatalog.proto;l=677 + * + * bool include_public_tag_templates = 19 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * + * + * @deprecated + * google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates is + * deprecated. See google/cloud/datacatalog/v1/datacatalog.proto;l=677 * @param value The includePublicTagTemplates to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setIncludePublicTagTemplates(boolean value) { + @java.lang.Deprecated + public Builder setIncludePublicTagTemplates(boolean value) { includePublicTagTemplates_ = value; bitField0_ |= 0x00000020; @@ -1820,22 +2073,30 @@ public Builder clearStarredOnly() { return this; } /** + * + * *
        * Optional. This field is deprecated. The search mechanism for public and
        * private tag templates is the same.
        * 
* - * bool include_public_tag_templates = 19 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates is deprecated. - * See google/cloud/datacatalog/v1/datacatalog.proto;l=677 + * + * bool include_public_tag_templates = 19 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * + * + * @deprecated + * google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates is + * deprecated. See google/cloud/datacatalog/v1/datacatalog.proto;l=677 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearIncludePublicTagTemplates() { + @java.lang.Deprecated + public Builder clearIncludePublicTagTemplates() { bitField0_ = (bitField0_ & ~0x00000020); includePublicTagTemplates_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1848,12 +2109,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.SearchCatalogRequest.Scope) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.SearchCatalogRequest.Scope) - private static final com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope DEFAULT_INSTANCE; + private static final com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope(); } @@ -1862,27 +2124,28 @@ public static com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Scope parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Scope parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1897,12 +2160,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int SCOPE_FIELD_NUMBER = 6; private com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope_; /** + * + * *
    * Required. The scope of this search request.
    *
@@ -1911,7 +2175,10 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope getDefaultInst
    * the request returns an error.
    * 
* - * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scope field is set. */ @java.lang.Override @@ -1919,6 +2186,8 @@ public boolean hasScope() { return scope_ != null; } /** + * + * *
    * Required. The scope of this search request.
    *
@@ -1927,14 +2196,21 @@ public boolean hasScope() {
    * the request returns an error.
    * 
* - * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scope. */ @java.lang.Override public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope getScope() { - return scope_ == null ? com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.getDefaultInstance() : scope_; + return scope_ == null + ? com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.getDefaultInstance() + : scope_; } /** + * + * *
    * Required. The scope of this search request.
    *
@@ -1943,17 +2219,24 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope getScope() {
    * the request returns an error.
    * 
* - * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder getScopeOrBuilder() { - return scope_ == null ? com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.getDefaultInstance() : scope_; + return scope_ == null + ? com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.getDefaultInstance() + : scope_; } public static final int QUERY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object query_ = ""; /** + * + * *
    * Optional. The query string with a minimum of 3 characters and specific
    * syntax. For more information, see [Data Catalog search
@@ -1970,6 +2253,7 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder getSc
    * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The query. */ @java.lang.Override @@ -1978,14 +2262,15 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** + * + * *
    * Optional. The query string with a minimum of 3 characters and specific
    * syntax. For more information, see [Data Catalog search
@@ -2002,16 +2287,15 @@ public java.lang.String getQuery() {
    * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -2022,6 +2306,8 @@ public java.lang.String getQuery() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Upper bound on the number of results you can get in a single response.
    *
@@ -2031,6 +2317,7 @@ public java.lang.String getQuery() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -2039,9 +2326,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. Pagination token that, if specified, returns the next page of
    * search results. If empty, returns the first page.
@@ -2054,6 +2344,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -2062,14 +2353,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. Pagination token that, if specified, returns the next page of
    * search results. If empty, returns the first page.
@@ -2082,16 +2374,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 { @@ -2100,9 +2391,12 @@ public java.lang.String getPageToken() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Specifies the order of results.
    *
@@ -2123,6 +2417,7 @@ public java.lang.String getPageToken() {
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -2131,14 +2426,15 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Specifies the order of results.
    *
@@ -2159,16 +2455,15 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 5; + * * @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 { @@ -2177,6 +2472,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2188,8 +2484,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(query_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, query_); } @@ -2218,8 +2513,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, query_); } 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_); @@ -2228,8 +2522,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); } if (scope_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getScope()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getScope()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2239,26 +2532,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.datacatalog.v1.SearchCatalogRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.SearchCatalogRequest other = (com.google.cloud.datacatalog.v1.SearchCatalogRequest) obj; + com.google.cloud.datacatalog.v1.SearchCatalogRequest other = + (com.google.cloud.datacatalog.v1.SearchCatalogRequest) obj; if (hasScope() != other.hasScope()) return false; if (hasScope()) { - if (!getScope() - .equals(other.getScope())) return false; - } - if (!getQuery() - .equals(other.getQuery())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + if (!getScope().equals(other.getScope())) return false; + } + if (!getQuery().equals(other.getQuery())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2288,98 +2577,103 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.SearchCatalogRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.SearchCatalogRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.SearchCatalogRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.SearchCatalogRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.SearchCatalogRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.SearchCatalogRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SearchCatalogRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.SearchCatalogRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.SearchCatalogRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SearchCatalogRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.SearchCatalogRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.SearchCatalogRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.SearchCatalogRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.SearchCatalogRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.SearchCatalogRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
@@ -2387,33 +2681,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.SearchCatalogRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.SearchCatalogRequest)
       com.google.cloud.datacatalog.v1.SearchCatalogRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.SearchCatalogRequest.class, com.google.cloud.datacatalog.v1.SearchCatalogRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.SearchCatalogRequest.class,
+              com.google.cloud.datacatalog.v1.SearchCatalogRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.SearchCatalogRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2431,9 +2724,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_descriptor;
     }
 
     @java.lang.Override
@@ -2452,8 +2745,11 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.SearchCatalogRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.SearchCatalogRequest result = new com.google.cloud.datacatalog.v1.SearchCatalogRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.SearchCatalogRequest result =
+          new com.google.cloud.datacatalog.v1.SearchCatalogRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -2461,9 +2757,7 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest buildPartial() {
     private void buildPartial0(com.google.cloud.datacatalog.v1.SearchCatalogRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.scope_ = scopeBuilder_ == null
-            ? scope_
-            : scopeBuilder_.build();
+        result.scope_ = scopeBuilder_ == null ? scope_ : scopeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.query_ = query_;
@@ -2483,38 +2777,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.SearchCatalogRequest
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.SearchCatalogRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.SearchCatalogRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.SearchCatalogRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2522,7 +2817,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.SearchCatalogRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.SearchCatalogRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.SearchCatalogRequest.getDefaultInstance())
+        return this;
       if (other.hasScope()) {
         mergeScope(other.getScope());
       }
@@ -2570,39 +2866,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              query_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 10
-            case 16: {
-              pageSize_ = input.readInt32();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 26
-            case 42: {
-              orderBy_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getScopeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                query_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 10
+            case 16:
+              {
+                pageSize_ = input.readInt32();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 26
+            case 42:
+              {
+                orderBy_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getScopeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                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) {
@@ -2612,12 +2912,18 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope, com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.Builder, com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder> scopeBuilder_;
+            com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope,
+            com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.Builder,
+            com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder>
+        scopeBuilder_;
     /**
+     *
+     *
      * 
      * Required. The scope of this search request.
      *
@@ -2626,13 +2932,18 @@ public Builder mergeFrom(
      * the request returns an error.
      * 
* - * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scope field is set. */ public boolean hasScope() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The scope of this search request.
      *
@@ -2641,17 +2952,24 @@ public boolean hasScope() {
      * the request returns an error.
      * 
* - * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scope. */ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope getScope() { if (scopeBuilder_ == null) { - return scope_ == null ? com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.getDefaultInstance() : scope_; + return scope_ == null + ? com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.getDefaultInstance() + : scope_; } else { return scopeBuilder_.getMessage(); } } /** + * + * *
      * Required. The scope of this search request.
      *
@@ -2660,7 +2978,9 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope getScope() {
      * the request returns an error.
      * 
* - * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setScope(com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope value) { if (scopeBuilder_ == null) { @@ -2676,6 +2996,8 @@ public Builder setScope(com.google.cloud.datacatalog.v1.SearchCatalogRequest.Sco return this; } /** + * + * *
      * Required. The scope of this search request.
      *
@@ -2684,7 +3006,9 @@ public Builder setScope(com.google.cloud.datacatalog.v1.SearchCatalogRequest.Sco
      * the request returns an error.
      * 
* - * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setScope( com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.Builder builderForValue) { @@ -2698,6 +3022,8 @@ public Builder setScope( return this; } /** + * + * *
      * Required. The scope of this search request.
      *
@@ -2706,13 +3032,17 @@ public Builder setScope(
      * the request returns an error.
      * 
* - * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeScope(com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope value) { if (scopeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - scope_ != null && - scope_ != com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && scope_ != null + && scope_ + != com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope + .getDefaultInstance()) { getScopeBuilder().mergeFrom(value); } else { scope_ = value; @@ -2725,6 +3055,8 @@ public Builder mergeScope(com.google.cloud.datacatalog.v1.SearchCatalogRequest.S return this; } /** + * + * *
      * Required. The scope of this search request.
      *
@@ -2733,7 +3065,9 @@ public Builder mergeScope(com.google.cloud.datacatalog.v1.SearchCatalogRequest.S
      * the request returns an error.
      * 
* - * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearScope() { bitField0_ = (bitField0_ & ~0x00000001); @@ -2746,6 +3080,8 @@ public Builder clearScope() { return this; } /** + * + * *
      * Required. The scope of this search request.
      *
@@ -2754,7 +3090,9 @@ public Builder clearScope() {
      * the request returns an error.
      * 
* - * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.Builder getScopeBuilder() { bitField0_ |= 0x00000001; @@ -2762,6 +3100,8 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.Builder getSco return getScopeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The scope of this search request.
      *
@@ -2770,17 +3110,22 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.Builder getSco
      * the request returns an error.
      * 
* - * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder getScopeOrBuilder() { if (scopeBuilder_ != null) { return scopeBuilder_.getMessageOrBuilder(); } else { - return scope_ == null ? - com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.getDefaultInstance() : scope_; + return scope_ == null + ? com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.getDefaultInstance() + : scope_; } } /** + * + * *
      * Required. The scope of this search request.
      *
@@ -2789,17 +3134,22 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder getSc
      * the request returns an error.
      * 
* - * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope, com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.Builder, com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder> + com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope, + com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.Builder, + com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder> getScopeFieldBuilder() { if (scopeBuilder_ == null) { - scopeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope, com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.Builder, com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder>( - getScope(), - getParentForChildren(), - isClean()); + scopeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope, + com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.Builder, + com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder>( + getScope(), getParentForChildren(), isClean()); scope_ = null; } return scopeBuilder_; @@ -2807,6 +3157,8 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder getSc private java.lang.Object query_ = ""; /** + * + * *
      * Optional. The query string with a minimum of 3 characters and specific
      * syntax. For more information, see [Data Catalog search
@@ -2823,13 +3175,13 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder getSc
      * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -2838,6 +3190,8 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Optional. The query string with a minimum of 3 characters and specific
      * syntax. For more information, see [Data Catalog search
@@ -2854,15 +3208,14 @@ public java.lang.String getQuery() {
      * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for query. */ - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -2870,6 +3223,8 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Optional. The query string with a minimum of 3 characters and specific
      * syntax. For more information, see [Data Catalog search
@@ -2886,18 +3241,22 @@ public java.lang.String getQuery() {
      * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setQuery(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } query_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. The query string with a minimum of 3 characters and specific
      * syntax. For more information, see [Data Catalog search
@@ -2914,6 +3273,7 @@ public Builder setQuery(
      * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearQuery() { @@ -2923,6 +3283,8 @@ public Builder clearQuery() { return this; } /** + * + * *
      * Optional. The query string with a minimum of 3 characters and specific
      * syntax. For more information, see [Data Catalog search
@@ -2939,12 +3301,14 @@ public Builder clearQuery() {
      * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setQueryBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); query_ = value; bitField0_ |= 0x00000002; @@ -2952,8 +3316,10 @@ public Builder setQueryBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Upper bound on the number of results you can get in a single response.
      *
@@ -2963,6 +3329,7 @@ public Builder setQueryBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -2970,6 +3337,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Upper bound on the number of results you can get in a single response.
      *
@@ -2979,6 +3348,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -2990,6 +3360,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Upper bound on the number of results you can get in a single response.
      *
@@ -2999,6 +3371,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -3010,6 +3383,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Pagination token that, if specified, returns the next page of
      * search results. If empty, returns the first page.
@@ -3022,13 +3397,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; @@ -3037,6 +3412,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Pagination token that, if specified, returns the next page of
      * search results. If empty, returns the first page.
@@ -3049,15 +3426,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 { @@ -3065,6 +3441,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Pagination token that, if specified, returns the next page of
      * search results. If empty, returns the first page.
@@ -3077,18 +3455,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Pagination token that, if specified, returns the next page of
      * search results. If empty, returns the first page.
@@ -3101,6 +3483,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -3110,6 +3493,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. Pagination token that, if specified, returns the next page of
      * search results. If empty, returns the first page.
@@ -3122,12 +3507,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_ |= 0x00000008; @@ -3137,6 +3524,8 @@ public Builder setPageTokenBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Specifies the order of results.
      *
@@ -3157,13 +3546,13 @@ public Builder setPageTokenBytes(
      * 
* * string order_by = 5; + * * @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; @@ -3172,6 +3561,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Specifies the order of results.
      *
@@ -3192,15 +3583,14 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 5; + * * @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 { @@ -3208,6 +3598,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Specifies the order of results.
      *
@@ -3228,18 +3620,22 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 5; + * * @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; } /** + * + * *
      * Specifies the order of results.
      *
@@ -3260,6 +3656,7 @@ public Builder setOrderBy(
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -3269,6 +3666,8 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Specifies the order of results.
      *
@@ -3289,21 +3688,23 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 5; + * * @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); } @@ -3313,12 +3714,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.SearchCatalogRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.SearchCatalogRequest) private static final com.google.cloud.datacatalog.v1.SearchCatalogRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.SearchCatalogRequest(); } @@ -3327,27 +3728,27 @@ public static com.google.cloud.datacatalog.v1.SearchCatalogRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchCatalogRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchCatalogRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3362,6 +3763,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.SearchCatalogRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequestOrBuilder.java similarity index 81% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequestOrBuilder.java index f77b15109ad8..1e7cb97948d6 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequestOrBuilder.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface SearchCatalogRequestOrBuilder extends +public interface SearchCatalogRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.SearchCatalogRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The scope of this search request.
    *
@@ -16,11 +34,16 @@ public interface SearchCatalogRequestOrBuilder extends
    * the request returns an error.
    * 
* - * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scope field is set. */ boolean hasScope(); /** + * + * *
    * Required. The scope of this search request.
    *
@@ -29,11 +52,16 @@ public interface SearchCatalogRequestOrBuilder extends
    * the request returns an error.
    * 
* - * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scope. */ com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope getScope(); /** + * + * *
    * Required. The scope of this search request.
    *
@@ -42,11 +70,15 @@ public interface SearchCatalogRequestOrBuilder extends
    * the request returns an error.
    * 
* - * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder getScopeOrBuilder(); /** + * + * *
    * Optional. The query string with a minimum of 3 characters and specific
    * syntax. For more information, see [Data Catalog search
@@ -63,10 +95,13 @@ public interface SearchCatalogRequestOrBuilder extends
    * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The query. */ java.lang.String getQuery(); /** + * + * *
    * Optional. The query string with a minimum of 3 characters and specific
    * syntax. For more information, see [Data Catalog search
@@ -83,12 +118,14 @@ public interface SearchCatalogRequestOrBuilder extends
    * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for query. */ - com.google.protobuf.ByteString - getQueryBytes(); + com.google.protobuf.ByteString getQueryBytes(); /** + * + * *
    * Upper bound on the number of results you can get in a single response.
    *
@@ -98,11 +135,14 @@ public interface SearchCatalogRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Pagination token that, if specified, returns the next page of
    * search results. If empty, returns the first page.
@@ -115,10 +155,13 @@ public interface SearchCatalogRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Pagination token that, if specified, returns the next page of
    * search results. If empty, returns the first page.
@@ -131,12 +174,14 @@ public interface SearchCatalogRequestOrBuilder 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(); /** + * + * *
    * Specifies the order of results.
    *
@@ -157,10 +202,13 @@ public interface SearchCatalogRequestOrBuilder extends
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Specifies the order of results.
    *
@@ -181,8 +229,8 @@ public interface SearchCatalogRequestOrBuilder extends
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponse.java similarity index 74% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponse.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponse.java index e4d9502d0b7a..84b1c16f1904 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponse.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Response message for
  * [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
@@ -11,46 +28,50 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.SearchCatalogResponse}
  */
-public final class SearchCatalogResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SearchCatalogResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.SearchCatalogResponse)
     SearchCatalogResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SearchCatalogResponse.newBuilder() to construct.
   private SearchCatalogResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SearchCatalogResponse() {
     results_ = 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 SearchCatalogResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.SearchCatalogResponse.class, com.google.cloud.datacatalog.v1.SearchCatalogResponse.Builder.class);
+            com.google.cloud.datacatalog.v1.SearchCatalogResponse.class,
+            com.google.cloud.datacatalog.v1.SearchCatalogResponse.Builder.class);
   }
 
   public static final int RESULTS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List results_;
   /**
+   *
+   *
    * 
    * Search results.
    * 
@@ -62,6 +83,8 @@ public java.util.List getRe return results_; } /** + * + * *
    * Search results.
    * 
@@ -69,11 +92,13 @@ public java.util.List getRe * repeated .google.cloud.datacatalog.v1.SearchCatalogResult results = 1; */ @java.lang.Override - public java.util.List + public java.util.List getResultsOrBuilderList() { return results_; } /** + * + * *
    * Search results.
    * 
@@ -85,6 +110,8 @@ public int getResultsCount() { return results_.size(); } /** + * + * *
    * Search results.
    * 
@@ -96,6 +123,8 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResult getResults(int index) return results_.get(index); } /** + * + * *
    * Search results.
    * 
@@ -111,11 +140,14 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder getResultsOr public static final int TOTAL_SIZE_FIELD_NUMBER = 2; private int totalSize_ = 0; /** + * + * *
    * The approximate total number of entries matched by the query.
    * 
* * int32 total_size = 2; + * * @return The totalSize. */ @java.lang.Override @@ -124,15 +156,19 @@ public int getTotalSize() { } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Pagination token that can be used in subsequent calls to retrieve the next
    * page of results.
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ @java.lang.Override @@ -141,30 +177,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; } } /** + * + * *
    * Pagination token that can be used in subsequent calls to retrieve the next
    * page of results.
    * 
* * string next_page_token = 3; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -173,10 +209,13 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Unreachable locations. Search results don't include data from those
    * locations.
@@ -187,13 +226,15 @@ public java.lang.String getNextPageToken() {
    * 
* * repeated string unreachable = 6; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Unreachable locations. Search results don't include data from those
    * locations.
@@ -204,12 +245,15 @@ public java.lang.String getNextPageToken() {
    * 
* * repeated string unreachable = 6; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Unreachable locations. Search results don't include data from those
    * locations.
@@ -220,6 +264,7 @@ public int getUnreachableCount() {
    * 
* * repeated string unreachable = 6; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -227,6 +272,8 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Unreachable locations. Search results don't include data from those
    * locations.
@@ -237,15 +284,16 @@ public java.lang.String getUnreachable(int index) {
    * 
* * repeated string unreachable = 6; + * * @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; @@ -257,8 +305,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < results_.size(); i++) { output.writeMessage(1, results_.get(i)); } @@ -281,12 +328,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < results_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, results_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, results_.get(i)); } if (totalSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, totalSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, totalSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); @@ -307,21 +352,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.datacatalog.v1.SearchCatalogResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.SearchCatalogResponse other = (com.google.cloud.datacatalog.v1.SearchCatalogResponse) obj; + com.google.cloud.datacatalog.v1.SearchCatalogResponse other = + (com.google.cloud.datacatalog.v1.SearchCatalogResponse) obj; - if (!getResultsList() - .equals(other.getResultsList())) return false; - if (getTotalSize() - != other.getTotalSize()) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getResultsList().equals(other.getResultsList())) return false; + if (getTotalSize() != other.getTotalSize()) 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; } @@ -351,98 +393,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.SearchCatalogResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.SearchCatalogResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.SearchCatalogResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.SearchCatalogResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.SearchCatalogResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.SearchCatalogResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SearchCatalogResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.SearchCatalogResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.SearchCatalogResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SearchCatalogResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.SearchCatalogResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.SearchCatalogResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.SearchCatalogResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.SearchCatalogResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.SearchCatalogResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.SearchCatalogResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for
    * [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
@@ -450,33 +498,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.SearchCatalogResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.SearchCatalogResponse)
       com.google.cloud.datacatalog.v1.SearchCatalogResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.SearchCatalogResponse.class, com.google.cloud.datacatalog.v1.SearchCatalogResponse.Builder.class);
+              com.google.cloud.datacatalog.v1.SearchCatalogResponse.class,
+              com.google.cloud.datacatalog.v1.SearchCatalogResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.SearchCatalogResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -490,15 +537,14 @@ public Builder clear() {
       bitField0_ = (bitField0_ & ~0x00000001);
       totalSize_ = 0;
       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.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_descriptor;
     }
 
     @java.lang.Override
@@ -517,14 +563,18 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.SearchCatalogResponse buildPartial() {
-      com.google.cloud.datacatalog.v1.SearchCatalogResponse result = new com.google.cloud.datacatalog.v1.SearchCatalogResponse(this);
+      com.google.cloud.datacatalog.v1.SearchCatalogResponse result =
+          new com.google.cloud.datacatalog.v1.SearchCatalogResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1.SearchCatalogResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.datacatalog.v1.SearchCatalogResponse result) {
       if (resultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           results_ = java.util.Collections.unmodifiableList(results_);
@@ -554,38 +604,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.SearchCatalogResponse
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.SearchCatalogResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.SearchCatalogResponse)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.SearchCatalogResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -593,7 +644,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.SearchCatalogResponse other) {
-      if (other == com.google.cloud.datacatalog.v1.SearchCatalogResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.SearchCatalogResponse.getDefaultInstance())
+        return this;
       if (resultsBuilder_ == null) {
         if (!other.results_.isEmpty()) {
           if (results_.isEmpty()) {
@@ -612,9 +664,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.SearchCatalogResponse o
             resultsBuilder_ = null;
             results_ = other.results_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            resultsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getResultsFieldBuilder() : null;
+            resultsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getResultsFieldBuilder()
+                    : null;
           } else {
             resultsBuilder_.addAllMessages(other.results_);
           }
@@ -664,41 +717,46 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.datacatalog.v1.SearchCatalogResult m =
-                  input.readMessage(
-                      com.google.cloud.datacatalog.v1.SearchCatalogResult.parser(),
-                      extensionRegistry);
-              if (resultsBuilder_ == null) {
-                ensureResultsIsMutable();
-                results_.add(m);
-              } else {
-                resultsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 16: {
-              totalSize_ = input.readInt32();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 26: {
-              nextPageToken_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 50: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureUnreachableIsMutable();
-              unreachable_.add(s);
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.cloud.datacatalog.v1.SearchCatalogResult m =
+                    input.readMessage(
+                        com.google.cloud.datacatalog.v1.SearchCatalogResult.parser(),
+                        extensionRegistry);
+                if (resultsBuilder_ == null) {
+                  ensureResultsIsMutable();
+                  results_.add(m);
+                } else {
+                  resultsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 16:
+              {
+                totalSize_ = input.readInt32();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 26:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 50:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureUnreachableIsMutable();
+                unreachable_.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) {
@@ -708,21 +766,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List results_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        results_ = new java.util.ArrayList(results_);
+        results_ =
+            new java.util.ArrayList(results_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.SearchCatalogResult, com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder, com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder> resultsBuilder_;
+            com.google.cloud.datacatalog.v1.SearchCatalogResult,
+            com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder,
+            com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder>
+        resultsBuilder_;
 
     /**
+     *
+     *
      * 
      * Search results.
      * 
@@ -737,6 +803,8 @@ public java.util.List getRe } } /** + * + * *
      * Search results.
      * 
@@ -751,6 +819,8 @@ public int getResultsCount() { } } /** + * + * *
      * Search results.
      * 
@@ -765,6 +835,8 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResult getResults(int index) } } /** + * + * *
      * Search results.
      * 
@@ -786,6 +858,8 @@ public Builder setResults( return this; } /** + * + * *
      * Search results.
      * 
@@ -804,6 +878,8 @@ public Builder setResults( return this; } /** + * + * *
      * Search results.
      * 
@@ -824,6 +900,8 @@ public Builder addResults(com.google.cloud.datacatalog.v1.SearchCatalogResult va return this; } /** + * + * *
      * Search results.
      * 
@@ -845,6 +923,8 @@ public Builder addResults( return this; } /** + * + * *
      * Search results.
      * 
@@ -863,6 +943,8 @@ public Builder addResults( return this; } /** + * + * *
      * Search results.
      * 
@@ -881,6 +963,8 @@ public Builder addResults( return this; } /** + * + * *
      * Search results.
      * 
@@ -891,8 +975,7 @@ public Builder addAllResults( java.lang.Iterable values) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, results_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, results_); onChanged(); } else { resultsBuilder_.addAllMessages(values); @@ -900,6 +983,8 @@ public Builder addAllResults( return this; } /** + * + * *
      * Search results.
      * 
@@ -917,6 +1002,8 @@ public Builder clearResults() { return this; } /** + * + * *
      * Search results.
      * 
@@ -934,6 +1021,8 @@ public Builder removeResults(int index) { return this; } /** + * + * *
      * Search results.
      * 
@@ -945,6 +1034,8 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder getResultsBui return getResultsFieldBuilder().getBuilder(index); } /** + * + * *
      * Search results.
      * 
@@ -954,19 +1045,22 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder getResultsBui public com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder getResultsOrBuilder( int index) { if (resultsBuilder_ == null) { - return results_.get(index); } else { + return results_.get(index); + } else { return resultsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Search results.
      * 
* * repeated .google.cloud.datacatalog.v1.SearchCatalogResult results = 1; */ - public java.util.List - getResultsOrBuilderList() { + public java.util.List + getResultsOrBuilderList() { if (resultsBuilder_ != null) { return resultsBuilder_.getMessageOrBuilderList(); } else { @@ -974,6 +1068,8 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder getResultsOr } } /** + * + * *
      * Search results.
      * 
@@ -981,10 +1077,12 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder getResultsOr * repeated .google.cloud.datacatalog.v1.SearchCatalogResult results = 1; */ public com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder addResultsBuilder() { - return getResultsFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1.SearchCatalogResult.getDefaultInstance()); + return getResultsFieldBuilder() + .addBuilder(com.google.cloud.datacatalog.v1.SearchCatalogResult.getDefaultInstance()); } /** + * + * *
      * Search results.
      * 
@@ -993,42 +1091,51 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder addResultsBui */ public com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder addResultsBuilder( int index) { - return getResultsFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1.SearchCatalogResult.getDefaultInstance()); + return getResultsFieldBuilder() + .addBuilder( + index, com.google.cloud.datacatalog.v1.SearchCatalogResult.getDefaultInstance()); } /** + * + * *
      * Search results.
      * 
* * repeated .google.cloud.datacatalog.v1.SearchCatalogResult results = 1; */ - public java.util.List - getResultsBuilderList() { + public java.util.List + getResultsBuilderList() { return getResultsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.SearchCatalogResult, com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder, com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder> + com.google.cloud.datacatalog.v1.SearchCatalogResult, + com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder, + com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder> getResultsFieldBuilder() { if (resultsBuilder_ == null) { - resultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.SearchCatalogResult, com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder, com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder>( - results_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + resultsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.SearchCatalogResult, + com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder, + com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder>( + results_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); results_ = null; } return resultsBuilder_; } - private int totalSize_ ; + private int totalSize_; /** + * + * *
      * The approximate total number of entries matched by the query.
      * 
* * int32 total_size = 2; + * * @return The totalSize. */ @java.lang.Override @@ -1036,11 +1143,14 @@ public int getTotalSize() { return totalSize_; } /** + * + * *
      * The approximate total number of entries matched by the query.
      * 
* * int32 total_size = 2; + * * @param value The totalSize to set. * @return This builder for chaining. */ @@ -1052,11 +1162,14 @@ public Builder setTotalSize(int value) { return this; } /** + * + * *
      * The approximate total number of entries matched by the query.
      * 
* * int32 total_size = 2; + * * @return This builder for chaining. */ public Builder clearTotalSize() { @@ -1068,19 +1181,21 @@ public Builder clearTotalSize() { private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Pagination token that can be used in subsequent calls to retrieve the next
      * page of results.
      * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1089,21 +1204,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Pagination token that can be used in subsequent calls to retrieve the next
      * page of results.
      * 
* * string next_page_token = 3; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1111,30 +1227,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Pagination token that can be used in subsequent calls to retrieve the next
      * page of results.
      * 
* * string next_page_token = 3; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Pagination token that can be used in subsequent calls to retrieve the next
      * page of results.
      * 
* * string next_page_token = 3; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1144,18 +1267,22 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Pagination token that can be used in subsequent calls to retrieve the next
      * page of results.
      * 
* * string next_page_token = 3; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000004; @@ -1165,6 +1292,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_); @@ -1172,6 +1300,8 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000008; } /** + * + * *
      * Unreachable locations. Search results don't include data from those
      * locations.
@@ -1182,14 +1312,16 @@ private void ensureUnreachableIsMutable() {
      * 
* * repeated string unreachable = 6; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Unreachable locations. Search results don't include data from those
      * locations.
@@ -1200,12 +1332,15 @@ private void ensureUnreachableIsMutable() {
      * 
* * repeated string unreachable = 6; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Unreachable locations. Search results don't include data from those
      * locations.
@@ -1216,6 +1351,7 @@ public int getUnreachableCount() {
      * 
* * repeated string unreachable = 6; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1223,6 +1359,8 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Unreachable locations. Search results don't include data from those
      * locations.
@@ -1233,14 +1371,16 @@ public java.lang.String getUnreachable(int index) {
      * 
* * repeated string unreachable = 6; + * * @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); } /** + * + * *
      * Unreachable locations. Search results don't include data from those
      * locations.
@@ -1251,13 +1391,15 @@ public java.lang.String getUnreachable(int index) {
      * 
* * repeated string unreachable = 6; + * * @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_ |= 0x00000008; @@ -1265,6 +1407,8 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Unreachable locations. Search results don't include data from those
      * locations.
@@ -1275,12 +1419,14 @@ public Builder setUnreachable(
      * 
* * repeated string unreachable = 6; + * * @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_ |= 0x00000008; @@ -1288,6 +1434,8 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Unreachable locations. Search results don't include data from those
      * locations.
@@ -1298,19 +1446,20 @@ public Builder addUnreachable(
      * 
* * repeated string unreachable = 6; + * * @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_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Unreachable locations. Search results don't include data from those
      * locations.
@@ -1321,16 +1470,19 @@ public Builder addAllUnreachable(
      * 
* * repeated string unreachable = 6; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + ; onChanged(); return this; } /** + * + * *
      * Unreachable locations. Search results don't include data from those
      * locations.
@@ -1341,12 +1493,14 @@ public Builder clearUnreachable() {
      * 
* * repeated string unreachable = 6; + * * @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); @@ -1354,9 +1508,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); } @@ -1366,12 +1520,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.SearchCatalogResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.SearchCatalogResponse) private static final com.google.cloud.datacatalog.v1.SearchCatalogResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.SearchCatalogResponse(); } @@ -1380,27 +1534,27 @@ public static com.google.cloud.datacatalog.v1.SearchCatalogResponse getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchCatalogResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchCatalogResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1415,6 +1569,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.SearchCatalogResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponseOrBuilder.java similarity index 78% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponseOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponseOrBuilder.java index 23a8fe28291b..7f3bf62b4e6f 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponseOrBuilder.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface SearchCatalogResponseOrBuilder extends +public interface SearchCatalogResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.SearchCatalogResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Search results.
    * 
* * repeated .google.cloud.datacatalog.v1.SearchCatalogResult results = 1; */ - java.util.List - getResultsList(); + java.util.List getResultsList(); /** + * + * *
    * Search results.
    * 
@@ -25,6 +44,8 @@ public interface SearchCatalogResponseOrBuilder extends */ com.google.cloud.datacatalog.v1.SearchCatalogResult getResults(int index); /** + * + * *
    * Search results.
    * 
@@ -33,57 +54,70 @@ public interface SearchCatalogResponseOrBuilder extends */ int getResultsCount(); /** + * + * *
    * Search results.
    * 
* * repeated .google.cloud.datacatalog.v1.SearchCatalogResult results = 1; */ - java.util.List + java.util.List getResultsOrBuilderList(); /** + * + * *
    * Search results.
    * 
* * repeated .google.cloud.datacatalog.v1.SearchCatalogResult results = 1; */ - com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder getResultsOrBuilder( - int index); + com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder getResultsOrBuilder(int index); /** + * + * *
    * The approximate total number of entries matched by the query.
    * 
* * int32 total_size = 2; + * * @return The totalSize. */ int getTotalSize(); /** + * + * *
    * Pagination token that can be used in subsequent calls to retrieve the next
    * page of results.
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Pagination token that can be used in subsequent calls to retrieve the next
    * page of results.
    * 
* * string next_page_token = 3; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Unreachable locations. Search results don't include data from those
    * locations.
@@ -94,11 +128,13 @@ com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder getResultsOrBuilder
    * 
* * repeated string unreachable = 6; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Unreachable locations. Search results don't include data from those
    * locations.
@@ -109,10 +145,13 @@ com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder getResultsOrBuilder
    * 
* * repeated string unreachable = 6; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Unreachable locations. Search results don't include data from those
    * locations.
@@ -123,11 +162,14 @@ com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder getResultsOrBuilder
    * 
* * repeated string unreachable = 6; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Unreachable locations. Search results don't include data from those
    * locations.
@@ -138,9 +180,9 @@ com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder getResultsOrBuilder
    * 
* * repeated string unreachable = 6; + * * @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-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResult.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResult.java similarity index 74% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResult.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResult.java index 906c947ef180..7697117c1e00 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResult.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResult.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/datacatalog/v1/search.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Result in the response to a search request.
  *
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.SearchCatalogResult}
  */
-public final class SearchCatalogResult extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SearchCatalogResult extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.SearchCatalogResult)
     SearchCatalogResultOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SearchCatalogResult.newBuilder() to construct.
   private SearchCatalogResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SearchCatalogResult() {
     searchResultType_ = 0;
     searchResultSubtype_ = "";
@@ -33,34 +51,39 @@ private SearchCatalogResult() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SearchCatalogResult();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Search.internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Search
+        .internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Search.internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Search
+        .internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.SearchCatalogResult.class, com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder.class);
+            com.google.cloud.datacatalog.v1.SearchCatalogResult.class,
+            com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder.class);
   }
 
   private int systemCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object system_;
+
   public enum SystemCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     INTEGRATED_SYSTEM(8),
     USER_SPECIFIED_SYSTEM(9),
     SYSTEM_NOT_SET(0);
     private final int value;
+
     private SystemCase(int value) {
       this.value = value;
     }
@@ -76,26 +99,31 @@ public static SystemCase valueOf(int value) {
 
     public static SystemCase forNumber(int value) {
       switch (value) {
-        case 8: return INTEGRATED_SYSTEM;
-        case 9: return USER_SPECIFIED_SYSTEM;
-        case 0: return SYSTEM_NOT_SET;
-        default: return null;
+        case 8:
+          return INTEGRATED_SYSTEM;
+        case 9:
+          return USER_SPECIFIED_SYSTEM;
+        case 0:
+          return SYSTEM_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SystemCase
-  getSystemCase() {
-    return SystemCase.forNumber(
-        systemCase_);
+  public SystemCase getSystemCase() {
+    return SystemCase.forNumber(systemCase_);
   }
 
   public static final int SEARCH_RESULT_TYPE_FIELD_NUMBER = 1;
   private int searchResultType_ = 0;
   /**
+   *
+   *
    * 
    * Type of the search result.
    *
@@ -104,12 +132,16 @@ public int getNumber() {
    * 
* * .google.cloud.datacatalog.v1.SearchResultType search_result_type = 1; + * * @return The enum numeric value on the wire for searchResultType. */ - @java.lang.Override public int getSearchResultTypeValue() { + @java.lang.Override + public int getSearchResultTypeValue() { return searchResultType_; } /** + * + * *
    * Type of the search result.
    *
@@ -118,17 +150,23 @@ public int getNumber() {
    * 
* * .google.cloud.datacatalog.v1.SearchResultType search_result_type = 1; + * * @return The searchResultType. */ - @java.lang.Override public com.google.cloud.datacatalog.v1.SearchResultType getSearchResultType() { - com.google.cloud.datacatalog.v1.SearchResultType result = com.google.cloud.datacatalog.v1.SearchResultType.forNumber(searchResultType_); + @java.lang.Override + public com.google.cloud.datacatalog.v1.SearchResultType getSearchResultType() { + com.google.cloud.datacatalog.v1.SearchResultType result = + com.google.cloud.datacatalog.v1.SearchResultType.forNumber(searchResultType_); return result == null ? com.google.cloud.datacatalog.v1.SearchResultType.UNRECOGNIZED : result; } public static final int SEARCH_RESULT_SUBTYPE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object searchResultSubtype_ = ""; /** + * + * *
    * Sub-type of the search result.
    *
@@ -139,6 +177,7 @@ public int getNumber() {
    * 
* * string search_result_subtype = 2; + * * @return The searchResultSubtype. */ @java.lang.Override @@ -147,14 +186,15 @@ public java.lang.String getSearchResultSubtype() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); searchResultSubtype_ = s; return s; } } /** + * + * *
    * Sub-type of the search result.
    *
@@ -165,16 +205,15 @@ public java.lang.String getSearchResultSubtype() {
    * 
* * string search_result_subtype = 2; + * * @return The bytes for searchResultSubtype. */ @java.lang.Override - public com.google.protobuf.ByteString - getSearchResultSubtypeBytes() { + public com.google.protobuf.ByteString getSearchResultSubtypeBytes() { java.lang.Object ref = searchResultSubtype_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); searchResultSubtype_ = b; return b; } else { @@ -183,9 +222,12 @@ public java.lang.String getSearchResultSubtype() { } public static final int RELATIVE_RESOURCE_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object relativeResourceName_ = ""; /** + * + * *
    * The relative name of the resource in URL format.
    *
@@ -196,6 +238,7 @@ public java.lang.String getSearchResultSubtype() {
    * 
* * string relative_resource_name = 3; + * * @return The relativeResourceName. */ @java.lang.Override @@ -204,14 +247,15 @@ public java.lang.String getRelativeResourceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeResourceName_ = s; return s; } } /** + * + * *
    * The relative name of the resource in URL format.
    *
@@ -222,16 +266,15 @@ public java.lang.String getRelativeResourceName() {
    * 
* * string relative_resource_name = 3; + * * @return The bytes for relativeResourceName. */ @java.lang.Override - public com.google.protobuf.ByteString - getRelativeResourceNameBytes() { + public com.google.protobuf.ByteString getRelativeResourceNameBytes() { java.lang.Object ref = relativeResourceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); relativeResourceName_ = b; return b; } else { @@ -240,9 +283,12 @@ public java.lang.String getRelativeResourceName() { } public static final int LINKED_RESOURCE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object linkedResource_ = ""; /** + * + * *
    * The full name of the Google Cloud resource the entry belongs to.
    *
@@ -255,6 +301,7 @@ public java.lang.String getRelativeResourceName() {
    * 
* * string linked_resource = 4; + * * @return The linkedResource. */ @java.lang.Override @@ -263,14 +310,15 @@ public java.lang.String getLinkedResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); linkedResource_ = s; return s; } } /** + * + * *
    * The full name of the Google Cloud resource the entry belongs to.
    *
@@ -283,16 +331,15 @@ public java.lang.String getLinkedResource() {
    * 
* * string linked_resource = 4; + * * @return The bytes for linkedResource. */ @java.lang.Override - public com.google.protobuf.ByteString - getLinkedResourceBytes() { + public com.google.protobuf.ByteString getLinkedResourceBytes() { java.lang.Object ref = linkedResource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); linkedResource_ = b; return b; } else { @@ -303,11 +350,14 @@ public java.lang.String getLinkedResource() { public static final int MODIFY_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp modifyTime_; /** + * + * *
    * The last modification timestamp of the entry in the source system.
    * 
* * .google.protobuf.Timestamp modify_time = 7; + * * @return Whether the modifyTime field is set. */ @java.lang.Override @@ -315,11 +365,14 @@ public boolean hasModifyTime() { return modifyTime_ != null; } /** + * + * *
    * The last modification timestamp of the entry in the source system.
    * 
* * .google.protobuf.Timestamp modify_time = 7; + * * @return The modifyTime. */ @java.lang.Override @@ -327,6 +380,8 @@ public com.google.protobuf.Timestamp getModifyTime() { return modifyTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : modifyTime_; } /** + * + * *
    * The last modification timestamp of the entry in the source system.
    * 
@@ -340,24 +395,34 @@ public com.google.protobuf.TimestampOrBuilder getModifyTimeOrBuilder() { public static final int INTEGRATED_SYSTEM_FIELD_NUMBER = 8; /** + * + * *
    * Output only. The source system that Data Catalog automatically integrates
    * with, such as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
    * 
* - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the integratedSystem field is set. */ public boolean hasIntegratedSystem() { return systemCase_ == 8; } /** + * + * *
    * Output only. The source system that Data Catalog automatically integrates
    * with, such as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
    * 
* - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for integratedSystem. */ public int getIntegratedSystemValue() { @@ -367,41 +432,54 @@ public int getIntegratedSystemValue() { return 0; } /** + * + * *
    * Output only. The source system that Data Catalog automatically integrates
    * with, such as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
    * 
* - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The integratedSystem. */ public com.google.cloud.datacatalog.v1.IntegratedSystem getIntegratedSystem() { if (systemCase_ == 8) { - com.google.cloud.datacatalog.v1.IntegratedSystem result = com.google.cloud.datacatalog.v1.IntegratedSystem.forNumber( - (java.lang.Integer) system_); - return result == null ? com.google.cloud.datacatalog.v1.IntegratedSystem.UNRECOGNIZED : result; + com.google.cloud.datacatalog.v1.IntegratedSystem result = + com.google.cloud.datacatalog.v1.IntegratedSystem.forNumber((java.lang.Integer) system_); + return result == null + ? com.google.cloud.datacatalog.v1.IntegratedSystem.UNRECOGNIZED + : result; } return com.google.cloud.datacatalog.v1.IntegratedSystem.INTEGRATED_SYSTEM_UNSPECIFIED; } public static final int USER_SPECIFIED_SYSTEM_FIELD_NUMBER = 9; /** + * + * *
    * Custom source system that you can manually integrate Data Catalog with.
    * 
* * string user_specified_system = 9; + * * @return Whether the userSpecifiedSystem field is set. */ public boolean hasUserSpecifiedSystem() { return systemCase_ == 9; } /** + * + * *
    * Custom source system that you can manually integrate Data Catalog with.
    * 
* * string user_specified_system = 9; + * * @return The userSpecifiedSystem. */ public java.lang.String getUserSpecifiedSystem() { @@ -412,8 +490,7 @@ public java.lang.String getUserSpecifiedSystem() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (systemCase_ == 9) { system_ = s; @@ -422,23 +499,24 @@ public java.lang.String getUserSpecifiedSystem() { } } /** + * + * *
    * Custom source system that you can manually integrate Data Catalog with.
    * 
* * string user_specified_system = 9; + * * @return The bytes for userSpecifiedSystem. */ - public com.google.protobuf.ByteString - getUserSpecifiedSystemBytes() { + public com.google.protobuf.ByteString getUserSpecifiedSystemBytes() { java.lang.Object ref = ""; if (systemCase_ == 9) { ref = system_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (systemCase_ == 9) { system_ = b; } @@ -449,9 +527,12 @@ public java.lang.String getUserSpecifiedSystem() { } public static final int FULLY_QUALIFIED_NAME_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private volatile java.lang.Object fullyQualifiedName_ = ""; /** + * + * *
    * Fully qualified name (FQN) of the resource.
    *
@@ -471,6 +552,7 @@ public java.lang.String getUserSpecifiedSystem() {
    * 
* * string fully_qualified_name = 10; + * * @return The fullyQualifiedName. */ @java.lang.Override @@ -479,14 +561,15 @@ public java.lang.String getFullyQualifiedName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullyQualifiedName_ = s; return s; } } /** + * + * *
    * Fully qualified name (FQN) of the resource.
    *
@@ -506,16 +589,15 @@ public java.lang.String getFullyQualifiedName() {
    * 
* * string fully_qualified_name = 10; + * * @return The bytes for fullyQualifiedName. */ @java.lang.Override - public com.google.protobuf.ByteString - getFullyQualifiedNameBytes() { + public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { java.lang.Object ref = fullyQualifiedName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fullyQualifiedName_ = b; return b; } else { @@ -524,14 +606,18 @@ public java.lang.String getFullyQualifiedName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 12; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * The display name of the result.
    * 
* * string display_name = 12; + * * @return The displayName. */ @java.lang.Override @@ -540,29 +626,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * The display name of the result.
    * 
* * string display_name = 12; + * * @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 { @@ -571,15 +657,19 @@ public java.lang.String getDisplayName() { } public static final int DESCRIPTION_FIELD_NUMBER = 13; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Entry description that can consist of several sentences or paragraphs that
    * describe entry contents.
    * 
* * string description = 13; + * * @return The description. */ @java.lang.Override @@ -588,30 +678,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; } } /** + * + * *
    * Entry description that can consist of several sentences or paragraphs that
    * describe entry contents.
    * 
* * string description = 13; + * * @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 { @@ -620,6 +710,7 @@ public java.lang.String getDescription() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -631,9 +722,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (searchResultType_ != com.google.cloud.datacatalog.v1.SearchResultType.SEARCH_RESULT_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (searchResultType_ + != com.google.cloud.datacatalog.v1.SearchResultType.SEARCH_RESULT_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, searchResultType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(searchResultSubtype_)) { @@ -672,9 +764,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (searchResultType_ != com.google.cloud.datacatalog.v1.SearchResultType.SEARCH_RESULT_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, searchResultType_); + if (searchResultType_ + != com.google.cloud.datacatalog.v1.SearchResultType.SEARCH_RESULT_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, searchResultType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(searchResultSubtype_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, searchResultSubtype_); @@ -686,12 +779,11 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, linkedResource_); } if (modifyTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getModifyTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getModifyTime()); } if (systemCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, ((java.lang.Integer) system_)); + size += + com.google.protobuf.CodedOutputStream.computeEnumSize(8, ((java.lang.Integer) system_)); } if (systemCase_ == 9) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, system_); @@ -713,40 +805,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.SearchCatalogResult)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.SearchCatalogResult other = (com.google.cloud.datacatalog.v1.SearchCatalogResult) obj; + com.google.cloud.datacatalog.v1.SearchCatalogResult other = + (com.google.cloud.datacatalog.v1.SearchCatalogResult) obj; if (searchResultType_ != other.searchResultType_) return false; - if (!getSearchResultSubtype() - .equals(other.getSearchResultSubtype())) return false; - if (!getRelativeResourceName() - .equals(other.getRelativeResourceName())) return false; - if (!getLinkedResource() - .equals(other.getLinkedResource())) return false; + if (!getSearchResultSubtype().equals(other.getSearchResultSubtype())) return false; + if (!getRelativeResourceName().equals(other.getRelativeResourceName())) return false; + if (!getLinkedResource().equals(other.getLinkedResource())) return false; if (hasModifyTime() != other.hasModifyTime()) return false; if (hasModifyTime()) { - if (!getModifyTime() - .equals(other.getModifyTime())) return false; - } - if (!getFullyQualifiedName() - .equals(other.getFullyQualifiedName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getModifyTime().equals(other.getModifyTime())) return false; + } + if (!getFullyQualifiedName().equals(other.getFullyQualifiedName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (!getSystemCase().equals(other.getSystemCase())) return false; switch (systemCase_) { case 8: - if (getIntegratedSystemValue() - != other.getIntegratedSystemValue()) return false; + if (getIntegratedSystemValue() != other.getIntegratedSystemValue()) return false; break; case 9: - if (!getUserSpecifiedSystem() - .equals(other.getUserSpecifiedSystem())) return false; + if (!getUserSpecifiedSystem().equals(other.getUserSpecifiedSystem())) return false; break; case 0: default: @@ -798,98 +882,103 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.SearchCatalogResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.SearchCatalogResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.SearchCatalogResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.SearchCatalogResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.SearchCatalogResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.SearchCatalogResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SearchCatalogResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.SearchCatalogResult parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.SearchCatalogResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SearchCatalogResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.SearchCatalogResult parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.SearchCatalogResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.SearchCatalogResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.SearchCatalogResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.SearchCatalogResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Result in the response to a search request.
    *
@@ -898,33 +987,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.SearchCatalogResult}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.SearchCatalogResult)
       com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Search.internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Search
+          .internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Search.internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Search
+          .internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.SearchCatalogResult.class, com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder.class);
+              com.google.cloud.datacatalog.v1.SearchCatalogResult.class,
+              com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.SearchCatalogResult.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -947,9 +1035,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Search.internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Search
+          .internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_descriptor;
     }
 
     @java.lang.Override
@@ -968,8 +1056,11 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResult build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.SearchCatalogResult buildPartial() {
-      com.google.cloud.datacatalog.v1.SearchCatalogResult result = new com.google.cloud.datacatalog.v1.SearchCatalogResult(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.SearchCatalogResult result =
+          new com.google.cloud.datacatalog.v1.SearchCatalogResult(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -990,9 +1081,7 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.SearchCatalogResult r
         result.linkedResource_ = linkedResource_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.modifyTime_ = modifyTimeBuilder_ == null
-            ? modifyTime_
-            : modifyTimeBuilder_.build();
+        result.modifyTime_ = modifyTimeBuilder_ == null ? modifyTime_ : modifyTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
         result.fullyQualifiedName_ = fullyQualifiedName_;
@@ -1014,38 +1103,39 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.SearchCatalogRes
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.SearchCatalogResult) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.SearchCatalogResult)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.SearchCatalogResult) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1053,7 +1143,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.SearchCatalogResult other) {
-      if (other == com.google.cloud.datacatalog.v1.SearchCatalogResult.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.SearchCatalogResult.getDefaultInstance())
+        return this;
       if (other.searchResultType_ != 0) {
         setSearchResultTypeValue(other.getSearchResultTypeValue());
       }
@@ -1091,19 +1182,22 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.SearchCatalogResult oth
         onChanged();
       }
       switch (other.getSystemCase()) {
-        case INTEGRATED_SYSTEM: {
-          setIntegratedSystemValue(other.getIntegratedSystemValue());
-          break;
-        }
-        case USER_SPECIFIED_SYSTEM: {
-          systemCase_ = 9;
-          system_ = other.system_;
-          onChanged();
-          break;
-        }
-        case SYSTEM_NOT_SET: {
-          break;
-        }
+        case INTEGRATED_SYSTEM:
+          {
+            setIntegratedSystemValue(other.getIntegratedSystemValue());
+            break;
+          }
+        case USER_SPECIFIED_SYSTEM:
+          {
+            systemCase_ = 9;
+            system_ = other.system_;
+            onChanged();
+            break;
+          }
+        case SYSTEM_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1131,66 +1225,75 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              searchResultType_ = input.readEnum();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 18: {
-              searchResultSubtype_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              relativeResourceName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              linkedResource_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 58: {
-              input.readMessage(
-                  getModifyTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 58
-            case 64: {
-              int rawValue = input.readEnum();
-              systemCase_ = 8;
-              system_ = rawValue;
-              break;
-            } // case 64
-            case 74: {
-              java.lang.String s = input.readStringRequireUtf8();
-              systemCase_ = 9;
-              system_ = s;
-              break;
-            } // case 74
-            case 82: {
-              fullyQualifiedName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 82
-            case 98: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 98
-            case 106: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 106
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                searchResultType_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 18:
+              {
+                searchResultSubtype_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                relativeResourceName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                linkedResource_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 58:
+              {
+                input.readMessage(getModifyTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 58
+            case 64:
+              {
+                int rawValue = input.readEnum();
+                systemCase_ = 8;
+                system_ = rawValue;
+                break;
+              } // case 64
+            case 74:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                systemCase_ = 9;
+                system_ = s;
+                break;
+              } // case 74
+            case 82:
+              {
+                fullyQualifiedName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 82
+            case 98:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 98
+            case 106:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 106
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1200,12 +1303,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int systemCase_ = 0;
     private java.lang.Object system_;
-    public SystemCase
-        getSystemCase() {
-      return SystemCase.forNumber(
-          systemCase_);
+
+    public SystemCase getSystemCase() {
+      return SystemCase.forNumber(systemCase_);
     }
 
     public Builder clearSystem() {
@@ -1219,6 +1322,8 @@ public Builder clearSystem() {
 
     private int searchResultType_ = 0;
     /**
+     *
+     *
      * 
      * Type of the search result.
      *
@@ -1227,12 +1332,16 @@ public Builder clearSystem() {
      * 
* * .google.cloud.datacatalog.v1.SearchResultType search_result_type = 1; + * * @return The enum numeric value on the wire for searchResultType. */ - @java.lang.Override public int getSearchResultTypeValue() { + @java.lang.Override + public int getSearchResultTypeValue() { return searchResultType_; } /** + * + * *
      * Type of the search result.
      *
@@ -1241,6 +1350,7 @@ public Builder clearSystem() {
      * 
* * .google.cloud.datacatalog.v1.SearchResultType search_result_type = 1; + * * @param value The enum numeric value on the wire for searchResultType to set. * @return This builder for chaining. */ @@ -1251,6 +1361,8 @@ public Builder setSearchResultTypeValue(int value) { return this; } /** + * + * *
      * Type of the search result.
      *
@@ -1259,14 +1371,20 @@ public Builder setSearchResultTypeValue(int value) {
      * 
* * .google.cloud.datacatalog.v1.SearchResultType search_result_type = 1; + * * @return The searchResultType. */ @java.lang.Override public com.google.cloud.datacatalog.v1.SearchResultType getSearchResultType() { - com.google.cloud.datacatalog.v1.SearchResultType result = com.google.cloud.datacatalog.v1.SearchResultType.forNumber(searchResultType_); - return result == null ? com.google.cloud.datacatalog.v1.SearchResultType.UNRECOGNIZED : result; + com.google.cloud.datacatalog.v1.SearchResultType result = + com.google.cloud.datacatalog.v1.SearchResultType.forNumber(searchResultType_); + return result == null + ? com.google.cloud.datacatalog.v1.SearchResultType.UNRECOGNIZED + : result; } /** + * + * *
      * Type of the search result.
      *
@@ -1275,6 +1393,7 @@ public com.google.cloud.datacatalog.v1.SearchResultType getSearchResultType() {
      * 
* * .google.cloud.datacatalog.v1.SearchResultType search_result_type = 1; + * * @param value The searchResultType to set. * @return This builder for chaining. */ @@ -1288,6 +1407,8 @@ public Builder setSearchResultType(com.google.cloud.datacatalog.v1.SearchResultT return this; } /** + * + * *
      * Type of the search result.
      *
@@ -1296,6 +1417,7 @@ public Builder setSearchResultType(com.google.cloud.datacatalog.v1.SearchResultT
      * 
* * .google.cloud.datacatalog.v1.SearchResultType search_result_type = 1; + * * @return This builder for chaining. */ public Builder clearSearchResultType() { @@ -1307,6 +1429,8 @@ public Builder clearSearchResultType() { private java.lang.Object searchResultSubtype_ = ""; /** + * + * *
      * Sub-type of the search result.
      *
@@ -1317,13 +1441,13 @@ public Builder clearSearchResultType() {
      * 
* * string search_result_subtype = 2; + * * @return The searchResultSubtype. */ public java.lang.String getSearchResultSubtype() { java.lang.Object ref = searchResultSubtype_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); searchResultSubtype_ = s; return s; @@ -1332,6 +1456,8 @@ public java.lang.String getSearchResultSubtype() { } } /** + * + * *
      * Sub-type of the search result.
      *
@@ -1342,15 +1468,14 @@ public java.lang.String getSearchResultSubtype() {
      * 
* * string search_result_subtype = 2; + * * @return The bytes for searchResultSubtype. */ - public com.google.protobuf.ByteString - getSearchResultSubtypeBytes() { + public com.google.protobuf.ByteString getSearchResultSubtypeBytes() { java.lang.Object ref = searchResultSubtype_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); searchResultSubtype_ = b; return b; } else { @@ -1358,6 +1483,8 @@ public java.lang.String getSearchResultSubtype() { } } /** + * + * *
      * Sub-type of the search result.
      *
@@ -1368,18 +1495,22 @@ public java.lang.String getSearchResultSubtype() {
      * 
* * string search_result_subtype = 2; + * * @param value The searchResultSubtype to set. * @return This builder for chaining. */ - public Builder setSearchResultSubtype( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSearchResultSubtype(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } searchResultSubtype_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Sub-type of the search result.
      *
@@ -1390,6 +1521,7 @@ public Builder setSearchResultSubtype(
      * 
* * string search_result_subtype = 2; + * * @return This builder for chaining. */ public Builder clearSearchResultSubtype() { @@ -1399,6 +1531,8 @@ public Builder clearSearchResultSubtype() { return this; } /** + * + * *
      * Sub-type of the search result.
      *
@@ -1409,12 +1543,14 @@ public Builder clearSearchResultSubtype() {
      * 
* * string search_result_subtype = 2; + * * @param value The bytes for searchResultSubtype to set. * @return This builder for chaining. */ - public Builder setSearchResultSubtypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSearchResultSubtypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); searchResultSubtype_ = value; bitField0_ |= 0x00000002; @@ -1424,6 +1560,8 @@ public Builder setSearchResultSubtypeBytes( private java.lang.Object relativeResourceName_ = ""; /** + * + * *
      * The relative name of the resource in URL format.
      *
@@ -1434,13 +1572,13 @@ public Builder setSearchResultSubtypeBytes(
      * 
* * string relative_resource_name = 3; + * * @return The relativeResourceName. */ public java.lang.String getRelativeResourceName() { java.lang.Object ref = relativeResourceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeResourceName_ = s; return s; @@ -1449,6 +1587,8 @@ public java.lang.String getRelativeResourceName() { } } /** + * + * *
      * The relative name of the resource in URL format.
      *
@@ -1459,15 +1599,14 @@ public java.lang.String getRelativeResourceName() {
      * 
* * string relative_resource_name = 3; + * * @return The bytes for relativeResourceName. */ - public com.google.protobuf.ByteString - getRelativeResourceNameBytes() { + public com.google.protobuf.ByteString getRelativeResourceNameBytes() { java.lang.Object ref = relativeResourceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); relativeResourceName_ = b; return b; } else { @@ -1475,6 +1614,8 @@ public java.lang.String getRelativeResourceName() { } } /** + * + * *
      * The relative name of the resource in URL format.
      *
@@ -1485,18 +1626,22 @@ public java.lang.String getRelativeResourceName() {
      * 
* * string relative_resource_name = 3; + * * @param value The relativeResourceName to set. * @return This builder for chaining. */ - public Builder setRelativeResourceName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRelativeResourceName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } relativeResourceName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The relative name of the resource in URL format.
      *
@@ -1507,6 +1652,7 @@ public Builder setRelativeResourceName(
      * 
* * string relative_resource_name = 3; + * * @return This builder for chaining. */ public Builder clearRelativeResourceName() { @@ -1516,6 +1662,8 @@ public Builder clearRelativeResourceName() { return this; } /** + * + * *
      * The relative name of the resource in URL format.
      *
@@ -1526,12 +1674,14 @@ public Builder clearRelativeResourceName() {
      * 
* * string relative_resource_name = 3; + * * @param value The bytes for relativeResourceName to set. * @return This builder for chaining. */ - public Builder setRelativeResourceNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRelativeResourceNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); relativeResourceName_ = value; bitField0_ |= 0x00000004; @@ -1541,6 +1691,8 @@ public Builder setRelativeResourceNameBytes( private java.lang.Object linkedResource_ = ""; /** + * + * *
      * The full name of the Google Cloud resource the entry belongs to.
      *
@@ -1553,13 +1705,13 @@ public Builder setRelativeResourceNameBytes(
      * 
* * string linked_resource = 4; + * * @return The linkedResource. */ public java.lang.String getLinkedResource() { java.lang.Object ref = linkedResource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); linkedResource_ = s; return s; @@ -1568,6 +1720,8 @@ public java.lang.String getLinkedResource() { } } /** + * + * *
      * The full name of the Google Cloud resource the entry belongs to.
      *
@@ -1580,15 +1734,14 @@ public java.lang.String getLinkedResource() {
      * 
* * string linked_resource = 4; + * * @return The bytes for linkedResource. */ - public com.google.protobuf.ByteString - getLinkedResourceBytes() { + public com.google.protobuf.ByteString getLinkedResourceBytes() { java.lang.Object ref = linkedResource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); linkedResource_ = b; return b; } else { @@ -1596,6 +1749,8 @@ public java.lang.String getLinkedResource() { } } /** + * + * *
      * The full name of the Google Cloud resource the entry belongs to.
      *
@@ -1608,18 +1763,22 @@ public java.lang.String getLinkedResource() {
      * 
* * string linked_resource = 4; + * * @param value The linkedResource to set. * @return This builder for chaining. */ - public Builder setLinkedResource( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLinkedResource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } linkedResource_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The full name of the Google Cloud resource the entry belongs to.
      *
@@ -1632,6 +1791,7 @@ public Builder setLinkedResource(
      * 
* * string linked_resource = 4; + * * @return This builder for chaining. */ public Builder clearLinkedResource() { @@ -1641,6 +1801,8 @@ public Builder clearLinkedResource() { return this; } /** + * + * *
      * The full name of the Google Cloud resource the entry belongs to.
      *
@@ -1653,12 +1815,14 @@ public Builder clearLinkedResource() {
      * 
* * string linked_resource = 4; + * * @param value The bytes for linkedResource to set. * @return This builder for chaining. */ - public Builder setLinkedResourceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); linkedResource_ = value; bitField0_ |= 0x00000008; @@ -1668,34 +1832,47 @@ public Builder setLinkedResourceBytes( private com.google.protobuf.Timestamp modifyTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> modifyTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + modifyTimeBuilder_; /** + * + * *
      * The last modification timestamp of the entry in the source system.
      * 
* * .google.protobuf.Timestamp modify_time = 7; + * * @return Whether the modifyTime field is set. */ public boolean hasModifyTime() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * The last modification timestamp of the entry in the source system.
      * 
* * .google.protobuf.Timestamp modify_time = 7; + * * @return The modifyTime. */ public com.google.protobuf.Timestamp getModifyTime() { if (modifyTimeBuilder_ == null) { - return modifyTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : modifyTime_; + return modifyTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : modifyTime_; } else { return modifyTimeBuilder_.getMessage(); } } /** + * + * *
      * The last modification timestamp of the entry in the source system.
      * 
@@ -1716,14 +1893,15 @@ public Builder setModifyTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The last modification timestamp of the entry in the source system.
      * 
* * .google.protobuf.Timestamp modify_time = 7; */ - public Builder setModifyTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setModifyTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (modifyTimeBuilder_ == null) { modifyTime_ = builderForValue.build(); } else { @@ -1734,6 +1912,8 @@ public Builder setModifyTime( return this; } /** + * + * *
      * The last modification timestamp of the entry in the source system.
      * 
@@ -1742,9 +1922,9 @@ public Builder setModifyTime( */ public Builder mergeModifyTime(com.google.protobuf.Timestamp value) { if (modifyTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - modifyTime_ != null && - modifyTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && modifyTime_ != null + && modifyTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getModifyTimeBuilder().mergeFrom(value); } else { modifyTime_ = value; @@ -1757,6 +1937,8 @@ public Builder mergeModifyTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The last modification timestamp of the entry in the source system.
      * 
@@ -1774,6 +1956,8 @@ public Builder clearModifyTime() { return this; } /** + * + * *
      * The last modification timestamp of the entry in the source system.
      * 
@@ -1786,6 +1970,8 @@ public com.google.protobuf.Timestamp.Builder getModifyTimeBuilder() { return getModifyTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The last modification timestamp of the entry in the source system.
      * 
@@ -1796,11 +1982,14 @@ public com.google.protobuf.TimestampOrBuilder getModifyTimeOrBuilder() { if (modifyTimeBuilder_ != null) { return modifyTimeBuilder_.getMessageOrBuilder(); } else { - return modifyTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : modifyTime_; + return modifyTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : modifyTime_; } } /** + * + * *
      * The last modification timestamp of the entry in the source system.
      * 
@@ -1808,26 +1997,34 @@ public com.google.protobuf.TimestampOrBuilder getModifyTimeOrBuilder() { * .google.protobuf.Timestamp modify_time = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getModifyTimeFieldBuilder() { if (modifyTimeBuilder_ == null) { - modifyTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getModifyTime(), - getParentForChildren(), - isClean()); + modifyTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getModifyTime(), getParentForChildren(), isClean()); modifyTime_ = null; } return modifyTimeBuilder_; } /** + * + * *
      * Output only. The source system that Data Catalog automatically integrates
      * with, such as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
      * 
* - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the integratedSystem field is set. */ @java.lang.Override @@ -1835,12 +2032,17 @@ public boolean hasIntegratedSystem() { return systemCase_ == 8; } /** + * + * *
      * Output only. The source system that Data Catalog automatically integrates
      * with, such as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
      * 
* - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for integratedSystem. */ @java.lang.Override @@ -1851,12 +2053,17 @@ public int getIntegratedSystemValue() { return 0; } /** + * + * *
      * Output only. The source system that Data Catalog automatically integrates
      * with, such as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
      * 
* - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for integratedSystem to set. * @return This builder for chaining. */ @@ -1867,30 +2074,42 @@ public Builder setIntegratedSystemValue(int value) { return this; } /** + * + * *
      * Output only. The source system that Data Catalog automatically integrates
      * with, such as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
      * 
* - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The integratedSystem. */ @java.lang.Override public com.google.cloud.datacatalog.v1.IntegratedSystem getIntegratedSystem() { if (systemCase_ == 8) { - com.google.cloud.datacatalog.v1.IntegratedSystem result = com.google.cloud.datacatalog.v1.IntegratedSystem.forNumber( - (java.lang.Integer) system_); - return result == null ? com.google.cloud.datacatalog.v1.IntegratedSystem.UNRECOGNIZED : result; + com.google.cloud.datacatalog.v1.IntegratedSystem result = + com.google.cloud.datacatalog.v1.IntegratedSystem.forNumber((java.lang.Integer) system_); + return result == null + ? com.google.cloud.datacatalog.v1.IntegratedSystem.UNRECOGNIZED + : result; } return com.google.cloud.datacatalog.v1.IntegratedSystem.INTEGRATED_SYSTEM_UNSPECIFIED; } /** + * + * *
      * Output only. The source system that Data Catalog automatically integrates
      * with, such as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
      * 
* - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The integratedSystem to set. * @return This builder for chaining. */ @@ -1904,12 +2123,17 @@ public Builder setIntegratedSystem(com.google.cloud.datacatalog.v1.IntegratedSys return this; } /** + * + * *
      * Output only. The source system that Data Catalog automatically integrates
      * with, such as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
      * 
* - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearIntegratedSystem() { @@ -1922,11 +2146,14 @@ public Builder clearIntegratedSystem() { } /** + * + * *
      * Custom source system that you can manually integrate Data Catalog with.
      * 
* * string user_specified_system = 9; + * * @return Whether the userSpecifiedSystem field is set. */ @java.lang.Override @@ -1934,11 +2161,14 @@ public boolean hasUserSpecifiedSystem() { return systemCase_ == 9; } /** + * + * *
      * Custom source system that you can manually integrate Data Catalog with.
      * 
* * string user_specified_system = 9; + * * @return The userSpecifiedSystem. */ @java.lang.Override @@ -1948,8 +2178,7 @@ public java.lang.String getUserSpecifiedSystem() { ref = system_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (systemCase_ == 9) { system_ = s; @@ -1960,24 +2189,25 @@ public java.lang.String getUserSpecifiedSystem() { } } /** + * + * *
      * Custom source system that you can manually integrate Data Catalog with.
      * 
* * string user_specified_system = 9; + * * @return The bytes for userSpecifiedSystem. */ @java.lang.Override - public com.google.protobuf.ByteString - getUserSpecifiedSystemBytes() { + public com.google.protobuf.ByteString getUserSpecifiedSystemBytes() { java.lang.Object ref = ""; if (systemCase_ == 9) { ref = system_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (systemCase_ == 9) { system_ = b; } @@ -1987,28 +2217,35 @@ public java.lang.String getUserSpecifiedSystem() { } } /** + * + * *
      * Custom source system that you can manually integrate Data Catalog with.
      * 
* * string user_specified_system = 9; + * * @param value The userSpecifiedSystem to set. * @return This builder for chaining. */ - public Builder setUserSpecifiedSystem( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUserSpecifiedSystem(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } systemCase_ = 9; system_ = value; onChanged(); return this; } /** + * + * *
      * Custom source system that you can manually integrate Data Catalog with.
      * 
* * string user_specified_system = 9; + * * @return This builder for chaining. */ public Builder clearUserSpecifiedSystem() { @@ -2020,17 +2257,21 @@ public Builder clearUserSpecifiedSystem() { return this; } /** + * + * *
      * Custom source system that you can manually integrate Data Catalog with.
      * 
* * string user_specified_system = 9; + * * @param value The bytes for userSpecifiedSystem to set. * @return This builder for chaining. */ - public Builder setUserSpecifiedSystemBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUserSpecifiedSystemBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); systemCase_ = 9; system_ = value; @@ -2040,6 +2281,8 @@ public Builder setUserSpecifiedSystemBytes( private java.lang.Object fullyQualifiedName_ = ""; /** + * + * *
      * Fully qualified name (FQN) of the resource.
      *
@@ -2059,13 +2302,13 @@ public Builder setUserSpecifiedSystemBytes(
      * 
* * string fully_qualified_name = 10; + * * @return The fullyQualifiedName. */ public java.lang.String getFullyQualifiedName() { java.lang.Object ref = fullyQualifiedName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullyQualifiedName_ = s; return s; @@ -2074,6 +2317,8 @@ public java.lang.String getFullyQualifiedName() { } } /** + * + * *
      * Fully qualified name (FQN) of the resource.
      *
@@ -2093,15 +2338,14 @@ public java.lang.String getFullyQualifiedName() {
      * 
* * string fully_qualified_name = 10; + * * @return The bytes for fullyQualifiedName. */ - public com.google.protobuf.ByteString - getFullyQualifiedNameBytes() { + public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { java.lang.Object ref = fullyQualifiedName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fullyQualifiedName_ = b; return b; } else { @@ -2109,6 +2353,8 @@ public java.lang.String getFullyQualifiedName() { } } /** + * + * *
      * Fully qualified name (FQN) of the resource.
      *
@@ -2128,18 +2374,22 @@ public java.lang.String getFullyQualifiedName() {
      * 
* * string fully_qualified_name = 10; + * * @param value The fullyQualifiedName to set. * @return This builder for chaining. */ - public Builder setFullyQualifiedName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFullyQualifiedName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } fullyQualifiedName_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * Fully qualified name (FQN) of the resource.
      *
@@ -2159,6 +2409,7 @@ public Builder setFullyQualifiedName(
      * 
* * string fully_qualified_name = 10; + * * @return This builder for chaining. */ public Builder clearFullyQualifiedName() { @@ -2168,6 +2419,8 @@ public Builder clearFullyQualifiedName() { return this; } /** + * + * *
      * Fully qualified name (FQN) of the resource.
      *
@@ -2187,12 +2440,14 @@ public Builder clearFullyQualifiedName() {
      * 
* * string fully_qualified_name = 10; + * * @param value The bytes for fullyQualifiedName to set. * @return This builder for chaining. */ - public Builder setFullyQualifiedNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFullyQualifiedNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); fullyQualifiedName_ = value; bitField0_ |= 0x00000080; @@ -2202,18 +2457,20 @@ public Builder setFullyQualifiedNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * The display name of the result.
      * 
* * string display_name = 12; + * * @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; @@ -2222,20 +2479,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of the result.
      * 
* * string display_name = 12; + * * @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 { @@ -2243,28 +2501,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of the result.
      * 
* * string display_name = 12; + * * @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_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * The display name of the result.
      * 
* * string display_name = 12; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2274,17 +2539,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * The display name of the result.
      * 
* * string display_name = 12; + * * @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_ |= 0x00000100; @@ -2294,19 +2563,21 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Entry description that can consist of several sentences or paragraphs that
      * describe entry contents.
      * 
* * string description = 13; + * * @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; @@ -2315,21 +2586,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Entry description that can consist of several sentences or paragraphs that
      * describe entry contents.
      * 
* * string description = 13; + * * @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 { @@ -2337,30 +2609,37 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Entry description that can consist of several sentences or paragraphs that
      * describe entry contents.
      * 
* * string description = 13; + * * @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_ |= 0x00000200; onChanged(); return this; } /** + * + * *
      * Entry description that can consist of several sentences or paragraphs that
      * describe entry contents.
      * 
* * string description = 13; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2370,27 +2649,31 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Entry description that can consist of several sentences or paragraphs that
      * describe entry contents.
      * 
* * string description = 13; + * * @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_ |= 0x00000200; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2400,12 +2683,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.SearchCatalogResult) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.SearchCatalogResult) private static final com.google.cloud.datacatalog.v1.SearchCatalogResult DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.SearchCatalogResult(); } @@ -2414,27 +2697,27 @@ public static com.google.cloud.datacatalog.v1.SearchCatalogResult getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchCatalogResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchCatalogResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2449,6 +2732,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.SearchCatalogResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResultOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResultOrBuilder.java similarity index 81% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResultOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResultOrBuilder.java index 9464a5009381..b9891b87cb22 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResultOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResultOrBuilder.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/datacatalog/v1/search.proto package com.google.cloud.datacatalog.v1; -public interface SearchCatalogResultOrBuilder extends +public interface SearchCatalogResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.SearchCatalogResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Type of the search result.
    *
@@ -16,10 +34,13 @@ public interface SearchCatalogResultOrBuilder extends
    * 
* * .google.cloud.datacatalog.v1.SearchResultType search_result_type = 1; + * * @return The enum numeric value on the wire for searchResultType. */ int getSearchResultTypeValue(); /** + * + * *
    * Type of the search result.
    *
@@ -28,11 +49,14 @@ public interface SearchCatalogResultOrBuilder extends
    * 
* * .google.cloud.datacatalog.v1.SearchResultType search_result_type = 1; + * * @return The searchResultType. */ com.google.cloud.datacatalog.v1.SearchResultType getSearchResultType(); /** + * + * *
    * Sub-type of the search result.
    *
@@ -43,10 +67,13 @@ public interface SearchCatalogResultOrBuilder extends
    * 
* * string search_result_subtype = 2; + * * @return The searchResultSubtype. */ java.lang.String getSearchResultSubtype(); /** + * + * *
    * Sub-type of the search result.
    *
@@ -57,12 +84,14 @@ public interface SearchCatalogResultOrBuilder extends
    * 
* * string search_result_subtype = 2; + * * @return The bytes for searchResultSubtype. */ - com.google.protobuf.ByteString - getSearchResultSubtypeBytes(); + com.google.protobuf.ByteString getSearchResultSubtypeBytes(); /** + * + * *
    * The relative name of the resource in URL format.
    *
@@ -73,10 +102,13 @@ public interface SearchCatalogResultOrBuilder extends
    * 
* * string relative_resource_name = 3; + * * @return The relativeResourceName. */ java.lang.String getRelativeResourceName(); /** + * + * *
    * The relative name of the resource in URL format.
    *
@@ -87,12 +119,14 @@ public interface SearchCatalogResultOrBuilder extends
    * 
* * string relative_resource_name = 3; + * * @return The bytes for relativeResourceName. */ - com.google.protobuf.ByteString - getRelativeResourceNameBytes(); + com.google.protobuf.ByteString getRelativeResourceNameBytes(); /** + * + * *
    * The full name of the Google Cloud resource the entry belongs to.
    *
@@ -105,10 +139,13 @@ public interface SearchCatalogResultOrBuilder extends
    * 
* * string linked_resource = 4; + * * @return The linkedResource. */ java.lang.String getLinkedResource(); /** + * + * *
    * The full name of the Google Cloud resource the entry belongs to.
    *
@@ -121,30 +158,38 @@ public interface SearchCatalogResultOrBuilder extends
    * 
* * string linked_resource = 4; + * * @return The bytes for linkedResource. */ - com.google.protobuf.ByteString - getLinkedResourceBytes(); + com.google.protobuf.ByteString getLinkedResourceBytes(); /** + * + * *
    * The last modification timestamp of the entry in the source system.
    * 
* * .google.protobuf.Timestamp modify_time = 7; + * * @return Whether the modifyTime field is set. */ boolean hasModifyTime(); /** + * + * *
    * The last modification timestamp of the entry in the source system.
    * 
* * .google.protobuf.Timestamp modify_time = 7; + * * @return The modifyTime. */ com.google.protobuf.Timestamp getModifyTime(); /** + * + * *
    * The last modification timestamp of the entry in the source system.
    * 
@@ -154,66 +199,91 @@ public interface SearchCatalogResultOrBuilder extends com.google.protobuf.TimestampOrBuilder getModifyTimeOrBuilder(); /** + * + * *
    * Output only. The source system that Data Catalog automatically integrates
    * with, such as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
    * 
* - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the integratedSystem field is set. */ boolean hasIntegratedSystem(); /** + * + * *
    * Output only. The source system that Data Catalog automatically integrates
    * with, such as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
    * 
* - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for integratedSystem. */ int getIntegratedSystemValue(); /** + * + * *
    * Output only. The source system that Data Catalog automatically integrates
    * with, such as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
    * 
* - * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The integratedSystem. */ com.google.cloud.datacatalog.v1.IntegratedSystem getIntegratedSystem(); /** + * + * *
    * Custom source system that you can manually integrate Data Catalog with.
    * 
* * string user_specified_system = 9; + * * @return Whether the userSpecifiedSystem field is set. */ boolean hasUserSpecifiedSystem(); /** + * + * *
    * Custom source system that you can manually integrate Data Catalog with.
    * 
* * string user_specified_system = 9; + * * @return The userSpecifiedSystem. */ java.lang.String getUserSpecifiedSystem(); /** + * + * *
    * Custom source system that you can manually integrate Data Catalog with.
    * 
* * string user_specified_system = 9; + * * @return The bytes for userSpecifiedSystem. */ - com.google.protobuf.ByteString - getUserSpecifiedSystemBytes(); + com.google.protobuf.ByteString getUserSpecifiedSystemBytes(); /** + * + * *
    * Fully qualified name (FQN) of the resource.
    *
@@ -233,10 +303,13 @@ public interface SearchCatalogResultOrBuilder extends
    * 
* * string fully_qualified_name = 10; + * * @return The fullyQualifiedName. */ java.lang.String getFullyQualifiedName(); /** + * + * *
    * Fully qualified name (FQN) of the resource.
    *
@@ -256,52 +329,62 @@ public interface SearchCatalogResultOrBuilder extends
    * 
* * string fully_qualified_name = 10; + * * @return The bytes for fullyQualifiedName. */ - com.google.protobuf.ByteString - getFullyQualifiedNameBytes(); + com.google.protobuf.ByteString getFullyQualifiedNameBytes(); /** + * + * *
    * The display name of the result.
    * 
* * string display_name = 12; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The display name of the result.
    * 
* * string display_name = 12; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Entry description that can consist of several sentences or paragraphs that
    * describe entry contents.
    * 
* * string description = 13; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Entry description that can consist of several sentences or paragraphs that
    * describe entry contents.
    * 
* * string description = 13; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); com.google.cloud.datacatalog.v1.SearchCatalogResult.SystemCase getSystemCase(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchResultType.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchResultType.java similarity index 68% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchResultType.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchResultType.java index f1d1944a8d33..9ca873108b4f 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchResultType.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchResultType.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/datacatalog/v1/search.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * The resource types that can be returned in search results.
  * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.SearchResultType} */ -public enum SearchResultType - implements com.google.protobuf.ProtocolMessageEnum { +public enum SearchResultType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Default unknown type.
    * 
@@ -21,6 +39,8 @@ public enum SearchResultType */ SEARCH_RESULT_TYPE_UNSPECIFIED(0), /** + * + * *
    * An [Entry][google.cloud.datacatalog.v1.Entry].
    * 
@@ -29,6 +49,8 @@ public enum SearchResultType */ ENTRY(1), /** + * + * *
    * A [TagTemplate][google.cloud.datacatalog.v1.TagTemplate].
    * 
@@ -37,6 +59,8 @@ public enum SearchResultType */ TAG_TEMPLATE(2), /** + * + * *
    * An [EntryGroup][google.cloud.datacatalog.v1.EntryGroup].
    * 
@@ -48,6 +72,8 @@ public enum SearchResultType ; /** + * + * *
    * Default unknown type.
    * 
@@ -56,6 +82,8 @@ public enum SearchResultType */ public static final int SEARCH_RESULT_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * An [Entry][google.cloud.datacatalog.v1.Entry].
    * 
@@ -64,6 +92,8 @@ public enum SearchResultType */ public static final int ENTRY_VALUE = 1; /** + * + * *
    * A [TagTemplate][google.cloud.datacatalog.v1.TagTemplate].
    * 
@@ -72,6 +102,8 @@ public enum SearchResultType */ public static final int TAG_TEMPLATE_VALUE = 2; /** + * + * *
    * An [EntryGroup][google.cloud.datacatalog.v1.EntryGroup].
    * 
@@ -80,7 +112,6 @@ public enum SearchResultType */ public static final int ENTRY_GROUP_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -105,50 +136,51 @@ public static SearchResultType valueOf(int value) { */ public static SearchResultType forNumber(int value) { switch (value) { - case 0: return SEARCH_RESULT_TYPE_UNSPECIFIED; - case 1: return ENTRY; - case 2: return TAG_TEMPLATE; - case 3: return ENTRY_GROUP; - default: return null; + case 0: + return SEARCH_RESULT_TYPE_UNSPECIFIED; + case 1: + return ENTRY; + case 2: + return TAG_TEMPLATE; + case 3: + return ENTRY_GROUP; + 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< - SearchResultType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public SearchResultType findValueByNumber(int number) { - return SearchResultType.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 SearchResultType findValueByNumber(int number) { + return SearchResultType.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.datacatalog.v1.Search.getDescriptor().getEnumTypes().get(0); } private static final SearchResultType[] VALUES = values(); - public static SearchResultType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static SearchResultType 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; @@ -164,4 +196,3 @@ private SearchResultType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1.SearchResultType) } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTag.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTag.java similarity index 74% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTag.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTag.java index afcdcc92baf9..203c1b29a54f 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTag.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTag.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/datacatalog/v1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * A nested protocol buffer that represents a policy tag and all its
  * descendants.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.SerializedPolicyTag}
  */
-public final class SerializedPolicyTag extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SerializedPolicyTag extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.SerializedPolicyTag)
     SerializedPolicyTagOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SerializedPolicyTag.newBuilder() to construct.
   private SerializedPolicyTag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SerializedPolicyTag() {
     policyTag_ = "";
     displayName_ = "";
@@ -29,28 +47,32 @@ private SerializedPolicyTag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SerializedPolicyTag();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+        .internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+        .internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.SerializedPolicyTag.class, com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder.class);
+            com.google.cloud.datacatalog.v1.SerializedPolicyTag.class,
+            com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder.class);
   }
 
   public static final int POLICY_TAG_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object policyTag_ = "";
   /**
+   *
+   *
    * 
    * Resource name of the policy tag.
    *
@@ -58,6 +80,7 @@ protected java.lang.Object newInstance(
    * 
* * string policy_tag = 1; + * * @return The policyTag. */ @java.lang.Override @@ -66,14 +89,15 @@ public java.lang.String getPolicyTag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); policyTag_ = s; return s; } } /** + * + * *
    * Resource name of the policy tag.
    *
@@ -81,16 +105,15 @@ public java.lang.String getPolicyTag() {
    * 
* * string policy_tag = 1; + * * @return The bytes for policyTag. */ @java.lang.Override - public com.google.protobuf.ByteString - getPolicyTagBytes() { + public com.google.protobuf.ByteString getPolicyTagBytes() { java.lang.Object ref = policyTag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); policyTag_ = b; return b; } else { @@ -99,15 +122,19 @@ public java.lang.String getPolicyTag() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Required. Display name of the policy tag. At most 200 bytes when encoded
    * in UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -116,30 +143,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Required. Display name of the policy tag. At most 200 bytes when encoded
    * in UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -148,9 +175,12 @@ public java.lang.String getDisplayName() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Description of the serialized policy tag. At most
    * 2000 bytes when encoded in UTF-8. If not set, defaults to an
@@ -158,6 +188,7 @@ public java.lang.String getDisplayName() {
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -166,14 +197,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; } } /** + * + * *
    * Description of the serialized policy tag. At most
    * 2000 bytes when encoded in UTF-8. If not set, defaults to an
@@ -181,16 +213,15 @@ public java.lang.String getDescription() {
    * 
* * string description = 3; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -199,9 +230,12 @@ public java.lang.String getDescription() { } public static final int CHILD_POLICY_TAGS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private java.util.List childPolicyTags_; /** + * + * *
    * Children of the policy tag, if any.
    * 
@@ -209,10 +243,13 @@ public java.lang.String getDescription() { * repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4; */ @java.lang.Override - public java.util.List getChildPolicyTagsList() { + public java.util.List + getChildPolicyTagsList() { return childPolicyTags_; } /** + * + * *
    * Children of the policy tag, if any.
    * 
@@ -220,11 +257,13 @@ public java.util.List getCh * repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4; */ @java.lang.Override - public java.util.List + public java.util.List getChildPolicyTagsOrBuilderList() { return childPolicyTags_; } /** + * + * *
    * Children of the policy tag, if any.
    * 
@@ -236,6 +275,8 @@ public int getChildPolicyTagsCount() { return childPolicyTags_.size(); } /** + * + * *
    * Children of the policy tag, if any.
    * 
@@ -247,6 +288,8 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag getChildPolicyTags(in return childPolicyTags_.get(index); } /** + * + * *
    * Children of the policy tag, if any.
    * 
@@ -260,6 +303,7 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder getChildPoli } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -271,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(policyTag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, policyTag_); } @@ -304,8 +347,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } for (int i = 0; i < childPolicyTags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, childPolicyTags_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, childPolicyTags_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -315,21 +357,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.SerializedPolicyTag)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.SerializedPolicyTag other = (com.google.cloud.datacatalog.v1.SerializedPolicyTag) obj; + com.google.cloud.datacatalog.v1.SerializedPolicyTag other = + (com.google.cloud.datacatalog.v1.SerializedPolicyTag) obj; - if (!getPolicyTag() - .equals(other.getPolicyTag())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getChildPolicyTagsList() - .equals(other.getChildPolicyTagsList())) return false; + if (!getPolicyTag().equals(other.getPolicyTag())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getChildPolicyTagsList().equals(other.getChildPolicyTagsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -357,98 +396,103 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.SerializedPolicyTag parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.SerializedPolicyTag parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.SerializedPolicyTag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.SerializedPolicyTag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.SerializedPolicyTag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.SerializedPolicyTag parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SerializedPolicyTag parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.SerializedPolicyTag parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.SerializedPolicyTag parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SerializedPolicyTag parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.SerializedPolicyTag parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.SerializedPolicyTag parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.SerializedPolicyTag parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.SerializedPolicyTag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.SerializedPolicyTag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 nested protocol buffer that represents a policy tag and all its
    * descendants.
@@ -456,33 +500,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.SerializedPolicyTag}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.SerializedPolicyTag)
       com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.SerializedPolicyTag.class, com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder.class);
+              com.google.cloud.datacatalog.v1.SerializedPolicyTag.class,
+              com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.SerializedPolicyTag.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        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 +544,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_descriptor;
     }
 
     @java.lang.Override
@@ -522,14 +565,18 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.SerializedPolicyTag buildPartial() {
-      com.google.cloud.datacatalog.v1.SerializedPolicyTag result = new com.google.cloud.datacatalog.v1.SerializedPolicyTag(this);
+      com.google.cloud.datacatalog.v1.SerializedPolicyTag result =
+          new com.google.cloud.datacatalog.v1.SerializedPolicyTag(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1.SerializedPolicyTag result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.datacatalog.v1.SerializedPolicyTag result) {
       if (childPolicyTagsBuilder_ == null) {
         if (((bitField0_ & 0x00000008) != 0)) {
           childPolicyTags_ = java.util.Collections.unmodifiableList(childPolicyTags_);
@@ -558,38 +605,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.SerializedPolicyTag 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.datacatalog.v1.SerializedPolicyTag) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.SerializedPolicyTag)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.SerializedPolicyTag) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -597,7 +645,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.SerializedPolicyTag other) {
-      if (other == com.google.cloud.datacatalog.v1.SerializedPolicyTag.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.SerializedPolicyTag.getDefaultInstance())
+        return this;
       if (!other.getPolicyTag().isEmpty()) {
         policyTag_ = other.policyTag_;
         bitField0_ |= 0x00000001;
@@ -631,9 +680,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.SerializedPolicyTag oth
             childPolicyTagsBuilder_ = null;
             childPolicyTags_ = other.childPolicyTags_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            childPolicyTagsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getChildPolicyTagsFieldBuilder() : null;
+            childPolicyTagsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getChildPolicyTagsFieldBuilder()
+                    : null;
           } else {
             childPolicyTagsBuilder_.addAllMessages(other.childPolicyTags_);
           }
@@ -665,40 +715,45 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              policyTag_ = 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 34: {
-              com.google.cloud.datacatalog.v1.SerializedPolicyTag m =
-                  input.readMessage(
-                      com.google.cloud.datacatalog.v1.SerializedPolicyTag.parser(),
-                      extensionRegistry);
-              if (childPolicyTagsBuilder_ == null) {
-                ensureChildPolicyTagsIsMutable();
-                childPolicyTags_.add(m);
-              } else {
-                childPolicyTagsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                policyTag_ = 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 34:
+              {
+                com.google.cloud.datacatalog.v1.SerializedPolicyTag m =
+                    input.readMessage(
+                        com.google.cloud.datacatalog.v1.SerializedPolicyTag.parser(),
+                        extensionRegistry);
+                if (childPolicyTagsBuilder_ == null) {
+                  ensureChildPolicyTagsIsMutable();
+                  childPolicyTags_.add(m);
+                } else {
+                  childPolicyTagsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -708,10 +763,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object policyTag_ = "";
     /**
+     *
+     *
      * 
      * Resource name of the policy tag.
      *
@@ -719,13 +777,13 @@ public Builder mergeFrom(
      * 
* * string policy_tag = 1; + * * @return The policyTag. */ public java.lang.String getPolicyTag() { java.lang.Object ref = policyTag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); policyTag_ = s; return s; @@ -734,6 +792,8 @@ public java.lang.String getPolicyTag() { } } /** + * + * *
      * Resource name of the policy tag.
      *
@@ -741,15 +801,14 @@ public java.lang.String getPolicyTag() {
      * 
* * string policy_tag = 1; + * * @return The bytes for policyTag. */ - public com.google.protobuf.ByteString - getPolicyTagBytes() { + public com.google.protobuf.ByteString getPolicyTagBytes() { java.lang.Object ref = policyTag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); policyTag_ = b; return b; } else { @@ -757,6 +816,8 @@ public java.lang.String getPolicyTag() { } } /** + * + * *
      * Resource name of the policy tag.
      *
@@ -764,18 +825,22 @@ public java.lang.String getPolicyTag() {
      * 
* * string policy_tag = 1; + * * @param value The policyTag to set. * @return This builder for chaining. */ - public Builder setPolicyTag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPolicyTag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } policyTag_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Resource name of the policy tag.
      *
@@ -783,6 +848,7 @@ public Builder setPolicyTag(
      * 
* * string policy_tag = 1; + * * @return This builder for chaining. */ public Builder clearPolicyTag() { @@ -792,6 +858,8 @@ public Builder clearPolicyTag() { return this; } /** + * + * *
      * Resource name of the policy tag.
      *
@@ -799,12 +867,14 @@ public Builder clearPolicyTag() {
      * 
* * string policy_tag = 1; + * * @param value The bytes for policyTag to set. * @return This builder for chaining. */ - public Builder setPolicyTagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPolicyTagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); policyTag_ = value; bitField0_ |= 0x00000001; @@ -814,19 +884,21 @@ public Builder setPolicyTagBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Required. Display name of the policy tag. At most 200 bytes when encoded
      * in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -835,21 +907,22 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Display name of the policy tag. At most 200 bytes when encoded
      * in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -857,30 +930,37 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Display name of the policy tag. At most 200 bytes when encoded
      * in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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; } /** + * + * *
      * Required. Display name of the policy tag. At most 200 bytes when encoded
      * in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -890,18 +970,22 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Required. Display name of the policy tag. At most 200 bytes when encoded
      * in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -911,6 +995,8 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Description of the serialized policy tag. At most
      * 2000 bytes when encoded in UTF-8. If not set, defaults to an
@@ -918,13 +1004,13 @@ public Builder setDisplayNameBytes(
      * 
* * string description = 3; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -933,6 +1019,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Description of the serialized policy tag. At most
      * 2000 bytes when encoded in UTF-8. If not set, defaults to an
@@ -940,15 +1028,14 @@ public java.lang.String getDescription() {
      * 
* * string description = 3; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -956,6 +1043,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Description of the serialized policy tag. At most
      * 2000 bytes when encoded in UTF-8. If not set, defaults to an
@@ -963,18 +1052,22 @@ public java.lang.String getDescription() {
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Description of the serialized policy tag. At most
      * 2000 bytes when encoded in UTF-8. If not set, defaults to an
@@ -982,6 +1075,7 @@ public Builder setDescription(
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -991,6 +1085,8 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Description of the serialized policy tag. At most
      * 2000 bytes when encoded in UTF-8. If not set, defaults to an
@@ -998,12 +1094,14 @@ public Builder clearDescription() {
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -1012,25 +1110,34 @@ public Builder setDescriptionBytes( } private java.util.List childPolicyTags_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureChildPolicyTagsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - childPolicyTags_ = new java.util.ArrayList(childPolicyTags_); + childPolicyTags_ = + new java.util.ArrayList( + childPolicyTags_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.SerializedPolicyTag, com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder, com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder> childPolicyTagsBuilder_; + com.google.cloud.datacatalog.v1.SerializedPolicyTag, + com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder, + com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder> + childPolicyTagsBuilder_; /** + * + * *
      * Children of the policy tag, if any.
      * 
* * repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4; */ - public java.util.List getChildPolicyTagsList() { + public java.util.List + getChildPolicyTagsList() { if (childPolicyTagsBuilder_ == null) { return java.util.Collections.unmodifiableList(childPolicyTags_); } else { @@ -1038,6 +1145,8 @@ public java.util.List getCh } } /** + * + * *
      * Children of the policy tag, if any.
      * 
@@ -1052,6 +1161,8 @@ public int getChildPolicyTagsCount() { } } /** + * + * *
      * Children of the policy tag, if any.
      * 
@@ -1066,6 +1177,8 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag getChildPolicyTags(in } } /** + * + * *
      * Children of the policy tag, if any.
      * 
@@ -1087,6 +1200,8 @@ public Builder setChildPolicyTags( return this; } /** + * + * *
      * Children of the policy tag, if any.
      * 
@@ -1105,6 +1220,8 @@ public Builder setChildPolicyTags( return this; } /** + * + * *
      * Children of the policy tag, if any.
      * 
@@ -1125,6 +1242,8 @@ public Builder addChildPolicyTags(com.google.cloud.datacatalog.v1.SerializedPoli return this; } /** + * + * *
      * Children of the policy tag, if any.
      * 
@@ -1146,6 +1265,8 @@ public Builder addChildPolicyTags( return this; } /** + * + * *
      * Children of the policy tag, if any.
      * 
@@ -1164,6 +1285,8 @@ public Builder addChildPolicyTags( return this; } /** + * + * *
      * Children of the policy tag, if any.
      * 
@@ -1182,6 +1305,8 @@ public Builder addChildPolicyTags( return this; } /** + * + * *
      * Children of the policy tag, if any.
      * 
@@ -1192,8 +1317,7 @@ public Builder addAllChildPolicyTags( java.lang.Iterable values) { if (childPolicyTagsBuilder_ == null) { ensureChildPolicyTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, childPolicyTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, childPolicyTags_); onChanged(); } else { childPolicyTagsBuilder_.addAllMessages(values); @@ -1201,6 +1325,8 @@ public Builder addAllChildPolicyTags( return this; } /** + * + * *
      * Children of the policy tag, if any.
      * 
@@ -1218,6 +1344,8 @@ public Builder clearChildPolicyTags() { return this; } /** + * + * *
      * Children of the policy tag, if any.
      * 
@@ -1235,6 +1363,8 @@ public Builder removeChildPolicyTags(int index) { return this; } /** + * + * *
      * Children of the policy tag, if any.
      * 
@@ -1246,6 +1376,8 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder getChildPolic return getChildPolicyTagsFieldBuilder().getBuilder(index); } /** + * + * *
      * Children of the policy tag, if any.
      * 
@@ -1255,19 +1387,22 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder getChildPolic public com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder getChildPolicyTagsOrBuilder( int index) { if (childPolicyTagsBuilder_ == null) { - return childPolicyTags_.get(index); } else { + return childPolicyTags_.get(index); + } else { return childPolicyTagsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Children of the policy tag, if any.
      * 
* * repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4; */ - public java.util.List - getChildPolicyTagsOrBuilderList() { + public java.util.List + getChildPolicyTagsOrBuilderList() { if (childPolicyTagsBuilder_ != null) { return childPolicyTagsBuilder_.getMessageOrBuilderList(); } else { @@ -1275,6 +1410,8 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder getChildPoli } } /** + * + * *
      * Children of the policy tag, if any.
      * 
@@ -1282,10 +1419,12 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder getChildPoli * repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4; */ public com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder addChildPolicyTagsBuilder() { - return getChildPolicyTagsFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1.SerializedPolicyTag.getDefaultInstance()); + return getChildPolicyTagsFieldBuilder() + .addBuilder(com.google.cloud.datacatalog.v1.SerializedPolicyTag.getDefaultInstance()); } /** + * + * *
      * Children of the policy tag, if any.
      * 
@@ -1294,26 +1433,35 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder addChildPolic */ public com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder addChildPolicyTagsBuilder( int index) { - return getChildPolicyTagsFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1.SerializedPolicyTag.getDefaultInstance()); + return getChildPolicyTagsFieldBuilder() + .addBuilder( + index, com.google.cloud.datacatalog.v1.SerializedPolicyTag.getDefaultInstance()); } /** + * + * *
      * Children of the policy tag, if any.
      * 
* * repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4; */ - public java.util.List - getChildPolicyTagsBuilderList() { + public java.util.List + getChildPolicyTagsBuilderList() { return getChildPolicyTagsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.SerializedPolicyTag, com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder, com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder> + com.google.cloud.datacatalog.v1.SerializedPolicyTag, + com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder, + com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder> getChildPolicyTagsFieldBuilder() { if (childPolicyTagsBuilder_ == null) { - childPolicyTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.SerializedPolicyTag, com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder, com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder>( + childPolicyTagsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.SerializedPolicyTag, + com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder, + com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder>( childPolicyTags_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), @@ -1322,9 +1470,9 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder addChildPolic } return childPolicyTagsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1334,12 +1482,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.SerializedPolicyTag) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.SerializedPolicyTag) private static final com.google.cloud.datacatalog.v1.SerializedPolicyTag DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.SerializedPolicyTag(); } @@ -1348,27 +1496,27 @@ public static com.google.cloud.datacatalog.v1.SerializedPolicyTag getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SerializedPolicyTag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SerializedPolicyTag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1383,6 +1531,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.SerializedPolicyTag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTagOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTagOrBuilder.java similarity index 75% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTagOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTagOrBuilder.java index 2ea761262ef1..360b21bef1aa 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTagOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTagOrBuilder.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/datacatalog/v1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1; -public interface SerializedPolicyTagOrBuilder extends +public interface SerializedPolicyTagOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.SerializedPolicyTag) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Resource name of the policy tag.
    *
@@ -15,10 +33,13 @@ public interface SerializedPolicyTagOrBuilder extends
    * 
* * string policy_tag = 1; + * * @return The policyTag. */ java.lang.String getPolicyTag(); /** + * + * *
    * Resource name of the policy tag.
    *
@@ -26,34 +47,41 @@ public interface SerializedPolicyTagOrBuilder extends
    * 
* * string policy_tag = 1; + * * @return The bytes for policyTag. */ - com.google.protobuf.ByteString - getPolicyTagBytes(); + com.google.protobuf.ByteString getPolicyTagBytes(); /** + * + * *
    * Required. Display name of the policy tag. At most 200 bytes when encoded
    * in UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. Display name of the policy tag. At most 200 bytes when encoded
    * in UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Description of the serialized policy tag. At most
    * 2000 bytes when encoded in UTF-8. If not set, defaults to an
@@ -61,10 +89,13 @@ public interface SerializedPolicyTagOrBuilder extends
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Description of the serialized policy tag. At most
    * 2000 bytes when encoded in UTF-8. If not set, defaults to an
@@ -72,21 +103,24 @@ public interface SerializedPolicyTagOrBuilder extends
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Children of the policy tag, if any.
    * 
* * repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4; */ - java.util.List - getChildPolicyTagsList(); + java.util.List getChildPolicyTagsList(); /** + * + * *
    * Children of the policy tag, if any.
    * 
@@ -95,6 +129,8 @@ public interface SerializedPolicyTagOrBuilder extends */ com.google.cloud.datacatalog.v1.SerializedPolicyTag getChildPolicyTags(int index); /** + * + * *
    * Children of the policy tag, if any.
    * 
@@ -103,15 +139,19 @@ public interface SerializedPolicyTagOrBuilder extends */ int getChildPolicyTagsCount(); /** + * + * *
    * Children of the policy tag, if any.
    * 
* * repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4; */ - java.util.List + java.util.List getChildPolicyTagsOrBuilderList(); /** + * + * *
    * Children of the policy tag, if any.
    * 
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomy.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomy.java similarity index 74% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomy.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomy.java index 345860715784..2a0157d2a54c 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomy.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomy.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/datacatalog/v1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * A nested protocol buffer that represents a taxonomy and the hierarchy of its
  * policy tags. Used for taxonomy replacement, import, and
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.SerializedTaxonomy}
  */
-public final class SerializedTaxonomy extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SerializedTaxonomy extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.SerializedTaxonomy)
     SerializedTaxonomyOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SerializedTaxonomy.newBuilder() to construct.
   private SerializedTaxonomy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SerializedTaxonomy() {
     displayName_ = "";
     description_ = "";
@@ -30,34 +48,39 @@ private SerializedTaxonomy() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SerializedTaxonomy();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+        .internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+        .internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.SerializedTaxonomy.class, com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder.class);
+            com.google.cloud.datacatalog.v1.SerializedTaxonomy.class,
+            com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder.class);
   }
 
   public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object displayName_ = "";
   /**
+   *
+   *
    * 
    * Required. Display name of the taxonomy. At most 200 bytes when encoded in
    * UTF-8.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -66,30 +89,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Required. Display name of the taxonomy. At most 200 bytes when encoded in
    * UTF-8.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -98,15 +121,19 @@ public java.lang.String getDisplayName() { } public static final int DESCRIPTION_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Description of the serialized taxonomy. At most 2000 bytes when
    * encoded in UTF-8. If not set, defaults to an empty description.
    * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -115,30 +142,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Description of the serialized taxonomy. At most 2000 bytes when
    * encoded in UTF-8. If not set, defaults to an empty description.
    * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -147,9 +174,12 @@ public java.lang.String getDescription() { } public static final int POLICY_TAGS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List policyTags_; /** + * + * *
    * Top level policy tags associated with the taxonomy, if any.
    * 
@@ -161,6 +191,8 @@ public java.util.List getPo return policyTags_; } /** + * + * *
    * Top level policy tags associated with the taxonomy, if any.
    * 
@@ -168,11 +200,13 @@ public java.util.List getPo * repeated .google.cloud.datacatalog.v1.SerializedPolicyTag policy_tags = 3; */ @java.lang.Override - public java.util.List + public java.util.List getPolicyTagsOrBuilderList() { return policyTags_; } /** + * + * *
    * Top level policy tags associated with the taxonomy, if any.
    * 
@@ -184,6 +218,8 @@ public int getPolicyTagsCount() { return policyTags_.size(); } /** + * + * *
    * Top level policy tags associated with the taxonomy, if any.
    * 
@@ -195,6 +231,8 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag getPolicyTags(int ind return policyTags_.get(index); } /** + * + * *
    * Top level policy tags associated with the taxonomy, if any.
    * 
@@ -208,36 +246,53 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder getPolicyTag } public static final int ACTIVATED_POLICY_TYPES_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private java.util.List activatedPolicyTypes_; + private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.datacatalog.v1.Taxonomy.PolicyType> activatedPolicyTypes_converter_ = + java.lang.Integer, com.google.cloud.datacatalog.v1.Taxonomy.PolicyType> + activatedPolicyTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.datacatalog.v1.Taxonomy.PolicyType>() { - public com.google.cloud.datacatalog.v1.Taxonomy.PolicyType convert(java.lang.Integer from) { - com.google.cloud.datacatalog.v1.Taxonomy.PolicyType result = com.google.cloud.datacatalog.v1.Taxonomy.PolicyType.forNumber(from); - return result == null ? com.google.cloud.datacatalog.v1.Taxonomy.PolicyType.UNRECOGNIZED : result; + public com.google.cloud.datacatalog.v1.Taxonomy.PolicyType convert( + java.lang.Integer from) { + com.google.cloud.datacatalog.v1.Taxonomy.PolicyType result = + com.google.cloud.datacatalog.v1.Taxonomy.PolicyType.forNumber(from); + return result == null + ? com.google.cloud.datacatalog.v1.Taxonomy.PolicyType.UNRECOGNIZED + : result; } }; /** + * + * *
    * A list of policy types that are activated per taxonomy.
    * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @return A list containing the activatedPolicyTypes. */ @java.lang.Override - public java.util.List getActivatedPolicyTypesList() { + public java.util.List + getActivatedPolicyTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.datacatalog.v1.Taxonomy.PolicyType>(activatedPolicyTypes_, activatedPolicyTypes_converter_); + java.lang.Integer, com.google.cloud.datacatalog.v1.Taxonomy.PolicyType>( + activatedPolicyTypes_, activatedPolicyTypes_converter_); } /** + * + * *
    * A list of policy types that are activated per taxonomy.
    * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @return The count of activatedPolicyTypes. */ @java.lang.Override @@ -245,11 +300,15 @@ public int getActivatedPolicyTypesCount() { return activatedPolicyTypes_.size(); } /** + * + * *
    * A list of policy types that are activated per taxonomy.
    * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @param index The index of the element to return. * @return The activatedPolicyTypes at the given index. */ @@ -258,24 +317,31 @@ public com.google.cloud.datacatalog.v1.Taxonomy.PolicyType getActivatedPolicyTyp return activatedPolicyTypes_converter_.convert(activatedPolicyTypes_.get(index)); } /** + * + * *
    * A list of policy types that are activated per taxonomy.
    * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @return A list containing the enum numeric values on the wire for activatedPolicyTypes. */ @java.lang.Override - public java.util.List - getActivatedPolicyTypesValueList() { + public java.util.List getActivatedPolicyTypesValueList() { return activatedPolicyTypes_; } /** + * + * *
    * A list of policy types that are activated per taxonomy.
    * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of activatedPolicyTypes at the given index. */ @@ -283,9 +349,11 @@ public com.google.cloud.datacatalog.v1.Taxonomy.PolicyType getActivatedPolicyTyp public int getActivatedPolicyTypesValue(int index) { return activatedPolicyTypes_.get(index); } + private int activatedPolicyTypesMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -297,8 +365,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); @@ -332,20 +399,21 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } for (int i = 0; i < policyTags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, policyTags_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, policyTags_.get(i)); } { int dataSize = 0; for (int i = 0; i < activatedPolicyTypes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(activatedPolicyTypes_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag( + activatedPolicyTypes_.get(i)); } size += dataSize; - if (!getActivatedPolicyTypesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }activatedPolicyTypesMemoizedSerializedSize = dataSize; + if (!getActivatedPolicyTypesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + activatedPolicyTypesMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -355,19 +423,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.datacatalog.v1.SerializedTaxonomy)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.SerializedTaxonomy other = (com.google.cloud.datacatalog.v1.SerializedTaxonomy) obj; + com.google.cloud.datacatalog.v1.SerializedTaxonomy other = + (com.google.cloud.datacatalog.v1.SerializedTaxonomy) obj; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getPolicyTagsList() - .equals(other.getPolicyTagsList())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getPolicyTagsList().equals(other.getPolicyTagsList())) return false; if (!activatedPolicyTypes_.equals(other.activatedPolicyTypes_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -398,98 +464,103 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.SerializedTaxonomy parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.SerializedTaxonomy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.SerializedTaxonomy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.SerializedTaxonomy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.SerializedTaxonomy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.SerializedTaxonomy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SerializedTaxonomy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.SerializedTaxonomy parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.SerializedTaxonomy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SerializedTaxonomy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.SerializedTaxonomy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.SerializedTaxonomy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.SerializedTaxonomy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.SerializedTaxonomy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.SerializedTaxonomy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 nested protocol buffer that represents a taxonomy and the hierarchy of its
    * policy tags. Used for taxonomy replacement, import, and
@@ -498,33 +569,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.SerializedTaxonomy}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.SerializedTaxonomy)
       com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.SerializedTaxonomy.class, com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder.class);
+              com.google.cloud.datacatalog.v1.SerializedTaxonomy.class,
+              com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.SerializedTaxonomy.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -544,9 +614,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_descriptor;
     }
 
     @java.lang.Override
@@ -565,14 +635,18 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomy build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.SerializedTaxonomy buildPartial() {
-      com.google.cloud.datacatalog.v1.SerializedTaxonomy result = new com.google.cloud.datacatalog.v1.SerializedTaxonomy(this);
+      com.google.cloud.datacatalog.v1.SerializedTaxonomy result =
+          new com.google.cloud.datacatalog.v1.SerializedTaxonomy(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1.SerializedTaxonomy result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.datacatalog.v1.SerializedTaxonomy result) {
       if (policyTagsBuilder_ == null) {
         if (((bitField0_ & 0x00000004) != 0)) {
           policyTags_ = java.util.Collections.unmodifiableList(policyTags_);
@@ -603,38 +677,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.SerializedTaxonomy 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.datacatalog.v1.SerializedTaxonomy) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.SerializedTaxonomy)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.SerializedTaxonomy) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -642,7 +717,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.SerializedTaxonomy other) {
-      if (other == com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance())
+        return this;
       if (!other.getDisplayName().isEmpty()) {
         displayName_ = other.displayName_;
         bitField0_ |= 0x00000001;
@@ -671,9 +747,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.SerializedTaxonomy othe
             policyTagsBuilder_ = null;
             policyTags_ = other.policyTags_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            policyTagsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getPolicyTagsFieldBuilder() : null;
+            policyTagsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getPolicyTagsFieldBuilder()
+                    : null;
           } else {
             policyTagsBuilder_.addAllMessages(other.policyTags_);
           }
@@ -715,52 +792,58 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              com.google.cloud.datacatalog.v1.SerializedPolicyTag m =
-                  input.readMessage(
-                      com.google.cloud.datacatalog.v1.SerializedPolicyTag.parser(),
-                      extensionRegistry);
-              if (policyTagsBuilder_ == null) {
-                ensurePolicyTagsIsMutable();
-                policyTags_.add(m);
-              } else {
-                policyTagsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 26
-            case 32: {
-              int tmpRaw = input.readEnum();
-              ensureActivatedPolicyTypesIsMutable();
-              activatedPolicyTypes_.add(tmpRaw);
-              break;
-            } // case 32
-            case 34: {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while(input.getBytesUntilLimit() > 0) {
+            case 10:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                com.google.cloud.datacatalog.v1.SerializedPolicyTag m =
+                    input.readMessage(
+                        com.google.cloud.datacatalog.v1.SerializedPolicyTag.parser(),
+                        extensionRegistry);
+                if (policyTagsBuilder_ == null) {
+                  ensurePolicyTagsIsMutable();
+                  policyTags_.add(m);
+                } else {
+                  policyTagsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 26
+            case 32:
+              {
                 int tmpRaw = input.readEnum();
                 ensureActivatedPolicyTypesIsMutable();
                 activatedPolicyTypes_.add(tmpRaw);
-              }
-              input.popLimit(oldLimit);
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 32
+            case 34:
+              {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while (input.getBytesUntilLimit() > 0) {
+                  int tmpRaw = input.readEnum();
+                  ensureActivatedPolicyTypesIsMutable();
+                  activatedPolicyTypes_.add(tmpRaw);
+                }
+                input.popLimit(oldLimit);
+                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) {
@@ -770,23 +853,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object displayName_ = "";
     /**
+     *
+     *
      * 
      * Required. Display name of the taxonomy. At most 200 bytes when encoded in
      * UTF-8.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -795,21 +881,22 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Display name of the taxonomy. At most 200 bytes when encoded in
      * UTF-8.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -817,30 +904,37 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Display name of the taxonomy. At most 200 bytes when encoded in
      * UTF-8.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Display name of the taxonomy. At most 200 bytes when encoded in
      * UTF-8.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -850,18 +944,22 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Required. Display name of the taxonomy. At most 200 bytes when encoded in
      * UTF-8.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -871,19 +969,21 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Description of the serialized taxonomy. At most 2000 bytes when
      * encoded in UTF-8. If not set, defaults to an empty description.
      * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -892,21 +992,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Description of the serialized taxonomy. At most 2000 bytes when
      * encoded in UTF-8. If not set, defaults to an empty description.
      * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -914,30 +1015,37 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Description of the serialized taxonomy. At most 2000 bytes when
      * encoded in UTF-8. If not set, defaults to an empty description.
      * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Description of the serialized taxonomy. At most 2000 bytes when
      * encoded in UTF-8. If not set, defaults to an empty description.
      * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -947,18 +1055,22 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Description of the serialized taxonomy. At most 2000 bytes when
      * encoded in UTF-8. If not set, defaults to an empty description.
      * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000002; @@ -967,18 +1079,26 @@ public Builder setDescriptionBytes( } private java.util.List policyTags_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePolicyTagsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - policyTags_ = new java.util.ArrayList(policyTags_); + policyTags_ = + new java.util.ArrayList( + policyTags_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.SerializedPolicyTag, com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder, com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder> policyTagsBuilder_; + com.google.cloud.datacatalog.v1.SerializedPolicyTag, + com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder, + com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder> + policyTagsBuilder_; /** + * + * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -993,6 +1113,8 @@ public java.util.List getPo } } /** + * + * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1007,6 +1129,8 @@ public int getPolicyTagsCount() { } } /** + * + * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1021,6 +1145,8 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag getPolicyTags(int ind } } /** + * + * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1042,6 +1168,8 @@ public Builder setPolicyTags( return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1060,6 +1188,8 @@ public Builder setPolicyTags( return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1080,6 +1210,8 @@ public Builder addPolicyTags(com.google.cloud.datacatalog.v1.SerializedPolicyTag return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1101,6 +1233,8 @@ public Builder addPolicyTags( return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1119,6 +1253,8 @@ public Builder addPolicyTags( return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1137,6 +1273,8 @@ public Builder addPolicyTags( return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1147,8 +1285,7 @@ public Builder addAllPolicyTags( java.lang.Iterable values) { if (policyTagsBuilder_ == null) { ensurePolicyTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, policyTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, policyTags_); onChanged(); } else { policyTagsBuilder_.addAllMessages(values); @@ -1156,6 +1293,8 @@ public Builder addAllPolicyTags( return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1173,6 +1312,8 @@ public Builder clearPolicyTags() { return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1190,6 +1331,8 @@ public Builder removePolicyTags(int index) { return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1201,6 +1344,8 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder getPolicyTags return getPolicyTagsFieldBuilder().getBuilder(index); } /** + * + * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1210,19 +1355,22 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder getPolicyTags public com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder getPolicyTagsOrBuilder( int index) { if (policyTagsBuilder_ == null) { - return policyTags_.get(index); } else { + return policyTags_.get(index); + } else { return policyTagsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
* * repeated .google.cloud.datacatalog.v1.SerializedPolicyTag policy_tags = 3; */ - public java.util.List - getPolicyTagsOrBuilderList() { + public java.util.List + getPolicyTagsOrBuilderList() { if (policyTagsBuilder_ != null) { return policyTagsBuilder_.getMessageOrBuilderList(); } else { @@ -1230,6 +1378,8 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder getPolicyTag } } /** + * + * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1237,10 +1387,12 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder getPolicyTag * repeated .google.cloud.datacatalog.v1.SerializedPolicyTag policy_tags = 3; */ public com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder addPolicyTagsBuilder() { - return getPolicyTagsFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1.SerializedPolicyTag.getDefaultInstance()); + return getPolicyTagsFieldBuilder() + .addBuilder(com.google.cloud.datacatalog.v1.SerializedPolicyTag.getDefaultInstance()); } /** + * + * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1249,37 +1401,44 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder addPolicyTags */ public com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder addPolicyTagsBuilder( int index) { - return getPolicyTagsFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1.SerializedPolicyTag.getDefaultInstance()); + return getPolicyTagsFieldBuilder() + .addBuilder( + index, com.google.cloud.datacatalog.v1.SerializedPolicyTag.getDefaultInstance()); } /** + * + * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
* * repeated .google.cloud.datacatalog.v1.SerializedPolicyTag policy_tags = 3; */ - public java.util.List - getPolicyTagsBuilderList() { + public java.util.List + getPolicyTagsBuilderList() { return getPolicyTagsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.SerializedPolicyTag, com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder, com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder> + com.google.cloud.datacatalog.v1.SerializedPolicyTag, + com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder, + com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder> getPolicyTagsFieldBuilder() { if (policyTagsBuilder_ == null) { - policyTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.SerializedPolicyTag, com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder, com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder>( - policyTags_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); + policyTagsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.SerializedPolicyTag, + com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder, + com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder>( + policyTags_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); policyTags_ = null; } return policyTagsBuilder_; } private java.util.List activatedPolicyTypes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureActivatedPolicyTypesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { activatedPolicyTypes_ = new java.util.ArrayList(activatedPolicyTypes_); @@ -1287,34 +1446,48 @@ private void ensureActivatedPolicyTypesIsMutable() { } } /** + * + * *
      * A list of policy types that are activated per taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @return A list containing the activatedPolicyTypes. */ - public java.util.List getActivatedPolicyTypesList() { + public java.util.List + getActivatedPolicyTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.datacatalog.v1.Taxonomy.PolicyType>(activatedPolicyTypes_, activatedPolicyTypes_converter_); + java.lang.Integer, com.google.cloud.datacatalog.v1.Taxonomy.PolicyType>( + activatedPolicyTypes_, activatedPolicyTypes_converter_); } /** + * + * *
      * A list of policy types that are activated per taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @return The count of activatedPolicyTypes. */ public int getActivatedPolicyTypesCount() { return activatedPolicyTypes_.size(); } /** + * + * *
      * A list of policy types that are activated per taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @param index The index of the element to return. * @return The activatedPolicyTypes at the given index. */ @@ -1322,11 +1495,15 @@ public com.google.cloud.datacatalog.v1.Taxonomy.PolicyType getActivatedPolicyTyp return activatedPolicyTypes_converter_.convert(activatedPolicyTypes_.get(index)); } /** + * + * *
      * A list of policy types that are activated per taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @param index The index to set the value at. * @param value The activatedPolicyTypes to set. * @return This builder for chaining. @@ -1342,15 +1519,20 @@ public Builder setActivatedPolicyTypes( return this; } /** + * + * *
      * A list of policy types that are activated per taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @param value The activatedPolicyTypes to add. * @return This builder for chaining. */ - public Builder addActivatedPolicyTypes(com.google.cloud.datacatalog.v1.Taxonomy.PolicyType value) { + public Builder addActivatedPolicyTypes( + com.google.cloud.datacatalog.v1.Taxonomy.PolicyType value) { if (value == null) { throw new NullPointerException(); } @@ -1360,11 +1542,15 @@ public Builder addActivatedPolicyTypes(com.google.cloud.datacatalog.v1.Taxonomy. return this; } /** + * + * *
      * A list of policy types that are activated per taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @param values The activatedPolicyTypes to add. * @return This builder for chaining. */ @@ -1378,11 +1564,15 @@ public Builder addAllActivatedPolicyTypes( return this; } /** + * + * *
      * A list of policy types that are activated per taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @return This builder for chaining. */ public Builder clearActivatedPolicyTypes() { @@ -1392,23 +1582,30 @@ public Builder clearActivatedPolicyTypes() { return this; } /** + * + * *
      * A list of policy types that are activated per taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @return A list containing the enum numeric values on the wire for activatedPolicyTypes. */ - public java.util.List - getActivatedPolicyTypesValueList() { + public java.util.List getActivatedPolicyTypesValueList() { return java.util.Collections.unmodifiableList(activatedPolicyTypes_); } /** + * + * *
      * A list of policy types that are activated per taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of activatedPolicyTypes at the given index. */ @@ -1416,28 +1613,35 @@ public int getActivatedPolicyTypesValue(int index) { return activatedPolicyTypes_.get(index); } /** + * + * *
      * A list of policy types that are activated per taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for activatedPolicyTypes to set. * @return This builder for chaining. */ - public Builder setActivatedPolicyTypesValue( - int index, int value) { + public Builder setActivatedPolicyTypesValue(int index, int value) { ensureActivatedPolicyTypesIsMutable(); activatedPolicyTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * A list of policy types that are activated per taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @param value The enum numeric value on the wire for activatedPolicyTypes to add. * @return This builder for chaining. */ @@ -1448,16 +1652,19 @@ public Builder addActivatedPolicyTypesValue(int value) { return this; } /** + * + * *
      * A list of policy types that are activated per taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @param values The enum numeric values on the wire for activatedPolicyTypes to add. * @return This builder for chaining. */ - public Builder addAllActivatedPolicyTypesValue( - java.lang.Iterable values) { + public Builder addAllActivatedPolicyTypesValue(java.lang.Iterable values) { ensureActivatedPolicyTypesIsMutable(); for (int value : values) { activatedPolicyTypes_.add(value); @@ -1465,9 +1672,9 @@ public Builder addAllActivatedPolicyTypesValue( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1477,12 +1684,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.SerializedTaxonomy) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.SerializedTaxonomy) private static final com.google.cloud.datacatalog.v1.SerializedTaxonomy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.SerializedTaxonomy(); } @@ -1491,27 +1698,27 @@ public static com.google.cloud.datacatalog.v1.SerializedTaxonomy getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SerializedTaxonomy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SerializedTaxonomy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1526,6 +1733,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.SerializedTaxonomy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomyOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomyOrBuilder.java similarity index 76% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomyOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomyOrBuilder.java index b4385b89aaa4..426f6a27bced 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomyOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomyOrBuilder.java @@ -1,66 +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/datacatalog/v1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1; -public interface SerializedTaxonomyOrBuilder extends +public interface SerializedTaxonomyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.SerializedTaxonomy) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Display name of the taxonomy. At most 200 bytes when encoded in
    * UTF-8.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. Display name of the taxonomy. At most 200 bytes when encoded in
    * UTF-8.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Description of the serialized taxonomy. At most 2000 bytes when
    * encoded in UTF-8. If not set, defaults to an empty description.
    * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Description of the serialized taxonomy. At most 2000 bytes when
    * encoded in UTF-8. If not set, defaults to an empty description.
    * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Top level policy tags associated with the taxonomy, if any.
    * 
* * repeated .google.cloud.datacatalog.v1.SerializedPolicyTag policy_tags = 3; */ - java.util.List - getPolicyTagsList(); + java.util.List getPolicyTagsList(); /** + * + * *
    * Top level policy tags associated with the taxonomy, if any.
    * 
@@ -69,6 +98,8 @@ public interface SerializedTaxonomyOrBuilder extends */ com.google.cloud.datacatalog.v1.SerializedPolicyTag getPolicyTags(int index); /** + * + * *
    * Top level policy tags associated with the taxonomy, if any.
    * 
@@ -77,68 +108,90 @@ public interface SerializedTaxonomyOrBuilder extends */ int getPolicyTagsCount(); /** + * + * *
    * Top level policy tags associated with the taxonomy, if any.
    * 
* * repeated .google.cloud.datacatalog.v1.SerializedPolicyTag policy_tags = 3; */ - java.util.List + java.util.List getPolicyTagsOrBuilderList(); /** + * + * *
    * Top level policy tags associated with the taxonomy, if any.
    * 
* * repeated .google.cloud.datacatalog.v1.SerializedPolicyTag policy_tags = 3; */ - com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder getPolicyTagsOrBuilder( - int index); + com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder getPolicyTagsOrBuilder(int index); /** + * + * *
    * A list of policy types that are activated per taxonomy.
    * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @return A list containing the activatedPolicyTypes. */ java.util.List getActivatedPolicyTypesList(); /** + * + * *
    * A list of policy types that are activated per taxonomy.
    * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @return The count of activatedPolicyTypes. */ int getActivatedPolicyTypesCount(); /** + * + * *
    * A list of policy types that are activated per taxonomy.
    * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @param index The index of the element to return. * @return The activatedPolicyTypes at the given index. */ com.google.cloud.datacatalog.v1.Taxonomy.PolicyType getActivatedPolicyTypes(int index); /** + * + * *
    * A list of policy types that are activated per taxonomy.
    * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @return A list containing the enum numeric values on the wire for activatedPolicyTypes. */ - java.util.List - getActivatedPolicyTypesValueList(); + java.util.List getActivatedPolicyTypesValueList(); /** + * + * *
    * A list of policy types that are activated per taxonomy.
    * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of activatedPolicyTypes at the given index. */ diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpec.java similarity index 63% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpec.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpec.java index cd8bce56b862..f72352337697 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpec.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Specification that applies to a Service resource. Valid only
  * for entries with the `SERVICE` type.
@@ -11,47 +28,52 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.ServiceSpec}
  */
-public final class ServiceSpec extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ServiceSpec extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ServiceSpec)
     ServiceSpecOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ServiceSpec.newBuilder() to construct.
   private ServiceSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ServiceSpec() {
-  }
+
+  private ServiceSpec() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ServiceSpec();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ServiceSpec_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_ServiceSpec_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ServiceSpec_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_ServiceSpec_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.ServiceSpec.class, com.google.cloud.datacatalog.v1.ServiceSpec.Builder.class);
+            com.google.cloud.datacatalog.v1.ServiceSpec.class,
+            com.google.cloud.datacatalog.v1.ServiceSpec.Builder.class);
   }
 
   private int systemSpecCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object systemSpec_;
+
   public enum SystemSpecCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     CLOUD_BIGTABLE_INSTANCE_SPEC(1),
     SYSTEMSPEC_NOT_SET(0);
     private final int value;
+
     private SystemSpecCase(int value) {
       this.value = value;
     }
@@ -67,30 +89,36 @@ public static SystemSpecCase valueOf(int value) {
 
     public static SystemSpecCase forNumber(int value) {
       switch (value) {
-        case 1: return CLOUD_BIGTABLE_INSTANCE_SPEC;
-        case 0: return SYSTEMSPEC_NOT_SET;
-        default: return null;
+        case 1:
+          return CLOUD_BIGTABLE_INSTANCE_SPEC;
+        case 0:
+          return SYSTEMSPEC_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SystemSpecCase
-  getSystemSpecCase() {
-    return SystemSpecCase.forNumber(
-        systemSpecCase_);
+  public SystemSpecCase getSystemSpecCase() {
+    return SystemSpecCase.forNumber(systemSpecCase_);
   }
 
   public static final int CLOUD_BIGTABLE_INSTANCE_SPEC_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * Specification that applies to Instance entries of `CLOUD_BIGTABLE`
    * system.
    * 
* - * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; + * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; + * + * * @return Whether the cloudBigtableInstanceSpec field is set. */ @java.lang.Override @@ -98,38 +126,47 @@ public boolean hasCloudBigtableInstanceSpec() { return systemSpecCase_ == 1; } /** + * + * *
    * Specification that applies to Instance entries of `CLOUD_BIGTABLE`
    * system.
    * 
* - * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; + * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; + * + * * @return The cloudBigtableInstanceSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec getCloudBigtableInstanceSpec() { if (systemSpecCase_ == 1) { - return (com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) systemSpec_; + return (com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) systemSpec_; } return com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.getDefaultInstance(); } /** + * + * *
    * Specification that applies to Instance entries of `CLOUD_BIGTABLE`
    * system.
    * 
* - * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; + * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpecOrBuilder getCloudBigtableInstanceSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpecOrBuilder + getCloudBigtableInstanceSpecOrBuilder() { if (systemSpecCase_ == 1) { - return (com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) systemSpec_; + return (com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) systemSpec_; } return com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,10 +178,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 (systemSpecCase_ == 1) { - output.writeMessage(1, (com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) systemSpec_); + output.writeMessage( + 1, (com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) systemSpec_); } getUnknownFields().writeTo(output); } @@ -156,8 +193,9 @@ public int getSerializedSize() { size = 0; if (systemSpecCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) systemSpec_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) systemSpec_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -167,18 +205,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.datacatalog.v1.ServiceSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.ServiceSpec other = (com.google.cloud.datacatalog.v1.ServiceSpec) obj; + com.google.cloud.datacatalog.v1.ServiceSpec other = + (com.google.cloud.datacatalog.v1.ServiceSpec) obj; if (!getSystemSpecCase().equals(other.getSystemSpecCase())) return false; switch (systemSpecCase_) { case 1: - if (!getCloudBigtableInstanceSpec() - .equals(other.getCloudBigtableInstanceSpec())) return false; + if (!getCloudBigtableInstanceSpec().equals(other.getCloudBigtableInstanceSpec())) + return false; break; case 0: default: @@ -207,99 +246,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.ServiceSpec parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.ServiceSpec parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ServiceSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ServiceSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ServiceSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ServiceSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ServiceSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ServiceSpec parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ServiceSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ServiceSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ServiceSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ServiceSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ServiceSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ServiceSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.ServiceSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Specification that applies to a Service resource. Valid only
    * for entries with the `SERVICE` type.
@@ -307,33 +351,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.ServiceSpec}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ServiceSpec)
       com.google.cloud.datacatalog.v1.ServiceSpecOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ServiceSpec_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ServiceSpec_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ServiceSpec_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ServiceSpec_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.ServiceSpec.class, com.google.cloud.datacatalog.v1.ServiceSpec.Builder.class);
+              com.google.cloud.datacatalog.v1.ServiceSpec.class,
+              com.google.cloud.datacatalog.v1.ServiceSpec.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.ServiceSpec.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -347,9 +390,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_ServiceSpec_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_ServiceSpec_descriptor;
     }
 
     @java.lang.Override
@@ -368,8 +411,11 @@ public com.google.cloud.datacatalog.v1.ServiceSpec build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.ServiceSpec buildPartial() {
-      com.google.cloud.datacatalog.v1.ServiceSpec result = new com.google.cloud.datacatalog.v1.ServiceSpec(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.ServiceSpec result =
+          new com.google.cloud.datacatalog.v1.ServiceSpec(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -382,8 +428,7 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ServiceSpec result) {
     private void buildPartialOneofs(com.google.cloud.datacatalog.v1.ServiceSpec result) {
       result.systemSpecCase_ = systemSpecCase_;
       result.systemSpec_ = this.systemSpec_;
-      if (systemSpecCase_ == 1 &&
-          cloudBigtableInstanceSpecBuilder_ != null) {
+      if (systemSpecCase_ == 1 && cloudBigtableInstanceSpecBuilder_ != null) {
         result.systemSpec_ = cloudBigtableInstanceSpecBuilder_.build();
       }
     }
@@ -392,38 +437,39 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.ServiceSpec 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.datacatalog.v1.ServiceSpec) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.ServiceSpec)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.ServiceSpec) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -433,13 +479,15 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.ServiceSpec other) {
       if (other == com.google.cloud.datacatalog.v1.ServiceSpec.getDefaultInstance()) return this;
       switch (other.getSystemSpecCase()) {
-        case CLOUD_BIGTABLE_INSTANCE_SPEC: {
-          mergeCloudBigtableInstanceSpec(other.getCloudBigtableInstanceSpec());
-          break;
-        }
-        case SYSTEMSPEC_NOT_SET: {
-          break;
-        }
+        case CLOUD_BIGTABLE_INSTANCE_SPEC:
+          {
+            mergeCloudBigtableInstanceSpec(other.getCloudBigtableInstanceSpec());
+            break;
+          }
+        case SYSTEMSPEC_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -467,19 +515,20 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getCloudBigtableInstanceSpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              systemSpecCase_ = 1;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(
+                    getCloudBigtableInstanceSpecFieldBuilder().getBuilder(), extensionRegistry);
+                systemSpecCase_ = 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) {
@@ -489,12 +538,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int systemSpecCase_ = 0;
     private java.lang.Object systemSpec_;
-    public SystemSpecCase
-        getSystemSpecCase() {
-      return SystemSpecCase.forNumber(
-          systemSpecCase_);
+
+    public SystemSpecCase getSystemSpecCase() {
+      return SystemSpecCase.forNumber(systemSpecCase_);
     }
 
     public Builder clearSystemSpec() {
@@ -507,14 +556,22 @@ public Builder clearSystemSpec() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.Builder, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpecOrBuilder> cloudBigtableInstanceSpecBuilder_;
+            com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec,
+            com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.Builder,
+            com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpecOrBuilder>
+        cloudBigtableInstanceSpecBuilder_;
     /**
+     *
+     *
      * 
      * Specification that applies to Instance entries of `CLOUD_BIGTABLE`
      * system.
      * 
* - * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; + * + * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; + * + * * @return Whether the cloudBigtableInstanceSpec field is set. */ @java.lang.Override @@ -522,16 +579,22 @@ public boolean hasCloudBigtableInstanceSpec() { return systemSpecCase_ == 1; } /** + * + * *
      * Specification that applies to Instance entries of `CLOUD_BIGTABLE`
      * system.
      * 
* - * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; + * + * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; + * + * * @return The cloudBigtableInstanceSpec. */ @java.lang.Override - public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec getCloudBigtableInstanceSpec() { + public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec + getCloudBigtableInstanceSpec() { if (cloudBigtableInstanceSpecBuilder_ == null) { if (systemSpecCase_ == 1) { return (com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) systemSpec_; @@ -545,14 +608,19 @@ public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec getCloudBigtabl } } /** + * + * *
      * Specification that applies to Instance entries of `CLOUD_BIGTABLE`
      * system.
      * 
* - * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; + * + * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; + * */ - public Builder setCloudBigtableInstanceSpec(com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec value) { + public Builder setCloudBigtableInstanceSpec( + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec value) { if (cloudBigtableInstanceSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -566,12 +634,16 @@ public Builder setCloudBigtableInstanceSpec(com.google.cloud.datacatalog.v1.Clou return this; } /** + * + * *
      * Specification that applies to Instance entries of `CLOUD_BIGTABLE`
      * system.
      * 
* - * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; + * + * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; + * */ public Builder setCloudBigtableInstanceSpec( com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.Builder builderForValue) { @@ -585,19 +657,28 @@ public Builder setCloudBigtableInstanceSpec( return this; } /** + * + * *
      * Specification that applies to Instance entries of `CLOUD_BIGTABLE`
      * system.
      * 
* - * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; + * + * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; + * */ - public Builder mergeCloudBigtableInstanceSpec(com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec value) { + public Builder mergeCloudBigtableInstanceSpec( + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec value) { if (cloudBigtableInstanceSpecBuilder_ == null) { - if (systemSpecCase_ == 1 && - systemSpec_ != com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.getDefaultInstance()) { - systemSpec_ = com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.newBuilder((com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) systemSpec_) - .mergeFrom(value).buildPartial(); + if (systemSpecCase_ == 1 + && systemSpec_ + != com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.getDefaultInstance()) { + systemSpec_ = + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.newBuilder( + (com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) systemSpec_) + .mergeFrom(value) + .buildPartial(); } else { systemSpec_ = value; } @@ -613,12 +694,16 @@ public Builder mergeCloudBigtableInstanceSpec(com.google.cloud.datacatalog.v1.Cl return this; } /** + * + * *
      * Specification that applies to Instance entries of `CLOUD_BIGTABLE`
      * system.
      * 
* - * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; + * + * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; + * */ public Builder clearCloudBigtableInstanceSpec() { if (cloudBigtableInstanceSpecBuilder_ == null) { @@ -637,26 +722,36 @@ public Builder clearCloudBigtableInstanceSpec() { return this; } /** + * + * *
      * Specification that applies to Instance entries of `CLOUD_BIGTABLE`
      * system.
      * 
* - * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; + * + * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; + * */ - public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.Builder getCloudBigtableInstanceSpecBuilder() { + public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.Builder + getCloudBigtableInstanceSpecBuilder() { return getCloudBigtableInstanceSpecFieldBuilder().getBuilder(); } /** + * + * *
      * Specification that applies to Instance entries of `CLOUD_BIGTABLE`
      * system.
      * 
* - * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; + * + * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpecOrBuilder getCloudBigtableInstanceSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpecOrBuilder + getCloudBigtableInstanceSpecOrBuilder() { if ((systemSpecCase_ == 1) && (cloudBigtableInstanceSpecBuilder_ != null)) { return cloudBigtableInstanceSpecBuilder_.getMessageOrBuilder(); } else { @@ -667,22 +762,32 @@ public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpecOrBuilder getClo } } /** + * + * *
      * Specification that applies to Instance entries of `CLOUD_BIGTABLE`
      * system.
      * 
* - * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; + * + * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.Builder, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpecOrBuilder> + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec, + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.Builder, + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpecOrBuilder> getCloudBigtableInstanceSpecFieldBuilder() { if (cloudBigtableInstanceSpecBuilder_ == null) { if (!(systemSpecCase_ == 1)) { - systemSpec_ = com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.getDefaultInstance(); + systemSpec_ = + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.getDefaultInstance(); } - cloudBigtableInstanceSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.Builder, com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpecOrBuilder>( + cloudBigtableInstanceSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec, + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.Builder, + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpecOrBuilder>( (com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) systemSpec_, getParentForChildren(), isClean()); @@ -692,9 +797,9 @@ public com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpecOrBuilder getClo onChanged(); return cloudBigtableInstanceSpecBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -704,12 +809,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ServiceSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ServiceSpec) private static final com.google.cloud.datacatalog.v1.ServiceSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ServiceSpec(); } @@ -718,27 +823,27 @@ public static com.google.cloud.datacatalog.v1.ServiceSpec getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ServiceSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ServiceSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -753,6 +858,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ServiceSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpecOrBuilder.java similarity index 58% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpecOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpecOrBuilder.java index 96e9ad318686..6107e1c7e10d 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpecOrBuilder.java @@ -1,41 +1,69 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface ServiceSpecOrBuilder extends +public interface ServiceSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ServiceSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Specification that applies to Instance entries of `CLOUD_BIGTABLE`
    * system.
    * 
* - * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; + * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; + * + * * @return Whether the cloudBigtableInstanceSpec field is set. */ boolean hasCloudBigtableInstanceSpec(); /** + * + * *
    * Specification that applies to Instance entries of `CLOUD_BIGTABLE`
    * system.
    * 
* - * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; + * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; + * + * * @return The cloudBigtableInstanceSpec. */ com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec getCloudBigtableInstanceSpec(); /** + * + * *
    * Specification that applies to Instance entries of `CLOUD_BIGTABLE`
    * system.
    * 
* - * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; + * .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; + * */ - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpecOrBuilder getCloudBigtableInstanceSpecOrBuilder(); + com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpecOrBuilder + getCloudBigtableInstanceSpecOrBuilder(); com.google.cloud.datacatalog.v1.ServiceSpec.SystemSpecCase getSystemSpecCase(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpec.java similarity index 70% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpec.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpec.java index 33f9d1e01af1..9027b72f6e8b 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpec.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Specification that applies to
  * entries that are part `SQL_DATABASE` system
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.SqlDatabaseSystemSpec}
  */
-public final class SqlDatabaseSystemSpec extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SqlDatabaseSystemSpec extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.SqlDatabaseSystemSpec)
     SqlDatabaseSystemSpecOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SqlDatabaseSystemSpec.newBuilder() to construct.
   private SqlDatabaseSystemSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SqlDatabaseSystemSpec() {
     sqlEngine_ = "";
     databaseVersion_ = "";
@@ -29,28 +47,32 @@ private SqlDatabaseSystemSpec() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SqlDatabaseSystemSpec();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.class, com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.Builder.class);
+            com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.class,
+            com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.Builder.class);
   }
 
   public static final int SQL_ENGINE_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object sqlEngine_ = "";
   /**
+   *
+   *
    * 
    * SQL Database Engine.
    * enum SqlEngine {
@@ -63,6 +85,7 @@ protected java.lang.Object newInstance(
    * 
* * string sql_engine = 1; + * * @return The sqlEngine. */ @java.lang.Override @@ -71,14 +94,15 @@ public java.lang.String getSqlEngine() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sqlEngine_ = s; return s; } } /** + * + * *
    * SQL Database Engine.
    * enum SqlEngine {
@@ -91,16 +115,15 @@ public java.lang.String getSqlEngine() {
    * 
* * string sql_engine = 1; + * * @return The bytes for sqlEngine. */ @java.lang.Override - public com.google.protobuf.ByteString - getSqlEngineBytes() { + public com.google.protobuf.ByteString getSqlEngineBytes() { java.lang.Object ref = sqlEngine_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sqlEngine_ = b; return b; } else { @@ -109,14 +132,18 @@ public java.lang.String getSqlEngine() { } public static final int DATABASE_VERSION_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object databaseVersion_ = ""; /** + * + * *
    * Version of the database engine.
    * 
* * string database_version = 2; + * * @return The databaseVersion. */ @java.lang.Override @@ -125,29 +152,29 @@ public java.lang.String getDatabaseVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseVersion_ = s; return s; } } /** + * + * *
    * Version of the database engine.
    * 
* * string database_version = 2; + * * @return The bytes for databaseVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseVersionBytes() { + public com.google.protobuf.ByteString getDatabaseVersionBytes() { java.lang.Object ref = databaseVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); databaseVersion_ = b; return b; } else { @@ -156,9 +183,12 @@ public java.lang.String getDatabaseVersion() { } public static final int INSTANCE_HOST_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object instanceHost_ = ""; /** + * + * *
    * Host of the SQL database
    * enum InstanceHost {
@@ -172,6 +202,7 @@ public java.lang.String getDatabaseVersion() {
    * 
* * string instance_host = 3; + * * @return The instanceHost. */ @java.lang.Override @@ -180,14 +211,15 @@ public java.lang.String getInstanceHost() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceHost_ = s; return s; } } /** + * + * *
    * Host of the SQL database
    * enum InstanceHost {
@@ -201,16 +233,15 @@ public java.lang.String getInstanceHost() {
    * 
* * string instance_host = 3; + * * @return The bytes for instanceHost. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstanceHostBytes() { + public com.google.protobuf.ByteString getInstanceHostBytes() { java.lang.Object ref = instanceHost_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instanceHost_ = b; return b; } else { @@ -219,6 +250,7 @@ public java.lang.String getInstanceHost() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -230,8 +262,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sqlEngine_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sqlEngine_); } @@ -267,19 +298,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.datacatalog.v1.SqlDatabaseSystemSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec other = (com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec) obj; + com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec other = + (com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec) obj; - if (!getSqlEngine() - .equals(other.getSqlEngine())) return false; - if (!getDatabaseVersion() - .equals(other.getDatabaseVersion())) return false; - if (!getInstanceHost() - .equals(other.getInstanceHost())) return false; + if (!getSqlEngine().equals(other.getSqlEngine())) return false; + if (!getDatabaseVersion().equals(other.getDatabaseVersion())) return false; + if (!getInstanceHost().equals(other.getInstanceHost())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -303,98 +332,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Specification that applies to
    * entries that are part `SQL_DATABASE` system
@@ -403,33 +438,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.SqlDatabaseSystemSpec}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.SqlDatabaseSystemSpec)
       com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpecOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.class, com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.Builder.class);
+              com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.class,
+              com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        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,9 +475,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_descriptor;
     }
 
     @java.lang.Override
@@ -462,8 +496,11 @@ public com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec buildPartial() {
-      com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec result = new com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec result =
+          new com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -485,38 +522,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -524,7 +562,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec other) {
-      if (other == com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec.getDefaultInstance())
+        return this;
       if (!other.getSqlEngine().isEmpty()) {
         sqlEngine_ = other.sqlEngine_;
         bitField0_ |= 0x00000001;
@@ -566,27 +605,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              sqlEngine_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              databaseVersion_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              instanceHost_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                sqlEngine_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                databaseVersion_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                instanceHost_ = 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) {
@@ -596,10 +639,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object sqlEngine_ = "";
     /**
+     *
+     *
      * 
      * SQL Database Engine.
      * enum SqlEngine {
@@ -612,13 +658,13 @@ public Builder mergeFrom(
      * 
* * string sql_engine = 1; + * * @return The sqlEngine. */ public java.lang.String getSqlEngine() { java.lang.Object ref = sqlEngine_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sqlEngine_ = s; return s; @@ -627,6 +673,8 @@ public java.lang.String getSqlEngine() { } } /** + * + * *
      * SQL Database Engine.
      * enum SqlEngine {
@@ -639,15 +687,14 @@ public java.lang.String getSqlEngine() {
      * 
* * string sql_engine = 1; + * * @return The bytes for sqlEngine. */ - public com.google.protobuf.ByteString - getSqlEngineBytes() { + public com.google.protobuf.ByteString getSqlEngineBytes() { java.lang.Object ref = sqlEngine_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sqlEngine_ = b; return b; } else { @@ -655,6 +702,8 @@ public java.lang.String getSqlEngine() { } } /** + * + * *
      * SQL Database Engine.
      * enum SqlEngine {
@@ -667,18 +716,22 @@ public java.lang.String getSqlEngine() {
      * 
* * string sql_engine = 1; + * * @param value The sqlEngine to set. * @return This builder for chaining. */ - public Builder setSqlEngine( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSqlEngine(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sqlEngine_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * SQL Database Engine.
      * enum SqlEngine {
@@ -691,6 +744,7 @@ public Builder setSqlEngine(
      * 
* * string sql_engine = 1; + * * @return This builder for chaining. */ public Builder clearSqlEngine() { @@ -700,6 +754,8 @@ public Builder clearSqlEngine() { return this; } /** + * + * *
      * SQL Database Engine.
      * enum SqlEngine {
@@ -712,12 +768,14 @@ public Builder clearSqlEngine() {
      * 
* * string sql_engine = 1; + * * @param value The bytes for sqlEngine to set. * @return This builder for chaining. */ - public Builder setSqlEngineBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSqlEngineBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sqlEngine_ = value; bitField0_ |= 0x00000001; @@ -727,18 +785,20 @@ public Builder setSqlEngineBytes( private java.lang.Object databaseVersion_ = ""; /** + * + * *
      * Version of the database engine.
      * 
* * string database_version = 2; + * * @return The databaseVersion. */ public java.lang.String getDatabaseVersion() { java.lang.Object ref = databaseVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseVersion_ = s; return s; @@ -747,20 +807,21 @@ public java.lang.String getDatabaseVersion() { } } /** + * + * *
      * Version of the database engine.
      * 
* * string database_version = 2; + * * @return The bytes for databaseVersion. */ - public com.google.protobuf.ByteString - getDatabaseVersionBytes() { + public com.google.protobuf.ByteString getDatabaseVersionBytes() { java.lang.Object ref = databaseVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); databaseVersion_ = b; return b; } else { @@ -768,28 +829,35 @@ public java.lang.String getDatabaseVersion() { } } /** + * + * *
      * Version of the database engine.
      * 
* * string database_version = 2; + * * @param value The databaseVersion to set. * @return This builder for chaining. */ - public Builder setDatabaseVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } databaseVersion_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Version of the database engine.
      * 
* * string database_version = 2; + * * @return This builder for chaining. */ public Builder clearDatabaseVersion() { @@ -799,17 +867,21 @@ public Builder clearDatabaseVersion() { return this; } /** + * + * *
      * Version of the database engine.
      * 
* * string database_version = 2; + * * @param value The bytes for databaseVersion to set. * @return This builder for chaining. */ - public Builder setDatabaseVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); databaseVersion_ = value; bitField0_ |= 0x00000002; @@ -819,6 +891,8 @@ public Builder setDatabaseVersionBytes( private java.lang.Object instanceHost_ = ""; /** + * + * *
      * Host of the SQL database
      * enum InstanceHost {
@@ -832,13 +906,13 @@ public Builder setDatabaseVersionBytes(
      * 
* * string instance_host = 3; + * * @return The instanceHost. */ public java.lang.String getInstanceHost() { java.lang.Object ref = instanceHost_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceHost_ = s; return s; @@ -847,6 +921,8 @@ public java.lang.String getInstanceHost() { } } /** + * + * *
      * Host of the SQL database
      * enum InstanceHost {
@@ -860,15 +936,14 @@ public java.lang.String getInstanceHost() {
      * 
* * string instance_host = 3; + * * @return The bytes for instanceHost. */ - public com.google.protobuf.ByteString - getInstanceHostBytes() { + public com.google.protobuf.ByteString getInstanceHostBytes() { java.lang.Object ref = instanceHost_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instanceHost_ = b; return b; } else { @@ -876,6 +951,8 @@ public java.lang.String getInstanceHost() { } } /** + * + * *
      * Host of the SQL database
      * enum InstanceHost {
@@ -889,18 +966,22 @@ public java.lang.String getInstanceHost() {
      * 
* * string instance_host = 3; + * * @param value The instanceHost to set. * @return This builder for chaining. */ - public Builder setInstanceHost( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceHost(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } instanceHost_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Host of the SQL database
      * enum InstanceHost {
@@ -914,6 +995,7 @@ public Builder setInstanceHost(
      * 
* * string instance_host = 3; + * * @return This builder for chaining. */ public Builder clearInstanceHost() { @@ -923,6 +1005,8 @@ public Builder clearInstanceHost() { return this; } /** + * + * *
      * Host of the SQL database
      * enum InstanceHost {
@@ -936,21 +1020,23 @@ public Builder clearInstanceHost() {
      * 
* * string instance_host = 3; + * * @param value The bytes for instanceHost to set. * @return This builder for chaining. */ - public Builder setInstanceHostBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceHostBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); instanceHost_ = 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); } @@ -960,12 +1046,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.SqlDatabaseSystemSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.SqlDatabaseSystemSpec) private static final com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec(); } @@ -974,27 +1060,27 @@ public static com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SqlDatabaseSystemSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SqlDatabaseSystemSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1009,6 +1095,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpecOrBuilder.java similarity index 68% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpecOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpecOrBuilder.java index 971f61f83b58..ded1434dcffe 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpecOrBuilder.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface SqlDatabaseSystemSpecOrBuilder extends +public interface SqlDatabaseSystemSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.SqlDatabaseSystemSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * SQL Database Engine.
    * enum SqlEngine {
@@ -20,10 +38,13 @@ public interface SqlDatabaseSystemSpecOrBuilder extends
    * 
* * string sql_engine = 1; + * * @return The sqlEngine. */ java.lang.String getSqlEngine(); /** + * + * *
    * SQL Database Engine.
    * enum SqlEngine {
@@ -36,32 +57,39 @@ public interface SqlDatabaseSystemSpecOrBuilder extends
    * 
* * string sql_engine = 1; + * * @return The bytes for sqlEngine. */ - com.google.protobuf.ByteString - getSqlEngineBytes(); + com.google.protobuf.ByteString getSqlEngineBytes(); /** + * + * *
    * Version of the database engine.
    * 
* * string database_version = 2; + * * @return The databaseVersion. */ java.lang.String getDatabaseVersion(); /** + * + * *
    * Version of the database engine.
    * 
* * string database_version = 2; + * * @return The bytes for databaseVersion. */ - com.google.protobuf.ByteString - getDatabaseVersionBytes(); + com.google.protobuf.ByteString getDatabaseVersionBytes(); /** + * + * *
    * Host of the SQL database
    * enum InstanceHost {
@@ -75,10 +103,13 @@ public interface SqlDatabaseSystemSpecOrBuilder extends
    * 
* * string instance_host = 3; + * * @return The instanceHost. */ java.lang.String getInstanceHost(); /** + * + * *
    * Host of the SQL database
    * enum InstanceHost {
@@ -92,8 +123,8 @@ public interface SqlDatabaseSystemSpecOrBuilder extends
    * 
* * string instance_host = 3; + * * @return The bytes for instanceHost. */ - com.google.protobuf.ByteString - getInstanceHostBytes(); + com.google.protobuf.ByteString getInstanceHostBytes(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequest.java similarity index 62% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequest.java index 33b4074d2501..16d65c21f9e4 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequest.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [StarEntry][google.cloud.datacatalog.v1.DataCatalog.StarEntry].
@@ -11,48 +28,56 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.StarEntryRequest}
  */
-public final class StarEntryRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class StarEntryRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.StarEntryRequest)
     StarEntryRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use StarEntryRequest.newBuilder() to construct.
   private StarEntryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private StarEntryRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new StarEntryRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_StarEntryRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_StarEntryRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_StarEntryRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_StarEntryRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.StarEntryRequest.class, com.google.cloud.datacatalog.v1.StarEntryRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.StarEntryRequest.class,
+            com.google.cloud.datacatalog.v1.StarEntryRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the entry to mark as starred.
    * 
* - * string name = 1 [(.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,29 +86,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the entry to mark as starred.
    * 
* - * string name = 1 [(.google.api.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 { @@ -92,6 +119,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -103,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_); } @@ -128,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.datacatalog.v1.StarEntryRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.StarEntryRequest other = (com.google.cloud.datacatalog.v1.StarEntryRequest) obj; + com.google.cloud.datacatalog.v1.StarEntryRequest other = + (com.google.cloud.datacatalog.v1.StarEntryRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -155,99 +182,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.StarEntryRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.StarEntryRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.StarEntryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.StarEntryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.StarEntryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.StarEntryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.StarEntryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.StarEntryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.StarEntryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.StarEntryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.StarEntryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.StarEntryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.StarEntryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.StarEntryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.StarEntryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.StarEntryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [StarEntry][google.cloud.datacatalog.v1.DataCatalog.StarEntry].
@@ -255,33 +287,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.StarEntryRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.StarEntryRequest)
       com.google.cloud.datacatalog.v1.StarEntryRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_StarEntryRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_StarEntryRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_StarEntryRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_StarEntryRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.StarEntryRequest.class, com.google.cloud.datacatalog.v1.StarEntryRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.StarEntryRequest.class,
+              com.google.cloud.datacatalog.v1.StarEntryRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.StarEntryRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        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.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_StarEntryRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_StarEntryRequest_descriptor;
     }
 
     @java.lang.Override
@@ -312,8 +343,11 @@ public com.google.cloud.datacatalog.v1.StarEntryRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.StarEntryRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.StarEntryRequest result = new com.google.cloud.datacatalog.v1.StarEntryRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.StarEntryRequest result =
+          new com.google.cloud.datacatalog.v1.StarEntryRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.StarEntryRequest 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.datacatalog.v1.StarEntryRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.StarEntryRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.StarEntryRequest) 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.datacatalog.v1.StarEntryRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.StarEntryRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.StarEntryRequest.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,22 +458,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the entry to mark as starred.
      * 
* - * string name = 1 [(.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; @@ -444,20 +487,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the entry to mark as starred.
      * 
* - * string name = 1 [(.google.api.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 { @@ -465,28 +511,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the entry to mark as starred.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the entry to mark as starred.
      * 
* - * string 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() { @@ -496,26 +553,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the entry to mark as starred.
      * 
* - * string name = 1 [(.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); } @@ -525,12 +588,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.StarEntryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.StarEntryRequest) private static final com.google.cloud.datacatalog.v1.StarEntryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.StarEntryRequest(); } @@ -539,27 +602,27 @@ public static com.google.cloud.datacatalog.v1.StarEntryRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StarEntryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StarEntryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -574,6 +637,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.StarEntryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequestOrBuilder.java new file mode 100644 index 000000000000..193a12f3727d --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequestOrBuilder.java @@ -0,0 +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/datacatalog/v1/datacatalog.proto + +package com.google.cloud.datacatalog.v1; + +public interface StarEntryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.StarEntryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the entry to mark as starred.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the entry to mark as starred.
+   * 
+ * + * + * 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-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponse.java similarity index 62% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponse.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponse.java index 6ef9f0669eb2..1b3e2f597ab7 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponse.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Response message for
  * [StarEntry][google.cloud.datacatalog.v1.DataCatalog.StarEntry].
@@ -12,39 +29,41 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.StarEntryResponse}
  */
-public final class StarEntryResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class StarEntryResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.StarEntryResponse)
     StarEntryResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use StarEntryResponse.newBuilder() to construct.
   private StarEntryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private StarEntryResponse() {
-  }
+
+  private StarEntryResponse() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new StarEntryResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_StarEntryResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_StarEntryResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_StarEntryResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_StarEntryResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.StarEntryResponse.class, com.google.cloud.datacatalog.v1.StarEntryResponse.Builder.class);
+            com.google.cloud.datacatalog.v1.StarEntryResponse.class,
+            com.google.cloud.datacatalog.v1.StarEntryResponse.Builder.class);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -56,8 +75,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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);
   }
 
@@ -75,12 +93,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.datacatalog.v1.StarEntryResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1.StarEntryResponse other = (com.google.cloud.datacatalog.v1.StarEntryResponse) obj;
+    com.google.cloud.datacatalog.v1.StarEntryResponse other =
+        (com.google.cloud.datacatalog.v1.StarEntryResponse) obj;
 
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -99,98 +118,103 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1.StarEntryResponse parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.StarEntryResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.StarEntryResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.StarEntryResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.StarEntryResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.StarEntryResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.datacatalog.v1.StarEntryResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.datacatalog.v1.StarEntryResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1.StarEntryResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1.StarEntryResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.StarEntryResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1.StarEntryResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.StarEntryResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1.StarEntryResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.datacatalog.v1.StarEntryResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Response message for
    * [StarEntry][google.cloud.datacatalog.v1.DataCatalog.StarEntry].
@@ -199,33 +223,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.StarEntryResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.StarEntryResponse)
       com.google.cloud.datacatalog.v1.StarEntryResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_StarEntryResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_StarEntryResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_StarEntryResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_StarEntryResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.StarEntryResponse.class, com.google.cloud.datacatalog.v1.StarEntryResponse.Builder.class);
+              com.google.cloud.datacatalog.v1.StarEntryResponse.class,
+              com.google.cloud.datacatalog.v1.StarEntryResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.StarEntryResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -233,9 +256,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_StarEntryResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_StarEntryResponse_descriptor;
     }
 
     @java.lang.Override
@@ -254,7 +277,8 @@ public com.google.cloud.datacatalog.v1.StarEntryResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.StarEntryResponse buildPartial() {
-      com.google.cloud.datacatalog.v1.StarEntryResponse result = new com.google.cloud.datacatalog.v1.StarEntryResponse(this);
+      com.google.cloud.datacatalog.v1.StarEntryResponse result =
+          new com.google.cloud.datacatalog.v1.StarEntryResponse(this);
       onBuilt();
       return result;
     }
@@ -263,38 +287,39 @@ public com.google.cloud.datacatalog.v1.StarEntryResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.StarEntryResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.StarEntryResponse)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.StarEntryResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -302,7 +327,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.StarEntryResponse other) {
-      if (other == com.google.cloud.datacatalog.v1.StarEntryResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.StarEntryResponse.getDefaultInstance())
+        return this;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
@@ -329,12 +355,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) {
@@ -344,9 +371,9 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -356,12 +383,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.StarEntryResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.StarEntryResponse)
   private static final com.google.cloud.datacatalog.v1.StarEntryResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.StarEntryResponse();
   }
@@ -370,27 +397,27 @@ public static com.google.cloud.datacatalog.v1.StarEntryResponse getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public StarEntryResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public StarEntryResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -405,6 +432,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1.StarEntryResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponseOrBuilder.java
new file mode 100644
index 000000000000..1f655b2b4fe5
--- /dev/null
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponseOrBuilder.java
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/datacatalog/v1/datacatalog.proto
+
+package com.google.cloud.datacatalog.v1;
+
+public interface StarEntryResponseOrBuilder
+    extends
+    // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.StarEntryResponse)
+    com.google.protobuf.MessageOrBuilder {}
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StorageProperties.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StorageProperties.java
similarity index 79%
rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StorageProperties.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StorageProperties.java
index 17faee8122af..e816e275d1a0 100644
--- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StorageProperties.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StorageProperties.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/datacatalog/v1/data_source.proto
 
 package com.google.cloud.datacatalog.v1;
 
 /**
+ *
+ *
  * 
  * Details the properties of the underlying storage.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.StorageProperties} */ -public final class StorageProperties extends - com.google.protobuf.GeneratedMessageV3 implements +public final class StorageProperties extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.StorageProperties) StoragePropertiesOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StorageProperties.newBuilder() to construct. private StorageProperties(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private StorageProperties() { - filePattern_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + filePattern_ = com.google.protobuf.LazyStringArrayList.emptyList(); fileType_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StorageProperties(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.DataSourceProto.internal_static_google_cloud_datacatalog_v1_StorageProperties_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.DataSourceProto + .internal_static_google_cloud_datacatalog_v1_StorageProperties_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.DataSourceProto.internal_static_google_cloud_datacatalog_v1_StorageProperties_fieldAccessorTable + return com.google.cloud.datacatalog.v1.DataSourceProto + .internal_static_google_cloud_datacatalog_v1_StorageProperties_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.StorageProperties.class, com.google.cloud.datacatalog.v1.StorageProperties.Builder.class); + com.google.cloud.datacatalog.v1.StorageProperties.class, + com.google.cloud.datacatalog.v1.StorageProperties.Builder.class); } public static final int FILE_PATTERN_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList filePattern_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Patterns to identify a set of files for this fileset.
    *
@@ -74,13 +95,15 @@ protected java.lang.Object newInstance(
    * 
* * repeated string file_pattern = 1; + * * @return A list containing the filePattern. */ - public com.google.protobuf.ProtocolStringList - getFilePatternList() { + public com.google.protobuf.ProtocolStringList getFilePatternList() { return filePattern_; } /** + * + * *
    * Patterns to identify a set of files for this fileset.
    *
@@ -105,12 +128,15 @@ protected java.lang.Object newInstance(
    * 
* * repeated string file_pattern = 1; + * * @return The count of filePattern. */ public int getFilePatternCount() { return filePattern_.size(); } /** + * + * *
    * Patterns to identify a set of files for this fileset.
    *
@@ -135,6 +161,7 @@ public int getFilePatternCount() {
    * 
* * repeated string file_pattern = 1; + * * @param index The index of the element to return. * @return The filePattern at the given index. */ @@ -142,6 +169,8 @@ public java.lang.String getFilePattern(int index) { return filePattern_.get(index); } /** + * + * *
    * Patterns to identify a set of files for this fileset.
    *
@@ -166,23 +195,27 @@ public java.lang.String getFilePattern(int index) {
    * 
* * repeated string file_pattern = 1; + * * @param index The index of the value to return. * @return The bytes of the filePattern at the given index. */ - public com.google.protobuf.ByteString - getFilePatternBytes(int index) { + public com.google.protobuf.ByteString getFilePatternBytes(int index) { return filePattern_.getByteString(index); } public static final int FILE_TYPE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object fileType_ = ""; /** + * + * *
    * File type in MIME format, for example, `text/plain`.
    * 
* * string file_type = 2; + * * @return The fileType. */ @java.lang.Override @@ -191,29 +224,29 @@ public java.lang.String getFileType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fileType_ = s; return s; } } /** + * + * *
    * File type in MIME format, for example, `text/plain`.
    * 
* * string file_type = 2; + * * @return The bytes for fileType. */ @java.lang.Override - public com.google.protobuf.ByteString - getFileTypeBytes() { + public com.google.protobuf.ByteString getFileTypeBytes() { java.lang.Object ref = fileType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fileType_ = b; return b; } else { @@ -222,6 +255,7 @@ public java.lang.String getFileType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -233,8 +267,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < filePattern_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filePattern_.getRaw(i)); } @@ -269,17 +302,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.datacatalog.v1.StorageProperties)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.StorageProperties other = (com.google.cloud.datacatalog.v1.StorageProperties) obj; + com.google.cloud.datacatalog.v1.StorageProperties other = + (com.google.cloud.datacatalog.v1.StorageProperties) obj; - if (!getFilePatternList() - .equals(other.getFilePatternList())) return false; - if (!getFileType() - .equals(other.getFileType())) return false; + if (!getFilePatternList().equals(other.getFilePatternList())) return false; + if (!getFileType().equals(other.getFileType())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -303,145 +335,148 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.StorageProperties parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.StorageProperties parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.StorageProperties parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.StorageProperties parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.StorageProperties parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.StorageProperties parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.StorageProperties parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.StorageProperties parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.StorageProperties parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.StorageProperties parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.StorageProperties parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.StorageProperties parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.StorageProperties parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.StorageProperties parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.StorageProperties prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Details the properties of the underlying storage.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.StorageProperties} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.StorageProperties) com.google.cloud.datacatalog.v1.StoragePropertiesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.DataSourceProto.internal_static_google_cloud_datacatalog_v1_StorageProperties_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.DataSourceProto + .internal_static_google_cloud_datacatalog_v1_StorageProperties_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.DataSourceProto.internal_static_google_cloud_datacatalog_v1_StorageProperties_fieldAccessorTable + return com.google.cloud.datacatalog.v1.DataSourceProto + .internal_static_google_cloud_datacatalog_v1_StorageProperties_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.StorageProperties.class, com.google.cloud.datacatalog.v1.StorageProperties.Builder.class); + com.google.cloud.datacatalog.v1.StorageProperties.class, + com.google.cloud.datacatalog.v1.StorageProperties.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.StorageProperties.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - 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; - filePattern_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + filePattern_ = com.google.protobuf.LazyStringArrayList.emptyList(); fileType_ = ""; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.DataSourceProto.internal_static_google_cloud_datacatalog_v1_StorageProperties_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.DataSourceProto + .internal_static_google_cloud_datacatalog_v1_StorageProperties_descriptor; } @java.lang.Override @@ -460,8 +495,11 @@ public com.google.cloud.datacatalog.v1.StorageProperties build() { @java.lang.Override public com.google.cloud.datacatalog.v1.StorageProperties buildPartial() { - com.google.cloud.datacatalog.v1.StorageProperties result = new com.google.cloud.datacatalog.v1.StorageProperties(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1.StorageProperties result = + new com.google.cloud.datacatalog.v1.StorageProperties(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -481,38 +519,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.StorageProperties 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.datacatalog.v1.StorageProperties) { - return mergeFrom((com.google.cloud.datacatalog.v1.StorageProperties)other); + return mergeFrom((com.google.cloud.datacatalog.v1.StorageProperties) other); } else { super.mergeFrom(other); return this; @@ -520,7 +559,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.StorageProperties other) { - if (other == com.google.cloud.datacatalog.v1.StorageProperties.getDefaultInstance()) return this; + if (other == com.google.cloud.datacatalog.v1.StorageProperties.getDefaultInstance()) + return this; if (!other.filePattern_.isEmpty()) { if (filePattern_.isEmpty()) { filePattern_ = other.filePattern_; @@ -562,23 +602,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureFilePatternIsMutable(); - filePattern_.add(s); - break; - } // case 10 - case 18: { - fileType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureFilePatternIsMutable(); + filePattern_.add(s); + break; + } // case 10 + case 18: + { + fileType_ = 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) { @@ -588,10 +631,12 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.LazyStringArrayList filePattern_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureFilePatternIsMutable() { if (!filePattern_.isModifiable()) { filePattern_ = new com.google.protobuf.LazyStringArrayList(filePattern_); @@ -599,6 +644,8 @@ private void ensureFilePatternIsMutable() { bitField0_ |= 0x00000001; } /** + * + * *
      * Patterns to identify a set of files for this fileset.
      *
@@ -623,14 +670,16 @@ private void ensureFilePatternIsMutable() {
      * 
* * repeated string file_pattern = 1; + * * @return A list containing the filePattern. */ - public com.google.protobuf.ProtocolStringList - getFilePatternList() { + public com.google.protobuf.ProtocolStringList getFilePatternList() { filePattern_.makeImmutable(); return filePattern_; } /** + * + * *
      * Patterns to identify a set of files for this fileset.
      *
@@ -655,12 +704,15 @@ private void ensureFilePatternIsMutable() {
      * 
* * repeated string file_pattern = 1; + * * @return The count of filePattern. */ public int getFilePatternCount() { return filePattern_.size(); } /** + * + * *
      * Patterns to identify a set of files for this fileset.
      *
@@ -685,6 +737,7 @@ public int getFilePatternCount() {
      * 
* * repeated string file_pattern = 1; + * * @param index The index of the element to return. * @return The filePattern at the given index. */ @@ -692,6 +745,8 @@ public java.lang.String getFilePattern(int index) { return filePattern_.get(index); } /** + * + * *
      * Patterns to identify a set of files for this fileset.
      *
@@ -716,14 +771,16 @@ public java.lang.String getFilePattern(int index) {
      * 
* * repeated string file_pattern = 1; + * * @param index The index of the value to return. * @return The bytes of the filePattern at the given index. */ - public com.google.protobuf.ByteString - getFilePatternBytes(int index) { + public com.google.protobuf.ByteString getFilePatternBytes(int index) { return filePattern_.getByteString(index); } /** + * + * *
      * Patterns to identify a set of files for this fileset.
      *
@@ -748,13 +805,15 @@ public java.lang.String getFilePattern(int index) {
      * 
* * repeated string file_pattern = 1; + * * @param index The index to set the value at. * @param value The filePattern to set. * @return This builder for chaining. */ - public Builder setFilePattern( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilePattern(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureFilePatternIsMutable(); filePattern_.set(index, value); bitField0_ |= 0x00000001; @@ -762,6 +821,8 @@ public Builder setFilePattern( return this; } /** + * + * *
      * Patterns to identify a set of files for this fileset.
      *
@@ -786,12 +847,14 @@ public Builder setFilePattern(
      * 
* * repeated string file_pattern = 1; + * * @param value The filePattern to add. * @return This builder for chaining. */ - public Builder addFilePattern( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addFilePattern(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureFilePatternIsMutable(); filePattern_.add(value); bitField0_ |= 0x00000001; @@ -799,6 +862,8 @@ public Builder addFilePattern( return this; } /** + * + * *
      * Patterns to identify a set of files for this fileset.
      *
@@ -823,19 +888,20 @@ public Builder addFilePattern(
      * 
* * repeated string file_pattern = 1; + * * @param values The filePattern to add. * @return This builder for chaining. */ - public Builder addAllFilePattern( - java.lang.Iterable values) { + public Builder addAllFilePattern(java.lang.Iterable values) { ensureFilePatternIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, filePattern_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, filePattern_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Patterns to identify a set of files for this fileset.
      *
@@ -860,16 +926,19 @@ public Builder addAllFilePattern(
      * 
* * repeated string file_pattern = 1; + * * @return This builder for chaining. */ public Builder clearFilePattern() { - filePattern_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + filePattern_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
      * Patterns to identify a set of files for this fileset.
      *
@@ -894,12 +963,14 @@ public Builder clearFilePattern() {
      * 
* * repeated string file_pattern = 1; + * * @param value The bytes of the filePattern to add. * @return This builder for chaining. */ - public Builder addFilePatternBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addFilePatternBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureFilePatternIsMutable(); filePattern_.add(value); @@ -910,18 +981,20 @@ public Builder addFilePatternBytes( private java.lang.Object fileType_ = ""; /** + * + * *
      * File type in MIME format, for example, `text/plain`.
      * 
* * string file_type = 2; + * * @return The fileType. */ public java.lang.String getFileType() { java.lang.Object ref = fileType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fileType_ = s; return s; @@ -930,20 +1003,21 @@ public java.lang.String getFileType() { } } /** + * + * *
      * File type in MIME format, for example, `text/plain`.
      * 
* * string file_type = 2; + * * @return The bytes for fileType. */ - public com.google.protobuf.ByteString - getFileTypeBytes() { + public com.google.protobuf.ByteString getFileTypeBytes() { java.lang.Object ref = fileType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fileType_ = b; return b; } else { @@ -951,28 +1025,35 @@ public java.lang.String getFileType() { } } /** + * + * *
      * File type in MIME format, for example, `text/plain`.
      * 
* * string file_type = 2; + * * @param value The fileType to set. * @return This builder for chaining. */ - public Builder setFileType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFileType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } fileType_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * File type in MIME format, for example, `text/plain`.
      * 
* * string file_type = 2; + * * @return This builder for chaining. */ public Builder clearFileType() { @@ -982,26 +1063,30 @@ public Builder clearFileType() { return this; } /** + * + * *
      * File type in MIME format, for example, `text/plain`.
      * 
* * string file_type = 2; + * * @param value The bytes for fileType to set. * @return This builder for chaining. */ - public Builder setFileTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFileTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); fileType_ = 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); } @@ -1011,12 +1096,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.StorageProperties) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.StorageProperties) private static final com.google.cloud.datacatalog.v1.StorageProperties DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.StorageProperties(); } @@ -1025,27 +1110,27 @@ public static com.google.cloud.datacatalog.v1.StorageProperties getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StorageProperties parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StorageProperties parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1060,6 +1145,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.StorageProperties getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StoragePropertiesOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StoragePropertiesOrBuilder.java similarity index 87% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StoragePropertiesOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StoragePropertiesOrBuilder.java index 880c75d04200..8d7df9a38f34 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StoragePropertiesOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StoragePropertiesOrBuilder.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/datacatalog/v1/data_source.proto package com.google.cloud.datacatalog.v1; -public interface StoragePropertiesOrBuilder extends +public interface StoragePropertiesOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.StorageProperties) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Patterns to identify a set of files for this fileset.
    *
@@ -32,11 +50,13 @@ public interface StoragePropertiesOrBuilder extends
    * 
* * repeated string file_pattern = 1; + * * @return A list containing the filePattern. */ - java.util.List - getFilePatternList(); + java.util.List getFilePatternList(); /** + * + * *
    * Patterns to identify a set of files for this fileset.
    *
@@ -61,10 +81,13 @@ public interface StoragePropertiesOrBuilder extends
    * 
* * repeated string file_pattern = 1; + * * @return The count of filePattern. */ int getFilePatternCount(); /** + * + * *
    * Patterns to identify a set of files for this fileset.
    *
@@ -89,11 +112,14 @@ public interface StoragePropertiesOrBuilder extends
    * 
* * repeated string file_pattern = 1; + * * @param index The index of the element to return. * @return The filePattern at the given index. */ java.lang.String getFilePattern(int index); /** + * + * *
    * Patterns to identify a set of files for this fileset.
    *
@@ -118,29 +144,34 @@ public interface StoragePropertiesOrBuilder extends
    * 
* * repeated string file_pattern = 1; + * * @param index The index of the value to return. * @return The bytes of the filePattern at the given index. */ - com.google.protobuf.ByteString - getFilePatternBytes(int index); + com.google.protobuf.ByteString getFilePatternBytes(int index); /** + * + * *
    * File type in MIME format, for example, `text/plain`.
    * 
* * string file_type = 2; + * * @return The fileType. */ java.lang.String getFileType(); /** + * + * *
    * File type in MIME format, for example, `text/plain`.
    * 
* * string file_type = 2; + * * @return The bytes for fileType. */ - com.google.protobuf.ByteString - getFileTypeBytes(); + com.google.protobuf.ByteString getFileTypeBytes(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestamps.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestamps.java similarity index 70% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestamps.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestamps.java index d54970b1388a..0bf4e99477a8 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestamps.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestamps.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/datacatalog/v1/timestamps.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Timestamps associated with this resource in a particular system.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.SystemTimestamps} */ -public final class SystemTimestamps extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SystemTimestamps extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.SystemTimestamps) SystemTimestampsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SystemTimestamps.newBuilder() to construct. private SystemTimestamps(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SystemTimestamps() { - } + + private SystemTimestamps() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SystemTimestamps(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.Timestamps.internal_static_google_cloud_datacatalog_v1_SystemTimestamps_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Timestamps + .internal_static_google_cloud_datacatalog_v1_SystemTimestamps_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Timestamps.internal_static_google_cloud_datacatalog_v1_SystemTimestamps_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Timestamps + .internal_static_google_cloud_datacatalog_v1_SystemTimestamps_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.SystemTimestamps.class, com.google.cloud.datacatalog.v1.SystemTimestamps.Builder.class); + com.google.cloud.datacatalog.v1.SystemTimestamps.class, + com.google.cloud.datacatalog.v1.SystemTimestamps.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Creation timestamp of the resource within the given system.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -57,11 +78,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Creation timestamp of the resource within the given system.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return The createTime. */ @java.lang.Override @@ -69,6 +93,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Creation timestamp of the resource within the given system.
    * 
@@ -83,6 +109,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Timestamp of the last modification of the resource or its metadata within
    * a given system.
@@ -94,6 +122,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp update_time = 2; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -101,6 +130,8 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Timestamp of the last modification of the resource or its metadata within
    * a given system.
@@ -112,6 +143,7 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 2; + * * @return The updateTime. */ @java.lang.Override @@ -119,6 +151,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Timestamp of the last modification of the resource or its metadata within
    * a given system.
@@ -139,13 +173,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   public static final int EXPIRE_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp expireTime_;
   /**
+   *
+   *
    * 
    * Output only. Expiration timestamp of the resource within the given system.
    *
    * Currently only applicable to BigQuery resources.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ @java.lang.Override @@ -153,13 +191,17 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** + * + * *
    * Output only. Expiration timestamp of the resource within the given system.
    *
    * Currently only applicable to BigQuery resources.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expireTime. */ @java.lang.Override @@ -167,13 +209,16 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** + * + * *
    * Output only. Expiration timestamp of the resource within the given system.
    *
    * Currently only applicable to BigQuery resources.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -181,6 +226,7 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -192,8 +238,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -213,16 +258,13 @@ 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 (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateTime()); } if (expireTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getExpireTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getExpireTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -232,27 +274,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.datacatalog.v1.SystemTimestamps)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.SystemTimestamps other = (com.google.cloud.datacatalog.v1.SystemTimestamps) obj; + com.google.cloud.datacatalog.v1.SystemTimestamps other = + (com.google.cloud.datacatalog.v1.SystemTimestamps) obj; 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 (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime() - .equals(other.getExpireTime())) return false; + if (!getExpireTime().equals(other.getExpireTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -282,132 +322,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.SystemTimestamps parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.SystemTimestamps parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.SystemTimestamps parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.SystemTimestamps parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.SystemTimestamps parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.SystemTimestamps parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.SystemTimestamps parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SystemTimestamps parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.SystemTimestamps parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.SystemTimestamps parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.SystemTimestamps parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.SystemTimestamps parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.SystemTimestamps parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.SystemTimestamps parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.SystemTimestamps parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.SystemTimestamps prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Timestamps associated with this resource in a particular system.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.SystemTimestamps} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.SystemTimestamps) com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.Timestamps.internal_static_google_cloud_datacatalog_v1_SystemTimestamps_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Timestamps + .internal_static_google_cloud_datacatalog_v1_SystemTimestamps_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Timestamps.internal_static_google_cloud_datacatalog_v1_SystemTimestamps_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Timestamps + .internal_static_google_cloud_datacatalog_v1_SystemTimestamps_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.SystemTimestamps.class, com.google.cloud.datacatalog.v1.SystemTimestamps.Builder.class); + com.google.cloud.datacatalog.v1.SystemTimestamps.class, + com.google.cloud.datacatalog.v1.SystemTimestamps.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.SystemTimestamps.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -431,9 +475,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.Timestamps.internal_static_google_cloud_datacatalog_v1_SystemTimestamps_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Timestamps + .internal_static_google_cloud_datacatalog_v1_SystemTimestamps_descriptor; } @java.lang.Override @@ -452,8 +496,11 @@ public com.google.cloud.datacatalog.v1.SystemTimestamps build() { @java.lang.Override public com.google.cloud.datacatalog.v1.SystemTimestamps buildPartial() { - com.google.cloud.datacatalog.v1.SystemTimestamps result = new com.google.cloud.datacatalog.v1.SystemTimestamps(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1.SystemTimestamps result = + new com.google.cloud.datacatalog.v1.SystemTimestamps(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -461,19 +508,13 @@ public com.google.cloud.datacatalog.v1.SystemTimestamps buildPartial() { private void buildPartial0(com.google.cloud.datacatalog.v1.SystemTimestamps 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.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.expireTime_ = expireTimeBuilder_ == null - ? expireTime_ - : expireTimeBuilder_.build(); + result.expireTime_ = expireTimeBuilder_ == null ? expireTime_ : expireTimeBuilder_.build(); } } @@ -481,38 +522,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.SystemTimestamps 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.datacatalog.v1.SystemTimestamps) { - return mergeFrom((com.google.cloud.datacatalog.v1.SystemTimestamps)other); + return mergeFrom((com.google.cloud.datacatalog.v1.SystemTimestamps) other); } else { super.mergeFrom(other); return this; @@ -520,7 +562,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.SystemTimestamps other) { - if (other == com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance()) return this; + if (other == com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance()) + return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -556,33 +599,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getExpireTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getExpireTimeFieldBuilder().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) { @@ -592,38 +633,52 @@ 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_; /** + * + * *
      * Creation timestamp of the resource within the given system.
      * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Creation timestamp of the resource within the given system.
      * 
* * .google.protobuf.Timestamp create_time = 1; + * * @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(); } } /** + * + * *
      * Creation timestamp of the resource within the given system.
      * 
@@ -644,14 +699,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Creation timestamp of the resource within the given system.
      * 
* * .google.protobuf.Timestamp create_time = 1; */ - 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 { @@ -662,6 +718,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Creation timestamp of the resource within the given system.
      * 
@@ -670,9 +728,9 @@ public Builder setCreateTime( */ 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; @@ -685,6 +743,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Creation timestamp of the resource within the given system.
      * 
@@ -702,6 +762,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Creation timestamp of the resource within the given system.
      * 
@@ -714,6 +776,8 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Creation timestamp of the resource within the given system.
      * 
@@ -724,11 +788,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_; } } /** + * + * *
      * Creation timestamp of the resource within the given system.
      * 
@@ -736,14 +803,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_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> 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_; @@ -751,8 +821,13 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Timestamp of the last modification of the resource or its metadata within
      * a given system.
@@ -764,12 +839,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp update_time = 2; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Timestamp of the last modification of the resource or its metadata within
      * a given system.
@@ -781,16 +859,21 @@ public boolean hasUpdateTime() {
      * 
* * .google.protobuf.Timestamp update_time = 2; + * * @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(); } } /** + * + * *
      * Timestamp of the last modification of the resource or its metadata within
      * a given system.
@@ -817,6 +900,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamp of the last modification of the resource or its metadata within
      * a given system.
@@ -829,8 +914,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 2;
      */
-    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 {
@@ -841,6 +925,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamp of the last modification of the resource or its metadata within
      * a given system.
@@ -855,9 +941,9 @@ public Builder setUpdateTime(
      */
     public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          updateTime_ != null &&
-          updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && updateTime_ != null
+            && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getUpdateTimeBuilder().mergeFrom(value);
         } else {
           updateTime_ = value;
@@ -870,6 +956,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamp of the last modification of the resource or its metadata within
      * a given system.
@@ -893,6 +981,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamp of the last modification of the resource or its metadata within
      * a given system.
@@ -911,6 +1001,8 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Timestamp of the last modification of the resource or its metadata within
      * a given system.
@@ -927,11 +1019,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_;
       }
     }
     /**
+     *
+     *
      * 
      * Timestamp of the last modification of the resource or its metadata within
      * a given system.
@@ -945,14 +1040,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         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_;
@@ -960,45 +1058,64 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp expireTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        expireTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Expiration timestamp of the resource within the given system.
      *
      * Currently only applicable to BigQuery resources.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. Expiration timestamp of the resource within the given system.
      *
      * Currently only applicable to BigQuery resources.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + return expireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Expiration timestamp of the resource within the given system.
      *
      * Currently only applicable to BigQuery resources.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -1014,16 +1131,19 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Expiration timestamp of the resource within the given system.
      *
      * Currently only applicable to BigQuery resources.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setExpireTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); } else { @@ -1034,19 +1154,23 @@ public Builder setExpireTime( return this; } /** + * + * *
      * Output only. Expiration timestamp of the resource within the given system.
      *
      * Currently only applicable to BigQuery resources.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - expireTime_ != null && - expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && expireTime_ != null + && expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpireTimeBuilder().mergeFrom(value); } else { expireTime_ = value; @@ -1059,13 +1183,17 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Expiration timestamp of the resource within the given system.
      *
      * Currently only applicable to BigQuery resources.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearExpireTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1078,13 +1206,17 @@ public Builder clearExpireTime() { return this; } /** + * + * *
      * Output only. Expiration timestamp of the resource within the given system.
      *
      * Currently only applicable to BigQuery resources.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { bitField0_ |= 0x00000004; @@ -1092,47 +1224,59 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { return getExpireTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Expiration timestamp of the resource within the given system.
      *
      * Currently only applicable to BigQuery resources.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + return expireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expireTime_; } } /** + * + * *
      * Output only. Expiration timestamp of the resource within the given system.
      *
      * Currently only applicable to BigQuery resources.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_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> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), - getParentForChildren(), - isClean()); + expireTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), getParentForChildren(), isClean()); expireTime_ = null; } return expireTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1142,12 +1286,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.SystemTimestamps) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.SystemTimestamps) private static final com.google.cloud.datacatalog.v1.SystemTimestamps DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.SystemTimestamps(); } @@ -1156,27 +1300,27 @@ public static com.google.cloud.datacatalog.v1.SystemTimestamps getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SystemTimestamps parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SystemTimestamps parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1191,6 +1335,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.SystemTimestamps getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestampsOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestampsOrBuilder.java similarity index 78% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestampsOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestampsOrBuilder.java index e6d6a1575877..b6b83410bee7 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestampsOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestampsOrBuilder.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/datacatalog/v1/timestamps.proto package com.google.cloud.datacatalog.v1; -public interface SystemTimestampsOrBuilder extends +public interface SystemTimestampsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.SystemTimestamps) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Creation timestamp of the resource within the given system.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Creation timestamp of the resource within the given system.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Creation timestamp of the resource within the given system.
    * 
@@ -35,6 +59,8 @@ public interface SystemTimestampsOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Timestamp of the last modification of the resource or its metadata within
    * a given system.
@@ -46,10 +72,13 @@ public interface SystemTimestampsOrBuilder extends
    * 
* * .google.protobuf.Timestamp update_time = 2; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Timestamp of the last modification of the resource or its metadata within
    * a given system.
@@ -61,10 +90,13 @@ public interface SystemTimestampsOrBuilder extends
    * 
* * .google.protobuf.Timestamp update_time = 2; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Timestamp of the last modification of the resource or its metadata within
    * a given system.
@@ -80,35 +112,46 @@ public interface SystemTimestampsOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. Expiration timestamp of the resource within the given system.
    *
    * Currently only applicable to BigQuery resources.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** + * + * *
    * Output only. Expiration timestamp of the resource within the given system.
    *
    * Currently only applicable to BigQuery resources.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** + * + * *
    * Output only. Expiration timestamp of the resource within the given system.
    *
    * Currently only applicable to BigQuery resources.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSourceType.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSourceType.java similarity index 66% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSourceType.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSourceType.java index bbfb67051faa..8d5cd97ad36f 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSourceType.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSourceType.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/datacatalog/v1/table_spec.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Table source type.
  * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.TableSourceType} */ -public enum TableSourceType - implements com.google.protobuf.ProtocolMessageEnum { +public enum TableSourceType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Default unknown type.
    * 
@@ -21,6 +39,8 @@ public enum TableSourceType */ TABLE_SOURCE_TYPE_UNSPECIFIED(0), /** + * + * *
    * Table view.
    * 
@@ -29,6 +49,8 @@ public enum TableSourceType */ BIGQUERY_VIEW(2), /** + * + * *
    * BigQuery native table.
    * 
@@ -37,6 +59,8 @@ public enum TableSourceType */ BIGQUERY_TABLE(5), /** + * + * *
    * BigQuery materialized view.
    * 
@@ -48,6 +72,8 @@ public enum TableSourceType ; /** + * + * *
    * Default unknown type.
    * 
@@ -56,6 +82,8 @@ public enum TableSourceType */ public static final int TABLE_SOURCE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Table view.
    * 
@@ -64,6 +92,8 @@ public enum TableSourceType */ public static final int BIGQUERY_VIEW_VALUE = 2; /** + * + * *
    * BigQuery native table.
    * 
@@ -72,6 +102,8 @@ public enum TableSourceType */ public static final int BIGQUERY_TABLE_VALUE = 5; /** + * + * *
    * BigQuery materialized view.
    * 
@@ -80,7 +112,6 @@ public enum TableSourceType */ public static final int BIGQUERY_MATERIALIZED_VIEW_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -105,50 +136,53 @@ public static TableSourceType valueOf(int value) { */ public static TableSourceType forNumber(int value) { switch (value) { - case 0: return TABLE_SOURCE_TYPE_UNSPECIFIED; - case 2: return BIGQUERY_VIEW; - case 5: return BIGQUERY_TABLE; - case 7: return BIGQUERY_MATERIALIZED_VIEW; - default: return null; + case 0: + return TABLE_SOURCE_TYPE_UNSPECIFIED; + case 2: + return BIGQUERY_VIEW; + case 5: + return BIGQUERY_TABLE; + case 7: + return BIGQUERY_MATERIALIZED_VIEW; + 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< - TableSourceType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TableSourceType findValueByNumber(int number) { - return TableSourceType.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 TableSourceType findValueByNumber(int number) { + return TableSourceType.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.datacatalog.v1.TableSpecOuterClass.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.TableSpecOuterClass.getDescriptor() + .getEnumTypes() + .get(0); } private static final TableSourceType[] VALUES = values(); - public static TableSourceType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static TableSourceType 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; @@ -164,4 +198,3 @@ private TableSourceType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1.TableSourceType) } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpec.java similarity index 65% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpec.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpec.java index 2642845cf3dd..0aa92b72cb8d 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpec.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/datacatalog/v1/table_spec.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Normal BigQuery table specification.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.TableSpec} */ -public final class TableSpec extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TableSpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.TableSpec) TableSpecOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TableSpec.newBuilder() to construct. private TableSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TableSpec() { groupedEntry_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TableSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_TableSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.TableSpecOuterClass + .internal_static_google_cloud_datacatalog_v1_TableSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_TableSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.TableSpecOuterClass + .internal_static_google_cloud_datacatalog_v1_TableSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.TableSpec.class, com.google.cloud.datacatalog.v1.TableSpec.Builder.class); + com.google.cloud.datacatalog.v1.TableSpec.class, + com.google.cloud.datacatalog.v1.TableSpec.Builder.class); } public static final int GROUPED_ENTRY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object groupedEntry_ = ""; /** + * + * *
    * Output only. If the table is date-sharded, that is, it matches the
    * `[prefix]YYYYMMDD` name pattern, this field is the Data Catalog resource
@@ -57,7 +79,10 @@ protected java.lang.Object newInstance(
    * Otherwise, `grouped_entry` is empty.
    * 
* - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The groupedEntry. */ @java.lang.Override @@ -66,14 +91,15 @@ public java.lang.String getGroupedEntry() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); groupedEntry_ = s; return s; } } /** + * + * *
    * Output only. If the table is date-sharded, that is, it matches the
    * `[prefix]YYYYMMDD` name pattern, this field is the Data Catalog resource
@@ -84,17 +110,18 @@ public java.lang.String getGroupedEntry() {
    * Otherwise, `grouped_entry` is empty.
    * 
* - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for groupedEntry. */ @java.lang.Override - public com.google.protobuf.ByteString - getGroupedEntryBytes() { + public com.google.protobuf.ByteString getGroupedEntryBytes() { java.lang.Object ref = groupedEntry_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); groupedEntry_ = b; return b; } else { @@ -103,6 +130,7 @@ public java.lang.String getGroupedEntry() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -114,8 +142,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(groupedEntry_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, groupedEntry_); } @@ -139,15 +166,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.TableSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.TableSpec other = (com.google.cloud.datacatalog.v1.TableSpec) obj; + com.google.cloud.datacatalog.v1.TableSpec other = + (com.google.cloud.datacatalog.v1.TableSpec) obj; - if (!getGroupedEntry() - .equals(other.getGroupedEntry())) return false; + if (!getGroupedEntry().equals(other.getGroupedEntry())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -166,132 +193,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.TableSpec parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.TableSpec parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.TableSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.TableSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.TableSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.TableSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.TableSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.TableSpec parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.TableSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TableSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.TableSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.TableSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.TableSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.TableSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.TableSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Normal BigQuery table specification.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.TableSpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.TableSpec) com.google.cloud.datacatalog.v1.TableSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_TableSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.TableSpecOuterClass + .internal_static_google_cloud_datacatalog_v1_TableSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_TableSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.TableSpecOuterClass + .internal_static_google_cloud_datacatalog_v1_TableSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.TableSpec.class, com.google.cloud.datacatalog.v1.TableSpec.Builder.class); + com.google.cloud.datacatalog.v1.TableSpec.class, + com.google.cloud.datacatalog.v1.TableSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.TableSpec.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -301,9 +332,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_TableSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.TableSpecOuterClass + .internal_static_google_cloud_datacatalog_v1_TableSpec_descriptor; } @java.lang.Override @@ -322,8 +353,11 @@ public com.google.cloud.datacatalog.v1.TableSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1.TableSpec buildPartial() { - com.google.cloud.datacatalog.v1.TableSpec result = new com.google.cloud.datacatalog.v1.TableSpec(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1.TableSpec result = + new com.google.cloud.datacatalog.v1.TableSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -339,38 +373,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.TableSpec result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.TableSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1.TableSpec)other); + return mergeFrom((com.google.cloud.datacatalog.v1.TableSpec) other); } else { super.mergeFrom(other); return this; @@ -410,17 +445,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - groupedEntry_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + groupedEntry_ = 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) { @@ -430,10 +467,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object groupedEntry_ = ""; /** + * + * *
      * Output only. If the table is date-sharded, that is, it matches the
      * `[prefix]YYYYMMDD` name pattern, this field is the Data Catalog resource
@@ -444,14 +484,16 @@ public Builder mergeFrom(
      * Otherwise, `grouped_entry` is empty.
      * 
* - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The groupedEntry. */ public java.lang.String getGroupedEntry() { java.lang.Object ref = groupedEntry_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); groupedEntry_ = s; return s; @@ -460,6 +502,8 @@ public java.lang.String getGroupedEntry() { } } /** + * + * *
      * Output only. If the table is date-sharded, that is, it matches the
      * `[prefix]YYYYMMDD` name pattern, this field is the Data Catalog resource
@@ -470,16 +514,17 @@ public java.lang.String getGroupedEntry() {
      * Otherwise, `grouped_entry` is empty.
      * 
* - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for groupedEntry. */ - public com.google.protobuf.ByteString - getGroupedEntryBytes() { + public com.google.protobuf.ByteString getGroupedEntryBytes() { java.lang.Object ref = groupedEntry_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); groupedEntry_ = b; return b; } else { @@ -487,6 +532,8 @@ public java.lang.String getGroupedEntry() { } } /** + * + * *
      * Output only. If the table is date-sharded, that is, it matches the
      * `[prefix]YYYYMMDD` name pattern, this field is the Data Catalog resource
@@ -497,19 +544,25 @@ public java.lang.String getGroupedEntry() {
      * Otherwise, `grouped_entry` is empty.
      * 
* - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The groupedEntry to set. * @return This builder for chaining. */ - public Builder setGroupedEntry( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGroupedEntry(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } groupedEntry_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. If the table is date-sharded, that is, it matches the
      * `[prefix]YYYYMMDD` name pattern, this field is the Data Catalog resource
@@ -520,7 +573,10 @@ public Builder setGroupedEntry(
      * Otherwise, `grouped_entry` is empty.
      * 
* - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearGroupedEntry() { @@ -530,6 +586,8 @@ public Builder clearGroupedEntry() { return this; } /** + * + * *
      * Output only. If the table is date-sharded, that is, it matches the
      * `[prefix]YYYYMMDD` name pattern, this field is the Data Catalog resource
@@ -540,22 +598,26 @@ public Builder clearGroupedEntry() {
      * Otherwise, `grouped_entry` is empty.
      * 
* - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for groupedEntry to set. * @return This builder for chaining. */ - public Builder setGroupedEntryBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGroupedEntryBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); groupedEntry_ = 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); } @@ -565,12 +627,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.TableSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.TableSpec) private static final com.google.cloud.datacatalog.v1.TableSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.TableSpec(); } @@ -579,27 +641,27 @@ public static com.google.cloud.datacatalog.v1.TableSpec getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +676,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.TableSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOrBuilder.java similarity index 54% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOrBuilder.java index d1cdaa191062..f5620d0fff9b 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOrBuilder.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/datacatalog/v1/table_spec.proto package com.google.cloud.datacatalog.v1; -public interface TableSpecOrBuilder extends +public interface TableSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.TableSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. If the table is date-sharded, that is, it matches the
    * `[prefix]YYYYMMDD` name pattern, this field is the Data Catalog resource
@@ -18,11 +36,16 @@ public interface TableSpecOrBuilder extends
    * Otherwise, `grouped_entry` is empty.
    * 
* - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The groupedEntry. */ java.lang.String getGroupedEntry(); /** + * + * *
    * Output only. If the table is date-sharded, that is, it matches the
    * `[prefix]YYYYMMDD` name pattern, this field is the Data Catalog resource
@@ -33,9 +56,11 @@ public interface TableSpecOrBuilder extends
    * Otherwise, `grouped_entry` is empty.
    * 
* - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for groupedEntry. */ - com.google.protobuf.ByteString - getGroupedEntryBytes(); + com.google.protobuf.ByteString getGroupedEntryBytes(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOuterClass.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOuterClass.java new file mode 100644 index 000000000000..c23b7acd882f --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOuterClass.java @@ -0,0 +1,132 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/table_spec.proto + +package com.google.cloud.datacatalog.v1; + +public final class TableSpecOuterClass { + private TableSpecOuterClass() {} + + 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_datacatalog_v1_BigQueryTableSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_BigQueryTableSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ViewSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ViewSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_TableSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_TableSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_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/datacatalog/v1/table_spec" + + ".proto\022\033google.cloud.datacatalog.v1\032\037goo" + + "gle/api/field_behavior.proto\032\031google/api" + + "/resource.proto\"\351\001\n\021BigQueryTableSpec\022M\n" + + "\021table_source_type\030\001 \001(\0162,.google.cloud." + + "datacatalog.v1.TableSourceTypeB\004\342A\001\003\022:\n\t" + + "view_spec\030\002 \001(\0132%.google.cloud.datacatal" + + "og.v1.ViewSpecH\000\022<\n\ntable_spec\030\003 \001(\0132&.g" + + "oogle.cloud.datacatalog.v1.TableSpecH\000B\013" + + "\n\ttype_spec\"$\n\010ViewSpec\022\030\n\nview_query\030\001 " + + "\001(\tB\004\342A\001\003\"M\n\tTableSpec\022@\n\rgrouped_entry\030" + + "\001 \001(\tB)\342A\001\003\372A\"\n datacatalog.googleapis.c" + + "om/Entry\"\261\001\n\027BigQueryDateShardedSpec\022:\n\007" + + "dataset\030\001 \001(\tB)\342A\001\003\372A\"\n datacatalog.goog" + + "leapis.com/Entry\022\032\n\014table_prefix\030\002 \001(\tB\004" + + "\342A\001\003\022\031\n\013shard_count\030\003 \001(\003B\004\342A\001\003\022#\n\025lates" + + "t_shard_resource\030\004 \001(\tB\004\342A\001\003*{\n\017TableSou" + + "rceType\022!\n\035TABLE_SOURCE_TYPE_UNSPECIFIED" + + "\020\000\022\021\n\rBIGQUERY_VIEW\020\002\022\022\n\016BIGQUERY_TABLE\020" + + "\005\022\036\n\032BIGQUERY_MATERIALIZED_VIEW\020\007B\306\001\n\037co" + + "m.google.cloud.datacatalog.v1P\001ZAcloud.g" + + "oogle.com/go/datacatalog/apiv1/datacatal" + + "ogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud.Dat" + + "aCatalog.V1\312\002\033Google\\Cloud\\DataCatalog\\V" + + "1\352\002\036Google::Cloud::DataCatalog::V1b\006prot" + + "o3" + }; + 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_datacatalog_v1_BigQueryTableSpec_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1_BigQueryTableSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_BigQueryTableSpec_descriptor, + new java.lang.String[] { + "TableSourceType", "ViewSpec", "TableSpec", "TypeSpec", + }); + internal_static_google_cloud_datacatalog_v1_ViewSpec_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1_ViewSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ViewSpec_descriptor, + new java.lang.String[] { + "ViewQuery", + }); + internal_static_google_cloud_datacatalog_v1_TableSpec_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_datacatalog_v1_TableSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_TableSpec_descriptor, + new java.lang.String[] { + "GroupedEntry", + }); + internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_descriptor, + new java.lang.String[] { + "Dataset", "TablePrefix", "ShardCount", "LatestShardResource", + }); + 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-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tag.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tag.java similarity index 69% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tag.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tag.java index da9e2bcc74ca..1c2a67ecd99c 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tag.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tag.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/tags.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Tags contain custom metadata and are attached to Data Catalog resources. Tags
  * conform with the specification of their tag template.
@@ -15,15 +32,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.Tag}
  */
-public final class Tag extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Tag extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.Tag)
     TagOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Tag.newBuilder() to construct.
   private Tag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Tag() {
     name_ = "";
     template_ = "";
@@ -32,45 +50,49 @@ private Tag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Tag();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_Tag_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Tags
+        .internal_static_google_cloud_datacatalog_v1_Tag_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 internalGetFields();
       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.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_Tag_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Tags
+        .internal_static_google_cloud_datacatalog_v1_Tag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.Tag.class, com.google.cloud.datacatalog.v1.Tag.Builder.class);
+            com.google.cloud.datacatalog.v1.Tag.class,
+            com.google.cloud.datacatalog.v1.Tag.Builder.class);
   }
 
   private int scopeCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object scope_;
+
   public enum ScopeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     COLUMN(4),
     SCOPE_NOT_SET(0);
     private final int value;
+
     private ScopeCase(int value) {
       this.value = value;
     }
@@ -86,26 +108,31 @@ public static ScopeCase valueOf(int value) {
 
     public static ScopeCase forNumber(int value) {
       switch (value) {
-        case 4: return COLUMN;
-        case 0: return SCOPE_NOT_SET;
-        default: return null;
+        case 4:
+          return COLUMN;
+        case 0:
+          return SCOPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ScopeCase
-  getScopeCase() {
-    return ScopeCase.forNumber(
-        scopeCase_);
+  public ScopeCase getScopeCase() {
+    return ScopeCase.forNumber(scopeCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The resource name of the tag in URL format where tag ID is a
    * system-generated identifier.
@@ -115,6 +142,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -123,14 +151,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The resource name of the tag in URL format where tag ID is a
    * system-generated identifier.
@@ -140,16 +169,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -158,9 +186,12 @@ public java.lang.String getName() { } public static final int TEMPLATE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object template_ = ""; /** + * + * *
    * Required. The resource name of the tag template this tag uses. Example:
    *
@@ -170,6 +201,7 @@ public java.lang.String getName() {
    * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The template. */ @java.lang.Override @@ -178,14 +210,15 @@ public java.lang.String getTemplate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); template_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tag template this tag uses. Example:
    *
@@ -195,16 +228,15 @@ public java.lang.String getTemplate() {
    * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for template. */ @java.lang.Override - public com.google.protobuf.ByteString - getTemplateBytes() { + public com.google.protobuf.ByteString getTemplateBytes() { java.lang.Object ref = template_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); template_ = b; return b; } else { @@ -213,14 +245,18 @@ public java.lang.String getTemplate() { } public static final int TEMPLATE_DISPLAY_NAME_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object templateDisplayName_ = ""; /** + * + * *
    * Output only. The display name of the tag template.
    * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The templateDisplayName. */ @java.lang.Override @@ -229,29 +265,29 @@ public java.lang.String getTemplateDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); templateDisplayName_ = s; return s; } } /** + * + * *
    * Output only. The display name of the tag template.
    * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for templateDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getTemplateDisplayNameBytes() { + public com.google.protobuf.ByteString getTemplateDisplayNameBytes() { java.lang.Object ref = templateDisplayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); templateDisplayName_ = b; return b; } else { @@ -261,6 +297,8 @@ public java.lang.String getTemplateDisplayName() { public static final int COLUMN_FIELD_NUMBER = 4; /** + * + * *
    * Resources like entry can have schemas associated with them. This scope
    * allows you to attach tags to an individual column based on that schema.
@@ -270,12 +308,15 @@ public java.lang.String getTemplateDisplayName() {
    * 
* * string column = 4; + * * @return Whether the column field is set. */ public boolean hasColumn() { return scopeCase_ == 4; } /** + * + * *
    * Resources like entry can have schemas associated with them. This scope
    * allows you to attach tags to an individual column based on that schema.
@@ -285,6 +326,7 @@ public boolean hasColumn() {
    * 
* * string column = 4; + * * @return The column. */ public java.lang.String getColumn() { @@ -295,8 +337,7 @@ 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(); if (scopeCase_ == 4) { scope_ = s; @@ -305,6 +346,8 @@ public java.lang.String getColumn() { } } /** + * + * *
    * Resources like entry can have schemas associated with them. This scope
    * allows you to attach tags to an individual column based on that schema.
@@ -314,18 +357,17 @@ public java.lang.String getColumn() {
    * 
* * string column = 4; + * * @return The bytes for column. */ - public com.google.protobuf.ByteString - getColumnBytes() { + public com.google.protobuf.ByteString getColumnBytes() { java.lang.Object ref = ""; if (scopeCase_ == 4) { ref = scope_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (scopeCase_ == 4) { scope_ = b; } @@ -336,32 +378,39 @@ public java.lang.String getColumn() { } public static final int FIELDS_FIELD_NUMBER = 3; + private static final class FieldsDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.datacatalog.v1.TagField> defaultEntry = + java.lang.String, com.google.cloud.datacatalog.v1.TagField> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_Tag_FieldsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.datacatalog.v1.TagField.getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.datacatalog.v1.Tags + .internal_static_google_cloud_datacatalog_v1_Tag_FieldsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.datacatalog.v1.TagField.getDefaultInstance()); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1.TagField> fields_; private com.google.protobuf.MapField - internalGetFields() { + fields_; + + private com.google.protobuf.MapField + internalGetFields() { if (fields_ == null) { - return com.google.protobuf.MapField.emptyMapField( - FieldsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(FieldsDefaultEntryHolder.defaultEntry); } return fields_; } + public int getFieldsCount() { return internalGetFields().getMap().size(); } /** + * + * *
    * Required. Maps the ID of a tag field to its value and additional
    * information about that field.
@@ -370,23 +419,26 @@ public int getFieldsCount() {
    * must have at least 1 field and at most 500 fields.
    * 
* - * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public boolean containsFields( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsFields(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetFields().getMap().containsKey(key); } - /** - * Use {@link #getFieldsMap()} instead. - */ + /** Use {@link #getFieldsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getFields() { return getFieldsMap(); } /** + * + * *
    * Required. Maps the ID of a tag field to its value and additional
    * information about that field.
@@ -395,13 +447,17 @@ public java.util.Map
    * must have at least 1 field and at most 500 fields.
    * 
* - * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.Map getFieldsMap() { return internalGetFields().getMap(); } /** + * + * *
    * Required. Maps the ID of a tag field to its value and additional
    * information about that field.
@@ -410,20 +466,25 @@ public java.util.Map
    * must have at least 1 field and at most 500 fields.
    * 
* - * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public /* nullable */ -com.google.cloud.datacatalog.v1.TagField getFieldsOrDefault( + public /* nullable */ com.google.cloud.datacatalog.v1.TagField getFieldsOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.datacatalog.v1.TagField defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + com.google.cloud.datacatalog.v1.TagField defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetFields().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Required. Maps the ID of a tag field to its value and additional
    * information about that field.
@@ -432,12 +493,15 @@ com.google.cloud.datacatalog.v1.TagField getFieldsOrDefault(
    * must have at least 1 field and at most 500 fields.
    * 
* - * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1.TagField getFieldsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public com.google.cloud.datacatalog.v1.TagField getFieldsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetFields().getMap(); if (!map.containsKey(key)) { @@ -447,6 +511,7 @@ public com.google.cloud.datacatalog.v1.TagField getFieldsOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -458,20 +523,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(template_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, template_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetFields(), - FieldsDefaultEntryHolder.defaultEntry, - 3); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetFields(), FieldsDefaultEntryHolder.defaultEntry, 3); if (scopeCase_ == 4) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, scope_); } @@ -493,15 +553,16 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(template_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, template_); } - for (java.util.Map.Entry entry - : internalGetFields().getMap().entrySet()) { + for (java.util.Map.Entry entry : + internalGetFields().getMap().entrySet()) { com.google.protobuf.MapEntry - fields__ = FieldsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, fields__); + fields__ = + FieldsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, fields__); } if (scopeCase_ == 4) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, scope_); @@ -517,26 +578,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.datacatalog.v1.Tag)) { return super.equals(obj); } com.google.cloud.datacatalog.v1.Tag other = (com.google.cloud.datacatalog.v1.Tag) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getTemplate() - .equals(other.getTemplate())) return false; - if (!getTemplateDisplayName() - .equals(other.getTemplateDisplayName())) return false; - if (!internalGetFields().equals( - other.internalGetFields())) return false; + if (!getName().equals(other.getName())) return false; + if (!getTemplate().equals(other.getTemplate())) return false; + if (!getTemplateDisplayName().equals(other.getTemplateDisplayName())) return false; + if (!internalGetFields().equals(other.internalGetFields())) return false; if (!getScopeCase().equals(other.getScopeCase())) return false; switch (scopeCase_) { case 4: - if (!getColumn() - .equals(other.getColumn())) return false; + if (!getColumn().equals(other.getColumn())) return false; break; case 0: default: @@ -575,99 +631,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.Tag parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.Tag parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.Tag parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.Tag parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.datacatalog.v1.Tag parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.Tag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.Tag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.Tag parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.Tag parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.Tag parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.datacatalog.v1.Tag parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.Tag parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.Tag parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.Tag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.Tag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Tags contain custom metadata and are attached to Data Catalog resources. Tags
    * conform with the specification of their tag template.
@@ -679,55 +739,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.Tag}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.Tag)
       com.google.cloud.datacatalog.v1.TagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_Tag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Tags
+          .internal_static_google_cloud_datacatalog_v1_Tag_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 3:
           return internalGetFields();
         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 internalGetMutableFields();
         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.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_Tag_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Tags
+          .internal_static_google_cloud_datacatalog_v1_Tag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.Tag.class, com.google.cloud.datacatalog.v1.Tag.Builder.class);
+              com.google.cloud.datacatalog.v1.Tag.class,
+              com.google.cloud.datacatalog.v1.Tag.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.Tag.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -742,9 +799,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_Tag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Tags
+          .internal_static_google_cloud_datacatalog_v1_Tag_descriptor;
     }
 
     @java.lang.Override
@@ -764,7 +821,9 @@ public com.google.cloud.datacatalog.v1.Tag build() {
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.Tag buildPartial() {
       com.google.cloud.datacatalog.v1.Tag result = new com.google.cloud.datacatalog.v1.Tag(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -796,38 +855,39 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.Tag result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.Tag) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.Tag)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.Tag) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -851,19 +911,20 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.Tag other) {
         bitField0_ |= 0x00000004;
         onChanged();
       }
-      internalGetMutableFields().mergeFrom(
-          other.internalGetFields());
+      internalGetMutableFields().mergeFrom(other.internalGetFields());
       bitField0_ |= 0x00000010;
       switch (other.getScopeCase()) {
-        case COLUMN: {
-          scopeCase_ = 4;
-          scope_ = other.scope_;
-          onChanged();
-          break;
-        }
-        case SCOPE_NOT_SET: {
-          break;
-        }
+        case COLUMN:
+          {
+            scopeCase_ = 4;
+            scope_ = other.scope_;
+            onChanged();
+            break;
+          }
+        case SCOPE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -891,42 +952,52 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              template_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              com.google.protobuf.MapEntry
-              fields__ = input.readMessage(
-                  FieldsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableFields().getMutableMap().put(
-                  fields__.getKey(), fields__.getValue());
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 26
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
-              scopeCase_ = 4;
-              scope_ = s;
-              break;
-            } // case 34
-            case 42: {
-              templateDisplayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                template_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                com.google.protobuf.MapEntry<
+                        java.lang.String, com.google.cloud.datacatalog.v1.TagField>
+                    fields__ =
+                        input.readMessage(
+                            FieldsDefaultEntryHolder.defaultEntry.getParserForType(),
+                            extensionRegistry);
+                internalGetMutableFields()
+                    .getMutableMap()
+                    .put(fields__.getKey(), fields__.getValue());
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 26
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                scopeCase_ = 4;
+                scope_ = s;
+                break;
+              } // case 34
+            case 42:
+              {
+                templateDisplayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                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) {
@@ -936,12 +1007,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int scopeCase_ = 0;
     private java.lang.Object scope_;
-    public ScopeCase
-        getScopeCase() {
-      return ScopeCase.forNumber(
-          scopeCase_);
+
+    public ScopeCase getScopeCase() {
+      return ScopeCase.forNumber(scopeCase_);
     }
 
     public Builder clearScope() {
@@ -955,6 +1026,8 @@ public Builder clearScope() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The resource name of the tag in URL format where tag ID is a
      * system-generated identifier.
@@ -964,13 +1037,13 @@ public Builder clearScope() {
      * 
* * 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; @@ -979,6 +1052,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the tag in URL format where tag ID is a
      * system-generated identifier.
@@ -988,15 +1063,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 { @@ -1004,6 +1078,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the tag in URL format where tag ID is a
      * system-generated identifier.
@@ -1013,18 +1089,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The resource name of the tag in URL format where tag ID is a
      * system-generated identifier.
@@ -1034,6 +1114,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1043,6 +1124,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The resource name of the tag in URL format where tag ID is a
      * system-generated identifier.
@@ -1052,12 +1135,14 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1067,6 +1152,8 @@ public Builder setNameBytes( private java.lang.Object template_ = ""; /** + * + * *
      * Required. The resource name of the tag template this tag uses. Example:
      *
@@ -1076,13 +1163,13 @@ public Builder setNameBytes(
      * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The template. */ public java.lang.String getTemplate() { java.lang.Object ref = template_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); template_ = s; return s; @@ -1091,6 +1178,8 @@ public java.lang.String getTemplate() { } } /** + * + * *
      * Required. The resource name of the tag template this tag uses. Example:
      *
@@ -1100,15 +1189,14 @@ public java.lang.String getTemplate() {
      * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for template. */ - public com.google.protobuf.ByteString - getTemplateBytes() { + public com.google.protobuf.ByteString getTemplateBytes() { java.lang.Object ref = template_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); template_ = b; return b; } else { @@ -1116,6 +1204,8 @@ public java.lang.String getTemplate() { } } /** + * + * *
      * Required. The resource name of the tag template this tag uses. Example:
      *
@@ -1125,18 +1215,22 @@ public java.lang.String getTemplate() {
      * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The template to set. * @return This builder for chaining. */ - public Builder setTemplate( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTemplate(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } template_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tag template this tag uses. Example:
      *
@@ -1146,6 +1240,7 @@ public Builder setTemplate(
      * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTemplate() { @@ -1155,6 +1250,8 @@ public Builder clearTemplate() { return this; } /** + * + * *
      * Required. The resource name of the tag template this tag uses. Example:
      *
@@ -1164,12 +1261,14 @@ public Builder clearTemplate() {
      * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for template to set. * @return This builder for chaining. */ - public Builder setTemplateBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTemplateBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); template_ = value; bitField0_ |= 0x00000002; @@ -1179,18 +1278,20 @@ public Builder setTemplateBytes( private java.lang.Object templateDisplayName_ = ""; /** + * + * *
      * Output only. The display name of the tag template.
      * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The templateDisplayName. */ public java.lang.String getTemplateDisplayName() { java.lang.Object ref = templateDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); templateDisplayName_ = s; return s; @@ -1199,20 +1300,21 @@ public java.lang.String getTemplateDisplayName() { } } /** + * + * *
      * Output only. The display name of the tag template.
      * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for templateDisplayName. */ - public com.google.protobuf.ByteString - getTemplateDisplayNameBytes() { + public com.google.protobuf.ByteString getTemplateDisplayNameBytes() { java.lang.Object ref = templateDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); templateDisplayName_ = b; return b; } else { @@ -1220,28 +1322,35 @@ public java.lang.String getTemplateDisplayName() { } } /** + * + * *
      * Output only. The display name of the tag template.
      * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The templateDisplayName to set. * @return This builder for chaining. */ - public Builder setTemplateDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTemplateDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } templateDisplayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. The display name of the tag template.
      * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTemplateDisplayName() { @@ -1251,17 +1360,21 @@ public Builder clearTemplateDisplayName() { return this; } /** + * + * *
      * Output only. The display name of the tag template.
      * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for templateDisplayName to set. * @return This builder for chaining. */ - public Builder setTemplateDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTemplateDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); templateDisplayName_ = value; bitField0_ |= 0x00000004; @@ -1270,6 +1383,8 @@ public Builder setTemplateDisplayNameBytes( } /** + * + * *
      * Resources like entry can have schemas associated with them. This scope
      * allows you to attach tags to an individual column based on that schema.
@@ -1279,6 +1394,7 @@ public Builder setTemplateDisplayNameBytes(
      * 
* * string column = 4; + * * @return Whether the column field is set. */ @java.lang.Override @@ -1286,6 +1402,8 @@ public boolean hasColumn() { return scopeCase_ == 4; } /** + * + * *
      * Resources like entry can have schemas associated with them. This scope
      * allows you to attach tags to an individual column based on that schema.
@@ -1295,6 +1413,7 @@ public boolean hasColumn() {
      * 
* * string column = 4; + * * @return The column. */ @java.lang.Override @@ -1304,8 +1423,7 @@ public java.lang.String getColumn() { ref = scope_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (scopeCase_ == 4) { scope_ = s; @@ -1316,6 +1434,8 @@ public java.lang.String getColumn() { } } /** + * + * *
      * Resources like entry can have schemas associated with them. This scope
      * allows you to attach tags to an individual column based on that schema.
@@ -1325,19 +1445,18 @@ public java.lang.String getColumn() {
      * 
* * string column = 4; + * * @return The bytes for column. */ @java.lang.Override - public com.google.protobuf.ByteString - getColumnBytes() { + public com.google.protobuf.ByteString getColumnBytes() { java.lang.Object ref = ""; if (scopeCase_ == 4) { ref = scope_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (scopeCase_ == 4) { scope_ = b; } @@ -1347,6 +1466,8 @@ public java.lang.String getColumn() { } } /** + * + * *
      * Resources like entry can have schemas associated with them. This scope
      * allows you to attach tags to an individual column based on that schema.
@@ -1356,18 +1477,22 @@ public java.lang.String getColumn() {
      * 
* * string column = 4; + * * @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(); + } scopeCase_ = 4; scope_ = value; onChanged(); return this; } /** + * + * *
      * Resources like entry can have schemas associated with them. This scope
      * allows you to attach tags to an individual column based on that schema.
@@ -1377,6 +1502,7 @@ public Builder setColumn(
      * 
* * string column = 4; + * * @return This builder for chaining. */ public Builder clearColumn() { @@ -1388,6 +1514,8 @@ public Builder clearColumn() { return this; } /** + * + * *
      * Resources like entry can have schemas associated with them. This scope
      * allows you to attach tags to an individual column based on that schema.
@@ -1397,12 +1525,14 @@ public Builder clearColumn() {
      * 
* * string column = 4; + * * @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); scopeCase_ = 4; scope_ = value; @@ -1410,21 +1540,21 @@ public Builder setColumnBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1.TagField> fields_; + private com.google.protobuf.MapField + fields_; + private com.google.protobuf.MapField internalGetFields() { if (fields_ == null) { - return com.google.protobuf.MapField.emptyMapField( - FieldsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(FieldsDefaultEntryHolder.defaultEntry); } return fields_; } + private com.google.protobuf.MapField internalGetMutableFields() { if (fields_ == null) { - fields_ = com.google.protobuf.MapField.newMapField( - FieldsDefaultEntryHolder.defaultEntry); + fields_ = com.google.protobuf.MapField.newMapField(FieldsDefaultEntryHolder.defaultEntry); } if (!fields_.isMutable()) { fields_ = fields_.copy(); @@ -1433,10 +1563,13 @@ public Builder setColumnBytes( onChanged(); return fields_; } + public int getFieldsCount() { return internalGetFields().getMap().size(); } /** + * + * *
      * Required. Maps the ID of a tag field to its value and additional
      * information about that field.
@@ -1445,23 +1578,26 @@ public int getFieldsCount() {
      * must have at least 1 field and at most 500 fields.
      * 
* - * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public boolean containsFields( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsFields(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetFields().getMap().containsKey(key); } - /** - * Use {@link #getFieldsMap()} instead. - */ + /** Use {@link #getFieldsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getFields() { return getFieldsMap(); } /** + * + * *
      * Required. Maps the ID of a tag field to its value and additional
      * information about that field.
@@ -1470,13 +1606,18 @@ public java.util.Map
      * must have at least 1 field and at most 500 fields.
      * 
* - * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.Map getFieldsMap() { + public java.util.Map + getFieldsMap() { return internalGetFields().getMap(); } /** + * + * *
      * Required. Maps the ID of a tag field to its value and additional
      * information about that field.
@@ -1485,20 +1626,25 @@ public java.util.Map
      * must have at least 1 field and at most 500 fields.
      * 
* - * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public /* nullable */ -com.google.cloud.datacatalog.v1.TagField getFieldsOrDefault( + public /* nullable */ com.google.cloud.datacatalog.v1.TagField getFieldsOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.datacatalog.v1.TagField defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + com.google.cloud.datacatalog.v1.TagField defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetFields().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Required. Maps the ID of a tag field to its value and additional
      * information about that field.
@@ -1507,12 +1653,15 @@ com.google.cloud.datacatalog.v1.TagField getFieldsOrDefault(
      * must have at least 1 field and at most 500 fields.
      * 
* - * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1.TagField getFieldsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public com.google.cloud.datacatalog.v1.TagField getFieldsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetFields().getMap(); if (!map.containsKey(key)) { @@ -1520,13 +1669,15 @@ public com.google.cloud.datacatalog.v1.TagField getFieldsOrThrow( } return map.get(key); } + public Builder clearFields() { bitField0_ = (bitField0_ & ~0x00000010); - internalGetMutableFields().getMutableMap() - .clear(); + internalGetMutableFields().getMutableMap().clear(); return this; } /** + * + * *
      * Required. Maps the ID of a tag field to its value and additional
      * information about that field.
@@ -1535,18 +1686,18 @@ public Builder clearFields() {
      * must have at least 1 field and at most 500 fields.
      * 
* - * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder removeFields( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableFields().getMutableMap() - .remove(key); + public Builder removeFields(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableFields().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableFields() { @@ -1554,6 +1705,8 @@ public Builder removeFields( return internalGetMutableFields().getMutableMap(); } /** + * + * *
      * Required. Maps the ID of a tag field to its value and additional
      * information about that field.
@@ -1562,19 +1715,24 @@ public Builder removeFields(
      * must have at least 1 field and at most 500 fields.
      * 
* - * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder putFields( - java.lang.String key, - com.google.cloud.datacatalog.v1.TagField value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableFields().getMutableMap() - .put(key, value); + public Builder putFields(java.lang.String key, com.google.cloud.datacatalog.v1.TagField value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableFields().getMutableMap().put(key, value); bitField0_ |= 0x00000010; return this; } /** + * + * *
      * Required. Maps the ID of a tag field to its value and additional
      * information about that field.
@@ -1583,18 +1741,19 @@ public Builder putFields(
      * must have at least 1 field and at most 500 fields.
      * 
* - * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder putAllFields( java.util.Map values) { - internalGetMutableFields().getMutableMap() - .putAll(values); + internalGetMutableFields().getMutableMap().putAll(values); bitField0_ |= 0x00000010; return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1604,12 +1763,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.Tag) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.Tag) private static final com.google.cloud.datacatalog.v1.Tag DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.Tag(); } @@ -1618,27 +1777,27 @@ public static com.google.cloud.datacatalog.v1.Tag getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Tag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Tag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1653,6 +1812,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.Tag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagField.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagField.java similarity index 73% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagField.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagField.java index 2b019dff11ac..e8b0ccdc2e52 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagField.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagField.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/datacatalog/v1/tags.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Contains the value and additional information on a field within
  * a [Tag][google.cloud.datacatalog.v1.Tag].
@@ -11,112 +28,128 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.TagField}
  */
-public final class TagField extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TagField extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.TagField)
     TagFieldOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TagField.newBuilder() to construct.
   private TagField(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TagField() {
     displayName_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TagField();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagField_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Tags
+        .internal_static_google_cloud_datacatalog_v1_TagField_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagField_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Tags
+        .internal_static_google_cloud_datacatalog_v1_TagField_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.TagField.class, com.google.cloud.datacatalog.v1.TagField.Builder.class);
+            com.google.cloud.datacatalog.v1.TagField.class,
+            com.google.cloud.datacatalog.v1.TagField.Builder.class);
   }
 
-  public interface EnumValueOrBuilder extends
+  public interface EnumValueOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.TagField.EnumValue)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The display name of the enum value.
      * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
      * The display name of the enum value.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); } /** + * + * *
    * An enum value.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.TagField.EnumValue} */ - public static final class EnumValue extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class EnumValue extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.TagField.EnumValue) EnumValueOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use EnumValue.newBuilder() to construct. private EnumValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private EnumValue() { displayName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new EnumValue(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Tags + .internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Tags + .internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.TagField.EnumValue.class, com.google.cloud.datacatalog.v1.TagField.EnumValue.Builder.class); + com.google.cloud.datacatalog.v1.TagField.EnumValue.class, + com.google.cloud.datacatalog.v1.TagField.EnumValue.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
      * The display name of the enum value.
      * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -125,29 +158,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
      * The display name of the enum value.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -156,6 +189,7 @@ public java.lang.String getDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,8 +201,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -192,15 +225,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.TagField.EnumValue)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.TagField.EnumValue other = (com.google.cloud.datacatalog.v1.TagField.EnumValue) obj; + com.google.cloud.datacatalog.v1.TagField.EnumValue other = + (com.google.cloud.datacatalog.v1.TagField.EnumValue) obj; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -220,89 +253,93 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.TagField.EnumValue parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.TagField.EnumValue parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.TagField.EnumValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.TagField.EnumValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.TagField.EnumValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.TagField.EnumValue parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TagField.EnumValue parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.TagField.EnumValue parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.TagField.EnumValue parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TagField.EnumValue parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.TagField.EnumValue parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.TagField.EnumValue parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.TagField.EnumValue parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.TagField.EnumValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.TagField.EnumValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -312,39 +349,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * An enum value.
      * 
* * Protobuf type {@code google.cloud.datacatalog.v1.TagField.EnumValue} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.TagField.EnumValue) com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Tags + .internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Tags + .internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.TagField.EnumValue.class, com.google.cloud.datacatalog.v1.TagField.EnumValue.Builder.class); + com.google.cloud.datacatalog.v1.TagField.EnumValue.class, + com.google.cloud.datacatalog.v1.TagField.EnumValue.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.TagField.EnumValue.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -354,9 +393,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Tags + .internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_descriptor; } @java.lang.Override @@ -375,8 +414,11 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValue build() { @java.lang.Override public com.google.cloud.datacatalog.v1.TagField.EnumValue buildPartial() { - com.google.cloud.datacatalog.v1.TagField.EnumValue result = new com.google.cloud.datacatalog.v1.TagField.EnumValue(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1.TagField.EnumValue result = + new com.google.cloud.datacatalog.v1.TagField.EnumValue(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -392,38 +434,41 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.TagField.EnumValue 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.datacatalog.v1.TagField.EnumValue) { - return mergeFrom((com.google.cloud.datacatalog.v1.TagField.EnumValue)other); + return mergeFrom((com.google.cloud.datacatalog.v1.TagField.EnumValue) other); } else { super.mergeFrom(other); return this; @@ -431,7 +476,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.TagField.EnumValue other) { - if (other == com.google.cloud.datacatalog.v1.TagField.EnumValue.getDefaultInstance()) return this; + if (other == com.google.cloud.datacatalog.v1.TagField.EnumValue.getDefaultInstance()) + return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -463,17 +509,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -483,22 +531,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object displayName_ = ""; /** + * + * *
        * The display name of the enum value.
        * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -507,20 +558,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * The display name of the enum value.
        * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -528,28 +580,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * The display name of the enum value.
        * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The display name of the enum value.
        * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -559,23 +618,28 @@ public Builder clearDisplayName() { return this; } /** + * + * *
        * The display name of the enum value.
        * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -588,12 +652,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.TagField.EnumValue) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.TagField.EnumValue) private static final com.google.cloud.datacatalog.v1.TagField.EnumValue DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.TagField.EnumValue(); } @@ -602,27 +666,28 @@ public static com.google.cloud.datacatalog.v1.TagField.EnumValue getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EnumValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EnumValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,14 +702,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.TagField.EnumValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int kindCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object kind_; + public enum KindCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DOUBLE_VALUE(2), STRING_VALUE(3), @@ -654,6 +721,7 @@ public enum KindCase RICHTEXT_VALUE(8), KIND_NOT_SET(0); private final int value; + private KindCase(int value) { this.value = value; } @@ -669,36 +737,47 @@ public static KindCase valueOf(int value) { public static KindCase forNumber(int value) { switch (value) { - case 2: return DOUBLE_VALUE; - case 3: return STRING_VALUE; - case 4: return BOOL_VALUE; - case 5: return TIMESTAMP_VALUE; - case 6: return ENUM_VALUE; - case 8: return RICHTEXT_VALUE; - case 0: return KIND_NOT_SET; - default: return null; + case 2: + return DOUBLE_VALUE; + case 3: + return STRING_VALUE; + case 4: + return BOOL_VALUE; + case 5: + return TIMESTAMP_VALUE; + case 6: + return ENUM_VALUE; + case 8: + return RICHTEXT_VALUE; + case 0: + return KIND_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public KindCase - getKindCase() { - return KindCase.forNumber( - kindCase_); + public KindCase getKindCase() { + return KindCase.forNumber(kindCase_); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Output only. The display name of this field.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The displayName. */ @java.lang.Override @@ -707,29 +786,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; } } /** + * + * *
    * Output only. The display name of this field.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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 { @@ -739,11 +818,14 @@ public java.lang.String getDisplayName() { public static final int DOUBLE_VALUE_FIELD_NUMBER = 2; /** + * + * *
    * The value of a tag field with a double type.
    * 
* * double double_value = 2; + * * @return Whether the doubleValue field is set. */ @java.lang.Override @@ -751,11 +833,14 @@ public boolean hasDoubleValue() { return kindCase_ == 2; } /** + * + * *
    * The value of a tag field with a double type.
    * 
* * double double_value = 2; + * * @return The doubleValue. */ @java.lang.Override @@ -768,6 +853,8 @@ public double getDoubleValue() { public static final int STRING_VALUE_FIELD_NUMBER = 3; /** + * + * *
    * The value of a tag field with a string type.
    *
@@ -775,12 +862,15 @@ public double getDoubleValue() {
    * 
* * string string_value = 3; + * * @return Whether the stringValue field is set. */ public boolean hasStringValue() { return kindCase_ == 3; } /** + * + * *
    * The value of a tag field with a string type.
    *
@@ -788,6 +878,7 @@ public boolean hasStringValue() {
    * 
* * string string_value = 3; + * * @return The stringValue. */ public java.lang.String getStringValue() { @@ -798,8 +889,7 @@ public java.lang.String getStringValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (kindCase_ == 3) { kind_ = s; @@ -808,6 +898,8 @@ public java.lang.String getStringValue() { } } /** + * + * *
    * The value of a tag field with a string type.
    *
@@ -815,18 +907,17 @@ public java.lang.String getStringValue() {
    * 
* * string string_value = 3; + * * @return The bytes for stringValue. */ - public com.google.protobuf.ByteString - getStringValueBytes() { + public com.google.protobuf.ByteString getStringValueBytes() { java.lang.Object ref = ""; if (kindCase_ == 3) { ref = kind_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (kindCase_ == 3) { kind_ = b; } @@ -838,11 +929,14 @@ public java.lang.String getStringValue() { public static final int BOOL_VALUE_FIELD_NUMBER = 4; /** + * + * *
    * The value of a tag field with a boolean type.
    * 
* * bool bool_value = 4; + * * @return Whether the boolValue field is set. */ @java.lang.Override @@ -850,11 +944,14 @@ public boolean hasBoolValue() { return kindCase_ == 4; } /** + * + * *
    * The value of a tag field with a boolean type.
    * 
* * bool bool_value = 4; + * * @return The boolValue. */ @java.lang.Override @@ -867,11 +964,14 @@ public boolean getBoolValue() { public static final int TIMESTAMP_VALUE_FIELD_NUMBER = 5; /** + * + * *
    * The value of a tag field with a timestamp type.
    * 
* * .google.protobuf.Timestamp timestamp_value = 5; + * * @return Whether the timestampValue field is set. */ @java.lang.Override @@ -879,21 +979,26 @@ public boolean hasTimestampValue() { return kindCase_ == 5; } /** + * + * *
    * The value of a tag field with a timestamp type.
    * 
* * .google.protobuf.Timestamp timestamp_value = 5; + * * @return The timestampValue. */ @java.lang.Override public com.google.protobuf.Timestamp getTimestampValue() { if (kindCase_ == 5) { - return (com.google.protobuf.Timestamp) kind_; + return (com.google.protobuf.Timestamp) kind_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** + * + * *
    * The value of a tag field with a timestamp type.
    * 
@@ -903,13 +1008,15 @@ public com.google.protobuf.Timestamp getTimestampValue() { @java.lang.Override public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { if (kindCase_ == 5) { - return (com.google.protobuf.Timestamp) kind_; + return (com.google.protobuf.Timestamp) kind_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } public static final int ENUM_VALUE_FIELD_NUMBER = 6; /** + * + * *
    * The value of a tag field with an enum type.
    *
@@ -917,6 +1024,7 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
    * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; + * * @return Whether the enumValue field is set. */ @java.lang.Override @@ -924,6 +1032,8 @@ public boolean hasEnumValue() { return kindCase_ == 6; } /** + * + * *
    * The value of a tag field with an enum type.
    *
@@ -931,16 +1041,19 @@ public boolean hasEnumValue() {
    * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; + * * @return The enumValue. */ @java.lang.Override public com.google.cloud.datacatalog.v1.TagField.EnumValue getEnumValue() { if (kindCase_ == 6) { - return (com.google.cloud.datacatalog.v1.TagField.EnumValue) kind_; + return (com.google.cloud.datacatalog.v1.TagField.EnumValue) kind_; } return com.google.cloud.datacatalog.v1.TagField.EnumValue.getDefaultInstance(); } /** + * + * *
    * The value of a tag field with an enum type.
    *
@@ -952,13 +1065,15 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValue getEnumValue() {
   @java.lang.Override
   public com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder getEnumValueOrBuilder() {
     if (kindCase_ == 6) {
-       return (com.google.cloud.datacatalog.v1.TagField.EnumValue) kind_;
+      return (com.google.cloud.datacatalog.v1.TagField.EnumValue) kind_;
     }
     return com.google.cloud.datacatalog.v1.TagField.EnumValue.getDefaultInstance();
   }
 
   public static final int RICHTEXT_VALUE_FIELD_NUMBER = 8;
   /**
+   *
+   *
    * 
    * The value of a tag field with a rich text type.
    *
@@ -968,12 +1083,15 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder getEnumValueO
    * 
* * string richtext_value = 8; + * * @return Whether the richtextValue field is set. */ public boolean hasRichtextValue() { return kindCase_ == 8; } /** + * + * *
    * The value of a tag field with a rich text type.
    *
@@ -983,6 +1101,7 @@ public boolean hasRichtextValue() {
    * 
* * string richtext_value = 8; + * * @return The richtextValue. */ public java.lang.String getRichtextValue() { @@ -993,8 +1112,7 @@ public java.lang.String getRichtextValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (kindCase_ == 8) { kind_ = s; @@ -1003,6 +1121,8 @@ public java.lang.String getRichtextValue() { } } /** + * + * *
    * The value of a tag field with a rich text type.
    *
@@ -1012,18 +1132,17 @@ public java.lang.String getRichtextValue() {
    * 
* * string richtext_value = 8; + * * @return The bytes for richtextValue. */ - public com.google.protobuf.ByteString - getRichtextValueBytes() { + public com.google.protobuf.ByteString getRichtextValueBytes() { java.lang.Object ref = ""; if (kindCase_ == 8) { ref = kind_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (kindCase_ == 8) { kind_ = b; } @@ -1036,6 +1155,8 @@ public java.lang.String getRichtextValue() { public static final int ORDER_FIELD_NUMBER = 7; private int order_ = 0; /** + * + * *
    * Output only. The order of this field with respect to other fields in this
    * tag. Can be set by
@@ -1047,6 +1168,7 @@ public java.lang.String getRichtextValue() {
    * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The order. */ @java.lang.Override @@ -1055,6 +1177,7 @@ public int getOrder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1066,21 +1189,18 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } if (kindCase_ == 2) { - output.writeDouble( - 2, (double)((java.lang.Double) kind_)); + output.writeDouble(2, (double) ((java.lang.Double) kind_)); } if (kindCase_ == 3) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, kind_); } if (kindCase_ == 4) { - output.writeBool( - 4, (boolean)((java.lang.Boolean) kind_)); + output.writeBool(4, (boolean) ((java.lang.Boolean) kind_)); } if (kindCase_ == 5) { output.writeMessage(5, (com.google.protobuf.Timestamp) kind_); @@ -1107,29 +1227,30 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, displayName_); } if (kindCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize( - 2, (double)((java.lang.Double) kind_)); + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize( + 2, (double) ((java.lang.Double) kind_)); } if (kindCase_ == 3) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, kind_); } if (kindCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize( - 4, (boolean)((java.lang.Boolean) kind_)); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 4, (boolean) ((java.lang.Boolean) kind_)); } if (kindCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.protobuf.Timestamp) kind_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.protobuf.Timestamp) kind_); } if (kindCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.cloud.datacatalog.v1.TagField.EnumValue) kind_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.cloud.datacatalog.v1.TagField.EnumValue) kind_); } if (order_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(7, order_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, order_); } if (kindCase_ == 8) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, kind_); @@ -1142,43 +1263,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.datacatalog.v1.TagField)) { return super.equals(obj); } com.google.cloud.datacatalog.v1.TagField other = (com.google.cloud.datacatalog.v1.TagField) obj; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (getOrder() - != other.getOrder()) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (getOrder() != other.getOrder()) return false; if (!getKindCase().equals(other.getKindCase())) return false; switch (kindCase_) { case 2: if (java.lang.Double.doubleToLongBits(getDoubleValue()) - != java.lang.Double.doubleToLongBits( - other.getDoubleValue())) return false; + != java.lang.Double.doubleToLongBits(other.getDoubleValue())) return false; break; case 3: - if (!getStringValue() - .equals(other.getStringValue())) return false; + if (!getStringValue().equals(other.getStringValue())) return false; break; case 4: - if (getBoolValue() - != other.getBoolValue()) return false; + if (getBoolValue() != other.getBoolValue()) return false; break; case 5: - if (!getTimestampValue() - .equals(other.getTimestampValue())) return false; + if (!getTimestampValue().equals(other.getTimestampValue())) return false; break; case 6: - if (!getEnumValue() - .equals(other.getEnumValue())) return false; + if (!getEnumValue().equals(other.getEnumValue())) return false; break; case 8: - if (!getRichtextValue() - .equals(other.getRichtextValue())) return false; + if (!getRichtextValue().equals(other.getRichtextValue())) return false; break; case 0: default: @@ -1201,8 +1314,10 @@ public int hashCode() { switch (kindCase_) { case 2: hash = (37 * hash) + DOUBLE_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDoubleValue())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDoubleValue())); break; case 3: hash = (37 * hash) + STRING_VALUE_FIELD_NUMBER; @@ -1210,8 +1325,7 @@ public int hashCode() { break; case 4: hash = (37 * hash) + BOOL_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getBoolValue()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBoolValue()); break; case 5: hash = (37 * hash) + TIMESTAMP_VALUE_FIELD_NUMBER; @@ -1233,99 +1347,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.TagField parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.TagField parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.TagField parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.TagField parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.TagField parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.TagField parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.TagField parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.TagField parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.TagField parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TagField parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.TagField parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.TagField parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.TagField parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.TagField parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.TagField prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Contains the value and additional information on a field within
    * a [Tag][google.cloud.datacatalog.v1.Tag].
@@ -1333,33 +1452,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.TagField}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.TagField)
       com.google.cloud.datacatalog.v1.TagFieldOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagField_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Tags
+          .internal_static_google_cloud_datacatalog_v1_TagField_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagField_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Tags
+          .internal_static_google_cloud_datacatalog_v1_TagField_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.TagField.class, com.google.cloud.datacatalog.v1.TagField.Builder.class);
+              com.google.cloud.datacatalog.v1.TagField.class,
+              com.google.cloud.datacatalog.v1.TagField.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.TagField.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1378,9 +1496,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagField_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Tags
+          .internal_static_google_cloud_datacatalog_v1_TagField_descriptor;
     }
 
     @java.lang.Override
@@ -1399,8 +1517,11 @@ public com.google.cloud.datacatalog.v1.TagField build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.TagField buildPartial() {
-      com.google.cloud.datacatalog.v1.TagField result = new com.google.cloud.datacatalog.v1.TagField(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.TagField result =
+          new com.google.cloud.datacatalog.v1.TagField(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1419,12 +1540,10 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.TagField result) {
     private void buildPartialOneofs(com.google.cloud.datacatalog.v1.TagField result) {
       result.kindCase_ = kindCase_;
       result.kind_ = this.kind_;
-      if (kindCase_ == 5 &&
-          timestampValueBuilder_ != null) {
+      if (kindCase_ == 5 && timestampValueBuilder_ != null) {
         result.kind_ = timestampValueBuilder_.build();
       }
-      if (kindCase_ == 6 &&
-          enumValueBuilder_ != null) {
+      if (kindCase_ == 6 && enumValueBuilder_ != null) {
         result.kind_ = enumValueBuilder_.build();
       }
     }
@@ -1433,38 +1552,39 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.TagField result)
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.TagField) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.TagField)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.TagField) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1482,37 +1602,44 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.TagField other) {
         setOrder(other.getOrder());
       }
       switch (other.getKindCase()) {
-        case DOUBLE_VALUE: {
-          setDoubleValue(other.getDoubleValue());
-          break;
-        }
-        case STRING_VALUE: {
-          kindCase_ = 3;
-          kind_ = other.kind_;
-          onChanged();
-          break;
-        }
-        case BOOL_VALUE: {
-          setBoolValue(other.getBoolValue());
-          break;
-        }
-        case TIMESTAMP_VALUE: {
-          mergeTimestampValue(other.getTimestampValue());
-          break;
-        }
-        case ENUM_VALUE: {
-          mergeEnumValue(other.getEnumValue());
-          break;
-        }
-        case RICHTEXT_VALUE: {
-          kindCase_ = 8;
-          kind_ = other.kind_;
-          onChanged();
-          break;
-        }
-        case KIND_NOT_SET: {
-          break;
-        }
+        case DOUBLE_VALUE:
+          {
+            setDoubleValue(other.getDoubleValue());
+            break;
+          }
+        case STRING_VALUE:
+          {
+            kindCase_ = 3;
+            kind_ = other.kind_;
+            onChanged();
+            break;
+          }
+        case BOOL_VALUE:
+          {
+            setBoolValue(other.getBoolValue());
+            break;
+          }
+        case TIMESTAMP_VALUE:
+          {
+            mergeTimestampValue(other.getTimestampValue());
+            break;
+          }
+        case ENUM_VALUE:
+          {
+            mergeEnumValue(other.getEnumValue());
+            break;
+          }
+        case RICHTEXT_VALUE:
+          {
+            kindCase_ = 8;
+            kind_ = other.kind_;
+            onChanged();
+            break;
+          }
+        case KIND_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1540,58 +1667,63 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 17: {
-              kind_ = input.readDouble();
-              kindCase_ = 2;
-              break;
-            } // case 17
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              kindCase_ = 3;
-              kind_ = s;
-              break;
-            } // case 26
-            case 32: {
-              kind_ = input.readBool();
-              kindCase_ = 4;
-              break;
-            } // case 32
-            case 42: {
-              input.readMessage(
-                  getTimestampValueFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              kindCase_ = 5;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getEnumValueFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              kindCase_ = 6;
-              break;
-            } // case 50
-            case 56: {
-              order_ = input.readInt32();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 56
-            case 66: {
-              java.lang.String s = input.readStringRequireUtf8();
-              kindCase_ = 8;
-              kind_ = s;
-              break;
-            } // case 66
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 17:
+              {
+                kind_ = input.readDouble();
+                kindCase_ = 2;
+                break;
+              } // case 17
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                kindCase_ = 3;
+                kind_ = s;
+                break;
+              } // case 26
+            case 32:
+              {
+                kind_ = input.readBool();
+                kindCase_ = 4;
+                break;
+              } // case 32
+            case 42:
+              {
+                input.readMessage(getTimestampValueFieldBuilder().getBuilder(), extensionRegistry);
+                kindCase_ = 5;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getEnumValueFieldBuilder().getBuilder(), extensionRegistry);
+                kindCase_ = 6;
+                break;
+              } // case 50
+            case 56:
+              {
+                order_ = input.readInt32();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 56
+            case 66:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                kindCase_ = 8;
+                kind_ = s;
+                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) {
@@ -1601,12 +1733,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int kindCase_ = 0;
     private java.lang.Object kind_;
-    public KindCase
-        getKindCase() {
-      return KindCase.forNumber(
-          kindCase_);
+
+    public KindCase getKindCase() {
+      return KindCase.forNumber(kindCase_);
     }
 
     public Builder clearKind() {
@@ -1620,18 +1752,20 @@ public Builder clearKind() {
 
     private java.lang.Object displayName_ = "";
     /**
+     *
+     *
      * 
      * Output only. The display name of this field.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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; @@ -1640,20 +1774,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Output only. The display name of this field.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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 { @@ -1661,28 +1796,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Output only. The display name of this field.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The display name of this field.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1692,17 +1834,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Output only. The display name of this field.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -1711,22 +1857,28 @@ public Builder setDisplayNameBytes( } /** + * + * *
      * The value of a tag field with a double type.
      * 
* * double double_value = 2; + * * @return Whether the doubleValue field is set. */ public boolean hasDoubleValue() { return kindCase_ == 2; } /** + * + * *
      * The value of a tag field with a double type.
      * 
* * double double_value = 2; + * * @return The doubleValue. */ public double getDoubleValue() { @@ -1736,11 +1888,14 @@ public double getDoubleValue() { return 0D; } /** + * + * *
      * The value of a tag field with a double type.
      * 
* * double double_value = 2; + * * @param value The doubleValue to set. * @return This builder for chaining. */ @@ -1752,11 +1907,14 @@ public Builder setDoubleValue(double value) { return this; } /** + * + * *
      * The value of a tag field with a double type.
      * 
* * double double_value = 2; + * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -1769,6 +1927,8 @@ public Builder clearDoubleValue() { } /** + * + * *
      * The value of a tag field with a string type.
      *
@@ -1776,6 +1936,7 @@ public Builder clearDoubleValue() {
      * 
* * string string_value = 3; + * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -1783,6 +1944,8 @@ public boolean hasStringValue() { return kindCase_ == 3; } /** + * + * *
      * The value of a tag field with a string type.
      *
@@ -1790,6 +1953,7 @@ public boolean hasStringValue() {
      * 
* * string string_value = 3; + * * @return The stringValue. */ @java.lang.Override @@ -1799,8 +1963,7 @@ public java.lang.String getStringValue() { ref = kind_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (kindCase_ == 3) { kind_ = s; @@ -1811,6 +1974,8 @@ public java.lang.String getStringValue() { } } /** + * + * *
      * The value of a tag field with a string type.
      *
@@ -1818,19 +1983,18 @@ public java.lang.String getStringValue() {
      * 
* * string string_value = 3; + * * @return The bytes for stringValue. */ @java.lang.Override - public com.google.protobuf.ByteString - getStringValueBytes() { + public com.google.protobuf.ByteString getStringValueBytes() { java.lang.Object ref = ""; if (kindCase_ == 3) { ref = kind_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (kindCase_ == 3) { kind_ = b; } @@ -1840,6 +2004,8 @@ public java.lang.String getStringValue() { } } /** + * + * *
      * The value of a tag field with a string type.
      *
@@ -1847,18 +2013,22 @@ public java.lang.String getStringValue() {
      * 
* * string string_value = 3; + * * @param value The stringValue to set. * @return This builder for chaining. */ - public Builder setStringValue( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStringValue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } kindCase_ = 3; kind_ = value; onChanged(); return this; } /** + * + * *
      * The value of a tag field with a string type.
      *
@@ -1866,6 +2036,7 @@ public Builder setStringValue(
      * 
* * string string_value = 3; + * * @return This builder for chaining. */ public Builder clearStringValue() { @@ -1877,6 +2048,8 @@ public Builder clearStringValue() { return this; } /** + * + * *
      * The value of a tag field with a string type.
      *
@@ -1884,12 +2057,14 @@ public Builder clearStringValue() {
      * 
* * string string_value = 3; + * * @param value The bytes for stringValue to set. * @return This builder for chaining. */ - public Builder setStringValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStringValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); kindCase_ = 3; kind_ = value; @@ -1898,22 +2073,28 @@ public Builder setStringValueBytes( } /** + * + * *
      * The value of a tag field with a boolean type.
      * 
* * bool bool_value = 4; + * * @return Whether the boolValue field is set. */ public boolean hasBoolValue() { return kindCase_ == 4; } /** + * + * *
      * The value of a tag field with a boolean type.
      * 
* * bool bool_value = 4; + * * @return The boolValue. */ public boolean getBoolValue() { @@ -1923,11 +2104,14 @@ public boolean getBoolValue() { return false; } /** + * + * *
      * The value of a tag field with a boolean type.
      * 
* * bool bool_value = 4; + * * @param value The boolValue to set. * @return This builder for chaining. */ @@ -1939,11 +2123,14 @@ public Builder setBoolValue(boolean value) { return this; } /** + * + * *
      * The value of a tag field with a boolean type.
      * 
* * bool bool_value = 4; + * * @return This builder for chaining. */ public Builder clearBoolValue() { @@ -1956,13 +2143,19 @@ public Builder clearBoolValue() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> timestampValueBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + timestampValueBuilder_; /** + * + * *
      * The value of a tag field with a timestamp type.
      * 
* * .google.protobuf.Timestamp timestamp_value = 5; + * * @return Whether the timestampValue field is set. */ @java.lang.Override @@ -1970,11 +2163,14 @@ public boolean hasTimestampValue() { return kindCase_ == 5; } /** + * + * *
      * The value of a tag field with a timestamp type.
      * 
* * .google.protobuf.Timestamp timestamp_value = 5; + * * @return The timestampValue. */ @java.lang.Override @@ -1992,6 +2188,8 @@ public com.google.protobuf.Timestamp getTimestampValue() { } } /** + * + * *
      * The value of a tag field with a timestamp type.
      * 
@@ -2012,14 +2210,15 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The value of a tag field with a timestamp type.
      * 
* * .google.protobuf.Timestamp timestamp_value = 5; */ - public Builder setTimestampValue( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderForValue) { if (timestampValueBuilder_ == null) { kind_ = builderForValue.build(); onChanged(); @@ -2030,6 +2229,8 @@ public Builder setTimestampValue( return this; } /** + * + * *
      * The value of a tag field with a timestamp type.
      * 
@@ -2038,10 +2239,11 @@ public Builder setTimestampValue( */ public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) { if (timestampValueBuilder_ == null) { - if (kindCase_ == 5 && - kind_ != com.google.protobuf.Timestamp.getDefaultInstance()) { - kind_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) kind_) - .mergeFrom(value).buildPartial(); + if (kindCase_ == 5 && kind_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + kind_ = + com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) kind_) + .mergeFrom(value) + .buildPartial(); } else { kind_ = value; } @@ -2057,6 +2259,8 @@ public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The value of a tag field with a timestamp type.
      * 
@@ -2080,6 +2284,8 @@ public Builder clearTimestampValue() { return this; } /** + * + * *
      * The value of a tag field with a timestamp type.
      * 
@@ -2090,6 +2296,8 @@ public com.google.protobuf.Timestamp.Builder getTimestampValueBuilder() { return getTimestampValueFieldBuilder().getBuilder(); } /** + * + * *
      * The value of a tag field with a timestamp type.
      * 
@@ -2108,6 +2316,8 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { } } /** + * + * *
      * The value of a tag field with a timestamp type.
      * 
@@ -2115,17 +2325,20 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { * .google.protobuf.Timestamp timestamp_value = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getTimestampValueFieldBuilder() { if (timestampValueBuilder_ == null) { if (!(kindCase_ == 5)) { kind_ = com.google.protobuf.Timestamp.getDefaultInstance(); } - timestampValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - (com.google.protobuf.Timestamp) kind_, - getParentForChildren(), - isClean()); + timestampValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + (com.google.protobuf.Timestamp) kind_, getParentForChildren(), isClean()); kind_ = null; } kindCase_ = 5; @@ -2134,8 +2347,13 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.TagField.EnumValue, com.google.cloud.datacatalog.v1.TagField.EnumValue.Builder, com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder> enumValueBuilder_; + com.google.cloud.datacatalog.v1.TagField.EnumValue, + com.google.cloud.datacatalog.v1.TagField.EnumValue.Builder, + com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder> + enumValueBuilder_; /** + * + * *
      * The value of a tag field with an enum type.
      *
@@ -2143,6 +2361,7 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
      * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; + * * @return Whether the enumValue field is set. */ @java.lang.Override @@ -2150,6 +2369,8 @@ public boolean hasEnumValue() { return kindCase_ == 6; } /** + * + * *
      * The value of a tag field with an enum type.
      *
@@ -2157,6 +2378,7 @@ public boolean hasEnumValue() {
      * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; + * * @return The enumValue. */ @java.lang.Override @@ -2174,6 +2396,8 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValue getEnumValue() { } } /** + * + * *
      * The value of a tag field with an enum type.
      *
@@ -2196,6 +2420,8 @@ public Builder setEnumValue(com.google.cloud.datacatalog.v1.TagField.EnumValue v
       return this;
     }
     /**
+     *
+     *
      * 
      * The value of a tag field with an enum type.
      *
@@ -2216,6 +2442,8 @@ public Builder setEnumValue(
       return this;
     }
     /**
+     *
+     *
      * 
      * The value of a tag field with an enum type.
      *
@@ -2226,10 +2454,13 @@ public Builder setEnumValue(
      */
     public Builder mergeEnumValue(com.google.cloud.datacatalog.v1.TagField.EnumValue value) {
       if (enumValueBuilder_ == null) {
-        if (kindCase_ == 6 &&
-            kind_ != com.google.cloud.datacatalog.v1.TagField.EnumValue.getDefaultInstance()) {
-          kind_ = com.google.cloud.datacatalog.v1.TagField.EnumValue.newBuilder((com.google.cloud.datacatalog.v1.TagField.EnumValue) kind_)
-              .mergeFrom(value).buildPartial();
+        if (kindCase_ == 6
+            && kind_ != com.google.cloud.datacatalog.v1.TagField.EnumValue.getDefaultInstance()) {
+          kind_ =
+              com.google.cloud.datacatalog.v1.TagField.EnumValue.newBuilder(
+                      (com.google.cloud.datacatalog.v1.TagField.EnumValue) kind_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           kind_ = value;
         }
@@ -2245,6 +2476,8 @@ public Builder mergeEnumValue(com.google.cloud.datacatalog.v1.TagField.EnumValue
       return this;
     }
     /**
+     *
+     *
      * 
      * The value of a tag field with an enum type.
      *
@@ -2270,6 +2503,8 @@ public Builder clearEnumValue() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The value of a tag field with an enum type.
      *
@@ -2282,6 +2517,8 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValue.Builder getEnumValueBu
       return getEnumValueFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The value of a tag field with an enum type.
      *
@@ -2302,6 +2539,8 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder getEnumValueO
       }
     }
     /**
+     *
+     *
      * 
      * The value of a tag field with an enum type.
      *
@@ -2311,14 +2550,19 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder getEnumValueO
      * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.TagField.EnumValue, com.google.cloud.datacatalog.v1.TagField.EnumValue.Builder, com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder> 
+            com.google.cloud.datacatalog.v1.TagField.EnumValue,
+            com.google.cloud.datacatalog.v1.TagField.EnumValue.Builder,
+            com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder>
         getEnumValueFieldBuilder() {
       if (enumValueBuilder_ == null) {
         if (!(kindCase_ == 6)) {
           kind_ = com.google.cloud.datacatalog.v1.TagField.EnumValue.getDefaultInstance();
         }
-        enumValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.TagField.EnumValue, com.google.cloud.datacatalog.v1.TagField.EnumValue.Builder, com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder>(
+        enumValueBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.datacatalog.v1.TagField.EnumValue,
+                com.google.cloud.datacatalog.v1.TagField.EnumValue.Builder,
+                com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder>(
                 (com.google.cloud.datacatalog.v1.TagField.EnumValue) kind_,
                 getParentForChildren(),
                 isClean());
@@ -2330,6 +2574,8 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder getEnumValueO
     }
 
     /**
+     *
+     *
      * 
      * The value of a tag field with a rich text type.
      *
@@ -2339,6 +2585,7 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder getEnumValueO
      * 
* * string richtext_value = 8; + * * @return Whether the richtextValue field is set. */ @java.lang.Override @@ -2346,6 +2593,8 @@ public boolean hasRichtextValue() { return kindCase_ == 8; } /** + * + * *
      * The value of a tag field with a rich text type.
      *
@@ -2355,6 +2604,7 @@ public boolean hasRichtextValue() {
      * 
* * string richtext_value = 8; + * * @return The richtextValue. */ @java.lang.Override @@ -2364,8 +2614,7 @@ public java.lang.String getRichtextValue() { ref = kind_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (kindCase_ == 8) { kind_ = s; @@ -2376,6 +2625,8 @@ public java.lang.String getRichtextValue() { } } /** + * + * *
      * The value of a tag field with a rich text type.
      *
@@ -2385,19 +2636,18 @@ public java.lang.String getRichtextValue() {
      * 
* * string richtext_value = 8; + * * @return The bytes for richtextValue. */ @java.lang.Override - public com.google.protobuf.ByteString - getRichtextValueBytes() { + public com.google.protobuf.ByteString getRichtextValueBytes() { java.lang.Object ref = ""; if (kindCase_ == 8) { ref = kind_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (kindCase_ == 8) { kind_ = b; } @@ -2407,6 +2657,8 @@ public java.lang.String getRichtextValue() { } } /** + * + * *
      * The value of a tag field with a rich text type.
      *
@@ -2416,18 +2668,22 @@ public java.lang.String getRichtextValue() {
      * 
* * string richtext_value = 8; + * * @param value The richtextValue to set. * @return This builder for chaining. */ - public Builder setRichtextValue( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRichtextValue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } kindCase_ = 8; kind_ = value; onChanged(); return this; } /** + * + * *
      * The value of a tag field with a rich text type.
      *
@@ -2437,6 +2693,7 @@ public Builder setRichtextValue(
      * 
* * string richtext_value = 8; + * * @return This builder for chaining. */ public Builder clearRichtextValue() { @@ -2448,6 +2705,8 @@ public Builder clearRichtextValue() { return this; } /** + * + * *
      * The value of a tag field with a rich text type.
      *
@@ -2457,12 +2716,14 @@ public Builder clearRichtextValue() {
      * 
* * string richtext_value = 8; + * * @param value The bytes for richtextValue to set. * @return This builder for chaining. */ - public Builder setRichtextValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRichtextValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); kindCase_ = 8; kind_ = value; @@ -2470,8 +2731,10 @@ public Builder setRichtextValueBytes( return this; } - private int order_ ; + private int order_; /** + * + * *
      * Output only. The order of this field with respect to other fields in this
      * tag. Can be set by
@@ -2483,6 +2746,7 @@ public Builder setRichtextValueBytes(
      * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The order. */ @java.lang.Override @@ -2490,6 +2754,8 @@ public int getOrder() { return order_; } /** + * + * *
      * Output only. The order of this field with respect to other fields in this
      * tag. Can be set by
@@ -2501,6 +2767,7 @@ public int getOrder() {
      * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The order to set. * @return This builder for chaining. */ @@ -2512,6 +2779,8 @@ public Builder setOrder(int value) { return this; } /** + * + * *
      * Output only. The order of this field with respect to other fields in this
      * tag. Can be set by
@@ -2523,6 +2792,7 @@ public Builder setOrder(int value) {
      * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearOrder() { @@ -2531,9 +2801,9 @@ public Builder clearOrder() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2543,12 +2813,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.TagField) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.TagField) private static final com.google.cloud.datacatalog.v1.TagField DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.TagField(); } @@ -2557,27 +2827,27 @@ public static com.google.cloud.datacatalog.v1.TagField getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TagField parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TagField parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2592,6 +2862,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.TagField getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagFieldOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagFieldOrBuilder.java similarity index 84% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagFieldOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagFieldOrBuilder.java index 56b247da5abb..15ad6570d7de 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagFieldOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagFieldOrBuilder.java @@ -1,52 +1,81 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/tags.proto package com.google.cloud.datacatalog.v1; -public interface TagFieldOrBuilder extends +public interface TagFieldOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.TagField) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The display name of this field.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Output only. The display name of this field.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * The value of a tag field with a double type.
    * 
* * double double_value = 2; + * * @return Whether the doubleValue field is set. */ boolean hasDoubleValue(); /** + * + * *
    * The value of a tag field with a double type.
    * 
* * double double_value = 2; + * * @return The doubleValue. */ double getDoubleValue(); /** + * + * *
    * The value of a tag field with a string type.
    *
@@ -54,10 +83,13 @@ public interface TagFieldOrBuilder extends
    * 
* * string string_value = 3; + * * @return Whether the stringValue field is set. */ boolean hasStringValue(); /** + * + * *
    * The value of a tag field with a string type.
    *
@@ -65,10 +97,13 @@ public interface TagFieldOrBuilder extends
    * 
* * string string_value = 3; + * * @return The stringValue. */ java.lang.String getStringValue(); /** + * + * *
    * The value of a tag field with a string type.
    *
@@ -76,49 +111,63 @@ public interface TagFieldOrBuilder extends
    * 
* * string string_value = 3; + * * @return The bytes for stringValue. */ - com.google.protobuf.ByteString - getStringValueBytes(); + com.google.protobuf.ByteString getStringValueBytes(); /** + * + * *
    * The value of a tag field with a boolean type.
    * 
* * bool bool_value = 4; + * * @return Whether the boolValue field is set. */ boolean hasBoolValue(); /** + * + * *
    * The value of a tag field with a boolean type.
    * 
* * bool bool_value = 4; + * * @return The boolValue. */ boolean getBoolValue(); /** + * + * *
    * The value of a tag field with a timestamp type.
    * 
* * .google.protobuf.Timestamp timestamp_value = 5; + * * @return Whether the timestampValue field is set. */ boolean hasTimestampValue(); /** + * + * *
    * The value of a tag field with a timestamp type.
    * 
* * .google.protobuf.Timestamp timestamp_value = 5; + * * @return The timestampValue. */ com.google.protobuf.Timestamp getTimestampValue(); /** + * + * *
    * The value of a tag field with a timestamp type.
    * 
@@ -128,6 +177,8 @@ public interface TagFieldOrBuilder extends com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder(); /** + * + * *
    * The value of a tag field with an enum type.
    *
@@ -135,10 +186,13 @@ public interface TagFieldOrBuilder extends
    * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; + * * @return Whether the enumValue field is set. */ boolean hasEnumValue(); /** + * + * *
    * The value of a tag field with an enum type.
    *
@@ -146,10 +200,13 @@ public interface TagFieldOrBuilder extends
    * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; + * * @return The enumValue. */ com.google.cloud.datacatalog.v1.TagField.EnumValue getEnumValue(); /** + * + * *
    * The value of a tag field with an enum type.
    *
@@ -161,6 +218,8 @@ public interface TagFieldOrBuilder extends
   com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder getEnumValueOrBuilder();
 
   /**
+   *
+   *
    * 
    * The value of a tag field with a rich text type.
    *
@@ -170,10 +229,13 @@ public interface TagFieldOrBuilder extends
    * 
* * string richtext_value = 8; + * * @return Whether the richtextValue field is set. */ boolean hasRichtextValue(); /** + * + * *
    * The value of a tag field with a rich text type.
    *
@@ -183,10 +245,13 @@ public interface TagFieldOrBuilder extends
    * 
* * string richtext_value = 8; + * * @return The richtextValue. */ java.lang.String getRichtextValue(); /** + * + * *
    * The value of a tag field with a rich text type.
    *
@@ -196,12 +261,14 @@ public interface TagFieldOrBuilder extends
    * 
* * string richtext_value = 8; + * * @return The bytes for richtextValue. */ - com.google.protobuf.ByteString - getRichtextValueBytes(); + com.google.protobuf.ByteString getRichtextValueBytes(); /** + * + * *
    * Output only. The order of this field with respect to other fields in this
    * tag. Can be set by
@@ -213,6 +280,7 @@ public interface TagFieldOrBuilder extends
    * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The order. */ int getOrder(); diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagName.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagName.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagName.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagName.java diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagOrBuilder.java similarity index 70% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagOrBuilder.java index a80c5d9d2feb..a1de0e94bc7c 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagOrBuilder.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/datacatalog/v1/tags.proto package com.google.cloud.datacatalog.v1; -public interface TagOrBuilder extends +public interface TagOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.Tag) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The resource name of the tag in URL format where tag ID is a
    * system-generated identifier.
@@ -17,10 +35,13 @@ public interface TagOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The resource name of the tag in URL format where tag ID is a
    * system-generated identifier.
@@ -30,12 +51,14 @@ public interface TagOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The resource name of the tag template this tag uses. Example:
    *
@@ -45,10 +68,13 @@ public interface TagOrBuilder extends
    * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The template. */ java.lang.String getTemplate(); /** + * + * *
    * Required. The resource name of the tag template this tag uses. Example:
    *
@@ -58,32 +84,39 @@ public interface TagOrBuilder extends
    * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for template. */ - com.google.protobuf.ByteString - getTemplateBytes(); + com.google.protobuf.ByteString getTemplateBytes(); /** + * + * *
    * Output only. The display name of the tag template.
    * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The templateDisplayName. */ java.lang.String getTemplateDisplayName(); /** + * + * *
    * Output only. The display name of the tag template.
    * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for templateDisplayName. */ - com.google.protobuf.ByteString - getTemplateDisplayNameBytes(); + com.google.protobuf.ByteString getTemplateDisplayNameBytes(); /** + * + * *
    * Resources like entry can have schemas associated with them. This scope
    * allows you to attach tags to an individual column based on that schema.
@@ -93,10 +126,13 @@ public interface TagOrBuilder extends
    * 
* * string column = 4; + * * @return Whether the column field is set. */ boolean hasColumn(); /** + * + * *
    * Resources like entry can have schemas associated with them. This scope
    * allows you to attach tags to an individual column based on that schema.
@@ -106,10 +142,13 @@ public interface TagOrBuilder extends
    * 
* * string column = 4; + * * @return The column. */ java.lang.String getColumn(); /** + * + * *
    * Resources like entry can have schemas associated with them. This scope
    * allows you to attach tags to an individual column based on that schema.
@@ -119,12 +158,14 @@ public interface TagOrBuilder extends
    * 
* * string column = 4; + * * @return The bytes for column. */ - com.google.protobuf.ByteString - getColumnBytes(); + com.google.protobuf.ByteString getColumnBytes(); /** + * + * *
    * Required. Maps the ID of a tag field to its value and additional
    * information about that field.
@@ -133,10 +174,14 @@ public interface TagOrBuilder extends
    * must have at least 1 field and at most 500 fields.
    * 
* - * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ int getFieldsCount(); /** + * + * *
    * Required. Maps the ID of a tag field to its value and additional
    * information about that field.
@@ -145,17 +190,17 @@ public interface TagOrBuilder extends
    * must have at least 1 field and at most 500 fields.
    * 
* - * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - boolean containsFields( - java.lang.String key); - /** - * Use {@link #getFieldsMap()} instead. + * + * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ + boolean containsFields(java.lang.String key); + /** Use {@link #getFieldsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getFields(); + java.util.Map getFields(); /** + * + * *
    * Required. Maps the ID of a tag field to its value and additional
    * information about that field.
@@ -164,11 +209,14 @@ boolean containsFields(
    * must have at least 1 field and at most 500 fields.
    * 
* - * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.Map - getFieldsMap(); + java.util.Map getFieldsMap(); /** + * + * *
    * Required. Maps the ID of a tag field to its value and additional
    * information about that field.
@@ -177,14 +225,18 @@ boolean containsFields(
    * must have at least 1 field and at most 500 fields.
    * 
* - * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ /* nullable */ -com.google.cloud.datacatalog.v1.TagField getFieldsOrDefault( + com.google.cloud.datacatalog.v1.TagField getFieldsOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.datacatalog.v1.TagField defaultValue); + com.google.cloud.datacatalog.v1.TagField defaultValue); /** + * + * *
    * Required. Maps the ID of a tag field to its value and additional
    * information about that field.
@@ -193,10 +245,11 @@ com.google.cloud.datacatalog.v1.TagField getFieldsOrDefault(
    * must have at least 1 field and at most 500 fields.
    * 
* - * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.datacatalog.v1.TagField getFieldsOrThrow( - java.lang.String key); + com.google.cloud.datacatalog.v1.TagField getFieldsOrThrow(java.lang.String key); com.google.cloud.datacatalog.v1.Tag.ScopeCase getScopeCase(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplate.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplate.java similarity index 68% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplate.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplate.java index 669ca1a84eb1..2ba61615d7d6 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplate.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplate.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/datacatalog/v1/tags.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * A tag template defines a tag that can have one or more typed fields.
  *
@@ -18,15 +35,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.TagTemplate}
  */
-public final class TagTemplate extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TagTemplate extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.TagTemplate)
     TagTemplateOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TagTemplate.newBuilder() to construct.
   private TagTemplate(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TagTemplate() {
     name_ = "";
     displayName_ = "";
@@ -34,40 +52,43 @@ private TagTemplate() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TagTemplate();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagTemplate_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Tags
+        .internal_static_google_cloud_datacatalog_v1_TagTemplate_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 internalGetFields();
       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.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagTemplate_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Tags
+        .internal_static_google_cloud_datacatalog_v1_TagTemplate_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.TagTemplate.class, com.google.cloud.datacatalog.v1.TagTemplate.Builder.class);
+            com.google.cloud.datacatalog.v1.TagTemplate.class,
+            com.google.cloud.datacatalog.v1.TagTemplate.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The resource name of the tag template in URL format.
    *
@@ -76,6 +97,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -84,14 +106,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The resource name of the tag template in URL format.
    *
@@ -100,16 +123,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -118,9 +140,12 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Display name for this template. Defaults to an empty string.
    *
@@ -130,6 +155,7 @@ public java.lang.String getName() {
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -138,14 +164,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; } } /** + * + * *
    * Display name for this template. Defaults to an empty string.
    *
@@ -155,16 +182,15 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -175,6 +201,8 @@ public java.lang.String getDisplayName() { public static final int IS_PUBLICLY_READABLE_FIELD_NUMBER = 5; private boolean isPubliclyReadable_ = false; /** + * + * *
    * Indicates whether tags created with this template are public. Public tags
    * do not require tag template access to appear in
@@ -185,6 +213,7 @@ public java.lang.String getDisplayName() {
    * 
* * bool is_publicly_readable = 5; + * * @return The isPubliclyReadable. */ @java.lang.Override @@ -193,32 +222,42 @@ public boolean getIsPubliclyReadable() { } public static final int FIELDS_FIELD_NUMBER = 3; + private static final class FieldsDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.datacatalog.v1.TagTemplateField> defaultEntry = + java.lang.String, com.google.cloud.datacatalog.v1.TagTemplateField> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagTemplate_FieldsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance()); + . + newDefaultInstance( + com.google.cloud.datacatalog.v1.Tags + .internal_static_google_cloud_datacatalog_v1_TagTemplate_FieldsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance()); } + @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1.TagTemplateField> fields_; - private com.google.protobuf.MapField - internalGetFields() { + java.lang.String, com.google.cloud.datacatalog.v1.TagTemplateField> + fields_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1.TagTemplateField> + internalGetFields() { if (fields_ == null) { - return com.google.protobuf.MapField.emptyMapField( - FieldsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(FieldsDefaultEntryHolder.defaultEntry); } return fields_; } + public int getFieldsCount() { return internalGetFields().getMap().size(); } /** + * + * *
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. The map must contain
@@ -233,23 +272,27 @@ public int getFieldsCount() {
    * * Must start with a letter or underscore.
    * 
* - * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public boolean containsFields( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsFields(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetFields().getMap().containsKey(key); } - /** - * Use {@link #getFieldsMap()} instead. - */ + /** Use {@link #getFieldsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getFields() { + public java.util.Map + getFields() { return getFieldsMap(); } /** + * + * *
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. The map must contain
@@ -264,13 +307,18 @@ public java.util.Map
    *
-   * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED];
+   * 
+   * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED];
+   * 
    */
   @java.lang.Override
-  public java.util.Map getFieldsMap() {
+  public java.util.Map
+      getFieldsMap() {
     return internalGetFields().getMap();
   }
   /**
+   *
+   *
    * 
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. The map must contain
@@ -285,20 +333,25 @@ public java.util.Map
    *
-   * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED];
+   * 
+   * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED];
+   * 
    */
   @java.lang.Override
-  public /* nullable */
-com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrDefault(
+  public /* nullable */ com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.cloud.datacatalog.v1.TagTemplateField defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      com.google.cloud.datacatalog.v1.TagTemplateField defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetFields().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. The map must contain
@@ -313,12 +366,15 @@ com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrDefault(
    * * Must start with a letter or underscore.
    * 
* - * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetFields().getMap(); if (!map.containsKey(key)) { @@ -328,6 +384,7 @@ public com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -339,20 +396,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetFields(), - FieldsDefaultEntryHolder.defaultEntry, - 3); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetFields(), FieldsDefaultEntryHolder.defaultEntry, 3); if (isPubliclyReadable_ != false) { output.writeBool(5, isPubliclyReadable_); } @@ -371,19 +423,20 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); } - for (java.util.Map.Entry entry - : internalGetFields().getMap().entrySet()) { - com.google.protobuf.MapEntry - fields__ = FieldsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, fields__); + for (java.util.Map.Entry + entry : internalGetFields().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.datacatalog.v1.TagTemplateField> + fields__ = + FieldsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, fields__); } if (isPubliclyReadable_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, isPubliclyReadable_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, isPubliclyReadable_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -393,21 +446,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.datacatalog.v1.TagTemplate)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.TagTemplate other = (com.google.cloud.datacatalog.v1.TagTemplate) obj; + com.google.cloud.datacatalog.v1.TagTemplate other = + (com.google.cloud.datacatalog.v1.TagTemplate) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (getIsPubliclyReadable() - != other.getIsPubliclyReadable()) return false; - if (!internalGetFields().equals( - other.internalGetFields())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (getIsPubliclyReadable() != other.getIsPubliclyReadable()) return false; + if (!internalGetFields().equals(other.internalGetFields())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -424,8 +474,7 @@ public int hashCode() { hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; hash = (53 * hash) + getDisplayName().hashCode(); hash = (37 * hash) + IS_PUBLICLY_READABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIsPubliclyReadable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsPubliclyReadable()); if (!internalGetFields().getMap().isEmpty()) { hash = (37 * hash) + FIELDS_FIELD_NUMBER; hash = (53 * hash) + internalGetFields().hashCode(); @@ -435,99 +484,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.TagTemplate parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.TagTemplate parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.TagTemplate parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.TagTemplate parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.TagTemplate parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.TagTemplate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.TagTemplate parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.TagTemplate parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.TagTemplate parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TagTemplate parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.TagTemplate parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.TagTemplate parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.TagTemplate parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.TagTemplate parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.TagTemplate prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 tag template defines a tag that can have one or more typed fields.
    *
@@ -542,55 +596,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.TagTemplate}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.TagTemplate)
       com.google.cloud.datacatalog.v1.TagTemplateOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagTemplate_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Tags
+          .internal_static_google_cloud_datacatalog_v1_TagTemplate_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 3:
           return internalGetFields();
         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 internalGetMutableFields();
         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.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagTemplate_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Tags
+          .internal_static_google_cloud_datacatalog_v1_TagTemplate_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.TagTemplate.class, com.google.cloud.datacatalog.v1.TagTemplate.Builder.class);
+              com.google.cloud.datacatalog.v1.TagTemplate.class,
+              com.google.cloud.datacatalog.v1.TagTemplate.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.TagTemplate.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -603,9 +654,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagTemplate_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Tags
+          .internal_static_google_cloud_datacatalog_v1_TagTemplate_descriptor;
     }
 
     @java.lang.Override
@@ -624,8 +675,11 @@ public com.google.cloud.datacatalog.v1.TagTemplate build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.TagTemplate buildPartial() {
-      com.google.cloud.datacatalog.v1.TagTemplate result = new com.google.cloud.datacatalog.v1.TagTemplate(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.TagTemplate result =
+          new com.google.cloud.datacatalog.v1.TagTemplate(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -651,38 +705,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.TagTemplate result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.TagTemplate) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.TagTemplate)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.TagTemplate) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -704,8 +759,7 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.TagTemplate other) {
       if (other.getIsPubliclyReadable() != false) {
         setIsPubliclyReadable(other.getIsPubliclyReadable());
       }
-      internalGetMutableFields().mergeFrom(
-          other.internalGetFields());
+      internalGetMutableFields().mergeFrom(other.internalGetFields());
       bitField0_ |= 0x00000008;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -733,36 +787,45 @@ 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: {
-              com.google.protobuf.MapEntry
-              fields__ = input.readMessage(
-                  FieldsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableFields().getMutableMap().put(
-                  fields__.getKey(), fields__.getValue());
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 26
-            case 40: {
-              isPubliclyReadable_ = input.readBool();
-              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 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                com.google.protobuf.MapEntry<
+                        java.lang.String, com.google.cloud.datacatalog.v1.TagTemplateField>
+                    fields__ =
+                        input.readMessage(
+                            FieldsDefaultEntryHolder.defaultEntry.getParserForType(),
+                            extensionRegistry);
+                internalGetMutableFields()
+                    .getMutableMap()
+                    .put(fields__.getKey(), fields__.getValue());
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 26
+            case 40:
+              {
+                isPubliclyReadable_ = input.readBool();
+                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) {
@@ -772,10 +835,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The resource name of the tag template in URL format.
      *
@@ -784,13 +850,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; @@ -799,6 +865,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the tag template in URL format.
      *
@@ -807,15 +875,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 { @@ -823,6 +890,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the tag template in URL format.
      *
@@ -831,18 +900,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The resource name of the tag template in URL format.
      *
@@ -851,6 +924,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -860,6 +934,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The resource name of the tag template in URL format.
      *
@@ -868,12 +944,14 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -883,6 +961,8 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Display name for this template. Defaults to an empty string.
      *
@@ -892,13 +972,13 @@ public Builder setNameBytes(
      * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -907,6 +987,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display name for this template. Defaults to an empty string.
      *
@@ -916,15 +998,14 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -932,6 +1013,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display name for this template. Defaults to an empty string.
      *
@@ -941,18 +1024,22 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Display name for this template. Defaults to an empty string.
      *
@@ -962,6 +1049,7 @@ public Builder setDisplayName(
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -971,6 +1059,8 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Display name for this template. Defaults to an empty string.
      *
@@ -980,12 +1070,14 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -993,8 +1085,10 @@ public Builder setDisplayNameBytes( return this; } - private boolean isPubliclyReadable_ ; + private boolean isPubliclyReadable_; /** + * + * *
      * Indicates whether tags created with this template are public. Public tags
      * do not require tag template access to appear in
@@ -1005,6 +1099,7 @@ public Builder setDisplayNameBytes(
      * 
* * bool is_publicly_readable = 5; + * * @return The isPubliclyReadable. */ @java.lang.Override @@ -1012,6 +1107,8 @@ public boolean getIsPubliclyReadable() { return isPubliclyReadable_; } /** + * + * *
      * Indicates whether tags created with this template are public. Public tags
      * do not require tag template access to appear in
@@ -1022,6 +1119,7 @@ public boolean getIsPubliclyReadable() {
      * 
* * bool is_publicly_readable = 5; + * * @param value The isPubliclyReadable to set. * @return This builder for chaining. */ @@ -1033,6 +1131,8 @@ public Builder setIsPubliclyReadable(boolean value) { return this; } /** + * + * *
      * Indicates whether tags created with this template are public. Public tags
      * do not require tag template access to appear in
@@ -1043,6 +1143,7 @@ public Builder setIsPubliclyReadable(boolean value) {
      * 
* * bool is_publicly_readable = 5; + * * @return This builder for chaining. */ public Builder clearIsPubliclyReadable() { @@ -1053,20 +1154,23 @@ public Builder clearIsPubliclyReadable() { } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1.TagTemplateField> fields_; - private com.google.protobuf.MapField + java.lang.String, com.google.cloud.datacatalog.v1.TagTemplateField> + fields_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1.TagTemplateField> internalGetFields() { if (fields_ == null) { - return com.google.protobuf.MapField.emptyMapField( - FieldsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(FieldsDefaultEntryHolder.defaultEntry); } return fields_; } - private com.google.protobuf.MapField + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1.TagTemplateField> internalGetMutableFields() { if (fields_ == null) { - fields_ = com.google.protobuf.MapField.newMapField( - FieldsDefaultEntryHolder.defaultEntry); + fields_ = com.google.protobuf.MapField.newMapField(FieldsDefaultEntryHolder.defaultEntry); } if (!fields_.isMutable()) { fields_ = fields_.copy(); @@ -1075,10 +1179,13 @@ public Builder clearIsPubliclyReadable() { onChanged(); return fields_; } + public int getFieldsCount() { return internalGetFields().getMap().size(); } /** + * + * *
      * Required. Map of tag template field IDs to the settings for the field.
      * This map is an exhaustive list of the allowed fields. The map must contain
@@ -1093,23 +1200,27 @@ public int getFieldsCount() {
      * * Must start with a letter or underscore.
      * 
* - * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public boolean containsFields( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsFields(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetFields().getMap().containsKey(key); } - /** - * Use {@link #getFieldsMap()} instead. - */ + /** Use {@link #getFieldsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getFields() { + public java.util.Map + getFields() { return getFieldsMap(); } /** + * + * *
      * Required. Map of tag template field IDs to the settings for the field.
      * This map is an exhaustive list of the allowed fields. The map must contain
@@ -1124,13 +1235,18 @@ public java.util.Map
      *
-     * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED];
+     * 
+     * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED];
+     * 
      */
     @java.lang.Override
-    public java.util.Map getFieldsMap() {
+    public java.util.Map
+        getFieldsMap() {
       return internalGetFields().getMap();
     }
     /**
+     *
+     *
      * 
      * Required. Map of tag template field IDs to the settings for the field.
      * This map is an exhaustive list of the allowed fields. The map must contain
@@ -1145,20 +1261,25 @@ public java.util.Map
      *
-     * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED];
+     * 
+     * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED];
+     * 
      */
     @java.lang.Override
-    public /* nullable */
-com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrDefault(
+    public /* nullable */ com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrDefault(
         java.lang.String key,
         /* nullable */
-com.google.cloud.datacatalog.v1.TagTemplateField defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        com.google.cloud.datacatalog.v1.TagTemplateField defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetFields().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Required. Map of tag template field IDs to the settings for the field.
      * This map is an exhaustive list of the allowed fields. The map must contain
@@ -1173,12 +1294,15 @@ com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrDefault(
      * * Must start with a letter or underscore.
      * 
* - * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetFields().getMap(); if (!map.containsKey(key)) { @@ -1186,13 +1310,15 @@ public com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrThrow( } return map.get(key); } + public Builder clearFields() { bitField0_ = (bitField0_ & ~0x00000008); - internalGetMutableFields().getMutableMap() - .clear(); + internalGetMutableFields().getMutableMap().clear(); return this; } /** + * + * *
      * Required. Map of tag template field IDs to the settings for the field.
      * This map is an exhaustive list of the allowed fields. The map must contain
@@ -1207,18 +1333,18 @@ public Builder clearFields() {
      * * Must start with a letter or underscore.
      * 
* - * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder removeFields( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableFields().getMutableMap() - .remove(key); + public Builder removeFields(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableFields().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableFields() { @@ -1226,6 +1352,8 @@ public Builder removeFields( return internalGetMutableFields().getMutableMap(); } /** + * + * *
      * Required. Map of tag template field IDs to the settings for the field.
      * This map is an exhaustive list of the allowed fields. The map must contain
@@ -1240,19 +1368,25 @@ public Builder removeFields(
      * * Must start with a letter or underscore.
      * 
* - * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder putFields( - java.lang.String key, - com.google.cloud.datacatalog.v1.TagTemplateField value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableFields().getMutableMap() - .put(key, value); + java.lang.String key, com.google.cloud.datacatalog.v1.TagTemplateField value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableFields().getMutableMap().put(key, value); bitField0_ |= 0x00000008; return this; } /** + * + * *
      * Required. Map of tag template field IDs to the settings for the field.
      * This map is an exhaustive list of the allowed fields. The map must contain
@@ -1267,18 +1401,19 @@ public Builder putFields(
      * * Must start with a letter or underscore.
      * 
* - * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder putAllFields( java.util.Map values) { - internalGetMutableFields().getMutableMap() - .putAll(values); + internalGetMutableFields().getMutableMap().putAll(values); bitField0_ |= 0x00000008; return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1288,12 +1423,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.TagTemplate) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.TagTemplate) private static final com.google.cloud.datacatalog.v1.TagTemplate DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.TagTemplate(); } @@ -1302,27 +1437,27 @@ public static com.google.cloud.datacatalog.v1.TagTemplate getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TagTemplate parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TagTemplate parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1337,6 +1472,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.TagTemplate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateField.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateField.java similarity index 71% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateField.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateField.java index e122d0f6736d..aae1064e8fac 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateField.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateField.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/datacatalog/v1/tags.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * The template for an individual field within a tag template.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.TagTemplateField} */ -public final class TagTemplateField extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TagTemplateField extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.TagTemplateField) TagTemplateFieldOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TagTemplateField.newBuilder() to construct. private TagTemplateField(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TagTemplateField() { name_ = ""; displayName_ = ""; @@ -27,28 +45,32 @@ private TagTemplateField() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TagTemplateField(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagTemplateField_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Tags + .internal_static_google_cloud_datacatalog_v1_TagTemplateField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagTemplateField_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Tags + .internal_static_google_cloud_datacatalog_v1_TagTemplateField_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.TagTemplateField.class, com.google.cloud.datacatalog.v1.TagTemplateField.Builder.class); + com.google.cloud.datacatalog.v1.TagTemplateField.class, + com.google.cloud.datacatalog.v1.TagTemplateField.Builder.class); } public static final int NAME_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. The resource name of the tag template field in URL format.
    * Example:
@@ -64,6 +86,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -72,14 +95,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The resource name of the tag template field in URL format.
    * Example:
@@ -95,16 +119,15 @@ public java.lang.String getName() {
    * 
* * string name = 6 [(.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 { @@ -113,9 +136,12 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * The display name for this field. Defaults to an empty string.
    *
@@ -125,6 +151,7 @@ public java.lang.String getName() {
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -133,14 +160,15 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * The display name for this field. Defaults to an empty string.
    *
@@ -150,16 +178,15 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -170,11 +197,16 @@ public java.lang.String getDisplayName() { public static final int TYPE_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1.FieldType type_; /** + * + * *
    * Required. The type of value this tag field can contain.
    * 
* - * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the type field is set. */ @java.lang.Override @@ -182,11 +214,16 @@ public boolean hasType() { return type_ != null; } /** + * + * *
    * Required. The type of value this tag field can contain.
    * 
* - * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ @java.lang.Override @@ -194,11 +231,15 @@ public com.google.cloud.datacatalog.v1.FieldType getType() { return type_ == null ? com.google.cloud.datacatalog.v1.FieldType.getDefaultInstance() : type_; } /** + * + * *
    * Required. The type of value this tag field can contain.
    * 
* - * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1.FieldTypeOrBuilder getTypeOrBuilder() { @@ -208,11 +249,14 @@ public com.google.cloud.datacatalog.v1.FieldTypeOrBuilder getTypeOrBuilder() { public static final int IS_REQUIRED_FIELD_NUMBER = 3; private boolean isRequired_ = false; /** + * + * *
    * If true, this field is required. Defaults to false.
    * 
* * bool is_required = 3; + * * @return The isRequired. */ @java.lang.Override @@ -221,14 +265,18 @@ public boolean getIsRequired() { } public static final int DESCRIPTION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * The description for this field. Defaults to an empty string.
    * 
* * string description = 4; + * * @return The description. */ @java.lang.Override @@ -237,29 +285,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; } } /** + * + * *
    * The description for this field. Defaults to an empty string.
    * 
* * string description = 4; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -270,6 +318,8 @@ public java.lang.String getDescription() { public static final int ORDER_FIELD_NUMBER = 5; private int order_ = 0; /** + * + * *
    * The order of this field with respect to other fields in this tag
    * template.
@@ -280,6 +330,7 @@ public java.lang.String getDescription() {
    * 
* * int32 order = 5; + * * @return The order. */ @java.lang.Override @@ -288,6 +339,7 @@ public int getOrder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -299,8 +351,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -332,19 +383,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, displayName_); } if (type_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getType()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getType()); } if (isRequired_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, isRequired_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, isRequired_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); } if (order_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, order_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, order_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); @@ -357,28 +405,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.datacatalog.v1.TagTemplateField)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.TagTemplateField other = (com.google.cloud.datacatalog.v1.TagTemplateField) obj; + com.google.cloud.datacatalog.v1.TagTemplateField other = + (com.google.cloud.datacatalog.v1.TagTemplateField) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (hasType() != other.hasType()) return false; if (hasType()) { - if (!getType() - .equals(other.getType())) return false; - } - if (getIsRequired() - != other.getIsRequired()) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (getOrder() - != other.getOrder()) return false; + if (!getType().equals(other.getType())) return false; + } + if (getIsRequired() != other.getIsRequired()) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (getOrder() != other.getOrder()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -399,8 +442,7 @@ public int hashCode() { hash = (53 * hash) + getType().hashCode(); } hash = (37 * hash) + IS_REQUIRED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIsRequired()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsRequired()); hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); hash = (37 * hash) + ORDER_FIELD_NUMBER; @@ -410,132 +452,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.TagTemplateField parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.TagTemplateField parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.TagTemplateField parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.TagTemplateField parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.TagTemplateField parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.TagTemplateField parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.TagTemplateField parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TagTemplateField parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.TagTemplateField parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.TagTemplateField parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TagTemplateField parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.TagTemplateField parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.TagTemplateField parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.TagTemplateField parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.TagTemplateField parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.TagTemplateField prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 template for an individual field within a tag template.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.TagTemplateField} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.TagTemplateField) com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagTemplateField_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Tags + .internal_static_google_cloud_datacatalog_v1_TagTemplateField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagTemplateField_fieldAccessorTable + return com.google.cloud.datacatalog.v1.Tags + .internal_static_google_cloud_datacatalog_v1_TagTemplateField_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.TagTemplateField.class, com.google.cloud.datacatalog.v1.TagTemplateField.Builder.class); + com.google.cloud.datacatalog.v1.TagTemplateField.class, + com.google.cloud.datacatalog.v1.TagTemplateField.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.TagTemplateField.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -554,9 +600,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.Tags.internal_static_google_cloud_datacatalog_v1_TagTemplateField_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Tags + .internal_static_google_cloud_datacatalog_v1_TagTemplateField_descriptor; } @java.lang.Override @@ -575,8 +621,11 @@ public com.google.cloud.datacatalog.v1.TagTemplateField build() { @java.lang.Override public com.google.cloud.datacatalog.v1.TagTemplateField buildPartial() { - com.google.cloud.datacatalog.v1.TagTemplateField result = new com.google.cloud.datacatalog.v1.TagTemplateField(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1.TagTemplateField result = + new com.google.cloud.datacatalog.v1.TagTemplateField(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -590,9 +639,7 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.TagTemplateField resu result.displayName_ = displayName_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.type_ = typeBuilder_ == null - ? type_ - : typeBuilder_.build(); + result.type_ = typeBuilder_ == null ? type_ : typeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.isRequired_ = isRequired_; @@ -609,38 +656,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.TagTemplateField 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.datacatalog.v1.TagTemplateField) { - return mergeFrom((com.google.cloud.datacatalog.v1.TagTemplateField)other); + return mergeFrom((com.google.cloud.datacatalog.v1.TagTemplateField) other); } else { super.mergeFrom(other); return this; @@ -648,7 +696,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.TagTemplateField other) { - if (other == com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance()) return this; + if (other == com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -699,44 +748,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 10 - case 18: { - input.readMessage( - getTypeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 24: { - isRequired_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 24 - case 34: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 40: { - order_ = input.readInt32(); - bitField0_ |= 0x00000020; - break; - } // case 40 - case 50: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 10 + case 18: + { + input.readMessage(getTypeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 24: + { + isRequired_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 24 + case 34: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 40: + { + order_ = input.readInt32(); + bitField0_ |= 0x00000020; + break; + } // case 40 + case 50: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + 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) { @@ -746,10 +800,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The resource name of the tag template field in URL format.
      * Example:
@@ -765,13 +822,13 @@ public Builder mergeFrom(
      * 
* * string name = 6 [(.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; @@ -780,6 +837,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name of the tag template field in URL format.
      * Example:
@@ -795,15 +854,14 @@ public java.lang.String getName() {
      * 
* * string name = 6 [(.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 { @@ -811,6 +869,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name of the tag template field in URL format.
      * Example:
@@ -826,18 +886,22 @@ public java.lang.String getName() {
      * 
* * string name = 6 [(.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 resource name of the tag template field in URL format.
      * Example:
@@ -853,6 +917,7 @@ public Builder setName(
      * 
* * string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -862,6 +927,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The resource name of the tag template field in URL format.
      * Example:
@@ -877,12 +944,14 @@ public Builder clearName() {
      * 
* * string name = 6 [(.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; @@ -892,6 +961,8 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * The display name for this field. Defaults to an empty string.
      *
@@ -901,13 +972,13 @@ public Builder setNameBytes(
      * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -916,6 +987,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name for this field. Defaults to an empty string.
      *
@@ -925,15 +998,14 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -941,6 +1013,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name for this field. Defaults to an empty string.
      *
@@ -950,18 +1024,22 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The display name for this field. Defaults to an empty string.
      *
@@ -971,6 +1049,7 @@ public Builder setDisplayName(
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -980,6 +1059,8 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * The display name for this field. Defaults to an empty string.
      *
@@ -989,12 +1070,14 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -1004,39 +1087,58 @@ public Builder setDisplayNameBytes( private com.google.cloud.datacatalog.v1.FieldType type_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.FieldType, com.google.cloud.datacatalog.v1.FieldType.Builder, com.google.cloud.datacatalog.v1.FieldTypeOrBuilder> typeBuilder_; + com.google.cloud.datacatalog.v1.FieldType, + com.google.cloud.datacatalog.v1.FieldType.Builder, + com.google.cloud.datacatalog.v1.FieldTypeOrBuilder> + typeBuilder_; /** + * + * *
      * Required. The type of value this tag field can contain.
      * 
* - * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the type field is set. */ public boolean hasType() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The type of value this tag field can contain.
      * 
* - * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ public com.google.cloud.datacatalog.v1.FieldType getType() { if (typeBuilder_ == null) { - return type_ == null ? com.google.cloud.datacatalog.v1.FieldType.getDefaultInstance() : type_; + return type_ == null + ? com.google.cloud.datacatalog.v1.FieldType.getDefaultInstance() + : type_; } else { return typeBuilder_.getMessage(); } } /** + * + * *
      * Required. The type of value this tag field can contain.
      * 
* - * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setType(com.google.cloud.datacatalog.v1.FieldType value) { if (typeBuilder_ == null) { @@ -1052,14 +1154,17 @@ public Builder setType(com.google.cloud.datacatalog.v1.FieldType value) { return this; } /** + * + * *
      * Required. The type of value this tag field can contain.
      * 
* - * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setType( - com.google.cloud.datacatalog.v1.FieldType.Builder builderForValue) { + public Builder setType(com.google.cloud.datacatalog.v1.FieldType.Builder builderForValue) { if (typeBuilder_ == null) { type_ = builderForValue.build(); } else { @@ -1070,17 +1175,21 @@ public Builder setType( return this; } /** + * + * *
      * Required. The type of value this tag field can contain.
      * 
* - * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeType(com.google.cloud.datacatalog.v1.FieldType value) { if (typeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - type_ != null && - type_ != com.google.cloud.datacatalog.v1.FieldType.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && type_ != null + && type_ != com.google.cloud.datacatalog.v1.FieldType.getDefaultInstance()) { getTypeBuilder().mergeFrom(value); } else { type_ = value; @@ -1093,11 +1202,15 @@ public Builder mergeType(com.google.cloud.datacatalog.v1.FieldType value) { return this; } /** + * + * *
      * Required. The type of value this tag field can contain.
      * 
* - * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1110,11 +1223,15 @@ public Builder clearType() { return this; } /** + * + * *
      * Required. The type of value this tag field can contain.
      * 
* - * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1.FieldType.Builder getTypeBuilder() { bitField0_ |= 0x00000004; @@ -1122,48 +1239,63 @@ public com.google.cloud.datacatalog.v1.FieldType.Builder getTypeBuilder() { return getTypeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The type of value this tag field can contain.
      * 
* - * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1.FieldTypeOrBuilder getTypeOrBuilder() { if (typeBuilder_ != null) { return typeBuilder_.getMessageOrBuilder(); } else { - return type_ == null ? - com.google.cloud.datacatalog.v1.FieldType.getDefaultInstance() : type_; + return type_ == null + ? com.google.cloud.datacatalog.v1.FieldType.getDefaultInstance() + : type_; } } /** + * + * *
      * Required. The type of value this tag field can contain.
      * 
* - * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.FieldType, com.google.cloud.datacatalog.v1.FieldType.Builder, com.google.cloud.datacatalog.v1.FieldTypeOrBuilder> + com.google.cloud.datacatalog.v1.FieldType, + com.google.cloud.datacatalog.v1.FieldType.Builder, + com.google.cloud.datacatalog.v1.FieldTypeOrBuilder> getTypeFieldBuilder() { if (typeBuilder_ == null) { - typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.FieldType, com.google.cloud.datacatalog.v1.FieldType.Builder, com.google.cloud.datacatalog.v1.FieldTypeOrBuilder>( - getType(), - getParentForChildren(), - isClean()); + typeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.FieldType, + com.google.cloud.datacatalog.v1.FieldType.Builder, + com.google.cloud.datacatalog.v1.FieldTypeOrBuilder>( + getType(), getParentForChildren(), isClean()); type_ = null; } return typeBuilder_; } - private boolean isRequired_ ; + private boolean isRequired_; /** + * + * *
      * If true, this field is required. Defaults to false.
      * 
* * bool is_required = 3; + * * @return The isRequired. */ @java.lang.Override @@ -1171,11 +1303,14 @@ public boolean getIsRequired() { return isRequired_; } /** + * + * *
      * If true, this field is required. Defaults to false.
      * 
* * bool is_required = 3; + * * @param value The isRequired to set. * @return This builder for chaining. */ @@ -1187,11 +1322,14 @@ public Builder setIsRequired(boolean value) { return this; } /** + * + * *
      * If true, this field is required. Defaults to false.
      * 
* * bool is_required = 3; + * * @return This builder for chaining. */ public Builder clearIsRequired() { @@ -1203,18 +1341,20 @@ public Builder clearIsRequired() { private java.lang.Object description_ = ""; /** + * + * *
      * The description for this field. Defaults to an empty string.
      * 
* * string description = 4; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1223,20 +1363,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The description for this field. Defaults to an empty string.
      * 
* * string description = 4; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1244,28 +1385,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The description for this field. Defaults to an empty string.
      * 
* * string description = 4; + * * @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; } /** + * + * *
      * The description for this field. Defaults to an empty string.
      * 
* * string description = 4; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1275,17 +1423,21 @@ public Builder clearDescription() { return this; } /** + * + * *
      * The description for this field. Defaults to an empty string.
      * 
* * string description = 4; + * * @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; @@ -1293,8 +1445,10 @@ public Builder setDescriptionBytes( return this; } - private int order_ ; + private int order_; /** + * + * *
      * The order of this field with respect to other fields in this tag
      * template.
@@ -1305,6 +1459,7 @@ public Builder setDescriptionBytes(
      * 
* * int32 order = 5; + * * @return The order. */ @java.lang.Override @@ -1312,6 +1467,8 @@ public int getOrder() { return order_; } /** + * + * *
      * The order of this field with respect to other fields in this tag
      * template.
@@ -1322,6 +1479,7 @@ public int getOrder() {
      * 
* * int32 order = 5; + * * @param value The order to set. * @return This builder for chaining. */ @@ -1333,6 +1491,8 @@ public Builder setOrder(int value) { return this; } /** + * + * *
      * The order of this field with respect to other fields in this tag
      * template.
@@ -1343,6 +1503,7 @@ public Builder setOrder(int value) {
      * 
* * int32 order = 5; + * * @return This builder for chaining. */ public Builder clearOrder() { @@ -1351,9 +1512,9 @@ public Builder clearOrder() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1363,12 +1524,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.TagTemplateField) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.TagTemplateField) private static final com.google.cloud.datacatalog.v1.TagTemplateField DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.TagTemplateField(); } @@ -1377,27 +1538,27 @@ public static com.google.cloud.datacatalog.v1.TagTemplateField getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TagTemplateField parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TagTemplateField parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1412,6 +1573,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.TagTemplateField getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldEnumValueName.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldEnumValueName.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldEnumValueName.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldEnumValueName.java diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldName.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldName.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldName.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldName.java diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldOrBuilder.java similarity index 74% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldOrBuilder.java index b324bd0f939c..7f11e9290393 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldOrBuilder.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/datacatalog/v1/tags.proto package com.google.cloud.datacatalog.v1; -public interface TagTemplateFieldOrBuilder extends +public interface TagTemplateFieldOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.TagTemplateField) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The resource name of the tag template field in URL format.
    * Example:
@@ -23,10 +41,13 @@ public interface TagTemplateFieldOrBuilder extends
    * 
* * string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The resource name of the tag template field in URL format.
    * Example:
@@ -42,12 +63,14 @@ public interface TagTemplateFieldOrBuilder extends
    * 
* * string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The display name for this field. Defaults to an empty string.
    *
@@ -57,10 +80,13 @@ public interface TagTemplateFieldOrBuilder extends
    * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The display name for this field. Defaults to an empty string.
    *
@@ -70,69 +96,93 @@ public interface TagTemplateFieldOrBuilder extends
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Required. The type of value this tag field can contain.
    * 
* - * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the type field is set. */ boolean hasType(); /** + * + * *
    * Required. The type of value this tag field can contain.
    * 
* - * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ com.google.cloud.datacatalog.v1.FieldType getType(); /** + * + * *
    * Required. The type of value this tag field can contain.
    * 
* - * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.datacatalog.v1.FieldTypeOrBuilder getTypeOrBuilder(); /** + * + * *
    * If true, this field is required. Defaults to false.
    * 
* * bool is_required = 3; + * * @return The isRequired. */ boolean getIsRequired(); /** + * + * *
    * The description for this field. Defaults to an empty string.
    * 
* * string description = 4; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * The description for this field. Defaults to an empty string.
    * 
* * string description = 4; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * The order of this field with respect to other fields in this tag
    * template.
@@ -143,6 +193,7 @@ public interface TagTemplateFieldOrBuilder extends
    * 
* * int32 order = 5; + * * @return The order. */ int getOrder(); diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateName.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateName.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateName.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateName.java diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateOrBuilder.java similarity index 73% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateOrBuilder.java index c69e550d25f3..034b66dae2a7 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateOrBuilder.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/datacatalog/v1/tags.proto package com.google.cloud.datacatalog.v1; -public interface TagTemplateOrBuilder extends +public interface TagTemplateOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.TagTemplate) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The resource name of the tag template in URL format.
    *
@@ -16,10 +34,13 @@ public interface TagTemplateOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The resource name of the tag template in URL format.
    *
@@ -28,12 +49,14 @@ public interface TagTemplateOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Display name for this template. Defaults to an empty string.
    *
@@ -43,10 +66,13 @@ public interface TagTemplateOrBuilder extends
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Display name for this template. Defaults to an empty string.
    *
@@ -56,12 +82,14 @@ public interface TagTemplateOrBuilder extends
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Indicates whether tags created with this template are public. Public tags
    * do not require tag template access to appear in
@@ -72,11 +100,14 @@ public interface TagTemplateOrBuilder extends
    * 
* * bool is_publicly_readable = 5; + * * @return The isPubliclyReadable. */ boolean getIsPubliclyReadable(); /** + * + * *
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. The map must contain
@@ -91,10 +122,14 @@ public interface TagTemplateOrBuilder extends
    * * Must start with a letter or underscore.
    * 
* - * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ int getFieldsCount(); /** + * + * *
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. The map must contain
@@ -109,17 +144,17 @@ public interface TagTemplateOrBuilder extends
    * * Must start with a letter or underscore.
    * 
* - * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - boolean containsFields( - java.lang.String key); - /** - * Use {@link #getFieldsMap()} instead. + * + * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ + boolean containsFields(java.lang.String key); + /** Use {@link #getFieldsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getFields(); + java.util.Map getFields(); /** + * + * *
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. The map must contain
@@ -134,11 +169,14 @@ boolean containsFields(
    * * Must start with a letter or underscore.
    * 
* - * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.Map - getFieldsMap(); + java.util.Map getFieldsMap(); /** + * + * *
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. The map must contain
@@ -153,14 +191,18 @@ boolean containsFields(
    * * Must start with a letter or underscore.
    * 
* - * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ /* nullable */ -com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrDefault( + com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.datacatalog.v1.TagTemplateField defaultValue); + com.google.cloud.datacatalog.v1.TagTemplateField defaultValue); /** + * + * *
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. The map must contain
@@ -175,8 +217,9 @@ com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrDefault(
    * * Must start with a letter or underscore.
    * 
* - * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrThrow( - java.lang.String key); + com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrThrow(java.lang.String key); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntry.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntry.java similarity index 66% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntry.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntry.java index 8df3b82a4042..31bc9383925e 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntry.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntry.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/datacatalog/v1/dump_content.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Wrapper containing Entry and information about Tags
  * that should and should not be attached to it.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.TaggedEntry}
  */
-public final class TaggedEntry extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TaggedEntry extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.TaggedEntry)
     TaggedEntryOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TaggedEntry.newBuilder() to construct.
   private TaggedEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TaggedEntry() {
     presentTags_ = java.util.Collections.emptyList();
     absentTags_ = java.util.Collections.emptyList();
@@ -27,33 +45,38 @@ private TaggedEntry() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TaggedEntry();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.DumpContentProto.internal_static_google_cloud_datacatalog_v1_TaggedEntry_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.DumpContentProto
+        .internal_static_google_cloud_datacatalog_v1_TaggedEntry_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.DumpContentProto.internal_static_google_cloud_datacatalog_v1_TaggedEntry_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.DumpContentProto
+        .internal_static_google_cloud_datacatalog_v1_TaggedEntry_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.TaggedEntry.class, com.google.cloud.datacatalog.v1.TaggedEntry.Builder.class);
+            com.google.cloud.datacatalog.v1.TaggedEntry.class,
+            com.google.cloud.datacatalog.v1.TaggedEntry.Builder.class);
   }
 
   private int entryCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object entry_;
+
   public enum EntryCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     V1_ENTRY(1),
     ENTRY_NOT_SET(0);
     private final int value;
+
     private EntryCase(int value) {
       this.value = value;
     }
@@ -69,29 +92,34 @@ public static EntryCase valueOf(int value) {
 
     public static EntryCase forNumber(int value) {
       switch (value) {
-        case 1: return V1_ENTRY;
-        case 0: return ENTRY_NOT_SET;
-        default: return null;
+        case 1:
+          return V1_ENTRY;
+        case 0:
+          return ENTRY_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public EntryCase
-  getEntryCase() {
-    return EntryCase.forNumber(
-        entryCase_);
+  public EntryCase getEntryCase() {
+    return EntryCase.forNumber(entryCase_);
   }
 
   public static final int V1_ENTRY_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * Non-encrypted Data Catalog v1 Entry.
    * 
* * .google.cloud.datacatalog.v1.Entry v1_entry = 1; + * * @return Whether the v1Entry field is set. */ @java.lang.Override @@ -99,21 +127,26 @@ public boolean hasV1Entry() { return entryCase_ == 1; } /** + * + * *
    * Non-encrypted Data Catalog v1 Entry.
    * 
* * .google.cloud.datacatalog.v1.Entry v1_entry = 1; + * * @return The v1Entry. */ @java.lang.Override public com.google.cloud.datacatalog.v1.Entry getV1Entry() { if (entryCase_ == 1) { - return (com.google.cloud.datacatalog.v1.Entry) entry_; + return (com.google.cloud.datacatalog.v1.Entry) entry_; } return com.google.cloud.datacatalog.v1.Entry.getDefaultInstance(); } /** + * + * *
    * Non-encrypted Data Catalog v1 Entry.
    * 
@@ -123,144 +156,185 @@ public com.google.cloud.datacatalog.v1.Entry getV1Entry() { @java.lang.Override public com.google.cloud.datacatalog.v1.EntryOrBuilder getV1EntryOrBuilder() { if (entryCase_ == 1) { - return (com.google.cloud.datacatalog.v1.Entry) entry_; + return (com.google.cloud.datacatalog.v1.Entry) entry_; } return com.google.cloud.datacatalog.v1.Entry.getDefaultInstance(); } public static final int PRESENT_TAGS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List presentTags_; /** + * + * *
    * Optional. Tags that should be ingested into the Data Catalog.
    * Caller should populate template name, column and fields.
    * 
* - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List getPresentTagsList() { return presentTags_; } /** + * + * *
    * Optional. Tags that should be ingested into the Data Catalog.
    * Caller should populate template name, column and fields.
    * 
* - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List getPresentTagsOrBuilderList() { return presentTags_; } /** + * + * *
    * Optional. Tags that should be ingested into the Data Catalog.
    * Caller should populate template name, column and fields.
    * 
* - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getPresentTagsCount() { return presentTags_.size(); } /** + * + * *
    * Optional. Tags that should be ingested into the Data Catalog.
    * Caller should populate template name, column and fields.
    * 
* - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1.Tag getPresentTags(int index) { return presentTags_.get(index); } /** + * + * *
    * Optional. Tags that should be ingested into the Data Catalog.
    * Caller should populate template name, column and fields.
    * 
* - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1.TagOrBuilder getPresentTagsOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1.TagOrBuilder getPresentTagsOrBuilder(int index) { return presentTags_.get(index); } public static final int ABSENT_TAGS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List absentTags_; /** + * + * *
    * Optional. Tags that should be deleted from the Data Catalog.
    * Caller should populate template name and column only.
    * 
* - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List getAbsentTagsList() { return absentTags_; } /** + * + * *
    * Optional. Tags that should be deleted from the Data Catalog.
    * Caller should populate template name and column only.
    * 
* - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List getAbsentTagsOrBuilderList() { return absentTags_; } /** + * + * *
    * Optional. Tags that should be deleted from the Data Catalog.
    * Caller should populate template name and column only.
    * 
* - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getAbsentTagsCount() { return absentTags_.size(); } /** + * + * *
    * Optional. Tags that should be deleted from the Data Catalog.
    * Caller should populate template name and column only.
    * 
* - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1.Tag getAbsentTags(int index) { return absentTags_.get(index); } /** + * + * *
    * Optional. Tags that should be deleted from the Data Catalog.
    * Caller should populate template name and column only.
    * 
* - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1.TagOrBuilder getAbsentTagsOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1.TagOrBuilder getAbsentTagsOrBuilder(int index) { return absentTags_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -272,8 +346,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (entryCase_ == 1) { output.writeMessage(1, (com.google.cloud.datacatalog.v1.Entry) entry_); } @@ -293,16 +366,15 @@ public int getSerializedSize() { size = 0; if (entryCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.datacatalog.v1.Entry) entry_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.datacatalog.v1.Entry) entry_); } for (int i = 0; i < presentTags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, presentTags_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, presentTags_.get(i)); } for (int i = 0; i < absentTags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, absentTags_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, absentTags_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -312,22 +384,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.datacatalog.v1.TaggedEntry)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.TaggedEntry other = (com.google.cloud.datacatalog.v1.TaggedEntry) obj; + com.google.cloud.datacatalog.v1.TaggedEntry other = + (com.google.cloud.datacatalog.v1.TaggedEntry) obj; - if (!getPresentTagsList() - .equals(other.getPresentTagsList())) return false; - if (!getAbsentTagsList() - .equals(other.getAbsentTagsList())) return false; + if (!getPresentTagsList().equals(other.getPresentTagsList())) return false; + if (!getAbsentTagsList().equals(other.getAbsentTagsList())) return false; if (!getEntryCase().equals(other.getEntryCase())) return false; switch (entryCase_) { case 1: - if (!getV1Entry() - .equals(other.getV1Entry())) return false; + if (!getV1Entry().equals(other.getV1Entry())) return false; break; case 0: default: @@ -364,99 +434,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.TaggedEntry parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.TaggedEntry parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.TaggedEntry parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.TaggedEntry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.TaggedEntry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.TaggedEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.TaggedEntry parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.TaggedEntry parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.TaggedEntry parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.TaggedEntry parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.TaggedEntry parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.TaggedEntry parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.TaggedEntry parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.TaggedEntry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.TaggedEntry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Wrapper containing Entry and information about Tags
    * that should and should not be attached to it.
@@ -464,33 +539,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.TaggedEntry}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.TaggedEntry)
       com.google.cloud.datacatalog.v1.TaggedEntryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.DumpContentProto.internal_static_google_cloud_datacatalog_v1_TaggedEntry_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.DumpContentProto
+          .internal_static_google_cloud_datacatalog_v1_TaggedEntry_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.DumpContentProto.internal_static_google_cloud_datacatalog_v1_TaggedEntry_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.DumpContentProto
+          .internal_static_google_cloud_datacatalog_v1_TaggedEntry_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.TaggedEntry.class, com.google.cloud.datacatalog.v1.TaggedEntry.Builder.class);
+              com.google.cloud.datacatalog.v1.TaggedEntry.class,
+              com.google.cloud.datacatalog.v1.TaggedEntry.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.TaggedEntry.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -518,9 +592,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.DumpContentProto.internal_static_google_cloud_datacatalog_v1_TaggedEntry_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.DumpContentProto
+          .internal_static_google_cloud_datacatalog_v1_TaggedEntry_descriptor;
     }
 
     @java.lang.Override
@@ -539,9 +613,12 @@ public com.google.cloud.datacatalog.v1.TaggedEntry build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.TaggedEntry buildPartial() {
-      com.google.cloud.datacatalog.v1.TaggedEntry result = new com.google.cloud.datacatalog.v1.TaggedEntry(this);
+      com.google.cloud.datacatalog.v1.TaggedEntry result =
+          new com.google.cloud.datacatalog.v1.TaggedEntry(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -575,8 +652,7 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.TaggedEntry result) {
     private void buildPartialOneofs(com.google.cloud.datacatalog.v1.TaggedEntry result) {
       result.entryCase_ = entryCase_;
       result.entry_ = this.entry_;
-      if (entryCase_ == 1 &&
-          v1EntryBuilder_ != null) {
+      if (entryCase_ == 1 && v1EntryBuilder_ != null) {
         result.entry_ = v1EntryBuilder_.build();
       }
     }
@@ -585,38 +661,39 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1.TaggedEntry 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.datacatalog.v1.TaggedEntry) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.TaggedEntry)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.TaggedEntry) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -643,9 +720,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.TaggedEntry other) {
             presentTagsBuilder_ = null;
             presentTags_ = other.presentTags_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            presentTagsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getPresentTagsFieldBuilder() : null;
+            presentTagsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getPresentTagsFieldBuilder()
+                    : null;
           } else {
             presentTagsBuilder_.addAllMessages(other.presentTags_);
           }
@@ -669,22 +747,25 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.TaggedEntry other) {
             absentTagsBuilder_ = null;
             absentTags_ = other.absentTags_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            absentTagsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getAbsentTagsFieldBuilder() : null;
+            absentTagsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getAbsentTagsFieldBuilder()
+                    : null;
           } else {
             absentTagsBuilder_.addAllMessages(other.absentTags_);
           }
         }
       }
       switch (other.getEntryCase()) {
-        case V1_ENTRY: {
-          mergeV1Entry(other.getV1Entry());
-          break;
-        }
-        case ENTRY_NOT_SET: {
-          break;
-        }
+        case V1_ENTRY:
+          {
+            mergeV1Entry(other.getV1Entry());
+            break;
+          }
+        case ENTRY_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -712,45 +793,45 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getV1EntryFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              entryCase_ = 1;
-              break;
-            } // case 10
-            case 18: {
-              com.google.cloud.datacatalog.v1.Tag m =
-                  input.readMessage(
-                      com.google.cloud.datacatalog.v1.Tag.parser(),
-                      extensionRegistry);
-              if (presentTagsBuilder_ == null) {
-                ensurePresentTagsIsMutable();
-                presentTags_.add(m);
-              } else {
-                presentTagsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            case 26: {
-              com.google.cloud.datacatalog.v1.Tag m =
-                  input.readMessage(
-                      com.google.cloud.datacatalog.v1.Tag.parser(),
-                      extensionRegistry);
-              if (absentTagsBuilder_ == null) {
-                ensureAbsentTagsIsMutable();
-                absentTags_.add(m);
-              } else {
-                absentTagsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getV1EntryFieldBuilder().getBuilder(), extensionRegistry);
+                entryCase_ = 1;
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.cloud.datacatalog.v1.Tag m =
+                    input.readMessage(
+                        com.google.cloud.datacatalog.v1.Tag.parser(), extensionRegistry);
+                if (presentTagsBuilder_ == null) {
+                  ensurePresentTagsIsMutable();
+                  presentTags_.add(m);
+                } else {
+                  presentTagsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+            case 26:
+              {
+                com.google.cloud.datacatalog.v1.Tag m =
+                    input.readMessage(
+                        com.google.cloud.datacatalog.v1.Tag.parser(), extensionRegistry);
+                if (absentTagsBuilder_ == null) {
+                  ensureAbsentTagsIsMutable();
+                  absentTags_.add(m);
+                } else {
+                  absentTagsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -760,12 +841,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int entryCase_ = 0;
     private java.lang.Object entry_;
-    public EntryCase
-        getEntryCase() {
-      return EntryCase.forNumber(
-          entryCase_);
+
+    public EntryCase getEntryCase() {
+      return EntryCase.forNumber(entryCase_);
     }
 
     public Builder clearEntry() {
@@ -778,13 +859,19 @@ public Builder clearEntry() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.Entry, com.google.cloud.datacatalog.v1.Entry.Builder, com.google.cloud.datacatalog.v1.EntryOrBuilder> v1EntryBuilder_;
+            com.google.cloud.datacatalog.v1.Entry,
+            com.google.cloud.datacatalog.v1.Entry.Builder,
+            com.google.cloud.datacatalog.v1.EntryOrBuilder>
+        v1EntryBuilder_;
     /**
+     *
+     *
      * 
      * Non-encrypted Data Catalog v1 Entry.
      * 
* * .google.cloud.datacatalog.v1.Entry v1_entry = 1; + * * @return Whether the v1Entry field is set. */ @java.lang.Override @@ -792,11 +879,14 @@ public boolean hasV1Entry() { return entryCase_ == 1; } /** + * + * *
      * Non-encrypted Data Catalog v1 Entry.
      * 
* * .google.cloud.datacatalog.v1.Entry v1_entry = 1; + * * @return The v1Entry. */ @java.lang.Override @@ -814,6 +904,8 @@ public com.google.cloud.datacatalog.v1.Entry getV1Entry() { } } /** + * + * *
      * Non-encrypted Data Catalog v1 Entry.
      * 
@@ -834,14 +926,15 @@ public Builder setV1Entry(com.google.cloud.datacatalog.v1.Entry value) { return this; } /** + * + * *
      * Non-encrypted Data Catalog v1 Entry.
      * 
* * .google.cloud.datacatalog.v1.Entry v1_entry = 1; */ - public Builder setV1Entry( - com.google.cloud.datacatalog.v1.Entry.Builder builderForValue) { + public Builder setV1Entry(com.google.cloud.datacatalog.v1.Entry.Builder builderForValue) { if (v1EntryBuilder_ == null) { entry_ = builderForValue.build(); onChanged(); @@ -852,6 +945,8 @@ public Builder setV1Entry( return this; } /** + * + * *
      * Non-encrypted Data Catalog v1 Entry.
      * 
@@ -860,10 +955,13 @@ public Builder setV1Entry( */ public Builder mergeV1Entry(com.google.cloud.datacatalog.v1.Entry value) { if (v1EntryBuilder_ == null) { - if (entryCase_ == 1 && - entry_ != com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()) { - entry_ = com.google.cloud.datacatalog.v1.Entry.newBuilder((com.google.cloud.datacatalog.v1.Entry) entry_) - .mergeFrom(value).buildPartial(); + if (entryCase_ == 1 + && entry_ != com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()) { + entry_ = + com.google.cloud.datacatalog.v1.Entry.newBuilder( + (com.google.cloud.datacatalog.v1.Entry) entry_) + .mergeFrom(value) + .buildPartial(); } else { entry_ = value; } @@ -879,6 +977,8 @@ public Builder mergeV1Entry(com.google.cloud.datacatalog.v1.Entry value) { return this; } /** + * + * *
      * Non-encrypted Data Catalog v1 Entry.
      * 
@@ -902,6 +1002,8 @@ public Builder clearV1Entry() { return this; } /** + * + * *
      * Non-encrypted Data Catalog v1 Entry.
      * 
@@ -912,6 +1014,8 @@ public com.google.cloud.datacatalog.v1.Entry.Builder getV1EntryBuilder() { return getV1EntryFieldBuilder().getBuilder(); } /** + * + * *
      * Non-encrypted Data Catalog v1 Entry.
      * 
@@ -930,6 +1034,8 @@ public com.google.cloud.datacatalog.v1.EntryOrBuilder getV1EntryOrBuilder() { } } /** + * + * *
      * Non-encrypted Data Catalog v1 Entry.
      * 
@@ -937,17 +1043,20 @@ public com.google.cloud.datacatalog.v1.EntryOrBuilder getV1EntryOrBuilder() { * .google.cloud.datacatalog.v1.Entry v1_entry = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Entry, com.google.cloud.datacatalog.v1.Entry.Builder, com.google.cloud.datacatalog.v1.EntryOrBuilder> + com.google.cloud.datacatalog.v1.Entry, + com.google.cloud.datacatalog.v1.Entry.Builder, + com.google.cloud.datacatalog.v1.EntryOrBuilder> getV1EntryFieldBuilder() { if (v1EntryBuilder_ == null) { if (!(entryCase_ == 1)) { entry_ = com.google.cloud.datacatalog.v1.Entry.getDefaultInstance(); } - v1EntryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Entry, com.google.cloud.datacatalog.v1.Entry.Builder, com.google.cloud.datacatalog.v1.EntryOrBuilder>( - (com.google.cloud.datacatalog.v1.Entry) entry_, - getParentForChildren(), - isClean()); + v1EntryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.Entry, + com.google.cloud.datacatalog.v1.Entry.Builder, + com.google.cloud.datacatalog.v1.EntryOrBuilder>( + (com.google.cloud.datacatalog.v1.Entry) entry_, getParentForChildren(), isClean()); entry_ = null; } entryCase_ = 1; @@ -956,24 +1065,32 @@ public com.google.cloud.datacatalog.v1.EntryOrBuilder getV1EntryOrBuilder() { } private java.util.List presentTags_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePresentTagsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { presentTags_ = new java.util.ArrayList(presentTags_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder> presentTagsBuilder_; + com.google.cloud.datacatalog.v1.Tag, + com.google.cloud.datacatalog.v1.Tag.Builder, + com.google.cloud.datacatalog.v1.TagOrBuilder> + presentTagsBuilder_; /** + * + * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getPresentTagsList() { if (presentTagsBuilder_ == null) { @@ -983,12 +1100,16 @@ public java.util.List getPresentTagsList() } } /** + * + * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getPresentTagsCount() { if (presentTagsBuilder_ == null) { @@ -998,12 +1119,16 @@ public int getPresentTagsCount() { } } /** + * + * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.datacatalog.v1.Tag getPresentTags(int index) { if (presentTagsBuilder_ == null) { @@ -1013,15 +1138,18 @@ public com.google.cloud.datacatalog.v1.Tag getPresentTags(int index) { } } /** + * + * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setPresentTags( - int index, com.google.cloud.datacatalog.v1.Tag value) { + public Builder setPresentTags(int index, com.google.cloud.datacatalog.v1.Tag value) { if (presentTagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1035,12 +1163,16 @@ public Builder setPresentTags( return this; } /** + * + * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setPresentTags( int index, com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { @@ -1054,12 +1186,16 @@ public Builder setPresentTags( return this; } /** + * + * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addPresentTags(com.google.cloud.datacatalog.v1.Tag value) { if (presentTagsBuilder_ == null) { @@ -1075,15 +1211,18 @@ public Builder addPresentTags(com.google.cloud.datacatalog.v1.Tag value) { return this; } /** + * + * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addPresentTags( - int index, com.google.cloud.datacatalog.v1.Tag value) { + public Builder addPresentTags(int index, com.google.cloud.datacatalog.v1.Tag value) { if (presentTagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1097,15 +1236,18 @@ public Builder addPresentTags( return this; } /** + * + * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addPresentTags( - com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { + public Builder addPresentTags(com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { if (presentTagsBuilder_ == null) { ensurePresentTagsIsMutable(); presentTags_.add(builderForValue.build()); @@ -1116,12 +1258,16 @@ public Builder addPresentTags( return this; } /** + * + * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addPresentTags( int index, com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { @@ -1135,19 +1281,22 @@ public Builder addPresentTags( return this; } /** + * + * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllPresentTags( java.lang.Iterable values) { if (presentTagsBuilder_ == null) { ensurePresentTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, presentTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, presentTags_); onChanged(); } else { presentTagsBuilder_.addAllMessages(values); @@ -1155,12 +1304,16 @@ public Builder addAllPresentTags( return this; } /** + * + * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearPresentTags() { if (presentTagsBuilder_ == null) { @@ -1173,12 +1326,16 @@ public Builder clearPresentTags() { return this; } /** + * + * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removePresentTags(int index) { if (presentTagsBuilder_ == null) { @@ -1191,42 +1348,53 @@ public Builder removePresentTags(int index) { return this; } /** + * + * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.datacatalog.v1.Tag.Builder getPresentTagsBuilder( - int index) { + public com.google.cloud.datacatalog.v1.Tag.Builder getPresentTagsBuilder(int index) { return getPresentTagsFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.datacatalog.v1.TagOrBuilder getPresentTagsOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1.TagOrBuilder getPresentTagsOrBuilder(int index) { if (presentTagsBuilder_ == null) { - return presentTags_.get(index); } else { + return presentTags_.get(index); + } else { return presentTagsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getPresentTagsOrBuilderList() { + public java.util.List + getPresentTagsOrBuilderList() { if (presentTagsBuilder_ != null) { return presentTagsBuilder_.getMessageOrBuilderList(); } else { @@ -1234,76 +1402,97 @@ public com.google.cloud.datacatalog.v1.TagOrBuilder getPresentTagsOrBuilder( } } /** + * + * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.datacatalog.v1.Tag.Builder addPresentTagsBuilder() { - return getPresentTagsFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()); + return getPresentTagsFieldBuilder() + .addBuilder(com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()); } /** + * + * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.datacatalog.v1.Tag.Builder addPresentTagsBuilder( - int index) { - return getPresentTagsFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()); + public com.google.cloud.datacatalog.v1.Tag.Builder addPresentTagsBuilder(int index) { + return getPresentTagsFieldBuilder() + .addBuilder(index, com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()); } /** + * + * *
      * Optional. Tags that should be ingested into the Data Catalog.
      * Caller should populate template name, column and fields.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getPresentTagsBuilderList() { + public java.util.List getPresentTagsBuilderList() { return getPresentTagsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder> + com.google.cloud.datacatalog.v1.Tag, + com.google.cloud.datacatalog.v1.Tag.Builder, + com.google.cloud.datacatalog.v1.TagOrBuilder> getPresentTagsFieldBuilder() { if (presentTagsBuilder_ == null) { - presentTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder>( - presentTags_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + presentTagsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.Tag, + com.google.cloud.datacatalog.v1.Tag.Builder, + com.google.cloud.datacatalog.v1.TagOrBuilder>( + presentTags_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); presentTags_ = null; } return presentTagsBuilder_; } private java.util.List absentTags_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAbsentTagsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { absentTags_ = new java.util.ArrayList(absentTags_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder> absentTagsBuilder_; + com.google.cloud.datacatalog.v1.Tag, + com.google.cloud.datacatalog.v1.Tag.Builder, + com.google.cloud.datacatalog.v1.TagOrBuilder> + absentTagsBuilder_; /** + * + * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getAbsentTagsList() { if (absentTagsBuilder_ == null) { @@ -1313,12 +1502,16 @@ public java.util.List getAbsentTagsList() { } } /** + * + * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getAbsentTagsCount() { if (absentTagsBuilder_ == null) { @@ -1328,12 +1521,16 @@ public int getAbsentTagsCount() { } } /** + * + * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.datacatalog.v1.Tag getAbsentTags(int index) { if (absentTagsBuilder_ == null) { @@ -1343,15 +1540,18 @@ public com.google.cloud.datacatalog.v1.Tag getAbsentTags(int index) { } } /** + * + * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setAbsentTags( - int index, com.google.cloud.datacatalog.v1.Tag value) { + public Builder setAbsentTags(int index, com.google.cloud.datacatalog.v1.Tag value) { if (absentTagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1365,12 +1565,16 @@ public Builder setAbsentTags( return this; } /** + * + * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAbsentTags( int index, com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { @@ -1384,12 +1588,16 @@ public Builder setAbsentTags( return this; } /** + * + * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAbsentTags(com.google.cloud.datacatalog.v1.Tag value) { if (absentTagsBuilder_ == null) { @@ -1405,15 +1613,18 @@ public Builder addAbsentTags(com.google.cloud.datacatalog.v1.Tag value) { return this; } /** + * + * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addAbsentTags( - int index, com.google.cloud.datacatalog.v1.Tag value) { + public Builder addAbsentTags(int index, com.google.cloud.datacatalog.v1.Tag value) { if (absentTagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1427,15 +1638,18 @@ public Builder addAbsentTags( return this; } /** + * + * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addAbsentTags( - com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { + public Builder addAbsentTags(com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { if (absentTagsBuilder_ == null) { ensureAbsentTagsIsMutable(); absentTags_.add(builderForValue.build()); @@ -1446,12 +1660,16 @@ public Builder addAbsentTags( return this; } /** + * + * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAbsentTags( int index, com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { @@ -1465,19 +1683,22 @@ public Builder addAbsentTags( return this; } /** + * + * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllAbsentTags( java.lang.Iterable values) { if (absentTagsBuilder_ == null) { ensureAbsentTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, absentTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, absentTags_); onChanged(); } else { absentTagsBuilder_.addAllMessages(values); @@ -1485,12 +1706,16 @@ public Builder addAllAbsentTags( return this; } /** + * + * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearAbsentTags() { if (absentTagsBuilder_ == null) { @@ -1503,12 +1728,16 @@ public Builder clearAbsentTags() { return this; } /** + * + * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeAbsentTags(int index) { if (absentTagsBuilder_ == null) { @@ -1521,42 +1750,53 @@ public Builder removeAbsentTags(int index) { return this; } /** + * + * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.datacatalog.v1.Tag.Builder getAbsentTagsBuilder( - int index) { + public com.google.cloud.datacatalog.v1.Tag.Builder getAbsentTagsBuilder(int index) { return getAbsentTagsFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.datacatalog.v1.TagOrBuilder getAbsentTagsOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1.TagOrBuilder getAbsentTagsOrBuilder(int index) { if (absentTagsBuilder_ == null) { - return absentTags_.get(index); } else { + return absentTags_.get(index); + } else { return absentTagsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getAbsentTagsOrBuilderList() { + public java.util.List + getAbsentTagsOrBuilderList() { if (absentTagsBuilder_ != null) { return absentTagsBuilder_.getMessageOrBuilderList(); } else { @@ -1564,59 +1804,72 @@ public com.google.cloud.datacatalog.v1.TagOrBuilder getAbsentTagsOrBuilder( } } /** + * + * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.datacatalog.v1.Tag.Builder addAbsentTagsBuilder() { - return getAbsentTagsFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()); + return getAbsentTagsFieldBuilder() + .addBuilder(com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()); } /** + * + * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.datacatalog.v1.Tag.Builder addAbsentTagsBuilder( - int index) { - return getAbsentTagsFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()); + public com.google.cloud.datacatalog.v1.Tag.Builder addAbsentTagsBuilder(int index) { + return getAbsentTagsFieldBuilder() + .addBuilder(index, com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()); } /** + * + * *
      * Optional. Tags that should be deleted from the Data Catalog.
      * Caller should populate template name and column only.
      * 
* - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getAbsentTagsBuilderList() { + public java.util.List getAbsentTagsBuilderList() { return getAbsentTagsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder> + com.google.cloud.datacatalog.v1.Tag, + com.google.cloud.datacatalog.v1.Tag.Builder, + com.google.cloud.datacatalog.v1.TagOrBuilder> getAbsentTagsFieldBuilder() { if (absentTagsBuilder_ == null) { - absentTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder>( - absentTags_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); + absentTagsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.Tag, + com.google.cloud.datacatalog.v1.Tag.Builder, + com.google.cloud.datacatalog.v1.TagOrBuilder>( + absentTags_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); absentTags_ = null; } return absentTagsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1626,12 +1879,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.TaggedEntry) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.TaggedEntry) private static final com.google.cloud.datacatalog.v1.TaggedEntry DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.TaggedEntry(); } @@ -1640,27 +1893,27 @@ public static com.google.cloud.datacatalog.v1.TaggedEntry getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaggedEntry parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TaggedEntry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1675,6 +1928,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.TaggedEntry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntryOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntryOrBuilder.java similarity index 58% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntryOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntryOrBuilder.java index 3ddb9c064fed..d3986a52a678 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntryOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntryOrBuilder.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/datacatalog/v1/dump_content.proto package com.google.cloud.datacatalog.v1; -public interface TaggedEntryOrBuilder extends +public interface TaggedEntryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.TaggedEntry) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Non-encrypted Data Catalog v1 Entry.
    * 
* * .google.cloud.datacatalog.v1.Entry v1_entry = 1; + * * @return Whether the v1Entry field is set. */ boolean hasV1Entry(); /** + * + * *
    * Non-encrypted Data Catalog v1 Entry.
    * 
* * .google.cloud.datacatalog.v1.Entry v1_entry = 1; + * * @return The v1Entry. */ com.google.cloud.datacatalog.v1.Entry getV1Entry(); /** + * + * *
    * Non-encrypted Data Catalog v1 Entry.
    * 
@@ -35,102 +59,138 @@ public interface TaggedEntryOrBuilder extends com.google.cloud.datacatalog.v1.EntryOrBuilder getV1EntryOrBuilder(); /** + * + * *
    * Optional. Tags that should be ingested into the Data Catalog.
    * Caller should populate template name, column and fields.
    * 
* - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List - getPresentTagsList(); + java.util.List getPresentTagsList(); /** + * + * *
    * Optional. Tags that should be ingested into the Data Catalog.
    * Caller should populate template name, column and fields.
    * 
* - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.datacatalog.v1.Tag getPresentTags(int index); /** + * + * *
    * Optional. Tags that should be ingested into the Data Catalog.
    * Caller should populate template name, column and fields.
    * 
* - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getPresentTagsCount(); /** + * + * *
    * Optional. Tags that should be ingested into the Data Catalog.
    * Caller should populate template name, column and fields.
    * 
* - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getPresentTagsOrBuilderList(); /** + * + * *
    * Optional. Tags that should be ingested into the Data Catalog.
    * Caller should populate template name, column and fields.
    * 
* - * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.datacatalog.v1.TagOrBuilder getPresentTagsOrBuilder( - int index); + com.google.cloud.datacatalog.v1.TagOrBuilder getPresentTagsOrBuilder(int index); /** + * + * *
    * Optional. Tags that should be deleted from the Data Catalog.
    * Caller should populate template name and column only.
    * 
* - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List - getAbsentTagsList(); + java.util.List getAbsentTagsList(); /** + * + * *
    * Optional. Tags that should be deleted from the Data Catalog.
    * Caller should populate template name and column only.
    * 
* - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.datacatalog.v1.Tag getAbsentTags(int index); /** + * + * *
    * Optional. Tags that should be deleted from the Data Catalog.
    * Caller should populate template name and column only.
    * 
* - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getAbsentTagsCount(); /** + * + * *
    * Optional. Tags that should be deleted from the Data Catalog.
    * Caller should populate template name and column only.
    * 
* - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getAbsentTagsOrBuilderList(); /** + * + * *
    * Optional. Tags that should be deleted from the Data Catalog.
    * Caller should populate template name and column only.
    * 
* - * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.datacatalog.v1.TagOrBuilder getAbsentTagsOrBuilder( - int index); + com.google.cloud.datacatalog.v1.TagOrBuilder getAbsentTagsOrBuilder(int index); com.google.cloud.datacatalog.v1.TaggedEntry.EntryCase getEntryCase(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tags.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tags.java new file mode 100644 index 000000000000..54ff514c81d2 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tags.java @@ -0,0 +1,246 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1/tags.proto + +package com.google.cloud.datacatalog.v1; + +public final class Tags { + private Tags() {} + + 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_datacatalog_v1_Tag_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_Tag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_Tag_FieldsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_Tag_FieldsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_TagField_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_TagField_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_TagTemplate_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_TagTemplate_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_TagTemplate_FieldsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_TagTemplate_FieldsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_TagTemplateField_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_TagTemplateField_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_FieldType_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_FieldType_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_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/datacatalog/v1/tags.proto" + + "\022\033google.cloud.datacatalog.v1\032\037google/ap" + + "i/field_behavior.proto\032\031google/api/resou" + + "rce.proto\032\037google/protobuf/timestamp.pro" + + "to\"\211\003\n\003Tag\022\014\n\004name\030\001 \001(\t\022\026\n\010template\030\002 \001" + + "(\tB\004\342A\001\002\022#\n\025template_display_name\030\005 \001(\tB" + + "\004\342A\001\003\022\020\n\006column\030\004 \001(\tH\000\022B\n\006fields\030\003 \003(\0132" + + ",.google.cloud.datacatalog.v1.Tag.Fields" + + "EntryB\004\342A\001\002\032T\n\013FieldsEntry\022\013\n\003key\030\001 \001(\t\022" + + "4\n\005value\030\002 \001(\0132%.google.cloud.datacatalo" + + "g.v1.TagField:\0028\001:\201\001\352A~\n\036datacatalog.goo" + + "gleapis.com/Tag\022\\projects/{project}/loca" + + "tions/{location}/entryGroups/{entry_grou" + + "p}/entries/{entry}/tags/{tag}B\007\n\005scope\"\304" + + "\002\n\010TagField\022\032\n\014display_name\030\001 \001(\tB\004\342A\001\003\022" + + "\026\n\014double_value\030\002 \001(\001H\000\022\026\n\014string_value\030" + + "\003 \001(\tH\000\022\024\n\nbool_value\030\004 \001(\010H\000\0225\n\017timesta" + + "mp_value\030\005 \001(\0132\032.google.protobuf.Timesta" + + "mpH\000\022E\n\nenum_value\030\006 \001(\0132/.google.cloud." + + "datacatalog.v1.TagField.EnumValueH\000\022\030\n\016r" + + "ichtext_value\030\010 \001(\tH\000\022\023\n\005order\030\007 \001(\005B\004\342A" + + "\001\003\032!\n\tEnumValue\022\024\n\014display_name\030\001 \001(\tB\006\n" + + "\004kind\"\353\002\n\013TagTemplate\022\014\n\004name\030\001 \001(\t\022\024\n\014d" + + "isplay_name\030\002 \001(\t\022\034\n\024is_publicly_readabl" + + "e\030\005 \001(\010\022J\n\006fields\030\003 \003(\01324.google.cloud.d" + + "atacatalog.v1.TagTemplate.FieldsEntryB\004\342" + + "A\001\002\032\\\n\013FieldsEntry\022\013\n\003key\030\001 \001(\t\022<\n\005value" + + "\030\002 \001(\0132-.google.cloud.datacatalog.v1.Tag" + + "TemplateField:\0028\001:p\352Am\n&datacatalog.goog" + + "leapis.com/TagTemplate\022Cprojects/{projec" + + "t}/locations/{location}/tagTemplates/{ta" + + "g_template}\"\271\002\n\020TagTemplateField\022\022\n\004name" + + "\030\006 \001(\tB\004\342A\001\003\022\024\n\014display_name\030\001 \001(\t\022:\n\004ty" + + "pe\030\002 \001(\0132&.google.cloud.datacatalog.v1.F" + + "ieldTypeB\004\342A\001\002\022\023\n\013is_required\030\003 \001(\010\022\023\n\013d" + + "escription\030\004 \001(\t\022\r\n\005order\030\005 \001(\005:\205\001\352A\201\001\n+" + + "datacatalog.googleapis.com/TagTemplateFi" + + "eld\022Rprojects/{project}/locations/{locat" + + "ion}/tagTemplates/{tag_template}/fields/" + + "{field}\"\247\003\n\tFieldType\022N\n\016primitive_type\030" + + "\001 \001(\01624.google.cloud.datacatalog.v1.Fiel" + + "dType.PrimitiveTypeH\000\022D\n\tenum_type\030\002 \001(\013" + + "2/.google.cloud.datacatalog.v1.FieldType" + + ".EnumTypeH\000\032\206\001\n\010EnumType\022Q\n\016allowed_valu" + + "es\030\001 \003(\01329.google.cloud.datacatalog.v1.F" + + "ieldType.EnumType.EnumValue\032\'\n\tEnumValue" + + "\022\032\n\014display_name\030\001 \001(\tB\004\342A\001\002\"n\n\rPrimitiv" + + "eType\022\036\n\032PRIMITIVE_TYPE_UNSPECIFIED\020\000\022\n\n" + + "\006DOUBLE\020\001\022\n\n\006STRING\020\002\022\010\n\004BOOL\020\003\022\r\n\tTIMES" + + "TAMP\020\004\022\014\n\010RICHTEXT\020\005B\013\n\ttype_declB\306\001\n\037co" + + "m.google.cloud.datacatalog.v1P\001ZAcloud.g" + + "oogle.com/go/datacatalog/apiv1/datacatal" + + "ogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud.Dat" + + "aCatalog.V1\312\002\033Google\\Cloud\\DataCatalog\\V" + + "1\352\002\036Google::Cloud::DataCatalog::V1b\006prot" + + "o3" + }; + 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.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1_Tag_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1_Tag_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_Tag_descriptor, + new java.lang.String[] { + "Name", "Template", "TemplateDisplayName", "Column", "Fields", "Scope", + }); + internal_static_google_cloud_datacatalog_v1_Tag_FieldsEntry_descriptor = + internal_static_google_cloud_datacatalog_v1_Tag_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datacatalog_v1_Tag_FieldsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_Tag_FieldsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_datacatalog_v1_TagField_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1_TagField_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_TagField_descriptor, + new java.lang.String[] { + "DisplayName", + "DoubleValue", + "StringValue", + "BoolValue", + "TimestampValue", + "EnumValue", + "RichtextValue", + "Order", + "Kind", + }); + internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_descriptor = + internal_static_google_cloud_datacatalog_v1_TagField_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_descriptor, + new java.lang.String[] { + "DisplayName", + }); + internal_static_google_cloud_datacatalog_v1_TagTemplate_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_datacatalog_v1_TagTemplate_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_TagTemplate_descriptor, + new java.lang.String[] { + "Name", "DisplayName", "IsPubliclyReadable", "Fields", + }); + internal_static_google_cloud_datacatalog_v1_TagTemplate_FieldsEntry_descriptor = + internal_static_google_cloud_datacatalog_v1_TagTemplate_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datacatalog_v1_TagTemplate_FieldsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_TagTemplate_FieldsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_datacatalog_v1_TagTemplateField_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_datacatalog_v1_TagTemplateField_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_TagTemplateField_descriptor, + new java.lang.String[] { + "Name", "DisplayName", "Type", "IsRequired", "Description", "Order", + }); + internal_static_google_cloud_datacatalog_v1_FieldType_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_datacatalog_v1_FieldType_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_FieldType_descriptor, + new java.lang.String[] { + "PrimitiveType", "EnumType", "TypeDecl", + }); + internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_descriptor = + internal_static_google_cloud_datacatalog_v1_FieldType_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_descriptor, + new java.lang.String[] { + "AllowedValues", + }); + internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_descriptor = + internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_descriptor, + new java.lang.String[] { + "DisplayName", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Taxonomy.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Taxonomy.java similarity index 70% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Taxonomy.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Taxonomy.java index 4a6d8c95bda4..d08e320ca0f9 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Taxonomy.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Taxonomy.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/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * A taxonomy is a collection of hierarchical policy tags that classify data
  * along a common axis.
@@ -33,15 +50,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.Taxonomy}
  */
-public final class Taxonomy extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Taxonomy extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.Taxonomy)
     TaxonomyOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Taxonomy.newBuilder() to construct.
   private Taxonomy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Taxonomy() {
     name_ = "";
     displayName_ = "";
@@ -51,34 +69,38 @@ private Taxonomy() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Taxonomy();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_Taxonomy_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1_Taxonomy_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_Taxonomy_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1_Taxonomy_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.Taxonomy.class, com.google.cloud.datacatalog.v1.Taxonomy.Builder.class);
+            com.google.cloud.datacatalog.v1.Taxonomy.class,
+            com.google.cloud.datacatalog.v1.Taxonomy.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Defines policy types where the policy tags can be used for.
    * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.Taxonomy.PolicyType} */ - public enum PolicyType - implements com.google.protobuf.ProtocolMessageEnum { + public enum PolicyType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified policy type.
      * 
@@ -87,6 +109,8 @@ public enum PolicyType */ POLICY_TYPE_UNSPECIFIED(0), /** + * + * *
      * Fine-grained access control policy that enables access control on
      * tagged sub-resources.
@@ -99,6 +123,8 @@ public enum PolicyType
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified policy type.
      * 
@@ -107,6 +133,8 @@ public enum PolicyType */ public static final int POLICY_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Fine-grained access control policy that enables access control on
      * tagged sub-resources.
@@ -116,7 +144,6 @@ public enum PolicyType
      */
     public static final int FINE_GRAINED_ACCESS_CONTROL_VALUE = 1;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -141,48 +168,47 @@ public static PolicyType valueOf(int value) {
      */
     public static PolicyType forNumber(int value) {
       switch (value) {
-        case 0: return POLICY_TYPE_UNSPECIFIED;
-        case 1: return FINE_GRAINED_ACCESS_CONTROL;
-        default: return null;
+        case 0:
+          return POLICY_TYPE_UNSPECIFIED;
+        case 1:
+          return FINE_GRAINED_ACCESS_CONTROL;
+        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<
-        PolicyType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public PolicyType findValueByNumber(int number) {
-              return PolicyType.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 PolicyType findValueByNumber(int number) {
+            return PolicyType.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.datacatalog.v1.Taxonomy.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final PolicyType[] VALUES = values();
 
-    public static PolicyType valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static PolicyType 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,65 +225,80 @@ private PolicyType(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1.Taxonomy.PolicyType)
   }
 
-  public interface ServiceOrBuilder extends
+  public interface ServiceOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.Taxonomy.Service)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The Google Cloud service name.
      * 
* * .google.cloud.datacatalog.v1.ManagingSystem name = 1; + * * @return The enum numeric value on the wire for name. */ int getNameValue(); /** + * + * *
      * The Google Cloud service name.
      * 
* * .google.cloud.datacatalog.v1.ManagingSystem name = 1; + * * @return The name. */ com.google.cloud.datacatalog.v1.ManagingSystem getName(); /** + * + * *
      * The service agent for the service.
      * 
* * string identity = 2; + * * @return The identity. */ java.lang.String getIdentity(); /** + * + * *
      * The service agent for the service.
      * 
* * string identity = 2; + * * @return The bytes for identity. */ - com.google.protobuf.ByteString - getIdentityBytes(); + com.google.protobuf.ByteString getIdentityBytes(); } /** + * + * *
    * The source system of the Taxonomy.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.Taxonomy.Service} */ - public static final class Service extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Service extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.Taxonomy.Service) ServiceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Service.newBuilder() to construct. private Service(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Service() { name_ = 0; identity_ = ""; @@ -265,59 +306,73 @@ private Service() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Service(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.PolicyTagManagerProto + .internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_fieldAccessorTable + return com.google.cloud.datacatalog.v1.PolicyTagManagerProto + .internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.Taxonomy.Service.class, com.google.cloud.datacatalog.v1.Taxonomy.Service.Builder.class); + com.google.cloud.datacatalog.v1.Taxonomy.Service.class, + com.google.cloud.datacatalog.v1.Taxonomy.Service.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private int name_ = 0; /** + * + * *
      * The Google Cloud service name.
      * 
* * .google.cloud.datacatalog.v1.ManagingSystem name = 1; + * * @return The enum numeric value on the wire for name. */ - @java.lang.Override public int getNameValue() { + @java.lang.Override + public int getNameValue() { return name_; } /** + * + * *
      * The Google Cloud service name.
      * 
* * .google.cloud.datacatalog.v1.ManagingSystem name = 1; + * * @return The name. */ - @java.lang.Override public com.google.cloud.datacatalog.v1.ManagingSystem getName() { - com.google.cloud.datacatalog.v1.ManagingSystem result = com.google.cloud.datacatalog.v1.ManagingSystem.forNumber(name_); + @java.lang.Override + public com.google.cloud.datacatalog.v1.ManagingSystem getName() { + com.google.cloud.datacatalog.v1.ManagingSystem result = + com.google.cloud.datacatalog.v1.ManagingSystem.forNumber(name_); return result == null ? com.google.cloud.datacatalog.v1.ManagingSystem.UNRECOGNIZED : result; } public static final int IDENTITY_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object identity_ = ""; /** + * + * *
      * The service agent for the service.
      * 
* * string identity = 2; + * * @return The identity. */ @java.lang.Override @@ -326,29 +381,29 @@ public java.lang.String getIdentity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); identity_ = s; return s; } } /** + * + * *
      * The service agent for the service.
      * 
* * string identity = 2; + * * @return The bytes for identity. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdentityBytes() { + public com.google.protobuf.ByteString getIdentityBytes() { java.lang.Object ref = identity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); identity_ = b; return b; } else { @@ -357,6 +412,7 @@ public java.lang.String getIdentity() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -368,9 +424,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (name_ != com.google.cloud.datacatalog.v1.ManagingSystem.MANAGING_SYSTEM_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (name_ + != com.google.cloud.datacatalog.v1.ManagingSystem.MANAGING_SYSTEM_UNSPECIFIED + .getNumber()) { output.writeEnum(1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(identity_)) { @@ -385,9 +442,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (name_ != com.google.cloud.datacatalog.v1.ManagingSystem.MANAGING_SYSTEM_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, name_); + if (name_ + != com.google.cloud.datacatalog.v1.ManagingSystem.MANAGING_SYSTEM_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(identity_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, identity_); @@ -400,16 +458,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.datacatalog.v1.Taxonomy.Service)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.Taxonomy.Service other = (com.google.cloud.datacatalog.v1.Taxonomy.Service) obj; + com.google.cloud.datacatalog.v1.Taxonomy.Service other = + (com.google.cloud.datacatalog.v1.Taxonomy.Service) obj; if (name_ != other.name_) return false; - if (!getIdentity() - .equals(other.getIdentity())) return false; + if (!getIdentity().equals(other.getIdentity())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -431,89 +489,93 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.Taxonomy.Service parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.Taxonomy.Service parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.Taxonomy.Service parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.Taxonomy.Service parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.Taxonomy.Service parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.Taxonomy.Service parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.Taxonomy.Service parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.Taxonomy.Service parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.Taxonomy.Service parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.Taxonomy.Service parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.Taxonomy.Service parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.Taxonomy.Service parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.Taxonomy.Service parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.Taxonomy.Service parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.Taxonomy.Service prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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,39 +585,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The source system of the Taxonomy.
      * 
* * Protobuf type {@code google.cloud.datacatalog.v1.Taxonomy.Service} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.Taxonomy.Service) com.google.cloud.datacatalog.v1.Taxonomy.ServiceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.PolicyTagManagerProto + .internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_fieldAccessorTable + return com.google.cloud.datacatalog.v1.PolicyTagManagerProto + .internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.Taxonomy.Service.class, com.google.cloud.datacatalog.v1.Taxonomy.Service.Builder.class); + com.google.cloud.datacatalog.v1.Taxonomy.Service.class, + com.google.cloud.datacatalog.v1.Taxonomy.Service.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.Taxonomy.Service.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -566,9 +630,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.PolicyTagManagerProto + .internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_descriptor; } @java.lang.Override @@ -587,8 +651,11 @@ public com.google.cloud.datacatalog.v1.Taxonomy.Service build() { @java.lang.Override public com.google.cloud.datacatalog.v1.Taxonomy.Service buildPartial() { - com.google.cloud.datacatalog.v1.Taxonomy.Service result = new com.google.cloud.datacatalog.v1.Taxonomy.Service(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1.Taxonomy.Service result = + new com.google.cloud.datacatalog.v1.Taxonomy.Service(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -607,38 +674,41 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.Taxonomy.Service 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) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.Taxonomy.Service) { - return mergeFrom((com.google.cloud.datacatalog.v1.Taxonomy.Service)other); + return mergeFrom((com.google.cloud.datacatalog.v1.Taxonomy.Service) other); } else { super.mergeFrom(other); return this; @@ -646,7 +716,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1.Taxonomy.Service other) { - if (other == com.google.cloud.datacatalog.v1.Taxonomy.Service.getDefaultInstance()) return this; + if (other == com.google.cloud.datacatalog.v1.Taxonomy.Service.getDefaultInstance()) + return this; if (other.name_ != 0) { setNameValue(other.getNameValue()); } @@ -681,22 +752,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - name_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - identity_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + name_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + identity_ = 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) { @@ -706,26 +780,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int name_ = 0; /** + * + * *
        * The Google Cloud service name.
        * 
* * .google.cloud.datacatalog.v1.ManagingSystem name = 1; + * * @return The enum numeric value on the wire for name. */ - @java.lang.Override public int getNameValue() { + @java.lang.Override + public int getNameValue() { return name_; } /** + * + * *
        * The Google Cloud service name.
        * 
* * .google.cloud.datacatalog.v1.ManagingSystem name = 1; + * * @param value The enum numeric value on the wire for name to set. * @return This builder for chaining. */ @@ -736,24 +818,33 @@ public Builder setNameValue(int value) { return this; } /** + * + * *
        * The Google Cloud service name.
        * 
* * .google.cloud.datacatalog.v1.ManagingSystem name = 1; + * * @return The name. */ @java.lang.Override public com.google.cloud.datacatalog.v1.ManagingSystem getName() { - com.google.cloud.datacatalog.v1.ManagingSystem result = com.google.cloud.datacatalog.v1.ManagingSystem.forNumber(name_); - return result == null ? com.google.cloud.datacatalog.v1.ManagingSystem.UNRECOGNIZED : result; + com.google.cloud.datacatalog.v1.ManagingSystem result = + com.google.cloud.datacatalog.v1.ManagingSystem.forNumber(name_); + return result == null + ? com.google.cloud.datacatalog.v1.ManagingSystem.UNRECOGNIZED + : result; } /** + * + * *
        * The Google Cloud service name.
        * 
* * .google.cloud.datacatalog.v1.ManagingSystem name = 1; + * * @param value The name to set. * @return This builder for chaining. */ @@ -767,11 +858,14 @@ public Builder setName(com.google.cloud.datacatalog.v1.ManagingSystem value) { return this; } /** + * + * *
        * The Google Cloud service name.
        * 
* * .google.cloud.datacatalog.v1.ManagingSystem name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -783,18 +877,20 @@ public Builder clearName() { private java.lang.Object identity_ = ""; /** + * + * *
        * The service agent for the service.
        * 
* * string identity = 2; + * * @return The identity. */ public java.lang.String getIdentity() { java.lang.Object ref = identity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); identity_ = s; return s; @@ -803,20 +899,21 @@ public java.lang.String getIdentity() { } } /** + * + * *
        * The service agent for the service.
        * 
* * string identity = 2; + * * @return The bytes for identity. */ - public com.google.protobuf.ByteString - getIdentityBytes() { + public com.google.protobuf.ByteString getIdentityBytes() { java.lang.Object ref = identity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); identity_ = b; return b; } else { @@ -824,28 +921,35 @@ public java.lang.String getIdentity() { } } /** + * + * *
        * The service agent for the service.
        * 
* * string identity = 2; + * * @param value The identity to set. * @return This builder for chaining. */ - public Builder setIdentity( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIdentity(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } identity_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * The service agent for the service.
        * 
* * string identity = 2; + * * @return This builder for chaining. */ public Builder clearIdentity() { @@ -855,23 +959,28 @@ public Builder clearIdentity() { return this; } /** + * + * *
        * The service agent for the service.
        * 
* * string identity = 2; + * * @param value The bytes for identity to set. * @return This builder for chaining. */ - public Builder setIdentityBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIdentityBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); identity_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -884,12 +993,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.Taxonomy.Service) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.Taxonomy.Service) private static final com.google.cloud.datacatalog.v1.Taxonomy.Service DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.Taxonomy.Service(); } @@ -898,27 +1007,28 @@ public static com.google.cloud.datacatalog.v1.Taxonomy.Service getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Service parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Service parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -933,13 +1043,15 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.Taxonomy.Service getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Resource name of this taxonomy in URL format.
    *
@@ -947,6 +1059,7 @@ public com.google.cloud.datacatalog.v1.Taxonomy.Service getDefaultInstanceForTyp
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -955,14 +1068,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. Resource name of this taxonomy in URL format.
    *
@@ -970,16 +1084,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 { @@ -988,9 +1101,12 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Required. User-defined name of this taxonomy.
    *
@@ -1002,6 +1118,7 @@ public java.lang.String getName() {
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -1010,14 +1127,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; } } /** + * + * *
    * Required. User-defined name of this taxonomy.
    *
@@ -1029,16 +1147,15 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -1047,9 +1164,12 @@ public java.lang.String getDisplayName() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. Description of this taxonomy. If not set, defaults to empty.
    *
@@ -1059,6 +1179,7 @@ public java.lang.String getDisplayName() {
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -1067,14 +1188,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 this taxonomy. If not set, defaults to empty.
    *
@@ -1084,16 +1206,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 { @@ -1104,11 +1225,14 @@ public java.lang.String getDescription() { public static final int POLICY_TAG_COUNT_FIELD_NUMBER = 4; private int policyTagCount_ = 0; /** + * + * *
    * Output only. Number of policy tags in this taxonomy.
    * 
* * int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The policyTagCount. */ @java.lang.Override @@ -1119,11 +1243,16 @@ public int getPolicyTagCount() { public static final int TAXONOMY_TIMESTAMPS_FIELD_NUMBER = 5; private com.google.cloud.datacatalog.v1.SystemTimestamps taxonomyTimestamps_; /** + * + * *
    * Output only. Creation and modification timestamps of this taxonomy.
    * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the taxonomyTimestamps field is set. */ @java.lang.Override @@ -1131,62 +1260,95 @@ public boolean hasTaxonomyTimestamps() { return taxonomyTimestamps_ != null; } /** + * + * *
    * Output only. Creation and modification timestamps of this taxonomy.
    * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The taxonomyTimestamps. */ @java.lang.Override public com.google.cloud.datacatalog.v1.SystemTimestamps getTaxonomyTimestamps() { - return taxonomyTimestamps_ == null ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() : taxonomyTimestamps_; + return taxonomyTimestamps_ == null + ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() + : taxonomyTimestamps_; } /** + * + * *
    * Output only. Creation and modification timestamps of this taxonomy.
    * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getTaxonomyTimestampsOrBuilder() { - return taxonomyTimestamps_ == null ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() : taxonomyTimestamps_; + public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder + getTaxonomyTimestampsOrBuilder() { + return taxonomyTimestamps_ == null + ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() + : taxonomyTimestamps_; } public static final int ACTIVATED_POLICY_TYPES_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private java.util.List activatedPolicyTypes_; + private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.datacatalog.v1.Taxonomy.PolicyType> activatedPolicyTypes_converter_ = + java.lang.Integer, com.google.cloud.datacatalog.v1.Taxonomy.PolicyType> + activatedPolicyTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.datacatalog.v1.Taxonomy.PolicyType>() { - public com.google.cloud.datacatalog.v1.Taxonomy.PolicyType convert(java.lang.Integer from) { - com.google.cloud.datacatalog.v1.Taxonomy.PolicyType result = com.google.cloud.datacatalog.v1.Taxonomy.PolicyType.forNumber(from); - return result == null ? com.google.cloud.datacatalog.v1.Taxonomy.PolicyType.UNRECOGNIZED : result; + public com.google.cloud.datacatalog.v1.Taxonomy.PolicyType convert( + java.lang.Integer from) { + com.google.cloud.datacatalog.v1.Taxonomy.PolicyType result = + com.google.cloud.datacatalog.v1.Taxonomy.PolicyType.forNumber(from); + return result == null + ? com.google.cloud.datacatalog.v1.Taxonomy.PolicyType.UNRECOGNIZED + : result; } }; /** + * + * *
    * Optional. A list of policy types that are activated for this taxonomy. If
    * not set, defaults to an empty list.
    * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the activatedPolicyTypes. */ @java.lang.Override - public java.util.List getActivatedPolicyTypesList() { + public java.util.List + getActivatedPolicyTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.datacatalog.v1.Taxonomy.PolicyType>(activatedPolicyTypes_, activatedPolicyTypes_converter_); + java.lang.Integer, com.google.cloud.datacatalog.v1.Taxonomy.PolicyType>( + activatedPolicyTypes_, activatedPolicyTypes_converter_); } /** + * + * *
    * Optional. A list of policy types that are activated for this taxonomy. If
    * not set, defaults to an empty list.
    * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of activatedPolicyTypes. */ @java.lang.Override @@ -1194,12 +1356,17 @@ public int getActivatedPolicyTypesCount() { return activatedPolicyTypes_.size(); } /** + * + * *
    * Optional. A list of policy types that are activated for this taxonomy. If
    * not set, defaults to an empty list.
    * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The activatedPolicyTypes at the given index. */ @@ -1208,26 +1375,35 @@ public com.google.cloud.datacatalog.v1.Taxonomy.PolicyType getActivatedPolicyTyp return activatedPolicyTypes_converter_.convert(activatedPolicyTypes_.get(index)); } /** + * + * *
    * Optional. A list of policy types that are activated for this taxonomy. If
    * not set, defaults to an empty list.
    * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the enum numeric values on the wire for activatedPolicyTypes. */ @java.lang.Override - public java.util.List - getActivatedPolicyTypesValueList() { + public java.util.List getActivatedPolicyTypesValueList() { return activatedPolicyTypes_; } /** + * + * *
    * Optional. A list of policy types that are activated for this taxonomy. If
    * not set, defaults to an empty list.
    * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of activatedPolicyTypes at the given index. */ @@ -1235,18 +1411,24 @@ public com.google.cloud.datacatalog.v1.Taxonomy.PolicyType getActivatedPolicyTyp public int getActivatedPolicyTypesValue(int index) { return activatedPolicyTypes_.get(index); } + private int activatedPolicyTypesMemoizedSerializedSize; public static final int SERVICE_FIELD_NUMBER = 7; private com.google.cloud.datacatalog.v1.Taxonomy.Service service_; /** + * + * *
    * Output only. Identity of the service which owns the Taxonomy. This field is
    * only populated when the taxonomy is created by a Google Cloud service.
    * Currently only 'DATAPLEX' is supported.
    * 
* - * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the service field is set. */ @java.lang.Override @@ -1254,34 +1436,48 @@ public boolean hasService() { return service_ != null; } /** + * + * *
    * Output only. Identity of the service which owns the Taxonomy. This field is
    * only populated when the taxonomy is created by a Google Cloud service.
    * Currently only 'DATAPLEX' is supported.
    * 
* - * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The service. */ @java.lang.Override public com.google.cloud.datacatalog.v1.Taxonomy.Service getService() { - return service_ == null ? com.google.cloud.datacatalog.v1.Taxonomy.Service.getDefaultInstance() : service_; + return service_ == null + ? com.google.cloud.datacatalog.v1.Taxonomy.Service.getDefaultInstance() + : service_; } /** + * + * *
    * Output only. Identity of the service which owns the Taxonomy. This field is
    * only populated when the taxonomy is created by a Google Cloud service.
    * Currently only 'DATAPLEX' is supported.
    * 
* - * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1.Taxonomy.ServiceOrBuilder getServiceOrBuilder() { - return service_ == null ? com.google.cloud.datacatalog.v1.Taxonomy.Service.getDefaultInstance() : service_; + return service_ == null + ? com.google.cloud.datacatalog.v1.Taxonomy.Service.getDefaultInstance() + : service_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1293,8 +1489,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -1340,28 +1535,27 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } if (policyTagCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, policyTagCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, policyTagCount_); } if (taxonomyTimestamps_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getTaxonomyTimestamps()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getTaxonomyTimestamps()); } { int dataSize = 0; for (int i = 0; i < activatedPolicyTypes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(activatedPolicyTypes_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag( + activatedPolicyTypes_.get(i)); } size += dataSize; - if (!getActivatedPolicyTypesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }activatedPolicyTypesMemoizedSerializedSize = dataSize; + if (!getActivatedPolicyTypesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + activatedPolicyTypesMemoizedSerializedSize = dataSize; } if (service_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getService()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getService()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1371,31 +1565,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.datacatalog.v1.Taxonomy)) { return super.equals(obj); } com.google.cloud.datacatalog.v1.Taxonomy other = (com.google.cloud.datacatalog.v1.Taxonomy) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (getPolicyTagCount() - != other.getPolicyTagCount()) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (getPolicyTagCount() != other.getPolicyTagCount()) return false; if (hasTaxonomyTimestamps() != other.hasTaxonomyTimestamps()) return false; if (hasTaxonomyTimestamps()) { - if (!getTaxonomyTimestamps() - .equals(other.getTaxonomyTimestamps())) return false; + if (!getTaxonomyTimestamps().equals(other.getTaxonomyTimestamps())) return false; } if (!activatedPolicyTypes_.equals(other.activatedPolicyTypes_)) return false; if (hasService() != other.hasService()) return false; if (hasService()) { - if (!getService() - .equals(other.getService())) return false; + if (!getService().equals(other.getService())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1433,99 +1621,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.Taxonomy parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.Taxonomy parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.Taxonomy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.Taxonomy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.Taxonomy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.Taxonomy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.Taxonomy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.Taxonomy parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.Taxonomy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.Taxonomy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.Taxonomy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.Taxonomy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.Taxonomy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.Taxonomy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.Taxonomy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 taxonomy is a collection of hierarchical policy tags that classify data
    * along a common axis.
@@ -1555,33 +1748,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.Taxonomy}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.Taxonomy)
       com.google.cloud.datacatalog.v1.TaxonomyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_Taxonomy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_Taxonomy_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_Taxonomy_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_Taxonomy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.Taxonomy.class, com.google.cloud.datacatalog.v1.Taxonomy.Builder.class);
+              com.google.cloud.datacatalog.v1.Taxonomy.class,
+              com.google.cloud.datacatalog.v1.Taxonomy.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.Taxonomy.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1606,9 +1798,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_Taxonomy_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_Taxonomy_descriptor;
     }
 
     @java.lang.Override
@@ -1627,9 +1819,12 @@ public com.google.cloud.datacatalog.v1.Taxonomy build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.Taxonomy buildPartial() {
-      com.google.cloud.datacatalog.v1.Taxonomy result = new com.google.cloud.datacatalog.v1.Taxonomy(this);
+      com.google.cloud.datacatalog.v1.Taxonomy result =
+          new com.google.cloud.datacatalog.v1.Taxonomy(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -1657,14 +1852,13 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.Taxonomy result) {
         result.policyTagCount_ = policyTagCount_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.taxonomyTimestamps_ = taxonomyTimestampsBuilder_ == null
-            ? taxonomyTimestamps_
-            : taxonomyTimestampsBuilder_.build();
+        result.taxonomyTimestamps_ =
+            taxonomyTimestampsBuilder_ == null
+                ? taxonomyTimestamps_
+                : taxonomyTimestampsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.service_ = serviceBuilder_ == null
-            ? service_
-            : serviceBuilder_.build();
+        result.service_ = serviceBuilder_ == null ? service_ : serviceBuilder_.build();
       }
     }
 
@@ -1672,38 +1866,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.Taxonomy result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.Taxonomy) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.Taxonomy)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.Taxonomy) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1772,63 +1967,69 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 32: {
-              policyTagCount_ = input.readInt32();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            case 42: {
-              input.readMessage(
-                  getTaxonomyTimestampsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 48: {
-              int tmpRaw = input.readEnum();
-              ensureActivatedPolicyTypesIsMutable();
-              activatedPolicyTypes_.add(tmpRaw);
-              break;
-            } // case 48
-            case 50: {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while(input.getBytesUntilLimit() > 0) {
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 32:
+              {
+                policyTagCount_ = input.readInt32();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+            case 42:
+              {
+                input.readMessage(
+                    getTaxonomyTimestampsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 48:
+              {
                 int tmpRaw = input.readEnum();
                 ensureActivatedPolicyTypesIsMutable();
                 activatedPolicyTypes_.add(tmpRaw);
-              }
-              input.popLimit(oldLimit);
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getServiceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 58
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 48
+            case 50:
+              {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while (input.getBytesUntilLimit() > 0) {
+                  int tmpRaw = input.readEnum();
+                  ensureActivatedPolicyTypesIsMutable();
+                  activatedPolicyTypes_.add(tmpRaw);
+                }
+                input.popLimit(oldLimit);
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getServiceFieldBuilder().getBuilder(), extensionRegistry);
+                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) {
@@ -1838,10 +2039,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. Resource name of this taxonomy in URL format.
      *
@@ -1849,13 +2053,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1864,6 +2068,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this taxonomy in URL format.
      *
@@ -1871,15 +2077,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 { @@ -1887,6 +2092,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this taxonomy in URL format.
      *
@@ -1894,18 +2101,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. Resource name of this taxonomy in URL format.
      *
@@ -1913,6 +2124,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1922,6 +2134,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name of this taxonomy in URL format.
      *
@@ -1929,12 +2143,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; @@ -1944,6 +2160,8 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Required. User-defined name of this taxonomy.
      *
@@ -1955,13 +2173,13 @@ public Builder setNameBytes(
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -1970,6 +2188,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. User-defined name of this taxonomy.
      *
@@ -1981,15 +2201,14 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -1997,6 +2216,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. User-defined name of this taxonomy.
      *
@@ -2008,18 +2229,22 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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; } /** + * + * *
      * Required. User-defined name of this taxonomy.
      *
@@ -2031,6 +2256,7 @@ public Builder setDisplayName(
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2040,6 +2266,8 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Required. User-defined name of this taxonomy.
      *
@@ -2051,12 +2279,14 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -2066,6 +2296,8 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description of this taxonomy. If not set, defaults to empty.
      *
@@ -2075,13 +2307,13 @@ public Builder setDisplayNameBytes(
      * 
* * 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; @@ -2090,6 +2322,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of this taxonomy. If not set, defaults to empty.
      *
@@ -2099,15 +2333,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 { @@ -2115,6 +2348,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of this taxonomy. If not set, defaults to empty.
      *
@@ -2124,18 +2359,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 this taxonomy. If not set, defaults to empty.
      *
@@ -2145,6 +2384,7 @@ public Builder setDescription(
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2154,6 +2394,8 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. Description of this taxonomy. If not set, defaults to empty.
      *
@@ -2163,12 +2405,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; @@ -2176,13 +2420,16 @@ public Builder setDescriptionBytes( return this; } - private int policyTagCount_ ; + private int policyTagCount_; /** + * + * *
      * Output only. Number of policy tags in this taxonomy.
      * 
* * int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The policyTagCount. */ @java.lang.Override @@ -2190,11 +2437,14 @@ public int getPolicyTagCount() { return policyTagCount_; } /** + * + * *
      * Output only. Number of policy tags in this taxonomy.
      * 
* * int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The policyTagCount to set. * @return This builder for chaining. */ @@ -2206,11 +2456,14 @@ public Builder setPolicyTagCount(int value) { return this; } /** + * + * *
      * Output only. Number of policy tags in this taxonomy.
      * 
* * int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPolicyTagCount() { @@ -2222,39 +2475,58 @@ public Builder clearPolicyTagCount() { private com.google.cloud.datacatalog.v1.SystemTimestamps taxonomyTimestamps_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SystemTimestamps, com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder> taxonomyTimestampsBuilder_; + com.google.cloud.datacatalog.v1.SystemTimestamps, + com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, + com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder> + taxonomyTimestampsBuilder_; /** + * + * *
      * Output only. Creation and modification timestamps of this taxonomy.
      * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the taxonomyTimestamps field is set. */ public boolean hasTaxonomyTimestamps() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Output only. Creation and modification timestamps of this taxonomy.
      * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The taxonomyTimestamps. */ public com.google.cloud.datacatalog.v1.SystemTimestamps getTaxonomyTimestamps() { if (taxonomyTimestampsBuilder_ == null) { - return taxonomyTimestamps_ == null ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() : taxonomyTimestamps_; + return taxonomyTimestamps_ == null + ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() + : taxonomyTimestamps_; } else { return taxonomyTimestampsBuilder_.getMessage(); } } /** + * + * *
      * Output only. Creation and modification timestamps of this taxonomy.
      * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTaxonomyTimestamps(com.google.cloud.datacatalog.v1.SystemTimestamps value) { if (taxonomyTimestampsBuilder_ == null) { @@ -2270,11 +2542,15 @@ public Builder setTaxonomyTimestamps(com.google.cloud.datacatalog.v1.SystemTimes return this; } /** + * + * *
      * Output only. Creation and modification timestamps of this taxonomy.
      * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTaxonomyTimestamps( com.google.cloud.datacatalog.v1.SystemTimestamps.Builder builderForValue) { @@ -2288,17 +2564,22 @@ public Builder setTaxonomyTimestamps( return this; } /** + * + * *
      * Output only. Creation and modification timestamps of this taxonomy.
      * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeTaxonomyTimestamps(com.google.cloud.datacatalog.v1.SystemTimestamps value) { if (taxonomyTimestampsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - taxonomyTimestamps_ != null && - taxonomyTimestamps_ != com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && taxonomyTimestamps_ != null + && taxonomyTimestamps_ + != com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance()) { getTaxonomyTimestampsBuilder().mergeFrom(value); } else { taxonomyTimestamps_ = value; @@ -2311,11 +2592,15 @@ public Builder mergeTaxonomyTimestamps(com.google.cloud.datacatalog.v1.SystemTim return this; } /** + * + * *
      * Output only. Creation and modification timestamps of this taxonomy.
      * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearTaxonomyTimestamps() { bitField0_ = (bitField0_ & ~0x00000010); @@ -2328,11 +2613,15 @@ public Builder clearTaxonomyTimestamps() { return this; } /** + * + * *
      * Output only. Creation and modification timestamps of this taxonomy.
      * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.datacatalog.v1.SystemTimestamps.Builder getTaxonomyTimestampsBuilder() { bitField0_ |= 0x00000010; @@ -2340,43 +2629,57 @@ public com.google.cloud.datacatalog.v1.SystemTimestamps.Builder getTaxonomyTimes return getTaxonomyTimestampsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Creation and modification timestamps of this taxonomy.
      * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getTaxonomyTimestampsOrBuilder() { + public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder + getTaxonomyTimestampsOrBuilder() { if (taxonomyTimestampsBuilder_ != null) { return taxonomyTimestampsBuilder_.getMessageOrBuilder(); } else { - return taxonomyTimestamps_ == null ? - com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() : taxonomyTimestamps_; + return taxonomyTimestamps_ == null + ? com.google.cloud.datacatalog.v1.SystemTimestamps.getDefaultInstance() + : taxonomyTimestamps_; } } /** + * + * *
      * Output only. Creation and modification timestamps of this taxonomy.
      * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SystemTimestamps, com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder> + com.google.cloud.datacatalog.v1.SystemTimestamps, + com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, + com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder> getTaxonomyTimestampsFieldBuilder() { if (taxonomyTimestampsBuilder_ == null) { - taxonomyTimestampsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.SystemTimestamps, com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder>( - getTaxonomyTimestamps(), - getParentForChildren(), - isClean()); + taxonomyTimestampsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.SystemTimestamps, + com.google.cloud.datacatalog.v1.SystemTimestamps.Builder, + com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder>( + getTaxonomyTimestamps(), getParentForChildren(), isClean()); taxonomyTimestamps_ = null; } return taxonomyTimestampsBuilder_; } private java.util.List activatedPolicyTypes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureActivatedPolicyTypesIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { activatedPolicyTypes_ = new java.util.ArrayList(activatedPolicyTypes_); @@ -2384,37 +2687,54 @@ private void ensureActivatedPolicyTypesIsMutable() { } } /** + * + * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the activatedPolicyTypes. */ - public java.util.List getActivatedPolicyTypesList() { + public java.util.List + getActivatedPolicyTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.datacatalog.v1.Taxonomy.PolicyType>(activatedPolicyTypes_, activatedPolicyTypes_converter_); + java.lang.Integer, com.google.cloud.datacatalog.v1.Taxonomy.PolicyType>( + activatedPolicyTypes_, activatedPolicyTypes_converter_); } /** + * + * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of activatedPolicyTypes. */ public int getActivatedPolicyTypesCount() { return activatedPolicyTypes_.size(); } /** + * + * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The activatedPolicyTypes at the given index. */ @@ -2422,12 +2742,17 @@ public com.google.cloud.datacatalog.v1.Taxonomy.PolicyType getActivatedPolicyTyp return activatedPolicyTypes_converter_.convert(activatedPolicyTypes_.get(index)); } /** + * + * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The activatedPolicyTypes to set. * @return This builder for chaining. @@ -2443,16 +2768,22 @@ public Builder setActivatedPolicyTypes( return this; } /** + * + * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The activatedPolicyTypes to add. * @return This builder for chaining. */ - public Builder addActivatedPolicyTypes(com.google.cloud.datacatalog.v1.Taxonomy.PolicyType value) { + public Builder addActivatedPolicyTypes( + com.google.cloud.datacatalog.v1.Taxonomy.PolicyType value) { if (value == null) { throw new NullPointerException(); } @@ -2462,12 +2793,17 @@ public Builder addActivatedPolicyTypes(com.google.cloud.datacatalog.v1.Taxonomy. return this; } /** + * + * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The activatedPolicyTypes to add. * @return This builder for chaining. */ @@ -2481,12 +2817,17 @@ public Builder addAllActivatedPolicyTypes( return this; } /** + * + * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearActivatedPolicyTypes() { @@ -2496,25 +2837,34 @@ public Builder clearActivatedPolicyTypes() { return this; } /** + * + * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the enum numeric values on the wire for activatedPolicyTypes. */ - public java.util.List - getActivatedPolicyTypesValueList() { + public java.util.List getActivatedPolicyTypesValueList() { return java.util.Collections.unmodifiableList(activatedPolicyTypes_); } /** + * + * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of activatedPolicyTypes at the given index. */ @@ -2522,30 +2872,39 @@ public int getActivatedPolicyTypesValue(int index) { return activatedPolicyTypes_.get(index); } /** + * + * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for activatedPolicyTypes to set. * @return This builder for chaining. */ - public Builder setActivatedPolicyTypesValue( - int index, int value) { + public Builder setActivatedPolicyTypesValue(int index, int value) { ensureActivatedPolicyTypesIsMutable(); activatedPolicyTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for activatedPolicyTypes to add. * @return This builder for chaining. */ @@ -2556,17 +2915,21 @@ public Builder addActivatedPolicyTypesValue(int value) { return this; } /** + * + * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The enum numeric values on the wire for activatedPolicyTypes to add. * @return This builder for chaining. */ - public Builder addAllActivatedPolicyTypesValue( - java.lang.Iterable values) { + public Builder addAllActivatedPolicyTypesValue(java.lang.Iterable values) { ensureActivatedPolicyTypesIsMutable(); for (int value : values) { activatedPolicyTypes_.add(value); @@ -2577,45 +2940,64 @@ public Builder addAllActivatedPolicyTypesValue( private com.google.cloud.datacatalog.v1.Taxonomy.Service service_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Taxonomy.Service, com.google.cloud.datacatalog.v1.Taxonomy.Service.Builder, com.google.cloud.datacatalog.v1.Taxonomy.ServiceOrBuilder> serviceBuilder_; + com.google.cloud.datacatalog.v1.Taxonomy.Service, + com.google.cloud.datacatalog.v1.Taxonomy.Service.Builder, + com.google.cloud.datacatalog.v1.Taxonomy.ServiceOrBuilder> + serviceBuilder_; /** + * + * *
      * Output only. Identity of the service which owns the Taxonomy. This field is
      * only populated when the taxonomy is created by a Google Cloud service.
      * Currently only 'DATAPLEX' is supported.
      * 
* - * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the service field is set. */ public boolean hasService() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Output only. Identity of the service which owns the Taxonomy. This field is
      * only populated when the taxonomy is created by a Google Cloud service.
      * Currently only 'DATAPLEX' is supported.
      * 
* - * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The service. */ public com.google.cloud.datacatalog.v1.Taxonomy.Service getService() { if (serviceBuilder_ == null) { - return service_ == null ? com.google.cloud.datacatalog.v1.Taxonomy.Service.getDefaultInstance() : service_; + return service_ == null + ? com.google.cloud.datacatalog.v1.Taxonomy.Service.getDefaultInstance() + : service_; } else { return serviceBuilder_.getMessage(); } } /** + * + * *
      * Output only. Identity of the service which owns the Taxonomy. This field is
      * only populated when the taxonomy is created by a Google Cloud service.
      * Currently only 'DATAPLEX' is supported.
      * 
* - * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setService(com.google.cloud.datacatalog.v1.Taxonomy.Service value) { if (serviceBuilder_ == null) { @@ -2631,13 +3013,17 @@ public Builder setService(com.google.cloud.datacatalog.v1.Taxonomy.Service value return this; } /** + * + * *
      * Output only. Identity of the service which owns the Taxonomy. This field is
      * only populated when the taxonomy is created by a Google Cloud service.
      * Currently only 'DATAPLEX' is supported.
      * 
* - * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setService( com.google.cloud.datacatalog.v1.Taxonomy.Service.Builder builderForValue) { @@ -2651,19 +3037,23 @@ public Builder setService( return this; } /** + * + * *
      * Output only. Identity of the service which owns the Taxonomy. This field is
      * only populated when the taxonomy is created by a Google Cloud service.
      * Currently only 'DATAPLEX' is supported.
      * 
* - * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeService(com.google.cloud.datacatalog.v1.Taxonomy.Service value) { if (serviceBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - service_ != null && - service_ != com.google.cloud.datacatalog.v1.Taxonomy.Service.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && service_ != null + && service_ != com.google.cloud.datacatalog.v1.Taxonomy.Service.getDefaultInstance()) { getServiceBuilder().mergeFrom(value); } else { service_ = value; @@ -2676,13 +3066,17 @@ public Builder mergeService(com.google.cloud.datacatalog.v1.Taxonomy.Service val return this; } /** + * + * *
      * Output only. Identity of the service which owns the Taxonomy. This field is
      * only populated when the taxonomy is created by a Google Cloud service.
      * Currently only 'DATAPLEX' is supported.
      * 
* - * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearService() { bitField0_ = (bitField0_ & ~0x00000040); @@ -2695,13 +3089,17 @@ public Builder clearService() { return this; } /** + * + * *
      * Output only. Identity of the service which owns the Taxonomy. This field is
      * only populated when the taxonomy is created by a Google Cloud service.
      * Currently only 'DATAPLEX' is supported.
      * 
* - * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.datacatalog.v1.Taxonomy.Service.Builder getServiceBuilder() { bitField0_ |= 0x00000040; @@ -2709,47 +3107,59 @@ public com.google.cloud.datacatalog.v1.Taxonomy.Service.Builder getServiceBuilde return getServiceFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Identity of the service which owns the Taxonomy. This field is
      * only populated when the taxonomy is created by a Google Cloud service.
      * Currently only 'DATAPLEX' is supported.
      * 
* - * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.datacatalog.v1.Taxonomy.ServiceOrBuilder getServiceOrBuilder() { if (serviceBuilder_ != null) { return serviceBuilder_.getMessageOrBuilder(); } else { - return service_ == null ? - com.google.cloud.datacatalog.v1.Taxonomy.Service.getDefaultInstance() : service_; + return service_ == null + ? com.google.cloud.datacatalog.v1.Taxonomy.Service.getDefaultInstance() + : service_; } } /** + * + * *
      * Output only. Identity of the service which owns the Taxonomy. This field is
      * only populated when the taxonomy is created by a Google Cloud service.
      * Currently only 'DATAPLEX' is supported.
      * 
* - * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Taxonomy.Service, com.google.cloud.datacatalog.v1.Taxonomy.Service.Builder, com.google.cloud.datacatalog.v1.Taxonomy.ServiceOrBuilder> + com.google.cloud.datacatalog.v1.Taxonomy.Service, + com.google.cloud.datacatalog.v1.Taxonomy.Service.Builder, + com.google.cloud.datacatalog.v1.Taxonomy.ServiceOrBuilder> getServiceFieldBuilder() { if (serviceBuilder_ == null) { - serviceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Taxonomy.Service, com.google.cloud.datacatalog.v1.Taxonomy.Service.Builder, com.google.cloud.datacatalog.v1.Taxonomy.ServiceOrBuilder>( - getService(), - getParentForChildren(), - isClean()); + serviceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.Taxonomy.Service, + com.google.cloud.datacatalog.v1.Taxonomy.Service.Builder, + com.google.cloud.datacatalog.v1.Taxonomy.ServiceOrBuilder>( + getService(), getParentForChildren(), isClean()); service_ = null; } return serviceBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2759,12 +3169,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.Taxonomy) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.Taxonomy) private static final com.google.cloud.datacatalog.v1.Taxonomy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.Taxonomy(); } @@ -2773,27 +3183,27 @@ public static com.google.cloud.datacatalog.v1.Taxonomy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Taxonomy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Taxonomy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +3218,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.Taxonomy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyName.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyName.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyName.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyName.java diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyOrBuilder.java similarity index 68% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyOrBuilder.java index bebe98097d71..af1b1c20a823 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyOrBuilder.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/datacatalog/v1/policytagmanager.proto package com.google.cloud.datacatalog.v1; -public interface TaxonomyOrBuilder extends +public interface TaxonomyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.Taxonomy) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name of this taxonomy in URL format.
    *
@@ -15,10 +33,13 @@ public interface TaxonomyOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name of this taxonomy in URL format.
    *
@@ -26,12 +47,14 @@ public interface TaxonomyOrBuilder 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(); /** + * + * *
    * Required. User-defined name of this taxonomy.
    *
@@ -43,10 +66,13 @@ public interface TaxonomyOrBuilder extends
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. User-defined name of this taxonomy.
    *
@@ -58,12 +84,14 @@ public interface TaxonomyOrBuilder extends
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Optional. Description of this taxonomy. If not set, defaults to empty.
    *
@@ -73,10 +101,13 @@ public interface TaxonomyOrBuilder extends
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. Description of this taxonomy. If not set, defaults to empty.
    *
@@ -86,132 +117,187 @@ public interface TaxonomyOrBuilder extends
    * 
* * 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. Number of policy tags in this taxonomy.
    * 
* * int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The policyTagCount. */ int getPolicyTagCount(); /** + * + * *
    * Output only. Creation and modification timestamps of this taxonomy.
    * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the taxonomyTimestamps field is set. */ boolean hasTaxonomyTimestamps(); /** + * + * *
    * Output only. Creation and modification timestamps of this taxonomy.
    * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The taxonomyTimestamps. */ com.google.cloud.datacatalog.v1.SystemTimestamps getTaxonomyTimestamps(); /** + * + * *
    * Output only. Creation and modification timestamps of this taxonomy.
    * 
* - * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getTaxonomyTimestampsOrBuilder(); /** + * + * *
    * Optional. A list of policy types that are activated for this taxonomy. If
    * not set, defaults to an empty list.
    * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the activatedPolicyTypes. */ java.util.List getActivatedPolicyTypesList(); /** + * + * *
    * Optional. A list of policy types that are activated for this taxonomy. If
    * not set, defaults to an empty list.
    * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of activatedPolicyTypes. */ int getActivatedPolicyTypesCount(); /** + * + * *
    * Optional. A list of policy types that are activated for this taxonomy. If
    * not set, defaults to an empty list.
    * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The activatedPolicyTypes at the given index. */ com.google.cloud.datacatalog.v1.Taxonomy.PolicyType getActivatedPolicyTypes(int index); /** + * + * *
    * Optional. A list of policy types that are activated for this taxonomy. If
    * not set, defaults to an empty list.
    * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the enum numeric values on the wire for activatedPolicyTypes. */ - java.util.List - getActivatedPolicyTypesValueList(); + java.util.List getActivatedPolicyTypesValueList(); /** + * + * *
    * Optional. A list of policy types that are activated for this taxonomy. If
    * not set, defaults to an empty list.
    * 
* - * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of activatedPolicyTypes at the given index. */ int getActivatedPolicyTypesValue(int index); /** + * + * *
    * Output only. Identity of the service which owns the Taxonomy. This field is
    * only populated when the taxonomy is created by a Google Cloud service.
    * Currently only 'DATAPLEX' is supported.
    * 
* - * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the service field is set. */ boolean hasService(); /** + * + * *
    * Output only. Identity of the service which owns the Taxonomy. This field is
    * only populated when the taxonomy is created by a Google Cloud service.
    * Currently only 'DATAPLEX' is supported.
    * 
* - * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The service. */ com.google.cloud.datacatalog.v1.Taxonomy.Service getService(); /** + * + * *
    * Output only. Identity of the service which owns the Taxonomy. This field is
    * only populated when the taxonomy is created by a Google Cloud service.
    * Currently only 'DATAPLEX' is supported.
    * 
* - * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.datacatalog.v1.Taxonomy.ServiceOrBuilder getServiceOrBuilder(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Timestamps.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Timestamps.java new file mode 100644 index 000000000000..c53dbd8ecd29 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Timestamps.java @@ -0,0 +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/datacatalog/v1/timestamps.proto + +package com.google.cloud.datacatalog.v1; + +public final class Timestamps { + private Timestamps() {} + + 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_datacatalog_v1_SystemTimestamps_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_SystemTimestamps_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/datacatalog/v1/timestamps" + + ".proto\022\033google.cloud.datacatalog.v1\032\037goo" + + "gle/api/field_behavior.proto\032\037google/pro" + + "tobuf/timestamp.proto\"\253\001\n\020SystemTimestam" + + "ps\022/\n\013create_time\030\001 \001(\0132\032.google.protobu" + + "f.Timestamp\022/\n\013update_time\030\002 \001(\0132\032.googl" + + "e.protobuf.Timestamp\0225\n\013expire_time\030\003 \001(" + + "\0132\032.google.protobuf.TimestampB\004\342A\001\003B\306\001\n\037" + + "com.google.cloud.datacatalog.v1P\001ZAcloud" + + ".google.com/go/datacatalog/apiv1/datacat" + + "alogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud.D" + + "ataCatalog.V1\312\002\033Google\\Cloud\\DataCatalog" + + "\\V1\352\002\036Google::Cloud::DataCatalog::V1b\006pr" + + "oto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1_SystemTimestamps_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1_SystemTimestamps_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_SystemTimestamps_descriptor, + new java.lang.String[] { + "CreateTime", "UpdateTime", "ExpireTime", + }); + 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.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequest.java similarity index 62% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequest.java index e5221373c38f..45464c76ce52 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequest.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [UnstarEntry][google.cloud.datacatalog.v1.DataCatalog.UnstarEntry].
@@ -11,48 +28,56 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.UnstarEntryRequest}
  */
-public final class UnstarEntryRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UnstarEntryRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.UnstarEntryRequest)
     UnstarEntryRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UnstarEntryRequest.newBuilder() to construct.
   private UnstarEntryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private UnstarEntryRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UnstarEntryRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.UnstarEntryRequest.class, com.google.cloud.datacatalog.v1.UnstarEntryRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.UnstarEntryRequest.class,
+            com.google.cloud.datacatalog.v1.UnstarEntryRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the entry to mark as **not** starred.
    * 
* - * string name = 1 [(.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,29 +86,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the entry to mark as **not** starred.
    * 
* - * string name = 1 [(.google.api.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 { @@ -92,6 +119,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -103,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_); } @@ -128,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.datacatalog.v1.UnstarEntryRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.UnstarEntryRequest other = (com.google.cloud.datacatalog.v1.UnstarEntryRequest) obj; + com.google.cloud.datacatalog.v1.UnstarEntryRequest other = + (com.google.cloud.datacatalog.v1.UnstarEntryRequest) 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,98 +183,103 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.UnstarEntryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.UnstarEntryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.UnstarEntryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.UnstarEntryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.UnstarEntryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.UnstarEntryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.UnstarEntryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.UnstarEntryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.UnstarEntryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.UnstarEntryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.UnstarEntryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.UnstarEntryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.UnstarEntryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.UnstarEntryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.UnstarEntryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [UnstarEntry][google.cloud.datacatalog.v1.DataCatalog.UnstarEntry].
@@ -255,33 +287,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.UnstarEntryRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.UnstarEntryRequest)
       com.google.cloud.datacatalog.v1.UnstarEntryRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.UnstarEntryRequest.class, com.google.cloud.datacatalog.v1.UnstarEntryRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.UnstarEntryRequest.class,
+              com.google.cloud.datacatalog.v1.UnstarEntryRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.UnstarEntryRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        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.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_descriptor;
     }
 
     @java.lang.Override
@@ -312,8 +343,11 @@ public com.google.cloud.datacatalog.v1.UnstarEntryRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.UnstarEntryRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.UnstarEntryRequest result = new com.google.cloud.datacatalog.v1.UnstarEntryRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.UnstarEntryRequest result =
+          new com.google.cloud.datacatalog.v1.UnstarEntryRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.UnstarEntryRequest 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.datacatalog.v1.UnstarEntryRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.UnstarEntryRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.UnstarEntryRequest) 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.datacatalog.v1.UnstarEntryRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.UnstarEntryRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.UnstarEntryRequest.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,22 +458,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the entry to mark as **not** starred.
      * 
* - * string name = 1 [(.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; @@ -444,20 +487,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the entry to mark as **not** starred.
      * 
* - * string name = 1 [(.google.api.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 { @@ -465,28 +511,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the entry to mark as **not** starred.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the entry to mark as **not** starred.
      * 
* - * string 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() { @@ -496,26 +553,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the entry to mark as **not** starred.
      * 
* - * string name = 1 [(.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); } @@ -525,12 +588,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.UnstarEntryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.UnstarEntryRequest) private static final com.google.cloud.datacatalog.v1.UnstarEntryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.UnstarEntryRequest(); } @@ -539,27 +602,27 @@ public static com.google.cloud.datacatalog.v1.UnstarEntryRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UnstarEntryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UnstarEntryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -574,6 +637,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.UnstarEntryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequestOrBuilder.java new file mode 100644 index 000000000000..dee7d031bc76 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequestOrBuilder.java @@ -0,0 +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/datacatalog/v1/datacatalog.proto + +package com.google.cloud.datacatalog.v1; + +public interface UnstarEntryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.UnstarEntryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the entry to mark as **not** starred.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the entry to mark as **not** starred.
+   * 
+ * + * + * 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-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponse.java similarity index 62% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponse.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponse.java index 5c289dd19dae..e8908a016450 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponse.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Response message for
  * [UnstarEntry][google.cloud.datacatalog.v1.DataCatalog.UnstarEntry].
@@ -12,39 +29,41 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.UnstarEntryResponse}
  */
-public final class UnstarEntryResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UnstarEntryResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.UnstarEntryResponse)
     UnstarEntryResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UnstarEntryResponse.newBuilder() to construct.
   private UnstarEntryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private UnstarEntryResponse() {
-  }
+
+  private UnstarEntryResponse() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UnstarEntryResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.UnstarEntryResponse.class, com.google.cloud.datacatalog.v1.UnstarEntryResponse.Builder.class);
+            com.google.cloud.datacatalog.v1.UnstarEntryResponse.class,
+            com.google.cloud.datacatalog.v1.UnstarEntryResponse.Builder.class);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -56,8 +75,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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);
   }
 
@@ -75,12 +93,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.datacatalog.v1.UnstarEntryResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1.UnstarEntryResponse other = (com.google.cloud.datacatalog.v1.UnstarEntryResponse) obj;
+    com.google.cloud.datacatalog.v1.UnstarEntryResponse other =
+        (com.google.cloud.datacatalog.v1.UnstarEntryResponse) obj;
 
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -99,98 +118,103 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1.UnstarEntryResponse parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.UnstarEntryResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.UnstarEntryResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.UnstarEntryResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.UnstarEntryResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.UnstarEntryResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.datacatalog.v1.UnstarEntryResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.datacatalog.v1.UnstarEntryResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1.UnstarEntryResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1.UnstarEntryResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.UnstarEntryResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1.UnstarEntryResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.UnstarEntryResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1.UnstarEntryResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.datacatalog.v1.UnstarEntryResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Response message for
    * [UnstarEntry][google.cloud.datacatalog.v1.DataCatalog.UnstarEntry].
@@ -199,33 +223,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.UnstarEntryResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.UnstarEntryResponse)
       com.google.cloud.datacatalog.v1.UnstarEntryResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.UnstarEntryResponse.class, com.google.cloud.datacatalog.v1.UnstarEntryResponse.Builder.class);
+              com.google.cloud.datacatalog.v1.UnstarEntryResponse.class,
+              com.google.cloud.datacatalog.v1.UnstarEntryResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.UnstarEntryResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -233,9 +256,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_descriptor;
     }
 
     @java.lang.Override
@@ -254,7 +277,8 @@ public com.google.cloud.datacatalog.v1.UnstarEntryResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.UnstarEntryResponse buildPartial() {
-      com.google.cloud.datacatalog.v1.UnstarEntryResponse result = new com.google.cloud.datacatalog.v1.UnstarEntryResponse(this);
+      com.google.cloud.datacatalog.v1.UnstarEntryResponse result =
+          new com.google.cloud.datacatalog.v1.UnstarEntryResponse(this);
       onBuilt();
       return result;
     }
@@ -263,38 +287,39 @@ public com.google.cloud.datacatalog.v1.UnstarEntryResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.UnstarEntryResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.UnstarEntryResponse)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.UnstarEntryResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -302,7 +327,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.UnstarEntryResponse other) {
-      if (other == com.google.cloud.datacatalog.v1.UnstarEntryResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.UnstarEntryResponse.getDefaultInstance())
+        return this;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
@@ -329,12 +355,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) {
@@ -344,9 +371,9 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -356,12 +383,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.UnstarEntryResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.UnstarEntryResponse)
   private static final com.google.cloud.datacatalog.v1.UnstarEntryResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.UnstarEntryResponse();
   }
@@ -370,27 +397,27 @@ public static com.google.cloud.datacatalog.v1.UnstarEntryResponse getDefaultInst
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UnstarEntryResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UnstarEntryResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -405,6 +432,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1.UnstarEntryResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponseOrBuilder.java
new file mode 100644
index 000000000000..ca9c88ec7590
--- /dev/null
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponseOrBuilder.java
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/datacatalog/v1/datacatalog.proto
+
+package com.google.cloud.datacatalog.v1;
+
+public interface UnstarEntryResponseOrBuilder
+    extends
+    // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.UnstarEntryResponse)
+    com.google.protobuf.MessageOrBuilder {}
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequest.java
similarity index 66%
rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequest.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequest.java
index 16e332e28399..0f829f1dec03 100644
--- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequest.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequest.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/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
 /**
+ *
+ *
  * 
  * Request message for
  * [UpdateEntryGroup][google.cloud.datacatalog.v1.DataCatalog.UpdateEntryGroup].
@@ -11,46 +28,52 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.UpdateEntryGroupRequest}
  */
-public final class UpdateEntryGroupRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpdateEntryGroupRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.UpdateEntryGroupRequest)
     UpdateEntryGroupRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpdateEntryGroupRequest.newBuilder() to construct.
   private UpdateEntryGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private UpdateEntryGroupRequest() {
-  }
+
+  private UpdateEntryGroupRequest() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdateEntryGroupRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest.class, com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest.class,
+            com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest.Builder.class);
   }
 
   public static final int ENTRY_GROUP_FIELD_NUMBER = 1;
   private com.google.cloud.datacatalog.v1.EntryGroup entryGroup_;
   /**
+   *
+   *
    * 
    * Required. Updates for the entry group. The `name` field must be set.
    * 
* - * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the entryGroup field is set. */ @java.lang.Override @@ -58,32 +81,47 @@ public boolean hasEntryGroup() { return entryGroup_ != null; } /** + * + * *
    * Required. Updates for the entry group. The `name` field must be set.
    * 
* - * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The entryGroup. */ @java.lang.Override public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroup() { - return entryGroup_ == null ? com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance() : entryGroup_; + return entryGroup_ == null + ? com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance() + : entryGroup_; } /** + * + * *
    * Required. Updates for the entry group. The `name` field must be set.
    * 
* - * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupOrBuilder() { - return entryGroup_ == null ? com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance() : entryGroup_; + return entryGroup_ == null + ? com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance() + : entryGroup_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Names of fields whose values to overwrite on an entry group.
    *
@@ -93,6 +131,7 @@ public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupOrBuilde
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -100,6 +139,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Names of fields whose values to overwrite on an entry group.
    *
@@ -109,6 +150,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -116,6 +158,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Names of fields whose values to overwrite on an entry group.
    *
@@ -132,6 +176,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -143,8 +188,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (entryGroup_ != null) {
       output.writeMessage(1, getEntryGroup());
     }
@@ -161,12 +205,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (entryGroup_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getEntryGroup());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntryGroup());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -176,22 +218,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.datacatalog.v1.UpdateEntryGroupRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest other = (com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest) obj;
+    com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest other =
+        (com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest) obj;
 
     if (hasEntryGroup() != other.hasEntryGroup()) return false;
     if (hasEntryGroup()) {
-      if (!getEntryGroup()
-          .equals(other.getEntryGroup())) return false;
+      if (!getEntryGroup().equals(other.getEntryGroup())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -218,98 +259,104 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Request message for
    * [UpdateEntryGroup][google.cloud.datacatalog.v1.DataCatalog.UpdateEntryGroup].
@@ -317,33 +364,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.UpdateEntryGroupRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.UpdateEntryGroupRequest)
       com.google.cloud.datacatalog.v1.UpdateEntryGroupRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest.class, com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest.class,
+              com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -362,9 +408,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_descriptor;
     }
 
     @java.lang.Override
@@ -383,8 +429,11 @@ public com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest result = new com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest result =
+          new com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -392,14 +441,10 @@ public com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest buildPartial() {
     private void buildPartial0(com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.entryGroup_ = entryGroupBuilder_ == null
-            ? entryGroup_
-            : entryGroupBuilder_.build();
+        result.entryGroup_ = entryGroupBuilder_ == null ? entryGroup_ : entryGroupBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null
-            ? updateMask_
-            : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
       }
     }
 
@@ -407,38 +452,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.UpdateEntryGroupReque
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -446,7 +492,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest.getDefaultInstance())
+        return this;
       if (other.hasEntryGroup()) {
         mergeEntryGroup(other.getEntryGroup());
       }
@@ -479,26 +526,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getEntryGroupFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getEntryGroupFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -508,43 +554,63 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.datacatalog.v1.EntryGroup entryGroup_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.EntryGroup, com.google.cloud.datacatalog.v1.EntryGroup.Builder, com.google.cloud.datacatalog.v1.EntryGroupOrBuilder> entryGroupBuilder_;
+            com.google.cloud.datacatalog.v1.EntryGroup,
+            com.google.cloud.datacatalog.v1.EntryGroup.Builder,
+            com.google.cloud.datacatalog.v1.EntryGroupOrBuilder>
+        entryGroupBuilder_;
     /**
+     *
+     *
      * 
      * Required. Updates for the entry group. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the entryGroup field is set. */ public boolean hasEntryGroup() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. Updates for the entry group. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The entryGroup. */ public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroup() { if (entryGroupBuilder_ == null) { - return entryGroup_ == null ? com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance() : entryGroup_; + return entryGroup_ == null + ? com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance() + : entryGroup_; } else { return entryGroupBuilder_.getMessage(); } } /** + * + * *
      * Required. Updates for the entry group. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEntryGroup(com.google.cloud.datacatalog.v1.EntryGroup value) { if (entryGroupBuilder_ == null) { @@ -560,11 +626,15 @@ public Builder setEntryGroup(com.google.cloud.datacatalog.v1.EntryGroup value) { return this; } /** + * + * *
      * Required. Updates for the entry group. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEntryGroup( com.google.cloud.datacatalog.v1.EntryGroup.Builder builderForValue) { @@ -578,17 +648,21 @@ public Builder setEntryGroup( return this; } /** + * + * *
      * Required. Updates for the entry group. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeEntryGroup(com.google.cloud.datacatalog.v1.EntryGroup value) { if (entryGroupBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - entryGroup_ != null && - entryGroup_ != com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && entryGroup_ != null + && entryGroup_ != com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()) { getEntryGroupBuilder().mergeFrom(value); } else { entryGroup_ = value; @@ -601,11 +675,15 @@ public Builder mergeEntryGroup(com.google.cloud.datacatalog.v1.EntryGroup value) return this; } /** + * + * *
      * Required. Updates for the entry group. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearEntryGroup() { bitField0_ = (bitField0_ & ~0x00000001); @@ -618,11 +696,15 @@ public Builder clearEntryGroup() { return this; } /** + * + * *
      * Required. Updates for the entry group. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1.EntryGroup.Builder getEntryGroupBuilder() { bitField0_ |= 0x00000001; @@ -630,36 +712,48 @@ public com.google.cloud.datacatalog.v1.EntryGroup.Builder getEntryGroupBuilder() return getEntryGroupFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Updates for the entry group. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupOrBuilder() { if (entryGroupBuilder_ != null) { return entryGroupBuilder_.getMessageOrBuilder(); } else { - return entryGroup_ == null ? - com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance() : entryGroup_; + return entryGroup_ == null + ? com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance() + : entryGroup_; } } /** + * + * *
      * Required. Updates for the entry group. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.EntryGroup, com.google.cloud.datacatalog.v1.EntryGroup.Builder, com.google.cloud.datacatalog.v1.EntryGroupOrBuilder> + com.google.cloud.datacatalog.v1.EntryGroup, + com.google.cloud.datacatalog.v1.EntryGroup.Builder, + com.google.cloud.datacatalog.v1.EntryGroupOrBuilder> getEntryGroupFieldBuilder() { if (entryGroupBuilder_ == null) { - entryGroupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.EntryGroup, com.google.cloud.datacatalog.v1.EntryGroup.Builder, com.google.cloud.datacatalog.v1.EntryGroupOrBuilder>( - getEntryGroup(), - getParentForChildren(), - isClean()); + entryGroupBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.EntryGroup, + com.google.cloud.datacatalog.v1.EntryGroup.Builder, + com.google.cloud.datacatalog.v1.EntryGroupOrBuilder>( + getEntryGroup(), getParentForChildren(), isClean()); entryGroup_ = null; } return entryGroupBuilder_; @@ -667,8 +761,13 @@ public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupOrBuilde 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_; /** + * + * *
      * Names of fields whose values to overwrite on an entry group.
      *
@@ -678,12 +777,15 @@ public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupOrBuilde
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Names of fields whose values to overwrite on an entry group.
      *
@@ -693,16 +795,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @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(); } } /** + * + * *
      * Names of fields whose values to overwrite on an entry group.
      *
@@ -727,6 +834,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry group.
      *
@@ -737,8 +846,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    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 {
@@ -749,6 +857,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry group.
      *
@@ -761,9 +871,9 @@ public Builder setUpdateMask(
      */
     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;
@@ -776,6 +886,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry group.
      *
@@ -797,6 +909,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry group.
      *
@@ -813,6 +927,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry group.
      *
@@ -827,11 +943,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry group.
      *
@@ -843,21 +962,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -867,12 +989,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.UpdateEntryGroupRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.UpdateEntryGroupRequest)
   private static final com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest();
   }
@@ -881,27 +1003,27 @@ public static com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest getDefault
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateEntryGroupRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateEntryGroupRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -916,6 +1038,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequestOrBuilder.java
similarity index 66%
rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequestOrBuilder.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequestOrBuilder.java
index 72825e8ea331..5ac738d615c6 100644
--- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequestOrBuilder.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequestOrBuilder.java
@@ -1,40 +1,72 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
-public interface UpdateEntryGroupRequestOrBuilder extends
+public interface UpdateEntryGroupRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.UpdateEntryGroupRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. Updates for the entry group. The `name` field must be set.
    * 
* - * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the entryGroup field is set. */ boolean hasEntryGroup(); /** + * + * *
    * Required. Updates for the entry group. The `name` field must be set.
    * 
* - * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The entryGroup. */ com.google.cloud.datacatalog.v1.EntryGroup getEntryGroup(); /** + * + * *
    * Required. Updates for the entry group. The `name` field must be set.
    * 
* - * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupOrBuilder(); /** + * + * *
    * Names of fields whose values to overwrite on an entry group.
    *
@@ -44,10 +76,13 @@ public interface UpdateEntryGroupRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Names of fields whose values to overwrite on an entry group.
    *
@@ -57,10 +92,13 @@ public interface UpdateEntryGroupRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Names of fields whose values to overwrite on an entry group.
    *
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequest.java
similarity index 75%
rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequest.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequest.java
index f0ff61df7465..45708fa4a6b7 100644
--- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequest.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequest.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/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
 /**
+ *
+ *
  * 
  * Request message for
  * [UpdateEntry][google.cloud.datacatalog.v1.DataCatalog.UpdateEntry].
@@ -11,46 +28,51 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.UpdateEntryRequest}
  */
-public final class UpdateEntryRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpdateEntryRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.UpdateEntryRequest)
     UpdateEntryRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpdateEntryRequest.newBuilder() to construct.
   private UpdateEntryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private UpdateEntryRequest() {
-  }
+
+  private UpdateEntryRequest() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdateEntryRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.UpdateEntryRequest.class, com.google.cloud.datacatalog.v1.UpdateEntryRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.UpdateEntryRequest.class,
+            com.google.cloud.datacatalog.v1.UpdateEntryRequest.Builder.class);
   }
 
   public static final int ENTRY_FIELD_NUMBER = 1;
   private com.google.cloud.datacatalog.v1.Entry entry_;
   /**
+   *
+   *
    * 
    * Required. Updates for the entry. The `name` field must be set.
    * 
* - * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the entry field is set. */ @java.lang.Override @@ -58,11 +80,15 @@ public boolean hasEntry() { return entry_ != null; } /** + * + * *
    * Required. Updates for the entry. The `name` field must be set.
    * 
* - * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The entry. */ @java.lang.Override @@ -70,11 +96,14 @@ public com.google.cloud.datacatalog.v1.Entry getEntry() { return entry_ == null ? com.google.cloud.datacatalog.v1.Entry.getDefaultInstance() : entry_; } /** + * + * *
    * Required. Updates for the entry. The `name` field must be set.
    * 
* - * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntryOrBuilder() { @@ -84,6 +113,8 @@ public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntryOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Names of fields whose values to overwrite on an entry.
    *
@@ -117,6 +148,7 @@ public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntryOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -124,6 +156,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Names of fields whose values to overwrite on an entry.
    *
@@ -157,6 +191,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -164,6 +199,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Names of fields whose values to overwrite on an entry.
    *
@@ -204,6 +241,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -215,8 +253,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (entry_ != null) {
       output.writeMessage(1, getEntry());
     }
@@ -233,12 +270,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (entry_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getEntry());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntry());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -248,22 +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.datacatalog.v1.UpdateEntryRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1.UpdateEntryRequest other = (com.google.cloud.datacatalog.v1.UpdateEntryRequest) obj;
+    com.google.cloud.datacatalog.v1.UpdateEntryRequest other =
+        (com.google.cloud.datacatalog.v1.UpdateEntryRequest) obj;
 
     if (hasEntry() != other.hasEntry()) return false;
     if (hasEntry()) {
-      if (!getEntry()
-          .equals(other.getEntry())) return false;
+      if (!getEntry().equals(other.getEntry())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -290,98 +324,103 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1.UpdateEntryRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateEntryRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateEntryRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateEntryRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateEntryRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateEntryRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.datacatalog.v1.UpdateEntryRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.datacatalog.v1.UpdateEntryRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateEntryRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1.UpdateEntryRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.UpdateEntryRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1.UpdateEntryRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateEntryRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateEntryRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.datacatalog.v1.UpdateEntryRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Request message for
    * [UpdateEntry][google.cloud.datacatalog.v1.DataCatalog.UpdateEntry].
@@ -389,33 +428,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.UpdateEntryRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.UpdateEntryRequest)
       com.google.cloud.datacatalog.v1.UpdateEntryRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.UpdateEntryRequest.class, com.google.cloud.datacatalog.v1.UpdateEntryRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.UpdateEntryRequest.class,
+              com.google.cloud.datacatalog.v1.UpdateEntryRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.UpdateEntryRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -434,9 +472,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_descriptor;
     }
 
     @java.lang.Override
@@ -455,8 +493,11 @@ public com.google.cloud.datacatalog.v1.UpdateEntryRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.UpdateEntryRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.UpdateEntryRequest result = new com.google.cloud.datacatalog.v1.UpdateEntryRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.UpdateEntryRequest result =
+          new com.google.cloud.datacatalog.v1.UpdateEntryRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -464,14 +505,10 @@ public com.google.cloud.datacatalog.v1.UpdateEntryRequest buildPartial() {
     private void buildPartial0(com.google.cloud.datacatalog.v1.UpdateEntryRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.entry_ = entryBuilder_ == null
-            ? entry_
-            : entryBuilder_.build();
+        result.entry_ = entryBuilder_ == null ? entry_ : entryBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null
-            ? updateMask_
-            : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
       }
     }
 
@@ -479,38 +516,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.UpdateEntryRequest 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.datacatalog.v1.UpdateEntryRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.UpdateEntryRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.UpdateEntryRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -518,7 +556,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.UpdateEntryRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.UpdateEntryRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.UpdateEntryRequest.getDefaultInstance())
+        return this;
       if (other.hasEntry()) {
         mergeEntry(other.getEntry());
       }
@@ -551,26 +590,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getEntryFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getEntryFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -580,28 +618,40 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.datacatalog.v1.Entry entry_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.Entry, com.google.cloud.datacatalog.v1.Entry.Builder, com.google.cloud.datacatalog.v1.EntryOrBuilder> entryBuilder_;
+            com.google.cloud.datacatalog.v1.Entry,
+            com.google.cloud.datacatalog.v1.Entry.Builder,
+            com.google.cloud.datacatalog.v1.EntryOrBuilder>
+        entryBuilder_;
     /**
+     *
+     *
      * 
      * Required. Updates for the entry. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the entry field is set. */ public boolean hasEntry() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. Updates for the entry. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The entry. */ public com.google.cloud.datacatalog.v1.Entry getEntry() { @@ -612,11 +662,14 @@ public com.google.cloud.datacatalog.v1.Entry getEntry() { } } /** + * + * *
      * Required. Updates for the entry. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEntry(com.google.cloud.datacatalog.v1.Entry value) { if (entryBuilder_ == null) { @@ -632,14 +685,16 @@ public Builder setEntry(com.google.cloud.datacatalog.v1.Entry value) { return this; } /** + * + * *
      * Required. Updates for the entry. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setEntry( - com.google.cloud.datacatalog.v1.Entry.Builder builderForValue) { + public Builder setEntry(com.google.cloud.datacatalog.v1.Entry.Builder builderForValue) { if (entryBuilder_ == null) { entry_ = builderForValue.build(); } else { @@ -650,17 +705,20 @@ public Builder setEntry( return this; } /** + * + * *
      * Required. Updates for the entry. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeEntry(com.google.cloud.datacatalog.v1.Entry value) { if (entryBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - entry_ != null && - entry_ != com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && entry_ != null + && entry_ != com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()) { getEntryBuilder().mergeFrom(value); } else { entry_ = value; @@ -673,11 +731,14 @@ public Builder mergeEntry(com.google.cloud.datacatalog.v1.Entry value) { return this; } /** + * + * *
      * Required. Updates for the entry. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearEntry() { bitField0_ = (bitField0_ & ~0x00000001); @@ -690,11 +751,14 @@ public Builder clearEntry() { return this; } /** + * + * *
      * Required. Updates for the entry. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1.Entry.Builder getEntryBuilder() { bitField0_ |= 0x00000001; @@ -702,36 +766,44 @@ public com.google.cloud.datacatalog.v1.Entry.Builder getEntryBuilder() { return getEntryFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Updates for the entry. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntryOrBuilder() { if (entryBuilder_ != null) { return entryBuilder_.getMessageOrBuilder(); } else { - return entry_ == null ? - com.google.cloud.datacatalog.v1.Entry.getDefaultInstance() : entry_; + return entry_ == null ? com.google.cloud.datacatalog.v1.Entry.getDefaultInstance() : entry_; } } /** + * + * *
      * Required. Updates for the entry. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Entry, com.google.cloud.datacatalog.v1.Entry.Builder, com.google.cloud.datacatalog.v1.EntryOrBuilder> + com.google.cloud.datacatalog.v1.Entry, + com.google.cloud.datacatalog.v1.Entry.Builder, + com.google.cloud.datacatalog.v1.EntryOrBuilder> getEntryFieldBuilder() { if (entryBuilder_ == null) { - entryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Entry, com.google.cloud.datacatalog.v1.Entry.Builder, com.google.cloud.datacatalog.v1.EntryOrBuilder>( - getEntry(), - getParentForChildren(), - isClean()); + entryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.Entry, + com.google.cloud.datacatalog.v1.Entry.Builder, + com.google.cloud.datacatalog.v1.EntryOrBuilder>( + getEntry(), getParentForChildren(), isClean()); entry_ = null; } return entryBuilder_; @@ -739,8 +811,13 @@ public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntryOrBuilder() { 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_; /** + * + * *
      * Names of fields whose values to overwrite on an entry.
      *
@@ -774,12 +851,15 @@ public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntryOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Names of fields whose values to overwrite on an entry.
      *
@@ -813,16 +893,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @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(); } } /** + * + * *
      * Names of fields whose values to overwrite on an entry.
      *
@@ -871,6 +956,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry.
      *
@@ -905,8 +992,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    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 {
@@ -917,6 +1003,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry.
      *
@@ -953,9 +1041,9 @@ public Builder setUpdateMask(
      */
     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;
@@ -968,6 +1056,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry.
      *
@@ -1013,6 +1103,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry.
      *
@@ -1053,6 +1145,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry.
      *
@@ -1091,11 +1185,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry.
      *
@@ -1131,21 +1228,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1155,12 +1255,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.UpdateEntryRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.UpdateEntryRequest)
   private static final com.google.cloud.datacatalog.v1.UpdateEntryRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.UpdateEntryRequest();
   }
@@ -1169,27 +1269,27 @@ public static com.google.cloud.datacatalog.v1.UpdateEntryRequest getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateEntryRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateEntryRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1204,6 +1304,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1.UpdateEntryRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequestOrBuilder.java
similarity index 81%
rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequestOrBuilder.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequestOrBuilder.java
index 578d81a7cbb4..3089c276b616 100644
--- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequestOrBuilder.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequestOrBuilder.java
@@ -1,40 +1,69 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
-public interface UpdateEntryRequestOrBuilder extends
+public interface UpdateEntryRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.UpdateEntryRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. Updates for the entry. The `name` field must be set.
    * 
* - * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the entry field is set. */ boolean hasEntry(); /** + * + * *
    * Required. Updates for the entry. The `name` field must be set.
    * 
* - * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The entry. */ com.google.cloud.datacatalog.v1.Entry getEntry(); /** + * + * *
    * Required. Updates for the entry. The `name` field must be set.
    * 
* - * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.datacatalog.v1.EntryOrBuilder getEntryOrBuilder(); /** + * + * *
    * Names of fields whose values to overwrite on an entry.
    *
@@ -68,10 +97,13 @@ public interface UpdateEntryRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Names of fields whose values to overwrite on an entry.
    *
@@ -105,10 +137,13 @@ public interface UpdateEntryRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Names of fields whose values to overwrite on an entry.
    *
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequest.java
similarity index 72%
rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequest.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequest.java
index 06bc52ad4d6b..27c02216431e 100644
--- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequest.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequest.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/datacatalog/v1/policytagmanager.proto
 
 package com.google.cloud.datacatalog.v1;
 
 /**
+ *
+ *
  * 
  * Request message for
  * [UpdatePolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.UpdatePolicyTag].
@@ -11,47 +28,51 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.UpdatePolicyTagRequest}
  */
-public final class UpdatePolicyTagRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpdatePolicyTagRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.UpdatePolicyTagRequest)
     UpdatePolicyTagRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpdatePolicyTagRequest.newBuilder() to construct.
   private UpdatePolicyTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private UpdatePolicyTagRequest() {
-  }
+
+  private UpdatePolicyTagRequest() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdatePolicyTagRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest.class, com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest.class,
+            com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest.Builder.class);
   }
 
   public static final int POLICY_TAG_FIELD_NUMBER = 1;
   private com.google.cloud.datacatalog.v1.PolicyTag policyTag_;
   /**
+   *
+   *
    * 
    * The policy tag to update. You can update only its description, display
    * name, and parent policy tag fields.
    * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1; + * * @return Whether the policyTag field is set. */ @java.lang.Override @@ -59,19 +80,26 @@ public boolean hasPolicyTag() { return policyTag_ != null; } /** + * + * *
    * The policy tag to update. You can update only its description, display
    * name, and parent policy tag fields.
    * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1; + * * @return The policyTag. */ @java.lang.Override public com.google.cloud.datacatalog.v1.PolicyTag getPolicyTag() { - return policyTag_ == null ? com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance() : policyTag_; + return policyTag_ == null + ? com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance() + : policyTag_; } /** + * + * *
    * The policy tag to update. You can update only its description, display
    * name, and parent policy tag fields.
@@ -81,12 +109,16 @@ public com.google.cloud.datacatalog.v1.PolicyTag getPolicyTag() {
    */
   @java.lang.Override
   public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagOrBuilder() {
-    return policyTag_ == null ? com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance() : policyTag_;
+    return policyTag_ == null
+        ? com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance()
+        : policyTag_;
   }
 
   public static final int UPDATE_MASK_FIELD_NUMBER = 2;
   private com.google.protobuf.FieldMask updateMask_;
   /**
+   *
+   *
    * 
    * Specifies the fields to update.
    *
@@ -97,6 +129,7 @@ public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagOrBuilder(
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -104,6 +137,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Specifies the fields to update.
    *
@@ -114,6 +149,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -121,6 +157,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Specifies the fields to update.
    *
@@ -138,6 +176,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -149,8 +188,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (policyTag_ != null) {
       output.writeMessage(1, getPolicyTag());
     }
@@ -167,12 +205,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (policyTag_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getPolicyTag());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPolicyTag());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -182,22 +218,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.datacatalog.v1.UpdatePolicyTagRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest other = (com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest) obj;
+    com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest other =
+        (com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest) obj;
 
     if (hasPolicyTag() != other.hasPolicyTag()) return false;
     if (hasPolicyTag()) {
-      if (!getPolicyTag()
-          .equals(other.getPolicyTag())) return false;
+      if (!getPolicyTag().equals(other.getPolicyTag())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -224,98 +259,104 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Request message for
    * [UpdatePolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.UpdatePolicyTag].
@@ -323,33 +364,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.UpdatePolicyTagRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.UpdatePolicyTagRequest)
       com.google.cloud.datacatalog.v1.UpdatePolicyTagRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest.class, com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest.class,
+              com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -368,9 +408,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_descriptor;
     }
 
     @java.lang.Override
@@ -389,8 +429,11 @@ public com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest result = new com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest result =
+          new com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -398,14 +441,10 @@ public com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest buildPartial() {
     private void buildPartial0(com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.policyTag_ = policyTagBuilder_ == null
-            ? policyTag_
-            : policyTagBuilder_.build();
+        result.policyTag_ = policyTagBuilder_ == null ? policyTag_ : policyTagBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null
-            ? updateMask_
-            : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
       }
     }
 
@@ -413,38 +452,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.UpdatePolicyTagReques
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -452,7 +492,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest.getDefaultInstance())
+        return this;
       if (other.hasPolicyTag()) {
         mergePolicyTag(other.getPolicyTag());
       }
@@ -485,26 +526,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getPolicyTagFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getPolicyTagFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -514,40 +554,54 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.datacatalog.v1.PolicyTag policyTag_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.PolicyTag, com.google.cloud.datacatalog.v1.PolicyTag.Builder, com.google.cloud.datacatalog.v1.PolicyTagOrBuilder> policyTagBuilder_;
+            com.google.cloud.datacatalog.v1.PolicyTag,
+            com.google.cloud.datacatalog.v1.PolicyTag.Builder,
+            com.google.cloud.datacatalog.v1.PolicyTagOrBuilder>
+        policyTagBuilder_;
     /**
+     *
+     *
      * 
      * The policy tag to update. You can update only its description, display
      * name, and parent policy tag fields.
      * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1; + * * @return Whether the policyTag field is set. */ public boolean hasPolicyTag() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The policy tag to update. You can update only its description, display
      * name, and parent policy tag fields.
      * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1; + * * @return The policyTag. */ public com.google.cloud.datacatalog.v1.PolicyTag getPolicyTag() { if (policyTagBuilder_ == null) { - return policyTag_ == null ? com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance() : policyTag_; + return policyTag_ == null + ? com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance() + : policyTag_; } else { return policyTagBuilder_.getMessage(); } } /** + * + * *
      * The policy tag to update. You can update only its description, display
      * name, and parent policy tag fields.
@@ -569,6 +623,8 @@ public Builder setPolicyTag(com.google.cloud.datacatalog.v1.PolicyTag value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The policy tag to update. You can update only its description, display
      * name, and parent policy tag fields.
@@ -576,8 +632,7 @@ public Builder setPolicyTag(com.google.cloud.datacatalog.v1.PolicyTag value) {
      *
      * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1;
      */
-    public Builder setPolicyTag(
-        com.google.cloud.datacatalog.v1.PolicyTag.Builder builderForValue) {
+    public Builder setPolicyTag(com.google.cloud.datacatalog.v1.PolicyTag.Builder builderForValue) {
       if (policyTagBuilder_ == null) {
         policyTag_ = builderForValue.build();
       } else {
@@ -588,6 +643,8 @@ public Builder setPolicyTag(
       return this;
     }
     /**
+     *
+     *
      * 
      * The policy tag to update. You can update only its description, display
      * name, and parent policy tag fields.
@@ -597,9 +654,9 @@ public Builder setPolicyTag(
      */
     public Builder mergePolicyTag(com.google.cloud.datacatalog.v1.PolicyTag value) {
       if (policyTagBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          policyTag_ != null &&
-          policyTag_ != com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && policyTag_ != null
+            && policyTag_ != com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance()) {
           getPolicyTagBuilder().mergeFrom(value);
         } else {
           policyTag_ = value;
@@ -612,6 +669,8 @@ public Builder mergePolicyTag(com.google.cloud.datacatalog.v1.PolicyTag value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The policy tag to update. You can update only its description, display
      * name, and parent policy tag fields.
@@ -630,6 +689,8 @@ public Builder clearPolicyTag() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The policy tag to update. You can update only its description, display
      * name, and parent policy tag fields.
@@ -643,6 +704,8 @@ public com.google.cloud.datacatalog.v1.PolicyTag.Builder getPolicyTagBuilder() {
       return getPolicyTagFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The policy tag to update. You can update only its description, display
      * name, and parent policy tag fields.
@@ -654,11 +717,14 @@ public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagOrBuilder(
       if (policyTagBuilder_ != null) {
         return policyTagBuilder_.getMessageOrBuilder();
       } else {
-        return policyTag_ == null ?
-            com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance() : policyTag_;
+        return policyTag_ == null
+            ? com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance()
+            : policyTag_;
       }
     }
     /**
+     *
+     *
      * 
      * The policy tag to update. You can update only its description, display
      * name, and parent policy tag fields.
@@ -667,14 +733,17 @@ public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagOrBuilder(
      * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.PolicyTag, com.google.cloud.datacatalog.v1.PolicyTag.Builder, com.google.cloud.datacatalog.v1.PolicyTagOrBuilder> 
+            com.google.cloud.datacatalog.v1.PolicyTag,
+            com.google.cloud.datacatalog.v1.PolicyTag.Builder,
+            com.google.cloud.datacatalog.v1.PolicyTagOrBuilder>
         getPolicyTagFieldBuilder() {
       if (policyTagBuilder_ == null) {
-        policyTagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.PolicyTag, com.google.cloud.datacatalog.v1.PolicyTag.Builder, com.google.cloud.datacatalog.v1.PolicyTagOrBuilder>(
-                getPolicyTag(),
-                getParentForChildren(),
-                isClean());
+        policyTagBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.datacatalog.v1.PolicyTag,
+                com.google.cloud.datacatalog.v1.PolicyTag.Builder,
+                com.google.cloud.datacatalog.v1.PolicyTagOrBuilder>(
+                getPolicyTag(), getParentForChildren(), isClean());
         policyTag_ = null;
       }
       return policyTagBuilder_;
@@ -682,8 +751,13 @@ public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagOrBuilder(
 
     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_;
     /**
+     *
+     *
      * 
      * Specifies the fields to update.
      *
@@ -694,12 +768,15 @@ public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagOrBuilder(
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Specifies the fields to update.
      *
@@ -710,16 +787,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @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(); } } /** + * + * *
      * Specifies the fields to update.
      *
@@ -745,6 +827,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies the fields to update.
      *
@@ -756,8 +840,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    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 {
@@ -768,6 +851,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies the fields to update.
      *
@@ -781,9 +866,9 @@ public Builder setUpdateMask(
      */
     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;
@@ -796,6 +881,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies the fields to update.
      *
@@ -818,6 +905,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies the fields to update.
      *
@@ -835,6 +924,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Specifies the fields to update.
      *
@@ -850,11 +941,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * Specifies the fields to update.
      *
@@ -867,21 +961,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -891,12 +988,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.UpdatePolicyTagRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.UpdatePolicyTagRequest)
   private static final com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest();
   }
@@ -905,27 +1002,27 @@ public static com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest getDefaultI
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdatePolicyTagRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdatePolicyTagRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -940,6 +1037,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequestOrBuilder.java
similarity index 78%
rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequestOrBuilder.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequestOrBuilder.java
index 9f1082e61ac6..ee77eae9d954 100644
--- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequestOrBuilder.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequestOrBuilder.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/datacatalog/v1/policytagmanager.proto
 
 package com.google.cloud.datacatalog.v1;
 
-public interface UpdatePolicyTagRequestOrBuilder extends
+public interface UpdatePolicyTagRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.UpdatePolicyTagRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The policy tag to update. You can update only its description, display
    * name, and parent policy tag fields.
    * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1; + * * @return Whether the policyTag field is set. */ boolean hasPolicyTag(); /** + * + * *
    * The policy tag to update. You can update only its description, display
    * name, and parent policy tag fields.
    * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1; + * * @return The policyTag. */ com.google.cloud.datacatalog.v1.PolicyTag getPolicyTag(); /** + * + * *
    * The policy tag to update. You can update only its description, display
    * name, and parent policy tag fields.
@@ -38,6 +62,8 @@ public interface UpdatePolicyTagRequestOrBuilder extends
   com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagOrBuilder();
 
   /**
+   *
+   *
    * 
    * Specifies the fields to update.
    *
@@ -48,10 +74,13 @@ public interface UpdatePolicyTagRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Specifies the fields to update.
    *
@@ -62,10 +91,13 @@ public interface UpdatePolicyTagRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Specifies the fields to update.
    *
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequest.java
similarity index 71%
rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequest.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequest.java
index 44599b73862c..8dfa2e3ecbf5 100644
--- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequest.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequest.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/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
 /**
+ *
+ *
  * 
  * Request message for
  * [UpdateTag][google.cloud.datacatalog.v1.DataCatalog.UpdateTag].
@@ -11,46 +28,51 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.UpdateTagRequest}
  */
-public final class UpdateTagRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpdateTagRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.UpdateTagRequest)
     UpdateTagRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpdateTagRequest.newBuilder() to construct.
   private UpdateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private UpdateTagRequest() {
-  }
+
+  private UpdateTagRequest() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdateTagRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.UpdateTagRequest.class, com.google.cloud.datacatalog.v1.UpdateTagRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.UpdateTagRequest.class,
+            com.google.cloud.datacatalog.v1.UpdateTagRequest.Builder.class);
   }
 
   public static final int TAG_FIELD_NUMBER = 1;
   private com.google.cloud.datacatalog.v1.Tag tag_;
   /**
+   *
+   *
    * 
    * Required. The updated tag. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tag field is set. */ @java.lang.Override @@ -58,11 +80,15 @@ public boolean hasTag() { return tag_ != null; } /** + * + * *
    * Required. The updated tag. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tag. */ @java.lang.Override @@ -70,11 +96,14 @@ public com.google.cloud.datacatalog.v1.Tag getTag() { return tag_ == null ? com.google.cloud.datacatalog.v1.Tag.getDefaultInstance() : tag_; } /** + * + * *
    * Required. The updated tag. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1.TagOrBuilder getTagOrBuilder() { @@ -84,6 +113,8 @@ public com.google.cloud.datacatalog.v1.TagOrBuilder getTagOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Names of fields whose values to overwrite on a tag. Currently, a tag has
    * the only modifiable field with the name `fields`.
@@ -94,6 +125,7 @@ public com.google.cloud.datacatalog.v1.TagOrBuilder getTagOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -101,6 +133,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Names of fields whose values to overwrite on a tag. Currently, a tag has
    * the only modifiable field with the name `fields`.
@@ -111,6 +145,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -118,6 +153,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Names of fields whose values to overwrite on a tag. Currently, a tag has
    * the only modifiable field with the name `fields`.
@@ -135,6 +172,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -146,8 +184,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (tag_ != null) {
       output.writeMessage(1, getTag());
     }
@@ -164,12 +201,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (tag_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getTag());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTag());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -179,22 +214,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.datacatalog.v1.UpdateTagRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1.UpdateTagRequest other = (com.google.cloud.datacatalog.v1.UpdateTagRequest) obj;
+    com.google.cloud.datacatalog.v1.UpdateTagRequest other =
+        (com.google.cloud.datacatalog.v1.UpdateTagRequest) obj;
 
     if (hasTag() != other.hasTag()) return false;
     if (hasTag()) {
-      if (!getTag()
-          .equals(other.getTag())) return false;
+      if (!getTag().equals(other.getTag())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -220,99 +254,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.datacatalog.v1.UpdateTagRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.datacatalog.v1.UpdateTagRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateTagRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateTagRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateTagRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.datacatalog.v1.UpdateTagRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.datacatalog.v1.UpdateTagRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateTagRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1.UpdateTagRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.UpdateTagRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1.UpdateTagRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateTagRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateTagRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.datacatalog.v1.UpdateTagRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Request message for
    * [UpdateTag][google.cloud.datacatalog.v1.DataCatalog.UpdateTag].
@@ -320,33 +359,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.UpdateTagRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.UpdateTagRequest)
       com.google.cloud.datacatalog.v1.UpdateTagRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.UpdateTagRequest.class, com.google.cloud.datacatalog.v1.UpdateTagRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.UpdateTagRequest.class,
+              com.google.cloud.datacatalog.v1.UpdateTagRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.UpdateTagRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -365,9 +403,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_descriptor;
     }
 
     @java.lang.Override
@@ -386,8 +424,11 @@ public com.google.cloud.datacatalog.v1.UpdateTagRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.UpdateTagRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.UpdateTagRequest result = new com.google.cloud.datacatalog.v1.UpdateTagRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.UpdateTagRequest result =
+          new com.google.cloud.datacatalog.v1.UpdateTagRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -395,14 +436,10 @@ public com.google.cloud.datacatalog.v1.UpdateTagRequest buildPartial() {
     private void buildPartial0(com.google.cloud.datacatalog.v1.UpdateTagRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.tag_ = tagBuilder_ == null
-            ? tag_
-            : tagBuilder_.build();
+        result.tag_ = tagBuilder_ == null ? tag_ : tagBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null
-            ? updateMask_
-            : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
       }
     }
 
@@ -410,38 +447,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.UpdateTagRequest 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.datacatalog.v1.UpdateTagRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.UpdateTagRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.UpdateTagRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -449,7 +487,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.UpdateTagRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.UpdateTagRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.UpdateTagRequest.getDefaultInstance())
+        return this;
       if (other.hasTag()) {
         mergeTag(other.getTag());
       }
@@ -482,26 +521,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getTagFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getTagFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -511,28 +549,40 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.datacatalog.v1.Tag tag_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder> tagBuilder_;
+            com.google.cloud.datacatalog.v1.Tag,
+            com.google.cloud.datacatalog.v1.Tag.Builder,
+            com.google.cloud.datacatalog.v1.TagOrBuilder>
+        tagBuilder_;
     /**
+     *
+     *
      * 
      * Required. The updated tag. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tag field is set. */ public boolean hasTag() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The updated tag. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tag. */ public com.google.cloud.datacatalog.v1.Tag getTag() { @@ -543,11 +593,14 @@ public com.google.cloud.datacatalog.v1.Tag getTag() { } } /** + * + * *
      * Required. The updated tag. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTag(com.google.cloud.datacatalog.v1.Tag value) { if (tagBuilder_ == null) { @@ -563,14 +616,16 @@ public Builder setTag(com.google.cloud.datacatalog.v1.Tag value) { return this; } /** + * + * *
      * Required. The updated tag. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTag( - com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { + public Builder setTag(com.google.cloud.datacatalog.v1.Tag.Builder builderForValue) { if (tagBuilder_ == null) { tag_ = builderForValue.build(); } else { @@ -581,17 +636,20 @@ public Builder setTag( return this; } /** + * + * *
      * Required. The updated tag. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTag(com.google.cloud.datacatalog.v1.Tag value) { if (tagBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - tag_ != null && - tag_ != com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && tag_ != null + && tag_ != com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()) { getTagBuilder().mergeFrom(value); } else { tag_ = value; @@ -604,11 +662,14 @@ public Builder mergeTag(com.google.cloud.datacatalog.v1.Tag value) { return this; } /** + * + * *
      * Required. The updated tag. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTag() { bitField0_ = (bitField0_ & ~0x00000001); @@ -621,11 +682,14 @@ public Builder clearTag() { return this; } /** + * + * *
      * Required. The updated tag. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1.Tag.Builder getTagBuilder() { bitField0_ |= 0x00000001; @@ -633,36 +697,44 @@ public com.google.cloud.datacatalog.v1.Tag.Builder getTagBuilder() { return getTagFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The updated tag. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1.TagOrBuilder getTagOrBuilder() { if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null ? - com.google.cloud.datacatalog.v1.Tag.getDefaultInstance() : tag_; + return tag_ == null ? com.google.cloud.datacatalog.v1.Tag.getDefaultInstance() : tag_; } } /** + * + * *
      * Required. The updated tag. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder> + com.google.cloud.datacatalog.v1.Tag, + com.google.cloud.datacatalog.v1.Tag.Builder, + com.google.cloud.datacatalog.v1.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.Tag, com.google.cloud.datacatalog.v1.Tag.Builder, com.google.cloud.datacatalog.v1.TagOrBuilder>( - getTag(), - getParentForChildren(), - isClean()); + tagBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.Tag, + com.google.cloud.datacatalog.v1.Tag.Builder, + com.google.cloud.datacatalog.v1.TagOrBuilder>( + getTag(), getParentForChildren(), isClean()); tag_ = null; } return tagBuilder_; @@ -670,8 +742,13 @@ public com.google.cloud.datacatalog.v1.TagOrBuilder getTagOrBuilder() { 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_; /** + * + * *
      * Names of fields whose values to overwrite on a tag. Currently, a tag has
      * the only modifiable field with the name `fields`.
@@ -682,12 +759,15 @@ public com.google.cloud.datacatalog.v1.TagOrBuilder getTagOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Names of fields whose values to overwrite on a tag. Currently, a tag has
      * the only modifiable field with the name `fields`.
@@ -698,16 +778,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @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(); } } /** + * + * *
      * Names of fields whose values to overwrite on a tag. Currently, a tag has
      * the only modifiable field with the name `fields`.
@@ -733,6 +818,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on a tag. Currently, a tag has
      * the only modifiable field with the name `fields`.
@@ -744,8 +831,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    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 {
@@ -756,6 +842,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on a tag. Currently, a tag has
      * the only modifiable field with the name `fields`.
@@ -769,9 +857,9 @@ public Builder setUpdateMask(
      */
     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;
@@ -784,6 +872,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on a tag. Currently, a tag has
      * the only modifiable field with the name `fields`.
@@ -806,6 +896,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on a tag. Currently, a tag has
      * the only modifiable field with the name `fields`.
@@ -823,6 +915,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on a tag. Currently, a tag has
      * the only modifiable field with the name `fields`.
@@ -838,11 +932,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on a tag. Currently, a tag has
      * the only modifiable field with the name `fields`.
@@ -855,21 +952,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -879,12 +979,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.UpdateTagRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.UpdateTagRequest)
   private static final com.google.cloud.datacatalog.v1.UpdateTagRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.UpdateTagRequest();
   }
@@ -893,27 +993,27 @@ public static com.google.cloud.datacatalog.v1.UpdateTagRequest getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateTagRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateTagRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -928,6 +1028,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1.UpdateTagRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequestOrBuilder.java
similarity index 74%
rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequestOrBuilder.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequestOrBuilder.java
index be713a850260..2cb41a4fc7b1 100644
--- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequestOrBuilder.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequestOrBuilder.java
@@ -1,40 +1,69 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
-public interface UpdateTagRequestOrBuilder extends
+public interface UpdateTagRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.UpdateTagRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The updated tag. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tag field is set. */ boolean hasTag(); /** + * + * *
    * Required. The updated tag. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tag. */ com.google.cloud.datacatalog.v1.Tag getTag(); /** + * + * *
    * Required. The updated tag. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.datacatalog.v1.TagOrBuilder getTagOrBuilder(); /** + * + * *
    * Names of fields whose values to overwrite on a tag. Currently, a tag has
    * the only modifiable field with the name `fields`.
@@ -45,10 +74,13 @@ public interface UpdateTagRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Names of fields whose values to overwrite on a tag. Currently, a tag has
    * the only modifiable field with the name `fields`.
@@ -59,10 +91,13 @@ public interface UpdateTagRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Names of fields whose values to overwrite on a tag. Currently, a tag has
    * the only modifiable field with the name `fields`.
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequest.java
similarity index 67%
rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequest.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequest.java
index 5880fff1836c..0b6ee9818050 100644
--- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequest.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequest.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/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
 /**
+ *
+ *
  * 
  * Request message for
  * [UpdateTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplateField].
@@ -11,48 +28,56 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest}
  */
-public final class UpdateTagTemplateFieldRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpdateTagTemplateFieldRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest)
     UpdateTagTemplateFieldRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpdateTagTemplateFieldRequest.newBuilder() to construct.
   private UpdateTagTemplateFieldRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private UpdateTagTemplateFieldRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdateTagTemplateFieldRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest.class, com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest.class,
+            com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the tag template field.
    * 
* - * string name = 1 [(.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,29 +86,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the tag template field.
    * 
* - * string name = 1 [(.google.api.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,11 +121,16 @@ public java.lang.String getName() { public static final int TAG_TEMPLATE_FIELD_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1.TagTemplateField tagTemplateField_; /** + * + * *
    * Required. The template to update.
    * 
* - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tagTemplateField field is set. */ @java.lang.Override @@ -106,32 +138,47 @@ public boolean hasTagTemplateField() { return tagTemplateField_ != null; } /** + * + * *
    * Required. The template to update.
    * 
* - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tagTemplateField. */ @java.lang.Override public com.google.cloud.datacatalog.v1.TagTemplateField getTagTemplateField() { - return tagTemplateField_ == null ? com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance() : tagTemplateField_; + return tagTemplateField_ == null + ? com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance() + : tagTemplateField_; } /** + * + * *
    * Required. The template to update.
    * 
* - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder() { - return tagTemplateField_ == null ? com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance() : tagTemplateField_; + return tagTemplateField_ == null + ? com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance() + : tagTemplateField_; } public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Optional. Names of fields whose values to overwrite on an individual field
    * of a tag template. The following fields are modifiable:
@@ -151,7 +198,9 @@ public com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder getTagTemplateF
    * *not* allowed.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -159,6 +208,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Optional. Names of fields whose values to overwrite on an individual field
    * of a tag template. The following fields are modifiable:
@@ -178,7 +229,9 @@ public boolean hasUpdateMask() {
    * *not* allowed.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ @java.lang.Override @@ -186,6 +239,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Optional. Names of fields whose values to overwrite on an individual field
    * of a tag template. The following fields are modifiable:
@@ -205,7 +260,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * *not* allowed.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -213,6 +269,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +281,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -248,12 +304,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (tagTemplateField_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTagTemplateField()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTagTemplateField()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -263,24 +317,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.datacatalog.v1.UpdateTagTemplateFieldRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest other = (com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest) obj; + com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest other = + (com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasTagTemplateField() != other.hasTagTemplateField()) return false; if (hasTagTemplateField()) { - if (!getTagTemplateField() - .equals(other.getTagTemplateField())) return false; + if (!getTagTemplateField().equals(other.getTagTemplateField())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -309,98 +361,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [UpdateTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplateField].
@@ -408,33 +466,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest)
       com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest.class, com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest.class,
+              com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        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,13 +511,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest getDefaultInstanceForType() {
+    public com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest.getDefaultInstance();
     }
 
@@ -475,26 +533,27 @@ public com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest result = new com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest result =
+          new com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest result) {
+    private void buildPartial0(
+        com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.tagTemplateField_ = tagTemplateFieldBuilder_ == null
-            ? tagTemplateField_
-            : tagTemplateFieldBuilder_.build();
+        result.tagTemplateField_ =
+            tagTemplateFieldBuilder_ == null ? tagTemplateField_ : tagTemplateFieldBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null
-            ? updateMask_
-            : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
       }
     }
 
@@ -502,38 +561,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.UpdateTagTemplateFiel
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -541,7 +601,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -579,31 +641,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getTagTemplateFieldFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(
+                    getTagTemplateFieldFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().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) {
@@ -613,22 +676,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the tag template field.
      * 
* - * string name = 1 [(.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; @@ -637,20 +705,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the tag template field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -658,28 +729,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the tag template field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the tag template field.
      * 
* - * string 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() { @@ -689,17 +771,23 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the tag template field.
      * 
* - * string name = 1 [(.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; @@ -709,39 +797,58 @@ public Builder setNameBytes( private com.google.cloud.datacatalog.v1.TagTemplateField tagTemplateField_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.TagTemplateField, com.google.cloud.datacatalog.v1.TagTemplateField.Builder, com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder> tagTemplateFieldBuilder_; + com.google.cloud.datacatalog.v1.TagTemplateField, + com.google.cloud.datacatalog.v1.TagTemplateField.Builder, + com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder> + tagTemplateFieldBuilder_; /** + * + * *
      * Required. The template to update.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tagTemplateField field is set. */ public boolean hasTagTemplateField() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The template to update.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tagTemplateField. */ public com.google.cloud.datacatalog.v1.TagTemplateField getTagTemplateField() { if (tagTemplateFieldBuilder_ == null) { - return tagTemplateField_ == null ? com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance() : tagTemplateField_; + return tagTemplateField_ == null + ? com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance() + : tagTemplateField_; } else { return tagTemplateFieldBuilder_.getMessage(); } } /** + * + * *
      * Required. The template to update.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTagTemplateField(com.google.cloud.datacatalog.v1.TagTemplateField value) { if (tagTemplateFieldBuilder_ == null) { @@ -757,11 +864,15 @@ public Builder setTagTemplateField(com.google.cloud.datacatalog.v1.TagTemplateFi return this; } /** + * + * *
      * Required. The template to update.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTagTemplateField( com.google.cloud.datacatalog.v1.TagTemplateField.Builder builderForValue) { @@ -775,17 +886,22 @@ public Builder setTagTemplateField( return this; } /** + * + * *
      * Required. The template to update.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTagTemplateField(com.google.cloud.datacatalog.v1.TagTemplateField value) { if (tagTemplateFieldBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - tagTemplateField_ != null && - tagTemplateField_ != com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && tagTemplateField_ != null + && tagTemplateField_ + != com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance()) { getTagTemplateFieldBuilder().mergeFrom(value); } else { tagTemplateField_ = value; @@ -798,11 +914,15 @@ public Builder mergeTagTemplateField(com.google.cloud.datacatalog.v1.TagTemplate return this; } /** + * + * *
      * Required. The template to update.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTagTemplateField() { bitField0_ = (bitField0_ & ~0x00000002); @@ -815,11 +935,15 @@ public Builder clearTagTemplateField() { return this; } /** + * + * *
      * Required. The template to update.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1.TagTemplateField.Builder getTagTemplateFieldBuilder() { bitField0_ |= 0x00000002; @@ -827,36 +951,49 @@ public com.google.cloud.datacatalog.v1.TagTemplateField.Builder getTagTemplateFi return getTagTemplateFieldFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The template to update.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder() { + public com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder + getTagTemplateFieldOrBuilder() { if (tagTemplateFieldBuilder_ != null) { return tagTemplateFieldBuilder_.getMessageOrBuilder(); } else { - return tagTemplateField_ == null ? - com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance() : tagTemplateField_; + return tagTemplateField_ == null + ? com.google.cloud.datacatalog.v1.TagTemplateField.getDefaultInstance() + : tagTemplateField_; } } /** + * + * *
      * Required. The template to update.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.TagTemplateField, com.google.cloud.datacatalog.v1.TagTemplateField.Builder, com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder> + com.google.cloud.datacatalog.v1.TagTemplateField, + com.google.cloud.datacatalog.v1.TagTemplateField.Builder, + com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder> getTagTemplateFieldFieldBuilder() { if (tagTemplateFieldBuilder_ == null) { - tagTemplateFieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.TagTemplateField, com.google.cloud.datacatalog.v1.TagTemplateField.Builder, com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder>( - getTagTemplateField(), - getParentForChildren(), - isClean()); + tagTemplateFieldBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.TagTemplateField, + com.google.cloud.datacatalog.v1.TagTemplateField.Builder, + com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder>( + getTagTemplateField(), getParentForChildren(), isClean()); tagTemplateField_ = null; } return tagTemplateFieldBuilder_; @@ -864,8 +1001,13 @@ public com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder getTagTemplateF 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_; /** + * + * *
      * Optional. Names of fields whose values to overwrite on an individual field
      * of a tag template. The following fields are modifiable:
@@ -885,13 +1027,17 @@ public com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder getTagTemplateF
      * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Optional. Names of fields whose values to overwrite on an individual field
      * of a tag template. The following fields are modifiable:
@@ -911,17 +1057,23 @@ public boolean hasUpdateMask() {
      * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @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(); } } /** + * + * *
      * Optional. Names of fields whose values to overwrite on an individual field
      * of a tag template. The following fields are modifiable:
@@ -941,7 +1093,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -957,6 +1110,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Names of fields whose values to overwrite on an individual field
      * of a tag template. The following fields are modifiable:
@@ -976,10 +1131,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - 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 { @@ -990,6 +1145,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Optional. Names of fields whose values to overwrite on an individual field
      * of a tag template. The following fields are modifiable:
@@ -1009,13 +1166,14 @@ public Builder setUpdateMask(
      * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -1028,6 +1186,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Names of fields whose values to overwrite on an individual field
      * of a tag template. The following fields are modifiable:
@@ -1047,7 +1207,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1060,6 +1221,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Optional. Names of fields whose values to overwrite on an individual field
      * of a tag template. The following fields are modifiable:
@@ -1079,7 +1242,8 @@ public Builder clearUpdateMask() {
      * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000004; @@ -1087,6 +1251,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Names of fields whose values to overwrite on an individual field
      * of a tag template. The following fields are modifiable:
@@ -1106,17 +1272,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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_; } } /** + * + * *
      * Optional. Names of fields whose values to overwrite on an individual field
      * of a tag template. The following fields are modifiable:
@@ -1136,24 +1306,28 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1163,12 +1337,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest) - private static final com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest DEFAULT_INSTANCE; + private static final com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest(); } @@ -1177,27 +1352,27 @@ public static com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateTagTemplateFieldRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateTagTemplateFieldRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1212,6 +1387,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequestOrBuilder.java index ad7accb06ea1..d4959d8fc56a 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequestOrBuilder.java @@ -1,60 +1,101 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; -public interface UpdateTagTemplateFieldRequestOrBuilder extends +public interface UpdateTagTemplateFieldRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the tag template field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the tag template field.
    * 
* - * string name = 1 [(.google.api.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 template to update.
    * 
* - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tagTemplateField field is set. */ boolean hasTagTemplateField(); /** + * + * *
    * Required. The template to update.
    * 
* - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tagTemplateField. */ com.google.cloud.datacatalog.v1.TagTemplateField getTagTemplateField(); /** + * + * *
    * Required. The template to update.
    * 
* - * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder(); /** + * + * *
    * Optional. Names of fields whose values to overwrite on an individual field
    * of a tag template. The following fields are modifiable:
@@ -74,11 +115,15 @@ public interface UpdateTagTemplateFieldRequestOrBuilder extends
    * *not* allowed.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Optional. Names of fields whose values to overwrite on an individual field
    * of a tag template. The following fields are modifiable:
@@ -98,11 +143,15 @@ public interface UpdateTagTemplateFieldRequestOrBuilder extends
    * *not* allowed.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Optional. Names of fields whose values to overwrite on an individual field
    * of a tag template. The following fields are modifiable:
@@ -122,7 +171,8 @@ public interface UpdateTagTemplateFieldRequestOrBuilder extends
    * *not* allowed.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequest.java similarity index 68% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequest.java index a0ca77f20fd4..3ae38a3890e3 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequest.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/datacatalog/v1/datacatalog.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Request message for
  * [UpdateTagTemplate][google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplate].
@@ -11,46 +28,52 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.UpdateTagTemplateRequest}
  */
-public final class UpdateTagTemplateRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpdateTagTemplateRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.UpdateTagTemplateRequest)
     UpdateTagTemplateRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpdateTagTemplateRequest.newBuilder() to construct.
   private UpdateTagTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private UpdateTagTemplateRequest() {
-  }
+
+  private UpdateTagTemplateRequest() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdateTagTemplateRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest.class, com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest.class,
+            com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest.Builder.class);
   }
 
   public static final int TAG_TEMPLATE_FIELD_NUMBER = 1;
   private com.google.cloud.datacatalog.v1.TagTemplate tagTemplate_;
   /**
+   *
+   *
    * 
    * Required. The template to update. The `name` field must be set.
    * 
* - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tagTemplate field is set. */ @java.lang.Override @@ -58,32 +81,47 @@ public boolean hasTagTemplate() { return tagTemplate_ != null; } /** + * + * *
    * Required. The template to update. The `name` field must be set.
    * 
* - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tagTemplate. */ @java.lang.Override public com.google.cloud.datacatalog.v1.TagTemplate getTagTemplate() { - return tagTemplate_ == null ? com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance() : tagTemplate_; + return tagTemplate_ == null + ? com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance() + : tagTemplate_; } /** + * + * *
    * Required. The template to update. The `name` field must be set.
    * 
* - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1.TagTemplateOrBuilder getTagTemplateOrBuilder() { - return tagTemplate_ == null ? com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance() : tagTemplate_; + return tagTemplate_ == null + ? com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance() + : tagTemplate_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Names of fields whose values to overwrite on a tag template. Currently,
    * only `display_name` and `is_publicly_readable` can be overwritten.
@@ -97,6 +135,7 @@ public com.google.cloud.datacatalog.v1.TagTemplateOrBuilder getTagTemplateOrBuil
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -104,6 +143,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Names of fields whose values to overwrite on a tag template. Currently,
    * only `display_name` and `is_publicly_readable` can be overwritten.
@@ -117,6 +158,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -124,6 +166,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Names of fields whose values to overwrite on a tag template. Currently,
    * only `display_name` and `is_publicly_readable` can be overwritten.
@@ -144,6 +188,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -155,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 (tagTemplate_ != null) {
       output.writeMessage(1, getTagTemplate());
     }
@@ -173,12 +217,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (tagTemplate_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getTagTemplate());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTagTemplate());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -188,22 +230,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.datacatalog.v1.UpdateTagTemplateRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest other = (com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest) obj;
+    com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest other =
+        (com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest) obj;
 
     if (hasTagTemplate() != other.hasTagTemplate()) return false;
     if (hasTagTemplate()) {
-      if (!getTagTemplate()
-          .equals(other.getTagTemplate())) return false;
+      if (!getTagTemplate().equals(other.getTagTemplate())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -230,98 +271,104 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Request message for
    * [UpdateTagTemplate][google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplate].
@@ -329,33 +376,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.UpdateTagTemplateRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.UpdateTagTemplateRequest)
       com.google.cloud.datacatalog.v1.UpdateTagTemplateRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest.class, com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest.class,
+              com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -374,9 +420,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Datacatalog.internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_descriptor;
     }
 
     @java.lang.Override
@@ -395,8 +441,11 @@ public com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest result = new com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest result =
+          new com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -404,14 +453,11 @@ public com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest buildPartial() {
     private void buildPartial0(com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.tagTemplate_ = tagTemplateBuilder_ == null
-            ? tagTemplate_
-            : tagTemplateBuilder_.build();
+        result.tagTemplate_ =
+            tagTemplateBuilder_ == null ? tagTemplate_ : tagTemplateBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null
-            ? updateMask_
-            : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
       }
     }
 
@@ -419,38 +465,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.UpdateTagTemplateRequ
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -458,7 +505,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest.getDefaultInstance())
+        return this;
       if (other.hasTagTemplate()) {
         mergeTagTemplate(other.getTagTemplate());
       }
@@ -491,26 +539,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getTagTemplateFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getTagTemplateFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -520,43 +567,63 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.datacatalog.v1.TagTemplate tagTemplate_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.TagTemplate, com.google.cloud.datacatalog.v1.TagTemplate.Builder, com.google.cloud.datacatalog.v1.TagTemplateOrBuilder> tagTemplateBuilder_;
+            com.google.cloud.datacatalog.v1.TagTemplate,
+            com.google.cloud.datacatalog.v1.TagTemplate.Builder,
+            com.google.cloud.datacatalog.v1.TagTemplateOrBuilder>
+        tagTemplateBuilder_;
     /**
+     *
+     *
      * 
      * Required. The template to update. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tagTemplate field is set. */ public boolean hasTagTemplate() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The template to update. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tagTemplate. */ public com.google.cloud.datacatalog.v1.TagTemplate getTagTemplate() { if (tagTemplateBuilder_ == null) { - return tagTemplate_ == null ? com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance() : tagTemplate_; + return tagTemplate_ == null + ? com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance() + : tagTemplate_; } else { return tagTemplateBuilder_.getMessage(); } } /** + * + * *
      * Required. The template to update. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTagTemplate(com.google.cloud.datacatalog.v1.TagTemplate value) { if (tagTemplateBuilder_ == null) { @@ -572,11 +639,15 @@ public Builder setTagTemplate(com.google.cloud.datacatalog.v1.TagTemplate value) return this; } /** + * + * *
      * Required. The template to update. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTagTemplate( com.google.cloud.datacatalog.v1.TagTemplate.Builder builderForValue) { @@ -590,17 +661,21 @@ public Builder setTagTemplate( return this; } /** + * + * *
      * Required. The template to update. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTagTemplate(com.google.cloud.datacatalog.v1.TagTemplate value) { if (tagTemplateBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - tagTemplate_ != null && - tagTemplate_ != com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && tagTemplate_ != null + && tagTemplate_ != com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance()) { getTagTemplateBuilder().mergeFrom(value); } else { tagTemplate_ = value; @@ -613,11 +688,15 @@ public Builder mergeTagTemplate(com.google.cloud.datacatalog.v1.TagTemplate valu return this; } /** + * + * *
      * Required. The template to update. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTagTemplate() { bitField0_ = (bitField0_ & ~0x00000001); @@ -630,11 +709,15 @@ public Builder clearTagTemplate() { return this; } /** + * + * *
      * Required. The template to update. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1.TagTemplate.Builder getTagTemplateBuilder() { bitField0_ |= 0x00000001; @@ -642,36 +725,48 @@ public com.google.cloud.datacatalog.v1.TagTemplate.Builder getTagTemplateBuilder return getTagTemplateFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The template to update. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1.TagTemplateOrBuilder getTagTemplateOrBuilder() { if (tagTemplateBuilder_ != null) { return tagTemplateBuilder_.getMessageOrBuilder(); } else { - return tagTemplate_ == null ? - com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance() : tagTemplate_; + return tagTemplate_ == null + ? com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance() + : tagTemplate_; } } /** + * + * *
      * Required. The template to update. The `name` field must be set.
      * 
* - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.TagTemplate, com.google.cloud.datacatalog.v1.TagTemplate.Builder, com.google.cloud.datacatalog.v1.TagTemplateOrBuilder> + com.google.cloud.datacatalog.v1.TagTemplate, + com.google.cloud.datacatalog.v1.TagTemplate.Builder, + com.google.cloud.datacatalog.v1.TagTemplateOrBuilder> getTagTemplateFieldBuilder() { if (tagTemplateBuilder_ == null) { - tagTemplateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1.TagTemplate, com.google.cloud.datacatalog.v1.TagTemplate.Builder, com.google.cloud.datacatalog.v1.TagTemplateOrBuilder>( - getTagTemplate(), - getParentForChildren(), - isClean()); + tagTemplateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.TagTemplate, + com.google.cloud.datacatalog.v1.TagTemplate.Builder, + com.google.cloud.datacatalog.v1.TagTemplateOrBuilder>( + getTagTemplate(), getParentForChildren(), isClean()); tagTemplate_ = null; } return tagTemplateBuilder_; @@ -679,8 +774,13 @@ public com.google.cloud.datacatalog.v1.TagTemplateOrBuilder getTagTemplateOrBuil 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_; /** + * + * *
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` and `is_publicly_readable` can be overwritten.
@@ -694,12 +794,15 @@ public com.google.cloud.datacatalog.v1.TagTemplateOrBuilder getTagTemplateOrBuil
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` and `is_publicly_readable` can be overwritten.
@@ -713,16 +816,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @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(); } } /** + * + * *
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` and `is_publicly_readable` can be overwritten.
@@ -751,6 +859,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` and `is_publicly_readable` can be overwritten.
@@ -765,8 +875,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    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 {
@@ -777,6 +886,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` and `is_publicly_readable` can be overwritten.
@@ -793,9 +904,9 @@ public Builder setUpdateMask(
      */
     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;
@@ -808,6 +919,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` and `is_publicly_readable` can be overwritten.
@@ -833,6 +946,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` and `is_publicly_readable` can be overwritten.
@@ -853,6 +968,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` and `is_publicly_readable` can be overwritten.
@@ -871,11 +988,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` and `is_publicly_readable` can be overwritten.
@@ -891,21 +1011,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -915,12 +1038,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.UpdateTagTemplateRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.UpdateTagTemplateRequest)
   private static final com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest();
   }
@@ -929,27 +1052,27 @@ public static com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest getDefaul
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateTagTemplateRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateTagTemplateRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -964,6 +1087,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequestOrBuilder.java
similarity index 71%
rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequestOrBuilder.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequestOrBuilder.java
index 7f6ce6f9530c..dc88ef690735 100644
--- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequestOrBuilder.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequestOrBuilder.java
@@ -1,40 +1,72 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1;
 
-public interface UpdateTagTemplateRequestOrBuilder extends
+public interface UpdateTagTemplateRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.UpdateTagTemplateRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The template to update. The `name` field must be set.
    * 
* - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tagTemplate field is set. */ boolean hasTagTemplate(); /** + * + * *
    * Required. The template to update. The `name` field must be set.
    * 
* - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tagTemplate. */ com.google.cloud.datacatalog.v1.TagTemplate getTagTemplate(); /** + * + * *
    * Required. The template to update. The `name` field must be set.
    * 
* - * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.datacatalog.v1.TagTemplateOrBuilder getTagTemplateOrBuilder(); /** + * + * *
    * Names of fields whose values to overwrite on a tag template. Currently,
    * only `display_name` and `is_publicly_readable` can be overwritten.
@@ -48,10 +80,13 @@ public interface UpdateTagTemplateRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Names of fields whose values to overwrite on a tag template. Currently,
    * only `display_name` and `is_publicly_readable` can be overwritten.
@@ -65,10 +100,13 @@ public interface UpdateTagTemplateRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Names of fields whose values to overwrite on a tag template. Currently,
    * only `display_name` and `is_publicly_readable` can be overwritten.
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequest.java
similarity index 71%
rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequest.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequest.java
index 88ea893162df..2d1495c40b3a 100644
--- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequest.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequest.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/datacatalog/v1/policytagmanager.proto
 
 package com.google.cloud.datacatalog.v1;
 
 /**
+ *
+ *
  * 
  * Request message for
  * [UpdateTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.UpdateTaxonomy].
@@ -11,47 +28,51 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.UpdateTaxonomyRequest}
  */
-public final class UpdateTaxonomyRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpdateTaxonomyRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.UpdateTaxonomyRequest)
     UpdateTaxonomyRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpdateTaxonomyRequest.newBuilder() to construct.
   private UpdateTaxonomyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private UpdateTaxonomyRequest() {
-  }
+
+  private UpdateTaxonomyRequest() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdateTaxonomyRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest.class, com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest.Builder.class);
+            com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest.class,
+            com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest.Builder.class);
   }
 
   public static final int TAXONOMY_FIELD_NUMBER = 1;
   private com.google.cloud.datacatalog.v1.Taxonomy taxonomy_;
   /**
+   *
+   *
    * 
    * The taxonomy to update. You can update only its description, display name,
    * and activated policy types.
    * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1; + * * @return Whether the taxonomy field is set. */ @java.lang.Override @@ -59,19 +80,26 @@ public boolean hasTaxonomy() { return taxonomy_ != null; } /** + * + * *
    * The taxonomy to update. You can update only its description, display name,
    * and activated policy types.
    * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1; + * * @return The taxonomy. */ @java.lang.Override public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomy() { - return taxonomy_ == null ? com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance() : taxonomy_; + return taxonomy_ == null + ? com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance() + : taxonomy_; } /** + * + * *
    * The taxonomy to update. You can update only its description, display name,
    * and activated policy types.
@@ -81,12 +109,16 @@ public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomy() {
    */
   @java.lang.Override
   public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomyOrBuilder() {
-    return taxonomy_ == null ? com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance() : taxonomy_;
+    return taxonomy_ == null
+        ? com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance()
+        : taxonomy_;
   }
 
   public static final int UPDATE_MASK_FIELD_NUMBER = 2;
   private com.google.protobuf.FieldMask updateMask_;
   /**
+   *
+   *
    * 
    * Specifies fields to update. If not set, defaults to all fields you can
    * update.
@@ -96,6 +128,7 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomyOrBuilder()
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -103,6 +136,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Specifies fields to update. If not set, defaults to all fields you can
    * update.
@@ -112,6 +147,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -119,6 +155,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Specifies fields to update. If not set, defaults to all fields you can
    * update.
@@ -135,6 +173,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -146,8 +185,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (taxonomy_ != null) {
       output.writeMessage(1, getTaxonomy());
     }
@@ -164,12 +202,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (taxonomy_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getTaxonomy());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTaxonomy());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -179,22 +215,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.datacatalog.v1.UpdateTaxonomyRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest other = (com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest) obj;
+    com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest other =
+        (com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest) obj;
 
     if (hasTaxonomy() != other.hasTaxonomy()) return false;
     if (hasTaxonomy()) {
-      if (!getTaxonomy()
-          .equals(other.getTaxonomy())) return false;
+      if (!getTaxonomy().equals(other.getTaxonomy())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -221,98 +256,104 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Request message for
    * [UpdateTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.UpdateTaxonomy].
@@ -320,33 +361,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.UpdateTaxonomyRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.UpdateTaxonomyRequest)
       com.google.cloud.datacatalog.v1.UpdateTaxonomyRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest.class, com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest.Builder.class);
+              com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest.class,
+              com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -365,9 +405,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
@@ -386,8 +426,11 @@ public com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest buildPartial() {
-      com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest result = new com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest result =
+          new com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -395,14 +438,10 @@ public com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest buildPartial() {
     private void buildPartial0(com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.taxonomy_ = taxonomyBuilder_ == null
-            ? taxonomy_
-            : taxonomyBuilder_.build();
+        result.taxonomy_ = taxonomyBuilder_ == null ? taxonomy_ : taxonomyBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null
-            ? updateMask_
-            : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
       }
     }
 
@@ -410,38 +449,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -449,7 +489,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest other) {
-      if (other == com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest.getDefaultInstance())
+        return this;
       if (other.hasTaxonomy()) {
         mergeTaxonomy(other.getTaxonomy());
       }
@@ -482,26 +523,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getTaxonomyFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getTaxonomyFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -511,40 +551,54 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.datacatalog.v1.Taxonomy taxonomy_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.Taxonomy, com.google.cloud.datacatalog.v1.Taxonomy.Builder, com.google.cloud.datacatalog.v1.TaxonomyOrBuilder> taxonomyBuilder_;
+            com.google.cloud.datacatalog.v1.Taxonomy,
+            com.google.cloud.datacatalog.v1.Taxonomy.Builder,
+            com.google.cloud.datacatalog.v1.TaxonomyOrBuilder>
+        taxonomyBuilder_;
     /**
+     *
+     *
      * 
      * The taxonomy to update. You can update only its description, display name,
      * and activated policy types.
      * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1; + * * @return Whether the taxonomy field is set. */ public boolean hasTaxonomy() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The taxonomy to update. You can update only its description, display name,
      * and activated policy types.
      * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1; + * * @return The taxonomy. */ public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomy() { if (taxonomyBuilder_ == null) { - return taxonomy_ == null ? com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance() : taxonomy_; + return taxonomy_ == null + ? com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance() + : taxonomy_; } else { return taxonomyBuilder_.getMessage(); } } /** + * + * *
      * The taxonomy to update. You can update only its description, display name,
      * and activated policy types.
@@ -566,6 +620,8 @@ public Builder setTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The taxonomy to update. You can update only its description, display name,
      * and activated policy types.
@@ -573,8 +629,7 @@ public Builder setTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy value) {
      *
      * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1;
      */
-    public Builder setTaxonomy(
-        com.google.cloud.datacatalog.v1.Taxonomy.Builder builderForValue) {
+    public Builder setTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy.Builder builderForValue) {
       if (taxonomyBuilder_ == null) {
         taxonomy_ = builderForValue.build();
       } else {
@@ -585,6 +640,8 @@ public Builder setTaxonomy(
       return this;
     }
     /**
+     *
+     *
      * 
      * The taxonomy to update. You can update only its description, display name,
      * and activated policy types.
@@ -594,9 +651,9 @@ public Builder setTaxonomy(
      */
     public Builder mergeTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy value) {
       if (taxonomyBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          taxonomy_ != null &&
-          taxonomy_ != com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && taxonomy_ != null
+            && taxonomy_ != com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance()) {
           getTaxonomyBuilder().mergeFrom(value);
         } else {
           taxonomy_ = value;
@@ -609,6 +666,8 @@ public Builder mergeTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The taxonomy to update. You can update only its description, display name,
      * and activated policy types.
@@ -627,6 +686,8 @@ public Builder clearTaxonomy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The taxonomy to update. You can update only its description, display name,
      * and activated policy types.
@@ -640,6 +701,8 @@ public com.google.cloud.datacatalog.v1.Taxonomy.Builder getTaxonomyBuilder() {
       return getTaxonomyFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The taxonomy to update. You can update only its description, display name,
      * and activated policy types.
@@ -651,11 +714,14 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomyOrBuilder()
       if (taxonomyBuilder_ != null) {
         return taxonomyBuilder_.getMessageOrBuilder();
       } else {
-        return taxonomy_ == null ?
-            com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance() : taxonomy_;
+        return taxonomy_ == null
+            ? com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance()
+            : taxonomy_;
       }
     }
     /**
+     *
+     *
      * 
      * The taxonomy to update. You can update only its description, display name,
      * and activated policy types.
@@ -664,14 +730,17 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomyOrBuilder()
      * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1.Taxonomy, com.google.cloud.datacatalog.v1.Taxonomy.Builder, com.google.cloud.datacatalog.v1.TaxonomyOrBuilder> 
+            com.google.cloud.datacatalog.v1.Taxonomy,
+            com.google.cloud.datacatalog.v1.Taxonomy.Builder,
+            com.google.cloud.datacatalog.v1.TaxonomyOrBuilder>
         getTaxonomyFieldBuilder() {
       if (taxonomyBuilder_ == null) {
-        taxonomyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1.Taxonomy, com.google.cloud.datacatalog.v1.Taxonomy.Builder, com.google.cloud.datacatalog.v1.TaxonomyOrBuilder>(
-                getTaxonomy(),
-                getParentForChildren(),
-                isClean());
+        taxonomyBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.datacatalog.v1.Taxonomy,
+                com.google.cloud.datacatalog.v1.Taxonomy.Builder,
+                com.google.cloud.datacatalog.v1.TaxonomyOrBuilder>(
+                getTaxonomy(), getParentForChildren(), isClean());
         taxonomy_ = null;
       }
       return taxonomyBuilder_;
@@ -679,8 +748,13 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomyOrBuilder()
 
     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_;
     /**
+     *
+     *
      * 
      * Specifies fields to update. If not set, defaults to all fields you can
      * update.
@@ -690,12 +764,15 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomyOrBuilder()
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Specifies fields to update. If not set, defaults to all fields you can
      * update.
@@ -705,16 +782,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @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(); } } /** + * + * *
      * Specifies fields to update. If not set, defaults to all fields you can
      * update.
@@ -739,6 +821,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies fields to update. If not set, defaults to all fields you can
      * update.
@@ -749,8 +833,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    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 {
@@ -761,6 +844,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies fields to update. If not set, defaults to all fields you can
      * update.
@@ -773,9 +858,9 @@ public Builder setUpdateMask(
      */
     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;
@@ -788,6 +873,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies fields to update. If not set, defaults to all fields you can
      * update.
@@ -809,6 +896,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies fields to update. If not set, defaults to all fields you can
      * update.
@@ -825,6 +914,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Specifies fields to update. If not set, defaults to all fields you can
      * update.
@@ -839,11 +930,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * Specifies fields to update. If not set, defaults to all fields you can
      * update.
@@ -855,21 +949,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -879,12 +976,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.UpdateTaxonomyRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.UpdateTaxonomyRequest)
   private static final com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest();
   }
@@ -893,27 +990,27 @@ public static com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest getDefaultIn
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateTaxonomyRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateTaxonomyRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -928,6 +1025,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequestOrBuilder.java
similarity index 76%
rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequestOrBuilder.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequestOrBuilder.java
index e8084a80e3e6..2157be1c3b2a 100644
--- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequestOrBuilder.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequestOrBuilder.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/datacatalog/v1/policytagmanager.proto
 
 package com.google.cloud.datacatalog.v1;
 
-public interface UpdateTaxonomyRequestOrBuilder extends
+public interface UpdateTaxonomyRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.UpdateTaxonomyRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The taxonomy to update. You can update only its description, display name,
    * and activated policy types.
    * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1; + * * @return Whether the taxonomy field is set. */ boolean hasTaxonomy(); /** + * + * *
    * The taxonomy to update. You can update only its description, display name,
    * and activated policy types.
    * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1; + * * @return The taxonomy. */ com.google.cloud.datacatalog.v1.Taxonomy getTaxonomy(); /** + * + * *
    * The taxonomy to update. You can update only its description, display name,
    * and activated policy types.
@@ -38,6 +62,8 @@ public interface UpdateTaxonomyRequestOrBuilder extends
   com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomyOrBuilder();
 
   /**
+   *
+   *
    * 
    * Specifies fields to update. If not set, defaults to all fields you can
    * update.
@@ -47,10 +73,13 @@ public interface UpdateTaxonomyRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Specifies fields to update. If not set, defaults to all fields you can
    * update.
@@ -60,10 +89,13 @@ public interface UpdateTaxonomyRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Specifies fields to update. If not set, defaults to all fields you can
    * update.
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Usage.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Usage.java
new file mode 100644
index 000000000000..a317227dec9c
--- /dev/null
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Usage.java
@@ -0,0 +1,152 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/datacatalog/v1/usage.proto
+
+package com.google.cloud.datacatalog.v1;
+
+public final class Usage {
+  private Usage() {}
+
+  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_datacatalog_v1_UsageStats_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_datacatalog_v1_UsageStats_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_datacatalog_v1_CommonUsageStats_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_datacatalog_v1_CommonUsageStats_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_datacatalog_v1_UsageSignal_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_datacatalog_v1_UsageSignal_UsageWithinTimeRangeEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_datacatalog_v1_UsageSignal_UsageWithinTimeRangeEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_datacatalog_v1_UsageSignal_CommonUsageWithinTimeRangeEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_datacatalog_v1_UsageSignal_CommonUsageWithinTimeRangeEntry_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/datacatalog/v1/usage.prot"
+          + "o\022\033google.cloud.datacatalog.v1\032\037google/a"
+          + "pi/field_behavior.proto\032\037google/protobuf"
+          + "/timestamp.proto\"\221\001\n\nUsageStats\022\031\n\021total"
+          + "_completions\030\001 \001(\002\022\026\n\016total_failures\030\002 \001"
+          + "(\002\022\033\n\023total_cancellations\030\003 \001(\002\0223\n+total"
+          + "_execution_time_for_completions_millis\030\004"
+          + " \001(\002\":\n\020CommonUsageStats\022\027\n\nview_count\030\001"
+          + " \001(\003H\000\210\001\001B\r\n\013_view_count\"\243\004\n\013UsageSignal"
+          + "\022/\n\013update_time\030\001 \001(\0132\032.google.protobuf."
+          + "Timestamp\022i\n\027usage_within_time_range\030\002 \003"
+          + "(\0132B.google.cloud.datacatalog.v1.UsageSi"
+          + "gnal.UsageWithinTimeRangeEntryB\004\342A\001\003\022p\n\036"
+          + "common_usage_within_time_range\030\003 \003(\0132H.g"
+          + "oogle.cloud.datacatalog.v1.UsageSignal.C"
+          + "ommonUsageWithinTimeRangeEntry\022\033\n\016favori"
+          + "te_count\030\004 \001(\003H\000\210\001\001\032d\n\031UsageWithinTimeRa"
+          + "ngeEntry\022\013\n\003key\030\001 \001(\t\0226\n\005value\030\002 \001(\0132\'.g"
+          + "oogle.cloud.datacatalog.v1.UsageStats:\0028"
+          + "\001\032p\n\037CommonUsageWithinTimeRangeEntry\022\013\n\003"
+          + "key\030\001 \001(\t\022<\n\005value\030\002 \001(\0132-.google.cloud."
+          + "datacatalog.v1.CommonUsageStats:\0028\001B\021\n\017_"
+          + "favorite_countB\306\001\n\037com.google.cloud.data"
+          + "catalog.v1P\001ZAcloud.google.com/go/dataca"
+          + "talog/apiv1/datacatalogpb;datacatalogpb\370"
+          + "\001\001\252\002\033Google.Cloud.DataCatalog.V1\312\002\033Googl"
+          + "e\\Cloud\\DataCatalog\\V1\352\002\036Google::Cloud::"
+          + "DataCatalog::V1b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
+    internal_static_google_cloud_datacatalog_v1_UsageStats_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_datacatalog_v1_UsageStats_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_datacatalog_v1_UsageStats_descriptor,
+            new java.lang.String[] {
+              "TotalCompletions",
+              "TotalFailures",
+              "TotalCancellations",
+              "TotalExecutionTimeForCompletionsMillis",
+            });
+    internal_static_google_cloud_datacatalog_v1_CommonUsageStats_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_datacatalog_v1_CommonUsageStats_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_datacatalog_v1_CommonUsageStats_descriptor,
+            new java.lang.String[] {
+              "ViewCount", "ViewCount",
+            });
+    internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_datacatalog_v1_UsageSignal_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor,
+            new java.lang.String[] {
+              "UpdateTime",
+              "UsageWithinTimeRange",
+              "CommonUsageWithinTimeRange",
+              "FavoriteCount",
+              "FavoriteCount",
+            });
+    internal_static_google_cloud_datacatalog_v1_UsageSignal_UsageWithinTimeRangeEntry_descriptor =
+        internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_datacatalog_v1_UsageSignal_UsageWithinTimeRangeEntry_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_datacatalog_v1_UsageSignal_UsageWithinTimeRangeEntry_descriptor,
+            new java.lang.String[] {
+              "Key", "Value",
+            });
+    internal_static_google_cloud_datacatalog_v1_UsageSignal_CommonUsageWithinTimeRangeEntry_descriptor =
+        internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor.getNestedTypes().get(1);
+    internal_static_google_cloud_datacatalog_v1_UsageSignal_CommonUsageWithinTimeRangeEntry_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_datacatalog_v1_UsageSignal_CommonUsageWithinTimeRangeEntry_descriptor,
+            new java.lang.String[] {
+              "Key", "Value",
+            });
+    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.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignal.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignal.java
similarity index 60%
rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignal.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignal.java
index 9e609ea88d1e..4500742374a3 100644
--- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignal.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignal.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/datacatalog/v1/usage.proto
 
 package com.google.cloud.datacatalog.v1;
 
 /**
+ *
+ *
  * 
  * The set of all usage signals that Data Catalog stores.
  *
@@ -13,61 +30,64 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.UsageSignal}
  */
-public final class UsageSignal extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UsageSignal extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.UsageSignal)
     UsageSignalOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UsageSignal.newBuilder() to construct.
   private UsageSignal(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private UsageSignal() {
-  }
+
+  private UsageSignal() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UsageSignal();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Usage
+        .internal_static_google_cloud_datacatalog_v1_UsageSignal_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 2:
         return internalGetUsageWithinTimeRange();
       case 3:
         return internalGetCommonUsageWithinTimeRange();
       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.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_UsageSignal_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Usage
+        .internal_static_google_cloud_datacatalog_v1_UsageSignal_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.UsageSignal.class, com.google.cloud.datacatalog.v1.UsageSignal.Builder.class);
+            com.google.cloud.datacatalog.v1.UsageSignal.class,
+            com.google.cloud.datacatalog.v1.UsageSignal.Builder.class);
   }
 
   private int bitField0_;
   public static final int UPDATE_TIME_FIELD_NUMBER = 1;
   private com.google.protobuf.Timestamp updateTime_;
   /**
+   *
+   *
    * 
    * The end timestamp of the duration of usage statistics.
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -75,11 +95,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The end timestamp of the duration of usage statistics.
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return The updateTime. */ @java.lang.Override @@ -87,6 +110,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The end timestamp of the duration of usage statistics.
    * 
@@ -99,32 +124,40 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int USAGE_WITHIN_TIME_RANGE_FIELD_NUMBER = 2; + private static final class UsageWithinTimeRangeDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.datacatalog.v1.UsageStats> defaultEntry = + java.lang.String, com.google.cloud.datacatalog.v1.UsageStats> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_UsageSignal_UsageWithinTimeRangeEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.datacatalog.v1.UsageStats.getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.datacatalog.v1.Usage + .internal_static_google_cloud_datacatalog_v1_UsageSignal_UsageWithinTimeRangeEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.datacatalog.v1.UsageStats.getDefaultInstance()); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1.UsageStats> usageWithinTimeRange_; private com.google.protobuf.MapField - internalGetUsageWithinTimeRange() { + usageWithinTimeRange_; + + private com.google.protobuf.MapField + internalGetUsageWithinTimeRange() { if (usageWithinTimeRange_ == null) { return com.google.protobuf.MapField.emptyMapField( UsageWithinTimeRangeDefaultEntryHolder.defaultEntry); } return usageWithinTimeRange_; } + public int getUsageWithinTimeRangeCount() { return internalGetUsageWithinTimeRange().getMap().size(); } /** + * + * *
    * Output only. BigQuery usage statistics over each of the predefined time
    * ranges.
@@ -132,23 +165,27 @@ public int getUsageWithinTimeRangeCount() {
    * Supported time ranges are `{"24H", "7D", "30D"}`.
    * 
* - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public boolean containsUsageWithinTimeRange( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsUsageWithinTimeRange(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetUsageWithinTimeRange().getMap().containsKey(key); } - /** - * Use {@link #getUsageWithinTimeRangeMap()} instead. - */ + /** Use {@link #getUsageWithinTimeRangeMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getUsageWithinTimeRange() { + public java.util.Map + getUsageWithinTimeRange() { return getUsageWithinTimeRangeMap(); } /** + * + * *
    * Output only. BigQuery usage statistics over each of the predefined time
    * ranges.
@@ -156,13 +193,18 @@ public java.util.Map
    *
-   * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+   * 
+   * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+   * 
    */
   @java.lang.Override
-  public java.util.Map getUsageWithinTimeRangeMap() {
+  public java.util.Map
+      getUsageWithinTimeRangeMap() {
     return internalGetUsageWithinTimeRange().getMap();
   }
   /**
+   *
+   *
    * 
    * Output only. BigQuery usage statistics over each of the predefined time
    * ranges.
@@ -170,20 +212,25 @@ public java.util.Map
    *
-   * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+   * 
+   * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+   * 
    */
   @java.lang.Override
-  public /* nullable */
-com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrDefault(
+  public /* nullable */ com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.cloud.datacatalog.v1.UsageStats defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      com.google.cloud.datacatalog.v1.UsageStats defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetUsageWithinTimeRange().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Output only. BigQuery usage statistics over each of the predefined time
    * ranges.
@@ -191,12 +238,16 @@ com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrDefault(
    * Supported time ranges are `{"24H", "7D", "30D"}`.
    * 
* - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetUsageWithinTimeRange().getMap(); if (!map.containsKey(key)) { @@ -206,100 +257,130 @@ public com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrThrow } public static final int COMMON_USAGE_WITHIN_TIME_RANGE_FIELD_NUMBER = 3; + private static final class CommonUsageWithinTimeRangeDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.datacatalog.v1.CommonUsageStats> defaultEntry = + java.lang.String, com.google.cloud.datacatalog.v1.CommonUsageStats> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_UsageSignal_CommonUsageWithinTimeRangeEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.datacatalog.v1.CommonUsageStats.getDefaultInstance()); + . + newDefaultInstance( + com.google.cloud.datacatalog.v1.Usage + .internal_static_google_cloud_datacatalog_v1_UsageSignal_CommonUsageWithinTimeRangeEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.datacatalog.v1.CommonUsageStats.getDefaultInstance()); } + @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1.CommonUsageStats> commonUsageWithinTimeRange_; - private com.google.protobuf.MapField - internalGetCommonUsageWithinTimeRange() { + java.lang.String, com.google.cloud.datacatalog.v1.CommonUsageStats> + commonUsageWithinTimeRange_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1.CommonUsageStats> + internalGetCommonUsageWithinTimeRange() { if (commonUsageWithinTimeRange_ == null) { return com.google.protobuf.MapField.emptyMapField( CommonUsageWithinTimeRangeDefaultEntryHolder.defaultEntry); } return commonUsageWithinTimeRange_; } + public int getCommonUsageWithinTimeRangeCount() { return internalGetCommonUsageWithinTimeRange().getMap().size(); } /** + * + * *
    * Common usage statistics over each of the predefined time ranges.
    *
    * Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
    * 
* - * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; + * + * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; + * */ @java.lang.Override - public boolean containsCommonUsageWithinTimeRange( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsCommonUsageWithinTimeRange(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetCommonUsageWithinTimeRange().getMap().containsKey(key); } - /** - * Use {@link #getCommonUsageWithinTimeRangeMap()} instead. - */ + /** Use {@link #getCommonUsageWithinTimeRangeMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getCommonUsageWithinTimeRange() { + public java.util.Map + getCommonUsageWithinTimeRange() { return getCommonUsageWithinTimeRangeMap(); } /** + * + * *
    * Common usage statistics over each of the predefined time ranges.
    *
    * Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
    * 
* - * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; + * + * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; + * */ @java.lang.Override - public java.util.Map getCommonUsageWithinTimeRangeMap() { + public java.util.Map + getCommonUsageWithinTimeRangeMap() { return internalGetCommonUsageWithinTimeRange().getMap(); } /** + * + * *
    * Common usage statistics over each of the predefined time ranges.
    *
    * Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
    * 
* - * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; + * + * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; + * */ @java.lang.Override - public /* nullable */ -com.google.cloud.datacatalog.v1.CommonUsageStats getCommonUsageWithinTimeRangeOrDefault( - java.lang.String key, - /* nullable */ -com.google.cloud.datacatalog.v1.CommonUsageStats defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + public /* nullable */ com.google.cloud.datacatalog.v1.CommonUsageStats + getCommonUsageWithinTimeRangeOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.datacatalog.v1.CommonUsageStats defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetCommonUsageWithinTimeRange().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Common usage statistics over each of the predefined time ranges.
    *
    * Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
    * 
* - * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; + * + * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1.CommonUsageStats getCommonUsageWithinTimeRangeOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetCommonUsageWithinTimeRange().getMap(); if (!map.containsKey(key)) { @@ -311,11 +392,14 @@ public com.google.cloud.datacatalog.v1.CommonUsageStats getCommonUsageWithinTime public static final int FAVORITE_COUNT_FIELD_NUMBER = 4; private long favoriteCount_ = 0L; /** + * + * *
    * Favorite count in the source system.
    * 
* * optional int64 favorite_count = 4; + * * @return Whether the favoriteCount field is set. */ @java.lang.Override @@ -323,11 +407,14 @@ public boolean hasFavoriteCount() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Favorite count in the source system.
    * 
* * optional int64 favorite_count = 4; + * * @return The favoriteCount. */ @java.lang.Override @@ -336,6 +423,7 @@ public long getFavoriteCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -347,19 +435,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 (updateTime_ != null) { output.writeMessage(1, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetUsageWithinTimeRange(), UsageWithinTimeRangeDefaultEntryHolder.defaultEntry, 2); - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetCommonUsageWithinTimeRange(), CommonUsageWithinTimeRangeDefaultEntryHolder.defaultEntry, @@ -377,32 +462,34 @@ public int getSerializedSize() { size = 0; if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateTime()); } - for (java.util.Map.Entry entry - : internalGetUsageWithinTimeRange().getMap().entrySet()) { + for (java.util.Map.Entry entry : + internalGetUsageWithinTimeRange().getMap().entrySet()) { com.google.protobuf.MapEntry - usageWithinTimeRange__ = UsageWithinTimeRangeDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, usageWithinTimeRange__); - } - for (java.util.Map.Entry entry - : internalGetCommonUsageWithinTimeRange().getMap().entrySet()) { - com.google.protobuf.MapEntry - commonUsageWithinTimeRange__ = CommonUsageWithinTimeRangeDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, commonUsageWithinTimeRange__); + usageWithinTimeRange__ = + UsageWithinTimeRangeDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, usageWithinTimeRange__); + } + for (java.util.Map.Entry + entry : internalGetCommonUsageWithinTimeRange().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.datacatalog.v1.CommonUsageStats> + commonUsageWithinTimeRange__ = + CommonUsageWithinTimeRangeDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(3, commonUsageWithinTimeRange__); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, favoriteCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, favoriteCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -412,26 +499,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.datacatalog.v1.UsageSignal)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.UsageSignal other = (com.google.cloud.datacatalog.v1.UsageSignal) obj; + com.google.cloud.datacatalog.v1.UsageSignal other = + (com.google.cloud.datacatalog.v1.UsageSignal) obj; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } - if (!internalGetUsageWithinTimeRange().equals( - other.internalGetUsageWithinTimeRange())) return false; - if (!internalGetCommonUsageWithinTimeRange().equals( - other.internalGetCommonUsageWithinTimeRange())) return false; + if (!internalGetUsageWithinTimeRange().equals(other.internalGetUsageWithinTimeRange())) + return false; + if (!internalGetCommonUsageWithinTimeRange() + .equals(other.internalGetCommonUsageWithinTimeRange())) return false; if (hasFavoriteCount() != other.hasFavoriteCount()) return false; if (hasFavoriteCount()) { - if (getFavoriteCount() - != other.getFavoriteCount()) return false; + if (getFavoriteCount() != other.getFavoriteCount()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -458,107 +544,111 @@ public int hashCode() { } if (hasFavoriteCount()) { hash = (37 * hash) + FAVORITE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getFavoriteCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getFavoriteCount()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.datacatalog.v1.UsageSignal parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.UsageSignal parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.UsageSignal parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.UsageSignal parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.UsageSignal parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.UsageSignal parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.UsageSignal parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.UsageSignal parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.UsageSignal parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.UsageSignal parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.UsageSignal parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.UsageSignal parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.UsageSignal parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.UsageSignal parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.UsageSignal prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 set of all usage signals that Data Catalog stores.
    *
@@ -568,59 +658,56 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.UsageSignal}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.UsageSignal)
       com.google.cloud.datacatalog.v1.UsageSignalOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Usage
+          .internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 2:
           return internalGetUsageWithinTimeRange();
         case 3:
           return internalGetCommonUsageWithinTimeRange();
         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 2:
           return internalGetMutableUsageWithinTimeRange();
         case 3:
           return internalGetMutableCommonUsageWithinTimeRange();
         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.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_UsageSignal_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Usage
+          .internal_static_google_cloud_datacatalog_v1_UsageSignal_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.UsageSignal.class, com.google.cloud.datacatalog.v1.UsageSignal.Builder.class);
+              com.google.cloud.datacatalog.v1.UsageSignal.class,
+              com.google.cloud.datacatalog.v1.UsageSignal.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.UsageSignal.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -637,9 +724,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Usage
+          .internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor;
     }
 
     @java.lang.Override
@@ -658,8 +745,11 @@ public com.google.cloud.datacatalog.v1.UsageSignal build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.UsageSignal buildPartial() {
-      com.google.cloud.datacatalog.v1.UsageSignal result = new com.google.cloud.datacatalog.v1.UsageSignal(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.UsageSignal result =
+          new com.google.cloud.datacatalog.v1.UsageSignal(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -667,9 +757,7 @@ public com.google.cloud.datacatalog.v1.UsageSignal buildPartial() {
     private void buildPartial0(com.google.cloud.datacatalog.v1.UsageSignal 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.usageWithinTimeRange_ = internalGetUsageWithinTimeRange();
@@ -691,38 +779,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.UsageSignal result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.UsageSignal) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.UsageSignal)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.UsageSignal) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -734,11 +823,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.UsageSignal other) {
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
-      internalGetMutableUsageWithinTimeRange().mergeFrom(
-          other.internalGetUsageWithinTimeRange());
+      internalGetMutableUsageWithinTimeRange().mergeFrom(other.internalGetUsageWithinTimeRange());
       bitField0_ |= 0x00000002;
-      internalGetMutableCommonUsageWithinTimeRange().mergeFrom(
-          other.internalGetCommonUsageWithinTimeRange());
+      internalGetMutableCommonUsageWithinTimeRange()
+          .mergeFrom(other.internalGetCommonUsageWithinTimeRange());
       bitField0_ |= 0x00000004;
       if (other.hasFavoriteCount()) {
         setFavoriteCount(other.getFavoriteCount());
@@ -769,42 +857,56 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              com.google.protobuf.MapEntry
-              usageWithinTimeRange__ = input.readMessage(
-                  UsageWithinTimeRangeDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableUsageWithinTimeRange().getMutableMap().put(
-                  usageWithinTimeRange__.getKey(), usageWithinTimeRange__.getValue());
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              com.google.protobuf.MapEntry
-              commonUsageWithinTimeRange__ = input.readMessage(
-                  CommonUsageWithinTimeRangeDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableCommonUsageWithinTimeRange().getMutableMap().put(
-                  commonUsageWithinTimeRange__.getKey(), commonUsageWithinTimeRange__.getValue());
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 32: {
-              favoriteCount_ = input.readInt64();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            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 18:
+              {
+                com.google.protobuf.MapEntry<
+                        java.lang.String, com.google.cloud.datacatalog.v1.UsageStats>
+                    usageWithinTimeRange__ =
+                        input.readMessage(
+                            UsageWithinTimeRangeDefaultEntryHolder.defaultEntry.getParserForType(),
+                            extensionRegistry);
+                internalGetMutableUsageWithinTimeRange()
+                    .getMutableMap()
+                    .put(usageWithinTimeRange__.getKey(), usageWithinTimeRange__.getValue());
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                com.google.protobuf.MapEntry<
+                        java.lang.String, com.google.cloud.datacatalog.v1.CommonUsageStats>
+                    commonUsageWithinTimeRange__ =
+                        input.readMessage(
+                            CommonUsageWithinTimeRangeDefaultEntryHolder.defaultEntry
+                                .getParserForType(),
+                            extensionRegistry);
+                internalGetMutableCommonUsageWithinTimeRange()
+                    .getMutableMap()
+                    .put(
+                        commonUsageWithinTimeRange__.getKey(),
+                        commonUsageWithinTimeRange__.getValue());
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 32:
+              {
+                favoriteCount_ = 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) {
@@ -814,38 +916,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_;
     /**
+     *
+     *
      * 
      * The end timestamp of the duration of usage statistics.
      * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The end timestamp of the duration of usage statistics.
      * 
* * .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(); } } /** + * + * *
      * The end timestamp of the duration of usage statistics.
      * 
@@ -866,14 +982,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The end timestamp of the duration of usage statistics.
      * 
* * .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 { @@ -884,6 +1001,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * The end timestamp of the duration of usage statistics.
      * 
@@ -892,9 +1011,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; @@ -907,6 +1026,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The end timestamp of the duration of usage statistics.
      * 
@@ -924,6 +1045,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * The end timestamp of the duration of usage statistics.
      * 
@@ -936,6 +1059,8 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The end timestamp of the duration of usage statistics.
      * 
@@ -946,11 +1071,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * The end timestamp of the duration of usage statistics.
      * 
@@ -958,22 +1086,28 @@ 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 com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1.UsageStats> usageWithinTimeRange_; - private com.google.protobuf.MapField + java.lang.String, com.google.cloud.datacatalog.v1.UsageStats> + usageWithinTimeRange_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1.UsageStats> internalGetUsageWithinTimeRange() { if (usageWithinTimeRange_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -981,11 +1115,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } return usageWithinTimeRange_; } - private com.google.protobuf.MapField + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1.UsageStats> internalGetMutableUsageWithinTimeRange() { if (usageWithinTimeRange_ == null) { - usageWithinTimeRange_ = com.google.protobuf.MapField.newMapField( - UsageWithinTimeRangeDefaultEntryHolder.defaultEntry); + usageWithinTimeRange_ = + com.google.protobuf.MapField.newMapField( + UsageWithinTimeRangeDefaultEntryHolder.defaultEntry); } if (!usageWithinTimeRange_.isMutable()) { usageWithinTimeRange_ = usageWithinTimeRange_.copy(); @@ -994,10 +1131,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { onChanged(); return usageWithinTimeRange_; } + public int getUsageWithinTimeRangeCount() { return internalGetUsageWithinTimeRange().getMap().size(); } /** + * + * *
      * Output only. BigQuery usage statistics over each of the predefined time
      * ranges.
@@ -1005,23 +1145,27 @@ public int getUsageWithinTimeRangeCount() {
      * Supported time ranges are `{"24H", "7D", "30D"}`.
      * 
* - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public boolean containsUsageWithinTimeRange( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsUsageWithinTimeRange(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetUsageWithinTimeRange().getMap().containsKey(key); } - /** - * Use {@link #getUsageWithinTimeRangeMap()} instead. - */ + /** Use {@link #getUsageWithinTimeRangeMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getUsageWithinTimeRange() { + public java.util.Map + getUsageWithinTimeRange() { return getUsageWithinTimeRangeMap(); } /** + * + * *
      * Output only. BigQuery usage statistics over each of the predefined time
      * ranges.
@@ -1029,13 +1173,18 @@ public java.util.Map
      *
-     * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+     * 
+     * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+     * 
      */
     @java.lang.Override
-    public java.util.Map getUsageWithinTimeRangeMap() {
+    public java.util.Map
+        getUsageWithinTimeRangeMap() {
       return internalGetUsageWithinTimeRange().getMap();
     }
     /**
+     *
+     *
      * 
      * Output only. BigQuery usage statistics over each of the predefined time
      * ranges.
@@ -1043,20 +1192,26 @@ public java.util.Map
      *
-     * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+     * 
+     * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+     * 
      */
     @java.lang.Override
-    public /* nullable */
-com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrDefault(
-        java.lang.String key,
-        /* nullable */
-com.google.cloud.datacatalog.v1.UsageStats defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public /* nullable */ com.google.cloud.datacatalog.v1.UsageStats
+        getUsageWithinTimeRangeOrDefault(
+            java.lang.String key,
+            /* nullable */
+            com.google.cloud.datacatalog.v1.UsageStats defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetUsageWithinTimeRange().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Output only. BigQuery usage statistics over each of the predefined time
      * ranges.
@@ -1064,12 +1219,16 @@ com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrDefault(
      * Supported time ranges are `{"24H", "7D", "30D"}`.
      * 
* - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetUsageWithinTimeRange().getMap(); if (!map.containsKey(key)) { @@ -1077,13 +1236,15 @@ public com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrThrow } return map.get(key); } + public Builder clearUsageWithinTimeRange() { bitField0_ = (bitField0_ & ~0x00000002); - internalGetMutableUsageWithinTimeRange().getMutableMap() - .clear(); + internalGetMutableUsageWithinTimeRange().getMutableMap().clear(); return this; } /** + * + * *
      * Output only. BigQuery usage statistics over each of the predefined time
      * ranges.
@@ -1091,18 +1252,18 @@ public Builder clearUsageWithinTimeRange() {
      * Supported time ranges are `{"24H", "7D", "30D"}`.
      * 
* - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder removeUsageWithinTimeRange( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableUsageWithinTimeRange().getMutableMap() - .remove(key); + public Builder removeUsageWithinTimeRange(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableUsageWithinTimeRange().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableUsageWithinTimeRange() { @@ -1110,6 +1271,8 @@ public Builder removeUsageWithinTimeRange( return internalGetMutableUsageWithinTimeRange().getMutableMap(); } /** + * + * *
      * Output only. BigQuery usage statistics over each of the predefined time
      * ranges.
@@ -1117,19 +1280,25 @@ public Builder removeUsageWithinTimeRange(
      * Supported time ranges are `{"24H", "7D", "30D"}`.
      * 
* - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder putUsageWithinTimeRange( - java.lang.String key, - com.google.cloud.datacatalog.v1.UsageStats value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableUsageWithinTimeRange().getMutableMap() - .put(key, value); + java.lang.String key, com.google.cloud.datacatalog.v1.UsageStats value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableUsageWithinTimeRange().getMutableMap().put(key, value); bitField0_ |= 0x00000002; return this; } /** + * + * *
      * Output only. BigQuery usage statistics over each of the predefined time
      * ranges.
@@ -1137,19 +1306,23 @@ public Builder putUsageWithinTimeRange(
      * Supported time ranges are `{"24H", "7D", "30D"}`.
      * 
* - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder putAllUsageWithinTimeRange( java.util.Map values) { - internalGetMutableUsageWithinTimeRange().getMutableMap() - .putAll(values); + internalGetMutableUsageWithinTimeRange().getMutableMap().putAll(values); bitField0_ |= 0x00000002; return this; } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1.CommonUsageStats> commonUsageWithinTimeRange_; - private com.google.protobuf.MapField + java.lang.String, com.google.cloud.datacatalog.v1.CommonUsageStats> + commonUsageWithinTimeRange_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1.CommonUsageStats> internalGetCommonUsageWithinTimeRange() { if (commonUsageWithinTimeRange_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -1157,11 +1330,14 @@ public Builder putAllUsageWithinTimeRange( } return commonUsageWithinTimeRange_; } - private com.google.protobuf.MapField + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1.CommonUsageStats> internalGetMutableCommonUsageWithinTimeRange() { if (commonUsageWithinTimeRange_ == null) { - commonUsageWithinTimeRange_ = com.google.protobuf.MapField.newMapField( - CommonUsageWithinTimeRangeDefaultEntryHolder.defaultEntry); + commonUsageWithinTimeRange_ = + com.google.protobuf.MapField.newMapField( + CommonUsageWithinTimeRangeDefaultEntryHolder.defaultEntry); } if (!commonUsageWithinTimeRange_.isMutable()) { commonUsageWithinTimeRange_ = commonUsageWithinTimeRange_.copy(); @@ -1170,78 +1346,100 @@ public Builder putAllUsageWithinTimeRange( onChanged(); return commonUsageWithinTimeRange_; } + public int getCommonUsageWithinTimeRangeCount() { return internalGetCommonUsageWithinTimeRange().getMap().size(); } /** + * + * *
      * Common usage statistics over each of the predefined time ranges.
      *
      * Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
      * 
* - * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; + * + * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; + * */ @java.lang.Override - public boolean containsCommonUsageWithinTimeRange( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsCommonUsageWithinTimeRange(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetCommonUsageWithinTimeRange().getMap().containsKey(key); } - /** - * Use {@link #getCommonUsageWithinTimeRangeMap()} instead. - */ + /** Use {@link #getCommonUsageWithinTimeRangeMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getCommonUsageWithinTimeRange() { + public java.util.Map + getCommonUsageWithinTimeRange() { return getCommonUsageWithinTimeRangeMap(); } /** + * + * *
      * Common usage statistics over each of the predefined time ranges.
      *
      * Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
      * 
* - * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; + * + * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; + * */ @java.lang.Override - public java.util.Map getCommonUsageWithinTimeRangeMap() { + public java.util.Map + getCommonUsageWithinTimeRangeMap() { return internalGetCommonUsageWithinTimeRange().getMap(); } /** + * + * *
      * Common usage statistics over each of the predefined time ranges.
      *
      * Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
      * 
* - * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; + * + * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; + * */ @java.lang.Override - public /* nullable */ -com.google.cloud.datacatalog.v1.CommonUsageStats getCommonUsageWithinTimeRangeOrDefault( - java.lang.String key, - /* nullable */ -com.google.cloud.datacatalog.v1.CommonUsageStats defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + public /* nullable */ com.google.cloud.datacatalog.v1.CommonUsageStats + getCommonUsageWithinTimeRangeOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.datacatalog.v1.CommonUsageStats defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetCommonUsageWithinTimeRange().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Common usage statistics over each of the predefined time ranges.
      *
      * Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
      * 
* - * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; + * + * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1.CommonUsageStats getCommonUsageWithinTimeRangeOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetCommonUsageWithinTimeRange().getMap(); if (!map.containsKey(key)) { @@ -1249,31 +1447,33 @@ public com.google.cloud.datacatalog.v1.CommonUsageStats getCommonUsageWithinTime } return map.get(key); } + public Builder clearCommonUsageWithinTimeRange() { bitField0_ = (bitField0_ & ~0x00000004); - internalGetMutableCommonUsageWithinTimeRange().getMutableMap() - .clear(); + internalGetMutableCommonUsageWithinTimeRange().getMutableMap().clear(); return this; } /** + * + * *
      * Common usage statistics over each of the predefined time ranges.
      *
      * Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
      * 
* - * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; + * + * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; + * */ - public Builder removeCommonUsageWithinTimeRange( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableCommonUsageWithinTimeRange().getMutableMap() - .remove(key); + public Builder removeCommonUsageWithinTimeRange(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableCommonUsageWithinTimeRange().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableCommonUsageWithinTimeRange() { @@ -1281,48 +1481,60 @@ public Builder removeCommonUsageWithinTimeRange( return internalGetMutableCommonUsageWithinTimeRange().getMutableMap(); } /** + * + * *
      * Common usage statistics over each of the predefined time ranges.
      *
      * Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
      * 
* - * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; + * + * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; + * */ public Builder putCommonUsageWithinTimeRange( - java.lang.String key, - com.google.cloud.datacatalog.v1.CommonUsageStats value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableCommonUsageWithinTimeRange().getMutableMap() - .put(key, value); + java.lang.String key, com.google.cloud.datacatalog.v1.CommonUsageStats value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableCommonUsageWithinTimeRange().getMutableMap().put(key, value); bitField0_ |= 0x00000004; return this; } /** + * + * *
      * Common usage statistics over each of the predefined time ranges.
      *
      * Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
      * 
* - * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; + * + * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; + * */ public Builder putAllCommonUsageWithinTimeRange( java.util.Map values) { - internalGetMutableCommonUsageWithinTimeRange().getMutableMap() - .putAll(values); + internalGetMutableCommonUsageWithinTimeRange().getMutableMap().putAll(values); bitField0_ |= 0x00000004; return this; } - private long favoriteCount_ ; + private long favoriteCount_; /** + * + * *
      * Favorite count in the source system.
      * 
* * optional int64 favorite_count = 4; + * * @return Whether the favoriteCount field is set. */ @java.lang.Override @@ -1330,11 +1542,14 @@ public boolean hasFavoriteCount() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Favorite count in the source system.
      * 
* * optional int64 favorite_count = 4; + * * @return The favoriteCount. */ @java.lang.Override @@ -1342,11 +1557,14 @@ public long getFavoriteCount() { return favoriteCount_; } /** + * + * *
      * Favorite count in the source system.
      * 
* * optional int64 favorite_count = 4; + * * @param value The favoriteCount to set. * @return This builder for chaining. */ @@ -1358,11 +1576,14 @@ public Builder setFavoriteCount(long value) { return this; } /** + * + * *
      * Favorite count in the source system.
      * 
* * optional int64 favorite_count = 4; + * * @return This builder for chaining. */ public Builder clearFavoriteCount() { @@ -1371,9 +1592,9 @@ public Builder clearFavoriteCount() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1383,12 +1604,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.UsageSignal) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.UsageSignal) private static final com.google.cloud.datacatalog.v1.UsageSignal DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.UsageSignal(); } @@ -1397,27 +1618,27 @@ public static com.google.cloud.datacatalog.v1.UsageSignal getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UsageSignal parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UsageSignal parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1432,6 +1653,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.UsageSignal getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignalOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignalOrBuilder.java similarity index 57% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignalOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignalOrBuilder.java index 15f46c01179a..967bc6c8e0bf 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignalOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignalOrBuilder.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/datacatalog/v1/usage.proto package com.google.cloud.datacatalog.v1; -public interface UsageSignalOrBuilder extends +public interface UsageSignalOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.UsageSignal) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The end timestamp of the duration of usage statistics.
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The end timestamp of the duration of usage statistics.
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The end timestamp of the duration of usage statistics.
    * 
@@ -35,6 +59,8 @@ public interface UsageSignalOrBuilder extends com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. BigQuery usage statistics over each of the predefined time
    * ranges.
@@ -42,10 +68,14 @@ public interface UsageSignalOrBuilder extends
    * Supported time ranges are `{"24H", "7D", "30D"}`.
    * 
* - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getUsageWithinTimeRangeCount(); /** + * + * *
    * Output only. BigQuery usage statistics over each of the predefined time
    * ranges.
@@ -53,17 +83,18 @@ public interface UsageSignalOrBuilder extends
    * Supported time ranges are `{"24H", "7D", "30D"}`.
    * 
* - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - boolean containsUsageWithinTimeRange( - java.lang.String key); - /** - * Use {@link #getUsageWithinTimeRangeMap()} instead. + * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ + boolean containsUsageWithinTimeRange(java.lang.String key); + /** Use {@link #getUsageWithinTimeRangeMap()} instead. */ @java.lang.Deprecated java.util.Map - getUsageWithinTimeRange(); + getUsageWithinTimeRange(); /** + * + * *
    * Output only. BigQuery usage statistics over each of the predefined time
    * ranges.
@@ -71,11 +102,15 @@ boolean containsUsageWithinTimeRange(
    * Supported time ranges are `{"24H", "7D", "30D"}`.
    * 
* - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ java.util.Map - getUsageWithinTimeRangeMap(); + getUsageWithinTimeRangeMap(); /** + * + * *
    * Output only. BigQuery usage statistics over each of the predefined time
    * ranges.
@@ -83,14 +118,18 @@ boolean containsUsageWithinTimeRange(
    * Supported time ranges are `{"24H", "7D", "30D"}`.
    * 
* - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ /* nullable */ -com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrDefault( + com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.datacatalog.v1.UsageStats defaultValue); + com.google.cloud.datacatalog.v1.UsageStats defaultValue); /** + * + * *
    * Output only. BigQuery usage statistics over each of the predefined time
    * ranges.
@@ -98,90 +137,114 @@ com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrDefault(
    * Supported time ranges are `{"24H", "7D", "30D"}`.
    * 
* - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrThrow( - java.lang.String key); + com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrThrow(java.lang.String key); /** + * + * *
    * Common usage statistics over each of the predefined time ranges.
    *
    * Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
    * 
* - * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; + * + * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; + * */ int getCommonUsageWithinTimeRangeCount(); /** + * + * *
    * Common usage statistics over each of the predefined time ranges.
    *
    * Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
    * 
* - * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; - */ - boolean containsCommonUsageWithinTimeRange( - java.lang.String key); - /** - * Use {@link #getCommonUsageWithinTimeRangeMap()} instead. + * + * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; + * */ + boolean containsCommonUsageWithinTimeRange(java.lang.String key); + /** Use {@link #getCommonUsageWithinTimeRangeMap()} instead. */ @java.lang.Deprecated java.util.Map - getCommonUsageWithinTimeRange(); + getCommonUsageWithinTimeRange(); /** + * + * *
    * Common usage statistics over each of the predefined time ranges.
    *
    * Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
    * 
* - * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; + * + * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; + * */ java.util.Map - getCommonUsageWithinTimeRangeMap(); + getCommonUsageWithinTimeRangeMap(); /** + * + * *
    * Common usage statistics over each of the predefined time ranges.
    *
    * Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
    * 
* - * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; + * + * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; + * */ /* nullable */ -com.google.cloud.datacatalog.v1.CommonUsageStats getCommonUsageWithinTimeRangeOrDefault( + com.google.cloud.datacatalog.v1.CommonUsageStats getCommonUsageWithinTimeRangeOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.datacatalog.v1.CommonUsageStats defaultValue); + com.google.cloud.datacatalog.v1.CommonUsageStats defaultValue); /** + * + * *
    * Common usage statistics over each of the predefined time ranges.
    *
    * Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
    * 
* - * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; + * + * map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3; + * */ com.google.cloud.datacatalog.v1.CommonUsageStats getCommonUsageWithinTimeRangeOrThrow( java.lang.String key); /** + * + * *
    * Favorite count in the source system.
    * 
* * optional int64 favorite_count = 4; + * * @return Whether the favoriteCount field is set. */ boolean hasFavoriteCount(); /** + * + * *
    * Favorite count in the source system.
    * 
* * optional int64 favorite_count = 4; + * * @return The favoriteCount. */ long getFavoriteCount(); diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStats.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStats.java similarity index 69% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStats.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStats.java index a790af616f27..fb07ca3f3dc7 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStats.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStats.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/datacatalog/v1/usage.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Detailed statistics on the entry's usage.
  *
@@ -19,46 +36,50 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1.UsageStats}
  */
-public final class UsageStats extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UsageStats extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.UsageStats)
     UsageStatsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UsageStats.newBuilder() to construct.
   private UsageStats(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private UsageStats() {
-  }
+
+  private UsageStats() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UsageStats();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_UsageStats_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1.Usage
+        .internal_static_google_cloud_datacatalog_v1_UsageStats_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_UsageStats_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1.Usage
+        .internal_static_google_cloud_datacatalog_v1_UsageStats_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1.UsageStats.class, com.google.cloud.datacatalog.v1.UsageStats.Builder.class);
+            com.google.cloud.datacatalog.v1.UsageStats.class,
+            com.google.cloud.datacatalog.v1.UsageStats.Builder.class);
   }
 
   public static final int TOTAL_COMPLETIONS_FIELD_NUMBER = 1;
   private float totalCompletions_ = 0F;
   /**
+   *
+   *
    * 
    * The number of successful uses of the underlying entry.
    * 
* * float total_completions = 1; + * * @return The totalCompletions. */ @java.lang.Override @@ -69,11 +90,14 @@ public float getTotalCompletions() { public static final int TOTAL_FAILURES_FIELD_NUMBER = 2; private float totalFailures_ = 0F; /** + * + * *
    * The number of failed attempts to use the underlying entry.
    * 
* * float total_failures = 2; + * * @return The totalFailures. */ @java.lang.Override @@ -84,11 +108,14 @@ public float getTotalFailures() { public static final int TOTAL_CANCELLATIONS_FIELD_NUMBER = 3; private float totalCancellations_ = 0F; /** + * + * *
    * The number of cancelled attempts to use the underlying entry.
    * 
* * float total_cancellations = 3; + * * @return The totalCancellations. */ @java.lang.Override @@ -99,11 +126,14 @@ public float getTotalCancellations() { public static final int TOTAL_EXECUTION_TIME_FOR_COMPLETIONS_MILLIS_FIELD_NUMBER = 4; private float totalExecutionTimeForCompletionsMillis_ = 0F; /** + * + * *
    * Total time spent only on successful uses, in milliseconds.
    * 
* * float total_execution_time_for_completions_millis = 4; + * * @return The totalExecutionTimeForCompletionsMillis. */ @java.lang.Override @@ -112,6 +142,7 @@ public float getTotalExecutionTimeForCompletionsMillis() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -123,8 +154,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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(totalCompletions_) != 0) { output.writeFloat(1, totalCompletions_); } @@ -147,20 +177,18 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(totalCompletions_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(1, totalCompletions_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, totalCompletions_); } if (java.lang.Float.floatToRawIntBits(totalFailures_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, totalFailures_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, totalFailures_); } if (java.lang.Float.floatToRawIntBits(totalCancellations_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(3, totalCancellations_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, totalCancellations_); } if (java.lang.Float.floatToRawIntBits(totalExecutionTimeForCompletionsMillis_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(4, totalExecutionTimeForCompletionsMillis_); + size += + com.google.protobuf.CodedOutputStream.computeFloatSize( + 4, totalExecutionTimeForCompletionsMillis_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -170,25 +198,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.datacatalog.v1.UsageStats)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1.UsageStats other = (com.google.cloud.datacatalog.v1.UsageStats) obj; + com.google.cloud.datacatalog.v1.UsageStats other = + (com.google.cloud.datacatalog.v1.UsageStats) obj; if (java.lang.Float.floatToIntBits(getTotalCompletions()) - != java.lang.Float.floatToIntBits( - other.getTotalCompletions())) return false; + != java.lang.Float.floatToIntBits(other.getTotalCompletions())) return false; if (java.lang.Float.floatToIntBits(getTotalFailures()) - != java.lang.Float.floatToIntBits( - other.getTotalFailures())) return false; + != java.lang.Float.floatToIntBits(other.getTotalFailures())) return false; if (java.lang.Float.floatToIntBits(getTotalCancellations()) - != java.lang.Float.floatToIntBits( - other.getTotalCancellations())) return false; + != java.lang.Float.floatToIntBits(other.getTotalCancellations())) return false; if (java.lang.Float.floatToIntBits(getTotalExecutionTimeForCompletionsMillis()) - != java.lang.Float.floatToIntBits( - other.getTotalExecutionTimeForCompletionsMillis())) return false; + != java.lang.Float.floatToIntBits(other.getTotalExecutionTimeForCompletionsMillis())) + return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -201,115 +227,117 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TOTAL_COMPLETIONS_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getTotalCompletions()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getTotalCompletions()); hash = (37 * hash) + TOTAL_FAILURES_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getTotalFailures()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getTotalFailures()); hash = (37 * hash) + TOTAL_CANCELLATIONS_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getTotalCancellations()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getTotalCancellations()); hash = (37 * hash) + TOTAL_EXECUTION_TIME_FOR_COMPLETIONS_MILLIS_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getTotalExecutionTimeForCompletionsMillis()); + hash = + (53 * hash) + java.lang.Float.floatToIntBits(getTotalExecutionTimeForCompletionsMillis()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.datacatalog.v1.UsageStats parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.UsageStats parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.UsageStats parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.UsageStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.UsageStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.UsageStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.UsageStats parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.UsageStats parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.UsageStats parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.UsageStats parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.UsageStats parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.UsageStats parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.UsageStats parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.UsageStats parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.UsageStats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Detailed statistics on the entry's usage.
    *
@@ -325,33 +353,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1.UsageStats}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.UsageStats)
       com.google.cloud.datacatalog.v1.UsageStatsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_UsageStats_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1.Usage
+          .internal_static_google_cloud_datacatalog_v1_UsageStats_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_UsageStats_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1.Usage
+          .internal_static_google_cloud_datacatalog_v1_UsageStats_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1.UsageStats.class, com.google.cloud.datacatalog.v1.UsageStats.Builder.class);
+              com.google.cloud.datacatalog.v1.UsageStats.class,
+              com.google.cloud.datacatalog.v1.UsageStats.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1.UsageStats.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -364,9 +391,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1.Usage.internal_static_google_cloud_datacatalog_v1_UsageStats_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1.Usage
+          .internal_static_google_cloud_datacatalog_v1_UsageStats_descriptor;
     }
 
     @java.lang.Override
@@ -385,8 +412,11 @@ public com.google.cloud.datacatalog.v1.UsageStats build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1.UsageStats buildPartial() {
-      com.google.cloud.datacatalog.v1.UsageStats result = new com.google.cloud.datacatalog.v1.UsageStats(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1.UsageStats result =
+          new com.google.cloud.datacatalog.v1.UsageStats(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -411,38 +441,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.UsageStats result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1.UsageStats) {
-        return mergeFrom((com.google.cloud.datacatalog.v1.UsageStats)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1.UsageStats) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -461,7 +492,8 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.UsageStats other) {
         setTotalCancellations(other.getTotalCancellations());
       }
       if (other.getTotalExecutionTimeForCompletionsMillis() != 0F) {
-        setTotalExecutionTimeForCompletionsMillis(other.getTotalExecutionTimeForCompletionsMillis());
+        setTotalExecutionTimeForCompletionsMillis(
+            other.getTotalExecutionTimeForCompletionsMillis());
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -489,32 +521,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 13: {
-              totalCompletions_ = input.readFloat();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 13
-            case 21: {
-              totalFailures_ = input.readFloat();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 21
-            case 29: {
-              totalCancellations_ = input.readFloat();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 29
-            case 37: {
-              totalExecutionTimeForCompletionsMillis_ = input.readFloat();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 37
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 13:
+              {
+                totalCompletions_ = input.readFloat();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 13
+            case 21:
+              {
+                totalFailures_ = input.readFloat();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 21
+            case 29:
+              {
+                totalCancellations_ = input.readFloat();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 29
+            case 37:
+              {
+                totalExecutionTimeForCompletionsMillis_ = input.readFloat();
+                bitField0_ |= 0x00000008;
+                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) {
@@ -524,15 +561,19 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private float totalCompletions_ ;
+    private float totalCompletions_;
     /**
+     *
+     *
      * 
      * The number of successful uses of the underlying entry.
      * 
* * float total_completions = 1; + * * @return The totalCompletions. */ @java.lang.Override @@ -540,11 +581,14 @@ public float getTotalCompletions() { return totalCompletions_; } /** + * + * *
      * The number of successful uses of the underlying entry.
      * 
* * float total_completions = 1; + * * @param value The totalCompletions to set. * @return This builder for chaining. */ @@ -556,11 +600,14 @@ public Builder setTotalCompletions(float value) { return this; } /** + * + * *
      * The number of successful uses of the underlying entry.
      * 
* * float total_completions = 1; + * * @return This builder for chaining. */ public Builder clearTotalCompletions() { @@ -570,13 +617,16 @@ public Builder clearTotalCompletions() { return this; } - private float totalFailures_ ; + private float totalFailures_; /** + * + * *
      * The number of failed attempts to use the underlying entry.
      * 
* * float total_failures = 2; + * * @return The totalFailures. */ @java.lang.Override @@ -584,11 +634,14 @@ public float getTotalFailures() { return totalFailures_; } /** + * + * *
      * The number of failed attempts to use the underlying entry.
      * 
* * float total_failures = 2; + * * @param value The totalFailures to set. * @return This builder for chaining. */ @@ -600,11 +653,14 @@ public Builder setTotalFailures(float value) { return this; } /** + * + * *
      * The number of failed attempts to use the underlying entry.
      * 
* * float total_failures = 2; + * * @return This builder for chaining. */ public Builder clearTotalFailures() { @@ -614,13 +670,16 @@ public Builder clearTotalFailures() { return this; } - private float totalCancellations_ ; + private float totalCancellations_; /** + * + * *
      * The number of cancelled attempts to use the underlying entry.
      * 
* * float total_cancellations = 3; + * * @return The totalCancellations. */ @java.lang.Override @@ -628,11 +687,14 @@ public float getTotalCancellations() { return totalCancellations_; } /** + * + * *
      * The number of cancelled attempts to use the underlying entry.
      * 
* * float total_cancellations = 3; + * * @param value The totalCancellations to set. * @return This builder for chaining. */ @@ -644,11 +706,14 @@ public Builder setTotalCancellations(float value) { return this; } /** + * + * *
      * The number of cancelled attempts to use the underlying entry.
      * 
* * float total_cancellations = 3; + * * @return This builder for chaining. */ public Builder clearTotalCancellations() { @@ -658,13 +723,16 @@ public Builder clearTotalCancellations() { return this; } - private float totalExecutionTimeForCompletionsMillis_ ; + private float totalExecutionTimeForCompletionsMillis_; /** + * + * *
      * Total time spent only on successful uses, in milliseconds.
      * 
* * float total_execution_time_for_completions_millis = 4; + * * @return The totalExecutionTimeForCompletionsMillis. */ @java.lang.Override @@ -672,11 +740,14 @@ public float getTotalExecutionTimeForCompletionsMillis() { return totalExecutionTimeForCompletionsMillis_; } /** + * + * *
      * Total time spent only on successful uses, in milliseconds.
      * 
* * float total_execution_time_for_completions_millis = 4; + * * @param value The totalExecutionTimeForCompletionsMillis to set. * @return This builder for chaining. */ @@ -688,11 +759,14 @@ public Builder setTotalExecutionTimeForCompletionsMillis(float value) { return this; } /** + * + * *
      * Total time spent only on successful uses, in milliseconds.
      * 
* * float total_execution_time_for_completions_millis = 4; + * * @return This builder for chaining. */ public Builder clearTotalExecutionTimeForCompletionsMillis() { @@ -701,9 +775,9 @@ public Builder clearTotalExecutionTimeForCompletionsMillis() { onChanged(); return this; } + @java.lang.Override - 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 +787,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.UsageStats) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.UsageStats) private static final com.google.cloud.datacatalog.v1.UsageStats DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.UsageStats(); } @@ -727,27 +801,27 @@ public static com.google.cloud.datacatalog.v1.UsageStats getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UsageStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UsageStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +836,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.UsageStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStatsOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStatsOrBuilder.java similarity index 63% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStatsOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStatsOrBuilder.java index ed9aaeead2eb..9b127be12471 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStatsOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStatsOrBuilder.java @@ -1,48 +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/datacatalog/v1/usage.proto package com.google.cloud.datacatalog.v1; -public interface UsageStatsOrBuilder extends +public interface UsageStatsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.UsageStats) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The number of successful uses of the underlying entry.
    * 
* * float total_completions = 1; + * * @return The totalCompletions. */ float getTotalCompletions(); /** + * + * *
    * The number of failed attempts to use the underlying entry.
    * 
* * float total_failures = 2; + * * @return The totalFailures. */ float getTotalFailures(); /** + * + * *
    * The number of cancelled attempts to use the underlying entry.
    * 
* * float total_cancellations = 3; + * * @return The totalCancellations. */ float getTotalCancellations(); /** + * + * *
    * Total time spent only on successful uses, in milliseconds.
    * 
* * float total_execution_time_for_completions_millis = 4; + * * @return The totalExecutionTimeForCompletionsMillis. */ float getTotalExecutionTimeForCompletionsMillis(); diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpec.java similarity index 66% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpec.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpec.java index de6d5db0945f..06e5f969de93 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpec.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/datacatalog/v1/table_spec.proto package com.google.cloud.datacatalog.v1; /** + * + * *
  * Table view specification.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.ViewSpec} */ -public final class ViewSpec extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ViewSpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ViewSpec) ViewSpecOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ViewSpec.newBuilder() to construct. private ViewSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ViewSpec() { viewQuery_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ViewSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_ViewSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.TableSpecOuterClass + .internal_static_google_cloud_datacatalog_v1_ViewSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_ViewSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.TableSpecOuterClass + .internal_static_google_cloud_datacatalog_v1_ViewSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.ViewSpec.class, com.google.cloud.datacatalog.v1.ViewSpec.Builder.class); + com.google.cloud.datacatalog.v1.ViewSpec.class, + com.google.cloud.datacatalog.v1.ViewSpec.Builder.class); } public static final int VIEW_QUERY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object viewQuery_ = ""; /** + * + * *
    * Output only. The query that defines the table view.
    * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The viewQuery. */ @java.lang.Override @@ -60,29 +83,29 @@ public java.lang.String getViewQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); viewQuery_ = s; return s; } } /** + * + * *
    * Output only. The query that defines the table view.
    * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for viewQuery. */ @java.lang.Override - public com.google.protobuf.ByteString - getViewQueryBytes() { + public com.google.protobuf.ByteString getViewQueryBytes() { java.lang.Object ref = viewQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); viewQuery_ = b; return b; } else { @@ -91,6 +114,7 @@ public java.lang.String getViewQuery() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,8 +126,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(viewQuery_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, viewQuery_); } @@ -127,15 +150,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1.ViewSpec)) { return super.equals(obj); } com.google.cloud.datacatalog.v1.ViewSpec other = (com.google.cloud.datacatalog.v1.ViewSpec) obj; - if (!getViewQuery() - .equals(other.getViewQuery())) return false; + if (!getViewQuery().equals(other.getViewQuery())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -154,132 +176,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1.ViewSpec parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1.ViewSpec parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ViewSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ViewSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ViewSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ViewSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1.ViewSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ViewSpec parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ViewSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1.ViewSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1.ViewSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1.ViewSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.ViewSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1.ViewSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1.ViewSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Table view specification.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.ViewSpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ViewSpec) com.google.cloud.datacatalog.v1.ViewSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_ViewSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.TableSpecOuterClass + .internal_static_google_cloud_datacatalog_v1_ViewSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_ViewSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1.TableSpecOuterClass + .internal_static_google_cloud_datacatalog_v1_ViewSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1.ViewSpec.class, com.google.cloud.datacatalog.v1.ViewSpec.Builder.class); + com.google.cloud.datacatalog.v1.ViewSpec.class, + com.google.cloud.datacatalog.v1.ViewSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1.ViewSpec.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - 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 +315,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1_ViewSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.TableSpecOuterClass + .internal_static_google_cloud_datacatalog_v1_ViewSpec_descriptor; } @java.lang.Override @@ -310,8 +336,11 @@ public com.google.cloud.datacatalog.v1.ViewSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1.ViewSpec buildPartial() { - com.google.cloud.datacatalog.v1.ViewSpec result = new com.google.cloud.datacatalog.v1.ViewSpec(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1.ViewSpec result = + new com.google.cloud.datacatalog.v1.ViewSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -327,38 +356,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1.ViewSpec result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1.ViewSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1.ViewSpec)other); + return mergeFrom((com.google.cloud.datacatalog.v1.ViewSpec) other); } else { super.mergeFrom(other); return this; @@ -398,17 +428,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - viewQuery_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + viewQuery_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -418,22 +450,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object viewQuery_ = ""; /** + * + * *
      * Output only. The query that defines the table view.
      * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The viewQuery. */ public java.lang.String getViewQuery() { java.lang.Object ref = viewQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); viewQuery_ = s; return s; @@ -442,20 +477,21 @@ public java.lang.String getViewQuery() { } } /** + * + * *
      * Output only. The query that defines the table view.
      * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for viewQuery. */ - public com.google.protobuf.ByteString - getViewQueryBytes() { + public com.google.protobuf.ByteString getViewQueryBytes() { java.lang.Object ref = viewQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); viewQuery_ = b; return b; } else { @@ -463,28 +499,35 @@ public java.lang.String getViewQuery() { } } /** + * + * *
      * Output only. The query that defines the table view.
      * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The viewQuery to set. * @return This builder for chaining. */ - public Builder setViewQuery( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setViewQuery(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } viewQuery_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The query that defines the table view.
      * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearViewQuery() { @@ -494,26 +537,30 @@ public Builder clearViewQuery() { return this; } /** + * + * *
      * Output only. The query that defines the table view.
      * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for viewQuery to set. * @return This builder for chaining. */ - public Builder setViewQueryBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setViewQueryBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); viewQuery_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -523,12 +570,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1.ViewSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ViewSpec) private static final com.google.cloud.datacatalog.v1.ViewSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ViewSpec(); } @@ -537,27 +584,27 @@ public static com.google.cloud.datacatalog.v1.ViewSpec getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ViewSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ViewSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -572,6 +619,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.ViewSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpecOrBuilder.java similarity index 51% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpecOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpecOrBuilder.java index 3a0e8b2640ee..cd4a0194f03b 100644 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpecOrBuilder.java @@ -1,29 +1,50 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/table_spec.proto package com.google.cloud.datacatalog.v1; -public interface ViewSpecOrBuilder extends +public interface ViewSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ViewSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The query that defines the table view.
    * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The viewQuery. */ java.lang.String getViewQuery(); /** + * + * *
    * Output only. The query that defines the table view.
    * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for viewQuery. */ - com.google.protobuf.ByteString - getViewQueryBytes(); + com.google.protobuf.ByteString getViewQueryBytes(); } diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/bigquery.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/bigquery.proto similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/bigquery.proto rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/bigquery.proto diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/common.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/common.proto similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/common.proto rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/common.proto diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/data_source.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/data_source.proto similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/data_source.proto rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/data_source.proto diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/dataplex_spec.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/dataplex_spec.proto similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/dataplex_spec.proto rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/dataplex_spec.proto diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/dump_content.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/dump_content.proto similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/dump_content.proto rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/dump_content.proto diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/gcs_fileset_spec.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/gcs_fileset_spec.proto similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/gcs_fileset_spec.proto rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/gcs_fileset_spec.proto diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/physical_schema.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/physical_schema.proto similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/physical_schema.proto rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/physical_schema.proto diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanager.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanager.proto similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanager.proto rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanager.proto diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanagerserialization.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanagerserialization.proto similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanagerserialization.proto rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanagerserialization.proto diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/schema.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/schema.proto similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/schema.proto rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/schema.proto diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/search.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/search.proto similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/search.proto rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/search.proto diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/table_spec.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/table_spec.proto similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/table_spec.proto rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/table_spec.proto diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/tags.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/tags.proto similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/tags.proto rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/tags.proto diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/timestamps.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/timestamps.proto similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/timestamps.proto rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/timestamps.proto diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/usage.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/usage.proto similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/usage.proto rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/usage.proto diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpec.java similarity index 68% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpec.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpec.java index c172c0bb1a6d..0e640a9d8922 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpec.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/datacatalog/v1beta1/table_spec.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Spec for a group of BigQuery tables with name pattern `[prefix]YYYYMMDD`.
  * Context:
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec}
  */
-public final class BigQueryDateShardedSpec extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BigQueryDateShardedSpec extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec)
     BigQueryDateShardedSpecOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BigQueryDateShardedSpec.newBuilder() to construct.
   private BigQueryDateShardedSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private BigQueryDateShardedSpec() {
     dataset_ = "";
     tablePrefix_ = "";
@@ -28,35 +46,42 @@ private BigQueryDateShardedSpec() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BigQueryDateShardedSpec();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass
+        .internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass
+        .internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.class, com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.class,
+            com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.Builder.class);
   }
 
   public static final int DATASET_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object dataset_ = "";
   /**
+   *
+   *
    * 
    * Output only. The Data Catalog resource name of the dataset entry the
    * current table belongs to, for example,
    * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
    * 
* - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The dataset. */ @java.lang.Override @@ -65,31 +90,33 @@ public java.lang.String getDataset() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataset_ = s; return s; } } /** + * + * *
    * Output only. The Data Catalog resource name of the dataset entry the
    * current table belongs to, for example,
    * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
    * 
* - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for dataset. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatasetBytes() { + public com.google.protobuf.ByteString getDatasetBytes() { java.lang.Object ref = dataset_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataset_ = b; return b; } else { @@ -98,9 +125,12 @@ public java.lang.String getDataset() { } public static final int TABLE_PREFIX_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object tablePrefix_ = ""; /** + * + * *
    * Output only. The table name prefix of the shards. The name of any given
    * shard is
@@ -109,6 +139,7 @@ public java.lang.String getDataset() {
    * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tablePrefix. */ @java.lang.Override @@ -117,14 +148,15 @@ public java.lang.String getTablePrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tablePrefix_ = s; return s; } } /** + * + * *
    * Output only. The table name prefix of the shards. The name of any given
    * shard is
@@ -133,16 +165,15 @@ public java.lang.String getTablePrefix() {
    * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for tablePrefix. */ @java.lang.Override - public com.google.protobuf.ByteString - getTablePrefixBytes() { + public com.google.protobuf.ByteString getTablePrefixBytes() { java.lang.Object ref = tablePrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tablePrefix_ = b; return b; } else { @@ -153,11 +184,14 @@ public java.lang.String getTablePrefix() { public static final int SHARD_COUNT_FIELD_NUMBER = 3; private long shardCount_ = 0L; /** + * + * *
    * Output only. Total number of shards.
    * 
* * int64 shard_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The shardCount. */ @java.lang.Override @@ -166,6 +200,7 @@ public long getShardCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,8 +212,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dataset_); } @@ -204,8 +238,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tablePrefix_); } if (shardCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, shardCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, shardCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -215,19 +248,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.datacatalog.v1beta1.BigQueryDateShardedSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec other = (com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) obj; + com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec other = + (com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) obj; - if (!getDataset() - .equals(other.getDataset())) return false; - if (!getTablePrefix() - .equals(other.getTablePrefix())) return false; - if (getShardCount() - != other.getShardCount()) return false; + if (!getDataset().equals(other.getDataset())) return false; + if (!getTablePrefix().equals(other.getTablePrefix())) return false; + if (getShardCount() != other.getShardCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -244,106 +275,111 @@ public int hashCode() { hash = (37 * hash) + TABLE_PREFIX_FIELD_NUMBER; hash = (53 * hash) + getTablePrefix().hashCode(); hash = (37 * hash) + SHARD_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getShardCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getShardCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Spec for a group of BigQuery tables with name pattern `[prefix]YYYYMMDD`.
    * Context:
@@ -352,33 +388,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec)
       com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass
+          .internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass
+          .internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.class, com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.class,
+              com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -390,13 +425,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass
+          .internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec getDefaultInstanceForType() {
+    public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec
+        getDefaultInstanceForType() {
       return com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.getDefaultInstance();
     }
 
@@ -411,13 +447,17 @@ public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec result = new com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec result =
+          new com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec result) {
+    private void buildPartial0(
+        com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.dataset_ = dataset_;
@@ -434,38 +474,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.BigQueryDateShar
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -473,7 +514,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.getDefaultInstance())
+        return this;
       if (!other.getDataset().isEmpty()) {
         dataset_ = other.dataset_;
         bitField0_ |= 0x00000001;
@@ -513,27 +556,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              dataset_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              tablePrefix_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 24: {
-              shardCount_ = input.readInt64();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                dataset_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                tablePrefix_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 24:
+              {
+                shardCount_ = input.readInt64();
+                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) {
@@ -543,24 +590,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object dataset_ = "";
     /**
+     *
+     *
      * 
      * Output only. The Data Catalog resource name of the dataset entry the
      * current table belongs to, for example,
      * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
      * 
* - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The dataset. */ public java.lang.String getDataset() { java.lang.Object ref = dataset_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataset_ = s; return s; @@ -569,22 +621,25 @@ public java.lang.String getDataset() { } } /** + * + * *
      * Output only. The Data Catalog resource name of the dataset entry the
      * current table belongs to, for example,
      * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
      * 
* - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for dataset. */ - public com.google.protobuf.ByteString - getDatasetBytes() { + public com.google.protobuf.ByteString getDatasetBytes() { java.lang.Object ref = dataset_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataset_ = b; return b; } else { @@ -592,32 +647,43 @@ public java.lang.String getDataset() { } } /** + * + * *
      * Output only. The Data Catalog resource name of the dataset entry the
      * current table belongs to, for example,
      * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
      * 
* - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The dataset to set. * @return This builder for chaining. */ - public Builder setDataset( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataset(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } dataset_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The Data Catalog resource name of the dataset entry the
      * current table belongs to, for example,
      * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
      * 
* - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearDataset() { @@ -627,19 +693,25 @@ public Builder clearDataset() { return this; } /** + * + * *
      * Output only. The Data Catalog resource name of the dataset entry the
      * current table belongs to, for example,
      * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
      * 
* - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for dataset to set. * @return This builder for chaining. */ - public Builder setDatasetBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatasetBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); dataset_ = value; bitField0_ |= 0x00000001; @@ -649,6 +721,8 @@ public Builder setDatasetBytes( private java.lang.Object tablePrefix_ = ""; /** + * + * *
      * Output only. The table name prefix of the shards. The name of any given
      * shard is
@@ -657,13 +731,13 @@ public Builder setDatasetBytes(
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tablePrefix. */ public java.lang.String getTablePrefix() { java.lang.Object ref = tablePrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tablePrefix_ = s; return s; @@ -672,6 +746,8 @@ public java.lang.String getTablePrefix() { } } /** + * + * *
      * Output only. The table name prefix of the shards. The name of any given
      * shard is
@@ -680,15 +756,14 @@ public java.lang.String getTablePrefix() {
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for tablePrefix. */ - public com.google.protobuf.ByteString - getTablePrefixBytes() { + public com.google.protobuf.ByteString getTablePrefixBytes() { java.lang.Object ref = tablePrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tablePrefix_ = b; return b; } else { @@ -696,6 +771,8 @@ public java.lang.String getTablePrefix() { } } /** + * + * *
      * Output only. The table name prefix of the shards. The name of any given
      * shard is
@@ -704,18 +781,22 @@ public java.lang.String getTablePrefix() {
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The tablePrefix to set. * @return This builder for chaining. */ - public Builder setTablePrefix( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTablePrefix(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tablePrefix_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. The table name prefix of the shards. The name of any given
      * shard is
@@ -724,6 +805,7 @@ public Builder setTablePrefix(
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTablePrefix() { @@ -733,6 +815,8 @@ public Builder clearTablePrefix() { return this; } /** + * + * *
      * Output only. The table name prefix of the shards. The name of any given
      * shard is
@@ -741,12 +825,14 @@ public Builder clearTablePrefix() {
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for tablePrefix to set. * @return This builder for chaining. */ - public Builder setTablePrefixBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTablePrefixBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tablePrefix_ = value; bitField0_ |= 0x00000002; @@ -754,13 +840,16 @@ public Builder setTablePrefixBytes( return this; } - private long shardCount_ ; + private long shardCount_; /** + * + * *
      * Output only. Total number of shards.
      * 
* * int64 shard_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The shardCount. */ @java.lang.Override @@ -768,11 +857,14 @@ public long getShardCount() { return shardCount_; } /** + * + * *
      * Output only. Total number of shards.
      * 
* * int64 shard_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The shardCount to set. * @return This builder for chaining. */ @@ -784,11 +876,14 @@ public Builder setShardCount(long value) { return this; } /** + * + * *
      * Output only. Total number of shards.
      * 
* * int64 shard_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearShardCount() { @@ -797,9 +892,9 @@ public Builder clearShardCount() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -809,12 +904,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) - private static final com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec DEFAULT_INSTANCE; + private static final com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec(); } @@ -823,27 +919,27 @@ public static com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryDateShardedSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryDateShardedSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -858,6 +954,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpecOrBuilder.java similarity index 63% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpecOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpecOrBuilder.java index bba8d00274d7..9070fd1ea0bd 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpecOrBuilder.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/datacatalog/v1beta1/table_spec.proto package com.google.cloud.datacatalog.v1beta1; -public interface BigQueryDateShardedSpecOrBuilder extends +public interface BigQueryDateShardedSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The Data Catalog resource name of the dataset entry the
    * current table belongs to, for example,
    * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
    * 
* - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The dataset. */ java.lang.String getDataset(); /** + * + * *
    * Output only. The Data Catalog resource name of the dataset entry the
    * current table belongs to, for example,
    * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
    * 
* - * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for dataset. */ - com.google.protobuf.ByteString - getDatasetBytes(); + com.google.protobuf.ByteString getDatasetBytes(); /** + * + * *
    * Output only. The table name prefix of the shards. The name of any given
    * shard is
@@ -40,10 +67,13 @@ public interface BigQueryDateShardedSpecOrBuilder extends
    * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tablePrefix. */ java.lang.String getTablePrefix(); /** + * + * *
    * Output only. The table name prefix of the shards. The name of any given
    * shard is
@@ -52,17 +82,20 @@ public interface BigQueryDateShardedSpecOrBuilder extends
    * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for tablePrefix. */ - com.google.protobuf.ByteString - getTablePrefixBytes(); + com.google.protobuf.ByteString getTablePrefixBytes(); /** + * + * *
    * Output only. Total number of shards.
    * 
* * int64 shard_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The shardCount. */ long getShardCount(); diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpec.java similarity index 69% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpec.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpec.java index fcfa2dec8b93..1235b44b8d2a 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpec.java @@ -1,58 +1,81 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/table_spec.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Describes a BigQuery table.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.BigQueryTableSpec} */ -public final class BigQueryTableSpec extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BigQueryTableSpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.BigQueryTableSpec) BigQueryTableSpecOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BigQueryTableSpec.newBuilder() to construct. private BigQueryTableSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BigQueryTableSpec() { tableSourceType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BigQueryTableSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass + .internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass + .internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.class, com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.Builder.class); + com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.class, + com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.Builder.class); } private int typeSpecCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object typeSpec_; + public enum TypeSpecCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { VIEW_SPEC(2), TABLE_SPEC(3), TYPESPEC_NOT_SET(0); private final int value; + private TypeSpecCase(int value) { this.value = value; } @@ -68,57 +91,78 @@ public static TypeSpecCase valueOf(int value) { public static TypeSpecCase forNumber(int value) { switch (value) { - case 2: return VIEW_SPEC; - case 3: return TABLE_SPEC; - case 0: return TYPESPEC_NOT_SET; - default: return null; + case 2: + return VIEW_SPEC; + case 3: + return TABLE_SPEC; + case 0: + return TYPESPEC_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TypeSpecCase - getTypeSpecCase() { - return TypeSpecCase.forNumber( - typeSpecCase_); + public TypeSpecCase getTypeSpecCase() { + return TypeSpecCase.forNumber(typeSpecCase_); } public static final int TABLE_SOURCE_TYPE_FIELD_NUMBER = 1; private int tableSourceType_ = 0; /** + * + * *
    * Output only. The table source type.
    * 
* - * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for tableSourceType. */ - @java.lang.Override public int getTableSourceTypeValue() { + @java.lang.Override + public int getTableSourceTypeValue() { return tableSourceType_; } /** + * + * *
    * Output only. The table source type.
    * 
* - * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The tableSourceType. */ - @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TableSourceType getTableSourceType() { - com.google.cloud.datacatalog.v1beta1.TableSourceType result = com.google.cloud.datacatalog.v1beta1.TableSourceType.forNumber(tableSourceType_); - return result == null ? com.google.cloud.datacatalog.v1beta1.TableSourceType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.TableSourceType getTableSourceType() { + com.google.cloud.datacatalog.v1beta1.TableSourceType result = + com.google.cloud.datacatalog.v1beta1.TableSourceType.forNumber(tableSourceType_); + return result == null + ? com.google.cloud.datacatalog.v1beta1.TableSourceType.UNRECOGNIZED + : result; } public static final int VIEW_SPEC_FIELD_NUMBER = 2; /** + * + * *
    * Table view specification. This field should only be populated if
    * `table_source_type` is `BIGQUERY_VIEW`.
    * 
* * .google.cloud.datacatalog.v1beta1.ViewSpec view_spec = 2; + * * @return Whether the viewSpec field is set. */ @java.lang.Override @@ -126,22 +170,27 @@ public boolean hasViewSpec() { return typeSpecCase_ == 2; } /** + * + * *
    * Table view specification. This field should only be populated if
    * `table_source_type` is `BIGQUERY_VIEW`.
    * 
* * .google.cloud.datacatalog.v1beta1.ViewSpec view_spec = 2; + * * @return The viewSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.ViewSpec getViewSpec() { if (typeSpecCase_ == 2) { - return (com.google.cloud.datacatalog.v1beta1.ViewSpec) typeSpec_; + return (com.google.cloud.datacatalog.v1beta1.ViewSpec) typeSpec_; } return com.google.cloud.datacatalog.v1beta1.ViewSpec.getDefaultInstance(); } /** + * + * *
    * Table view specification. This field should only be populated if
    * `table_source_type` is `BIGQUERY_VIEW`.
@@ -152,19 +201,22 @@ public com.google.cloud.datacatalog.v1beta1.ViewSpec getViewSpec() {
   @java.lang.Override
   public com.google.cloud.datacatalog.v1beta1.ViewSpecOrBuilder getViewSpecOrBuilder() {
     if (typeSpecCase_ == 2) {
-       return (com.google.cloud.datacatalog.v1beta1.ViewSpec) typeSpec_;
+      return (com.google.cloud.datacatalog.v1beta1.ViewSpec) typeSpec_;
     }
     return com.google.cloud.datacatalog.v1beta1.ViewSpec.getDefaultInstance();
   }
 
   public static final int TABLE_SPEC_FIELD_NUMBER = 3;
   /**
+   *
+   *
    * 
    * Spec of a BigQuery table. This field should only be populated if
    * `table_source_type` is `BIGQUERY_TABLE`.
    * 
* * .google.cloud.datacatalog.v1beta1.TableSpec table_spec = 3; + * * @return Whether the tableSpec field is set. */ @java.lang.Override @@ -172,22 +224,27 @@ public boolean hasTableSpec() { return typeSpecCase_ == 3; } /** + * + * *
    * Spec of a BigQuery table. This field should only be populated if
    * `table_source_type` is `BIGQUERY_TABLE`.
    * 
* * .google.cloud.datacatalog.v1beta1.TableSpec table_spec = 3; + * * @return The tableSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TableSpec getTableSpec() { if (typeSpecCase_ == 3) { - return (com.google.cloud.datacatalog.v1beta1.TableSpec) typeSpec_; + return (com.google.cloud.datacatalog.v1beta1.TableSpec) typeSpec_; } return com.google.cloud.datacatalog.v1beta1.TableSpec.getDefaultInstance(); } /** + * + * *
    * Spec of a BigQuery table. This field should only be populated if
    * `table_source_type` is `BIGQUERY_TABLE`.
@@ -198,12 +255,13 @@ public com.google.cloud.datacatalog.v1beta1.TableSpec getTableSpec() {
   @java.lang.Override
   public com.google.cloud.datacatalog.v1beta1.TableSpecOrBuilder getTableSpecOrBuilder() {
     if (typeSpecCase_ == 3) {
-       return (com.google.cloud.datacatalog.v1beta1.TableSpec) typeSpec_;
+      return (com.google.cloud.datacatalog.v1beta1.TableSpec) typeSpec_;
     }
     return com.google.cloud.datacatalog.v1beta1.TableSpec.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -215,9 +273,10 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
-    if (tableSourceType_ != com.google.cloud.datacatalog.v1beta1.TableSourceType.TABLE_SOURCE_TYPE_UNSPECIFIED.getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    if (tableSourceType_
+        != com.google.cloud.datacatalog.v1beta1.TableSourceType.TABLE_SOURCE_TYPE_UNSPECIFIED
+            .getNumber()) {
       output.writeEnum(1, tableSourceType_);
     }
     if (typeSpecCase_ == 2) {
@@ -235,17 +294,20 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (tableSourceType_ != com.google.cloud.datacatalog.v1beta1.TableSourceType.TABLE_SOURCE_TYPE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(1, tableSourceType_);
+    if (tableSourceType_
+        != com.google.cloud.datacatalog.v1beta1.TableSourceType.TABLE_SOURCE_TYPE_UNSPECIFIED
+            .getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, tableSourceType_);
     }
     if (typeSpecCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, (com.google.cloud.datacatalog.v1beta1.ViewSpec) typeSpec_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, (com.google.cloud.datacatalog.v1beta1.ViewSpec) typeSpec_);
     }
     if (typeSpecCase_ == 3) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, (com.google.cloud.datacatalog.v1beta1.TableSpec) typeSpec_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              3, (com.google.cloud.datacatalog.v1beta1.TableSpec) typeSpec_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -255,23 +317,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.datacatalog.v1beta1.BigQueryTableSpec)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec other = (com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec) obj;
+    com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec other =
+        (com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec) obj;
 
     if (tableSourceType_ != other.tableSourceType_) return false;
     if (!getTypeSpecCase().equals(other.getTypeSpecCase())) return false;
     switch (typeSpecCase_) {
       case 2:
-        if (!getViewSpec()
-            .equals(other.getViewSpec())) return false;
+        if (!getViewSpec().equals(other.getViewSpec())) return false;
         break;
       case 3:
-        if (!getTableSpec()
-            .equals(other.getTableSpec())) return false;
+        if (!getTableSpec().equals(other.getTableSpec())) return false;
         break;
       case 0:
       default:
@@ -307,131 +368,136 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 a BigQuery table.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.BigQueryTableSpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.BigQueryTableSpec) com.google.cloud.datacatalog.v1beta1.BigQueryTableSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass + .internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass + .internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.class, com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.Builder.class); + com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.class, + com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -449,9 +515,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass + .internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_descriptor; } @java.lang.Override @@ -470,8 +536,11 @@ public com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec buildPartial() { - com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec result = new com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec result = + new com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -487,12 +556,10 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.BigQueryTableSpe private void buildPartialOneofs(com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec result) { result.typeSpecCase_ = typeSpecCase_; result.typeSpec_ = this.typeSpec_; - if (typeSpecCase_ == 2 && - viewSpecBuilder_ != null) { + if (typeSpecCase_ == 2 && viewSpecBuilder_ != null) { result.typeSpec_ = viewSpecBuilder_.build(); } - if (typeSpecCase_ == 3 && - tableSpecBuilder_ != null) { + if (typeSpecCase_ == 3 && tableSpecBuilder_ != null) { result.typeSpec_ = tableSpecBuilder_.build(); } } @@ -501,38 +568,39 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1beta1.BigQueryTab public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec)other); + return mergeFrom((com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec) other); } else { super.mergeFrom(other); return this; @@ -540,22 +608,26 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec other) { - if (other == com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.getDefaultInstance()) return this; + if (other == com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.getDefaultInstance()) + return this; if (other.tableSourceType_ != 0) { setTableSourceTypeValue(other.getTableSourceTypeValue()); } switch (other.getTypeSpecCase()) { - case VIEW_SPEC: { - mergeViewSpec(other.getViewSpec()); - break; - } - case TABLE_SPEC: { - mergeTableSpec(other.getTableSpec()); - break; - } - case TYPESPEC_NOT_SET: { - break; - } + case VIEW_SPEC: + { + mergeViewSpec(other.getViewSpec()); + break; + } + case TABLE_SPEC: + { + mergeTableSpec(other.getTableSpec()); + break; + } + case TYPESPEC_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -583,31 +655,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - tableSourceType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - input.readMessage( - getViewSpecFieldBuilder().getBuilder(), - extensionRegistry); - typeSpecCase_ = 2; - break; - } // case 18 - case 26: { - input.readMessage( - getTableSpecFieldBuilder().getBuilder(), - extensionRegistry); - typeSpecCase_ = 3; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + tableSourceType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage(getViewSpecFieldBuilder().getBuilder(), extensionRegistry); + typeSpecCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage(getTableSpecFieldBuilder().getBuilder(), extensionRegistry); + typeSpecCase_ = 3; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -617,12 +689,12 @@ public Builder mergeFrom( } // finally return this; } + private int typeSpecCase_ = 0; private java.lang.Object typeSpec_; - public TypeSpecCase - getTypeSpecCase() { - return TypeSpecCase.forNumber( - typeSpecCase_); + + public TypeSpecCase getTypeSpecCase() { + return TypeSpecCase.forNumber(typeSpecCase_); } public Builder clearTypeSpec() { @@ -636,22 +708,33 @@ public Builder clearTypeSpec() { private int tableSourceType_ = 0; /** + * + * *
      * Output only. The table source type.
      * 
* - * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for tableSourceType. */ - @java.lang.Override public int getTableSourceTypeValue() { + @java.lang.Override + public int getTableSourceTypeValue() { return tableSourceType_; } /** + * + * *
      * Output only. The table source type.
      * 
* - * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for tableSourceType to set. * @return This builder for chaining. */ @@ -662,24 +745,37 @@ public Builder setTableSourceTypeValue(int value) { return this; } /** + * + * *
      * Output only. The table source type.
      * 
* - * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The tableSourceType. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TableSourceType getTableSourceType() { - com.google.cloud.datacatalog.v1beta1.TableSourceType result = com.google.cloud.datacatalog.v1beta1.TableSourceType.forNumber(tableSourceType_); - return result == null ? com.google.cloud.datacatalog.v1beta1.TableSourceType.UNRECOGNIZED : result; + com.google.cloud.datacatalog.v1beta1.TableSourceType result = + com.google.cloud.datacatalog.v1beta1.TableSourceType.forNumber(tableSourceType_); + return result == null + ? com.google.cloud.datacatalog.v1beta1.TableSourceType.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The table source type.
      * 
* - * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The tableSourceType to set. * @return This builder for chaining. */ @@ -693,11 +789,16 @@ public Builder setTableSourceType(com.google.cloud.datacatalog.v1beta1.TableSour return this; } /** + * + * *
      * Output only. The table source type.
      * 
* - * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearTableSourceType() { @@ -708,14 +809,20 @@ public Builder clearTableSourceType() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.ViewSpec, com.google.cloud.datacatalog.v1beta1.ViewSpec.Builder, com.google.cloud.datacatalog.v1beta1.ViewSpecOrBuilder> viewSpecBuilder_; + com.google.cloud.datacatalog.v1beta1.ViewSpec, + com.google.cloud.datacatalog.v1beta1.ViewSpec.Builder, + com.google.cloud.datacatalog.v1beta1.ViewSpecOrBuilder> + viewSpecBuilder_; /** + * + * *
      * Table view specification. This field should only be populated if
      * `table_source_type` is `BIGQUERY_VIEW`.
      * 
* * .google.cloud.datacatalog.v1beta1.ViewSpec view_spec = 2; + * * @return Whether the viewSpec field is set. */ @java.lang.Override @@ -723,12 +830,15 @@ public boolean hasViewSpec() { return typeSpecCase_ == 2; } /** + * + * *
      * Table view specification. This field should only be populated if
      * `table_source_type` is `BIGQUERY_VIEW`.
      * 
* * .google.cloud.datacatalog.v1beta1.ViewSpec view_spec = 2; + * * @return The viewSpec. */ @java.lang.Override @@ -746,6 +856,8 @@ public com.google.cloud.datacatalog.v1beta1.ViewSpec getViewSpec() { } } /** + * + * *
      * Table view specification. This field should only be populated if
      * `table_source_type` is `BIGQUERY_VIEW`.
@@ -767,6 +879,8 @@ public Builder setViewSpec(com.google.cloud.datacatalog.v1beta1.ViewSpec value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Table view specification. This field should only be populated if
      * `table_source_type` is `BIGQUERY_VIEW`.
@@ -786,6 +900,8 @@ public Builder setViewSpec(
       return this;
     }
     /**
+     *
+     *
      * 
      * Table view specification. This field should only be populated if
      * `table_source_type` is `BIGQUERY_VIEW`.
@@ -795,10 +911,13 @@ public Builder setViewSpec(
      */
     public Builder mergeViewSpec(com.google.cloud.datacatalog.v1beta1.ViewSpec value) {
       if (viewSpecBuilder_ == null) {
-        if (typeSpecCase_ == 2 &&
-            typeSpec_ != com.google.cloud.datacatalog.v1beta1.ViewSpec.getDefaultInstance()) {
-          typeSpec_ = com.google.cloud.datacatalog.v1beta1.ViewSpec.newBuilder((com.google.cloud.datacatalog.v1beta1.ViewSpec) typeSpec_)
-              .mergeFrom(value).buildPartial();
+        if (typeSpecCase_ == 2
+            && typeSpec_ != com.google.cloud.datacatalog.v1beta1.ViewSpec.getDefaultInstance()) {
+          typeSpec_ =
+              com.google.cloud.datacatalog.v1beta1.ViewSpec.newBuilder(
+                      (com.google.cloud.datacatalog.v1beta1.ViewSpec) typeSpec_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           typeSpec_ = value;
         }
@@ -814,6 +933,8 @@ public Builder mergeViewSpec(com.google.cloud.datacatalog.v1beta1.ViewSpec value
       return this;
     }
     /**
+     *
+     *
      * 
      * Table view specification. This field should only be populated if
      * `table_source_type` is `BIGQUERY_VIEW`.
@@ -838,6 +959,8 @@ public Builder clearViewSpec() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Table view specification. This field should only be populated if
      * `table_source_type` is `BIGQUERY_VIEW`.
@@ -849,6 +972,8 @@ public com.google.cloud.datacatalog.v1beta1.ViewSpec.Builder getViewSpecBuilder(
       return getViewSpecFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Table view specification. This field should only be populated if
      * `table_source_type` is `BIGQUERY_VIEW`.
@@ -868,6 +993,8 @@ public com.google.cloud.datacatalog.v1beta1.ViewSpecOrBuilder getViewSpecOrBuild
       }
     }
     /**
+     *
+     *
      * 
      * Table view specification. This field should only be populated if
      * `table_source_type` is `BIGQUERY_VIEW`.
@@ -876,14 +1003,19 @@ public com.google.cloud.datacatalog.v1beta1.ViewSpecOrBuilder getViewSpecOrBuild
      * .google.cloud.datacatalog.v1beta1.ViewSpec view_spec = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1beta1.ViewSpec, com.google.cloud.datacatalog.v1beta1.ViewSpec.Builder, com.google.cloud.datacatalog.v1beta1.ViewSpecOrBuilder> 
+            com.google.cloud.datacatalog.v1beta1.ViewSpec,
+            com.google.cloud.datacatalog.v1beta1.ViewSpec.Builder,
+            com.google.cloud.datacatalog.v1beta1.ViewSpecOrBuilder>
         getViewSpecFieldBuilder() {
       if (viewSpecBuilder_ == null) {
         if (!(typeSpecCase_ == 2)) {
           typeSpec_ = com.google.cloud.datacatalog.v1beta1.ViewSpec.getDefaultInstance();
         }
-        viewSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1beta1.ViewSpec, com.google.cloud.datacatalog.v1beta1.ViewSpec.Builder, com.google.cloud.datacatalog.v1beta1.ViewSpecOrBuilder>(
+        viewSpecBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.datacatalog.v1beta1.ViewSpec,
+                com.google.cloud.datacatalog.v1beta1.ViewSpec.Builder,
+                com.google.cloud.datacatalog.v1beta1.ViewSpecOrBuilder>(
                 (com.google.cloud.datacatalog.v1beta1.ViewSpec) typeSpec_,
                 getParentForChildren(),
                 isClean());
@@ -895,14 +1027,20 @@ public com.google.cloud.datacatalog.v1beta1.ViewSpecOrBuilder getViewSpecOrBuild
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1beta1.TableSpec, com.google.cloud.datacatalog.v1beta1.TableSpec.Builder, com.google.cloud.datacatalog.v1beta1.TableSpecOrBuilder> tableSpecBuilder_;
+            com.google.cloud.datacatalog.v1beta1.TableSpec,
+            com.google.cloud.datacatalog.v1beta1.TableSpec.Builder,
+            com.google.cloud.datacatalog.v1beta1.TableSpecOrBuilder>
+        tableSpecBuilder_;
     /**
+     *
+     *
      * 
      * Spec of a BigQuery table. This field should only be populated if
      * `table_source_type` is `BIGQUERY_TABLE`.
      * 
* * .google.cloud.datacatalog.v1beta1.TableSpec table_spec = 3; + * * @return Whether the tableSpec field is set. */ @java.lang.Override @@ -910,12 +1048,15 @@ public boolean hasTableSpec() { return typeSpecCase_ == 3; } /** + * + * *
      * Spec of a BigQuery table. This field should only be populated if
      * `table_source_type` is `BIGQUERY_TABLE`.
      * 
* * .google.cloud.datacatalog.v1beta1.TableSpec table_spec = 3; + * * @return The tableSpec. */ @java.lang.Override @@ -933,6 +1074,8 @@ public com.google.cloud.datacatalog.v1beta1.TableSpec getTableSpec() { } } /** + * + * *
      * Spec of a BigQuery table. This field should only be populated if
      * `table_source_type` is `BIGQUERY_TABLE`.
@@ -954,6 +1097,8 @@ public Builder setTableSpec(com.google.cloud.datacatalog.v1beta1.TableSpec value
       return this;
     }
     /**
+     *
+     *
      * 
      * Spec of a BigQuery table. This field should only be populated if
      * `table_source_type` is `BIGQUERY_TABLE`.
@@ -973,6 +1118,8 @@ public Builder setTableSpec(
       return this;
     }
     /**
+     *
+     *
      * 
      * Spec of a BigQuery table. This field should only be populated if
      * `table_source_type` is `BIGQUERY_TABLE`.
@@ -982,10 +1129,13 @@ public Builder setTableSpec(
      */
     public Builder mergeTableSpec(com.google.cloud.datacatalog.v1beta1.TableSpec value) {
       if (tableSpecBuilder_ == null) {
-        if (typeSpecCase_ == 3 &&
-            typeSpec_ != com.google.cloud.datacatalog.v1beta1.TableSpec.getDefaultInstance()) {
-          typeSpec_ = com.google.cloud.datacatalog.v1beta1.TableSpec.newBuilder((com.google.cloud.datacatalog.v1beta1.TableSpec) typeSpec_)
-              .mergeFrom(value).buildPartial();
+        if (typeSpecCase_ == 3
+            && typeSpec_ != com.google.cloud.datacatalog.v1beta1.TableSpec.getDefaultInstance()) {
+          typeSpec_ =
+              com.google.cloud.datacatalog.v1beta1.TableSpec.newBuilder(
+                      (com.google.cloud.datacatalog.v1beta1.TableSpec) typeSpec_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           typeSpec_ = value;
         }
@@ -1001,6 +1151,8 @@ public Builder mergeTableSpec(com.google.cloud.datacatalog.v1beta1.TableSpec val
       return this;
     }
     /**
+     *
+     *
      * 
      * Spec of a BigQuery table. This field should only be populated if
      * `table_source_type` is `BIGQUERY_TABLE`.
@@ -1025,6 +1177,8 @@ public Builder clearTableSpec() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Spec of a BigQuery table. This field should only be populated if
      * `table_source_type` is `BIGQUERY_TABLE`.
@@ -1036,6 +1190,8 @@ public com.google.cloud.datacatalog.v1beta1.TableSpec.Builder getTableSpecBuilde
       return getTableSpecFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Spec of a BigQuery table. This field should only be populated if
      * `table_source_type` is `BIGQUERY_TABLE`.
@@ -1055,6 +1211,8 @@ public com.google.cloud.datacatalog.v1beta1.TableSpecOrBuilder getTableSpecOrBui
       }
     }
     /**
+     *
+     *
      * 
      * Spec of a BigQuery table. This field should only be populated if
      * `table_source_type` is `BIGQUERY_TABLE`.
@@ -1063,14 +1221,19 @@ public com.google.cloud.datacatalog.v1beta1.TableSpecOrBuilder getTableSpecOrBui
      * .google.cloud.datacatalog.v1beta1.TableSpec table_spec = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1beta1.TableSpec, com.google.cloud.datacatalog.v1beta1.TableSpec.Builder, com.google.cloud.datacatalog.v1beta1.TableSpecOrBuilder> 
+            com.google.cloud.datacatalog.v1beta1.TableSpec,
+            com.google.cloud.datacatalog.v1beta1.TableSpec.Builder,
+            com.google.cloud.datacatalog.v1beta1.TableSpecOrBuilder>
         getTableSpecFieldBuilder() {
       if (tableSpecBuilder_ == null) {
         if (!(typeSpecCase_ == 3)) {
           typeSpec_ = com.google.cloud.datacatalog.v1beta1.TableSpec.getDefaultInstance();
         }
-        tableSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1beta1.TableSpec, com.google.cloud.datacatalog.v1beta1.TableSpec.Builder, com.google.cloud.datacatalog.v1beta1.TableSpecOrBuilder>(
+        tableSpecBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.datacatalog.v1beta1.TableSpec,
+                com.google.cloud.datacatalog.v1beta1.TableSpec.Builder,
+                com.google.cloud.datacatalog.v1beta1.TableSpecOrBuilder>(
                 (com.google.cloud.datacatalog.v1beta1.TableSpec) typeSpec_,
                 getParentForChildren(),
                 isClean());
@@ -1080,9 +1243,9 @@ public com.google.cloud.datacatalog.v1beta1.TableSpecOrBuilder getTableSpecOrBui
       onChanged();
       return tableSpecBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1092,12 +1255,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.BigQueryTableSpec)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.BigQueryTableSpec)
   private static final com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec();
   }
@@ -1106,27 +1269,27 @@ public static com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec getDefaultI
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BigQueryTableSpec parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BigQueryTableSpec parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1141,6 +1304,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpecOrBuilder.java
similarity index 71%
rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpecOrBuilder.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpecOrBuilder.java
index f81c66f9562b..6095deacfd7e 100644
--- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpecOrBuilder.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpecOrBuilder.java
@@ -1,52 +1,86 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1beta1/table_spec.proto
 
 package com.google.cloud.datacatalog.v1beta1;
 
-public interface BigQueryTableSpecOrBuilder extends
+public interface BigQueryTableSpecOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.BigQueryTableSpec)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Output only. The table source type.
    * 
* - * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for tableSourceType. */ int getTableSourceTypeValue(); /** + * + * *
    * Output only. The table source type.
    * 
* - * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The tableSourceType. */ com.google.cloud.datacatalog.v1beta1.TableSourceType getTableSourceType(); /** + * + * *
    * Table view specification. This field should only be populated if
    * `table_source_type` is `BIGQUERY_VIEW`.
    * 
* * .google.cloud.datacatalog.v1beta1.ViewSpec view_spec = 2; + * * @return Whether the viewSpec field is set. */ boolean hasViewSpec(); /** + * + * *
    * Table view specification. This field should only be populated if
    * `table_source_type` is `BIGQUERY_VIEW`.
    * 
* * .google.cloud.datacatalog.v1beta1.ViewSpec view_spec = 2; + * * @return The viewSpec. */ com.google.cloud.datacatalog.v1beta1.ViewSpec getViewSpec(); /** + * + * *
    * Table view specification. This field should only be populated if
    * `table_source_type` is `BIGQUERY_VIEW`.
@@ -57,26 +91,34 @@ public interface BigQueryTableSpecOrBuilder extends
   com.google.cloud.datacatalog.v1beta1.ViewSpecOrBuilder getViewSpecOrBuilder();
 
   /**
+   *
+   *
    * 
    * Spec of a BigQuery table. This field should only be populated if
    * `table_source_type` is `BIGQUERY_TABLE`.
    * 
* * .google.cloud.datacatalog.v1beta1.TableSpec table_spec = 3; + * * @return Whether the tableSpec field is set. */ boolean hasTableSpec(); /** + * + * *
    * Spec of a BigQuery table. This field should only be populated if
    * `table_source_type` is `BIGQUERY_TABLE`.
    * 
* * .google.cloud.datacatalog.v1beta1.TableSpec table_spec = 3; + * * @return The tableSpec. */ com.google.cloud.datacatalog.v1beta1.TableSpec getTableSpec(); /** + * + * *
    * Spec of a BigQuery table. This field should only be populated if
    * `table_source_type` is `BIGQUERY_TABLE`.
diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchema.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchema.java
similarity index 69%
rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchema.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchema.java
index 5ed66682cf2e..e9cce0ab07db 100644
--- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchema.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchema.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/datacatalog/v1beta1/schema.proto
 
 package com.google.cloud.datacatalog.v1beta1;
 
 /**
+ *
+ *
  * 
  * Representation of a column within a schema. Columns could be nested inside
  * other columns.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.ColumnSchema}
  */
-public final class ColumnSchema extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ColumnSchema extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ColumnSchema)
     ColumnSchemaOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ColumnSchema.newBuilder() to construct.
   private ColumnSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ColumnSchema() {
     column_ = "";
     type_ = "";
@@ -30,33 +48,38 @@ private ColumnSchema() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ColumnSchema();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass
+        .internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass
+        .internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.ColumnSchema.class, com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.ColumnSchema.class,
+            com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder.class);
   }
 
   public static final int COLUMN_FIELD_NUMBER = 6;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object column_ = "";
   /**
+   *
+   *
    * 
    * Required. Name of the column.
    * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The column. */ @java.lang.Override @@ -65,29 +88,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; } } /** + * + * *
    * Required. Name of the column.
    * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -96,14 +119,18 @@ public java.lang.String getColumn() { } public static final int TYPE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object type_ = ""; /** + * + * *
    * Required. Type of the column.
    * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The type. */ @java.lang.Override @@ -112,29 +139,29 @@ public java.lang.String getType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } } /** + * + * *
    * Required. Type of the column.
    * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -143,14 +170,18 @@ public java.lang.String getType() { } public static final int DESCRIPTION_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. Description of the column. Default value is an empty string.
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -159,29 +190,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 column. Default value is an empty string.
    * 
* * 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 { @@ -190,9 +221,12 @@ public java.lang.String getDescription() { } public static final int MODE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object mode_ = ""; /** + * + * *
    * Optional. A column's mode indicates whether the values in this column are
    * required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are
@@ -200,6 +234,7 @@ public java.lang.String getDescription() {
    * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The mode. */ @java.lang.Override @@ -208,14 +243,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; } } /** + * + * *
    * Optional. A column's mode indicates whether the values in this column are
    * required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are
@@ -223,16 +259,15 @@ public java.lang.String getMode() {
    * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -241,64 +276,85 @@ public java.lang.String getMode() { } public static final int SUBCOLUMNS_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private java.util.List subcolumns_; /** + * + * *
    * Optional. Schema of sub-columns. A column can have zero or more
    * sub-columns.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List getSubcolumnsList() { return subcolumns_; } /** + * + * *
    * Optional. Schema of sub-columns. A column can have zero or more
    * sub-columns.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List getSubcolumnsOrBuilderList() { return subcolumns_; } /** + * + * *
    * Optional. Schema of sub-columns. A column can have zero or more
    * sub-columns.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getSubcolumnsCount() { return subcolumns_.size(); } /** + * + * *
    * Optional. Schema of sub-columns. A column can have zero or more
    * sub-columns.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.ColumnSchema getSubcolumns(int index) { return subcolumns_.get(index); } /** + * + * *
    * Optional. Schema of sub-columns. A column can have zero or more
    * sub-columns.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder getSubcolumnsOrBuilder( @@ -307,6 +363,7 @@ public com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder getSubcolumnsO } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -318,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_); } @@ -357,8 +413,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, column_); } for (int i = 0; i < subcolumns_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, subcolumns_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, subcolumns_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -368,23 +423,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.datacatalog.v1beta1.ColumnSchema)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.ColumnSchema other = (com.google.cloud.datacatalog.v1beta1.ColumnSchema) obj; - - if (!getColumn() - .equals(other.getColumn())) return false; - if (!getType() - .equals(other.getType())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getMode() - .equals(other.getMode())) return false; - if (!getSubcolumnsList() - .equals(other.getSubcolumnsList())) return false; + com.google.cloud.datacatalog.v1beta1.ColumnSchema other = + (com.google.cloud.datacatalog.v1beta1.ColumnSchema) obj; + + if (!getColumn().equals(other.getColumn())) return false; + if (!getType().equals(other.getType())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getMode().equals(other.getMode())) return false; + if (!getSubcolumnsList().equals(other.getSubcolumnsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -414,98 +465,103 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.ColumnSchema parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ColumnSchema parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ColumnSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ColumnSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ColumnSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ColumnSchema parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ColumnSchema parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.ColumnSchema parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.ColumnSchema parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ColumnSchema parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ColumnSchema parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.ColumnSchema parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ColumnSchema parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.ColumnSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.ColumnSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Representation of a column within a schema. Columns could be nested inside
    * other columns.
@@ -513,33 +569,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.ColumnSchema}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.ColumnSchema)
       com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass
+          .internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass
+          .internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.ColumnSchema.class, com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.ColumnSchema.class,
+              com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.ColumnSchema.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -559,9 +614,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass
+          .internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_descriptor;
     }
 
     @java.lang.Override
@@ -580,14 +635,18 @@ public com.google.cloud.datacatalog.v1beta1.ColumnSchema build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.ColumnSchema buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.ColumnSchema result = new com.google.cloud.datacatalog.v1beta1.ColumnSchema(this);
+      com.google.cloud.datacatalog.v1beta1.ColumnSchema result =
+          new com.google.cloud.datacatalog.v1beta1.ColumnSchema(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.ColumnSchema result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.datacatalog.v1beta1.ColumnSchema result) {
       if (subcolumnsBuilder_ == null) {
         if (((bitField0_ & 0x00000010) != 0)) {
           subcolumns_ = java.util.Collections.unmodifiableList(subcolumns_);
@@ -619,38 +678,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ColumnSchema 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.datacatalog.v1beta1.ColumnSchema) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ColumnSchema)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ColumnSchema) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -658,7 +718,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ColumnSchema other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.ColumnSchema.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.ColumnSchema.getDefaultInstance())
+        return this;
       if (!other.getColumn().isEmpty()) {
         column_ = other.column_;
         bitField0_ |= 0x00000001;
@@ -697,9 +758,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ColumnSchema other
             subcolumnsBuilder_ = null;
             subcolumns_ = other.subcolumns_;
             bitField0_ = (bitField0_ & ~0x00000010);
-            subcolumnsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getSubcolumnsFieldBuilder() : null;
+            subcolumnsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getSubcolumnsFieldBuilder()
+                    : null;
           } else {
             subcolumnsBuilder_.addAllMessages(other.subcolumns_);
           }
@@ -731,45 +793,51 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              type_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 10
-            case 18: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 18
-            case 26: {
-              mode_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 26
-            case 50: {
-              column_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 50
-            case 58: {
-              com.google.cloud.datacatalog.v1beta1.ColumnSchema m =
-                  input.readMessage(
-                      com.google.cloud.datacatalog.v1beta1.ColumnSchema.parser(),
-                      extensionRegistry);
-              if (subcolumnsBuilder_ == null) {
-                ensureSubcolumnsIsMutable();
-                subcolumns_.add(m);
-              } else {
-                subcolumnsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 58
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                type_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 10
+            case 18:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 18
+            case 26:
+              {
+                mode_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 26
+            case 50:
+              {
+                column_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 50
+            case 58:
+              {
+                com.google.cloud.datacatalog.v1beta1.ColumnSchema m =
+                    input.readMessage(
+                        com.google.cloud.datacatalog.v1beta1.ColumnSchema.parser(),
+                        extensionRegistry);
+                if (subcolumnsBuilder_ == null) {
+                  ensureSubcolumnsIsMutable();
+                  subcolumns_.add(m);
+                } else {
+                  subcolumnsBuilder_.addMessage(m);
+                }
+                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) {
@@ -779,22 +847,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object column_ = "";
     /**
+     *
+     *
      * 
      * Required. Name of the column.
      * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -803,20 +874,21 @@ public java.lang.String getColumn() { } } /** + * + * *
      * Required. Name of the column.
      * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -824,28 +896,35 @@ public java.lang.String getColumn() { } } /** + * + * *
      * Required. Name of the column.
      * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @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; } /** + * + * *
      * Required. Name of the column.
      * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearColumn() { @@ -855,17 +934,21 @@ public Builder clearColumn() { return this; } /** + * + * *
      * Required. Name of the column.
      * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -875,18 +958,20 @@ public Builder setColumnBytes( private java.lang.Object type_ = ""; /** + * + * *
      * Required. Type of the column.
      * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -895,20 +980,21 @@ public java.lang.String getType() { } } /** + * + * *
      * Required. Type of the column.
      * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -916,28 +1002,35 @@ public java.lang.String getType() { } } /** + * + * *
      * Required. Type of the column.
      * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; } /** + * + * *
      * Required. Type of the column.
      * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearType() { @@ -947,17 +1040,21 @@ public Builder clearType() { return this; } /** + * + * *
      * Required. Type of the column.
      * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -967,18 +1064,20 @@ public Builder setTypeBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description of the column. Default value is an empty string.
      * 
* * 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; @@ -987,20 +1086,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the column. Default value is an empty string.
      * 
* * 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 { @@ -1008,28 +1108,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the column. Default value is an empty string.
      * 
* * 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_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. Description of the column. Default value is an empty string.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1039,17 +1146,21 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. Description of the column. Default value is an empty string.
      * 
* * 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_ |= 0x00000004; @@ -1059,6 +1170,8 @@ public Builder setDescriptionBytes( private java.lang.Object mode_ = ""; /** + * + * *
      * Optional. A column's mode indicates whether the values in this column are
      * required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are
@@ -1066,13 +1179,13 @@ public Builder setDescriptionBytes(
      * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1081,6 +1194,8 @@ public java.lang.String getMode() { } } /** + * + * *
      * Optional. A column's mode indicates whether the values in this column are
      * required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are
@@ -1088,15 +1203,14 @@ public java.lang.String getMode() {
      * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -1104,6 +1218,8 @@ public java.lang.String getMode() { } } /** + * + * *
      * Optional. A column's mode indicates whether the values in this column are
      * required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are
@@ -1111,18 +1227,22 @@ public java.lang.String getMode() {
      * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. A column's mode indicates whether the values in this column are
      * required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are
@@ -1130,6 +1250,7 @@ public Builder setMode(
      * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearMode() { @@ -1139,6 +1260,8 @@ public Builder clearMode() { return this; } /** + * + * *
      * Optional. A column's mode indicates whether the values in this column are
      * required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are
@@ -1146,12 +1269,14 @@ public Builder clearMode() {
      * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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_ |= 0x00000008; @@ -1160,24 +1285,33 @@ public Builder setModeBytes( } private java.util.List subcolumns_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureSubcolumnsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - subcolumns_ = new java.util.ArrayList(subcolumns_); + subcolumns_ = + new java.util.ArrayList(subcolumns_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.ColumnSchema, com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder, com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder> subcolumnsBuilder_; + com.google.cloud.datacatalog.v1beta1.ColumnSchema, + com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder, + com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder> + subcolumnsBuilder_; /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getSubcolumnsList() { if (subcolumnsBuilder_ == null) { @@ -1187,12 +1321,16 @@ public java.util.List getSubc } } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getSubcolumnsCount() { if (subcolumnsBuilder_ == null) { @@ -1202,12 +1340,16 @@ public int getSubcolumnsCount() { } } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.datacatalog.v1beta1.ColumnSchema getSubcolumns(int index) { if (subcolumnsBuilder_ == null) { @@ -1217,12 +1359,16 @@ public com.google.cloud.datacatalog.v1beta1.ColumnSchema getSubcolumns(int index } } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setSubcolumns( int index, com.google.cloud.datacatalog.v1beta1.ColumnSchema value) { @@ -1239,12 +1385,16 @@ public Builder setSubcolumns( return this; } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setSubcolumns( int index, com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder builderForValue) { @@ -1258,12 +1408,16 @@ public Builder setSubcolumns( return this; } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addSubcolumns(com.google.cloud.datacatalog.v1beta1.ColumnSchema value) { if (subcolumnsBuilder_ == null) { @@ -1279,12 +1433,16 @@ public Builder addSubcolumns(com.google.cloud.datacatalog.v1beta1.ColumnSchema v return this; } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addSubcolumns( int index, com.google.cloud.datacatalog.v1beta1.ColumnSchema value) { @@ -1301,12 +1459,16 @@ public Builder addSubcolumns( return this; } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addSubcolumns( com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder builderForValue) { @@ -1320,12 +1482,16 @@ public Builder addSubcolumns( return this; } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addSubcolumns( int index, com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder builderForValue) { @@ -1339,19 +1505,22 @@ public Builder addSubcolumns( return this; } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllSubcolumns( java.lang.Iterable values) { if (subcolumnsBuilder_ == null) { ensureSubcolumnsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, subcolumns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, subcolumns_); onChanged(); } else { subcolumnsBuilder_.addAllMessages(values); @@ -1359,12 +1528,16 @@ public Builder addAllSubcolumns( return this; } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearSubcolumns() { if (subcolumnsBuilder_ == null) { @@ -1377,12 +1550,16 @@ public Builder clearSubcolumns() { return this; } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeSubcolumns(int index) { if (subcolumnsBuilder_ == null) { @@ -1395,42 +1572,55 @@ public Builder removeSubcolumns(int index) { return this; } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder getSubcolumnsBuilder( int index) { return getSubcolumnsFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder getSubcolumnsOrBuilder( int index) { if (subcolumnsBuilder_ == null) { - return subcolumns_.get(index); } else { + return subcolumns_.get(index); + } else { return subcolumnsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getSubcolumnsOrBuilderList() { + public java.util.List + getSubcolumnsOrBuilderList() { if (subcolumnsBuilder_ != null) { return subcolumnsBuilder_.getMessageOrBuilderList(); } else { @@ -1438,59 +1628,75 @@ public com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder getSubcolumnsO } } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder addSubcolumnsBuilder() { - return getSubcolumnsFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1beta1.ColumnSchema.getDefaultInstance()); + return getSubcolumnsFieldBuilder() + .addBuilder(com.google.cloud.datacatalog.v1beta1.ColumnSchema.getDefaultInstance()); } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder addSubcolumnsBuilder( int index) { - return getSubcolumnsFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1beta1.ColumnSchema.getDefaultInstance()); + return getSubcolumnsFieldBuilder() + .addBuilder( + index, com.google.cloud.datacatalog.v1beta1.ColumnSchema.getDefaultInstance()); } /** + * + * *
      * Optional. Schema of sub-columns. A column can have zero or more
      * sub-columns.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getSubcolumnsBuilderList() { + public java.util.List + getSubcolumnsBuilderList() { return getSubcolumnsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.ColumnSchema, com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder, com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder> + com.google.cloud.datacatalog.v1beta1.ColumnSchema, + com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder, + com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder> getSubcolumnsFieldBuilder() { if (subcolumnsBuilder_ == null) { - subcolumnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.ColumnSchema, com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder, com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder>( - subcolumns_, - ((bitField0_ & 0x00000010) != 0), - getParentForChildren(), - isClean()); + subcolumnsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.ColumnSchema, + com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder, + com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder>( + subcolumns_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); subcolumns_ = null; } return subcolumnsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1500,12 +1706,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ColumnSchema) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ColumnSchema) private static final com.google.cloud.datacatalog.v1beta1.ColumnSchema DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ColumnSchema(); } @@ -1514,27 +1720,27 @@ public static com.google.cloud.datacatalog.v1beta1.ColumnSchema getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ColumnSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ColumnSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1549,6 +1755,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.ColumnSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchemaOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchemaOrBuilder.java similarity index 64% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchemaOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchemaOrBuilder.java index cc1404ea6214..d17eeebb7c4a 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchemaOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchemaOrBuilder.java @@ -1,73 +1,106 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/schema.proto package com.google.cloud.datacatalog.v1beta1; -public interface ColumnSchemaOrBuilder extends +public interface ColumnSchemaOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ColumnSchema) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Name of the column.
    * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The column. */ java.lang.String getColumn(); /** + * + * *
    * Required. Name of the column.
    * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for column. */ - com.google.protobuf.ByteString - getColumnBytes(); + com.google.protobuf.ByteString getColumnBytes(); /** + * + * *
    * Required. Type of the column.
    * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The type. */ java.lang.String getType(); /** + * + * *
    * Required. Type of the column.
    * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for type. */ - com.google.protobuf.ByteString - getTypeBytes(); + com.google.protobuf.ByteString getTypeBytes(); /** + * + * *
    * Optional. Description of the column. Default value is an empty string.
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. Description of the column. Default value is an empty string.
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Optional. A column's mode indicates whether the values in this column are
    * required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are
@@ -75,10 +108,13 @@ public interface ColumnSchemaOrBuilder extends
    * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The mode. */ java.lang.String getMode(); /** + * + * *
    * Optional. A column's mode indicates whether the values in this column are
    * required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are
@@ -86,57 +122,75 @@ public interface ColumnSchemaOrBuilder extends
    * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for mode. */ - com.google.protobuf.ByteString - getModeBytes(); + com.google.protobuf.ByteString getModeBytes(); /** + * + * *
    * Optional. Schema of sub-columns. A column can have zero or more
    * sub-columns.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List - getSubcolumnsList(); + java.util.List getSubcolumnsList(); /** + * + * *
    * Optional. Schema of sub-columns. A column can have zero or more
    * sub-columns.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.datacatalog.v1beta1.ColumnSchema getSubcolumns(int index); /** + * + * *
    * Optional. Schema of sub-columns. A column can have zero or more
    * sub-columns.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getSubcolumnsCount(); /** + * + * *
    * Optional. Schema of sub-columns. A column can have zero or more
    * sub-columns.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getSubcolumnsOrBuilderList(); /** + * + * *
    * Optional. Schema of sub-columns. A column can have zero or more
    * sub-columns.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder getSubcolumnsOrBuilder( - int index); + com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder getSubcolumnsOrBuilder(int index); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Common.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Common.java new file mode 100644 index 000000000000..654bd7c26b27 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Common.java @@ -0,0 +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/datacatalog/v1beta1/common.proto + +package com.google.cloud.datacatalog.v1beta1; + +public final class Common { + private Common() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + 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/datacatalog/v1beta1/commo" + + "n.proto\022 google.cloud.datacatalog.v1beta" + + "1*U\n\020IntegratedSystem\022!\n\035INTEGRATED_SYST" + + "EM_UNSPECIFIED\020\000\022\014\n\010BIGQUERY\020\001\022\020\n\014CLOUD_" + + "PUBSUB\020\002*j\n\016ManagingSystem\022\037\n\033MANAGING_S" + + "YSTEM_UNSPECIFIED\020\000\022\034\n\030MANAGING_SYSTEM_D" + + "ATAPLEX\020\001\022\031\n\025MANAGING_SYSTEM_OTHER\020\002B\337\001\n" + + "$com.google.cloud.datacatalog.v1beta1P\001Z" + + "Fcloud.google.com/go/datacatalog/apiv1be" + + "ta1/datacatalogpb;datacatalogpb\370\001\001\252\002 Goo" + + "gle.Cloud.DataCatalog.V1Beta1\312\002 Google\\C" + + "loud\\DataCatalog\\V1beta1\352\002#Google::Cloud" + + "::DataCatalog::V1beta1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequest.java similarity index 68% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequest.java index 327b41eea09e..502273b2f037 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequest.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Request message for
  * [CreateEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntryGroup].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest}
  */
-public final class CreateEntryGroupRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CreateEntryGroupRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest)
     CreateEntryGroupRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CreateEntryGroupRequest.newBuilder() to construct.
   private CreateEntryGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CreateEntryGroupRequest() {
     parent_ = "";
     entryGroupId_ = "";
@@ -27,28 +45,32 @@ private CreateEntryGroupRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateEntryGroupRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest.class, com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest.class,
+            com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the project this entry group is in. Example:
    *
@@ -58,7 +80,10 @@ protected java.lang.Object newInstance(
    * stored in the location in this name.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,14 +92,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the project this entry group is in. Example:
    *
@@ -84,17 +110,18 @@ public java.lang.String getParent() {
    * stored in the location in this name.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -103,9 +130,12 @@ public java.lang.String getParent() { } public static final int ENTRY_GROUP_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object entryGroupId_ = ""; /** + * + * *
    * Required. The id of the entry group to create.
    * The id must begin with a letter or underscore, contain only English
@@ -113,6 +143,7 @@ public java.lang.String getParent() {
    * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The entryGroupId. */ @java.lang.Override @@ -121,14 +152,15 @@ public java.lang.String getEntryGroupId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entryGroupId_ = s; return s; } } /** + * + * *
    * Required. The id of the entry group to create.
    * The id must begin with a letter or underscore, contain only English
@@ -136,16 +168,15 @@ public java.lang.String getEntryGroupId() {
    * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for entryGroupId. */ @java.lang.Override - public com.google.protobuf.ByteString - getEntryGroupIdBytes() { + public com.google.protobuf.ByteString getEntryGroupIdBytes() { java.lang.Object ref = entryGroupId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); entryGroupId_ = b; return b; } else { @@ -156,11 +187,14 @@ public java.lang.String getEntryGroupId() { public static final int ENTRY_GROUP_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1beta1.EntryGroup entryGroup_; /** + * + * *
    * The entry group to create. Defaults to an empty entry group.
    * 
* * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 2; + * * @return Whether the entryGroup field is set. */ @java.lang.Override @@ -168,18 +202,25 @@ public boolean hasEntryGroup() { return entryGroup_ != null; } /** + * + * *
    * The entry group to create. Defaults to an empty entry group.
    * 
* * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 2; + * * @return The entryGroup. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroup() { - return entryGroup_ == null ? com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance() : entryGroup_; + return entryGroup_ == null + ? com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance() + : entryGroup_; } /** + * + * *
    * The entry group to create. Defaults to an empty entry group.
    * 
@@ -188,10 +229,13 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroup() { */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupOrBuilder() { - return entryGroup_ == null ? com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance() : entryGroup_; + return entryGroup_ == null + ? com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance() + : entryGroup_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,8 +247,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -227,8 +270,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (entryGroup_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEntryGroup()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEntryGroup()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entryGroupId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, entryGroupId_); @@ -241,21 +283,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.datacatalog.v1beta1.CreateEntryGroupRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest other = (com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest) obj; + com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest other = + (com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getEntryGroupId() - .equals(other.getEntryGroupId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getEntryGroupId().equals(other.getEntryGroupId())) return false; if (hasEntryGroup() != other.hasEntryGroup()) return false; if (hasEntryGroup()) { - if (!getEntryGroup() - .equals(other.getEntryGroup())) return false; + if (!getEntryGroup().equals(other.getEntryGroup())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -282,98 +322,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CreateEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntryGroup].
@@ -381,33 +427,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest)
       com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest.class, com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest.class,
+              com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -423,13 +468,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest getDefaultInstanceForType() {
+    public com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest.getDefaultInstance();
     }
 
@@ -444,13 +490,17 @@ public com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest result = new com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest result =
+          new com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest result) {
+    private void buildPartial0(
+        com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -459,9 +509,7 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.CreateEntryGroup
         result.entryGroupId_ = entryGroupId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.entryGroup_ = entryGroupBuilder_ == null
-            ? entryGroup_
-            : entryGroupBuilder_.build();
+        result.entryGroup_ = entryGroupBuilder_ == null ? entryGroup_ : entryGroupBuilder_.build();
       }
     }
 
@@ -469,38 +517,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.CreateEntryGroup
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -508,7 +557,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -548,29 +599,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getEntryGroupFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 18
-            case 26: {
-              entryGroupId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getEntryGroupFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 18
+            case 26:
+              {
+                entryGroupId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -580,10 +633,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the project this entry group is in. Example:
      *
@@ -593,14 +649,16 @@ public Builder mergeFrom(
      * stored in the location in this name.
      * 
* - * string parent = 1 [(.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,6 +667,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the project this entry group is in. Example:
      *
@@ -618,16 +678,17 @@ public java.lang.String getParent() {
      * stored in the location in this name.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -635,6 +696,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the project this entry group is in. Example:
      *
@@ -644,19 +707,25 @@ public java.lang.String getParent() {
      * stored in the location in this name.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the project this entry group is in. Example:
      *
@@ -666,7 +735,10 @@ public Builder setParent(
      * stored in the location in this name.
      * 
* - * string 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() { @@ -676,6 +748,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the project this entry group is in. Example:
      *
@@ -685,13 +759,17 @@ public Builder clearParent() {
      * stored in the location in this name.
      * 
* - * 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; @@ -701,6 +779,8 @@ public Builder setParentBytes( private java.lang.Object entryGroupId_ = ""; /** + * + * *
      * Required. The id of the entry group to create.
      * The id must begin with a letter or underscore, contain only English
@@ -708,13 +788,13 @@ public Builder setParentBytes(
      * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The entryGroupId. */ public java.lang.String getEntryGroupId() { java.lang.Object ref = entryGroupId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entryGroupId_ = s; return s; @@ -723,6 +803,8 @@ public java.lang.String getEntryGroupId() { } } /** + * + * *
      * Required. The id of the entry group to create.
      * The id must begin with a letter or underscore, contain only English
@@ -730,15 +812,14 @@ public java.lang.String getEntryGroupId() {
      * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for entryGroupId. */ - public com.google.protobuf.ByteString - getEntryGroupIdBytes() { + public com.google.protobuf.ByteString getEntryGroupIdBytes() { java.lang.Object ref = entryGroupId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); entryGroupId_ = b; return b; } else { @@ -746,6 +827,8 @@ public java.lang.String getEntryGroupId() { } } /** + * + * *
      * Required. The id of the entry group to create.
      * The id must begin with a letter or underscore, contain only English
@@ -753,18 +836,22 @@ public java.lang.String getEntryGroupId() {
      * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The entryGroupId to set. * @return This builder for chaining. */ - public Builder setEntryGroupId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEntryGroupId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } entryGroupId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The id of the entry group to create.
      * The id must begin with a letter or underscore, contain only English
@@ -772,6 +859,7 @@ public Builder setEntryGroupId(
      * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearEntryGroupId() { @@ -781,6 +869,8 @@ public Builder clearEntryGroupId() { return this; } /** + * + * *
      * Required. The id of the entry group to create.
      * The id must begin with a letter or underscore, contain only English
@@ -788,12 +878,14 @@ public Builder clearEntryGroupId() {
      * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for entryGroupId to set. * @return This builder for chaining. */ - public Builder setEntryGroupIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEntryGroupIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); entryGroupId_ = value; bitField0_ |= 0x00000002; @@ -803,34 +895,47 @@ public Builder setEntryGroupIdBytes( private com.google.cloud.datacatalog.v1beta1.EntryGroup entryGroup_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.EntryGroup, com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder, com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder> entryGroupBuilder_; + com.google.cloud.datacatalog.v1beta1.EntryGroup, + com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder, + com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder> + entryGroupBuilder_; /** + * + * *
      * The entry group to create. Defaults to an empty entry group.
      * 
* * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 2; + * * @return Whether the entryGroup field is set. */ public boolean hasEntryGroup() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The entry group to create. Defaults to an empty entry group.
      * 
* * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 2; + * * @return The entryGroup. */ public com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroup() { if (entryGroupBuilder_ == null) { - return entryGroup_ == null ? com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance() : entryGroup_; + return entryGroup_ == null + ? com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance() + : entryGroup_; } else { return entryGroupBuilder_.getMessage(); } } /** + * + * *
      * The entry group to create. Defaults to an empty entry group.
      * 
@@ -851,6 +956,8 @@ public Builder setEntryGroup(com.google.cloud.datacatalog.v1beta1.EntryGroup val return this; } /** + * + * *
      * The entry group to create. Defaults to an empty entry group.
      * 
@@ -869,6 +976,8 @@ public Builder setEntryGroup( return this; } /** + * + * *
      * The entry group to create. Defaults to an empty entry group.
      * 
@@ -877,9 +986,10 @@ public Builder setEntryGroup( */ public Builder mergeEntryGroup(com.google.cloud.datacatalog.v1beta1.EntryGroup value) { if (entryGroupBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - entryGroup_ != null && - entryGroup_ != com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && entryGroup_ != null + && entryGroup_ + != com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance()) { getEntryGroupBuilder().mergeFrom(value); } else { entryGroup_ = value; @@ -892,6 +1002,8 @@ public Builder mergeEntryGroup(com.google.cloud.datacatalog.v1beta1.EntryGroup v return this; } /** + * + * *
      * The entry group to create. Defaults to an empty entry group.
      * 
@@ -909,6 +1021,8 @@ public Builder clearEntryGroup() { return this; } /** + * + * *
      * The entry group to create. Defaults to an empty entry group.
      * 
@@ -921,6 +1035,8 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder getEntryGroupBuil return getEntryGroupFieldBuilder().getBuilder(); } /** + * + * *
      * The entry group to create. Defaults to an empty entry group.
      * 
@@ -931,11 +1047,14 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupOrB if (entryGroupBuilder_ != null) { return entryGroupBuilder_.getMessageOrBuilder(); } else { - return entryGroup_ == null ? - com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance() : entryGroup_; + return entryGroup_ == null + ? com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance() + : entryGroup_; } } /** + * + * *
      * The entry group to create. Defaults to an empty entry group.
      * 
@@ -943,21 +1062,24 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupOrB * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.EntryGroup, com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder, com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder> + com.google.cloud.datacatalog.v1beta1.EntryGroup, + com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder, + com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder> getEntryGroupFieldBuilder() { if (entryGroupBuilder_ == null) { - entryGroupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.EntryGroup, com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder, com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder>( - getEntryGroup(), - getParentForChildren(), - isClean()); + entryGroupBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.EntryGroup, + com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder, + com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder>( + getEntryGroup(), getParentForChildren(), isClean()); entryGroup_ = null; } return entryGroupBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -967,12 +1089,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest) - private static final com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest DEFAULT_INSTANCE; + private static final com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest(); } @@ -981,27 +1104,27 @@ public static com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateEntryGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateEntryGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1016,6 +1139,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequestOrBuilder.java index cbd8f6892995..da619e83d4a9 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequestOrBuilder.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface CreateEntryGroupRequestOrBuilder extends +public interface CreateEntryGroupRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the project this entry group is in. Example:
    *
@@ -17,11 +35,16 @@ public interface CreateEntryGroupRequestOrBuilder extends
    * stored in the location in this name.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the project this entry group is in. Example:
    *
@@ -31,13 +54,17 @@ public interface CreateEntryGroupRequestOrBuilder extends
    * stored in the location in this name.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The id of the entry group to create.
    * The id must begin with a letter or underscore, contain only English
@@ -45,10 +72,13 @@ public interface CreateEntryGroupRequestOrBuilder extends
    * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The entryGroupId. */ java.lang.String getEntryGroupId(); /** + * + * *
    * Required. The id of the entry group to create.
    * The id must begin with a letter or underscore, contain only English
@@ -56,30 +86,38 @@ public interface CreateEntryGroupRequestOrBuilder extends
    * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for entryGroupId. */ - com.google.protobuf.ByteString - getEntryGroupIdBytes(); + com.google.protobuf.ByteString getEntryGroupIdBytes(); /** + * + * *
    * The entry group to create. Defaults to an empty entry group.
    * 
* * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 2; + * * @return Whether the entryGroup field is set. */ boolean hasEntryGroup(); /** + * + * *
    * The entry group to create. Defaults to an empty entry group.
    * 
* * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 2; + * * @return The entryGroup. */ com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroup(); /** + * + * *
    * The entry group to create. Defaults to an empty entry group.
    * 
diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequest.java similarity index 63% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequest.java index 88197d205c86..3ac34f05d392 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequest.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Request message for
  * [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.CreateEntryRequest}
  */
-public final class CreateEntryRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CreateEntryRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.CreateEntryRequest)
     CreateEntryRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CreateEntryRequest.newBuilder() to construct.
   private CreateEntryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CreateEntryRequest() {
     parent_ = "";
     entryId_ = "";
@@ -27,28 +45,32 @@ private CreateEntryRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateEntryRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.CreateEntryRequest.class, com.google.cloud.datacatalog.v1beta1.CreateEntryRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.CreateEntryRequest.class,
+            com.google.cloud.datacatalog.v1beta1.CreateEntryRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the entry group this entry is in. Example:
    *
@@ -58,7 +80,10 @@ protected java.lang.Object newInstance(
    * the location in this name.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,14 +92,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the entry group this entry is in. Example:
    *
@@ -84,17 +110,18 @@ public java.lang.String getParent() {
    * the location in this name.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -103,14 +130,18 @@ public java.lang.String getParent() { } public static final int ENTRY_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object entryId_ = ""; /** + * + * *
    * Required. The id of the entry to create.
    * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The entryId. */ @java.lang.Override @@ -119,29 +150,29 @@ public java.lang.String getEntryId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entryId_ = s; return s; } } /** + * + * *
    * Required. The id of the entry to create.
    * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for entryId. */ @java.lang.Override - public com.google.protobuf.ByteString - getEntryIdBytes() { + public com.google.protobuf.ByteString getEntryIdBytes() { java.lang.Object ref = entryId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); entryId_ = b; return b; } else { @@ -152,11 +183,16 @@ public java.lang.String getEntryId() { public static final int ENTRY_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1beta1.Entry entry_; /** + * + * *
    * Required. The entry to create.
    * 
* - * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the entry field is set. */ @java.lang.Override @@ -164,30 +200,44 @@ public boolean hasEntry() { return entry_ != null; } /** + * + * *
    * Required. The entry to create.
    * 
* - * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The entry. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.Entry getEntry() { - return entry_ == null ? com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance() : entry_; + return entry_ == null + ? com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance() + : entry_; } /** + * + * *
    * Required. The entry to create.
    * 
* - * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntryOrBuilder() { - return entry_ == null ? com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance() : entry_; + return entry_ == null + ? com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance() + : entry_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,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_); } @@ -223,8 +272,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (entry_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEntry()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEntry()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entryId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, entryId_); @@ -237,21 +285,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.datacatalog.v1beta1.CreateEntryRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.CreateEntryRequest other = (com.google.cloud.datacatalog.v1beta1.CreateEntryRequest) obj; + com.google.cloud.datacatalog.v1beta1.CreateEntryRequest other = + (com.google.cloud.datacatalog.v1beta1.CreateEntryRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getEntryId() - .equals(other.getEntryId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getEntryId().equals(other.getEntryId())) return false; if (hasEntry() != other.hasEntry()) return false; if (hasEntry()) { - if (!getEntry() - .equals(other.getEntry())) return false; + if (!getEntry().equals(other.getEntry())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -278,98 +324,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.CreateEntryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.CreateEntryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.CreateEntryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.CreateEntryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.CreateEntryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.CreateEntryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateEntryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.CreateEntryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.CreateEntryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateEntryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.CreateEntryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.CreateEntryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.CreateEntryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.CreateEntryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.CreateEntryRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.CreateEntryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry].
@@ -377,33 +429,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.CreateEntryRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.CreateEntryRequest)
       com.google.cloud.datacatalog.v1beta1.CreateEntryRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.CreateEntryRequest.class, com.google.cloud.datacatalog.v1beta1.CreateEntryRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.CreateEntryRequest.class,
+              com.google.cloud.datacatalog.v1beta1.CreateEntryRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.CreateEntryRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -419,9 +470,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_descriptor;
     }
 
     @java.lang.Override
@@ -440,8 +491,11 @@ public com.google.cloud.datacatalog.v1beta1.CreateEntryRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.CreateEntryRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.CreateEntryRequest result = new com.google.cloud.datacatalog.v1beta1.CreateEntryRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.CreateEntryRequest result =
+          new com.google.cloud.datacatalog.v1beta1.CreateEntryRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -455,9 +509,7 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.CreateEntryReque
         result.entryId_ = entryId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.entry_ = entryBuilder_ == null
-            ? entry_
-            : entryBuilder_.build();
+        result.entry_ = entryBuilder_ == null ? entry_ : entryBuilder_.build();
       }
     }
 
@@ -465,38 +517,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.CreateEntryReque
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.CreateEntryRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.CreateEntryRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.CreateEntryRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -504,7 +557,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.CreateEntryRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.CreateEntryRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.CreateEntryRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -544,29 +598,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getEntryFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 18
-            case 26: {
-              entryId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getEntryFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 18
+            case 26:
+              {
+                entryId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -576,10 +632,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the entry group this entry is in. Example:
      *
@@ -589,14 +648,16 @@ public Builder mergeFrom(
      * the location in this name.
      * 
* - * string parent = 1 [(.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; @@ -605,6 +666,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the entry group this entry is in. Example:
      *
@@ -614,16 +677,17 @@ public java.lang.String getParent() {
      * the location in this name.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -631,6 +695,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the entry group this entry is in. Example:
      *
@@ -640,19 +706,25 @@ public java.lang.String getParent() {
      * the location in this name.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the entry group this entry is in. Example:
      *
@@ -662,7 +734,10 @@ public Builder setParent(
      * the location in this name.
      * 
* - * string 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() { @@ -672,6 +747,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the entry group this entry is in. Example:
      *
@@ -681,13 +758,17 @@ public Builder clearParent() {
      * the location in this name.
      * 
* - * 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; @@ -697,18 +778,20 @@ public Builder setParentBytes( private java.lang.Object entryId_ = ""; /** + * + * *
      * Required. The id of the entry to create.
      * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The entryId. */ public java.lang.String getEntryId() { java.lang.Object ref = entryId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entryId_ = s; return s; @@ -717,20 +800,21 @@ public java.lang.String getEntryId() { } } /** + * + * *
      * Required. The id of the entry to create.
      * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for entryId. */ - public com.google.protobuf.ByteString - getEntryIdBytes() { + public com.google.protobuf.ByteString getEntryIdBytes() { java.lang.Object ref = entryId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); entryId_ = b; return b; } else { @@ -738,28 +822,35 @@ public java.lang.String getEntryId() { } } /** + * + * *
      * Required. The id of the entry to create.
      * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The entryId to set. * @return This builder for chaining. */ - public Builder setEntryId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEntryId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } entryId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The id of the entry to create.
      * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearEntryId() { @@ -769,17 +860,21 @@ public Builder clearEntryId() { return this; } /** + * + * *
      * Required. The id of the entry to create.
      * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for entryId to set. * @return This builder for chaining. */ - public Builder setEntryIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEntryIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); entryId_ = value; bitField0_ |= 0x00000002; @@ -789,39 +884,58 @@ public Builder setEntryIdBytes( private com.google.cloud.datacatalog.v1beta1.Entry entry_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Entry, com.google.cloud.datacatalog.v1beta1.Entry.Builder, com.google.cloud.datacatalog.v1beta1.EntryOrBuilder> entryBuilder_; + com.google.cloud.datacatalog.v1beta1.Entry, + com.google.cloud.datacatalog.v1beta1.Entry.Builder, + com.google.cloud.datacatalog.v1beta1.EntryOrBuilder> + entryBuilder_; /** + * + * *
      * Required. The entry to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the entry field is set. */ public boolean hasEntry() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The entry to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The entry. */ public com.google.cloud.datacatalog.v1beta1.Entry getEntry() { if (entryBuilder_ == null) { - return entry_ == null ? com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance() : entry_; + return entry_ == null + ? com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance() + : entry_; } else { return entryBuilder_.getMessage(); } } /** + * + * *
      * Required. The entry to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEntry(com.google.cloud.datacatalog.v1beta1.Entry value) { if (entryBuilder_ == null) { @@ -837,14 +951,17 @@ public Builder setEntry(com.google.cloud.datacatalog.v1beta1.Entry value) { return this; } /** + * + * *
      * Required. The entry to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setEntry( - com.google.cloud.datacatalog.v1beta1.Entry.Builder builderForValue) { + public Builder setEntry(com.google.cloud.datacatalog.v1beta1.Entry.Builder builderForValue) { if (entryBuilder_ == null) { entry_ = builderForValue.build(); } else { @@ -855,17 +972,21 @@ public Builder setEntry( return this; } /** + * + * *
      * Required. The entry to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeEntry(com.google.cloud.datacatalog.v1beta1.Entry value) { if (entryBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - entry_ != null && - entry_ != com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && entry_ != null + && entry_ != com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance()) { getEntryBuilder().mergeFrom(value); } else { entry_ = value; @@ -878,11 +999,15 @@ public Builder mergeEntry(com.google.cloud.datacatalog.v1beta1.Entry value) { return this; } /** + * + * *
      * Required. The entry to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearEntry() { bitField0_ = (bitField0_ & ~0x00000004); @@ -895,11 +1020,15 @@ public Builder clearEntry() { return this; } /** + * + * *
      * Required. The entry to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1beta1.Entry.Builder getEntryBuilder() { bitField0_ |= 0x00000004; @@ -907,43 +1036,55 @@ public com.google.cloud.datacatalog.v1beta1.Entry.Builder getEntryBuilder() { return getEntryFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The entry to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntryOrBuilder() { if (entryBuilder_ != null) { return entryBuilder_.getMessageOrBuilder(); } else { - return entry_ == null ? - com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance() : entry_; + return entry_ == null + ? com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance() + : entry_; } } /** + * + * *
      * Required. The entry to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Entry, com.google.cloud.datacatalog.v1beta1.Entry.Builder, com.google.cloud.datacatalog.v1beta1.EntryOrBuilder> + com.google.cloud.datacatalog.v1beta1.Entry, + com.google.cloud.datacatalog.v1beta1.Entry.Builder, + com.google.cloud.datacatalog.v1beta1.EntryOrBuilder> getEntryFieldBuilder() { if (entryBuilder_ == null) { - entryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Entry, com.google.cloud.datacatalog.v1beta1.Entry.Builder, com.google.cloud.datacatalog.v1beta1.EntryOrBuilder>( - getEntry(), - getParentForChildren(), - isClean()); + entryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.Entry, + com.google.cloud.datacatalog.v1beta1.Entry.Builder, + com.google.cloud.datacatalog.v1beta1.EntryOrBuilder>( + getEntry(), getParentForChildren(), isClean()); entry_ = null; } return entryBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -953,12 +1094,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.CreateEntryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.CreateEntryRequest) private static final com.google.cloud.datacatalog.v1beta1.CreateEntryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.CreateEntryRequest(); } @@ -967,27 +1108,27 @@ public static com.google.cloud.datacatalog.v1beta1.CreateEntryRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateEntryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateEntryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1002,6 +1143,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.CreateEntryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequestOrBuilder.java index dfbefc7cc6bd..520de5aa4be1 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequestOrBuilder.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface CreateEntryRequestOrBuilder extends +public interface CreateEntryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.CreateEntryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the entry group this entry is in. Example:
    *
@@ -17,11 +35,16 @@ public interface CreateEntryRequestOrBuilder extends
    * the location in this name.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the entry group this entry is in. Example:
    *
@@ -31,56 +54,77 @@ public interface CreateEntryRequestOrBuilder extends
    * the location in this name.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The id of the entry to create.
    * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The entryId. */ java.lang.String getEntryId(); /** + * + * *
    * Required. The id of the entry to create.
    * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for entryId. */ - com.google.protobuf.ByteString - getEntryIdBytes(); + com.google.protobuf.ByteString getEntryIdBytes(); /** + * + * *
    * Required. The entry to create.
    * 
* - * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the entry field is set. */ boolean hasEntry(); /** + * + * *
    * Required. The entry to create.
    * 
* - * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The entry. */ com.google.cloud.datacatalog.v1beta1.Entry getEntry(); /** + * + * *
    * Required. The entry to create.
    * 
* - * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntryOrBuilder(); } diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequest.java similarity index 65% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequest.java index b47141244b5b..889ce4955384 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequest.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/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Request message for
  * [CreatePolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.CreatePolicyTag].
@@ -11,48 +28,56 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest}
  */
-public final class CreatePolicyTagRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CreatePolicyTagRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest)
     CreatePolicyTagRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CreatePolicyTagRequest.newBuilder() to construct.
   private CreatePolicyTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CreatePolicyTagRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreatePolicyTagRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_CreatePolicyTagRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1beta1_CreatePolicyTagRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_CreatePolicyTagRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1beta1_CreatePolicyTagRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest.class, com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest.class,
+            com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. Resource name of the taxonomy that the policy tag will belong to.
    * 
* - * string parent = 1 [(.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,29 +86,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. Resource name of the taxonomy that the policy tag will belong to.
    * 
* - * string parent = 1 [(.google.api.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,11 +121,14 @@ public java.lang.String getParent() { public static final int POLICY_TAG_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1beta1.PolicyTag policyTag_; /** + * + * *
    * The policy tag to be created.
    * 
* * .google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 2; + * * @return Whether the policyTag field is set. */ @java.lang.Override @@ -106,18 +136,25 @@ public boolean hasPolicyTag() { return policyTag_ != null; } /** + * + * *
    * The policy tag to be created.
    * 
* * .google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 2; + * * @return The policyTag. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.PolicyTag getPolicyTag() { - return policyTag_ == null ? com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance() : policyTag_; + return policyTag_ == null + ? com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance() + : policyTag_; } /** + * + * *
    * The policy tag to be created.
    * 
@@ -126,10 +163,13 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTag getPolicyTag() { */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagOrBuilder() { - return policyTag_ == null ? com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance() : policyTag_; + return policyTag_ == null + ? com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance() + : policyTag_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -162,8 +201,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (policyTag_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getPolicyTag()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPolicyTag()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -173,19 +211,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.datacatalog.v1beta1.CreatePolicyTagRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest other = (com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest) obj; + com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest other = + (com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasPolicyTag() != other.hasPolicyTag()) return false; if (hasPolicyTag()) { - if (!getPolicyTag() - .equals(other.getPolicyTag())) return false; + if (!getPolicyTag().equals(other.getPolicyTag())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -210,98 +247,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CreatePolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.CreatePolicyTag].
@@ -309,33 +352,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest)
       com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_CreatePolicyTagRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_CreatePolicyTagRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_CreatePolicyTagRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_CreatePolicyTagRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest.class, com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest.class,
+              com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -350,9 +392,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_CreatePolicyTagRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_CreatePolicyTagRequest_descriptor;
     }
 
     @java.lang.Override
@@ -371,8 +413,11 @@ public com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest result = new com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest result =
+          new com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -383,9 +428,7 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.CreatePolicyTagR
         result.parent_ = parent_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.policyTag_ = policyTagBuilder_ == null
-            ? policyTag_
-            : policyTagBuilder_.build();
+        result.policyTag_ = policyTagBuilder_ == null ? policyTag_ : policyTagBuilder_.build();
       }
     }
 
@@ -393,38 +436,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.CreatePolicyTagR
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -432,7 +476,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -467,24 +512,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getPolicyTagFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            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(getPolicyTagFieldBuilder().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) {
@@ -494,22 +540,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. Resource name of the taxonomy that the policy tag will belong to.
      * 
* - * string parent = 1 [(.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; @@ -518,20 +569,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the taxonomy that the policy tag will belong to.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -539,28 +593,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the taxonomy that the policy tag will belong to.
      * 
* - * 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. Resource name of the taxonomy that the policy tag will belong to.
      * 
* - * string 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() { @@ -570,17 +635,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Resource name of the taxonomy that the policy tag will belong to.
      * 
* - * 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; @@ -590,34 +661,47 @@ public Builder setParentBytes( private com.google.cloud.datacatalog.v1beta1.PolicyTag policyTag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.PolicyTag, com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder, com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder> policyTagBuilder_; + com.google.cloud.datacatalog.v1beta1.PolicyTag, + com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder, + com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder> + policyTagBuilder_; /** + * + * *
      * The policy tag to be created.
      * 
* * .google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 2; + * * @return Whether the policyTag field is set. */ public boolean hasPolicyTag() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The policy tag to be created.
      * 
* * .google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 2; + * * @return The policyTag. */ public com.google.cloud.datacatalog.v1beta1.PolicyTag getPolicyTag() { if (policyTagBuilder_ == null) { - return policyTag_ == null ? com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance() : policyTag_; + return policyTag_ == null + ? com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance() + : policyTag_; } else { return policyTagBuilder_.getMessage(); } } /** + * + * *
      * The policy tag to be created.
      * 
@@ -638,6 +722,8 @@ public Builder setPolicyTag(com.google.cloud.datacatalog.v1beta1.PolicyTag value return this; } /** + * + * *
      * The policy tag to be created.
      * 
@@ -656,6 +742,8 @@ public Builder setPolicyTag( return this; } /** + * + * *
      * The policy tag to be created.
      * 
@@ -664,9 +752,9 @@ public Builder setPolicyTag( */ public Builder mergePolicyTag(com.google.cloud.datacatalog.v1beta1.PolicyTag value) { if (policyTagBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - policyTag_ != null && - policyTag_ != com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && policyTag_ != null + && policyTag_ != com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance()) { getPolicyTagBuilder().mergeFrom(value); } else { policyTag_ = value; @@ -679,6 +767,8 @@ public Builder mergePolicyTag(com.google.cloud.datacatalog.v1beta1.PolicyTag val return this; } /** + * + * *
      * The policy tag to be created.
      * 
@@ -696,6 +786,8 @@ public Builder clearPolicyTag() { return this; } /** + * + * *
      * The policy tag to be created.
      * 
@@ -708,6 +800,8 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder getPolicyTagBuilde return getPolicyTagFieldBuilder().getBuilder(); } /** + * + * *
      * The policy tag to be created.
      * 
@@ -718,11 +812,14 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagOrBui if (policyTagBuilder_ != null) { return policyTagBuilder_.getMessageOrBuilder(); } else { - return policyTag_ == null ? - com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance() : policyTag_; + return policyTag_ == null + ? com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance() + : policyTag_; } } /** + * + * *
      * The policy tag to be created.
      * 
@@ -730,21 +827,24 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagOrBui * .google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.PolicyTag, com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder, com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder> + com.google.cloud.datacatalog.v1beta1.PolicyTag, + com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder, + com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder> getPolicyTagFieldBuilder() { if (policyTagBuilder_ == null) { - policyTagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.PolicyTag, com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder, com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder>( - getPolicyTag(), - getParentForChildren(), - isClean()); + policyTagBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.PolicyTag, + com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder, + com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder>( + getPolicyTag(), getParentForChildren(), isClean()); policyTag_ = null; } return policyTagBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -754,12 +854,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest) private static final com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest(); } @@ -768,27 +868,27 @@ public static com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreatePolicyTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreatePolicyTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -803,6 +903,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequestOrBuilder.java index 95d7bdd6cfad..c8eb9c4d0216 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequestOrBuilder.java @@ -1,51 +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/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; -public interface CreatePolicyTagRequestOrBuilder extends +public interface CreatePolicyTagRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the taxonomy that the policy tag will belong to.
    * 
* - * string parent = 1 [(.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. Resource name of the taxonomy that the policy tag will belong to.
    * 
* - * string parent = 1 [(.google.api.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(); /** + * + * *
    * The policy tag to be created.
    * 
* * .google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 2; + * * @return Whether the policyTag field is set. */ boolean hasPolicyTag(); /** + * + * *
    * The policy tag to be created.
    * 
* * .google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 2; + * * @return The policyTag. */ com.google.cloud.datacatalog.v1beta1.PolicyTag getPolicyTag(); /** + * + * *
    * The policy tag to be created.
    * 
diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequest.java similarity index 64% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequest.java index 63137c1fdbf0..0cc54bd06eaf 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequest.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Request message for
  * [CreateTag][google.cloud.datacatalog.v1beta1.DataCatalog.CreateTag].
@@ -11,43 +28,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.CreateTagRequest}
  */
-public final class CreateTagRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CreateTagRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.CreateTagRequest)
     CreateTagRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CreateTagRequest.newBuilder() to construct.
   private CreateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CreateTagRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateTagRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.CreateTagRequest.class, com.google.cloud.datacatalog.v1beta1.CreateTagRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.CreateTagRequest.class,
+            com.google.cloud.datacatalog.v1beta1.CreateTagRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the resource to attach this tag to. Tags can be
    * attached to Entries. Example:
@@ -58,7 +80,10 @@ protected java.lang.Object newInstance(
    * the location in this name.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,14 +92,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the resource to attach this tag to. Tags can be
    * attached to Entries. Example:
@@ -85,17 +111,18 @@ public java.lang.String getParent() {
    * the location in this name.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -106,11 +133,15 @@ public java.lang.String getParent() { public static final int TAG_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1beta1.Tag tag_; /** + * + * *
    * Required. The tag to create.
    * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tag field is set. */ @java.lang.Override @@ -118,11 +149,15 @@ public boolean hasTag() { return tag_ != null; } /** + * + * *
    * Required. The tag to create.
    * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tag. */ @java.lang.Override @@ -130,11 +165,14 @@ public com.google.cloud.datacatalog.v1beta1.Tag getTag() { return tag_ == null ? com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance() : tag_; } /** + * + * *
    * Required. The tag to create.
    * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagOrBuilder() { @@ -142,6 +180,7 @@ public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +192,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -174,8 +212,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (tag_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTag()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTag()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -185,19 +222,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.datacatalog.v1beta1.CreateTagRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.CreateTagRequest other = (com.google.cloud.datacatalog.v1beta1.CreateTagRequest) obj; + com.google.cloud.datacatalog.v1beta1.CreateTagRequest other = + (com.google.cloud.datacatalog.v1beta1.CreateTagRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasTag() != other.hasTag()) return false; if (hasTag()) { - if (!getTag() - .equals(other.getTag())) return false; + if (!getTag().equals(other.getTag())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -222,98 +258,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.CreateTagRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.CreateTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.CreateTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.CreateTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.CreateTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.CreateTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.CreateTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.CreateTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.CreateTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.CreateTagRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.CreateTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.CreateTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.CreateTagRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.CreateTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CreateTag][google.cloud.datacatalog.v1beta1.DataCatalog.CreateTag].
@@ -321,33 +363,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.CreateTagRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.CreateTagRequest)
       com.google.cloud.datacatalog.v1beta1.CreateTagRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.CreateTagRequest.class, com.google.cloud.datacatalog.v1beta1.CreateTagRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.CreateTagRequest.class,
+              com.google.cloud.datacatalog.v1beta1.CreateTagRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.CreateTagRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -362,9 +403,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_descriptor;
     }
 
     @java.lang.Override
@@ -383,8 +424,11 @@ public com.google.cloud.datacatalog.v1beta1.CreateTagRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.CreateTagRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.CreateTagRequest result = new com.google.cloud.datacatalog.v1beta1.CreateTagRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.CreateTagRequest result =
+          new com.google.cloud.datacatalog.v1beta1.CreateTagRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -395,9 +439,7 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.CreateTagRequest
         result.parent_ = parent_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.tag_ = tagBuilder_ == null
-            ? tag_
-            : tagBuilder_.build();
+        result.tag_ = tagBuilder_ == null ? tag_ : tagBuilder_.build();
       }
     }
 
@@ -405,38 +447,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.CreateTagRequest
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.CreateTagRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.CreateTagRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.CreateTagRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -444,7 +487,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.CreateTagRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.CreateTagRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.CreateTagRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -479,24 +523,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getTagFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            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(getTagFieldBuilder().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) {
@@ -506,10 +551,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the resource to attach this tag to. Tags can be
      * attached to Entries. Example:
@@ -520,14 +568,16 @@ public Builder mergeFrom(
      * the location in this name.
      * 
* - * string parent = 1 [(.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; @@ -536,6 +586,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the resource to attach this tag to. Tags can be
      * attached to Entries. Example:
@@ -546,16 +598,17 @@ public java.lang.String getParent() {
      * the location in this name.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -563,6 +616,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the resource to attach this tag to. Tags can be
      * attached to Entries. Example:
@@ -573,19 +628,25 @@ public java.lang.String getParent() {
      * the location in this name.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource to attach this tag to. Tags can be
      * attached to Entries. Example:
@@ -596,7 +657,10 @@ public Builder setParent(
      * the location in this name.
      * 
* - * string 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() { @@ -606,6 +670,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the resource to attach this tag to. Tags can be
      * attached to Entries. Example:
@@ -616,13 +682,17 @@ public Builder clearParent() {
      * the location in this name.
      * 
* - * 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; @@ -632,24 +702,37 @@ public Builder setParentBytes( private com.google.cloud.datacatalog.v1beta1.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Tag, com.google.cloud.datacatalog.v1beta1.Tag.Builder, com.google.cloud.datacatalog.v1beta1.TagOrBuilder> tagBuilder_; + com.google.cloud.datacatalog.v1beta1.Tag, + com.google.cloud.datacatalog.v1beta1.Tag.Builder, + com.google.cloud.datacatalog.v1beta1.TagOrBuilder> + tagBuilder_; /** + * + * *
      * Required. The tag to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tag field is set. */ public boolean hasTag() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The tag to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tag. */ public com.google.cloud.datacatalog.v1beta1.Tag getTag() { @@ -660,11 +743,15 @@ public com.google.cloud.datacatalog.v1beta1.Tag getTag() { } } /** + * + * *
      * Required. The tag to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTag(com.google.cloud.datacatalog.v1beta1.Tag value) { if (tagBuilder_ == null) { @@ -680,14 +767,17 @@ public Builder setTag(com.google.cloud.datacatalog.v1beta1.Tag value) { return this; } /** + * + * *
      * Required. The tag to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTag( - com.google.cloud.datacatalog.v1beta1.Tag.Builder builderForValue) { + public Builder setTag(com.google.cloud.datacatalog.v1beta1.Tag.Builder builderForValue) { if (tagBuilder_ == null) { tag_ = builderForValue.build(); } else { @@ -698,17 +788,21 @@ public Builder setTag( return this; } /** + * + * *
      * Required. The tag to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTag(com.google.cloud.datacatalog.v1beta1.Tag value) { if (tagBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - tag_ != null && - tag_ != com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && tag_ != null + && tag_ != com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance()) { getTagBuilder().mergeFrom(value); } else { tag_ = value; @@ -721,11 +815,15 @@ public Builder mergeTag(com.google.cloud.datacatalog.v1beta1.Tag value) { return this; } /** + * + * *
      * Required. The tag to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTag() { bitField0_ = (bitField0_ & ~0x00000002); @@ -738,11 +836,15 @@ public Builder clearTag() { return this; } /** + * + * *
      * Required. The tag to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1beta1.Tag.Builder getTagBuilder() { bitField0_ |= 0x00000002; @@ -750,43 +852,53 @@ public com.google.cloud.datacatalog.v1beta1.Tag.Builder getTagBuilder() { return getTagFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The tag to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagOrBuilder() { if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null ? - com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance() : tag_; + return tag_ == null ? com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance() : tag_; } } /** + * + * *
      * Required. The tag to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Tag, com.google.cloud.datacatalog.v1beta1.Tag.Builder, com.google.cloud.datacatalog.v1beta1.TagOrBuilder> + com.google.cloud.datacatalog.v1beta1.Tag, + com.google.cloud.datacatalog.v1beta1.Tag.Builder, + com.google.cloud.datacatalog.v1beta1.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Tag, com.google.cloud.datacatalog.v1beta1.Tag.Builder, com.google.cloud.datacatalog.v1beta1.TagOrBuilder>( - getTag(), - getParentForChildren(), - isClean()); + tagBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.Tag, + com.google.cloud.datacatalog.v1beta1.Tag.Builder, + com.google.cloud.datacatalog.v1beta1.TagOrBuilder>( + getTag(), getParentForChildren(), isClean()); tag_ = null; } return tagBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -796,12 +908,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.CreateTagRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.CreateTagRequest) private static final com.google.cloud.datacatalog.v1beta1.CreateTagRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.CreateTagRequest(); } @@ -810,27 +922,27 @@ public static com.google.cloud.datacatalog.v1beta1.CreateTagRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -845,6 +957,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.CreateTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequestOrBuilder.java similarity index 59% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequestOrBuilder.java index 980052e8a2ac..dedc2610aa27 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequestOrBuilder.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface CreateTagRequestOrBuilder extends +public interface CreateTagRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.CreateTagRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the resource to attach this tag to. Tags can be
    * attached to Entries. Example:
@@ -18,11 +36,16 @@ public interface CreateTagRequestOrBuilder extends
    * the location in this name.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the resource to attach this tag to. Tags can be
    * attached to Entries. Example:
@@ -33,36 +56,49 @@ public interface CreateTagRequestOrBuilder extends
    * the location in this name.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The tag to create.
    * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tag field is set. */ boolean hasTag(); /** + * + * *
    * Required. The tag to create.
    * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tag. */ com.google.cloud.datacatalog.v1beta1.Tag getTag(); /** + * + * *
    * Required. The tag to create.
    * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1beta1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagOrBuilder(); } diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequest.java similarity index 62% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequest.java index 2d1a12c68524..b5145660e3d5 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequest.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Request message for
  * [CreateTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.CreateTagTemplateField].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest}
  */
-public final class CreateTagTemplateFieldRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CreateTagTemplateFieldRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest)
     CreateTagTemplateFieldRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CreateTagTemplateFieldRequest.newBuilder() to construct.
   private CreateTagTemplateFieldRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CreateTagTemplateFieldRequest() {
     parent_ = "";
     tagTemplateFieldId_ = "";
@@ -27,28 +45,32 @@ private CreateTagTemplateFieldRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateTagTemplateFieldRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest.class, com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest.class,
+            com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
@@ -58,7 +80,10 @@ protected java.lang.Object newInstance(
    * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,14 +92,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
@@ -84,17 +110,18 @@ public java.lang.String getParent() {
    * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -103,9 +130,12 @@ public java.lang.String getParent() { } public static final int TAG_TEMPLATE_FIELD_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object tagTemplateFieldId_ = ""; /** + * + * *
    * Required. The ID of the tag template field to create.
    * Field ids can contain letters (both uppercase and lowercase), numbers
@@ -115,6 +145,7 @@ public java.lang.String getParent() {
    * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tagTemplateFieldId. */ @java.lang.Override @@ -123,14 +154,15 @@ public java.lang.String getTagTemplateFieldId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagTemplateFieldId_ = s; return s; } } /** + * + * *
    * Required. The ID of the tag template field to create.
    * Field ids can contain letters (both uppercase and lowercase), numbers
@@ -140,16 +172,15 @@ public java.lang.String getTagTemplateFieldId() {
    * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for tagTemplateFieldId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTagTemplateFieldIdBytes() { + public com.google.protobuf.ByteString getTagTemplateFieldIdBytes() { java.lang.Object ref = tagTemplateFieldId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagTemplateFieldId_ = b; return b; } else { @@ -160,11 +191,16 @@ public java.lang.String getTagTemplateFieldId() { public static final int TAG_TEMPLATE_FIELD_FIELD_NUMBER = 3; private com.google.cloud.datacatalog.v1beta1.TagTemplateField tagTemplateField_; /** + * + * *
    * Required. The tag template field to create.
    * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tagTemplateField field is set. */ @java.lang.Override @@ -172,30 +208,45 @@ public boolean hasTagTemplateField() { return tagTemplateField_ != null; } /** + * + * *
    * Required. The tag template field to create.
    * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tagTemplateField. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TagTemplateField getTagTemplateField() { - return tagTemplateField_ == null ? com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance() : tagTemplateField_; + return tagTemplateField_ == null + ? com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance() + : tagTemplateField_; } /** + * + * *
    * Required. The tag template field to create.
    * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder() { - return tagTemplateField_ == null ? com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance() : tagTemplateField_; + public com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder + getTagTemplateFieldOrBuilder() { + return tagTemplateField_ == null + ? com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance() + : tagTemplateField_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,8 +258,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -234,8 +284,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tagTemplateFieldId_); } if (tagTemplateField_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getTagTemplateField()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTagTemplateField()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -245,21 +294,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.datacatalog.v1beta1.CreateTagTemplateFieldRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest other = (com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest) obj; + com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest other = + (com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getTagTemplateFieldId() - .equals(other.getTagTemplateFieldId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getTagTemplateFieldId().equals(other.getTagTemplateFieldId())) return false; if (hasTagTemplateField() != other.hasTagTemplateField()) return false; if (hasTagTemplateField()) { - if (!getTagTemplateField() - .equals(other.getTagTemplateField())) return false; + if (!getTagTemplateField().equals(other.getTagTemplateField())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -286,98 +333,105 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest parseDelimitedFrom( - java.io.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.datacatalog.v1beta1.CreateTagTemplateFieldRequest + parseDelimitedFrom( + java.io.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.datacatalog.v1beta1.CreateTagTemplateFieldRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CreateTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.CreateTagTemplateField].
@@ -385,33 +439,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest)
       com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest.class, com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest.class,
+              com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest.Builder.class);
     }
 
-    // Construct using com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest.newBuilder()
-    private Builder() {
+    // Construct using
+    // com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest.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();
@@ -427,14 +481,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest getDefaultInstanceForType() {
-      return com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest.getDefaultInstance();
+    public com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest
+        getDefaultInstanceForType() {
+      return com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -448,13 +504,17 @@ public com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest build(
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest result = new com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest result =
+          new com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest result) {
+    private void buildPartial0(
+        com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -463,9 +523,8 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.CreateTagTemplat
         result.tagTemplateFieldId_ = tagTemplateFieldId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.tagTemplateField_ = tagTemplateFieldBuilder_ == null
-            ? tagTemplateField_
-            : tagTemplateFieldBuilder_.build();
+        result.tagTemplateField_ =
+            tagTemplateFieldBuilder_ == null ? tagTemplateField_ : tagTemplateFieldBuilder_.build();
       }
     }
 
@@ -473,46 +532,51 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.CreateTagTemplat
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest)other);
+        return mergeFrom(
+            (com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest other) {
+      if (other
+          == com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest
+              .getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -552,29 +616,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              tagTemplateFieldId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getTagTemplateFieldFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                tagTemplateFieldId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(
+                    getTagTemplateFieldFieldBuilder().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) {
@@ -584,10 +651,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
@@ -597,14 +667,16 @@ public Builder mergeFrom(
      * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
      * 
* - * string parent = 1 [(.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; @@ -613,6 +685,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
@@ -622,16 +696,17 @@ public java.lang.String getParent() {
      * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
      * 
* - * string parent = 1 [(.google.api.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 { @@ -639,6 +714,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
@@ -648,19 +725,25 @@ public java.lang.String getParent() {
      * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
@@ -670,7 +753,10 @@ public Builder setParent(
      * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
      * 
* - * string 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,6 +766,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
@@ -689,13 +777,17 @@ public Builder clearParent() {
      * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
      * 
* - * 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,6 +797,8 @@ public Builder setParentBytes( private java.lang.Object tagTemplateFieldId_ = ""; /** + * + * *
      * Required. The ID of the tag template field to create.
      * Field ids can contain letters (both uppercase and lowercase), numbers
@@ -714,13 +808,13 @@ public Builder setParentBytes(
      * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tagTemplateFieldId. */ public java.lang.String getTagTemplateFieldId() { java.lang.Object ref = tagTemplateFieldId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagTemplateFieldId_ = s; return s; @@ -729,6 +823,8 @@ public java.lang.String getTagTemplateFieldId() { } } /** + * + * *
      * Required. The ID of the tag template field to create.
      * Field ids can contain letters (both uppercase and lowercase), numbers
@@ -738,15 +834,14 @@ public java.lang.String getTagTemplateFieldId() {
      * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for tagTemplateFieldId. */ - public com.google.protobuf.ByteString - getTagTemplateFieldIdBytes() { + public com.google.protobuf.ByteString getTagTemplateFieldIdBytes() { java.lang.Object ref = tagTemplateFieldId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagTemplateFieldId_ = b; return b; } else { @@ -754,6 +849,8 @@ public java.lang.String getTagTemplateFieldId() { } } /** + * + * *
      * Required. The ID of the tag template field to create.
      * Field ids can contain letters (both uppercase and lowercase), numbers
@@ -763,18 +860,22 @@ public java.lang.String getTagTemplateFieldId() {
      * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The tagTemplateFieldId to set. * @return This builder for chaining. */ - public Builder setTagTemplateFieldId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTagTemplateFieldId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tagTemplateFieldId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The ID of the tag template field to create.
      * Field ids can contain letters (both uppercase and lowercase), numbers
@@ -784,6 +885,7 @@ public Builder setTagTemplateFieldId(
      * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTagTemplateFieldId() { @@ -793,6 +895,8 @@ public Builder clearTagTemplateFieldId() { return this; } /** + * + * *
      * Required. The ID of the tag template field to create.
      * Field ids can contain letters (both uppercase and lowercase), numbers
@@ -802,12 +906,14 @@ public Builder clearTagTemplateFieldId() {
      * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for tagTemplateFieldId to set. * @return This builder for chaining. */ - public Builder setTagTemplateFieldIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTagTemplateFieldIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tagTemplateFieldId_ = value; bitField0_ |= 0x00000002; @@ -817,41 +923,61 @@ public Builder setTagTemplateFieldIdBytes( private com.google.cloud.datacatalog.v1beta1.TagTemplateField tagTemplateField_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.TagTemplateField, com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder, com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder> tagTemplateFieldBuilder_; + com.google.cloud.datacatalog.v1beta1.TagTemplateField, + com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder, + com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder> + tagTemplateFieldBuilder_; /** + * + * *
      * Required. The tag template field to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tagTemplateField field is set. */ public boolean hasTagTemplateField() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The tag template field to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tagTemplateField. */ public com.google.cloud.datacatalog.v1beta1.TagTemplateField getTagTemplateField() { if (tagTemplateFieldBuilder_ == null) { - return tagTemplateField_ == null ? com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance() : tagTemplateField_; + return tagTemplateField_ == null + ? com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance() + : tagTemplateField_; } else { return tagTemplateFieldBuilder_.getMessage(); } } /** + * + * *
      * Required. The tag template field to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTagTemplateField(com.google.cloud.datacatalog.v1beta1.TagTemplateField value) { + public Builder setTagTemplateField( + com.google.cloud.datacatalog.v1beta1.TagTemplateField value) { if (tagTemplateFieldBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -865,11 +991,15 @@ public Builder setTagTemplateField(com.google.cloud.datacatalog.v1beta1.TagTempl return this; } /** + * + * *
      * Required. The tag template field to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTagTemplateField( com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder builderForValue) { @@ -883,17 +1013,23 @@ public Builder setTagTemplateField( return this; } /** + * + * *
      * Required. The tag template field to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeTagTemplateField(com.google.cloud.datacatalog.v1beta1.TagTemplateField value) { + public Builder mergeTagTemplateField( + com.google.cloud.datacatalog.v1beta1.TagTemplateField value) { if (tagTemplateFieldBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - tagTemplateField_ != null && - tagTemplateField_ != com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && tagTemplateField_ != null + && tagTemplateField_ + != com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance()) { getTagTemplateFieldBuilder().mergeFrom(value); } else { tagTemplateField_ = value; @@ -906,11 +1042,15 @@ public Builder mergeTagTemplateField(com.google.cloud.datacatalog.v1beta1.TagTem return this; } /** + * + * *
      * Required. The tag template field to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTagTemplateField() { bitField0_ = (bitField0_ & ~0x00000004); @@ -923,55 +1063,73 @@ public Builder clearTagTemplateField() { return this; } /** + * + * *
      * Required. The tag template field to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder getTagTemplateFieldBuilder() { + public com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder + getTagTemplateFieldBuilder() { bitField0_ |= 0x00000004; onChanged(); return getTagTemplateFieldFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The tag template field to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder() { + public com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder + getTagTemplateFieldOrBuilder() { if (tagTemplateFieldBuilder_ != null) { return tagTemplateFieldBuilder_.getMessageOrBuilder(); } else { - return tagTemplateField_ == null ? - com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance() : tagTemplateField_; + return tagTemplateField_ == null + ? com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance() + : tagTemplateField_; } } /** + * + * *
      * Required. The tag template field to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.TagTemplateField, com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder, com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder> + com.google.cloud.datacatalog.v1beta1.TagTemplateField, + com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder, + com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder> getTagTemplateFieldFieldBuilder() { if (tagTemplateFieldBuilder_ == null) { - tagTemplateFieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.TagTemplateField, com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder, com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder>( - getTagTemplateField(), - getParentForChildren(), - isClean()); + tagTemplateFieldBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.TagTemplateField, + com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder, + com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder>( + getTagTemplateField(), getParentForChildren(), isClean()); tagTemplateField_ = null; } return tagTemplateFieldBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -981,41 +1139,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest) - private static final com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest DEFAULT_INSTANCE; + private static final com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest(); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest getDefaultInstance() { + public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTagTemplateFieldRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTagTemplateFieldRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,9 +1187,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequestOrBuilder.java index 5a965abb615d..c2f414050823 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequestOrBuilder.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface CreateTagTemplateFieldRequestOrBuilder extends +public interface CreateTagTemplateFieldRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
@@ -17,11 +35,16 @@ public interface CreateTagTemplateFieldRequestOrBuilder extends
    * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
@@ -31,13 +54,17 @@ public interface CreateTagTemplateFieldRequestOrBuilder extends
    * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The ID of the tag template field to create.
    * Field ids can contain letters (both uppercase and lowercase), numbers
@@ -47,10 +74,13 @@ public interface CreateTagTemplateFieldRequestOrBuilder extends
    * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tagTemplateFieldId. */ java.lang.String getTagTemplateFieldId(); /** + * + * *
    * Required. The ID of the tag template field to create.
    * Field ids can contain letters (both uppercase and lowercase), numbers
@@ -60,35 +90,49 @@ public interface CreateTagTemplateFieldRequestOrBuilder extends
    * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for tagTemplateFieldId. */ - com.google.protobuf.ByteString - getTagTemplateFieldIdBytes(); + com.google.protobuf.ByteString getTagTemplateFieldIdBytes(); /** + * + * *
    * Required. The tag template field to create.
    * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tagTemplateField field is set. */ boolean hasTagTemplateField(); /** + * + * *
    * Required. The tag template field to create.
    * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tagTemplateField. */ com.google.cloud.datacatalog.v1beta1.TagTemplateField getTagTemplateField(); /** + * + * *
    * Required. The tag template field to create.
    * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder(); } diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequest.java similarity index 63% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequest.java index a9e2aca3729a..d181906c676b 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequest.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Request message for
  * [CreateTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.CreateTagTemplate].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest}
  */
-public final class CreateTagTemplateRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CreateTagTemplateRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest)
     CreateTagTemplateRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CreateTagTemplateRequest.newBuilder() to construct.
   private CreateTagTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CreateTagTemplateRequest() {
     parent_ = "";
     tagTemplateId_ = "";
@@ -27,28 +45,32 @@ private CreateTagTemplateRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateTagTemplateRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest.class, com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest.class,
+            com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions.
@@ -58,7 +80,10 @@ protected java.lang.Object newInstance(
    * * projects/{project_id}/locations/us-central1
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,14 +92,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions.
@@ -84,17 +110,18 @@ public java.lang.String getParent() {
    * * projects/{project_id}/locations/us-central1
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -103,14 +130,18 @@ public java.lang.String getParent() { } public static final int TAG_TEMPLATE_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object tagTemplateId_ = ""; /** + * + * *
    * Required. The id of the tag template to create.
    * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tagTemplateId. */ @java.lang.Override @@ -119,29 +150,29 @@ public java.lang.String getTagTemplateId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagTemplateId_ = s; return s; } } /** + * + * *
    * Required. The id of the tag template to create.
    * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for tagTemplateId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTagTemplateIdBytes() { + public com.google.protobuf.ByteString getTagTemplateIdBytes() { java.lang.Object ref = tagTemplateId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagTemplateId_ = b; return b; } else { @@ -152,11 +183,16 @@ public java.lang.String getTagTemplateId() { public static final int TAG_TEMPLATE_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1beta1.TagTemplate tagTemplate_; /** + * + * *
    * Required. The tag template to create.
    * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tagTemplate field is set. */ @java.lang.Override @@ -164,30 +200,44 @@ public boolean hasTagTemplate() { return tagTemplate_ != null; } /** + * + * *
    * Required. The tag template to create.
    * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tagTemplate. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TagTemplate getTagTemplate() { - return tagTemplate_ == null ? com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance() : tagTemplate_; + return tagTemplate_ == null + ? com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance() + : tagTemplate_; } /** + * + * *
    * Required. The tag template to create.
    * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder getTagTemplateOrBuilder() { - return tagTemplate_ == null ? com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance() : tagTemplate_; + return tagTemplate_ == null + ? com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance() + : tagTemplate_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,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_); } @@ -223,8 +272,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (tagTemplate_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTagTemplate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTagTemplate()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tagTemplateId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, tagTemplateId_); @@ -237,21 +285,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.datacatalog.v1beta1.CreateTagTemplateRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest other = (com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest) obj; + com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest other = + (com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getTagTemplateId() - .equals(other.getTagTemplateId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getTagTemplateId().equals(other.getTagTemplateId())) return false; if (hasTagTemplate() != other.hasTagTemplate()) return false; if (hasTagTemplate()) { - if (!getTagTemplate() - .equals(other.getTagTemplate())) return false; + if (!getTagTemplate().equals(other.getTagTemplate())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -278,98 +324,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CreateTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.CreateTagTemplate].
@@ -377,33 +429,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest)
       com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest.class, com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest.class,
+              com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -419,13 +470,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest getDefaultInstanceForType() {
+    public com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest.getDefaultInstance();
     }
 
@@ -440,13 +492,17 @@ public com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest result = new com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest result =
+          new com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest result) {
+    private void buildPartial0(
+        com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -455,9 +511,8 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.CreateTagTemplat
         result.tagTemplateId_ = tagTemplateId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.tagTemplate_ = tagTemplateBuilder_ == null
-            ? tagTemplate_
-            : tagTemplateBuilder_.build();
+        result.tagTemplate_ =
+            tagTemplateBuilder_ == null ? tagTemplate_ : tagTemplateBuilder_.build();
       }
     }
 
@@ -465,38 +520,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.CreateTagTemplat
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -504,7 +560,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -544,29 +602,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getTagTemplateFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 18
-            case 26: {
-              tagTemplateId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getTagTemplateFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 18
+            case 26:
+              {
+                tagTemplateId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -576,10 +636,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions.
@@ -589,14 +652,16 @@ public Builder mergeFrom(
      * * projects/{project_id}/locations/us-central1
      * 
* - * string parent = 1 [(.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; @@ -605,6 +670,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions.
@@ -614,16 +681,17 @@ public java.lang.String getParent() {
      * * projects/{project_id}/locations/us-central1
      * 
* - * string parent = 1 [(.google.api.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 { @@ -631,6 +699,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions.
@@ -640,19 +710,25 @@ public java.lang.String getParent() {
      * * projects/{project_id}/locations/us-central1
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions.
@@ -662,7 +738,10 @@ public Builder setParent(
      * * projects/{project_id}/locations/us-central1
      * 
* - * string 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() { @@ -672,6 +751,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions.
@@ -681,13 +762,17 @@ public Builder clearParent() {
      * * projects/{project_id}/locations/us-central1
      * 
* - * 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; @@ -697,18 +782,20 @@ public Builder setParentBytes( private java.lang.Object tagTemplateId_ = ""; /** + * + * *
      * Required. The id of the tag template to create.
      * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tagTemplateId. */ public java.lang.String getTagTemplateId() { java.lang.Object ref = tagTemplateId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagTemplateId_ = s; return s; @@ -717,20 +804,21 @@ public java.lang.String getTagTemplateId() { } } /** + * + * *
      * Required. The id of the tag template to create.
      * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for tagTemplateId. */ - public com.google.protobuf.ByteString - getTagTemplateIdBytes() { + public com.google.protobuf.ByteString getTagTemplateIdBytes() { java.lang.Object ref = tagTemplateId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagTemplateId_ = b; return b; } else { @@ -738,28 +826,35 @@ public java.lang.String getTagTemplateId() { } } /** + * + * *
      * Required. The id of the tag template to create.
      * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The tagTemplateId to set. * @return This builder for chaining. */ - public Builder setTagTemplateId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTagTemplateId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tagTemplateId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The id of the tag template to create.
      * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTagTemplateId() { @@ -769,17 +864,21 @@ public Builder clearTagTemplateId() { return this; } /** + * + * *
      * Required. The id of the tag template to create.
      * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for tagTemplateId to set. * @return This builder for chaining. */ - public Builder setTagTemplateIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTagTemplateIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tagTemplateId_ = value; bitField0_ |= 0x00000002; @@ -789,39 +888,58 @@ public Builder setTagTemplateIdBytes( private com.google.cloud.datacatalog.v1beta1.TagTemplate tagTemplate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.TagTemplate, com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder, com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder> tagTemplateBuilder_; + com.google.cloud.datacatalog.v1beta1.TagTemplate, + com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder, + com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder> + tagTemplateBuilder_; /** + * + * *
      * Required. The tag template to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tagTemplate field is set. */ public boolean hasTagTemplate() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The tag template to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tagTemplate. */ public com.google.cloud.datacatalog.v1beta1.TagTemplate getTagTemplate() { if (tagTemplateBuilder_ == null) { - return tagTemplate_ == null ? com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance() : tagTemplate_; + return tagTemplate_ == null + ? com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance() + : tagTemplate_; } else { return tagTemplateBuilder_.getMessage(); } } /** + * + * *
      * Required. The tag template to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTagTemplate(com.google.cloud.datacatalog.v1beta1.TagTemplate value) { if (tagTemplateBuilder_ == null) { @@ -837,11 +955,15 @@ public Builder setTagTemplate(com.google.cloud.datacatalog.v1beta1.TagTemplate v return this; } /** + * + * *
      * Required. The tag template to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTagTemplate( com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder builderForValue) { @@ -855,17 +977,22 @@ public Builder setTagTemplate( return this; } /** + * + * *
      * Required. The tag template to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTagTemplate(com.google.cloud.datacatalog.v1beta1.TagTemplate value) { if (tagTemplateBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - tagTemplate_ != null && - tagTemplate_ != com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && tagTemplate_ != null + && tagTemplate_ + != com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance()) { getTagTemplateBuilder().mergeFrom(value); } else { tagTemplate_ = value; @@ -878,11 +1005,15 @@ public Builder mergeTagTemplate(com.google.cloud.datacatalog.v1beta1.TagTemplate return this; } /** + * + * *
      * Required. The tag template to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTagTemplate() { bitField0_ = (bitField0_ & ~0x00000004); @@ -895,11 +1026,15 @@ public Builder clearTagTemplate() { return this; } /** + * + * *
      * Required. The tag template to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder getTagTemplateBuilder() { bitField0_ |= 0x00000004; @@ -907,43 +1042,55 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder getTagTemplateBu return getTagTemplateFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The tag template to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder getTagTemplateOrBuilder() { if (tagTemplateBuilder_ != null) { return tagTemplateBuilder_.getMessageOrBuilder(); } else { - return tagTemplate_ == null ? - com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance() : tagTemplate_; + return tagTemplate_ == null + ? com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance() + : tagTemplate_; } } /** + * + * *
      * Required. The tag template to create.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.TagTemplate, com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder, com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder> + com.google.cloud.datacatalog.v1beta1.TagTemplate, + com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder, + com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder> getTagTemplateFieldBuilder() { if (tagTemplateBuilder_ == null) { - tagTemplateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.TagTemplate, com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder, com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder>( - getTagTemplate(), - getParentForChildren(), - isClean()); + tagTemplateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.TagTemplate, + com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder, + com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder>( + getTagTemplate(), getParentForChildren(), isClean()); tagTemplate_ = null; } return tagTemplateBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -953,12 +1100,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest) - private static final com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest DEFAULT_INSTANCE; + private static final com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest(); } @@ -967,27 +1115,27 @@ public static com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTagTemplateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTagTemplateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1002,6 +1150,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequestOrBuilder.java index 9f3f650346d1..b7ef124c92d5 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequestOrBuilder.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface CreateTagTemplateRequestOrBuilder extends +public interface CreateTagTemplateRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions.
@@ -17,11 +35,16 @@ public interface CreateTagTemplateRequestOrBuilder extends
    * * projects/{project_id}/locations/us-central1
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions.
@@ -31,56 +54,77 @@ public interface CreateTagTemplateRequestOrBuilder extends
    * * projects/{project_id}/locations/us-central1
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The id of the tag template to create.
    * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tagTemplateId. */ java.lang.String getTagTemplateId(); /** + * + * *
    * Required. The id of the tag template to create.
    * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for tagTemplateId. */ - com.google.protobuf.ByteString - getTagTemplateIdBytes(); + com.google.protobuf.ByteString getTagTemplateIdBytes(); /** + * + * *
    * Required. The tag template to create.
    * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tagTemplate field is set. */ boolean hasTagTemplate(); /** + * + * *
    * Required. The tag template to create.
    * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tagTemplate. */ com.google.cloud.datacatalog.v1beta1.TagTemplate getTagTemplate(); /** + * + * *
    * Required. The tag template to create.
    * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder getTagTemplateOrBuilder(); } diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequest.java similarity index 65% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequest.java index 0df1e771ab7a..5052cd1c6618 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequest.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/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Request message for
  * [CreateTaxonomy][google.cloud.datacatalog.v1beta1.PolicyTagManager.CreateTaxonomy].
@@ -11,48 +28,56 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest}
  */
-public final class CreateTaxonomyRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CreateTaxonomyRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest)
     CreateTaxonomyRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CreateTaxonomyRequest.newBuilder() to construct.
   private CreateTaxonomyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CreateTaxonomyRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateTaxonomyRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_CreateTaxonomyRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1beta1_CreateTaxonomyRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_CreateTaxonomyRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1beta1_CreateTaxonomyRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest.class, com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest.class,
+            com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. Resource name of the project that the taxonomy will belong to.
    * 
* - * string parent = 1 [(.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,29 +86,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. Resource name of the project that the taxonomy will belong to.
    * 
* - * string parent = 1 [(.google.api.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,11 +121,14 @@ public java.lang.String getParent() { public static final int TAXONOMY_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1beta1.Taxonomy taxonomy_; /** + * + * *
    * The taxonomy to be created.
    * 
* * .google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 2; + * * @return Whether the taxonomy field is set. */ @java.lang.Override @@ -106,18 +136,25 @@ public boolean hasTaxonomy() { return taxonomy_ != null; } /** + * + * *
    * The taxonomy to be created.
    * 
* * .google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 2; + * * @return The taxonomy. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomy() { - return taxonomy_ == null ? com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance() : taxonomy_; + return taxonomy_ == null + ? com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance() + : taxonomy_; } /** + * + * *
    * The taxonomy to be created.
    * 
@@ -126,10 +163,13 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomy() { */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomyOrBuilder() { - return taxonomy_ == null ? com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance() : taxonomy_; + return taxonomy_ == null + ? com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance() + : taxonomy_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -162,8 +201,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (taxonomy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTaxonomy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTaxonomy()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -173,19 +211,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.datacatalog.v1beta1.CreateTaxonomyRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest other = (com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest) obj; + com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest other = + (com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasTaxonomy() != other.hasTaxonomy()) return false; if (hasTaxonomy()) { - if (!getTaxonomy() - .equals(other.getTaxonomy())) return false; + if (!getTaxonomy().equals(other.getTaxonomy())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -210,98 +247,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CreateTaxonomy][google.cloud.datacatalog.v1beta1.PolicyTagManager.CreateTaxonomy].
@@ -309,33 +352,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest)
       com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_CreateTaxonomyRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_CreateTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_CreateTaxonomyRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_CreateTaxonomyRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest.class, com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest.class,
+              com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -350,9 +392,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_CreateTaxonomyRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_CreateTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
@@ -371,8 +413,11 @@ public com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest result = new com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest result =
+          new com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -383,9 +428,7 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRe
         result.parent_ = parent_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.taxonomy_ = taxonomyBuilder_ == null
-            ? taxonomy_
-            : taxonomyBuilder_.build();
+        result.taxonomy_ = taxonomyBuilder_ == null ? taxonomy_ : taxonomyBuilder_.build();
       }
     }
 
@@ -393,38 +436,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRe
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -432,7 +476,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -467,24 +512,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getTaxonomyFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            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(getTaxonomyFieldBuilder().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) {
@@ -494,22 +540,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. Resource name of the project that the taxonomy will belong to.
      * 
* - * string parent = 1 [(.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; @@ -518,20 +569,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the project that the taxonomy will belong to.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -539,28 +593,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the project that the taxonomy will belong to.
      * 
* - * 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. Resource name of the project that the taxonomy will belong to.
      * 
* - * string 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() { @@ -570,17 +635,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Resource name of the project that the taxonomy will belong to.
      * 
* - * 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; @@ -590,34 +661,47 @@ public Builder setParentBytes( private com.google.cloud.datacatalog.v1beta1.Taxonomy taxonomy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Taxonomy, com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder> taxonomyBuilder_; + com.google.cloud.datacatalog.v1beta1.Taxonomy, + com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, + com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder> + taxonomyBuilder_; /** + * + * *
      * The taxonomy to be created.
      * 
* * .google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 2; + * * @return Whether the taxonomy field is set. */ public boolean hasTaxonomy() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The taxonomy to be created.
      * 
* * .google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 2; + * * @return The taxonomy. */ public com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomy() { if (taxonomyBuilder_ == null) { - return taxonomy_ == null ? com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance() : taxonomy_; + return taxonomy_ == null + ? com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance() + : taxonomy_; } else { return taxonomyBuilder_.getMessage(); } } /** + * + * *
      * The taxonomy to be created.
      * 
@@ -638,6 +722,8 @@ public Builder setTaxonomy(com.google.cloud.datacatalog.v1beta1.Taxonomy value) return this; } /** + * + * *
      * The taxonomy to be created.
      * 
@@ -656,6 +742,8 @@ public Builder setTaxonomy( return this; } /** + * + * *
      * The taxonomy to be created.
      * 
@@ -664,9 +752,9 @@ public Builder setTaxonomy( */ public Builder mergeTaxonomy(com.google.cloud.datacatalog.v1beta1.Taxonomy value) { if (taxonomyBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - taxonomy_ != null && - taxonomy_ != com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && taxonomy_ != null + && taxonomy_ != com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance()) { getTaxonomyBuilder().mergeFrom(value); } else { taxonomy_ = value; @@ -679,6 +767,8 @@ public Builder mergeTaxonomy(com.google.cloud.datacatalog.v1beta1.Taxonomy value return this; } /** + * + * *
      * The taxonomy to be created.
      * 
@@ -696,6 +786,8 @@ public Builder clearTaxonomy() { return this; } /** + * + * *
      * The taxonomy to be created.
      * 
@@ -708,6 +800,8 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder getTaxonomyBuilder( return getTaxonomyFieldBuilder().getBuilder(); } /** + * + * *
      * The taxonomy to be created.
      * 
@@ -718,11 +812,14 @@ public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomyOrBuild if (taxonomyBuilder_ != null) { return taxonomyBuilder_.getMessageOrBuilder(); } else { - return taxonomy_ == null ? - com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance() : taxonomy_; + return taxonomy_ == null + ? com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance() + : taxonomy_; } } /** + * + * *
      * The taxonomy to be created.
      * 
@@ -730,21 +827,24 @@ public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomyOrBuild * .google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Taxonomy, com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder> + com.google.cloud.datacatalog.v1beta1.Taxonomy, + com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, + com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder> getTaxonomyFieldBuilder() { if (taxonomyBuilder_ == null) { - taxonomyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Taxonomy, com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder>( - getTaxonomy(), - getParentForChildren(), - isClean()); + taxonomyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.Taxonomy, + com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, + com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder>( + getTaxonomy(), getParentForChildren(), isClean()); taxonomy_ = null; } return taxonomyBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -754,12 +854,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest) private static final com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest(); } @@ -768,27 +868,27 @@ public static com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTaxonomyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTaxonomyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -803,6 +903,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequestOrBuilder.java index 7cd89cd2dbfd..11cc70688fcc 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequestOrBuilder.java @@ -1,51 +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/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; -public interface CreateTaxonomyRequestOrBuilder extends +public interface CreateTaxonomyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the project that the taxonomy will belong to.
    * 
* - * string parent = 1 [(.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. Resource name of the project that the taxonomy will belong to.
    * 
* - * string parent = 1 [(.google.api.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(); /** + * + * *
    * The taxonomy to be created.
    * 
* * .google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 2; + * * @return Whether the taxonomy field is set. */ boolean hasTaxonomy(); /** + * + * *
    * The taxonomy to be created.
    * 
* * .google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 2; + * * @return The taxonomy. */ com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomy(); /** + * + * *
    * The taxonomy to be created.
    * 
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Datacatalog.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Datacatalog.java new file mode 100644 index 000000000000..b500bcdcc972 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Datacatalog.java @@ -0,0 +1,833 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/datacatalog.proto + +package com.google.cloud.datacatalog.v1beta1; + +public final class Datacatalog { + private Datacatalog() {} + + 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_datacatalog_v1beta1_SearchCatalogRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_Entry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_Entry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n2google/cloud/datacatalog/v1beta1/datac" + + "atalog.proto\022 google.cloud.datacatalog.v" + + "1beta1\032\034google/api/annotations.proto\032\027go" + + "ogle/api/client.proto\032\037google/api/field_" + + "behavior.proto\032\031google/api/resource.prot" + + "o\032-google/cloud/datacatalog/v1beta1/comm" + + "on.proto\0327google/cloud/datacatalog/v1bet" + + "a1/gcs_fileset_spec.proto\032-google/cloud/" + + "datacatalog/v1beta1/schema.proto\032-google" + + "/cloud/datacatalog/v1beta1/search.proto\032" + + "1google/cloud/datacatalog/v1beta1/table_" + + "spec.proto\032+google/cloud/datacatalog/v1b" + + "eta1/tags.proto\0321google/cloud/datacatalo" + + "g/v1beta1/timestamps.proto\032,google/cloud" + + "/datacatalog/v1beta1/usage.proto\032\036google" + + "/iam/v1/iam_policy.proto\032\032google/iam/v1/" + + "policy.proto\032\033google/protobuf/empty.prot" + + "o\032 google/protobuf/field_mask.proto\"\306\002\n\024" + + "SearchCatalogRequest\022Q\n\005scope\030\006 \001(\0132<.go" + + "ogle.cloud.datacatalog.v1beta1.SearchCat" + + "alogRequest.ScopeB\004\342A\001\002\022\023\n\005query\030\001 \001(\tB\004" + + "\342A\001\001\022\021\n\tpage_size\030\002 \001(\005\022\030\n\npage_token\030\003 " + + "\001(\tB\004\342A\001\001\022\020\n\010order_by\030\005 \001(\t\032\206\001\n\005Scope\022\027\n" + + "\017include_org_ids\030\002 \003(\t\022\033\n\023include_projec" + + "t_ids\030\003 \003(\t\022#\n\033include_gcp_public_datase" + + "ts\030\007 \001(\010\022\"\n\024restricted_locations\030\020 \003(\tB\004" + + "\342A\001\001\"\241\001\n\025SearchCatalogResponse\022F\n\007result" + + "s\030\001 \003(\01325.google.cloud.datacatalog.v1bet" + + "a1.SearchCatalogResult\022\022\n\ntotal_size\030\002 \001" + + "(\005\022\027\n\017next_page_token\030\003 \001(\t\022\023\n\013unreachab" + + "le\030\006 \003(\t\"\272\001\n\027CreateEntryGroupRequest\022>\n\006" + + "parent\030\001 \001(\tB.\342A\001\002\372A\'\022%datacatalog.googl" + + "eapis.com/EntryGroup\022\034\n\016entry_group_id\030\003" + + " \001(\tB\004\342A\001\002\022A\n\013entry_group\030\002 \001(\0132,.google" + + ".cloud.datacatalog.v1beta1.EntryGroup\"\223\001" + + "\n\027UpdateEntryGroupRequest\022G\n\013entry_group" + + "\030\001 \001(\0132,.google.cloud.datacatalog.v1beta" + + "1.EntryGroupB\004\342A\001\002\022/\n\013update_mask\030\002 \001(\0132" + + "\032.google.protobuf.FieldMask\"\203\001\n\024GetEntry" + + "GroupRequest\022<\n\004name\030\001 \001(\tB.\342A\001\002\372A\'\n%dat" + + "acatalog.googleapis.com/EntryGroup\022-\n\tre" + + "ad_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" + + "k\"l\n\027DeleteEntryGroupRequest\022<\n\004name\030\001 \001" + + "(\tB.\342A\001\002\372A\'\n%datacatalog.googleapis.com/" + + "EntryGroup\022\023\n\005force\030\002 \001(\010B\004\342A\001\001\"\213\001\n\026List" + + "EntryGroupsRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002" + + "\372A\'\022%datacatalog.googleapis.com/EntryGro" + + "up\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\"v\n\027ListEntryGroupsResponse" + + "\022B\n\014entry_groups\030\001 \003(\0132,.google.cloud.da" + + "tacatalog.v1beta1.EntryGroup\022\027\n\017next_pag" + + "e_token\030\002 \001(\t\"\252\001\n\022CreateEntryRequest\022>\n\006" + + "parent\030\001 \001(\tB.\342A\001\002\372A\'\n%datacatalog.googl" + + "eapis.com/EntryGroup\022\026\n\010entry_id\030\003 \001(\tB\004" + + "\342A\001\002\022<\n\005entry\030\002 \001(\0132\'.google.cloud.datac" + + "atalog.v1beta1.EntryB\004\342A\001\002\"\203\001\n\022UpdateEnt" + + "ryRequest\022<\n\005entry\030\001 \001(\0132\'.google.cloud." + + "datacatalog.v1beta1.EntryB\004\342A\001\002\022/\n\013updat" + + "e_mask\030\002 \001(\0132\032.google.protobuf.FieldMask" + + "\"M\n\022DeleteEntryRequest\0227\n\004name\030\001 \001(\tB)\342A" + + "\001\002\372A\"\n datacatalog.googleapis.com/Entry\"" + + "J\n\017GetEntryRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A" + + "\"\n datacatalog.googleapis.com/Entry\"V\n\022L" + + "ookupEntryRequest\022\031\n\017linked_resource\030\001 \001" + + "(\tH\000\022\026\n\014sql_resource\030\003 \001(\tH\000B\r\n\013target_n" + + "ame\"\340\007\n\005Entry\022<\n\004name\030\001 \001(\tB.\342A\001\003\372A\'\n%da" + + "tacatalog.googleapis.com/EntryGroup\022\027\n\017l" + + "inked_resource\030\t \001(\t\022;\n\004type\030\002 \001(\0162+.goo" + + "gle.cloud.datacatalog.v1beta1.EntryTypeH" + + "\000\022\035\n\023user_specified_type\030\020 \001(\tH\000\022U\n\021inte" + + "grated_system\030\021 \001(\01622.google.cloud.datac" + + "atalog.v1beta1.IntegratedSystemB\004\342A\001\003H\001\022" + + "\037\n\025user_specified_system\030\022 \001(\tH\001\022L\n\020gcs_" + + "fileset_spec\030\006 \001(\01320.google.cloud.dataca" + + "talog.v1beta1.GcsFilesetSpecH\002\022R\n\023bigque" + + "ry_table_spec\030\014 \001(\01323.google.cloud.datac" + + "atalog.v1beta1.BigQueryTableSpecH\002\022_\n\032bi" + + "gquery_date_sharded_spec\030\017 \001(\01329.google." + + "cloud.datacatalog.v1beta1.BigQueryDateSh" + + "ardedSpecH\002\022\024\n\014display_name\030\003 \001(\t\022\023\n\013des" + + "cription\030\004 \001(\t\0228\n\006schema\030\005 \001(\0132(.google." + + "cloud.datacatalog.v1beta1.Schema\022Z\n\030sour" + + "ce_system_timestamps\030\007 \001(\01322.google.clou" + + "d.datacatalog.v1beta1.SystemTimestampsB\004" + + "\342A\001\003\022I\n\014usage_signal\030\r \001(\0132-.google.clou" + + "d.datacatalog.v1beta1.UsageSignalB\004\342A\001\003:" + + "x\352Au\n datacatalog.googleapis.com/Entry\022Q" + + "projects/{project}/locations/{location}/" + + "entryGroups/{entry_group}/entries/{entry" + + "}B\014\n\nentry_typeB\010\n\006systemB\013\n\ttype_spec\"\217" + + "\002\n\nEntryGroup\022\014\n\004name\030\001 \001(\t\022\024\n\014display_n" + + "ame\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022Y\n\027data_c" + + "atalog_timestamps\030\004 \001(\01322.google.cloud.d" + + "atacatalog.v1beta1.SystemTimestampsB\004\342A\001" + + "\003:m\352Aj\n%datacatalog.googleapis.com/Entry" + + "Group\022Aprojects/{project}/locations/{loc" + + "ation}/entryGroups/{entry_group}\"\305\001\n\030Cre" + + "ateTagTemplateRequest\022?\n\006parent\030\001 \001(\tB/\342" + + "A\001\002\372A(\022&datacatalog.googleapis.com/TagTe" + + "mplate\022\035\n\017tag_template_id\030\003 \001(\tB\004\342A\001\002\022I\n" + + "\014tag_template\030\002 \001(\0132-.google.cloud.datac" + + "atalog.v1beta1.TagTemplateB\004\342A\001\002\"V\n\025GetT" + + "agTemplateRequest\022=\n\004name\030\001 \001(\tB/\342A\001\002\372A(" + + "\n&datacatalog.googleapis.com/TagTemplate" + + "\"\226\001\n\030UpdateTagTemplateRequest\022I\n\014tag_tem" + + "plate\030\001 \001(\0132-.google.cloud.datacatalog.v" + + "1beta1.TagTemplateB\004\342A\001\002\022/\n\013update_mask\030" + + "\002 \001(\0132\032.google.protobuf.FieldMask\"n\n\030Del" + + "eteTagTemplateRequest\022=\n\004name\030\001 \001(\tB/\342A\001" + + "\002\372A(\n&datacatalog.googleapis.com/TagTemp" + + "late\022\023\n\005force\030\002 \001(\010B\004\342A\001\002\"\205\001\n\020CreateTagR" + + "equest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036datacat" + + "alog.googleapis.com/Tag\0228\n\003tag\030\002 \001(\0132%.g" + + "oogle.cloud.datacatalog.v1beta1.TagB\004\342A\001" + + "\002\"}\n\020UpdateTagRequest\0228\n\003tag\030\001 \001(\0132%.goo" + + "gle.cloud.datacatalog.v1beta1.TagB\004\342A\001\002\022" + + "/\n\013update_mask\030\002 \001(\0132\032.google.protobuf.F" + + "ieldMask\"I\n\020DeleteTagRequest\0225\n\004name\030\001 \001" + + "(\tB\'\342A\001\002\372A \022\036datacatalog.googleapis.com/" + + "Tag\"\333\001\n\035CreateTagTemplateFieldRequest\022?\n" + + "\006parent\030\001 \001(\tB/\342A\001\002\372A(\n&datacatalog.goog" + + "leapis.com/TagTemplate\022#\n\025tag_template_f" + + "ield_id\030\002 \001(\tB\004\342A\001\002\022T\n\022tag_template_fiel" + + "d\030\003 \001(\01322.google.cloud.datacatalog.v1bet" + + "a1.TagTemplateFieldB\004\342A\001\002\"\360\001\n\035UpdateTagT" + + "emplateFieldRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372" + + "A-\n+datacatalog.googleapis.com/TagTempla" + + "teField\022T\n\022tag_template_field\030\002 \001(\01322.go" + + "ogle.cloud.datacatalog.v1beta1.TagTempla" + + "teFieldB\004\342A\001\002\0225\n\013update_mask\030\003 \001(\0132\032.goo" + + "gle.protobuf.FieldMaskB\004\342A\001\001\"\214\001\n\035RenameT" + + "agTemplateFieldRequest\022B\n\004name\030\001 \001(\tB4\342A" + + "\001\002\372A-\n+datacatalog.googleapis.com/TagTem" + + "plateField\022\'\n\031new_tag_template_field_id\030" + + "\002 \001(\tB\004\342A\001\002\"\240\001\n&RenameTagTemplateFieldEn" + + "umValueRequest\022K\n\004name\030\001 \001(\tB=\342A\001\002\372A6\n4d" + + "atacatalog.googleapis.com/TagTemplateFie" + + "ldEnumValue\022)\n\033new_enum_value_display_na" + + "me\030\002 \001(\tB\004\342A\001\002\"x\n\035DeleteTagTemplateField" + + "Request\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+datacata" + + "log.googleapis.com/TagTemplateField\022\023\n\005f" + + "orce\030\002 \001(\010B\004\342A\001\002\"q\n\017ListTagsRequest\0227\n\006p" + + "arent\030\001 \001(\tB\'\342A\001\002\372A \022\036datacatalog.google" + + "apis.com/Tag\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_" + + "token\030\003 \001(\t\"`\n\020ListTagsResponse\0223\n\004tags\030" + + "\001 \003(\0132%.google.cloud.datacatalog.v1beta1" + + ".Tag\022\027\n\017next_page_token\030\002 \001(\t\"\252\001\n\022ListEn" + + "triesRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n%d" + + "atacatalog.googleapis.com/EntryGroup\022\021\n\t" + + "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022-\n\tr" + + "ead_mask\030\004 \001(\0132\032.google.protobuf.FieldMa" + + "sk\"h\n\023ListEntriesResponse\0228\n\007entries\030\001 \003" + + "(\0132\'.google.cloud.datacatalog.v1beta1.En" + + "try\022\027\n\017next_page_token\030\002 \001(\t*[\n\tEntryTyp" + + "e\022\032\n\026ENTRY_TYPE_UNSPECIFIED\020\000\022\t\n\005TABLE\020\002" + + "\022\t\n\005MODEL\020\005\022\017\n\013DATA_STREAM\020\003\022\013\n\007FILESET\020" + + "\0042\3414\n\013DataCatalog\022\262\001\n\rSearchCatalog\0226.go" + + "ogle.cloud.datacatalog.v1beta1.SearchCat" + + "alogRequest\0327.google.cloud.datacatalog.v" + + "1beta1.SearchCatalogResponse\"0\332A\013scope,q" + + "uery\202\323\344\223\002\034\"\027/v1beta1/catalog:search:\001*\022\352" + + "\001\n\020CreateEntryGroup\0229.google.cloud.datac" + + "atalog.v1beta1.CreateEntryGroupRequest\032," + + ".google.cloud.datacatalog.v1beta1.EntryG" + + "roup\"m\332A!parent,entry_group_id,entry_gro" + + "up\202\323\344\223\002C\"4/v1beta1/{parent=projects/*/lo" + + "cations/*}/entryGroups:\013entry_group\022\372\001\n\020" + + "UpdateEntryGroup\0229.google.cloud.datacata" + + "log.v1beta1.UpdateEntryGroupRequest\032,.go" + + "ogle.cloud.datacatalog.v1beta1.EntryGrou" + + "p\"}\332A\013entry_group\332A\027entry_group,update_m" + + "ask\202\323\344\223\002O2@/v1beta1/{entry_group.name=pr" + + "ojects/*/locations/*/entryGroups/*}:\013ent" + + "ry_group\022\313\001\n\rGetEntryGroup\0226.google.clou" + + "d.datacatalog.v1beta1.GetEntryGroupReque" + + "st\032,.google.cloud.datacatalog.v1beta1.En" + + "tryGroup\"T\332A\004name\332A\016name,read_mask\202\323\344\223\0026" + + "\0224/v1beta1/{name=projects/*/locations/*/" + + "entryGroups/*}\022\252\001\n\020DeleteEntryGroup\0229.go" + + "ogle.cloud.datacatalog.v1beta1.DeleteEnt" + + "ryGroupRequest\032\026.google.protobuf.Empty\"C" + + "\332A\004name\202\323\344\223\0026*4/v1beta1/{name=projects/*" + + "/locations/*/entryGroups/*}\022\315\001\n\017ListEntr" + + "yGroups\0228.google.cloud.datacatalog.v1bet" + + "a1.ListEntryGroupsRequest\0329.google.cloud" + + ".datacatalog.v1beta1.ListEntryGroupsResp" + + "onse\"E\332A\006parent\202\323\344\223\0026\0224/v1beta1/{parent=" + + "projects/*/locations/*}/entryGroups\022\323\001\n\013" + + "CreateEntry\0224.google.cloud.datacatalog.v" + + "1beta1.CreateEntryRequest\032\'.google.cloud" + + ".datacatalog.v1beta1.Entry\"e\332A\025parent,en" + + "try_id,entry\202\323\344\223\002G\">/v1beta1/{parent=pro" + + "jects/*/locations/*/entryGroups/*}/entri" + + "es:\005entry\022\335\001\n\013UpdateEntry\0224.google.cloud" + + ".datacatalog.v1beta1.UpdateEntryRequest\032" + + "\'.google.cloud.datacatalog.v1beta1.Entry" + + "\"o\332A\005entry\332A\021entry,update_mask\202\323\344\223\002M2D/v" + + "1beta1/{entry.name=projects/*/locations/" + + "*/entryGroups/*/entries/*}:\005entry\022\252\001\n\013De" + + "leteEntry\0224.google.cloud.datacatalog.v1b" + + "eta1.DeleteEntryRequest\032\026.google.protobu" + + "f.Empty\"M\332A\004name\202\323\344\223\002@*>/v1beta1/{name=p" + + "rojects/*/locations/*/entryGroups/*/entr" + + "ies/*}\022\265\001\n\010GetEntry\0221.google.cloud.datac" + + "atalog.v1beta1.GetEntryRequest\032\'.google." + + "cloud.datacatalog.v1beta1.Entry\"M\332A\004name" + + "\202\323\344\223\002@\022>/v1beta1/{name=projects/*/locati" + + "ons/*/entryGroups/*/entries/*}\022\215\001\n\013Looku" + + "pEntry\0224.google.cloud.datacatalog.v1beta" + + "1.LookupEntryRequest\032\'.google.cloud.data" + + "catalog.v1beta1.Entry\"\037\202\323\344\223\002\031\022\027/v1beta1/" + + "entries:lookup\022\313\001\n\013ListEntries\0224.google." + + "cloud.datacatalog.v1beta1.ListEntriesReq" + + "uest\0325.google.cloud.datacatalog.v1beta1." + + "ListEntriesResponse\"O\332A\006parent\202\323\344\223\002@\022>/v" + + "1beta1/{parent=projects/*/locations/*/en" + + "tryGroups/*}/entries\022\361\001\n\021CreateTagTempla" + + "te\022:.google.cloud.datacatalog.v1beta1.Cr" + + "eateTagTemplateRequest\032-.google.cloud.da" + + "tacatalog.v1beta1.TagTemplate\"q\332A#parent" + + ",tag_template_id,tag_template\202\323\344\223\002E\"5/v1" + + "beta1/{parent=projects/*/locations/*}/ta" + + "gTemplates:\014tag_template\022\276\001\n\016GetTagTempl" + + "ate\0227.google.cloud.datacatalog.v1beta1.G" + + "etTagTemplateRequest\032-.google.cloud.data" + + "catalog.v1beta1.TagTemplate\"D\332A\004name\202\323\344\223" + + "\0027\0225/v1beta1/{name=projects/*/locations/" + + "*/tagTemplates/*}\022\203\002\n\021UpdateTagTemplate\022" + + ":.google.cloud.datacatalog.v1beta1.Updat" + + "eTagTemplateRequest\032-.google.cloud.datac" + + "atalog.v1beta1.TagTemplate\"\202\001\332A\014tag_temp" + + "late\332A\030tag_template,update_mask\202\323\344\223\002R2B/" + + "v1beta1/{tag_template.name=projects/*/lo" + + "cations/*/tagTemplates/*}:\014tag_template\022" + + "\263\001\n\021DeleteTagTemplate\022:.google.cloud.dat" + + "acatalog.v1beta1.DeleteTagTemplateReques" + + "t\032\026.google.protobuf.Empty\"J\332A\nname,force" + + "\202\323\344\223\0027*5/v1beta1/{name=projects/*/locati" + + "ons/*/tagTemplates/*}\022\234\002\n\026CreateTagTempl" + + "ateField\022?.google.cloud.datacatalog.v1be" + + "ta1.CreateTagTemplateFieldRequest\0322.goog" + + "le.cloud.datacatalog.v1beta1.TagTemplate" + + "Field\"\214\001\332A/parent,tag_template_field_id," + + "tag_template_field\202\323\344\223\002T\">/v1beta1/{pare" + + "nt=projects/*/locations/*/tagTemplates/*" + + "}/fields:\022tag_template_field\022\252\002\n\026UpdateT" + + "agTemplateField\022?.google.cloud.datacatal" + + "og.v1beta1.UpdateTagTemplateFieldRequest" + + "\0322.google.cloud.datacatalog.v1beta1.TagT" + + "emplateField\"\232\001\332A\027name,tag_template_fiel" + + "d\332A#name,tag_template_field,update_mask\202" + + "\323\344\223\002T2>/v1beta1/{name=projects/*/locatio" + + "ns/*/tagTemplates/*/fields/*}:\022tag_templ" + + "ate_field\022\200\002\n\026RenameTagTemplateField\022?.g" + + "oogle.cloud.datacatalog.v1beta1.RenameTa" + + "gTemplateFieldRequest\0322.google.cloud.dat" + + "acatalog.v1beta1.TagTemplateField\"q\332A\036na" + + "me,new_tag_template_field_id\202\323\344\223\002J\"E/v1b" + + "eta1/{name=projects/*/locations/*/tagTem" + + "plates/*/fields/*}:rename:\001*\022\242\002\n\037RenameT" + + "agTemplateFieldEnumValue\022H.google.cloud." + + "datacatalog.v1beta1.RenameTagTemplateFie" + + "ldEnumValueRequest\0322.google.cloud.dataca" + + "talog.v1beta1.TagTemplateField\"\200\001\332A name" + + ",new_enum_value_display_name\202\323\344\223\002W\"R/v1b" + + "eta1/{name=projects/*/locations/*/tagTem" + + "plates/*/fields/*/enumValues/*}:rename:\001" + + "*\022\306\001\n\026DeleteTagTemplateField\022?.google.cl" + + "oud.datacatalog.v1beta1.DeleteTagTemplat" + + "eFieldRequest\032\026.google.protobuf.Empty\"S\332" + + "A\nname,force\202\323\344\223\002@*>/v1beta1/{name=proje" + + "cts/*/locations/*/tagTemplates/*/fields/" + + "*}\022\215\002\n\tCreateTag\0222.google.cloud.datacata" + + "log.v1beta1.CreateTagRequest\032%.google.cl" + + "oud.datacatalog.v1beta1.Tag\"\244\001\332A\nparent," + + "tag\202\323\344\223\002\220\001\"E/v1beta1/{parent=projects/*/" + + "locations/*/entryGroups/*/entries/*}/tag" + + "s:\003tagZB\";/v1beta1/{parent=projects/*/lo" + + "cations/*/entryGroups/*}/tags:\003tag\022\240\002\n\tU" + + "pdateTag\0222.google.cloud.datacatalog.v1be" + + "ta1.UpdateTagRequest\032%.google.cloud.data" + + "catalog.v1beta1.Tag\"\267\001\332A\003tag\332A\017tag,updat" + + "e_mask\202\323\344\223\002\230\0012I/v1beta1/{tag.name=projec" + + "ts/*/locations/*/entryGroups/*/entries/*" + + "/tags/*}:\003tagZF2?/v1beta1/{tag.name=proj" + + "ects/*/locations/*/entryGroups/*/tags/*}" + + ":\003tag\022\356\001\n\tDeleteTag\0222.google.cloud.datac" + + "atalog.v1beta1.DeleteTagRequest\032\026.google" + + ".protobuf.Empty\"\224\001\332A\004name\202\323\344\223\002\206\001*E/v1bet" + + "a1/{name=projects/*/locations/*/entryGro" + + "ups/*/entries/*/tags/*}Z=*;/v1beta1/{nam" + + "e=projects/*/locations/*/entryGroups/*/t" + + "ags/*}\022\212\002\n\010ListTags\0221.google.cloud.datac" + + "atalog.v1beta1.ListTagsRequest\0322.google." + + "cloud.datacatalog.v1beta1.ListTagsRespon" + + "se\"\226\001\332A\006parent\202\323\344\223\002\206\001\022E/v1beta1/{parent=" + + "projects/*/locations/*/entryGroups/*/ent" + + "ries/*}/tagsZ=\022;/v1beta1/{parent=project" + + "s/*/locations/*/entryGroups/*}/tags\022\374\001\n\014" + + "SetIamPolicy\022\".google.iam.v1.SetIamPolic" + + "yRequest\032\025.google.iam.v1.Policy\"\260\001\332A\017res" + + "ource,policy\202\323\344\223\002\227\001\"F/v1beta1/{resource=" + + "projects/*/locations/*/tagTemplates/*}:s" + + "etIamPolicy:\001*ZJ\"E/v1beta1/{resource=pro" + + "jects/*/locations/*/entryGroups/*}:setIa" + + "mPolicy:\001*\022\313\002\n\014GetIamPolicy\022\".google.iam" + + ".v1.GetIamPolicyRequest\032\025.google.iam.v1." + + "Policy\"\377\001\332A\010resource\202\323\344\223\002\355\001\"F/v1beta1/{r" + + "esource=projects/*/locations/*/tagTempla" + + "tes/*}:getIamPolicy:\001*ZJ\"E/v1beta1/{reso" + + "urce=projects/*/locations/*/entryGroups/" + + "*}:getIamPolicy:\001*ZT\"O/v1beta1/{resource" + + "=projects/*/locations/*/entryGroups/*/en" + + "tries/*}:getIamPolicy:\001*\022\362\002\n\022TestIamPerm" + + "issions\022(.google.iam.v1.TestIamPermissio" + + "nsRequest\032).google.iam.v1.TestIamPermiss" + + "ionsResponse\"\206\002\202\323\344\223\002\377\001\"L/v1beta1/{resour" + + "ce=projects/*/locations/*/tagTemplates/*" + + "}:testIamPermissions:\001*ZP\"K/v1beta1/{res" + + "ource=projects/*/locations/*/entryGroups" + + "/*}:testIamPermissions:\001*ZZ\"U/v1beta1/{r" + + "esource=projects/*/locations/*/entryGrou" + + "ps/*/entries/*}:testIamPermissions:\001*\032N\312" + + "A\032datacatalog.googleapis.com\322A.https://w" + + "ww.googleapis.com/auth/cloud-platformB\243\003" + + "\n$com.google.cloud.datacatalog.v1beta1P\001" + + "ZFcloud.google.com/go/datacatalog/apiv1b" + + "eta1/datacatalogpb;datacatalogpb\370\001\001\252\002 Go" + + "ogle.Cloud.DataCatalog.V1Beta1\312\002 Google\\" + + "Cloud\\DataCatalog\\V1beta1\352\002#Google::Clou" + + "d::DataCatalog::V1beta1\352A\300\001\n4datacatalog" + + ".googleapis.com/TagTemplateFieldEnumValu" + + "e\022\207\001projects/{project}/locations/{locati" + + "on}/tagTemplates/{tag_template}/fields/{" + + "tag_template_field_id}/enumValues/{enum_" + + "value_display_name}b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.datacatalog.v1beta1.Common.getDescriptor(), + com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass.getDescriptor(), + com.google.cloud.datacatalog.v1beta1.SchemaOuterClass.getDescriptor(), + com.google.cloud.datacatalog.v1beta1.Search.getDescriptor(), + com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.getDescriptor(), + com.google.cloud.datacatalog.v1beta1.Tags.getDescriptor(), + com.google.cloud.datacatalog.v1beta1.Timestamps.getDescriptor(), + com.google.cloud.datacatalog.v1beta1.Usage.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_descriptor, + new java.lang.String[] { + "Scope", "Query", "PageSize", "PageToken", "OrderBy", + }); + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_descriptor = + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_descriptor, + new java.lang.String[] { + "IncludeOrgIds", + "IncludeProjectIds", + "IncludeGcpPublicDatasets", + "RestrictedLocations", + }); + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_descriptor, + new java.lang.String[] { + "Results", "TotalSize", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_descriptor, + new java.lang.String[] { + "Parent", "EntryGroupId", "EntryGroup", + }); + internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_descriptor, + new java.lang.String[] { + "EntryGroup", "UpdateMask", + }); + internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_descriptor, + new java.lang.String[] { + "Name", "ReadMask", + }); + internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_descriptor, + new java.lang.String[] { + "Name", "Force", + }); + internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_descriptor, + new java.lang.String[] { + "EntryGroups", "NextPageToken", + }); + internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_descriptor, + new java.lang.String[] { + "Parent", "EntryId", "Entry", + }); + internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_descriptor, + new java.lang.String[] { + "Entry", "UpdateMask", + }); + internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_descriptor, + new java.lang.String[] { + "LinkedResource", "SqlResource", "TargetName", + }); + internal_static_google_cloud_datacatalog_v1beta1_Entry_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_datacatalog_v1beta1_Entry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_Entry_descriptor, + new java.lang.String[] { + "Name", + "LinkedResource", + "Type", + "UserSpecifiedType", + "IntegratedSystem", + "UserSpecifiedSystem", + "GcsFilesetSpec", + "BigqueryTableSpec", + "BigqueryDateShardedSpec", + "DisplayName", + "Description", + "Schema", + "SourceSystemTimestamps", + "UsageSignal", + "EntryType", + "System", + "TypeSpec", + }); + internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_descriptor, + new java.lang.String[] { + "Name", "DisplayName", "Description", "DataCatalogTimestamps", + }); + internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_descriptor, + new java.lang.String[] { + "Parent", "TagTemplateId", "TagTemplate", + }); + internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_descriptor, + new java.lang.String[] { + "TagTemplate", "UpdateMask", + }); + internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_descriptor, + new java.lang.String[] { + "Name", "Force", + }); + internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_descriptor, + new java.lang.String[] { + "Parent", "Tag", + }); + internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_descriptor, + new java.lang.String[] { + "Tag", "UpdateMask", + }); + internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_descriptor, + new java.lang.String[] { + "Parent", "TagTemplateFieldId", "TagTemplateField", + }); + internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_descriptor, + new java.lang.String[] { + "Name", "TagTemplateField", "UpdateMask", + }); + internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_descriptor, + new java.lang.String[] { + "Name", "NewTagTemplateFieldId", + }); + internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_descriptor, + new java.lang.String[] { + "Name", "NewEnumValueDisplayName", + }); + internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_descriptor, + new java.lang.String[] { + "Name", "Force", + }); + internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_descriptor, + new java.lang.String[] { + "Tags", "NextPageToken", + }); + internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "ReadMask", + }); + internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_descriptor, + new java.lang.String[] { + "Entries", "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.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.datacatalog.v1beta1.Common.getDescriptor(); + com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass.getDescriptor(); + com.google.cloud.datacatalog.v1beta1.SchemaOuterClass.getDescriptor(); + com.google.cloud.datacatalog.v1beta1.Search.getDescriptor(); + com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.getDescriptor(); + com.google.cloud.datacatalog.v1beta1.Tags.getDescriptor(); + com.google.cloud.datacatalog.v1beta1.Timestamps.getDescriptor(); + com.google.cloud.datacatalog.v1beta1.Usage.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequest.java similarity index 63% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequest.java index 066f0c79f999..1a4ecb61b441 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequest.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Request message for
  * [DeleteEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteEntryGroup].
@@ -11,49 +28,57 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest}
  */
-public final class DeleteEntryGroupRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeleteEntryGroupRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest)
     DeleteEntryGroupRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteEntryGroupRequest.newBuilder() to construct.
   private DeleteEntryGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteEntryGroupRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteEntryGroupRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest.class, com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest.class,
+            com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the entry group. For example,
    * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
    * 
* - * string name = 1 [(.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 name of the entry group. For example,
    * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
    * 
* - * string name = 1 [(.google.api.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 { @@ -96,11 +123,14 @@ public java.lang.String getName() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_ = false; /** + * + * *
    * Optional. If true, deletes all entries in the entry group.
    * 
* * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The force. */ @java.lang.Override @@ -109,6 +139,7 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -120,8 +151,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -141,8 +171,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -152,17 +181,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.datacatalog.v1beta1.DeleteEntryGroupRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest other = (com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest) obj; + com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest other = + (com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getForce() - != other.getForce()) return false; + if (!getName().equals(other.getName())) return false; + if (getForce() != other.getForce()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -177,106 +205,111 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [DeleteEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteEntryGroup].
@@ -284,33 +317,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest)
       com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest.class, com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest.class,
+              com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -321,13 +353,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest getDefaultInstanceForType() {
+    public com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest.getDefaultInstance();
     }
 
@@ -342,13 +375,17 @@ public com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest result = new com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest result =
+          new com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest result) {
+    private void buildPartial0(
+        com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -362,38 +399,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.DeleteEntryGroup
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -401,7 +439,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -436,22 +476,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              force_ = input.readBool();
-              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:
+              {
+                force_ = 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) {
@@ -461,23 +504,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the entry group. For example,
      * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
      * 
* - * string name = 1 [(.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; @@ -486,21 +534,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the entry group. For example,
      * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
      * 
* - * string name = 1 [(.google.api.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 { @@ -508,30 +559,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the entry group. For example,
      * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the entry group. For example,
      * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
      * 
* - * string 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() { @@ -541,18 +603,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the entry group. For example,
      * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
      * 
* - * string name = 1 [(.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; @@ -560,13 +628,16 @@ public Builder setNameBytes( return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * Optional. If true, deletes all entries in the entry group.
      * 
* * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The force. */ @java.lang.Override @@ -574,11 +645,14 @@ public boolean getForce() { return force_; } /** + * + * *
      * Optional. If true, deletes all entries in the entry group.
      * 
* * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The force to set. * @return This builder for chaining. */ @@ -590,11 +664,14 @@ public Builder setForce(boolean value) { return this; } /** + * + * *
      * Optional. If true, deletes all entries in the entry group.
      * 
* * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearForce() { @@ -603,9 +680,9 @@ public Builder clearForce() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -615,12 +692,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest) - private static final com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest DEFAULT_INSTANCE; + private static final com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest(); } @@ -629,27 +707,27 @@ public static com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteEntryGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteEntryGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -664,6 +742,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequestOrBuilder.java new file mode 100644 index 000000000000..69f3d759b503 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequestOrBuilder.java @@ -0,0 +1,69 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/datacatalog.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface DeleteEntryGroupRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the entry group. For example,
+   * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the entry group. For example,
+   * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Optional. If true, deletes all entries in the entry group.
+   * 
+ * + * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The force. + */ + boolean getForce(); +} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequest.java similarity index 62% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequest.java index 54ffd5f0bdf4..0780d20143bb 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequest.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Request message for
  * [DeleteEntry][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteEntry].
@@ -11,50 +28,58 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.DeleteEntryRequest}
  */
-public final class DeleteEntryRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeleteEntryRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.DeleteEntryRequest)
     DeleteEntryRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteEntryRequest.newBuilder() to construct.
   private DeleteEntryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteEntryRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteEntryRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest.class, com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest.class,
+            com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the entry. Example:
    *
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
    * 
* - * string name = 1 [(.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,31 +88,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the entry. Example:
    *
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
    * 
* - * string name = 1 [(.google.api.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 { @@ -96,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -132,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest other = (com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest) obj; + com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest other = + (com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest) 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 +187,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [DeleteEntry][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteEntry].
@@ -259,33 +292,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.DeleteEntryRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.DeleteEntryRequest)
       com.google.cloud.datacatalog.v1beta1.DeleteEntryRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest.class, com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest.class,
+              com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        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 +327,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_descriptor;
     }
 
     @java.lang.Override
@@ -316,8 +348,11 @@ public com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest result = new com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest result =
+          new com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -333,38 +368,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.DeleteEntryReque
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -372,7 +408,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -404,17 +441,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -424,24 +463,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the entry. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      * 
* - * string name = 1 [(.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; @@ -450,22 +494,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the entry. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      * 
* - * string name = 1 [(.google.api.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 { @@ -473,32 +520,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the entry. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the entry. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      * 
* - * string 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() { @@ -508,28 +566,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the entry. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -539,12 +603,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.DeleteEntryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.DeleteEntryRequest) private static final com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest(); } @@ -553,27 +617,27 @@ public static com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteEntryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteEntryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +652,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequestOrBuilder.java new file mode 100644 index 000000000000..283a4042336e --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequestOrBuilder.java @@ -0,0 +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/datacatalog/v1beta1/datacatalog.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface DeleteEntryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.DeleteEntryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the entry. Example:
+   *
+   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the entry. Example:
+   *
+   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_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-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequest.java similarity index 64% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequest.java index 981f3bce7289..1d77e5a6353c 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequest.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/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Request message for
  * [DeletePolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.DeletePolicyTag].
@@ -11,49 +28,57 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest}
  */
-public final class DeletePolicyTagRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeletePolicyTagRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest)
     DeletePolicyTagRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeletePolicyTagRequest.newBuilder() to construct.
   private DeletePolicyTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeletePolicyTagRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeletePolicyTagRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_DeletePolicyTagRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1beta1_DeletePolicyTagRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_DeletePolicyTagRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1beta1_DeletePolicyTagRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest.class, com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest.class,
+            com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. Resource name of the policy tag to be deleted. All of its
    * descendant policy tags will also be deleted.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -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. Resource name of the policy tag to be deleted. All of its
    * descendant policy tags will also be deleted.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -94,6 +121,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -105,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_); } @@ -130,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.datacatalog.v1beta1.DeletePolicyTagRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest other = (com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest) obj; + com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest other = + (com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -158,98 +185,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [DeletePolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.DeletePolicyTag].
@@ -257,33 +290,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest)
       com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_DeletePolicyTagRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_DeletePolicyTagRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_DeletePolicyTagRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_DeletePolicyTagRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest.class, com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest.class,
+              com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -293,9 +325,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_DeletePolicyTagRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_DeletePolicyTagRequest_descriptor;
     }
 
     @java.lang.Override
@@ -314,8 +346,11 @@ public com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest result = new com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest result =
+          new com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -331,38 +366,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.DeletePolicyTagR
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -370,7 +406,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -402,17 +439,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) {
@@ -422,23 +461,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. Resource name of the policy tag to be deleted. All of its
      * descendant policy tags will also be deleted.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -447,21 +491,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the policy tag to be deleted. All of its
      * descendant policy tags will also be deleted.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -469,30 +516,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the policy tag to be deleted. All of its
      * descendant policy tags will also be deleted.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - 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. Resource name of the policy tag to be deleted. All of its
      * descendant policy tags will also be deleted.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -502,27 +560,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Resource name of the policy tag to be deleted. All of its
      * descendant policy tags will also be deleted.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - 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); } @@ -532,12 +596,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest) private static final com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest(); } @@ -546,27 +610,27 @@ public static com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePolicyTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePolicyTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -581,6 +645,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequestOrBuilder.java new file mode 100644 index 000000000000..4d159415e702 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequestOrBuilder.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/datacatalog/v1beta1/policytagmanager.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface DeletePolicyTagRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Resource name of the policy tag to be deleted. All of its
+   * descendant policy tags will also be deleted.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Resource name of the policy tag to be deleted. All of its
+   * descendant policy tags will also be deleted.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequest.java similarity index 63% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequest.java index a5826e7e8cca..e51d2da20d2d 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequest.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Request message for
  * [DeleteTag][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTag].
@@ -11,50 +28,58 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.DeleteTagRequest}
  */
-public final class DeleteTagRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeleteTagRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.DeleteTagRequest)
     DeleteTagRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteTagRequest.newBuilder() to construct.
   private DeleteTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteTagRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteTagRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.DeleteTagRequest.class, com.google.cloud.datacatalog.v1beta1.DeleteTagRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.DeleteTagRequest.class,
+            com.google.cloud.datacatalog.v1beta1.DeleteTagRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the tag to delete. Example:
    *
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
    * 
* - * string name = 1 [(.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,31 +88,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the tag to delete. Example:
    *
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
    * 
* - * string name = 1 [(.google.api.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 { @@ -96,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -132,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1beta1.DeleteTagRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.DeleteTagRequest other = (com.google.cloud.datacatalog.v1beta1.DeleteTagRequest) obj; + com.google.cloud.datacatalog.v1beta1.DeleteTagRequest other = + (com.google.cloud.datacatalog.v1beta1.DeleteTagRequest) 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 +187,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.DeleteTagRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.DeleteTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.DeleteTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.DeleteTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.DeleteTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.DeleteTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.DeleteTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.DeleteTagRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.DeleteTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.DeleteTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.DeleteTagRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.DeleteTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [DeleteTag][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTag].
@@ -259,33 +292,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.DeleteTagRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.DeleteTagRequest)
       com.google.cloud.datacatalog.v1beta1.DeleteTagRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.DeleteTagRequest.class, com.google.cloud.datacatalog.v1beta1.DeleteTagRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.DeleteTagRequest.class,
+              com.google.cloud.datacatalog.v1beta1.DeleteTagRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.DeleteTagRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        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 +327,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_descriptor;
     }
 
     @java.lang.Override
@@ -316,8 +348,11 @@ public com.google.cloud.datacatalog.v1beta1.DeleteTagRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.DeleteTagRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.DeleteTagRequest result = new com.google.cloud.datacatalog.v1beta1.DeleteTagRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.DeleteTagRequest result =
+          new com.google.cloud.datacatalog.v1beta1.DeleteTagRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -333,38 +368,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.DeleteTagRequest
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.DeleteTagRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.DeleteTagRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.DeleteTagRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -372,7 +408,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.DeleteTagRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.DeleteTagRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.DeleteTagRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -404,17 +441,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -424,24 +463,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the tag to delete. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
      * 
* - * string name = 1 [(.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; @@ -450,22 +494,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the tag to delete. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
      * 
* - * string name = 1 [(.google.api.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 { @@ -473,32 +520,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the tag to delete. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the tag to delete. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
      * 
* - * string 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() { @@ -508,28 +566,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the tag to delete. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -539,12 +603,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.DeleteTagRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.DeleteTagRequest) private static final com.google.cloud.datacatalog.v1beta1.DeleteTagRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.DeleteTagRequest(); } @@ -553,27 +617,27 @@ public static com.google.cloud.datacatalog.v1beta1.DeleteTagRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +652,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.DeleteTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequestOrBuilder.java new file mode 100644 index 000000000000..e4731e657346 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequestOrBuilder.java @@ -0,0 +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/datacatalog/v1beta1/datacatalog.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface DeleteTagRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.DeleteTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the tag to delete. Example:
+   *
+   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the tag to delete. Example:
+   *
+   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_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-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequest.java similarity index 62% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequest.java index b24f7e8790ea..dbddf18c8459 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequest.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Request message for
  * [DeleteTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTagTemplateField].
@@ -11,50 +28,58 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest}
  */
-public final class DeleteTagTemplateFieldRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeleteTagTemplateFieldRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest)
     DeleteTagTemplateFieldRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteTagTemplateFieldRequest.newBuilder() to construct.
   private DeleteTagTemplateFieldRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteTagTemplateFieldRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteTagTemplateFieldRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest.class, com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest.class,
+            com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the tag template field to delete. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
    * 
* - * string name = 1 [(.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,31 +88,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the tag template field to delete. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +125,8 @@ public java.lang.String getName() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_ = false; /** + * + * *
    * Required. Currently, this field must always be set to `true`.
    * This confirms the deletion of this field from any tags using this field.
@@ -105,6 +134,7 @@ public java.lang.String getName() {
    * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The force. */ @java.lang.Override @@ -113,6 +143,7 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -124,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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -145,8 +175,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -156,17 +185,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.datacatalog.v1beta1.DeleteTagTemplateFieldRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest other = (com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest) obj; + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest other = + (com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getForce() - != other.getForce()) return false; + if (!getName().equals(other.getName())) return false; + if (getForce() != other.getForce()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -181,106 +209,112 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest parseDelimitedFrom( - java.io.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.datacatalog.v1beta1.DeleteTagTemplateFieldRequest + parseDelimitedFrom( + java.io.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.datacatalog.v1beta1.DeleteTagTemplateFieldRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [DeleteTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTagTemplateField].
@@ -288,33 +322,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest)
       com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest.class, com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest.class,
+              com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest.Builder.class);
     }
 
-    // Construct using com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest.newBuilder()
-    private Builder() {
-
-    }
+    // Construct using
+    // com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest.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();
@@ -325,14 +359,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest getDefaultInstanceForType() {
-      return com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest.getDefaultInstance();
+    public com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest
+        getDefaultInstanceForType() {
+      return com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -346,13 +382,17 @@ public com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest build(
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest result = new com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest result =
+          new com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest result) {
+    private void buildPartial0(
+        com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -366,46 +406,51 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.DeleteTagTemplat
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest)other);
+        return mergeFrom(
+            (com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest other) {
+      if (other
+          == com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest
+              .getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -440,22 +485,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              force_ = input.readBool();
-              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:
+              {
+                force_ = 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) {
@@ -465,24 +513,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the tag template field to delete. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
      * 
* - * string name = 1 [(.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; @@ -491,22 +544,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the tag template field to delete. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
      * 
* - * string name = 1 [(.google.api.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,32 +570,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the tag template field to delete. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the tag template field to delete. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
      * 
* - * string 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() { @@ -549,19 +616,25 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the tag template field to delete. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
      * 
* - * string name = 1 [(.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; @@ -569,8 +642,10 @@ public Builder setNameBytes( return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * Required. Currently, this field must always be set to `true`.
      * This confirms the deletion of this field from any tags using this field.
@@ -578,6 +653,7 @@ public Builder setNameBytes(
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The force. */ @java.lang.Override @@ -585,6 +661,8 @@ public boolean getForce() { return force_; } /** + * + * *
      * Required. Currently, this field must always be set to `true`.
      * This confirms the deletion of this field from any tags using this field.
@@ -592,6 +670,7 @@ public boolean getForce() {
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The force to set. * @return This builder for chaining. */ @@ -603,6 +682,8 @@ public Builder setForce(boolean value) { return this; } /** + * + * *
      * Required. Currently, this field must always be set to `true`.
      * This confirms the deletion of this field from any tags using this field.
@@ -610,6 +691,7 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearForce() { @@ -618,9 +700,9 @@ public Builder clearForce() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -630,41 +712,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest) - private static final com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest DEFAULT_INSTANCE; + private static final com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest(); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest getDefaultInstance() { + public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTagTemplateFieldRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTagTemplateFieldRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -676,9 +760,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequestOrBuilder.java index 92b808d6e9b5..e0b7518596d8 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequestOrBuilder.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface DeleteTagTemplateFieldRequestOrBuilder extends +public interface DeleteTagTemplateFieldRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the tag template field to delete. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the tag template field to delete. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
    * 
* - * string name = 1 [(.google.api.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. Currently, this field must always be set to `true`.
    * This confirms the deletion of this field from any tags using this field.
@@ -39,6 +66,7 @@ public interface DeleteTagTemplateFieldRequestOrBuilder extends
    * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The force. */ boolean getForce(); diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequest.java similarity index 64% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequest.java index 0f2b06d78e2c..35acc364df54 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequest.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Request message for
  * [DeleteTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTagTemplate].
@@ -11,50 +28,58 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest}
  */
-public final class DeleteTagTemplateRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeleteTagTemplateRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest)
     DeleteTagTemplateRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteTagTemplateRequest.newBuilder() to construct.
   private DeleteTagTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteTagTemplateRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteTagTemplateRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest.class, com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest.class,
+            com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the tag template to delete. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
    * 
* - * string name = 1 [(.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,31 +88,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the tag template to delete. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +125,8 @@ public java.lang.String getName() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_ = false; /** + * + * *
    * Required. Currently, this field must always be set to `true`.
    * This confirms the deletion of any possible tags using this template.
@@ -105,6 +134,7 @@ public java.lang.String getName() {
    * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The force. */ @java.lang.Override @@ -113,6 +143,7 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -124,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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -145,8 +175,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -156,17 +185,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.datacatalog.v1beta1.DeleteTagTemplateRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest other = (com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest) obj; + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest other = + (com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getForce() - != other.getForce()) return false; + if (!getName().equals(other.getName())) return false; + if (getForce() != other.getForce()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -181,106 +209,111 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [DeleteTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTagTemplate].
@@ -288,33 +321,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest)
       com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest.class, com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest.class,
+              com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -325,13 +357,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest getDefaultInstanceForType() {
+    public com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest.getDefaultInstance();
     }
 
@@ -346,13 +379,17 @@ public com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest result = new com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest result =
+          new com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest result) {
+    private void buildPartial0(
+        com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -366,38 +403,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.DeleteTagTemplat
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -405,7 +443,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -440,22 +480,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              force_ = input.readBool();
-              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:
+              {
+                force_ = 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) {
@@ -465,24 +508,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the tag template to delete. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
      * 
* - * string name = 1 [(.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; @@ -491,22 +539,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the tag template to delete. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
      * 
* - * string name = 1 [(.google.api.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,32 +565,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the tag template to delete. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the tag template to delete. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
      * 
* - * string 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() { @@ -549,19 +611,25 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the tag template to delete. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
      * 
* - * string name = 1 [(.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; @@ -569,8 +637,10 @@ public Builder setNameBytes( return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * Required. Currently, this field must always be set to `true`.
      * This confirms the deletion of any possible tags using this template.
@@ -578,6 +648,7 @@ public Builder setNameBytes(
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The force. */ @java.lang.Override @@ -585,6 +656,8 @@ public boolean getForce() { return force_; } /** + * + * *
      * Required. Currently, this field must always be set to `true`.
      * This confirms the deletion of any possible tags using this template.
@@ -592,6 +665,7 @@ public boolean getForce() {
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The force to set. * @return This builder for chaining. */ @@ -603,6 +677,8 @@ public Builder setForce(boolean value) { return this; } /** + * + * *
      * Required. Currently, this field must always be set to `true`.
      * This confirms the deletion of any possible tags using this template.
@@ -610,6 +686,7 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearForce() { @@ -618,9 +695,9 @@ public Builder clearForce() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -630,12 +707,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest) - private static final com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest DEFAULT_INSTANCE; + private static final com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest(); } @@ -644,27 +722,27 @@ public static com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTagTemplateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTagTemplateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -679,6 +757,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequestOrBuilder.java similarity index 53% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequestOrBuilder.java index da1a5092a8a4..a423d41ca8ee 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequestOrBuilder.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface DeleteTagTemplateRequestOrBuilder extends +public interface DeleteTagTemplateRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the tag template to delete. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the tag template to delete. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
    * 
* - * string name = 1 [(.google.api.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. Currently, this field must always be set to `true`.
    * This confirms the deletion of any possible tags using this template.
@@ -39,6 +66,7 @@ public interface DeleteTagTemplateRequestOrBuilder extends
    * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The force. */ boolean getForce(); diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequest.java similarity index 64% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequest.java index 7a69765747e9..d78014a70aa3 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequest.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/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Request message for
  * [DeleteTaxonomy][google.cloud.datacatalog.v1beta1.PolicyTagManager.DeleteTaxonomy].
@@ -11,49 +28,57 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest}
  */
-public final class DeleteTaxonomyRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeleteTaxonomyRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest)
     DeleteTaxonomyRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteTaxonomyRequest.newBuilder() to construct.
   private DeleteTaxonomyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteTaxonomyRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteTaxonomyRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_DeleteTaxonomyRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1beta1_DeleteTaxonomyRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_DeleteTaxonomyRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1beta1_DeleteTaxonomyRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest.class, com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest.class,
+            com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. Resource name of the taxonomy to be deleted. All policy tags in
    * this taxonomy will also be deleted.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -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. Resource name of the taxonomy to be deleted. All policy tags in
    * this taxonomy will also be deleted.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -94,6 +121,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -105,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_); } @@ -130,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.datacatalog.v1beta1.DeleteTaxonomyRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest other = (com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest) obj; + com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest other = + (com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -158,98 +185,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [DeleteTaxonomy][google.cloud.datacatalog.v1beta1.PolicyTagManager.DeleteTaxonomy].
@@ -257,33 +290,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest)
       com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_DeleteTaxonomyRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_DeleteTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_DeleteTaxonomyRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_DeleteTaxonomyRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest.class, com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest.class,
+              com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -293,9 +325,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_DeleteTaxonomyRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_DeleteTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
@@ -314,8 +346,11 @@ public com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest result = new com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest result =
+          new com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -331,38 +366,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRe
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -370,7 +406,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -402,17 +439,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) {
@@ -422,23 +461,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. Resource name of the taxonomy to be deleted. All policy tags in
      * this taxonomy will also be deleted.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -447,21 +491,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the taxonomy to be deleted. All policy tags in
      * this taxonomy will also be deleted.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -469,30 +516,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the taxonomy to be deleted. All policy tags in
      * this taxonomy will also be deleted.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - 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. Resource name of the taxonomy to be deleted. All policy tags in
      * this taxonomy will also be deleted.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -502,27 +560,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Resource name of the taxonomy to be deleted. All policy tags in
      * this taxonomy will also be deleted.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - 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); } @@ -532,12 +596,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest) private static final com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest(); } @@ -546,27 +610,27 @@ public static com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTaxonomyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTaxonomyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -581,6 +645,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequestOrBuilder.java new file mode 100644 index 000000000000..0b0fc4767c8a --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequestOrBuilder.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/datacatalog/v1beta1/policytagmanager.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface DeleteTaxonomyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Resource name of the taxonomy to be deleted. All policy tags in
+   * this taxonomy will also be deleted.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Resource name of the taxonomy to be deleted. All policy tags in
+   * this taxonomy will also be deleted.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Entry.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Entry.java similarity index 72% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Entry.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Entry.java index 1fd49c165a27..1132272bcc11 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Entry.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Entry.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Entry Metadata.
  * A Data Catalog Entry resource represents another resource in Google
@@ -19,15 +36,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.Entry}
  */
-public final class Entry extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Entry extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.Entry)
     EntryOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Entry.newBuilder() to construct.
   private Entry(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Entry() {
     name_ = "";
     linkedResource_ = "";
@@ -37,34 +55,39 @@ private Entry() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Entry();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_Entry_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_Entry_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_Entry_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_Entry_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.Entry.class, com.google.cloud.datacatalog.v1beta1.Entry.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.Entry.class,
+            com.google.cloud.datacatalog.v1beta1.Entry.Builder.class);
   }
 
   private int entryTypeCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object entryType_;
+
   public enum EntryTypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     TYPE(2),
     USER_SPECIFIED_TYPE(16),
     ENTRYTYPE_NOT_SET(0);
     private final int value;
+
     private EntryTypeCase(int value) {
       this.value = value;
     }
@@ -80,33 +103,40 @@ public static EntryTypeCase valueOf(int value) {
 
     public static EntryTypeCase forNumber(int value) {
       switch (value) {
-        case 2: return TYPE;
-        case 16: return USER_SPECIFIED_TYPE;
-        case 0: return ENTRYTYPE_NOT_SET;
-        default: return null;
+        case 2:
+          return TYPE;
+        case 16:
+          return USER_SPECIFIED_TYPE;
+        case 0:
+          return ENTRYTYPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public EntryTypeCase
-  getEntryTypeCase() {
-    return EntryTypeCase.forNumber(
-        entryTypeCase_);
+  public EntryTypeCase getEntryTypeCase() {
+    return EntryTypeCase.forNumber(entryTypeCase_);
   }
 
   private int systemCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object system_;
+
   public enum SystemCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     INTEGRATED_SYSTEM(17),
     USER_SPECIFIED_SYSTEM(18),
     SYSTEM_NOT_SET(0);
     private final int value;
+
     private SystemCase(int value) {
       this.value = value;
     }
@@ -122,34 +152,41 @@ public static SystemCase valueOf(int value) {
 
     public static SystemCase forNumber(int value) {
       switch (value) {
-        case 17: return INTEGRATED_SYSTEM;
-        case 18: return USER_SPECIFIED_SYSTEM;
-        case 0: return SYSTEM_NOT_SET;
-        default: return null;
+        case 17:
+          return INTEGRATED_SYSTEM;
+        case 18:
+          return USER_SPECIFIED_SYSTEM;
+        case 0:
+          return SYSTEM_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SystemCase
-  getSystemCase() {
-    return SystemCase.forNumber(
-        systemCase_);
+  public SystemCase getSystemCase() {
+    return SystemCase.forNumber(systemCase_);
   }
 
   private int typeSpecCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object typeSpec_;
+
   public enum TypeSpecCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     GCS_FILESET_SPEC(6),
     BIGQUERY_TABLE_SPEC(12),
     BIGQUERY_DATE_SHARDED_SPEC(15),
     TYPESPEC_NOT_SET(0);
     private final int value;
+
     private TypeSpecCase(int value) {
       this.value = value;
     }
@@ -165,28 +202,35 @@ public static TypeSpecCase valueOf(int value) {
 
     public static TypeSpecCase forNumber(int value) {
       switch (value) {
-        case 6: return GCS_FILESET_SPEC;
-        case 12: return BIGQUERY_TABLE_SPEC;
-        case 15: return BIGQUERY_DATE_SHARDED_SPEC;
-        case 0: return TYPESPEC_NOT_SET;
-        default: return null;
+        case 6:
+          return GCS_FILESET_SPEC;
+        case 12:
+          return BIGQUERY_TABLE_SPEC;
+        case 15:
+          return BIGQUERY_DATE_SHARDED_SPEC;
+        case 0:
+          return TYPESPEC_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TypeSpecCase
-  getTypeSpecCase() {
-    return TypeSpecCase.forNumber(
-        typeSpecCase_);
+  public TypeSpecCase getTypeSpecCase() {
+    return TypeSpecCase.forNumber(typeSpecCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Output only. The Data Catalog resource name of the entry in URL format.
    * Example:
@@ -197,7 +241,10 @@ public int getNumber() {
    * the location in this name.
    * 
* - * 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 @@ -206,14 +253,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 Data Catalog resource name of the entry in URL format.
    * Example:
@@ -224,17 +272,18 @@ public java.lang.String getName() {
    * the location in this name.
    * 
* - * 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 { @@ -243,9 +292,12 @@ public java.lang.String getName() { } public static final int LINKED_RESOURCE_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object linkedResource_ = ""; /** + * + * *
    * The resource this metadata entry refers to.
    *
@@ -262,6 +314,7 @@ public java.lang.String getName() {
    * 
* * string linked_resource = 9; + * * @return The linkedResource. */ @java.lang.Override @@ -270,14 +323,15 @@ public java.lang.String getLinkedResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); linkedResource_ = s; return s; } } /** + * + * *
    * The resource this metadata entry refers to.
    *
@@ -294,16 +348,15 @@ public java.lang.String getLinkedResource() {
    * 
* * string linked_resource = 9; + * * @return The bytes for linkedResource. */ @java.lang.Override - public com.google.protobuf.ByteString - getLinkedResourceBytes() { + public com.google.protobuf.ByteString getLinkedResourceBytes() { java.lang.Object ref = linkedResource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); linkedResource_ = b; return b; } else { @@ -313,24 +366,30 @@ public java.lang.String getLinkedResource() { public static final int TYPE_FIELD_NUMBER = 2; /** + * + * *
    * The type of the entry.
    * Only used for Entries with types in the EntryType enum.
    * 
* * .google.cloud.datacatalog.v1beta1.EntryType type = 2; + * * @return Whether the type field is set. */ public boolean hasType() { return entryTypeCase_ == 2; } /** + * + * *
    * The type of the entry.
    * Only used for Entries with types in the EntryType enum.
    * 
* * .google.cloud.datacatalog.v1beta1.EntryType type = 2; + * * @return The enum numeric value on the wire for type. */ public int getTypeValue() { @@ -340,18 +399,21 @@ public int getTypeValue() { return 0; } /** + * + * *
    * The type of the entry.
    * Only used for Entries with types in the EntryType enum.
    * 
* * .google.cloud.datacatalog.v1beta1.EntryType type = 2; + * * @return The type. */ public com.google.cloud.datacatalog.v1beta1.EntryType getType() { if (entryTypeCase_ == 2) { - com.google.cloud.datacatalog.v1beta1.EntryType result = com.google.cloud.datacatalog.v1beta1.EntryType.forNumber( - (java.lang.Integer) entryType_); + com.google.cloud.datacatalog.v1beta1.EntryType result = + com.google.cloud.datacatalog.v1beta1.EntryType.forNumber((java.lang.Integer) entryType_); return result == null ? com.google.cloud.datacatalog.v1beta1.EntryType.UNRECOGNIZED : result; } return com.google.cloud.datacatalog.v1beta1.EntryType.ENTRY_TYPE_UNSPECIFIED; @@ -359,6 +421,8 @@ public com.google.cloud.datacatalog.v1beta1.EntryType getType() { public static final int USER_SPECIFIED_TYPE_FIELD_NUMBER = 16; /** + * + * *
    * Entry type if it does not fit any of the input-allowed values listed in
    * `EntryType` enum above. When creating an entry, users should check the
@@ -373,12 +437,15 @@ public com.google.cloud.datacatalog.v1beta1.EntryType getType() {
    * 
* * string user_specified_type = 16; + * * @return Whether the userSpecifiedType field is set. */ public boolean hasUserSpecifiedType() { return entryTypeCase_ == 16; } /** + * + * *
    * Entry type if it does not fit any of the input-allowed values listed in
    * `EntryType` enum above. When creating an entry, users should check the
@@ -393,6 +460,7 @@ public boolean hasUserSpecifiedType() {
    * 
* * string user_specified_type = 16; + * * @return The userSpecifiedType. */ public java.lang.String getUserSpecifiedType() { @@ -403,8 +471,7 @@ public java.lang.String getUserSpecifiedType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (entryTypeCase_ == 16) { entryType_ = s; @@ -413,6 +480,8 @@ public java.lang.String getUserSpecifiedType() { } } /** + * + * *
    * Entry type if it does not fit any of the input-allowed values listed in
    * `EntryType` enum above. When creating an entry, users should check the
@@ -427,18 +496,17 @@ public java.lang.String getUserSpecifiedType() {
    * 
* * string user_specified_type = 16; + * * @return The bytes for userSpecifiedType. */ - public com.google.protobuf.ByteString - getUserSpecifiedTypeBytes() { + public com.google.protobuf.ByteString getUserSpecifiedTypeBytes() { java.lang.Object ref = ""; if (entryTypeCase_ == 16) { ref = entryType_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (entryTypeCase_ == 16) { entryType_ = b; } @@ -450,24 +518,34 @@ public java.lang.String getUserSpecifiedType() { public static final int INTEGRATED_SYSTEM_FIELD_NUMBER = 17; /** + * + * *
    * Output only. This field indicates the entry's source system that Data
    * Catalog integrates with, such as BigQuery or Pub/Sub.
    * 
* - * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the integratedSystem field is set. */ public boolean hasIntegratedSystem() { return systemCase_ == 17; } /** + * + * *
    * Output only. This field indicates the entry's source system that Data
    * Catalog integrates with, such as BigQuery or Pub/Sub.
    * 
* - * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for integratedSystem. */ public int getIntegratedSystemValue() { @@ -477,25 +555,35 @@ public int getIntegratedSystemValue() { return 0; } /** + * + * *
    * Output only. This field indicates the entry's source system that Data
    * Catalog integrates with, such as BigQuery or Pub/Sub.
    * 
* - * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The integratedSystem. */ public com.google.cloud.datacatalog.v1beta1.IntegratedSystem getIntegratedSystem() { if (systemCase_ == 17) { - com.google.cloud.datacatalog.v1beta1.IntegratedSystem result = com.google.cloud.datacatalog.v1beta1.IntegratedSystem.forNumber( - (java.lang.Integer) system_); - return result == null ? com.google.cloud.datacatalog.v1beta1.IntegratedSystem.UNRECOGNIZED : result; + com.google.cloud.datacatalog.v1beta1.IntegratedSystem result = + com.google.cloud.datacatalog.v1beta1.IntegratedSystem.forNumber( + (java.lang.Integer) system_); + return result == null + ? com.google.cloud.datacatalog.v1beta1.IntegratedSystem.UNRECOGNIZED + : result; } return com.google.cloud.datacatalog.v1beta1.IntegratedSystem.INTEGRATED_SYSTEM_UNSPECIFIED; } public static final int USER_SPECIFIED_SYSTEM_FIELD_NUMBER = 18; /** + * + * *
    * This field indicates the entry's source system that Data Catalog does not
    * integrate with. `user_specified_system` strings must begin with a letter
@@ -505,12 +593,15 @@ public com.google.cloud.datacatalog.v1beta1.IntegratedSystem getIntegratedSystem
    * 
* * string user_specified_system = 18; + * * @return Whether the userSpecifiedSystem field is set. */ public boolean hasUserSpecifiedSystem() { return systemCase_ == 18; } /** + * + * *
    * This field indicates the entry's source system that Data Catalog does not
    * integrate with. `user_specified_system` strings must begin with a letter
@@ -520,6 +611,7 @@ public boolean hasUserSpecifiedSystem() {
    * 
* * string user_specified_system = 18; + * * @return The userSpecifiedSystem. */ public java.lang.String getUserSpecifiedSystem() { @@ -530,8 +622,7 @@ public java.lang.String getUserSpecifiedSystem() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (systemCase_ == 18) { system_ = s; @@ -540,6 +631,8 @@ public java.lang.String getUserSpecifiedSystem() { } } /** + * + * *
    * This field indicates the entry's source system that Data Catalog does not
    * integrate with. `user_specified_system` strings must begin with a letter
@@ -549,18 +642,17 @@ public java.lang.String getUserSpecifiedSystem() {
    * 
* * string user_specified_system = 18; + * * @return The bytes for userSpecifiedSystem. */ - public com.google.protobuf.ByteString - getUserSpecifiedSystemBytes() { + public com.google.protobuf.ByteString getUserSpecifiedSystemBytes() { java.lang.Object ref = ""; if (systemCase_ == 18) { ref = system_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (systemCase_ == 18) { system_ = b; } @@ -572,12 +664,15 @@ public java.lang.String getUserSpecifiedSystem() { public static final int GCS_FILESET_SPEC_FIELD_NUMBER = 6; /** + * + * *
    * Specification that applies to a Cloud Storage fileset. This is only valid
    * on entries of type FILESET.
    * 
* * .google.cloud.datacatalog.v1beta1.GcsFilesetSpec gcs_fileset_spec = 6; + * * @return Whether the gcsFilesetSpec field is set. */ @java.lang.Override @@ -585,22 +680,27 @@ public boolean hasGcsFilesetSpec() { return typeSpecCase_ == 6; } /** + * + * *
    * Specification that applies to a Cloud Storage fileset. This is only valid
    * on entries of type FILESET.
    * 
* * .google.cloud.datacatalog.v1beta1.GcsFilesetSpec gcs_fileset_spec = 6; + * * @return The gcsFilesetSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec getGcsFilesetSpec() { if (typeSpecCase_ == 6) { - return (com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec) typeSpec_; + return (com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec) typeSpec_; } return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.getDefaultInstance(); } /** + * + * *
    * Specification that applies to a Cloud Storage fileset. This is only valid
    * on entries of type FILESET.
@@ -611,19 +711,22 @@ public com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec getGcsFilesetSpec() {
   @java.lang.Override
   public com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOrBuilder getGcsFilesetSpecOrBuilder() {
     if (typeSpecCase_ == 6) {
-       return (com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec) typeSpec_;
+      return (com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec) typeSpec_;
     }
     return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.getDefaultInstance();
   }
 
   public static final int BIGQUERY_TABLE_SPEC_FIELD_NUMBER = 12;
   /**
+   *
+   *
    * 
    * Specification that applies to a BigQuery table. This is only valid on
    * entries of type `TABLE`.
    * 
* * .google.cloud.datacatalog.v1beta1.BigQueryTableSpec bigquery_table_spec = 12; + * * @return Whether the bigqueryTableSpec field is set. */ @java.lang.Override @@ -631,22 +734,27 @@ public boolean hasBigqueryTableSpec() { return typeSpecCase_ == 12; } /** + * + * *
    * Specification that applies to a BigQuery table. This is only valid on
    * entries of type `TABLE`.
    * 
* * .google.cloud.datacatalog.v1beta1.BigQueryTableSpec bigquery_table_spec = 12; + * * @return The bigqueryTableSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec getBigqueryTableSpec() { if (typeSpecCase_ == 12) { - return (com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec) typeSpec_; + return (com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec) typeSpec_; } return com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.getDefaultInstance(); } /** + * + * *
    * Specification that applies to a BigQuery table. This is only valid on
    * entries of type `TABLE`.
@@ -655,22 +763,28 @@ public com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec getBigqueryTableSp
    * .google.cloud.datacatalog.v1beta1.BigQueryTableSpec bigquery_table_spec = 12;
    */
   @java.lang.Override
-  public com.google.cloud.datacatalog.v1beta1.BigQueryTableSpecOrBuilder getBigqueryTableSpecOrBuilder() {
+  public com.google.cloud.datacatalog.v1beta1.BigQueryTableSpecOrBuilder
+      getBigqueryTableSpecOrBuilder() {
     if (typeSpecCase_ == 12) {
-       return (com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec) typeSpec_;
+      return (com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec) typeSpec_;
     }
     return com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.getDefaultInstance();
   }
 
   public static final int BIGQUERY_DATE_SHARDED_SPEC_FIELD_NUMBER = 15;
   /**
+   *
+   *
    * 
    * Specification for a group of BigQuery tables with name pattern
    * `[prefix]YYYYMMDD`. Context:
    * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
    * 
* - * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; + * + * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; + * + * * @return Whether the bigqueryDateShardedSpec field is set. */ @java.lang.Override @@ -678,43 +792,56 @@ public boolean hasBigqueryDateShardedSpec() { return typeSpecCase_ == 15; } /** + * + * *
    * Specification for a group of BigQuery tables with name pattern
    * `[prefix]YYYYMMDD`. Context:
    * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
    * 
* - * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; + * + * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; + * + * * @return The bigqueryDateShardedSpec. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec getBigqueryDateShardedSpec() { if (typeSpecCase_ == 15) { - return (com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) typeSpec_; + return (com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) typeSpec_; } return com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.getDefaultInstance(); } /** + * + * *
    * Specification for a group of BigQuery tables with name pattern
    * `[prefix]YYYYMMDD`. Context:
    * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
    * 
* - * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; + * + * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecOrBuilder getBigqueryDateShardedSpecOrBuilder() { + public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecOrBuilder + getBigqueryDateShardedSpecOrBuilder() { if (typeSpecCase_ == 15) { - return (com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) typeSpec_; + return (com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) typeSpec_; } return com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.getDefaultInstance(); } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Display information such as title and description. A short name to identify
    * the entry, for example, "Analytics Data - Jan 2011". Default value is an
@@ -722,6 +849,7 @@ public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecOrBuilder get
    * 
* * string display_name = 3; + * * @return The displayName. */ @java.lang.Override @@ -730,14 +858,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; } } /** + * + * *
    * Display information such as title and description. A short name to identify
    * the entry, for example, "Analytics Data - Jan 2011". Default value is an
@@ -745,16 +874,15 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 3; + * * @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 { @@ -763,15 +891,19 @@ public java.lang.String getDisplayName() { } public static final int DESCRIPTION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Entry description, which can consist of several sentences or paragraphs
    * that describe entry contents. Default value is an empty string.
    * 
* * string description = 4; + * * @return The description. */ @java.lang.Override @@ -780,30 +912,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; } } /** + * + * *
    * Entry description, which can consist of several sentences or paragraphs
    * that describe entry contents. Default value is an empty string.
    * 
* * string description = 4; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -814,11 +946,14 @@ public java.lang.String getDescription() { public static final int SCHEMA_FIELD_NUMBER = 5; private com.google.cloud.datacatalog.v1beta1.Schema schema_; /** + * + * *
    * Schema of the entry. An entry might not have any schema attached to it.
    * 
* * .google.cloud.datacatalog.v1beta1.Schema schema = 5; + * * @return Whether the schema field is set. */ @java.lang.Override @@ -826,18 +961,25 @@ public boolean hasSchema() { return schema_ != null; } /** + * + * *
    * Schema of the entry. An entry might not have any schema attached to it.
    * 
* * .google.cloud.datacatalog.v1beta1.Schema schema = 5; + * * @return The schema. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.Schema getSchema() { - return schema_ == null ? com.google.cloud.datacatalog.v1beta1.Schema.getDefaultInstance() : schema_; + return schema_ == null + ? com.google.cloud.datacatalog.v1beta1.Schema.getDefaultInstance() + : schema_; } /** + * + * *
    * Schema of the entry. An entry might not have any schema attached to it.
    * 
@@ -846,12 +988,16 @@ public com.google.cloud.datacatalog.v1beta1.Schema getSchema() { */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder getSchemaOrBuilder() { - return schema_ == null ? com.google.cloud.datacatalog.v1beta1.Schema.getDefaultInstance() : schema_; + return schema_ == null + ? com.google.cloud.datacatalog.v1beta1.Schema.getDefaultInstance() + : schema_; } public static final int SOURCE_SYSTEM_TIMESTAMPS_FIELD_NUMBER = 7; private com.google.cloud.datacatalog.v1beta1.SystemTimestamps sourceSystemTimestamps_; /** + * + * *
    * Output only. Timestamps about the underlying resource, not about this Data
    * Catalog entry. Output only when Entry is of type in the EntryType enum. For
@@ -859,7 +1005,10 @@ public com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder getSchemaOrBuilder()
    * empty timestamp.
    * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the sourceSystemTimestamps field is set. */ @java.lang.Override @@ -867,6 +1016,8 @@ public boolean hasSourceSystemTimestamps() { return sourceSystemTimestamps_ != null; } /** + * + * *
    * Output only. Timestamps about the underlying resource, not about this Data
    * Catalog entry. Output only when Entry is of type in the EntryType enum. For
@@ -874,14 +1025,21 @@ public boolean hasSourceSystemTimestamps() {
    * empty timestamp.
    * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The sourceSystemTimestamps. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getSourceSystemTimestamps() { - return sourceSystemTimestamps_ == null ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() : sourceSystemTimestamps_; + return sourceSystemTimestamps_ == null + ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() + : sourceSystemTimestamps_; } /** + * + * *
    * Output only. Timestamps about the underlying resource, not about this Data
    * Catalog entry. Output only when Entry is of type in the EntryType enum. For
@@ -889,21 +1047,31 @@ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getSourceSystemTime
    * empty timestamp.
    * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder getSourceSystemTimestampsOrBuilder() { - return sourceSystemTimestamps_ == null ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() : sourceSystemTimestamps_; + public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder + getSourceSystemTimestampsOrBuilder() { + return sourceSystemTimestamps_ == null + ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() + : sourceSystemTimestamps_; } public static final int USAGE_SIGNAL_FIELD_NUMBER = 13; private com.google.cloud.datacatalog.v1beta1.UsageSignal usageSignal_; /** + * + * *
    * Output only. Statistics on the usage level of the resource.
    * 
* - * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the usageSignal field is set. */ @java.lang.Override @@ -911,30 +1079,44 @@ public boolean hasUsageSignal() { return usageSignal_ != null; } /** + * + * *
    * Output only. Statistics on the usage level of the resource.
    * 
* - * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The usageSignal. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.UsageSignal getUsageSignal() { - return usageSignal_ == null ? com.google.cloud.datacatalog.v1beta1.UsageSignal.getDefaultInstance() : usageSignal_; + return usageSignal_ == null + ? com.google.cloud.datacatalog.v1beta1.UsageSignal.getDefaultInstance() + : usageSignal_; } /** + * + * *
    * Output only. Statistics on the usage level of the resource.
    * 
* - * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.UsageSignalOrBuilder getUsageSignalOrBuilder() { - return usageSignal_ == null ? com.google.cloud.datacatalog.v1beta1.UsageSignal.getDefaultInstance() : usageSignal_; + return usageSignal_ == null + ? com.google.cloud.datacatalog.v1beta1.UsageSignal.getDefaultInstance() + : usageSignal_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -946,8 +1128,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -979,7 +1160,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(13, getUsageSignal()); } if (typeSpecCase_ == 15) { - output.writeMessage(15, (com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) typeSpec_); + output.writeMessage( + 15, (com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) typeSpec_); } if (entryTypeCase_ == 16) { com.google.protobuf.GeneratedMessageV3.writeString(output, 16, entryType_); @@ -1003,8 +1185,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (entryTypeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, ((java.lang.Integer) entryType_)); + size += + com.google.protobuf.CodedOutputStream.computeEnumSize( + 2, ((java.lang.Integer) entryType_)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_); @@ -1013,38 +1196,39 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); } if (schema_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getSchema()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getSchema()); } if (typeSpecCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec) typeSpec_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec) typeSpec_); } if (sourceSystemTimestamps_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getSourceSystemTimestamps()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(7, getSourceSystemTimestamps()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(linkedResource_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, linkedResource_); } if (typeSpecCase_ == 12) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, (com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec) typeSpec_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 12, (com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec) typeSpec_); } if (usageSignal_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, getUsageSignal()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getUsageSignal()); } if (typeSpecCase_ == 15) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, (com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) typeSpec_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 15, (com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) typeSpec_); } if (entryTypeCase_ == 16) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, entryType_); } if (systemCase_ == 17) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(17, ((java.lang.Integer) system_)); + size += + com.google.protobuf.CodedOutputStream.computeEnumSize(17, ((java.lang.Integer) system_)); } if (systemCase_ == 18) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, system_); @@ -1057,45 +1241,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.datacatalog.v1beta1.Entry)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.Entry other = (com.google.cloud.datacatalog.v1beta1.Entry) obj; + com.google.cloud.datacatalog.v1beta1.Entry other = + (com.google.cloud.datacatalog.v1beta1.Entry) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getLinkedResource() - .equals(other.getLinkedResource())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getName().equals(other.getName())) return false; + if (!getLinkedResource().equals(other.getLinkedResource())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) 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 (hasSourceSystemTimestamps() != other.hasSourceSystemTimestamps()) return false; if (hasSourceSystemTimestamps()) { - if (!getSourceSystemTimestamps() - .equals(other.getSourceSystemTimestamps())) return false; + if (!getSourceSystemTimestamps().equals(other.getSourceSystemTimestamps())) return false; } if (hasUsageSignal() != other.hasUsageSignal()) return false; if (hasUsageSignal()) { - if (!getUsageSignal() - .equals(other.getUsageSignal())) return false; + if (!getUsageSignal().equals(other.getUsageSignal())) return false; } if (!getEntryTypeCase().equals(other.getEntryTypeCase())) return false; switch (entryTypeCase_) { case 2: - if (getTypeValue() - != other.getTypeValue()) return false; + if (getTypeValue() != other.getTypeValue()) return false; break; case 16: - if (!getUserSpecifiedType() - .equals(other.getUserSpecifiedType())) return false; + if (!getUserSpecifiedType().equals(other.getUserSpecifiedType())) return false; break; case 0: default: @@ -1103,12 +1279,10 @@ public boolean equals(final java.lang.Object obj) { if (!getSystemCase().equals(other.getSystemCase())) return false; switch (systemCase_) { case 17: - if (getIntegratedSystemValue() - != other.getIntegratedSystemValue()) return false; + if (getIntegratedSystemValue() != other.getIntegratedSystemValue()) return false; break; case 18: - if (!getUserSpecifiedSystem() - .equals(other.getUserSpecifiedSystem())) return false; + if (!getUserSpecifiedSystem().equals(other.getUserSpecifiedSystem())) return false; break; case 0: default: @@ -1116,16 +1290,13 @@ public boolean equals(final java.lang.Object obj) { if (!getTypeSpecCase().equals(other.getTypeSpecCase())) return false; switch (typeSpecCase_) { case 6: - if (!getGcsFilesetSpec() - .equals(other.getGcsFilesetSpec())) return false; + if (!getGcsFilesetSpec().equals(other.getGcsFilesetSpec())) return false; break; case 12: - if (!getBigqueryTableSpec() - .equals(other.getBigqueryTableSpec())) return false; + if (!getBigqueryTableSpec().equals(other.getBigqueryTableSpec())) return false; break; case 15: - if (!getBigqueryDateShardedSpec() - .equals(other.getBigqueryDateShardedSpec())) return false; + if (!getBigqueryDateShardedSpec().equals(other.getBigqueryDateShardedSpec())) return false; break; case 0: default: @@ -1206,99 +1377,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1beta1.Entry parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1beta1.Entry parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.Entry parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.Entry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.Entry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.Entry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.Entry parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.Entry parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.Entry parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.Entry parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.Entry parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.Entry parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.Entry parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.Entry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.Entry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Entry Metadata.
    * A Data Catalog Entry resource represents another resource in Google
@@ -1314,33 +1490,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.Entry}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.Entry)
       com.google.cloud.datacatalog.v1beta1.EntryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_Entry_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_Entry_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_Entry_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_Entry_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.Entry.class, com.google.cloud.datacatalog.v1beta1.Entry.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.Entry.class,
+              com.google.cloud.datacatalog.v1beta1.Entry.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.Entry.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1383,9 +1558,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_Entry_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_Entry_descriptor;
     }
 
     @java.lang.Override
@@ -1404,8 +1579,11 @@ public com.google.cloud.datacatalog.v1beta1.Entry build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.Entry buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.Entry result = new com.google.cloud.datacatalog.v1beta1.Entry(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.Entry result =
+          new com.google.cloud.datacatalog.v1beta1.Entry(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1426,19 +1604,17 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.Entry result) {
         result.description_ = description_;
       }
       if (((from_bitField0_ & 0x00000800) != 0)) {
-        result.schema_ = schemaBuilder_ == null
-            ? schema_
-            : schemaBuilder_.build();
+        result.schema_ = schemaBuilder_ == null ? schema_ : schemaBuilder_.build();
       }
       if (((from_bitField0_ & 0x00001000) != 0)) {
-        result.sourceSystemTimestamps_ = sourceSystemTimestampsBuilder_ == null
-            ? sourceSystemTimestamps_
-            : sourceSystemTimestampsBuilder_.build();
+        result.sourceSystemTimestamps_ =
+            sourceSystemTimestampsBuilder_ == null
+                ? sourceSystemTimestamps_
+                : sourceSystemTimestampsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00002000) != 0)) {
-        result.usageSignal_ = usageSignalBuilder_ == null
-            ? usageSignal_
-            : usageSignalBuilder_.build();
+        result.usageSignal_ =
+            usageSignalBuilder_ == null ? usageSignal_ : usageSignalBuilder_.build();
       }
     }
 
@@ -1449,16 +1625,13 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1beta1.Entry resul
       result.system_ = this.system_;
       result.typeSpecCase_ = typeSpecCase_;
       result.typeSpec_ = this.typeSpec_;
-      if (typeSpecCase_ == 6 &&
-          gcsFilesetSpecBuilder_ != null) {
+      if (typeSpecCase_ == 6 && gcsFilesetSpecBuilder_ != null) {
         result.typeSpec_ = gcsFilesetSpecBuilder_.build();
       }
-      if (typeSpecCase_ == 12 &&
-          bigqueryTableSpecBuilder_ != null) {
+      if (typeSpecCase_ == 12 && bigqueryTableSpecBuilder_ != null) {
         result.typeSpec_ = bigqueryTableSpecBuilder_.build();
       }
-      if (typeSpecCase_ == 15 &&
-          bigqueryDateShardedSpecBuilder_ != null) {
+      if (typeSpecCase_ == 15 && bigqueryDateShardedSpecBuilder_ != null) {
         result.typeSpec_ = bigqueryDateShardedSpecBuilder_.build();
       }
     }
@@ -1467,38 +1640,39 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1beta1.Entry 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.datacatalog.v1beta1.Entry) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.Entry)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.Entry) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1537,51 +1711,61 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.Entry other) {
         mergeUsageSignal(other.getUsageSignal());
       }
       switch (other.getEntryTypeCase()) {
-        case TYPE: {
-          setTypeValue(other.getTypeValue());
-          break;
-        }
-        case USER_SPECIFIED_TYPE: {
-          entryTypeCase_ = 16;
-          entryType_ = other.entryType_;
-          onChanged();
-          break;
-        }
-        case ENTRYTYPE_NOT_SET: {
-          break;
-        }
+        case TYPE:
+          {
+            setTypeValue(other.getTypeValue());
+            break;
+          }
+        case USER_SPECIFIED_TYPE:
+          {
+            entryTypeCase_ = 16;
+            entryType_ = other.entryType_;
+            onChanged();
+            break;
+          }
+        case ENTRYTYPE_NOT_SET:
+          {
+            break;
+          }
       }
       switch (other.getSystemCase()) {
-        case INTEGRATED_SYSTEM: {
-          setIntegratedSystemValue(other.getIntegratedSystemValue());
-          break;
-        }
-        case USER_SPECIFIED_SYSTEM: {
-          systemCase_ = 18;
-          system_ = other.system_;
-          onChanged();
-          break;
-        }
-        case SYSTEM_NOT_SET: {
-          break;
-        }
+        case INTEGRATED_SYSTEM:
+          {
+            setIntegratedSystemValue(other.getIntegratedSystemValue());
+            break;
+          }
+        case USER_SPECIFIED_SYSTEM:
+          {
+            systemCase_ = 18;
+            system_ = other.system_;
+            onChanged();
+            break;
+          }
+        case SYSTEM_NOT_SET:
+          {
+            break;
+          }
       }
       switch (other.getTypeSpecCase()) {
-        case GCS_FILESET_SPEC: {
-          mergeGcsFilesetSpec(other.getGcsFilesetSpec());
-          break;
-        }
-        case BIGQUERY_TABLE_SPEC: {
-          mergeBigqueryTableSpec(other.getBigqueryTableSpec());
-          break;
-        }
-        case BIGQUERY_DATE_SHARDED_SPEC: {
-          mergeBigqueryDateShardedSpec(other.getBigqueryDateShardedSpec());
-          break;
-        }
-        case TYPESPEC_NOT_SET: {
-          break;
-        }
+        case GCS_FILESET_SPEC:
+          {
+            mergeGcsFilesetSpec(other.getGcsFilesetSpec());
+            break;
+          }
+        case BIGQUERY_TABLE_SPEC:
+          {
+            mergeBigqueryTableSpec(other.getBigqueryTableSpec());
+            break;
+          }
+        case BIGQUERY_DATE_SHARDED_SPEC:
+          {
+            mergeBigqueryDateShardedSpec(other.getBigqueryDateShardedSpec());
+            break;
+          }
+        case TYPESPEC_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1609,98 +1793,104 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              int rawValue = input.readEnum();
-              entryTypeCase_ = 2;
-              entryType_ = rawValue;
-              break;
-            } // case 16
-            case 26: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 26
-            case 34: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getSchemaFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000800;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getGcsFilesetSpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              typeSpecCase_ = 6;
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getSourceSystemTimestampsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00001000;
-              break;
-            } // case 58
-            case 74: {
-              linkedResource_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 74
-            case 98: {
-              input.readMessage(
-                  getBigqueryTableSpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              typeSpecCase_ = 12;
-              break;
-            } // case 98
-            case 106: {
-              input.readMessage(
-                  getUsageSignalFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00002000;
-              break;
-            } // case 106
-            case 122: {
-              input.readMessage(
-                  getBigqueryDateShardedSpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              typeSpecCase_ = 15;
-              break;
-            } // case 122
-            case 130: {
-              java.lang.String s = input.readStringRequireUtf8();
-              entryTypeCase_ = 16;
-              entryType_ = s;
-              break;
-            } // case 130
-            case 136: {
-              int rawValue = input.readEnum();
-              systemCase_ = 17;
-              system_ = rawValue;
-              break;
-            } // case 136
-            case 146: {
-              java.lang.String s = input.readStringRequireUtf8();
-              systemCase_ = 18;
-              system_ = s;
-              break;
-            } // case 146
-            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:
+              {
+                int rawValue = input.readEnum();
+                entryTypeCase_ = 2;
+                entryType_ = rawValue;
+                break;
+              } // case 16
+            case 26:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 26
+            case 34:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getSchemaFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000800;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getGcsFilesetSpecFieldBuilder().getBuilder(), extensionRegistry);
+                typeSpecCase_ = 6;
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(
+                    getSourceSystemTimestampsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00001000;
+                break;
+              } // case 58
+            case 74:
+              {
+                linkedResource_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 74
+            case 98:
+              {
+                input.readMessage(
+                    getBigqueryTableSpecFieldBuilder().getBuilder(), extensionRegistry);
+                typeSpecCase_ = 12;
+                break;
+              } // case 98
+            case 106:
+              {
+                input.readMessage(getUsageSignalFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00002000;
+                break;
+              } // case 106
+            case 122:
+              {
+                input.readMessage(
+                    getBigqueryDateShardedSpecFieldBuilder().getBuilder(), extensionRegistry);
+                typeSpecCase_ = 15;
+                break;
+              } // case 122
+            case 130:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                entryTypeCase_ = 16;
+                entryType_ = s;
+                break;
+              } // case 130
+            case 136:
+              {
+                int rawValue = input.readEnum();
+                systemCase_ = 17;
+                system_ = rawValue;
+                break;
+              } // case 136
+            case 146:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                systemCase_ = 18;
+                system_ = s;
+                break;
+              } // case 146
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1710,12 +1900,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int entryTypeCase_ = 0;
     private java.lang.Object entryType_;
-    public EntryTypeCase
-        getEntryTypeCase() {
-      return EntryTypeCase.forNumber(
-          entryTypeCase_);
+
+    public EntryTypeCase getEntryTypeCase() {
+      return EntryTypeCase.forNumber(entryTypeCase_);
     }
 
     public Builder clearEntryType() {
@@ -1727,10 +1917,9 @@ public Builder clearEntryType() {
 
     private int systemCase_ = 0;
     private java.lang.Object system_;
-    public SystemCase
-        getSystemCase() {
-      return SystemCase.forNumber(
-          systemCase_);
+
+    public SystemCase getSystemCase() {
+      return SystemCase.forNumber(systemCase_);
     }
 
     public Builder clearSystem() {
@@ -1742,10 +1931,9 @@ public Builder clearSystem() {
 
     private int typeSpecCase_ = 0;
     private java.lang.Object typeSpec_;
-    public TypeSpecCase
-        getTypeSpecCase() {
-      return TypeSpecCase.forNumber(
-          typeSpecCase_);
+
+    public TypeSpecCase getTypeSpecCase() {
+      return TypeSpecCase.forNumber(typeSpecCase_);
     }
 
     public Builder clearTypeSpec() {
@@ -1759,6 +1947,8 @@ public Builder clearTypeSpec() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The Data Catalog resource name of the entry in URL format.
      * Example:
@@ -1769,14 +1959,16 @@ public Builder clearTypeSpec() {
      * the location in this name.
      * 
* - * 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; @@ -1785,6 +1977,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Data Catalog resource name of the entry in URL format.
      * Example:
@@ -1795,16 +1989,17 @@ public java.lang.String getName() {
      * the location in this name.
      * 
* - * 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 { @@ -1812,6 +2007,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Data Catalog resource name of the entry in URL format.
      * Example:
@@ -1822,19 +2019,25 @@ public java.lang.String getName() {
      * the location in this name.
      * 
* - * 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 Data Catalog resource name of the entry in URL format.
      * Example:
@@ -1845,7 +2048,10 @@ public Builder setName(
      * the location in this name.
      * 
* - * 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() { @@ -1855,6 +2061,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The Data Catalog resource name of the entry in URL format.
      * Example:
@@ -1865,13 +2073,17 @@ public Builder clearName() {
      * the location in this name.
      * 
* - * 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; @@ -1881,6 +2093,8 @@ public Builder setNameBytes( private java.lang.Object linkedResource_ = ""; /** + * + * *
      * The resource this metadata entry refers to.
      *
@@ -1897,13 +2111,13 @@ public Builder setNameBytes(
      * 
* * string linked_resource = 9; + * * @return The linkedResource. */ public java.lang.String getLinkedResource() { java.lang.Object ref = linkedResource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); linkedResource_ = s; return s; @@ -1912,6 +2126,8 @@ public java.lang.String getLinkedResource() { } } /** + * + * *
      * The resource this metadata entry refers to.
      *
@@ -1928,15 +2144,14 @@ public java.lang.String getLinkedResource() {
      * 
* * string linked_resource = 9; + * * @return The bytes for linkedResource. */ - public com.google.protobuf.ByteString - getLinkedResourceBytes() { + public com.google.protobuf.ByteString getLinkedResourceBytes() { java.lang.Object ref = linkedResource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); linkedResource_ = b; return b; } else { @@ -1944,6 +2159,8 @@ public java.lang.String getLinkedResource() { } } /** + * + * *
      * The resource this metadata entry refers to.
      *
@@ -1960,18 +2177,22 @@ public java.lang.String getLinkedResource() {
      * 
* * string linked_resource = 9; + * * @param value The linkedResource to set. * @return This builder for chaining. */ - public Builder setLinkedResource( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLinkedResource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } linkedResource_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The resource this metadata entry refers to.
      *
@@ -1988,6 +2209,7 @@ public Builder setLinkedResource(
      * 
* * string linked_resource = 9; + * * @return This builder for chaining. */ public Builder clearLinkedResource() { @@ -1997,6 +2219,8 @@ public Builder clearLinkedResource() { return this; } /** + * + * *
      * The resource this metadata entry refers to.
      *
@@ -2013,12 +2237,14 @@ public Builder clearLinkedResource() {
      * 
* * string linked_resource = 9; + * * @param value The bytes for linkedResource to set. * @return This builder for chaining. */ - public Builder setLinkedResourceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); linkedResource_ = value; bitField0_ |= 0x00000002; @@ -2027,12 +2253,15 @@ public Builder setLinkedResourceBytes( } /** + * + * *
      * The type of the entry.
      * Only used for Entries with types in the EntryType enum.
      * 
* * .google.cloud.datacatalog.v1beta1.EntryType type = 2; + * * @return Whether the type field is set. */ @java.lang.Override @@ -2040,12 +2269,15 @@ public boolean hasType() { return entryTypeCase_ == 2; } /** + * + * *
      * The type of the entry.
      * Only used for Entries with types in the EntryType enum.
      * 
* * .google.cloud.datacatalog.v1beta1.EntryType type = 2; + * * @return The enum numeric value on the wire for type. */ @java.lang.Override @@ -2056,12 +2288,15 @@ public int getTypeValue() { return 0; } /** + * + * *
      * The type of the entry.
      * Only used for Entries with types in the EntryType enum.
      * 
* * .google.cloud.datacatalog.v1beta1.EntryType type = 2; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -2072,30 +2307,39 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * The type of the entry.
      * Only used for Entries with types in the EntryType enum.
      * 
* * .google.cloud.datacatalog.v1beta1.EntryType type = 2; + * * @return The type. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.EntryType getType() { if (entryTypeCase_ == 2) { - com.google.cloud.datacatalog.v1beta1.EntryType result = com.google.cloud.datacatalog.v1beta1.EntryType.forNumber( - (java.lang.Integer) entryType_); - return result == null ? com.google.cloud.datacatalog.v1beta1.EntryType.UNRECOGNIZED : result; + com.google.cloud.datacatalog.v1beta1.EntryType result = + com.google.cloud.datacatalog.v1beta1.EntryType.forNumber( + (java.lang.Integer) entryType_); + return result == null + ? com.google.cloud.datacatalog.v1beta1.EntryType.UNRECOGNIZED + : result; } return com.google.cloud.datacatalog.v1beta1.EntryType.ENTRY_TYPE_UNSPECIFIED; } /** + * + * *
      * The type of the entry.
      * Only used for Entries with types in the EntryType enum.
      * 
* * .google.cloud.datacatalog.v1beta1.EntryType type = 2; + * * @param value The type to set. * @return This builder for chaining. */ @@ -2109,12 +2353,15 @@ public Builder setType(com.google.cloud.datacatalog.v1beta1.EntryType value) { return this; } /** + * + * *
      * The type of the entry.
      * Only used for Entries with types in the EntryType enum.
      * 
* * .google.cloud.datacatalog.v1beta1.EntryType type = 2; + * * @return This builder for chaining. */ public Builder clearType() { @@ -2127,6 +2374,8 @@ public Builder clearType() { } /** + * + * *
      * Entry type if it does not fit any of the input-allowed values listed in
      * `EntryType` enum above. When creating an entry, users should check the
@@ -2141,6 +2390,7 @@ public Builder clearType() {
      * 
* * string user_specified_type = 16; + * * @return Whether the userSpecifiedType field is set. */ @java.lang.Override @@ -2148,6 +2398,8 @@ public boolean hasUserSpecifiedType() { return entryTypeCase_ == 16; } /** + * + * *
      * Entry type if it does not fit any of the input-allowed values listed in
      * `EntryType` enum above. When creating an entry, users should check the
@@ -2162,6 +2414,7 @@ public boolean hasUserSpecifiedType() {
      * 
* * string user_specified_type = 16; + * * @return The userSpecifiedType. */ @java.lang.Override @@ -2171,8 +2424,7 @@ public java.lang.String getUserSpecifiedType() { ref = entryType_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (entryTypeCase_ == 16) { entryType_ = s; @@ -2183,6 +2435,8 @@ public java.lang.String getUserSpecifiedType() { } } /** + * + * *
      * Entry type if it does not fit any of the input-allowed values listed in
      * `EntryType` enum above. When creating an entry, users should check the
@@ -2197,19 +2451,18 @@ public java.lang.String getUserSpecifiedType() {
      * 
* * string user_specified_type = 16; + * * @return The bytes for userSpecifiedType. */ @java.lang.Override - public com.google.protobuf.ByteString - getUserSpecifiedTypeBytes() { + public com.google.protobuf.ByteString getUserSpecifiedTypeBytes() { java.lang.Object ref = ""; if (entryTypeCase_ == 16) { ref = entryType_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (entryTypeCase_ == 16) { entryType_ = b; } @@ -2219,6 +2472,8 @@ public java.lang.String getUserSpecifiedType() { } } /** + * + * *
      * Entry type if it does not fit any of the input-allowed values listed in
      * `EntryType` enum above. When creating an entry, users should check the
@@ -2233,18 +2488,22 @@ public java.lang.String getUserSpecifiedType() {
      * 
* * string user_specified_type = 16; + * * @param value The userSpecifiedType to set. * @return This builder for chaining. */ - public Builder setUserSpecifiedType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUserSpecifiedType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } entryTypeCase_ = 16; entryType_ = value; onChanged(); return this; } /** + * + * *
      * Entry type if it does not fit any of the input-allowed values listed in
      * `EntryType` enum above. When creating an entry, users should check the
@@ -2259,6 +2518,7 @@ public Builder setUserSpecifiedType(
      * 
* * string user_specified_type = 16; + * * @return This builder for chaining. */ public Builder clearUserSpecifiedType() { @@ -2270,6 +2530,8 @@ public Builder clearUserSpecifiedType() { return this; } /** + * + * *
      * Entry type if it does not fit any of the input-allowed values listed in
      * `EntryType` enum above. When creating an entry, users should check the
@@ -2284,12 +2546,14 @@ public Builder clearUserSpecifiedType() {
      * 
* * string user_specified_type = 16; + * * @param value The bytes for userSpecifiedType to set. * @return This builder for chaining. */ - public Builder setUserSpecifiedTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUserSpecifiedTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); entryTypeCase_ = 16; entryType_ = value; @@ -2298,12 +2562,17 @@ public Builder setUserSpecifiedTypeBytes( } /** + * + * *
      * Output only. This field indicates the entry's source system that Data
      * Catalog integrates with, such as BigQuery or Pub/Sub.
      * 
* - * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the integratedSystem field is set. */ @java.lang.Override @@ -2311,12 +2580,17 @@ public boolean hasIntegratedSystem() { return systemCase_ == 17; } /** + * + * *
      * Output only. This field indicates the entry's source system that Data
      * Catalog integrates with, such as BigQuery or Pub/Sub.
      * 
* - * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for integratedSystem. */ @java.lang.Override @@ -2327,12 +2601,17 @@ public int getIntegratedSystemValue() { return 0; } /** + * + * *
      * Output only. This field indicates the entry's source system that Data
      * Catalog integrates with, such as BigQuery or Pub/Sub.
      * 
* - * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for integratedSystem to set. * @return This builder for chaining. */ @@ -2343,34 +2622,48 @@ public Builder setIntegratedSystemValue(int value) { return this; } /** + * + * *
      * Output only. This field indicates the entry's source system that Data
      * Catalog integrates with, such as BigQuery or Pub/Sub.
      * 
* - * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The integratedSystem. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.IntegratedSystem getIntegratedSystem() { if (systemCase_ == 17) { - com.google.cloud.datacatalog.v1beta1.IntegratedSystem result = com.google.cloud.datacatalog.v1beta1.IntegratedSystem.forNumber( - (java.lang.Integer) system_); - return result == null ? com.google.cloud.datacatalog.v1beta1.IntegratedSystem.UNRECOGNIZED : result; + com.google.cloud.datacatalog.v1beta1.IntegratedSystem result = + com.google.cloud.datacatalog.v1beta1.IntegratedSystem.forNumber( + (java.lang.Integer) system_); + return result == null + ? com.google.cloud.datacatalog.v1beta1.IntegratedSystem.UNRECOGNIZED + : result; } return com.google.cloud.datacatalog.v1beta1.IntegratedSystem.INTEGRATED_SYSTEM_UNSPECIFIED; } /** + * + * *
      * Output only. This field indicates the entry's source system that Data
      * Catalog integrates with, such as BigQuery or Pub/Sub.
      * 
* - * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The integratedSystem to set. * @return This builder for chaining. */ - public Builder setIntegratedSystem(com.google.cloud.datacatalog.v1beta1.IntegratedSystem value) { + public Builder setIntegratedSystem( + com.google.cloud.datacatalog.v1beta1.IntegratedSystem value) { if (value == null) { throw new NullPointerException(); } @@ -2380,12 +2673,17 @@ public Builder setIntegratedSystem(com.google.cloud.datacatalog.v1beta1.Integrat return this; } /** + * + * *
      * Output only. This field indicates the entry's source system that Data
      * Catalog integrates with, such as BigQuery or Pub/Sub.
      * 
* - * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearIntegratedSystem() { @@ -2398,6 +2696,8 @@ public Builder clearIntegratedSystem() { } /** + * + * *
      * This field indicates the entry's source system that Data Catalog does not
      * integrate with. `user_specified_system` strings must begin with a letter
@@ -2407,6 +2707,7 @@ public Builder clearIntegratedSystem() {
      * 
* * string user_specified_system = 18; + * * @return Whether the userSpecifiedSystem field is set. */ @java.lang.Override @@ -2414,6 +2715,8 @@ public boolean hasUserSpecifiedSystem() { return systemCase_ == 18; } /** + * + * *
      * This field indicates the entry's source system that Data Catalog does not
      * integrate with. `user_specified_system` strings must begin with a letter
@@ -2423,6 +2726,7 @@ public boolean hasUserSpecifiedSystem() {
      * 
* * string user_specified_system = 18; + * * @return The userSpecifiedSystem. */ @java.lang.Override @@ -2432,8 +2736,7 @@ public java.lang.String getUserSpecifiedSystem() { ref = system_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (systemCase_ == 18) { system_ = s; @@ -2444,6 +2747,8 @@ public java.lang.String getUserSpecifiedSystem() { } } /** + * + * *
      * This field indicates the entry's source system that Data Catalog does not
      * integrate with. `user_specified_system` strings must begin with a letter
@@ -2453,19 +2758,18 @@ public java.lang.String getUserSpecifiedSystem() {
      * 
* * string user_specified_system = 18; + * * @return The bytes for userSpecifiedSystem. */ @java.lang.Override - public com.google.protobuf.ByteString - getUserSpecifiedSystemBytes() { + public com.google.protobuf.ByteString getUserSpecifiedSystemBytes() { java.lang.Object ref = ""; if (systemCase_ == 18) { ref = system_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (systemCase_ == 18) { system_ = b; } @@ -2475,6 +2779,8 @@ public java.lang.String getUserSpecifiedSystem() { } } /** + * + * *
      * This field indicates the entry's source system that Data Catalog does not
      * integrate with. `user_specified_system` strings must begin with a letter
@@ -2484,18 +2790,22 @@ public java.lang.String getUserSpecifiedSystem() {
      * 
* * string user_specified_system = 18; + * * @param value The userSpecifiedSystem to set. * @return This builder for chaining. */ - public Builder setUserSpecifiedSystem( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUserSpecifiedSystem(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } systemCase_ = 18; system_ = value; onChanged(); return this; } /** + * + * *
      * This field indicates the entry's source system that Data Catalog does not
      * integrate with. `user_specified_system` strings must begin with a letter
@@ -2505,6 +2815,7 @@ public Builder setUserSpecifiedSystem(
      * 
* * string user_specified_system = 18; + * * @return This builder for chaining. */ public Builder clearUserSpecifiedSystem() { @@ -2516,6 +2827,8 @@ public Builder clearUserSpecifiedSystem() { return this; } /** + * + * *
      * This field indicates the entry's source system that Data Catalog does not
      * integrate with. `user_specified_system` strings must begin with a letter
@@ -2525,12 +2838,14 @@ public Builder clearUserSpecifiedSystem() {
      * 
* * string user_specified_system = 18; + * * @param value The bytes for userSpecifiedSystem to set. * @return This builder for chaining. */ - public Builder setUserSpecifiedSystemBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUserSpecifiedSystemBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); systemCase_ = 18; system_ = value; @@ -2539,14 +2854,20 @@ public Builder setUserSpecifiedSystemBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec, com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.Builder, com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOrBuilder> gcsFilesetSpecBuilder_; + com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec, + com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.Builder, + com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOrBuilder> + gcsFilesetSpecBuilder_; /** + * + * *
      * Specification that applies to a Cloud Storage fileset. This is only valid
      * on entries of type FILESET.
      * 
* * .google.cloud.datacatalog.v1beta1.GcsFilesetSpec gcs_fileset_spec = 6; + * * @return Whether the gcsFilesetSpec field is set. */ @java.lang.Override @@ -2554,12 +2875,15 @@ public boolean hasGcsFilesetSpec() { return typeSpecCase_ == 6; } /** + * + * *
      * Specification that applies to a Cloud Storage fileset. This is only valid
      * on entries of type FILESET.
      * 
* * .google.cloud.datacatalog.v1beta1.GcsFilesetSpec gcs_fileset_spec = 6; + * * @return The gcsFilesetSpec. */ @java.lang.Override @@ -2577,6 +2901,8 @@ public com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec getGcsFilesetSpec() { } } /** + * + * *
      * Specification that applies to a Cloud Storage fileset. This is only valid
      * on entries of type FILESET.
@@ -2598,6 +2924,8 @@ public Builder setGcsFilesetSpec(com.google.cloud.datacatalog.v1beta1.GcsFileset
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a Cloud Storage fileset. This is only valid
      * on entries of type FILESET.
@@ -2617,6 +2945,8 @@ public Builder setGcsFilesetSpec(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a Cloud Storage fileset. This is only valid
      * on entries of type FILESET.
@@ -2626,10 +2956,14 @@ public Builder setGcsFilesetSpec(
      */
     public Builder mergeGcsFilesetSpec(com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec value) {
       if (gcsFilesetSpecBuilder_ == null) {
-        if (typeSpecCase_ == 6 &&
-            typeSpec_ != com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.getDefaultInstance()) {
-          typeSpec_ = com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.newBuilder((com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec) typeSpec_)
-              .mergeFrom(value).buildPartial();
+        if (typeSpecCase_ == 6
+            && typeSpec_
+                != com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.getDefaultInstance()) {
+          typeSpec_ =
+              com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.newBuilder(
+                      (com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec) typeSpec_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           typeSpec_ = value;
         }
@@ -2645,6 +2979,8 @@ public Builder mergeGcsFilesetSpec(com.google.cloud.datacatalog.v1beta1.GcsFiles
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a Cloud Storage fileset. This is only valid
      * on entries of type FILESET.
@@ -2669,6 +3005,8 @@ public Builder clearGcsFilesetSpec() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a Cloud Storage fileset. This is only valid
      * on entries of type FILESET.
@@ -2680,6 +3018,8 @@ public com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.Builder getGcsFileset
       return getGcsFilesetSpecFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a Cloud Storage fileset. This is only valid
      * on entries of type FILESET.
@@ -2688,7 +3028,8 @@ public com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.Builder getGcsFileset
      * .google.cloud.datacatalog.v1beta1.GcsFilesetSpec gcs_fileset_spec = 6;
      */
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOrBuilder getGcsFilesetSpecOrBuilder() {
+    public com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOrBuilder
+        getGcsFilesetSpecOrBuilder() {
       if ((typeSpecCase_ == 6) && (gcsFilesetSpecBuilder_ != null)) {
         return gcsFilesetSpecBuilder_.getMessageOrBuilder();
       } else {
@@ -2699,6 +3040,8 @@ public com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOrBuilder getGcsFilese
       }
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a Cloud Storage fileset. This is only valid
      * on entries of type FILESET.
@@ -2707,14 +3050,19 @@ public com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOrBuilder getGcsFilese
      * .google.cloud.datacatalog.v1beta1.GcsFilesetSpec gcs_fileset_spec = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec, com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.Builder, com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOrBuilder> 
+            com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec,
+            com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.Builder,
+            com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOrBuilder>
         getGcsFilesetSpecFieldBuilder() {
       if (gcsFilesetSpecBuilder_ == null) {
         if (!(typeSpecCase_ == 6)) {
           typeSpec_ = com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.getDefaultInstance();
         }
-        gcsFilesetSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec, com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.Builder, com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOrBuilder>(
+        gcsFilesetSpecBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec,
+                com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.Builder,
+                com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOrBuilder>(
                 (com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec) typeSpec_,
                 getParentForChildren(),
                 isClean());
@@ -2726,14 +3074,20 @@ public com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOrBuilder getGcsFilese
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec, com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.Builder, com.google.cloud.datacatalog.v1beta1.BigQueryTableSpecOrBuilder> bigqueryTableSpecBuilder_;
+            com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec,
+            com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.Builder,
+            com.google.cloud.datacatalog.v1beta1.BigQueryTableSpecOrBuilder>
+        bigqueryTableSpecBuilder_;
     /**
+     *
+     *
      * 
      * Specification that applies to a BigQuery table. This is only valid on
      * entries of type `TABLE`.
      * 
* * .google.cloud.datacatalog.v1beta1.BigQueryTableSpec bigquery_table_spec = 12; + * * @return Whether the bigqueryTableSpec field is set. */ @java.lang.Override @@ -2741,12 +3095,15 @@ public boolean hasBigqueryTableSpec() { return typeSpecCase_ == 12; } /** + * + * *
      * Specification that applies to a BigQuery table. This is only valid on
      * entries of type `TABLE`.
      * 
* * .google.cloud.datacatalog.v1beta1.BigQueryTableSpec bigquery_table_spec = 12; + * * @return The bigqueryTableSpec. */ @java.lang.Override @@ -2764,6 +3121,8 @@ public com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec getBigqueryTableSp } } /** + * + * *
      * Specification that applies to a BigQuery table. This is only valid on
      * entries of type `TABLE`.
@@ -2771,7 +3130,8 @@ public com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec getBigqueryTableSp
      *
      * .google.cloud.datacatalog.v1beta1.BigQueryTableSpec bigquery_table_spec = 12;
      */
-    public Builder setBigqueryTableSpec(com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec value) {
+    public Builder setBigqueryTableSpec(
+        com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec value) {
       if (bigqueryTableSpecBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2785,6 +3145,8 @@ public Builder setBigqueryTableSpec(com.google.cloud.datacatalog.v1beta1.BigQuer
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a BigQuery table. This is only valid on
      * entries of type `TABLE`.
@@ -2804,6 +3166,8 @@ public Builder setBigqueryTableSpec(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a BigQuery table. This is only valid on
      * entries of type `TABLE`.
@@ -2811,12 +3175,17 @@ public Builder setBigqueryTableSpec(
      *
      * .google.cloud.datacatalog.v1beta1.BigQueryTableSpec bigquery_table_spec = 12;
      */
-    public Builder mergeBigqueryTableSpec(com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec value) {
+    public Builder mergeBigqueryTableSpec(
+        com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec value) {
       if (bigqueryTableSpecBuilder_ == null) {
-        if (typeSpecCase_ == 12 &&
-            typeSpec_ != com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.getDefaultInstance()) {
-          typeSpec_ = com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.newBuilder((com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec) typeSpec_)
-              .mergeFrom(value).buildPartial();
+        if (typeSpecCase_ == 12
+            && typeSpec_
+                != com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.getDefaultInstance()) {
+          typeSpec_ =
+              com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.newBuilder(
+                      (com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec) typeSpec_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           typeSpec_ = value;
         }
@@ -2832,6 +3201,8 @@ public Builder mergeBigqueryTableSpec(com.google.cloud.datacatalog.v1beta1.BigQu
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a BigQuery table. This is only valid on
      * entries of type `TABLE`.
@@ -2856,6 +3227,8 @@ public Builder clearBigqueryTableSpec() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a BigQuery table. This is only valid on
      * entries of type `TABLE`.
@@ -2863,10 +3236,13 @@ public Builder clearBigqueryTableSpec() {
      *
      * .google.cloud.datacatalog.v1beta1.BigQueryTableSpec bigquery_table_spec = 12;
      */
-    public com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.Builder getBigqueryTableSpecBuilder() {
+    public com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.Builder
+        getBigqueryTableSpecBuilder() {
       return getBigqueryTableSpecFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a BigQuery table. This is only valid on
      * entries of type `TABLE`.
@@ -2875,7 +3251,8 @@ public com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.Builder getBigquer
      * .google.cloud.datacatalog.v1beta1.BigQueryTableSpec bigquery_table_spec = 12;
      */
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.BigQueryTableSpecOrBuilder getBigqueryTableSpecOrBuilder() {
+    public com.google.cloud.datacatalog.v1beta1.BigQueryTableSpecOrBuilder
+        getBigqueryTableSpecOrBuilder() {
       if ((typeSpecCase_ == 12) && (bigqueryTableSpecBuilder_ != null)) {
         return bigqueryTableSpecBuilder_.getMessageOrBuilder();
       } else {
@@ -2886,6 +3263,8 @@ public com.google.cloud.datacatalog.v1beta1.BigQueryTableSpecOrBuilder getBigque
       }
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a BigQuery table. This is only valid on
      * entries of type `TABLE`.
@@ -2894,14 +3273,19 @@ public com.google.cloud.datacatalog.v1beta1.BigQueryTableSpecOrBuilder getBigque
      * .google.cloud.datacatalog.v1beta1.BigQueryTableSpec bigquery_table_spec = 12;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec, com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.Builder, com.google.cloud.datacatalog.v1beta1.BigQueryTableSpecOrBuilder> 
+            com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec,
+            com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.Builder,
+            com.google.cloud.datacatalog.v1beta1.BigQueryTableSpecOrBuilder>
         getBigqueryTableSpecFieldBuilder() {
       if (bigqueryTableSpecBuilder_ == null) {
         if (!(typeSpecCase_ == 12)) {
           typeSpec_ = com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.getDefaultInstance();
         }
-        bigqueryTableSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec, com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.Builder, com.google.cloud.datacatalog.v1beta1.BigQueryTableSpecOrBuilder>(
+        bigqueryTableSpecBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec,
+                com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec.Builder,
+                com.google.cloud.datacatalog.v1beta1.BigQueryTableSpecOrBuilder>(
                 (com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec) typeSpec_,
                 getParentForChildren(),
                 isClean());
@@ -2913,15 +3297,23 @@ public com.google.cloud.datacatalog.v1beta1.BigQueryTableSpecOrBuilder getBigque
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec, com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.Builder, com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecOrBuilder> bigqueryDateShardedSpecBuilder_;
+            com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec,
+            com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.Builder,
+            com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecOrBuilder>
+        bigqueryDateShardedSpecBuilder_;
     /**
+     *
+     *
      * 
      * Specification for a group of BigQuery tables with name pattern
      * `[prefix]YYYYMMDD`. Context:
      * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
      * 
* - * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; + * + * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; + * + * * @return Whether the bigqueryDateShardedSpec field is set. */ @java.lang.Override @@ -2929,17 +3321,23 @@ public boolean hasBigqueryDateShardedSpec() { return typeSpecCase_ == 15; } /** + * + * *
      * Specification for a group of BigQuery tables with name pattern
      * `[prefix]YYYYMMDD`. Context:
      * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
      * 
* - * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; + * + * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; + * + * * @return The bigqueryDateShardedSpec. */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec getBigqueryDateShardedSpec() { + public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec + getBigqueryDateShardedSpec() { if (bigqueryDateShardedSpecBuilder_ == null) { if (typeSpecCase_ == 15) { return (com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) typeSpec_; @@ -2953,15 +3351,20 @@ public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec getBigqueryD } } /** + * + * *
      * Specification for a group of BigQuery tables with name pattern
      * `[prefix]YYYYMMDD`. Context:
      * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
      * 
* - * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; + * + * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; + * */ - public Builder setBigqueryDateShardedSpec(com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec value) { + public Builder setBigqueryDateShardedSpec( + com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec value) { if (bigqueryDateShardedSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2975,13 +3378,17 @@ public Builder setBigqueryDateShardedSpec(com.google.cloud.datacatalog.v1beta1.B return this; } /** + * + * *
      * Specification for a group of BigQuery tables with name pattern
      * `[prefix]YYYYMMDD`. Context:
      * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
      * 
* - * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; + * + * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; + * */ public Builder setBigqueryDateShardedSpec( com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.Builder builderForValue) { @@ -2995,20 +3402,30 @@ public Builder setBigqueryDateShardedSpec( return this; } /** + * + * *
      * Specification for a group of BigQuery tables with name pattern
      * `[prefix]YYYYMMDD`. Context:
      * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
      * 
* - * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; + * + * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; + * */ - public Builder mergeBigqueryDateShardedSpec(com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec value) { + public Builder mergeBigqueryDateShardedSpec( + com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec value) { if (bigqueryDateShardedSpecBuilder_ == null) { - if (typeSpecCase_ == 15 && - typeSpec_ != com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.getDefaultInstance()) { - typeSpec_ = com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.newBuilder((com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) typeSpec_) - .mergeFrom(value).buildPartial(); + if (typeSpecCase_ == 15 + && typeSpec_ + != com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec + .getDefaultInstance()) { + typeSpec_ = + com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.newBuilder( + (com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) typeSpec_) + .mergeFrom(value) + .buildPartial(); } else { typeSpec_ = value; } @@ -3024,13 +3441,17 @@ public Builder mergeBigqueryDateShardedSpec(com.google.cloud.datacatalog.v1beta1 return this; } /** + * + * *
      * Specification for a group of BigQuery tables with name pattern
      * `[prefix]YYYYMMDD`. Context:
      * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
      * 
* - * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; + * + * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; + * */ public Builder clearBigqueryDateShardedSpec() { if (bigqueryDateShardedSpecBuilder_ == null) { @@ -3049,28 +3470,38 @@ public Builder clearBigqueryDateShardedSpec() { return this; } /** + * + * *
      * Specification for a group of BigQuery tables with name pattern
      * `[prefix]YYYYMMDD`. Context:
      * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
      * 
* - * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; + * + * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; + * */ - public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.Builder getBigqueryDateShardedSpecBuilder() { + public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.Builder + getBigqueryDateShardedSpecBuilder() { return getBigqueryDateShardedSpecFieldBuilder().getBuilder(); } /** + * + * *
      * Specification for a group of BigQuery tables with name pattern
      * `[prefix]YYYYMMDD`. Context:
      * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
      * 
* - * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; + * + * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecOrBuilder getBigqueryDateShardedSpecOrBuilder() { + public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecOrBuilder + getBigqueryDateShardedSpecOrBuilder() { if ((typeSpecCase_ == 15) && (bigqueryDateShardedSpecBuilder_ != null)) { return bigqueryDateShardedSpecBuilder_.getMessageOrBuilder(); } else { @@ -3081,23 +3512,33 @@ public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecOrBuilder get } } /** + * + * *
      * Specification for a group of BigQuery tables with name pattern
      * `[prefix]YYYYMMDD`. Context:
      * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
      * 
* - * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; + * + * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec, com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.Builder, com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecOrBuilder> + com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec, + com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.Builder, + com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecOrBuilder> getBigqueryDateShardedSpecFieldBuilder() { if (bigqueryDateShardedSpecBuilder_ == null) { if (!(typeSpecCase_ == 15)) { - typeSpec_ = com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.getDefaultInstance(); + typeSpec_ = + com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.getDefaultInstance(); } - bigqueryDateShardedSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec, com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.Builder, com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecOrBuilder>( + bigqueryDateShardedSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec, + com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.Builder, + com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecOrBuilder>( (com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) typeSpec_, getParentForChildren(), isClean()); @@ -3110,6 +3551,8 @@ public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecOrBuilder get private java.lang.Object displayName_ = ""; /** + * + * *
      * Display information such as title and description. A short name to identify
      * the entry, for example, "Analytics Data - Jan 2011". Default value is an
@@ -3117,13 +3560,13 @@ public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecOrBuilder get
      * 
* * string display_name = 3; + * * @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; @@ -3132,6 +3575,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display information such as title and description. A short name to identify
      * the entry, for example, "Analytics Data - Jan 2011". Default value is an
@@ -3139,15 +3584,14 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 3; + * * @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 { @@ -3155,6 +3599,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display information such as title and description. A short name to identify
      * the entry, for example, "Analytics Data - Jan 2011". Default value is an
@@ -3162,18 +3608,22 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 3; + * * @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_ |= 0x00000200; onChanged(); return this; } /** + * + * *
      * Display information such as title and description. A short name to identify
      * the entry, for example, "Analytics Data - Jan 2011". Default value is an
@@ -3181,6 +3631,7 @@ public Builder setDisplayName(
      * 
* * string display_name = 3; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -3190,6 +3641,8 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Display information such as title and description. A short name to identify
      * the entry, for example, "Analytics Data - Jan 2011". Default value is an
@@ -3197,12 +3650,14 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 3; + * * @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_ |= 0x00000200; @@ -3212,19 +3667,21 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Entry description, which can consist of several sentences or paragraphs
      * that describe entry contents. Default value is an empty string.
      * 
* * string description = 4; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -3233,21 +3690,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Entry description, which can consist of several sentences or paragraphs
      * that describe entry contents. Default value is an empty string.
      * 
* * string description = 4; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -3255,30 +3713,37 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Entry description, which can consist of several sentences or paragraphs
      * that describe entry contents. Default value is an empty string.
      * 
* * string description = 4; + * * @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_ |= 0x00000400; onChanged(); return this; } /** + * + * *
      * Entry description, which can consist of several sentences or paragraphs
      * that describe entry contents. Default value is an empty string.
      * 
* * string description = 4; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -3288,18 +3753,22 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Entry description, which can consist of several sentences or paragraphs
      * that describe entry contents. Default value is an empty string.
      * 
* * string description = 4; + * * @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_ |= 0x00000400; @@ -3309,34 +3778,47 @@ public Builder setDescriptionBytes( private com.google.cloud.datacatalog.v1beta1.Schema schema_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Schema, com.google.cloud.datacatalog.v1beta1.Schema.Builder, com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder> schemaBuilder_; + com.google.cloud.datacatalog.v1beta1.Schema, + com.google.cloud.datacatalog.v1beta1.Schema.Builder, + com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder> + schemaBuilder_; /** + * + * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
* * .google.cloud.datacatalog.v1beta1.Schema schema = 5; + * * @return Whether the schema field is set. */ public boolean hasSchema() { return ((bitField0_ & 0x00000800) != 0); } /** + * + * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
* * .google.cloud.datacatalog.v1beta1.Schema schema = 5; + * * @return The schema. */ public com.google.cloud.datacatalog.v1beta1.Schema getSchema() { if (schemaBuilder_ == null) { - return schema_ == null ? com.google.cloud.datacatalog.v1beta1.Schema.getDefaultInstance() : schema_; + return schema_ == null + ? com.google.cloud.datacatalog.v1beta1.Schema.getDefaultInstance() + : schema_; } else { return schemaBuilder_.getMessage(); } } /** + * + * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -3357,14 +3839,15 @@ public Builder setSchema(com.google.cloud.datacatalog.v1beta1.Schema value) { return this; } /** + * + * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
* * .google.cloud.datacatalog.v1beta1.Schema schema = 5; */ - public Builder setSchema( - com.google.cloud.datacatalog.v1beta1.Schema.Builder builderForValue) { + public Builder setSchema(com.google.cloud.datacatalog.v1beta1.Schema.Builder builderForValue) { if (schemaBuilder_ == null) { schema_ = builderForValue.build(); } else { @@ -3375,6 +3858,8 @@ public Builder setSchema( return this; } /** + * + * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -3383,9 +3868,9 @@ public Builder setSchema( */ public Builder mergeSchema(com.google.cloud.datacatalog.v1beta1.Schema value) { if (schemaBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) && - schema_ != null && - schema_ != com.google.cloud.datacatalog.v1beta1.Schema.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) + && schema_ != null + && schema_ != com.google.cloud.datacatalog.v1beta1.Schema.getDefaultInstance()) { getSchemaBuilder().mergeFrom(value); } else { schema_ = value; @@ -3398,6 +3883,8 @@ public Builder mergeSchema(com.google.cloud.datacatalog.v1beta1.Schema value) { return this; } /** + * + * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -3415,6 +3902,8 @@ public Builder clearSchema() { return this; } /** + * + * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -3427,6 +3916,8 @@ public com.google.cloud.datacatalog.v1beta1.Schema.Builder getSchemaBuilder() { return getSchemaFieldBuilder().getBuilder(); } /** + * + * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -3437,11 +3928,14 @@ public com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder getSchemaOrBuilder() if (schemaBuilder_ != null) { return schemaBuilder_.getMessageOrBuilder(); } else { - return schema_ == null ? - com.google.cloud.datacatalog.v1beta1.Schema.getDefaultInstance() : schema_; + return schema_ == null + ? com.google.cloud.datacatalog.v1beta1.Schema.getDefaultInstance() + : schema_; } } /** + * + * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -3449,14 +3943,17 @@ public com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder getSchemaOrBuilder() * .google.cloud.datacatalog.v1beta1.Schema schema = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Schema, com.google.cloud.datacatalog.v1beta1.Schema.Builder, com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder> + com.google.cloud.datacatalog.v1beta1.Schema, + com.google.cloud.datacatalog.v1beta1.Schema.Builder, + com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder> getSchemaFieldBuilder() { if (schemaBuilder_ == null) { - schemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Schema, com.google.cloud.datacatalog.v1beta1.Schema.Builder, com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder>( - getSchema(), - getParentForChildren(), - isClean()); + schemaBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.Schema, + com.google.cloud.datacatalog.v1beta1.Schema.Builder, + com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder>( + getSchema(), getParentForChildren(), isClean()); schema_ = null; } return schemaBuilder_; @@ -3464,8 +3961,13 @@ public com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder getSchemaOrBuilder() private com.google.cloud.datacatalog.v1beta1.SystemTimestamps sourceSystemTimestamps_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SystemTimestamps, com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder> sourceSystemTimestampsBuilder_; + com.google.cloud.datacatalog.v1beta1.SystemTimestamps, + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, + com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder> + sourceSystemTimestampsBuilder_; /** + * + * *
      * Output only. Timestamps about the underlying resource, not about this Data
      * Catalog entry. Output only when Entry is of type in the EntryType enum. For
@@ -3473,13 +3975,18 @@ public com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder getSchemaOrBuilder()
      * empty timestamp.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the sourceSystemTimestamps field is set. */ public boolean hasSourceSystemTimestamps() { return ((bitField0_ & 0x00001000) != 0); } /** + * + * *
      * Output only. Timestamps about the underlying resource, not about this Data
      * Catalog entry. Output only when Entry is of type in the EntryType enum. For
@@ -3487,17 +3994,24 @@ public boolean hasSourceSystemTimestamps() {
      * empty timestamp.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The sourceSystemTimestamps. */ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getSourceSystemTimestamps() { if (sourceSystemTimestampsBuilder_ == null) { - return sourceSystemTimestamps_ == null ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() : sourceSystemTimestamps_; + return sourceSystemTimestamps_ == null + ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() + : sourceSystemTimestamps_; } else { return sourceSystemTimestampsBuilder_.getMessage(); } } /** + * + * *
      * Output only. Timestamps about the underlying resource, not about this Data
      * Catalog entry. Output only when Entry is of type in the EntryType enum. For
@@ -3505,9 +4019,12 @@ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getSourceSystemTime
      * empty timestamp.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setSourceSystemTimestamps(com.google.cloud.datacatalog.v1beta1.SystemTimestamps value) { + public Builder setSourceSystemTimestamps( + com.google.cloud.datacatalog.v1beta1.SystemTimestamps value) { if (sourceSystemTimestampsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3521,6 +4038,8 @@ public Builder setSourceSystemTimestamps(com.google.cloud.datacatalog.v1beta1.Sy return this; } /** + * + * *
      * Output only. Timestamps about the underlying resource, not about this Data
      * Catalog entry. Output only when Entry is of type in the EntryType enum. For
@@ -3528,7 +4047,9 @@ public Builder setSourceSystemTimestamps(com.google.cloud.datacatalog.v1beta1.Sy
      * empty timestamp.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setSourceSystemTimestamps( com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder builderForValue) { @@ -3542,6 +4063,8 @@ public Builder setSourceSystemTimestamps( return this; } /** + * + * *
      * Output only. Timestamps about the underlying resource, not about this Data
      * Catalog entry. Output only when Entry is of type in the EntryType enum. For
@@ -3549,13 +4072,17 @@ public Builder setSourceSystemTimestamps(
      * empty timestamp.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeSourceSystemTimestamps(com.google.cloud.datacatalog.v1beta1.SystemTimestamps value) { + public Builder mergeSourceSystemTimestamps( + com.google.cloud.datacatalog.v1beta1.SystemTimestamps value) { if (sourceSystemTimestampsBuilder_ == null) { - if (((bitField0_ & 0x00001000) != 0) && - sourceSystemTimestamps_ != null && - sourceSystemTimestamps_ != com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance()) { + if (((bitField0_ & 0x00001000) != 0) + && sourceSystemTimestamps_ != null + && sourceSystemTimestamps_ + != com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance()) { getSourceSystemTimestampsBuilder().mergeFrom(value); } else { sourceSystemTimestamps_ = value; @@ -3568,6 +4095,8 @@ public Builder mergeSourceSystemTimestamps(com.google.cloud.datacatalog.v1beta1. return this; } /** + * + * *
      * Output only. Timestamps about the underlying resource, not about this Data
      * Catalog entry. Output only when Entry is of type in the EntryType enum. For
@@ -3575,7 +4104,9 @@ public Builder mergeSourceSystemTimestamps(com.google.cloud.datacatalog.v1beta1.
      * empty timestamp.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearSourceSystemTimestamps() { bitField0_ = (bitField0_ & ~0x00001000); @@ -3588,6 +4119,8 @@ public Builder clearSourceSystemTimestamps() { return this; } /** + * + * *
      * Output only. Timestamps about the underlying resource, not about this Data
      * Catalog entry. Output only when Entry is of type in the EntryType enum. For
@@ -3595,14 +4128,19 @@ public Builder clearSourceSystemTimestamps() {
      * empty timestamp.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder getSourceSystemTimestampsBuilder() { + public com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder + getSourceSystemTimestampsBuilder() { bitField0_ |= 0x00001000; onChanged(); return getSourceSystemTimestampsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Timestamps about the underlying resource, not about this Data
      * Catalog entry. Output only when Entry is of type in the EntryType enum. For
@@ -3610,17 +4148,23 @@ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder getSourceSy
      * empty timestamp.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder getSourceSystemTimestampsOrBuilder() { + public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder + getSourceSystemTimestampsOrBuilder() { if (sourceSystemTimestampsBuilder_ != null) { return sourceSystemTimestampsBuilder_.getMessageOrBuilder(); } else { - return sourceSystemTimestamps_ == null ? - com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() : sourceSystemTimestamps_; + return sourceSystemTimestamps_ == null + ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() + : sourceSystemTimestamps_; } } /** + * + * *
      * Output only. Timestamps about the underlying resource, not about this Data
      * Catalog entry. Output only when Entry is of type in the EntryType enum. For
@@ -3628,17 +4172,22 @@ public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder getSourceS
      * empty timestamp.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SystemTimestamps, com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder> + com.google.cloud.datacatalog.v1beta1.SystemTimestamps, + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, + com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder> getSourceSystemTimestampsFieldBuilder() { if (sourceSystemTimestampsBuilder_ == null) { - sourceSystemTimestampsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SystemTimestamps, com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder>( - getSourceSystemTimestamps(), - getParentForChildren(), - isClean()); + sourceSystemTimestampsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.SystemTimestamps, + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, + com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder>( + getSourceSystemTimestamps(), getParentForChildren(), isClean()); sourceSystemTimestamps_ = null; } return sourceSystemTimestampsBuilder_; @@ -3646,39 +4195,58 @@ public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder getSourceS private com.google.cloud.datacatalog.v1beta1.UsageSignal usageSignal_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.UsageSignal, com.google.cloud.datacatalog.v1beta1.UsageSignal.Builder, com.google.cloud.datacatalog.v1beta1.UsageSignalOrBuilder> usageSignalBuilder_; + com.google.cloud.datacatalog.v1beta1.UsageSignal, + com.google.cloud.datacatalog.v1beta1.UsageSignal.Builder, + com.google.cloud.datacatalog.v1beta1.UsageSignalOrBuilder> + usageSignalBuilder_; /** + * + * *
      * Output only. Statistics on the usage level of the resource.
      * 
* - * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the usageSignal field is set. */ public boolean hasUsageSignal() { return ((bitField0_ & 0x00002000) != 0); } /** + * + * *
      * Output only. Statistics on the usage level of the resource.
      * 
* - * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The usageSignal. */ public com.google.cloud.datacatalog.v1beta1.UsageSignal getUsageSignal() { if (usageSignalBuilder_ == null) { - return usageSignal_ == null ? com.google.cloud.datacatalog.v1beta1.UsageSignal.getDefaultInstance() : usageSignal_; + return usageSignal_ == null + ? com.google.cloud.datacatalog.v1beta1.UsageSignal.getDefaultInstance() + : usageSignal_; } else { return usageSignalBuilder_.getMessage(); } } /** + * + * *
      * Output only. Statistics on the usage level of the resource.
      * 
* - * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUsageSignal(com.google.cloud.datacatalog.v1beta1.UsageSignal value) { if (usageSignalBuilder_ == null) { @@ -3694,11 +4262,15 @@ public Builder setUsageSignal(com.google.cloud.datacatalog.v1beta1.UsageSignal v return this; } /** + * + * *
      * Output only. Statistics on the usage level of the resource.
      * 
* - * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUsageSignal( com.google.cloud.datacatalog.v1beta1.UsageSignal.Builder builderForValue) { @@ -3712,17 +4284,22 @@ public Builder setUsageSignal( return this; } /** + * + * *
      * Output only. Statistics on the usage level of the resource.
      * 
* - * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUsageSignal(com.google.cloud.datacatalog.v1beta1.UsageSignal value) { if (usageSignalBuilder_ == null) { - if (((bitField0_ & 0x00002000) != 0) && - usageSignal_ != null && - usageSignal_ != com.google.cloud.datacatalog.v1beta1.UsageSignal.getDefaultInstance()) { + if (((bitField0_ & 0x00002000) != 0) + && usageSignal_ != null + && usageSignal_ + != com.google.cloud.datacatalog.v1beta1.UsageSignal.getDefaultInstance()) { getUsageSignalBuilder().mergeFrom(value); } else { usageSignal_ = value; @@ -3735,11 +4312,15 @@ public Builder mergeUsageSignal(com.google.cloud.datacatalog.v1beta1.UsageSignal return this; } /** + * + * *
      * Output only. Statistics on the usage level of the resource.
      * 
* - * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUsageSignal() { bitField0_ = (bitField0_ & ~0x00002000); @@ -3752,11 +4333,15 @@ public Builder clearUsageSignal() { return this; } /** + * + * *
      * Output only. Statistics on the usage level of the resource.
      * 
* - * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.datacatalog.v1beta1.UsageSignal.Builder getUsageSignalBuilder() { bitField0_ |= 0x00002000; @@ -3764,43 +4349,55 @@ public com.google.cloud.datacatalog.v1beta1.UsageSignal.Builder getUsageSignalBu return getUsageSignalFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Statistics on the usage level of the resource.
      * 
* - * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.datacatalog.v1beta1.UsageSignalOrBuilder getUsageSignalOrBuilder() { if (usageSignalBuilder_ != null) { return usageSignalBuilder_.getMessageOrBuilder(); } else { - return usageSignal_ == null ? - com.google.cloud.datacatalog.v1beta1.UsageSignal.getDefaultInstance() : usageSignal_; + return usageSignal_ == null + ? com.google.cloud.datacatalog.v1beta1.UsageSignal.getDefaultInstance() + : usageSignal_; } } /** + * + * *
      * Output only. Statistics on the usage level of the resource.
      * 
* - * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.UsageSignal, com.google.cloud.datacatalog.v1beta1.UsageSignal.Builder, com.google.cloud.datacatalog.v1beta1.UsageSignalOrBuilder> + com.google.cloud.datacatalog.v1beta1.UsageSignal, + com.google.cloud.datacatalog.v1beta1.UsageSignal.Builder, + com.google.cloud.datacatalog.v1beta1.UsageSignalOrBuilder> getUsageSignalFieldBuilder() { if (usageSignalBuilder_ == null) { - usageSignalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.UsageSignal, com.google.cloud.datacatalog.v1beta1.UsageSignal.Builder, com.google.cloud.datacatalog.v1beta1.UsageSignalOrBuilder>( - getUsageSignal(), - getParentForChildren(), - isClean()); + usageSignalBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.UsageSignal, + com.google.cloud.datacatalog.v1beta1.UsageSignal.Builder, + com.google.cloud.datacatalog.v1beta1.UsageSignalOrBuilder>( + getUsageSignal(), getParentForChildren(), isClean()); usageSignal_ = null; } return usageSignalBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3810,12 +4407,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.Entry) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.Entry) private static final com.google.cloud.datacatalog.v1beta1.Entry DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.Entry(); } @@ -3824,27 +4421,27 @@ public static com.google.cloud.datacatalog.v1beta1.Entry getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Entry parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Entry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3859,6 +4456,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.Entry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroup.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroup.java similarity index 67% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroup.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroup.java index 09e0a1c13806..e39039f79047 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroup.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroup.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * EntryGroup Metadata.
  * An EntryGroup resource represents a logical grouping of zero or more
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.EntryGroup}
  */
-public final class EntryGroup extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class EntryGroup extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.EntryGroup)
     EntryGroupOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use EntryGroup.newBuilder() to construct.
   private EntryGroup(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private EntryGroup() {
     name_ = "";
     displayName_ = "";
@@ -29,28 +47,32 @@ private EntryGroup() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new EntryGroup();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.EntryGroup.class, com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.EntryGroup.class,
+            com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The resource name of the entry group in URL format. Example:
    *
@@ -61,6 +83,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -69,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; } } /** + * + * *
    * The resource name of the entry group in URL format. Example:
    *
@@ -87,16 +111,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 { @@ -105,15 +128,19 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * A short name to identify the entry group, for example,
    * "analytics data - jan 2011". Default value is an empty string.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -122,30 +149,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * A short name to identify the entry group, for example,
    * "analytics data - jan 2011". Default value is an empty string.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -154,9 +181,12 @@ public java.lang.String getDisplayName() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Entry group description, which can consist of several sentences or
    * paragraphs that describe entry group contents. Default value is an empty
@@ -164,6 +194,7 @@ public java.lang.String getDisplayName() {
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -172,14 +203,15 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Entry group description, which can consist of several sentences or
    * paragraphs that describe entry group contents. Default value is an empty
@@ -187,16 +219,15 @@ public java.lang.String getDescription() {
    * 
* * string description = 3; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -207,12 +238,17 @@ public java.lang.String getDescription() { public static final int DATA_CATALOG_TIMESTAMPS_FIELD_NUMBER = 4; private com.google.cloud.datacatalog.v1beta1.SystemTimestamps dataCatalogTimestamps_; /** + * + * *
    * Output only. Timestamps about this EntryGroup. Default value is empty
    * timestamps.
    * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dataCatalogTimestamps field is set. */ @java.lang.Override @@ -220,32 +256,47 @@ public boolean hasDataCatalogTimestamps() { return dataCatalogTimestamps_ != null; } /** + * + * *
    * Output only. Timestamps about this EntryGroup. Default value is empty
    * timestamps.
    * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dataCatalogTimestamps. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getDataCatalogTimestamps() { - return dataCatalogTimestamps_ == null ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() : dataCatalogTimestamps_; + return dataCatalogTimestamps_ == null + ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() + : dataCatalogTimestamps_; } /** + * + * *
    * Output only. Timestamps about this EntryGroup. Default value is empty
    * timestamps.
    * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder getDataCatalogTimestampsOrBuilder() { - return dataCatalogTimestamps_ == null ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() : dataCatalogTimestamps_; + public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder + getDataCatalogTimestampsOrBuilder() { + return dataCatalogTimestamps_ == null + ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() + : dataCatalogTimestamps_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,8 +308,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -290,8 +340,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } if (dataCatalogTimestamps_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getDataCatalogTimestamps()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(4, getDataCatalogTimestamps()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -301,23 +351,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.datacatalog.v1beta1.EntryGroup)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.EntryGroup other = (com.google.cloud.datacatalog.v1beta1.EntryGroup) obj; + com.google.cloud.datacatalog.v1beta1.EntryGroup other = + (com.google.cloud.datacatalog.v1beta1.EntryGroup) 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 (hasDataCatalogTimestamps() != other.hasDataCatalogTimestamps()) return false; if (hasDataCatalogTimestamps()) { - if (!getDataCatalogTimestamps() - .equals(other.getDataCatalogTimestamps())) return false; + if (!getDataCatalogTimestamps().equals(other.getDataCatalogTimestamps())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -345,99 +392,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1beta1.EntryGroup parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1beta1.EntryGroup parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.EntryGroup parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.EntryGroup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.EntryGroup parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.EntryGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.EntryGroup parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.EntryGroup parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.EntryGroup parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.EntryGroup parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.EntryGroup parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.EntryGroup parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.EntryGroup parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.EntryGroup parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.EntryGroup prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * EntryGroup Metadata.
    * An EntryGroup resource represents a logical grouping of zero or more
@@ -446,33 +498,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.EntryGroup}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.EntryGroup)
       com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.EntryGroup.class, com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.EntryGroup.class,
+              com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.EntryGroup.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -489,9 +540,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_descriptor;
     }
 
     @java.lang.Override
@@ -510,8 +561,11 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroup build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.EntryGroup buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.EntryGroup result = new com.google.cloud.datacatalog.v1beta1.EntryGroup(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.EntryGroup result =
+          new com.google.cloud.datacatalog.v1beta1.EntryGroup(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -528,9 +582,10 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.EntryGroup resul
         result.description_ = description_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.dataCatalogTimestamps_ = dataCatalogTimestampsBuilder_ == null
-            ? dataCatalogTimestamps_
-            : dataCatalogTimestampsBuilder_.build();
+        result.dataCatalogTimestamps_ =
+            dataCatalogTimestampsBuilder_ == null
+                ? dataCatalogTimestamps_
+                : dataCatalogTimestampsBuilder_.build();
       }
     }
 
@@ -538,38 +593,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.EntryGroup 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.datacatalog.v1beta1.EntryGroup) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.EntryGroup)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.EntryGroup) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -577,7 +633,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.EntryGroup other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -622,34 +679,38 @@ 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 34: {
-              input.readMessage(
-                  getDataCatalogTimestampsFieldBuilder().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:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(
+                    getDataCatalogTimestampsFieldBuilder().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) {
@@ -659,10 +720,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The resource name of the entry group in URL format. Example:
      *
@@ -673,13 +737,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; @@ -688,6 +752,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the entry group in URL format. Example:
      *
@@ -698,15 +764,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 { @@ -714,6 +779,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the entry group in URL format. Example:
      *
@@ -724,18 +791,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The resource name of the entry group in URL format. Example:
      *
@@ -746,6 +817,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -755,6 +827,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The resource name of the entry group in URL format. Example:
      *
@@ -765,12 +839,14 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -780,19 +856,21 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * A short name to identify the entry group, for example,
      * "analytics data - jan 2011". Default value is an empty string.
      * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -801,21 +879,22 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * A short name to identify the entry group, for example,
      * "analytics data - jan 2011". Default value is an empty string.
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -823,30 +902,37 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * A short name to identify the entry group, for example,
      * "analytics data - jan 2011". Default value is an empty string.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A short name to identify the entry group, for example,
      * "analytics data - jan 2011". Default value is an empty string.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -856,18 +942,22 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * A short name to identify the entry group, for example,
      * "analytics data - jan 2011". Default value is an empty string.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -877,6 +967,8 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Entry group description, which can consist of several sentences or
      * paragraphs that describe entry group contents. Default value is an empty
@@ -884,13 +976,13 @@ public Builder setDisplayNameBytes(
      * 
* * string description = 3; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -899,6 +991,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Entry group description, which can consist of several sentences or
      * paragraphs that describe entry group contents. Default value is an empty
@@ -906,15 +1000,14 @@ public java.lang.String getDescription() {
      * 
* * string description = 3; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -922,6 +1015,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Entry group description, which can consist of several sentences or
      * paragraphs that describe entry group contents. Default value is an empty
@@ -929,18 +1024,22 @@ public java.lang.String getDescription() {
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Entry group description, which can consist of several sentences or
      * paragraphs that describe entry group contents. Default value is an empty
@@ -948,6 +1047,7 @@ public Builder setDescription(
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -957,6 +1057,8 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Entry group description, which can consist of several sentences or
      * paragraphs that describe entry group contents. Default value is an empty
@@ -964,12 +1066,14 @@ public Builder clearDescription() {
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -979,44 +1083,64 @@ public Builder setDescriptionBytes( private com.google.cloud.datacatalog.v1beta1.SystemTimestamps dataCatalogTimestamps_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SystemTimestamps, com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder> dataCatalogTimestampsBuilder_; + com.google.cloud.datacatalog.v1beta1.SystemTimestamps, + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, + com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder> + dataCatalogTimestampsBuilder_; /** + * + * *
      * Output only. Timestamps about this EntryGroup. Default value is empty
      * timestamps.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dataCatalogTimestamps field is set. */ public boolean hasDataCatalogTimestamps() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. Timestamps about this EntryGroup. Default value is empty
      * timestamps.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dataCatalogTimestamps. */ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getDataCatalogTimestamps() { if (dataCatalogTimestampsBuilder_ == null) { - return dataCatalogTimestamps_ == null ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() : dataCatalogTimestamps_; + return dataCatalogTimestamps_ == null + ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() + : dataCatalogTimestamps_; } else { return dataCatalogTimestampsBuilder_.getMessage(); } } /** + * + * *
      * Output only. Timestamps about this EntryGroup. Default value is empty
      * timestamps.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setDataCatalogTimestamps(com.google.cloud.datacatalog.v1beta1.SystemTimestamps value) { + public Builder setDataCatalogTimestamps( + com.google.cloud.datacatalog.v1beta1.SystemTimestamps value) { if (dataCatalogTimestampsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1030,12 +1154,16 @@ public Builder setDataCatalogTimestamps(com.google.cloud.datacatalog.v1beta1.Sys return this; } /** + * + * *
      * Output only. Timestamps about this EntryGroup. Default value is empty
      * timestamps.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDataCatalogTimestamps( com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder builderForValue) { @@ -1049,18 +1177,24 @@ public Builder setDataCatalogTimestamps( return this; } /** + * + * *
      * Output only. Timestamps about this EntryGroup. Default value is empty
      * timestamps.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeDataCatalogTimestamps(com.google.cloud.datacatalog.v1beta1.SystemTimestamps value) { + public Builder mergeDataCatalogTimestamps( + com.google.cloud.datacatalog.v1beta1.SystemTimestamps value) { if (dataCatalogTimestampsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - dataCatalogTimestamps_ != null && - dataCatalogTimestamps_ != com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && dataCatalogTimestamps_ != null + && dataCatalogTimestamps_ + != com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance()) { getDataCatalogTimestampsBuilder().mergeFrom(value); } else { dataCatalogTimestamps_ = value; @@ -1073,12 +1207,16 @@ public Builder mergeDataCatalogTimestamps(com.google.cloud.datacatalog.v1beta1.S return this; } /** + * + * *
      * Output only. Timestamps about this EntryGroup. Default value is empty
      * timestamps.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDataCatalogTimestamps() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1091,58 +1229,76 @@ public Builder clearDataCatalogTimestamps() { return this; } /** + * + * *
      * Output only. Timestamps about this EntryGroup. Default value is empty
      * timestamps.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder getDataCatalogTimestampsBuilder() { + public com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder + getDataCatalogTimestampsBuilder() { bitField0_ |= 0x00000008; onChanged(); return getDataCatalogTimestampsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Timestamps about this EntryGroup. Default value is empty
      * timestamps.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder getDataCatalogTimestampsOrBuilder() { + public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder + getDataCatalogTimestampsOrBuilder() { if (dataCatalogTimestampsBuilder_ != null) { return dataCatalogTimestampsBuilder_.getMessageOrBuilder(); } else { - return dataCatalogTimestamps_ == null ? - com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() : dataCatalogTimestamps_; + return dataCatalogTimestamps_ == null + ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() + : dataCatalogTimestamps_; } } /** + * + * *
      * Output only. Timestamps about this EntryGroup. Default value is empty
      * timestamps.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SystemTimestamps, com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder> + com.google.cloud.datacatalog.v1beta1.SystemTimestamps, + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, + com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder> getDataCatalogTimestampsFieldBuilder() { if (dataCatalogTimestampsBuilder_ == null) { - dataCatalogTimestampsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SystemTimestamps, com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder>( - getDataCatalogTimestamps(), - getParentForChildren(), - isClean()); + dataCatalogTimestampsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.SystemTimestamps, + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, + com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder>( + getDataCatalogTimestamps(), getParentForChildren(), isClean()); dataCatalogTimestamps_ = null; } return dataCatalogTimestampsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1152,12 +1308,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.EntryGroup) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.EntryGroup) private static final com.google.cloud.datacatalog.v1beta1.EntryGroup DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.EntryGroup(); } @@ -1166,27 +1322,27 @@ public static com.google.cloud.datacatalog.v1beta1.EntryGroup getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EntryGroup parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EntryGroup parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1201,6 +1357,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.EntryGroup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroupName.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroupName.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroupName.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroupName.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroupOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroupOrBuilder.java similarity index 66% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroupOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroupOrBuilder.java index 510b4964a6ec..11dc7c7fec16 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroupOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroupOrBuilder.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface EntryGroupOrBuilder extends +public interface EntryGroupOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.EntryGroup) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The resource name of the entry group in URL format. Example:
    *
@@ -18,10 +36,13 @@ public interface EntryGroupOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The resource name of the entry group in URL format. Example:
    *
@@ -32,34 +53,41 @@ public interface EntryGroupOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * A short name to identify the entry group, for example,
    * "analytics data - jan 2011". Default value is an empty string.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * A short name to identify the entry group, for example,
    * "analytics data - jan 2011". Default value is an empty string.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Entry group description, which can consist of several sentences or
    * paragraphs that describe entry group contents. Default value is an empty
@@ -67,10 +95,13 @@ public interface EntryGroupOrBuilder extends
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Entry group description, which can consist of several sentences or
    * paragraphs that describe entry group contents. Default value is an empty
@@ -78,38 +109,53 @@ public interface EntryGroupOrBuilder extends
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Output only. Timestamps about this EntryGroup. Default value is empty
    * timestamps.
    * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dataCatalogTimestamps field is set. */ boolean hasDataCatalogTimestamps(); /** + * + * *
    * Output only. Timestamps about this EntryGroup. Default value is empty
    * timestamps.
    * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dataCatalogTimestamps. */ com.google.cloud.datacatalog.v1beta1.SystemTimestamps getDataCatalogTimestamps(); /** + * + * *
    * Output only. Timestamps about this EntryGroup. Default value is empty
    * timestamps.
    * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder getDataCatalogTimestampsOrBuilder(); + com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder + getDataCatalogTimestampsOrBuilder(); } diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryName.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryName.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryName.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryName.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryOrBuilder.java similarity index 80% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryOrBuilder.java index d79090caf53c..d9c477a7d06f 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryOrBuilder.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface EntryOrBuilder extends +public interface EntryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.Entry) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The Data Catalog resource name of the entry in URL format.
    * Example:
@@ -18,11 +36,16 @@ public interface EntryOrBuilder extends
    * the location in this name.
    * 
* - * 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 Data Catalog resource name of the entry in URL format.
    * Example:
@@ -33,13 +56,17 @@ public interface EntryOrBuilder extends
    * the location in this name.
    * 
* - * 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(); /** + * + * *
    * The resource this metadata entry refers to.
    *
@@ -56,10 +83,13 @@ public interface EntryOrBuilder extends
    * 
* * string linked_resource = 9; + * * @return The linkedResource. */ java.lang.String getLinkedResource(); /** + * + * *
    * The resource this metadata entry refers to.
    *
@@ -76,43 +106,54 @@ public interface EntryOrBuilder extends
    * 
* * string linked_resource = 9; + * * @return The bytes for linkedResource. */ - com.google.protobuf.ByteString - getLinkedResourceBytes(); + com.google.protobuf.ByteString getLinkedResourceBytes(); /** + * + * *
    * The type of the entry.
    * Only used for Entries with types in the EntryType enum.
    * 
* * .google.cloud.datacatalog.v1beta1.EntryType type = 2; + * * @return Whether the type field is set. */ boolean hasType(); /** + * + * *
    * The type of the entry.
    * Only used for Entries with types in the EntryType enum.
    * 
* * .google.cloud.datacatalog.v1beta1.EntryType type = 2; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The type of the entry.
    * Only used for Entries with types in the EntryType enum.
    * 
* * .google.cloud.datacatalog.v1beta1.EntryType type = 2; + * * @return The type. */ com.google.cloud.datacatalog.v1beta1.EntryType getType(); /** + * + * *
    * Entry type if it does not fit any of the input-allowed values listed in
    * `EntryType` enum above. When creating an entry, users should check the
@@ -127,10 +168,13 @@ public interface EntryOrBuilder extends
    * 
* * string user_specified_type = 16; + * * @return Whether the userSpecifiedType field is set. */ boolean hasUserSpecifiedType(); /** + * + * *
    * Entry type if it does not fit any of the input-allowed values listed in
    * `EntryType` enum above. When creating an entry, users should check the
@@ -145,10 +189,13 @@ public interface EntryOrBuilder extends
    * 
* * string user_specified_type = 16; + * * @return The userSpecifiedType. */ java.lang.String getUserSpecifiedType(); /** + * + * *
    * Entry type if it does not fit any of the input-allowed values listed in
    * `EntryType` enum above. When creating an entry, users should check the
@@ -163,43 +210,60 @@ public interface EntryOrBuilder extends
    * 
* * string user_specified_type = 16; + * * @return The bytes for userSpecifiedType. */ - com.google.protobuf.ByteString - getUserSpecifiedTypeBytes(); + com.google.protobuf.ByteString getUserSpecifiedTypeBytes(); /** + * + * *
    * Output only. This field indicates the entry's source system that Data
    * Catalog integrates with, such as BigQuery or Pub/Sub.
    * 
* - * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the integratedSystem field is set. */ boolean hasIntegratedSystem(); /** + * + * *
    * Output only. This field indicates the entry's source system that Data
    * Catalog integrates with, such as BigQuery or Pub/Sub.
    * 
* - * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for integratedSystem. */ int getIntegratedSystemValue(); /** + * + * *
    * Output only. This field indicates the entry's source system that Data
    * Catalog integrates with, such as BigQuery or Pub/Sub.
    * 
* - * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The integratedSystem. */ com.google.cloud.datacatalog.v1beta1.IntegratedSystem getIntegratedSystem(); /** + * + * *
    * This field indicates the entry's source system that Data Catalog does not
    * integrate with. `user_specified_system` strings must begin with a letter
@@ -209,10 +273,13 @@ public interface EntryOrBuilder extends
    * 
* * string user_specified_system = 18; + * * @return Whether the userSpecifiedSystem field is set. */ boolean hasUserSpecifiedSystem(); /** + * + * *
    * This field indicates the entry's source system that Data Catalog does not
    * integrate with. `user_specified_system` strings must begin with a letter
@@ -222,10 +289,13 @@ public interface EntryOrBuilder extends
    * 
* * string user_specified_system = 18; + * * @return The userSpecifiedSystem. */ java.lang.String getUserSpecifiedSystem(); /** + * + * *
    * This field indicates the entry's source system that Data Catalog does not
    * integrate with. `user_specified_system` strings must begin with a letter
@@ -235,32 +305,40 @@ public interface EntryOrBuilder extends
    * 
* * string user_specified_system = 18; + * * @return The bytes for userSpecifiedSystem. */ - com.google.protobuf.ByteString - getUserSpecifiedSystemBytes(); + com.google.protobuf.ByteString getUserSpecifiedSystemBytes(); /** + * + * *
    * Specification that applies to a Cloud Storage fileset. This is only valid
    * on entries of type FILESET.
    * 
* * .google.cloud.datacatalog.v1beta1.GcsFilesetSpec gcs_fileset_spec = 6; + * * @return Whether the gcsFilesetSpec field is set. */ boolean hasGcsFilesetSpec(); /** + * + * *
    * Specification that applies to a Cloud Storage fileset. This is only valid
    * on entries of type FILESET.
    * 
* * .google.cloud.datacatalog.v1beta1.GcsFilesetSpec gcs_fileset_spec = 6; + * * @return The gcsFilesetSpec. */ com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec getGcsFilesetSpec(); /** + * + * *
    * Specification that applies to a Cloud Storage fileset. This is only valid
    * on entries of type FILESET.
@@ -271,26 +349,34 @@ public interface EntryOrBuilder extends
   com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOrBuilder getGcsFilesetSpecOrBuilder();
 
   /**
+   *
+   *
    * 
    * Specification that applies to a BigQuery table. This is only valid on
    * entries of type `TABLE`.
    * 
* * .google.cloud.datacatalog.v1beta1.BigQueryTableSpec bigquery_table_spec = 12; + * * @return Whether the bigqueryTableSpec field is set. */ boolean hasBigqueryTableSpec(); /** + * + * *
    * Specification that applies to a BigQuery table. This is only valid on
    * entries of type `TABLE`.
    * 
* * .google.cloud.datacatalog.v1beta1.BigQueryTableSpec bigquery_table_spec = 12; + * * @return The bigqueryTableSpec. */ com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec getBigqueryTableSpec(); /** + * + * *
    * Specification that applies to a BigQuery table. This is only valid on
    * entries of type `TABLE`.
@@ -301,39 +387,56 @@ public interface EntryOrBuilder extends
   com.google.cloud.datacatalog.v1beta1.BigQueryTableSpecOrBuilder getBigqueryTableSpecOrBuilder();
 
   /**
+   *
+   *
    * 
    * Specification for a group of BigQuery tables with name pattern
    * `[prefix]YYYYMMDD`. Context:
    * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
    * 
* - * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; + * + * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; + * + * * @return Whether the bigqueryDateShardedSpec field is set. */ boolean hasBigqueryDateShardedSpec(); /** + * + * *
    * Specification for a group of BigQuery tables with name pattern
    * `[prefix]YYYYMMDD`. Context:
    * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
    * 
* - * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; + * + * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; + * + * * @return The bigqueryDateShardedSpec. */ com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec getBigqueryDateShardedSpec(); /** + * + * *
    * Specification for a group of BigQuery tables with name pattern
    * `[prefix]YYYYMMDD`. Context:
    * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
    * 
* - * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; + * + * .google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; + * */ - com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecOrBuilder getBigqueryDateShardedSpecOrBuilder(); + com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecOrBuilder + getBigqueryDateShardedSpecOrBuilder(); /** + * + * *
    * Display information such as title and description. A short name to identify
    * the entry, for example, "Analytics Data - Jan 2011". Default value is an
@@ -341,10 +444,13 @@ public interface EntryOrBuilder extends
    * 
* * string display_name = 3; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Display information such as title and description. A short name to identify
    * the entry, for example, "Analytics Data - Jan 2011". Default value is an
@@ -352,52 +458,65 @@ public interface EntryOrBuilder extends
    * 
* * string display_name = 3; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Entry description, which can consist of several sentences or paragraphs
    * that describe entry contents. Default value is an empty string.
    * 
* * string description = 4; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Entry description, which can consist of several sentences or paragraphs
    * that describe entry contents. Default value is an empty string.
    * 
* * string description = 4; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Schema of the entry. An entry might not have any schema attached to it.
    * 
* * .google.cloud.datacatalog.v1beta1.Schema schema = 5; + * * @return Whether the schema field is set. */ boolean hasSchema(); /** + * + * *
    * Schema of the entry. An entry might not have any schema attached to it.
    * 
* * .google.cloud.datacatalog.v1beta1.Schema schema = 5; + * * @return The schema. */ com.google.cloud.datacatalog.v1beta1.Schema getSchema(); /** + * + * *
    * Schema of the entry. An entry might not have any schema attached to it.
    * 
@@ -407,6 +526,8 @@ public interface EntryOrBuilder extends com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder getSchemaOrBuilder(); /** + * + * *
    * Output only. Timestamps about the underlying resource, not about this Data
    * Catalog entry. Output only when Entry is of type in the EntryType enum. For
@@ -414,11 +535,16 @@ public interface EntryOrBuilder extends
    * empty timestamp.
    * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the sourceSystemTimestamps field is set. */ boolean hasSourceSystemTimestamps(); /** + * + * *
    * Output only. Timestamps about the underlying resource, not about this Data
    * Catalog entry. Output only when Entry is of type in the EntryType enum. For
@@ -426,11 +552,16 @@ public interface EntryOrBuilder extends
    * empty timestamp.
    * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The sourceSystemTimestamps. */ com.google.cloud.datacatalog.v1beta1.SystemTimestamps getSourceSystemTimestamps(); /** + * + * *
    * Output only. Timestamps about the underlying resource, not about this Data
    * Catalog entry. Output only when Entry is of type in the EntryType enum. For
@@ -438,34 +569,51 @@ public interface EntryOrBuilder extends
    * empty timestamp.
    * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder getSourceSystemTimestampsOrBuilder(); + com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder + getSourceSystemTimestampsOrBuilder(); /** + * + * *
    * Output only. Statistics on the usage level of the resource.
    * 
* - * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the usageSignal field is set. */ boolean hasUsageSignal(); /** + * + * *
    * Output only. Statistics on the usage level of the resource.
    * 
* - * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The usageSignal. */ com.google.cloud.datacatalog.v1beta1.UsageSignal getUsageSignal(); /** + * + * *
    * Output only. Statistics on the usage level of the resource.
    * 
* - * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.datacatalog.v1beta1.UsageSignalOrBuilder getUsageSignalOrBuilder(); diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryType.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryType.java similarity index 72% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryType.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryType.java index 80c7abf9d39e..b2db61bdeaef 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryType.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryType.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Entry resources in Data Catalog can be of different types e.g. a BigQuery
  * Table entry is of type `TABLE`. This enum describes all the possible types
@@ -12,9 +29,10 @@
  *
  * Protobuf enum {@code google.cloud.datacatalog.v1beta1.EntryType}
  */
-public enum EntryType
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum EntryType implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Default unknown type.
    * 
@@ -23,6 +41,8 @@ public enum EntryType */ ENTRY_TYPE_UNSPECIFIED(0), /** + * + * *
    * Output only. The type of entry that has a GoogleSQL schema, including
    * logical views.
@@ -32,6 +52,8 @@ public enum EntryType
    */
   TABLE(2),
   /**
+   *
+   *
    * 
    * Output only. The type of models.
    * https://cloud.google.com/bigquery-ml/docs/bigqueryml-intro
@@ -41,6 +63,8 @@ public enum EntryType
    */
   MODEL(5),
   /**
+   *
+   *
    * 
    * Output only. An entry type which is used for streaming entries. Example:
    * Pub/Sub topic.
@@ -50,6 +74,8 @@ public enum EntryType
    */
   DATA_STREAM(3),
   /**
+   *
+   *
    * 
    * An entry type which is a set of files or objects. Example:
    * Cloud Storage fileset.
@@ -62,6 +88,8 @@ public enum EntryType
   ;
 
   /**
+   *
+   *
    * 
    * Default unknown type.
    * 
@@ -70,6 +98,8 @@ public enum EntryType */ public static final int ENTRY_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Output only. The type of entry that has a GoogleSQL schema, including
    * logical views.
@@ -79,6 +109,8 @@ public enum EntryType
    */
   public static final int TABLE_VALUE = 2;
   /**
+   *
+   *
    * 
    * Output only. The type of models.
    * https://cloud.google.com/bigquery-ml/docs/bigqueryml-intro
@@ -88,6 +120,8 @@ public enum EntryType
    */
   public static final int MODEL_VALUE = 5;
   /**
+   *
+   *
    * 
    * Output only. An entry type which is used for streaming entries. Example:
    * Pub/Sub topic.
@@ -97,6 +131,8 @@ public enum EntryType
    */
   public static final int DATA_STREAM_VALUE = 3;
   /**
+   *
+   *
    * 
    * An entry type which is a set of files or objects. Example:
    * Cloud Storage fileset.
@@ -106,7 +142,6 @@ public enum EntryType
    */
   public static final int FILESET_VALUE = 4;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -131,51 +166,53 @@ public static EntryType valueOf(int value) {
    */
   public static EntryType forNumber(int value) {
     switch (value) {
-      case 0: return ENTRY_TYPE_UNSPECIFIED;
-      case 2: return TABLE;
-      case 5: return MODEL;
-      case 3: return DATA_STREAM;
-      case 4: return FILESET;
-      default: return null;
+      case 0:
+        return ENTRY_TYPE_UNSPECIFIED;
+      case 2:
+        return TABLE;
+      case 5:
+        return MODEL;
+      case 3:
+        return DATA_STREAM;
+      case 4:
+        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<
-      EntryType> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public EntryType findValueByNumber(int number) {
-            return EntryType.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 EntryType findValueByNumber(int number) {
+          return EntryType.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.datacatalog.v1beta1.Datacatalog.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final EntryType[] VALUES = values();
 
-  public static EntryType valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static EntryType 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,4 +228,3 @@ private EntryType(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1beta1.EntryType)
 }
-
diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequest.java
similarity index 63%
rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequest.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequest.java
index ccab4aa8a42d..46306377d823 100644
--- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequest.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequest.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/datacatalog/v1beta1/policytagmanagerserialization.proto
 
 package com.google.cloud.datacatalog.v1beta1;
 
 /**
+ *
+ *
  * 
  * Request message for
  * [ExportTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ExportTaxonomies].
@@ -11,50 +28,55 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest}
  */
-public final class ExportTaxonomiesRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ExportTaxonomiesRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest)
     ExportTaxonomiesRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ExportTaxonomiesRequest.newBuilder() to construct.
   private ExportTaxonomiesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ExportTaxonomiesRequest() {
     parent_ = "";
-    taxonomies_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    taxonomies_ = 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 ExportTaxonomiesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
+        .internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
+        .internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.class, com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.class,
+            com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.Builder.class);
   }
 
   private int destinationCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object destination_;
+
   public enum DestinationCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     SERIALIZED_TAXONOMIES(3),
     DESTINATION_NOT_SET(0);
     private final int value;
+
     private DestinationCase(int value) {
       this.value = value;
     }
@@ -70,32 +92,40 @@ public static DestinationCase valueOf(int value) {
 
     public static DestinationCase forNumber(int value) {
       switch (value) {
-        case 3: return SERIALIZED_TAXONOMIES;
-        case 0: return DESTINATION_NOT_SET;
-        default: return null;
+        case 3:
+          return SERIALIZED_TAXONOMIES;
+        case 0:
+          return DESTINATION_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public DestinationCase
-  getDestinationCase() {
-    return DestinationCase.forNumber(
-        destinationCase_);
+  public DestinationCase getDestinationCase() {
+    return DestinationCase.forNumber(destinationCase_);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. Resource name of the project that taxonomies to be exported
    * will share.
    * 
* - * string parent = 1 [(.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 @@ -104,30 +134,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. Resource name of the project that taxonomies to be exported
    * will share.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -136,38 +168,53 @@ public java.lang.String getParent() { } public static final int TAXONOMIES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList taxonomies_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Required. Resource names of the taxonomies to be exported.
    * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the taxonomies. */ - public com.google.protobuf.ProtocolStringList - getTaxonomiesList() { + public com.google.protobuf.ProtocolStringList getTaxonomiesList() { return taxonomies_; } /** + * + * *
    * Required. Resource names of the taxonomies to be exported.
    * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The count of taxonomies. */ public int getTaxonomiesCount() { return taxonomies_.size(); } /** + * + * *
    * Required. Resource names of the taxonomies to be exported.
    * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The taxonomies at the given index. */ @@ -175,26 +222,33 @@ public java.lang.String getTaxonomies(int index) { return taxonomies_.get(index); } /** + * + * *
    * Required. Resource names of the taxonomies to be exported.
    * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the taxonomies at the given index. */ - public com.google.protobuf.ByteString - getTaxonomiesBytes(int index) { + public com.google.protobuf.ByteString getTaxonomiesBytes(int index) { return taxonomies_.getByteString(index); } public static final int SERIALIZED_TAXONOMIES_FIELD_NUMBER = 3; /** + * + * *
    * Export taxonomies as serialized taxonomies.
    * 
* * bool serialized_taxonomies = 3; + * * @return Whether the serializedTaxonomies field is set. */ @java.lang.Override @@ -202,11 +256,14 @@ public boolean hasSerializedTaxonomies() { return destinationCase_ == 3; } /** + * + * *
    * Export taxonomies as serialized taxonomies.
    * 
* * bool serialized_taxonomies = 3; + * * @return The serializedTaxonomies. */ @java.lang.Override @@ -218,6 +275,7 @@ public boolean getSerializedTaxonomies() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -229,8 +287,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -238,8 +295,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 2, taxonomies_.getRaw(i)); } if (destinationCase_ == 3) { - output.writeBool( - 3, (boolean)((java.lang.Boolean) destination_)); + output.writeBool(3, (boolean) ((java.lang.Boolean) destination_)); } getUnknownFields().writeTo(output); } @@ -262,9 +318,9 @@ public int getSerializedSize() { size += 1 * getTaxonomiesList().size(); } if (destinationCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize( - 3, (boolean)((java.lang.Boolean) destination_)); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 3, (boolean) ((java.lang.Boolean) destination_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -274,22 +330,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.datacatalog.v1beta1.ExportTaxonomiesRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest other = (com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest) obj; + com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest other = + (com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getTaxonomiesList() - .equals(other.getTaxonomiesList())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getTaxonomiesList().equals(other.getTaxonomiesList())) return false; if (!getDestinationCase().equals(other.getDestinationCase())) return false; switch (destinationCase_) { case 3: - if (getSerializedTaxonomies() - != other.getSerializedTaxonomies()) return false; + if (getSerializedTaxonomies() != other.getSerializedTaxonomies()) return false; break; case 0: default: @@ -314,8 +368,7 @@ public int hashCode() { switch (destinationCase_) { case 3: hash = (37 * hash) + SERIALIZED_TAXONOMIES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSerializedTaxonomies()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSerializedTaxonomies()); break; case 0: default: @@ -326,98 +379,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [ExportTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ExportTaxonomies].
@@ -425,53 +484,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest)
       com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.class, com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.class,
+              com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
       parent_ = "";
-      taxonomies_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      taxonomies_ = com.google.protobuf.LazyStringArrayList.emptyList();
       destinationCase_ = 0;
       destination_ = null;
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest getDefaultInstanceForType() {
+    public com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.getDefaultInstance();
     }
 
@@ -486,14 +544,18 @@ public com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest result = new com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest result =
+          new com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest result) {
+    private void buildPartial0(
+        com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -504,7 +566,8 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ExportTaxonomies
       }
     }
 
-    private void buildPartialOneofs(com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest result) {
+    private void buildPartialOneofs(
+        com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest result) {
       result.destinationCase_ = destinationCase_;
       result.destination_ = this.destination_;
     }
@@ -513,38 +576,39 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1beta1.ExportTaxon
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -552,7 +616,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -569,13 +635,15 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRe
         onChanged();
       }
       switch (other.getDestinationCase()) {
-        case SERIALIZED_TAXONOMIES: {
-          setSerializedTaxonomies(other.getSerializedTaxonomies());
-          break;
-        }
-        case DESTINATION_NOT_SET: {
-          break;
-        }
+        case SERIALIZED_TAXONOMIES:
+          {
+            setSerializedTaxonomies(other.getSerializedTaxonomies());
+            break;
+          }
+        case DESTINATION_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -603,28 +671,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureTaxonomiesIsMutable();
-              taxonomies_.add(s);
-              break;
-            } // case 18
-            case 24: {
-              destination_ = input.readBool();
-              destinationCase_ = 3;
-              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:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureTaxonomiesIsMutable();
+                taxonomies_.add(s);
+                break;
+              } // case 18
+            case 24:
+              {
+                destination_ = input.readBool();
+                destinationCase_ = 3;
+                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) {
@@ -634,12 +706,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int destinationCase_ = 0;
     private java.lang.Object destination_;
-    public DestinationCase
-        getDestinationCase() {
-      return DestinationCase.forNumber(
-          destinationCase_);
+
+    public DestinationCase getDestinationCase() {
+      return DestinationCase.forNumber(destinationCase_);
     }
 
     public Builder clearDestination() {
@@ -653,19 +725,23 @@ public Builder clearDestination() {
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. Resource name of the project that taxonomies to be exported
      * will share.
      * 
* - * string parent = 1 [(.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,21 +750,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the project that taxonomies to be exported
      * will share.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -696,30 +775,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the project that taxonomies to be exported
      * will share.
      * 
* - * 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. Resource name of the project that taxonomies to be exported
      * will share.
      * 
* - * string 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() { @@ -729,18 +819,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Resource name of the project that taxonomies to be exported
      * will share.
      * 
* - * 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; @@ -750,6 +846,7 @@ public Builder setParentBytes( private com.google.protobuf.LazyStringArrayList taxonomies_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureTaxonomiesIsMutable() { if (!taxonomies_.isModifiable()) { taxonomies_ = new com.google.protobuf.LazyStringArrayList(taxonomies_); @@ -757,35 +854,49 @@ private void ensureTaxonomiesIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * Required. Resource names of the taxonomies to be exported.
      * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the taxonomies. */ - public com.google.protobuf.ProtocolStringList - getTaxonomiesList() { + public com.google.protobuf.ProtocolStringList getTaxonomiesList() { taxonomies_.makeImmutable(); return taxonomies_; } /** + * + * *
      * Required. Resource names of the taxonomies to be exported.
      * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The count of taxonomies. */ public int getTaxonomiesCount() { return taxonomies_.size(); } /** + * + * *
      * Required. Resource names of the taxonomies to be exported.
      * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The taxonomies at the given index. */ @@ -793,31 +904,41 @@ public java.lang.String getTaxonomies(int index) { return taxonomies_.get(index); } /** + * + * *
      * Required. Resource names of the taxonomies to be exported.
      * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the taxonomies at the given index. */ - public com.google.protobuf.ByteString - getTaxonomiesBytes(int index) { + public com.google.protobuf.ByteString getTaxonomiesBytes(int index) { return taxonomies_.getByteString(index); } /** + * + * *
      * Required. Resource names of the taxonomies to be exported.
      * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index to set the value at. * @param value The taxonomies to set. * @return This builder for chaining. */ - public Builder setTaxonomies( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTaxonomies(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureTaxonomiesIsMutable(); taxonomies_.set(index, value); bitField0_ |= 0x00000002; @@ -825,17 +946,23 @@ public Builder setTaxonomies( return this; } /** + * + * *
      * Required. Resource names of the taxonomies to be exported.
      * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The taxonomies to add. * @return This builder for chaining. */ - public Builder addTaxonomies( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addTaxonomies(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureTaxonomiesIsMutable(); taxonomies_.add(value); bitField0_ |= 0x00000002; @@ -843,50 +970,64 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * Required. Resource names of the taxonomies to be exported.
      * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param values The taxonomies to add. * @return This builder for chaining. */ - public Builder addAllTaxonomies( - java.lang.Iterable values) { + public Builder addAllTaxonomies(java.lang.Iterable values) { ensureTaxonomiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, taxonomies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taxonomies_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. Resource names of the taxonomies to be exported.
      * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearTaxonomies() { - taxonomies_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + taxonomies_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * Required. Resource names of the taxonomies to be exported.
      * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes of the taxonomies to add. * @return This builder for chaining. */ - public Builder addTaxonomiesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addTaxonomiesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureTaxonomiesIsMutable(); taxonomies_.add(value); @@ -896,22 +1037,28 @@ public Builder addTaxonomiesBytes( } /** + * + * *
      * Export taxonomies as serialized taxonomies.
      * 
* * bool serialized_taxonomies = 3; + * * @return Whether the serializedTaxonomies field is set. */ public boolean hasSerializedTaxonomies() { return destinationCase_ == 3; } /** + * + * *
      * Export taxonomies as serialized taxonomies.
      * 
* * bool serialized_taxonomies = 3; + * * @return The serializedTaxonomies. */ public boolean getSerializedTaxonomies() { @@ -921,11 +1068,14 @@ public boolean getSerializedTaxonomies() { return false; } /** + * + * *
      * Export taxonomies as serialized taxonomies.
      * 
* * bool serialized_taxonomies = 3; + * * @param value The serializedTaxonomies to set. * @return This builder for chaining. */ @@ -937,11 +1087,14 @@ public Builder setSerializedTaxonomies(boolean value) { return this; } /** + * + * *
      * Export taxonomies as serialized taxonomies.
      * 
* * bool serialized_taxonomies = 3; + * * @return This builder for chaining. */ public Builder clearSerializedTaxonomies() { @@ -952,9 +1105,9 @@ public Builder clearSerializedTaxonomies() { } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -964,12 +1117,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest) - private static final com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest DEFAULT_INSTANCE; + private static final com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest(); } @@ -978,27 +1132,27 @@ public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportTaxonomiesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportTaxonomiesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1013,6 +1167,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequestOrBuilder.java similarity index 53% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequestOrBuilder.java index b00cdf6a3f7b..516f06ae8a57 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequestOrBuilder.java @@ -1,90 +1,139 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1beta1; -public interface ExportTaxonomiesRequestOrBuilder extends +public interface ExportTaxonomiesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the project that taxonomies to be exported
    * will share.
    * 
* - * string parent = 1 [(.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. Resource name of the project that taxonomies to be exported
    * will share.
    * 
* - * string parent = 1 [(.google.api.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. Resource names of the taxonomies to be exported.
    * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the taxonomies. */ - java.util.List - getTaxonomiesList(); + java.util.List getTaxonomiesList(); /** + * + * *
    * Required. Resource names of the taxonomies to be exported.
    * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The count of taxonomies. */ int getTaxonomiesCount(); /** + * + * *
    * Required. Resource names of the taxonomies to be exported.
    * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The taxonomies at the given index. */ java.lang.String getTaxonomies(int index); /** + * + * *
    * Required. Resource names of the taxonomies to be exported.
    * 
* - * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the taxonomies at the given index. */ - com.google.protobuf.ByteString - getTaxonomiesBytes(int index); + com.google.protobuf.ByteString getTaxonomiesBytes(int index); /** + * + * *
    * Export taxonomies as serialized taxonomies.
    * 
* * bool serialized_taxonomies = 3; + * * @return Whether the serializedTaxonomies field is set. */ boolean hasSerializedTaxonomies(); /** + * + * *
    * Export taxonomies as serialized taxonomies.
    * 
* * bool serialized_taxonomies = 3; + * * @return The serializedTaxonomies. */ boolean getSerializedTaxonomies(); diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponse.java similarity index 70% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponse.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponse.java index b11be2f740de..96a8f799c9f8 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponse.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/datacatalog/v1beta1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Response message for
  * [ExportTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ExportTaxonomies].
@@ -11,43 +28,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse}
  */
-public final class ExportTaxonomiesResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ExportTaxonomiesResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse)
     ExportTaxonomiesResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ExportTaxonomiesResponse.newBuilder() to construct.
   private ExportTaxonomiesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ExportTaxonomiesResponse() {
     taxonomies_ = 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 ExportTaxonomiesResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
+        .internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
+        .internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse.class, com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse.class,
+            com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse.Builder.class);
   }
 
   public static final int TAXONOMIES_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List taxonomies_;
   /**
+   *
+   *
    * 
    * List of taxonomies and policy tags in a tree structure.
    * 
@@ -55,10 +77,13 @@ protected java.lang.Object newInstance( * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1; */ @java.lang.Override - public java.util.List getTaxonomiesList() { + public java.util.List + getTaxonomiesList() { return taxonomies_; } /** + * + * *
    * List of taxonomies and policy tags in a tree structure.
    * 
@@ -66,11 +91,13 @@ public java.util.List g * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTaxonomiesOrBuilderList() { return taxonomies_; } /** + * + * *
    * List of taxonomies and policy tags in a tree structure.
    * 
@@ -82,6 +109,8 @@ public int getTaxonomiesCount() { return taxonomies_.size(); } /** + * + * *
    * List of taxonomies and policy tags in a tree structure.
    * 
@@ -93,6 +122,8 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy getTaxonomies(int return taxonomies_.get(index); } /** + * + * *
    * List of taxonomies and policy tags in a tree structure.
    * 
@@ -106,6 +137,7 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder getTaxon } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,8 +149,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < taxonomies_.size(); i++) { output.writeMessage(1, taxonomies_.get(i)); } @@ -132,8 +163,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < taxonomies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, taxonomies_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, taxonomies_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -143,15 +173,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse other = (com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse) obj; + com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse other = + (com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse) obj; - if (!getTaxonomiesList() - .equals(other.getTaxonomiesList())) return false; + if (!getTaxonomiesList().equals(other.getTaxonomiesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -173,98 +203,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for
    * [ExportTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ExportTaxonomies].
@@ -272,33 +308,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse)
       com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse.class, com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse.class,
+              com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -314,13 +349,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse getDefaultInstanceForType() {
+    public com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse
+        getDefaultInstanceForType() {
       return com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse.getDefaultInstance();
     }
 
@@ -335,14 +371,18 @@ public com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse result = new com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse(this);
+      com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse result =
+          new com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse result) {
       if (taxonomiesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           taxonomies_ = java.util.Collections.unmodifiableList(taxonomies_);
@@ -354,7 +394,8 @@ private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.Exp
       }
     }
 
-    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse result) {
+    private void buildPartial0(
+        com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse result) {
       int from_bitField0_ = bitField0_;
     }
 
@@ -362,38 +403,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ExportTaxonomies
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -401,7 +443,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse.getDefaultInstance())
+        return this;
       if (taxonomiesBuilder_ == null) {
         if (!other.taxonomies_.isEmpty()) {
           if (taxonomies_.isEmpty()) {
@@ -420,9 +464,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRe
             taxonomiesBuilder_ = null;
             taxonomies_ = other.taxonomies_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            taxonomiesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getTaxonomiesFieldBuilder() : null;
+            taxonomiesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getTaxonomiesFieldBuilder()
+                    : null;
           } else {
             taxonomiesBuilder_.addAllMessages(other.taxonomies_);
           }
@@ -454,25 +499,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy m =
-                  input.readMessage(
-                      com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.parser(),
-                      extensionRegistry);
-              if (taxonomiesBuilder_ == null) {
-                ensureTaxonomiesIsMutable();
-                taxonomies_.add(m);
-              } else {
-                taxonomiesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy m =
+                    input.readMessage(
+                        com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.parser(),
+                        extensionRegistry);
+                if (taxonomiesBuilder_ == null) {
+                  ensureTaxonomiesIsMutable();
+                  taxonomies_.add(m);
+                } else {
+                  taxonomiesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -482,28 +529,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List taxonomies_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureTaxonomiesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        taxonomies_ = new java.util.ArrayList(taxonomies_);
+        taxonomies_ =
+            new java.util.ArrayList(
+                taxonomies_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder> taxonomiesBuilder_;
+            com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy,
+            com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder,
+            com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder>
+        taxonomiesBuilder_;
 
     /**
+     *
+     *
      * 
      * List of taxonomies and policy tags in a tree structure.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1; */ - public java.util.List getTaxonomiesList() { + public java.util.List + getTaxonomiesList() { if (taxonomiesBuilder_ == null) { return java.util.Collections.unmodifiableList(taxonomies_); } else { @@ -511,6 +568,8 @@ public java.util.List g } } /** + * + * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -525,6 +584,8 @@ public int getTaxonomiesCount() { } } /** + * + * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -539,6 +600,8 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy getTaxonomies(int } } /** + * + * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -560,6 +623,8 @@ public Builder setTaxonomies( return this; } /** + * + * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -567,7 +632,8 @@ public Builder setTaxonomies( * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1; */ public Builder setTaxonomies( - int index, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder builderForValue) { + int index, + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder builderForValue) { if (taxonomiesBuilder_ == null) { ensureTaxonomiesIsMutable(); taxonomies_.set(index, builderForValue.build()); @@ -578,6 +644,8 @@ public Builder setTaxonomies( return this; } /** + * + * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -598,6 +666,8 @@ public Builder addTaxonomies(com.google.cloud.datacatalog.v1beta1.SerializedTaxo return this; } /** + * + * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -619,6 +689,8 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -637,6 +709,8 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -644,7 +718,8 @@ public Builder addTaxonomies( * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1; */ public Builder addTaxonomies( - int index, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder builderForValue) { + int index, + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder builderForValue) { if (taxonomiesBuilder_ == null) { ensureTaxonomiesIsMutable(); taxonomies_.add(index, builderForValue.build()); @@ -655,6 +730,8 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -662,11 +739,11 @@ public Builder addTaxonomies( * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1; */ public Builder addAllTaxonomies( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (taxonomiesBuilder_ == null) { ensureTaxonomiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, taxonomies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taxonomies_); onChanged(); } else { taxonomiesBuilder_.addAllMessages(values); @@ -674,6 +751,8 @@ public Builder addAllTaxonomies( return this; } /** + * + * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -691,6 +770,8 @@ public Builder clearTaxonomies() { return this; } /** + * + * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -708,6 +789,8 @@ public Builder removeTaxonomies(int index) { return this; } /** + * + * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -719,6 +802,8 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder getTaxono return getTaxonomiesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -728,19 +813,23 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder getTaxono public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder getTaxonomiesOrBuilder( int index) { if (taxonomiesBuilder_ == null) { - return taxonomies_.get(index); } else { + return taxonomies_.get(index); + } else { return taxonomiesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of taxonomies and policy tags in a tree structure.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1; */ - public java.util.List - getTaxonomiesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder> + getTaxonomiesOrBuilderList() { if (taxonomiesBuilder_ != null) { return taxonomiesBuilder_.getMessageOrBuilderList(); } else { @@ -748,6 +837,8 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder getTaxon } } /** + * + * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -755,10 +846,12 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder getTaxon * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1; */ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder addTaxonomiesBuilder() { - return getTaxonomiesFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.getDefaultInstance()); + return getTaxonomiesFieldBuilder() + .addBuilder(com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.getDefaultInstance()); } /** + * + * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -767,37 +860,43 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder addTaxono */ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder addTaxonomiesBuilder( int index) { - return getTaxonomiesFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.getDefaultInstance()); + return getTaxonomiesFieldBuilder() + .addBuilder( + index, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.getDefaultInstance()); } /** + * + * *
      * List of taxonomies and policy tags in a tree structure.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1; */ - public java.util.List - getTaxonomiesBuilderList() { + public java.util.List + getTaxonomiesBuilderList() { return getTaxonomiesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder> + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy, + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder, + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder> getTaxonomiesFieldBuilder() { if (taxonomiesBuilder_ == null) { - taxonomiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder>( - taxonomies_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + taxonomiesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy, + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder, + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder>( + taxonomies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); taxonomies_ = null; } return taxonomiesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -807,12 +906,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse) - private static final com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse DEFAULT_INSTANCE; + private static final com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse(); } @@ -821,27 +921,27 @@ public static com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportTaxonomiesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportTaxonomiesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +956,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponseOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponseOrBuilder.java index 698ced6d3a92..eb3fa6f2f340 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponseOrBuilder.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/datacatalog/v1beta1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1beta1; -public interface ExportTaxonomiesResponseOrBuilder extends +public interface ExportTaxonomiesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of taxonomies and policy tags in a tree structure.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1; */ - java.util.List - getTaxonomiesList(); + java.util.List getTaxonomiesList(); /** + * + * *
    * List of taxonomies and policy tags in a tree structure.
    * 
@@ -25,6 +44,8 @@ public interface ExportTaxonomiesResponseOrBuilder extends */ com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy getTaxonomies(int index); /** + * + * *
    * List of taxonomies and policy tags in a tree structure.
    * 
@@ -33,15 +54,19 @@ public interface ExportTaxonomiesResponseOrBuilder extends */ int getTaxonomiesCount(); /** + * + * *
    * List of taxonomies and policy tags in a tree structure.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1; */ - java.util.List + java.util.List getTaxonomiesOrBuilderList(); /** + * + * *
    * List of taxonomies and policy tags in a tree structure.
    * 
diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldType.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldType.java similarity index 66% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldType.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldType.java index 3d487458ca33..e3ad20b5f3e0 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldType.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldType.java @@ -1,49 +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/datacatalog/v1beta1/tags.proto package com.google.cloud.datacatalog.v1beta1; -/** - * Protobuf type {@code google.cloud.datacatalog.v1beta1.FieldType} - */ -public final class FieldType extends - com.google.protobuf.GeneratedMessageV3 implements +/** Protobuf type {@code google.cloud.datacatalog.v1beta1.FieldType} */ +public final class FieldType extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.FieldType) FieldTypeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FieldType.newBuilder() to construct. private FieldType(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FieldType() { - } + + private FieldType() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FieldType(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_FieldType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Tags + .internal_static_google_cloud_datacatalog_v1beta1_FieldType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_FieldType_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.Tags + .internal_static_google_cloud_datacatalog_v1beta1_FieldType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.FieldType.class, com.google.cloud.datacatalog.v1beta1.FieldType.Builder.class); + com.google.cloud.datacatalog.v1beta1.FieldType.class, + com.google.cloud.datacatalog.v1beta1.FieldType.Builder.class); } - /** - * Protobuf enum {@code google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType} - */ - public enum PrimitiveType - implements com.google.protobuf.ProtocolMessageEnum { + /** Protobuf enum {@code google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType} */ + public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * This is the default invalid value for a type.
      * 
@@ -52,6 +65,8 @@ public enum PrimitiveType */ PRIMITIVE_TYPE_UNSPECIFIED(0), /** + * + * *
      * A double precision number.
      * 
@@ -60,6 +75,8 @@ public enum PrimitiveType */ DOUBLE(1), /** + * + * *
      * An UTF-8 string.
      * 
@@ -68,6 +85,8 @@ public enum PrimitiveType */ STRING(2), /** + * + * *
      * A boolean value.
      * 
@@ -76,6 +95,8 @@ public enum PrimitiveType */ BOOL(3), /** + * + * *
      * A timestamp.
      * 
@@ -87,6 +108,8 @@ public enum PrimitiveType ; /** + * + * *
      * This is the default invalid value for a type.
      * 
@@ -95,6 +118,8 @@ public enum PrimitiveType */ public static final int PRIMITIVE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * A double precision number.
      * 
@@ -103,6 +128,8 @@ public enum PrimitiveType */ public static final int DOUBLE_VALUE = 1; /** + * + * *
      * An UTF-8 string.
      * 
@@ -111,6 +138,8 @@ public enum PrimitiveType */ public static final int STRING_VALUE = 2; /** + * + * *
      * A boolean value.
      * 
@@ -119,6 +148,8 @@ public enum PrimitiveType */ public static final int BOOL_VALUE = 3; /** + * + * *
      * A timestamp.
      * 
@@ -127,7 +158,6 @@ public enum PrimitiveType */ public static final int TIMESTAMP_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -152,51 +182,53 @@ public static PrimitiveType valueOf(int value) { */ public static PrimitiveType forNumber(int value) { switch (value) { - case 0: return PRIMITIVE_TYPE_UNSPECIFIED; - case 1: return DOUBLE; - case 2: return STRING; - case 3: return BOOL; - case 4: return TIMESTAMP; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return PRIMITIVE_TYPE_UNSPECIFIED; + case 1: + return DOUBLE; + case 2: + return STRING; + case 3: + return BOOL; + case 4: + return TIMESTAMP; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - PrimitiveType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PrimitiveType findValueByNumber(int number) { - return PrimitiveType.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 PrimitiveType findValueByNumber(int number) { + return PrimitiveType.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.datacatalog.v1beta1.FieldType.getDescriptor().getEnumTypes().get(0); } private static final PrimitiveType[] VALUES = values(); - public static PrimitiveType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PrimitiveType 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; @@ -213,142 +245,164 @@ private PrimitiveType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType) } - public interface EnumTypeOrBuilder extends + public interface EnumTypeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.FieldType.EnumType) com.google.protobuf.MessageOrBuilder { /** - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ - java.util.List + java.util.List getAllowedValuesList(); /** - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue getAllowedValues(int index); /** - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ int getAllowedValuesCount(); /** - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder> getAllowedValuesOrBuilderList(); /** - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder getAllowedValuesOrBuilder( - int index); + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder + getAllowedValuesOrBuilder(int index); } - /** - * Protobuf type {@code google.cloud.datacatalog.v1beta1.FieldType.EnumType} - */ - public static final class EnumType extends - com.google.protobuf.GeneratedMessageV3 implements + /** Protobuf type {@code google.cloud.datacatalog.v1beta1.FieldType.EnumType} */ + public static final class EnumType extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.FieldType.EnumType) EnumTypeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use EnumType.newBuilder() to construct. private EnumType(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private EnumType() { allowedValues_ = 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 EnumType(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Tags + .internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.Tags + .internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.class, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.Builder.class); + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.class, + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.Builder.class); } - public interface EnumValueOrBuilder extends + public interface EnumValueOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Required. The display name of the enum value. Must not be an empty
        * string.
        * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
        * Required. The display name of the enum value. Must not be an empty
        * string.
        * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); } - /** - * Protobuf type {@code google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue} - */ - public static final class EnumValue extends - com.google.protobuf.GeneratedMessageV3 implements + /** Protobuf type {@code google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue} */ + public static final class EnumValue extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue) EnumValueOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use EnumValue.newBuilder() to construct. private EnumValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private EnumValue() { displayName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new EnumValue(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Tags + .internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.Tags + .internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.class, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder.class); + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.class, + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
        * Required. The display name of the enum value. Must not be an empty
        * string.
        * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -357,30 +411,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
        * Required. The display name of the enum value. Must not be an empty
        * string.
        * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -389,6 +443,7 @@ public java.lang.String getDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -400,8 +455,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -425,15 +479,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue other = (com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue) obj; + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue other = + (com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue) obj; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -453,89 +507,96 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue parseDelimitedFrom( - java.io.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.datacatalog.v1beta1.FieldType.EnumType.EnumValue + parseDelimitedFrom( + java.io.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.datacatalog.v1beta1.FieldType.EnumType.EnumValue parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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,36 +605,35 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue} */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue) com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Tags + .internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.Tags + .internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.class, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder.class); + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.class, + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder.class); } - // Construct using com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.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(); @@ -583,14 +643,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.Tags + .internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_descriptor; } @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue getDefaultInstanceForType() { - return com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.getDefaultInstance(); + public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue + getDefaultInstanceForType() { + return com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue + .getDefaultInstance(); } @java.lang.Override @@ -604,13 +666,17 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue build() @java.lang.Override public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue buildPartial() { - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue result = new com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue result = + new com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue result) { + private void buildPartial0( + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.displayName_ = displayName_; @@ -621,46 +687,53 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.FieldType.EnumTy public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue) { - return mergeFrom((com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue)other); + return mergeFrom( + (com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue other) { - if (other == com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue other) { + if (other + == com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue + .getDefaultInstance()) return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -692,17 +765,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -712,23 +787,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object displayName_ = ""; /** + * + * *
          * Required. The display name of the enum value. Must not be an empty
          * string.
          * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -737,21 +815,22 @@ public java.lang.String getDisplayName() { } } /** + * + * *
          * Required. The display name of the enum value. Must not be an empty
          * string.
          * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -759,30 +838,37 @@ public java.lang.String getDisplayName() { } } /** + * + * *
          * Required. The display name of the enum value. Must not be an empty
          * string.
          * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
          * Required. The display name of the enum value. Must not be an empty
          * string.
          * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -792,24 +878,29 @@ public Builder clearDisplayName() { return this; } /** + * + * *
          * Required. The display name of the enum value. Must not be an empty
          * string.
          * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -822,41 +913,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue) - private static final com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue DEFAULT_INSTANCE; + private static final com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue(); } - public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue getDefaultInstance() { + public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EnumValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EnumValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -868,54 +962,70 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int ALLOWED_VALUES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") - private java.util.List allowedValues_; + private java.util.List + allowedValues_; /** - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ @java.lang.Override - public java.util.List getAllowedValuesList() { + public java.util.List + getAllowedValuesList() { return allowedValues_; } /** - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder> getAllowedValuesOrBuilderList() { return allowedValues_; } /** - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ @java.lang.Override public int getAllowedValuesCount() { return allowedValues_.size(); } /** - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue getAllowedValues(int index) { + public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue getAllowedValues( + int index) { return allowedValues_.get(index); } /** - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder getAllowedValuesOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder + getAllowedValuesOrBuilder(int index) { return allowedValues_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -927,8 +1037,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < allowedValues_.size(); i++) { output.writeMessage(1, allowedValues_.get(i)); } @@ -942,8 +1051,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < allowedValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, allowedValues_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, allowedValues_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -953,15 +1061,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1beta1.FieldType.EnumType)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType other = (com.google.cloud.datacatalog.v1beta1.FieldType.EnumType) obj; + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType other = + (com.google.cloud.datacatalog.v1beta1.FieldType.EnumType) obj; - if (!getAllowedValuesList() - .equals(other.getAllowedValuesList())) return false; + if (!getAllowedValuesList().equals(other.getAllowedValuesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -983,89 +1091,94 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.FieldType.EnumType prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1074,36 +1187,34 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code google.cloud.datacatalog.v1beta1.FieldType.EnumType} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.datacatalog.v1beta1.FieldType.EnumType} */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.FieldType.EnumType) com.google.cloud.datacatalog.v1beta1.FieldType.EnumTypeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Tags + .internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.Tags + .internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.class, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.Builder.class); + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.class, + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.Builder.class); } // Construct using com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1119,9 +1230,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.Tags + .internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_descriptor; } @java.lang.Override @@ -1140,14 +1251,18 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType build() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType buildPartial() { - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType result = new com.google.cloud.datacatalog.v1beta1.FieldType.EnumType(this); + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType result = + new com.google.cloud.datacatalog.v1beta1.FieldType.EnumType(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.FieldType.EnumType result) { + private void buildPartialRepeatedFields( + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType result) { if (allowedValuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { allowedValues_ = java.util.Collections.unmodifiableList(allowedValues_); @@ -1167,38 +1282,41 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.FieldType.EnumTy public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1beta1.FieldType.EnumType) { - return mergeFrom((com.google.cloud.datacatalog.v1beta1.FieldType.EnumType)other); + return mergeFrom((com.google.cloud.datacatalog.v1beta1.FieldType.EnumType) other); } else { super.mergeFrom(other); return this; @@ -1206,7 +1324,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.FieldType.EnumType other) { - if (other == com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.getDefaultInstance()) return this; + if (other == com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.getDefaultInstance()) + return this; if (allowedValuesBuilder_ == null) { if (!other.allowedValues_.isEmpty()) { if (allowedValues_.isEmpty()) { @@ -1225,9 +1344,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.FieldType.EnumType allowedValuesBuilder_ = null; allowedValues_ = other.allowedValues_; bitField0_ = (bitField0_ & ~0x00000001); - allowedValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAllowedValuesFieldBuilder() : null; + allowedValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAllowedValuesFieldBuilder() + : null; } else { allowedValuesBuilder_.addAllMessages(other.allowedValues_); } @@ -1259,25 +1379,28 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue m = - input.readMessage( - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.parser(), - extensionRegistry); - if (allowedValuesBuilder_ == null) { - ensureAllowedValuesIsMutable(); - allowedValues_.add(m); - } else { - allowedValuesBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue m = + input.readMessage( + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue + .parser(), + extensionRegistry); + if (allowedValuesBuilder_ == null) { + ensureAllowedValuesIsMutable(); + allowedValues_.add(m); + } else { + allowedValuesBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1287,24 +1410,35 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List allowedValues_ = - java.util.Collections.emptyList(); + private java.util.List + allowedValues_ = java.util.Collections.emptyList(); + private void ensureAllowedValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - allowedValues_ = new java.util.ArrayList(allowedValues_); + allowedValues_ = + new java.util.ArrayList< + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue>( + allowedValues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder> allowedValuesBuilder_; + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue, + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder, + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder> + allowedValuesBuilder_; /** - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ - public java.util.List getAllowedValuesList() { + public java.util.List + getAllowedValuesList() { if (allowedValuesBuilder_ == null) { return java.util.Collections.unmodifiableList(allowedValues_); } else { @@ -1312,7 +1446,9 @@ public java.util.Listrepeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ public int getAllowedValuesCount() { if (allowedValuesBuilder_ == null) { @@ -1322,9 +1458,12 @@ public int getAllowedValuesCount() { } } /** - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ - public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue getAllowedValues(int index) { + public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue getAllowedValues( + int index) { if (allowedValuesBuilder_ == null) { return allowedValues_.get(index); } else { @@ -1332,7 +1471,9 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue getAllo } } /** - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ public Builder setAllowedValues( int index, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue value) { @@ -1349,10 +1490,14 @@ public Builder setAllowedValues( return this; } /** - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ public Builder setAllowedValues( - int index, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder builderForValue) { + int index, + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder + builderForValue) { if (allowedValuesBuilder_ == null) { ensureAllowedValuesIsMutable(); allowedValues_.set(index, builderForValue.build()); @@ -1363,9 +1508,12 @@ public Builder setAllowedValues( return this; } /** - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ - public Builder addAllowedValues(com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue value) { + public Builder addAllowedValues( + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue value) { if (allowedValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1379,7 +1527,9 @@ public Builder addAllowedValues(com.google.cloud.datacatalog.v1beta1.FieldType.E return this; } /** - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ public Builder addAllowedValues( int index, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue value) { @@ -1396,10 +1546,13 @@ public Builder addAllowedValues( return this; } /** - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ public Builder addAllowedValues( - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder builderForValue) { + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder + builderForValue) { if (allowedValuesBuilder_ == null) { ensureAllowedValuesIsMutable(); allowedValues_.add(builderForValue.build()); @@ -1410,10 +1563,14 @@ public Builder addAllowedValues( return this; } /** - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ public Builder addAllowedValues( - int index, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder builderForValue) { + int index, + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder + builderForValue) { if (allowedValuesBuilder_ == null) { ensureAllowedValuesIsMutable(); allowedValues_.add(index, builderForValue.build()); @@ -1424,14 +1581,17 @@ public Builder addAllowedValues( return this; } /** - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ public Builder addAllAllowedValues( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue> + values) { if (allowedValuesBuilder_ == null) { ensureAllowedValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, allowedValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedValues_); onChanged(); } else { allowedValuesBuilder_.addAllMessages(values); @@ -1439,7 +1599,9 @@ public Builder addAllAllowedValues( return this; } /** - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ public Builder clearAllowedValues() { if (allowedValuesBuilder_ == null) { @@ -1452,7 +1614,9 @@ public Builder clearAllowedValues() { return this; } /** - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ public Builder removeAllowedValues(int index) { if (allowedValuesBuilder_ == null) { @@ -1465,27 +1629,35 @@ public Builder removeAllowedValues(int index) { return this; } /** - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ - public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder getAllowedValuesBuilder( - int index) { + public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder + getAllowedValuesBuilder(int index) { return getAllowedValuesFieldBuilder().getBuilder(index); } /** - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ - public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder getAllowedValuesOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder + getAllowedValuesOrBuilder(int index) { if (allowedValuesBuilder_ == null) { - return allowedValues_.get(index); } else { + return allowedValues_.get(index); + } else { return allowedValuesBuilder_.getMessageOrBuilder(index); } } /** - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ - public java.util.List - getAllowedValuesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder> + getAllowedValuesOrBuilderList() { if (allowedValuesBuilder_ != null) { return allowedValuesBuilder_.getMessageOrBuilderList(); } else { @@ -1493,33 +1665,52 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilde } } /** - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ - public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder addAllowedValuesBuilder() { - return getAllowedValuesFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.getDefaultInstance()); + public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder + addAllowedValuesBuilder() { + return getAllowedValuesFieldBuilder() + .addBuilder( + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue + .getDefaultInstance()); } /** - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ - public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder addAllowedValuesBuilder( - int index) { - return getAllowedValuesFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.getDefaultInstance()); + public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder + addAllowedValuesBuilder(int index) { + return getAllowedValuesFieldBuilder() + .addBuilder( + index, + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue + .getDefaultInstance()); } /** - * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * + * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; + * */ - public java.util.List - getAllowedValuesBuilderList() { + public java.util.List< + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder> + getAllowedValuesBuilderList() { return getAllowedValuesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder> + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue, + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder, + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder> getAllowedValuesFieldBuilder() { if (allowedValuesBuilder_ == null) { - allowedValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder>( + allowedValuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue, + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder, + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder>( allowedValues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1528,6 +1719,7 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder } return allowedValuesBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1540,12 +1732,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.FieldType.EnumType) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.FieldType.EnumType) private static final com.google.cloud.datacatalog.v1beta1.FieldType.EnumType DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.FieldType.EnumType(); } @@ -1554,27 +1746,28 @@ public static com.google.cloud.datacatalog.v1beta1.FieldType.EnumType getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EnumType parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EnumType parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1589,19 +1782,22 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int typeDeclCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object typeDecl_; + public enum TypeDeclCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { PRIMITIVE_TYPE(1), ENUM_TYPE(2), TYPEDECL_NOT_SET(0); private final int value; + private TypeDeclCase(int value) { this.value = value; } @@ -1617,41 +1813,50 @@ public static TypeDeclCase valueOf(int value) { public static TypeDeclCase forNumber(int value) { switch (value) { - case 1: return PRIMITIVE_TYPE; - case 2: return ENUM_TYPE; - case 0: return TYPEDECL_NOT_SET; - default: return null; + case 1: + return PRIMITIVE_TYPE; + case 2: + return ENUM_TYPE; + case 0: + return TYPEDECL_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TypeDeclCase - getTypeDeclCase() { - return TypeDeclCase.forNumber( - typeDeclCase_); + public TypeDeclCase getTypeDeclCase() { + return TypeDeclCase.forNumber(typeDeclCase_); } public static final int PRIMITIVE_TYPE_FIELD_NUMBER = 1; /** + * + * *
    * Represents primitive types - string, bool etc.
    * 
* * .google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1; + * * @return Whether the primitiveType field is set. */ public boolean hasPrimitiveType() { return typeDeclCase_ == 1; } /** + * + * *
    * Represents primitive types - string, bool etc.
    * 
* * .google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1; + * * @return The enum numeric value on the wire for primitiveType. */ public int getPrimitiveTypeValue() { @@ -1661,29 +1866,38 @@ public int getPrimitiveTypeValue() { return 0; } /** + * + * *
    * Represents primitive types - string, bool etc.
    * 
* * .google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1; + * * @return The primitiveType. */ public com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType getPrimitiveType() { if (typeDeclCase_ == 1) { - com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType result = com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType.forNumber( - (java.lang.Integer) typeDecl_); - return result == null ? com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType.UNRECOGNIZED : result; + com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType result = + com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType.forNumber( + (java.lang.Integer) typeDecl_); + return result == null + ? com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType.UNRECOGNIZED + : result; } return com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType.PRIMITIVE_TYPE_UNSPECIFIED; } public static final int ENUM_TYPE_FIELD_NUMBER = 2; /** + * + * *
    * Represents an enum type.
    * 
* * .google.cloud.datacatalog.v1beta1.FieldType.EnumType enum_type = 2; + * * @return Whether the enumType field is set. */ @java.lang.Override @@ -1691,21 +1905,26 @@ public boolean hasEnumType() { return typeDeclCase_ == 2; } /** + * + * *
    * Represents an enum type.
    * 
* * .google.cloud.datacatalog.v1beta1.FieldType.EnumType enum_type = 2; + * * @return The enumType. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType getEnumType() { if (typeDeclCase_ == 2) { - return (com.google.cloud.datacatalog.v1beta1.FieldType.EnumType) typeDecl_; + return (com.google.cloud.datacatalog.v1beta1.FieldType.EnumType) typeDecl_; } return com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.getDefaultInstance(); } /** + * + * *
    * Represents an enum type.
    * 
@@ -1715,12 +1934,13 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType getEnumType() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.FieldType.EnumTypeOrBuilder getEnumTypeOrBuilder() { if (typeDeclCase_ == 2) { - return (com.google.cloud.datacatalog.v1beta1.FieldType.EnumType) typeDecl_; + return (com.google.cloud.datacatalog.v1beta1.FieldType.EnumType) typeDecl_; } return com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1732,8 +1952,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (typeDeclCase_ == 1) { output.writeEnum(1, ((java.lang.Integer) typeDecl_)); } @@ -1750,12 +1969,13 @@ public int getSerializedSize() { size = 0; if (typeDeclCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, ((java.lang.Integer) typeDecl_)); + size += + com.google.protobuf.CodedOutputStream.computeEnumSize(1, ((java.lang.Integer) typeDecl_)); } if (typeDeclCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.datacatalog.v1beta1.FieldType.EnumType) typeDecl_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.datacatalog.v1beta1.FieldType.EnumType) typeDecl_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1765,22 +1985,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.datacatalog.v1beta1.FieldType)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.FieldType other = (com.google.cloud.datacatalog.v1beta1.FieldType) obj; + com.google.cloud.datacatalog.v1beta1.FieldType other = + (com.google.cloud.datacatalog.v1beta1.FieldType) obj; if (!getTypeDeclCase().equals(other.getTypeDeclCase())) return false; switch (typeDeclCase_) { case 1: - if (getPrimitiveTypeValue() - != other.getPrimitiveTypeValue()) return false; + if (getPrimitiveTypeValue() != other.getPrimitiveTypeValue()) return false; break; case 2: - if (!getEnumType() - .equals(other.getEnumType())) return false; + if (!getEnumType().equals(other.getEnumType())) return false; break; case 0: default: @@ -1813,128 +2032,128 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1beta1.FieldType parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1beta1.FieldType parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.FieldType parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.FieldType parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.FieldType parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.FieldType parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.FieldType parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.FieldType parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.FieldType parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.FieldType parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.FieldType parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.FieldType parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.FieldType parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.FieldType parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.FieldType prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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.datacatalog.v1beta1.FieldType} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.datacatalog.v1beta1.FieldType} */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.FieldType) com.google.cloud.datacatalog.v1beta1.FieldTypeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_FieldType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Tags + .internal_static_google_cloud_datacatalog_v1beta1_FieldType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_FieldType_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.Tags + .internal_static_google_cloud_datacatalog_v1beta1_FieldType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.FieldType.class, com.google.cloud.datacatalog.v1beta1.FieldType.Builder.class); + com.google.cloud.datacatalog.v1beta1.FieldType.class, + com.google.cloud.datacatalog.v1beta1.FieldType.Builder.class); } // Construct using com.google.cloud.datacatalog.v1beta1.FieldType.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1948,9 +2167,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_FieldType_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.Tags + .internal_static_google_cloud_datacatalog_v1beta1_FieldType_descriptor; } @java.lang.Override @@ -1969,8 +2188,11 @@ public com.google.cloud.datacatalog.v1beta1.FieldType build() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.FieldType buildPartial() { - com.google.cloud.datacatalog.v1beta1.FieldType result = new com.google.cloud.datacatalog.v1beta1.FieldType(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1beta1.FieldType result = + new com.google.cloud.datacatalog.v1beta1.FieldType(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -1983,8 +2205,7 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.FieldType result private void buildPartialOneofs(com.google.cloud.datacatalog.v1beta1.FieldType result) { result.typeDeclCase_ = typeDeclCase_; result.typeDecl_ = this.typeDecl_; - if (typeDeclCase_ == 2 && - enumTypeBuilder_ != null) { + if (typeDeclCase_ == 2 && enumTypeBuilder_ != null) { result.typeDecl_ = enumTypeBuilder_.build(); } } @@ -1993,38 +2214,39 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1beta1.FieldType 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.datacatalog.v1beta1.FieldType) { - return mergeFrom((com.google.cloud.datacatalog.v1beta1.FieldType)other); + return mergeFrom((com.google.cloud.datacatalog.v1beta1.FieldType) other); } else { super.mergeFrom(other); return this; @@ -2034,17 +2256,20 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.FieldType other) { if (other == com.google.cloud.datacatalog.v1beta1.FieldType.getDefaultInstance()) return this; switch (other.getTypeDeclCase()) { - case PRIMITIVE_TYPE: { - setPrimitiveTypeValue(other.getPrimitiveTypeValue()); - break; - } - case ENUM_TYPE: { - mergeEnumType(other.getEnumType()); - break; - } - case TYPEDECL_NOT_SET: { - break; - } + case PRIMITIVE_TYPE: + { + setPrimitiveTypeValue(other.getPrimitiveTypeValue()); + break; + } + case ENUM_TYPE: + { + mergeEnumType(other.getEnumType()); + break; + } + case TYPEDECL_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2072,25 +2297,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); - typeDeclCase_ = 1; - typeDecl_ = rawValue; - break; - } // case 8 - case 18: { - input.readMessage( - getEnumTypeFieldBuilder().getBuilder(), - extensionRegistry); - typeDeclCase_ = 2; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + int rawValue = input.readEnum(); + typeDeclCase_ = 1; + typeDecl_ = rawValue; + break; + } // case 8 + case 18: + { + input.readMessage(getEnumTypeFieldBuilder().getBuilder(), extensionRegistry); + typeDeclCase_ = 2; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2100,12 +2326,12 @@ public Builder mergeFrom( } // finally return this; } + private int typeDeclCase_ = 0; private java.lang.Object typeDecl_; - public TypeDeclCase - getTypeDeclCase() { - return TypeDeclCase.forNumber( - typeDeclCase_); + + public TypeDeclCase getTypeDeclCase() { + return TypeDeclCase.forNumber(typeDeclCase_); } public Builder clearTypeDecl() { @@ -2118,11 +2344,14 @@ public Builder clearTypeDecl() { private int bitField0_; /** + * + * *
      * Represents primitive types - string, bool etc.
      * 
* * .google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1; + * * @return Whether the primitiveType field is set. */ @java.lang.Override @@ -2130,11 +2359,14 @@ public boolean hasPrimitiveType() { return typeDeclCase_ == 1; } /** + * + * *
      * Represents primitive types - string, bool etc.
      * 
* * .google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1; + * * @return The enum numeric value on the wire for primitiveType. */ @java.lang.Override @@ -2145,11 +2377,14 @@ public int getPrimitiveTypeValue() { return 0; } /** + * + * *
      * Represents primitive types - string, bool etc.
      * 
* * .google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1; + * * @param value The enum numeric value on the wire for primitiveType to set. * @return This builder for chaining. */ @@ -2160,32 +2395,43 @@ public Builder setPrimitiveTypeValue(int value) { return this; } /** + * + * *
      * Represents primitive types - string, bool etc.
      * 
* * .google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1; + * * @return The primitiveType. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType getPrimitiveType() { if (typeDeclCase_ == 1) { - com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType result = com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType.forNumber( - (java.lang.Integer) typeDecl_); - return result == null ? com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType.UNRECOGNIZED : result; + com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType result = + com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType.forNumber( + (java.lang.Integer) typeDecl_); + return result == null + ? com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType.UNRECOGNIZED + : result; } - return com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType.PRIMITIVE_TYPE_UNSPECIFIED; + return com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType + .PRIMITIVE_TYPE_UNSPECIFIED; } /** + * + * *
      * Represents primitive types - string, bool etc.
      * 
* * .google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1; + * * @param value The primitiveType to set. * @return This builder for chaining. */ - public Builder setPrimitiveType(com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType value) { + public Builder setPrimitiveType( + com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType value) { if (value == null) { throw new NullPointerException(); } @@ -2195,11 +2441,14 @@ public Builder setPrimitiveType(com.google.cloud.datacatalog.v1beta1.FieldType.P return this; } /** + * + * *
      * Represents primitive types - string, bool etc.
      * 
* * .google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1; + * * @return This builder for chaining. */ public Builder clearPrimitiveType() { @@ -2212,13 +2461,19 @@ public Builder clearPrimitiveType() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.Builder, com.google.cloud.datacatalog.v1beta1.FieldType.EnumTypeOrBuilder> enumTypeBuilder_; + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType, + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.Builder, + com.google.cloud.datacatalog.v1beta1.FieldType.EnumTypeOrBuilder> + enumTypeBuilder_; /** + * + * *
      * Represents an enum type.
      * 
* * .google.cloud.datacatalog.v1beta1.FieldType.EnumType enum_type = 2; + * * @return Whether the enumType field is set. */ @java.lang.Override @@ -2226,11 +2481,14 @@ public boolean hasEnumType() { return typeDeclCase_ == 2; } /** + * + * *
      * Represents an enum type.
      * 
* * .google.cloud.datacatalog.v1beta1.FieldType.EnumType enum_type = 2; + * * @return The enumType. */ @java.lang.Override @@ -2248,6 +2506,8 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType getEnumType() { } } /** + * + * *
      * Represents an enum type.
      * 
@@ -2268,6 +2528,8 @@ public Builder setEnumType(com.google.cloud.datacatalog.v1beta1.FieldType.EnumTy return this; } /** + * + * *
      * Represents an enum type.
      * 
@@ -2286,6 +2548,8 @@ public Builder setEnumType( return this; } /** + * + * *
      * Represents an enum type.
      * 
@@ -2294,10 +2558,14 @@ public Builder setEnumType( */ public Builder mergeEnumType(com.google.cloud.datacatalog.v1beta1.FieldType.EnumType value) { if (enumTypeBuilder_ == null) { - if (typeDeclCase_ == 2 && - typeDecl_ != com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.getDefaultInstance()) { - typeDecl_ = com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.newBuilder((com.google.cloud.datacatalog.v1beta1.FieldType.EnumType) typeDecl_) - .mergeFrom(value).buildPartial(); + if (typeDeclCase_ == 2 + && typeDecl_ + != com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.getDefaultInstance()) { + typeDecl_ = + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.newBuilder( + (com.google.cloud.datacatalog.v1beta1.FieldType.EnumType) typeDecl_) + .mergeFrom(value) + .buildPartial(); } else { typeDecl_ = value; } @@ -2313,6 +2581,8 @@ public Builder mergeEnumType(com.google.cloud.datacatalog.v1beta1.FieldType.Enum return this; } /** + * + * *
      * Represents an enum type.
      * 
@@ -2336,6 +2606,8 @@ public Builder clearEnumType() { return this; } /** + * + * *
      * Represents an enum type.
      * 
@@ -2346,6 +2618,8 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.Builder getEnumTy return getEnumTypeFieldBuilder().getBuilder(); } /** + * + * *
      * Represents an enum type.
      * 
@@ -2364,6 +2638,8 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumTypeOrBuilder getEnumT } } /** + * + * *
      * Represents an enum type.
      * 
@@ -2371,14 +2647,19 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumTypeOrBuilder getEnumT * .google.cloud.datacatalog.v1beta1.FieldType.EnumType enum_type = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.Builder, com.google.cloud.datacatalog.v1beta1.FieldType.EnumTypeOrBuilder> + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType, + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.Builder, + com.google.cloud.datacatalog.v1beta1.FieldType.EnumTypeOrBuilder> getEnumTypeFieldBuilder() { if (enumTypeBuilder_ == null) { if (!(typeDeclCase_ == 2)) { typeDecl_ = com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.getDefaultInstance(); } - enumTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.FieldType.EnumType, com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.Builder, com.google.cloud.datacatalog.v1beta1.FieldType.EnumTypeOrBuilder>( + enumTypeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType, + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.Builder, + com.google.cloud.datacatalog.v1beta1.FieldType.EnumTypeOrBuilder>( (com.google.cloud.datacatalog.v1beta1.FieldType.EnumType) typeDecl_, getParentForChildren(), isClean()); @@ -2388,9 +2669,9 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumTypeOrBuilder getEnumT onChanged(); return enumTypeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2400,12 +2681,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.FieldType) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.FieldType) private static final com.google.cloud.datacatalog.v1beta1.FieldType DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.FieldType(); } @@ -2414,27 +2695,27 @@ public static com.google.cloud.datacatalog.v1beta1.FieldType getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FieldType parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FieldType parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2449,6 +2730,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.FieldType getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldTypeOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldTypeOrBuilder.java similarity index 73% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldTypeOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldTypeOrBuilder.java index 5ea8650d6677..6f09d9034235 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldTypeOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldTypeOrBuilder.java @@ -1,59 +1,92 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/tags.proto package com.google.cloud.datacatalog.v1beta1; -public interface FieldTypeOrBuilder extends +public interface FieldTypeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.FieldType) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Represents primitive types - string, bool etc.
    * 
* * .google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1; + * * @return Whether the primitiveType field is set. */ boolean hasPrimitiveType(); /** + * + * *
    * Represents primitive types - string, bool etc.
    * 
* * .google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1; + * * @return The enum numeric value on the wire for primitiveType. */ int getPrimitiveTypeValue(); /** + * + * *
    * Represents primitive types - string, bool etc.
    * 
* * .google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1; + * * @return The primitiveType. */ com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType getPrimitiveType(); /** + * + * *
    * Represents an enum type.
    * 
* * .google.cloud.datacatalog.v1beta1.FieldType.EnumType enum_type = 2; + * * @return Whether the enumType field is set. */ boolean hasEnumType(); /** + * + * *
    * Represents an enum type.
    * 
* * .google.cloud.datacatalog.v1beta1.FieldType.EnumType enum_type = 2; + * * @return The enumType. */ com.google.cloud.datacatalog.v1beta1.FieldType.EnumType getEnumType(); /** + * + * *
    * Represents an enum type.
    * 
diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpec.java similarity index 65% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpec.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpec.java index 89fc85696c07..c258761cffec 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpec.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/datacatalog/v1beta1/gcs_fileset_spec.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Specifications of a single file in Cloud Storage.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.GcsFileSpec} */ -public final class GcsFileSpec extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GcsFileSpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.GcsFileSpec) GcsFileSpecOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GcsFileSpec.newBuilder() to construct. private GcsFileSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GcsFileSpec() { filePath_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GcsFileSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass + .internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass + .internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.GcsFileSpec.class, com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder.class); + com.google.cloud.datacatalog.v1beta1.GcsFileSpec.class, + com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder.class); } public static final int FILE_PATH_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object filePath_ = ""; /** + * + * *
    * Required. The full file path. Example: `gs://bucket_name/a/b.txt`.
    * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filePath. */ @java.lang.Override @@ -60,29 +83,29 @@ public java.lang.String getFilePath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filePath_ = s; return s; } } /** + * + * *
    * Required. The full file path. Example: `gs://bucket_name/a/b.txt`.
    * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filePath. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilePathBytes() { + public com.google.protobuf.ByteString getFilePathBytes() { java.lang.Object ref = filePath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filePath_ = b; return b; } else { @@ -93,11 +116,16 @@ public java.lang.String getFilePath() { public static final int GCS_TIMESTAMPS_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1beta1.SystemTimestamps gcsTimestamps_; /** + * + * *
    * Output only. Timestamps about the Cloud Storage file.
    * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the gcsTimestamps field is set. */ @java.lang.Override @@ -105,37 +133,54 @@ public boolean hasGcsTimestamps() { return gcsTimestamps_ != null; } /** + * + * *
    * Output only. Timestamps about the Cloud Storage file.
    * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The gcsTimestamps. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getGcsTimestamps() { - return gcsTimestamps_ == null ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() : gcsTimestamps_; + return gcsTimestamps_ == null + ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() + : gcsTimestamps_; } /** + * + * *
    * Output only. Timestamps about the Cloud Storage file.
    * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder getGcsTimestampsOrBuilder() { - return gcsTimestamps_ == null ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() : gcsTimestamps_; + public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder + getGcsTimestampsOrBuilder() { + return gcsTimestamps_ == null + ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() + : gcsTimestamps_; } public static final int SIZE_BYTES_FIELD_NUMBER = 4; private long sizeBytes_ = 0L; /** + * + * *
    * Output only. The size of the file, in bytes.
    * 
* * int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sizeBytes. */ @java.lang.Override @@ -144,6 +189,7 @@ public long getSizeBytes() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +201,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filePath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filePath_); } @@ -179,12 +224,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, filePath_); } if (gcsTimestamps_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getGcsTimestamps()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getGcsTimestamps()); } if (sizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, sizeBytes_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, sizeBytes_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -194,22 +237,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.datacatalog.v1beta1.GcsFileSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.GcsFileSpec other = (com.google.cloud.datacatalog.v1beta1.GcsFileSpec) obj; + com.google.cloud.datacatalog.v1beta1.GcsFileSpec other = + (com.google.cloud.datacatalog.v1beta1.GcsFileSpec) obj; - if (!getFilePath() - .equals(other.getFilePath())) return false; + if (!getFilePath().equals(other.getFilePath())) return false; if (hasGcsTimestamps() != other.hasGcsTimestamps()) return false; if (hasGcsTimestamps()) { - if (!getGcsTimestamps() - .equals(other.getGcsTimestamps())) return false; + if (!getGcsTimestamps().equals(other.getGcsTimestamps())) return false; } - if (getSizeBytes() - != other.getSizeBytes()) return false; + if (getSizeBytes() != other.getSizeBytes()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -228,139 +269,142 @@ public int hashCode() { hash = (53 * hash) + getGcsTimestamps().hashCode(); } hash = (37 * hash) + SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSizeBytes()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.datacatalog.v1beta1.GcsFileSpec parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1beta1.GcsFileSpec parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.GcsFileSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.GcsFileSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.GcsFileSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.GcsFileSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.GcsFileSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GcsFileSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.GcsFileSpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.GcsFileSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GcsFileSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.GcsFileSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.GcsFileSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.GcsFileSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.GcsFileSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.GcsFileSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Specifications of a single file in Cloud Storage.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.GcsFileSpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.GcsFileSpec) com.google.cloud.datacatalog.v1beta1.GcsFileSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass + .internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass + .internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.GcsFileSpec.class, com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder.class); + com.google.cloud.datacatalog.v1beta1.GcsFileSpec.class, + com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1beta1.GcsFileSpec.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +420,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass + .internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_descriptor; } @java.lang.Override @@ -397,8 +441,11 @@ public com.google.cloud.datacatalog.v1beta1.GcsFileSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.GcsFileSpec buildPartial() { - com.google.cloud.datacatalog.v1beta1.GcsFileSpec result = new com.google.cloud.datacatalog.v1beta1.GcsFileSpec(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1beta1.GcsFileSpec result = + new com.google.cloud.datacatalog.v1beta1.GcsFileSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -409,9 +456,8 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.GcsFileSpec resu result.filePath_ = filePath_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.gcsTimestamps_ = gcsTimestampsBuilder_ == null - ? gcsTimestamps_ - : gcsTimestampsBuilder_.build(); + result.gcsTimestamps_ = + gcsTimestampsBuilder_ == null ? gcsTimestamps_ : gcsTimestampsBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.sizeBytes_ = sizeBytes_; @@ -422,38 +468,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.GcsFileSpec 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.datacatalog.v1beta1.GcsFileSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1beta1.GcsFileSpec)other); + return mergeFrom((com.google.cloud.datacatalog.v1beta1.GcsFileSpec) other); } else { super.mergeFrom(other); return this; @@ -461,7 +508,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.GcsFileSpec other) { - if (other == com.google.cloud.datacatalog.v1beta1.GcsFileSpec.getDefaultInstance()) return this; + if (other == com.google.cloud.datacatalog.v1beta1.GcsFileSpec.getDefaultInstance()) + return this; if (!other.getFilePath().isEmpty()) { filePath_ = other.filePath_; bitField0_ |= 0x00000001; @@ -499,29 +547,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - filePath_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getGcsTimestampsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 32: { - sizeBytes_ = input.readInt64(); - bitField0_ |= 0x00000004; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + filePath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getGcsTimestampsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 32: + { + sizeBytes_ = input.readInt64(); + 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) { @@ -531,22 +581,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object filePath_ = ""; /** + * + * *
      * Required. The full file path. Example: `gs://bucket_name/a/b.txt`.
      * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filePath. */ public java.lang.String getFilePath() { java.lang.Object ref = filePath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filePath_ = s; return s; @@ -555,20 +608,21 @@ public java.lang.String getFilePath() { } } /** + * + * *
      * Required. The full file path. Example: `gs://bucket_name/a/b.txt`.
      * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filePath. */ - public com.google.protobuf.ByteString - getFilePathBytes() { + public com.google.protobuf.ByteString getFilePathBytes() { java.lang.Object ref = filePath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filePath_ = b; return b; } else { @@ -576,28 +630,35 @@ public java.lang.String getFilePath() { } } /** + * + * *
      * Required. The full file path. Example: `gs://bucket_name/a/b.txt`.
      * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The filePath to set. * @return This builder for chaining. */ - public Builder setFilePath( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilePath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filePath_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The full file path. Example: `gs://bucket_name/a/b.txt`.
      * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFilePath() { @@ -607,17 +668,21 @@ public Builder clearFilePath() { return this; } /** + * + * *
      * Required. The full file path. Example: `gs://bucket_name/a/b.txt`.
      * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for filePath to set. * @return This builder for chaining. */ - public Builder setFilePathBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilePathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filePath_ = value; bitField0_ |= 0x00000001; @@ -627,39 +692,58 @@ public Builder setFilePathBytes( private com.google.cloud.datacatalog.v1beta1.SystemTimestamps gcsTimestamps_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SystemTimestamps, com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder> gcsTimestampsBuilder_; + com.google.cloud.datacatalog.v1beta1.SystemTimestamps, + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, + com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder> + gcsTimestampsBuilder_; /** + * + * *
      * Output only. Timestamps about the Cloud Storage file.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the gcsTimestamps field is set. */ public boolean hasGcsTimestamps() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. Timestamps about the Cloud Storage file.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The gcsTimestamps. */ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getGcsTimestamps() { if (gcsTimestampsBuilder_ == null) { - return gcsTimestamps_ == null ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() : gcsTimestamps_; + return gcsTimestamps_ == null + ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() + : gcsTimestamps_; } else { return gcsTimestampsBuilder_.getMessage(); } } /** + * + * *
      * Output only. Timestamps about the Cloud Storage file.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setGcsTimestamps(com.google.cloud.datacatalog.v1beta1.SystemTimestamps value) { if (gcsTimestampsBuilder_ == null) { @@ -675,11 +759,15 @@ public Builder setGcsTimestamps(com.google.cloud.datacatalog.v1beta1.SystemTimes return this; } /** + * + * *
      * Output only. Timestamps about the Cloud Storage file.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setGcsTimestamps( com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder builderForValue) { @@ -693,17 +781,22 @@ public Builder setGcsTimestamps( return this; } /** + * + * *
      * Output only. Timestamps about the Cloud Storage file.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeGcsTimestamps(com.google.cloud.datacatalog.v1beta1.SystemTimestamps value) { if (gcsTimestampsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - gcsTimestamps_ != null && - gcsTimestamps_ != com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && gcsTimestamps_ != null + && gcsTimestamps_ + != com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance()) { getGcsTimestampsBuilder().mergeFrom(value); } else { gcsTimestamps_ = value; @@ -716,11 +809,15 @@ public Builder mergeGcsTimestamps(com.google.cloud.datacatalog.v1beta1.SystemTim return this; } /** + * + * *
      * Output only. Timestamps about the Cloud Storage file.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearGcsTimestamps() { bitField0_ = (bitField0_ & ~0x00000002); @@ -733,11 +830,15 @@ public Builder clearGcsTimestamps() { return this; } /** + * + * *
      * Output only. Timestamps about the Cloud Storage file.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder getGcsTimestampsBuilder() { bitField0_ |= 0x00000002; @@ -745,48 +846,64 @@ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder getGcsTimes return getGcsTimestampsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Timestamps about the Cloud Storage file.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder getGcsTimestampsOrBuilder() { + public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder + getGcsTimestampsOrBuilder() { if (gcsTimestampsBuilder_ != null) { return gcsTimestampsBuilder_.getMessageOrBuilder(); } else { - return gcsTimestamps_ == null ? - com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() : gcsTimestamps_; + return gcsTimestamps_ == null + ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() + : gcsTimestamps_; } } /** + * + * *
      * Output only. Timestamps about the Cloud Storage file.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SystemTimestamps, com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder> + com.google.cloud.datacatalog.v1beta1.SystemTimestamps, + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, + com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder> getGcsTimestampsFieldBuilder() { if (gcsTimestampsBuilder_ == null) { - gcsTimestampsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SystemTimestamps, com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder>( - getGcsTimestamps(), - getParentForChildren(), - isClean()); + gcsTimestampsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.SystemTimestamps, + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, + com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder>( + getGcsTimestamps(), getParentForChildren(), isClean()); gcsTimestamps_ = null; } return gcsTimestampsBuilder_; } - private long sizeBytes_ ; + private long sizeBytes_; /** + * + * *
      * Output only. The size of the file, in bytes.
      * 
* * int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sizeBytes. */ @java.lang.Override @@ -794,11 +911,14 @@ public long getSizeBytes() { return sizeBytes_; } /** + * + * *
      * Output only. The size of the file, in bytes.
      * 
* * int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The sizeBytes to set. * @return This builder for chaining. */ @@ -810,11 +930,14 @@ public Builder setSizeBytes(long value) { return this; } /** + * + * *
      * Output only. The size of the file, in bytes.
      * 
* * int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSizeBytes() { @@ -823,9 +946,9 @@ public Builder clearSizeBytes() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -835,12 +958,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.GcsFileSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.GcsFileSpec) private static final com.google.cloud.datacatalog.v1beta1.GcsFileSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.GcsFileSpec(); } @@ -849,27 +972,27 @@ public static com.google.cloud.datacatalog.v1beta1.GcsFileSpec getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsFileSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsFileSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -884,6 +1007,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.GcsFileSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpecOrBuilder.java similarity index 56% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpecOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpecOrBuilder.java index b0672ec554e3..91d5ebccccc9 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpecOrBuilder.java @@ -1,65 +1,103 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto package com.google.cloud.datacatalog.v1beta1; -public interface GcsFileSpecOrBuilder extends +public interface GcsFileSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.GcsFileSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The full file path. Example: `gs://bucket_name/a/b.txt`.
    * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filePath. */ java.lang.String getFilePath(); /** + * + * *
    * Required. The full file path. Example: `gs://bucket_name/a/b.txt`.
    * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filePath. */ - com.google.protobuf.ByteString - getFilePathBytes(); + com.google.protobuf.ByteString getFilePathBytes(); /** + * + * *
    * Output only. Timestamps about the Cloud Storage file.
    * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the gcsTimestamps field is set. */ boolean hasGcsTimestamps(); /** + * + * *
    * Output only. Timestamps about the Cloud Storage file.
    * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The gcsTimestamps. */ com.google.cloud.datacatalog.v1beta1.SystemTimestamps getGcsTimestamps(); /** + * + * *
    * Output only. Timestamps about the Cloud Storage file.
    * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder getGcsTimestampsOrBuilder(); /** + * + * *
    * Output only. The size of the file, in bytes.
    * 
* * int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sizeBytes. */ long getSizeBytes(); diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpec.java similarity index 78% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpec.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpec.java index e515e5210b6d..8f3de3b15527 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpec.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/datacatalog/v1beta1/gcs_fileset_spec.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Describes a Cloud Storage fileset entry.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.GcsFilesetSpec} */ -public final class GcsFilesetSpec extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GcsFilesetSpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.GcsFilesetSpec) GcsFilesetSpecOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GcsFilesetSpec.newBuilder() to construct. private GcsFilesetSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GcsFilesetSpec() { - filePatterns_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + filePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); sampleGcsFileSpecs_ = 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 GcsFilesetSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass + .internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass + .internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.class, com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.Builder.class); + com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.class, + com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.Builder.class); } public static final int FILE_PATTERNS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList filePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    * See [Cloud Storage
@@ -82,13 +103,15 @@ protected java.lang.Object newInstance(
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the filePatterns. */ - public com.google.protobuf.ProtocolStringList - getFilePatternsList() { + public com.google.protobuf.ProtocolStringList getFilePatternsList() { return filePatterns_; } /** + * + * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    * See [Cloud Storage
@@ -121,12 +144,15 @@ protected java.lang.Object newInstance(
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of filePatterns. */ public int getFilePatternsCount() { return filePatterns_.size(); } /** + * + * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    * See [Cloud Storage
@@ -159,6 +185,7 @@ public int getFilePatternsCount() {
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The filePatterns at the given index. */ @@ -166,6 +193,8 @@ public java.lang.String getFilePatterns(int index) { return filePatterns_.get(index); } /** + * + * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    * See [Cloud Storage
@@ -198,73 +227,95 @@ public java.lang.String getFilePatterns(int index) {
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the filePatterns at the given index. */ - public com.google.protobuf.ByteString - getFilePatternsBytes(int index) { + public com.google.protobuf.ByteString getFilePatternsBytes(int index) { return filePatterns_.getByteString(index); } public static final int SAMPLE_GCS_FILE_SPECS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List sampleGcsFileSpecs_; /** + * + * *
    * Output only. Sample files contained in this fileset, not all files
    * contained in this fileset are represented here.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List getSampleGcsFileSpecsList() { + public java.util.List + getSampleGcsFileSpecsList() { return sampleGcsFileSpecs_; } /** + * + * *
    * Output only. Sample files contained in this fileset, not all files
    * contained in this fileset are represented here.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getSampleGcsFileSpecsOrBuilderList() { return sampleGcsFileSpecs_; } /** + * + * *
    * Output only. Sample files contained in this fileset, not all files
    * contained in this fileset are represented here.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getSampleGcsFileSpecsCount() { return sampleGcsFileSpecs_.size(); } /** + * + * *
    * Output only. Sample files contained in this fileset, not all files
    * contained in this fileset are represented here.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.GcsFileSpec getSampleGcsFileSpecs(int index) { return sampleGcsFileSpecs_.get(index); } /** + * + * *
    * Output only. Sample files contained in this fileset, not all files
    * contained in this fileset are represented here.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.GcsFileSpecOrBuilder getSampleGcsFileSpecsOrBuilder( @@ -273,6 +324,7 @@ public com.google.cloud.datacatalog.v1beta1.GcsFileSpecOrBuilder getSampleGcsFil } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -284,8 +336,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < filePatterns_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filePatterns_.getRaw(i)); } @@ -310,8 +361,8 @@ public int getSerializedSize() { size += 1 * getFilePatternsList().size(); } for (int i = 0; i < sampleGcsFileSpecs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, sampleGcsFileSpecs_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, sampleGcsFileSpecs_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -321,17 +372,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.datacatalog.v1beta1.GcsFilesetSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec other = (com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec) obj; + com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec other = + (com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec) obj; - if (!getFilePatternsList() - .equals(other.getFilePatternsList())) return false; - if (!getSampleGcsFileSpecsList() - .equals(other.getSampleGcsFileSpecsList())) return false; + if (!getFilePatternsList().equals(other.getFilePatternsList())) return false; + if (!getSampleGcsFileSpecsList().equals(other.getSampleGcsFileSpecsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -357,137 +407,140 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 a Cloud Storage fileset entry.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.GcsFilesetSpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.GcsFilesetSpec) com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass + .internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass + .internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.class, com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.Builder.class); + com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.class, + com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - 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; - filePatterns_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + filePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); if (sampleGcsFileSpecsBuilder_ == null) { sampleGcsFileSpecs_ = java.util.Collections.emptyList(); } else { @@ -499,9 +552,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass + .internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_descriptor; } @java.lang.Override @@ -520,14 +573,18 @@ public com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec buildPartial() { - com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec result = new com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec(this); + com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec result = + new com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec result) { + private void buildPartialRepeatedFields( + com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec result) { if (sampleGcsFileSpecsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { sampleGcsFileSpecs_ = java.util.Collections.unmodifiableList(sampleGcsFileSpecs_); @@ -551,38 +608,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec 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.datacatalog.v1beta1.GcsFilesetSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec)other); + return mergeFrom((com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec) other); } else { super.mergeFrom(other); return this; @@ -590,7 +648,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec other) { - if (other == com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.getDefaultInstance()) return this; + if (other == com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.getDefaultInstance()) + return this; if (!other.filePatterns_.isEmpty()) { if (filePatterns_.isEmpty()) { filePatterns_ = other.filePatterns_; @@ -619,9 +678,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec oth sampleGcsFileSpecsBuilder_ = null; sampleGcsFileSpecs_ = other.sampleGcsFileSpecs_; bitField0_ = (bitField0_ & ~0x00000002); - sampleGcsFileSpecsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSampleGcsFileSpecsFieldBuilder() : null; + sampleGcsFileSpecsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSampleGcsFileSpecsFieldBuilder() + : null; } else { sampleGcsFileSpecsBuilder_.addAllMessages(other.sampleGcsFileSpecs_); } @@ -653,31 +713,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureFilePatternsIsMutable(); - filePatterns_.add(s); - break; - } // case 10 - case 18: { - com.google.cloud.datacatalog.v1beta1.GcsFileSpec m = - input.readMessage( - com.google.cloud.datacatalog.v1beta1.GcsFileSpec.parser(), - extensionRegistry); - if (sampleGcsFileSpecsBuilder_ == null) { - ensureSampleGcsFileSpecsIsMutable(); - sampleGcsFileSpecs_.add(m); - } else { - sampleGcsFileSpecsBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureFilePatternsIsMutable(); + filePatterns_.add(s); + break; + } // case 10 + case 18: + { + com.google.cloud.datacatalog.v1beta1.GcsFileSpec m = + input.readMessage( + com.google.cloud.datacatalog.v1beta1.GcsFileSpec.parser(), + extensionRegistry); + if (sampleGcsFileSpecsBuilder_ == null) { + ensureSampleGcsFileSpecsIsMutable(); + sampleGcsFileSpecs_.add(m); + } else { + sampleGcsFileSpecsBuilder_.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) { @@ -687,10 +750,12 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.LazyStringArrayList filePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureFilePatternsIsMutable() { if (!filePatterns_.isModifiable()) { filePatterns_ = new com.google.protobuf.LazyStringArrayList(filePatterns_); @@ -698,6 +763,8 @@ private void ensureFilePatternsIsMutable() { bitField0_ |= 0x00000001; } /** + * + * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * See [Cloud Storage
@@ -730,14 +797,16 @@ private void ensureFilePatternsIsMutable() {
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the filePatterns. */ - public com.google.protobuf.ProtocolStringList - getFilePatternsList() { + public com.google.protobuf.ProtocolStringList getFilePatternsList() { filePatterns_.makeImmutable(); return filePatterns_; } /** + * + * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * See [Cloud Storage
@@ -770,12 +839,15 @@ private void ensureFilePatternsIsMutable() {
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of filePatterns. */ public int getFilePatternsCount() { return filePatterns_.size(); } /** + * + * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * See [Cloud Storage
@@ -808,6 +880,7 @@ public int getFilePatternsCount() {
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The filePatterns at the given index. */ @@ -815,6 +888,8 @@ public java.lang.String getFilePatterns(int index) { return filePatterns_.get(index); } /** + * + * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * See [Cloud Storage
@@ -847,14 +922,16 @@ public java.lang.String getFilePatterns(int index) {
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the filePatterns at the given index. */ - public com.google.protobuf.ByteString - getFilePatternsBytes(int index) { + public com.google.protobuf.ByteString getFilePatternsBytes(int index) { return filePatterns_.getByteString(index); } /** + * + * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * See [Cloud Storage
@@ -887,13 +964,15 @@ public java.lang.String getFilePatterns(int index) {
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index to set the value at. * @param value The filePatterns to set. * @return This builder for chaining. */ - public Builder setFilePatterns( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilePatterns(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureFilePatternsIsMutable(); filePatterns_.set(index, value); bitField0_ |= 0x00000001; @@ -901,6 +980,8 @@ public Builder setFilePatterns( return this; } /** + * + * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * See [Cloud Storage
@@ -933,12 +1014,14 @@ public Builder setFilePatterns(
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The filePatterns to add. * @return This builder for chaining. */ - public Builder addFilePatterns( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addFilePatterns(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureFilePatternsIsMutable(); filePatterns_.add(value); bitField0_ |= 0x00000001; @@ -946,6 +1029,8 @@ public Builder addFilePatterns( return this; } /** + * + * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * See [Cloud Storage
@@ -978,19 +1063,20 @@ public Builder addFilePatterns(
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param values The filePatterns to add. * @return This builder for chaining. */ - public Builder addAllFilePatterns( - java.lang.Iterable values) { + public Builder addAllFilePatterns(java.lang.Iterable values) { ensureFilePatternsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, filePatterns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, filePatterns_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * See [Cloud Storage
@@ -1023,16 +1109,19 @@ public Builder addAllFilePatterns(
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFilePatterns() { - filePatterns_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + filePatterns_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * See [Cloud Storage
@@ -1065,12 +1154,14 @@ public Builder clearFilePatterns() {
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes of the filePatterns to add. * @return This builder for chaining. */ - public Builder addFilePatternsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addFilePatternsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureFilePatternsIsMutable(); filePatterns_.add(value); @@ -1080,26 +1171,37 @@ public Builder addFilePatternsBytes( } private java.util.List sampleGcsFileSpecs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureSampleGcsFileSpecsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - sampleGcsFileSpecs_ = new java.util.ArrayList(sampleGcsFileSpecs_); + sampleGcsFileSpecs_ = + new java.util.ArrayList( + sampleGcsFileSpecs_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.GcsFileSpec, com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder, com.google.cloud.datacatalog.v1beta1.GcsFileSpecOrBuilder> sampleGcsFileSpecsBuilder_; + com.google.cloud.datacatalog.v1beta1.GcsFileSpec, + com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder, + com.google.cloud.datacatalog.v1beta1.GcsFileSpecOrBuilder> + sampleGcsFileSpecsBuilder_; /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List getSampleGcsFileSpecsList() { + public java.util.List + getSampleGcsFileSpecsList() { if (sampleGcsFileSpecsBuilder_ == null) { return java.util.Collections.unmodifiableList(sampleGcsFileSpecs_); } else { @@ -1107,12 +1209,16 @@ public java.util.List getSampl } } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getSampleGcsFileSpecsCount() { if (sampleGcsFileSpecsBuilder_ == null) { @@ -1122,12 +1228,16 @@ public int getSampleGcsFileSpecsCount() { } } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.datacatalog.v1beta1.GcsFileSpec getSampleGcsFileSpecs(int index) { if (sampleGcsFileSpecsBuilder_ == null) { @@ -1137,12 +1247,16 @@ public com.google.cloud.datacatalog.v1beta1.GcsFileSpec getSampleGcsFileSpecs(in } } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setSampleGcsFileSpecs( int index, com.google.cloud.datacatalog.v1beta1.GcsFileSpec value) { @@ -1159,12 +1273,16 @@ public Builder setSampleGcsFileSpecs( return this; } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setSampleGcsFileSpecs( int index, com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder builderForValue) { @@ -1178,12 +1296,16 @@ public Builder setSampleGcsFileSpecs( return this; } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addSampleGcsFileSpecs(com.google.cloud.datacatalog.v1beta1.GcsFileSpec value) { if (sampleGcsFileSpecsBuilder_ == null) { @@ -1199,12 +1321,16 @@ public Builder addSampleGcsFileSpecs(com.google.cloud.datacatalog.v1beta1.GcsFil return this; } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addSampleGcsFileSpecs( int index, com.google.cloud.datacatalog.v1beta1.GcsFileSpec value) { @@ -1221,12 +1347,16 @@ public Builder addSampleGcsFileSpecs( return this; } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addSampleGcsFileSpecs( com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder builderForValue) { @@ -1240,12 +1370,16 @@ public Builder addSampleGcsFileSpecs( return this; } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addSampleGcsFileSpecs( int index, com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder builderForValue) { @@ -1259,19 +1393,22 @@ public Builder addSampleGcsFileSpecs( return this; } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllSampleGcsFileSpecs( java.lang.Iterable values) { if (sampleGcsFileSpecsBuilder_ == null) { ensureSampleGcsFileSpecsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, sampleGcsFileSpecs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sampleGcsFileSpecs_); onChanged(); } else { sampleGcsFileSpecsBuilder_.addAllMessages(values); @@ -1279,12 +1416,16 @@ public Builder addAllSampleGcsFileSpecs( return this; } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearSampleGcsFileSpecs() { if (sampleGcsFileSpecsBuilder_ == null) { @@ -1297,12 +1438,16 @@ public Builder clearSampleGcsFileSpecs() { return this; } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeSampleGcsFileSpecs(int index) { if (sampleGcsFileSpecsBuilder_ == null) { @@ -1315,42 +1460,55 @@ public Builder removeSampleGcsFileSpecs(int index) { return this; } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder getSampleGcsFileSpecsBuilder( int index) { return getSampleGcsFileSpecsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.datacatalog.v1beta1.GcsFileSpecOrBuilder getSampleGcsFileSpecsOrBuilder( int index) { if (sampleGcsFileSpecsBuilder_ == null) { - return sampleGcsFileSpecs_.get(index); } else { + return sampleGcsFileSpecs_.get(index); + } else { return sampleGcsFileSpecsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getSampleGcsFileSpecsOrBuilderList() { + public java.util.List + getSampleGcsFileSpecsOrBuilderList() { if (sampleGcsFileSpecsBuilder_ != null) { return sampleGcsFileSpecsBuilder_.getMessageOrBuilderList(); } else { @@ -1358,48 +1516,66 @@ public com.google.cloud.datacatalog.v1beta1.GcsFileSpecOrBuilder getSampleGcsFil } } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder addSampleGcsFileSpecsBuilder() { - return getSampleGcsFileSpecsFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1beta1.GcsFileSpec.getDefaultInstance()); + return getSampleGcsFileSpecsFieldBuilder() + .addBuilder(com.google.cloud.datacatalog.v1beta1.GcsFileSpec.getDefaultInstance()); } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder addSampleGcsFileSpecsBuilder( int index) { - return getSampleGcsFileSpecsFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1beta1.GcsFileSpec.getDefaultInstance()); + return getSampleGcsFileSpecsFieldBuilder() + .addBuilder(index, com.google.cloud.datacatalog.v1beta1.GcsFileSpec.getDefaultInstance()); } /** + * + * *
      * Output only. Sample files contained in this fileset, not all files
      * contained in this fileset are represented here.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getSampleGcsFileSpecsBuilderList() { + public java.util.List + getSampleGcsFileSpecsBuilderList() { return getSampleGcsFileSpecsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.GcsFileSpec, com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder, com.google.cloud.datacatalog.v1beta1.GcsFileSpecOrBuilder> + com.google.cloud.datacatalog.v1beta1.GcsFileSpec, + com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder, + com.google.cloud.datacatalog.v1beta1.GcsFileSpecOrBuilder> getSampleGcsFileSpecsFieldBuilder() { if (sampleGcsFileSpecsBuilder_ == null) { - sampleGcsFileSpecsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.GcsFileSpec, com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder, com.google.cloud.datacatalog.v1beta1.GcsFileSpecOrBuilder>( + sampleGcsFileSpecsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.GcsFileSpec, + com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder, + com.google.cloud.datacatalog.v1beta1.GcsFileSpecOrBuilder>( sampleGcsFileSpecs_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -1408,9 +1584,9 @@ public com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder addSampleGcsFile } return sampleGcsFileSpecsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1420,12 +1596,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.GcsFilesetSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.GcsFilesetSpec) private static final com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec(); } @@ -1434,27 +1610,27 @@ public static com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsFilesetSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsFilesetSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1469,6 +1645,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOrBuilder.java similarity index 83% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOrBuilder.java index 64f72a3c5fcf..7aef4aad51b7 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOrBuilder.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/datacatalog/v1beta1/gcs_fileset_spec.proto package com.google.cloud.datacatalog.v1beta1; -public interface GcsFilesetSpecOrBuilder extends +public interface GcsFilesetSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.GcsFilesetSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    * See [Cloud Storage
@@ -40,11 +58,13 @@ public interface GcsFilesetSpecOrBuilder extends
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the filePatterns. */ - java.util.List - getFilePatternsList(); + java.util.List getFilePatternsList(); /** + * + * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    * See [Cloud Storage
@@ -77,10 +97,13 @@ public interface GcsFilesetSpecOrBuilder extends
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of filePatterns. */ int getFilePatternsCount(); /** + * + * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    * See [Cloud Storage
@@ -113,11 +136,14 @@ public interface GcsFilesetSpecOrBuilder extends
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The filePatterns at the given index. */ java.lang.String getFilePatterns(int index); /** + * + * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    * See [Cloud Storage
@@ -150,57 +176,76 @@ public interface GcsFilesetSpecOrBuilder extends
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the filePatterns at the given index. */ - com.google.protobuf.ByteString - getFilePatternsBytes(int index); + com.google.protobuf.ByteString getFilePatternsBytes(int index); /** + * + * *
    * Output only. Sample files contained in this fileset, not all files
    * contained in this fileset are represented here.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getSampleGcsFileSpecsList(); + java.util.List getSampleGcsFileSpecsList(); /** + * + * *
    * Output only. Sample files contained in this fileset, not all files
    * contained in this fileset are represented here.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.datacatalog.v1beta1.GcsFileSpec getSampleGcsFileSpecs(int index); /** + * + * *
    * Output only. Sample files contained in this fileset, not all files
    * contained in this fileset are represented here.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getSampleGcsFileSpecsCount(); /** + * + * *
    * Output only. Sample files contained in this fileset, not all files
    * contained in this fileset are represented here.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getSampleGcsFileSpecsOrBuilderList(); /** + * + * *
    * Output only. Sample files contained in this fileset, not all files
    * contained in this fileset are represented here.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.datacatalog.v1beta1.GcsFileSpec sample_gcs_file_specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.datacatalog.v1beta1.GcsFileSpecOrBuilder getSampleGcsFileSpecsOrBuilder( int index); diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOuterClass.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOuterClass.java new file mode 100644 index 000000000000..38b2d6705dab --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOuterClass.java @@ -0,0 +1,99 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto + +package com.google.cloud.datacatalog.v1beta1; + +public final class GcsFilesetSpecOuterClass { + private GcsFilesetSpecOuterClass() {} + + 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_datacatalog_v1beta1_GcsFilesetSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n7google/cloud/datacatalog/v1beta1/gcs_f" + + "ileset_spec.proto\022 google.cloud.datacata" + + "log.v1beta1\032\037google/api/field_behavior.p" + + "roto\0321google/cloud/datacatalog/v1beta1/t" + + "imestamps.proto\"\201\001\n\016GcsFilesetSpec\022\033\n\rfi" + + "le_patterns\030\001 \003(\tB\004\342A\001\002\022R\n\025sample_gcs_fi" + + "le_specs\030\002 \003(\0132-.google.cloud.datacatalo" + + "g.v1beta1.GcsFileSpecB\004\342A\001\003\"\222\001\n\013GcsFileS" + + "pec\022\027\n\tfile_path\030\001 \001(\tB\004\342A\001\002\022P\n\016gcs_time" + + "stamps\030\002 \001(\01322.google.cloud.datacatalog." + + "v1beta1.SystemTimestampsB\004\342A\001\003\022\030\n\nsize_b" + + "ytes\030\004 \001(\003B\004\342A\001\003B\337\001\n$com.google.cloud.da" + + "tacatalog.v1beta1P\001ZFcloud.google.com/go" + + "/datacatalog/apiv1beta1/datacatalogpb;da" + + "tacatalogpb\370\001\001\252\002 Google.Cloud.DataCatalo" + + "g.V1Beta1\312\002 Google\\Cloud\\DataCatalog\\V1b" + + "eta1\352\002#Google::Cloud::DataCatalog::V1bet" + + "a1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.cloud.datacatalog.v1beta1.Timestamps.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_descriptor, + new java.lang.String[] { + "FilePatterns", "SampleGcsFileSpecs", + }); + internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_descriptor, + new java.lang.String[] { + "FilePath", "GcsTimestamps", "SizeBytes", + }); + 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.datacatalog.v1beta1.Timestamps.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequest.java similarity index 66% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequest.java index a5bd68db81da..caee37c3f41e 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequest.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Request message for
  * [GetEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.GetEntryGroup].
@@ -11,49 +28,57 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.GetEntryGroupRequest}
  */
-public final class GetEntryGroupRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GetEntryGroupRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.GetEntryGroupRequest)
     GetEntryGroupRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GetEntryGroupRequest.newBuilder() to construct.
   private GetEntryGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GetEntryGroupRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetEntryGroupRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest.class, com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest.class,
+            com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the entry group. For example,
    * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
    * 
* - * string name = 1 [(.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 name of the entry group. For example,
    * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
    * 
* - * string name = 1 [(.google.api.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 { @@ -96,11 +123,14 @@ public java.lang.String getName() { public static final int READ_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask readMask_; /** + * + * *
    * The fields to return. If not set or empty, all fields are returned.
    * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return Whether the readMask field is set. */ @java.lang.Override @@ -108,11 +138,14 @@ public boolean hasReadMask() { return readMask_ != null; } /** + * + * *
    * The fields to return. If not set or empty, all fields are returned.
    * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return The readMask. */ @java.lang.Override @@ -120,6 +153,8 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** + * + * *
    * The fields to return. If not set or empty, all fields are returned.
    * 
@@ -132,6 +167,7 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -143,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -164,8 +199,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getReadMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -175,19 +209,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.datacatalog.v1beta1.GetEntryGroupRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest other = (com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest) obj; + com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest other = + (com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask() - .equals(other.getReadMask())) return false; + if (!getReadMask().equals(other.getReadMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -212,98 +245,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [GetEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.GetEntryGroup].
@@ -311,33 +350,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.GetEntryGroupRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.GetEntryGroupRequest)
       com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest.class, com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest.class,
+              com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        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 +390,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_descriptor;
     }
 
     @java.lang.Override
@@ -373,8 +411,11 @@ public com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest result = new com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest result =
+          new com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -385,9 +426,7 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.GetEntryGroupReq
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.readMask_ = readMaskBuilder_ == null
-            ? readMask_
-            : readMaskBuilder_.build();
+        result.readMask_ = readMaskBuilder_ == null ? readMask_ : readMaskBuilder_.build();
       }
     }
 
@@ -395,38 +434,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.GetEntryGroupReq
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -434,7 +474,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -469,24 +510,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getReadMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getReadMaskFieldBuilder().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) {
@@ -496,23 +538,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the entry group. For example,
      * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
      * 
* - * string name = 1 [(.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; @@ -521,21 +568,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the entry group. For example,
      * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -543,30 +593,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the entry group. For example,
      * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the entry group. For example,
      * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
      * 
* - * string 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() { @@ -576,18 +637,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the entry group. For example,
      * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
      * 
* - * string name = 1 [(.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; @@ -597,24 +664,33 @@ public Builder setNameBytes( private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + readMaskBuilder_; /** + * + * *
      * The fields to return. If not set or empty, all fields are returned.
      * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The fields to return. If not set or empty, all fields are returned.
      * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -625,6 +701,8 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** + * + * *
      * The fields to return. If not set or empty, all fields are returned.
      * 
@@ -645,14 +723,15 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The fields to return. If not set or empty, all fields are returned.
      * 
* * .google.protobuf.FieldMask read_mask = 2; */ - public Builder setReadMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); } else { @@ -663,6 +742,8 @@ public Builder setReadMask( return this; } /** + * + * *
      * The fields to return. If not set or empty, all fields are returned.
      * 
@@ -671,9 +752,9 @@ public Builder setReadMask( */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - readMask_ != null && - readMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && readMask_ != null + && readMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getReadMaskBuilder().mergeFrom(value); } else { readMask_ = value; @@ -686,6 +767,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The fields to return. If not set or empty, all fields are returned.
      * 
@@ -703,6 +786,8 @@ public Builder clearReadMask() { return this; } /** + * + * *
      * The fields to return. If not set or empty, all fields are returned.
      * 
@@ -715,6 +800,8 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { return getReadMaskFieldBuilder().getBuilder(); } /** + * + * *
      * The fields to return. If not set or empty, all fields are returned.
      * 
@@ -725,11 +812,12 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** + * + * *
      * The fields to return. If not set or empty, all fields are returned.
      * 
@@ -737,21 +825,24 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { * .google.protobuf.FieldMask read_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), - getParentForChildren(), - isClean()); + readMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), getParentForChildren(), isClean()); readMask_ = null; } return readMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -761,12 +852,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.GetEntryGroupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.GetEntryGroupRequest) private static final com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest(); } @@ -775,27 +866,27 @@ public static com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetEntryGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetEntryGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -810,6 +901,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequestOrBuilder.java similarity index 59% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequestOrBuilder.java index 7f43e9029060..69d8a26c54ef 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequestOrBuilder.java @@ -1,53 +1,86 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface GetEntryGroupRequestOrBuilder extends +public interface GetEntryGroupRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.GetEntryGroupRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the entry group. For example,
    * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the entry group. For example,
    * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The fields to return. If not set or empty, all fields are returned.
    * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** + * + * *
    * The fields to return. If not set or empty, all fields are returned.
    * 
* * .google.protobuf.FieldMask read_mask = 2; + * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** + * + * *
    * The fields to return. If not set or empty, all fields are returned.
    * 
diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequest.java similarity index 63% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequest.java index 7be6137b57c8..3edb620e3a3e 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequest.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Request message for
  * [GetEntry][google.cloud.datacatalog.v1beta1.DataCatalog.GetEntry].
@@ -11,50 +28,58 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.GetEntryRequest}
  */
-public final class GetEntryRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GetEntryRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.GetEntryRequest)
     GetEntryRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GetEntryRequest.newBuilder() to construct.
   private GetEntryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GetEntryRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetEntryRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.GetEntryRequest.class, com.google.cloud.datacatalog.v1beta1.GetEntryRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.GetEntryRequest.class,
+            com.google.cloud.datacatalog.v1beta1.GetEntryRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the entry. Example:
    *
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
    * 
* - * string name = 1 [(.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,31 +88,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the entry. Example:
    *
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
    * 
* - * string name = 1 [(.google.api.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 { @@ -96,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -132,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1beta1.GetEntryRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.GetEntryRequest other = (com.google.cloud.datacatalog.v1beta1.GetEntryRequest) obj; + com.google.cloud.datacatalog.v1beta1.GetEntryRequest other = + (com.google.cloud.datacatalog.v1beta1.GetEntryRequest) 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 +187,103 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.GetEntryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.GetEntryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.GetEntryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.GetEntryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.GetEntryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.GetEntryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GetEntryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.GetEntryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.GetEntryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GetEntryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.GetEntryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.GetEntryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.GetEntryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.GetEntryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.GetEntryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [GetEntry][google.cloud.datacatalog.v1beta1.DataCatalog.GetEntry].
@@ -259,33 +291,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.GetEntryRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.GetEntryRequest)
       com.google.cloud.datacatalog.v1beta1.GetEntryRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.GetEntryRequest.class, com.google.cloud.datacatalog.v1beta1.GetEntryRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.GetEntryRequest.class,
+              com.google.cloud.datacatalog.v1beta1.GetEntryRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.GetEntryRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        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.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_descriptor;
     }
 
     @java.lang.Override
@@ -316,8 +347,11 @@ public com.google.cloud.datacatalog.v1beta1.GetEntryRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.GetEntryRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.GetEntryRequest result = new com.google.cloud.datacatalog.v1beta1.GetEntryRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.GetEntryRequest result =
+          new com.google.cloud.datacatalog.v1beta1.GetEntryRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -333,38 +367,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.GetEntryRequest
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.GetEntryRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.GetEntryRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.GetEntryRequest) 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.datacatalog.v1beta1.GetEntryRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.GetEntryRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.GetEntryRequest.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,24 +462,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the entry. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      * 
* - * string name = 1 [(.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; @@ -450,22 +493,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the entry. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      * 
* - * string name = 1 [(.google.api.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 { @@ -473,32 +519,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the entry. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the entry. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      * 
* - * string 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() { @@ -508,28 +565,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the entry. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -539,12 +602,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.GetEntryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.GetEntryRequest) private static final com.google.cloud.datacatalog.v1beta1.GetEntryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.GetEntryRequest(); } @@ -553,27 +616,27 @@ public static com.google.cloud.datacatalog.v1beta1.GetEntryRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetEntryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetEntryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +651,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.GetEntryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequestOrBuilder.java new file mode 100644 index 000000000000..50e4f6f4eeaa --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequestOrBuilder.java @@ -0,0 +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/datacatalog/v1beta1/datacatalog.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface GetEntryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.GetEntryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the entry. Example:
+   *
+   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the entry. Example:
+   *
+   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_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-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequest.java similarity index 63% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequest.java index ed2bcc0b541a..a465a3528d21 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequest.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/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Request message for
  * [GetPolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.GetPolicyTag].
@@ -11,48 +28,56 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.GetPolicyTagRequest}
  */
-public final class GetPolicyTagRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GetPolicyTagRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.GetPolicyTagRequest)
     GetPolicyTagRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GetPolicyTagRequest.newBuilder() to construct.
   private GetPolicyTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GetPolicyTagRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetPolicyTagRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_GetPolicyTagRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1beta1_GetPolicyTagRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_GetPolicyTagRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1beta1_GetPolicyTagRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest.class, com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest.class,
+            com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. Resource name of the requested policy tag.
    * 
* - * string name = 1 [(.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,29 +86,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Resource name of the requested policy tag.
    * 
* - * string name = 1 [(.google.api.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 { @@ -92,6 +119,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -103,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_); } @@ -128,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.datacatalog.v1beta1.GetPolicyTagRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest other = (com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest) obj; + com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest other = + (com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest) 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,98 +183,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [GetPolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.GetPolicyTag].
@@ -255,33 +288,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.GetPolicyTagRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.GetPolicyTagRequest)
       com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_GetPolicyTagRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_GetPolicyTagRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_GetPolicyTagRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_GetPolicyTagRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest.class, com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest.class,
+              com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        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.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_GetPolicyTagRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_GetPolicyTagRequest_descriptor;
     }
 
     @java.lang.Override
@@ -312,8 +344,11 @@ public com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest result = new com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest result =
+          new com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -329,38 +364,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequ
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest) 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.datacatalog.v1beta1.GetPolicyTagRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest.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,22 +459,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. Resource name of the requested policy tag.
      * 
* - * string name = 1 [(.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; @@ -444,20 +488,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the requested policy tag.
      * 
* - * string name = 1 [(.google.api.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 { @@ -465,28 +512,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the requested policy tag.
      * 
* - * string name = 1 [(.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. Resource name of the requested policy tag.
      * 
* - * string 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() { @@ -496,26 +554,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Resource name of the requested policy tag.
      * 
* - * string name = 1 [(.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); } @@ -525,12 +589,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.GetPolicyTagRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.GetPolicyTagRequest) private static final com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest(); } @@ -539,27 +603,27 @@ public static com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPolicyTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPolicyTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -574,6 +638,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequestOrBuilder.java new file mode 100644 index 000000000000..fdd5a684dac7 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequestOrBuilder.java @@ -0,0 +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/datacatalog/v1beta1/policytagmanager.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface GetPolicyTagRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.GetPolicyTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Resource name of the requested policy tag.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Resource name of the requested policy tag.
+   * 
+ * + * + * 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-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequest.java similarity index 63% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequest.java index 1044874ce461..23217e145cc9 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequest.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Request message for
  * [GetTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.GetTagTemplate].
@@ -11,50 +28,58 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.GetTagTemplateRequest}
  */
-public final class GetTagTemplateRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GetTagTemplateRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.GetTagTemplateRequest)
     GetTagTemplateRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GetTagTemplateRequest.newBuilder() to construct.
   private GetTagTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GetTagTemplateRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetTagTemplateRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest.class, com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest.class,
+            com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the tag template. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
    * 
* - * string name = 1 [(.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,31 +88,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the tag template. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
    * 
* - * string name = 1 [(.google.api.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 { @@ -96,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -132,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest other = (com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest) obj; + com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest other = + (com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest) 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 +187,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [GetTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.GetTagTemplate].
@@ -259,33 +292,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.GetTagTemplateRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.GetTagTemplateRequest)
       com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest.class, com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest.class,
+              com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        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 +327,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_descriptor;
     }
 
     @java.lang.Override
@@ -316,8 +348,11 @@ public com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest result = new com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest result =
+          new com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -333,38 +368,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.GetTagTemplateRe
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -372,7 +408,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -404,17 +441,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -424,24 +463,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the tag template. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
      * 
* - * string name = 1 [(.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; @@ -450,22 +494,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the tag template. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
      * 
* - * string name = 1 [(.google.api.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 { @@ -473,32 +520,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the tag template. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the tag template. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
      * 
* - * string 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() { @@ -508,28 +566,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the tag template. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -539,12 +603,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.GetTagTemplateRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.GetTagTemplateRequest) private static final com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest(); } @@ -553,27 +617,27 @@ public static com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTagTemplateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTagTemplateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +652,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequestOrBuilder.java new file mode 100644 index 000000000000..ddb7cbb448ff --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequestOrBuilder.java @@ -0,0 +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/datacatalog/v1beta1/datacatalog.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface GetTagTemplateRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.GetTagTemplateRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the tag template. Example:
+   *
+   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the tag template. Example:
+   *
+   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_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-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequest.java similarity index 63% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequest.java index e40ecc3d4c81..d01451b62b33 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequest.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/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Request message for
  * [GetTaxonomy][google.cloud.datacatalog.v1beta1.PolicyTagManager.GetTaxonomy].
@@ -11,48 +28,56 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.GetTaxonomyRequest}
  */
-public final class GetTaxonomyRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GetTaxonomyRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.GetTaxonomyRequest)
     GetTaxonomyRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GetTaxonomyRequest.newBuilder() to construct.
   private GetTaxonomyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GetTaxonomyRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetTaxonomyRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_GetTaxonomyRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1beta1_GetTaxonomyRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_GetTaxonomyRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1beta1_GetTaxonomyRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest.class, com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest.class,
+            com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. Resource name of the requested taxonomy.
    * 
* - * string name = 1 [(.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,29 +86,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Resource name of the requested taxonomy.
    * 
* - * string name = 1 [(.google.api.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 { @@ -92,6 +119,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -103,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_); } @@ -128,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.datacatalog.v1beta1.GetTaxonomyRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest other = (com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest) obj; + com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest other = + (com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest) 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,98 +183,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [GetTaxonomy][google.cloud.datacatalog.v1beta1.PolicyTagManager.GetTaxonomy].
@@ -255,33 +288,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.GetTaxonomyRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.GetTaxonomyRequest)
       com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_GetTaxonomyRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_GetTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_GetTaxonomyRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_GetTaxonomyRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest.class, com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest.class,
+              com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        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.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_GetTaxonomyRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_GetTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
@@ -312,8 +344,11 @@ public com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest result = new com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest result =
+          new com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -329,38 +364,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.GetTaxonomyReque
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest) 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.datacatalog.v1beta1.GetTaxonomyRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest.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,22 +459,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. Resource name of the requested taxonomy.
      * 
* - * string name = 1 [(.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; @@ -444,20 +488,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the requested taxonomy.
      * 
* - * string name = 1 [(.google.api.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 { @@ -465,28 +512,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the requested taxonomy.
      * 
* - * string name = 1 [(.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. Resource name of the requested taxonomy.
      * 
* - * string 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() { @@ -496,26 +554,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Resource name of the requested taxonomy.
      * 
* - * string name = 1 [(.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); } @@ -525,12 +589,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.GetTaxonomyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.GetTaxonomyRequest) private static final com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest(); } @@ -539,27 +603,27 @@ public static com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTaxonomyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTaxonomyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -574,6 +638,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequestOrBuilder.java new file mode 100644 index 000000000000..4c6b802e443f --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequestOrBuilder.java @@ -0,0 +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/datacatalog/v1beta1/policytagmanager.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface GetTaxonomyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.GetTaxonomyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Resource name of the requested taxonomy.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Resource name of the requested taxonomy.
+   * 
+ * + * + * 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-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequest.java similarity index 66% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequest.java index 3efb7e4f0458..f2925368deb4 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequest.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/datacatalog/v1beta1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Request message for
  * [ImportTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ImportTaxonomies].
@@ -11,48 +28,54 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest}
  */
-public final class ImportTaxonomiesRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ImportTaxonomiesRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest)
     ImportTaxonomiesRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ImportTaxonomiesRequest.newBuilder() to construct.
   private ImportTaxonomiesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ImportTaxonomiesRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ImportTaxonomiesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
+        .internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
+        .internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest.class, com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest.class,
+            com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest.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 {
     INLINE_SOURCE(2),
     SOURCE_NOT_SET(0);
     private final int value;
+
     private SourceCase(int value) {
       this.value = value;
     }
@@ -68,32 +91,40 @@ public static SourceCase valueOf(int value) {
 
     public static SourceCase forNumber(int value) {
       switch (value) {
-        case 2: return INLINE_SOURCE;
-        case 0: return SOURCE_NOT_SET;
-        default: return null;
+        case 2:
+          return INLINE_SOURCE;
+        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 PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. Resource name of project that the imported taxonomies will belong
    * to.
    * 
* - * string parent = 1 [(.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 @@ -102,30 +133,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. Resource name of project that the imported taxonomies will belong
    * to.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -135,11 +168,14 @@ public java.lang.String getParent() { public static final int INLINE_SOURCE_FIELD_NUMBER = 2; /** + * + * *
    * Inline source used for taxonomies to be imported.
    * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; + * * @return Whether the inlineSource field is set. */ @java.lang.Override @@ -147,21 +183,26 @@ public boolean hasInlineSource() { return sourceCase_ == 2; } /** + * + * *
    * Inline source used for taxonomies to be imported.
    * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; + * * @return The inlineSource. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.InlineSource getInlineSource() { if (sourceCase_ == 2) { - return (com.google.cloud.datacatalog.v1beta1.InlineSource) source_; + return (com.google.cloud.datacatalog.v1beta1.InlineSource) source_; } return com.google.cloud.datacatalog.v1beta1.InlineSource.getDefaultInstance(); } /** + * + * *
    * Inline source used for taxonomies to be imported.
    * 
@@ -171,12 +212,13 @@ public com.google.cloud.datacatalog.v1beta1.InlineSource getInlineSource() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.InlineSourceOrBuilder getInlineSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.cloud.datacatalog.v1beta1.InlineSource) source_; + return (com.google.cloud.datacatalog.v1beta1.InlineSource) source_; } return com.google.cloud.datacatalog.v1beta1.InlineSource.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -188,8 +230,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -209,8 +250,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.datacatalog.v1beta1.InlineSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.datacatalog.v1beta1.InlineSource) source_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -220,20 +262,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.datacatalog.v1beta1.ImportTaxonomiesRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest other = (com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest) obj; + com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest other = + (com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getInlineSource() - .equals(other.getInlineSource())) return false; + if (!getInlineSource().equals(other.getInlineSource())) return false; break; case 0: default: @@ -265,98 +306,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [ImportTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ImportTaxonomies].
@@ -364,33 +411,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest)
       com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest.class, com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest.class,
+              com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -405,13 +451,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest getDefaultInstanceForType() {
+    public com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest.getDefaultInstance();
     }
 
@@ -426,25 +473,29 @@ public com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest result = new com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest result =
+          new com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest result) {
+    private void buildPartial0(
+        com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
       }
     }
 
-    private void buildPartialOneofs(com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest result) {
+    private void buildPartialOneofs(
+        com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest result) {
       result.sourceCase_ = sourceCase_;
       result.source_ = this.source_;
-      if (sourceCase_ == 2 &&
-          inlineSourceBuilder_ != null) {
+      if (sourceCase_ == 2 && inlineSourceBuilder_ != null) {
         result.source_ = inlineSourceBuilder_.build();
       }
     }
@@ -453,38 +504,39 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1beta1.ImportTaxon
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -492,20 +544,24 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
         onChanged();
       }
       switch (other.getSourceCase()) {
-        case INLINE_SOURCE: {
-          mergeInlineSource(other.getInlineSource());
-          break;
-        }
-        case SOURCE_NOT_SET: {
-          break;
-        }
+        case INLINE_SOURCE:
+          {
+            mergeInlineSource(other.getInlineSource());
+            break;
+          }
+        case SOURCE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -533,24 +589,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getInlineSourceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              sourceCase_ = 2;
-              break;
-            } // case 18
-            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(getInlineSourceFieldBuilder().getBuilder(), extensionRegistry);
+                sourceCase_ = 2;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -560,12 +617,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() {
@@ -579,19 +636,23 @@ public Builder clearSource() {
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. Resource name of project that the imported taxonomies will belong
      * to.
      * 
* - * string parent = 1 [(.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; @@ -600,21 +661,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of project that the imported taxonomies will belong
      * to.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -622,30 +686,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of project that the imported taxonomies will belong
      * to.
      * 
* - * 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. Resource name of project that the imported taxonomies will belong
      * to.
      * 
* - * string 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() { @@ -655,18 +730,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Resource name of project that the imported taxonomies will belong
      * to.
      * 
* - * 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; @@ -675,13 +756,19 @@ public Builder setParentBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.InlineSource, com.google.cloud.datacatalog.v1beta1.InlineSource.Builder, com.google.cloud.datacatalog.v1beta1.InlineSourceOrBuilder> inlineSourceBuilder_; + com.google.cloud.datacatalog.v1beta1.InlineSource, + com.google.cloud.datacatalog.v1beta1.InlineSource.Builder, + com.google.cloud.datacatalog.v1beta1.InlineSourceOrBuilder> + inlineSourceBuilder_; /** + * + * *
      * Inline source used for taxonomies to be imported.
      * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; + * * @return Whether the inlineSource field is set. */ @java.lang.Override @@ -689,11 +776,14 @@ public boolean hasInlineSource() { return sourceCase_ == 2; } /** + * + * *
      * Inline source used for taxonomies to be imported.
      * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; + * * @return The inlineSource. */ @java.lang.Override @@ -711,6 +801,8 @@ public com.google.cloud.datacatalog.v1beta1.InlineSource getInlineSource() { } } /** + * + * *
      * Inline source used for taxonomies to be imported.
      * 
@@ -731,6 +823,8 @@ public Builder setInlineSource(com.google.cloud.datacatalog.v1beta1.InlineSource return this; } /** + * + * *
      * Inline source used for taxonomies to be imported.
      * 
@@ -749,6 +843,8 @@ public Builder setInlineSource( return this; } /** + * + * *
      * Inline source used for taxonomies to be imported.
      * 
@@ -757,10 +853,13 @@ public Builder setInlineSource( */ public Builder mergeInlineSource(com.google.cloud.datacatalog.v1beta1.InlineSource value) { if (inlineSourceBuilder_ == null) { - if (sourceCase_ == 2 && - source_ != com.google.cloud.datacatalog.v1beta1.InlineSource.getDefaultInstance()) { - source_ = com.google.cloud.datacatalog.v1beta1.InlineSource.newBuilder((com.google.cloud.datacatalog.v1beta1.InlineSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 2 + && source_ != com.google.cloud.datacatalog.v1beta1.InlineSource.getDefaultInstance()) { + source_ = + com.google.cloud.datacatalog.v1beta1.InlineSource.newBuilder( + (com.google.cloud.datacatalog.v1beta1.InlineSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -776,6 +875,8 @@ public Builder mergeInlineSource(com.google.cloud.datacatalog.v1beta1.InlineSour return this; } /** + * + * *
      * Inline source used for taxonomies to be imported.
      * 
@@ -799,6 +900,8 @@ public Builder clearInlineSource() { return this; } /** + * + * *
      * Inline source used for taxonomies to be imported.
      * 
@@ -809,6 +912,8 @@ public com.google.cloud.datacatalog.v1beta1.InlineSource.Builder getInlineSource return getInlineSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Inline source used for taxonomies to be imported.
      * 
@@ -827,6 +932,8 @@ public com.google.cloud.datacatalog.v1beta1.InlineSourceOrBuilder getInlineSourc } } /** + * + * *
      * Inline source used for taxonomies to be imported.
      * 
@@ -834,14 +941,19 @@ public com.google.cloud.datacatalog.v1beta1.InlineSourceOrBuilder getInlineSourc * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.InlineSource, com.google.cloud.datacatalog.v1beta1.InlineSource.Builder, com.google.cloud.datacatalog.v1beta1.InlineSourceOrBuilder> + com.google.cloud.datacatalog.v1beta1.InlineSource, + com.google.cloud.datacatalog.v1beta1.InlineSource.Builder, + com.google.cloud.datacatalog.v1beta1.InlineSourceOrBuilder> getInlineSourceFieldBuilder() { if (inlineSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { source_ = com.google.cloud.datacatalog.v1beta1.InlineSource.getDefaultInstance(); } - inlineSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.InlineSource, com.google.cloud.datacatalog.v1beta1.InlineSource.Builder, com.google.cloud.datacatalog.v1beta1.InlineSourceOrBuilder>( + inlineSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.InlineSource, + com.google.cloud.datacatalog.v1beta1.InlineSource.Builder, + com.google.cloud.datacatalog.v1beta1.InlineSourceOrBuilder>( (com.google.cloud.datacatalog.v1beta1.InlineSource) source_, getParentForChildren(), isClean()); @@ -851,9 +963,9 @@ public com.google.cloud.datacatalog.v1beta1.InlineSourceOrBuilder getInlineSourc onChanged(); return inlineSourceBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -863,12 +975,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest) - private static final com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest DEFAULT_INSTANCE; + private static final com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest(); } @@ -877,27 +990,27 @@ public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportTaxonomiesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportTaxonomiesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -912,6 +1025,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequestOrBuilder.java index ed7611c26e53..0d2f9f037218 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequestOrBuilder.java @@ -1,53 +1,86 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1beta1; -public interface ImportTaxonomiesRequestOrBuilder extends +public interface ImportTaxonomiesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of project that the imported taxonomies will belong
    * to.
    * 
* - * string parent = 1 [(.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. Resource name of project that the imported taxonomies will belong
    * to.
    * 
* - * string parent = 1 [(.google.api.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(); /** + * + * *
    * Inline source used for taxonomies to be imported.
    * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; + * * @return Whether the inlineSource field is set. */ boolean hasInlineSource(); /** + * + * *
    * Inline source used for taxonomies to be imported.
    * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; + * * @return The inlineSource. */ com.google.cloud.datacatalog.v1beta1.InlineSource getInlineSource(); /** + * + * *
    * Inline source used for taxonomies to be imported.
    * 
diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponse.java similarity index 70% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponse.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponse.java index abaad39654db..671fdc3113b8 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponse.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/datacatalog/v1beta1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Response message for
  * [ImportTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ImportTaxonomies].
@@ -11,43 +28,48 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse}
  */
-public final class ImportTaxonomiesResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ImportTaxonomiesResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse)
     ImportTaxonomiesResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ImportTaxonomiesResponse.newBuilder() to construct.
   private ImportTaxonomiesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ImportTaxonomiesResponse() {
     taxonomies_ = 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 ImportTaxonomiesResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
+        .internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
+        .internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse.class, com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse.class,
+            com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse.Builder.class);
   }
 
   public static final int TAXONOMIES_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List taxonomies_;
   /**
+   *
+   *
    * 
    * Taxonomies that were imported.
    * 
@@ -59,6 +81,8 @@ public java.util.List getTaxonomi return taxonomies_; } /** + * + * *
    * Taxonomies that were imported.
    * 
@@ -66,11 +90,13 @@ public java.util.List getTaxonomi * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTaxonomiesOrBuilderList() { return taxonomies_; } /** + * + * *
    * Taxonomies that were imported.
    * 
@@ -82,6 +108,8 @@ public int getTaxonomiesCount() { return taxonomies_.size(); } /** + * + * *
    * Taxonomies that were imported.
    * 
@@ -93,6 +121,8 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomies(int index) { return taxonomies_.get(index); } /** + * + * *
    * Taxonomies that were imported.
    * 
@@ -100,12 +130,12 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomies(int index) { * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomiesOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomiesOrBuilder(int index) { return taxonomies_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,8 +147,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < taxonomies_.size(); i++) { output.writeMessage(1, taxonomies_.get(i)); } @@ -132,8 +161,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < taxonomies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, taxonomies_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, taxonomies_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -143,15 +171,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse other = (com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse) obj; + com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse other = + (com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse) obj; - if (!getTaxonomiesList() - .equals(other.getTaxonomiesList())) return false; + if (!getTaxonomiesList().equals(other.getTaxonomiesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -173,98 +201,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for
    * [ImportTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ImportTaxonomies].
@@ -272,33 +306,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse)
       com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse.class, com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse.class,
+              com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -314,13 +347,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse getDefaultInstanceForType() {
+    public com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse
+        getDefaultInstanceForType() {
       return com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse.getDefaultInstance();
     }
 
@@ -335,14 +369,18 @@ public com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse result = new com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse(this);
+      com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse result =
+          new com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse result) {
       if (taxonomiesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           taxonomies_ = java.util.Collections.unmodifiableList(taxonomies_);
@@ -354,7 +392,8 @@ private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.Imp
       }
     }
 
-    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse result) {
+    private void buildPartial0(
+        com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse result) {
       int from_bitField0_ = bitField0_;
     }
 
@@ -362,38 +401,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ImportTaxonomies
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -401,7 +441,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse.getDefaultInstance())
+        return this;
       if (taxonomiesBuilder_ == null) {
         if (!other.taxonomies_.isEmpty()) {
           if (taxonomies_.isEmpty()) {
@@ -420,9 +462,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRe
             taxonomiesBuilder_ = null;
             taxonomies_ = other.taxonomies_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            taxonomiesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getTaxonomiesFieldBuilder() : null;
+            taxonomiesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getTaxonomiesFieldBuilder()
+                    : null;
           } else {
             taxonomiesBuilder_.addAllMessages(other.taxonomies_);
           }
@@ -454,25 +497,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.datacatalog.v1beta1.Taxonomy m =
-                  input.readMessage(
-                      com.google.cloud.datacatalog.v1beta1.Taxonomy.parser(),
-                      extensionRegistry);
-              if (taxonomiesBuilder_ == null) {
-                ensureTaxonomiesIsMutable();
-                taxonomies_.add(m);
-              } else {
-                taxonomiesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.cloud.datacatalog.v1beta1.Taxonomy m =
+                    input.readMessage(
+                        com.google.cloud.datacatalog.v1beta1.Taxonomy.parser(), extensionRegistry);
+                if (taxonomiesBuilder_ == null) {
+                  ensureTaxonomiesIsMutable();
+                  taxonomies_.add(m);
+                } else {
+                  taxonomiesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -482,21 +526,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List taxonomies_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureTaxonomiesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        taxonomies_ = new java.util.ArrayList(taxonomies_);
+        taxonomies_ =
+            new java.util.ArrayList(taxonomies_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.datacatalog.v1beta1.Taxonomy, com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder> taxonomiesBuilder_;
+            com.google.cloud.datacatalog.v1beta1.Taxonomy,
+            com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder,
+            com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder>
+        taxonomiesBuilder_;
 
     /**
+     *
+     *
      * 
      * Taxonomies that were imported.
      * 
@@ -511,6 +563,8 @@ public java.util.List getTaxonomi } } /** + * + * *
      * Taxonomies that were imported.
      * 
@@ -525,6 +579,8 @@ public int getTaxonomiesCount() { } } /** + * + * *
      * Taxonomies that were imported.
      * 
@@ -539,14 +595,15 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomies(int index) { } } /** + * + * *
      * Taxonomies that were imported.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - public Builder setTaxonomies( - int index, com.google.cloud.datacatalog.v1beta1.Taxonomy value) { + public Builder setTaxonomies(int index, com.google.cloud.datacatalog.v1beta1.Taxonomy value) { if (taxonomiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -560,6 +617,8 @@ public Builder setTaxonomies( return this; } /** + * + * *
      * Taxonomies that were imported.
      * 
@@ -578,6 +637,8 @@ public Builder setTaxonomies( return this; } /** + * + * *
      * Taxonomies that were imported.
      * 
@@ -598,14 +659,15 @@ public Builder addTaxonomies(com.google.cloud.datacatalog.v1beta1.Taxonomy value return this; } /** + * + * *
      * Taxonomies that were imported.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - public Builder addTaxonomies( - int index, com.google.cloud.datacatalog.v1beta1.Taxonomy value) { + public Builder addTaxonomies(int index, com.google.cloud.datacatalog.v1beta1.Taxonomy value) { if (taxonomiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -619,6 +681,8 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * Taxonomies that were imported.
      * 
@@ -637,6 +701,8 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * Taxonomies that were imported.
      * 
@@ -655,6 +721,8 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * Taxonomies that were imported.
      * 
@@ -665,8 +733,7 @@ public Builder addAllTaxonomies( java.lang.Iterable values) { if (taxonomiesBuilder_ == null) { ensureTaxonomiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, taxonomies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taxonomies_); onChanged(); } else { taxonomiesBuilder_.addAllMessages(values); @@ -674,6 +741,8 @@ public Builder addAllTaxonomies( return this; } /** + * + * *
      * Taxonomies that were imported.
      * 
@@ -691,6 +760,8 @@ public Builder clearTaxonomies() { return this; } /** + * + * *
      * Taxonomies that were imported.
      * 
@@ -708,17 +779,20 @@ public Builder removeTaxonomies(int index) { return this; } /** + * + * *
      * Taxonomies that were imported.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder getTaxonomiesBuilder( - int index) { + public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder getTaxonomiesBuilder(int index) { return getTaxonomiesFieldBuilder().getBuilder(index); } /** + * + * *
      * Taxonomies that were imported.
      * 
@@ -728,19 +802,22 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder getTaxonomiesBuilde public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomiesOrBuilder( int index) { if (taxonomiesBuilder_ == null) { - return taxonomies_.get(index); } else { + return taxonomies_.get(index); + } else { return taxonomiesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Taxonomies that were imported.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - public java.util.List - getTaxonomiesOrBuilderList() { + public java.util.List + getTaxonomiesOrBuilderList() { if (taxonomiesBuilder_ != null) { return taxonomiesBuilder_.getMessageOrBuilderList(); } else { @@ -748,6 +825,8 @@ public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomiesOrBui } } /** + * + * *
      * Taxonomies that were imported.
      * 
@@ -755,49 +834,55 @@ public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomiesOrBui * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder addTaxonomiesBuilder() { - return getTaxonomiesFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance()); + return getTaxonomiesFieldBuilder() + .addBuilder(com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance()); } /** + * + * *
      * Taxonomies that were imported.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder addTaxonomiesBuilder( - int index) { - return getTaxonomiesFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance()); + public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder addTaxonomiesBuilder(int index) { + return getTaxonomiesFieldBuilder() + .addBuilder(index, com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance()); } /** + * + * *
      * Taxonomies that were imported.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - public java.util.List - getTaxonomiesBuilderList() { + public java.util.List + getTaxonomiesBuilderList() { return getTaxonomiesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Taxonomy, com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder> + com.google.cloud.datacatalog.v1beta1.Taxonomy, + com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, + com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder> getTaxonomiesFieldBuilder() { if (taxonomiesBuilder_ == null) { - taxonomiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Taxonomy, com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder>( - taxonomies_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + taxonomiesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.Taxonomy, + com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, + com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder>( + taxonomies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); taxonomies_ = null; } return taxonomiesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -807,12 +892,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse) - private static final com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse DEFAULT_INSTANCE; + private static final com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse(); } @@ -821,27 +907,27 @@ public static com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportTaxonomiesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportTaxonomiesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +942,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponseOrBuilder.java similarity index 65% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponseOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponseOrBuilder.java index 7d85eec1f9ff..acff24178101 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponseOrBuilder.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/datacatalog/v1beta1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1beta1; -public interface ImportTaxonomiesResponseOrBuilder extends +public interface ImportTaxonomiesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Taxonomies that were imported.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - java.util.List - getTaxonomiesList(); + java.util.List getTaxonomiesList(); /** + * + * *
    * Taxonomies that were imported.
    * 
@@ -25,6 +44,8 @@ public interface ImportTaxonomiesResponseOrBuilder extends */ com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomies(int index); /** + * + * *
    * Taxonomies that were imported.
    * 
@@ -33,21 +54,24 @@ public interface ImportTaxonomiesResponseOrBuilder extends */ int getTaxonomiesCount(); /** + * + * *
    * Taxonomies that were imported.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - java.util.List + java.util.List getTaxonomiesOrBuilderList(); /** + * + * *
    * Taxonomies that were imported.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomiesOrBuilder( - int index); + com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomiesOrBuilder(int index); } diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSource.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSource.java similarity index 61% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSource.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSource.java index 76adc39ec6bd..b6a2c2a496fa 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSource.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSource.java @@ -1,102 +1,143 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Inline source used for taxonomies import.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.InlineSource} */ -public final class InlineSource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class InlineSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.InlineSource) InlineSourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InlineSource.newBuilder() to construct. private InlineSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InlineSource() { taxonomies_ = 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 InlineSource(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_InlineSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto + .internal_static_google_cloud_datacatalog_v1beta1_InlineSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_InlineSource_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto + .internal_static_google_cloud_datacatalog_v1beta1_InlineSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.InlineSource.class, com.google.cloud.datacatalog.v1beta1.InlineSource.Builder.class); + com.google.cloud.datacatalog.v1beta1.InlineSource.class, + com.google.cloud.datacatalog.v1beta1.InlineSource.Builder.class); } public static final int TAXONOMIES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List taxonomies_; /** + * + * *
    * Required. Taxonomies to be imported.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List getTaxonomiesList() { + public java.util.List + getTaxonomiesList() { return taxonomies_; } /** + * + * *
    * Required. Taxonomies to be imported.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getTaxonomiesOrBuilderList() { return taxonomies_; } /** + * + * *
    * Required. Taxonomies to be imported.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getTaxonomiesCount() { return taxonomies_.size(); } /** + * + * *
    * Required. Taxonomies to be imported.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy getTaxonomies(int index) { return taxonomies_.get(index); } /** + * + * *
    * Required. Taxonomies to be imported.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder getTaxonomiesOrBuilder( @@ -105,6 +146,7 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder getTaxon } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,8 +158,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < taxonomies_.size(); i++) { output.writeMessage(1, taxonomies_.get(i)); } @@ -131,8 +172,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < taxonomies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, taxonomies_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, taxonomies_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -142,15 +182,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1beta1.InlineSource)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.InlineSource other = (com.google.cloud.datacatalog.v1beta1.InlineSource) obj; + com.google.cloud.datacatalog.v1beta1.InlineSource other = + (com.google.cloud.datacatalog.v1beta1.InlineSource) obj; - if (!getTaxonomiesList() - .equals(other.getTaxonomiesList())) return false; + if (!getTaxonomiesList().equals(other.getTaxonomiesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -172,131 +212,135 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.InlineSource parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.InlineSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.InlineSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.InlineSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.InlineSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.InlineSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.InlineSource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.InlineSource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.InlineSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.InlineSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.InlineSource parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.InlineSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.InlineSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.InlineSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.InlineSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Inline source used for taxonomies import.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.InlineSource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.InlineSource) com.google.cloud.datacatalog.v1beta1.InlineSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_InlineSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto + .internal_static_google_cloud_datacatalog_v1beta1_InlineSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_InlineSource_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto + .internal_static_google_cloud_datacatalog_v1beta1_InlineSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.InlineSource.class, com.google.cloud.datacatalog.v1beta1.InlineSource.Builder.class); + com.google.cloud.datacatalog.v1beta1.InlineSource.class, + com.google.cloud.datacatalog.v1beta1.InlineSource.Builder.class); } // Construct using com.google.cloud.datacatalog.v1beta1.InlineSource.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -312,9 +356,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_InlineSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto + .internal_static_google_cloud_datacatalog_v1beta1_InlineSource_descriptor; } @java.lang.Override @@ -333,14 +377,18 @@ public com.google.cloud.datacatalog.v1beta1.InlineSource build() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.InlineSource buildPartial() { - com.google.cloud.datacatalog.v1beta1.InlineSource result = new com.google.cloud.datacatalog.v1beta1.InlineSource(this); + com.google.cloud.datacatalog.v1beta1.InlineSource result = + new com.google.cloud.datacatalog.v1beta1.InlineSource(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.InlineSource result) { + private void buildPartialRepeatedFields( + com.google.cloud.datacatalog.v1beta1.InlineSource result) { if (taxonomiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { taxonomies_ = java.util.Collections.unmodifiableList(taxonomies_); @@ -360,38 +408,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.InlineSource 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.datacatalog.v1beta1.InlineSource) { - return mergeFrom((com.google.cloud.datacatalog.v1beta1.InlineSource)other); + return mergeFrom((com.google.cloud.datacatalog.v1beta1.InlineSource) other); } else { super.mergeFrom(other); return this; @@ -399,7 +448,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.InlineSource other) { - if (other == com.google.cloud.datacatalog.v1beta1.InlineSource.getDefaultInstance()) return this; + if (other == com.google.cloud.datacatalog.v1beta1.InlineSource.getDefaultInstance()) + return this; if (taxonomiesBuilder_ == null) { if (!other.taxonomies_.isEmpty()) { if (taxonomies_.isEmpty()) { @@ -418,9 +468,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.InlineSource other taxonomiesBuilder_ = null; taxonomies_ = other.taxonomies_; bitField0_ = (bitField0_ & ~0x00000001); - taxonomiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTaxonomiesFieldBuilder() : null; + taxonomiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTaxonomiesFieldBuilder() + : null; } else { taxonomiesBuilder_.addAllMessages(other.taxonomies_); } @@ -452,25 +503,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy m = - input.readMessage( - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.parser(), - extensionRegistry); - if (taxonomiesBuilder_ == null) { - ensureTaxonomiesIsMutable(); - taxonomies_.add(m); - } else { - taxonomiesBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy m = + input.readMessage( + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.parser(), + extensionRegistry); + if (taxonomiesBuilder_ == null) { + ensureTaxonomiesIsMutable(); + taxonomies_.add(m); + } else { + taxonomiesBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -480,28 +533,40 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List taxonomies_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTaxonomiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - taxonomies_ = new java.util.ArrayList(taxonomies_); + taxonomies_ = + new java.util.ArrayList( + taxonomies_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder> taxonomiesBuilder_; + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy, + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder, + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder> + taxonomiesBuilder_; /** + * + * *
      * Required. Taxonomies to be imported.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List getTaxonomiesList() { + public java.util.List + getTaxonomiesList() { if (taxonomiesBuilder_ == null) { return java.util.Collections.unmodifiableList(taxonomies_); } else { @@ -509,11 +574,15 @@ public java.util.List g } } /** + * + * *
      * Required. Taxonomies to be imported.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getTaxonomiesCount() { if (taxonomiesBuilder_ == null) { @@ -523,11 +592,15 @@ public int getTaxonomiesCount() { } } /** + * + * *
      * Required. Taxonomies to be imported.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy getTaxonomies(int index) { if (taxonomiesBuilder_ == null) { @@ -537,11 +610,15 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy getTaxonomies(int } } /** + * + * *
      * Required. Taxonomies to be imported.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTaxonomies( int index, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy value) { @@ -558,14 +635,19 @@ public Builder setTaxonomies( return this; } /** + * + * *
      * Required. Taxonomies to be imported.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTaxonomies( - int index, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder builderForValue) { + int index, + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder builderForValue) { if (taxonomiesBuilder_ == null) { ensureTaxonomiesIsMutable(); taxonomies_.set(index, builderForValue.build()); @@ -576,11 +658,15 @@ public Builder setTaxonomies( return this; } /** + * + * *
      * Required. Taxonomies to be imported.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addTaxonomies(com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy value) { if (taxonomiesBuilder_ == null) { @@ -596,11 +682,15 @@ public Builder addTaxonomies(com.google.cloud.datacatalog.v1beta1.SerializedTaxo return this; } /** + * + * *
      * Required. Taxonomies to be imported.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addTaxonomies( int index, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy value) { @@ -617,11 +707,15 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * Required. Taxonomies to be imported.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addTaxonomies( com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder builderForValue) { @@ -635,14 +729,19 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * Required. Taxonomies to be imported.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addTaxonomies( - int index, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder builderForValue) { + int index, + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder builderForValue) { if (taxonomiesBuilder_ == null) { ensureTaxonomiesIsMutable(); taxonomies_.add(index, builderForValue.build()); @@ -653,18 +752,22 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * Required. Taxonomies to be imported.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllTaxonomies( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (taxonomiesBuilder_ == null) { ensureTaxonomiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, taxonomies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taxonomies_); onChanged(); } else { taxonomiesBuilder_.addAllMessages(values); @@ -672,11 +775,15 @@ public Builder addAllTaxonomies( return this; } /** + * + * *
      * Required. Taxonomies to be imported.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTaxonomies() { if (taxonomiesBuilder_ == null) { @@ -689,11 +796,15 @@ public Builder clearTaxonomies() { return this; } /** + * + * *
      * Required. Taxonomies to be imported.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeTaxonomies(int index) { if (taxonomiesBuilder_ == null) { @@ -706,39 +817,53 @@ public Builder removeTaxonomies(int index) { return this; } /** + * + * *
      * Required. Taxonomies to be imported.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder getTaxonomiesBuilder( int index) { return getTaxonomiesFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. Taxonomies to be imported.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder getTaxonomiesOrBuilder( int index) { if (taxonomiesBuilder_ == null) { - return taxonomies_.get(index); } else { + return taxonomies_.get(index); + } else { return taxonomiesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. Taxonomies to be imported.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getTaxonomiesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder> + getTaxonomiesOrBuilderList() { if (taxonomiesBuilder_ != null) { return taxonomiesBuilder_.getMessageOrBuilderList(); } else { @@ -746,56 +871,72 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder getTaxon } } /** + * + * *
      * Required. Taxonomies to be imported.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder addTaxonomiesBuilder() { - return getTaxonomiesFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.getDefaultInstance()); + return getTaxonomiesFieldBuilder() + .addBuilder(com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.getDefaultInstance()); } /** + * + * *
      * Required. Taxonomies to be imported.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder addTaxonomiesBuilder( int index) { - return getTaxonomiesFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.getDefaultInstance()); + return getTaxonomiesFieldBuilder() + .addBuilder( + index, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.getDefaultInstance()); } /** + * + * *
      * Required. Taxonomies to be imported.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getTaxonomiesBuilderList() { + public java.util.List + getTaxonomiesBuilderList() { return getTaxonomiesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder> + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy, + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder, + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder> getTaxonomiesFieldBuilder() { if (taxonomiesBuilder_ == null) { - taxonomiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder>( - taxonomies_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + taxonomiesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy, + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder, + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder>( + taxonomies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); taxonomies_ = null; } return taxonomiesBuilder_; } + @java.lang.Override - 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 +946,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.InlineSource) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.InlineSource) private static final com.google.cloud.datacatalog.v1beta1.InlineSource DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.InlineSource(); } @@ -819,27 +960,27 @@ public static com.google.cloud.datacatalog.v1beta1.InlineSource getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InlineSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InlineSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +995,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.InlineSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSourceOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSourceOrBuilder.java new file mode 100644 index 000000000000..a891618a8a34 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSourceOrBuilder.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/datacatalog/v1beta1/policytagmanagerserialization.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface InlineSourceOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.InlineSource) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Taxonomies to be imported.
+   * 
+ * + * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + java.util.List getTaxonomiesList(); + /** + * + * + *
+   * Required. Taxonomies to be imported.
+   * 
+ * + * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy getTaxonomies(int index); + /** + * + * + *
+   * Required. Taxonomies to be imported.
+   * 
+ * + * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + int getTaxonomiesCount(); + /** + * + * + *
+   * Required. Taxonomies to be imported.
+   * 
+ * + * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + java.util.List + getTaxonomiesOrBuilderList(); + /** + * + * + *
+   * Required. Taxonomies to be imported.
+   * 
+ * + * + * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder getTaxonomiesOrBuilder( + int index); +} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/IntegratedSystem.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/IntegratedSystem.java similarity index 66% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/IntegratedSystem.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/IntegratedSystem.java index aeb2fb2583a6..30ecb0647eab 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/IntegratedSystem.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/IntegratedSystem.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/datacatalog/v1beta1/common.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * This enum describes all the possible systems that Data Catalog integrates
  * with.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.cloud.datacatalog.v1beta1.IntegratedSystem}
  */
-public enum IntegratedSystem
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Default unknown system.
    * 
@@ -22,6 +40,8 @@ public enum IntegratedSystem */ INTEGRATED_SYSTEM_UNSPECIFIED(0), /** + * + * *
    * BigQuery.
    * 
@@ -30,6 +50,8 @@ public enum IntegratedSystem */ BIGQUERY(1), /** + * + * *
    * Cloud Pub/Sub.
    * 
@@ -41,6 +63,8 @@ public enum IntegratedSystem ; /** + * + * *
    * Default unknown system.
    * 
@@ -49,6 +73,8 @@ public enum IntegratedSystem */ public static final int INTEGRATED_SYSTEM_UNSPECIFIED_VALUE = 0; /** + * + * *
    * BigQuery.
    * 
@@ -57,6 +83,8 @@ public enum IntegratedSystem */ public static final int BIGQUERY_VALUE = 1; /** + * + * *
    * Cloud Pub/Sub.
    * 
@@ -65,7 +93,6 @@ public enum IntegratedSystem */ public static final int CLOUD_PUBSUB_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -90,49 +117,49 @@ public static IntegratedSystem valueOf(int value) { */ public static IntegratedSystem forNumber(int value) { switch (value) { - case 0: return INTEGRATED_SYSTEM_UNSPECIFIED; - case 1: return BIGQUERY; - case 2: return CLOUD_PUBSUB; - default: return null; + case 0: + return INTEGRATED_SYSTEM_UNSPECIFIED; + case 1: + return BIGQUERY; + case 2: + return CLOUD_PUBSUB; + 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< - IntegratedSystem> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public IntegratedSystem findValueByNumber(int number) { - return IntegratedSystem.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 IntegratedSystem findValueByNumber(int number) { + return IntegratedSystem.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.datacatalog.v1beta1.Common.getDescriptor().getEnumTypes().get(0); } private static final IntegratedSystem[] VALUES = values(); - public static IntegratedSystem valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static IntegratedSystem valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -148,4 +175,3 @@ private IntegratedSystem(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1beta1.IntegratedSystem) } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequest.java similarity index 71% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequest.java index 9db853b2b46b..ee554854d861 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequest.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Request message for
  * [ListEntries][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntries].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListEntriesRequest}
  */
-public final class ListEntriesRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListEntriesRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ListEntriesRequest)
     ListEntriesRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListEntriesRequest.newBuilder() to construct.
   private ListEntriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListEntriesRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -27,28 +45,32 @@ private ListEntriesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListEntriesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.ListEntriesRequest.class, com.google.cloud.datacatalog.v1beta1.ListEntriesRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.ListEntriesRequest.class,
+            com.google.cloud.datacatalog.v1beta1.ListEntriesRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the entry group that contains the entries, which can
    * be provided in URL format. Example:
@@ -56,7 +78,10 @@ protected java.lang.Object newInstance(
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -65,14 +90,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the entry group that contains the entries, which can
    * be provided in URL format. Example:
@@ -80,17 +106,18 @@ public java.lang.String getParent() {
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
    * 
* - * string parent = 1 [(.google.api.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,12 +128,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * The maximum number of items to return. Default is 10. Max limit is 1000.
    * Throws an invalid argument for `page_size > 1000`.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -115,15 +145,19 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Token that specifies which page is requested. If empty, the first page is
    * returned.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -132,30 +166,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Token that specifies which page is requested. If empty, the first page is
    * returned.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -166,6 +200,8 @@ public java.lang.String getPageToken() { public static final int READ_MASK_FIELD_NUMBER = 4; private com.google.protobuf.FieldMask readMask_; /** + * + * *
    * The fields to return for each Entry. If not set or empty, all
    * fields are returned.
@@ -174,6 +210,7 @@ public java.lang.String getPageToken() {
    * 
* * .google.protobuf.FieldMask read_mask = 4; + * * @return Whether the readMask field is set. */ @java.lang.Override @@ -181,6 +218,8 @@ public boolean hasReadMask() { return readMask_ != null; } /** + * + * *
    * The fields to return for each Entry. If not set or empty, all
    * fields are returned.
@@ -189,6 +228,7 @@ public boolean hasReadMask() {
    * 
* * .google.protobuf.FieldMask read_mask = 4; + * * @return The readMask. */ @java.lang.Override @@ -196,6 +236,8 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** + * + * *
    * The fields to return for each Entry. If not set or empty, all
    * fields are returned.
@@ -211,6 +253,7 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
   }
 
   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_);
     }
@@ -249,15 +291,13 @@ 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_);
     }
     if (readMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getReadMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getReadMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -267,23 +307,20 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.datacatalog.v1beta1.ListEntriesRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1beta1.ListEntriesRequest other = (com.google.cloud.datacatalog.v1beta1.ListEntriesRequest) obj;
-
-    if (!getParent()
-        .equals(other.getParent())) return false;
-    if (getPageSize()
-        != other.getPageSize()) return false;
-    if (!getPageToken()
-        .equals(other.getPageToken())) return false;
+    com.google.cloud.datacatalog.v1beta1.ListEntriesRequest other =
+        (com.google.cloud.datacatalog.v1beta1.ListEntriesRequest) obj;
+
+    if (!getParent().equals(other.getParent())) return false;
+    if (getPageSize() != other.getPageSize()) return false;
+    if (!getPageToken().equals(other.getPageToken())) return false;
     if (hasReadMask() != other.hasReadMask()) return false;
     if (hasReadMask()) {
-      if (!getReadMask()
-          .equals(other.getReadMask())) return false;
+      if (!getReadMask().equals(other.getReadMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -312,98 +349,104 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.ListEntriesRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.datacatalog.v1beta1.ListEntriesRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Request message for
    * [ListEntries][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntries].
@@ -411,33 +454,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListEntriesRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.ListEntriesRequest)
       com.google.cloud.datacatalog.v1beta1.ListEntriesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.ListEntriesRequest.class, com.google.cloud.datacatalog.v1beta1.ListEntriesRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.ListEntriesRequest.class,
+              com.google.cloud.datacatalog.v1beta1.ListEntriesRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.ListEntriesRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        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 +496,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -475,8 +517,11 @@ public com.google.cloud.datacatalog.v1beta1.ListEntriesRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.ListEntriesRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.ListEntriesRequest result = new com.google.cloud.datacatalog.v1beta1.ListEntriesRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.ListEntriesRequest result =
+          new com.google.cloud.datacatalog.v1beta1.ListEntriesRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -493,9 +538,7 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ListEntriesReque
         result.pageToken_ = pageToken_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.readMask_ = readMaskBuilder_ == null
-            ? readMask_
-            : readMaskBuilder_.build();
+        result.readMask_ = readMaskBuilder_ == null ? readMask_ : readMaskBuilder_.build();
       }
     }
 
@@ -503,38 +546,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ListEntriesReque
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.ListEntriesRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListEntriesRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListEntriesRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -542,7 +586,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ListEntriesRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.ListEntriesRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.ListEntriesRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -585,34 +630,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: {
-              input.readMessage(
-                  getReadMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              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:
+              {
+                input.readMessage(getReadMaskFieldBuilder().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) {
@@ -622,10 +670,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the entry group that contains the entries, which can
      * be provided in URL format. Example:
@@ -633,14 +684,16 @@ public Builder mergeFrom(
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
      * 
* - * string parent = 1 [(.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 +702,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the entry group that contains the entries, which can
      * be provided in URL format. Example:
@@ -656,16 +711,17 @@ public java.lang.String getParent() {
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
      * 
* - * string parent = 1 [(.google.api.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 +729,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the entry group that contains the entries, which can
      * be provided in URL format. Example:
@@ -680,19 +738,25 @@ public java.lang.String getParent() {
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the entry group that contains the entries, which can
      * be provided in URL format. Example:
@@ -700,7 +764,10 @@ public Builder setParent(
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
      * 
* - * string 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 +777,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the entry group that contains the entries, which can
      * be provided in URL format. Example:
@@ -717,13 +786,17 @@ public Builder clearParent() {
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
      * 
* - * 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; @@ -731,14 +804,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of items to return. Default is 10. Max limit is 1000.
      * Throws an invalid argument for `page_size > 1000`.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -746,12 +822,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of items to return. Default is 10. Max limit is 1000.
      * Throws an invalid argument for `page_size > 1000`.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -763,12 +842,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of items to return. Default is 10. Max limit is 1000.
      * Throws an invalid argument for `page_size > 1000`.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -780,19 +862,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Token that specifies which page is requested. If empty, the first page is
      * returned.
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -801,21 +885,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Token that specifies which page is requested. If empty, the first page is
      * returned.
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -823,30 +908,37 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Token that specifies which page is requested. If empty, the first page is
      * returned.
      * 
* * string page_token = 3; + * * @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; } /** + * + * *
      * Token that specifies which page is requested. If empty, the first page is
      * returned.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -856,18 +948,22 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Token that specifies which page is requested. If empty, the first page is
      * returned.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - 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; @@ -877,8 +973,13 @@ public Builder setPageTokenBytes( private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + readMaskBuilder_; /** + * + * *
      * The fields to return for each Entry. If not set or empty, all
      * fields are returned.
@@ -887,12 +988,15 @@ public Builder setPageTokenBytes(
      * 
* * .google.protobuf.FieldMask read_mask = 4; + * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * The fields to return for each Entry. If not set or empty, all
      * fields are returned.
@@ -901,6 +1005,7 @@ public boolean hasReadMask() {
      * 
* * .google.protobuf.FieldMask read_mask = 4; + * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -911,6 +1016,8 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** + * + * *
      * The fields to return for each Entry. If not set or empty, all
      * fields are returned.
@@ -934,6 +1041,8 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return for each Entry. If not set or empty, all
      * fields are returned.
@@ -943,8 +1052,7 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask read_mask = 4;
      */
-    public Builder setReadMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (readMaskBuilder_ == null) {
         readMask_ = builderForValue.build();
       } else {
@@ -955,6 +1063,8 @@ public Builder setReadMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return for each Entry. If not set or empty, all
      * fields are returned.
@@ -966,9 +1076,9 @@ public Builder setReadMask(
      */
     public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
       if (readMaskBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0) &&
-          readMask_ != null &&
-          readMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && readMask_ != null
+            && readMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) {
           getReadMaskBuilder().mergeFrom(value);
         } else {
           readMask_ = value;
@@ -981,6 +1091,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return for each Entry. If not set or empty, all
      * fields are returned.
@@ -1001,6 +1113,8 @@ public Builder clearReadMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return for each Entry. If not set or empty, all
      * fields are returned.
@@ -1016,6 +1130,8 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
       return getReadMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The fields to return for each Entry. If not set or empty, all
      * fields are returned.
@@ -1029,11 +1145,12 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
       if (readMaskBuilder_ != null) {
         return readMaskBuilder_.getMessageOrBuilder();
       } else {
-        return readMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : readMask_;
+        return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_;
       }
     }
     /**
+     *
+     *
      * 
      * The fields to return for each Entry. If not set or empty, all
      * fields are returned.
@@ -1044,21 +1161,24 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
      * .google.protobuf.FieldMask read_mask = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getReadMaskFieldBuilder() {
       if (readMaskBuilder_ == null) {
-        readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getReadMask(),
-                getParentForChildren(),
-                isClean());
+        readMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getReadMask(), getParentForChildren(), isClean());
         readMask_ = null;
       }
       return readMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1068,12 +1188,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ListEntriesRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ListEntriesRequest)
   private static final com.google.cloud.datacatalog.v1beta1.ListEntriesRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ListEntriesRequest();
   }
@@ -1082,27 +1202,27 @@ public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest getDefault
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ListEntriesRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ListEntriesRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1117,6 +1237,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1beta1.ListEntriesRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequestOrBuilder.java
similarity index 71%
rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequestOrBuilder.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequestOrBuilder.java
index 72a7fc7d82e6..354a3f8b4b10 100644
--- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequestOrBuilder.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequestOrBuilder.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/datacatalog/v1beta1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1beta1;
 
-public interface ListEntriesRequestOrBuilder extends
+public interface ListEntriesRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ListEntriesRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The name of the entry group that contains the entries, which can
    * be provided in URL format. Example:
@@ -15,11 +33,16 @@ public interface ListEntriesRequestOrBuilder extends
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the entry group that contains the entries, which can
    * be provided in URL format. Example:
@@ -27,46 +50,58 @@ public interface ListEntriesRequestOrBuilder extends
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
    * 
* - * string parent = 1 [(.google.api.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(); /** + * + * *
    * The maximum number of items to return. Default is 10. Max limit is 1000.
    * Throws an invalid argument for `page_size > 1000`.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Token that specifies which page is requested. If empty, the first page is
    * returned.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Token that specifies which page is requested. If empty, the first page is
    * returned.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The fields to return for each Entry. If not set or empty, all
    * fields are returned.
@@ -75,10 +110,13 @@ public interface ListEntriesRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask read_mask = 4; + * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** + * + * *
    * The fields to return for each Entry. If not set or empty, all
    * fields are returned.
@@ -87,10 +125,13 @@ public interface ListEntriesRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask read_mask = 4; + * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** + * + * *
    * The fields to return for each Entry. If not set or empty, all
    * fields are returned.
diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponse.java
similarity index 71%
rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponse.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponse.java
index 9459b761820a..1f40c4da08d5 100644
--- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponse.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponse.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/datacatalog/v1beta1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1beta1;
 
 /**
+ *
+ *
  * 
  * Response message for
  * [ListEntries][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntries].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListEntriesResponse}
  */
-public final class ListEntriesResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListEntriesResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ListEntriesResponse)
     ListEntriesResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListEntriesResponse.newBuilder() to construct.
   private ListEntriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListEntriesResponse() {
     entries_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,28 +45,32 @@ private ListEntriesResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListEntriesResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.ListEntriesResponse.class, com.google.cloud.datacatalog.v1beta1.ListEntriesResponse.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.ListEntriesResponse.class,
+            com.google.cloud.datacatalog.v1beta1.ListEntriesResponse.Builder.class);
   }
 
   public static final int ENTRIES_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List entries_;
   /**
+   *
+   *
    * 
    * Entry details.
    * 
@@ -60,6 +82,8 @@ public java.util.List getEntriesList return entries_; } /** + * + * *
    * Entry details.
    * 
@@ -67,11 +91,13 @@ public java.util.List getEntriesList * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1; */ @java.lang.Override - public java.util.List + public java.util.List getEntriesOrBuilderList() { return entries_; } /** + * + * *
    * Entry details.
    * 
@@ -83,6 +109,8 @@ public int getEntriesCount() { return entries_.size(); } /** + * + * *
    * Entry details.
    * 
@@ -94,6 +122,8 @@ public com.google.cloud.datacatalog.v1beta1.Entry getEntries(int index) { return entries_.get(index); } /** + * + * *
    * Entry details.
    * 
@@ -101,21 +131,24 @@ public com.google.cloud.datacatalog.v1beta1.Entry getEntries(int index) { * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntriesOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntriesOrBuilder(int index) { return entries_.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. It is set to empty if no items
    * remain in results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -124,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. It is set to empty if no items
    * remain in results.
    * 
* * 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 { @@ -156,6 +189,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,8 +201,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < entries_.size(); i++) { output.writeMessage(1, entries_.get(i)); } @@ -185,8 +218,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < entries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, entries_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, entries_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -199,17 +231,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.datacatalog.v1beta1.ListEntriesResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.ListEntriesResponse other = (com.google.cloud.datacatalog.v1beta1.ListEntriesResponse) obj; + com.google.cloud.datacatalog.v1beta1.ListEntriesResponse other = + (com.google.cloud.datacatalog.v1beta1.ListEntriesResponse) obj; - if (!getEntriesList() - .equals(other.getEntriesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getEntriesList().equals(other.getEntriesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -233,98 +264,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.ListEntriesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.ListEntriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for
    * [ListEntries][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntries].
@@ -332,33 +369,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListEntriesResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.ListEntriesResponse)
       com.google.cloud.datacatalog.v1beta1.ListEntriesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.ListEntriesResponse.class, com.google.cloud.datacatalog.v1beta1.ListEntriesResponse.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.ListEntriesResponse.class,
+              com.google.cloud.datacatalog.v1beta1.ListEntriesResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.ListEntriesResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -375,9 +411,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_descriptor;
     }
 
     @java.lang.Override
@@ -396,14 +432,18 @@ public com.google.cloud.datacatalog.v1beta1.ListEntriesResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.ListEntriesResponse buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.ListEntriesResponse result = new com.google.cloud.datacatalog.v1beta1.ListEntriesResponse(this);
+      com.google.cloud.datacatalog.v1beta1.ListEntriesResponse result =
+          new com.google.cloud.datacatalog.v1beta1.ListEntriesResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.ListEntriesResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.datacatalog.v1beta1.ListEntriesResponse result) {
       if (entriesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           entries_ = java.util.Collections.unmodifiableList(entries_);
@@ -426,38 +466,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ListEntriesRespo
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.ListEntriesResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListEntriesResponse)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListEntriesResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -465,7 +506,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ListEntriesResponse other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.ListEntriesResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.ListEntriesResponse.getDefaultInstance())
+        return this;
       if (entriesBuilder_ == null) {
         if (!other.entries_.isEmpty()) {
           if (entries_.isEmpty()) {
@@ -484,9 +526,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ListEntriesRespons
             entriesBuilder_ = null;
             entries_ = other.entries_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            entriesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getEntriesFieldBuilder() : null;
+            entriesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getEntriesFieldBuilder()
+                    : null;
           } else {
             entriesBuilder_.addAllMessages(other.entries_);
           }
@@ -523,30 +566,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.datacatalog.v1beta1.Entry m =
-                  input.readMessage(
-                      com.google.cloud.datacatalog.v1beta1.Entry.parser(),
-                      extensionRegistry);
-              if (entriesBuilder_ == null) {
-                ensureEntriesIsMutable();
-                entries_.add(m);
-              } else {
-                entriesBuilder_.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.datacatalog.v1beta1.Entry m =
+                    input.readMessage(
+                        com.google.cloud.datacatalog.v1beta1.Entry.parser(), extensionRegistry);
+                if (entriesBuilder_ == null) {
+                  ensureEntriesIsMutable();
+                  entries_.add(m);
+                } else {
+                  entriesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -556,21 +601,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List entries_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureEntriesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         entries_ = new java.util.ArrayList(entries_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.datacatalog.v1beta1.Entry, com.google.cloud.datacatalog.v1beta1.Entry.Builder, com.google.cloud.datacatalog.v1beta1.EntryOrBuilder> entriesBuilder_;
+            com.google.cloud.datacatalog.v1beta1.Entry,
+            com.google.cloud.datacatalog.v1beta1.Entry.Builder,
+            com.google.cloud.datacatalog.v1beta1.EntryOrBuilder>
+        entriesBuilder_;
 
     /**
+     *
+     *
      * 
      * Entry details.
      * 
@@ -585,6 +637,8 @@ public java.util.List getEntriesList } } /** + * + * *
      * Entry details.
      * 
@@ -599,6 +653,8 @@ public int getEntriesCount() { } } /** + * + * *
      * Entry details.
      * 
@@ -613,14 +669,15 @@ public com.google.cloud.datacatalog.v1beta1.Entry getEntries(int index) { } } /** + * + * *
      * Entry details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1; */ - public Builder setEntries( - int index, com.google.cloud.datacatalog.v1beta1.Entry value) { + public Builder setEntries(int index, com.google.cloud.datacatalog.v1beta1.Entry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -634,6 +691,8 @@ public Builder setEntries( return this; } /** + * + * *
      * Entry details.
      * 
@@ -652,6 +711,8 @@ public Builder setEntries( return this; } /** + * + * *
      * Entry details.
      * 
@@ -672,14 +733,15 @@ public Builder addEntries(com.google.cloud.datacatalog.v1beta1.Entry value) { return this; } /** + * + * *
      * Entry details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1; */ - public Builder addEntries( - int index, com.google.cloud.datacatalog.v1beta1.Entry value) { + public Builder addEntries(int index, com.google.cloud.datacatalog.v1beta1.Entry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -693,14 +755,15 @@ public Builder addEntries( return this; } /** + * + * *
      * Entry details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1; */ - public Builder addEntries( - com.google.cloud.datacatalog.v1beta1.Entry.Builder builderForValue) { + public Builder addEntries(com.google.cloud.datacatalog.v1beta1.Entry.Builder builderForValue) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.add(builderForValue.build()); @@ -711,6 +774,8 @@ public Builder addEntries( return this; } /** + * + * *
      * Entry details.
      * 
@@ -729,6 +794,8 @@ public Builder addEntries( return this; } /** + * + * *
      * Entry details.
      * 
@@ -739,8 +806,7 @@ public Builder addAllEntries( java.lang.Iterable values) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, entries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entries_); onChanged(); } else { entriesBuilder_.addAllMessages(values); @@ -748,6 +814,8 @@ public Builder addAllEntries( return this; } /** + * + * *
      * Entry details.
      * 
@@ -765,6 +833,8 @@ public Builder clearEntries() { return this; } /** + * + * *
      * Entry details.
      * 
@@ -782,39 +852,44 @@ public Builder removeEntries(int index) { return this; } /** + * + * *
      * Entry details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1; */ - public com.google.cloud.datacatalog.v1beta1.Entry.Builder getEntriesBuilder( - int index) { + public com.google.cloud.datacatalog.v1beta1.Entry.Builder getEntriesBuilder(int index) { return getEntriesFieldBuilder().getBuilder(index); } /** + * + * *
      * Entry details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1; */ - public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntriesOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntriesOrBuilder(int index) { if (entriesBuilder_ == null) { - return entries_.get(index); } else { + return entries_.get(index); + } else { return entriesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Entry details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1; */ - public java.util.List - getEntriesOrBuilderList() { + public java.util.List + getEntriesOrBuilderList() { if (entriesBuilder_ != null) { return entriesBuilder_.getMessageOrBuilderList(); } else { @@ -822,6 +897,8 @@ public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntriesOrBuilder( } } /** + * + * *
      * Entry details.
      * 
@@ -829,42 +906,48 @@ public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntriesOrBuilder( * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1; */ public com.google.cloud.datacatalog.v1beta1.Entry.Builder addEntriesBuilder() { - return getEntriesFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance()); + return getEntriesFieldBuilder() + .addBuilder(com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance()); } /** + * + * *
      * Entry details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1; */ - public com.google.cloud.datacatalog.v1beta1.Entry.Builder addEntriesBuilder( - int index) { - return getEntriesFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance()); + public com.google.cloud.datacatalog.v1beta1.Entry.Builder addEntriesBuilder(int index) { + return getEntriesFieldBuilder() + .addBuilder(index, com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance()); } /** + * + * *
      * Entry details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1; */ - public java.util.List - getEntriesBuilderList() { + public java.util.List + getEntriesBuilderList() { return getEntriesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Entry, com.google.cloud.datacatalog.v1beta1.Entry.Builder, com.google.cloud.datacatalog.v1beta1.EntryOrBuilder> + com.google.cloud.datacatalog.v1beta1.Entry, + com.google.cloud.datacatalog.v1beta1.Entry.Builder, + com.google.cloud.datacatalog.v1beta1.EntryOrBuilder> getEntriesFieldBuilder() { if (entriesBuilder_ == null) { - entriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Entry, com.google.cloud.datacatalog.v1beta1.Entry.Builder, com.google.cloud.datacatalog.v1beta1.EntryOrBuilder>( - entries_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + entriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.Entry, + com.google.cloud.datacatalog.v1beta1.Entry.Builder, + com.google.cloud.datacatalog.v1beta1.EntryOrBuilder>( + entries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); entries_ = null; } return entriesBuilder_; @@ -872,19 +955,21 @@ public com.google.cloud.datacatalog.v1beta1.Entry.Builder addEntriesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to retrieve the next page of results. It is set to empty if no items
      * remain in results.
      * 
* * 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; @@ -893,21 +978,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results. It is set to empty if no items
      * remain in results.
      * 
* * 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 { @@ -915,30 +1001,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results. It is set to empty if no items
      * remain in results.
      * 
* * 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. It is set to empty if no items
      * remain in results.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -948,27 +1041,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Token to retrieve the next page of results. It is set to empty if no items
      * remain in results.
      * 
* * 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); } @@ -978,12 +1075,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ListEntriesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ListEntriesResponse) private static final com.google.cloud.datacatalog.v1beta1.ListEntriesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ListEntriesResponse(); } @@ -992,27 +1089,27 @@ public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEntriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEntriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +1124,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.ListEntriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponseOrBuilder.java similarity index 66% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponseOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponseOrBuilder.java index 4c5306f4cd91..f076837c2236 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponseOrBuilder.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface ListEntriesResponseOrBuilder extends +public interface ListEntriesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ListEntriesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Entry details.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1; */ - java.util.List - getEntriesList(); + java.util.List getEntriesList(); /** + * + * *
    * Entry details.
    * 
@@ -25,6 +44,8 @@ public interface ListEntriesResponseOrBuilder extends */ com.google.cloud.datacatalog.v1beta1.Entry getEntries(int index); /** + * + * *
    * Entry details.
    * 
@@ -33,43 +54,51 @@ public interface ListEntriesResponseOrBuilder extends */ int getEntriesCount(); /** + * + * *
    * Entry details.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1; */ - java.util.List + java.util.List getEntriesOrBuilderList(); /** + * + * *
    * Entry details.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1; */ - com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntriesOrBuilder( - int index); + com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntriesOrBuilder(int index); /** + * + * *
    * Token to retrieve the next page of results. It is set to empty if no items
    * remain in results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results. It is set to empty if no items
    * remain in results.
    * 
* * 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-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequest.java similarity index 67% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequest.java index 8e592b40522b..a276d533ff9f 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequest.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Request message for
  * [ListEntryGroups][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntryGroups].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest}
  */
-public final class ListEntryGroupsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListEntryGroupsRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest)
     ListEntryGroupsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListEntryGroupsRequest.newBuilder() to construct.
   private ListEntryGroupsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListEntryGroupsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -27,28 +45,32 @@ private ListEntryGroupsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListEntryGroupsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest.class, com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest.class,
+            com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the location that contains the entry groups, which
    * can be provided in URL format. Example:
@@ -56,7 +78,10 @@ protected java.lang.Object newInstance(
    * * projects/{project_id}/locations/{location}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -65,14 +90,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the location that contains the entry groups, which
    * can be provided in URL format. Example:
@@ -80,17 +106,18 @@ public java.lang.String getParent() {
    * * projects/{project_id}/locations/{location}
    * 
* - * string parent = 1 [(.google.api.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,12 +128,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. The maximum number of items to return. Default is 10. Max limit
    * is 1000. Throws an invalid argument for `page_size > 1000`.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -115,15 +145,19 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. Token that specifies which page is requested. If empty, the first
    * page is returned.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -132,30 +166,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Token that specifies which page is requested. If empty, the first
    * page is returned.
    * 
* * 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.datacatalog.v1beta1.ListEntryGroupsRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest other = (com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest) obj; + com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest other = + (com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest) 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,98 +280,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [ListEntryGroups][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntryGroups].
@@ -348,33 +385,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest)
       com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest.class, com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest.class,
+              com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -386,9 +422,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -407,8 +443,11 @@ public com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest result = new com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest result =
+          new com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -430,38 +469,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ListEntryGroupsR
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -469,7 +509,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -509,27 +550,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) {
@@ -539,10 +584,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the location that contains the entry groups, which
      * can be provided in URL format. Example:
@@ -550,14 +598,16 @@ public Builder mergeFrom(
      * * projects/{project_id}/locations/{location}
      * 
* - * string parent = 1 [(.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; @@ -566,6 +616,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the location that contains the entry groups, which
      * can be provided in URL format. Example:
@@ -573,16 +625,17 @@ public java.lang.String getParent() {
      * * projects/{project_id}/locations/{location}
      * 
* - * string parent = 1 [(.google.api.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 { @@ -590,6 +643,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the location that contains the entry groups, which
      * can be provided in URL format. Example:
@@ -597,19 +652,25 @@ public java.lang.String getParent() {
      * * projects/{project_id}/locations/{location}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the location that contains the entry groups, which
      * can be provided in URL format. Example:
@@ -617,7 +678,10 @@ public Builder setParent(
      * * projects/{project_id}/locations/{location}
      * 
* - * string 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() { @@ -627,6 +691,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the location that contains the entry groups, which
      * can be provided in URL format. Example:
@@ -634,13 +700,17 @@ public Builder clearParent() {
      * * projects/{project_id}/locations/{location}
      * 
* - * 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; @@ -648,14 +718,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. The maximum number of items to return. Default is 10. Max limit
      * is 1000. Throws an invalid argument for `page_size > 1000`.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -663,12 +736,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The maximum number of items to return. Default is 10. Max limit
      * is 1000. Throws an invalid argument for `page_size > 1000`.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -680,12 +756,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. The maximum number of items to return. Default is 10. Max limit
      * is 1000. Throws an invalid argument for `page_size > 1000`.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -697,19 +776,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Token that specifies which page is requested. If empty, the first
      * page is returned.
      * 
* * 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; @@ -718,21 +799,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Token that specifies which page is requested. If empty, the first
      * page is returned.
      * 
* * 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 { @@ -740,30 +822,37 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Token that specifies which page is requested. If empty, the first
      * page is returned.
      * 
* * 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. Token that specifies which page is requested. If empty, the first
      * page is returned.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -773,27 +862,31 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. Token that specifies which page is requested. If empty, the first
      * page is returned.
      * 
* * 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); } @@ -803,12 +896,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest) private static final com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest(); } @@ -817,27 +910,27 @@ public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEntryGroupsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEntryGroupsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -852,6 +945,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequestOrBuilder.java index c8432264f101..c8f937dff214 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequestOrBuilder.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface ListEntryGroupsRequestOrBuilder extends +public interface ListEntryGroupsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the location that contains the entry groups, which
    * can be provided in URL format. Example:
@@ -15,11 +33,16 @@ public interface ListEntryGroupsRequestOrBuilder extends
    * * projects/{project_id}/locations/{location}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the location that contains the entry groups, which
    * can be provided in URL format. Example:
@@ -27,42 +50,52 @@ public interface ListEntryGroupsRequestOrBuilder extends
    * * projects/{project_id}/locations/{location}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. The maximum number of items to return. Default is 10. Max limit
    * is 1000. Throws an invalid argument for `page_size > 1000`.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Token that specifies which page is requested. If empty, the first
    * page is returned.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Token that specifies which page is requested. If empty, the first
    * page is returned.
    * 
* * 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-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponse.java similarity index 71% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponse.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponse.java index 53b49d33d5c8..22fceeb240a9 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponse.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Response message for
  * [ListEntryGroups][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntryGroups].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse}
  */
-public final class ListEntryGroupsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListEntryGroupsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse)
     ListEntryGroupsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListEntryGroupsResponse.newBuilder() to construct.
   private ListEntryGroupsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListEntryGroupsResponse() {
     entryGroups_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,28 +45,32 @@ private ListEntryGroupsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListEntryGroupsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse.class, com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse.class,
+            com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse.Builder.class);
   }
 
   public static final int ENTRY_GROUPS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List entryGroups_;
   /**
+   *
+   *
    * 
    * EntryGroup details.
    * 
@@ -60,6 +82,8 @@ public java.util.List getEntryG return entryGroups_; } /** + * + * *
    * EntryGroup details.
    * 
@@ -67,11 +91,13 @@ public java.util.List getEntryG * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1; */ @java.lang.Override - public java.util.List + public java.util.List getEntryGroupsOrBuilderList() { return entryGroups_; } /** + * + * *
    * EntryGroup details.
    * 
@@ -83,6 +109,8 @@ public int getEntryGroupsCount() { return entryGroups_.size(); } /** + * + * *
    * EntryGroup details.
    * 
@@ -94,6 +122,8 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroups(int index) return entryGroups_.get(index); } /** + * + * *
    * EntryGroup details.
    * 
@@ -107,15 +137,19 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupsOr } 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. It is set to empty if no items
    * remain in results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -124,30 +158,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. It is set to empty if no items
    * remain in results.
    * 
* * 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 { @@ -156,6 +190,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,8 +202,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < entryGroups_.size(); i++) { output.writeMessage(1, entryGroups_.get(i)); } @@ -185,8 +219,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < entryGroups_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, entryGroups_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, entryGroups_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -199,17 +232,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.datacatalog.v1beta1.ListEntryGroupsResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse other = (com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse) obj; + com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse other = + (com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse) obj; - if (!getEntryGroupsList() - .equals(other.getEntryGroupsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getEntryGroupsList().equals(other.getEntryGroupsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -233,98 +265,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for
    * [ListEntryGroups][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntryGroups].
@@ -332,33 +370,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse)
       com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse.class, com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse.class,
+              com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -375,13 +412,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse getDefaultInstanceForType() {
+    public com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse
+        getDefaultInstanceForType() {
       return com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse.getDefaultInstance();
     }
 
@@ -396,14 +434,18 @@ public com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse result = new com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse(this);
+      com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse result =
+          new com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse result) {
       if (entryGroupsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           entryGroups_ = java.util.Collections.unmodifiableList(entryGroups_);
@@ -415,7 +457,8 @@ private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.Lis
       }
     }
 
-    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse result) {
+    private void buildPartial0(
+        com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.nextPageToken_ = nextPageToken_;
@@ -426,38 +469,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ListEntryGroupsR
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -465,7 +509,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse.getDefaultInstance())
+        return this;
       if (entryGroupsBuilder_ == null) {
         if (!other.entryGroups_.isEmpty()) {
           if (entryGroups_.isEmpty()) {
@@ -484,9 +530,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRes
             entryGroupsBuilder_ = null;
             entryGroups_ = other.entryGroups_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            entryGroupsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getEntryGroupsFieldBuilder() : null;
+            entryGroupsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getEntryGroupsFieldBuilder()
+                    : null;
           } else {
             entryGroupsBuilder_.addAllMessages(other.entryGroups_);
           }
@@ -523,30 +570,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.datacatalog.v1beta1.EntryGroup m =
-                  input.readMessage(
-                      com.google.cloud.datacatalog.v1beta1.EntryGroup.parser(),
-                      extensionRegistry);
-              if (entryGroupsBuilder_ == null) {
-                ensureEntryGroupsIsMutable();
-                entryGroups_.add(m);
-              } else {
-                entryGroupsBuilder_.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.datacatalog.v1beta1.EntryGroup m =
+                    input.readMessage(
+                        com.google.cloud.datacatalog.v1beta1.EntryGroup.parser(),
+                        extensionRegistry);
+                if (entryGroupsBuilder_ == null) {
+                  ensureEntryGroupsIsMutable();
+                  entryGroups_.add(m);
+                } else {
+                  entryGroupsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -556,21 +606,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List entryGroups_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureEntryGroupsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        entryGroups_ = new java.util.ArrayList(entryGroups_);
+        entryGroups_ =
+            new java.util.ArrayList(entryGroups_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.datacatalog.v1beta1.EntryGroup, com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder, com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder> entryGroupsBuilder_;
+            com.google.cloud.datacatalog.v1beta1.EntryGroup,
+            com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder,
+            com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder>
+        entryGroupsBuilder_;
 
     /**
+     *
+     *
      * 
      * EntryGroup details.
      * 
@@ -585,6 +643,8 @@ public java.util.List getEntryG } } /** + * + * *
      * EntryGroup details.
      * 
@@ -599,6 +659,8 @@ public int getEntryGroupsCount() { } } /** + * + * *
      * EntryGroup details.
      * 
@@ -613,6 +675,8 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroups(int index) } } /** + * + * *
      * EntryGroup details.
      * 
@@ -634,6 +698,8 @@ public Builder setEntryGroups( return this; } /** + * + * *
      * EntryGroup details.
      * 
@@ -652,6 +718,8 @@ public Builder setEntryGroups( return this; } /** + * + * *
      * EntryGroup details.
      * 
@@ -672,6 +740,8 @@ public Builder addEntryGroups(com.google.cloud.datacatalog.v1beta1.EntryGroup va return this; } /** + * + * *
      * EntryGroup details.
      * 
@@ -693,6 +763,8 @@ public Builder addEntryGroups( return this; } /** + * + * *
      * EntryGroup details.
      * 
@@ -711,6 +783,8 @@ public Builder addEntryGroups( return this; } /** + * + * *
      * EntryGroup details.
      * 
@@ -729,6 +803,8 @@ public Builder addEntryGroups( return this; } /** + * + * *
      * EntryGroup details.
      * 
@@ -739,8 +815,7 @@ public Builder addAllEntryGroups( java.lang.Iterable values) { if (entryGroupsBuilder_ == null) { ensureEntryGroupsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, entryGroups_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entryGroups_); onChanged(); } else { entryGroupsBuilder_.addAllMessages(values); @@ -748,6 +823,8 @@ public Builder addAllEntryGroups( return this; } /** + * + * *
      * EntryGroup details.
      * 
@@ -765,6 +842,8 @@ public Builder clearEntryGroups() { return this; } /** + * + * *
      * EntryGroup details.
      * 
@@ -782,6 +861,8 @@ public Builder removeEntryGroups(int index) { return this; } /** + * + * *
      * EntryGroup details.
      * 
@@ -793,6 +874,8 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder getEntryGroupsBui return getEntryGroupsFieldBuilder().getBuilder(index); } /** + * + * *
      * EntryGroup details.
      * 
@@ -802,19 +885,22 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder getEntryGroupsBui public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupsOrBuilder( int index) { if (entryGroupsBuilder_ == null) { - return entryGroups_.get(index); } else { + return entryGroups_.get(index); + } else { return entryGroupsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * EntryGroup details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1; */ - public java.util.List - getEntryGroupsOrBuilderList() { + public java.util.List + getEntryGroupsOrBuilderList() { if (entryGroupsBuilder_ != null) { return entryGroupsBuilder_.getMessageOrBuilderList(); } else { @@ -822,6 +908,8 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupsOr } } /** + * + * *
      * EntryGroup details.
      * 
@@ -829,10 +917,12 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupsOr * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1; */ public com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder addEntryGroupsBuilder() { - return getEntryGroupsFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance()); + return getEntryGroupsFieldBuilder() + .addBuilder(com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance()); } /** + * + * *
      * EntryGroup details.
      * 
@@ -841,30 +931,35 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder addEntryGroupsBui */ public com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder addEntryGroupsBuilder( int index) { - return getEntryGroupsFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance()); + return getEntryGroupsFieldBuilder() + .addBuilder(index, com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance()); } /** + * + * *
      * EntryGroup details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1; */ - public java.util.List - getEntryGroupsBuilderList() { + public java.util.List + getEntryGroupsBuilderList() { return getEntryGroupsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.EntryGroup, com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder, com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder> + com.google.cloud.datacatalog.v1beta1.EntryGroup, + com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder, + com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder> getEntryGroupsFieldBuilder() { if (entryGroupsBuilder_ == null) { - entryGroupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.EntryGroup, com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder, com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder>( - entryGroups_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + entryGroupsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.EntryGroup, + com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder, + com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder>( + entryGroups_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); entryGroups_ = null; } return entryGroupsBuilder_; @@ -872,19 +967,21 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder addEntryGroupsBui private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to retrieve the next page of results. It is set to empty if no items
      * remain in results.
      * 
* * 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; @@ -893,21 +990,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results. It is set to empty if no items
      * remain in results.
      * 
* * 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 { @@ -915,30 +1013,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results. It is set to empty if no items
      * remain in results.
      * 
* * 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. It is set to empty if no items
      * remain in results.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -948,27 +1053,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Token to retrieve the next page of results. It is set to empty if no items
      * remain in results.
      * 
* * 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); } @@ -978,12 +1087,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse) - private static final com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse(); } @@ -992,27 +1102,27 @@ public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEntryGroupsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEntryGroupsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +1137,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponseOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponseOrBuilder.java index 4f9c387df545..ed0673b8034f 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponseOrBuilder.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface ListEntryGroupsResponseOrBuilder extends +public interface ListEntryGroupsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * EntryGroup details.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1; */ - java.util.List - getEntryGroupsList(); + java.util.List getEntryGroupsList(); /** + * + * *
    * EntryGroup details.
    * 
@@ -25,6 +44,8 @@ public interface ListEntryGroupsResponseOrBuilder extends */ com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroups(int index); /** + * + * *
    * EntryGroup details.
    * 
@@ -33,43 +54,51 @@ public interface ListEntryGroupsResponseOrBuilder extends */ int getEntryGroupsCount(); /** + * + * *
    * EntryGroup details.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1; */ - java.util.List + java.util.List getEntryGroupsOrBuilderList(); /** + * + * *
    * EntryGroup details.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1; */ - com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupsOrBuilder( - int index); + com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupsOrBuilder(int index); /** + * + * *
    * Token to retrieve the next page of results. It is set to empty if no items
    * remain in results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results. It is set to empty if no items
    * remain in results.
    * 
* * 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-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequest.java similarity index 67% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequest.java index d73c84a64582..4d1367d106a5 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequest.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/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Request message for
  * [ListPolicyTags][google.cloud.datacatalog.v1beta1.PolicyTagManager.ListPolicyTags].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest}
  */
-public final class ListPolicyTagsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListPolicyTagsRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest)
     ListPolicyTagsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListPolicyTagsRequest.newBuilder() to construct.
   private ListPolicyTagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListPolicyTagsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -27,33 +45,40 @@ private ListPolicyTagsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListPolicyTagsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest.class, com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest.class,
+            com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. Resource name of the taxonomy to list the policy tags of.
    * 
* - * string parent = 1 [(.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,29 +87,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. Resource name of the taxonomy to list the policy tags of.
    * 
* - * string parent = 1 [(.google.api.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,12 +122,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * The maximum number of items to return. Must be a value between 1 and 1000.
    * If not set, defaults to 50.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -109,15 +139,19 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * The next_page_token value returned from a previous List request, if any. If
    * not set, defaults to an empty string.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -126,30 +160,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The next_page_token value returned from a previous List request, if any. If
    * not set, defaults to an empty string.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -158,6 +192,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -169,8 +204,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -193,8 +227,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_); @@ -207,19 +240,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.datacatalog.v1beta1.ListPolicyTagsRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest other = (com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest) obj; + com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest other = + (com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest) 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; } @@ -243,98 +274,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [ListPolicyTags][google.cloud.datacatalog.v1beta1.PolicyTagManager.ListPolicyTags].
@@ -342,33 +379,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest)
       com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest.class, com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest.class,
+              com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -380,9 +416,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -401,8 +437,11 @@ public com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest result = new com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest result =
+          new com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -424,38 +463,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRe
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest) 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.datacatalog.v1beta1.ListPolicyTagsRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -503,27 +544,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) {
@@ -533,22 +578,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. Resource name of the taxonomy to list the policy tags of.
      * 
* - * string parent = 1 [(.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; @@ -557,20 +607,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the taxonomy to list the policy tags of.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -578,28 +631,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the taxonomy to list the policy tags of.
      * 
* - * 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. Resource name of the taxonomy to list the policy tags of.
      * 
* - * string 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() { @@ -609,17 +673,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Resource name of the taxonomy to list the policy tags of.
      * 
* - * 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; @@ -627,14 +697,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of items to return. Must be a value between 1 and 1000.
      * If not set, defaults to 50.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -642,12 +715,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of items to return. Must be a value between 1 and 1000.
      * If not set, defaults to 50.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -659,12 +735,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of items to return. Must be a value between 1 and 1000.
      * If not set, defaults to 50.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -676,19 +755,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous List request, if any. If
      * not set, defaults to an empty string.
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -697,21 +778,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous List request, if any. If
      * not set, defaults to an empty string.
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -719,30 +801,37 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous List request, if any. If
      * not set, defaults to an empty string.
      * 
* * string page_token = 3; + * * @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; } /** + * + * *
      * The next_page_token value returned from a previous List request, if any. If
      * not set, defaults to an empty string.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -752,27 +841,31 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * The next_page_token value returned from a previous List request, if any. If
      * not set, defaults to an empty string.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - 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); } @@ -782,12 +875,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest) private static final com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest(); } @@ -796,27 +889,27 @@ public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPolicyTagsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPolicyTagsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +924,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequestOrBuilder.java index 46b8a8452e17..2f2b6e491b24 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequestOrBuilder.java @@ -1,62 +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/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; -public interface ListPolicyTagsRequestOrBuilder extends +public interface ListPolicyTagsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the taxonomy to list the policy tags of.
    * 
* - * string parent = 1 [(.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. Resource name of the taxonomy to list the policy tags of.
    * 
* - * string parent = 1 [(.google.api.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(); /** + * + * *
    * The maximum number of items to return. Must be a value between 1 and 1000.
    * If not set, defaults to 50.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous List request, if any. If
    * not set, defaults to an empty string.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous List request, if any. If
    * not set, defaults to an empty string.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponse.java similarity index 72% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponse.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponse.java index ef0bf6ad232a..5bb0905f5e6a 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponse.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/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Response message for
  * [ListPolicyTags][google.cloud.datacatalog.v1beta1.PolicyTagManager.ListPolicyTags].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse}
  */
-public final class ListPolicyTagsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListPolicyTagsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse)
     ListPolicyTagsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListPolicyTagsResponse.newBuilder() to construct.
   private ListPolicyTagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListPolicyTagsResponse() {
     policyTags_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,28 +45,32 @@ private ListPolicyTagsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListPolicyTagsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse.class, com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse.class,
+            com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse.Builder.class);
   }
 
   public static final int POLICY_TAGS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List policyTags_;
   /**
+   *
+   *
    * 
    * The policy tags that are in the requested taxonomy.
    * 
@@ -60,6 +82,8 @@ public java.util.List getPolicyT return policyTags_; } /** + * + * *
    * The policy tags that are in the requested taxonomy.
    * 
@@ -67,11 +91,13 @@ public java.util.List getPolicyT * repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPolicyTagsOrBuilderList() { return policyTags_; } /** + * + * *
    * The policy tags that are in the requested taxonomy.
    * 
@@ -83,6 +109,8 @@ public int getPolicyTagsCount() { return policyTags_.size(); } /** + * + * *
    * The policy tags that are in the requested taxonomy.
    * 
@@ -94,6 +122,8 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTag getPolicyTags(int index) { return policyTags_.get(index); } /** + * + * *
    * The policy tags that are in the requested taxonomy.
    * 
@@ -101,21 +131,24 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTag getPolicyTags(int index) { * repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagsOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagsOrBuilder(int index) { return policyTags_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Token used 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 @@ -124,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 used 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 { @@ -156,6 +189,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,8 +201,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < policyTags_.size(); i++) { output.writeMessage(1, policyTags_.get(i)); } @@ -185,8 +218,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < policyTags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, policyTags_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, policyTags_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -199,17 +231,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.datacatalog.v1beta1.ListPolicyTagsResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse other = (com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse) obj; + com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse other = + (com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse) obj; - if (!getPolicyTagsList() - .equals(other.getPolicyTagsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getPolicyTagsList().equals(other.getPolicyTagsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -233,98 +264,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for
    * [ListPolicyTags][google.cloud.datacatalog.v1beta1.PolicyTagManager.ListPolicyTags].
@@ -332,33 +369,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse)
       com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse.class, com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse.class,
+              com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -375,9 +411,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -396,14 +432,18 @@ public com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse result = new com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse(this);
+      com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse result =
+          new com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse result) {
       if (policyTagsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           policyTags_ = java.util.Collections.unmodifiableList(policyTags_);
@@ -426,38 +466,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRe
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -465,7 +506,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse.getDefaultInstance())
+        return this;
       if (policyTagsBuilder_ == null) {
         if (!other.policyTags_.isEmpty()) {
           if (policyTags_.isEmpty()) {
@@ -484,9 +526,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResp
             policyTagsBuilder_ = null;
             policyTags_ = other.policyTags_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            policyTagsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getPolicyTagsFieldBuilder() : null;
+            policyTagsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getPolicyTagsFieldBuilder()
+                    : null;
           } else {
             policyTagsBuilder_.addAllMessages(other.policyTags_);
           }
@@ -523,30 +566,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.datacatalog.v1beta1.PolicyTag m =
-                  input.readMessage(
-                      com.google.cloud.datacatalog.v1beta1.PolicyTag.parser(),
-                      extensionRegistry);
-              if (policyTagsBuilder_ == null) {
-                ensurePolicyTagsIsMutable();
-                policyTags_.add(m);
-              } else {
-                policyTagsBuilder_.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.datacatalog.v1beta1.PolicyTag m =
+                    input.readMessage(
+                        com.google.cloud.datacatalog.v1beta1.PolicyTag.parser(), extensionRegistry);
+                if (policyTagsBuilder_ == null) {
+                  ensurePolicyTagsIsMutable();
+                  policyTags_.add(m);
+                } else {
+                  policyTagsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -556,21 +601,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List policyTags_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensurePolicyTagsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        policyTags_ = new java.util.ArrayList(policyTags_);
+        policyTags_ =
+            new java.util.ArrayList(policyTags_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.datacatalog.v1beta1.PolicyTag, com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder, com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder> policyTagsBuilder_;
+            com.google.cloud.datacatalog.v1beta1.PolicyTag,
+            com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder,
+            com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder>
+        policyTagsBuilder_;
 
     /**
+     *
+     *
      * 
      * The policy tags that are in the requested taxonomy.
      * 
@@ -585,6 +638,8 @@ public java.util.List getPolicyT } } /** + * + * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -599,6 +654,8 @@ public int getPolicyTagsCount() { } } /** + * + * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -613,14 +670,15 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTag getPolicyTags(int index) { } } /** + * + * *
      * The policy tags that are in the requested taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1; */ - public Builder setPolicyTags( - int index, com.google.cloud.datacatalog.v1beta1.PolicyTag value) { + public Builder setPolicyTags(int index, com.google.cloud.datacatalog.v1beta1.PolicyTag value) { if (policyTagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -634,6 +692,8 @@ public Builder setPolicyTags( return this; } /** + * + * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -652,6 +712,8 @@ public Builder setPolicyTags( return this; } /** + * + * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -672,14 +734,15 @@ public Builder addPolicyTags(com.google.cloud.datacatalog.v1beta1.PolicyTag valu return this; } /** + * + * *
      * The policy tags that are in the requested taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1; */ - public Builder addPolicyTags( - int index, com.google.cloud.datacatalog.v1beta1.PolicyTag value) { + public Builder addPolicyTags(int index, com.google.cloud.datacatalog.v1beta1.PolicyTag value) { if (policyTagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -693,6 +756,8 @@ public Builder addPolicyTags( return this; } /** + * + * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -711,6 +776,8 @@ public Builder addPolicyTags( return this; } /** + * + * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -729,6 +796,8 @@ public Builder addPolicyTags( return this; } /** + * + * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -739,8 +808,7 @@ public Builder addAllPolicyTags( java.lang.Iterable values) { if (policyTagsBuilder_ == null) { ensurePolicyTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, policyTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, policyTags_); onChanged(); } else { policyTagsBuilder_.addAllMessages(values); @@ -748,6 +816,8 @@ public Builder addAllPolicyTags( return this; } /** + * + * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -765,6 +835,8 @@ public Builder clearPolicyTags() { return this; } /** + * + * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -782,17 +854,20 @@ public Builder removePolicyTags(int index) { return this; } /** + * + * *
      * The policy tags that are in the requested taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1; */ - public com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder getPolicyTagsBuilder( - int index) { + public com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder getPolicyTagsBuilder(int index) { return getPolicyTagsFieldBuilder().getBuilder(index); } /** + * + * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -802,19 +877,22 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder getPolicyTagsBuild public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagsOrBuilder( int index) { if (policyTagsBuilder_ == null) { - return policyTags_.get(index); } else { + return policyTags_.get(index); + } else { return policyTagsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The policy tags that are in the requested taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1; */ - public java.util.List - getPolicyTagsOrBuilderList() { + public java.util.List + getPolicyTagsOrBuilderList() { if (policyTagsBuilder_ != null) { return policyTagsBuilder_.getMessageOrBuilderList(); } else { @@ -822,6 +900,8 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagsOrBu } } /** + * + * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -829,42 +909,48 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagsOrBu * repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1; */ public com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder addPolicyTagsBuilder() { - return getPolicyTagsFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance()); + return getPolicyTagsFieldBuilder() + .addBuilder(com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance()); } /** + * + * *
      * The policy tags that are in the requested taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1; */ - public com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder addPolicyTagsBuilder( - int index) { - return getPolicyTagsFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance()); + public com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder addPolicyTagsBuilder(int index) { + return getPolicyTagsFieldBuilder() + .addBuilder(index, com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance()); } /** + * + * *
      * The policy tags that are in the requested taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1; */ - public java.util.List - getPolicyTagsBuilderList() { + public java.util.List + getPolicyTagsBuilderList() { return getPolicyTagsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.PolicyTag, com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder, com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder> + com.google.cloud.datacatalog.v1beta1.PolicyTag, + com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder, + com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder> getPolicyTagsFieldBuilder() { if (policyTagsBuilder_ == null) { - policyTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.PolicyTag, com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder, com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder>( - policyTags_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + policyTagsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.PolicyTag, + com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder, + com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder>( + policyTags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); policyTags_ = null; } return policyTagsBuilder_; @@ -872,19 +958,21 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder addPolicyTagsBuild private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token used 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; @@ -893,21 +981,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token used 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 { @@ -915,30 +1004,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token used 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 used 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() { @@ -948,27 +1044,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Token used 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); } @@ -978,12 +1078,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse) private static final com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse(); } @@ -992,27 +1092,27 @@ public static com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPolicyTagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPolicyTagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +1127,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponseOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponseOrBuilder.java index d9f7668e94b2..618e880c2c1c 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponseOrBuilder.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/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; -public interface ListPolicyTagsResponseOrBuilder extends +public interface ListPolicyTagsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The policy tags that are in the requested taxonomy.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1; */ - java.util.List - getPolicyTagsList(); + java.util.List getPolicyTagsList(); /** + * + * *
    * The policy tags that are in the requested taxonomy.
    * 
@@ -25,6 +44,8 @@ public interface ListPolicyTagsResponseOrBuilder extends */ com.google.cloud.datacatalog.v1beta1.PolicyTag getPolicyTags(int index); /** + * + * *
    * The policy tags that are in the requested taxonomy.
    * 
@@ -33,43 +54,51 @@ public interface ListPolicyTagsResponseOrBuilder extends */ int getPolicyTagsCount(); /** + * + * *
    * The policy tags that are in the requested taxonomy.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1; */ - java.util.List + java.util.List getPolicyTagsOrBuilderList(); /** + * + * *
    * The policy tags that are in the requested taxonomy.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.PolicyTag policy_tags = 1; */ - com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagsOrBuilder( - int index); + com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagsOrBuilder(int index); /** + * + * *
    * Token used 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 used 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-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequest.java similarity index 69% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequest.java index 67aa168b4bc9..7602885c5e38 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequest.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Request message for
  * [ListTags][google.cloud.datacatalog.v1beta1.DataCatalog.ListTags].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListTagsRequest}
  */
-public final class ListTagsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListTagsRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ListTagsRequest)
     ListTagsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListTagsRequest.newBuilder() to construct.
   private ListTagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListTagsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -27,28 +45,32 @@ private ListTagsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListTagsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.ListTagsRequest.class, com.google.cloud.datacatalog.v1beta1.ListTagsRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.ListTagsRequest.class,
+            com.google.cloud.datacatalog.v1beta1.ListTagsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the Data Catalog resource to list the tags of. The
    * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
@@ -60,7 +82,10 @@ protected java.lang.Object newInstance(
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -69,14 +94,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the Data Catalog resource to list the tags of. The
    * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
@@ -88,17 +114,18 @@ public java.lang.String getParent() {
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
    * 
* - * string parent = 1 [(.google.api.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 { @@ -109,11 +136,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * The maximum number of tags to return. Default is 10. Max limit is 1000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -122,15 +152,19 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Token that specifies which page is requested. If empty, the first page is
    * returned.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -139,30 +173,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Token that specifies which page is requested. If empty, the first page is
    * returned.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -171,6 +205,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,8 +217,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -206,8 +240,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_); @@ -220,19 +253,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.datacatalog.v1beta1.ListTagsRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.ListTagsRequest other = (com.google.cloud.datacatalog.v1beta1.ListTagsRequest) obj; + com.google.cloud.datacatalog.v1beta1.ListTagsRequest other = + (com.google.cloud.datacatalog.v1beta1.ListTagsRequest) 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; } @@ -256,98 +287,103 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.ListTagsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ListTagsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ListTagsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ListTagsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ListTagsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ListTagsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListTagsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.ListTagsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.ListTagsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListTagsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ListTagsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.ListTagsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ListTagsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.ListTagsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.ListTagsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [ListTags][google.cloud.datacatalog.v1beta1.DataCatalog.ListTags].
@@ -355,33 +391,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListTagsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.ListTagsRequest)
       com.google.cloud.datacatalog.v1beta1.ListTagsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.ListTagsRequest.class, com.google.cloud.datacatalog.v1beta1.ListTagsRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.ListTagsRequest.class,
+              com.google.cloud.datacatalog.v1beta1.ListTagsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.ListTagsRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -393,9 +428,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -414,8 +449,11 @@ public com.google.cloud.datacatalog.v1beta1.ListTagsRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.ListTagsRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.ListTagsRequest result = new com.google.cloud.datacatalog.v1beta1.ListTagsRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.ListTagsRequest result =
+          new com.google.cloud.datacatalog.v1beta1.ListTagsRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -437,38 +475,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ListTagsRequest
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.ListTagsRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListTagsRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListTagsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -476,7 +515,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ListTagsRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.ListTagsRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.ListTagsRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -516,27 +556,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) {
@@ -546,10 +590,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the Data Catalog resource to list the tags of. The
      * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
@@ -561,14 +608,16 @@ public Builder mergeFrom(
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      * 
* - * string parent = 1 [(.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; @@ -577,6 +626,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the Data Catalog resource to list the tags of. The
      * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
@@ -588,16 +639,17 @@ public java.lang.String getParent() {
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      * 
* - * string parent = 1 [(.google.api.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 { @@ -605,6 +657,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the Data Catalog resource to list the tags of. The
      * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
@@ -616,19 +670,25 @@ public java.lang.String getParent() {
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the Data Catalog resource to list the tags of. The
      * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
@@ -640,7 +700,10 @@ public Builder setParent(
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      * 
* - * string 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() { @@ -650,6 +713,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the Data Catalog resource to list the tags of. The
      * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
@@ -661,13 +726,17 @@ public Builder clearParent() {
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      * 
* - * 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; @@ -675,13 +744,16 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of tags to return. Default is 10. Max limit is 1000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -689,11 +761,14 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of tags to return. Default is 10. Max limit is 1000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -705,11 +780,14 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of tags to return. Default is 10. Max limit is 1000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -721,19 +799,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Token that specifies which page is requested. If empty, the first page is
      * returned.
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -742,21 +822,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Token that specifies which page is requested. If empty, the first page is
      * returned.
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -764,30 +845,37 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Token that specifies which page is requested. If empty, the first page is
      * returned.
      * 
* * string page_token = 3; + * * @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; } /** + * + * *
      * Token that specifies which page is requested. If empty, the first page is
      * returned.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -797,27 +885,31 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Token that specifies which page is requested. If empty, the first page is
      * returned.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - 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); } @@ -827,12 +919,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ListTagsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ListTagsRequest) private static final com.google.cloud.datacatalog.v1beta1.ListTagsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ListTagsRequest(); } @@ -841,27 +933,27 @@ public static com.google.cloud.datacatalog.v1beta1.ListTagsRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -876,6 +968,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.ListTagsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequestOrBuilder.java index e3f69523c171..9df991e2d94f 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequestOrBuilder.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface ListTagsRequestOrBuilder extends +public interface ListTagsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ListTagsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the Data Catalog resource to list the tags of. The
    * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
@@ -19,11 +37,16 @@ public interface ListTagsRequestOrBuilder extends
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the Data Catalog resource to list the tags of. The
    * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
@@ -35,41 +58,51 @@ public interface ListTagsRequestOrBuilder extends
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
    * 
* - * string parent = 1 [(.google.api.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(); /** + * + * *
    * The maximum number of tags to return. Default is 10. Max limit is 1000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Token that specifies which page is requested. If empty, the first page is
    * returned.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Token that specifies which page is requested. If empty, the first page is
    * returned.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponse.java similarity index 71% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponse.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponse.java index c226689f18ec..c0578fd8f63c 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponse.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Response message for
  * [ListTags][google.cloud.datacatalog.v1beta1.DataCatalog.ListTags].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListTagsResponse}
  */
-public final class ListTagsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListTagsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ListTagsResponse)
     ListTagsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListTagsResponse.newBuilder() to construct.
   private ListTagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListTagsResponse() {
     tags_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,28 +45,32 @@ private ListTagsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListTagsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.ListTagsResponse.class, com.google.cloud.datacatalog.v1beta1.ListTagsResponse.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.ListTagsResponse.class,
+            com.google.cloud.datacatalog.v1beta1.ListTagsResponse.Builder.class);
   }
 
   public static final int TAGS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List tags_;
   /**
+   *
+   *
    * 
    * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
    * 
@@ -60,6 +82,8 @@ public java.util.List getTagsList() { return tags_; } /** + * + * *
    * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
    * 
@@ -67,11 +91,13 @@ public java.util.List getTagsList() { * repeated .google.cloud.datacatalog.v1beta1.Tag tags = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTagsOrBuilderList() { return tags_; } /** + * + * *
    * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
    * 
@@ -83,6 +109,8 @@ public int getTagsCount() { return tags_.size(); } /** + * + * *
    * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
    * 
@@ -94,6 +122,8 @@ public com.google.cloud.datacatalog.v1beta1.Tag getTags(int index) { return tags_.get(index); } /** + * + * *
    * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
    * 
@@ -101,21 +131,24 @@ public com.google.cloud.datacatalog.v1beta1.Tag getTags(int index) { * repeated .google.cloud.datacatalog.v1beta1.Tag tags = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagsOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagsOrBuilder(int index) { return tags_.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. It is set to empty if no items
    * remain in results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -124,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. It is set to empty if no items
    * remain in results.
    * 
* * 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 { @@ -156,6 +189,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,8 +201,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < tags_.size(); i++) { output.writeMessage(1, tags_.get(i)); } @@ -185,8 +218,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, tags_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tags_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -199,17 +231,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.datacatalog.v1beta1.ListTagsResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.ListTagsResponse other = (com.google.cloud.datacatalog.v1beta1.ListTagsResponse) obj; + com.google.cloud.datacatalog.v1beta1.ListTagsResponse other = + (com.google.cloud.datacatalog.v1beta1.ListTagsResponse) obj; - if (!getTagsList() - .equals(other.getTagsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getTagsList().equals(other.getTagsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -233,98 +264,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.ListTagsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ListTagsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ListTagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ListTagsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ListTagsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ListTagsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListTagsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.ListTagsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.ListTagsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListTagsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ListTagsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.ListTagsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ListTagsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.ListTagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.ListTagsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.ListTagsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for
    * [ListTags][google.cloud.datacatalog.v1beta1.DataCatalog.ListTags].
@@ -332,33 +369,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListTagsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.ListTagsResponse)
       com.google.cloud.datacatalog.v1beta1.ListTagsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.ListTagsResponse.class, com.google.cloud.datacatalog.v1beta1.ListTagsResponse.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.ListTagsResponse.class,
+              com.google.cloud.datacatalog.v1beta1.ListTagsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.ListTagsResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -375,9 +411,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -396,14 +432,18 @@ public com.google.cloud.datacatalog.v1beta1.ListTagsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.ListTagsResponse buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.ListTagsResponse result = new com.google.cloud.datacatalog.v1beta1.ListTagsResponse(this);
+      com.google.cloud.datacatalog.v1beta1.ListTagsResponse result =
+          new com.google.cloud.datacatalog.v1beta1.ListTagsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.ListTagsResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.datacatalog.v1beta1.ListTagsResponse result) {
       if (tagsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           tags_ = java.util.Collections.unmodifiableList(tags_);
@@ -426,38 +466,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ListTagsResponse
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.ListTagsResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListTagsResponse)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListTagsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -465,7 +506,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ListTagsResponse other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.ListTagsResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.ListTagsResponse.getDefaultInstance())
+        return this;
       if (tagsBuilder_ == null) {
         if (!other.tags_.isEmpty()) {
           if (tags_.isEmpty()) {
@@ -484,9 +526,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ListTagsResponse o
             tagsBuilder_ = null;
             tags_ = other.tags_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            tagsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getTagsFieldBuilder() : null;
+            tagsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getTagsFieldBuilder()
+                    : null;
           } else {
             tagsBuilder_.addAllMessages(other.tags_);
           }
@@ -523,30 +566,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.datacatalog.v1beta1.Tag m =
-                  input.readMessage(
-                      com.google.cloud.datacatalog.v1beta1.Tag.parser(),
-                      extensionRegistry);
-              if (tagsBuilder_ == null) {
-                ensureTagsIsMutable();
-                tags_.add(m);
-              } else {
-                tagsBuilder_.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.datacatalog.v1beta1.Tag m =
+                    input.readMessage(
+                        com.google.cloud.datacatalog.v1beta1.Tag.parser(), extensionRegistry);
+                if (tagsBuilder_ == null) {
+                  ensureTagsIsMutable();
+                  tags_.add(m);
+                } else {
+                  tagsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -556,21 +601,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List tags_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureTagsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         tags_ = new java.util.ArrayList(tags_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.datacatalog.v1beta1.Tag, com.google.cloud.datacatalog.v1beta1.Tag.Builder, com.google.cloud.datacatalog.v1beta1.TagOrBuilder> tagsBuilder_;
+            com.google.cloud.datacatalog.v1beta1.Tag,
+            com.google.cloud.datacatalog.v1beta1.Tag.Builder,
+            com.google.cloud.datacatalog.v1beta1.TagOrBuilder>
+        tagsBuilder_;
 
     /**
+     *
+     *
      * 
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -585,6 +637,8 @@ public java.util.List getTagsList() { } } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -599,6 +653,8 @@ public int getTagsCount() { } } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -613,14 +669,15 @@ public com.google.cloud.datacatalog.v1beta1.Tag getTags(int index) { } } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Tag tags = 1; */ - public Builder setTags( - int index, com.google.cloud.datacatalog.v1beta1.Tag value) { + public Builder setTags(int index, com.google.cloud.datacatalog.v1beta1.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -634,6 +691,8 @@ public Builder setTags( return this; } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -652,6 +711,8 @@ public Builder setTags( return this; } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -672,14 +733,15 @@ public Builder addTags(com.google.cloud.datacatalog.v1beta1.Tag value) { return this; } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Tag tags = 1; */ - public Builder addTags( - int index, com.google.cloud.datacatalog.v1beta1.Tag value) { + public Builder addTags(int index, com.google.cloud.datacatalog.v1beta1.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -693,14 +755,15 @@ public Builder addTags( return this; } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Tag tags = 1; */ - public Builder addTags( - com.google.cloud.datacatalog.v1beta1.Tag.Builder builderForValue) { + public Builder addTags(com.google.cloud.datacatalog.v1beta1.Tag.Builder builderForValue) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); tags_.add(builderForValue.build()); @@ -711,6 +774,8 @@ public Builder addTags( return this; } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -729,6 +794,8 @@ public Builder addTags( return this; } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -739,8 +806,7 @@ public Builder addAllTags( java.lang.Iterable values) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); onChanged(); } else { tagsBuilder_.addAllMessages(values); @@ -748,6 +814,8 @@ public Builder addAllTags( return this; } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -765,6 +833,8 @@ public Builder clearTags() { return this; } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -782,39 +852,44 @@ public Builder removeTags(int index) { return this; } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Tag tags = 1; */ - public com.google.cloud.datacatalog.v1beta1.Tag.Builder getTagsBuilder( - int index) { + public com.google.cloud.datacatalog.v1beta1.Tag.Builder getTagsBuilder(int index) { return getTagsFieldBuilder().getBuilder(index); } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Tag tags = 1; */ - public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagsOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagsOrBuilder(int index) { if (tagsBuilder_ == null) { - return tags_.get(index); } else { + return tags_.get(index); + } else { return tagsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Tag tags = 1; */ - public java.util.List - getTagsOrBuilderList() { + public java.util.List + getTagsOrBuilderList() { if (tagsBuilder_ != null) { return tagsBuilder_.getMessageOrBuilderList(); } else { @@ -822,6 +897,8 @@ public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagsOrBuilder( } } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -829,42 +906,47 @@ public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagsOrBuilder( * repeated .google.cloud.datacatalog.v1beta1.Tag tags = 1; */ public com.google.cloud.datacatalog.v1beta1.Tag.Builder addTagsBuilder() { - return getTagsFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance()); + return getTagsFieldBuilder() + .addBuilder(com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance()); } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Tag tags = 1; */ - public com.google.cloud.datacatalog.v1beta1.Tag.Builder addTagsBuilder( - int index) { - return getTagsFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance()); + public com.google.cloud.datacatalog.v1beta1.Tag.Builder addTagsBuilder(int index) { + return getTagsFieldBuilder() + .addBuilder(index, com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance()); } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Tag tags = 1; */ - public java.util.List - getTagsBuilderList() { + public java.util.List getTagsBuilderList() { return getTagsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Tag, com.google.cloud.datacatalog.v1beta1.Tag.Builder, com.google.cloud.datacatalog.v1beta1.TagOrBuilder> + com.google.cloud.datacatalog.v1beta1.Tag, + com.google.cloud.datacatalog.v1beta1.Tag.Builder, + com.google.cloud.datacatalog.v1beta1.TagOrBuilder> getTagsFieldBuilder() { if (tagsBuilder_ == null) { - tagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Tag, com.google.cloud.datacatalog.v1beta1.Tag.Builder, com.google.cloud.datacatalog.v1beta1.TagOrBuilder>( - tags_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + tagsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.Tag, + com.google.cloud.datacatalog.v1beta1.Tag.Builder, + com.google.cloud.datacatalog.v1beta1.TagOrBuilder>( + tags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tags_ = null; } return tagsBuilder_; @@ -872,19 +954,21 @@ public com.google.cloud.datacatalog.v1beta1.Tag.Builder addTagsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to retrieve the next page of results. It is set to empty if no items
      * remain in results.
      * 
* * 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; @@ -893,21 +977,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results. It is set to empty if no items
      * remain in results.
      * 
* * 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 { @@ -915,30 +1000,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results. It is set to empty if no items
      * remain in results.
      * 
* * 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. It is set to empty if no items
      * remain in results.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -948,27 +1040,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Token to retrieve the next page of results. It is set to empty if no items
      * remain in results.
      * 
* * 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); } @@ -978,12 +1074,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ListTagsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ListTagsResponse) private static final com.google.cloud.datacatalog.v1beta1.ListTagsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ListTagsResponse(); } @@ -992,27 +1088,27 @@ public static com.google.cloud.datacatalog.v1beta1.ListTagsResponse getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +1123,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.ListTagsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponseOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponseOrBuilder.java index 8acfa22dd959..32736e8a55ba 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponseOrBuilder.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface ListTagsResponseOrBuilder extends +public interface ListTagsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ListTagsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.Tag tags = 1; */ - java.util.List - getTagsList(); + java.util.List getTagsList(); /** + * + * *
    * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
    * 
@@ -25,6 +44,8 @@ public interface ListTagsResponseOrBuilder extends */ com.google.cloud.datacatalog.v1beta1.Tag getTags(int index); /** + * + * *
    * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
    * 
@@ -33,43 +54,51 @@ public interface ListTagsResponseOrBuilder extends */ int getTagsCount(); /** + * + * *
    * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.Tag tags = 1; */ - java.util.List + java.util.List getTagsOrBuilderList(); /** + * + * *
    * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.Tag tags = 1; */ - com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagsOrBuilder( - int index); + com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagsOrBuilder(int index); /** + * + * *
    * Token to retrieve the next page of results. It is set to empty if no items
    * remain in results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results. It is set to empty if no items
    * remain in results.
    * 
* * 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-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequest.java similarity index 68% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequest.java index 92730bb24627..e5594cbe1667 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequest.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/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Request message for
  * [ListTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManager.ListTaxonomies].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest}
  */
-public final class ListTaxonomiesRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListTaxonomiesRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest)
     ListTaxonomiesRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListTaxonomiesRequest.newBuilder() to construct.
   private ListTaxonomiesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListTaxonomiesRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -28,33 +46,40 @@ private ListTaxonomiesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListTaxonomiesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest.class, com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest.class,
+            com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. Resource name of the project to list the taxonomies of.
    * 
* - * string parent = 1 [(.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,29 +88,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. Resource name of the project to list the taxonomies of.
    * 
* - * string parent = 1 [(.google.api.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,12 +123,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * The maximum number of items to return. Must be a value between 1 and 1000.
    * If not set, defaults to 50.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -110,15 +140,19 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * The next_page_token value returned from a previous list request, if any. If
    * not set, defaults to an empty string.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -127,30 +161,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any. If
    * not set, defaults to an empty string.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -159,15 +193,19 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Supported field for filter is 'service' and value is 'dataplex'.
    * Eg: service=dataplex.
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -176,30 +214,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Supported field for filter is 'service' and value is 'dataplex'.
    * Eg: service=dataplex.
    * 
* * string filter = 4; + * * @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 { @@ -208,6 +246,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +258,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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,8 +284,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_); @@ -263,21 +300,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.datacatalog.v1beta1.ListTaxonomiesRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest other = (com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest) obj; + com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest other = + (com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest) 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 (!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; } @@ -303,98 +337,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [ListTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManager.ListTaxonomies].
@@ -402,33 +442,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest)
       com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest.class, com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest.class,
+              com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        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,9 +480,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -462,8 +501,11 @@ public com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest result = new com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest result =
+          new com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -488,38 +530,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRe
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -527,7 +570,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -572,32 +616,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) {
@@ -607,22 +656,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. Resource name of the project to list the taxonomies of.
      * 
* - * string parent = 1 [(.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,20 +685,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the project to list the taxonomies of.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -652,28 +709,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the project to list the taxonomies of.
      * 
* - * 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. Resource name of the project to list the taxonomies of.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -683,17 +751,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Resource name of the project to list the taxonomies of.
      * 
* - * 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; @@ -701,14 +775,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of items to return. Must be a value between 1 and 1000.
      * If not set, defaults to 50.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -716,12 +793,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of items to return. Must be a value between 1 and 1000.
      * If not set, defaults to 50.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -733,12 +813,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of items to return. Must be a value between 1 and 1000.
      * If not set, defaults to 50.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -750,19 +833,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any. If
      * not set, defaults to an empty string.
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -771,21 +856,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any. If
      * not set, defaults to an empty string.
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -793,30 +879,37 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any. If
      * not set, defaults to an empty string.
      * 
* * string page_token = 3; + * * @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; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any. If
      * not set, defaults to an empty string.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -826,18 +919,22 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any. If
      * not set, defaults to an empty string.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - 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; @@ -847,19 +944,21 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Supported field for filter is 'service' and value is 'dataplex'.
      * Eg: service=dataplex.
      * 
* * string filter = 4; + * * @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; @@ -868,21 +967,22 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Supported field for filter is 'service' and value is 'dataplex'.
      * Eg: service=dataplex.
      * 
* * string filter = 4; + * * @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 { @@ -890,30 +990,37 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Supported field for filter is 'service' and value is 'dataplex'.
      * Eg: service=dataplex.
      * 
* * string filter = 4; + * * @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; } /** + * + * *
      * Supported field for filter is 'service' and value is 'dataplex'.
      * Eg: service=dataplex.
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -923,27 +1030,31 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Supported field for filter is 'service' and value is 'dataplex'.
      * Eg: service=dataplex.
      * 
* * string filter = 4; + * * @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); } @@ -953,12 +1064,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest) private static final com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest(); } @@ -967,27 +1078,27 @@ public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTaxonomiesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTaxonomiesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1002,6 +1113,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequestOrBuilder.java index 335047da89bb..c7ca4bfdcac1 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequestOrBuilder.java @@ -1,84 +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/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; -public interface ListTaxonomiesRequestOrBuilder extends +public interface ListTaxonomiesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the project to list the taxonomies of.
    * 
* - * string parent = 1 [(.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. Resource name of the project to list the taxonomies of.
    * 
* - * string parent = 1 [(.google.api.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(); /** + * + * *
    * The maximum number of items to return. Must be a value between 1 and 1000.
    * If not set, defaults to 50.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any. If
    * not set, defaults to an empty string.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any. If
    * not set, defaults to an empty string.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Supported field for filter is 'service' and value is 'dataplex'.
    * Eg: service=dataplex.
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Supported field for filter is 'service' and value is 'dataplex'.
    * Eg: service=dataplex.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponse.java similarity index 72% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponse.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponse.java index c10d5a1ce103..054df8ec0985 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponse.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/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Response message for
  * [ListTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManager.ListTaxonomies].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse}
  */
-public final class ListTaxonomiesResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListTaxonomiesResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse)
     ListTaxonomiesResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListTaxonomiesResponse.newBuilder() to construct.
   private ListTaxonomiesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListTaxonomiesResponse() {
     taxonomies_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,28 +45,32 @@ private ListTaxonomiesResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListTaxonomiesResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse.class, com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse.class,
+            com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse.Builder.class);
   }
 
   public static final int TAXONOMIES_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List taxonomies_;
   /**
+   *
+   *
    * 
    * Taxonomies that the project contains.
    * 
@@ -60,6 +82,8 @@ public java.util.List getTaxonomi return taxonomies_; } /** + * + * *
    * Taxonomies that the project contains.
    * 
@@ -67,11 +91,13 @@ public java.util.List getTaxonomi * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTaxonomiesOrBuilderList() { return taxonomies_; } /** + * + * *
    * Taxonomies that the project contains.
    * 
@@ -83,6 +109,8 @@ public int getTaxonomiesCount() { return taxonomies_.size(); } /** + * + * *
    * Taxonomies that the project contains.
    * 
@@ -94,6 +122,8 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomies(int index) { return taxonomies_.get(index); } /** + * + * *
    * Taxonomies that the project contains.
    * 
@@ -101,21 +131,24 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomies(int index) { * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomiesOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomiesOrBuilder(int index) { return taxonomies_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Token used 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 @@ -124,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 used 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 { @@ -156,6 +189,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,8 +201,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < taxonomies_.size(); i++) { output.writeMessage(1, taxonomies_.get(i)); } @@ -185,8 +218,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < taxonomies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, taxonomies_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, taxonomies_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -199,17 +231,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.datacatalog.v1beta1.ListTaxonomiesResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse other = (com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse) obj; + com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse other = + (com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse) obj; - if (!getTaxonomiesList() - .equals(other.getTaxonomiesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getTaxonomiesList().equals(other.getTaxonomiesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -233,98 +264,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for
    * [ListTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManager.ListTaxonomies].
@@ -332,33 +369,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse)
       com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse.class, com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse.class,
+              com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -375,9 +411,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesResponse_descriptor;
     }
 
     @java.lang.Override
@@ -396,14 +432,18 @@ public com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse result = new com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse(this);
+      com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse result =
+          new com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse result) {
       if (taxonomiesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           taxonomies_ = java.util.Collections.unmodifiableList(taxonomies_);
@@ -426,38 +466,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRe
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -465,7 +506,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse.getDefaultInstance())
+        return this;
       if (taxonomiesBuilder_ == null) {
         if (!other.taxonomies_.isEmpty()) {
           if (taxonomies_.isEmpty()) {
@@ -484,9 +526,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResp
             taxonomiesBuilder_ = null;
             taxonomies_ = other.taxonomies_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            taxonomiesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getTaxonomiesFieldBuilder() : null;
+            taxonomiesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getTaxonomiesFieldBuilder()
+                    : null;
           } else {
             taxonomiesBuilder_.addAllMessages(other.taxonomies_);
           }
@@ -523,30 +566,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.datacatalog.v1beta1.Taxonomy m =
-                  input.readMessage(
-                      com.google.cloud.datacatalog.v1beta1.Taxonomy.parser(),
-                      extensionRegistry);
-              if (taxonomiesBuilder_ == null) {
-                ensureTaxonomiesIsMutable();
-                taxonomies_.add(m);
-              } else {
-                taxonomiesBuilder_.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.datacatalog.v1beta1.Taxonomy m =
+                    input.readMessage(
+                        com.google.cloud.datacatalog.v1beta1.Taxonomy.parser(), extensionRegistry);
+                if (taxonomiesBuilder_ == null) {
+                  ensureTaxonomiesIsMutable();
+                  taxonomies_.add(m);
+                } else {
+                  taxonomiesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -556,21 +601,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List taxonomies_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureTaxonomiesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        taxonomies_ = new java.util.ArrayList(taxonomies_);
+        taxonomies_ =
+            new java.util.ArrayList(taxonomies_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.datacatalog.v1beta1.Taxonomy, com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder> taxonomiesBuilder_;
+            com.google.cloud.datacatalog.v1beta1.Taxonomy,
+            com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder,
+            com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder>
+        taxonomiesBuilder_;
 
     /**
+     *
+     *
      * 
      * Taxonomies that the project contains.
      * 
@@ -585,6 +638,8 @@ public java.util.List getTaxonomi } } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -599,6 +654,8 @@ public int getTaxonomiesCount() { } } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -613,14 +670,15 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomies(int index) { } } /** + * + * *
      * Taxonomies that the project contains.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - public Builder setTaxonomies( - int index, com.google.cloud.datacatalog.v1beta1.Taxonomy value) { + public Builder setTaxonomies(int index, com.google.cloud.datacatalog.v1beta1.Taxonomy value) { if (taxonomiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -634,6 +692,8 @@ public Builder setTaxonomies( return this; } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -652,6 +712,8 @@ public Builder setTaxonomies( return this; } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -672,14 +734,15 @@ public Builder addTaxonomies(com.google.cloud.datacatalog.v1beta1.Taxonomy value return this; } /** + * + * *
      * Taxonomies that the project contains.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - public Builder addTaxonomies( - int index, com.google.cloud.datacatalog.v1beta1.Taxonomy value) { + public Builder addTaxonomies(int index, com.google.cloud.datacatalog.v1beta1.Taxonomy value) { if (taxonomiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -693,6 +756,8 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -711,6 +776,8 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -729,6 +796,8 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -739,8 +808,7 @@ public Builder addAllTaxonomies( java.lang.Iterable values) { if (taxonomiesBuilder_ == null) { ensureTaxonomiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, taxonomies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taxonomies_); onChanged(); } else { taxonomiesBuilder_.addAllMessages(values); @@ -748,6 +816,8 @@ public Builder addAllTaxonomies( return this; } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -765,6 +835,8 @@ public Builder clearTaxonomies() { return this; } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -782,17 +854,20 @@ public Builder removeTaxonomies(int index) { return this; } /** + * + * *
      * Taxonomies that the project contains.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder getTaxonomiesBuilder( - int index) { + public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder getTaxonomiesBuilder(int index) { return getTaxonomiesFieldBuilder().getBuilder(index); } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -802,19 +877,22 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder getTaxonomiesBuilde public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomiesOrBuilder( int index) { if (taxonomiesBuilder_ == null) { - return taxonomies_.get(index); } else { + return taxonomies_.get(index); + } else { return taxonomiesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Taxonomies that the project contains.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - public java.util.List - getTaxonomiesOrBuilderList() { + public java.util.List + getTaxonomiesOrBuilderList() { if (taxonomiesBuilder_ != null) { return taxonomiesBuilder_.getMessageOrBuilderList(); } else { @@ -822,6 +900,8 @@ public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomiesOrBui } } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -829,42 +909,48 @@ public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomiesOrBui * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder addTaxonomiesBuilder() { - return getTaxonomiesFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance()); + return getTaxonomiesFieldBuilder() + .addBuilder(com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance()); } /** + * + * *
      * Taxonomies that the project contains.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder addTaxonomiesBuilder( - int index) { - return getTaxonomiesFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance()); + public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder addTaxonomiesBuilder(int index) { + return getTaxonomiesFieldBuilder() + .addBuilder(index, com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance()); } /** + * + * *
      * Taxonomies that the project contains.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - public java.util.List - getTaxonomiesBuilderList() { + public java.util.List + getTaxonomiesBuilderList() { return getTaxonomiesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Taxonomy, com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder> + com.google.cloud.datacatalog.v1beta1.Taxonomy, + com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, + com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder> getTaxonomiesFieldBuilder() { if (taxonomiesBuilder_ == null) { - taxonomiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Taxonomy, com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder>( - taxonomies_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + taxonomiesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.Taxonomy, + com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, + com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder>( + taxonomies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); taxonomies_ = null; } return taxonomiesBuilder_; @@ -872,19 +958,21 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder addTaxonomiesBuilde private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token used 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; @@ -893,21 +981,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token used 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 { @@ -915,30 +1004,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token used 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 used 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() { @@ -948,27 +1044,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Token used 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); } @@ -978,12 +1078,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse) private static final com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse(); } @@ -992,27 +1092,27 @@ public static com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTaxonomiesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTaxonomiesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +1127,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponseOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponseOrBuilder.java index 09327e227037..21b34cac6a85 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponseOrBuilder.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/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; -public interface ListTaxonomiesResponseOrBuilder extends +public interface ListTaxonomiesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Taxonomies that the project contains.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - java.util.List - getTaxonomiesList(); + java.util.List getTaxonomiesList(); /** + * + * *
    * Taxonomies that the project contains.
    * 
@@ -25,6 +44,8 @@ public interface ListTaxonomiesResponseOrBuilder extends */ com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomies(int index); /** + * + * *
    * Taxonomies that the project contains.
    * 
@@ -33,43 +54,51 @@ public interface ListTaxonomiesResponseOrBuilder extends */ int getTaxonomiesCount(); /** + * + * *
    * Taxonomies that the project contains.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - java.util.List + java.util.List getTaxonomiesOrBuilderList(); /** + * + * *
    * Taxonomies that the project contains.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.Taxonomy taxonomies = 1; */ - com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomiesOrBuilder( - int index); + com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomiesOrBuilder(int index); /** + * + * *
    * Token used 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 used 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-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LocationName.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LocationName.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LocationName.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LocationName.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequest.java similarity index 73% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequest.java index 2d46e5e138b8..17affff08b1a 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequest.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Request message for
  * [LookupEntry][google.cloud.datacatalog.v1beta1.DataCatalog.LookupEntry].
@@ -11,48 +28,53 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.LookupEntryRequest}
  */
-public final class LookupEntryRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class LookupEntryRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.LookupEntryRequest)
     LookupEntryRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use LookupEntryRequest.newBuilder() to construct.
   private LookupEntryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private LookupEntryRequest() {
-  }
+
+  private LookupEntryRequest() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new LookupEntryRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.LookupEntryRequest.class, com.google.cloud.datacatalog.v1beta1.LookupEntryRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.LookupEntryRequest.class,
+            com.google.cloud.datacatalog.v1beta1.LookupEntryRequest.Builder.class);
   }
 
   private int targetNameCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object targetName_;
+
   public enum TargetNameCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     LINKED_RESOURCE(1),
     SQL_RESOURCE(3),
     TARGETNAME_NOT_SET(0);
     private final int value;
+
     private TargetNameCase(int value) {
       this.value = value;
     }
@@ -68,25 +90,30 @@ public static TargetNameCase valueOf(int value) {
 
     public static TargetNameCase forNumber(int value) {
       switch (value) {
-        case 1: return LINKED_RESOURCE;
-        case 3: return SQL_RESOURCE;
-        case 0: return TARGETNAME_NOT_SET;
-        default: return null;
+        case 1:
+          return LINKED_RESOURCE;
+        case 3:
+          return SQL_RESOURCE;
+        case 0:
+          return TARGETNAME_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TargetNameCase
-  getTargetNameCase() {
-    return TargetNameCase.forNumber(
-        targetNameCase_);
+  public TargetNameCase getTargetNameCase() {
+    return TargetNameCase.forNumber(targetNameCase_);
   }
 
   public static final int LINKED_RESOURCE_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * The full name of the Google Cloud Platform resource the Data Catalog
    * entry represents. See:
@@ -100,12 +127,15 @@ public int getNumber() {
    * 
* * string linked_resource = 1; + * * @return Whether the linkedResource field is set. */ public boolean hasLinkedResource() { return targetNameCase_ == 1; } /** + * + * *
    * The full name of the Google Cloud Platform resource the Data Catalog
    * entry represents. See:
@@ -119,6 +149,7 @@ public boolean hasLinkedResource() {
    * 
* * string linked_resource = 1; + * * @return The linkedResource. */ public java.lang.String getLinkedResource() { @@ -129,8 +160,7 @@ public java.lang.String getLinkedResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (targetNameCase_ == 1) { targetName_ = s; @@ -139,6 +169,8 @@ public java.lang.String getLinkedResource() { } } /** + * + * *
    * The full name of the Google Cloud Platform resource the Data Catalog
    * entry represents. See:
@@ -152,18 +184,17 @@ public java.lang.String getLinkedResource() {
    * 
* * string linked_resource = 1; + * * @return The bytes for linkedResource. */ - public com.google.protobuf.ByteString - getLinkedResourceBytes() { + public com.google.protobuf.ByteString getLinkedResourceBytes() { java.lang.Object ref = ""; if (targetNameCase_ == 1) { ref = targetName_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (targetNameCase_ == 1) { targetName_ = b; } @@ -175,6 +206,8 @@ public java.lang.String getLinkedResource() { public static final int SQL_RESOURCE_FIELD_NUMBER = 3; /** + * + * *
    * The SQL name of the entry. SQL names are case-sensitive.
    *
@@ -191,12 +224,15 @@ public java.lang.String getLinkedResource() {
    * 
* * string sql_resource = 3; + * * @return Whether the sqlResource field is set. */ public boolean hasSqlResource() { return targetNameCase_ == 3; } /** + * + * *
    * The SQL name of the entry. SQL names are case-sensitive.
    *
@@ -213,6 +249,7 @@ public boolean hasSqlResource() {
    * 
* * string sql_resource = 3; + * * @return The sqlResource. */ public java.lang.String getSqlResource() { @@ -223,8 +260,7 @@ public java.lang.String getSqlResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (targetNameCase_ == 3) { targetName_ = s; @@ -233,6 +269,8 @@ public java.lang.String getSqlResource() { } } /** + * + * *
    * The SQL name of the entry. SQL names are case-sensitive.
    *
@@ -249,18 +287,17 @@ public java.lang.String getSqlResource() {
    * 
* * string sql_resource = 3; + * * @return The bytes for sqlResource. */ - public com.google.protobuf.ByteString - getSqlResourceBytes() { + public com.google.protobuf.ByteString getSqlResourceBytes() { java.lang.Object ref = ""; if (targetNameCase_ == 3) { ref = targetName_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (targetNameCase_ == 3) { targetName_ = b; } @@ -271,6 +308,7 @@ public java.lang.String getSqlResource() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -282,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 (targetNameCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, targetName_); } @@ -313,22 +350,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.datacatalog.v1beta1.LookupEntryRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.LookupEntryRequest other = (com.google.cloud.datacatalog.v1beta1.LookupEntryRequest) obj; + com.google.cloud.datacatalog.v1beta1.LookupEntryRequest other = + (com.google.cloud.datacatalog.v1beta1.LookupEntryRequest) obj; if (!getTargetNameCase().equals(other.getTargetNameCase())) return false; switch (targetNameCase_) { case 1: - if (!getLinkedResource() - .equals(other.getLinkedResource())) return false; + if (!getLinkedResource().equals(other.getLinkedResource())) return false; break; case 3: - if (!getSqlResource() - .equals(other.getSqlResource())) return false; + if (!getSqlResource().equals(other.getSqlResource())) return false; break; case 0: default: @@ -362,98 +398,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.LookupEntryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.LookupEntryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.LookupEntryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.LookupEntryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.LookupEntryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.LookupEntryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.LookupEntryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.LookupEntryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.LookupEntryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.LookupEntryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.LookupEntryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.LookupEntryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.LookupEntryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.LookupEntryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.LookupEntryRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.LookupEntryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [LookupEntry][google.cloud.datacatalog.v1beta1.DataCatalog.LookupEntry].
@@ -461,33 +503,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.LookupEntryRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.LookupEntryRequest)
       com.google.cloud.datacatalog.v1beta1.LookupEntryRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.LookupEntryRequest.class, com.google.cloud.datacatalog.v1beta1.LookupEntryRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.LookupEntryRequest.class,
+              com.google.cloud.datacatalog.v1beta1.LookupEntryRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.LookupEntryRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -498,9 +539,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_descriptor;
     }
 
     @java.lang.Override
@@ -519,8 +560,11 @@ public com.google.cloud.datacatalog.v1beta1.LookupEntryRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.LookupEntryRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.LookupEntryRequest result = new com.google.cloud.datacatalog.v1beta1.LookupEntryRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.LookupEntryRequest result =
+          new com.google.cloud.datacatalog.v1beta1.LookupEntryRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -530,7 +574,8 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.LookupEntryReque
       int from_bitField0_ = bitField0_;
     }
 
-    private void buildPartialOneofs(com.google.cloud.datacatalog.v1beta1.LookupEntryRequest result) {
+    private void buildPartialOneofs(
+        com.google.cloud.datacatalog.v1beta1.LookupEntryRequest result) {
       result.targetNameCase_ = targetNameCase_;
       result.targetName_ = this.targetName_;
     }
@@ -539,38 +584,39 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1beta1.LookupEntry
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.LookupEntryRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.LookupEntryRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.LookupEntryRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -578,23 +624,27 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.LookupEntryRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.LookupEntryRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.LookupEntryRequest.getDefaultInstance())
+        return this;
       switch (other.getTargetNameCase()) {
-        case LINKED_RESOURCE: {
-          targetNameCase_ = 1;
-          targetName_ = other.targetName_;
-          onChanged();
-          break;
-        }
-        case SQL_RESOURCE: {
-          targetNameCase_ = 3;
-          targetName_ = other.targetName_;
-          onChanged();
-          break;
-        }
-        case TARGETNAME_NOT_SET: {
-          break;
-        }
+        case LINKED_RESOURCE:
+          {
+            targetNameCase_ = 1;
+            targetName_ = other.targetName_;
+            onChanged();
+            break;
+          }
+        case SQL_RESOURCE:
+          {
+            targetNameCase_ = 3;
+            targetName_ = other.targetName_;
+            onChanged();
+            break;
+          }
+        case TARGETNAME_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -622,24 +672,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-              targetNameCase_ = 1;
-              targetName_ = s;
-              break;
-            } // case 10
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              targetNameCase_ = 3;
-              targetName_ = 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();
+                targetNameCase_ = 1;
+                targetName_ = s;
+                break;
+              } // case 10
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                targetNameCase_ = 3;
+                targetName_ = 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) {
@@ -649,12 +702,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int targetNameCase_ = 0;
     private java.lang.Object targetName_;
-    public TargetNameCase
-        getTargetNameCase() {
-      return TargetNameCase.forNumber(
-          targetNameCase_);
+
+    public TargetNameCase getTargetNameCase() {
+      return TargetNameCase.forNumber(targetNameCase_);
     }
 
     public Builder clearTargetName() {
@@ -667,6 +720,8 @@ public Builder clearTargetName() {
     private int bitField0_;
 
     /**
+     *
+     *
      * 
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. See:
@@ -680,6 +735,7 @@ public Builder clearTargetName() {
      * 
* * string linked_resource = 1; + * * @return Whether the linkedResource field is set. */ @java.lang.Override @@ -687,6 +743,8 @@ public boolean hasLinkedResource() { return targetNameCase_ == 1; } /** + * + * *
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. See:
@@ -700,6 +758,7 @@ public boolean hasLinkedResource() {
      * 
* * string linked_resource = 1; + * * @return The linkedResource. */ @java.lang.Override @@ -709,8 +768,7 @@ public java.lang.String getLinkedResource() { ref = targetName_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (targetNameCase_ == 1) { targetName_ = s; @@ -721,6 +779,8 @@ public java.lang.String getLinkedResource() { } } /** + * + * *
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. See:
@@ -734,19 +794,18 @@ public java.lang.String getLinkedResource() {
      * 
* * string linked_resource = 1; + * * @return The bytes for linkedResource. */ @java.lang.Override - public com.google.protobuf.ByteString - getLinkedResourceBytes() { + public com.google.protobuf.ByteString getLinkedResourceBytes() { java.lang.Object ref = ""; if (targetNameCase_ == 1) { ref = targetName_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (targetNameCase_ == 1) { targetName_ = b; } @@ -756,6 +815,8 @@ public java.lang.String getLinkedResource() { } } /** + * + * *
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. See:
@@ -769,18 +830,22 @@ public java.lang.String getLinkedResource() {
      * 
* * string linked_resource = 1; + * * @param value The linkedResource to set. * @return This builder for chaining. */ - public Builder setLinkedResource( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLinkedResource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } targetNameCase_ = 1; targetName_ = value; onChanged(); return this; } /** + * + * *
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. See:
@@ -794,6 +859,7 @@ public Builder setLinkedResource(
      * 
* * string linked_resource = 1; + * * @return This builder for chaining. */ public Builder clearLinkedResource() { @@ -805,6 +871,8 @@ public Builder clearLinkedResource() { return this; } /** + * + * *
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. See:
@@ -818,12 +886,14 @@ public Builder clearLinkedResource() {
      * 
* * string linked_resource = 1; + * * @param value The bytes for linkedResource to set. * @return This builder for chaining. */ - public Builder setLinkedResourceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); targetNameCase_ = 1; targetName_ = value; @@ -832,6 +902,8 @@ public Builder setLinkedResourceBytes( } /** + * + * *
      * The SQL name of the entry. SQL names are case-sensitive.
      *
@@ -848,6 +920,7 @@ public Builder setLinkedResourceBytes(
      * 
* * string sql_resource = 3; + * * @return Whether the sqlResource field is set. */ @java.lang.Override @@ -855,6 +928,8 @@ public boolean hasSqlResource() { return targetNameCase_ == 3; } /** + * + * *
      * The SQL name of the entry. SQL names are case-sensitive.
      *
@@ -871,6 +946,7 @@ public boolean hasSqlResource() {
      * 
* * string sql_resource = 3; + * * @return The sqlResource. */ @java.lang.Override @@ -880,8 +956,7 @@ public java.lang.String getSqlResource() { ref = targetName_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (targetNameCase_ == 3) { targetName_ = s; @@ -892,6 +967,8 @@ public java.lang.String getSqlResource() { } } /** + * + * *
      * The SQL name of the entry. SQL names are case-sensitive.
      *
@@ -908,19 +985,18 @@ public java.lang.String getSqlResource() {
      * 
* * string sql_resource = 3; + * * @return The bytes for sqlResource. */ @java.lang.Override - public com.google.protobuf.ByteString - getSqlResourceBytes() { + public com.google.protobuf.ByteString getSqlResourceBytes() { java.lang.Object ref = ""; if (targetNameCase_ == 3) { ref = targetName_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (targetNameCase_ == 3) { targetName_ = b; } @@ -930,6 +1006,8 @@ public java.lang.String getSqlResource() { } } /** + * + * *
      * The SQL name of the entry. SQL names are case-sensitive.
      *
@@ -946,18 +1024,22 @@ public java.lang.String getSqlResource() {
      * 
* * string sql_resource = 3; + * * @param value The sqlResource to set. * @return This builder for chaining. */ - public Builder setSqlResource( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSqlResource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } targetNameCase_ = 3; targetName_ = value; onChanged(); return this; } /** + * + * *
      * The SQL name of the entry. SQL names are case-sensitive.
      *
@@ -974,6 +1056,7 @@ public Builder setSqlResource(
      * 
* * string sql_resource = 3; + * * @return This builder for chaining. */ public Builder clearSqlResource() { @@ -985,6 +1068,8 @@ public Builder clearSqlResource() { return this; } /** + * + * *
      * The SQL name of the entry. SQL names are case-sensitive.
      *
@@ -1001,21 +1086,23 @@ public Builder clearSqlResource() {
      * 
* * string sql_resource = 3; + * * @param value The bytes for sqlResource to set. * @return This builder for chaining. */ - public Builder setSqlResourceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSqlResourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); targetNameCase_ = 3; targetName_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1025,12 +1112,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.LookupEntryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.LookupEntryRequest) private static final com.google.cloud.datacatalog.v1beta1.LookupEntryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.LookupEntryRequest(); } @@ -1039,27 +1126,27 @@ public static com.google.cloud.datacatalog.v1beta1.LookupEntryRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LookupEntryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LookupEntryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +1161,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.LookupEntryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequestOrBuilder.java similarity index 82% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequestOrBuilder.java index 3746abffc091..3a6d5bbe9af1 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequestOrBuilder.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface LookupEntryRequestOrBuilder extends +public interface LookupEntryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.LookupEntryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The full name of the Google Cloud Platform resource the Data Catalog
    * entry represents. See:
@@ -21,10 +39,13 @@ public interface LookupEntryRequestOrBuilder extends
    * 
* * string linked_resource = 1; + * * @return Whether the linkedResource field is set. */ boolean hasLinkedResource(); /** + * + * *
    * The full name of the Google Cloud Platform resource the Data Catalog
    * entry represents. See:
@@ -38,10 +59,13 @@ public interface LookupEntryRequestOrBuilder extends
    * 
* * string linked_resource = 1; + * * @return The linkedResource. */ java.lang.String getLinkedResource(); /** + * + * *
    * The full name of the Google Cloud Platform resource the Data Catalog
    * entry represents. See:
@@ -55,12 +79,14 @@ public interface LookupEntryRequestOrBuilder extends
    * 
* * string linked_resource = 1; + * * @return The bytes for linkedResource. */ - com.google.protobuf.ByteString - getLinkedResourceBytes(); + com.google.protobuf.ByteString getLinkedResourceBytes(); /** + * + * *
    * The SQL name of the entry. SQL names are case-sensitive.
    *
@@ -77,10 +103,13 @@ public interface LookupEntryRequestOrBuilder extends
    * 
* * string sql_resource = 3; + * * @return Whether the sqlResource field is set. */ boolean hasSqlResource(); /** + * + * *
    * The SQL name of the entry. SQL names are case-sensitive.
    *
@@ -97,10 +126,13 @@ public interface LookupEntryRequestOrBuilder extends
    * 
* * string sql_resource = 3; + * * @return The sqlResource. */ java.lang.String getSqlResource(); /** + * + * *
    * The SQL name of the entry. SQL names are case-sensitive.
    *
@@ -117,10 +149,10 @@ public interface LookupEntryRequestOrBuilder extends
    * 
* * string sql_resource = 3; + * * @return The bytes for sqlResource. */ - com.google.protobuf.ByteString - getSqlResourceBytes(); + com.google.protobuf.ByteString getSqlResourceBytes(); com.google.cloud.datacatalog.v1beta1.LookupEntryRequest.TargetNameCase getTargetNameCase(); } diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ManagingSystem.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ManagingSystem.java similarity index 66% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ManagingSystem.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ManagingSystem.java index d0cef1365a6d..3a466312c682 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ManagingSystem.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ManagingSystem.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/datacatalog/v1beta1/common.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * This enum describes all the systems that manage
  * Taxonomy and PolicyTag resources in DataCatalog.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.cloud.datacatalog.v1beta1.ManagingSystem}
  */
-public enum ManagingSystem
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum ManagingSystem implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Default value
    * 
@@ -22,6 +40,8 @@ public enum ManagingSystem */ MANAGING_SYSTEM_UNSPECIFIED(0), /** + * + * *
    * Dataplex.
    * 
@@ -30,6 +50,8 @@ public enum ManagingSystem */ MANAGING_SYSTEM_DATAPLEX(1), /** + * + * *
    * Other
    * 
@@ -41,6 +63,8 @@ public enum ManagingSystem ; /** + * + * *
    * Default value
    * 
@@ -49,6 +73,8 @@ public enum ManagingSystem */ public static final int MANAGING_SYSTEM_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Dataplex.
    * 
@@ -57,6 +83,8 @@ public enum ManagingSystem */ public static final int MANAGING_SYSTEM_DATAPLEX_VALUE = 1; /** + * + * *
    * Other
    * 
@@ -65,7 +93,6 @@ public enum ManagingSystem */ public static final int MANAGING_SYSTEM_OTHER_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -90,49 +117,49 @@ public static ManagingSystem valueOf(int value) { */ public static ManagingSystem forNumber(int value) { switch (value) { - case 0: return MANAGING_SYSTEM_UNSPECIFIED; - case 1: return MANAGING_SYSTEM_DATAPLEX; - case 2: return MANAGING_SYSTEM_OTHER; - default: return null; + case 0: + return MANAGING_SYSTEM_UNSPECIFIED; + case 1: + return MANAGING_SYSTEM_DATAPLEX; + case 2: + return MANAGING_SYSTEM_OTHER; + 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< - ManagingSystem> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ManagingSystem findValueByNumber(int number) { - return ManagingSystem.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 ManagingSystem findValueByNumber(int number) { + return ManagingSystem.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.datacatalog.v1beta1.Common.getDescriptor().getEnumTypes().get(1); } private static final ManagingSystem[] VALUES = values(); - public static ManagingSystem valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ManagingSystem valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -148,4 +175,3 @@ private ManagingSystem(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1beta1.ManagingSystem) } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTag.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTag.java similarity index 75% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTag.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTag.java index f7bada05f566..cf844844c102 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTag.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTag.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/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Denotes one policy tag in a taxonomy (e.g. ssn). Policy Tags can be defined
  * in a hierarchy. For example, consider the following hierarchy:
@@ -13,54 +30,59 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.PolicyTag}
  */
-public final class PolicyTag extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class PolicyTag extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.PolicyTag)
     PolicyTagOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use PolicyTag.newBuilder() to construct.
   private PolicyTag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private PolicyTag() {
     name_ = "";
     displayName_ = "";
     description_ = "";
     parentPolicyTag_ = "";
-    childPolicyTags_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    childPolicyTags_ = 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 PolicyTag();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_PolicyTag_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1beta1_PolicyTag_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_PolicyTag_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1beta1_PolicyTag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.PolicyTag.class, com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.PolicyTag.class,
+            com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Output only. Resource name of this policy tag, whose format is:
    * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}".
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -69,30 +91,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. Resource name of this policy tag, whose format is:
    * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}".
    * 
* * 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 { @@ -101,9 +123,12 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Required. User defined name of this policy tag. It must: be unique within
    * the parent taxonomy; contain only unicode letters, numbers, underscores,
@@ -112,6 +137,7 @@ public java.lang.String getName() {
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -120,14 +146,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; } } /** + * + * *
    * Required. User defined name of this policy tag. It must: be unique within
    * the parent taxonomy; contain only unicode letters, numbers, underscores,
@@ -136,16 +163,15 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -154,9 +180,12 @@ public java.lang.String getDisplayName() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Description of this policy tag. It must: contain only unicode characters,
    * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
@@ -165,6 +194,7 @@ public java.lang.String getDisplayName() {
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -173,14 +203,15 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Description of this policy tag. It must: contain only unicode characters,
    * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
@@ -189,16 +220,15 @@ public java.lang.String getDescription() {
    * 
* * string description = 3; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -207,9 +237,12 @@ public java.lang.String getDescription() { } public static final int PARENT_POLICY_TAG_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object parentPolicyTag_ = ""; /** + * + * *
    * Resource name of this policy tag's parent policy tag (e.g. for the
    * "LatLong" policy tag in the example above, this field contains the
@@ -220,6 +253,7 @@ public java.lang.String getDescription() {
    * 
* * string parent_policy_tag = 4; + * * @return The parentPolicyTag. */ @java.lang.Override @@ -228,14 +262,15 @@ public java.lang.String getParentPolicyTag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentPolicyTag_ = s; return s; } } /** + * + * *
    * Resource name of this policy tag's parent policy tag (e.g. for the
    * "LatLong" policy tag in the example above, this field contains the
@@ -246,16 +281,15 @@ public java.lang.String getParentPolicyTag() {
    * 
* * string parent_policy_tag = 4; + * * @return The bytes for parentPolicyTag. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentPolicyTagBytes() { + public com.google.protobuf.ByteString getParentPolicyTagBytes() { java.lang.Object ref = parentPolicyTag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parentPolicyTag_ = b; return b; } else { @@ -264,38 +298,50 @@ public java.lang.String getParentPolicyTag() { } public static final int CHILD_POLICY_TAGS_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList childPolicyTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Output only. Resource names of child policy tags of this policy tag.
    * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the childPolicyTags. */ - public com.google.protobuf.ProtocolStringList - getChildPolicyTagsList() { + public com.google.protobuf.ProtocolStringList getChildPolicyTagsList() { return childPolicyTags_; } /** + * + * *
    * Output only. Resource names of child policy tags of this policy tag.
    * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of childPolicyTags. */ public int getChildPolicyTagsCount() { return childPolicyTags_.size(); } /** + * + * *
    * Output only. Resource names of child policy tags of this policy tag.
    * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The childPolicyTags at the given index. */ @@ -303,20 +349,24 @@ public java.lang.String getChildPolicyTags(int index) { return childPolicyTags_.get(index); } /** + * + * *
    * Output only. Resource names of child policy tags of this policy tag.
    * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the childPolicyTags at the given index. */ - public com.google.protobuf.ByteString - getChildPolicyTagsBytes(int index) { + public com.google.protobuf.ByteString getChildPolicyTagsBytes(int index) { return childPolicyTags_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -328,8 +378,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -382,23 +431,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.datacatalog.v1beta1.PolicyTag)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.PolicyTag other = (com.google.cloud.datacatalog.v1beta1.PolicyTag) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getParentPolicyTag() - .equals(other.getParentPolicyTag())) return false; - if (!getChildPolicyTagsList() - .equals(other.getChildPolicyTagsList())) return false; + com.google.cloud.datacatalog.v1beta1.PolicyTag other = + (com.google.cloud.datacatalog.v1beta1.PolicyTag) obj; + + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getParentPolicyTag().equals(other.getParentPolicyTag())) return false; + if (!getChildPolicyTagsList().equals(other.getChildPolicyTagsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -427,99 +472,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1beta1.PolicyTag parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1beta1.PolicyTag parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.PolicyTag parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.PolicyTag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.PolicyTag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.PolicyTag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.PolicyTag parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.PolicyTag parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.PolicyTag parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.PolicyTag parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.PolicyTag parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.PolicyTag parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.PolicyTag parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.PolicyTag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.PolicyTag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 policy tag in a taxonomy (e.g. ssn). Policy Tags can be defined
    * in a hierarchy. For example, consider the following hierarchy:
@@ -529,33 +579,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.PolicyTag}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.PolicyTag)
       com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_PolicyTag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_PolicyTag_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_PolicyTag_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_PolicyTag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.PolicyTag.class, com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.PolicyTag.class,
+              com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.PolicyTag.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -564,15 +613,14 @@ public Builder clear() {
       displayName_ = "";
       description_ = "";
       parentPolicyTag_ = "";
-      childPolicyTags_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      childPolicyTags_ = com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_PolicyTag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_PolicyTag_descriptor;
     }
 
     @java.lang.Override
@@ -591,8 +639,11 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTag build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.PolicyTag buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.PolicyTag result = new com.google.cloud.datacatalog.v1beta1.PolicyTag(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.PolicyTag result =
+          new com.google.cloud.datacatalog.v1beta1.PolicyTag(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -621,38 +672,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.PolicyTag result
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.PolicyTag) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.PolicyTag)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.PolicyTag) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -717,38 +769,44 @@ 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 34: {
-              parentPolicyTag_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureChildPolicyTagsIsMutable();
-              childPolicyTags_.add(s);
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                parentPolicyTag_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureChildPolicyTagsIsMutable();
+                childPolicyTags_.add(s);
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -758,23 +816,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. Resource name of this policy tag, whose format is:
      * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}".
      * 
* * 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; @@ -783,21 +844,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this policy tag, whose format is:
      * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}".
      * 
* * 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 { @@ -805,30 +867,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this policy tag, whose format is:
      * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}".
      * 
* * 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. Resource name of this policy tag, whose format is:
      * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}".
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -838,18 +907,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name of this policy tag, whose format is:
      * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}".
      * 
* * 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; @@ -859,6 +932,8 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Required. User defined name of this policy tag. It must: be unique within
      * the parent taxonomy; contain only unicode letters, numbers, underscores,
@@ -867,13 +942,13 @@ public Builder setNameBytes(
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -882,6 +957,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. User defined name of this policy tag. It must: be unique within
      * the parent taxonomy; contain only unicode letters, numbers, underscores,
@@ -890,15 +967,14 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -906,6 +982,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. User defined name of this policy tag. It must: be unique within
      * the parent taxonomy; contain only unicode letters, numbers, underscores,
@@ -914,18 +992,22 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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; } /** + * + * *
      * Required. User defined name of this policy tag. It must: be unique within
      * the parent taxonomy; contain only unicode letters, numbers, underscores,
@@ -934,6 +1016,7 @@ public Builder setDisplayName(
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -943,6 +1026,8 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Required. User defined name of this policy tag. It must: be unique within
      * the parent taxonomy; contain only unicode letters, numbers, underscores,
@@ -951,12 +1036,14 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -966,6 +1053,8 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Description of this policy tag. It must: contain only unicode characters,
      * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
@@ -974,13 +1063,13 @@ public Builder setDisplayNameBytes(
      * 
* * string description = 3; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -989,6 +1078,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Description of this policy tag. It must: contain only unicode characters,
      * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
@@ -997,15 +1088,14 @@ public java.lang.String getDescription() {
      * 
* * string description = 3; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1013,6 +1103,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Description of this policy tag. It must: contain only unicode characters,
      * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
@@ -1021,18 +1113,22 @@ public java.lang.String getDescription() {
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Description of this policy tag. It must: contain only unicode characters,
      * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
@@ -1041,6 +1137,7 @@ public Builder setDescription(
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1050,6 +1147,8 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Description of this policy tag. It must: contain only unicode characters,
      * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
@@ -1058,12 +1157,14 @@ public Builder clearDescription() {
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -1073,6 +1174,8 @@ public Builder setDescriptionBytes( private java.lang.Object parentPolicyTag_ = ""; /** + * + * *
      * Resource name of this policy tag's parent policy tag (e.g. for the
      * "LatLong" policy tag in the example above, this field contains the
@@ -1083,13 +1186,13 @@ public Builder setDescriptionBytes(
      * 
* * string parent_policy_tag = 4; + * * @return The parentPolicyTag. */ public java.lang.String getParentPolicyTag() { java.lang.Object ref = parentPolicyTag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentPolicyTag_ = s; return s; @@ -1098,6 +1201,8 @@ public java.lang.String getParentPolicyTag() { } } /** + * + * *
      * Resource name of this policy tag's parent policy tag (e.g. for the
      * "LatLong" policy tag in the example above, this field contains the
@@ -1108,15 +1213,14 @@ public java.lang.String getParentPolicyTag() {
      * 
* * string parent_policy_tag = 4; + * * @return The bytes for parentPolicyTag. */ - public com.google.protobuf.ByteString - getParentPolicyTagBytes() { + public com.google.protobuf.ByteString getParentPolicyTagBytes() { java.lang.Object ref = parentPolicyTag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parentPolicyTag_ = b; return b; } else { @@ -1124,6 +1228,8 @@ public java.lang.String getParentPolicyTag() { } } /** + * + * *
      * Resource name of this policy tag's parent policy tag (e.g. for the
      * "LatLong" policy tag in the example above, this field contains the
@@ -1134,18 +1240,22 @@ public java.lang.String getParentPolicyTag() {
      * 
* * string parent_policy_tag = 4; + * * @param value The parentPolicyTag to set. * @return This builder for chaining. */ - public Builder setParentPolicyTag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentPolicyTag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parentPolicyTag_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Resource name of this policy tag's parent policy tag (e.g. for the
      * "LatLong" policy tag in the example above, this field contains the
@@ -1156,6 +1266,7 @@ public Builder setParentPolicyTag(
      * 
* * string parent_policy_tag = 4; + * * @return This builder for chaining. */ public Builder clearParentPolicyTag() { @@ -1165,6 +1276,8 @@ public Builder clearParentPolicyTag() { return this; } /** + * + * *
      * Resource name of this policy tag's parent policy tag (e.g. for the
      * "LatLong" policy tag in the example above, this field contains the
@@ -1175,12 +1288,14 @@ public Builder clearParentPolicyTag() {
      * 
* * string parent_policy_tag = 4; + * * @param value The bytes for parentPolicyTag to set. * @return This builder for chaining. */ - public Builder setParentPolicyTagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentPolicyTagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parentPolicyTag_ = value; bitField0_ |= 0x00000008; @@ -1190,6 +1305,7 @@ public Builder setParentPolicyTagBytes( private com.google.protobuf.LazyStringArrayList childPolicyTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureChildPolicyTagsIsMutable() { if (!childPolicyTags_.isModifiable()) { childPolicyTags_ = new com.google.protobuf.LazyStringArrayList(childPolicyTags_); @@ -1197,35 +1313,46 @@ private void ensureChildPolicyTagsIsMutable() { bitField0_ |= 0x00000010; } /** + * + * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the childPolicyTags. */ - public com.google.protobuf.ProtocolStringList - getChildPolicyTagsList() { + public com.google.protobuf.ProtocolStringList getChildPolicyTagsList() { childPolicyTags_.makeImmutable(); return childPolicyTags_; } /** + * + * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of childPolicyTags. */ public int getChildPolicyTagsCount() { return childPolicyTags_.size(); } /** + * + * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The childPolicyTags at the given index. */ @@ -1233,31 +1360,39 @@ public java.lang.String getChildPolicyTags(int index) { return childPolicyTags_.get(index); } /** + * + * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the childPolicyTags at the given index. */ - public com.google.protobuf.ByteString - getChildPolicyTagsBytes(int index) { + public com.google.protobuf.ByteString getChildPolicyTagsBytes(int index) { return childPolicyTags_.getByteString(index); } /** + * + * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index to set the value at. * @param value The childPolicyTags to set. * @return This builder for chaining. */ - public Builder setChildPolicyTags( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setChildPolicyTags(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureChildPolicyTagsIsMutable(); childPolicyTags_.set(index, value); bitField0_ |= 0x00000010; @@ -1265,17 +1400,22 @@ public Builder setChildPolicyTags( return this; } /** + * + * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The childPolicyTags to add. * @return This builder for chaining. */ - public Builder addChildPolicyTags( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addChildPolicyTags(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureChildPolicyTagsIsMutable(); childPolicyTags_.add(value); bitField0_ |= 0x00000010; @@ -1283,50 +1423,61 @@ public Builder addChildPolicyTags( return this; } /** + * + * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The childPolicyTags to add. * @return This builder for chaining. */ - public Builder addAllChildPolicyTags( - java.lang.Iterable values) { + public Builder addAllChildPolicyTags(java.lang.Iterable values) { ensureChildPolicyTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, childPolicyTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, childPolicyTags_); bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearChildPolicyTags() { - childPolicyTags_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010);; + childPolicyTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + ; onChanged(); return this; } /** + * + * *
      * Output only. Resource names of child policy tags of this policy tag.
      * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes of the childPolicyTags to add. * @return This builder for chaining. */ - public Builder addChildPolicyTagsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addChildPolicyTagsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureChildPolicyTagsIsMutable(); childPolicyTags_.add(value); @@ -1334,9 +1485,9 @@ public Builder addChildPolicyTagsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1346,12 +1497,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.PolicyTag) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.PolicyTag) private static final com.google.cloud.datacatalog.v1beta1.PolicyTag DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.PolicyTag(); } @@ -1360,27 +1511,27 @@ public static com.google.cloud.datacatalog.v1beta1.PolicyTag getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PolicyTag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PolicyTag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1395,6 +1546,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.PolicyTag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerProto.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerProto.java new file mode 100644 index 000000000000..33c1da93bf29 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerProto.java @@ -0,0 +1,416 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/policytagmanager.proto + +package com.google.cloud.datacatalog.v1beta1; + +public final class PolicyTagManagerProto { + private PolicyTagManagerProto() {} + + 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_datacatalog_v1beta1_Taxonomy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_Service_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_Service_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_PolicyTag_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_PolicyTag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_CreateTaxonomyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_CreateTaxonomyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_DeleteTaxonomyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_DeleteTaxonomyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_UpdateTaxonomyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_UpdateTaxonomyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_GetTaxonomyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_GetTaxonomyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_CreatePolicyTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_CreatePolicyTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_DeletePolicyTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_DeletePolicyTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_UpdatePolicyTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_UpdatePolicyTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_GetPolicyTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_GetPolicyTagRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n7google/cloud/datacatalog/v1beta1/polic" + + "ytagmanager.proto\022 google.cloud.datacata" + + "log.v1beta1\032\034google/api/annotations.prot" + + "o\032\027google/api/client.proto\032\037google/api/f" + + "ield_behavior.proto\032\031google/api/resource" + + ".proto\032-google/cloud/datacatalog/v1beta1" + + "/common.proto\0321google/cloud/datacatalog/" + + "v1beta1/timestamps.proto\032\036google/iam/v1/" + + "iam_policy.proto\032\032google/iam/v1/policy.p" + + "roto\032\033google/protobuf/empty.proto\032 googl" + + "e/protobuf/field_mask.proto\"\206\005\n\010Taxonomy" + + "\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\032\n\014display_name\030\002 \001" + + "(\tB\004\342A\001\002\022\031\n\013description\030\003 \001(\tB\004\342A\001\001\022\036\n\020p" + + "olicy_tag_count\030\004 \001(\005B\004\342A\001\003\022U\n\023taxonomy_" + + "timestamps\030\005 \001(\01322.google.cloud.datacata" + + "log.v1beta1.SystemTimestampsB\004\342A\001\003\022[\n\026ac" + + "tivated_policy_types\030\006 \003(\01625.google.clou" + + "d.datacatalog.v1beta1.Taxonomy.PolicyTyp" + + "eB\004\342A\001\001\022I\n\007service\030\007 \001(\01322.google.cloud." + + "datacatalog.v1beta1.Taxonomy.ServiceB\004\342A" + + "\001\003\032[\n\007Service\022>\n\004name\030\001 \001(\01620.google.clo" + + "ud.datacatalog.v1beta1.ManagingSystem\022\020\n" + + "\010identity\030\002 \001(\t\"J\n\nPolicyType\022\033\n\027POLICY_" + + "TYPE_UNSPECIFIED\020\000\022\037\n\033FINE_GRAINED_ACCES" + + "S_CONTROL\020\001:g\352Ad\n#datacatalog.googleapis" + + ".com/Taxonomy\022=projects/{project}/locati" + + "ons/{location}/taxonomies/{taxonomy}\"\217\002\n" + + "\tPolicyTag\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\032\n\014displa" + + "y_name\030\002 \001(\tB\004\342A\001\002\022\023\n\013description\030\003 \001(\t\022" + + "\031\n\021parent_policy_tag\030\004 \001(\t\022\037\n\021child_poli" + + "cy_tags\030\005 \003(\tB\004\342A\001\003:\200\001\352A}\n$datacatalog.g" + + "oogleapis.com/PolicyTag\022Uprojects/{proje" + + "ct}/locations/{location}/taxonomies/{tax" + + "onomy}/policyTags/{policy_tag}\"\223\001\n\025Creat" + + "eTaxonomyRequest\022<\n\006parent\030\001 \001(\tB,\342A\001\002\372A" + + "%\022#datacatalog.googleapis.com/Taxonomy\022<" + + "\n\010taxonomy\030\002 \001(\0132*.google.cloud.datacata" + + "log.v1beta1.Taxonomy\"S\n\025DeleteTaxonomyRe" + + "quest\022:\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#datacatalo" + + "g.googleapis.com/Taxonomy\"\206\001\n\025UpdateTaxo" + + "nomyRequest\022<\n\010taxonomy\030\001 \001(\0132*.google.c" + + "loud.datacatalog.v1beta1.Taxonomy\022/\n\013upd" + + "ate_mask\030\002 \001(\0132\032.google.protobuf.FieldMa" + + "sk\"\214\001\n\025ListTaxonomiesRequest\022<\n\006parent\030\001" + + " \001(\tB,\342A\001\002\372A%\022#datacatalog.googleapis.co" + + "m/Taxonomy\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" + + "ken\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"q\n\026ListTaxonom" + + "iesResponse\022>\n\ntaxonomies\030\001 \003(\0132*.google" + + ".cloud.datacatalog.v1beta1.Taxonomy\022\027\n\017n" + + "ext_page_token\030\002 \001(\t\"P\n\022GetTaxonomyReque" + + "st\022:\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#datacatalog.g" + + "oogleapis.com/Taxonomy\"\230\001\n\026CreatePolicyT" + + "agRequest\022=\n\006parent\030\001 \001(\tB-\342A\001\002\372A&\022$data" + + "catalog.googleapis.com/PolicyTag\022?\n\npoli" + + "cy_tag\030\002 \001(\0132+.google.cloud.datacatalog." + + "v1beta1.PolicyTag\"U\n\026DeletePolicyTagRequ" + + "est\022;\n\004name\030\001 \001(\tB-\342A\001\002\372A&\n$datacatalog." + + "googleapis.com/PolicyTag\"\212\001\n\026UpdatePolic" + + "yTagRequest\022?\n\npolicy_tag\030\001 \001(\0132+.google" + + ".cloud.datacatalog.v1beta1.PolicyTag\022/\n\013" + + "update_mask\030\002 \001(\0132\032.google.protobuf.Fiel" + + "dMask\"}\n\025ListPolicyTagsRequest\022=\n\006parent" + + "\030\001 \001(\tB-\342A\001\002\372A&\022$datacatalog.googleapis." + + "com/PolicyTag\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage" + + "_token\030\003 \001(\t\"s\n\026ListPolicyTagsResponse\022@" + + "\n\013policy_tags\030\001 \003(\0132+.google.cloud.datac" + + "atalog.v1beta1.PolicyTag\022\027\n\017next_page_to" + + "ken\030\002 \001(\t\"R\n\023GetPolicyTagRequest\022;\n\004name" + + "\030\001 \001(\tB-\342A\001\002\372A&\n$datacatalog.googleapis." + + "com/PolicyTag2\345\026\n\020PolicyTagManager\022\316\001\n\016C" + + "reateTaxonomy\0227.google.cloud.datacatalog" + + ".v1beta1.CreateTaxonomyRequest\032*.google." + + "cloud.datacatalog.v1beta1.Taxonomy\"W\332A\017p" + + "arent,taxonomy\202\323\344\223\002?\"3/v1beta1/{parent=p" + + "rojects/*/locations/*}/taxonomies:\010taxon" + + "omy\022\245\001\n\016DeleteTaxonomy\0227.google.cloud.da" + + "tacatalog.v1beta1.DeleteTaxonomyRequest\032" + + "\026.google.protobuf.Empty\"B\332A\004name\202\323\344\223\0025*3" + + "/v1beta1/{name=projects/*/locations/*/ta" + + "xonomies/*}\022\320\001\n\016UpdateTaxonomy\0227.google." + + "cloud.datacatalog.v1beta1.UpdateTaxonomy" + + "Request\032*.google.cloud.datacatalog.v1bet" + + "a1.Taxonomy\"Y\332A\010taxonomy\202\323\344\223\002H2\n\ntaxonomies\030\001 " + + "\003(\0132*.google.cloud.datacatalog.v1beta1.T" + + "axonomy\"\311\001\n\027ExportTaxonomiesRequest\022<\n\006p" + + "arent\030\001 \001(\tB,\342A\001\002\372A%\022#datacatalog.google" + + "apis.com/Taxonomy\022@\n\ntaxonomies\030\002 \003(\tB,\342" + + "A\001\002\372A%\n#datacatalog.googleapis.com/Taxon" + + "omy\022\037\n\025serialized_taxonomies\030\003 \001(\010H\000B\r\n\013" + + "destination\"d\n\030ExportTaxonomiesResponse\022" + + "H\n\ntaxonomies\030\001 \003(\01324.google.cloud.datac" + + "atalog.v1beta1.SerializedTaxonomy2\222\004\n\035Po" + + "licyTagManagerSerialization\022\320\001\n\020ImportTa" + + "xonomies\0229.google.cloud.datacatalog.v1be" + + "ta1.ImportTaxonomiesRequest\032:.google.clo" + + "ud.datacatalog.v1beta1.ImportTaxonomiesR" + + "esponse\"E\202\323\344\223\002?\":/v1beta1/{parent=projec" + + "ts/*/locations/*}/taxonomies:import:\001*\022\315" + + "\001\n\020ExportTaxonomies\0229.google.cloud.datac" + + "atalog.v1beta1.ExportTaxonomiesRequest\032:" + + ".google.cloud.datacatalog.v1beta1.Export" + + "TaxonomiesResponse\"B\202\323\344\223\002<\022:/v1beta1/{pa" + + "rent=projects/*/locations/*}/taxonomies:" + + "export\032N\312A\032datacatalog.googleapis.com\322A." + + "https://www.googleapis.com/auth/cloud-pl" + + "atformB\203\002\n$com.google.cloud.datacatalog." + + "v1beta1B\"PolicyTagManagerSerializationPr" + + "otoP\001ZFcloud.google.com/go/datacatalog/a" + + "piv1beta1/datacatalogpb;datacatalogpb\370\001\001" + + "\252\002 Google.Cloud.DataCatalog.V1Beta1\312\002 Go" + + "ogle\\Cloud\\DataCatalog\\V1beta1\352\002#Google:" + + ":Cloud::DataCatalog::V1beta1b\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.datacatalog.v1beta1.PolicyTagManagerProto.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_descriptor, + new java.lang.String[] { + "DisplayName", "Description", "PolicyTags", "ActivatedPolicyTypes", + }); + internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_descriptor, + new java.lang.String[] { + "PolicyTag", "DisplayName", "Description", "ChildPolicyTags", + }); + internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_descriptor, + new java.lang.String[] { + "Parent", "InlineSource", "Source", + }); + internal_static_google_cloud_datacatalog_v1beta1_InlineSource_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_datacatalog_v1beta1_InlineSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_InlineSource_descriptor, + new java.lang.String[] { + "Taxonomies", + }); + internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesResponse_descriptor, + new java.lang.String[] { + "Taxonomies", + }); + internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesRequest_descriptor, + new java.lang.String[] { + "Parent", "Taxonomies", "SerializedTaxonomies", "Destination", + }); + internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesResponse_descriptor, + new java.lang.String[] { + "Taxonomies", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + 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.datacatalog.v1beta1.PolicyTagManagerProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagName.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagName.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagName.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagName.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagOrBuilder.java similarity index 78% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagOrBuilder.java index 01f7ea5bda99..14c5e54713ae 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagOrBuilder.java @@ -1,35 +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/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; -public interface PolicyTagOrBuilder extends +public interface PolicyTagOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.PolicyTag) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name of this policy tag, whose format is:
    * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}".
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name of this policy tag, whose format is:
    * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}".
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. User defined name of this policy tag. It must: be unique within
    * the parent taxonomy; contain only unicode letters, numbers, underscores,
@@ -38,10 +61,13 @@ public interface PolicyTagOrBuilder extends
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. User defined name of this policy tag. It must: be unique within
    * the parent taxonomy; contain only unicode letters, numbers, underscores,
@@ -50,12 +76,14 @@ public interface PolicyTagOrBuilder extends
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Description of this policy tag. It must: contain only unicode characters,
    * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
@@ -64,10 +92,13 @@ public interface PolicyTagOrBuilder extends
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Description of this policy tag. It must: contain only unicode characters,
    * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
@@ -76,12 +107,14 @@ public interface PolicyTagOrBuilder extends
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Resource name of this policy tag's parent policy tag (e.g. for the
    * "LatLong" policy tag in the example above, this field contains the
@@ -92,10 +125,13 @@ public interface PolicyTagOrBuilder extends
    * 
* * string parent_policy_tag = 4; + * * @return The parentPolicyTag. */ java.lang.String getParentPolicyTag(); /** + * + * *
    * Resource name of this policy tag's parent policy tag (e.g. for the
    * "LatLong" policy tag in the example above, this field contains the
@@ -106,49 +142,63 @@ public interface PolicyTagOrBuilder extends
    * 
* * string parent_policy_tag = 4; + * * @return The bytes for parentPolicyTag. */ - com.google.protobuf.ByteString - getParentPolicyTagBytes(); + com.google.protobuf.ByteString getParentPolicyTagBytes(); /** + * + * *
    * Output only. Resource names of child policy tags of this policy tag.
    * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the childPolicyTags. */ - java.util.List - getChildPolicyTagsList(); + java.util.List getChildPolicyTagsList(); /** + * + * *
    * Output only. Resource names of child policy tags of this policy tag.
    * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of childPolicyTags. */ int getChildPolicyTagsCount(); /** + * + * *
    * Output only. Resource names of child policy tags of this policy tag.
    * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The childPolicyTags at the given index. */ java.lang.String getChildPolicyTags(int index); /** + * + * *
    * Output only. Resource names of child policy tags of this policy tag.
    * 
* - * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the childPolicyTags at the given index. */ - com.google.protobuf.ByteString - getChildPolicyTagsBytes(int index); + com.google.protobuf.ByteString getChildPolicyTagsBytes(int index); } diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldEnumValueRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldEnumValueRequest.java similarity index 57% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldEnumValueRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldEnumValueRequest.java index f86b671aae39..04f6b088fb3c 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldEnumValueRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldEnumValueRequest.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Request message for
  * [RenameTagTemplateFieldEnumValue][google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateFieldEnumValue].
@@ -11,15 +28,18 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest}
  */
-public final class RenameTagTemplateFieldEnumValueRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RenameTagTemplateFieldEnumValueRequest
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest)
     RenameTagTemplateFieldEnumValueRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RenameTagTemplateFieldEnumValueRequest.newBuilder() to construct.
-  private RenameTagTemplateFieldEnumValueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private RenameTagTemplateFieldEnumValueRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RenameTagTemplateFieldEnumValueRequest() {
     name_ = "";
     newEnumValueDisplayName_ = "";
@@ -27,35 +47,43 @@ private RenameTagTemplateFieldEnumValueRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RenameTagTemplateFieldEnumValueRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest.class, com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest.class,
+            com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest.Builder
+                .class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the enum field value. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -64,31 +92,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the enum field value. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
    * 
* - * string name = 1 [(.google.api.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,15 +127,19 @@ public java.lang.String getName() { } public static final int NEW_ENUM_VALUE_DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object newEnumValueDisplayName_ = ""; /** + * + * *
    * Required. The new display name of the enum value. For example,
    * `my_new_enum_value`.
    * 
* * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The newEnumValueDisplayName. */ @java.lang.Override @@ -114,30 +148,30 @@ public java.lang.String getNewEnumValueDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newEnumValueDisplayName_ = s; return s; } } /** + * + * *
    * Required. The new display name of the enum value. For example,
    * `my_new_enum_value`.
    * 
* * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for newEnumValueDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getNewEnumValueDisplayNameBytes() { + public com.google.protobuf.ByteString getNewEnumValueDisplayNameBytes() { java.lang.Object ref = newEnumValueDisplayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); newEnumValueDisplayName_ = b; return b; } else { @@ -146,6 +180,7 @@ public java.lang.String getNewEnumValueDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -157,8 +192,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -188,17 +222,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.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest)) { + if (!(obj + instanceof com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest other = (com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest) obj; + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest other = + (com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getNewEnumValueDisplayName() - .equals(other.getNewEnumValueDisplayName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getNewEnumValueDisplayName().equals(other.getNewEnumValueDisplayName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -219,99 +253,111 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + 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.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest parseFrom( - java.io.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.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + parseFrom( + java.io.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.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest parseDelimitedFrom( - java.io.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.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + parseDelimitedFrom( + java.io.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.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest 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.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + 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.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [RenameTagTemplateFieldEnumValue][google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateFieldEnumValue].
@@ -319,33 +365,34 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest)
       com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest.class, com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest.class,
+              com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest.Builder
+                  .class);
     }
 
-    // Construct using com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest.newBuilder()
-    private Builder() {
+    // Construct using
+    // com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest.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();
@@ -356,19 +403,22 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest getDefaultInstanceForType() {
-      return com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest.getDefaultInstance();
+    public com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest
+        getDefaultInstanceForType() {
+      return com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest
+          .getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest build() {
-      com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest result = buildPartial();
+      com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest result =
+          buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -376,14 +426,19 @@ public com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueReque
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest result = new com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+    public com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest
+        buildPartial() {
+      com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest result =
+          new com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest result) {
+    private void buildPartial0(
+        com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -397,46 +452,52 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.RenameTagTemplat
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
-      if (other instanceof com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest)other);
+      if (other
+          instanceof com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest) {
+        return mergeFrom(
+            (com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest other) {
+      if (other
+          == com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest
+              .getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -473,22 +534,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              newEnumValueDisplayName_ = 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:
+              {
+                newEnumValueDisplayName_ = 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,24 +562,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the enum field value. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
      * 
* - * string name = 1 [(.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; @@ -524,22 +593,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the enum field value. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
      * 
* - * string name = 1 [(.google.api.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 { @@ -547,32 +619,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the enum field value. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the enum field value. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
      * 
* - * string 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() { @@ -582,19 +665,25 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the enum field value. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
      * 
* - * string name = 1 [(.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; @@ -604,19 +693,22 @@ public Builder setNameBytes( private java.lang.Object newEnumValueDisplayName_ = ""; /** + * + * *
      * Required. The new display name of the enum value. For example,
      * `my_new_enum_value`.
      * 
* - * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The newEnumValueDisplayName. */ public java.lang.String getNewEnumValueDisplayName() { java.lang.Object ref = newEnumValueDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newEnumValueDisplayName_ = s; return s; @@ -625,21 +717,23 @@ public java.lang.String getNewEnumValueDisplayName() { } } /** + * + * *
      * Required. The new display name of the enum value. For example,
      * `my_new_enum_value`.
      * 
* - * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The bytes for newEnumValueDisplayName. */ - public com.google.protobuf.ByteString - getNewEnumValueDisplayNameBytes() { + public com.google.protobuf.ByteString getNewEnumValueDisplayNameBytes() { java.lang.Object ref = newEnumValueDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); newEnumValueDisplayName_ = b; return b; } else { @@ -647,30 +741,39 @@ public java.lang.String getNewEnumValueDisplayName() { } } /** + * + * *
      * Required. The new display name of the enum value. For example,
      * `my_new_enum_value`.
      * 
* - * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The newEnumValueDisplayName to set. * @return This builder for chaining. */ - public Builder setNewEnumValueDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNewEnumValueDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } newEnumValueDisplayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The new display name of the enum value. For example,
      * `my_new_enum_value`.
      * 
* - * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearNewEnumValueDisplayName() { @@ -680,27 +783,32 @@ public Builder clearNewEnumValueDisplayName() { return this; } /** + * + * *
      * Required. The new display name of the enum value. For example,
      * `my_new_enum_value`.
      * 
* - * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The bytes for newEnumValueDisplayName to set. * @return This builder for chaining. */ - public Builder setNewEnumValueDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNewEnumValueDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); newEnumValueDisplayName_ = 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); } @@ -710,41 +818,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest) - private static final com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest DEFAULT_INSTANCE; + private static final com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest(); } - public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest getDefaultInstance() { + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RenameTagTemplateFieldEnumValueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RenameTagTemplateFieldEnumValueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,9 +867,8 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java index 0534e906a900..8ede07bc3493 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java @@ -1,55 +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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface RenameTagTemplateFieldEnumValueRequestOrBuilder extends +public interface RenameTagTemplateFieldEnumValueRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the enum field value. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the enum field value. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
    * 
* - * string name = 1 [(.google.api.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 new display name of the enum value. For example,
    * `my_new_enum_value`.
    * 
* * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The newEnumValueDisplayName. */ java.lang.String getNewEnumValueDisplayName(); /** + * + * *
    * Required. The new display name of the enum value. For example,
    * `my_new_enum_value`.
    * 
* * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for newEnumValueDisplayName. */ - com.google.protobuf.ByteString - getNewEnumValueDisplayNameBytes(); + com.google.protobuf.ByteString getNewEnumValueDisplayNameBytes(); } diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequest.java similarity index 63% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequest.java index 27105d2ae606..aee17750d55e 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequest.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Request message for
  * [RenameTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.RenameTagTemplateField].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest}
  */
-public final class RenameTagTemplateFieldRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RenameTagTemplateFieldRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest)
     RenameTagTemplateFieldRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RenameTagTemplateFieldRequest.newBuilder() to construct.
   private RenameTagTemplateFieldRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RenameTagTemplateFieldRequest() {
     name_ = "";
     newTagTemplateFieldId_ = "";
@@ -27,35 +45,42 @@ private RenameTagTemplateFieldRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RenameTagTemplateFieldRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest.class, com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest.class,
+            com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the tag template. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -64,31 +89,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the tag template. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
    * 
* - * string name = 1 [(.google.api.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,15 +124,19 @@ public java.lang.String getName() { } public static final int NEW_TAG_TEMPLATE_FIELD_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object newTagTemplateFieldId_ = ""; /** + * + * *
    * Required. The new ID of this tag template field. For example,
    * `my_new_field`.
    * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The newTagTemplateFieldId. */ @java.lang.Override @@ -114,30 +145,30 @@ public java.lang.String getNewTagTemplateFieldId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newTagTemplateFieldId_ = s; return s; } } /** + * + * *
    * Required. The new ID of this tag template field. For example,
    * `my_new_field`.
    * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for newTagTemplateFieldId. */ @java.lang.Override - public com.google.protobuf.ByteString - getNewTagTemplateFieldIdBytes() { + public com.google.protobuf.ByteString getNewTagTemplateFieldIdBytes() { java.lang.Object ref = newTagTemplateFieldId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); newTagTemplateFieldId_ = b; return b; } else { @@ -146,6 +177,7 @@ public java.lang.String getNewTagTemplateFieldId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -157,8 +189,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -188,17 +219,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.datacatalog.v1beta1.RenameTagTemplateFieldRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest other = (com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest) obj; + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest other = + (com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getNewTagTemplateFieldId() - .equals(other.getNewTagTemplateFieldId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getNewTagTemplateFieldId().equals(other.getNewTagTemplateFieldId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -220,98 +250,105 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest parseDelimitedFrom( - java.io.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.datacatalog.v1beta1.RenameTagTemplateFieldRequest + parseDelimitedFrom( + java.io.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.datacatalog.v1beta1.RenameTagTemplateFieldRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [RenameTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.RenameTagTemplateField].
@@ -319,33 +356,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest)
       com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest.class, com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest.class,
+              com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest.Builder.class);
     }
 
-    // Construct using com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest.newBuilder()
-    private Builder() {
+    // Construct using
+    // com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest.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();
@@ -356,14 +393,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest getDefaultInstanceForType() {
-      return com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest.getDefaultInstance();
+    public com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest
+        getDefaultInstanceForType() {
+      return com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -377,13 +416,17 @@ public com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest build(
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest result = new com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest result =
+          new com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest result) {
+    private void buildPartial0(
+        com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -397,46 +440,51 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.RenameTagTemplat
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest)other);
+        return mergeFrom(
+            (com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest other) {
+      if (other
+          == com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest
+              .getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -473,22 +521,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              newTagTemplateFieldId_ = 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:
+              {
+                newTagTemplateFieldId_ = 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,24 +549,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the tag template. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
      * 
* - * string name = 1 [(.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; @@ -524,22 +580,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the tag template. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
      * 
* - * string name = 1 [(.google.api.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 { @@ -547,32 +606,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the tag template. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the tag template. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
      * 
* - * string 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() { @@ -582,19 +652,25 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the tag template. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
      * 
* - * string name = 1 [(.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; @@ -604,19 +680,21 @@ public Builder setNameBytes( private java.lang.Object newTagTemplateFieldId_ = ""; /** + * + * *
      * Required. The new ID of this tag template field. For example,
      * `my_new_field`.
      * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The newTagTemplateFieldId. */ public java.lang.String getNewTagTemplateFieldId() { java.lang.Object ref = newTagTemplateFieldId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newTagTemplateFieldId_ = s; return s; @@ -625,21 +703,22 @@ public java.lang.String getNewTagTemplateFieldId() { } } /** + * + * *
      * Required. The new ID of this tag template field. For example,
      * `my_new_field`.
      * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for newTagTemplateFieldId. */ - public com.google.protobuf.ByteString - getNewTagTemplateFieldIdBytes() { + public com.google.protobuf.ByteString getNewTagTemplateFieldIdBytes() { java.lang.Object ref = newTagTemplateFieldId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); newTagTemplateFieldId_ = b; return b; } else { @@ -647,30 +726,37 @@ public java.lang.String getNewTagTemplateFieldId() { } } /** + * + * *
      * Required. The new ID of this tag template field. For example,
      * `my_new_field`.
      * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The newTagTemplateFieldId to set. * @return This builder for chaining. */ - public Builder setNewTagTemplateFieldId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNewTagTemplateFieldId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } newTagTemplateFieldId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The new ID of this tag template field. For example,
      * `my_new_field`.
      * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearNewTagTemplateFieldId() { @@ -680,27 +766,31 @@ public Builder clearNewTagTemplateFieldId() { return this; } /** + * + * *
      * Required. The new ID of this tag template field. For example,
      * `my_new_field`.
      * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for newTagTemplateFieldId to set. * @return This builder for chaining. */ - public Builder setNewTagTemplateFieldIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNewTagTemplateFieldIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); newTagTemplateFieldId_ = 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); } @@ -710,41 +800,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest) - private static final com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest DEFAULT_INSTANCE; + private static final com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest(); } - public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest getDefaultInstance() { + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RenameTagTemplateFieldRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RenameTagTemplateFieldRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,9 +848,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequestOrBuilder.java index f0b6fe6e7f35..ff995ecfc89c 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequestOrBuilder.java @@ -1,55 +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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface RenameTagTemplateFieldRequestOrBuilder extends +public interface RenameTagTemplateFieldRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the tag template. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the tag template. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
    * 
* - * string name = 1 [(.google.api.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 new ID of this tag template field. For example,
    * `my_new_field`.
    * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The newTagTemplateFieldId. */ java.lang.String getNewTagTemplateFieldId(); /** + * + * *
    * Required. The new ID of this tag template field. For example,
    * `my_new_field`.
    * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for newTagTemplateFieldId. */ - com.google.protobuf.ByteString - getNewTagTemplateFieldIdBytes(); + com.google.protobuf.ByteString getNewTagTemplateFieldIdBytes(); } diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Schema.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Schema.java similarity index 63% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Schema.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Schema.java index 9b5e320456ba..7fd00d9397ca 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Schema.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Schema.java @@ -1,115 +1,155 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/schema.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Represents a schema (e.g. BigQuery, GoogleSQL, Avro schema).
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.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.datacatalog.v1beta1.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() { columns_ = 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 Schema(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1beta1_Schema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass + .internal_static_google_cloud_datacatalog_v1beta1_Schema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1beta1_Schema_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass + .internal_static_google_cloud_datacatalog_v1beta1_Schema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.Schema.class, com.google.cloud.datacatalog.v1beta1.Schema.Builder.class); + com.google.cloud.datacatalog.v1beta1.Schema.class, + com.google.cloud.datacatalog.v1beta1.Schema.Builder.class); } public static final int COLUMNS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List columns_; /** + * + * *
    * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
    * can be specified.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getColumnsList() { return columns_; } /** + * + * *
    * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
    * can be specified.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getColumnsOrBuilderList() { return columns_; } /** + * + * *
    * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
    * can be specified.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getColumnsCount() { return columns_.size(); } /** + * + * *
    * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
    * can be specified.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.ColumnSchema getColumns(int index) { return columns_.get(index); } /** + * + * *
    * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
    * can be specified.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder getColumnsOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder getColumnsOrBuilder(int index) { return columns_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,8 +161,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < columns_.size(); i++) { output.writeMessage(2, columns_.get(i)); } @@ -136,8 +175,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < columns_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, columns_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, columns_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -147,15 +185,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1beta1.Schema)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.Schema other = (com.google.cloud.datacatalog.v1beta1.Schema) obj; + com.google.cloud.datacatalog.v1beta1.Schema other = + (com.google.cloud.datacatalog.v1beta1.Schema) obj; - if (!getColumnsList() - .equals(other.getColumnsList())) return false; + if (!getColumnsList().equals(other.getColumnsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -176,132 +214,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1beta1.Schema parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1beta1.Schema parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.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.datacatalog.v1beta1.Schema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.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.datacatalog.v1beta1.Schema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.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.datacatalog.v1beta1.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.datacatalog.v1beta1.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.datacatalog.v1beta1.Schema parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.Schema parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.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.datacatalog.v1beta1.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.datacatalog.v1beta1.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.datacatalog.v1beta1.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; } /** + * + * *
    * Represents a schema (e.g. BigQuery, GoogleSQL, Avro schema).
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.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.datacatalog.v1beta1.Schema) com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1beta1_Schema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass + .internal_static_google_cloud_datacatalog_v1beta1_Schema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1beta1_Schema_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass + .internal_static_google_cloud_datacatalog_v1beta1_Schema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.Schema.class, com.google.cloud.datacatalog.v1beta1.Schema.Builder.class); + com.google.cloud.datacatalog.v1beta1.Schema.class, + com.google.cloud.datacatalog.v1beta1.Schema.Builder.class); } // Construct using com.google.cloud.datacatalog.v1beta1.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(); @@ -317,9 +359,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass.internal_static_google_cloud_datacatalog_v1beta1_Schema_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.SchemaOuterClass + .internal_static_google_cloud_datacatalog_v1beta1_Schema_descriptor; } @java.lang.Override @@ -338,9 +380,12 @@ public com.google.cloud.datacatalog.v1beta1.Schema build() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.Schema buildPartial() { - com.google.cloud.datacatalog.v1beta1.Schema result = new com.google.cloud.datacatalog.v1beta1.Schema(this); + com.google.cloud.datacatalog.v1beta1.Schema result = + new com.google.cloud.datacatalog.v1beta1.Schema(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -365,38 +410,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.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.datacatalog.v1beta1.Schema) { - return mergeFrom((com.google.cloud.datacatalog.v1beta1.Schema)other); + return mergeFrom((com.google.cloud.datacatalog.v1beta1.Schema) other); } else { super.mergeFrom(other); return this; @@ -423,9 +469,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.Schema other) { columnsBuilder_ = null; columns_ = other.columns_; bitField0_ = (bitField0_ & ~0x00000001); - columnsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getColumnsFieldBuilder() : null; + columnsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getColumnsFieldBuilder() + : null; } else { columnsBuilder_.addAllMessages(other.columns_); } @@ -457,25 +504,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - com.google.cloud.datacatalog.v1beta1.ColumnSchema m = - input.readMessage( - com.google.cloud.datacatalog.v1beta1.ColumnSchema.parser(), - extensionRegistry); - if (columnsBuilder_ == null) { - ensureColumnsIsMutable(); - columns_.add(m); - } else { - columnsBuilder_.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.datacatalog.v1beta1.ColumnSchema m = + input.readMessage( + com.google.cloud.datacatalog.v1beta1.ColumnSchema.parser(), + extensionRegistry); + if (columnsBuilder_ == null) { + ensureColumnsIsMutable(); + columns_.add(m); + } else { + columnsBuilder_.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) { @@ -485,27 +534,37 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List columns_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureColumnsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - columns_ = new java.util.ArrayList(columns_); + columns_ = + new java.util.ArrayList(columns_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.ColumnSchema, com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder, com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder> columnsBuilder_; + com.google.cloud.datacatalog.v1beta1.ColumnSchema, + com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder, + com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder> + columnsBuilder_; /** + * + * *
      * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
      * can be specified.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getColumnsList() { if (columnsBuilder_ == null) { @@ -515,12 +574,16 @@ public java.util.List getColu } } /** + * + * *
      * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
      * can be specified.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getColumnsCount() { if (columnsBuilder_ == null) { @@ -530,12 +593,16 @@ public int getColumnsCount() { } } /** + * + * *
      * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
      * can be specified.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1beta1.ColumnSchema getColumns(int index) { if (columnsBuilder_ == null) { @@ -545,15 +612,18 @@ public com.google.cloud.datacatalog.v1beta1.ColumnSchema getColumns(int index) { } } /** + * + * *
      * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
      * can be specified.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setColumns( - int index, com.google.cloud.datacatalog.v1beta1.ColumnSchema value) { + public Builder setColumns(int index, com.google.cloud.datacatalog.v1beta1.ColumnSchema value) { if (columnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -567,12 +637,16 @@ public Builder setColumns( return this; } /** + * + * *
      * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
      * can be specified.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setColumns( int index, com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder builderForValue) { @@ -586,12 +660,16 @@ public Builder setColumns( return this; } /** + * + * *
      * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
      * can be specified.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addColumns(com.google.cloud.datacatalog.v1beta1.ColumnSchema value) { if (columnsBuilder_ == null) { @@ -607,15 +685,18 @@ public Builder addColumns(com.google.cloud.datacatalog.v1beta1.ColumnSchema valu return this; } /** + * + * *
      * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
      * can be specified.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addColumns( - int index, com.google.cloud.datacatalog.v1beta1.ColumnSchema value) { + public Builder addColumns(int index, com.google.cloud.datacatalog.v1beta1.ColumnSchema value) { if (columnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -629,12 +710,16 @@ public Builder addColumns( return this; } /** + * + * *
      * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
      * can be specified.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addColumns( com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder builderForValue) { @@ -648,12 +733,16 @@ public Builder addColumns( return this; } /** + * + * *
      * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
      * can be specified.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addColumns( int index, com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder builderForValue) { @@ -667,19 +756,22 @@ public Builder addColumns( return this; } /** + * + * *
      * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
      * can be specified.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ 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); @@ -687,12 +779,16 @@ public Builder addAllColumns( return this; } /** + * + * *
      * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
      * can be specified.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearColumns() { if (columnsBuilder_ == null) { @@ -705,12 +801,16 @@ public Builder clearColumns() { return this; } /** + * + * *
      * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
      * can be specified.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeColumns(int index) { if (columnsBuilder_ == null) { @@ -723,42 +823,54 @@ public Builder removeColumns(int index) { return this; } /** + * + * *
      * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
      * can be specified.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder getColumnsBuilder( - int index) { + public com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder getColumnsBuilder(int index) { return getColumnsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
      * can be specified.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder getColumnsOrBuilder( int index) { if (columnsBuilder_ == null) { - return columns_.get(index); } else { + return columns_.get(index); + } else { return columnsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
      * can be specified.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getColumnsOrBuilderList() { + public java.util.List + getColumnsOrBuilderList() { if (columnsBuilder_ != null) { return columnsBuilder_.getMessageOrBuilderList(); } else { @@ -766,59 +878,74 @@ public com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder getColumnsOrBu } } /** + * + * *
      * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
      * can be specified.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder addColumnsBuilder() { - return getColumnsFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1beta1.ColumnSchema.getDefaultInstance()); + return getColumnsFieldBuilder() + .addBuilder(com.google.cloud.datacatalog.v1beta1.ColumnSchema.getDefaultInstance()); } /** + * + * *
      * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
      * can be specified.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder addColumnsBuilder( - int index) { - return getColumnsFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1beta1.ColumnSchema.getDefaultInstance()); + public com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder addColumnsBuilder(int index) { + return getColumnsFieldBuilder() + .addBuilder( + index, com.google.cloud.datacatalog.v1beta1.ColumnSchema.getDefaultInstance()); } /** + * + * *
      * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
      * can be specified.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getColumnsBuilderList() { + public java.util.List + getColumnsBuilderList() { return getColumnsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.ColumnSchema, com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder, com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder> + com.google.cloud.datacatalog.v1beta1.ColumnSchema, + com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder, + com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder> getColumnsFieldBuilder() { if (columnsBuilder_ == null) { - columnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.ColumnSchema, com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder, com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder>( - columns_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + columnsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.ColumnSchema, + com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder, + com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder>( + columns_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); columns_ = null; } return columnsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -828,12 +955,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.Schema) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.Schema) private static final com.google.cloud.datacatalog.v1beta1.Schema DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.Schema(); } @@ -842,27 +969,27 @@ public static com.google.cloud.datacatalog.v1beta1.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; @@ -877,6 +1004,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.Schema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOrBuilder.java new file mode 100644 index 000000000000..97f8a17707a6 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOrBuilder.java @@ -0,0 +1,92 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/schema.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface SchemaOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.Schema) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+   * can be specified.
+   * 
+ * + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + java.util.List getColumnsList(); + /** + * + * + *
+   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+   * can be specified.
+   * 
+ * + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.datacatalog.v1beta1.ColumnSchema getColumns(int index); + /** + * + * + *
+   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+   * can be specified.
+   * 
+ * + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + int getColumnsCount(); + /** + * + * + *
+   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+   * can be specified.
+   * 
+ * + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + java.util.List + getColumnsOrBuilderList(); + /** + * + * + *
+   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+   * can be specified.
+   * 
+ * + * + * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder getColumnsOrBuilder(int index); +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOuterClass.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOuterClass.java new file mode 100644 index 000000000000..3bf144039da2 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOuterClass.java @@ -0,0 +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/datacatalog/v1beta1/schema.proto + +package com.google.cloud.datacatalog.v1beta1; + +public final class SchemaOuterClass { + private SchemaOuterClass() {} + + 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_datacatalog_v1beta1_Schema_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_Schema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_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/datacatalog/v1beta1/schem" + + "a.proto\022 google.cloud.datacatalog.v1beta" + + "1\032\037google/api/field_behavior.proto\"O\n\006Sc" + + "hema\022E\n\007columns\030\002 \003(\0132..google.cloud.dat" + + "acatalog.v1beta1.ColumnSchemaB\004\342A\001\002\"\261\001\n\014" + + "ColumnSchema\022\024\n\006column\030\006 \001(\tB\004\342A\001\002\022\022\n\004ty" + + "pe\030\001 \001(\tB\004\342A\001\002\022\031\n\013description\030\002 \001(\tB\004\342A\001" + + "\001\022\022\n\004mode\030\003 \001(\tB\004\342A\001\001\022H\n\nsubcolumns\030\007 \003(" + + "\0132..google.cloud.datacatalog.v1beta1.Col" + + "umnSchemaB\004\342A\001\001B\337\001\n$com.google.cloud.dat" + + "acatalog.v1beta1P\001ZFcloud.google.com/go/" + + "datacatalog/apiv1beta1/datacatalogpb;dat" + + "acatalogpb\370\001\001\252\002 Google.Cloud.DataCatalog" + + ".V1Beta1\312\002 Google\\Cloud\\DataCatalog\\V1be" + + "ta1\352\002#Google::Cloud::DataCatalog::V1beta" + + "1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1beta1_Schema_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1beta1_Schema_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_Schema_descriptor, + new java.lang.String[] { + "Columns", + }); + internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_descriptor, + new java.lang.String[] { + "Column", "Type", "Description", "Mode", "Subcolumns", + }); + 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Search.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Search.java new file mode 100644 index 000000000000..55edae3d270c --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Search.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/datacatalog/v1beta1/search.proto + +package com.google.cloud.datacatalog.v1beta1; + +public final class Search { + private Search() {} + + 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_datacatalog_v1beta1_SearchCatalogResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_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/datacatalog/v1beta1/searc" + + "h.proto\022 google.cloud.datacatalog.v1beta" + + "1\032\037google/api/field_behavior.proto\032\037goog" + + "le/protobuf/timestamp.proto\"\356\001\n\023SearchCa" + + "talogResult\022N\n\022search_result_type\030\001 \001(\0162" + + "2.google.cloud.datacatalog.v1beta1.Searc" + + "hResultType\022\035\n\025search_result_subtype\030\002 \001" + + "(\t\022\036\n\026relative_resource_name\030\003 \001(\t\022\027\n\017li" + + "nked_resource\030\004 \001(\t\022/\n\013modify_time\030\007 \001(\013" + + "2\032.google.protobuf.Timestamp*d\n\020SearchRe" + + "sultType\022\"\n\036SEARCH_RESULT_TYPE_UNSPECIFI" + + "ED\020\000\022\t\n\005ENTRY\020\001\022\020\n\014TAG_TEMPLATE\020\002\022\017\n\013ENT" + + "RY_GROUP\020\003B\337\001\n$com.google.cloud.datacata" + + "log.v1beta1P\001ZFcloud.google.com/go/datac" + + "atalog/apiv1beta1/datacatalogpb;datacata" + + "logpb\370\001\001\252\002 Google.Cloud.DataCatalog.V1Be" + + "ta1\312\002 Google\\Cloud\\DataCatalog\\V1beta1\352\002" + + "#Google::Cloud::DataCatalog::V1beta1b\006pr" + + "oto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_descriptor, + new java.lang.String[] { + "SearchResultType", + "SearchResultSubtype", + "RelativeResourceName", + "LinkedResource", + "ModifyTime", + }); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequest.java similarity index 78% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequest.java index 57e6afd79361..5f7d1ee80d9e 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequest.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Request message for
  * [SearchCatalog][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.SearchCatalogRequest}
  */
-public final class SearchCatalogRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SearchCatalogRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.SearchCatalogRequest)
     SearchCatalogRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SearchCatalogRequest.newBuilder() to construct.
   private SearchCatalogRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SearchCatalogRequest() {
     query_ = "";
     pageToken_ = "";
@@ -28,29 +46,33 @@ private SearchCatalogRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SearchCatalogRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.class, com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.class,
+            com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Builder.class);
   }
 
-  public interface ScopeOrBuilder extends
+  public interface ScopeOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The list of organization IDs to search within. To find your organization
      * ID, follow instructions in
@@ -58,11 +80,13 @@ public interface ScopeOrBuilder extends
      * 
* * repeated string include_org_ids = 2; + * * @return A list containing the includeOrgIds. */ - java.util.List - getIncludeOrgIdsList(); + java.util.List getIncludeOrgIdsList(); /** + * + * *
      * The list of organization IDs to search within. To find your organization
      * ID, follow instructions in
@@ -70,10 +94,13 @@ public interface ScopeOrBuilder extends
      * 
* * repeated string include_org_ids = 2; + * * @return The count of includeOrgIds. */ int getIncludeOrgIdsCount(); /** + * + * *
      * The list of organization IDs to search within. To find your organization
      * ID, follow instructions in
@@ -81,11 +108,14 @@ public interface ScopeOrBuilder extends
      * 
* * repeated string include_org_ids = 2; + * * @param index The index of the element to return. * @return The includeOrgIds at the given index. */ java.lang.String getIncludeOrgIds(int index); /** + * + * *
      * The list of organization IDs to search within. To find your organization
      * ID, follow instructions in
@@ -93,13 +123,15 @@ public interface ScopeOrBuilder extends
      * 
* * repeated string include_org_ids = 2; + * * @param index The index of the value to return. * @return The bytes of the includeOrgIds at the given index. */ - com.google.protobuf.ByteString - getIncludeOrgIdsBytes(int index); + com.google.protobuf.ByteString getIncludeOrgIdsBytes(int index); /** + * + * *
      * The list of project IDs to search within. To learn more about the
      * distinction between project names/IDs/numbers, go to
@@ -107,11 +139,13 @@ public interface ScopeOrBuilder extends
      * 
* * repeated string include_project_ids = 3; + * * @return A list containing the includeProjectIds. */ - java.util.List - getIncludeProjectIdsList(); + java.util.List getIncludeProjectIdsList(); /** + * + * *
      * The list of project IDs to search within. To learn more about the
      * distinction between project names/IDs/numbers, go to
@@ -119,10 +153,13 @@ public interface ScopeOrBuilder extends
      * 
* * repeated string include_project_ids = 3; + * * @return The count of includeProjectIds. */ int getIncludeProjectIdsCount(); /** + * + * *
      * The list of project IDs to search within. To learn more about the
      * distinction between project names/IDs/numbers, go to
@@ -130,11 +167,14 @@ public interface ScopeOrBuilder extends
      * 
* * repeated string include_project_ids = 3; + * * @param index The index of the element to return. * @return The includeProjectIds at the given index. */ java.lang.String getIncludeProjectIds(int index); /** + * + * *
      * The list of project IDs to search within. To learn more about the
      * distinction between project names/IDs/numbers, go to
@@ -142,13 +182,15 @@ public interface ScopeOrBuilder extends
      * 
* * repeated string include_project_ids = 3; + * * @param index The index of the value to return. * @return The bytes of the includeProjectIds at the given index. */ - com.google.protobuf.ByteString - getIncludeProjectIdsBytes(int index); + com.google.protobuf.ByteString getIncludeProjectIdsBytes(int index); /** + * + * *
      * If `true`, include Google Cloud public datasets in the
      * search results. Info on Google Cloud public datasets is available at
@@ -157,11 +199,14 @@ public interface ScopeOrBuilder extends
      * 
* * bool include_gcp_public_datasets = 7; + * * @return The includeGcpPublicDatasets. */ boolean getIncludeGcpPublicDatasets(); /** + * + * *
      * Optional. The list of locations to search within.
      * 1. If empty, search will be performed in all locations;
@@ -200,12 +245,15 @@ public interface ScopeOrBuilder extends
      *  * us-west2
      * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the restrictedLocations. */ - java.util.List - getRestrictedLocationsList(); + java.util.List getRestrictedLocationsList(); /** + * + * *
      * Optional. The list of locations to search within.
      * 1. If empty, search will be performed in all locations;
@@ -244,11 +292,15 @@ public interface ScopeOrBuilder extends
      *  * us-west2
      * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of restrictedLocations. */ int getRestrictedLocationsCount(); /** + * + * *
      * Optional. The list of locations to search within.
      * 1. If empty, search will be performed in all locations;
@@ -287,12 +339,16 @@ public interface ScopeOrBuilder extends
      *  * us-west2
      * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The restrictedLocations at the given index. */ java.lang.String getRestrictedLocations(int index); /** + * + * *
      * Optional. The list of locations to search within.
      * 1. If empty, search will be performed in all locations;
@@ -331,63 +387,68 @@ public interface ScopeOrBuilder extends
      *  * us-west2
      * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The bytes of the restrictedLocations at the given index. */ - com.google.protobuf.ByteString - getRestrictedLocationsBytes(int index); + com.google.protobuf.ByteString getRestrictedLocationsBytes(int index); } /** + * + * *
    * The criteria that select the subspace used for query matching.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope} */ - public static final class Scope extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Scope extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope) ScopeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Scope.newBuilder() to construct. private Scope(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Scope() { - includeOrgIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - includeProjectIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - restrictedLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + includeOrgIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + includeProjectIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + restrictedLocations_ = 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 Scope(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Datacatalog + .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.Datacatalog + .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.class, com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.Builder.class); + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.class, + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.Builder.class); } public static final int INCLUDE_ORG_IDS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList includeOrgIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * The list of organization IDs to search within. To find your organization
      * ID, follow instructions in
@@ -395,13 +456,15 @@ protected java.lang.Object newInstance(
      * 
* * repeated string include_org_ids = 2; + * * @return A list containing the includeOrgIds. */ - public com.google.protobuf.ProtocolStringList - getIncludeOrgIdsList() { + public com.google.protobuf.ProtocolStringList getIncludeOrgIdsList() { return includeOrgIds_; } /** + * + * *
      * The list of organization IDs to search within. To find your organization
      * ID, follow instructions in
@@ -409,12 +472,15 @@ protected java.lang.Object newInstance(
      * 
* * repeated string include_org_ids = 2; + * * @return The count of includeOrgIds. */ public int getIncludeOrgIdsCount() { return includeOrgIds_.size(); } /** + * + * *
      * The list of organization IDs to search within. To find your organization
      * ID, follow instructions in
@@ -422,6 +488,7 @@ public int getIncludeOrgIdsCount() {
      * 
* * repeated string include_org_ids = 2; + * * @param index The index of the element to return. * @return The includeOrgIds at the given index. */ @@ -429,6 +496,8 @@ public java.lang.String getIncludeOrgIds(int index) { return includeOrgIds_.get(index); } /** + * + * *
      * The list of organization IDs to search within. To find your organization
      * ID, follow instructions in
@@ -436,19 +505,22 @@ public java.lang.String getIncludeOrgIds(int index) {
      * 
* * repeated string include_org_ids = 2; + * * @param index The index of the value to return. * @return The bytes of the includeOrgIds at the given index. */ - public com.google.protobuf.ByteString - getIncludeOrgIdsBytes(int index) { + public com.google.protobuf.ByteString getIncludeOrgIdsBytes(int index) { return includeOrgIds_.getByteString(index); } public static final int INCLUDE_PROJECT_IDS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList includeProjectIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * The list of project IDs to search within. To learn more about the
      * distinction between project names/IDs/numbers, go to
@@ -456,13 +528,15 @@ public java.lang.String getIncludeOrgIds(int index) {
      * 
* * repeated string include_project_ids = 3; + * * @return A list containing the includeProjectIds. */ - public com.google.protobuf.ProtocolStringList - getIncludeProjectIdsList() { + public com.google.protobuf.ProtocolStringList getIncludeProjectIdsList() { return includeProjectIds_; } /** + * + * *
      * The list of project IDs to search within. To learn more about the
      * distinction between project names/IDs/numbers, go to
@@ -470,12 +544,15 @@ public java.lang.String getIncludeOrgIds(int index) {
      * 
* * repeated string include_project_ids = 3; + * * @return The count of includeProjectIds. */ public int getIncludeProjectIdsCount() { return includeProjectIds_.size(); } /** + * + * *
      * The list of project IDs to search within. To learn more about the
      * distinction between project names/IDs/numbers, go to
@@ -483,6 +560,7 @@ public int getIncludeProjectIdsCount() {
      * 
* * repeated string include_project_ids = 3; + * * @param index The index of the element to return. * @return The includeProjectIds at the given index. */ @@ -490,6 +568,8 @@ public java.lang.String getIncludeProjectIds(int index) { return includeProjectIds_.get(index); } /** + * + * *
      * The list of project IDs to search within. To learn more about the
      * distinction between project names/IDs/numbers, go to
@@ -497,17 +577,19 @@ public java.lang.String getIncludeProjectIds(int index) {
      * 
* * repeated string include_project_ids = 3; + * * @param index The index of the value to return. * @return The bytes of the includeProjectIds at the given index. */ - public com.google.protobuf.ByteString - getIncludeProjectIdsBytes(int index) { + public com.google.protobuf.ByteString getIncludeProjectIdsBytes(int index) { return includeProjectIds_.getByteString(index); } public static final int INCLUDE_GCP_PUBLIC_DATASETS_FIELD_NUMBER = 7; private boolean includeGcpPublicDatasets_ = false; /** + * + * *
      * If `true`, include Google Cloud public datasets in the
      * search results. Info on Google Cloud public datasets is available at
@@ -516,6 +598,7 @@ public java.lang.String getIncludeProjectIds(int index) {
      * 
* * bool include_gcp_public_datasets = 7; + * * @return The includeGcpPublicDatasets. */ @java.lang.Override @@ -524,10 +607,13 @@ public boolean getIncludeGcpPublicDatasets() { } public static final int RESTRICTED_LOCATIONS_FIELD_NUMBER = 16; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList restrictedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * Optional. The list of locations to search within.
      * 1. If empty, search will be performed in all locations;
@@ -566,14 +652,17 @@ public boolean getIncludeGcpPublicDatasets() {
      *  * us-west2
      * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the restrictedLocations. */ - public com.google.protobuf.ProtocolStringList - getRestrictedLocationsList() { + public com.google.protobuf.ProtocolStringList getRestrictedLocationsList() { return restrictedLocations_; } /** + * + * *
      * Optional. The list of locations to search within.
      * 1. If empty, search will be performed in all locations;
@@ -612,13 +701,17 @@ public boolean getIncludeGcpPublicDatasets() {
      *  * us-west2
      * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of restrictedLocations. */ public int getRestrictedLocationsCount() { return restrictedLocations_.size(); } /** + * + * *
      * Optional. The list of locations to search within.
      * 1. If empty, search will be performed in all locations;
@@ -657,7 +750,9 @@ public int getRestrictedLocationsCount() {
      *  * us-west2
      * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The restrictedLocations at the given index. */ @@ -665,6 +760,8 @@ public java.lang.String getRestrictedLocations(int index) { return restrictedLocations_.get(index); } /** + * + * *
      * Optional. The list of locations to search within.
      * 1. If empty, search will be performed in all locations;
@@ -703,16 +800,18 @@ public java.lang.String getRestrictedLocations(int index) {
      *  * us-west2
      * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The bytes of the restrictedLocations at the given index. */ - public com.google.protobuf.ByteString - getRestrictedLocationsBytes(int index) { + public com.google.protobuf.ByteString getRestrictedLocationsBytes(int index) { return restrictedLocations_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -724,8 +823,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < includeOrgIds_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, includeOrgIds_.getRaw(i)); } @@ -736,7 +834,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeBool(7, includeGcpPublicDatasets_); } for (int i = 0; i < restrictedLocations_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 16, restrictedLocations_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 16, restrictedLocations_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -764,8 +863,7 @@ public int getSerializedSize() { size += 1 * getIncludeProjectIdsList().size(); } if (includeGcpPublicDatasets_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(7, includeGcpPublicDatasets_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, includeGcpPublicDatasets_); } { int dataSize = 0; @@ -783,21 +881,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.datacatalog.v1beta1.SearchCatalogRequest.Scope)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope other = (com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope) obj; + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope other = + (com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope) obj; - if (!getIncludeOrgIdsList() - .equals(other.getIncludeOrgIdsList())) return false; - if (!getIncludeProjectIdsList() - .equals(other.getIncludeProjectIdsList())) return false; - if (getIncludeGcpPublicDatasets() - != other.getIncludeGcpPublicDatasets()) return false; - if (!getRestrictedLocationsList() - .equals(other.getRestrictedLocationsList())) return false; + if (!getIncludeOrgIdsList().equals(other.getIncludeOrgIdsList())) return false; + if (!getIncludeProjectIdsList().equals(other.getIncludeProjectIdsList())) return false; + if (getIncludeGcpPublicDatasets() != other.getIncludeGcpPublicDatasets()) return false; + if (!getRestrictedLocationsList().equals(other.getRestrictedLocationsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -818,8 +913,7 @@ public int hashCode() { hash = (53 * hash) + getIncludeProjectIdsList().hashCode(); } hash = (37 * hash) + INCLUDE_GCP_PUBLIC_DATASETS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIncludeGcpPublicDatasets()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeGcpPublicDatasets()); if (getRestrictedLocationsCount() > 0) { hash = (37 * hash) + RESTRICTED_LOCATIONS_FIELD_NUMBER; hash = (53 * hash) + getRestrictedLocationsList().hashCode(); @@ -830,89 +924,95 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope parseDelimitedFrom( - java.io.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.datacatalog.v1beta1.SearchCatalogRequest.Scope + parseDelimitedFrom( + java.io.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.datacatalog.v1beta1.SearchCatalogRequest.Scope parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -922,61 +1022,62 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The criteria that select the subspace used for query matching.
      * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope) com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Datacatalog + .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.Datacatalog + .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.class, com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.Builder.class); + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.class, + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.Builder.class); } - // Construct using com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.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; - includeOrgIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - includeProjectIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + includeOrgIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + includeProjectIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); includeGcpPublicDatasets_ = false; - restrictedLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + restrictedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.Datacatalog + .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_descriptor; } @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope + getDefaultInstanceForType() { return com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.getDefaultInstance(); } @@ -991,13 +1092,17 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope build() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope buildPartial() { - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope result = new com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope result = + new com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope result) { + private void buildPartial0( + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { includeOrgIds_.makeImmutable(); @@ -1020,46 +1125,52 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.SearchCatalogReq public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope) { - return mergeFrom((com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope)other); + return mergeFrom((com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope other) { - if (other == com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope other) { + if (other + == com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.getDefaultInstance()) + return this; if (!other.includeOrgIds_.isEmpty()) { if (includeOrgIds_.isEmpty()) { includeOrgIds_ = other.includeOrgIds_; @@ -1119,35 +1230,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureIncludeOrgIdsIsMutable(); - includeOrgIds_.add(s); - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureIncludeProjectIdsIsMutable(); - includeProjectIds_.add(s); - break; - } // case 26 - case 56: { - includeGcpPublicDatasets_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 56 - case 130: { - java.lang.String s = input.readStringRequireUtf8(); - ensureRestrictedLocationsIsMutable(); - restrictedLocations_.add(s); - break; - } // case 130 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureIncludeOrgIdsIsMutable(); + includeOrgIds_.add(s); + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureIncludeProjectIdsIsMutable(); + includeProjectIds_.add(s); + break; + } // case 26 + case 56: + { + includeGcpPublicDatasets_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 56 + case 130: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureRestrictedLocationsIsMutable(); + restrictedLocations_.add(s); + break; + } // case 130 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1157,10 +1273,12 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.LazyStringArrayList includeOrgIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureIncludeOrgIdsIsMutable() { if (!includeOrgIds_.isModifiable()) { includeOrgIds_ = new com.google.protobuf.LazyStringArrayList(includeOrgIds_); @@ -1168,6 +1286,8 @@ private void ensureIncludeOrgIdsIsMutable() { bitField0_ |= 0x00000001; } /** + * + * *
        * The list of organization IDs to search within. To find your organization
        * ID, follow instructions in
@@ -1175,14 +1295,16 @@ private void ensureIncludeOrgIdsIsMutable() {
        * 
* * repeated string include_org_ids = 2; + * * @return A list containing the includeOrgIds. */ - public com.google.protobuf.ProtocolStringList - getIncludeOrgIdsList() { + public com.google.protobuf.ProtocolStringList getIncludeOrgIdsList() { includeOrgIds_.makeImmutable(); return includeOrgIds_; } /** + * + * *
        * The list of organization IDs to search within. To find your organization
        * ID, follow instructions in
@@ -1190,12 +1312,15 @@ private void ensureIncludeOrgIdsIsMutable() {
        * 
* * repeated string include_org_ids = 2; + * * @return The count of includeOrgIds. */ public int getIncludeOrgIdsCount() { return includeOrgIds_.size(); } /** + * + * *
        * The list of organization IDs to search within. To find your organization
        * ID, follow instructions in
@@ -1203,6 +1328,7 @@ public int getIncludeOrgIdsCount() {
        * 
* * repeated string include_org_ids = 2; + * * @param index The index of the element to return. * @return The includeOrgIds at the given index. */ @@ -1210,6 +1336,8 @@ public java.lang.String getIncludeOrgIds(int index) { return includeOrgIds_.get(index); } /** + * + * *
        * The list of organization IDs to search within. To find your organization
        * ID, follow instructions in
@@ -1217,14 +1345,16 @@ public java.lang.String getIncludeOrgIds(int index) {
        * 
* * repeated string include_org_ids = 2; + * * @param index The index of the value to return. * @return The bytes of the includeOrgIds at the given index. */ - public com.google.protobuf.ByteString - getIncludeOrgIdsBytes(int index) { + public com.google.protobuf.ByteString getIncludeOrgIdsBytes(int index) { return includeOrgIds_.getByteString(index); } /** + * + * *
        * The list of organization IDs to search within. To find your organization
        * ID, follow instructions in
@@ -1232,13 +1362,15 @@ public java.lang.String getIncludeOrgIds(int index) {
        * 
* * repeated string include_org_ids = 2; + * * @param index The index to set the value at. * @param value The includeOrgIds to set. * @return This builder for chaining. */ - public Builder setIncludeOrgIds( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIncludeOrgIds(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureIncludeOrgIdsIsMutable(); includeOrgIds_.set(index, value); bitField0_ |= 0x00000001; @@ -1246,6 +1378,8 @@ public Builder setIncludeOrgIds( return this; } /** + * + * *
        * The list of organization IDs to search within. To find your organization
        * ID, follow instructions in
@@ -1253,12 +1387,14 @@ public Builder setIncludeOrgIds(
        * 
* * repeated string include_org_ids = 2; + * * @param value The includeOrgIds to add. * @return This builder for chaining. */ - public Builder addIncludeOrgIds( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addIncludeOrgIds(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureIncludeOrgIdsIsMutable(); includeOrgIds_.add(value); bitField0_ |= 0x00000001; @@ -1266,6 +1402,8 @@ public Builder addIncludeOrgIds( return this; } /** + * + * *
        * The list of organization IDs to search within. To find your organization
        * ID, follow instructions in
@@ -1273,19 +1411,20 @@ public Builder addIncludeOrgIds(
        * 
* * repeated string include_org_ids = 2; + * * @param values The includeOrgIds to add. * @return This builder for chaining. */ - public Builder addAllIncludeOrgIds( - java.lang.Iterable values) { + public Builder addAllIncludeOrgIds(java.lang.Iterable values) { ensureIncludeOrgIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, includeOrgIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, includeOrgIds_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The list of organization IDs to search within. To find your organization
        * ID, follow instructions in
@@ -1293,16 +1432,19 @@ public Builder addAllIncludeOrgIds(
        * 
* * repeated string include_org_ids = 2; + * * @return This builder for chaining. */ public Builder clearIncludeOrgIds() { - includeOrgIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + includeOrgIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
        * The list of organization IDs to search within. To find your organization
        * ID, follow instructions in
@@ -1310,12 +1452,14 @@ public Builder clearIncludeOrgIds() {
        * 
* * repeated string include_org_ids = 2; + * * @param value The bytes of the includeOrgIds to add. * @return This builder for chaining. */ - public Builder addIncludeOrgIdsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addIncludeOrgIdsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureIncludeOrgIdsIsMutable(); includeOrgIds_.add(value); @@ -1326,6 +1470,7 @@ public Builder addIncludeOrgIdsBytes( private com.google.protobuf.LazyStringArrayList includeProjectIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureIncludeProjectIdsIsMutable() { if (!includeProjectIds_.isModifiable()) { includeProjectIds_ = new com.google.protobuf.LazyStringArrayList(includeProjectIds_); @@ -1333,6 +1478,8 @@ private void ensureIncludeProjectIdsIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
        * The list of project IDs to search within. To learn more about the
        * distinction between project names/IDs/numbers, go to
@@ -1340,14 +1487,16 @@ private void ensureIncludeProjectIdsIsMutable() {
        * 
* * repeated string include_project_ids = 3; + * * @return A list containing the includeProjectIds. */ - public com.google.protobuf.ProtocolStringList - getIncludeProjectIdsList() { + public com.google.protobuf.ProtocolStringList getIncludeProjectIdsList() { includeProjectIds_.makeImmutable(); return includeProjectIds_; } /** + * + * *
        * The list of project IDs to search within. To learn more about the
        * distinction between project names/IDs/numbers, go to
@@ -1355,12 +1504,15 @@ private void ensureIncludeProjectIdsIsMutable() {
        * 
* * repeated string include_project_ids = 3; + * * @return The count of includeProjectIds. */ public int getIncludeProjectIdsCount() { return includeProjectIds_.size(); } /** + * + * *
        * The list of project IDs to search within. To learn more about the
        * distinction between project names/IDs/numbers, go to
@@ -1368,6 +1520,7 @@ public int getIncludeProjectIdsCount() {
        * 
* * repeated string include_project_ids = 3; + * * @param index The index of the element to return. * @return The includeProjectIds at the given index. */ @@ -1375,6 +1528,8 @@ public java.lang.String getIncludeProjectIds(int index) { return includeProjectIds_.get(index); } /** + * + * *
        * The list of project IDs to search within. To learn more about the
        * distinction between project names/IDs/numbers, go to
@@ -1382,14 +1537,16 @@ public java.lang.String getIncludeProjectIds(int index) {
        * 
* * repeated string include_project_ids = 3; + * * @param index The index of the value to return. * @return The bytes of the includeProjectIds at the given index. */ - public com.google.protobuf.ByteString - getIncludeProjectIdsBytes(int index) { + public com.google.protobuf.ByteString getIncludeProjectIdsBytes(int index) { return includeProjectIds_.getByteString(index); } /** + * + * *
        * The list of project IDs to search within. To learn more about the
        * distinction between project names/IDs/numbers, go to
@@ -1397,13 +1554,15 @@ public java.lang.String getIncludeProjectIds(int index) {
        * 
* * repeated string include_project_ids = 3; + * * @param index The index to set the value at. * @param value The includeProjectIds to set. * @return This builder for chaining. */ - public Builder setIncludeProjectIds( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIncludeProjectIds(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureIncludeProjectIdsIsMutable(); includeProjectIds_.set(index, value); bitField0_ |= 0x00000002; @@ -1411,6 +1570,8 @@ public Builder setIncludeProjectIds( return this; } /** + * + * *
        * The list of project IDs to search within. To learn more about the
        * distinction between project names/IDs/numbers, go to
@@ -1418,12 +1579,14 @@ public Builder setIncludeProjectIds(
        * 
* * repeated string include_project_ids = 3; + * * @param value The includeProjectIds to add. * @return This builder for chaining. */ - public Builder addIncludeProjectIds( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addIncludeProjectIds(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureIncludeProjectIdsIsMutable(); includeProjectIds_.add(value); bitField0_ |= 0x00000002; @@ -1431,6 +1594,8 @@ public Builder addIncludeProjectIds( return this; } /** + * + * *
        * The list of project IDs to search within. To learn more about the
        * distinction between project names/IDs/numbers, go to
@@ -1438,19 +1603,20 @@ public Builder addIncludeProjectIds(
        * 
* * repeated string include_project_ids = 3; + * * @param values The includeProjectIds to add. * @return This builder for chaining. */ - public Builder addAllIncludeProjectIds( - java.lang.Iterable values) { + public Builder addAllIncludeProjectIds(java.lang.Iterable values) { ensureIncludeProjectIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, includeProjectIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, includeProjectIds_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * The list of project IDs to search within. To learn more about the
        * distinction between project names/IDs/numbers, go to
@@ -1458,16 +1624,19 @@ public Builder addAllIncludeProjectIds(
        * 
* * repeated string include_project_ids = 3; + * * @return This builder for chaining. */ public Builder clearIncludeProjectIds() { - includeProjectIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + includeProjectIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
        * The list of project IDs to search within. To learn more about the
        * distinction between project names/IDs/numbers, go to
@@ -1475,12 +1644,14 @@ public Builder clearIncludeProjectIds() {
        * 
* * repeated string include_project_ids = 3; + * * @param value The bytes of the includeProjectIds to add. * @return This builder for chaining. */ - public Builder addIncludeProjectIdsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addIncludeProjectIdsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureIncludeProjectIdsIsMutable(); includeProjectIds_.add(value); @@ -1489,8 +1660,10 @@ public Builder addIncludeProjectIdsBytes( return this; } - private boolean includeGcpPublicDatasets_ ; + private boolean includeGcpPublicDatasets_; /** + * + * *
        * If `true`, include Google Cloud public datasets in the
        * search results. Info on Google Cloud public datasets is available at
@@ -1499,6 +1672,7 @@ public Builder addIncludeProjectIdsBytes(
        * 
* * bool include_gcp_public_datasets = 7; + * * @return The includeGcpPublicDatasets. */ @java.lang.Override @@ -1506,6 +1680,8 @@ public boolean getIncludeGcpPublicDatasets() { return includeGcpPublicDatasets_; } /** + * + * *
        * If `true`, include Google Cloud public datasets in the
        * search results. Info on Google Cloud public datasets is available at
@@ -1514,6 +1690,7 @@ public boolean getIncludeGcpPublicDatasets() {
        * 
* * bool include_gcp_public_datasets = 7; + * * @param value The includeGcpPublicDatasets to set. * @return This builder for chaining. */ @@ -1525,6 +1702,8 @@ public Builder setIncludeGcpPublicDatasets(boolean value) { return this; } /** + * + * *
        * If `true`, include Google Cloud public datasets in the
        * search results. Info on Google Cloud public datasets is available at
@@ -1533,6 +1712,7 @@ public Builder setIncludeGcpPublicDatasets(boolean value) {
        * 
* * bool include_gcp_public_datasets = 7; + * * @return This builder for chaining. */ public Builder clearIncludeGcpPublicDatasets() { @@ -1544,6 +1724,7 @@ public Builder clearIncludeGcpPublicDatasets() { private com.google.protobuf.LazyStringArrayList restrictedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureRestrictedLocationsIsMutable() { if (!restrictedLocations_.isModifiable()) { restrictedLocations_ = new com.google.protobuf.LazyStringArrayList(restrictedLocations_); @@ -1551,6 +1732,8 @@ private void ensureRestrictedLocationsIsMutable() { bitField0_ |= 0x00000008; } /** + * + * *
        * Optional. The list of locations to search within.
        * 1. If empty, search will be performed in all locations;
@@ -1589,15 +1772,18 @@ private void ensureRestrictedLocationsIsMutable() {
        *  * us-west2
        * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the restrictedLocations. */ - public com.google.protobuf.ProtocolStringList - getRestrictedLocationsList() { + public com.google.protobuf.ProtocolStringList getRestrictedLocationsList() { restrictedLocations_.makeImmutable(); return restrictedLocations_; } /** + * + * *
        * Optional. The list of locations to search within.
        * 1. If empty, search will be performed in all locations;
@@ -1636,13 +1822,17 @@ private void ensureRestrictedLocationsIsMutable() {
        *  * us-west2
        * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of restrictedLocations. */ public int getRestrictedLocationsCount() { return restrictedLocations_.size(); } /** + * + * *
        * Optional. The list of locations to search within.
        * 1. If empty, search will be performed in all locations;
@@ -1681,7 +1871,9 @@ public int getRestrictedLocationsCount() {
        *  * us-west2
        * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The restrictedLocations at the given index. */ @@ -1689,6 +1881,8 @@ public java.lang.String getRestrictedLocations(int index) { return restrictedLocations_.get(index); } /** + * + * *
        * Optional. The list of locations to search within.
        * 1. If empty, search will be performed in all locations;
@@ -1727,15 +1921,18 @@ public java.lang.String getRestrictedLocations(int index) {
        *  * us-west2
        * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The bytes of the restrictedLocations at the given index. */ - public com.google.protobuf.ByteString - getRestrictedLocationsBytes(int index) { + public com.google.protobuf.ByteString getRestrictedLocationsBytes(int index) { return restrictedLocations_.getByteString(index); } /** + * + * *
        * Optional. The list of locations to search within.
        * 1. If empty, search will be performed in all locations;
@@ -1774,14 +1971,17 @@ public java.lang.String getRestrictedLocations(int index) {
        *  * us-west2
        * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The restrictedLocations to set. * @return This builder for chaining. */ - public Builder setRestrictedLocations( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRestrictedLocations(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureRestrictedLocationsIsMutable(); restrictedLocations_.set(index, value); bitField0_ |= 0x00000008; @@ -1789,6 +1989,8 @@ public Builder setRestrictedLocations( return this; } /** + * + * *
        * Optional. The list of locations to search within.
        * 1. If empty, search will be performed in all locations;
@@ -1827,13 +2029,16 @@ public Builder setRestrictedLocations(
        *  * us-west2
        * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The restrictedLocations to add. * @return This builder for chaining. */ - public Builder addRestrictedLocations( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addRestrictedLocations(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureRestrictedLocationsIsMutable(); restrictedLocations_.add(value); bitField0_ |= 0x00000008; @@ -1841,6 +2046,8 @@ public Builder addRestrictedLocations( return this; } /** + * + * *
        * Optional. The list of locations to search within.
        * 1. If empty, search will be performed in all locations;
@@ -1879,20 +2086,22 @@ public Builder addRestrictedLocations(
        *  * us-west2
        * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The restrictedLocations to add. * @return This builder for chaining. */ - public Builder addAllRestrictedLocations( - java.lang.Iterable values) { + public Builder addAllRestrictedLocations(java.lang.Iterable values) { ensureRestrictedLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, restrictedLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, restrictedLocations_); bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
        * Optional. The list of locations to search within.
        * 1. If empty, search will be performed in all locations;
@@ -1931,17 +2140,21 @@ public Builder addAllRestrictedLocations(
        *  * us-west2
        * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearRestrictedLocations() { - restrictedLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008);; + restrictedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + ; onChanged(); return this; } /** + * + * *
        * Optional. The list of locations to search within.
        * 1. If empty, search will be performed in all locations;
@@ -1980,13 +2193,16 @@ public Builder clearRestrictedLocations() {
        *  * us-west2
        * 
* - * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The bytes of the restrictedLocations to add. * @return This builder for chaining. */ - public Builder addRestrictedLocationsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addRestrictedLocationsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureRestrictedLocationsIsMutable(); restrictedLocations_.add(value); @@ -1994,6 +2210,7 @@ public Builder addRestrictedLocationsBytes( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2006,41 +2223,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope) - private static final com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope DEFAULT_INSTANCE; + private static final com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope(); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope getDefaultInstance() { + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Scope parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Scope parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2052,15 +2272,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int SCOPE_FIELD_NUMBER = 6; private com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope_; /** + * + * *
    * Required. The scope of this search request. A `scope` that has empty
    * `include_org_ids`, `include_project_ids` AND false
@@ -2068,7 +2290,10 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope getDefaul
    * return an error in such a case.
    * 
* - * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scope field is set. */ @java.lang.Override @@ -2076,6 +2301,8 @@ public boolean hasScope() { return scope_ != null; } /** + * + * *
    * Required. The scope of this search request. A `scope` that has empty
    * `include_org_ids`, `include_project_ids` AND false
@@ -2083,14 +2310,21 @@ public boolean hasScope() {
    * return an error in such a case.
    * 
* - * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scope. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope getScope() { - return scope_ == null ? com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.getDefaultInstance() : scope_; + return scope_ == null + ? com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.getDefaultInstance() + : scope_; } /** + * + * *
    * Required. The scope of this search request. A `scope` that has empty
    * `include_org_ids`, `include_project_ids` AND false
@@ -2098,17 +2332,25 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope getScope(
    * return an error in such a case.
    * 
* - * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder getScopeOrBuilder() { - return scope_ == null ? com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.getDefaultInstance() : scope_; + public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder + getScopeOrBuilder() { + return scope_ == null + ? com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.getDefaultInstance() + : scope_; } public static final int QUERY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object query_ = ""; /** + * + * *
    * Optional. The query string in search query syntax. An empty query string
    * will result in all data assets (in the specified scope) that the user has
@@ -2125,6 +2367,7 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder
    * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The query. */ @java.lang.Override @@ -2133,14 +2376,15 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** + * + * *
    * Optional. The query string in search query syntax. An empty query string
    * will result in all data assets (in the specified scope) that the user has
@@ -2157,16 +2401,15 @@ public java.lang.String getQuery() {
    * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -2177,12 +2420,15 @@ public java.lang.String getQuery() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Number of results in the search page. If <=0 then defaults to 10. Max limit
    * for page_size is 1000. Throws an invalid argument for page_size > 1000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -2191,9 +2437,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. Pagination token returned in an earlier
    * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
@@ -2204,6 +2453,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -2212,14 +2462,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. Pagination token returned in an earlier
    * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
@@ -2230,16 +2481,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 { @@ -2248,9 +2498,12 @@ public java.lang.String getPageToken() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Specifies the ordering of results, currently supported case-sensitive
    * choices are:
@@ -2264,6 +2517,7 @@ public java.lang.String getPageToken() {
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -2272,14 +2526,15 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Specifies the ordering of results, currently supported case-sensitive
    * choices are:
@@ -2293,16 +2548,15 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 5; + * * @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 { @@ -2311,6 +2565,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2322,8 +2577,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(query_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, query_); } @@ -2352,8 +2606,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, query_); } 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_); @@ -2362,8 +2615,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); } if (scope_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getScope()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getScope()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2373,26 +2625,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.datacatalog.v1beta1.SearchCatalogRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest other = (com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest) obj; + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest other = + (com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest) obj; if (hasScope() != other.hasScope()) return false; if (hasScope()) { - if (!getScope() - .equals(other.getScope())) return false; - } - if (!getQuery() - .equals(other.getQuery())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + if (!getScope().equals(other.getScope())) return false; + } + if (!getQuery().equals(other.getQuery())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2422,98 +2670,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [SearchCatalog][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog].
@@ -2521,33 +2775,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.SearchCatalogRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.SearchCatalogRequest)
       com.google.cloud.datacatalog.v1beta1.SearchCatalogRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.class, com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.class,
+              com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2565,9 +2818,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_descriptor;
     }
 
     @java.lang.Override
@@ -2586,8 +2839,11 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest result = new com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest result =
+          new com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -2595,9 +2851,7 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest buildPartial()
     private void buildPartial0(com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.scope_ = scopeBuilder_ == null
-            ? scope_
-            : scopeBuilder_.build();
+        result.scope_ = scopeBuilder_ == null ? scope_ : scopeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.query_ = query_;
@@ -2617,38 +2871,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.SearchCatalogReq
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2656,7 +2911,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.getDefaultInstance())
+        return this;
       if (other.hasScope()) {
         mergeScope(other.getScope());
       }
@@ -2704,39 +2960,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              query_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 10
-            case 16: {
-              pageSize_ = input.readInt32();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 26
-            case 42: {
-              orderBy_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getScopeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                query_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 10
+            case 16:
+              {
+                pageSize_ = input.readInt32();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 26
+            case 42:
+              {
+                orderBy_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getScopeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                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) {
@@ -2746,12 +3006,18 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope, com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.Builder, com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder> scopeBuilder_;
+            com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope,
+            com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.Builder,
+            com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder>
+        scopeBuilder_;
     /**
+     *
+     *
      * 
      * Required. The scope of this search request. A `scope` that has empty
      * `include_org_ids`, `include_project_ids` AND false
@@ -2759,13 +3025,18 @@ public Builder mergeFrom(
      * return an error in such a case.
      * 
* - * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scope field is set. */ public boolean hasScope() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The scope of this search request. A `scope` that has empty
      * `include_org_ids`, `include_project_ids` AND false
@@ -2773,17 +3044,24 @@ public boolean hasScope() {
      * return an error in such a case.
      * 
* - * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scope. */ public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope getScope() { if (scopeBuilder_ == null) { - return scope_ == null ? com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.getDefaultInstance() : scope_; + return scope_ == null + ? com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.getDefaultInstance() + : scope_; } else { return scopeBuilder_.getMessage(); } } /** + * + * *
      * Required. The scope of this search request. A `scope` that has empty
      * `include_org_ids`, `include_project_ids` AND false
@@ -2791,7 +3069,9 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope getScope(
      * return an error in such a case.
      * 
* - * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setScope(com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope value) { if (scopeBuilder_ == null) { @@ -2807,6 +3087,8 @@ public Builder setScope(com.google.cloud.datacatalog.v1beta1.SearchCatalogReques return this; } /** + * + * *
      * Required. The scope of this search request. A `scope` that has empty
      * `include_org_ids`, `include_project_ids` AND false
@@ -2814,7 +3096,9 @@ public Builder setScope(com.google.cloud.datacatalog.v1beta1.SearchCatalogReques
      * return an error in such a case.
      * 
* - * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setScope( com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.Builder builderForValue) { @@ -2828,6 +3112,8 @@ public Builder setScope( return this; } /** + * + * *
      * Required. The scope of this search request. A `scope` that has empty
      * `include_org_ids`, `include_project_ids` AND false
@@ -2835,13 +3121,18 @@ public Builder setScope(
      * return an error in such a case.
      * 
* - * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeScope(com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope value) { + public Builder mergeScope( + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope value) { if (scopeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - scope_ != null && - scope_ != com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && scope_ != null + && scope_ + != com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope + .getDefaultInstance()) { getScopeBuilder().mergeFrom(value); } else { scope_ = value; @@ -2854,6 +3145,8 @@ public Builder mergeScope(com.google.cloud.datacatalog.v1beta1.SearchCatalogRequ return this; } /** + * + * *
      * Required. The scope of this search request. A `scope` that has empty
      * `include_org_ids`, `include_project_ids` AND false
@@ -2861,7 +3154,9 @@ public Builder mergeScope(com.google.cloud.datacatalog.v1beta1.SearchCatalogRequ
      * return an error in such a case.
      * 
* - * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearScope() { bitField0_ = (bitField0_ & ~0x00000001); @@ -2874,6 +3169,8 @@ public Builder clearScope() { return this; } /** + * + * *
      * Required. The scope of this search request. A `scope` that has empty
      * `include_org_ids`, `include_project_ids` AND false
@@ -2881,14 +3178,19 @@ public Builder clearScope() {
      * return an error in such a case.
      * 
* - * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.Builder getScopeBuilder() { + public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.Builder + getScopeBuilder() { bitField0_ |= 0x00000001; onChanged(); return getScopeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The scope of this search request. A `scope` that has empty
      * `include_org_ids`, `include_project_ids` AND false
@@ -2896,17 +3198,23 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.Builder g
      * return an error in such a case.
      * 
* - * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder getScopeOrBuilder() { + public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder + getScopeOrBuilder() { if (scopeBuilder_ != null) { return scopeBuilder_.getMessageOrBuilder(); } else { - return scope_ == null ? - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.getDefaultInstance() : scope_; + return scope_ == null + ? com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.getDefaultInstance() + : scope_; } } /** + * + * *
      * Required. The scope of this search request. A `scope` that has empty
      * `include_org_ids`, `include_project_ids` AND false
@@ -2914,17 +3222,22 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder
      * return an error in such a case.
      * 
* - * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope, com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.Builder, com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder> + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope, + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.Builder, + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder> getScopeFieldBuilder() { if (scopeBuilder_ == null) { - scopeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope, com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.Builder, com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder>( - getScope(), - getParentForChildren(), - isClean()); + scopeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope, + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.Builder, + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder>( + getScope(), getParentForChildren(), isClean()); scope_ = null; } return scopeBuilder_; @@ -2932,6 +3245,8 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder private java.lang.Object query_ = ""; /** + * + * *
      * Optional. The query string in search query syntax. An empty query string
      * will result in all data assets (in the specified scope) that the user has
@@ -2948,13 +3263,13 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder
      * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -2963,6 +3278,8 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Optional. The query string in search query syntax. An empty query string
      * will result in all data assets (in the specified scope) that the user has
@@ -2979,15 +3296,14 @@ public java.lang.String getQuery() {
      * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for query. */ - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -2995,6 +3311,8 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Optional. The query string in search query syntax. An empty query string
      * will result in all data assets (in the specified scope) that the user has
@@ -3011,18 +3329,22 @@ public java.lang.String getQuery() {
      * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setQuery(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } query_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. The query string in search query syntax. An empty query string
      * will result in all data assets (in the specified scope) that the user has
@@ -3039,6 +3361,7 @@ public Builder setQuery(
      * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearQuery() { @@ -3048,6 +3371,8 @@ public Builder clearQuery() { return this; } /** + * + * *
      * Optional. The query string in search query syntax. An empty query string
      * will result in all data assets (in the specified scope) that the user has
@@ -3064,12 +3389,14 @@ public Builder clearQuery() {
      * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setQueryBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); query_ = value; bitField0_ |= 0x00000002; @@ -3077,14 +3404,17 @@ public Builder setQueryBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Number of results in the search page. If <=0 then defaults to 10. Max limit
      * for page_size is 1000. Throws an invalid argument for page_size > 1000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -3092,12 +3422,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Number of results in the search page. If <=0 then defaults to 10. Max limit
      * for page_size is 1000. Throws an invalid argument for page_size > 1000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -3109,12 +3442,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Number of results in the search page. If <=0 then defaults to 10. Max limit
      * for page_size is 1000. Throws an invalid argument for page_size > 1000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -3126,6 +3462,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Pagination token returned in an earlier
      * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
@@ -3136,13 +3474,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; @@ -3151,6 +3489,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Pagination token returned in an earlier
      * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
@@ -3161,15 +3501,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 { @@ -3177,6 +3516,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Pagination token returned in an earlier
      * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
@@ -3187,18 +3528,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Pagination token returned in an earlier
      * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
@@ -3209,6 +3554,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -3218,6 +3564,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. Pagination token returned in an earlier
      * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
@@ -3228,12 +3576,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_ |= 0x00000008; @@ -3243,6 +3593,8 @@ public Builder setPageTokenBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Specifies the ordering of results, currently supported case-sensitive
      * choices are:
@@ -3256,13 +3608,13 @@ public Builder setPageTokenBytes(
      * 
* * string order_by = 5; + * * @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; @@ -3271,6 +3623,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Specifies the ordering of results, currently supported case-sensitive
      * choices are:
@@ -3284,15 +3638,14 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 5; + * * @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 { @@ -3300,6 +3653,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Specifies the ordering of results, currently supported case-sensitive
      * choices are:
@@ -3313,18 +3668,22 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 5; + * * @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; } /** + * + * *
      * Specifies the ordering of results, currently supported case-sensitive
      * choices are:
@@ -3338,6 +3697,7 @@ public Builder setOrderBy(
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -3347,6 +3707,8 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Specifies the ordering of results, currently supported case-sensitive
      * choices are:
@@ -3360,21 +3722,23 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 5; + * * @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); } @@ -3384,12 +3748,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.SearchCatalogRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.SearchCatalogRequest) private static final com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest(); } @@ -3398,27 +3762,27 @@ public static com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchCatalogRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchCatalogRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3433,6 +3797,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequestOrBuilder.java similarity index 79% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequestOrBuilder.java index a959ff02630e..b1eef0fbc194 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequestOrBuilder.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface SearchCatalogRequestOrBuilder extends +public interface SearchCatalogRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.SearchCatalogRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The scope of this search request. A `scope` that has empty
    * `include_org_ids`, `include_project_ids` AND false
@@ -15,11 +33,16 @@ public interface SearchCatalogRequestOrBuilder extends
    * return an error in such a case.
    * 
* - * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scope field is set. */ boolean hasScope(); /** + * + * *
    * Required. The scope of this search request. A `scope` that has empty
    * `include_org_ids`, `include_project_ids` AND false
@@ -27,11 +50,16 @@ public interface SearchCatalogRequestOrBuilder extends
    * return an error in such a case.
    * 
* - * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scope. */ com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope getScope(); /** + * + * *
    * Required. The scope of this search request. A `scope` that has empty
    * `include_org_ids`, `include_project_ids` AND false
@@ -39,11 +67,15 @@ public interface SearchCatalogRequestOrBuilder extends
    * return an error in such a case.
    * 
* - * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope scope = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder getScopeOrBuilder(); /** + * + * *
    * Optional. The query string in search query syntax. An empty query string
    * will result in all data assets (in the specified scope) that the user has
@@ -60,10 +92,13 @@ public interface SearchCatalogRequestOrBuilder extends
    * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The query. */ java.lang.String getQuery(); /** + * + * *
    * Optional. The query string in search query syntax. An empty query string
    * will result in all data assets (in the specified scope) that the user has
@@ -80,23 +115,28 @@ public interface SearchCatalogRequestOrBuilder extends
    * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for query. */ - com.google.protobuf.ByteString - getQueryBytes(); + com.google.protobuf.ByteString getQueryBytes(); /** + * + * *
    * Number of results in the search page. If <=0 then defaults to 10. Max limit
    * for page_size is 1000. Throws an invalid argument for page_size > 1000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Pagination token returned in an earlier
    * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
@@ -107,10 +147,13 @@ public interface SearchCatalogRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Pagination token returned in an earlier
    * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
@@ -121,12 +164,14 @@ public interface SearchCatalogRequestOrBuilder 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(); /** + * + * *
    * Specifies the ordering of results, currently supported case-sensitive
    * choices are:
@@ -140,10 +185,13 @@ public interface SearchCatalogRequestOrBuilder extends
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Specifies the ordering of results, currently supported case-sensitive
    * choices are:
@@ -157,8 +205,8 @@ public interface SearchCatalogRequestOrBuilder extends
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponse.java similarity index 74% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponse.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponse.java index 22b9c933cf4f..1a98e0883fba 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponse.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Response message for
  * [SearchCatalog][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog].
@@ -11,46 +28,50 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.SearchCatalogResponse}
  */
-public final class SearchCatalogResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SearchCatalogResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.SearchCatalogResponse)
     SearchCatalogResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SearchCatalogResponse.newBuilder() to construct.
   private SearchCatalogResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SearchCatalogResponse() {
     results_ = 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 SearchCatalogResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse.class, com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse.class,
+            com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse.Builder.class);
   }
 
   public static final int RESULTS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List results_;
   /**
+   *
+   *
    * 
    * Search results.
    * 
@@ -62,6 +83,8 @@ public java.util.List return results_; } /** + * + * *
    * Search results.
    * 
@@ -69,11 +92,13 @@ public java.util.List * repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1; */ @java.lang.Override - public java.util.List + public java.util.List getResultsOrBuilderList() { return results_; } /** + * + * *
    * Search results.
    * 
@@ -85,6 +110,8 @@ public int getResultsCount() { return results_.size(); } /** + * + * *
    * Search results.
    * 
@@ -96,6 +123,8 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResult getResults(int i return results_.get(index); } /** + * + * *
    * Search results.
    * 
@@ -111,11 +140,14 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder getResu public static final int TOTAL_SIZE_FIELD_NUMBER = 2; private int totalSize_ = 0; /** + * + * *
    * The approximate total number of entries matched by the query.
    * 
* * int32 total_size = 2; + * * @return The totalSize. */ @java.lang.Override @@ -124,14 +156,18 @@ public int getTotalSize() { } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * The token that can be used to retrieve the next page of results.
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ @java.lang.Override @@ -140,29 +176,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * The token that can be used to retrieve the next page of results.
    * 
* * string next_page_token = 3; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -171,10 +207,13 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Unreachable locations. Search result does not include data from those
    * locations. Users can get additional information on the error by repeating
@@ -183,13 +222,15 @@ public java.lang.String getNextPageToken() {
    * 
* * repeated string unreachable = 6; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Unreachable locations. Search result does not include data from those
    * locations. Users can get additional information on the error by repeating
@@ -198,12 +239,15 @@ public java.lang.String getNextPageToken() {
    * 
* * repeated string unreachable = 6; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Unreachable locations. Search result does not include data from those
    * locations. Users can get additional information on the error by repeating
@@ -212,6 +256,7 @@ public int getUnreachableCount() {
    * 
* * repeated string unreachable = 6; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -219,6 +264,8 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Unreachable locations. Search result does not include data from those
    * locations. Users can get additional information on the error by repeating
@@ -227,15 +274,16 @@ public java.lang.String getUnreachable(int index) {
    * 
* * repeated string unreachable = 6; + * * @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; @@ -247,8 +295,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < results_.size(); i++) { output.writeMessage(1, results_.get(i)); } @@ -271,12 +318,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < results_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, results_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, results_.get(i)); } if (totalSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, totalSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, totalSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); @@ -297,21 +342,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.datacatalog.v1beta1.SearchCatalogResponse)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse other = (com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse) obj; + com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse other = + (com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse) obj; - if (!getResultsList() - .equals(other.getResultsList())) return false; - if (getTotalSize() - != other.getTotalSize()) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getResultsList().equals(other.getResultsList())) return false; + if (getTotalSize() != other.getTotalSize()) 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; } @@ -341,98 +383,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for
    * [SearchCatalog][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog].
@@ -440,33 +488,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.SearchCatalogResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.SearchCatalogResponse)
       com.google.cloud.datacatalog.v1beta1.SearchCatalogResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse.class, com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse.class,
+              com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -480,15 +527,14 @@ public Builder clear() {
       bitField0_ = (bitField0_ & ~0x00000001);
       totalSize_ = 0;
       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.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_descriptor;
     }
 
     @java.lang.Override
@@ -507,14 +553,18 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse result = new com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse(this);
+      com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse result =
+          new com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse result) {
       if (resultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           results_ = java.util.Collections.unmodifiableList(results_);
@@ -544,38 +594,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.SearchCatalogRes
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -583,7 +634,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse.getDefaultInstance())
+        return this;
       if (resultsBuilder_ == null) {
         if (!other.results_.isEmpty()) {
           if (results_.isEmpty()) {
@@ -602,9 +654,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.SearchCatalogRespo
             resultsBuilder_ = null;
             results_ = other.results_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            resultsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getResultsFieldBuilder() : null;
+            resultsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getResultsFieldBuilder()
+                    : null;
           } else {
             resultsBuilder_.addAllMessages(other.results_);
           }
@@ -654,41 +707,46 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.datacatalog.v1beta1.SearchCatalogResult m =
-                  input.readMessage(
-                      com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.parser(),
-                      extensionRegistry);
-              if (resultsBuilder_ == null) {
-                ensureResultsIsMutable();
-                results_.add(m);
-              } else {
-                resultsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 16: {
-              totalSize_ = input.readInt32();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 26: {
-              nextPageToken_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 50: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureUnreachableIsMutable();
-              unreachable_.add(s);
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.cloud.datacatalog.v1beta1.SearchCatalogResult m =
+                    input.readMessage(
+                        com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.parser(),
+                        extensionRegistry);
+                if (resultsBuilder_ == null) {
+                  ensureResultsIsMutable();
+                  results_.add(m);
+                } else {
+                  resultsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 16:
+              {
+                totalSize_ = input.readInt32();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 26:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 50:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureUnreachableIsMutable();
+                unreachable_.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) {
@@ -698,28 +756,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List results_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        results_ = new java.util.ArrayList(results_);
+        results_ =
+            new java.util.ArrayList(
+                results_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.datacatalog.v1beta1.SearchCatalogResult, com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder, com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder> resultsBuilder_;
+            com.google.cloud.datacatalog.v1beta1.SearchCatalogResult,
+            com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder,
+            com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder>
+        resultsBuilder_;
 
     /**
+     *
+     *
      * 
      * Search results.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1; */ - public java.util.List getResultsList() { + public java.util.List + getResultsList() { if (resultsBuilder_ == null) { return java.util.Collections.unmodifiableList(results_); } else { @@ -727,6 +795,8 @@ public java.util.List } } /** + * + * *
      * Search results.
      * 
@@ -741,6 +811,8 @@ public int getResultsCount() { } } /** + * + * *
      * Search results.
      * 
@@ -755,6 +827,8 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResult getResults(int i } } /** + * + * *
      * Search results.
      * 
@@ -776,6 +850,8 @@ public Builder setResults( return this; } /** + * + * *
      * Search results.
      * 
@@ -783,7 +859,8 @@ public Builder setResults( * repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1; */ public Builder setResults( - int index, com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder builderForValue) { + int index, + com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder builderForValue) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); results_.set(index, builderForValue.build()); @@ -794,6 +871,8 @@ public Builder setResults( return this; } /** + * + * *
      * Search results.
      * 
@@ -814,6 +893,8 @@ public Builder addResults(com.google.cloud.datacatalog.v1beta1.SearchCatalogResu return this; } /** + * + * *
      * Search results.
      * 
@@ -835,6 +916,8 @@ public Builder addResults( return this; } /** + * + * *
      * Search results.
      * 
@@ -853,6 +936,8 @@ public Builder addResults( return this; } /** + * + * *
      * Search results.
      * 
@@ -860,7 +945,8 @@ public Builder addResults( * repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1; */ public Builder addResults( - int index, com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder builderForValue) { + int index, + com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder builderForValue) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); results_.add(index, builderForValue.build()); @@ -871,6 +957,8 @@ public Builder addResults( return this; } /** + * + * *
      * Search results.
      * 
@@ -878,11 +966,11 @@ public Builder addResults( * repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1; */ public Builder addAllResults( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, results_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, results_); onChanged(); } else { resultsBuilder_.addAllMessages(values); @@ -890,6 +978,8 @@ public Builder addAllResults( return this; } /** + * + * *
      * Search results.
      * 
@@ -907,6 +997,8 @@ public Builder clearResults() { return this; } /** + * + * *
      * Search results.
      * 
@@ -924,6 +1016,8 @@ public Builder removeResults(int index) { return this; } /** + * + * *
      * Search results.
      * 
@@ -935,6 +1029,8 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder getResul return getResultsFieldBuilder().getBuilder(index); } /** + * + * *
      * Search results.
      * 
@@ -944,19 +1040,23 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder getResul public com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder getResultsOrBuilder( int index) { if (resultsBuilder_ == null) { - return results_.get(index); } else { + return results_.get(index); + } else { return resultsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Search results.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1; */ - public java.util.List - getResultsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder> + getResultsOrBuilderList() { if (resultsBuilder_ != null) { return resultsBuilder_.getMessageOrBuilderList(); } else { @@ -964,6 +1064,8 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder getResu } } /** + * + * *
      * Search results.
      * 
@@ -971,10 +1073,13 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder getResu * repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1; */ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder addResultsBuilder() { - return getResultsFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.getDefaultInstance()); + return getResultsFieldBuilder() + .addBuilder( + com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.getDefaultInstance()); } /** + * + * *
      * Search results.
      * 
@@ -983,42 +1088,51 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder addResul */ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder addResultsBuilder( int index) { - return getResultsFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.getDefaultInstance()); + return getResultsFieldBuilder() + .addBuilder( + index, com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.getDefaultInstance()); } /** + * + * *
      * Search results.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1; */ - public java.util.List - getResultsBuilderList() { + public java.util.List + getResultsBuilderList() { return getResultsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SearchCatalogResult, com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder, com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder> + com.google.cloud.datacatalog.v1beta1.SearchCatalogResult, + com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder, + com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder> getResultsFieldBuilder() { if (resultsBuilder_ == null) { - resultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SearchCatalogResult, com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder, com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder>( - results_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + resultsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.SearchCatalogResult, + com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder, + com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder>( + results_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); results_ = null; } return resultsBuilder_; } - private int totalSize_ ; + private int totalSize_; /** + * + * *
      * The approximate total number of entries matched by the query.
      * 
* * int32 total_size = 2; + * * @return The totalSize. */ @java.lang.Override @@ -1026,11 +1140,14 @@ public int getTotalSize() { return totalSize_; } /** + * + * *
      * The approximate total number of entries matched by the query.
      * 
* * int32 total_size = 2; + * * @param value The totalSize to set. * @return This builder for chaining. */ @@ -1042,11 +1159,14 @@ public Builder setTotalSize(int value) { return this; } /** + * + * *
      * The approximate total number of entries matched by the query.
      * 
* * int32 total_size = 2; + * * @return This builder for chaining. */ public Builder clearTotalSize() { @@ -1058,18 +1178,20 @@ public Builder clearTotalSize() { private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token that can be used to retrieve the next page of results.
      * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1078,20 +1200,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token that can be used to retrieve the next page of results.
      * 
* * string next_page_token = 3; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1099,28 +1222,35 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token that can be used to retrieve the next page of results.
      * 
* * string next_page_token = 3; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The token that can be used to retrieve the next page of results.
      * 
* * string next_page_token = 3; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1130,17 +1260,21 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * The token that can be used to retrieve the next page of results.
      * 
* * string next_page_token = 3; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000004; @@ -1150,6 +1284,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_); @@ -1157,6 +1292,8 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000008; } /** + * + * *
      * Unreachable locations. Search result does not include data from those
      * locations. Users can get additional information on the error by repeating
@@ -1165,14 +1302,16 @@ private void ensureUnreachableIsMutable() {
      * 
* * repeated string unreachable = 6; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Unreachable locations. Search result does not include data from those
      * locations. Users can get additional information on the error by repeating
@@ -1181,12 +1320,15 @@ private void ensureUnreachableIsMutable() {
      * 
* * repeated string unreachable = 6; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Unreachable locations. Search result does not include data from those
      * locations. Users can get additional information on the error by repeating
@@ -1195,6 +1337,7 @@ public int getUnreachableCount() {
      * 
* * repeated string unreachable = 6; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1202,6 +1345,8 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Unreachable locations. Search result does not include data from those
      * locations. Users can get additional information on the error by repeating
@@ -1210,14 +1355,16 @@ public java.lang.String getUnreachable(int index) {
      * 
* * repeated string unreachable = 6; + * * @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); } /** + * + * *
      * Unreachable locations. Search result does not include data from those
      * locations. Users can get additional information on the error by repeating
@@ -1226,13 +1373,15 @@ public java.lang.String getUnreachable(int index) {
      * 
* * repeated string unreachable = 6; + * * @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_ |= 0x00000008; @@ -1240,6 +1389,8 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Unreachable locations. Search result does not include data from those
      * locations. Users can get additional information on the error by repeating
@@ -1248,12 +1399,14 @@ public Builder setUnreachable(
      * 
* * repeated string unreachable = 6; + * * @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_ |= 0x00000008; @@ -1261,6 +1414,8 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Unreachable locations. Search result does not include data from those
      * locations. Users can get additional information on the error by repeating
@@ -1269,19 +1424,20 @@ public Builder addUnreachable(
      * 
* * repeated string unreachable = 6; + * * @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_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Unreachable locations. Search result does not include data from those
      * locations. Users can get additional information on the error by repeating
@@ -1290,16 +1446,19 @@ public Builder addAllUnreachable(
      * 
* * repeated string unreachable = 6; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + ; onChanged(); return this; } /** + * + * *
      * Unreachable locations. Search result does not include data from those
      * locations. Users can get additional information on the error by repeating
@@ -1308,12 +1467,14 @@ public Builder clearUnreachable() {
      * 
* * repeated string unreachable = 6; + * * @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); @@ -1321,9 +1482,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); } @@ -1333,12 +1494,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.SearchCatalogResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.SearchCatalogResponse) private static final com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse(); } @@ -1347,27 +1508,27 @@ public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchCatalogResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchCatalogResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1382,6 +1543,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponseOrBuilder.java similarity index 78% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponseOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponseOrBuilder.java index 091b872a14f5..77cac740110c 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponseOrBuilder.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface SearchCatalogResponseOrBuilder extends +public interface SearchCatalogResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.SearchCatalogResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Search results.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1; */ - java.util.List - getResultsList(); + java.util.List getResultsList(); /** + * + * *
    * Search results.
    * 
@@ -25,6 +44,8 @@ public interface SearchCatalogResponseOrBuilder extends */ com.google.cloud.datacatalog.v1beta1.SearchCatalogResult getResults(int index); /** + * + * *
    * Search results.
    * 
@@ -33,55 +54,68 @@ public interface SearchCatalogResponseOrBuilder extends */ int getResultsCount(); /** + * + * *
    * Search results.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1; */ - java.util.List + java.util.List getResultsOrBuilderList(); /** + * + * *
    * Search results.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1; */ - com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder getResultsOrBuilder( - int index); + com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder getResultsOrBuilder(int index); /** + * + * *
    * The approximate total number of entries matched by the query.
    * 
* * int32 total_size = 2; + * * @return The totalSize. */ int getTotalSize(); /** + * + * *
    * The token that can be used to retrieve the next page of results.
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token that can be used to retrieve the next page of results.
    * 
* * string next_page_token = 3; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Unreachable locations. Search result does not include data from those
    * locations. Users can get additional information on the error by repeating
@@ -90,11 +124,13 @@ com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder getResultsOrBu
    * 
* * repeated string unreachable = 6; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Unreachable locations. Search result does not include data from those
    * locations. Users can get additional information on the error by repeating
@@ -103,10 +139,13 @@ com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder getResultsOrBu
    * 
* * repeated string unreachable = 6; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Unreachable locations. Search result does not include data from those
    * locations. Users can get additional information on the error by repeating
@@ -115,11 +154,14 @@ com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder getResultsOrBu
    * 
* * repeated string unreachable = 6; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Unreachable locations. Search result does not include data from those
    * locations. Users can get additional information on the error by repeating
@@ -128,9 +170,9 @@ com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder getResultsOrBu
    * 
* * repeated string unreachable = 6; + * * @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-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResult.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResult.java similarity index 73% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResult.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResult.java index 4f8dcfdde907..5b8a73440968 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResult.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResult.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/datacatalog/v1beta1/search.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * A result that appears in the response of a search request. Each result
  * captures details of one entry that matches the search.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.SearchCatalogResult}
  */
-public final class SearchCatalogResult extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SearchCatalogResult extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.SearchCatalogResult)
     SearchCatalogResultOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SearchCatalogResult.newBuilder() to construct.
   private SearchCatalogResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SearchCatalogResult() {
     searchResultType_ = 0;
     searchResultSubtype_ = "";
@@ -29,56 +47,71 @@ private SearchCatalogResult() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SearchCatalogResult();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Search.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Search
+        .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Search.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Search
+        .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.class, com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.class,
+            com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder.class);
   }
 
   public static final int SEARCH_RESULT_TYPE_FIELD_NUMBER = 1;
   private int searchResultType_ = 0;
   /**
+   *
+   *
    * 
    * Type of the search result. This field can be used to determine which Get
    * method to call to fetch the full resource.
    * 
* * .google.cloud.datacatalog.v1beta1.SearchResultType search_result_type = 1; + * * @return The enum numeric value on the wire for searchResultType. */ - @java.lang.Override public int getSearchResultTypeValue() { + @java.lang.Override + public int getSearchResultTypeValue() { return searchResultType_; } /** + * + * *
    * Type of the search result. This field can be used to determine which Get
    * method to call to fetch the full resource.
    * 
* * .google.cloud.datacatalog.v1beta1.SearchResultType search_result_type = 1; + * * @return The searchResultType. */ - @java.lang.Override public com.google.cloud.datacatalog.v1beta1.SearchResultType getSearchResultType() { - com.google.cloud.datacatalog.v1beta1.SearchResultType result = com.google.cloud.datacatalog.v1beta1.SearchResultType.forNumber(searchResultType_); - return result == null ? com.google.cloud.datacatalog.v1beta1.SearchResultType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.SearchResultType getSearchResultType() { + com.google.cloud.datacatalog.v1beta1.SearchResultType result = + com.google.cloud.datacatalog.v1beta1.SearchResultType.forNumber(searchResultType_); + return result == null + ? com.google.cloud.datacatalog.v1beta1.SearchResultType.UNRECOGNIZED + : result; } public static final int SEARCH_RESULT_SUBTYPE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object searchResultSubtype_ = ""; /** + * + * *
    * Sub-type of the search result. This is a dot-delimited description of the
    * resource's full type, and is the same as the value callers would provide in
@@ -87,6 +120,7 @@ protected java.lang.Object newInstance(
    * 
* * string search_result_subtype = 2; + * * @return The searchResultSubtype. */ @java.lang.Override @@ -95,14 +129,15 @@ public java.lang.String getSearchResultSubtype() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); searchResultSubtype_ = s; return s; } } /** + * + * *
    * Sub-type of the search result. This is a dot-delimited description of the
    * resource's full type, and is the same as the value callers would provide in
@@ -111,16 +146,15 @@ public java.lang.String getSearchResultSubtype() {
    * 
* * string search_result_subtype = 2; + * * @return The bytes for searchResultSubtype. */ @java.lang.Override - public com.google.protobuf.ByteString - getSearchResultSubtypeBytes() { + public com.google.protobuf.ByteString getSearchResultSubtypeBytes() { java.lang.Object ref = searchResultSubtype_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); searchResultSubtype_ = b; return b; } else { @@ -129,9 +163,12 @@ public java.lang.String getSearchResultSubtype() { } public static final int RELATIVE_RESOURCE_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object relativeResourceName_ = ""; /** + * + * *
    * The relative resource name of the resource in URL format.
    * Examples:
@@ -141,6 +178,7 @@ public java.lang.String getSearchResultSubtype() {
    * 
* * string relative_resource_name = 3; + * * @return The relativeResourceName. */ @java.lang.Override @@ -149,14 +187,15 @@ public java.lang.String getRelativeResourceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeResourceName_ = s; return s; } } /** + * + * *
    * The relative resource name of the resource in URL format.
    * Examples:
@@ -166,16 +205,15 @@ public java.lang.String getRelativeResourceName() {
    * 
* * string relative_resource_name = 3; + * * @return The bytes for relativeResourceName. */ @java.lang.Override - public com.google.protobuf.ByteString - getRelativeResourceNameBytes() { + public com.google.protobuf.ByteString getRelativeResourceNameBytes() { java.lang.Object ref = relativeResourceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); relativeResourceName_ = b; return b; } else { @@ -184,9 +222,12 @@ public java.lang.String getRelativeResourceName() { } public static final int LINKED_RESOURCE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object linkedResource_ = ""; /** + * + * *
    * The full name of the cloud resource the entry belongs to. See:
    * https://cloud.google.com/apis/design/resource_names#full_resource_name.
@@ -196,6 +237,7 @@ public java.lang.String getRelativeResourceName() {
    * 
* * string linked_resource = 4; + * * @return The linkedResource. */ @java.lang.Override @@ -204,14 +246,15 @@ public java.lang.String getLinkedResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); linkedResource_ = s; return s; } } /** + * + * *
    * The full name of the cloud resource the entry belongs to. See:
    * https://cloud.google.com/apis/design/resource_names#full_resource_name.
@@ -221,16 +264,15 @@ public java.lang.String getLinkedResource() {
    * 
* * string linked_resource = 4; + * * @return The bytes for linkedResource. */ @java.lang.Override - public com.google.protobuf.ByteString - getLinkedResourceBytes() { + public com.google.protobuf.ByteString getLinkedResourceBytes() { java.lang.Object ref = linkedResource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); linkedResource_ = b; return b; } else { @@ -241,11 +283,14 @@ public java.lang.String getLinkedResource() { public static final int MODIFY_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp modifyTime_; /** + * + * *
    * Last-modified timestamp of the entry from the managing system.
    * 
* * .google.protobuf.Timestamp modify_time = 7; + * * @return Whether the modifyTime field is set. */ @java.lang.Override @@ -253,11 +298,14 @@ public boolean hasModifyTime() { return modifyTime_ != null; } /** + * + * *
    * Last-modified timestamp of the entry from the managing system.
    * 
* * .google.protobuf.Timestamp modify_time = 7; + * * @return The modifyTime. */ @java.lang.Override @@ -265,6 +313,8 @@ public com.google.protobuf.Timestamp getModifyTime() { return modifyTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : modifyTime_; } /** + * + * *
    * Last-modified timestamp of the entry from the managing system.
    * 
@@ -277,6 +327,7 @@ public com.google.protobuf.TimestampOrBuilder getModifyTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -288,9 +339,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (searchResultType_ != com.google.cloud.datacatalog.v1beta1.SearchResultType.SEARCH_RESULT_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (searchResultType_ + != com.google.cloud.datacatalog.v1beta1.SearchResultType.SEARCH_RESULT_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, searchResultType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(searchResultSubtype_)) { @@ -314,9 +366,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (searchResultType_ != com.google.cloud.datacatalog.v1beta1.SearchResultType.SEARCH_RESULT_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, searchResultType_); + if (searchResultType_ + != com.google.cloud.datacatalog.v1beta1.SearchResultType.SEARCH_RESULT_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, searchResultType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(searchResultSubtype_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, searchResultSubtype_); @@ -328,8 +381,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, linkedResource_); } if (modifyTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getModifyTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getModifyTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -339,24 +391,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.datacatalog.v1beta1.SearchCatalogResult)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.SearchCatalogResult other = (com.google.cloud.datacatalog.v1beta1.SearchCatalogResult) obj; + com.google.cloud.datacatalog.v1beta1.SearchCatalogResult other = + (com.google.cloud.datacatalog.v1beta1.SearchCatalogResult) obj; if (searchResultType_ != other.searchResultType_) return false; - if (!getSearchResultSubtype() - .equals(other.getSearchResultSubtype())) return false; - if (!getRelativeResourceName() - .equals(other.getRelativeResourceName())) return false; - if (!getLinkedResource() - .equals(other.getLinkedResource())) return false; + if (!getSearchResultSubtype().equals(other.getSearchResultSubtype())) return false; + if (!getRelativeResourceName().equals(other.getRelativeResourceName())) return false; + if (!getLinkedResource().equals(other.getLinkedResource())) return false; if (hasModifyTime() != other.hasModifyTime()) return false; if (hasModifyTime()) { - if (!getModifyTime() - .equals(other.getModifyTime())) return false; + if (!getModifyTime().equals(other.getModifyTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -387,98 +436,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResult parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResult parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.SearchCatalogResult prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.SearchCatalogResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A result that appears in the response of a search request. Each result
    * captures details of one entry that matches the search.
@@ -486,33 +541,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.SearchCatalogResult}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.SearchCatalogResult)
       com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Search.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Search
+          .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Search.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Search
+          .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.class, com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.class,
+              com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -530,9 +584,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Search.internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Search
+          .internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_descriptor;
     }
 
     @java.lang.Override
@@ -551,8 +605,11 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResult build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.SearchCatalogResult buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.SearchCatalogResult result = new com.google.cloud.datacatalog.v1beta1.SearchCatalogResult(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.SearchCatalogResult result =
+          new com.google.cloud.datacatalog.v1beta1.SearchCatalogResult(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -572,9 +629,7 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.SearchCatalogRes
         result.linkedResource_ = linkedResource_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.modifyTime_ = modifyTimeBuilder_ == null
-            ? modifyTime_
-            : modifyTimeBuilder_.build();
+        result.modifyTime_ = modifyTimeBuilder_ == null ? modifyTime_ : modifyTimeBuilder_.build();
       }
     }
 
@@ -582,38 +637,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.SearchCatalogRes
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.SearchCatalogResult) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.SearchCatalogResult)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.SearchCatalogResult) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -621,7 +677,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.SearchCatalogResult other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.getDefaultInstance())
+        return this;
       if (other.searchResultType_ != 0) {
         setSearchResultTypeValue(other.getSearchResultTypeValue());
       }
@@ -669,39 +726,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              searchResultType_ = input.readEnum();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 18: {
-              searchResultSubtype_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              relativeResourceName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              linkedResource_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 58: {
-              input.readMessage(
-                  getModifyTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 58
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                searchResultType_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 18:
+              {
+                searchResultSubtype_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                relativeResourceName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                linkedResource_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 58:
+              {
+                input.readMessage(getModifyTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 58
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -711,28 +772,36 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private int searchResultType_ = 0;
     /**
+     *
+     *
      * 
      * Type of the search result. This field can be used to determine which Get
      * method to call to fetch the full resource.
      * 
* * .google.cloud.datacatalog.v1beta1.SearchResultType search_result_type = 1; + * * @return The enum numeric value on the wire for searchResultType. */ - @java.lang.Override public int getSearchResultTypeValue() { + @java.lang.Override + public int getSearchResultTypeValue() { return searchResultType_; } /** + * + * *
      * Type of the search result. This field can be used to determine which Get
      * method to call to fetch the full resource.
      * 
* * .google.cloud.datacatalog.v1beta1.SearchResultType search_result_type = 1; + * * @param value The enum numeric value on the wire for searchResultType to set. * @return This builder for chaining. */ @@ -743,30 +812,40 @@ public Builder setSearchResultTypeValue(int value) { return this; } /** + * + * *
      * Type of the search result. This field can be used to determine which Get
      * method to call to fetch the full resource.
      * 
* * .google.cloud.datacatalog.v1beta1.SearchResultType search_result_type = 1; + * * @return The searchResultType. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.SearchResultType getSearchResultType() { - com.google.cloud.datacatalog.v1beta1.SearchResultType result = com.google.cloud.datacatalog.v1beta1.SearchResultType.forNumber(searchResultType_); - return result == null ? com.google.cloud.datacatalog.v1beta1.SearchResultType.UNRECOGNIZED : result; + com.google.cloud.datacatalog.v1beta1.SearchResultType result = + com.google.cloud.datacatalog.v1beta1.SearchResultType.forNumber(searchResultType_); + return result == null + ? com.google.cloud.datacatalog.v1beta1.SearchResultType.UNRECOGNIZED + : result; } /** + * + * *
      * Type of the search result. This field can be used to determine which Get
      * method to call to fetch the full resource.
      * 
* * .google.cloud.datacatalog.v1beta1.SearchResultType search_result_type = 1; + * * @param value The searchResultType to set. * @return This builder for chaining. */ - public Builder setSearchResultType(com.google.cloud.datacatalog.v1beta1.SearchResultType value) { + public Builder setSearchResultType( + com.google.cloud.datacatalog.v1beta1.SearchResultType value) { if (value == null) { throw new NullPointerException(); } @@ -776,12 +855,15 @@ public Builder setSearchResultType(com.google.cloud.datacatalog.v1beta1.SearchRe return this; } /** + * + * *
      * Type of the search result. This field can be used to determine which Get
      * method to call to fetch the full resource.
      * 
* * .google.cloud.datacatalog.v1beta1.SearchResultType search_result_type = 1; + * * @return This builder for chaining. */ public Builder clearSearchResultType() { @@ -793,6 +875,8 @@ public Builder clearSearchResultType() { private java.lang.Object searchResultSubtype_ = ""; /** + * + * *
      * Sub-type of the search result. This is a dot-delimited description of the
      * resource's full type, and is the same as the value callers would provide in
@@ -801,13 +885,13 @@ public Builder clearSearchResultType() {
      * 
* * string search_result_subtype = 2; + * * @return The searchResultSubtype. */ public java.lang.String getSearchResultSubtype() { java.lang.Object ref = searchResultSubtype_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); searchResultSubtype_ = s; return s; @@ -816,6 +900,8 @@ public java.lang.String getSearchResultSubtype() { } } /** + * + * *
      * Sub-type of the search result. This is a dot-delimited description of the
      * resource's full type, and is the same as the value callers would provide in
@@ -824,15 +910,14 @@ public java.lang.String getSearchResultSubtype() {
      * 
* * string search_result_subtype = 2; + * * @return The bytes for searchResultSubtype. */ - public com.google.protobuf.ByteString - getSearchResultSubtypeBytes() { + public com.google.protobuf.ByteString getSearchResultSubtypeBytes() { java.lang.Object ref = searchResultSubtype_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); searchResultSubtype_ = b; return b; } else { @@ -840,6 +925,8 @@ public java.lang.String getSearchResultSubtype() { } } /** + * + * *
      * Sub-type of the search result. This is a dot-delimited description of the
      * resource's full type, and is the same as the value callers would provide in
@@ -848,18 +935,22 @@ public java.lang.String getSearchResultSubtype() {
      * 
* * string search_result_subtype = 2; + * * @param value The searchResultSubtype to set. * @return This builder for chaining. */ - public Builder setSearchResultSubtype( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSearchResultSubtype(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } searchResultSubtype_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Sub-type of the search result. This is a dot-delimited description of the
      * resource's full type, and is the same as the value callers would provide in
@@ -868,6 +959,7 @@ public Builder setSearchResultSubtype(
      * 
* * string search_result_subtype = 2; + * * @return This builder for chaining. */ public Builder clearSearchResultSubtype() { @@ -877,6 +969,8 @@ public Builder clearSearchResultSubtype() { return this; } /** + * + * *
      * Sub-type of the search result. This is a dot-delimited description of the
      * resource's full type, and is the same as the value callers would provide in
@@ -885,12 +979,14 @@ public Builder clearSearchResultSubtype() {
      * 
* * string search_result_subtype = 2; + * * @param value The bytes for searchResultSubtype to set. * @return This builder for chaining. */ - public Builder setSearchResultSubtypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSearchResultSubtypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); searchResultSubtype_ = value; bitField0_ |= 0x00000002; @@ -900,6 +996,8 @@ public Builder setSearchResultSubtypeBytes( private java.lang.Object relativeResourceName_ = ""; /** + * + * *
      * The relative resource name of the resource in URL format.
      * Examples:
@@ -909,13 +1007,13 @@ public Builder setSearchResultSubtypeBytes(
      * 
* * string relative_resource_name = 3; + * * @return The relativeResourceName. */ public java.lang.String getRelativeResourceName() { java.lang.Object ref = relativeResourceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeResourceName_ = s; return s; @@ -924,6 +1022,8 @@ public java.lang.String getRelativeResourceName() { } } /** + * + * *
      * The relative resource name of the resource in URL format.
      * Examples:
@@ -933,15 +1033,14 @@ public java.lang.String getRelativeResourceName() {
      * 
* * string relative_resource_name = 3; + * * @return The bytes for relativeResourceName. */ - public com.google.protobuf.ByteString - getRelativeResourceNameBytes() { + public com.google.protobuf.ByteString getRelativeResourceNameBytes() { java.lang.Object ref = relativeResourceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); relativeResourceName_ = b; return b; } else { @@ -949,6 +1048,8 @@ public java.lang.String getRelativeResourceName() { } } /** + * + * *
      * The relative resource name of the resource in URL format.
      * Examples:
@@ -958,18 +1059,22 @@ public java.lang.String getRelativeResourceName() {
      * 
* * string relative_resource_name = 3; + * * @param value The relativeResourceName to set. * @return This builder for chaining. */ - public Builder setRelativeResourceName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRelativeResourceName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } relativeResourceName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The relative resource name of the resource in URL format.
      * Examples:
@@ -979,6 +1084,7 @@ public Builder setRelativeResourceName(
      * 
* * string relative_resource_name = 3; + * * @return This builder for chaining. */ public Builder clearRelativeResourceName() { @@ -988,6 +1094,8 @@ public Builder clearRelativeResourceName() { return this; } /** + * + * *
      * The relative resource name of the resource in URL format.
      * Examples:
@@ -997,12 +1105,14 @@ public Builder clearRelativeResourceName() {
      * 
* * string relative_resource_name = 3; + * * @param value The bytes for relativeResourceName to set. * @return This builder for chaining. */ - public Builder setRelativeResourceNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRelativeResourceNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); relativeResourceName_ = value; bitField0_ |= 0x00000004; @@ -1012,6 +1122,8 @@ public Builder setRelativeResourceNameBytes( private java.lang.Object linkedResource_ = ""; /** + * + * *
      * The full name of the cloud resource the entry belongs to. See:
      * https://cloud.google.com/apis/design/resource_names#full_resource_name.
@@ -1021,13 +1133,13 @@ public Builder setRelativeResourceNameBytes(
      * 
* * string linked_resource = 4; + * * @return The linkedResource. */ public java.lang.String getLinkedResource() { java.lang.Object ref = linkedResource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); linkedResource_ = s; return s; @@ -1036,6 +1148,8 @@ public java.lang.String getLinkedResource() { } } /** + * + * *
      * The full name of the cloud resource the entry belongs to. See:
      * https://cloud.google.com/apis/design/resource_names#full_resource_name.
@@ -1045,15 +1159,14 @@ public java.lang.String getLinkedResource() {
      * 
* * string linked_resource = 4; + * * @return The bytes for linkedResource. */ - public com.google.protobuf.ByteString - getLinkedResourceBytes() { + public com.google.protobuf.ByteString getLinkedResourceBytes() { java.lang.Object ref = linkedResource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); linkedResource_ = b; return b; } else { @@ -1061,6 +1174,8 @@ public java.lang.String getLinkedResource() { } } /** + * + * *
      * The full name of the cloud resource the entry belongs to. See:
      * https://cloud.google.com/apis/design/resource_names#full_resource_name.
@@ -1070,18 +1185,22 @@ public java.lang.String getLinkedResource() {
      * 
* * string linked_resource = 4; + * * @param value The linkedResource to set. * @return This builder for chaining. */ - public Builder setLinkedResource( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLinkedResource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } linkedResource_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The full name of the cloud resource the entry belongs to. See:
      * https://cloud.google.com/apis/design/resource_names#full_resource_name.
@@ -1091,6 +1210,7 @@ public Builder setLinkedResource(
      * 
* * string linked_resource = 4; + * * @return This builder for chaining. */ public Builder clearLinkedResource() { @@ -1100,6 +1220,8 @@ public Builder clearLinkedResource() { return this; } /** + * + * *
      * The full name of the cloud resource the entry belongs to. See:
      * https://cloud.google.com/apis/design/resource_names#full_resource_name.
@@ -1109,12 +1231,14 @@ public Builder clearLinkedResource() {
      * 
* * string linked_resource = 4; + * * @param value The bytes for linkedResource to set. * @return This builder for chaining. */ - public Builder setLinkedResourceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); linkedResource_ = value; bitField0_ |= 0x00000008; @@ -1124,34 +1248,47 @@ public Builder setLinkedResourceBytes( private com.google.protobuf.Timestamp modifyTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> modifyTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + modifyTimeBuilder_; /** + * + * *
      * Last-modified timestamp of the entry from the managing system.
      * 
* * .google.protobuf.Timestamp modify_time = 7; + * * @return Whether the modifyTime field is set. */ public boolean hasModifyTime() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Last-modified timestamp of the entry from the managing system.
      * 
* * .google.protobuf.Timestamp modify_time = 7; + * * @return The modifyTime. */ public com.google.protobuf.Timestamp getModifyTime() { if (modifyTimeBuilder_ == null) { - return modifyTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : modifyTime_; + return modifyTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : modifyTime_; } else { return modifyTimeBuilder_.getMessage(); } } /** + * + * *
      * Last-modified timestamp of the entry from the managing system.
      * 
@@ -1172,14 +1309,15 @@ public Builder setModifyTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Last-modified timestamp of the entry from the managing system.
      * 
* * .google.protobuf.Timestamp modify_time = 7; */ - public Builder setModifyTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setModifyTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (modifyTimeBuilder_ == null) { modifyTime_ = builderForValue.build(); } else { @@ -1190,6 +1328,8 @@ public Builder setModifyTime( return this; } /** + * + * *
      * Last-modified timestamp of the entry from the managing system.
      * 
@@ -1198,9 +1338,9 @@ public Builder setModifyTime( */ public Builder mergeModifyTime(com.google.protobuf.Timestamp value) { if (modifyTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - modifyTime_ != null && - modifyTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && modifyTime_ != null + && modifyTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getModifyTimeBuilder().mergeFrom(value); } else { modifyTime_ = value; @@ -1213,6 +1353,8 @@ public Builder mergeModifyTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Last-modified timestamp of the entry from the managing system.
      * 
@@ -1230,6 +1372,8 @@ public Builder clearModifyTime() { return this; } /** + * + * *
      * Last-modified timestamp of the entry from the managing system.
      * 
@@ -1242,6 +1386,8 @@ public com.google.protobuf.Timestamp.Builder getModifyTimeBuilder() { return getModifyTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Last-modified timestamp of the entry from the managing system.
      * 
@@ -1252,11 +1398,14 @@ public com.google.protobuf.TimestampOrBuilder getModifyTimeOrBuilder() { if (modifyTimeBuilder_ != null) { return modifyTimeBuilder_.getMessageOrBuilder(); } else { - return modifyTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : modifyTime_; + return modifyTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : modifyTime_; } } /** + * + * *
      * Last-modified timestamp of the entry from the managing system.
      * 
@@ -1264,21 +1413,24 @@ public com.google.protobuf.TimestampOrBuilder getModifyTimeOrBuilder() { * .google.protobuf.Timestamp modify_time = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getModifyTimeFieldBuilder() { if (modifyTimeBuilder_ == null) { - modifyTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getModifyTime(), - getParentForChildren(), - isClean()); + modifyTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getModifyTime(), getParentForChildren(), isClean()); modifyTime_ = null; } return modifyTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1288,12 +1440,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.SearchCatalogResult) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.SearchCatalogResult) private static final com.google.cloud.datacatalog.v1beta1.SearchCatalogResult DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.SearchCatalogResult(); } @@ -1302,27 +1454,27 @@ public static com.google.cloud.datacatalog.v1beta1.SearchCatalogResult getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchCatalogResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchCatalogResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1337,6 +1489,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.SearchCatalogResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResultOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResultOrBuilder.java similarity index 80% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResultOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResultOrBuilder.java index 00505c8ac44a..cb9351ac132b 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResultOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResultOrBuilder.java @@ -1,34 +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/datacatalog/v1beta1/search.proto package com.google.cloud.datacatalog.v1beta1; -public interface SearchCatalogResultOrBuilder extends +public interface SearchCatalogResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.SearchCatalogResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Type of the search result. This field can be used to determine which Get
    * method to call to fetch the full resource.
    * 
* * .google.cloud.datacatalog.v1beta1.SearchResultType search_result_type = 1; + * * @return The enum numeric value on the wire for searchResultType. */ int getSearchResultTypeValue(); /** + * + * *
    * Type of the search result. This field can be used to determine which Get
    * method to call to fetch the full resource.
    * 
* * .google.cloud.datacatalog.v1beta1.SearchResultType search_result_type = 1; + * * @return The searchResultType. */ com.google.cloud.datacatalog.v1beta1.SearchResultType getSearchResultType(); /** + * + * *
    * Sub-type of the search result. This is a dot-delimited description of the
    * resource's full type, and is the same as the value callers would provide in
@@ -37,10 +61,13 @@ public interface SearchCatalogResultOrBuilder extends
    * 
* * string search_result_subtype = 2; + * * @return The searchResultSubtype. */ java.lang.String getSearchResultSubtype(); /** + * + * *
    * Sub-type of the search result. This is a dot-delimited description of the
    * resource's full type, and is the same as the value callers would provide in
@@ -49,12 +76,14 @@ public interface SearchCatalogResultOrBuilder extends
    * 
* * string search_result_subtype = 2; + * * @return The bytes for searchResultSubtype. */ - com.google.protobuf.ByteString - getSearchResultSubtypeBytes(); + com.google.protobuf.ByteString getSearchResultSubtypeBytes(); /** + * + * *
    * The relative resource name of the resource in URL format.
    * Examples:
@@ -64,10 +93,13 @@ public interface SearchCatalogResultOrBuilder extends
    * 
* * string relative_resource_name = 3; + * * @return The relativeResourceName. */ java.lang.String getRelativeResourceName(); /** + * + * *
    * The relative resource name of the resource in URL format.
    * Examples:
@@ -77,12 +109,14 @@ public interface SearchCatalogResultOrBuilder extends
    * 
* * string relative_resource_name = 3; + * * @return The bytes for relativeResourceName. */ - com.google.protobuf.ByteString - getRelativeResourceNameBytes(); + com.google.protobuf.ByteString getRelativeResourceNameBytes(); /** + * + * *
    * The full name of the cloud resource the entry belongs to. See:
    * https://cloud.google.com/apis/design/resource_names#full_resource_name.
@@ -92,10 +126,13 @@ public interface SearchCatalogResultOrBuilder extends
    * 
* * string linked_resource = 4; + * * @return The linkedResource. */ java.lang.String getLinkedResource(); /** + * + * *
    * The full name of the cloud resource the entry belongs to. See:
    * https://cloud.google.com/apis/design/resource_names#full_resource_name.
@@ -105,30 +142,38 @@ public interface SearchCatalogResultOrBuilder extends
    * 
* * string linked_resource = 4; + * * @return The bytes for linkedResource. */ - com.google.protobuf.ByteString - getLinkedResourceBytes(); + com.google.protobuf.ByteString getLinkedResourceBytes(); /** + * + * *
    * Last-modified timestamp of the entry from the managing system.
    * 
* * .google.protobuf.Timestamp modify_time = 7; + * * @return Whether the modifyTime field is set. */ boolean hasModifyTime(); /** + * + * *
    * Last-modified timestamp of the entry from the managing system.
    * 
* * .google.protobuf.Timestamp modify_time = 7; + * * @return The modifyTime. */ com.google.protobuf.Timestamp getModifyTime(); /** + * + * *
    * Last-modified timestamp of the entry from the managing system.
    * 
diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchResultType.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchResultType.java similarity index 68% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchResultType.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchResultType.java index df64e08939d9..dece2adb6c4f 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchResultType.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchResultType.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/datacatalog/v1beta1/search.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * The different types of resources that can be returned in search.
  * 
* * Protobuf enum {@code google.cloud.datacatalog.v1beta1.SearchResultType} */ -public enum SearchResultType - implements com.google.protobuf.ProtocolMessageEnum { +public enum SearchResultType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Default unknown type.
    * 
@@ -21,6 +39,8 @@ public enum SearchResultType */ SEARCH_RESULT_TYPE_UNSPECIFIED(0), /** + * + * *
    * An [Entry][google.cloud.datacatalog.v1beta1.Entry].
    * 
@@ -29,6 +49,8 @@ public enum SearchResultType */ ENTRY(1), /** + * + * *
    * A [TagTemplate][google.cloud.datacatalog.v1beta1.TagTemplate].
    * 
@@ -37,6 +59,8 @@ public enum SearchResultType */ TAG_TEMPLATE(2), /** + * + * *
    * An [EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup].
    * 
@@ -48,6 +72,8 @@ public enum SearchResultType ; /** + * + * *
    * Default unknown type.
    * 
@@ -56,6 +82,8 @@ public enum SearchResultType */ public static final int SEARCH_RESULT_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * An [Entry][google.cloud.datacatalog.v1beta1.Entry].
    * 
@@ -64,6 +92,8 @@ public enum SearchResultType */ public static final int ENTRY_VALUE = 1; /** + * + * *
    * A [TagTemplate][google.cloud.datacatalog.v1beta1.TagTemplate].
    * 
@@ -72,6 +102,8 @@ public enum SearchResultType */ public static final int TAG_TEMPLATE_VALUE = 2; /** + * + * *
    * An [EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup].
    * 
@@ -80,7 +112,6 @@ public enum SearchResultType */ public static final int ENTRY_GROUP_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -105,50 +136,51 @@ public static SearchResultType valueOf(int value) { */ public static SearchResultType forNumber(int value) { switch (value) { - case 0: return SEARCH_RESULT_TYPE_UNSPECIFIED; - case 1: return ENTRY; - case 2: return TAG_TEMPLATE; - case 3: return ENTRY_GROUP; - default: return null; + case 0: + return SEARCH_RESULT_TYPE_UNSPECIFIED; + case 1: + return ENTRY; + case 2: + return TAG_TEMPLATE; + case 3: + return ENTRY_GROUP; + 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< - SearchResultType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public SearchResultType findValueByNumber(int number) { - return SearchResultType.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 SearchResultType findValueByNumber(int number) { + return SearchResultType.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.datacatalog.v1beta1.Search.getDescriptor().getEnumTypes().get(0); } private static final SearchResultType[] VALUES = values(); - public static SearchResultType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static SearchResultType 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; @@ -164,4 +196,3 @@ private SearchResultType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1beta1.SearchResultType) } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTag.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTag.java similarity index 71% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTag.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTag.java index e03fdefd02c5..8e45f2e0e93c 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTag.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTag.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/datacatalog/v1beta1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Message representing one policy tag when exported as a nested proto.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.SerializedPolicyTag} */ -public final class SerializedPolicyTag extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SerializedPolicyTag extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.SerializedPolicyTag) SerializedPolicyTagOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SerializedPolicyTag.newBuilder() to construct. private SerializedPolicyTag(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SerializedPolicyTag() { policyTag_ = ""; displayName_ = ""; @@ -28,28 +46,32 @@ private SerializedPolicyTag() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SerializedPolicyTag(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto + .internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto + .internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.class, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder.class); + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.class, + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder.class); } public static final int POLICY_TAG_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object policyTag_ = ""; /** + * + * *
    * Resource name of the policy tag.
    *
@@ -57,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * string policy_tag = 1; + * * @return The policyTag. */ @java.lang.Override @@ -65,14 +88,15 @@ public java.lang.String getPolicyTag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); policyTag_ = s; return s; } } /** + * + * *
    * Resource name of the policy tag.
    *
@@ -80,16 +104,15 @@ public java.lang.String getPolicyTag() {
    * 
* * string policy_tag = 1; + * * @return The bytes for policyTag. */ @java.lang.Override - public com.google.protobuf.ByteString - getPolicyTagBytes() { + public com.google.protobuf.ByteString getPolicyTagBytes() { java.lang.Object ref = policyTag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); policyTag_ = b; return b; } else { @@ -98,15 +121,19 @@ public java.lang.String getPolicyTag() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Required. Display name of the policy tag. Max 200 bytes when encoded in
    * UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -115,30 +142,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Required. Display name of the policy tag. Max 200 bytes when encoded in
    * UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -147,9 +174,12 @@ public java.lang.String getDisplayName() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Description of the serialized policy tag. The length of the
    * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -157,6 +187,7 @@ public java.lang.String getDisplayName() {
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -165,14 +196,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; } } /** + * + * *
    * Description of the serialized policy tag. The length of the
    * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -180,16 +212,15 @@ public java.lang.String getDescription() {
    * 
* * string description = 3; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -198,67 +229,85 @@ public java.lang.String getDescription() { } public static final int CHILD_POLICY_TAGS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private java.util.List childPolicyTags_; /** + * + * *
    * Children of the policy tag if any.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * */ @java.lang.Override - public java.util.List getChildPolicyTagsList() { + public java.util.List + getChildPolicyTagsList() { return childPolicyTags_; } /** + * + * *
    * Children of the policy tag if any.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * */ @java.lang.Override - public java.util.List + public java.util.List getChildPolicyTagsOrBuilderList() { return childPolicyTags_; } /** + * + * *
    * Children of the policy tag if any.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * */ @java.lang.Override public int getChildPolicyTagsCount() { return childPolicyTags_.size(); } /** + * + * *
    * Children of the policy tag if any.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag getChildPolicyTags(int index) { return childPolicyTags_.get(index); } /** + * + * *
    * Children of the policy tag if any.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder getChildPolicyTagsOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder + getChildPolicyTagsOrBuilder(int index) { return childPolicyTags_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -270,8 +319,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(policyTag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, policyTag_); } @@ -303,8 +351,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } for (int i = 0; i < childPolicyTags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, childPolicyTags_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, childPolicyTags_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -314,21 +361,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.datacatalog.v1beta1.SerializedPolicyTag)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag other = (com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag) obj; + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag other = + (com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag) obj; - if (!getPolicyTag() - .equals(other.getPolicyTag())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getChildPolicyTagsList() - .equals(other.getChildPolicyTagsList())) return false; + if (!getPolicyTag().equals(other.getPolicyTag())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getChildPolicyTagsList().equals(other.getChildPolicyTagsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -356,131 +400,136 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message representing one policy tag when exported as a nested proto.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.SerializedPolicyTag} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.SerializedPolicyTag) com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto + .internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto + .internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.class, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder.class); + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.class, + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder.class); } // Construct using com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -499,9 +548,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto + .internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_descriptor; } @java.lang.Override @@ -520,14 +569,18 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag build() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag buildPartial() { - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag result = new com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag(this); + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag result = + new com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag result) { + private void buildPartialRepeatedFields( + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag result) { if (childPolicyTagsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { childPolicyTags_ = java.util.Collections.unmodifiableList(childPolicyTags_); @@ -556,38 +609,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.SerializedPolicy public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag) { - return mergeFrom((com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag)other); + return mergeFrom((com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag) other); } else { super.mergeFrom(other); return this; @@ -595,7 +649,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag other) { - if (other == com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.getDefaultInstance()) return this; + if (other == com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.getDefaultInstance()) + return this; if (!other.getPolicyTag().isEmpty()) { policyTag_ = other.policyTag_; bitField0_ |= 0x00000001; @@ -629,9 +684,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.SerializedPolicyTa childPolicyTagsBuilder_ = null; childPolicyTags_ = other.childPolicyTags_; bitField0_ = (bitField0_ & ~0x00000008); - childPolicyTagsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getChildPolicyTagsFieldBuilder() : null; + childPolicyTagsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getChildPolicyTagsFieldBuilder() + : null; } else { childPolicyTagsBuilder_.addAllMessages(other.childPolicyTags_); } @@ -663,40 +719,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - policyTag_ = 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 34: { - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag m = - input.readMessage( - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.parser(), - extensionRegistry); - if (childPolicyTagsBuilder_ == null) { - ensureChildPolicyTagsIsMutable(); - childPolicyTags_.add(m); - } else { - childPolicyTagsBuilder_.addMessage(m); - } - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + policyTag_ = 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 34: + { + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag m = + input.readMessage( + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.parser(), + extensionRegistry); + if (childPolicyTagsBuilder_ == null) { + ensureChildPolicyTagsIsMutable(); + childPolicyTags_.add(m); + } else { + childPolicyTagsBuilder_.addMessage(m); + } + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -706,10 +767,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object policyTag_ = ""; /** + * + * *
      * Resource name of the policy tag.
      *
@@ -717,13 +781,13 @@ public Builder mergeFrom(
      * 
* * string policy_tag = 1; + * * @return The policyTag. */ public java.lang.String getPolicyTag() { java.lang.Object ref = policyTag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); policyTag_ = s; return s; @@ -732,6 +796,8 @@ public java.lang.String getPolicyTag() { } } /** + * + * *
      * Resource name of the policy tag.
      *
@@ -739,15 +805,14 @@ public java.lang.String getPolicyTag() {
      * 
* * string policy_tag = 1; + * * @return The bytes for policyTag. */ - public com.google.protobuf.ByteString - getPolicyTagBytes() { + public com.google.protobuf.ByteString getPolicyTagBytes() { java.lang.Object ref = policyTag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); policyTag_ = b; return b; } else { @@ -755,6 +820,8 @@ public java.lang.String getPolicyTag() { } } /** + * + * *
      * Resource name of the policy tag.
      *
@@ -762,18 +829,22 @@ public java.lang.String getPolicyTag() {
      * 
* * string policy_tag = 1; + * * @param value The policyTag to set. * @return This builder for chaining. */ - public Builder setPolicyTag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPolicyTag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } policyTag_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Resource name of the policy tag.
      *
@@ -781,6 +852,7 @@ public Builder setPolicyTag(
      * 
* * string policy_tag = 1; + * * @return This builder for chaining. */ public Builder clearPolicyTag() { @@ -790,6 +862,8 @@ public Builder clearPolicyTag() { return this; } /** + * + * *
      * Resource name of the policy tag.
      *
@@ -797,12 +871,14 @@ public Builder clearPolicyTag() {
      * 
* * string policy_tag = 1; + * * @param value The bytes for policyTag to set. * @return This builder for chaining. */ - public Builder setPolicyTagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPolicyTagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); policyTag_ = value; bitField0_ |= 0x00000001; @@ -812,19 +888,21 @@ public Builder setPolicyTagBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Required. Display name of the policy tag. Max 200 bytes when encoded in
      * UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -833,21 +911,22 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Display name of the policy tag. Max 200 bytes when encoded in
      * UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -855,30 +934,37 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Display name of the policy tag. Max 200 bytes when encoded in
      * UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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; } /** + * + * *
      * Required. Display name of the policy tag. Max 200 bytes when encoded in
      * UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -888,18 +974,22 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Required. Display name of the policy tag. Max 200 bytes when encoded in
      * UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -909,6 +999,8 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Description of the serialized policy tag. The length of the
      * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -916,13 +1008,13 @@ public Builder setDisplayNameBytes(
      * 
* * string description = 3; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -931,6 +1023,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Description of the serialized policy tag. The length of the
      * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -938,15 +1032,14 @@ public java.lang.String getDescription() {
      * 
* * string description = 3; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -954,6 +1047,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Description of the serialized policy tag. The length of the
      * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -961,18 +1056,22 @@ public java.lang.String getDescription() {
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Description of the serialized policy tag. The length of the
      * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -980,6 +1079,7 @@ public Builder setDescription(
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -989,6 +1089,8 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Description of the serialized policy tag. The length of the
      * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -996,12 +1098,14 @@ public Builder clearDescription() {
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -1009,26 +1113,36 @@ public Builder setDescriptionBytes( return this; } - private java.util.List childPolicyTags_ = - java.util.Collections.emptyList(); + private java.util.List + childPolicyTags_ = java.util.Collections.emptyList(); + private void ensureChildPolicyTagsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - childPolicyTags_ = new java.util.ArrayList(childPolicyTags_); + childPolicyTags_ = + new java.util.ArrayList( + childPolicyTags_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder> childPolicyTagsBuilder_; + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag, + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder, + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder> + childPolicyTagsBuilder_; /** + * + * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * */ - public java.util.List getChildPolicyTagsList() { + public java.util.List + getChildPolicyTagsList() { if (childPolicyTagsBuilder_ == null) { return java.util.Collections.unmodifiableList(childPolicyTags_); } else { @@ -1036,11 +1150,14 @@ public java.util.List } } /** + * + * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * */ public int getChildPolicyTagsCount() { if (childPolicyTagsBuilder_ == null) { @@ -1050,11 +1167,14 @@ public int getChildPolicyTagsCount() { } } /** + * + * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * */ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag getChildPolicyTags(int index) { if (childPolicyTagsBuilder_ == null) { @@ -1064,11 +1184,14 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag getChildPolicyTa } } /** + * + * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * */ public Builder setChildPolicyTags( int index, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag value) { @@ -1085,14 +1208,18 @@ public Builder setChildPolicyTags( return this; } /** + * + * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * */ public Builder setChildPolicyTags( - int index, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder builderForValue) { + int index, + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder builderForValue) { if (childPolicyTagsBuilder_ == null) { ensureChildPolicyTagsIsMutable(); childPolicyTags_.set(index, builderForValue.build()); @@ -1103,13 +1230,17 @@ public Builder setChildPolicyTags( return this; } /** + * + * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * */ - public Builder addChildPolicyTags(com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag value) { + public Builder addChildPolicyTags( + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag value) { if (childPolicyTagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1123,11 +1254,14 @@ public Builder addChildPolicyTags(com.google.cloud.datacatalog.v1beta1.Serialize return this; } /** + * + * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * */ public Builder addChildPolicyTags( int index, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag value) { @@ -1144,11 +1278,14 @@ public Builder addChildPolicyTags( return this; } /** + * + * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * */ public Builder addChildPolicyTags( com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder builderForValue) { @@ -1162,14 +1299,18 @@ public Builder addChildPolicyTags( return this; } /** + * + * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * */ public Builder addChildPolicyTags( - int index, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder builderForValue) { + int index, + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder builderForValue) { if (childPolicyTagsBuilder_ == null) { ensureChildPolicyTagsIsMutable(); childPolicyTags_.add(index, builderForValue.build()); @@ -1180,18 +1321,21 @@ public Builder addChildPolicyTags( return this; } /** + * + * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * */ public Builder addAllChildPolicyTags( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (childPolicyTagsBuilder_ == null) { ensureChildPolicyTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, childPolicyTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, childPolicyTags_); onChanged(); } else { childPolicyTagsBuilder_.addAllMessages(values); @@ -1199,11 +1343,14 @@ public Builder addAllChildPolicyTags( return this; } /** + * + * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * */ public Builder clearChildPolicyTags() { if (childPolicyTagsBuilder_ == null) { @@ -1216,11 +1363,14 @@ public Builder clearChildPolicyTags() { return this; } /** + * + * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * */ public Builder removeChildPolicyTags(int index) { if (childPolicyTagsBuilder_ == null) { @@ -1233,39 +1383,50 @@ public Builder removeChildPolicyTags(int index) { return this; } /** + * + * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * */ - public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder getChildPolicyTagsBuilder( - int index) { + public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder + getChildPolicyTagsBuilder(int index) { return getChildPolicyTagsFieldBuilder().getBuilder(index); } /** + * + * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * */ - public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder getChildPolicyTagsOrBuilder( - int index) { + public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder + getChildPolicyTagsOrBuilder(int index) { if (childPolicyTagsBuilder_ == null) { - return childPolicyTags_.get(index); } else { + return childPolicyTags_.get(index); + } else { return childPolicyTagsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * */ - public java.util.List - getChildPolicyTagsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder> + getChildPolicyTagsOrBuilderList() { if (childPolicyTagsBuilder_ != null) { return childPolicyTagsBuilder_.getMessageOrBuilderList(); } else { @@ -1273,45 +1434,63 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder getChil } } /** + * + * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * */ - public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder addChildPolicyTagsBuilder() { - return getChildPolicyTagsFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.getDefaultInstance()); + public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder + addChildPolicyTagsBuilder() { + return getChildPolicyTagsFieldBuilder() + .addBuilder( + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.getDefaultInstance()); } /** + * + * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * */ - public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder addChildPolicyTagsBuilder( - int index) { - return getChildPolicyTagsFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.getDefaultInstance()); + public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder + addChildPolicyTagsBuilder(int index) { + return getChildPolicyTagsFieldBuilder() + .addBuilder( + index, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.getDefaultInstance()); } /** + * + * *
      * Children of the policy tag if any.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * */ - public java.util.List - getChildPolicyTagsBuilderList() { + public java.util.List + getChildPolicyTagsBuilderList() { return getChildPolicyTagsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder> + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag, + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder, + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder> getChildPolicyTagsFieldBuilder() { if (childPolicyTagsBuilder_ == null) { - childPolicyTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder>( + childPolicyTagsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag, + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder, + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder>( childPolicyTags_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), @@ -1320,9 +1499,9 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder addChild } return childPolicyTagsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1332,12 +1511,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.SerializedPolicyTag) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.SerializedPolicyTag) private static final com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag(); } @@ -1346,27 +1525,27 @@ public static com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SerializedPolicyTag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SerializedPolicyTag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1381,6 +1560,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTagOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTagOrBuilder.java similarity index 71% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTagOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTagOrBuilder.java index accdaffbc911..5d599feb5939 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTagOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTagOrBuilder.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/datacatalog/v1beta1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1beta1; -public interface SerializedPolicyTagOrBuilder extends +public interface SerializedPolicyTagOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.SerializedPolicyTag) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Resource name of the policy tag.
    *
@@ -15,10 +33,13 @@ public interface SerializedPolicyTagOrBuilder extends
    * 
* * string policy_tag = 1; + * * @return The policyTag. */ java.lang.String getPolicyTag(); /** + * + * *
    * Resource name of the policy tag.
    *
@@ -26,34 +47,41 @@ public interface SerializedPolicyTagOrBuilder extends
    * 
* * string policy_tag = 1; + * * @return The bytes for policyTag. */ - com.google.protobuf.ByteString - getPolicyTagBytes(); + com.google.protobuf.ByteString getPolicyTagBytes(); /** + * + * *
    * Required. Display name of the policy tag. Max 200 bytes when encoded in
    * UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. Display name of the policy tag. Max 200 bytes when encoded in
    * UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Description of the serialized policy tag. The length of the
    * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -61,10 +89,13 @@ public interface SerializedPolicyTagOrBuilder extends
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Description of the serialized policy tag. The length of the
    * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -72,51 +103,65 @@ public interface SerializedPolicyTagOrBuilder extends
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Children of the policy tag if any.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * */ - java.util.List - getChildPolicyTagsList(); + java.util.List getChildPolicyTagsList(); /** + * + * *
    * Children of the policy tag if any.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * */ com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag getChildPolicyTags(int index); /** + * + * *
    * Children of the policy tag if any.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * */ int getChildPolicyTagsCount(); /** + * + * *
    * Children of the policy tag if any.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * */ - java.util.List + java.util.List getChildPolicyTagsOrBuilderList(); /** + * + * *
    * Children of the policy tag if any.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4; + * */ com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder getChildPolicyTagsOrBuilder( int index); diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomy.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomy.java similarity index 71% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomy.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomy.java index 141e798782b1..8646d0372fd3 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomy.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomy.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/datacatalog/v1beta1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Message capturing a taxonomy and its policy tag hierarchy as a nested proto.
  * Used for taxonomy import/export and mutation.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.SerializedTaxonomy}
  */
-public final class SerializedTaxonomy extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SerializedTaxonomy extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.SerializedTaxonomy)
     SerializedTaxonomyOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SerializedTaxonomy.newBuilder() to construct.
   private SerializedTaxonomy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SerializedTaxonomy() {
     displayName_ = "";
     description_ = "";
@@ -29,34 +47,39 @@ private SerializedTaxonomy() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SerializedTaxonomy();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
+        .internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
+        .internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.class, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.class,
+            com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder.class);
   }
 
   public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object displayName_ = "";
   /**
+   *
+   *
    * 
    * Required. Display name of the taxonomy. Max 200 bytes when encoded in
    * UTF-8.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -65,30 +88,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Required. Display name of the taxonomy. Max 200 bytes when encoded in
    * UTF-8.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -97,9 +120,12 @@ public java.lang.String getDisplayName() { } public static final int DESCRIPTION_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Description of the serialized taxonomy. The length of the
    * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -107,6 +133,7 @@ public java.lang.String getDisplayName() {
    * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -115,14 +142,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; } } /** + * + * *
    * Description of the serialized taxonomy. The length of the
    * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -130,16 +158,15 @@ public java.lang.String getDescription() {
    * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -148,9 +175,12 @@ public java.lang.String getDescription() { } public static final int POLICY_TAGS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List policyTags_; /** + * + * *
    * Top level policy tags associated with the taxonomy if any.
    * 
@@ -158,10 +188,13 @@ public java.lang.String getDescription() { * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3; */ @java.lang.Override - public java.util.List getPolicyTagsList() { + public java.util.List + getPolicyTagsList() { return policyTags_; } /** + * + * *
    * Top level policy tags associated with the taxonomy if any.
    * 
@@ -169,11 +202,13 @@ public java.util.List * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3; */ @java.lang.Override - public java.util.List + public java.util.List getPolicyTagsOrBuilderList() { return policyTags_; } /** + * + * *
    * Top level policy tags associated with the taxonomy if any.
    * 
@@ -185,6 +220,8 @@ public int getPolicyTagsCount() { return policyTags_.size(); } /** + * + * *
    * Top level policy tags associated with the taxonomy if any.
    * 
@@ -196,6 +233,8 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag getPolicyTags(in return policyTags_.get(index); } /** + * + * *
    * Top level policy tags associated with the taxonomy if any.
    * 
@@ -209,36 +248,55 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder getPoli } public static final int ACTIVATED_POLICY_TYPES_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private java.util.List activatedPolicyTypes_; + private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType> activatedPolicyTypes_converter_ = + java.lang.Integer, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType> + activatedPolicyTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType>() { - public com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType convert(java.lang.Integer from) { - com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType result = com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType.forNumber(from); - return result == null ? com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType.UNRECOGNIZED : result; + public com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType convert( + java.lang.Integer from) { + com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType result = + com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType.forNumber(from); + return result == null + ? com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType.UNRECOGNIZED + : result; } }; /** + * + * *
    * A list of policy types that are activated for a taxonomy.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @return A list containing the activatedPolicyTypes. */ @java.lang.Override - public java.util.List getActivatedPolicyTypesList() { + public java.util.List + getActivatedPolicyTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType>(activatedPolicyTypes_, activatedPolicyTypes_converter_); + java.lang.Integer, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType>( + activatedPolicyTypes_, activatedPolicyTypes_converter_); } /** + * + * *
    * A list of policy types that are activated for a taxonomy.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @return The count of activatedPolicyTypes. */ @java.lang.Override @@ -246,37 +304,52 @@ public int getActivatedPolicyTypesCount() { return activatedPolicyTypes_.size(); } /** + * + * *
    * A list of policy types that are activated for a taxonomy.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @param index The index of the element to return. * @return The activatedPolicyTypes at the given index. */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType getActivatedPolicyTypes(int index) { + public com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType getActivatedPolicyTypes( + int index) { return activatedPolicyTypes_converter_.convert(activatedPolicyTypes_.get(index)); } /** + * + * *
    * A list of policy types that are activated for a taxonomy.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @return A list containing the enum numeric values on the wire for activatedPolicyTypes. */ @java.lang.Override - public java.util.List - getActivatedPolicyTypesValueList() { + public java.util.List getActivatedPolicyTypesValueList() { return activatedPolicyTypes_; } /** + * + * *
    * A list of policy types that are activated for a taxonomy.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of activatedPolicyTypes at the given index. */ @@ -284,9 +357,11 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType getActivatedPoli public int getActivatedPolicyTypesValue(int index) { return activatedPolicyTypes_.get(index); } + private int activatedPolicyTypesMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -298,8 +373,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); @@ -333,20 +407,21 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } for (int i = 0; i < policyTags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, policyTags_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, policyTags_.get(i)); } { int dataSize = 0; for (int i = 0; i < activatedPolicyTypes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(activatedPolicyTypes_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag( + activatedPolicyTypes_.get(i)); } size += dataSize; - if (!getActivatedPolicyTypesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }activatedPolicyTypesMemoizedSerializedSize = dataSize; + if (!getActivatedPolicyTypesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + activatedPolicyTypesMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -356,19 +431,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.datacatalog.v1beta1.SerializedTaxonomy)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy other = (com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy) obj; + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy other = + (com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy) obj; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getPolicyTagsList() - .equals(other.getPolicyTagsList())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getPolicyTagsList().equals(other.getPolicyTagsList())) return false; if (!activatedPolicyTypes_.equals(other.activatedPolicyTypes_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -399,98 +472,104 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message capturing a taxonomy and its policy tag hierarchy as a nested proto.
    * Used for taxonomy import/export and mutation.
@@ -498,33 +577,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.SerializedTaxonomy}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.SerializedTaxonomy)
       com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.class, com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.class,
+              com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -544,9 +622,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto.internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationProto
+          .internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_descriptor;
     }
 
     @java.lang.Override
@@ -565,14 +643,18 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy result = new com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy(this);
+      com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy result =
+          new com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy result) {
       if (policyTagsBuilder_ == null) {
         if (((bitField0_ & 0x00000004) != 0)) {
           policyTags_ = java.util.Collections.unmodifiableList(policyTags_);
@@ -603,38 +685,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.SerializedTaxono
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -642,7 +725,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.getDefaultInstance())
+        return this;
       if (!other.getDisplayName().isEmpty()) {
         displayName_ = other.displayName_;
         bitField0_ |= 0x00000001;
@@ -671,9 +755,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy
             policyTagsBuilder_ = null;
             policyTags_ = other.policyTags_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            policyTagsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getPolicyTagsFieldBuilder() : null;
+            policyTagsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getPolicyTagsFieldBuilder()
+                    : null;
           } else {
             policyTagsBuilder_.addAllMessages(other.policyTags_);
           }
@@ -715,52 +800,58 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag m =
-                  input.readMessage(
-                      com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.parser(),
-                      extensionRegistry);
-              if (policyTagsBuilder_ == null) {
-                ensurePolicyTagsIsMutable();
-                policyTags_.add(m);
-              } else {
-                policyTagsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 26
-            case 32: {
-              int tmpRaw = input.readEnum();
-              ensureActivatedPolicyTypesIsMutable();
-              activatedPolicyTypes_.add(tmpRaw);
-              break;
-            } // case 32
-            case 34: {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while(input.getBytesUntilLimit() > 0) {
+            case 10:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag m =
+                    input.readMessage(
+                        com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.parser(),
+                        extensionRegistry);
+                if (policyTagsBuilder_ == null) {
+                  ensurePolicyTagsIsMutable();
+                  policyTags_.add(m);
+                } else {
+                  policyTagsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 26
+            case 32:
+              {
                 int tmpRaw = input.readEnum();
                 ensureActivatedPolicyTypesIsMutable();
                 activatedPolicyTypes_.add(tmpRaw);
-              }
-              input.popLimit(oldLimit);
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 32
+            case 34:
+              {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while (input.getBytesUntilLimit() > 0) {
+                  int tmpRaw = input.readEnum();
+                  ensureActivatedPolicyTypesIsMutable();
+                  activatedPolicyTypes_.add(tmpRaw);
+                }
+                input.popLimit(oldLimit);
+                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) {
@@ -770,23 +861,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object displayName_ = "";
     /**
+     *
+     *
      * 
      * Required. Display name of the taxonomy. Max 200 bytes when encoded in
      * UTF-8.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -795,21 +889,22 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Display name of the taxonomy. Max 200 bytes when encoded in
      * UTF-8.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -817,30 +912,37 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Display name of the taxonomy. Max 200 bytes when encoded in
      * UTF-8.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Display name of the taxonomy. Max 200 bytes when encoded in
      * UTF-8.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -850,18 +952,22 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Required. Display name of the taxonomy. Max 200 bytes when encoded in
      * UTF-8.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -871,6 +977,8 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Description of the serialized taxonomy. The length of the
      * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -878,13 +986,13 @@ public Builder setDisplayNameBytes(
      * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -893,6 +1001,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Description of the serialized taxonomy. The length of the
      * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -900,15 +1010,14 @@ public java.lang.String getDescription() {
      * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -916,6 +1025,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Description of the serialized taxonomy. The length of the
      * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -923,18 +1034,22 @@ public java.lang.String getDescription() {
      * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - 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; } /** + * + * *
      * Description of the serialized taxonomy. The length of the
      * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -942,6 +1057,7 @@ public Builder setDescription(
      * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -951,6 +1067,8 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Description of the serialized taxonomy. The length of the
      * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -958,12 +1076,14 @@ public Builder clearDescription() {
      * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - 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; @@ -972,25 +1092,34 @@ public Builder setDescriptionBytes( } private java.util.List policyTags_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePolicyTagsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - policyTags_ = new java.util.ArrayList(policyTags_); + policyTags_ = + new java.util.ArrayList( + policyTags_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder> policyTagsBuilder_; + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag, + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder, + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder> + policyTagsBuilder_; /** + * + * *
      * Top level policy tags associated with the taxonomy if any.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3; */ - public java.util.List getPolicyTagsList() { + public java.util.List + getPolicyTagsList() { if (policyTagsBuilder_ == null) { return java.util.Collections.unmodifiableList(policyTags_); } else { @@ -998,6 +1127,8 @@ public java.util.List } } /** + * + * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1012,6 +1143,8 @@ public int getPolicyTagsCount() { } } /** + * + * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1026,6 +1159,8 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag getPolicyTags(in } } /** + * + * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1047,6 +1182,8 @@ public Builder setPolicyTags( return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1054,7 +1191,8 @@ public Builder setPolicyTags( * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3; */ public Builder setPolicyTags( - int index, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder builderForValue) { + int index, + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder builderForValue) { if (policyTagsBuilder_ == null) { ensurePolicyTagsIsMutable(); policyTags_.set(index, builderForValue.build()); @@ -1065,6 +1203,8 @@ public Builder setPolicyTags( return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1085,6 +1225,8 @@ public Builder addPolicyTags(com.google.cloud.datacatalog.v1beta1.SerializedPoli return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1106,6 +1248,8 @@ public Builder addPolicyTags( return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1124,6 +1268,8 @@ public Builder addPolicyTags( return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1131,7 +1277,8 @@ public Builder addPolicyTags( * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3; */ public Builder addPolicyTags( - int index, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder builderForValue) { + int index, + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder builderForValue) { if (policyTagsBuilder_ == null) { ensurePolicyTagsIsMutable(); policyTags_.add(index, builderForValue.build()); @@ -1142,6 +1289,8 @@ public Builder addPolicyTags( return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1149,11 +1298,11 @@ public Builder addPolicyTags( * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3; */ public Builder addAllPolicyTags( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (policyTagsBuilder_ == null) { ensurePolicyTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, policyTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, policyTags_); onChanged(); } else { policyTagsBuilder_.addAllMessages(values); @@ -1161,6 +1310,8 @@ public Builder addAllPolicyTags( return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1178,6 +1329,8 @@ public Builder clearPolicyTags() { return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1195,6 +1348,8 @@ public Builder removePolicyTags(int index) { return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1206,6 +1361,8 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder getPolic return getPolicyTagsFieldBuilder().getBuilder(index); } /** + * + * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1215,19 +1372,23 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder getPolic public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder getPolicyTagsOrBuilder( int index) { if (policyTagsBuilder_ == null) { - return policyTags_.get(index); } else { + return policyTags_.get(index); + } else { return policyTagsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Top level policy tags associated with the taxonomy if any.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3; */ - public java.util.List - getPolicyTagsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder> + getPolicyTagsOrBuilderList() { if (policyTagsBuilder_ != null) { return policyTagsBuilder_.getMessageOrBuilderList(); } else { @@ -1235,6 +1396,8 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder getPoli } } /** + * + * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1242,10 +1405,13 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder getPoli * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3; */ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder addPolicyTagsBuilder() { - return getPolicyTagsFieldBuilder().addBuilder( - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.getDefaultInstance()); + return getPolicyTagsFieldBuilder() + .addBuilder( + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.getDefaultInstance()); } /** + * + * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1254,37 +1420,44 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder addPolic */ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder addPolicyTagsBuilder( int index) { - return getPolicyTagsFieldBuilder().addBuilder( - index, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.getDefaultInstance()); + return getPolicyTagsFieldBuilder() + .addBuilder( + index, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.getDefaultInstance()); } /** + * + * *
      * Top level policy tags associated with the taxonomy if any.
      * 
* * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3; */ - public java.util.List - getPolicyTagsBuilderList() { + public java.util.List + getPolicyTagsBuilderList() { return getPolicyTagsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder> + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag, + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder, + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder> getPolicyTagsFieldBuilder() { if (policyTagsBuilder_ == null) { - policyTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder>( - policyTags_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); + policyTagsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag, + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder, + com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder>( + policyTags_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); policyTags_ = null; } return policyTagsBuilder_; } private java.util.List activatedPolicyTypes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureActivatedPolicyTypesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { activatedPolicyTypes_ = new java.util.ArrayList(activatedPolicyTypes_); @@ -1292,46 +1465,69 @@ private void ensureActivatedPolicyTypesIsMutable() { } } /** + * + * *
      * A list of policy types that are activated for a taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @return A list containing the activatedPolicyTypes. */ - public java.util.List getActivatedPolicyTypesList() { + public java.util.List + getActivatedPolicyTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType>(activatedPolicyTypes_, activatedPolicyTypes_converter_); + java.lang.Integer, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType>( + activatedPolicyTypes_, activatedPolicyTypes_converter_); } /** + * + * *
      * A list of policy types that are activated for a taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @return The count of activatedPolicyTypes. */ public int getActivatedPolicyTypesCount() { return activatedPolicyTypes_.size(); } /** + * + * *
      * A list of policy types that are activated for a taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @param index The index of the element to return. * @return The activatedPolicyTypes at the given index. */ - public com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType getActivatedPolicyTypes(int index) { + public com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType getActivatedPolicyTypes( + int index) { return activatedPolicyTypes_converter_.convert(activatedPolicyTypes_.get(index)); } /** + * + * *
      * A list of policy types that are activated for a taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @param index The index to set the value at. * @param value The activatedPolicyTypes to set. * @return This builder for chaining. @@ -1347,15 +1543,21 @@ public Builder setActivatedPolicyTypes( return this; } /** + * + * *
      * A list of policy types that are activated for a taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @param value The activatedPolicyTypes to add. * @return This builder for chaining. */ - public Builder addActivatedPolicyTypes(com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType value) { + public Builder addActivatedPolicyTypes( + com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType value) { if (value == null) { throw new NullPointerException(); } @@ -1365,16 +1567,22 @@ public Builder addActivatedPolicyTypes(com.google.cloud.datacatalog.v1beta1.Taxo return this; } /** + * + * *
      * A list of policy types that are activated for a taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @param values The activatedPolicyTypes to add. * @return This builder for chaining. */ public Builder addAllActivatedPolicyTypes( - java.lang.Iterable values) { + java.lang.Iterable + values) { ensureActivatedPolicyTypesIsMutable(); for (com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType value : values) { activatedPolicyTypes_.add(value.getNumber()); @@ -1383,11 +1591,16 @@ public Builder addAllActivatedPolicyTypes( return this; } /** + * + * *
      * A list of policy types that are activated for a taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @return This builder for chaining. */ public Builder clearActivatedPolicyTypes() { @@ -1397,23 +1610,32 @@ public Builder clearActivatedPolicyTypes() { return this; } /** + * + * *
      * A list of policy types that are activated for a taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @return A list containing the enum numeric values on the wire for activatedPolicyTypes. */ - public java.util.List - getActivatedPolicyTypesValueList() { + public java.util.List getActivatedPolicyTypesValueList() { return java.util.Collections.unmodifiableList(activatedPolicyTypes_); } /** + * + * *
      * A list of policy types that are activated for a taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of activatedPolicyTypes at the given index. */ @@ -1421,28 +1643,37 @@ public int getActivatedPolicyTypesValue(int index) { return activatedPolicyTypes_.get(index); } /** + * + * *
      * A list of policy types that are activated for a taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for activatedPolicyTypes to set. * @return This builder for chaining. */ - public Builder setActivatedPolicyTypesValue( - int index, int value) { + public Builder setActivatedPolicyTypesValue(int index, int value) { ensureActivatedPolicyTypesIsMutable(); activatedPolicyTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * A list of policy types that are activated for a taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @param value The enum numeric value on the wire for activatedPolicyTypes to add. * @return This builder for chaining. */ @@ -1453,16 +1684,20 @@ public Builder addActivatedPolicyTypesValue(int value) { return this; } /** + * + * *
      * A list of policy types that are activated for a taxonomy.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @param values The enum numeric values on the wire for activatedPolicyTypes to add. * @return This builder for chaining. */ - public Builder addAllActivatedPolicyTypesValue( - java.lang.Iterable values) { + public Builder addAllActivatedPolicyTypesValue(java.lang.Iterable values) { ensureActivatedPolicyTypesIsMutable(); for (int value : values) { activatedPolicyTypes_.add(value); @@ -1470,9 +1705,9 @@ public Builder addAllActivatedPolicyTypesValue( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1482,12 +1717,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.SerializedTaxonomy) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.SerializedTaxonomy) private static final com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy(); } @@ -1496,27 +1731,27 @@ public static com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SerializedTaxonomy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SerializedTaxonomy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1531,6 +1766,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomyOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomyOrBuilder.java similarity index 70% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomyOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomyOrBuilder.java index 8b9a17357f8f..5f0b886453c3 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomyOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomyOrBuilder.java @@ -1,35 +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/datacatalog/v1beta1/policytagmanagerserialization.proto package com.google.cloud.datacatalog.v1beta1; -public interface SerializedTaxonomyOrBuilder extends +public interface SerializedTaxonomyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.SerializedTaxonomy) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Display name of the taxonomy. Max 200 bytes when encoded in
    * UTF-8.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. Display name of the taxonomy. Max 200 bytes when encoded in
    * UTF-8.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Description of the serialized taxonomy. The length of the
    * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -37,10 +60,13 @@ public interface SerializedTaxonomyOrBuilder extends
    * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Description of the serialized taxonomy. The length of the
    * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -48,21 +74,24 @@ public interface SerializedTaxonomyOrBuilder extends
    * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Top level policy tags associated with the taxonomy if any.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3; */ - java.util.List - getPolicyTagsList(); + java.util.List getPolicyTagsList(); /** + * + * *
    * Top level policy tags associated with the taxonomy if any.
    * 
@@ -71,6 +100,8 @@ public interface SerializedTaxonomyOrBuilder extends */ com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag getPolicyTags(int index); /** + * + * *
    * Top level policy tags associated with the taxonomy if any.
    * 
@@ -79,15 +110,19 @@ public interface SerializedTaxonomyOrBuilder extends */ int getPolicyTagsCount(); /** + * + * *
    * Top level policy tags associated with the taxonomy if any.
    * 
* * repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3; */ - java.util.List + java.util.List getPolicyTagsOrBuilderList(); /** + * + * *
    * Top level policy tags associated with the taxonomy if any.
    * 
@@ -98,49 +133,74 @@ com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder getPolicyTagsO int index); /** + * + * *
    * A list of policy types that are activated for a taxonomy.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @return A list containing the activatedPolicyTypes. */ - java.util.List getActivatedPolicyTypesList(); + java.util.List + getActivatedPolicyTypesList(); /** + * + * *
    * A list of policy types that are activated for a taxonomy.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @return The count of activatedPolicyTypes. */ int getActivatedPolicyTypesCount(); /** + * + * *
    * A list of policy types that are activated for a taxonomy.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @param index The index of the element to return. * @return The activatedPolicyTypes at the given index. */ com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType getActivatedPolicyTypes(int index); /** + * + * *
    * A list of policy types that are activated for a taxonomy.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @return A list containing the enum numeric values on the wire for activatedPolicyTypes. */ - java.util.List - getActivatedPolicyTypesValueList(); + java.util.List getActivatedPolicyTypesValueList(); /** + * + * *
    * A list of policy types that are activated for a taxonomy.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of activatedPolicyTypes at the given index. */ diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestamps.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestamps.java similarity index 68% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestamps.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestamps.java index 1d01ce876993..b0045d2440ed 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestamps.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestamps.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/datacatalog/v1beta1/timestamps.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Timestamps about this resource according to a particular system.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.SystemTimestamps} */ -public final class SystemTimestamps extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SystemTimestamps extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.SystemTimestamps) SystemTimestampsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SystemTimestamps.newBuilder() to construct. private SystemTimestamps(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SystemTimestamps() { - } + + private SystemTimestamps() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SystemTimestamps(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Timestamps.internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Timestamps + .internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.Timestamps.internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.Timestamps + .internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.SystemTimestamps.class, com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder.class); + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.class, + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The creation time of the resource within the given system.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -57,11 +78,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The creation time of the resource within the given system.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return The createTime. */ @java.lang.Override @@ -69,6 +93,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The creation time of the resource within the given system.
    * 
@@ -83,11 +109,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The last-modified time of the resource within the given system.
    * 
* * .google.protobuf.Timestamp update_time = 2; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -95,11 +124,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The last-modified time of the resource within the given system.
    * 
* * .google.protobuf.Timestamp update_time = 2; + * * @return The updateTime. */ @java.lang.Override @@ -107,6 +139,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The last-modified time of the resource within the given system.
    * 
@@ -121,12 +155,16 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int EXPIRE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp expireTime_; /** + * + * *
    * Output only. The expiration time of the resource within the given system.
    * Currently only apllicable to BigQuery resources.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ @java.lang.Override @@ -134,12 +172,16 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** + * + * *
    * Output only. The expiration time of the resource within the given system.
    * Currently only apllicable to BigQuery resources.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expireTime. */ @java.lang.Override @@ -147,12 +189,15 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** + * + * *
    * Output only. The expiration time of the resource within the given system.
    * Currently only apllicable to BigQuery resources.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -160,6 +205,7 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +217,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -192,16 +237,13 @@ 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 (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateTime()); } if (expireTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getExpireTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getExpireTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -211,27 +253,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.datacatalog.v1beta1.SystemTimestamps)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.SystemTimestamps other = (com.google.cloud.datacatalog.v1beta1.SystemTimestamps) obj; + com.google.cloud.datacatalog.v1beta1.SystemTimestamps other = + (com.google.cloud.datacatalog.v1beta1.SystemTimestamps) obj; 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 (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime() - .equals(other.getExpireTime())) return false; + if (!getExpireTime().equals(other.getExpireTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -262,131 +302,136 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.SystemTimestamps parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.SystemTimestamps parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.SystemTimestamps parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.SystemTimestamps parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.SystemTimestamps parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.SystemTimestamps parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SystemTimestamps parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.SystemTimestamps parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.SystemTimestamps parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.SystemTimestamps parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.SystemTimestamps parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.SystemTimestamps parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.SystemTimestamps parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.SystemTimestamps parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.SystemTimestamps prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.SystemTimestamps prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Timestamps about this resource according to a particular system.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.SystemTimestamps} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.SystemTimestamps) com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Timestamps.internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Timestamps + .internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.Timestamps.internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.Timestamps + .internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.SystemTimestamps.class, com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder.class); + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.class, + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder.class); } // Construct using com.google.cloud.datacatalog.v1beta1.SystemTimestamps.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -410,9 +455,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.Timestamps.internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.Timestamps + .internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_descriptor; } @java.lang.Override @@ -431,8 +476,11 @@ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps build() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.SystemTimestamps buildPartial() { - com.google.cloud.datacatalog.v1beta1.SystemTimestamps result = new com.google.cloud.datacatalog.v1beta1.SystemTimestamps(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1beta1.SystemTimestamps result = + new com.google.cloud.datacatalog.v1beta1.SystemTimestamps(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -440,19 +488,13 @@ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps buildPartial() { private void buildPartial0(com.google.cloud.datacatalog.v1beta1.SystemTimestamps 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.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.expireTime_ = expireTimeBuilder_ == null - ? expireTime_ - : expireTimeBuilder_.build(); + result.expireTime_ = expireTimeBuilder_ == null ? expireTime_ : expireTimeBuilder_.build(); } } @@ -460,38 +502,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.SystemTimestamps public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1beta1.SystemTimestamps) { - return mergeFrom((com.google.cloud.datacatalog.v1beta1.SystemTimestamps)other); + return mergeFrom((com.google.cloud.datacatalog.v1beta1.SystemTimestamps) other); } else { super.mergeFrom(other); return this; @@ -499,7 +542,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.SystemTimestamps other) { - if (other == com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance()) return this; + if (other == com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance()) + return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -535,33 +579,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getExpireTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getExpireTimeFieldBuilder().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) { @@ -571,38 +613,52 @@ 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_; /** + * + * *
      * The creation time of the resource within the given system.
      * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The creation time of the resource within the given system.
      * 
* * .google.protobuf.Timestamp create_time = 1; + * * @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 creation time of the resource within the given system.
      * 
@@ -623,14 +679,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The creation time of the resource within the given system.
      * 
* * .google.protobuf.Timestamp create_time = 1; */ - 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 { @@ -641,6 +698,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The creation time of the resource within the given system.
      * 
@@ -649,9 +708,9 @@ public Builder setCreateTime( */ 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; @@ -664,6 +723,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The creation time of the resource within the given system.
      * 
@@ -681,6 +742,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The creation time of the resource within the given system.
      * 
@@ -693,6 +756,8 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The creation time of the resource within the given system.
      * 
@@ -703,11 +768,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 creation time of the resource within the given system.
      * 
@@ -715,14 +783,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_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> 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_; @@ -730,34 +801,47 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * The last-modified time of the resource within the given system.
      * 
* * .google.protobuf.Timestamp update_time = 2; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The last-modified time of the resource within the given system.
      * 
* * .google.protobuf.Timestamp update_time = 2; + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * The last-modified time of the resource within the given system.
      * 
@@ -778,14 +862,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The last-modified time of the resource within the given system.
      * 
* * .google.protobuf.Timestamp update_time = 2; */ - 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 { @@ -796,6 +881,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * The last-modified time of the resource within the given system.
      * 
@@ -804,9 +891,9 @@ public Builder setUpdateTime( */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -819,6 +906,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The last-modified time of the resource within the given system.
      * 
@@ -836,6 +925,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * The last-modified time of the resource within the given system.
      * 
@@ -848,6 +939,8 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The last-modified time of the resource within the given system.
      * 
@@ -858,11 +951,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * The last-modified time of the resource within the given system.
      * 
@@ -870,14 +966,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -885,42 +984,61 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + expireTimeBuilder_; /** + * + * *
      * Output only. The expiration time of the resource within the given system.
      * Currently only apllicable to BigQuery resources.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. The expiration time of the resource within the given system.
      * Currently only apllicable to BigQuery resources.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + return expireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The expiration time of the resource within the given system.
      * Currently only apllicable to BigQuery resources.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -936,15 +1054,18 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The expiration time of the resource within the given system.
      * Currently only apllicable to BigQuery resources.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setExpireTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); } else { @@ -955,18 +1076,22 @@ public Builder setExpireTime( return this; } /** + * + * *
      * Output only. The expiration time of the resource within the given system.
      * Currently only apllicable to BigQuery resources.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - expireTime_ != null && - expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && expireTime_ != null + && expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpireTimeBuilder().mergeFrom(value); } else { expireTime_ = value; @@ -979,12 +1104,16 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The expiration time of the resource within the given system.
      * Currently only apllicable to BigQuery resources.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearExpireTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -997,12 +1126,16 @@ public Builder clearExpireTime() { return this; } /** + * + * *
      * Output only. The expiration time of the resource within the given system.
      * Currently only apllicable to BigQuery resources.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { bitField0_ |= 0x00000004; @@ -1010,45 +1143,57 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { return getExpireTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The expiration time of the resource within the given system.
      * Currently only apllicable to BigQuery resources.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + return expireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expireTime_; } } /** + * + * *
      * Output only. The expiration time of the resource within the given system.
      * Currently only apllicable to BigQuery resources.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_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> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), - getParentForChildren(), - isClean()); + expireTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), getParentForChildren(), isClean()); expireTime_ = null; } return expireTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1058,12 +1203,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.SystemTimestamps) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.SystemTimestamps) private static final com.google.cloud.datacatalog.v1beta1.SystemTimestamps DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.SystemTimestamps(); } @@ -1072,27 +1217,27 @@ public static com.google.cloud.datacatalog.v1beta1.SystemTimestamps getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SystemTimestamps parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SystemTimestamps parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1107,6 +1252,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestampsOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestampsOrBuilder.java similarity index 74% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestampsOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestampsOrBuilder.java index 5a14f491fa14..b9396d8c7c7f 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestampsOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestampsOrBuilder.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/datacatalog/v1beta1/timestamps.proto package com.google.cloud.datacatalog.v1beta1; -public interface SystemTimestampsOrBuilder extends +public interface SystemTimestampsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.SystemTimestamps) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The creation time of the resource within the given system.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The creation time of the resource within the given system.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The creation time of the resource within the given system.
    * 
@@ -35,24 +59,32 @@ public interface SystemTimestampsOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The last-modified time of the resource within the given system.
    * 
* * .google.protobuf.Timestamp update_time = 2; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The last-modified time of the resource within the given system.
    * 
* * .google.protobuf.Timestamp update_time = 2; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The last-modified time of the resource within the given system.
    * 
@@ -62,32 +94,43 @@ public interface SystemTimestampsOrBuilder extends com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. The expiration time of the resource within the given system.
    * Currently only apllicable to BigQuery resources.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** + * + * *
    * Output only. The expiration time of the resource within the given system.
    * Currently only apllicable to BigQuery resources.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** + * + * *
    * Output only. The expiration time of the resource within the given system.
    * Currently only apllicable to BigQuery resources.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); } diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSourceType.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSourceType.java similarity index 66% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSourceType.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSourceType.java index 4bc36ede1780..3cb2b74d30a3 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSourceType.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSourceType.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/datacatalog/v1beta1/table_spec.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Table source type.
  * 
* * Protobuf enum {@code google.cloud.datacatalog.v1beta1.TableSourceType} */ -public enum TableSourceType - implements com.google.protobuf.ProtocolMessageEnum { +public enum TableSourceType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Default unknown type.
    * 
@@ -21,6 +39,8 @@ public enum TableSourceType */ TABLE_SOURCE_TYPE_UNSPECIFIED(0), /** + * + * *
    * Table view.
    * 
@@ -29,6 +49,8 @@ public enum TableSourceType */ BIGQUERY_VIEW(2), /** + * + * *
    * BigQuery native table.
    * 
@@ -37,6 +59,8 @@ public enum TableSourceType */ BIGQUERY_TABLE(5), /** + * + * *
    * BigQuery materialized view.
    * 
@@ -48,6 +72,8 @@ public enum TableSourceType ; /** + * + * *
    * Default unknown type.
    * 
@@ -56,6 +82,8 @@ public enum TableSourceType */ public static final int TABLE_SOURCE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Table view.
    * 
@@ -64,6 +92,8 @@ public enum TableSourceType */ public static final int BIGQUERY_VIEW_VALUE = 2; /** + * + * *
    * BigQuery native table.
    * 
@@ -72,6 +102,8 @@ public enum TableSourceType */ public static final int BIGQUERY_TABLE_VALUE = 5; /** + * + * *
    * BigQuery materialized view.
    * 
@@ -80,7 +112,6 @@ public enum TableSourceType */ public static final int BIGQUERY_MATERIALIZED_VIEW_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -105,50 +136,53 @@ public static TableSourceType valueOf(int value) { */ public static TableSourceType forNumber(int value) { switch (value) { - case 0: return TABLE_SOURCE_TYPE_UNSPECIFIED; - case 2: return BIGQUERY_VIEW; - case 5: return BIGQUERY_TABLE; - case 7: return BIGQUERY_MATERIALIZED_VIEW; - default: return null; + case 0: + return TABLE_SOURCE_TYPE_UNSPECIFIED; + case 2: + return BIGQUERY_VIEW; + case 5: + return BIGQUERY_TABLE; + case 7: + return BIGQUERY_MATERIALIZED_VIEW; + 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< - TableSourceType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TableSourceType findValueByNumber(int number) { - return TableSourceType.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 TableSourceType findValueByNumber(int number) { + return TableSourceType.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.datacatalog.v1beta1.TableSpecOuterClass.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.getDescriptor() + .getEnumTypes() + .get(0); } private static final TableSourceType[] VALUES = values(); - public static TableSourceType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static TableSourceType 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; @@ -164,4 +198,3 @@ private TableSourceType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1beta1.TableSourceType) } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpec.java similarity index 66% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpec.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpec.java index 7d6fc0fbe653..7183f214388c 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpec.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/datacatalog/v1beta1/table_spec.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Normal BigQuery table spec.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.TableSpec} */ -public final class TableSpec extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TableSpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.TableSpec) TableSpecOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TableSpec.newBuilder() to construct. private TableSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TableSpec() { groupedEntry_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TableSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_TableSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass + .internal_static_google_cloud_datacatalog_v1beta1_TableSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_TableSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass + .internal_static_google_cloud_datacatalog_v1beta1_TableSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.TableSpec.class, com.google.cloud.datacatalog.v1beta1.TableSpec.Builder.class); + com.google.cloud.datacatalog.v1beta1.TableSpec.class, + com.google.cloud.datacatalog.v1beta1.TableSpec.Builder.class); } public static final int GROUPED_ENTRY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object groupedEntry_ = ""; /** + * + * *
    * Output only. If the table is a dated shard, i.e., with name pattern
    * `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of
@@ -55,7 +77,10 @@ protected java.lang.Object newInstance(
    * Otherwise, `grouped_entry` is empty.
    * 
* - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The groupedEntry. */ @java.lang.Override @@ -64,14 +89,15 @@ public java.lang.String getGroupedEntry() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); groupedEntry_ = s; return s; } } /** + * + * *
    * Output only. If the table is a dated shard, i.e., with name pattern
    * `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of
@@ -80,17 +106,18 @@ public java.lang.String getGroupedEntry() {
    * Otherwise, `grouped_entry` is empty.
    * 
* - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for groupedEntry. */ @java.lang.Override - public com.google.protobuf.ByteString - getGroupedEntryBytes() { + public com.google.protobuf.ByteString getGroupedEntryBytes() { java.lang.Object ref = groupedEntry_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); groupedEntry_ = b; return b; } else { @@ -99,6 +126,7 @@ public java.lang.String getGroupedEntry() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -110,8 +138,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(groupedEntry_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, groupedEntry_); } @@ -135,15 +162,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1beta1.TableSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.TableSpec other = (com.google.cloud.datacatalog.v1beta1.TableSpec) obj; + com.google.cloud.datacatalog.v1beta1.TableSpec other = + (com.google.cloud.datacatalog.v1beta1.TableSpec) obj; - if (!getGroupedEntry() - .equals(other.getGroupedEntry())) return false; + if (!getGroupedEntry().equals(other.getGroupedEntry())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,132 +189,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1beta1.TableSpec parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1beta1.TableSpec parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.TableSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.TableSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.TableSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.TableSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.TableSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.TableSpec parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.TableSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.TableSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.TableSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.TableSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.TableSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.TableSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.TableSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Normal BigQuery table spec.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.TableSpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.TableSpec) com.google.cloud.datacatalog.v1beta1.TableSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_TableSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass + .internal_static_google_cloud_datacatalog_v1beta1_TableSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_TableSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass + .internal_static_google_cloud_datacatalog_v1beta1_TableSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.TableSpec.class, com.google.cloud.datacatalog.v1beta1.TableSpec.Builder.class); + com.google.cloud.datacatalog.v1beta1.TableSpec.class, + com.google.cloud.datacatalog.v1beta1.TableSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1beta1.TableSpec.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -297,9 +328,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_TableSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass + .internal_static_google_cloud_datacatalog_v1beta1_TableSpec_descriptor; } @java.lang.Override @@ -318,8 +349,11 @@ public com.google.cloud.datacatalog.v1beta1.TableSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TableSpec buildPartial() { - com.google.cloud.datacatalog.v1beta1.TableSpec result = new com.google.cloud.datacatalog.v1beta1.TableSpec(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1beta1.TableSpec result = + new com.google.cloud.datacatalog.v1beta1.TableSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -335,38 +369,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.TableSpec result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1beta1.TableSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1beta1.TableSpec)other); + return mergeFrom((com.google.cloud.datacatalog.v1beta1.TableSpec) other); } else { super.mergeFrom(other); return this; @@ -406,17 +441,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - groupedEntry_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + groupedEntry_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -426,10 +463,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object groupedEntry_ = ""; /** + * + * *
      * Output only. If the table is a dated shard, i.e., with name pattern
      * `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of
@@ -438,14 +478,16 @@ public Builder mergeFrom(
      * Otherwise, `grouped_entry` is empty.
      * 
* - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The groupedEntry. */ public java.lang.String getGroupedEntry() { java.lang.Object ref = groupedEntry_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); groupedEntry_ = s; return s; @@ -454,6 +496,8 @@ public java.lang.String getGroupedEntry() { } } /** + * + * *
      * Output only. If the table is a dated shard, i.e., with name pattern
      * `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of
@@ -462,16 +506,17 @@ public java.lang.String getGroupedEntry() {
      * Otherwise, `grouped_entry` is empty.
      * 
* - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for groupedEntry. */ - public com.google.protobuf.ByteString - getGroupedEntryBytes() { + public com.google.protobuf.ByteString getGroupedEntryBytes() { java.lang.Object ref = groupedEntry_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); groupedEntry_ = b; return b; } else { @@ -479,6 +524,8 @@ public java.lang.String getGroupedEntry() { } } /** + * + * *
      * Output only. If the table is a dated shard, i.e., with name pattern
      * `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of
@@ -487,19 +534,25 @@ public java.lang.String getGroupedEntry() {
      * Otherwise, `grouped_entry` is empty.
      * 
* - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The groupedEntry to set. * @return This builder for chaining. */ - public Builder setGroupedEntry( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGroupedEntry(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } groupedEntry_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. If the table is a dated shard, i.e., with name pattern
      * `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of
@@ -508,7 +561,10 @@ public Builder setGroupedEntry(
      * Otherwise, `grouped_entry` is empty.
      * 
* - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearGroupedEntry() { @@ -518,6 +574,8 @@ public Builder clearGroupedEntry() { return this; } /** + * + * *
      * Output only. If the table is a dated shard, i.e., with name pattern
      * `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of
@@ -526,22 +584,26 @@ public Builder clearGroupedEntry() {
      * Otherwise, `grouped_entry` is empty.
      * 
* - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for groupedEntry to set. * @return This builder for chaining. */ - public Builder setGroupedEntryBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGroupedEntryBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); groupedEntry_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -551,12 +613,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.TableSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.TableSpec) private static final com.google.cloud.datacatalog.v1beta1.TableSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.TableSpec(); } @@ -565,27 +627,27 @@ public static com.google.cloud.datacatalog.v1beta1.TableSpec getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -600,6 +662,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.TableSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOrBuilder.java similarity index 53% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOrBuilder.java index 023a4f2841b6..8c3dd2a97dc2 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOrBuilder.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/datacatalog/v1beta1/table_spec.proto package com.google.cloud.datacatalog.v1beta1; -public interface TableSpecOrBuilder extends +public interface TableSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.TableSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. If the table is a dated shard, i.e., with name pattern
    * `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of
@@ -16,11 +34,16 @@ public interface TableSpecOrBuilder extends
    * Otherwise, `grouped_entry` is empty.
    * 
* - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The groupedEntry. */ java.lang.String getGroupedEntry(); /** + * + * *
    * Output only. If the table is a dated shard, i.e., with name pattern
    * `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of
@@ -29,9 +52,11 @@ public interface TableSpecOrBuilder extends
    * Otherwise, `grouped_entry` is empty.
    * 
* - * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string grouped_entry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for groupedEntry. */ - com.google.protobuf.ByteString - getGroupedEntryBytes(); + com.google.protobuf.ByteString getGroupedEntryBytes(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOuterClass.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOuterClass.java new file mode 100644 index 000000000000..c37ca112f85c --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOuterClass.java @@ -0,0 +1,132 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/table_spec.proto + +package com.google.cloud.datacatalog.v1beta1; + +public final class TableSpecOuterClass { + private TableSpecOuterClass() {} + + 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_datacatalog_v1beta1_BigQueryTableSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_TableSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_TableSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n1google/cloud/datacatalog/v1beta1/table" + + "_spec.proto\022 google.cloud.datacatalog.v1" + + "beta1\032\037google/api/field_behavior.proto\032\031" + + "google/api/resource.proto\"\370\001\n\021BigQueryTa" + + "bleSpec\022R\n\021table_source_type\030\001 \001(\01621.goo" + + "gle.cloud.datacatalog.v1beta1.TableSourc" + + "eTypeB\004\342A\001\003\022?\n\tview_spec\030\002 \001(\0132*.google." + + "cloud.datacatalog.v1beta1.ViewSpecH\000\022A\n\n" + + "table_spec\030\003 \001(\0132+.google.cloud.datacata" + + "log.v1beta1.TableSpecH\000B\013\n\ttype_spec\"$\n\010" + + "ViewSpec\022\030\n\nview_query\030\001 \001(\tB\004\342A\001\003\"M\n\tTa" + + "bleSpec\022@\n\rgrouped_entry\030\001 \001(\tB)\342A\001\003\372A\"\n" + + " datacatalog.googleapis.com/Entry\"\214\001\n\027Bi" + + "gQueryDateShardedSpec\022:\n\007dataset\030\001 \001(\tB)" + + "\342A\001\003\372A\"\n datacatalog.googleapis.com/Entr" + + "y\022\032\n\014table_prefix\030\002 \001(\tB\004\342A\001\003\022\031\n\013shard_c" + + "ount\030\003 \001(\003B\004\342A\001\003*{\n\017TableSourceType\022!\n\035T" + + "ABLE_SOURCE_TYPE_UNSPECIFIED\020\000\022\021\n\rBIGQUE" + + "RY_VIEW\020\002\022\022\n\016BIGQUERY_TABLE\020\005\022\036\n\032BIGQUER" + + "Y_MATERIALIZED_VIEW\020\007B\337\001\n$com.google.clo" + + "ud.datacatalog.v1beta1P\001ZFcloud.google.c" + + "om/go/datacatalog/apiv1beta1/datacatalog" + + "pb;datacatalogpb\370\001\001\252\002 Google.Cloud.DataC" + + "atalog.V1Beta1\312\002 Google\\Cloud\\DataCatalo" + + "g\\V1beta1\352\002#Google::Cloud::DataCatalog::" + + "V1beta1b\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(), + }); + internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_descriptor, + new java.lang.String[] { + "TableSourceType", "ViewSpec", "TableSpec", "TypeSpec", + }); + internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_descriptor, + new java.lang.String[] { + "ViewQuery", + }); + internal_static_google_cloud_datacatalog_v1beta1_TableSpec_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_datacatalog_v1beta1_TableSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_TableSpec_descriptor, + new java.lang.String[] { + "GroupedEntry", + }); + internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_descriptor, + new java.lang.String[] { + "Dataset", "TablePrefix", "ShardCount", + }); + 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-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tag.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tag.java similarity index 68% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tag.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tag.java index 70c003d3423d..ae0340e2fdaf 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tag.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tag.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/tags.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Tags are used to attach custom metadata to Data Catalog resources. Tags
  * conform to the specifications within their tag template.
@@ -15,15 +32,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.Tag}
  */
-public final class Tag extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Tag extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.Tag)
     TagOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Tag.newBuilder() to construct.
   private Tag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Tag() {
     name_ = "";
     template_ = "";
@@ -32,45 +50,49 @@ private Tag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Tag();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_Tag_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Tags
+        .internal_static_google_cloud_datacatalog_v1beta1_Tag_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 internalGetFields();
       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.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_Tag_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Tags
+        .internal_static_google_cloud_datacatalog_v1beta1_Tag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.Tag.class, com.google.cloud.datacatalog.v1beta1.Tag.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.Tag.class,
+            com.google.cloud.datacatalog.v1beta1.Tag.Builder.class);
   }
 
   private int scopeCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object scope_;
+
   public enum ScopeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     COLUMN(4),
     SCOPE_NOT_SET(0);
     private final int value;
+
     private ScopeCase(int value) {
       this.value = value;
     }
@@ -86,26 +108,31 @@ public static ScopeCase valueOf(int value) {
 
     public static ScopeCase forNumber(int value) {
       switch (value) {
-        case 4: return COLUMN;
-        case 0: return SCOPE_NOT_SET;
-        default: return null;
+        case 4:
+          return COLUMN;
+        case 0:
+          return SCOPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ScopeCase
-  getScopeCase() {
-    return ScopeCase.forNumber(
-        scopeCase_);
+  public ScopeCase getScopeCase() {
+    return ScopeCase.forNumber(scopeCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The resource name of the tag in URL format. Example:
    *
@@ -116,6 +143,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -124,14 +152,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The resource name of the tag in URL format. Example:
    *
@@ -142,16 +171,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 { @@ -160,9 +188,12 @@ public java.lang.String getName() { } public static final int TEMPLATE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object template_ = ""; /** + * + * *
    * Required. The resource name of the tag template that this tag uses.
    * Example:
@@ -173,6 +204,7 @@ public java.lang.String getName() {
    * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The template. */ @java.lang.Override @@ -181,14 +213,15 @@ public java.lang.String getTemplate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); template_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tag template that this tag uses.
    * Example:
@@ -199,16 +232,15 @@ public java.lang.String getTemplate() {
    * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for template. */ @java.lang.Override - public com.google.protobuf.ByteString - getTemplateBytes() { + public com.google.protobuf.ByteString getTemplateBytes() { java.lang.Object ref = template_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); template_ = b; return b; } else { @@ -217,14 +249,18 @@ public java.lang.String getTemplate() { } public static final int TEMPLATE_DISPLAY_NAME_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object templateDisplayName_ = ""; /** + * + * *
    * Output only. The display name of the tag template.
    * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The templateDisplayName. */ @java.lang.Override @@ -233,29 +269,29 @@ public java.lang.String getTemplateDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); templateDisplayName_ = s; return s; } } /** + * + * *
    * Output only. The display name of the tag template.
    * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for templateDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getTemplateDisplayNameBytes() { + public com.google.protobuf.ByteString getTemplateDisplayNameBytes() { java.lang.Object ref = templateDisplayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); templateDisplayName_ = b; return b; } else { @@ -265,6 +301,8 @@ public java.lang.String getTemplateDisplayName() { public static final int COLUMN_FIELD_NUMBER = 4; /** + * + * *
    * Resources like Entry can have schemas associated with them. This scope
    * allows users to attach tags to an individual column based on that schema.
@@ -276,12 +314,15 @@ public java.lang.String getTemplateDisplayName() {
    * 
* * string column = 4; + * * @return Whether the column field is set. */ public boolean hasColumn() { return scopeCase_ == 4; } /** + * + * *
    * Resources like Entry can have schemas associated with them. This scope
    * allows users to attach tags to an individual column based on that schema.
@@ -293,6 +334,7 @@ public boolean hasColumn() {
    * 
* * string column = 4; + * * @return The column. */ public java.lang.String getColumn() { @@ -303,8 +345,7 @@ 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(); if (scopeCase_ == 4) { scope_ = s; @@ -313,6 +354,8 @@ public java.lang.String getColumn() { } } /** + * + * *
    * Resources like Entry can have schemas associated with them. This scope
    * allows users to attach tags to an individual column based on that schema.
@@ -324,18 +367,17 @@ public java.lang.String getColumn() {
    * 
* * string column = 4; + * * @return The bytes for column. */ - public com.google.protobuf.ByteString - getColumnBytes() { + public com.google.protobuf.ByteString getColumnBytes() { java.lang.Object ref = ""; if (scopeCase_ == 4) { ref = scope_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (scopeCase_ == 4) { scope_ = b; } @@ -346,100 +388,127 @@ public java.lang.String getColumn() { } public static final int FIELDS_FIELD_NUMBER = 3; + private static final class FieldsDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.datacatalog.v1beta1.TagField> defaultEntry = + java.lang.String, com.google.cloud.datacatalog.v1beta1.TagField> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_Tag_FieldsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.datacatalog.v1beta1.TagField.getDefaultInstance()); + . + newDefaultInstance( + com.google.cloud.datacatalog.v1beta1.Tags + .internal_static_google_cloud_datacatalog_v1beta1_Tag_FieldsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.datacatalog.v1beta1.TagField.getDefaultInstance()); } + @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1beta1.TagField> fields_; - private com.google.protobuf.MapField - internalGetFields() { + java.lang.String, com.google.cloud.datacatalog.v1beta1.TagField> + fields_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1beta1.TagField> + internalGetFields() { if (fields_ == null) { - return com.google.protobuf.MapField.emptyMapField( - FieldsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(FieldsDefaultEntryHolder.defaultEntry); } return fields_; } + public int getFieldsCount() { return internalGetFields().getMap().size(); } /** + * + * *
    * Required. This maps the ID of a tag field to the value of and additional
    * information about that field. Valid field IDs are defined by the tag's
    * template. A tag must have at least 1 field and at most 500 fields.
    * 
* - * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public boolean containsFields( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsFields(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetFields().getMap().containsKey(key); } - /** - * Use {@link #getFieldsMap()} instead. - */ + /** Use {@link #getFieldsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getFields() { + public java.util.Map + getFields() { return getFieldsMap(); } /** + * + * *
    * Required. This maps the ID of a tag field to the value of and additional
    * information about that field. Valid field IDs are defined by the tag's
    * template. A tag must have at least 1 field and at most 500 fields.
    * 
* - * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.Map getFieldsMap() { + public java.util.Map + getFieldsMap() { return internalGetFields().getMap(); } /** + * + * *
    * Required. This maps the ID of a tag field to the value of and additional
    * information about that field. Valid field IDs are defined by the tag's
    * template. A tag must have at least 1 field and at most 500 fields.
    * 
* - * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public /* nullable */ -com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrDefault( + public /* nullable */ com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.datacatalog.v1beta1.TagField defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + com.google.cloud.datacatalog.v1beta1.TagField defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetFields().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Required. This maps the ID of a tag field to the value of and additional
    * information about that field. Valid field IDs are defined by the tag's
    * template. A tag must have at least 1 field and at most 500 fields.
    * 
* - * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetFields().getMap(); if (!map.containsKey(key)) { @@ -449,6 +518,7 @@ public com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -460,20 +530,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(template_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, template_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetFields(), - FieldsDefaultEntryHolder.defaultEntry, - 3); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetFields(), FieldsDefaultEntryHolder.defaultEntry, 3); if (scopeCase_ == 4) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, scope_); } @@ -495,15 +560,16 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(template_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, template_); } - for (java.util.Map.Entry entry - : internalGetFields().getMap().entrySet()) { + for (java.util.Map.Entry + entry : internalGetFields().getMap().entrySet()) { com.google.protobuf.MapEntry - fields__ = FieldsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, fields__); + fields__ = + FieldsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, fields__); } if (scopeCase_ == 4) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, scope_); @@ -519,26 +585,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.datacatalog.v1beta1.Tag)) { return super.equals(obj); } com.google.cloud.datacatalog.v1beta1.Tag other = (com.google.cloud.datacatalog.v1beta1.Tag) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getTemplate() - .equals(other.getTemplate())) return false; - if (!getTemplateDisplayName() - .equals(other.getTemplateDisplayName())) return false; - if (!internalGetFields().equals( - other.internalGetFields())) return false; + if (!getName().equals(other.getName())) return false; + if (!getTemplate().equals(other.getTemplate())) return false; + if (!getTemplateDisplayName().equals(other.getTemplateDisplayName())) return false; + if (!internalGetFields().equals(other.internalGetFields())) return false; if (!getScopeCase().equals(other.getScopeCase())) return false; switch (scopeCase_) { case 4: - if (!getColumn() - .equals(other.getColumn())) return false; + if (!getColumn().equals(other.getColumn())) return false; break; case 0: default: @@ -577,99 +638,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1beta1.Tag parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1beta1.Tag parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.Tag parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.Tag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.Tag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.Tag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.Tag parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.Tag parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.Tag parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.Tag parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.Tag parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.Tag parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.Tag parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.Tag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.Tag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Tags are used to attach custom metadata to Data Catalog resources. Tags
    * conform to the specifications within their tag template.
@@ -681,55 +747,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.Tag}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.Tag)
       com.google.cloud.datacatalog.v1beta1.TagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_Tag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Tags
+          .internal_static_google_cloud_datacatalog_v1beta1_Tag_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 3:
           return internalGetFields();
         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 internalGetMutableFields();
         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.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_Tag_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Tags
+          .internal_static_google_cloud_datacatalog_v1beta1_Tag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.Tag.class, com.google.cloud.datacatalog.v1beta1.Tag.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.Tag.class,
+              com.google.cloud.datacatalog.v1beta1.Tag.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.Tag.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -744,9 +807,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_Tag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Tags
+          .internal_static_google_cloud_datacatalog_v1beta1_Tag_descriptor;
     }
 
     @java.lang.Override
@@ -765,8 +828,11 @@ public com.google.cloud.datacatalog.v1beta1.Tag build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.Tag buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.Tag result = new com.google.cloud.datacatalog.v1beta1.Tag(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.Tag result =
+          new com.google.cloud.datacatalog.v1beta1.Tag(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -798,38 +864,39 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1beta1.Tag result)
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.Tag) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.Tag)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.Tag) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -853,19 +920,20 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.Tag other) {
         bitField0_ |= 0x00000004;
         onChanged();
       }
-      internalGetMutableFields().mergeFrom(
-          other.internalGetFields());
+      internalGetMutableFields().mergeFrom(other.internalGetFields());
       bitField0_ |= 0x00000010;
       switch (other.getScopeCase()) {
-        case COLUMN: {
-          scopeCase_ = 4;
-          scope_ = other.scope_;
-          onChanged();
-          break;
-        }
-        case SCOPE_NOT_SET: {
-          break;
-        }
+        case COLUMN:
+          {
+            scopeCase_ = 4;
+            scope_ = other.scope_;
+            onChanged();
+            break;
+          }
+        case SCOPE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -893,42 +961,52 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              template_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              com.google.protobuf.MapEntry
-              fields__ = input.readMessage(
-                  FieldsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableFields().getMutableMap().put(
-                  fields__.getKey(), fields__.getValue());
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 26
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
-              scopeCase_ = 4;
-              scope_ = s;
-              break;
-            } // case 34
-            case 42: {
-              templateDisplayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                template_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                com.google.protobuf.MapEntry<
+                        java.lang.String, com.google.cloud.datacatalog.v1beta1.TagField>
+                    fields__ =
+                        input.readMessage(
+                            FieldsDefaultEntryHolder.defaultEntry.getParserForType(),
+                            extensionRegistry);
+                internalGetMutableFields()
+                    .getMutableMap()
+                    .put(fields__.getKey(), fields__.getValue());
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 26
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                scopeCase_ = 4;
+                scope_ = s;
+                break;
+              } // case 34
+            case 42:
+              {
+                templateDisplayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                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) {
@@ -938,12 +1016,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int scopeCase_ = 0;
     private java.lang.Object scope_;
-    public ScopeCase
-        getScopeCase() {
-      return ScopeCase.forNumber(
-          scopeCase_);
+
+    public ScopeCase getScopeCase() {
+      return ScopeCase.forNumber(scopeCase_);
     }
 
     public Builder clearScope() {
@@ -957,6 +1035,8 @@ public Builder clearScope() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The resource name of the tag in URL format. Example:
      *
@@ -967,13 +1047,13 @@ public Builder clearScope() {
      * 
* * 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; @@ -982,6 +1062,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the tag in URL format. Example:
      *
@@ -992,15 +1074,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 { @@ -1008,6 +1089,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the tag in URL format. Example:
      *
@@ -1018,18 +1101,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The resource name of the tag in URL format. Example:
      *
@@ -1040,6 +1127,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1049,6 +1137,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The resource name of the tag in URL format. Example:
      *
@@ -1059,12 +1149,14 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1074,6 +1166,8 @@ public Builder setNameBytes( private java.lang.Object template_ = ""; /** + * + * *
      * Required. The resource name of the tag template that this tag uses.
      * Example:
@@ -1084,13 +1178,13 @@ public Builder setNameBytes(
      * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The template. */ public java.lang.String getTemplate() { java.lang.Object ref = template_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); template_ = s; return s; @@ -1099,6 +1193,8 @@ public java.lang.String getTemplate() { } } /** + * + * *
      * Required. The resource name of the tag template that this tag uses.
      * Example:
@@ -1109,15 +1205,14 @@ public java.lang.String getTemplate() {
      * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for template. */ - public com.google.protobuf.ByteString - getTemplateBytes() { + public com.google.protobuf.ByteString getTemplateBytes() { java.lang.Object ref = template_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); template_ = b; return b; } else { @@ -1125,6 +1220,8 @@ public java.lang.String getTemplate() { } } /** + * + * *
      * Required. The resource name of the tag template that this tag uses.
      * Example:
@@ -1135,18 +1232,22 @@ public java.lang.String getTemplate() {
      * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The template to set. * @return This builder for chaining. */ - public Builder setTemplate( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTemplate(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } template_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tag template that this tag uses.
      * Example:
@@ -1157,6 +1258,7 @@ public Builder setTemplate(
      * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTemplate() { @@ -1166,6 +1268,8 @@ public Builder clearTemplate() { return this; } /** + * + * *
      * Required. The resource name of the tag template that this tag uses.
      * Example:
@@ -1176,12 +1280,14 @@ public Builder clearTemplate() {
      * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for template to set. * @return This builder for chaining. */ - public Builder setTemplateBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTemplateBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); template_ = value; bitField0_ |= 0x00000002; @@ -1191,18 +1297,20 @@ public Builder setTemplateBytes( private java.lang.Object templateDisplayName_ = ""; /** + * + * *
      * Output only. The display name of the tag template.
      * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The templateDisplayName. */ public java.lang.String getTemplateDisplayName() { java.lang.Object ref = templateDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); templateDisplayName_ = s; return s; @@ -1211,20 +1319,21 @@ public java.lang.String getTemplateDisplayName() { } } /** + * + * *
      * Output only. The display name of the tag template.
      * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for templateDisplayName. */ - public com.google.protobuf.ByteString - getTemplateDisplayNameBytes() { + public com.google.protobuf.ByteString getTemplateDisplayNameBytes() { java.lang.Object ref = templateDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); templateDisplayName_ = b; return b; } else { @@ -1232,28 +1341,35 @@ public java.lang.String getTemplateDisplayName() { } } /** + * + * *
      * Output only. The display name of the tag template.
      * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The templateDisplayName to set. * @return This builder for chaining. */ - public Builder setTemplateDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTemplateDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } templateDisplayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. The display name of the tag template.
      * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTemplateDisplayName() { @@ -1263,17 +1379,21 @@ public Builder clearTemplateDisplayName() { return this; } /** + * + * *
      * Output only. The display name of the tag template.
      * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for templateDisplayName to set. * @return This builder for chaining. */ - public Builder setTemplateDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTemplateDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); templateDisplayName_ = value; bitField0_ |= 0x00000004; @@ -1282,6 +1402,8 @@ public Builder setTemplateDisplayNameBytes( } /** + * + * *
      * Resources like Entry can have schemas associated with them. This scope
      * allows users to attach tags to an individual column based on that schema.
@@ -1293,6 +1415,7 @@ public Builder setTemplateDisplayNameBytes(
      * 
* * string column = 4; + * * @return Whether the column field is set. */ @java.lang.Override @@ -1300,6 +1423,8 @@ public boolean hasColumn() { return scopeCase_ == 4; } /** + * + * *
      * Resources like Entry can have schemas associated with them. This scope
      * allows users to attach tags to an individual column based on that schema.
@@ -1311,6 +1436,7 @@ public boolean hasColumn() {
      * 
* * string column = 4; + * * @return The column. */ @java.lang.Override @@ -1320,8 +1446,7 @@ public java.lang.String getColumn() { ref = scope_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (scopeCase_ == 4) { scope_ = s; @@ -1332,6 +1457,8 @@ public java.lang.String getColumn() { } } /** + * + * *
      * Resources like Entry can have schemas associated with them. This scope
      * allows users to attach tags to an individual column based on that schema.
@@ -1343,19 +1470,18 @@ public java.lang.String getColumn() {
      * 
* * string column = 4; + * * @return The bytes for column. */ @java.lang.Override - public com.google.protobuf.ByteString - getColumnBytes() { + public com.google.protobuf.ByteString getColumnBytes() { java.lang.Object ref = ""; if (scopeCase_ == 4) { ref = scope_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (scopeCase_ == 4) { scope_ = b; } @@ -1365,6 +1491,8 @@ public java.lang.String getColumn() { } } /** + * + * *
      * Resources like Entry can have schemas associated with them. This scope
      * allows users to attach tags to an individual column based on that schema.
@@ -1376,18 +1504,22 @@ public java.lang.String getColumn() {
      * 
* * string column = 4; + * * @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(); + } scopeCase_ = 4; scope_ = value; onChanged(); return this; } /** + * + * *
      * Resources like Entry can have schemas associated with them. This scope
      * allows users to attach tags to an individual column based on that schema.
@@ -1399,6 +1531,7 @@ public Builder setColumn(
      * 
* * string column = 4; + * * @return This builder for chaining. */ public Builder clearColumn() { @@ -1410,6 +1543,8 @@ public Builder clearColumn() { return this; } /** + * + * *
      * Resources like Entry can have schemas associated with them. This scope
      * allows users to attach tags to an individual column based on that schema.
@@ -1421,12 +1556,14 @@ public Builder clearColumn() {
      * 
* * string column = 4; + * * @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); scopeCase_ = 4; scope_ = value; @@ -1435,20 +1572,23 @@ public Builder setColumnBytes( } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1beta1.TagField> fields_; - private com.google.protobuf.MapField + java.lang.String, com.google.cloud.datacatalog.v1beta1.TagField> + fields_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1beta1.TagField> internalGetFields() { if (fields_ == null) { - return com.google.protobuf.MapField.emptyMapField( - FieldsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(FieldsDefaultEntryHolder.defaultEntry); } return fields_; } - private com.google.protobuf.MapField + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1beta1.TagField> internalGetMutableFields() { if (fields_ == null) { - fields_ = com.google.protobuf.MapField.newMapField( - FieldsDefaultEntryHolder.defaultEntry); + fields_ = com.google.protobuf.MapField.newMapField(FieldsDefaultEntryHolder.defaultEntry); } if (!fields_.isMutable()) { fields_ = fields_.copy(); @@ -1457,78 +1597,98 @@ public Builder setColumnBytes( onChanged(); return fields_; } + public int getFieldsCount() { return internalGetFields().getMap().size(); } /** + * + * *
      * Required. This maps the ID of a tag field to the value of and additional
      * information about that field. Valid field IDs are defined by the tag's
      * template. A tag must have at least 1 field and at most 500 fields.
      * 
* - * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public boolean containsFields( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsFields(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetFields().getMap().containsKey(key); } - /** - * Use {@link #getFieldsMap()} instead. - */ + /** Use {@link #getFieldsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getFields() { + public java.util.Map + getFields() { return getFieldsMap(); } /** + * + * *
      * Required. This maps the ID of a tag field to the value of and additional
      * information about that field. Valid field IDs are defined by the tag's
      * template. A tag must have at least 1 field and at most 500 fields.
      * 
* - * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.Map getFieldsMap() { + public java.util.Map + getFieldsMap() { return internalGetFields().getMap(); } /** + * + * *
      * Required. This maps the ID of a tag field to the value of and additional
      * information about that field. Valid field IDs are defined by the tag's
      * template. A tag must have at least 1 field and at most 500 fields.
      * 
* - * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public /* nullable */ -com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrDefault( + public /* nullable */ com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.datacatalog.v1beta1.TagField defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + com.google.cloud.datacatalog.v1beta1.TagField defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetFields().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Required. This maps the ID of a tag field to the value of and additional
      * information about that field. Valid field IDs are defined by the tag's
      * template. A tag must have at least 1 field and at most 500 fields.
      * 
* - * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetFields().getMap(); if (!map.containsKey(key)) { @@ -1536,31 +1696,33 @@ public com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrThrow( } return map.get(key); } + public Builder clearFields() { bitField0_ = (bitField0_ & ~0x00000010); - internalGetMutableFields().getMutableMap() - .clear(); + internalGetMutableFields().getMutableMap().clear(); return this; } /** + * + * *
      * Required. This maps the ID of a tag field to the value of and additional
      * information about that field. Valid field IDs are defined by the tag's
      * template. A tag must have at least 1 field and at most 500 fields.
      * 
* - * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder removeFields( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableFields().getMutableMap() - .remove(key); + public Builder removeFields(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableFields().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableFields() { @@ -1568,43 +1730,52 @@ public Builder removeFields( return internalGetMutableFields().getMutableMap(); } /** + * + * *
      * Required. This maps the ID of a tag field to the value of and additional
      * information about that field. Valid field IDs are defined by the tag's
      * template. A tag must have at least 1 field and at most 500 fields.
      * 
* - * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder putFields( - java.lang.String key, - com.google.cloud.datacatalog.v1beta1.TagField value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableFields().getMutableMap() - .put(key, value); + java.lang.String key, com.google.cloud.datacatalog.v1beta1.TagField value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableFields().getMutableMap().put(key, value); bitField0_ |= 0x00000010; return this; } /** + * + * *
      * Required. This maps the ID of a tag field to the value of and additional
      * information about that field. Valid field IDs are defined by the tag's
      * template. A tag must have at least 1 field and at most 500 fields.
      * 
* - * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder putAllFields( java.util.Map values) { - internalGetMutableFields().getMutableMap() - .putAll(values); + internalGetMutableFields().getMutableMap().putAll(values); bitField0_ |= 0x00000010; return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1614,12 +1785,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.Tag) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.Tag) private static final com.google.cloud.datacatalog.v1beta1.Tag DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.Tag(); } @@ -1628,27 +1799,27 @@ public static com.google.cloud.datacatalog.v1beta1.Tag getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Tag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Tag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1663,6 +1834,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.Tag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagField.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagField.java similarity index 72% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagField.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagField.java index c6fc0320ad5b..790376de4480 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagField.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagField.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/datacatalog/v1beta1/tags.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Contains the value and supporting information for a field within
  * a [Tag][google.cloud.datacatalog.v1beta1.Tag].
@@ -11,112 +28,128 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.TagField}
  */
-public final class TagField extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TagField extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.TagField)
     TagFieldOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TagField.newBuilder() to construct.
   private TagField(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TagField() {
     displayName_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TagField();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagField_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Tags
+        .internal_static_google_cloud_datacatalog_v1beta1_TagField_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagField_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Tags
+        .internal_static_google_cloud_datacatalog_v1beta1_TagField_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.TagField.class, com.google.cloud.datacatalog.v1beta1.TagField.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.TagField.class,
+            com.google.cloud.datacatalog.v1beta1.TagField.Builder.class);
   }
 
-  public interface EnumValueOrBuilder extends
+  public interface EnumValueOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.TagField.EnumValue)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The display name of the enum value.
      * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
      * The display name of the enum value.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); } /** + * + * *
    * Holds an enum value.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.TagField.EnumValue} */ - public static final class EnumValue extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class EnumValue extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.TagField.EnumValue) EnumValueOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use EnumValue.newBuilder() to construct. private EnumValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private EnumValue() { displayName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new EnumValue(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Tags + .internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.Tags + .internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.class, com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.Builder.class); + com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.class, + com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
      * The display name of the enum value.
      * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -125,29 +158,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
      * The display name of the enum value.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -156,6 +189,7 @@ public java.lang.String getDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,8 +201,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -192,15 +225,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1beta1.TagField.EnumValue)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.TagField.EnumValue other = (com.google.cloud.datacatalog.v1beta1.TagField.EnumValue) obj; + com.google.cloud.datacatalog.v1beta1.TagField.EnumValue other = + (com.google.cloud.datacatalog.v1beta1.TagField.EnumValue) obj; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -220,89 +253,94 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.TagField.EnumValue parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.TagField.EnumValue parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.TagField.EnumValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.TagField.EnumValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.TagField.EnumValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.TagField.EnumValue parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.TagField.EnumValue parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.TagField.EnumValue parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.TagField.EnumValue parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.TagField.EnumValue parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.TagField.EnumValue parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.TagField.EnumValue parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.TagField.EnumValue parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.TagField.EnumValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.TagField.EnumValue prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.TagField.EnumValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -312,39 +350,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Holds an enum value.
      * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.TagField.EnumValue} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.TagField.EnumValue) com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Tags + .internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.Tags + .internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.class, com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.Builder.class); + com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.class, + com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.Builder.class); } // Construct using com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -354,9 +394,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.Tags + .internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_descriptor; } @java.lang.Override @@ -375,8 +415,11 @@ public com.google.cloud.datacatalog.v1beta1.TagField.EnumValue build() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TagField.EnumValue buildPartial() { - com.google.cloud.datacatalog.v1beta1.TagField.EnumValue result = new com.google.cloud.datacatalog.v1beta1.TagField.EnumValue(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1beta1.TagField.EnumValue result = + new com.google.cloud.datacatalog.v1beta1.TagField.EnumValue(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -392,38 +435,41 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.TagField.EnumVal public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1beta1.TagField.EnumValue) { - return mergeFrom((com.google.cloud.datacatalog.v1beta1.TagField.EnumValue)other); + return mergeFrom((com.google.cloud.datacatalog.v1beta1.TagField.EnumValue) other); } else { super.mergeFrom(other); return this; @@ -431,7 +477,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.TagField.EnumValue other) { - if (other == com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.getDefaultInstance()) return this; + if (other == com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.getDefaultInstance()) + return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -463,17 +510,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -483,22 +532,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object displayName_ = ""; /** + * + * *
        * The display name of the enum value.
        * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -507,20 +559,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * The display name of the enum value.
        * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -528,28 +581,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * The display name of the enum value.
        * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The display name of the enum value.
        * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -559,23 +619,28 @@ public Builder clearDisplayName() { return this; } /** + * + * *
        * The display name of the enum value.
        * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -588,12 +653,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.TagField.EnumValue) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.TagField.EnumValue) private static final com.google.cloud.datacatalog.v1beta1.TagField.EnumValue DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.TagField.EnumValue(); } @@ -602,27 +667,28 @@ public static com.google.cloud.datacatalog.v1beta1.TagField.EnumValue getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EnumValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EnumValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,14 +703,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.TagField.EnumValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int kindCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object kind_; + public enum KindCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DOUBLE_VALUE(2), STRING_VALUE(3), @@ -653,6 +721,7 @@ public enum KindCase ENUM_VALUE(6), KIND_NOT_SET(0); private final int value; + private KindCase(int value) { this.value = value; } @@ -668,35 +737,45 @@ public static KindCase valueOf(int value) { public static KindCase forNumber(int value) { switch (value) { - case 2: return DOUBLE_VALUE; - case 3: return STRING_VALUE; - case 4: return BOOL_VALUE; - case 5: return TIMESTAMP_VALUE; - case 6: return ENUM_VALUE; - case 0: return KIND_NOT_SET; - default: return null; + case 2: + return DOUBLE_VALUE; + case 3: + return STRING_VALUE; + case 4: + return BOOL_VALUE; + case 5: + return TIMESTAMP_VALUE; + case 6: + return ENUM_VALUE; + case 0: + return KIND_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public KindCase - getKindCase() { - return KindCase.forNumber( - kindCase_); + public KindCase getKindCase() { + return KindCase.forNumber(kindCase_); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Output only. The display name of this field.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The displayName. */ @java.lang.Override @@ -705,29 +784,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; } } /** + * + * *
    * Output only. The display name of this field.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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 { @@ -737,11 +816,14 @@ public java.lang.String getDisplayName() { public static final int DOUBLE_VALUE_FIELD_NUMBER = 2; /** + * + * *
    * Holds the value for a tag field with double type.
    * 
* * double double_value = 2; + * * @return Whether the doubleValue field is set. */ @java.lang.Override @@ -749,11 +831,14 @@ public boolean hasDoubleValue() { return kindCase_ == 2; } /** + * + * *
    * Holds the value for a tag field with double type.
    * 
* * double double_value = 2; + * * @return The doubleValue. */ @java.lang.Override @@ -766,22 +851,28 @@ public double getDoubleValue() { public static final int STRING_VALUE_FIELD_NUMBER = 3; /** + * + * *
    * Holds the value for a tag field with string type.
    * 
* * string string_value = 3; + * * @return Whether the stringValue field is set. */ public boolean hasStringValue() { return kindCase_ == 3; } /** + * + * *
    * Holds the value for a tag field with string type.
    * 
* * string string_value = 3; + * * @return The stringValue. */ public java.lang.String getStringValue() { @@ -792,8 +883,7 @@ public java.lang.String getStringValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (kindCase_ == 3) { kind_ = s; @@ -802,23 +892,24 @@ public java.lang.String getStringValue() { } } /** + * + * *
    * Holds the value for a tag field with string type.
    * 
* * string string_value = 3; + * * @return The bytes for stringValue. */ - public com.google.protobuf.ByteString - getStringValueBytes() { + public com.google.protobuf.ByteString getStringValueBytes() { java.lang.Object ref = ""; if (kindCase_ == 3) { ref = kind_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (kindCase_ == 3) { kind_ = b; } @@ -830,11 +921,14 @@ public java.lang.String getStringValue() { public static final int BOOL_VALUE_FIELD_NUMBER = 4; /** + * + * *
    * Holds the value for a tag field with boolean type.
    * 
* * bool bool_value = 4; + * * @return Whether the boolValue field is set. */ @java.lang.Override @@ -842,11 +936,14 @@ public boolean hasBoolValue() { return kindCase_ == 4; } /** + * + * *
    * Holds the value for a tag field with boolean type.
    * 
* * bool bool_value = 4; + * * @return The boolValue. */ @java.lang.Override @@ -859,11 +956,14 @@ public boolean getBoolValue() { public static final int TIMESTAMP_VALUE_FIELD_NUMBER = 5; /** + * + * *
    * Holds the value for a tag field with timestamp type.
    * 
* * .google.protobuf.Timestamp timestamp_value = 5; + * * @return Whether the timestampValue field is set. */ @java.lang.Override @@ -871,21 +971,26 @@ public boolean hasTimestampValue() { return kindCase_ == 5; } /** + * + * *
    * Holds the value for a tag field with timestamp type.
    * 
* * .google.protobuf.Timestamp timestamp_value = 5; + * * @return The timestampValue. */ @java.lang.Override public com.google.protobuf.Timestamp getTimestampValue() { if (kindCase_ == 5) { - return (com.google.protobuf.Timestamp) kind_; + return (com.google.protobuf.Timestamp) kind_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** + * + * *
    * Holds the value for a tag field with timestamp type.
    * 
@@ -895,19 +1000,22 @@ public com.google.protobuf.Timestamp getTimestampValue() { @java.lang.Override public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { if (kindCase_ == 5) { - return (com.google.protobuf.Timestamp) kind_; + return (com.google.protobuf.Timestamp) kind_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } public static final int ENUM_VALUE_FIELD_NUMBER = 6; /** + * + * *
    * Holds the value for a tag field with enum type. This value must be
    * one of the allowed values in the definition of this enum.
    * 
* * .google.cloud.datacatalog.v1beta1.TagField.EnumValue enum_value = 6; + * * @return Whether the enumValue field is set. */ @java.lang.Override @@ -915,22 +1023,27 @@ public boolean hasEnumValue() { return kindCase_ == 6; } /** + * + * *
    * Holds the value for a tag field with enum type. This value must be
    * one of the allowed values in the definition of this enum.
    * 
* * .google.cloud.datacatalog.v1beta1.TagField.EnumValue enum_value = 6; + * * @return The enumValue. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TagField.EnumValue getEnumValue() { if (kindCase_ == 6) { - return (com.google.cloud.datacatalog.v1beta1.TagField.EnumValue) kind_; + return (com.google.cloud.datacatalog.v1beta1.TagField.EnumValue) kind_; } return com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.getDefaultInstance(); } /** + * + * *
    * Holds the value for a tag field with enum type. This value must be
    * one of the allowed values in the definition of this enum.
@@ -941,7 +1054,7 @@ public com.google.cloud.datacatalog.v1beta1.TagField.EnumValue getEnumValue() {
   @java.lang.Override
   public com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder getEnumValueOrBuilder() {
     if (kindCase_ == 6) {
-       return (com.google.cloud.datacatalog.v1beta1.TagField.EnumValue) kind_;
+      return (com.google.cloud.datacatalog.v1beta1.TagField.EnumValue) kind_;
     }
     return com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.getDefaultInstance();
   }
@@ -949,6 +1062,8 @@ public com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder getEnumV
   public static final int ORDER_FIELD_NUMBER = 7;
   private int order_ = 0;
   /**
+   *
+   *
    * 
    * Output only. The order of this field with respect to other fields in this
    * tag. It can be set in
@@ -959,6 +1074,7 @@ public com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder getEnumV
    * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The order. */ @java.lang.Override @@ -967,6 +1083,7 @@ public int getOrder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -978,21 +1095,18 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } if (kindCase_ == 2) { - output.writeDouble( - 2, (double)((java.lang.Double) kind_)); + output.writeDouble(2, (double) ((java.lang.Double) kind_)); } if (kindCase_ == 3) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, kind_); } if (kindCase_ == 4) { - output.writeBool( - 4, (boolean)((java.lang.Boolean) kind_)); + output.writeBool(4, (boolean) ((java.lang.Boolean) kind_)); } if (kindCase_ == 5) { output.writeMessage(5, (com.google.protobuf.Timestamp) kind_); @@ -1016,29 +1130,30 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, displayName_); } if (kindCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize( - 2, (double)((java.lang.Double) kind_)); + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize( + 2, (double) ((java.lang.Double) kind_)); } if (kindCase_ == 3) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, kind_); } if (kindCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize( - 4, (boolean)((java.lang.Boolean) kind_)); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 4, (boolean) ((java.lang.Boolean) kind_)); } if (kindCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.protobuf.Timestamp) kind_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.protobuf.Timestamp) kind_); } if (kindCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.cloud.datacatalog.v1beta1.TagField.EnumValue) kind_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.cloud.datacatalog.v1beta1.TagField.EnumValue) kind_); } if (order_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(7, order_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, order_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1048,39 +1163,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.datacatalog.v1beta1.TagField)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.TagField other = (com.google.cloud.datacatalog.v1beta1.TagField) obj; + com.google.cloud.datacatalog.v1beta1.TagField other = + (com.google.cloud.datacatalog.v1beta1.TagField) obj; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (getOrder() - != other.getOrder()) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (getOrder() != other.getOrder()) return false; if (!getKindCase().equals(other.getKindCase())) return false; switch (kindCase_) { case 2: if (java.lang.Double.doubleToLongBits(getDoubleValue()) - != java.lang.Double.doubleToLongBits( - other.getDoubleValue())) return false; + != java.lang.Double.doubleToLongBits(other.getDoubleValue())) return false; break; case 3: - if (!getStringValue() - .equals(other.getStringValue())) return false; + if (!getStringValue().equals(other.getStringValue())) return false; break; case 4: - if (getBoolValue() - != other.getBoolValue()) return false; + if (getBoolValue() != other.getBoolValue()) return false; break; case 5: - if (!getTimestampValue() - .equals(other.getTimestampValue())) return false; + if (!getTimestampValue().equals(other.getTimestampValue())) return false; break; case 6: - if (!getEnumValue() - .equals(other.getEnumValue())) return false; + if (!getEnumValue().equals(other.getEnumValue())) return false; break; case 0: default: @@ -1103,8 +1212,10 @@ public int hashCode() { switch (kindCase_) { case 2: hash = (37 * hash) + DOUBLE_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDoubleValue())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDoubleValue())); break; case 3: hash = (37 * hash) + STRING_VALUE_FIELD_NUMBER; @@ -1112,8 +1223,7 @@ public int hashCode() { break; case 4: hash = (37 * hash) + BOOL_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getBoolValue()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBoolValue()); break; case 5: hash = (37 * hash) + TIMESTAMP_VALUE_FIELD_NUMBER; @@ -1131,99 +1241,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1beta1.TagField parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1beta1.TagField parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.TagField parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.TagField parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.TagField parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.TagField parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.TagField parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.TagField parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.TagField parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.TagField parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.TagField parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.TagField parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.TagField parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.TagField parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.TagField prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Contains the value and supporting information for a field within
    * a [Tag][google.cloud.datacatalog.v1beta1.Tag].
@@ -1231,33 +1346,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.TagField}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.TagField)
       com.google.cloud.datacatalog.v1beta1.TagFieldOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagField_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Tags
+          .internal_static_google_cloud_datacatalog_v1beta1_TagField_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagField_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Tags
+          .internal_static_google_cloud_datacatalog_v1beta1_TagField_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.TagField.class, com.google.cloud.datacatalog.v1beta1.TagField.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.TagField.class,
+              com.google.cloud.datacatalog.v1beta1.TagField.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.TagField.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1276,9 +1390,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagField_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Tags
+          .internal_static_google_cloud_datacatalog_v1beta1_TagField_descriptor;
     }
 
     @java.lang.Override
@@ -1297,8 +1411,11 @@ public com.google.cloud.datacatalog.v1beta1.TagField build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.TagField buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.TagField result = new com.google.cloud.datacatalog.v1beta1.TagField(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.TagField result =
+          new com.google.cloud.datacatalog.v1beta1.TagField(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1317,12 +1434,10 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.TagField result)
     private void buildPartialOneofs(com.google.cloud.datacatalog.v1beta1.TagField result) {
       result.kindCase_ = kindCase_;
       result.kind_ = this.kind_;
-      if (kindCase_ == 5 &&
-          timestampValueBuilder_ != null) {
+      if (kindCase_ == 5 && timestampValueBuilder_ != null) {
         result.kind_ = timestampValueBuilder_.build();
       }
-      if (kindCase_ == 6 &&
-          enumValueBuilder_ != null) {
+      if (kindCase_ == 6 && enumValueBuilder_ != null) {
         result.kind_ = enumValueBuilder_.build();
       }
     }
@@ -1331,38 +1446,39 @@ private void buildPartialOneofs(com.google.cloud.datacatalog.v1beta1.TagField 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.datacatalog.v1beta1.TagField) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.TagField)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.TagField) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1380,31 +1496,37 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.TagField other) {
         setOrder(other.getOrder());
       }
       switch (other.getKindCase()) {
-        case DOUBLE_VALUE: {
-          setDoubleValue(other.getDoubleValue());
-          break;
-        }
-        case STRING_VALUE: {
-          kindCase_ = 3;
-          kind_ = other.kind_;
-          onChanged();
-          break;
-        }
-        case BOOL_VALUE: {
-          setBoolValue(other.getBoolValue());
-          break;
-        }
-        case TIMESTAMP_VALUE: {
-          mergeTimestampValue(other.getTimestampValue());
-          break;
-        }
-        case ENUM_VALUE: {
-          mergeEnumValue(other.getEnumValue());
-          break;
-        }
-        case KIND_NOT_SET: {
-          break;
-        }
+        case DOUBLE_VALUE:
+          {
+            setDoubleValue(other.getDoubleValue());
+            break;
+          }
+        case STRING_VALUE:
+          {
+            kindCase_ = 3;
+            kind_ = other.kind_;
+            onChanged();
+            break;
+          }
+        case BOOL_VALUE:
+          {
+            setBoolValue(other.getBoolValue());
+            break;
+          }
+        case TIMESTAMP_VALUE:
+          {
+            mergeTimestampValue(other.getTimestampValue());
+            break;
+          }
+        case ENUM_VALUE:
+          {
+            mergeEnumValue(other.getEnumValue());
+            break;
+          }
+        case KIND_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1432,52 +1554,56 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 17: {
-              kind_ = input.readDouble();
-              kindCase_ = 2;
-              break;
-            } // case 17
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              kindCase_ = 3;
-              kind_ = s;
-              break;
-            } // case 26
-            case 32: {
-              kind_ = input.readBool();
-              kindCase_ = 4;
-              break;
-            } // case 32
-            case 42: {
-              input.readMessage(
-                  getTimestampValueFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              kindCase_ = 5;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getEnumValueFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              kindCase_ = 6;
-              break;
-            } // case 50
-            case 56: {
-              order_ = input.readInt32();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 56
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 17:
+              {
+                kind_ = input.readDouble();
+                kindCase_ = 2;
+                break;
+              } // case 17
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                kindCase_ = 3;
+                kind_ = s;
+                break;
+              } // case 26
+            case 32:
+              {
+                kind_ = input.readBool();
+                kindCase_ = 4;
+                break;
+              } // case 32
+            case 42:
+              {
+                input.readMessage(getTimestampValueFieldBuilder().getBuilder(), extensionRegistry);
+                kindCase_ = 5;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getEnumValueFieldBuilder().getBuilder(), extensionRegistry);
+                kindCase_ = 6;
+                break;
+              } // case 50
+            case 56:
+              {
+                order_ = input.readInt32();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 56
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1487,12 +1613,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int kindCase_ = 0;
     private java.lang.Object kind_;
-    public KindCase
-        getKindCase() {
-      return KindCase.forNumber(
-          kindCase_);
+
+    public KindCase getKindCase() {
+      return KindCase.forNumber(kindCase_);
     }
 
     public Builder clearKind() {
@@ -1506,18 +1632,20 @@ public Builder clearKind() {
 
     private java.lang.Object displayName_ = "";
     /**
+     *
+     *
      * 
      * Output only. The display name of this field.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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; @@ -1526,20 +1654,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Output only. The display name of this field.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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 { @@ -1547,28 +1676,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Output only. The display name of this field.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The display name of this field.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1578,17 +1714,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Output only. The display name of this field.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -1597,22 +1737,28 @@ public Builder setDisplayNameBytes( } /** + * + * *
      * Holds the value for a tag field with double type.
      * 
* * double double_value = 2; + * * @return Whether the doubleValue field is set. */ public boolean hasDoubleValue() { return kindCase_ == 2; } /** + * + * *
      * Holds the value for a tag field with double type.
      * 
* * double double_value = 2; + * * @return The doubleValue. */ public double getDoubleValue() { @@ -1622,11 +1768,14 @@ public double getDoubleValue() { return 0D; } /** + * + * *
      * Holds the value for a tag field with double type.
      * 
* * double double_value = 2; + * * @param value The doubleValue to set. * @return This builder for chaining. */ @@ -1638,11 +1787,14 @@ public Builder setDoubleValue(double value) { return this; } /** + * + * *
      * Holds the value for a tag field with double type.
      * 
* * double double_value = 2; + * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -1655,11 +1807,14 @@ public Builder clearDoubleValue() { } /** + * + * *
      * Holds the value for a tag field with string type.
      * 
* * string string_value = 3; + * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -1667,11 +1822,14 @@ public boolean hasStringValue() { return kindCase_ == 3; } /** + * + * *
      * Holds the value for a tag field with string type.
      * 
* * string string_value = 3; + * * @return The stringValue. */ @java.lang.Override @@ -1681,8 +1839,7 @@ public java.lang.String getStringValue() { ref = kind_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (kindCase_ == 3) { kind_ = s; @@ -1693,24 +1850,25 @@ public java.lang.String getStringValue() { } } /** + * + * *
      * Holds the value for a tag field with string type.
      * 
* * string string_value = 3; + * * @return The bytes for stringValue. */ @java.lang.Override - public com.google.protobuf.ByteString - getStringValueBytes() { + public com.google.protobuf.ByteString getStringValueBytes() { java.lang.Object ref = ""; if (kindCase_ == 3) { ref = kind_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (kindCase_ == 3) { kind_ = b; } @@ -1720,28 +1878,35 @@ public java.lang.String getStringValue() { } } /** + * + * *
      * Holds the value for a tag field with string type.
      * 
* * string string_value = 3; + * * @param value The stringValue to set. * @return This builder for chaining. */ - public Builder setStringValue( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStringValue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } kindCase_ = 3; kind_ = value; onChanged(); return this; } /** + * + * *
      * Holds the value for a tag field with string type.
      * 
* * string string_value = 3; + * * @return This builder for chaining. */ public Builder clearStringValue() { @@ -1753,17 +1918,21 @@ public Builder clearStringValue() { return this; } /** + * + * *
      * Holds the value for a tag field with string type.
      * 
* * string string_value = 3; + * * @param value The bytes for stringValue to set. * @return This builder for chaining. */ - public Builder setStringValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStringValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); kindCase_ = 3; kind_ = value; @@ -1772,22 +1941,28 @@ public Builder setStringValueBytes( } /** + * + * *
      * Holds the value for a tag field with boolean type.
      * 
* * bool bool_value = 4; + * * @return Whether the boolValue field is set. */ public boolean hasBoolValue() { return kindCase_ == 4; } /** + * + * *
      * Holds the value for a tag field with boolean type.
      * 
* * bool bool_value = 4; + * * @return The boolValue. */ public boolean getBoolValue() { @@ -1797,11 +1972,14 @@ public boolean getBoolValue() { return false; } /** + * + * *
      * Holds the value for a tag field with boolean type.
      * 
* * bool bool_value = 4; + * * @param value The boolValue to set. * @return This builder for chaining. */ @@ -1813,11 +1991,14 @@ public Builder setBoolValue(boolean value) { return this; } /** + * + * *
      * Holds the value for a tag field with boolean type.
      * 
* * bool bool_value = 4; + * * @return This builder for chaining. */ public Builder clearBoolValue() { @@ -1830,13 +2011,19 @@ public Builder clearBoolValue() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> timestampValueBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + timestampValueBuilder_; /** + * + * *
      * Holds the value for a tag field with timestamp type.
      * 
* * .google.protobuf.Timestamp timestamp_value = 5; + * * @return Whether the timestampValue field is set. */ @java.lang.Override @@ -1844,11 +2031,14 @@ public boolean hasTimestampValue() { return kindCase_ == 5; } /** + * + * *
      * Holds the value for a tag field with timestamp type.
      * 
* * .google.protobuf.Timestamp timestamp_value = 5; + * * @return The timestampValue. */ @java.lang.Override @@ -1866,6 +2056,8 @@ public com.google.protobuf.Timestamp getTimestampValue() { } } /** + * + * *
      * Holds the value for a tag field with timestamp type.
      * 
@@ -1886,14 +2078,15 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Holds the value for a tag field with timestamp type.
      * 
* * .google.protobuf.Timestamp timestamp_value = 5; */ - public Builder setTimestampValue( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderForValue) { if (timestampValueBuilder_ == null) { kind_ = builderForValue.build(); onChanged(); @@ -1904,6 +2097,8 @@ public Builder setTimestampValue( return this; } /** + * + * *
      * Holds the value for a tag field with timestamp type.
      * 
@@ -1912,10 +2107,11 @@ public Builder setTimestampValue( */ public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) { if (timestampValueBuilder_ == null) { - if (kindCase_ == 5 && - kind_ != com.google.protobuf.Timestamp.getDefaultInstance()) { - kind_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) kind_) - .mergeFrom(value).buildPartial(); + if (kindCase_ == 5 && kind_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + kind_ = + com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) kind_) + .mergeFrom(value) + .buildPartial(); } else { kind_ = value; } @@ -1931,6 +2127,8 @@ public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Holds the value for a tag field with timestamp type.
      * 
@@ -1954,6 +2152,8 @@ public Builder clearTimestampValue() { return this; } /** + * + * *
      * Holds the value for a tag field with timestamp type.
      * 
@@ -1964,6 +2164,8 @@ public com.google.protobuf.Timestamp.Builder getTimestampValueBuilder() { return getTimestampValueFieldBuilder().getBuilder(); } /** + * + * *
      * Holds the value for a tag field with timestamp type.
      * 
@@ -1982,6 +2184,8 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { } } /** + * + * *
      * Holds the value for a tag field with timestamp type.
      * 
@@ -1989,17 +2193,20 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { * .google.protobuf.Timestamp timestamp_value = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getTimestampValueFieldBuilder() { if (timestampValueBuilder_ == null) { if (!(kindCase_ == 5)) { kind_ = com.google.protobuf.Timestamp.getDefaultInstance(); } - timestampValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - (com.google.protobuf.Timestamp) kind_, - getParentForChildren(), - isClean()); + timestampValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + (com.google.protobuf.Timestamp) kind_, getParentForChildren(), isClean()); kind_ = null; } kindCase_ = 5; @@ -2008,14 +2215,20 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.TagField.EnumValue, com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.Builder, com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder> enumValueBuilder_; + com.google.cloud.datacatalog.v1beta1.TagField.EnumValue, + com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.Builder, + com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder> + enumValueBuilder_; /** + * + * *
      * Holds the value for a tag field with enum type. This value must be
      * one of the allowed values in the definition of this enum.
      * 
* * .google.cloud.datacatalog.v1beta1.TagField.EnumValue enum_value = 6; + * * @return Whether the enumValue field is set. */ @java.lang.Override @@ -2023,12 +2236,15 @@ public boolean hasEnumValue() { return kindCase_ == 6; } /** + * + * *
      * Holds the value for a tag field with enum type. This value must be
      * one of the allowed values in the definition of this enum.
      * 
* * .google.cloud.datacatalog.v1beta1.TagField.EnumValue enum_value = 6; + * * @return The enumValue. */ @java.lang.Override @@ -2046,6 +2262,8 @@ public com.google.cloud.datacatalog.v1beta1.TagField.EnumValue getEnumValue() { } } /** + * + * *
      * Holds the value for a tag field with enum type. This value must be
      * one of the allowed values in the definition of this enum.
@@ -2067,6 +2285,8 @@ public Builder setEnumValue(com.google.cloud.datacatalog.v1beta1.TagField.EnumVa
       return this;
     }
     /**
+     *
+     *
      * 
      * Holds the value for a tag field with enum type. This value must be
      * one of the allowed values in the definition of this enum.
@@ -2086,6 +2306,8 @@ public Builder setEnumValue(
       return this;
     }
     /**
+     *
+     *
      * 
      * Holds the value for a tag field with enum type. This value must be
      * one of the allowed values in the definition of this enum.
@@ -2095,10 +2317,14 @@ public Builder setEnumValue(
      */
     public Builder mergeEnumValue(com.google.cloud.datacatalog.v1beta1.TagField.EnumValue value) {
       if (enumValueBuilder_ == null) {
-        if (kindCase_ == 6 &&
-            kind_ != com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.getDefaultInstance()) {
-          kind_ = com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.newBuilder((com.google.cloud.datacatalog.v1beta1.TagField.EnumValue) kind_)
-              .mergeFrom(value).buildPartial();
+        if (kindCase_ == 6
+            && kind_
+                != com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.getDefaultInstance()) {
+          kind_ =
+              com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.newBuilder(
+                      (com.google.cloud.datacatalog.v1beta1.TagField.EnumValue) kind_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           kind_ = value;
         }
@@ -2114,6 +2340,8 @@ public Builder mergeEnumValue(com.google.cloud.datacatalog.v1beta1.TagField.Enum
       return this;
     }
     /**
+     *
+     *
      * 
      * Holds the value for a tag field with enum type. This value must be
      * one of the allowed values in the definition of this enum.
@@ -2138,6 +2366,8 @@ public Builder clearEnumValue() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Holds the value for a tag field with enum type. This value must be
      * one of the allowed values in the definition of this enum.
@@ -2149,6 +2379,8 @@ public com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.Builder getEnumVa
       return getEnumValueFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Holds the value for a tag field with enum type. This value must be
      * one of the allowed values in the definition of this enum.
@@ -2157,7 +2389,8 @@ public com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.Builder getEnumVa
      * .google.cloud.datacatalog.v1beta1.TagField.EnumValue enum_value = 6;
      */
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder getEnumValueOrBuilder() {
+    public com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder
+        getEnumValueOrBuilder() {
       if ((kindCase_ == 6) && (enumValueBuilder_ != null)) {
         return enumValueBuilder_.getMessageOrBuilder();
       } else {
@@ -2168,6 +2401,8 @@ public com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder getEnumV
       }
     }
     /**
+     *
+     *
      * 
      * Holds the value for a tag field with enum type. This value must be
      * one of the allowed values in the definition of this enum.
@@ -2176,14 +2411,19 @@ public com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder getEnumV
      * .google.cloud.datacatalog.v1beta1.TagField.EnumValue enum_value = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1beta1.TagField.EnumValue, com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.Builder, com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder> 
+            com.google.cloud.datacatalog.v1beta1.TagField.EnumValue,
+            com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.Builder,
+            com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder>
         getEnumValueFieldBuilder() {
       if (enumValueBuilder_ == null) {
         if (!(kindCase_ == 6)) {
           kind_ = com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.getDefaultInstance();
         }
-        enumValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1beta1.TagField.EnumValue, com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.Builder, com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder>(
+        enumValueBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.datacatalog.v1beta1.TagField.EnumValue,
+                com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.Builder,
+                com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder>(
                 (com.google.cloud.datacatalog.v1beta1.TagField.EnumValue) kind_,
                 getParentForChildren(),
                 isClean());
@@ -2194,8 +2434,10 @@ public com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder getEnumV
       return enumValueBuilder_;
     }
 
-    private int order_ ;
+    private int order_;
     /**
+     *
+     *
      * 
      * Output only. The order of this field with respect to other fields in this
      * tag. It can be set in
@@ -2206,6 +2448,7 @@ public com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder getEnumV
      * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The order. */ @java.lang.Override @@ -2213,6 +2456,8 @@ public int getOrder() { return order_; } /** + * + * *
      * Output only. The order of this field with respect to other fields in this
      * tag. It can be set in
@@ -2223,6 +2468,7 @@ public int getOrder() {
      * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The order to set. * @return This builder for chaining. */ @@ -2234,6 +2480,8 @@ public Builder setOrder(int value) { return this; } /** + * + * *
      * Output only. The order of this field with respect to other fields in this
      * tag. It can be set in
@@ -2244,6 +2492,7 @@ public Builder setOrder(int value) {
      * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearOrder() { @@ -2252,9 +2501,9 @@ public Builder clearOrder() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2264,12 +2513,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.TagField) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.TagField) private static final com.google.cloud.datacatalog.v1beta1.TagField DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.TagField(); } @@ -2278,27 +2527,27 @@ public static com.google.cloud.datacatalog.v1beta1.TagField getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TagField parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TagField parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2313,6 +2562,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.TagField getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagFieldOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagFieldOrBuilder.java similarity index 82% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagFieldOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagFieldOrBuilder.java index c42e294f5188..ad5a73d54f51 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagFieldOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagFieldOrBuilder.java @@ -1,118 +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/datacatalog/v1beta1/tags.proto package com.google.cloud.datacatalog.v1beta1; -public interface TagFieldOrBuilder extends +public interface TagFieldOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.TagField) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The display name of this field.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Output only. The display name of this field.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Holds the value for a tag field with double type.
    * 
* * double double_value = 2; + * * @return Whether the doubleValue field is set. */ boolean hasDoubleValue(); /** + * + * *
    * Holds the value for a tag field with double type.
    * 
* * double double_value = 2; + * * @return The doubleValue. */ double getDoubleValue(); /** + * + * *
    * Holds the value for a tag field with string type.
    * 
* * string string_value = 3; + * * @return Whether the stringValue field is set. */ boolean hasStringValue(); /** + * + * *
    * Holds the value for a tag field with string type.
    * 
* * string string_value = 3; + * * @return The stringValue. */ java.lang.String getStringValue(); /** + * + * *
    * Holds the value for a tag field with string type.
    * 
* * string string_value = 3; + * * @return The bytes for stringValue. */ - com.google.protobuf.ByteString - getStringValueBytes(); + com.google.protobuf.ByteString getStringValueBytes(); /** + * + * *
    * Holds the value for a tag field with boolean type.
    * 
* * bool bool_value = 4; + * * @return Whether the boolValue field is set. */ boolean hasBoolValue(); /** + * + * *
    * Holds the value for a tag field with boolean type.
    * 
* * bool bool_value = 4; + * * @return The boolValue. */ boolean getBoolValue(); /** + * + * *
    * Holds the value for a tag field with timestamp type.
    * 
* * .google.protobuf.Timestamp timestamp_value = 5; + * * @return Whether the timestampValue field is set. */ boolean hasTimestampValue(); /** + * + * *
    * Holds the value for a tag field with timestamp type.
    * 
* * .google.protobuf.Timestamp timestamp_value = 5; + * * @return The timestampValue. */ com.google.protobuf.Timestamp getTimestampValue(); /** + * + * *
    * Holds the value for a tag field with timestamp type.
    * 
@@ -122,26 +171,34 @@ public interface TagFieldOrBuilder extends com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder(); /** + * + * *
    * Holds the value for a tag field with enum type. This value must be
    * one of the allowed values in the definition of this enum.
    * 
* * .google.cloud.datacatalog.v1beta1.TagField.EnumValue enum_value = 6; + * * @return Whether the enumValue field is set. */ boolean hasEnumValue(); /** + * + * *
    * Holds the value for a tag field with enum type. This value must be
    * one of the allowed values in the definition of this enum.
    * 
* * .google.cloud.datacatalog.v1beta1.TagField.EnumValue enum_value = 6; + * * @return The enumValue. */ com.google.cloud.datacatalog.v1beta1.TagField.EnumValue getEnumValue(); /** + * + * *
    * Holds the value for a tag field with enum type. This value must be
    * one of the allowed values in the definition of this enum.
@@ -152,6 +209,8 @@ public interface TagFieldOrBuilder extends
   com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder getEnumValueOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The order of this field with respect to other fields in this
    * tag. It can be set in
@@ -162,6 +221,7 @@ public interface TagFieldOrBuilder extends
    * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The order. */ int getOrder(); diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagName.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagName.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagName.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagName.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagOrBuilder.java similarity index 72% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagOrBuilder.java index ade694d2d1f5..ce98971af99e 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagOrBuilder.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/datacatalog/v1beta1/tags.proto package com.google.cloud.datacatalog.v1beta1; -public interface TagOrBuilder extends +public interface TagOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.Tag) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The resource name of the tag in URL format. Example:
    *
@@ -18,10 +36,13 @@ public interface TagOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The resource name of the tag in URL format. Example:
    *
@@ -32,12 +53,14 @@ public interface TagOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The resource name of the tag template that this tag uses.
    * Example:
@@ -48,10 +71,13 @@ public interface TagOrBuilder extends
    * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The template. */ java.lang.String getTemplate(); /** + * + * *
    * Required. The resource name of the tag template that this tag uses.
    * Example:
@@ -62,32 +88,39 @@ public interface TagOrBuilder extends
    * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for template. */ - com.google.protobuf.ByteString - getTemplateBytes(); + com.google.protobuf.ByteString getTemplateBytes(); /** + * + * *
    * Output only. The display name of the tag template.
    * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The templateDisplayName. */ java.lang.String getTemplateDisplayName(); /** + * + * *
    * Output only. The display name of the tag template.
    * 
* * string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for templateDisplayName. */ - com.google.protobuf.ByteString - getTemplateDisplayNameBytes(); + com.google.protobuf.ByteString getTemplateDisplayNameBytes(); /** + * + * *
    * Resources like Entry can have schemas associated with them. This scope
    * allows users to attach tags to an individual column based on that schema.
@@ -99,10 +132,13 @@ public interface TagOrBuilder extends
    * 
* * string column = 4; + * * @return Whether the column field is set. */ boolean hasColumn(); /** + * + * *
    * Resources like Entry can have schemas associated with them. This scope
    * allows users to attach tags to an individual column based on that schema.
@@ -114,10 +150,13 @@ public interface TagOrBuilder extends
    * 
* * string column = 4; + * * @return The column. */ java.lang.String getColumn(); /** + * + * *
    * Resources like Entry can have schemas associated with them. This scope
    * allows users to attach tags to an individual column based on that schema.
@@ -129,74 +168,88 @@ public interface TagOrBuilder extends
    * 
* * string column = 4; + * * @return The bytes for column. */ - com.google.protobuf.ByteString - getColumnBytes(); + com.google.protobuf.ByteString getColumnBytes(); /** + * + * *
    * Required. This maps the ID of a tag field to the value of and additional
    * information about that field. Valid field IDs are defined by the tag's
    * template. A tag must have at least 1 field and at most 500 fields.
    * 
* - * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ int getFieldsCount(); /** + * + * *
    * Required. This maps the ID of a tag field to the value of and additional
    * information about that field. Valid field IDs are defined by the tag's
    * template. A tag must have at least 1 field and at most 500 fields.
    * 
* - * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - boolean containsFields( - java.lang.String key); - /** - * Use {@link #getFieldsMap()} instead. + * + * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ + boolean containsFields(java.lang.String key); + /** Use {@link #getFieldsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getFields(); + java.util.Map getFields(); /** + * + * *
    * Required. This maps the ID of a tag field to the value of and additional
    * information about that field. Valid field IDs are defined by the tag's
    * template. A tag must have at least 1 field and at most 500 fields.
    * 
* - * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.Map - getFieldsMap(); + java.util.Map getFieldsMap(); /** + * + * *
    * Required. This maps the ID of a tag field to the value of and additional
    * information about that field. Valid field IDs are defined by the tag's
    * template. A tag must have at least 1 field and at most 500 fields.
    * 
* - * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ /* nullable */ -com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrDefault( + com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.datacatalog.v1beta1.TagField defaultValue); + com.google.cloud.datacatalog.v1beta1.TagField defaultValue); /** + * + * *
    * Required. This maps the ID of a tag field to the value of and additional
    * information about that field. Valid field IDs are defined by the tag's
    * template. A tag must have at least 1 field and at most 500 fields.
    * 
* - * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrThrow( - java.lang.String key); + com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrThrow(java.lang.String key); com.google.cloud.datacatalog.v1beta1.Tag.ScopeCase getScopeCase(); } diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplate.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplate.java similarity index 65% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplate.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplate.java index 7656871fc422..ff18fd7a80a4 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplate.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplate.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/datacatalog/v1beta1/tags.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * A tag template defines a tag, which can have one or more typed fields.
  * The template is used to create and attach the tag to Google Cloud resources.
@@ -17,15 +34,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.TagTemplate}
  */
-public final class TagTemplate extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TagTemplate extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.TagTemplate)
     TagTemplateOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TagTemplate.newBuilder() to construct.
   private TagTemplate(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TagTemplate() {
     name_ = "";
     displayName_ = "";
@@ -33,40 +51,43 @@ private TagTemplate() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TagTemplate();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Tags
+        .internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_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 internalGetFields();
       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.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Tags
+        .internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.TagTemplate.class, com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.TagTemplate.class,
+            com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The resource name of the tag template in URL format. Example:
    *
@@ -77,6 +98,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -85,14 +107,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The resource name of the tag template in URL format. Example:
    *
@@ -103,16 +126,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 { @@ -121,14 +143,18 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * The display name for this template. Defaults to an empty string.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -137,29 +163,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * The display name for this template. Defaults to an empty string.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -168,32 +194,42 @@ public java.lang.String getDisplayName() { } public static final int FIELDS_FIELD_NUMBER = 3; + private static final class FieldsDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.datacatalog.v1beta1.TagTemplateField> defaultEntry = + java.lang.String, com.google.cloud.datacatalog.v1beta1.TagTemplateField> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_FieldsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance()); + . + newDefaultInstance( + com.google.cloud.datacatalog.v1beta1.Tags + .internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_FieldsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance()); } + @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1beta1.TagTemplateField> fields_; - private com.google.protobuf.MapField - internalGetFields() { + java.lang.String, com.google.cloud.datacatalog.v1beta1.TagTemplateField> + fields_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1beta1.TagTemplateField> + internalGetFields() { if (fields_ == null) { - return com.google.protobuf.MapField.emptyMapField( - FieldsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(FieldsDefaultEntryHolder.defaultEntry); } return fields_; } + public int getFieldsCount() { return internalGetFields().getMap().size(); } /** + * + * *
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. This map must contain
@@ -205,23 +241,27 @@ public int getFieldsCount() {
    * 64 characters long. Field IDs must start with a letter or underscore.
    * 
* - * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public boolean containsFields( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsFields(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetFields().getMap().containsKey(key); } - /** - * Use {@link #getFieldsMap()} instead. - */ + /** Use {@link #getFieldsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getFields() { + public java.util.Map + getFields() { return getFieldsMap(); } /** + * + * *
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. This map must contain
@@ -233,13 +273,18 @@ public java.util.Map
    *
-   * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED];
+   * 
+   * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED];
+   * 
    */
   @java.lang.Override
-  public java.util.Map getFieldsMap() {
+  public java.util.Map
+      getFieldsMap() {
     return internalGetFields().getMap();
   }
   /**
+   *
+   *
    * 
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. This map must contain
@@ -251,20 +296,25 @@ public java.util.Map
    *
-   * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED];
+   * 
+   * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED];
+   * 
    */
   @java.lang.Override
-  public /* nullable */
-com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrDefault(
+  public /* nullable */ com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.cloud.datacatalog.v1beta1.TagTemplateField defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      com.google.cloud.datacatalog.v1beta1.TagTemplateField defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetFields().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. This map must contain
@@ -276,12 +326,16 @@ com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrDefault(
    * 64 characters long. Field IDs must start with a letter or underscore.
    * 
* - * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetFields().getMap(); if (!map.containsKey(key)) { @@ -291,6 +345,7 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -302,20 +357,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetFields(), - FieldsDefaultEntryHolder.defaultEntry, - 3); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetFields(), FieldsDefaultEntryHolder.defaultEntry, 3); getUnknownFields().writeTo(output); } @@ -331,15 +381,18 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); } - for (java.util.Map.Entry entry - : internalGetFields().getMap().entrySet()) { - com.google.protobuf.MapEntry - fields__ = FieldsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, fields__); + for (java.util.Map.Entry< + java.lang.String, com.google.cloud.datacatalog.v1beta1.TagTemplateField> + entry : internalGetFields().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.datacatalog.v1beta1.TagTemplateField> + fields__ = + FieldsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, fields__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -349,19 +402,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.datacatalog.v1beta1.TagTemplate)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.TagTemplate other = (com.google.cloud.datacatalog.v1beta1.TagTemplate) obj; + com.google.cloud.datacatalog.v1beta1.TagTemplate other = + (com.google.cloud.datacatalog.v1beta1.TagTemplate) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!internalGetFields().equals( - other.internalGetFields())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!internalGetFields().equals(other.internalGetFields())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -386,99 +437,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1beta1.TagTemplate parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1beta1.TagTemplate parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.TagTemplate parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.TagTemplate parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.TagTemplate parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.TagTemplate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.TagTemplate parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.TagTemplate parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.TagTemplate parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.TagTemplate parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.TagTemplate parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.TagTemplate parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.TagTemplate parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.TagTemplate parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.TagTemplate parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.TagTemplate prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 tag template defines a tag, which can have one or more typed fields.
    * The template is used to create and attach the tag to Google Cloud resources.
@@ -492,55 +548,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.TagTemplate}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.TagTemplate)
       com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Tags
+          .internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 3:
           return internalGetFields();
         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 internalGetMutableFields();
         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.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Tags
+          .internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.TagTemplate.class, com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.TagTemplate.class,
+              com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.TagTemplate.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -552,9 +605,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Tags
+          .internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_descriptor;
     }
 
     @java.lang.Override
@@ -573,8 +626,11 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplate build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.TagTemplate buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.TagTemplate result = new com.google.cloud.datacatalog.v1beta1.TagTemplate(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.TagTemplate result =
+          new com.google.cloud.datacatalog.v1beta1.TagTemplate(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -597,38 +653,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.TagTemplate 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.datacatalog.v1beta1.TagTemplate) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.TagTemplate)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.TagTemplate) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -636,7 +693,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.TagTemplate other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -647,8 +705,7 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.TagTemplate other)
         bitField0_ |= 0x00000002;
         onChanged();
       }
-      internalGetMutableFields().mergeFrom(
-          other.internalGetFields());
+      internalGetMutableFields().mergeFrom(other.internalGetFields());
       bitField0_ |= 0x00000004;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -676,31 +733,39 @@ 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: {
-              com.google.protobuf.MapEntry
-              fields__ = input.readMessage(
-                  FieldsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableFields().getMutableMap().put(
-                  fields__.getKey(), fields__.getValue());
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            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:
+              {
+                com.google.protobuf.MapEntry<
+                        java.lang.String, com.google.cloud.datacatalog.v1beta1.TagTemplateField>
+                    fields__ =
+                        input.readMessage(
+                            FieldsDefaultEntryHolder.defaultEntry.getParserForType(),
+                            extensionRegistry);
+                internalGetMutableFields()
+                    .getMutableMap()
+                    .put(fields__.getKey(), fields__.getValue());
+                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) {
@@ -710,10 +775,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The resource name of the tag template in URL format. Example:
      *
@@ -724,13 +792,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; @@ -739,6 +807,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the tag template in URL format. Example:
      *
@@ -749,15 +819,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 { @@ -765,6 +834,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the tag template in URL format. Example:
      *
@@ -775,18 +846,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The resource name of the tag template in URL format. Example:
      *
@@ -797,6 +872,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -806,6 +882,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The resource name of the tag template in URL format. Example:
      *
@@ -816,12 +894,14 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -831,18 +911,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * The display name for this template. Defaults to an empty string.
      * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -851,20 +933,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name for this template. Defaults to an empty string.
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -872,28 +955,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name for this template. Defaults to an empty string.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The display name for this template. Defaults to an empty string.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -903,17 +993,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * The display name for this template. Defaults to an empty string.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -922,20 +1016,23 @@ public Builder setDisplayNameBytes( } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1beta1.TagTemplateField> fields_; - private com.google.protobuf.MapField + java.lang.String, com.google.cloud.datacatalog.v1beta1.TagTemplateField> + fields_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1beta1.TagTemplateField> internalGetFields() { if (fields_ == null) { - return com.google.protobuf.MapField.emptyMapField( - FieldsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(FieldsDefaultEntryHolder.defaultEntry); } return fields_; } - private com.google.protobuf.MapField + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1beta1.TagTemplateField> internalGetMutableFields() { if (fields_ == null) { - fields_ = com.google.protobuf.MapField.newMapField( - FieldsDefaultEntryHolder.defaultEntry); + fields_ = com.google.protobuf.MapField.newMapField(FieldsDefaultEntryHolder.defaultEntry); } if (!fields_.isMutable()) { fields_ = fields_.copy(); @@ -944,10 +1041,13 @@ public Builder setDisplayNameBytes( onChanged(); return fields_; } + public int getFieldsCount() { return internalGetFields().getMap().size(); } /** + * + * *
      * Required. Map of tag template field IDs to the settings for the field.
      * This map is an exhaustive list of the allowed fields. This map must contain
@@ -959,23 +1059,27 @@ public int getFieldsCount() {
      * 64 characters long. Field IDs must start with a letter or underscore.
      * 
* - * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public boolean containsFields( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsFields(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetFields().getMap().containsKey(key); } - /** - * Use {@link #getFieldsMap()} instead. - */ + /** Use {@link #getFieldsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getFields() { + public java.util.Map + getFields() { return getFieldsMap(); } /** + * + * *
      * Required. Map of tag template field IDs to the settings for the field.
      * This map is an exhaustive list of the allowed fields. This map must contain
@@ -987,13 +1091,18 @@ public java.util.Map
      *
-     * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED];
+     * 
+     * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED];
+     * 
      */
     @java.lang.Override
-    public java.util.Map getFieldsMap() {
+    public java.util.Map
+        getFieldsMap() {
       return internalGetFields().getMap();
     }
     /**
+     *
+     *
      * 
      * Required. Map of tag template field IDs to the settings for the field.
      * This map is an exhaustive list of the allowed fields. This map must contain
@@ -1005,20 +1114,25 @@ public java.util.Map
      *
-     * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED];
+     * 
+     * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED];
+     * 
      */
     @java.lang.Override
-    public /* nullable */
-com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrDefault(
+    public /* nullable */ com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrDefault(
         java.lang.String key,
         /* nullable */
-com.google.cloud.datacatalog.v1beta1.TagTemplateField defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        com.google.cloud.datacatalog.v1beta1.TagTemplateField defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetFields().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Required. Map of tag template field IDs to the settings for the field.
      * This map is an exhaustive list of the allowed fields. This map must contain
@@ -1030,12 +1144,16 @@ com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrDefault(
      * 64 characters long. Field IDs must start with a letter or underscore.
      * 
* - * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetFields().getMap(); if (!map.containsKey(key)) { @@ -1043,13 +1161,15 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrThrow( } return map.get(key); } + public Builder clearFields() { bitField0_ = (bitField0_ & ~0x00000004); - internalGetMutableFields().getMutableMap() - .clear(); + internalGetMutableFields().getMutableMap().clear(); return this; } /** + * + * *
      * Required. Map of tag template field IDs to the settings for the field.
      * This map is an exhaustive list of the allowed fields. This map must contain
@@ -1061,18 +1181,18 @@ public Builder clearFields() {
      * 64 characters long. Field IDs must start with a letter or underscore.
      * 
* - * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder removeFields( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableFields().getMutableMap() - .remove(key); + public Builder removeFields(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableFields().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableFields() { @@ -1080,6 +1200,8 @@ public Builder removeFields( return internalGetMutableFields().getMutableMap(); } /** + * + * *
      * Required. Map of tag template field IDs to the settings for the field.
      * This map is an exhaustive list of the allowed fields. This map must contain
@@ -1091,19 +1213,25 @@ public Builder removeFields(
      * 64 characters long. Field IDs must start with a letter or underscore.
      * 
* - * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder putFields( - java.lang.String key, - com.google.cloud.datacatalog.v1beta1.TagTemplateField value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableFields().getMutableMap() - .put(key, value); + java.lang.String key, com.google.cloud.datacatalog.v1beta1.TagTemplateField value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableFields().getMutableMap().put(key, value); bitField0_ |= 0x00000004; return this; } /** + * + * *
      * Required. Map of tag template field IDs to the settings for the field.
      * This map is an exhaustive list of the allowed fields. This map must contain
@@ -1115,18 +1243,20 @@ public Builder putFields(
      * 64 characters long. Field IDs must start with a letter or underscore.
      * 
* - * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder putAllFields( - java.util.Map values) { - internalGetMutableFields().getMutableMap() - .putAll(values); + java.util.Map + values) { + internalGetMutableFields().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); } @@ -1136,12 +1266,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.TagTemplate) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.TagTemplate) private static final com.google.cloud.datacatalog.v1beta1.TagTemplate DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.TagTemplate(); } @@ -1150,27 +1280,27 @@ public static com.google.cloud.datacatalog.v1beta1.TagTemplate getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TagTemplate parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TagTemplate parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +1315,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.TagTemplate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateField.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateField.java similarity index 69% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateField.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateField.java index e8b6dc272d5a..cfc8f309b33b 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateField.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateField.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/datacatalog/v1beta1/tags.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * The template for an individual field within a tag template.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.TagTemplateField} */ -public final class TagTemplateField extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TagTemplateField extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.TagTemplateField) TagTemplateFieldOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TagTemplateField.newBuilder() to construct. private TagTemplateField(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TagTemplateField() { name_ = ""; displayName_ = ""; @@ -27,28 +45,32 @@ private TagTemplateField() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TagTemplateField(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Tags + .internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.Tags + .internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.TagTemplateField.class, com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder.class); + com.google.cloud.datacatalog.v1beta1.TagTemplateField.class, + com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder.class); } public static final int NAME_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. The resource name of the tag template field in URL format.
    * Example:
@@ -60,6 +82,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -68,14 +91,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 resource name of the tag template field in URL format.
    * Example:
@@ -87,16 +111,15 @@ public java.lang.String getName() {
    * 
* * string name = 6 [(.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 { @@ -105,14 +128,18 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * The display name for this field. Defaults to an empty string.
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -121,29 +148,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * The display name for this field. Defaults to an empty string.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -154,11 +181,16 @@ public java.lang.String getDisplayName() { public static final int TYPE_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1beta1.FieldType type_; /** + * + * *
    * Required. The type of value this tag field can contain.
    * 
* - * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the type field is set. */ @java.lang.Override @@ -166,37 +198,53 @@ public boolean hasType() { return type_ != null; } /** + * + * *
    * Required. The type of value this tag field can contain.
    * 
* - * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.FieldType getType() { - return type_ == null ? com.google.cloud.datacatalog.v1beta1.FieldType.getDefaultInstance() : type_; + return type_ == null + ? com.google.cloud.datacatalog.v1beta1.FieldType.getDefaultInstance() + : type_; } /** + * + * *
    * Required. The type of value this tag field can contain.
    * 
* - * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.FieldTypeOrBuilder getTypeOrBuilder() { - return type_ == null ? com.google.cloud.datacatalog.v1beta1.FieldType.getDefaultInstance() : type_; + return type_ == null + ? com.google.cloud.datacatalog.v1beta1.FieldType.getDefaultInstance() + : type_; } public static final int IS_REQUIRED_FIELD_NUMBER = 3; private boolean isRequired_ = false; /** + * + * *
    * Whether this is a required field. Defaults to false.
    * 
* * bool is_required = 3; + * * @return The isRequired. */ @java.lang.Override @@ -205,14 +253,18 @@ public boolean getIsRequired() { } public static final int DESCRIPTION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * The description for this field. Defaults to an empty string.
    * 
* * string description = 4; + * * @return The description. */ @java.lang.Override @@ -221,29 +273,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; } } /** + * + * *
    * The description for this field. Defaults to an empty string.
    * 
* * string description = 4; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -254,6 +306,8 @@ public java.lang.String getDescription() { public static final int ORDER_FIELD_NUMBER = 5; private int order_ = 0; /** + * + * *
    * The order of this field with respect to other fields in this tag
    * template.  A higher value indicates a more important field. The value can
@@ -262,6 +316,7 @@ public java.lang.String getDescription() {
    * 
* * int32 order = 5; + * * @return The order. */ @java.lang.Override @@ -270,6 +325,7 @@ public int getOrder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -281,8 +337,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -314,19 +369,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, displayName_); } if (type_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getType()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getType()); } if (isRequired_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, isRequired_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, isRequired_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); } if (order_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, order_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, order_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); @@ -339,28 +391,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.datacatalog.v1beta1.TagTemplateField)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.TagTemplateField other = (com.google.cloud.datacatalog.v1beta1.TagTemplateField) obj; + com.google.cloud.datacatalog.v1beta1.TagTemplateField other = + (com.google.cloud.datacatalog.v1beta1.TagTemplateField) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (hasType() != other.hasType()) return false; if (hasType()) { - if (!getType() - .equals(other.getType())) return false; - } - if (getIsRequired() - != other.getIsRequired()) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (getOrder() - != other.getOrder()) return false; + if (!getType().equals(other.getType())) return false; + } + if (getIsRequired() != other.getIsRequired()) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (getOrder() != other.getOrder()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -381,8 +428,7 @@ public int hashCode() { hash = (53 * hash) + getType().hashCode(); } hash = (37 * hash) + IS_REQUIRED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIsRequired()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsRequired()); hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); hash = (37 * hash) + ORDER_FIELD_NUMBER; @@ -393,131 +439,136 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.TagTemplateField parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.TagTemplateField parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.TagTemplateField parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.TagTemplateField parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.TagTemplateField parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.TagTemplateField parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.TagTemplateField parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.TagTemplateField parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.TagTemplateField parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.TagTemplateField parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.TagTemplateField parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.TagTemplateField parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.TagTemplateField parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.TagTemplateField parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.TagTemplateField prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.TagTemplateField prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 template for an individual field within a tag template.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.TagTemplateField} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.TagTemplateField) com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Tags + .internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.Tags + .internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.TagTemplateField.class, com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder.class); + com.google.cloud.datacatalog.v1beta1.TagTemplateField.class, + com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder.class); } // Construct using com.google.cloud.datacatalog.v1beta1.TagTemplateField.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -536,9 +587,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.Tags.internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.Tags + .internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_descriptor; } @java.lang.Override @@ -557,8 +608,11 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateField build() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TagTemplateField buildPartial() { - com.google.cloud.datacatalog.v1beta1.TagTemplateField result = new com.google.cloud.datacatalog.v1beta1.TagTemplateField(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1beta1.TagTemplateField result = + new com.google.cloud.datacatalog.v1beta1.TagTemplateField(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -572,9 +626,7 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.TagTemplateField result.displayName_ = displayName_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.type_ = typeBuilder_ == null - ? type_ - : typeBuilder_.build(); + result.type_ = typeBuilder_ == null ? type_ : typeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.isRequired_ = isRequired_; @@ -591,38 +643,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.TagTemplateField public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1beta1.TagTemplateField) { - return mergeFrom((com.google.cloud.datacatalog.v1beta1.TagTemplateField)other); + return mergeFrom((com.google.cloud.datacatalog.v1beta1.TagTemplateField) other); } else { super.mergeFrom(other); return this; @@ -630,7 +683,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.TagTemplateField other) { - if (other == com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance()) return this; + if (other == com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -681,44 +735,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 10 - case 18: { - input.readMessage( - getTypeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 24: { - isRequired_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 24 - case 34: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 40: { - order_ = input.readInt32(); - bitField0_ |= 0x00000020; - break; - } // case 40 - case 50: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 10 + case 18: + { + input.readMessage(getTypeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 24: + { + isRequired_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 24 + case 34: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 40: + { + order_ = input.readInt32(); + bitField0_ |= 0x00000020; + break; + } // case 40 + case 50: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + 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) { @@ -728,10 +787,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The resource name of the tag template field in URL format.
      * Example:
@@ -743,13 +805,13 @@ public Builder mergeFrom(
      * 
* * string name = 6 [(.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; @@ -758,6 +820,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name of the tag template field in URL format.
      * Example:
@@ -769,15 +833,14 @@ public java.lang.String getName() {
      * 
* * string name = 6 [(.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 { @@ -785,6 +848,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name of the tag template field in URL format.
      * Example:
@@ -796,18 +861,22 @@ public java.lang.String getName() {
      * 
* * string name = 6 [(.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 resource name of the tag template field in URL format.
      * Example:
@@ -819,6 +888,7 @@ public Builder setName(
      * 
* * string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -828,6 +898,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The resource name of the tag template field in URL format.
      * Example:
@@ -839,12 +911,14 @@ public Builder clearName() {
      * 
* * string name = 6 [(.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; @@ -854,18 +928,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * The display name for this field. Defaults to an empty string.
      * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -874,20 +950,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name for this field. Defaults to an empty string.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -895,28 +972,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name for this field. Defaults to an empty string.
      * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The display name for this field. Defaults to an empty string.
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -926,17 +1010,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * The display name for this field. Defaults to an empty string.
      * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -946,39 +1034,58 @@ public Builder setDisplayNameBytes( private com.google.cloud.datacatalog.v1beta1.FieldType type_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.FieldType, com.google.cloud.datacatalog.v1beta1.FieldType.Builder, com.google.cloud.datacatalog.v1beta1.FieldTypeOrBuilder> typeBuilder_; + com.google.cloud.datacatalog.v1beta1.FieldType, + com.google.cloud.datacatalog.v1beta1.FieldType.Builder, + com.google.cloud.datacatalog.v1beta1.FieldTypeOrBuilder> + typeBuilder_; /** + * + * *
      * Required. The type of value this tag field can contain.
      * 
* - * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the type field is set. */ public boolean hasType() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The type of value this tag field can contain.
      * 
* - * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ public com.google.cloud.datacatalog.v1beta1.FieldType getType() { if (typeBuilder_ == null) { - return type_ == null ? com.google.cloud.datacatalog.v1beta1.FieldType.getDefaultInstance() : type_; + return type_ == null + ? com.google.cloud.datacatalog.v1beta1.FieldType.getDefaultInstance() + : type_; } else { return typeBuilder_.getMessage(); } } /** + * + * *
      * Required. The type of value this tag field can contain.
      * 
* - * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setType(com.google.cloud.datacatalog.v1beta1.FieldType value) { if (typeBuilder_ == null) { @@ -994,14 +1101,17 @@ public Builder setType(com.google.cloud.datacatalog.v1beta1.FieldType value) { return this; } /** + * + * *
      * Required. The type of value this tag field can contain.
      * 
* - * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setType( - com.google.cloud.datacatalog.v1beta1.FieldType.Builder builderForValue) { + public Builder setType(com.google.cloud.datacatalog.v1beta1.FieldType.Builder builderForValue) { if (typeBuilder_ == null) { type_ = builderForValue.build(); } else { @@ -1012,17 +1122,21 @@ public Builder setType( return this; } /** + * + * *
      * Required. The type of value this tag field can contain.
      * 
* - * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeType(com.google.cloud.datacatalog.v1beta1.FieldType value) { if (typeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - type_ != null && - type_ != com.google.cloud.datacatalog.v1beta1.FieldType.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && type_ != null + && type_ != com.google.cloud.datacatalog.v1beta1.FieldType.getDefaultInstance()) { getTypeBuilder().mergeFrom(value); } else { type_ = value; @@ -1035,11 +1149,15 @@ public Builder mergeType(com.google.cloud.datacatalog.v1beta1.FieldType value) { return this; } /** + * + * *
      * Required. The type of value this tag field can contain.
      * 
* - * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1052,11 +1170,15 @@ public Builder clearType() { return this; } /** + * + * *
      * Required. The type of value this tag field can contain.
      * 
* - * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1beta1.FieldType.Builder getTypeBuilder() { bitField0_ |= 0x00000004; @@ -1064,48 +1186,63 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.Builder getTypeBuilder() { return getTypeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The type of value this tag field can contain.
      * 
* - * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1beta1.FieldTypeOrBuilder getTypeOrBuilder() { if (typeBuilder_ != null) { return typeBuilder_.getMessageOrBuilder(); } else { - return type_ == null ? - com.google.cloud.datacatalog.v1beta1.FieldType.getDefaultInstance() : type_; + return type_ == null + ? com.google.cloud.datacatalog.v1beta1.FieldType.getDefaultInstance() + : type_; } } /** + * + * *
      * Required. The type of value this tag field can contain.
      * 
* - * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.FieldType, com.google.cloud.datacatalog.v1beta1.FieldType.Builder, com.google.cloud.datacatalog.v1beta1.FieldTypeOrBuilder> + com.google.cloud.datacatalog.v1beta1.FieldType, + com.google.cloud.datacatalog.v1beta1.FieldType.Builder, + com.google.cloud.datacatalog.v1beta1.FieldTypeOrBuilder> getTypeFieldBuilder() { if (typeBuilder_ == null) { - typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.FieldType, com.google.cloud.datacatalog.v1beta1.FieldType.Builder, com.google.cloud.datacatalog.v1beta1.FieldTypeOrBuilder>( - getType(), - getParentForChildren(), - isClean()); + typeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.FieldType, + com.google.cloud.datacatalog.v1beta1.FieldType.Builder, + com.google.cloud.datacatalog.v1beta1.FieldTypeOrBuilder>( + getType(), getParentForChildren(), isClean()); type_ = null; } return typeBuilder_; } - private boolean isRequired_ ; + private boolean isRequired_; /** + * + * *
      * Whether this is a required field. Defaults to false.
      * 
* * bool is_required = 3; + * * @return The isRequired. */ @java.lang.Override @@ -1113,11 +1250,14 @@ public boolean getIsRequired() { return isRequired_; } /** + * + * *
      * Whether this is a required field. Defaults to false.
      * 
* * bool is_required = 3; + * * @param value The isRequired to set. * @return This builder for chaining. */ @@ -1129,11 +1269,14 @@ public Builder setIsRequired(boolean value) { return this; } /** + * + * *
      * Whether this is a required field. Defaults to false.
      * 
* * bool is_required = 3; + * * @return This builder for chaining. */ public Builder clearIsRequired() { @@ -1145,18 +1288,20 @@ public Builder clearIsRequired() { private java.lang.Object description_ = ""; /** + * + * *
      * The description for this field. Defaults to an empty string.
      * 
* * string description = 4; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1165,20 +1310,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The description for this field. Defaults to an empty string.
      * 
* * string description = 4; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1186,28 +1332,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The description for this field. Defaults to an empty string.
      * 
* * string description = 4; + * * @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; } /** + * + * *
      * The description for this field. Defaults to an empty string.
      * 
* * string description = 4; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1217,17 +1370,21 @@ public Builder clearDescription() { return this; } /** + * + * *
      * The description for this field. Defaults to an empty string.
      * 
* * string description = 4; + * * @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; @@ -1235,8 +1392,10 @@ public Builder setDescriptionBytes( return this; } - private int order_ ; + private int order_; /** + * + * *
      * The order of this field with respect to other fields in this tag
      * template.  A higher value indicates a more important field. The value can
@@ -1245,6 +1404,7 @@ public Builder setDescriptionBytes(
      * 
* * int32 order = 5; + * * @return The order. */ @java.lang.Override @@ -1252,6 +1412,8 @@ public int getOrder() { return order_; } /** + * + * *
      * The order of this field with respect to other fields in this tag
      * template.  A higher value indicates a more important field. The value can
@@ -1260,6 +1422,7 @@ public int getOrder() {
      * 
* * int32 order = 5; + * * @param value The order to set. * @return This builder for chaining. */ @@ -1271,6 +1434,8 @@ public Builder setOrder(int value) { return this; } /** + * + * *
      * The order of this field with respect to other fields in this tag
      * template.  A higher value indicates a more important field. The value can
@@ -1279,6 +1444,7 @@ public Builder setOrder(int value) {
      * 
* * int32 order = 5; + * * @return This builder for chaining. */ public Builder clearOrder() { @@ -1287,9 +1453,9 @@ public Builder clearOrder() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1299,12 +1465,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.TagTemplateField) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.TagTemplateField) private static final com.google.cloud.datacatalog.v1beta1.TagTemplateField DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.TagTemplateField(); } @@ -1313,27 +1479,27 @@ public static com.google.cloud.datacatalog.v1beta1.TagTemplateField getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TagTemplateField parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TagTemplateField parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +1514,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.TagTemplateField getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldEnumValueName.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldEnumValueName.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldEnumValueName.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldEnumValueName.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldName.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldName.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldName.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldName.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldOrBuilder.java similarity index 70% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldOrBuilder.java index 60b76529c291..213cd9255111 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldOrBuilder.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/datacatalog/v1beta1/tags.proto package com.google.cloud.datacatalog.v1beta1; -public interface TagTemplateFieldOrBuilder extends +public interface TagTemplateFieldOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.TagTemplateField) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The resource name of the tag template field in URL format.
    * Example:
@@ -19,10 +37,13 @@ public interface TagTemplateFieldOrBuilder extends
    * 
* * string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The resource name of the tag template field in URL format.
    * Example:
@@ -34,89 +55,118 @@ public interface TagTemplateFieldOrBuilder extends
    * 
* * string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The display name for this field. Defaults to an empty string.
    * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The display name for this field. Defaults to an empty string.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Required. The type of value this tag field can contain.
    * 
* - * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the type field is set. */ boolean hasType(); /** + * + * *
    * Required. The type of value this tag field can contain.
    * 
* - * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ com.google.cloud.datacatalog.v1beta1.FieldType getType(); /** + * + * *
    * Required. The type of value this tag field can contain.
    * 
* - * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.datacatalog.v1beta1.FieldTypeOrBuilder getTypeOrBuilder(); /** + * + * *
    * Whether this is a required field. Defaults to false.
    * 
* * bool is_required = 3; + * * @return The isRequired. */ boolean getIsRequired(); /** + * + * *
    * The description for this field. Defaults to an empty string.
    * 
* * string description = 4; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * The description for this field. Defaults to an empty string.
    * 
* * string description = 4; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * The order of this field with respect to other fields in this tag
    * template.  A higher value indicates a more important field. The value can
@@ -125,6 +175,7 @@ public interface TagTemplateFieldOrBuilder extends
    * 
* * int32 order = 5; + * * @return The order. */ int getOrder(); diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateName.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateName.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateName.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateName.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateOrBuilder.java similarity index 70% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateOrBuilder.java index 319816946104..ad27ae68402c 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateOrBuilder.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/datacatalog/v1beta1/tags.proto package com.google.cloud.datacatalog.v1beta1; -public interface TagTemplateOrBuilder extends +public interface TagTemplateOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.TagTemplate) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The resource name of the tag template in URL format. Example:
    *
@@ -18,10 +36,13 @@ public interface TagTemplateOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The resource name of the tag template in URL format. Example:
    *
@@ -32,32 +53,39 @@ public interface TagTemplateOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The display name for this template. Defaults to an empty string.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The display name for this template. Defaults to an empty string.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. This map must contain
@@ -69,10 +97,14 @@ public interface TagTemplateOrBuilder extends
    * 64 characters long. Field IDs must start with a letter or underscore.
    * 
* - * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ int getFieldsCount(); /** + * + * *
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. This map must contain
@@ -84,17 +116,18 @@ public interface TagTemplateOrBuilder extends
    * 64 characters long. Field IDs must start with a letter or underscore.
    * 
* - * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - boolean containsFields( - java.lang.String key); - /** - * Use {@link #getFieldsMap()} instead. + * + * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ + boolean containsFields(java.lang.String key); + /** Use {@link #getFieldsMap()} instead. */ @java.lang.Deprecated java.util.Map - getFields(); + getFields(); /** + * + * *
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. This map must contain
@@ -106,11 +139,15 @@ boolean containsFields(
    * 64 characters long. Field IDs must start with a letter or underscore.
    * 
* - * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ java.util.Map - getFieldsMap(); + getFieldsMap(); /** + * + * *
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. This map must contain
@@ -122,14 +159,18 @@ boolean containsFields(
    * 64 characters long. Field IDs must start with a letter or underscore.
    * 
* - * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ /* nullable */ -com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrDefault( + com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.datacatalog.v1beta1.TagTemplateField defaultValue); + com.google.cloud.datacatalog.v1beta1.TagTemplateField defaultValue); /** + * + * *
    * Required. Map of tag template field IDs to the settings for the field.
    * This map is an exhaustive list of the allowed fields. This map must contain
@@ -141,8 +182,9 @@ com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrDefault(
    * 64 characters long. Field IDs must start with a letter or underscore.
    * 
* - * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.cloud.datacatalog.v1beta1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrThrow( - java.lang.String key); + com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrThrow(java.lang.String key); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tags.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tags.java new file mode 100644 index 000000000000..566954abca82 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tags.java @@ -0,0 +1,251 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datacatalog/v1beta1/tags.proto + +package com.google.cloud.datacatalog.v1beta1; + +public final class Tags { + private Tags() {} + + 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_datacatalog_v1beta1_Tag_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_Tag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_Tag_FieldsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_Tag_FieldsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_TagField_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_TagField_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_FieldsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_FieldsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_FieldType_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_FieldType_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_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/datacatalog/v1beta1/tags." + + "proto\022 google.cloud.datacatalog.v1beta1\032" + + "\037google/api/field_behavior.proto\032\031google" + + "/api/resource.proto\032\037google/protobuf/tim" + + "estamp.proto\"\223\003\n\003Tag\022\014\n\004name\030\001 \001(\t\022\026\n\010te" + + "mplate\030\002 \001(\tB\004\342A\001\002\022#\n\025template_display_n" + + "ame\030\005 \001(\tB\004\342A\001\003\022\020\n\006column\030\004 \001(\tH\000\022G\n\006fie" + + "lds\030\003 \003(\01321.google.cloud.datacatalog.v1b" + + "eta1.Tag.FieldsEntryB\004\342A\001\002\032Y\n\013FieldsEntr" + + "y\022\013\n\003key\030\001 \001(\t\0229\n\005value\030\002 \001(\0132*.google.c" + + "loud.datacatalog.v1beta1.TagField:\0028\001:\201\001" + + "\352A~\n\036datacatalog.googleapis.com/Tag\022\\pro" + + "jects/{project}/locations/{location}/ent" + + "ryGroups/{entry_group}/entries/{entry}/t" + + "ags/{tag}B\007\n\005scope\"\257\002\n\010TagField\022\032\n\014displ" + + "ay_name\030\001 \001(\tB\004\342A\001\003\022\026\n\014double_value\030\002 \001(" + + "\001H\000\022\026\n\014string_value\030\003 \001(\tH\000\022\024\n\nbool_valu" + + "e\030\004 \001(\010H\000\0225\n\017timestamp_value\030\005 \001(\0132\032.goo" + + "gle.protobuf.TimestampH\000\022J\n\nenum_value\030\006" + + " \001(\01324.google.cloud.datacatalog.v1beta1." + + "TagField.EnumValueH\000\022\023\n\005order\030\007 \001(\005B\004\342A\001" + + "\003\032!\n\tEnumValue\022\024\n\014display_name\030\001 \001(\tB\006\n\004" + + "kind\"\327\002\n\013TagTemplate\022\014\n\004name\030\001 \001(\t\022\024\n\014di" + + "splay_name\030\002 \001(\t\022O\n\006fields\030\003 \003(\01329.googl" + + "e.cloud.datacatalog.v1beta1.TagTemplate." + + "FieldsEntryB\004\342A\001\002\032a\n\013FieldsEntry\022\013\n\003key\030" + + "\001 \001(\t\022A\n\005value\030\002 \001(\01322.google.cloud.data" + + "catalog.v1beta1.TagTemplateField:\0028\001:p\352A" + + "m\n&datacatalog.googleapis.com/TagTemplat" + + "e\022Cprojects/{project}/locations/{locatio" + + "n}/tagTemplates/{tag_template}\"\276\002\n\020TagTe" + + "mplateField\022\022\n\004name\030\006 \001(\tB\004\342A\001\003\022\024\n\014displ" + + "ay_name\030\001 \001(\t\022?\n\004type\030\002 \001(\0132+.google.clo" + + "ud.datacatalog.v1beta1.FieldTypeB\004\342A\001\002\022\023" + + "\n\013is_required\030\003 \001(\010\022\023\n\013description\030\004 \001(\t" + + "\022\r\n\005order\030\005 \001(\005:\205\001\352A\201\001\n+datacatalog.goog" + + "leapis.com/TagTemplateField\022Rprojects/{p" + + "roject}/locations/{location}/tagTemplate" + + "s/{tag_template}/fields/{field}\"\250\003\n\tFiel" + + "dType\022S\n\016primitive_type\030\001 \001(\01629.google.c" + + "loud.datacatalog.v1beta1.FieldType.Primi" + + "tiveTypeH\000\022I\n\tenum_type\030\002 \001(\01324.google.c" + + "loud.datacatalog.v1beta1.FieldType.EnumT" + + "ypeH\000\032\213\001\n\010EnumType\022V\n\016allowed_values\030\001 \003" + + "(\0132>.google.cloud.datacatalog.v1beta1.Fi" + + "eldType.EnumType.EnumValue\032\'\n\tEnumValue\022" + + "\032\n\014display_name\030\001 \001(\tB\004\342A\001\002\"`\n\rPrimitive" + + "Type\022\036\n\032PRIMITIVE_TYPE_UNSPECIFIED\020\000\022\n\n\006" + + "DOUBLE\020\001\022\n\n\006STRING\020\002\022\010\n\004BOOL\020\003\022\r\n\tTIMEST" + + "AMP\020\004B\013\n\ttype_declB\337\001\n$com.google.cloud." + + "datacatalog.v1beta1P\001ZFcloud.google.com/" + + "go/datacatalog/apiv1beta1/datacatalogpb;" + + "datacatalogpb\370\001\001\252\002 Google.Cloud.DataCata" + + "log.V1Beta1\312\002 Google\\Cloud\\DataCatalog\\V" + + "1beta1\352\002#Google::Cloud::DataCatalog::V1b" + + "eta1b\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.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1beta1_Tag_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1beta1_Tag_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_Tag_descriptor, + new java.lang.String[] { + "Name", "Template", "TemplateDisplayName", "Column", "Fields", "Scope", + }); + internal_static_google_cloud_datacatalog_v1beta1_Tag_FieldsEntry_descriptor = + internal_static_google_cloud_datacatalog_v1beta1_Tag_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datacatalog_v1beta1_Tag_FieldsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_Tag_FieldsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_datacatalog_v1beta1_TagField_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1beta1_TagField_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_TagField_descriptor, + new java.lang.String[] { + "DisplayName", + "DoubleValue", + "StringValue", + "BoolValue", + "TimestampValue", + "EnumValue", + "Order", + "Kind", + }); + internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_descriptor = + internal_static_google_cloud_datacatalog_v1beta1_TagField_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_descriptor, + new java.lang.String[] { + "DisplayName", + }); + internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_descriptor, + new java.lang.String[] { + "Name", "DisplayName", "Fields", + }); + internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_FieldsEntry_descriptor = + internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_FieldsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_FieldsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_descriptor, + new java.lang.String[] { + "Name", "DisplayName", "Type", "IsRequired", "Description", "Order", + }); + internal_static_google_cloud_datacatalog_v1beta1_FieldType_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_datacatalog_v1beta1_FieldType_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_FieldType_descriptor, + new java.lang.String[] { + "PrimitiveType", "EnumType", "TypeDecl", + }); + internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_descriptor = + internal_static_google_cloud_datacatalog_v1beta1_FieldType_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_descriptor, + new java.lang.String[] { + "AllowedValues", + }); + internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_descriptor = + internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_descriptor, + new java.lang.String[] { + "DisplayName", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Taxonomy.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Taxonomy.java similarity index 69% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Taxonomy.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Taxonomy.java index c60a86fc6376..7203cf07c93b 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Taxonomy.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Taxonomy.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/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * A taxonomy is a collection of policy tags that classify data along a common
  * axis. For instance a data *sensitivity* taxonomy could contain policy tags
@@ -14,15 +31,16 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.Taxonomy}
  */
-public final class Taxonomy extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Taxonomy extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.Taxonomy)
     TaxonomyOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Taxonomy.newBuilder() to construct.
   private Taxonomy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Taxonomy() {
     name_ = "";
     displayName_ = "";
@@ -32,34 +50,38 @@ private Taxonomy() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Taxonomy();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.Taxonomy.class, com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.Taxonomy.class,
+            com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Defines policy types where policy tag can be used for.
    * 
* * Protobuf enum {@code google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType} */ - public enum PolicyType - implements com.google.protobuf.ProtocolMessageEnum { + public enum PolicyType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified policy type.
      * 
@@ -68,6 +90,8 @@ public enum PolicyType */ POLICY_TYPE_UNSPECIFIED(0), /** + * + * *
      * Fine grained access control policy, which enables access control on
      * tagged resources.
@@ -80,6 +104,8 @@ public enum PolicyType
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified policy type.
      * 
@@ -88,6 +114,8 @@ public enum PolicyType */ public static final int POLICY_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Fine grained access control policy, which enables access control on
      * tagged resources.
@@ -97,7 +125,6 @@ public enum PolicyType
      */
     public static final int FINE_GRAINED_ACCESS_CONTROL_VALUE = 1;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -122,48 +149,47 @@ public static PolicyType valueOf(int value) {
      */
     public static PolicyType forNumber(int value) {
       switch (value) {
-        case 0: return POLICY_TYPE_UNSPECIFIED;
-        case 1: return FINE_GRAINED_ACCESS_CONTROL;
-        default: return null;
+        case 0:
+          return POLICY_TYPE_UNSPECIFIED;
+        case 1:
+          return FINE_GRAINED_ACCESS_CONTROL;
+        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<
-        PolicyType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public PolicyType findValueByNumber(int number) {
-              return PolicyType.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 PolicyType findValueByNumber(int number) {
+            return PolicyType.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.datacatalog.v1beta1.Taxonomy.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final PolicyType[] VALUES = values();
 
-    public static PolicyType valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static PolicyType 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;
@@ -180,65 +206,80 @@ private PolicyType(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType)
   }
 
-  public interface ServiceOrBuilder extends
+  public interface ServiceOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.Taxonomy.Service)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The Google Cloud service name.
      * 
* * .google.cloud.datacatalog.v1beta1.ManagingSystem name = 1; + * * @return The enum numeric value on the wire for name. */ int getNameValue(); /** + * + * *
      * The Google Cloud service name.
      * 
* * .google.cloud.datacatalog.v1beta1.ManagingSystem name = 1; + * * @return The name. */ com.google.cloud.datacatalog.v1beta1.ManagingSystem getName(); /** + * + * *
      * The service agent for the service.
      * 
* * string identity = 2; + * * @return The identity. */ java.lang.String getIdentity(); /** + * + * *
      * The service agent for the service.
      * 
* * string identity = 2; + * * @return The bytes for identity. */ - com.google.protobuf.ByteString - getIdentityBytes(); + com.google.protobuf.ByteString getIdentityBytes(); } /** + * + * *
    * The source system of the Taxonomy.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.Taxonomy.Service} */ - public static final class Service extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Service extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.Taxonomy.Service) ServiceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Service.newBuilder() to construct. private Service(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Service() { name_ = 0; identity_ = ""; @@ -246,59 +287,75 @@ private Service() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Service(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_Service_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto + .internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_Service_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_Service_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto + .internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_Service_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.class, com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.Builder.class); + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.class, + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private int name_ = 0; /** + * + * *
      * The Google Cloud service name.
      * 
* * .google.cloud.datacatalog.v1beta1.ManagingSystem name = 1; + * * @return The enum numeric value on the wire for name. */ - @java.lang.Override public int getNameValue() { + @java.lang.Override + public int getNameValue() { return name_; } /** + * + * *
      * The Google Cloud service name.
      * 
* * .google.cloud.datacatalog.v1beta1.ManagingSystem name = 1; + * * @return The name. */ - @java.lang.Override public com.google.cloud.datacatalog.v1beta1.ManagingSystem getName() { - com.google.cloud.datacatalog.v1beta1.ManagingSystem result = com.google.cloud.datacatalog.v1beta1.ManagingSystem.forNumber(name_); - return result == null ? com.google.cloud.datacatalog.v1beta1.ManagingSystem.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.ManagingSystem getName() { + com.google.cloud.datacatalog.v1beta1.ManagingSystem result = + com.google.cloud.datacatalog.v1beta1.ManagingSystem.forNumber(name_); + return result == null + ? com.google.cloud.datacatalog.v1beta1.ManagingSystem.UNRECOGNIZED + : result; } public static final int IDENTITY_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object identity_ = ""; /** + * + * *
      * The service agent for the service.
      * 
* * string identity = 2; + * * @return The identity. */ @java.lang.Override @@ -307,29 +364,29 @@ public java.lang.String getIdentity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); identity_ = s; return s; } } /** + * + * *
      * The service agent for the service.
      * 
* * string identity = 2; + * * @return The bytes for identity. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdentityBytes() { + public com.google.protobuf.ByteString getIdentityBytes() { java.lang.Object ref = identity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); identity_ = b; return b; } else { @@ -338,6 +395,7 @@ public java.lang.String getIdentity() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -349,9 +407,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (name_ != com.google.cloud.datacatalog.v1beta1.ManagingSystem.MANAGING_SYSTEM_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (name_ + != com.google.cloud.datacatalog.v1beta1.ManagingSystem.MANAGING_SYSTEM_UNSPECIFIED + .getNumber()) { output.writeEnum(1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(identity_)) { @@ -366,9 +425,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (name_ != com.google.cloud.datacatalog.v1beta1.ManagingSystem.MANAGING_SYSTEM_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, name_); + if (name_ + != com.google.cloud.datacatalog.v1beta1.ManagingSystem.MANAGING_SYSTEM_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(identity_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, identity_); @@ -381,16 +441,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.datacatalog.v1beta1.Taxonomy.Service)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.Taxonomy.Service other = (com.google.cloud.datacatalog.v1beta1.Taxonomy.Service) obj; + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service other = + (com.google.cloud.datacatalog.v1beta1.Taxonomy.Service) obj; if (name_ != other.name_) return false; - if (!getIdentity() - .equals(other.getIdentity())) return false; + if (!getIdentity().equals(other.getIdentity())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -412,89 +472,94 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.Taxonomy.Service prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -504,39 +569,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The source system of the Taxonomy.
      * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.Taxonomy.Service} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.Taxonomy.Service) com.google.cloud.datacatalog.v1beta1.Taxonomy.ServiceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_Service_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto + .internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_Service_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_Service_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto + .internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_Service_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.class, com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.Builder.class); + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.class, + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.Builder.class); } // Construct using com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -547,9 +614,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_Service_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto + .internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_Service_descriptor; } @java.lang.Override @@ -568,8 +635,11 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy.Service build() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.Taxonomy.Service buildPartial() { - com.google.cloud.datacatalog.v1beta1.Taxonomy.Service result = new com.google.cloud.datacatalog.v1beta1.Taxonomy.Service(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service result = + new com.google.cloud.datacatalog.v1beta1.Taxonomy.Service(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -588,38 +658,41 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.Taxonomy.Service public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1beta1.Taxonomy.Service) { - return mergeFrom((com.google.cloud.datacatalog.v1beta1.Taxonomy.Service)other); + return mergeFrom((com.google.cloud.datacatalog.v1beta1.Taxonomy.Service) other); } else { super.mergeFrom(other); return this; @@ -627,7 +700,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.Taxonomy.Service other) { - if (other == com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.getDefaultInstance()) return this; + if (other == com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.getDefaultInstance()) + return this; if (other.name_ != 0) { setNameValue(other.getNameValue()); } @@ -662,22 +736,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - name_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - identity_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + name_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + identity_ = 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) { @@ -687,26 +764,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int name_ = 0; /** + * + * *
        * The Google Cloud service name.
        * 
* * .google.cloud.datacatalog.v1beta1.ManagingSystem name = 1; + * * @return The enum numeric value on the wire for name. */ - @java.lang.Override public int getNameValue() { + @java.lang.Override + public int getNameValue() { return name_; } /** + * + * *
        * The Google Cloud service name.
        * 
* * .google.cloud.datacatalog.v1beta1.ManagingSystem name = 1; + * * @param value The enum numeric value on the wire for name to set. * @return This builder for chaining. */ @@ -717,24 +802,33 @@ public Builder setNameValue(int value) { return this; } /** + * + * *
        * The Google Cloud service name.
        * 
* * .google.cloud.datacatalog.v1beta1.ManagingSystem name = 1; + * * @return The name. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.ManagingSystem getName() { - com.google.cloud.datacatalog.v1beta1.ManagingSystem result = com.google.cloud.datacatalog.v1beta1.ManagingSystem.forNumber(name_); - return result == null ? com.google.cloud.datacatalog.v1beta1.ManagingSystem.UNRECOGNIZED : result; + com.google.cloud.datacatalog.v1beta1.ManagingSystem result = + com.google.cloud.datacatalog.v1beta1.ManagingSystem.forNumber(name_); + return result == null + ? com.google.cloud.datacatalog.v1beta1.ManagingSystem.UNRECOGNIZED + : result; } /** + * + * *
        * The Google Cloud service name.
        * 
* * .google.cloud.datacatalog.v1beta1.ManagingSystem name = 1; + * * @param value The name to set. * @return This builder for chaining. */ @@ -748,11 +842,14 @@ public Builder setName(com.google.cloud.datacatalog.v1beta1.ManagingSystem value return this; } /** + * + * *
        * The Google Cloud service name.
        * 
* * .google.cloud.datacatalog.v1beta1.ManagingSystem name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -764,18 +861,20 @@ public Builder clearName() { private java.lang.Object identity_ = ""; /** + * + * *
        * The service agent for the service.
        * 
* * string identity = 2; + * * @return The identity. */ public java.lang.String getIdentity() { java.lang.Object ref = identity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); identity_ = s; return s; @@ -784,20 +883,21 @@ public java.lang.String getIdentity() { } } /** + * + * *
        * The service agent for the service.
        * 
* * string identity = 2; + * * @return The bytes for identity. */ - public com.google.protobuf.ByteString - getIdentityBytes() { + public com.google.protobuf.ByteString getIdentityBytes() { java.lang.Object ref = identity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); identity_ = b; return b; } else { @@ -805,28 +905,35 @@ public java.lang.String getIdentity() { } } /** + * + * *
        * The service agent for the service.
        * 
* * string identity = 2; + * * @param value The identity to set. * @return This builder for chaining. */ - public Builder setIdentity( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIdentity(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } identity_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * The service agent for the service.
        * 
* * string identity = 2; + * * @return This builder for chaining. */ public Builder clearIdentity() { @@ -836,23 +943,28 @@ public Builder clearIdentity() { return this; } /** + * + * *
        * The service agent for the service.
        * 
* * string identity = 2; + * * @param value The bytes for identity to set. * @return This builder for chaining. */ - public Builder setIdentityBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIdentityBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); identity_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -865,12 +977,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.Taxonomy.Service) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.Taxonomy.Service) private static final com.google.cloud.datacatalog.v1beta1.Taxonomy.Service DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.Taxonomy.Service(); } @@ -879,27 +991,28 @@ public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Service parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Service parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -914,19 +1027,22 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.Taxonomy.Service getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Resource name of this taxonomy, whose format is:
    * "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -935,30 +1051,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. Resource name of this taxonomy, whose format is:
    * "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
    * 
* * 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 { @@ -967,9 +1083,12 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Required. User defined name of this taxonomy. It must: contain only unicode
    * letters, numbers, underscores, dashes and spaces; not start or end with
@@ -979,6 +1098,7 @@ public java.lang.String getName() {
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -987,14 +1107,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; } } /** + * + * *
    * Required. User defined name of this taxonomy. It must: contain only unicode
    * letters, numbers, underscores, dashes and spaces; not start or end with
@@ -1004,16 +1125,15 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -1022,9 +1142,12 @@ public java.lang.String getDisplayName() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. Description of this taxonomy. It must: contain only unicode
    * characters, tabs, newlines, carriage returns and page breaks; and be at
@@ -1033,6 +1156,7 @@ public java.lang.String getDisplayName() {
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -1041,14 +1165,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 this taxonomy. It must: contain only unicode
    * characters, tabs, newlines, carriage returns and page breaks; and be at
@@ -1057,16 +1182,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 { @@ -1077,11 +1201,14 @@ public java.lang.String getDescription() { public static final int POLICY_TAG_COUNT_FIELD_NUMBER = 4; private int policyTagCount_ = 0; /** + * + * *
    * Output only. Number of policy tags contained in this taxonomy.
    * 
* * int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The policyTagCount. */ @java.lang.Override @@ -1092,12 +1219,17 @@ public int getPolicyTagCount() { public static final int TAXONOMY_TIMESTAMPS_FIELD_NUMBER = 5; private com.google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomyTimestamps_; /** + * + * *
    * Output only. Timestamps about this taxonomy. Only create_time and
    * update_time are used.
    * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the taxonomyTimestamps field is set. */ @java.lang.Override @@ -1105,64 +1237,97 @@ public boolean hasTaxonomyTimestamps() { return taxonomyTimestamps_ != null; } /** + * + * *
    * Output only. Timestamps about this taxonomy. Only create_time and
    * update_time are used.
    * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The taxonomyTimestamps. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getTaxonomyTimestamps() { - return taxonomyTimestamps_ == null ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() : taxonomyTimestamps_; + return taxonomyTimestamps_ == null + ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() + : taxonomyTimestamps_; } /** + * + * *
    * Output only. Timestamps about this taxonomy. Only create_time and
    * update_time are used.
    * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder getTaxonomyTimestampsOrBuilder() { - return taxonomyTimestamps_ == null ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() : taxonomyTimestamps_; + public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder + getTaxonomyTimestampsOrBuilder() { + return taxonomyTimestamps_ == null + ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() + : taxonomyTimestamps_; } public static final int ACTIVATED_POLICY_TYPES_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private java.util.List activatedPolicyTypes_; + private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType> activatedPolicyTypes_converter_ = + java.lang.Integer, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType> + activatedPolicyTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType>() { - public com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType convert(java.lang.Integer from) { - com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType result = com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType.forNumber(from); - return result == null ? com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType.UNRECOGNIZED : result; + public com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType convert( + java.lang.Integer from) { + com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType result = + com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType.forNumber(from); + return result == null + ? com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType.UNRECOGNIZED + : result; } }; /** + * + * *
    * Optional. A list of policy types that are activated for this taxonomy. If
    * not set, defaults to an empty list.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the activatedPolicyTypes. */ @java.lang.Override - public java.util.List getActivatedPolicyTypesList() { + public java.util.List + getActivatedPolicyTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType>(activatedPolicyTypes_, activatedPolicyTypes_converter_); + java.lang.Integer, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType>( + activatedPolicyTypes_, activatedPolicyTypes_converter_); } /** + * + * *
    * Optional. A list of policy types that are activated for this taxonomy. If
    * not set, defaults to an empty list.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of activatedPolicyTypes. */ @java.lang.Override @@ -1170,40 +1335,55 @@ public int getActivatedPolicyTypesCount() { return activatedPolicyTypes_.size(); } /** + * + * *
    * Optional. A list of policy types that are activated for this taxonomy. If
    * not set, defaults to an empty list.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The activatedPolicyTypes at the given index. */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType getActivatedPolicyTypes(int index) { + public com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType getActivatedPolicyTypes( + int index) { return activatedPolicyTypes_converter_.convert(activatedPolicyTypes_.get(index)); } /** + * + * *
    * Optional. A list of policy types that are activated for this taxonomy. If
    * not set, defaults to an empty list.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the enum numeric values on the wire for activatedPolicyTypes. */ @java.lang.Override - public java.util.List - getActivatedPolicyTypesValueList() { + public java.util.List getActivatedPolicyTypesValueList() { return activatedPolicyTypes_; } /** + * + * *
    * Optional. A list of policy types that are activated for this taxonomy. If
    * not set, defaults to an empty list.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of activatedPolicyTypes at the given index. */ @@ -1211,18 +1391,24 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType getActivatedPoli public int getActivatedPolicyTypesValue(int index) { return activatedPolicyTypes_.get(index); } + private int activatedPolicyTypesMemoizedSerializedSize; public static final int SERVICE_FIELD_NUMBER = 7; private com.google.cloud.datacatalog.v1beta1.Taxonomy.Service service_; /** + * + * *
    * Output only. Identity of the service which owns the Taxonomy. This field is
    * only populated when the taxonomy is created by a Google Cloud service.
    * Currently only 'DATAPLEX' is supported.
    * 
* - * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the service field is set. */ @java.lang.Override @@ -1230,34 +1416,48 @@ public boolean hasService() { return service_ != null; } /** + * + * *
    * Output only. Identity of the service which owns the Taxonomy. This field is
    * only populated when the taxonomy is created by a Google Cloud service.
    * Currently only 'DATAPLEX' is supported.
    * 
* - * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The service. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.Taxonomy.Service getService() { - return service_ == null ? com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.getDefaultInstance() : service_; + return service_ == null + ? com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.getDefaultInstance() + : service_; } /** + * + * *
    * Output only. Identity of the service which owns the Taxonomy. This field is
    * only populated when the taxonomy is created by a Google Cloud service.
    * Currently only 'DATAPLEX' is supported.
    * 
* - * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.Taxonomy.ServiceOrBuilder getServiceOrBuilder() { - return service_ == null ? com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.getDefaultInstance() : service_; + return service_ == null + ? com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.getDefaultInstance() + : service_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1269,8 +1469,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -1316,28 +1515,27 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } if (policyTagCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, policyTagCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, policyTagCount_); } if (taxonomyTimestamps_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getTaxonomyTimestamps()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getTaxonomyTimestamps()); } { int dataSize = 0; for (int i = 0; i < activatedPolicyTypes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(activatedPolicyTypes_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag( + activatedPolicyTypes_.get(i)); } size += dataSize; - if (!getActivatedPolicyTypesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }activatedPolicyTypesMemoizedSerializedSize = dataSize; + if (!getActivatedPolicyTypesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + activatedPolicyTypesMemoizedSerializedSize = dataSize; } if (service_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getService()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getService()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1347,31 +1545,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.datacatalog.v1beta1.Taxonomy)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.Taxonomy other = (com.google.cloud.datacatalog.v1beta1.Taxonomy) obj; + com.google.cloud.datacatalog.v1beta1.Taxonomy other = + (com.google.cloud.datacatalog.v1beta1.Taxonomy) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (getPolicyTagCount() - != other.getPolicyTagCount()) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (getPolicyTagCount() != other.getPolicyTagCount()) return false; if (hasTaxonomyTimestamps() != other.hasTaxonomyTimestamps()) return false; if (hasTaxonomyTimestamps()) { - if (!getTaxonomyTimestamps() - .equals(other.getTaxonomyTimestamps())) return false; + if (!getTaxonomyTimestamps().equals(other.getTaxonomyTimestamps())) return false; } if (!activatedPolicyTypes_.equals(other.activatedPolicyTypes_)) return false; if (hasService() != other.hasService()) return false; if (hasService()) { - if (!getService() - .equals(other.getService())) return false; + if (!getService().equals(other.getService())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1409,99 +1602,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1beta1.Taxonomy parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1beta1.Taxonomy parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.Taxonomy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.Taxonomy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.Taxonomy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.Taxonomy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.Taxonomy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.Taxonomy parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.Taxonomy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.Taxonomy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.Taxonomy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.Taxonomy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.Taxonomy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.Taxonomy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.Taxonomy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 taxonomy is a collection of policy tags that classify data along a common
    * axis. For instance a data *sensitivity* taxonomy could contain policy tags
@@ -1512,33 +1710,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.Taxonomy}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.Taxonomy)
       com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.Taxonomy.class, com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.Taxonomy.class,
+              com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.Taxonomy.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1563,9 +1760,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_descriptor;
     }
 
     @java.lang.Override
@@ -1584,9 +1781,12 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.Taxonomy buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.Taxonomy result = new com.google.cloud.datacatalog.v1beta1.Taxonomy(this);
+      com.google.cloud.datacatalog.v1beta1.Taxonomy result =
+          new com.google.cloud.datacatalog.v1beta1.Taxonomy(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -1614,14 +1814,13 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.Taxonomy result)
         result.policyTagCount_ = policyTagCount_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.taxonomyTimestamps_ = taxonomyTimestampsBuilder_ == null
-            ? taxonomyTimestamps_
-            : taxonomyTimestampsBuilder_.build();
+        result.taxonomyTimestamps_ =
+            taxonomyTimestampsBuilder_ == null
+                ? taxonomyTimestamps_
+                : taxonomyTimestampsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.service_ = serviceBuilder_ == null
-            ? service_
-            : serviceBuilder_.build();
+        result.service_ = serviceBuilder_ == null ? service_ : serviceBuilder_.build();
       }
     }
 
@@ -1629,38 +1828,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.Taxonomy result)
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.Taxonomy) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.Taxonomy)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.Taxonomy) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1729,63 +1929,69 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 32: {
-              policyTagCount_ = input.readInt32();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            case 42: {
-              input.readMessage(
-                  getTaxonomyTimestampsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 48: {
-              int tmpRaw = input.readEnum();
-              ensureActivatedPolicyTypesIsMutable();
-              activatedPolicyTypes_.add(tmpRaw);
-              break;
-            } // case 48
-            case 50: {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while(input.getBytesUntilLimit() > 0) {
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 32:
+              {
+                policyTagCount_ = input.readInt32();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+            case 42:
+              {
+                input.readMessage(
+                    getTaxonomyTimestampsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 48:
+              {
                 int tmpRaw = input.readEnum();
                 ensureActivatedPolicyTypesIsMutable();
                 activatedPolicyTypes_.add(tmpRaw);
-              }
-              input.popLimit(oldLimit);
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getServiceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 58
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 48
+            case 50:
+              {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while (input.getBytesUntilLimit() > 0) {
+                  int tmpRaw = input.readEnum();
+                  ensureActivatedPolicyTypesIsMutable();
+                  activatedPolicyTypes_.add(tmpRaw);
+                }
+                input.popLimit(oldLimit);
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getServiceFieldBuilder().getBuilder(), extensionRegistry);
+                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) {
@@ -1795,23 +2001,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. Resource name of this taxonomy, whose format is:
      * "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
      * 
* * 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; @@ -1820,21 +2029,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this taxonomy, whose format is:
      * "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
      * 
* * 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 { @@ -1842,30 +2052,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this taxonomy, whose format is:
      * "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
      * 
* * 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. Resource name of this taxonomy, whose format is:
      * "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1875,18 +2092,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name of this taxonomy, whose format is:
      * "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
      * 
* * 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; @@ -1896,6 +2117,8 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Required. User defined name of this taxonomy. It must: contain only unicode
      * letters, numbers, underscores, dashes and spaces; not start or end with
@@ -1905,13 +2128,13 @@ public Builder setNameBytes(
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -1920,6 +2143,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. User defined name of this taxonomy. It must: contain only unicode
      * letters, numbers, underscores, dashes and spaces; not start or end with
@@ -1929,15 +2154,14 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -1945,6 +2169,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. User defined name of this taxonomy. It must: contain only unicode
      * letters, numbers, underscores, dashes and spaces; not start or end with
@@ -1954,18 +2180,22 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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; } /** + * + * *
      * Required. User defined name of this taxonomy. It must: contain only unicode
      * letters, numbers, underscores, dashes and spaces; not start or end with
@@ -1975,6 +2205,7 @@ public Builder setDisplayName(
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1984,6 +2215,8 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Required. User defined name of this taxonomy. It must: contain only unicode
      * letters, numbers, underscores, dashes and spaces; not start or end with
@@ -1993,12 +2226,14 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -2008,6 +2243,8 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description of this taxonomy. It must: contain only unicode
      * characters, tabs, newlines, carriage returns and page breaks; and be at
@@ -2016,13 +2253,13 @@ public Builder setDisplayNameBytes(
      * 
* * 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; @@ -2031,6 +2268,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of this taxonomy. It must: contain only unicode
      * characters, tabs, newlines, carriage returns and page breaks; and be at
@@ -2039,15 +2278,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 { @@ -2055,6 +2293,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of this taxonomy. It must: contain only unicode
      * characters, tabs, newlines, carriage returns and page breaks; and be at
@@ -2063,18 +2303,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 this taxonomy. It must: contain only unicode
      * characters, tabs, newlines, carriage returns and page breaks; and be at
@@ -2083,6 +2327,7 @@ public Builder setDescription(
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2092,6 +2337,8 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. Description of this taxonomy. It must: contain only unicode
      * characters, tabs, newlines, carriage returns and page breaks; and be at
@@ -2100,12 +2347,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; @@ -2113,13 +2362,16 @@ public Builder setDescriptionBytes( return this; } - private int policyTagCount_ ; + private int policyTagCount_; /** + * + * *
      * Output only. Number of policy tags contained in this taxonomy.
      * 
* * int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The policyTagCount. */ @java.lang.Override @@ -2127,11 +2379,14 @@ public int getPolicyTagCount() { return policyTagCount_; } /** + * + * *
      * Output only. Number of policy tags contained in this taxonomy.
      * 
* * int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The policyTagCount to set. * @return This builder for chaining. */ @@ -2143,11 +2398,14 @@ public Builder setPolicyTagCount(int value) { return this; } /** + * + * *
      * Output only. Number of policy tags contained in this taxonomy.
      * 
* * int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPolicyTagCount() { @@ -2159,44 +2417,64 @@ public Builder clearPolicyTagCount() { private com.google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomyTimestamps_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SystemTimestamps, com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder> taxonomyTimestampsBuilder_; + com.google.cloud.datacatalog.v1beta1.SystemTimestamps, + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, + com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder> + taxonomyTimestampsBuilder_; /** + * + * *
      * Output only. Timestamps about this taxonomy. Only create_time and
      * update_time are used.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the taxonomyTimestamps field is set. */ public boolean hasTaxonomyTimestamps() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Output only. Timestamps about this taxonomy. Only create_time and
      * update_time are used.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The taxonomyTimestamps. */ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getTaxonomyTimestamps() { if (taxonomyTimestampsBuilder_ == null) { - return taxonomyTimestamps_ == null ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() : taxonomyTimestamps_; + return taxonomyTimestamps_ == null + ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() + : taxonomyTimestamps_; } else { return taxonomyTimestampsBuilder_.getMessage(); } } /** + * + * *
      * Output only. Timestamps about this taxonomy. Only create_time and
      * update_time are used.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setTaxonomyTimestamps(com.google.cloud.datacatalog.v1beta1.SystemTimestamps value) { + public Builder setTaxonomyTimestamps( + com.google.cloud.datacatalog.v1beta1.SystemTimestamps value) { if (taxonomyTimestampsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2210,12 +2488,16 @@ public Builder setTaxonomyTimestamps(com.google.cloud.datacatalog.v1beta1.System return this; } /** + * + * *
      * Output only. Timestamps about this taxonomy. Only create_time and
      * update_time are used.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTaxonomyTimestamps( com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder builderForValue) { @@ -2229,18 +2511,24 @@ public Builder setTaxonomyTimestamps( return this; } /** + * + * *
      * Output only. Timestamps about this taxonomy. Only create_time and
      * update_time are used.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeTaxonomyTimestamps(com.google.cloud.datacatalog.v1beta1.SystemTimestamps value) { + public Builder mergeTaxonomyTimestamps( + com.google.cloud.datacatalog.v1beta1.SystemTimestamps value) { if (taxonomyTimestampsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - taxonomyTimestamps_ != null && - taxonomyTimestamps_ != com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && taxonomyTimestamps_ != null + && taxonomyTimestamps_ + != com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance()) { getTaxonomyTimestampsBuilder().mergeFrom(value); } else { taxonomyTimestamps_ = value; @@ -2253,12 +2541,16 @@ public Builder mergeTaxonomyTimestamps(com.google.cloud.datacatalog.v1beta1.Syst return this; } /** + * + * *
      * Output only. Timestamps about this taxonomy. Only create_time and
      * update_time are used.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearTaxonomyTimestamps() { bitField0_ = (bitField0_ & ~0x00000010); @@ -2271,58 +2563,77 @@ public Builder clearTaxonomyTimestamps() { return this; } /** + * + * *
      * Output only. Timestamps about this taxonomy. Only create_time and
      * update_time are used.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder getTaxonomyTimestampsBuilder() { + public com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder + getTaxonomyTimestampsBuilder() { bitField0_ |= 0x00000010; onChanged(); return getTaxonomyTimestampsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Timestamps about this taxonomy. Only create_time and
      * update_time are used.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder getTaxonomyTimestampsOrBuilder() { + public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder + getTaxonomyTimestampsOrBuilder() { if (taxonomyTimestampsBuilder_ != null) { return taxonomyTimestampsBuilder_.getMessageOrBuilder(); } else { - return taxonomyTimestamps_ == null ? - com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() : taxonomyTimestamps_; + return taxonomyTimestamps_ == null + ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() + : taxonomyTimestamps_; } } /** + * + * *
      * Output only. Timestamps about this taxonomy. Only create_time and
      * update_time are used.
      * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SystemTimestamps, com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder> + com.google.cloud.datacatalog.v1beta1.SystemTimestamps, + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, + com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder> getTaxonomyTimestampsFieldBuilder() { if (taxonomyTimestampsBuilder_ == null) { - taxonomyTimestampsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.SystemTimestamps, com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder>( - getTaxonomyTimestamps(), - getParentForChildren(), - isClean()); + taxonomyTimestampsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.SystemTimestamps, + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, + com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder>( + getTaxonomyTimestamps(), getParentForChildren(), isClean()); taxonomyTimestamps_ = null; } return taxonomyTimestampsBuilder_; } private java.util.List activatedPolicyTypes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureActivatedPolicyTypesIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { activatedPolicyTypes_ = new java.util.ArrayList(activatedPolicyTypes_); @@ -2330,50 +2641,73 @@ private void ensureActivatedPolicyTypesIsMutable() { } } /** + * + * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the activatedPolicyTypes. */ - public java.util.List getActivatedPolicyTypesList() { + public java.util.List + getActivatedPolicyTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType>(activatedPolicyTypes_, activatedPolicyTypes_converter_); + java.lang.Integer, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType>( + activatedPolicyTypes_, activatedPolicyTypes_converter_); } /** + * + * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of activatedPolicyTypes. */ public int getActivatedPolicyTypesCount() { return activatedPolicyTypes_.size(); } /** + * + * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The activatedPolicyTypes at the given index. */ - public com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType getActivatedPolicyTypes(int index) { + public com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType getActivatedPolicyTypes( + int index) { return activatedPolicyTypes_converter_.convert(activatedPolicyTypes_.get(index)); } /** + * + * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The activatedPolicyTypes to set. * @return This builder for chaining. @@ -2389,16 +2723,22 @@ public Builder setActivatedPolicyTypes( return this; } /** + * + * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The activatedPolicyTypes to add. * @return This builder for chaining. */ - public Builder addActivatedPolicyTypes(com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType value) { + public Builder addActivatedPolicyTypes( + com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType value) { if (value == null) { throw new NullPointerException(); } @@ -2408,17 +2748,23 @@ public Builder addActivatedPolicyTypes(com.google.cloud.datacatalog.v1beta1.Taxo return this; } /** + * + * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The activatedPolicyTypes to add. * @return This builder for chaining. */ public Builder addAllActivatedPolicyTypes( - java.lang.Iterable values) { + java.lang.Iterable + values) { ensureActivatedPolicyTypesIsMutable(); for (com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType value : values) { activatedPolicyTypes_.add(value.getNumber()); @@ -2427,12 +2773,17 @@ public Builder addAllActivatedPolicyTypes( return this; } /** + * + * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearActivatedPolicyTypes() { @@ -2442,25 +2793,34 @@ public Builder clearActivatedPolicyTypes() { return this; } /** + * + * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the enum numeric values on the wire for activatedPolicyTypes. */ - public java.util.List - getActivatedPolicyTypesValueList() { + public java.util.List getActivatedPolicyTypesValueList() { return java.util.Collections.unmodifiableList(activatedPolicyTypes_); } /** + * + * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of activatedPolicyTypes at the given index. */ @@ -2468,30 +2828,39 @@ public int getActivatedPolicyTypesValue(int index) { return activatedPolicyTypes_.get(index); } /** + * + * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for activatedPolicyTypes to set. * @return This builder for chaining. */ - public Builder setActivatedPolicyTypesValue( - int index, int value) { + public Builder setActivatedPolicyTypesValue(int index, int value) { ensureActivatedPolicyTypesIsMutable(); activatedPolicyTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for activatedPolicyTypes to add. * @return This builder for chaining. */ @@ -2502,17 +2871,21 @@ public Builder addActivatedPolicyTypesValue(int value) { return this; } /** + * + * *
      * Optional. A list of policy types that are activated for this taxonomy. If
      * not set, defaults to an empty list.
      * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The enum numeric values on the wire for activatedPolicyTypes to add. * @return This builder for chaining. */ - public Builder addAllActivatedPolicyTypesValue( - java.lang.Iterable values) { + public Builder addAllActivatedPolicyTypesValue(java.lang.Iterable values) { ensureActivatedPolicyTypesIsMutable(); for (int value : values) { activatedPolicyTypes_.add(value); @@ -2523,45 +2896,64 @@ public Builder addAllActivatedPolicyTypesValue( private com.google.cloud.datacatalog.v1beta1.Taxonomy.Service service_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Taxonomy.Service, com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.Builder, com.google.cloud.datacatalog.v1beta1.Taxonomy.ServiceOrBuilder> serviceBuilder_; + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service, + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.Builder, + com.google.cloud.datacatalog.v1beta1.Taxonomy.ServiceOrBuilder> + serviceBuilder_; /** + * + * *
      * Output only. Identity of the service which owns the Taxonomy. This field is
      * only populated when the taxonomy is created by a Google Cloud service.
      * Currently only 'DATAPLEX' is supported.
      * 
* - * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the service field is set. */ public boolean hasService() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Output only. Identity of the service which owns the Taxonomy. This field is
      * only populated when the taxonomy is created by a Google Cloud service.
      * Currently only 'DATAPLEX' is supported.
      * 
* - * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The service. */ public com.google.cloud.datacatalog.v1beta1.Taxonomy.Service getService() { if (serviceBuilder_ == null) { - return service_ == null ? com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.getDefaultInstance() : service_; + return service_ == null + ? com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.getDefaultInstance() + : service_; } else { return serviceBuilder_.getMessage(); } } /** + * + * *
      * Output only. Identity of the service which owns the Taxonomy. This field is
      * only populated when the taxonomy is created by a Google Cloud service.
      * Currently only 'DATAPLEX' is supported.
      * 
* - * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setService(com.google.cloud.datacatalog.v1beta1.Taxonomy.Service value) { if (serviceBuilder_ == null) { @@ -2577,13 +2969,17 @@ public Builder setService(com.google.cloud.datacatalog.v1beta1.Taxonomy.Service return this; } /** + * + * *
      * Output only. Identity of the service which owns the Taxonomy. This field is
      * only populated when the taxonomy is created by a Google Cloud service.
      * Currently only 'DATAPLEX' is supported.
      * 
* - * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setService( com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.Builder builderForValue) { @@ -2597,19 +2993,24 @@ public Builder setService( return this; } /** + * + * *
      * Output only. Identity of the service which owns the Taxonomy. This field is
      * only populated when the taxonomy is created by a Google Cloud service.
      * Currently only 'DATAPLEX' is supported.
      * 
* - * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeService(com.google.cloud.datacatalog.v1beta1.Taxonomy.Service value) { if (serviceBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - service_ != null && - service_ != com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && service_ != null + && service_ + != com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.getDefaultInstance()) { getServiceBuilder().mergeFrom(value); } else { service_ = value; @@ -2622,13 +3023,17 @@ public Builder mergeService(com.google.cloud.datacatalog.v1beta1.Taxonomy.Servic return this; } /** + * + * *
      * Output only. Identity of the service which owns the Taxonomy. This field is
      * only populated when the taxonomy is created by a Google Cloud service.
      * Currently only 'DATAPLEX' is supported.
      * 
* - * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearService() { bitField0_ = (bitField0_ & ~0x00000040); @@ -2641,13 +3046,17 @@ public Builder clearService() { return this; } /** + * + * *
      * Output only. Identity of the service which owns the Taxonomy. This field is
      * only populated when the taxonomy is created by a Google Cloud service.
      * Currently only 'DATAPLEX' is supported.
      * 
* - * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.Builder getServiceBuilder() { bitField0_ |= 0x00000040; @@ -2655,47 +3064,59 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.Builder getServiceB return getServiceFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Identity of the service which owns the Taxonomy. This field is
      * only populated when the taxonomy is created by a Google Cloud service.
      * Currently only 'DATAPLEX' is supported.
      * 
* - * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.datacatalog.v1beta1.Taxonomy.ServiceOrBuilder getServiceOrBuilder() { if (serviceBuilder_ != null) { return serviceBuilder_.getMessageOrBuilder(); } else { - return service_ == null ? - com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.getDefaultInstance() : service_; + return service_ == null + ? com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.getDefaultInstance() + : service_; } } /** + * + * *
      * Output only. Identity of the service which owns the Taxonomy. This field is
      * only populated when the taxonomy is created by a Google Cloud service.
      * Currently only 'DATAPLEX' is supported.
      * 
* - * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Taxonomy.Service, com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.Builder, com.google.cloud.datacatalog.v1beta1.Taxonomy.ServiceOrBuilder> + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service, + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.Builder, + com.google.cloud.datacatalog.v1beta1.Taxonomy.ServiceOrBuilder> getServiceFieldBuilder() { if (serviceBuilder_ == null) { - serviceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Taxonomy.Service, com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.Builder, com.google.cloud.datacatalog.v1beta1.Taxonomy.ServiceOrBuilder>( - getService(), - getParentForChildren(), - isClean()); + serviceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service, + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.Builder, + com.google.cloud.datacatalog.v1beta1.Taxonomy.ServiceOrBuilder>( + getService(), getParentForChildren(), isClean()); service_ = null; } return serviceBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2705,12 +3126,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.Taxonomy) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.Taxonomy) private static final com.google.cloud.datacatalog.v1beta1.Taxonomy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.Taxonomy(); } @@ -2719,27 +3140,27 @@ public static com.google.cloud.datacatalog.v1beta1.Taxonomy getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Taxonomy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Taxonomy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2754,6 +3175,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.Taxonomy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TaxonomyName.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TaxonomyName.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TaxonomyName.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TaxonomyName.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TaxonomyOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TaxonomyOrBuilder.java similarity index 68% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TaxonomyOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TaxonomyOrBuilder.java index 99e799d3ce2b..9260e6a17a2f 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TaxonomyOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TaxonomyOrBuilder.java @@ -1,35 +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/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; -public interface TaxonomyOrBuilder extends +public interface TaxonomyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.Taxonomy) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name of this taxonomy, whose format is:
    * "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name of this taxonomy, whose format is:
    * "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. User defined name of this taxonomy. It must: contain only unicode
    * letters, numbers, underscores, dashes and spaces; not start or end with
@@ -39,10 +62,13 @@ public interface TaxonomyOrBuilder extends
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. User defined name of this taxonomy. It must: contain only unicode
    * letters, numbers, underscores, dashes and spaces; not start or end with
@@ -52,12 +78,14 @@ public interface TaxonomyOrBuilder extends
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Optional. Description of this taxonomy. It must: contain only unicode
    * characters, tabs, newlines, carriage returns and page breaks; and be at
@@ -66,10 +94,13 @@ public interface TaxonomyOrBuilder extends
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. Description of this taxonomy. It must: contain only unicode
    * characters, tabs, newlines, carriage returns and page breaks; and be at
@@ -78,135 +109,191 @@ public interface TaxonomyOrBuilder extends
    * 
* * 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. Number of policy tags contained in this taxonomy.
    * 
* * int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The policyTagCount. */ int getPolicyTagCount(); /** + * + * *
    * Output only. Timestamps about this taxonomy. Only create_time and
    * update_time are used.
    * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the taxonomyTimestamps field is set. */ boolean hasTaxonomyTimestamps(); /** + * + * *
    * Output only. Timestamps about this taxonomy. Only create_time and
    * update_time are used.
    * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The taxonomyTimestamps. */ com.google.cloud.datacatalog.v1beta1.SystemTimestamps getTaxonomyTimestamps(); /** + * + * *
    * Output only. Timestamps about this taxonomy. Only create_time and
    * update_time are used.
    * 
* - * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder getTaxonomyTimestampsOrBuilder(); /** + * + * *
    * Optional. A list of policy types that are activated for this taxonomy. If
    * not set, defaults to an empty list.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the activatedPolicyTypes. */ - java.util.List getActivatedPolicyTypesList(); + java.util.List + getActivatedPolicyTypesList(); /** + * + * *
    * Optional. A list of policy types that are activated for this taxonomy. If
    * not set, defaults to an empty list.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of activatedPolicyTypes. */ int getActivatedPolicyTypesCount(); /** + * + * *
    * Optional. A list of policy types that are activated for this taxonomy. If
    * not set, defaults to an empty list.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The activatedPolicyTypes at the given index. */ com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType getActivatedPolicyTypes(int index); /** + * + * *
    * Optional. A list of policy types that are activated for this taxonomy. If
    * not set, defaults to an empty list.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the enum numeric values on the wire for activatedPolicyTypes. */ - java.util.List - getActivatedPolicyTypesValueList(); + java.util.List getActivatedPolicyTypesValueList(); /** + * + * *
    * Optional. A list of policy types that are activated for this taxonomy. If
    * not set, defaults to an empty list.
    * 
* - * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of activatedPolicyTypes at the given index. */ int getActivatedPolicyTypesValue(int index); /** + * + * *
    * Output only. Identity of the service which owns the Taxonomy. This field is
    * only populated when the taxonomy is created by a Google Cloud service.
    * Currently only 'DATAPLEX' is supported.
    * 
* - * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the service field is set. */ boolean hasService(); /** + * + * *
    * Output only. Identity of the service which owns the Taxonomy. This field is
    * only populated when the taxonomy is created by a Google Cloud service.
    * Currently only 'DATAPLEX' is supported.
    * 
* - * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The service. */ com.google.cloud.datacatalog.v1beta1.Taxonomy.Service getService(); /** + * + * *
    * Output only. Identity of the service which owns the Taxonomy. This field is
    * only populated when the taxonomy is created by a Google Cloud service.
    * Currently only 'DATAPLEX' is supported.
    * 
* - * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.datacatalog.v1beta1.Taxonomy.ServiceOrBuilder getServiceOrBuilder(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Timestamps.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Timestamps.java new file mode 100644 index 000000000000..17f609ec2f57 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Timestamps.java @@ -0,0 +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/datacatalog/v1beta1/timestamps.proto + +package com.google.cloud.datacatalog.v1beta1; + +public final class Timestamps { + private Timestamps() {} + + 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_datacatalog_v1beta1_SystemTimestamps_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n1google/cloud/datacatalog/v1beta1/times" + + "tamps.proto\022 google.cloud.datacatalog.v1" + + "beta1\032\037google/api/field_behavior.proto\032\037" + + "google/protobuf/timestamp.proto\"\253\001\n\020Syst" + + "emTimestamps\022/\n\013create_time\030\001 \001(\0132\032.goog" + + "le.protobuf.Timestamp\022/\n\013update_time\030\002 \001" + + "(\0132\032.google.protobuf.Timestamp\0225\n\013expire" + + "_time\030\003 \001(\0132\032.google.protobuf.TimestampB" + + "\004\342A\001\003B\337\001\n$com.google.cloud.datacatalog.v" + + "1beta1P\001ZFcloud.google.com/go/datacatalo" + + "g/apiv1beta1/datacatalogpb;datacatalogpb" + + "\370\001\001\252\002 Google.Cloud.DataCatalog.V1Beta1\312\002" + + " Google\\Cloud\\DataCatalog\\V1beta1\352\002#Goog" + + "le::Cloud::DataCatalog::V1beta1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_descriptor, + new java.lang.String[] { + "CreateTime", "UpdateTime", "ExpireTime", + }); + 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.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequest.java similarity index 65% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequest.java index e7918a5d70a0..c2552a741ba3 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequest.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Request message for
  * [UpdateEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateEntryGroup].
@@ -11,46 +28,52 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest}
  */
-public final class UpdateEntryGroupRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpdateEntryGroupRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest)
     UpdateEntryGroupRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpdateEntryGroupRequest.newBuilder() to construct.
   private UpdateEntryGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private UpdateEntryGroupRequest() {
-  }
+
+  private UpdateEntryGroupRequest() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdateEntryGroupRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.class, com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.class,
+            com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.Builder.class);
   }
 
   public static final int ENTRY_GROUP_FIELD_NUMBER = 1;
   private com.google.cloud.datacatalog.v1beta1.EntryGroup entryGroup_;
   /**
+   *
+   *
    * 
    * Required. The updated entry group. "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the entryGroup field is set. */ @java.lang.Override @@ -58,32 +81,47 @@ public boolean hasEntryGroup() { return entryGroup_ != null; } /** + * + * *
    * Required. The updated entry group. "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The entryGroup. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroup() { - return entryGroup_ == null ? com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance() : entryGroup_; + return entryGroup_ == null + ? com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance() + : entryGroup_; } /** + * + * *
    * Required. The updated entry group. "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupOrBuilder() { - return entryGroup_ == null ? com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance() : entryGroup_; + return entryGroup_ == null + ? com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance() + : entryGroup_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Names of fields whose values to overwrite on an entry group.
    *
@@ -93,6 +131,7 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupOrB
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -100,6 +139,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Names of fields whose values to overwrite on an entry group.
    *
@@ -109,6 +150,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -116,6 +158,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Names of fields whose values to overwrite on an entry group.
    *
@@ -132,6 +176,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -143,8 +188,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (entryGroup_ != null) {
       output.writeMessage(1, getEntryGroup());
     }
@@ -161,12 +205,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (entryGroup_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getEntryGroup());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntryGroup());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -176,22 +218,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.datacatalog.v1beta1.UpdateEntryGroupRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest other = (com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest) obj;
+    com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest other =
+        (com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest) obj;
 
     if (hasEntryGroup() != other.hasEntryGroup()) return false;
     if (hasEntryGroup()) {
-      if (!getEntryGroup()
-          .equals(other.getEntryGroup())) return false;
+      if (!getEntryGroup().equals(other.getEntryGroup())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -218,98 +259,104 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Request message for
    * [UpdateEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateEntryGroup].
@@ -317,33 +364,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest)
       com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.class, com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.class,
+              com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -362,13 +408,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest getDefaultInstanceForType() {
+    public com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.getDefaultInstance();
     }
 
@@ -383,23 +430,23 @@ public com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest result = new com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest result =
+          new com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest result) {
+    private void buildPartial0(
+        com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.entryGroup_ = entryGroupBuilder_ == null
-            ? entryGroup_
-            : entryGroupBuilder_.build();
+        result.entryGroup_ = entryGroupBuilder_ == null ? entryGroup_ : entryGroupBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null
-            ? updateMask_
-            : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
       }
     }
 
@@ -407,38 +454,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.UpdateEntryGroup
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -446,7 +494,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.getDefaultInstance())
+        return this;
       if (other.hasEntryGroup()) {
         mergeEntryGroup(other.getEntryGroup());
       }
@@ -479,26 +529,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getEntryGroupFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getEntryGroupFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -508,43 +557,63 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.datacatalog.v1beta1.EntryGroup entryGroup_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1beta1.EntryGroup, com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder, com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder> entryGroupBuilder_;
+            com.google.cloud.datacatalog.v1beta1.EntryGroup,
+            com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder,
+            com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder>
+        entryGroupBuilder_;
     /**
+     *
+     *
      * 
      * Required. The updated entry group. "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the entryGroup field is set. */ public boolean hasEntryGroup() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The updated entry group. "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The entryGroup. */ public com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroup() { if (entryGroupBuilder_ == null) { - return entryGroup_ == null ? com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance() : entryGroup_; + return entryGroup_ == null + ? com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance() + : entryGroup_; } else { return entryGroupBuilder_.getMessage(); } } /** + * + * *
      * Required. The updated entry group. "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEntryGroup(com.google.cloud.datacatalog.v1beta1.EntryGroup value) { if (entryGroupBuilder_ == null) { @@ -560,11 +629,15 @@ public Builder setEntryGroup(com.google.cloud.datacatalog.v1beta1.EntryGroup val return this; } /** + * + * *
      * Required. The updated entry group. "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEntryGroup( com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder builderForValue) { @@ -578,17 +651,22 @@ public Builder setEntryGroup( return this; } /** + * + * *
      * Required. The updated entry group. "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeEntryGroup(com.google.cloud.datacatalog.v1beta1.EntryGroup value) { if (entryGroupBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - entryGroup_ != null && - entryGroup_ != com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && entryGroup_ != null + && entryGroup_ + != com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance()) { getEntryGroupBuilder().mergeFrom(value); } else { entryGroup_ = value; @@ -601,11 +679,15 @@ public Builder mergeEntryGroup(com.google.cloud.datacatalog.v1beta1.EntryGroup v return this; } /** + * + * *
      * Required. The updated entry group. "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearEntryGroup() { bitField0_ = (bitField0_ & ~0x00000001); @@ -618,11 +700,15 @@ public Builder clearEntryGroup() { return this; } /** + * + * *
      * Required. The updated entry group. "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder getEntryGroupBuilder() { bitField0_ |= 0x00000001; @@ -630,36 +716,48 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder getEntryGroupBuil return getEntryGroupFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The updated entry group. "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupOrBuilder() { if (entryGroupBuilder_ != null) { return entryGroupBuilder_.getMessageOrBuilder(); } else { - return entryGroup_ == null ? - com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance() : entryGroup_; + return entryGroup_ == null + ? com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance() + : entryGroup_; } } /** + * + * *
      * Required. The updated entry group. "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.EntryGroup, com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder, com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder> + com.google.cloud.datacatalog.v1beta1.EntryGroup, + com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder, + com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder> getEntryGroupFieldBuilder() { if (entryGroupBuilder_ == null) { - entryGroupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.EntryGroup, com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder, com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder>( - getEntryGroup(), - getParentForChildren(), - isClean()); + entryGroupBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.EntryGroup, + com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder, + com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder>( + getEntryGroup(), getParentForChildren(), isClean()); entryGroup_ = null; } return entryGroupBuilder_; @@ -667,8 +765,13 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupOrB 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_; /** + * + * *
      * Names of fields whose values to overwrite on an entry group.
      *
@@ -678,12 +781,15 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupOrB
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Names of fields whose values to overwrite on an entry group.
      *
@@ -693,16 +799,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @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(); } } /** + * + * *
      * Names of fields whose values to overwrite on an entry group.
      *
@@ -727,6 +838,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry group.
      *
@@ -737,8 +850,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    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 {
@@ -749,6 +861,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry group.
      *
@@ -761,9 +875,9 @@ public Builder setUpdateMask(
      */
     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;
@@ -776,6 +890,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry group.
      *
@@ -797,6 +913,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry group.
      *
@@ -813,6 +931,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry group.
      *
@@ -827,11 +947,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry group.
      *
@@ -843,21 +966,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -867,12 +993,13 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest)
-  private static final com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest DEFAULT_INSTANCE;
+  private static final com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest();
   }
@@ -881,27 +1008,27 @@ public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest getDe
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateEntryGroupRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateEntryGroupRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -916,6 +1043,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequestOrBuilder.java
similarity index 65%
rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequestOrBuilder.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequestOrBuilder.java
index f47bf6747e64..8baf6f359916 100644
--- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequestOrBuilder.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequestOrBuilder.java
@@ -1,40 +1,72 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1beta1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1beta1;
 
-public interface UpdateEntryGroupRequestOrBuilder extends
+public interface UpdateEntryGroupRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The updated entry group. "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the entryGroup field is set. */ boolean hasEntryGroup(); /** + * + * *
    * Required. The updated entry group. "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The entryGroup. */ com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroup(); /** + * + * *
    * Required. The updated entry group. "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupOrBuilder(); /** + * + * *
    * Names of fields whose values to overwrite on an entry group.
    *
@@ -44,10 +76,13 @@ public interface UpdateEntryGroupRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Names of fields whose values to overwrite on an entry group.
    *
@@ -57,10 +92,13 @@ public interface UpdateEntryGroupRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Names of fields whose values to overwrite on an entry group.
    *
diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequest.java
similarity index 71%
rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequest.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequest.java
index 91ebda295e65..da1cd5c8d2ed 100644
--- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequest.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequest.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/datacatalog/v1beta1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1beta1;
 
 /**
+ *
+ *
  * 
  * Request message for
  * [UpdateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateEntry].
@@ -11,46 +28,52 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.UpdateEntryRequest}
  */
-public final class UpdateEntryRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpdateEntryRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.UpdateEntryRequest)
     UpdateEntryRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpdateEntryRequest.newBuilder() to construct.
   private UpdateEntryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private UpdateEntryRequest() {
-  }
+
+  private UpdateEntryRequest() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdateEntryRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest.class, com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest.class,
+            com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest.Builder.class);
   }
 
   public static final int ENTRY_FIELD_NUMBER = 1;
   private com.google.cloud.datacatalog.v1beta1.Entry entry_;
   /**
+   *
+   *
    * 
    * Required. The updated entry. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the entry field is set. */ @java.lang.Override @@ -58,32 +81,47 @@ public boolean hasEntry() { return entry_ != null; } /** + * + * *
    * Required. The updated entry. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The entry. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.Entry getEntry() { - return entry_ == null ? com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance() : entry_; + return entry_ == null + ? com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance() + : entry_; } /** + * + * *
    * Required. The updated entry. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntryOrBuilder() { - return entry_ == null ? com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance() : entry_; + return entry_ == null + ? com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance() + : entry_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Names of fields whose values to overwrite on an entry.
    *
@@ -112,6 +150,7 @@ public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntryOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -119,6 +158,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Names of fields whose values to overwrite on an entry.
    *
@@ -147,6 +188,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -154,6 +196,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Names of fields whose values to overwrite on an entry.
    *
@@ -189,6 +233,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -200,8 +245,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (entry_ != null) {
       output.writeMessage(1, getEntry());
     }
@@ -218,12 +262,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (entry_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getEntry());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntry());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -233,22 +275,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.datacatalog.v1beta1.UpdateEntryRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest other = (com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest) obj;
+    com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest other =
+        (com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest) obj;
 
     if (hasEntry() != other.hasEntry()) return false;
     if (hasEntry()) {
-      if (!getEntry()
-          .equals(other.getEntry())) return false;
+      if (!getEntry().equals(other.getEntry())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -275,98 +316,104 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Request message for
    * [UpdateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateEntry].
@@ -374,33 +421,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.UpdateEntryRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.UpdateEntryRequest)
       com.google.cloud.datacatalog.v1beta1.UpdateEntryRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest.class, com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest.class,
+              com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -419,9 +465,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_descriptor;
     }
 
     @java.lang.Override
@@ -440,8 +486,11 @@ public com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest result = new com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest result =
+          new com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -449,14 +498,10 @@ public com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest buildPartial() {
     private void buildPartial0(com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.entry_ = entryBuilder_ == null
-            ? entry_
-            : entryBuilder_.build();
+        result.entry_ = entryBuilder_ == null ? entry_ : entryBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null
-            ? updateMask_
-            : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
       }
     }
 
@@ -464,38 +509,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.UpdateEntryReque
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -503,7 +549,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest.getDefaultInstance())
+        return this;
       if (other.hasEntry()) {
         mergeEntry(other.getEntry());
       }
@@ -536,26 +583,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getEntryFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getEntryFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -565,43 +611,63 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.datacatalog.v1beta1.Entry entry_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1beta1.Entry, com.google.cloud.datacatalog.v1beta1.Entry.Builder, com.google.cloud.datacatalog.v1beta1.EntryOrBuilder> entryBuilder_;
+            com.google.cloud.datacatalog.v1beta1.Entry,
+            com.google.cloud.datacatalog.v1beta1.Entry.Builder,
+            com.google.cloud.datacatalog.v1beta1.EntryOrBuilder>
+        entryBuilder_;
     /**
+     *
+     *
      * 
      * Required. The updated entry. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the entry field is set. */ public boolean hasEntry() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The updated entry. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The entry. */ public com.google.cloud.datacatalog.v1beta1.Entry getEntry() { if (entryBuilder_ == null) { - return entry_ == null ? com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance() : entry_; + return entry_ == null + ? com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance() + : entry_; } else { return entryBuilder_.getMessage(); } } /** + * + * *
      * Required. The updated entry. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEntry(com.google.cloud.datacatalog.v1beta1.Entry value) { if (entryBuilder_ == null) { @@ -617,14 +683,17 @@ public Builder setEntry(com.google.cloud.datacatalog.v1beta1.Entry value) { return this; } /** + * + * *
      * Required. The updated entry. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setEntry( - com.google.cloud.datacatalog.v1beta1.Entry.Builder builderForValue) { + public Builder setEntry(com.google.cloud.datacatalog.v1beta1.Entry.Builder builderForValue) { if (entryBuilder_ == null) { entry_ = builderForValue.build(); } else { @@ -635,17 +704,21 @@ public Builder setEntry( return this; } /** + * + * *
      * Required. The updated entry. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeEntry(com.google.cloud.datacatalog.v1beta1.Entry value) { if (entryBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - entry_ != null && - entry_ != com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && entry_ != null + && entry_ != com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance()) { getEntryBuilder().mergeFrom(value); } else { entry_ = value; @@ -658,11 +731,15 @@ public Builder mergeEntry(com.google.cloud.datacatalog.v1beta1.Entry value) { return this; } /** + * + * *
      * Required. The updated entry. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearEntry() { bitField0_ = (bitField0_ & ~0x00000001); @@ -675,11 +752,15 @@ public Builder clearEntry() { return this; } /** + * + * *
      * Required. The updated entry. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1beta1.Entry.Builder getEntryBuilder() { bitField0_ |= 0x00000001; @@ -687,36 +768,48 @@ public com.google.cloud.datacatalog.v1beta1.Entry.Builder getEntryBuilder() { return getEntryFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The updated entry. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntryOrBuilder() { if (entryBuilder_ != null) { return entryBuilder_.getMessageOrBuilder(); } else { - return entry_ == null ? - com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance() : entry_; + return entry_ == null + ? com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance() + : entry_; } } /** + * + * *
      * Required. The updated entry. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Entry, com.google.cloud.datacatalog.v1beta1.Entry.Builder, com.google.cloud.datacatalog.v1beta1.EntryOrBuilder> + com.google.cloud.datacatalog.v1beta1.Entry, + com.google.cloud.datacatalog.v1beta1.Entry.Builder, + com.google.cloud.datacatalog.v1beta1.EntryOrBuilder> getEntryFieldBuilder() { if (entryBuilder_ == null) { - entryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Entry, com.google.cloud.datacatalog.v1beta1.Entry.Builder, com.google.cloud.datacatalog.v1beta1.EntryOrBuilder>( - getEntry(), - getParentForChildren(), - isClean()); + entryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.Entry, + com.google.cloud.datacatalog.v1beta1.Entry.Builder, + com.google.cloud.datacatalog.v1beta1.EntryOrBuilder>( + getEntry(), getParentForChildren(), isClean()); entry_ = null; } return entryBuilder_; @@ -724,8 +817,13 @@ public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntryOrBuilder() { 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_; /** + * + * *
      * Names of fields whose values to overwrite on an entry.
      *
@@ -754,12 +852,15 @@ public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntryOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Names of fields whose values to overwrite on an entry.
      *
@@ -788,16 +889,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @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(); } } /** + * + * *
      * Names of fields whose values to overwrite on an entry.
      *
@@ -841,6 +947,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry.
      *
@@ -870,8 +978,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    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 {
@@ -882,6 +989,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry.
      *
@@ -913,9 +1022,9 @@ public Builder setUpdateMask(
      */
     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;
@@ -928,6 +1037,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry.
      *
@@ -968,6 +1079,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry.
      *
@@ -1003,6 +1116,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry.
      *
@@ -1036,11 +1151,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry.
      *
@@ -1071,21 +1189,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1095,12 +1216,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.UpdateEntryRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.UpdateEntryRequest)
   private static final com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest();
   }
@@ -1109,27 +1230,27 @@ public static com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest getDefault
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateEntryRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateEntryRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1144,6 +1265,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequestOrBuilder.java
similarity index 77%
rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequestOrBuilder.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequestOrBuilder.java
index a0aa3e143fa7..a3086bd428b6 100644
--- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequestOrBuilder.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequestOrBuilder.java
@@ -1,40 +1,72 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1beta1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1beta1;
 
-public interface UpdateEntryRequestOrBuilder extends
+public interface UpdateEntryRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.UpdateEntryRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The updated entry. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the entry field is set. */ boolean hasEntry(); /** + * + * *
    * Required. The updated entry. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The entry. */ com.google.cloud.datacatalog.v1beta1.Entry getEntry(); /** + * + * *
    * Required. The updated entry. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntryOrBuilder(); /** + * + * *
    * Names of fields whose values to overwrite on an entry.
    *
@@ -63,10 +95,13 @@ public interface UpdateEntryRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Names of fields whose values to overwrite on an entry.
    *
@@ -95,10 +130,13 @@ public interface UpdateEntryRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Names of fields whose values to overwrite on an entry.
    *
diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequest.java
similarity index 74%
rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequest.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequest.java
index 0089a2237f1b..e53da3dbe452 100644
--- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequest.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequest.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/datacatalog/v1beta1/policytagmanager.proto
 
 package com.google.cloud.datacatalog.v1beta1;
 
 /**
+ *
+ *
  * 
  * Request message for
  * [UpdatePolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.UpdatePolicyTag].
@@ -11,47 +28,51 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest}
  */
-public final class UpdatePolicyTagRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpdatePolicyTagRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest)
     UpdatePolicyTagRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpdatePolicyTagRequest.newBuilder() to construct.
   private UpdatePolicyTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private UpdatePolicyTagRequest() {
-  }
+
+  private UpdatePolicyTagRequest() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdatePolicyTagRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_UpdatePolicyTagRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1beta1_UpdatePolicyTagRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_UpdatePolicyTagRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1beta1_UpdatePolicyTagRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest.class, com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest.class,
+            com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest.Builder.class);
   }
 
   public static final int POLICY_TAG_FIELD_NUMBER = 1;
   private com.google.cloud.datacatalog.v1beta1.PolicyTag policyTag_;
   /**
+   *
+   *
    * 
    * The policy tag to update. Only the description, display_name, and
    * parent_policy_tag fields can be updated.
    * 
* * .google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 1; + * * @return Whether the policyTag field is set. */ @java.lang.Override @@ -59,19 +80,26 @@ public boolean hasPolicyTag() { return policyTag_ != null; } /** + * + * *
    * The policy tag to update. Only the description, display_name, and
    * parent_policy_tag fields can be updated.
    * 
* * .google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 1; + * * @return The policyTag. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.PolicyTag getPolicyTag() { - return policyTag_ == null ? com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance() : policyTag_; + return policyTag_ == null + ? com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance() + : policyTag_; } /** + * + * *
    * The policy tag to update. Only the description, display_name, and
    * parent_policy_tag fields can be updated.
@@ -81,12 +109,16 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTag getPolicyTag() {
    */
   @java.lang.Override
   public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagOrBuilder() {
-    return policyTag_ == null ? com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance() : policyTag_;
+    return policyTag_ == null
+        ? com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance()
+        : policyTag_;
   }
 
   public static final int UPDATE_MASK_FIELD_NUMBER = 2;
   private com.google.protobuf.FieldMask updateMask_;
   /**
+   *
+   *
    * 
    * The update mask applies to the resource. Only display_name, description and
    * parent_policy_tag can be updated and thus can be listed in the mask. If
@@ -98,6 +130,7 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagOrBui
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -105,6 +138,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The update mask applies to the resource. Only display_name, description and
    * parent_policy_tag can be updated and thus can be listed in the mask. If
@@ -116,6 +151,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -123,6 +159,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The update mask applies to the resource. Only display_name, description and
    * parent_policy_tag can be updated and thus can be listed in the mask. If
@@ -141,6 +179,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -152,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 (policyTag_ != null) {
       output.writeMessage(1, getPolicyTag());
     }
@@ -170,12 +208,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (policyTag_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getPolicyTag());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPolicyTag());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -185,22 +221,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest other = (com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest) obj;
+    com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest other =
+        (com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest) obj;
 
     if (hasPolicyTag() != other.hasPolicyTag()) return false;
     if (hasPolicyTag()) {
-      if (!getPolicyTag()
-          .equals(other.getPolicyTag())) return false;
+      if (!getPolicyTag().equals(other.getPolicyTag())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -227,98 +262,104 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Request message for
    * [UpdatePolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.UpdatePolicyTag].
@@ -326,33 +367,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest)
       com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_UpdatePolicyTagRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_UpdatePolicyTagRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_UpdatePolicyTagRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_UpdatePolicyTagRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest.class, com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest.class,
+              com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -371,9 +411,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_UpdatePolicyTagRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_UpdatePolicyTagRequest_descriptor;
     }
 
     @java.lang.Override
@@ -392,8 +432,11 @@ public com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest result = new com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest result =
+          new com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -401,14 +444,10 @@ public com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest buildPartial(
     private void buildPartial0(com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.policyTag_ = policyTagBuilder_ == null
-            ? policyTag_
-            : policyTagBuilder_.build();
+        result.policyTag_ = policyTagBuilder_ == null ? policyTag_ : policyTagBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null
-            ? updateMask_
-            : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
       }
     }
 
@@ -416,38 +455,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagR
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -455,7 +495,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest.getDefaultInstance())
+        return this;
       if (other.hasPolicyTag()) {
         mergePolicyTag(other.getPolicyTag());
       }
@@ -488,26 +529,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getPolicyTagFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getPolicyTagFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -517,40 +557,54 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.datacatalog.v1beta1.PolicyTag policyTag_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1beta1.PolicyTag, com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder, com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder> policyTagBuilder_;
+            com.google.cloud.datacatalog.v1beta1.PolicyTag,
+            com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder,
+            com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder>
+        policyTagBuilder_;
     /**
+     *
+     *
      * 
      * The policy tag to update. Only the description, display_name, and
      * parent_policy_tag fields can be updated.
      * 
* * .google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 1; + * * @return Whether the policyTag field is set. */ public boolean hasPolicyTag() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The policy tag to update. Only the description, display_name, and
      * parent_policy_tag fields can be updated.
      * 
* * .google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 1; + * * @return The policyTag. */ public com.google.cloud.datacatalog.v1beta1.PolicyTag getPolicyTag() { if (policyTagBuilder_ == null) { - return policyTag_ == null ? com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance() : policyTag_; + return policyTag_ == null + ? com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance() + : policyTag_; } else { return policyTagBuilder_.getMessage(); } } /** + * + * *
      * The policy tag to update. Only the description, display_name, and
      * parent_policy_tag fields can be updated.
@@ -572,6 +626,8 @@ public Builder setPolicyTag(com.google.cloud.datacatalog.v1beta1.PolicyTag value
       return this;
     }
     /**
+     *
+     *
      * 
      * The policy tag to update. Only the description, display_name, and
      * parent_policy_tag fields can be updated.
@@ -591,6 +647,8 @@ public Builder setPolicyTag(
       return this;
     }
     /**
+     *
+     *
      * 
      * The policy tag to update. Only the description, display_name, and
      * parent_policy_tag fields can be updated.
@@ -600,9 +658,9 @@ public Builder setPolicyTag(
      */
     public Builder mergePolicyTag(com.google.cloud.datacatalog.v1beta1.PolicyTag value) {
       if (policyTagBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          policyTag_ != null &&
-          policyTag_ != com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && policyTag_ != null
+            && policyTag_ != com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance()) {
           getPolicyTagBuilder().mergeFrom(value);
         } else {
           policyTag_ = value;
@@ -615,6 +673,8 @@ public Builder mergePolicyTag(com.google.cloud.datacatalog.v1beta1.PolicyTag val
       return this;
     }
     /**
+     *
+     *
      * 
      * The policy tag to update. Only the description, display_name, and
      * parent_policy_tag fields can be updated.
@@ -633,6 +693,8 @@ public Builder clearPolicyTag() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The policy tag to update. Only the description, display_name, and
      * parent_policy_tag fields can be updated.
@@ -646,6 +708,8 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder getPolicyTagBuilde
       return getPolicyTagFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The policy tag to update. Only the description, display_name, and
      * parent_policy_tag fields can be updated.
@@ -657,11 +721,14 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagOrBui
       if (policyTagBuilder_ != null) {
         return policyTagBuilder_.getMessageOrBuilder();
       } else {
-        return policyTag_ == null ?
-            com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance() : policyTag_;
+        return policyTag_ == null
+            ? com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance()
+            : policyTag_;
       }
     }
     /**
+     *
+     *
      * 
      * The policy tag to update. Only the description, display_name, and
      * parent_policy_tag fields can be updated.
@@ -670,14 +737,17 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagOrBui
      * .google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1beta1.PolicyTag, com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder, com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder> 
+            com.google.cloud.datacatalog.v1beta1.PolicyTag,
+            com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder,
+            com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder>
         getPolicyTagFieldBuilder() {
       if (policyTagBuilder_ == null) {
-        policyTagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1beta1.PolicyTag, com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder, com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder>(
-                getPolicyTag(),
-                getParentForChildren(),
-                isClean());
+        policyTagBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.datacatalog.v1beta1.PolicyTag,
+                com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder,
+                com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder>(
+                getPolicyTag(), getParentForChildren(), isClean());
         policyTag_ = null;
       }
       return policyTagBuilder_;
@@ -685,8 +755,13 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagOrBui
 
     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_;
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. Only display_name, description and
      * parent_policy_tag can be updated and thus can be listed in the mask. If
@@ -698,12 +773,15 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagOrBui
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The update mask applies to the resource. Only display_name, description and
      * parent_policy_tag can be updated and thus can be listed in the mask. If
@@ -715,16 +793,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @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(); } } /** + * + * *
      * The update mask applies to the resource. Only display_name, description and
      * parent_policy_tag can be updated and thus can be listed in the mask. If
@@ -751,6 +834,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. Only display_name, description and
      * parent_policy_tag can be updated and thus can be listed in the mask. If
@@ -763,8 +848,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    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 {
@@ -775,6 +859,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. Only display_name, description and
      * parent_policy_tag can be updated and thus can be listed in the mask. If
@@ -789,9 +875,9 @@ public Builder setUpdateMask(
      */
     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;
@@ -804,6 +890,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. Only display_name, description and
      * parent_policy_tag can be updated and thus can be listed in the mask. If
@@ -827,6 +915,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. Only display_name, description and
      * parent_policy_tag can be updated and thus can be listed in the mask. If
@@ -845,6 +935,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. Only display_name, description and
      * parent_policy_tag can be updated and thus can be listed in the mask. If
@@ -861,11 +953,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. Only display_name, description and
      * parent_policy_tag can be updated and thus can be listed in the mask. If
@@ -879,21 +974,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -903,12 +1001,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest)
   private static final com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest();
   }
@@ -917,27 +1015,27 @@ public static com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest getDef
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdatePolicyTagRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdatePolicyTagRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -952,6 +1050,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequestOrBuilder.java
similarity index 81%
rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequestOrBuilder.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequestOrBuilder.java
index e638e39ed1dc..5de5708fb5c3 100644
--- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequestOrBuilder.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequestOrBuilder.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/datacatalog/v1beta1/policytagmanager.proto
 
 package com.google.cloud.datacatalog.v1beta1;
 
-public interface UpdatePolicyTagRequestOrBuilder extends
+public interface UpdatePolicyTagRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The policy tag to update. Only the description, display_name, and
    * parent_policy_tag fields can be updated.
    * 
* * .google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 1; + * * @return Whether the policyTag field is set. */ boolean hasPolicyTag(); /** + * + * *
    * The policy tag to update. Only the description, display_name, and
    * parent_policy_tag fields can be updated.
    * 
* * .google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 1; + * * @return The policyTag. */ com.google.cloud.datacatalog.v1beta1.PolicyTag getPolicyTag(); /** + * + * *
    * The policy tag to update. Only the description, display_name, and
    * parent_policy_tag fields can be updated.
@@ -38,6 +62,8 @@ public interface UpdatePolicyTagRequestOrBuilder extends
   com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagOrBuilder();
 
   /**
+   *
+   *
    * 
    * The update mask applies to the resource. Only display_name, description and
    * parent_policy_tag can be updated and thus can be listed in the mask. If
@@ -49,10 +75,13 @@ public interface UpdatePolicyTagRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The update mask applies to the resource. Only display_name, description and
    * parent_policy_tag can be updated and thus can be listed in the mask. If
@@ -64,10 +93,13 @@ public interface UpdatePolicyTagRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The update mask applies to the resource. Only display_name, description and
    * parent_policy_tag can be updated and thus can be listed in the mask. If
diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequest.java
similarity index 69%
rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequest.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequest.java
index 4c7c5374cc4a..42fc3cd1b2af 100644
--- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequest.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequest.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/datacatalog/v1beta1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1beta1;
 
 /**
+ *
+ *
  * 
  * Request message for
  * [UpdateTag][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTag].
@@ -11,46 +28,51 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.UpdateTagRequest}
  */
-public final class UpdateTagRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpdateTagRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.UpdateTagRequest)
     UpdateTagRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpdateTagRequest.newBuilder() to construct.
   private UpdateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private UpdateTagRequest() {
-  }
+
+  private UpdateTagRequest() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdateTagRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.UpdateTagRequest.class, com.google.cloud.datacatalog.v1beta1.UpdateTagRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.UpdateTagRequest.class,
+            com.google.cloud.datacatalog.v1beta1.UpdateTagRequest.Builder.class);
   }
 
   public static final int TAG_FIELD_NUMBER = 1;
   private com.google.cloud.datacatalog.v1beta1.Tag tag_;
   /**
+   *
+   *
    * 
    * Required. The updated tag. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tag field is set. */ @java.lang.Override @@ -58,11 +80,15 @@ public boolean hasTag() { return tag_ != null; } /** + * + * *
    * Required. The updated tag. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tag. */ @java.lang.Override @@ -70,11 +96,14 @@ public com.google.cloud.datacatalog.v1beta1.Tag getTag() { return tag_ == null ? com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance() : tag_; } /** + * + * *
    * Required. The updated tag. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagOrBuilder() { @@ -84,6 +113,8 @@ public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Note: Currently, this parameter can only take `"fields"` as value.
    *
@@ -96,6 +127,7 @@ public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -103,6 +135,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Note: Currently, this parameter can only take `"fields"` as value.
    *
@@ -115,6 +149,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -122,6 +157,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Note: Currently, this parameter can only take `"fields"` as value.
    *
@@ -141,6 +178,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -152,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 (tag_ != null) {
       output.writeMessage(1, getTag());
     }
@@ -170,12 +207,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (tag_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getTag());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTag());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -185,22 +220,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.datacatalog.v1beta1.UpdateTagRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1beta1.UpdateTagRequest other = (com.google.cloud.datacatalog.v1beta1.UpdateTagRequest) obj;
+    com.google.cloud.datacatalog.v1beta1.UpdateTagRequest other =
+        (com.google.cloud.datacatalog.v1beta1.UpdateTagRequest) obj;
 
     if (hasTag() != other.hasTag()) return false;
     if (hasTag()) {
-      if (!getTag()
-          .equals(other.getTag())) return false;
+      if (!getTag().equals(other.getTag())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -227,98 +261,104 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1beta1.UpdateTagRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateTagRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateTagRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateTagRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.datacatalog.v1beta1.UpdateTagRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.datacatalog.v1beta1.UpdateTagRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateTagRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1beta1.UpdateTagRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1beta1.UpdateTagRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1beta1.UpdateTagRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateTagRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateTagRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.UpdateTagRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.datacatalog.v1beta1.UpdateTagRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Request message for
    * [UpdateTag][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTag].
@@ -326,33 +366,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.UpdateTagRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.UpdateTagRequest)
       com.google.cloud.datacatalog.v1beta1.UpdateTagRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.UpdateTagRequest.class, com.google.cloud.datacatalog.v1beta1.UpdateTagRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.UpdateTagRequest.class,
+              com.google.cloud.datacatalog.v1beta1.UpdateTagRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.UpdateTagRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -371,9 +410,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_descriptor;
     }
 
     @java.lang.Override
@@ -392,8 +431,11 @@ public com.google.cloud.datacatalog.v1beta1.UpdateTagRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.UpdateTagRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.UpdateTagRequest result = new com.google.cloud.datacatalog.v1beta1.UpdateTagRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.UpdateTagRequest result =
+          new com.google.cloud.datacatalog.v1beta1.UpdateTagRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -401,14 +443,10 @@ public com.google.cloud.datacatalog.v1beta1.UpdateTagRequest buildPartial() {
     private void buildPartial0(com.google.cloud.datacatalog.v1beta1.UpdateTagRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.tag_ = tagBuilder_ == null
-            ? tag_
-            : tagBuilder_.build();
+        result.tag_ = tagBuilder_ == null ? tag_ : tagBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null
-            ? updateMask_
-            : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
       }
     }
 
@@ -416,38 +454,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.UpdateTagRequest
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.UpdateTagRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.UpdateTagRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.UpdateTagRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -455,7 +494,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.UpdateTagRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.UpdateTagRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.UpdateTagRequest.getDefaultInstance())
+        return this;
       if (other.hasTag()) {
         mergeTag(other.getTag());
       }
@@ -488,26 +528,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getTagFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getTagFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -517,28 +556,42 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.datacatalog.v1beta1.Tag tag_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1beta1.Tag, com.google.cloud.datacatalog.v1beta1.Tag.Builder, com.google.cloud.datacatalog.v1beta1.TagOrBuilder> tagBuilder_;
+            com.google.cloud.datacatalog.v1beta1.Tag,
+            com.google.cloud.datacatalog.v1beta1.Tag.Builder,
+            com.google.cloud.datacatalog.v1beta1.TagOrBuilder>
+        tagBuilder_;
     /**
+     *
+     *
      * 
      * Required. The updated tag. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tag field is set. */ public boolean hasTag() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The updated tag. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tag. */ public com.google.cloud.datacatalog.v1beta1.Tag getTag() { @@ -549,11 +602,15 @@ public com.google.cloud.datacatalog.v1beta1.Tag getTag() { } } /** + * + * *
      * Required. The updated tag. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTag(com.google.cloud.datacatalog.v1beta1.Tag value) { if (tagBuilder_ == null) { @@ -569,14 +626,17 @@ public Builder setTag(com.google.cloud.datacatalog.v1beta1.Tag value) { return this; } /** + * + * *
      * Required. The updated tag. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTag( - com.google.cloud.datacatalog.v1beta1.Tag.Builder builderForValue) { + public Builder setTag(com.google.cloud.datacatalog.v1beta1.Tag.Builder builderForValue) { if (tagBuilder_ == null) { tag_ = builderForValue.build(); } else { @@ -587,17 +647,21 @@ public Builder setTag( return this; } /** + * + * *
      * Required. The updated tag. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTag(com.google.cloud.datacatalog.v1beta1.Tag value) { if (tagBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - tag_ != null && - tag_ != com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && tag_ != null + && tag_ != com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance()) { getTagBuilder().mergeFrom(value); } else { tag_ = value; @@ -610,11 +674,15 @@ public Builder mergeTag(com.google.cloud.datacatalog.v1beta1.Tag value) { return this; } /** + * + * *
      * Required. The updated tag. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTag() { bitField0_ = (bitField0_ & ~0x00000001); @@ -627,11 +695,15 @@ public Builder clearTag() { return this; } /** + * + * *
      * Required. The updated tag. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1beta1.Tag.Builder getTagBuilder() { bitField0_ |= 0x00000001; @@ -639,36 +711,46 @@ public com.google.cloud.datacatalog.v1beta1.Tag.Builder getTagBuilder() { return getTagFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The updated tag. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagOrBuilder() { if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null ? - com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance() : tag_; + return tag_ == null ? com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance() : tag_; } } /** + * + * *
      * Required. The updated tag. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Tag, com.google.cloud.datacatalog.v1beta1.Tag.Builder, com.google.cloud.datacatalog.v1beta1.TagOrBuilder> + com.google.cloud.datacatalog.v1beta1.Tag, + com.google.cloud.datacatalog.v1beta1.Tag.Builder, + com.google.cloud.datacatalog.v1beta1.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.Tag, com.google.cloud.datacatalog.v1beta1.Tag.Builder, com.google.cloud.datacatalog.v1beta1.TagOrBuilder>( - getTag(), - getParentForChildren(), - isClean()); + tagBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.Tag, + com.google.cloud.datacatalog.v1beta1.Tag.Builder, + com.google.cloud.datacatalog.v1beta1.TagOrBuilder>( + getTag(), getParentForChildren(), isClean()); tag_ = null; } return tagBuilder_; @@ -676,8 +758,13 @@ public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagOrBuilder() { 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_; /** + * + * *
      * Note: Currently, this parameter can only take `"fields"` as value.
      *
@@ -690,12 +777,15 @@ public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Note: Currently, this parameter can only take `"fields"` as value.
      *
@@ -708,16 +798,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @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(); } } /** + * + * *
      * Note: Currently, this parameter can only take `"fields"` as value.
      *
@@ -745,6 +840,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Note: Currently, this parameter can only take `"fields"` as value.
      *
@@ -758,8 +855,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    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 {
@@ -770,6 +866,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Note: Currently, this parameter can only take `"fields"` as value.
      *
@@ -785,9 +883,9 @@ public Builder setUpdateMask(
      */
     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;
@@ -800,6 +898,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Note: Currently, this parameter can only take `"fields"` as value.
      *
@@ -824,6 +924,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Note: Currently, this parameter can only take `"fields"` as value.
      *
@@ -843,6 +945,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Note: Currently, this parameter can only take `"fields"` as value.
      *
@@ -860,11 +964,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * Note: Currently, this parameter can only take `"fields"` as value.
      *
@@ -879,21 +986,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -903,12 +1013,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.UpdateTagRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.UpdateTagRequest)
   private static final com.google.cloud.datacatalog.v1beta1.UpdateTagRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.UpdateTagRequest();
   }
@@ -917,27 +1027,27 @@ public static com.google.cloud.datacatalog.v1beta1.UpdateTagRequest getDefaultIn
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateTagRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateTagRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -952,6 +1062,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1beta1.UpdateTagRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequestOrBuilder.java
similarity index 76%
rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequestOrBuilder.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequestOrBuilder.java
index 0ff51ed50578..3f79459dcfe7 100644
--- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequestOrBuilder.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequestOrBuilder.java
@@ -1,40 +1,69 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1beta1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1beta1;
 
-public interface UpdateTagRequestOrBuilder extends
+public interface UpdateTagRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.UpdateTagRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The updated tag. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tag field is set. */ boolean hasTag(); /** + * + * *
    * Required. The updated tag. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tag. */ com.google.cloud.datacatalog.v1beta1.Tag getTag(); /** + * + * *
    * Required. The updated tag. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.datacatalog.v1beta1.Tag tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagOrBuilder(); /** + * + * *
    * Note: Currently, this parameter can only take `"fields"` as value.
    *
@@ -47,10 +76,13 @@ public interface UpdateTagRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Note: Currently, this parameter can only take `"fields"` as value.
    *
@@ -63,10 +95,13 @@ public interface UpdateTagRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Note: Currently, this parameter can only take `"fields"` as value.
    *
diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequest.java
similarity index 66%
rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequest.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequest.java
index 8b6a69b6e63c..4931d5bd1f0f 100644
--- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequest.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequest.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/datacatalog/v1beta1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1beta1;
 
 /**
+ *
+ *
  * 
  * Request message for
  * [UpdateTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTagTemplateField].
@@ -11,50 +28,58 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest}
  */
-public final class UpdateTagTemplateFieldRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpdateTagTemplateFieldRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest)
     UpdateTagTemplateFieldRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpdateTagTemplateFieldRequest.newBuilder() to construct.
   private UpdateTagTemplateFieldRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private UpdateTagTemplateFieldRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdateTagTemplateFieldRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest.class, com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest.class,
+            com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the tag template field. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
    * 
* - * string name = 1 [(.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,31 +88,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the tag template field. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,11 +125,16 @@ public java.lang.String getName() { public static final int TAG_TEMPLATE_FIELD_FIELD_NUMBER = 2; private com.google.cloud.datacatalog.v1beta1.TagTemplateField tagTemplateField_; /** + * + * *
    * Required. The template to update.
    * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tagTemplateField field is set. */ @java.lang.Override @@ -110,32 +142,48 @@ public boolean hasTagTemplateField() { return tagTemplateField_ != null; } /** + * + * *
    * Required. The template to update.
    * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tagTemplateField. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TagTemplateField getTagTemplateField() { - return tagTemplateField_ == null ? com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance() : tagTemplateField_; + return tagTemplateField_ == null + ? com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance() + : tagTemplateField_; } /** + * + * *
    * Required. The template to update.
    * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder() { - return tagTemplateField_ == null ? com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance() : tagTemplateField_; + public com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder + getTagTemplateFieldOrBuilder() { + return tagTemplateField_ == null + ? com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance() + : tagTemplateField_; } public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Optional. Names of fields whose values to overwrite on an individual field
    * of a tag template. The following fields are modifiable:
@@ -155,7 +203,9 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder getTagTemp
    * *not* allowed.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -163,6 +213,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Optional. Names of fields whose values to overwrite on an individual field
    * of a tag template. The following fields are modifiable:
@@ -182,7 +234,9 @@ public boolean hasUpdateMask() {
    * *not* allowed.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ @java.lang.Override @@ -190,6 +244,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Optional. Names of fields whose values to overwrite on an individual field
    * of a tag template. The following fields are modifiable:
@@ -209,7 +265,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * *not* allowed.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -217,6 +274,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,8 +286,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -252,12 +309,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (tagTemplateField_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTagTemplateField()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTagTemplateField()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -267,24 +322,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.datacatalog.v1beta1.UpdateTagTemplateFieldRequest)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest other = (com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest) obj; + com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest other = + (com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasTagTemplateField() != other.hasTagTemplateField()) return false; if (hasTagTemplateField()) { - if (!getTagTemplateField() - .equals(other.getTagTemplateField())) return false; + if (!getTagTemplateField().equals(other.getTagTemplateField())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -313,98 +366,105 @@ public int hashCode() { } public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest parseDelimitedFrom( - java.io.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.datacatalog.v1beta1.UpdateTagTemplateFieldRequest + parseDelimitedFrom( + java.io.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.datacatalog.v1beta1.UpdateTagTemplateFieldRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [UpdateTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTagTemplateField].
@@ -412,33 +472,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest)
       com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest.class, com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest.class,
+              com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest.Builder.class);
     }
 
-    // Construct using com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest.newBuilder()
-    private Builder() {
-
-    }
+    // Construct using
+    // com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest.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();
@@ -458,14 +518,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest getDefaultInstanceForType() {
-      return com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest.getDefaultInstance();
+    public com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest
+        getDefaultInstanceForType() {
+      return com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -479,26 +541,27 @@ public com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest build(
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest result = new com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest result =
+          new com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest result) {
+    private void buildPartial0(
+        com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.tagTemplateField_ = tagTemplateFieldBuilder_ == null
-            ? tagTemplateField_
-            : tagTemplateFieldBuilder_.build();
+        result.tagTemplateField_ =
+            tagTemplateFieldBuilder_ == null ? tagTemplateField_ : tagTemplateFieldBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null
-            ? updateMask_
-            : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
       }
     }
 
@@ -506,46 +569,51 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.UpdateTagTemplat
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest)other);
+        return mergeFrom(
+            (com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest other) {
+      if (other
+          == com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest
+              .getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -583,31 +651,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getTagTemplateFieldFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(
+                    getTagTemplateFieldFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().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) {
@@ -617,24 +686,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the tag template field. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
      * 
* - * string name = 1 [(.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; @@ -643,22 +717,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the tag template field. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
      * 
* - * string name = 1 [(.google.api.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 { @@ -666,32 +743,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the tag template field. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the tag template field. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
      * 
* - * string 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() { @@ -701,19 +789,25 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the tag template field. Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
      * 
* - * string name = 1 [(.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; @@ -723,41 +817,61 @@ public Builder setNameBytes( private com.google.cloud.datacatalog.v1beta1.TagTemplateField tagTemplateField_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.TagTemplateField, com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder, com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder> tagTemplateFieldBuilder_; + com.google.cloud.datacatalog.v1beta1.TagTemplateField, + com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder, + com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder> + tagTemplateFieldBuilder_; /** + * + * *
      * Required. The template to update.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tagTemplateField field is set. */ public boolean hasTagTemplateField() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The template to update.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tagTemplateField. */ public com.google.cloud.datacatalog.v1beta1.TagTemplateField getTagTemplateField() { if (tagTemplateFieldBuilder_ == null) { - return tagTemplateField_ == null ? com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance() : tagTemplateField_; + return tagTemplateField_ == null + ? com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance() + : tagTemplateField_; } else { return tagTemplateFieldBuilder_.getMessage(); } } /** + * + * *
      * Required. The template to update.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTagTemplateField(com.google.cloud.datacatalog.v1beta1.TagTemplateField value) { + public Builder setTagTemplateField( + com.google.cloud.datacatalog.v1beta1.TagTemplateField value) { if (tagTemplateFieldBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -771,11 +885,15 @@ public Builder setTagTemplateField(com.google.cloud.datacatalog.v1beta1.TagTempl return this; } /** + * + * *
      * Required. The template to update.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTagTemplateField( com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder builderForValue) { @@ -789,17 +907,23 @@ public Builder setTagTemplateField( return this; } /** + * + * *
      * Required. The template to update.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeTagTemplateField(com.google.cloud.datacatalog.v1beta1.TagTemplateField value) { + public Builder mergeTagTemplateField( + com.google.cloud.datacatalog.v1beta1.TagTemplateField value) { if (tagTemplateFieldBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - tagTemplateField_ != null && - tagTemplateField_ != com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && tagTemplateField_ != null + && tagTemplateField_ + != com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance()) { getTagTemplateFieldBuilder().mergeFrom(value); } else { tagTemplateField_ = value; @@ -812,11 +936,15 @@ public Builder mergeTagTemplateField(com.google.cloud.datacatalog.v1beta1.TagTem return this; } /** + * + * *
      * Required. The template to update.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTagTemplateField() { bitField0_ = (bitField0_ & ~0x00000002); @@ -829,48 +957,66 @@ public Builder clearTagTemplateField() { return this; } /** + * + * *
      * Required. The template to update.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder getTagTemplateFieldBuilder() { + public com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder + getTagTemplateFieldBuilder() { bitField0_ |= 0x00000002; onChanged(); return getTagTemplateFieldFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The template to update.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder() { + public com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder + getTagTemplateFieldOrBuilder() { if (tagTemplateFieldBuilder_ != null) { return tagTemplateFieldBuilder_.getMessageOrBuilder(); } else { - return tagTemplateField_ == null ? - com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance() : tagTemplateField_; + return tagTemplateField_ == null + ? com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance() + : tagTemplateField_; } } /** + * + * *
      * Required. The template to update.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.TagTemplateField, com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder, com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder> + com.google.cloud.datacatalog.v1beta1.TagTemplateField, + com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder, + com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder> getTagTemplateFieldFieldBuilder() { if (tagTemplateFieldBuilder_ == null) { - tagTemplateFieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.TagTemplateField, com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder, com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder>( - getTagTemplateField(), - getParentForChildren(), - isClean()); + tagTemplateFieldBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.TagTemplateField, + com.google.cloud.datacatalog.v1beta1.TagTemplateField.Builder, + com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder>( + getTagTemplateField(), getParentForChildren(), isClean()); tagTemplateField_ = null; } return tagTemplateFieldBuilder_; @@ -878,8 +1024,13 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder getTagTemp 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_; /** + * + * *
      * Optional. Names of fields whose values to overwrite on an individual field
      * of a tag template. The following fields are modifiable:
@@ -899,13 +1050,17 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder getTagTemp
      * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Optional. Names of fields whose values to overwrite on an individual field
      * of a tag template. The following fields are modifiable:
@@ -925,17 +1080,23 @@ public boolean hasUpdateMask() {
      * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @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(); } } /** + * + * *
      * Optional. Names of fields whose values to overwrite on an individual field
      * of a tag template. The following fields are modifiable:
@@ -955,7 +1116,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -971,6 +1133,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Names of fields whose values to overwrite on an individual field
      * of a tag template. The following fields are modifiable:
@@ -990,10 +1154,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - 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 { @@ -1004,6 +1168,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Optional. Names of fields whose values to overwrite on an individual field
      * of a tag template. The following fields are modifiable:
@@ -1023,13 +1189,14 @@ public Builder setUpdateMask(
      * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -1042,6 +1209,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Names of fields whose values to overwrite on an individual field
      * of a tag template. The following fields are modifiable:
@@ -1061,7 +1230,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1074,6 +1244,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Optional. Names of fields whose values to overwrite on an individual field
      * of a tag template. The following fields are modifiable:
@@ -1093,7 +1265,8 @@ public Builder clearUpdateMask() {
      * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000004; @@ -1101,6 +1274,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Names of fields whose values to overwrite on an individual field
      * of a tag template. The following fields are modifiable:
@@ -1120,17 +1295,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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_; } } /** + * + * *
      * Optional. Names of fields whose values to overwrite on an individual field
      * of a tag template. The following fields are modifiable:
@@ -1150,24 +1329,28 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * *not* allowed.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1177,41 +1360,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest) - private static final com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest DEFAULT_INSTANCE; + private static final com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest(); } - public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest getDefaultInstance() { + public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateTagTemplateFieldRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateTagTemplateFieldRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1223,9 +1408,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest getDefaultInstanceForType() { + public com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequestOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequestOrBuilder.java index 067341fc3314..7f9c9dff5eb1 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequestOrBuilder.java @@ -1,64 +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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; -public interface UpdateTagTemplateFieldRequestOrBuilder extends +public interface UpdateTagTemplateFieldRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the tag template field. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the tag template field. Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
    * 
* - * string name = 1 [(.google.api.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 template to update.
    * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tagTemplateField field is set. */ boolean hasTagTemplateField(); /** + * + * *
    * Required. The template to update.
    * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tagTemplateField. */ com.google.cloud.datacatalog.v1beta1.TagTemplateField getTagTemplateField(); /** + * + * *
    * Required. The template to update.
    * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder(); /** + * + * *
    * Optional. Names of fields whose values to overwrite on an individual field
    * of a tag template. The following fields are modifiable:
@@ -78,11 +119,15 @@ public interface UpdateTagTemplateFieldRequestOrBuilder extends
    * *not* allowed.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Optional. Names of fields whose values to overwrite on an individual field
    * of a tag template. The following fields are modifiable:
@@ -102,11 +147,15 @@ public interface UpdateTagTemplateFieldRequestOrBuilder extends
    * *not* allowed.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Optional. Names of fields whose values to overwrite on an individual field
    * of a tag template. The following fields are modifiable:
@@ -126,7 +175,8 @@ public interface UpdateTagTemplateFieldRequestOrBuilder extends
    * *not* allowed.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequest.java similarity index 66% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequest.java index 2689b4726c3c..e116cadbd3a7 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequest.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/datacatalog/v1beta1/datacatalog.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Request message for
  * [UpdateTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTagTemplate].
@@ -11,46 +28,52 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest}
  */
-public final class UpdateTagTemplateRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpdateTagTemplateRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest)
     UpdateTagTemplateRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpdateTagTemplateRequest.newBuilder() to construct.
   private UpdateTagTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private UpdateTagTemplateRequest() {
-  }
+
+  private UpdateTagTemplateRequest() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdateTagTemplateRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Datacatalog
+        .internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest.class, com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest.class,
+            com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest.Builder.class);
   }
 
   public static final int TAG_TEMPLATE_FIELD_NUMBER = 1;
   private com.google.cloud.datacatalog.v1beta1.TagTemplate tagTemplate_;
   /**
+   *
+   *
    * 
    * Required. The template to update. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tagTemplate field is set. */ @java.lang.Override @@ -58,32 +81,47 @@ public boolean hasTagTemplate() { return tagTemplate_ != null; } /** + * + * *
    * Required. The template to update. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tagTemplate. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TagTemplate getTagTemplate() { - return tagTemplate_ == null ? com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance() : tagTemplate_; + return tagTemplate_ == null + ? com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance() + : tagTemplate_; } /** + * + * *
    * Required. The template to update. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder getTagTemplateOrBuilder() { - return tagTemplate_ == null ? com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance() : tagTemplate_; + return tagTemplate_ == null + ? com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance() + : tagTemplate_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Names of fields whose values to overwrite on a tag template. Currently,
    * only `display_name` can be overwritten.
@@ -94,6 +132,7 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder getTagTemplateO
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -101,6 +140,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Names of fields whose values to overwrite on a tag template. Currently,
    * only `display_name` can be overwritten.
@@ -111,6 +152,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -118,6 +160,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Names of fields whose values to overwrite on a tag template. Currently,
    * only `display_name` can be overwritten.
@@ -135,6 +179,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -146,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 (tagTemplate_ != null) {
       output.writeMessage(1, getTagTemplate());
     }
@@ -164,12 +208,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (tagTemplate_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getTagTemplate());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTagTemplate());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -179,22 +221,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest other = (com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest) obj;
+    com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest other =
+        (com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest) obj;
 
     if (hasTagTemplate() != other.hasTagTemplate()) return false;
     if (hasTagTemplate()) {
-      if (!getTagTemplate()
-          .equals(other.getTagTemplate())) return false;
+      if (!getTagTemplate().equals(other.getTagTemplate())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -221,98 +262,104 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Request message for
    * [UpdateTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTagTemplate].
@@ -320,33 +367,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest)
       com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest.class, com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest.class,
+              com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -365,13 +411,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Datacatalog.internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Datacatalog
+          .internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest getDefaultInstanceForType() {
+    public com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest.getDefaultInstance();
     }
 
@@ -386,23 +433,24 @@ public com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest result = new com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest result =
+          new com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest result) {
+    private void buildPartial0(
+        com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.tagTemplate_ = tagTemplateBuilder_ == null
-            ? tagTemplate_
-            : tagTemplateBuilder_.build();
+        result.tagTemplate_ =
+            tagTemplateBuilder_ == null ? tagTemplate_ : tagTemplateBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null
-            ? updateMask_
-            : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
       }
     }
 
@@ -410,38 +458,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.UpdateTagTemplat
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -449,7 +498,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest.getDefaultInstance())
+        return this;
       if (other.hasTagTemplate()) {
         mergeTagTemplate(other.getTagTemplate());
       }
@@ -482,26 +533,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getTagTemplateFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getTagTemplateFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -511,43 +561,63 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.datacatalog.v1beta1.TagTemplate tagTemplate_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1beta1.TagTemplate, com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder, com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder> tagTemplateBuilder_;
+            com.google.cloud.datacatalog.v1beta1.TagTemplate,
+            com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder,
+            com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder>
+        tagTemplateBuilder_;
     /**
+     *
+     *
      * 
      * Required. The template to update. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tagTemplate field is set. */ public boolean hasTagTemplate() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The template to update. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tagTemplate. */ public com.google.cloud.datacatalog.v1beta1.TagTemplate getTagTemplate() { if (tagTemplateBuilder_ == null) { - return tagTemplate_ == null ? com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance() : tagTemplate_; + return tagTemplate_ == null + ? com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance() + : tagTemplate_; } else { return tagTemplateBuilder_.getMessage(); } } /** + * + * *
      * Required. The template to update. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTagTemplate(com.google.cloud.datacatalog.v1beta1.TagTemplate value) { if (tagTemplateBuilder_ == null) { @@ -563,11 +633,15 @@ public Builder setTagTemplate(com.google.cloud.datacatalog.v1beta1.TagTemplate v return this; } /** + * + * *
      * Required. The template to update. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTagTemplate( com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder builderForValue) { @@ -581,17 +655,22 @@ public Builder setTagTemplate( return this; } /** + * + * *
      * Required. The template to update. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTagTemplate(com.google.cloud.datacatalog.v1beta1.TagTemplate value) { if (tagTemplateBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - tagTemplate_ != null && - tagTemplate_ != com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && tagTemplate_ != null + && tagTemplate_ + != com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance()) { getTagTemplateBuilder().mergeFrom(value); } else { tagTemplate_ = value; @@ -604,11 +683,15 @@ public Builder mergeTagTemplate(com.google.cloud.datacatalog.v1beta1.TagTemplate return this; } /** + * + * *
      * Required. The template to update. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTagTemplate() { bitField0_ = (bitField0_ & ~0x00000001); @@ -621,11 +704,15 @@ public Builder clearTagTemplate() { return this; } /** + * + * *
      * Required. The template to update. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder getTagTemplateBuilder() { bitField0_ |= 0x00000001; @@ -633,36 +720,48 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder getTagTemplateBu return getTagTemplateFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The template to update. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder getTagTemplateOrBuilder() { if (tagTemplateBuilder_ != null) { return tagTemplateBuilder_.getMessageOrBuilder(); } else { - return tagTemplate_ == null ? - com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance() : tagTemplate_; + return tagTemplate_ == null + ? com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance() + : tagTemplate_; } } /** + * + * *
      * Required. The template to update. The "name" field must be set.
      * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.TagTemplate, com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder, com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder> + com.google.cloud.datacatalog.v1beta1.TagTemplate, + com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder, + com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder> getTagTemplateFieldBuilder() { if (tagTemplateBuilder_ == null) { - tagTemplateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datacatalog.v1beta1.TagTemplate, com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder, com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder>( - getTagTemplate(), - getParentForChildren(), - isClean()); + tagTemplateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.TagTemplate, + com.google.cloud.datacatalog.v1beta1.TagTemplate.Builder, + com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder>( + getTagTemplate(), getParentForChildren(), isClean()); tagTemplate_ = null; } return tagTemplateBuilder_; @@ -670,8 +769,13 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder getTagTemplateO 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_; /** + * + * *
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` can be overwritten.
@@ -682,12 +786,15 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder getTagTemplateO
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` can be overwritten.
@@ -698,16 +805,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @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(); } } /** + * + * *
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` can be overwritten.
@@ -733,6 +845,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` can be overwritten.
@@ -744,8 +858,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    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 {
@@ -756,6 +869,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` can be overwritten.
@@ -769,9 +884,9 @@ public Builder setUpdateMask(
      */
     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;
@@ -784,6 +899,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` can be overwritten.
@@ -806,6 +923,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` can be overwritten.
@@ -823,6 +942,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` can be overwritten.
@@ -838,11 +959,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` can be overwritten.
@@ -855,21 +979,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -879,12 +1006,13 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest)
-  private static final com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest DEFAULT_INSTANCE;
+  private static final com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest();
   }
@@ -893,27 +1021,27 @@ public static com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest getD
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateTagTemplateRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateTagTemplateRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -928,6 +1056,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequestOrBuilder.java
similarity index 67%
rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequestOrBuilder.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequestOrBuilder.java
index 5ea84f33411b..450a34a6d614 100644
--- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequestOrBuilder.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequestOrBuilder.java
@@ -1,40 +1,72 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datacatalog/v1beta1/datacatalog.proto
 
 package com.google.cloud.datacatalog.v1beta1;
 
-public interface UpdateTagTemplateRequestOrBuilder extends
+public interface UpdateTagTemplateRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The template to update. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tagTemplate field is set. */ boolean hasTagTemplate(); /** + * + * *
    * Required. The template to update. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tagTemplate. */ com.google.cloud.datacatalog.v1beta1.TagTemplate getTagTemplate(); /** + * + * *
    * Required. The template to update. The "name" field must be set.
    * 
* - * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder getTagTemplateOrBuilder(); /** + * + * *
    * Names of fields whose values to overwrite on a tag template. Currently,
    * only `display_name` can be overwritten.
@@ -45,10 +77,13 @@ public interface UpdateTagTemplateRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Names of fields whose values to overwrite on a tag template. Currently,
    * only `display_name` can be overwritten.
@@ -59,10 +94,13 @@ public interface UpdateTagTemplateRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Names of fields whose values to overwrite on a tag template. Currently,
    * only `display_name` can be overwritten.
diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequest.java
similarity index 71%
rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequest.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequest.java
index 360910a0ead9..3067aace2906 100644
--- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequest.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequest.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/datacatalog/v1beta1/policytagmanager.proto
 
 package com.google.cloud.datacatalog.v1beta1;
 
 /**
+ *
+ *
  * 
  * Request message for
  * [UpdateTaxonomy][google.cloud.datacatalog.v1beta1.PolicyTagManager.UpdateTaxonomy].
@@ -11,47 +28,51 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest}
  */
-public final class UpdateTaxonomyRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpdateTaxonomyRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest)
     UpdateTaxonomyRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpdateTaxonomyRequest.newBuilder() to construct.
   private UpdateTaxonomyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private UpdateTaxonomyRequest() {
-  }
+
+  private UpdateTaxonomyRequest() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdateTaxonomyRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_UpdateTaxonomyRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1beta1_UpdateTaxonomyRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_UpdateTaxonomyRequest_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+        .internal_static_google_cloud_datacatalog_v1beta1_UpdateTaxonomyRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest.class, com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest.class,
+            com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest.Builder.class);
   }
 
   public static final int TAXONOMY_FIELD_NUMBER = 1;
   private com.google.cloud.datacatalog.v1beta1.Taxonomy taxonomy_;
   /**
+   *
+   *
    * 
    * The taxonomy to update. Only description, display_name, and activated
    * policy types can be updated.
    * 
* * .google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 1; + * * @return Whether the taxonomy field is set. */ @java.lang.Override @@ -59,19 +80,26 @@ public boolean hasTaxonomy() { return taxonomy_ != null; } /** + * + * *
    * The taxonomy to update. Only description, display_name, and activated
    * policy types can be updated.
    * 
* * .google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 1; + * * @return The taxonomy. */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomy() { - return taxonomy_ == null ? com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance() : taxonomy_; + return taxonomy_ == null + ? com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance() + : taxonomy_; } /** + * + * *
    * The taxonomy to update. Only description, display_name, and activated
    * policy types can be updated.
@@ -81,12 +109,16 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomy() {
    */
   @java.lang.Override
   public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomyOrBuilder() {
-    return taxonomy_ == null ? com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance() : taxonomy_;
+    return taxonomy_ == null
+        ? com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance()
+        : taxonomy_;
   }
 
   public static final int UPDATE_MASK_FIELD_NUMBER = 2;
   private com.google.protobuf.FieldMask updateMask_;
   /**
+   *
+   *
    * 
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -95,6 +127,7 @@ public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomyOrBuild
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -102,6 +135,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -110,6 +145,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -117,6 +153,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -132,6 +170,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -143,8 +182,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (taxonomy_ != null) {
       output.writeMessage(1, getTaxonomy());
     }
@@ -161,12 +199,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (taxonomy_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getTaxonomy());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTaxonomy());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -176,22 +212,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.datacatalog.v1beta1.UpdateTaxonomyRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest other = (com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest) obj;
+    com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest other =
+        (com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest) obj;
 
     if (hasTaxonomy() != other.hasTaxonomy()) return false;
     if (hasTaxonomy()) {
-      if (!getTaxonomy()
-          .equals(other.getTaxonomy())) return false;
+      if (!getTaxonomy().equals(other.getTaxonomy())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -218,98 +253,104 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Request message for
    * [UpdateTaxonomy][google.cloud.datacatalog.v1beta1.PolicyTagManager.UpdateTaxonomy].
@@ -317,33 +358,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest)
       com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_UpdateTaxonomyRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_UpdateTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_UpdateTaxonomyRequest_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_UpdateTaxonomyRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest.class, com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest.class,
+              com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -362,9 +402,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.internal_static_google_cloud_datacatalog_v1beta1_UpdateTaxonomyRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto
+          .internal_static_google_cloud_datacatalog_v1beta1_UpdateTaxonomyRequest_descriptor;
     }
 
     @java.lang.Override
@@ -383,8 +423,11 @@ public com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest result = new com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest result =
+          new com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -392,14 +435,10 @@ public com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest buildPartial()
     private void buildPartial0(com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.taxonomy_ = taxonomyBuilder_ == null
-            ? taxonomy_
-            : taxonomyBuilder_.build();
+        result.taxonomy_ = taxonomyBuilder_ == null ? taxonomy_ : taxonomyBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null
-            ? updateMask_
-            : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
       }
     }
 
@@ -407,38 +446,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRe
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -446,7 +486,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest.getDefaultInstance())
+        return this;
       if (other.hasTaxonomy()) {
         mergeTaxonomy(other.getTaxonomy());
       }
@@ -479,26 +520,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getTaxonomyFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getTaxonomyFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -508,40 +548,54 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.datacatalog.v1beta1.Taxonomy taxonomy_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1beta1.Taxonomy, com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder> taxonomyBuilder_;
+            com.google.cloud.datacatalog.v1beta1.Taxonomy,
+            com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder,
+            com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder>
+        taxonomyBuilder_;
     /**
+     *
+     *
      * 
      * The taxonomy to update. Only description, display_name, and activated
      * policy types can be updated.
      * 
* * .google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 1; + * * @return Whether the taxonomy field is set. */ public boolean hasTaxonomy() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The taxonomy to update. Only description, display_name, and activated
      * policy types can be updated.
      * 
* * .google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 1; + * * @return The taxonomy. */ public com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomy() { if (taxonomyBuilder_ == null) { - return taxonomy_ == null ? com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance() : taxonomy_; + return taxonomy_ == null + ? com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance() + : taxonomy_; } else { return taxonomyBuilder_.getMessage(); } } /** + * + * *
      * The taxonomy to update. Only description, display_name, and activated
      * policy types can be updated.
@@ -563,6 +617,8 @@ public Builder setTaxonomy(com.google.cloud.datacatalog.v1beta1.Taxonomy value)
       return this;
     }
     /**
+     *
+     *
      * 
      * The taxonomy to update. Only description, display_name, and activated
      * policy types can be updated.
@@ -582,6 +638,8 @@ public Builder setTaxonomy(
       return this;
     }
     /**
+     *
+     *
      * 
      * The taxonomy to update. Only description, display_name, and activated
      * policy types can be updated.
@@ -591,9 +649,9 @@ public Builder setTaxonomy(
      */
     public Builder mergeTaxonomy(com.google.cloud.datacatalog.v1beta1.Taxonomy value) {
       if (taxonomyBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          taxonomy_ != null &&
-          taxonomy_ != com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && taxonomy_ != null
+            && taxonomy_ != com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance()) {
           getTaxonomyBuilder().mergeFrom(value);
         } else {
           taxonomy_ = value;
@@ -606,6 +664,8 @@ public Builder mergeTaxonomy(com.google.cloud.datacatalog.v1beta1.Taxonomy value
       return this;
     }
     /**
+     *
+     *
      * 
      * The taxonomy to update. Only description, display_name, and activated
      * policy types can be updated.
@@ -624,6 +684,8 @@ public Builder clearTaxonomy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The taxonomy to update. Only description, display_name, and activated
      * policy types can be updated.
@@ -637,6 +699,8 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder getTaxonomyBuilder(
       return getTaxonomyFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The taxonomy to update. Only description, display_name, and activated
      * policy types can be updated.
@@ -648,11 +712,14 @@ public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomyOrBuild
       if (taxonomyBuilder_ != null) {
         return taxonomyBuilder_.getMessageOrBuilder();
       } else {
-        return taxonomy_ == null ?
-            com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance() : taxonomy_;
+        return taxonomy_ == null
+            ? com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance()
+            : taxonomy_;
       }
     }
     /**
+     *
+     *
      * 
      * The taxonomy to update. Only description, display_name, and activated
      * policy types can be updated.
@@ -661,14 +728,17 @@ public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomyOrBuild
      * .google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.datacatalog.v1beta1.Taxonomy, com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder> 
+            com.google.cloud.datacatalog.v1beta1.Taxonomy,
+            com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder,
+            com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder>
         getTaxonomyFieldBuilder() {
       if (taxonomyBuilder_ == null) {
-        taxonomyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datacatalog.v1beta1.Taxonomy, com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder, com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder>(
-                getTaxonomy(),
-                getParentForChildren(),
-                isClean());
+        taxonomyBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.datacatalog.v1beta1.Taxonomy,
+                com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder,
+                com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder>(
+                getTaxonomy(), getParentForChildren(), isClean());
         taxonomy_ = null;
       }
       return taxonomyBuilder_;
@@ -676,8 +746,13 @@ public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomyOrBuild
 
     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_;
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -686,12 +761,15 @@ public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomyOrBuild
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -700,16 +778,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @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(); } } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -733,6 +816,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -742,8 +827,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    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 {
@@ -754,6 +838,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -765,9 +851,9 @@ public Builder setUpdateMask(
      */
     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;
@@ -780,6 +866,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -800,6 +888,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -815,6 +905,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -828,11 +920,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -843,21 +938,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -867,12 +965,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest)
   private static final com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest();
   }
@@ -881,27 +979,27 @@ public static com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest getDefa
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateTaxonomyRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateTaxonomyRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -916,6 +1014,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequestOrBuilder.java
similarity index 77%
rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequestOrBuilder.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequestOrBuilder.java
index f55e668b0b8a..65c9b0c3163c 100644
--- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequestOrBuilder.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequestOrBuilder.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/datacatalog/v1beta1/policytagmanager.proto
 
 package com.google.cloud.datacatalog.v1beta1;
 
-public interface UpdateTaxonomyRequestOrBuilder extends
+public interface UpdateTaxonomyRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The taxonomy to update. Only description, display_name, and activated
    * policy types can be updated.
    * 
* * .google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 1; + * * @return Whether the taxonomy field is set. */ boolean hasTaxonomy(); /** + * + * *
    * The taxonomy to update. Only description, display_name, and activated
    * policy types can be updated.
    * 
* * .google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 1; + * * @return The taxonomy. */ com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomy(); /** + * + * *
    * The taxonomy to update. Only description, display_name, and activated
    * policy types can be updated.
@@ -38,6 +62,8 @@ public interface UpdateTaxonomyRequestOrBuilder extends
   com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomyOrBuilder();
 
   /**
+   *
+   *
    * 
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -46,10 +72,13 @@ public interface UpdateTaxonomyRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -58,10 +87,13 @@ public interface UpdateTaxonomyRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Usage.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Usage.java
new file mode 100644
index 000000000000..cc4fc2ee221c
--- /dev/null
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Usage.java
@@ -0,0 +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/datacatalog/v1beta1/usage.proto
+
+package com.google.cloud.datacatalog.v1beta1;
+
+public final class Usage {
+  private Usage() {}
+
+  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_datacatalog_v1beta1_UsageStats_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_datacatalog_v1beta1_UsageStats_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_UsageWithinTimeRangeEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_UsageWithinTimeRangeEntry_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/datacatalog/v1beta1/usage"
+          + ".proto\022 google.cloud.datacatalog.v1beta1"
+          + "\032\037google/protobuf/timestamp.proto\"\221\001\n\nUs"
+          + "ageStats\022\031\n\021total_completions\030\001 \001(\002\022\026\n\016t"
+          + "otal_failures\030\002 \001(\002\022\033\n\023total_cancellatio"
+          + "ns\030\003 \001(\002\0223\n+total_execution_time_for_com"
+          + "pletions_millis\030\004 \001(\002\"\223\002\n\013UsageSignal\022/\n"
+          + "\013update_time\030\001 \001(\0132\032.google.protobuf.Tim"
+          + "estamp\022h\n\027usage_within_time_range\030\002 \003(\0132"
+          + "G.google.cloud.datacatalog.v1beta1.Usage"
+          + "Signal.UsageWithinTimeRangeEntry\032i\n\031Usag"
+          + "eWithinTimeRangeEntry\022\013\n\003key\030\001 \001(\t\022;\n\005va"
+          + "lue\030\002 \001(\0132,.google.cloud.datacatalog.v1b"
+          + "eta1.UsageStats:\0028\001B\337\001\n$com.google.cloud"
+          + ".datacatalog.v1beta1P\001ZFcloud.google.com"
+          + "/go/datacatalog/apiv1beta1/datacatalogpb"
+          + ";datacatalogpb\370\001\001\252\002 Google.Cloud.DataCat"
+          + "alog.V1Beta1\312\002 Google\\Cloud\\DataCatalog\\"
+          + "V1beta1\352\002#Google::Cloud::DataCatalog::V1"
+          + "beta1b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
+    internal_static_google_cloud_datacatalog_v1beta1_UsageStats_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_datacatalog_v1beta1_UsageStats_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_datacatalog_v1beta1_UsageStats_descriptor,
+            new java.lang.String[] {
+              "TotalCompletions",
+              "TotalFailures",
+              "TotalCancellations",
+              "TotalExecutionTimeForCompletionsMillis",
+            });
+    internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_descriptor,
+            new java.lang.String[] {
+              "UpdateTime", "UsageWithinTimeRange",
+            });
+    internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_UsageWithinTimeRangeEntry_descriptor =
+        internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_descriptor
+            .getNestedTypes()
+            .get(0);
+    internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_UsageWithinTimeRangeEntry_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_UsageWithinTimeRangeEntry_descriptor,
+            new java.lang.String[] {
+              "Key", "Value",
+            });
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageSignal.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageSignal.java
similarity index 60%
rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageSignal.java
rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageSignal.java
index 9536f6d7ffb8..cbe96294637f 100644
--- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageSignal.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageSignal.java
@@ -1,67 +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/datacatalog/v1beta1/usage.proto
 
 package com.google.cloud.datacatalog.v1beta1;
 
 /**
+ *
+ *
  * 
  * The set of all usage signals that we store in Data Catalog.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.UsageSignal} */ -public final class UsageSignal extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UsageSignal extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.UsageSignal) UsageSignalOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UsageSignal.newBuilder() to construct. private UsageSignal(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UsageSignal() { - } + + private UsageSignal() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UsageSignal(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Usage.internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Usage + .internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_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 2: return internalGetUsageWithinTimeRange(); 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.datacatalog.v1beta1.Usage.internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.Usage + .internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.UsageSignal.class, com.google.cloud.datacatalog.v1beta1.UsageSignal.Builder.class); + com.google.cloud.datacatalog.v1beta1.UsageSignal.class, + com.google.cloud.datacatalog.v1beta1.UsageSignal.Builder.class); } public static final int UPDATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The timestamp of the end of the usage statistics duration.
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -69,11 +89,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The timestamp of the end of the usage statistics duration.
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return The updateTime. */ @java.lang.Override @@ -81,6 +104,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The timestamp of the end of the usage statistics duration.
    * 
@@ -93,96 +118,126 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int USAGE_WITHIN_TIME_RANGE_FIELD_NUMBER = 2; + private static final class UsageWithinTimeRangeDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.datacatalog.v1beta1.UsageStats> defaultEntry = + java.lang.String, com.google.cloud.datacatalog.v1beta1.UsageStats> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.datacatalog.v1beta1.Usage.internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_UsageWithinTimeRangeEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.datacatalog.v1beta1.UsageStats.getDefaultInstance()); + . + newDefaultInstance( + com.google.cloud.datacatalog.v1beta1.Usage + .internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_UsageWithinTimeRangeEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.datacatalog.v1beta1.UsageStats.getDefaultInstance()); } + @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1beta1.UsageStats> usageWithinTimeRange_; - private com.google.protobuf.MapField - internalGetUsageWithinTimeRange() { + java.lang.String, com.google.cloud.datacatalog.v1beta1.UsageStats> + usageWithinTimeRange_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1beta1.UsageStats> + internalGetUsageWithinTimeRange() { if (usageWithinTimeRange_ == null) { return com.google.protobuf.MapField.emptyMapField( UsageWithinTimeRangeDefaultEntryHolder.defaultEntry); } return usageWithinTimeRange_; } + public int getUsageWithinTimeRangeCount() { return internalGetUsageWithinTimeRange().getMap().size(); } /** + * + * *
    * Usage statistics over each of the pre-defined time ranges, supported
    * strings for time ranges are {"24H", "7D", "30D"}.
    * 
* - * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * */ @java.lang.Override - public boolean containsUsageWithinTimeRange( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsUsageWithinTimeRange(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetUsageWithinTimeRange().getMap().containsKey(key); } - /** - * Use {@link #getUsageWithinTimeRangeMap()} instead. - */ + /** Use {@link #getUsageWithinTimeRangeMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getUsageWithinTimeRange() { + public java.util.Map + getUsageWithinTimeRange() { return getUsageWithinTimeRangeMap(); } /** + * + * *
    * Usage statistics over each of the pre-defined time ranges, supported
    * strings for time ranges are {"24H", "7D", "30D"}.
    * 
* - * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * */ @java.lang.Override - public java.util.Map getUsageWithinTimeRangeMap() { + public java.util.Map + getUsageWithinTimeRangeMap() { return internalGetUsageWithinTimeRange().getMap(); } /** + * + * *
    * Usage statistics over each of the pre-defined time ranges, supported
    * strings for time ranges are {"24H", "7D", "30D"}.
    * 
* - * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * */ @java.lang.Override - public /* nullable */ -com.google.cloud.datacatalog.v1beta1.UsageStats getUsageWithinTimeRangeOrDefault( - java.lang.String key, - /* nullable */ -com.google.cloud.datacatalog.v1beta1.UsageStats defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + public /* nullable */ com.google.cloud.datacatalog.v1beta1.UsageStats + getUsageWithinTimeRangeOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.datacatalog.v1beta1.UsageStats defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetUsageWithinTimeRange().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Usage statistics over each of the pre-defined time ranges, supported
    * strings for time ranges are {"24H", "7D", "30D"}.
    * 
* - * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.UsageStats getUsageWithinTimeRangeOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetUsageWithinTimeRange().getMap(); if (!map.containsKey(key)) { @@ -192,6 +247,7 @@ public com.google.cloud.datacatalog.v1beta1.UsageStats getUsageWithinTimeRangeOr } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,13 +259,11 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetUsageWithinTimeRange(), UsageWithinTimeRangeDefaultEntryHolder.defaultEntry, @@ -224,18 +278,19 @@ public int getSerializedSize() { size = 0; if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateTime()); - } - for (java.util.Map.Entry entry - : internalGetUsageWithinTimeRange().getMap().entrySet()) { - com.google.protobuf.MapEntry - usageWithinTimeRange__ = UsageWithinTimeRangeDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, usageWithinTimeRange__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateTime()); + } + for (java.util.Map.Entry + entry : internalGetUsageWithinTimeRange().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.datacatalog.v1beta1.UsageStats> + usageWithinTimeRange__ = + UsageWithinTimeRangeDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, usageWithinTimeRange__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -245,20 +300,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.datacatalog.v1beta1.UsageSignal)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.UsageSignal other = (com.google.cloud.datacatalog.v1beta1.UsageSignal) obj; + com.google.cloud.datacatalog.v1beta1.UsageSignal other = + (com.google.cloud.datacatalog.v1beta1.UsageSignal) obj; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } - if (!internalGetUsageWithinTimeRange().equals( - other.internalGetUsageWithinTimeRange())) return false; + if (!internalGetUsageWithinTimeRange().equals(other.internalGetUsageWithinTimeRange())) + return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -283,154 +338,156 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1beta1.UsageSignal parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1beta1.UsageSignal parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.UsageSignal parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.UsageSignal parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.UsageSignal parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.UsageSignal parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.UsageSignal parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.UsageSignal parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.datacatalog.v1beta1.UsageSignal parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.UsageSignal parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.UsageSignal parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.UsageSignal parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.UsageSignal parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.UsageSignal parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.UsageSignal parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.UsageSignal prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 set of all usage signals that we store in Data Catalog.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.UsageSignal} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.UsageSignal) com.google.cloud.datacatalog.v1beta1.UsageSignalOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Usage.internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Usage + .internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 2: return internalGetUsageWithinTimeRange(); 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 2: return internalGetMutableUsageWithinTimeRange(); 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.datacatalog.v1beta1.Usage.internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.Usage + .internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.UsageSignal.class, com.google.cloud.datacatalog.v1beta1.UsageSignal.Builder.class); + com.google.cloud.datacatalog.v1beta1.UsageSignal.class, + com.google.cloud.datacatalog.v1beta1.UsageSignal.Builder.class); } // Construct using com.google.cloud.datacatalog.v1beta1.UsageSignal.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +502,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.Usage.internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.Usage + .internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_descriptor; } @java.lang.Override @@ -466,8 +523,11 @@ public com.google.cloud.datacatalog.v1beta1.UsageSignal build() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.UsageSignal buildPartial() { - com.google.cloud.datacatalog.v1beta1.UsageSignal result = new com.google.cloud.datacatalog.v1beta1.UsageSignal(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1beta1.UsageSignal result = + new com.google.cloud.datacatalog.v1beta1.UsageSignal(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -475,9 +535,7 @@ public com.google.cloud.datacatalog.v1beta1.UsageSignal buildPartial() { private void buildPartial0(com.google.cloud.datacatalog.v1beta1.UsageSignal 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.usageWithinTimeRange_ = internalGetUsageWithinTimeRange(); @@ -489,38 +547,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.UsageSignal 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.datacatalog.v1beta1.UsageSignal) { - return mergeFrom((com.google.cloud.datacatalog.v1beta1.UsageSignal)other); + return mergeFrom((com.google.cloud.datacatalog.v1beta1.UsageSignal) other); } else { super.mergeFrom(other); return this; @@ -528,12 +587,12 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.UsageSignal other) { - if (other == com.google.cloud.datacatalog.v1beta1.UsageSignal.getDefaultInstance()) return this; + if (other == com.google.cloud.datacatalog.v1beta1.UsageSignal.getDefaultInstance()) + return this; if (other.hasUpdateTime()) { mergeUpdateTime(other.getUpdateTime()); } - internalGetMutableUsageWithinTimeRange().mergeFrom( - other.internalGetUsageWithinTimeRange()); + internalGetMutableUsageWithinTimeRange().mergeFrom(other.internalGetUsageWithinTimeRange()); bitField0_ |= 0x00000002; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -561,28 +620,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.google.protobuf.MapEntry - usageWithinTimeRange__ = input.readMessage( - UsageWithinTimeRangeDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableUsageWithinTimeRange().getMutableMap().put( - usageWithinTimeRange__.getKey(), usageWithinTimeRange__.getValue()); - bitField0_ |= 0x00000002; - break; - } // case 18 - 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 18: + { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.datacatalog.v1beta1.UsageStats> + usageWithinTimeRange__ = + input.readMessage( + UsageWithinTimeRangeDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableUsageWithinTimeRange() + .getMutableMap() + .put(usageWithinTimeRange__.getKey(), usageWithinTimeRange__.getValue()); + 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) { @@ -592,38 +656,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_; /** + * + * *
      * The timestamp of the end of the usage statistics duration.
      * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The timestamp of the end of the usage statistics duration.
      * 
* * .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(); } } /** + * + * *
      * The timestamp of the end of the usage statistics duration.
      * 
@@ -644,14 +722,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The timestamp of the end of the usage statistics duration.
      * 
* * .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 { @@ -662,6 +741,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * The timestamp of the end of the usage statistics duration.
      * 
@@ -670,9 +751,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; @@ -685,6 +766,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The timestamp of the end of the usage statistics duration.
      * 
@@ -702,6 +785,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * The timestamp of the end of the usage statistics duration.
      * 
@@ -714,6 +799,8 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The timestamp of the end of the usage statistics duration.
      * 
@@ -724,11 +811,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * The timestamp of the end of the usage statistics duration.
      * 
@@ -736,22 +826,28 @@ 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 com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1beta1.UsageStats> usageWithinTimeRange_; - private com.google.protobuf.MapField + java.lang.String, com.google.cloud.datacatalog.v1beta1.UsageStats> + usageWithinTimeRange_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1beta1.UsageStats> internalGetUsageWithinTimeRange() { if (usageWithinTimeRange_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -759,11 +855,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } return usageWithinTimeRange_; } - private com.google.protobuf.MapField + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1beta1.UsageStats> internalGetMutableUsageWithinTimeRange() { if (usageWithinTimeRange_ == null) { - usageWithinTimeRange_ = com.google.protobuf.MapField.newMapField( - UsageWithinTimeRangeDefaultEntryHolder.defaultEntry); + usageWithinTimeRange_ = + com.google.protobuf.MapField.newMapField( + UsageWithinTimeRangeDefaultEntryHolder.defaultEntry); } if (!usageWithinTimeRange_.isMutable()) { usageWithinTimeRange_ = usageWithinTimeRange_.copy(); @@ -772,74 +871,96 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { onChanged(); return usageWithinTimeRange_; } + public int getUsageWithinTimeRangeCount() { return internalGetUsageWithinTimeRange().getMap().size(); } /** + * + * *
      * Usage statistics over each of the pre-defined time ranges, supported
      * strings for time ranges are {"24H", "7D", "30D"}.
      * 
* - * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * */ @java.lang.Override - public boolean containsUsageWithinTimeRange( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsUsageWithinTimeRange(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetUsageWithinTimeRange().getMap().containsKey(key); } - /** - * Use {@link #getUsageWithinTimeRangeMap()} instead. - */ + /** Use {@link #getUsageWithinTimeRangeMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getUsageWithinTimeRange() { + public java.util.Map + getUsageWithinTimeRange() { return getUsageWithinTimeRangeMap(); } /** + * + * *
      * Usage statistics over each of the pre-defined time ranges, supported
      * strings for time ranges are {"24H", "7D", "30D"}.
      * 
* - * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * */ @java.lang.Override - public java.util.Map getUsageWithinTimeRangeMap() { + public java.util.Map + getUsageWithinTimeRangeMap() { return internalGetUsageWithinTimeRange().getMap(); } /** + * + * *
      * Usage statistics over each of the pre-defined time ranges, supported
      * strings for time ranges are {"24H", "7D", "30D"}.
      * 
* - * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * */ @java.lang.Override - public /* nullable */ -com.google.cloud.datacatalog.v1beta1.UsageStats getUsageWithinTimeRangeOrDefault( - java.lang.String key, - /* nullable */ -com.google.cloud.datacatalog.v1beta1.UsageStats defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + public /* nullable */ com.google.cloud.datacatalog.v1beta1.UsageStats + getUsageWithinTimeRangeOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.datacatalog.v1beta1.UsageStats defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetUsageWithinTimeRange().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Usage statistics over each of the pre-defined time ranges, supported
      * strings for time ranges are {"24H", "7D", "30D"}.
      * 
* - * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1beta1.UsageStats getUsageWithinTimeRangeOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetUsageWithinTimeRange().getMap(); if (!map.containsKey(key)) { @@ -847,30 +968,32 @@ public com.google.cloud.datacatalog.v1beta1.UsageStats getUsageWithinTimeRangeOr } return map.get(key); } + public Builder clearUsageWithinTimeRange() { bitField0_ = (bitField0_ & ~0x00000002); - internalGetMutableUsageWithinTimeRange().getMutableMap() - .clear(); + internalGetMutableUsageWithinTimeRange().getMutableMap().clear(); return this; } /** + * + * *
      * Usage statistics over each of the pre-defined time ranges, supported
      * strings for time ranges are {"24H", "7D", "30D"}.
      * 
* - * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * */ - public Builder removeUsageWithinTimeRange( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableUsageWithinTimeRange().getMutableMap() - .remove(key); + public Builder removeUsageWithinTimeRange(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableUsageWithinTimeRange().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableUsageWithinTimeRange() { @@ -878,41 +1001,50 @@ public Builder removeUsageWithinTimeRange( return internalGetMutableUsageWithinTimeRange().getMutableMap(); } /** + * + * *
      * Usage statistics over each of the pre-defined time ranges, supported
      * strings for time ranges are {"24H", "7D", "30D"}.
      * 
* - * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * */ public Builder putUsageWithinTimeRange( - java.lang.String key, - com.google.cloud.datacatalog.v1beta1.UsageStats value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableUsageWithinTimeRange().getMutableMap() - .put(key, value); + java.lang.String key, com.google.cloud.datacatalog.v1beta1.UsageStats value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableUsageWithinTimeRange().getMutableMap().put(key, value); bitField0_ |= 0x00000002; return this; } /** + * + * *
      * Usage statistics over each of the pre-defined time ranges, supported
      * strings for time ranges are {"24H", "7D", "30D"}.
      * 
* - * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * */ public Builder putAllUsageWithinTimeRange( java.util.Map values) { - internalGetMutableUsageWithinTimeRange().getMutableMap() - .putAll(values); + internalGetMutableUsageWithinTimeRange().getMutableMap().putAll(values); bitField0_ |= 0x00000002; return this; } + @java.lang.Override - 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 +1054,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.UsageSignal) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.UsageSignal) private static final com.google.cloud.datacatalog.v1beta1.UsageSignal DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.UsageSignal(); } @@ -936,27 +1068,27 @@ public static com.google.cloud.datacatalog.v1beta1.UsageSignal getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UsageSignal parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UsageSignal parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +1103,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.UsageSignal getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageSignalOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageSignalOrBuilder.java similarity index 57% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageSignalOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageSignalOrBuilder.java index 2ada342d2013..1289c539a3a3 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageSignalOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageSignalOrBuilder.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/datacatalog/v1beta1/usage.proto package com.google.cloud.datacatalog.v1beta1; -public interface UsageSignalOrBuilder extends +public interface UsageSignalOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.UsageSignal) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The timestamp of the end of the usage statistics duration.
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The timestamp of the end of the usage statistics duration.
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The timestamp of the end of the usage statistics duration.
    * 
@@ -35,60 +59,77 @@ public interface UsageSignalOrBuilder extends com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Usage statistics over each of the pre-defined time ranges, supported
    * strings for time ranges are {"24H", "7D", "30D"}.
    * 
* - * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * */ int getUsageWithinTimeRangeCount(); /** + * + * *
    * Usage statistics over each of the pre-defined time ranges, supported
    * strings for time ranges are {"24H", "7D", "30D"}.
    * 
* - * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; - */ - boolean containsUsageWithinTimeRange( - java.lang.String key); - /** - * Use {@link #getUsageWithinTimeRangeMap()} instead. + * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * */ + boolean containsUsageWithinTimeRange(java.lang.String key); + /** Use {@link #getUsageWithinTimeRangeMap()} instead. */ @java.lang.Deprecated java.util.Map - getUsageWithinTimeRange(); + getUsageWithinTimeRange(); /** + * + * *
    * Usage statistics over each of the pre-defined time ranges, supported
    * strings for time ranges are {"24H", "7D", "30D"}.
    * 
* - * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * */ java.util.Map - getUsageWithinTimeRangeMap(); + getUsageWithinTimeRangeMap(); /** + * + * *
    * Usage statistics over each of the pre-defined time ranges, supported
    * strings for time ranges are {"24H", "7D", "30D"}.
    * 
* - * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * */ /* nullable */ -com.google.cloud.datacatalog.v1beta1.UsageStats getUsageWithinTimeRangeOrDefault( + com.google.cloud.datacatalog.v1beta1.UsageStats getUsageWithinTimeRangeOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.datacatalog.v1beta1.UsageStats defaultValue); + com.google.cloud.datacatalog.v1beta1.UsageStats defaultValue); /** + * + * *
    * Usage statistics over each of the pre-defined time ranges, supported
    * strings for time ranges are {"24H", "7D", "30D"}.
    * 
* - * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * */ com.google.cloud.datacatalog.v1beta1.UsageStats getUsageWithinTimeRangeOrThrow( java.lang.String key); diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageStats.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageStats.java similarity index 69% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageStats.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageStats.java index 1af1525e8851..0525a917b82c 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageStats.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageStats.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/datacatalog/v1beta1/usage.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Detailed counts on the entry's usage.
  * Caveats:
@@ -16,46 +33,50 @@
  *
  * Protobuf type {@code google.cloud.datacatalog.v1beta1.UsageStats}
  */
-public final class UsageStats extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UsageStats extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.UsageStats)
     UsageStatsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UsageStats.newBuilder() to construct.
   private UsageStats(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private UsageStats() {
-  }
+
+  private UsageStats() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UsageStats();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.datacatalog.v1beta1.Usage.internal_static_google_cloud_datacatalog_v1beta1_UsageStats_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.datacatalog.v1beta1.Usage
+        .internal_static_google_cloud_datacatalog_v1beta1_UsageStats_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datacatalog.v1beta1.Usage.internal_static_google_cloud_datacatalog_v1beta1_UsageStats_fieldAccessorTable
+    return com.google.cloud.datacatalog.v1beta1.Usage
+        .internal_static_google_cloud_datacatalog_v1beta1_UsageStats_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datacatalog.v1beta1.UsageStats.class, com.google.cloud.datacatalog.v1beta1.UsageStats.Builder.class);
+            com.google.cloud.datacatalog.v1beta1.UsageStats.class,
+            com.google.cloud.datacatalog.v1beta1.UsageStats.Builder.class);
   }
 
   public static final int TOTAL_COMPLETIONS_FIELD_NUMBER = 1;
   private float totalCompletions_ = 0F;
   /**
+   *
+   *
    * 
    * The number of times that the underlying entry was successfully used.
    * 
* * float total_completions = 1; + * * @return The totalCompletions. */ @java.lang.Override @@ -66,12 +87,15 @@ public float getTotalCompletions() { public static final int TOTAL_FAILURES_FIELD_NUMBER = 2; private float totalFailures_ = 0F; /** + * + * *
    * The number of times that the underlying entry was attempted to be used
    * but failed.
    * 
* * float total_failures = 2; + * * @return The totalFailures. */ @java.lang.Override @@ -82,12 +106,15 @@ public float getTotalFailures() { public static final int TOTAL_CANCELLATIONS_FIELD_NUMBER = 3; private float totalCancellations_ = 0F; /** + * + * *
    * The number of times that the underlying entry was attempted to be used
    * but was cancelled by the user.
    * 
* * float total_cancellations = 3; + * * @return The totalCancellations. */ @java.lang.Override @@ -98,11 +125,14 @@ public float getTotalCancellations() { public static final int TOTAL_EXECUTION_TIME_FOR_COMPLETIONS_MILLIS_FIELD_NUMBER = 4; private float totalExecutionTimeForCompletionsMillis_ = 0F; /** + * + * *
    * Total time spent (in milliseconds) during uses the resulted in completions.
    * 
* * float total_execution_time_for_completions_millis = 4; + * * @return The totalExecutionTimeForCompletionsMillis. */ @java.lang.Override @@ -111,6 +141,7 @@ public float getTotalExecutionTimeForCompletionsMillis() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -122,8 +153,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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(totalCompletions_) != 0) { output.writeFloat(1, totalCompletions_); } @@ -146,20 +176,18 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(totalCompletions_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(1, totalCompletions_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, totalCompletions_); } if (java.lang.Float.floatToRawIntBits(totalFailures_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, totalFailures_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, totalFailures_); } if (java.lang.Float.floatToRawIntBits(totalCancellations_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(3, totalCancellations_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, totalCancellations_); } if (java.lang.Float.floatToRawIntBits(totalExecutionTimeForCompletionsMillis_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(4, totalExecutionTimeForCompletionsMillis_); + size += + com.google.protobuf.CodedOutputStream.computeFloatSize( + 4, totalExecutionTimeForCompletionsMillis_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -169,25 +197,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.datacatalog.v1beta1.UsageStats)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.UsageStats other = (com.google.cloud.datacatalog.v1beta1.UsageStats) obj; + com.google.cloud.datacatalog.v1beta1.UsageStats other = + (com.google.cloud.datacatalog.v1beta1.UsageStats) obj; if (java.lang.Float.floatToIntBits(getTotalCompletions()) - != java.lang.Float.floatToIntBits( - other.getTotalCompletions())) return false; + != java.lang.Float.floatToIntBits(other.getTotalCompletions())) return false; if (java.lang.Float.floatToIntBits(getTotalFailures()) - != java.lang.Float.floatToIntBits( - other.getTotalFailures())) return false; + != java.lang.Float.floatToIntBits(other.getTotalFailures())) return false; if (java.lang.Float.floatToIntBits(getTotalCancellations()) - != java.lang.Float.floatToIntBits( - other.getTotalCancellations())) return false; + != java.lang.Float.floatToIntBits(other.getTotalCancellations())) return false; if (java.lang.Float.floatToIntBits(getTotalExecutionTimeForCompletionsMillis()) - != java.lang.Float.floatToIntBits( - other.getTotalExecutionTimeForCompletionsMillis())) return false; + != java.lang.Float.floatToIntBits(other.getTotalExecutionTimeForCompletionsMillis())) + return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -200,115 +226,117 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TOTAL_COMPLETIONS_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getTotalCompletions()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getTotalCompletions()); hash = (37 * hash) + TOTAL_FAILURES_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getTotalFailures()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getTotalFailures()); hash = (37 * hash) + TOTAL_CANCELLATIONS_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getTotalCancellations()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getTotalCancellations()); hash = (37 * hash) + TOTAL_EXECUTION_TIME_FOR_COMPLETIONS_MILLIS_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getTotalExecutionTimeForCompletionsMillis()); + hash = + (53 * hash) + java.lang.Float.floatToIntBits(getTotalExecutionTimeForCompletionsMillis()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.datacatalog.v1beta1.UsageStats parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1beta1.UsageStats parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.UsageStats parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.UsageStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.UsageStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.UsageStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.UsageStats parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.UsageStats parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.UsageStats parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.UsageStats parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.UsageStats parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.UsageStats parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.UsageStats parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.UsageStats parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.UsageStats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Detailed counts on the entry's usage.
    * Caveats:
@@ -321,33 +349,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.datacatalog.v1beta1.UsageStats}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.UsageStats)
       com.google.cloud.datacatalog.v1beta1.UsageStatsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.datacatalog.v1beta1.Usage.internal_static_google_cloud_datacatalog_v1beta1_UsageStats_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.datacatalog.v1beta1.Usage
+          .internal_static_google_cloud_datacatalog_v1beta1_UsageStats_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datacatalog.v1beta1.Usage.internal_static_google_cloud_datacatalog_v1beta1_UsageStats_fieldAccessorTable
+      return com.google.cloud.datacatalog.v1beta1.Usage
+          .internal_static_google_cloud_datacatalog_v1beta1_UsageStats_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datacatalog.v1beta1.UsageStats.class, com.google.cloud.datacatalog.v1beta1.UsageStats.Builder.class);
+              com.google.cloud.datacatalog.v1beta1.UsageStats.class,
+              com.google.cloud.datacatalog.v1beta1.UsageStats.Builder.class);
     }
 
     // Construct using com.google.cloud.datacatalog.v1beta1.UsageStats.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        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 +387,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.datacatalog.v1beta1.Usage.internal_static_google_cloud_datacatalog_v1beta1_UsageStats_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.datacatalog.v1beta1.Usage
+          .internal_static_google_cloud_datacatalog_v1beta1_UsageStats_descriptor;
     }
 
     @java.lang.Override
@@ -381,8 +408,11 @@ public com.google.cloud.datacatalog.v1beta1.UsageStats build() {
 
     @java.lang.Override
     public com.google.cloud.datacatalog.v1beta1.UsageStats buildPartial() {
-      com.google.cloud.datacatalog.v1beta1.UsageStats result = new com.google.cloud.datacatalog.v1beta1.UsageStats(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.datacatalog.v1beta1.UsageStats result =
+          new com.google.cloud.datacatalog.v1beta1.UsageStats(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -407,38 +437,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.UsageStats 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.datacatalog.v1beta1.UsageStats) {
-        return mergeFrom((com.google.cloud.datacatalog.v1beta1.UsageStats)other);
+        return mergeFrom((com.google.cloud.datacatalog.v1beta1.UsageStats) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -446,7 +477,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.UsageStats other) {
-      if (other == com.google.cloud.datacatalog.v1beta1.UsageStats.getDefaultInstance()) return this;
+      if (other == com.google.cloud.datacatalog.v1beta1.UsageStats.getDefaultInstance())
+        return this;
       if (other.getTotalCompletions() != 0F) {
         setTotalCompletions(other.getTotalCompletions());
       }
@@ -457,7 +489,8 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.UsageStats other)
         setTotalCancellations(other.getTotalCancellations());
       }
       if (other.getTotalExecutionTimeForCompletionsMillis() != 0F) {
-        setTotalExecutionTimeForCompletionsMillis(other.getTotalExecutionTimeForCompletionsMillis());
+        setTotalExecutionTimeForCompletionsMillis(
+            other.getTotalExecutionTimeForCompletionsMillis());
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -485,32 +518,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 13: {
-              totalCompletions_ = input.readFloat();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 13
-            case 21: {
-              totalFailures_ = input.readFloat();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 21
-            case 29: {
-              totalCancellations_ = input.readFloat();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 29
-            case 37: {
-              totalExecutionTimeForCompletionsMillis_ = input.readFloat();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 37
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 13:
+              {
+                totalCompletions_ = input.readFloat();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 13
+            case 21:
+              {
+                totalFailures_ = input.readFloat();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 21
+            case 29:
+              {
+                totalCancellations_ = input.readFloat();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 29
+            case 37:
+              {
+                totalExecutionTimeForCompletionsMillis_ = input.readFloat();
+                bitField0_ |= 0x00000008;
+                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) {
@@ -520,15 +558,19 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private float totalCompletions_ ;
+    private float totalCompletions_;
     /**
+     *
+     *
      * 
      * The number of times that the underlying entry was successfully used.
      * 
* * float total_completions = 1; + * * @return The totalCompletions. */ @java.lang.Override @@ -536,11 +578,14 @@ public float getTotalCompletions() { return totalCompletions_; } /** + * + * *
      * The number of times that the underlying entry was successfully used.
      * 
* * float total_completions = 1; + * * @param value The totalCompletions to set. * @return This builder for chaining. */ @@ -552,11 +597,14 @@ public Builder setTotalCompletions(float value) { return this; } /** + * + * *
      * The number of times that the underlying entry was successfully used.
      * 
* * float total_completions = 1; + * * @return This builder for chaining. */ public Builder clearTotalCompletions() { @@ -566,14 +614,17 @@ public Builder clearTotalCompletions() { return this; } - private float totalFailures_ ; + private float totalFailures_; /** + * + * *
      * The number of times that the underlying entry was attempted to be used
      * but failed.
      * 
* * float total_failures = 2; + * * @return The totalFailures. */ @java.lang.Override @@ -581,12 +632,15 @@ public float getTotalFailures() { return totalFailures_; } /** + * + * *
      * The number of times that the underlying entry was attempted to be used
      * but failed.
      * 
* * float total_failures = 2; + * * @param value The totalFailures to set. * @return This builder for chaining. */ @@ -598,12 +652,15 @@ public Builder setTotalFailures(float value) { return this; } /** + * + * *
      * The number of times that the underlying entry was attempted to be used
      * but failed.
      * 
* * float total_failures = 2; + * * @return This builder for chaining. */ public Builder clearTotalFailures() { @@ -613,14 +670,17 @@ public Builder clearTotalFailures() { return this; } - private float totalCancellations_ ; + private float totalCancellations_; /** + * + * *
      * The number of times that the underlying entry was attempted to be used
      * but was cancelled by the user.
      * 
* * float total_cancellations = 3; + * * @return The totalCancellations. */ @java.lang.Override @@ -628,12 +688,15 @@ public float getTotalCancellations() { return totalCancellations_; } /** + * + * *
      * The number of times that the underlying entry was attempted to be used
      * but was cancelled by the user.
      * 
* * float total_cancellations = 3; + * * @param value The totalCancellations to set. * @return This builder for chaining. */ @@ -645,12 +708,15 @@ public Builder setTotalCancellations(float value) { return this; } /** + * + * *
      * The number of times that the underlying entry was attempted to be used
      * but was cancelled by the user.
      * 
* * float total_cancellations = 3; + * * @return This builder for chaining. */ public Builder clearTotalCancellations() { @@ -660,13 +726,16 @@ public Builder clearTotalCancellations() { return this; } - private float totalExecutionTimeForCompletionsMillis_ ; + private float totalExecutionTimeForCompletionsMillis_; /** + * + * *
      * Total time spent (in milliseconds) during uses the resulted in completions.
      * 
* * float total_execution_time_for_completions_millis = 4; + * * @return The totalExecutionTimeForCompletionsMillis. */ @java.lang.Override @@ -674,11 +743,14 @@ public float getTotalExecutionTimeForCompletionsMillis() { return totalExecutionTimeForCompletionsMillis_; } /** + * + * *
      * Total time spent (in milliseconds) during uses the resulted in completions.
      * 
* * float total_execution_time_for_completions_millis = 4; + * * @param value The totalExecutionTimeForCompletionsMillis to set. * @return This builder for chaining. */ @@ -690,11 +762,14 @@ public Builder setTotalExecutionTimeForCompletionsMillis(float value) { return this; } /** + * + * *
      * Total time spent (in milliseconds) during uses the resulted in completions.
      * 
* * float total_execution_time_for_completions_millis = 4; + * * @return This builder for chaining. */ public Builder clearTotalExecutionTimeForCompletionsMillis() { @@ -703,9 +778,9 @@ public Builder clearTotalExecutionTimeForCompletionsMillis() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -715,12 +790,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.UsageStats) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.UsageStats) private static final com.google.cloud.datacatalog.v1beta1.UsageStats DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.UsageStats(); } @@ -729,27 +804,27 @@ public static com.google.cloud.datacatalog.v1beta1.UsageStats getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UsageStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UsageStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -764,6 +839,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.UsageStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageStatsOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageStatsOrBuilder.java similarity index 65% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageStatsOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageStatsOrBuilder.java index 796ccd76a5d4..8819c347673e 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageStatsOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageStatsOrBuilder.java @@ -1,50 +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/datacatalog/v1beta1/usage.proto package com.google.cloud.datacatalog.v1beta1; -public interface UsageStatsOrBuilder extends +public interface UsageStatsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.UsageStats) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The number of times that the underlying entry was successfully used.
    * 
* * float total_completions = 1; + * * @return The totalCompletions. */ float getTotalCompletions(); /** + * + * *
    * The number of times that the underlying entry was attempted to be used
    * but failed.
    * 
* * float total_failures = 2; + * * @return The totalFailures. */ float getTotalFailures(); /** + * + * *
    * The number of times that the underlying entry was attempted to be used
    * but was cancelled by the user.
    * 
* * float total_cancellations = 3; + * * @return The totalCancellations. */ float getTotalCancellations(); /** + * + * *
    * Total time spent (in milliseconds) during uses the resulted in completions.
    * 
* * float total_execution_time_for_completions_millis = 4; + * * @return The totalExecutionTimeForCompletionsMillis. */ float getTotalExecutionTimeForCompletionsMillis(); diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpec.java similarity index 67% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpec.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpec.java index f8f61932bbf9..87dea734d358 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpec.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/datacatalog/v1beta1/table_spec.proto package com.google.cloud.datacatalog.v1beta1; /** + * + * *
  * Table view specification.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.ViewSpec} */ -public final class ViewSpec extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ViewSpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ViewSpec) ViewSpecOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ViewSpec.newBuilder() to construct. private ViewSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ViewSpec() { viewQuery_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ViewSpec(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass + .internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass + .internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.ViewSpec.class, com.google.cloud.datacatalog.v1beta1.ViewSpec.Builder.class); + com.google.cloud.datacatalog.v1beta1.ViewSpec.class, + com.google.cloud.datacatalog.v1beta1.ViewSpec.Builder.class); } public static final int VIEW_QUERY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object viewQuery_ = ""; /** + * + * *
    * Output only. The query that defines the table view.
    * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The viewQuery. */ @java.lang.Override @@ -60,29 +83,29 @@ public java.lang.String getViewQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); viewQuery_ = s; return s; } } /** + * + * *
    * Output only. The query that defines the table view.
    * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for viewQuery. */ @java.lang.Override - public com.google.protobuf.ByteString - getViewQueryBytes() { + public com.google.protobuf.ByteString getViewQueryBytes() { java.lang.Object ref = viewQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); viewQuery_ = b; return b; } else { @@ -91,6 +114,7 @@ public java.lang.String getViewQuery() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,8 +126,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(viewQuery_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, viewQuery_); } @@ -127,15 +150,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datacatalog.v1beta1.ViewSpec)) { return super.equals(obj); } - com.google.cloud.datacatalog.v1beta1.ViewSpec other = (com.google.cloud.datacatalog.v1beta1.ViewSpec) obj; + com.google.cloud.datacatalog.v1beta1.ViewSpec other = + (com.google.cloud.datacatalog.v1beta1.ViewSpec) obj; - if (!getViewQuery() - .equals(other.getViewQuery())) return false; + if (!getViewQuery().equals(other.getViewQuery())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -154,132 +177,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.datacatalog.v1beta1.ViewSpec parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.datacatalog.v1beta1.ViewSpec parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ViewSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ViewSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ViewSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ViewSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.datacatalog.v1beta1.ViewSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ViewSpec parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.ViewSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.datacatalog.v1beta1.ViewSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datacatalog.v1beta1.ViewSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.datacatalog.v1beta1.ViewSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1beta1.ViewSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.datacatalog.v1beta1.ViewSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.datacatalog.v1beta1.ViewSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Table view specification.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1beta1.ViewSpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.ViewSpec) com.google.cloud.datacatalog.v1beta1.ViewSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass + .internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_fieldAccessorTable + return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass + .internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datacatalog.v1beta1.ViewSpec.class, com.google.cloud.datacatalog.v1beta1.ViewSpec.Builder.class); + com.google.cloud.datacatalog.v1beta1.ViewSpec.class, + com.google.cloud.datacatalog.v1beta1.ViewSpec.Builder.class); } // Construct using com.google.cloud.datacatalog.v1beta1.ViewSpec.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - 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 +316,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass + .internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_descriptor; } @java.lang.Override @@ -310,8 +337,11 @@ public com.google.cloud.datacatalog.v1beta1.ViewSpec build() { @java.lang.Override public com.google.cloud.datacatalog.v1beta1.ViewSpec buildPartial() { - com.google.cloud.datacatalog.v1beta1.ViewSpec result = new com.google.cloud.datacatalog.v1beta1.ViewSpec(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.datacatalog.v1beta1.ViewSpec result = + new com.google.cloud.datacatalog.v1beta1.ViewSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -327,38 +357,39 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ViewSpec result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datacatalog.v1beta1.ViewSpec) { - return mergeFrom((com.google.cloud.datacatalog.v1beta1.ViewSpec)other); + return mergeFrom((com.google.cloud.datacatalog.v1beta1.ViewSpec) other); } else { super.mergeFrom(other); return this; @@ -398,17 +429,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - viewQuery_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + viewQuery_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -418,22 +451,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object viewQuery_ = ""; /** + * + * *
      * Output only. The query that defines the table view.
      * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The viewQuery. */ public java.lang.String getViewQuery() { java.lang.Object ref = viewQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); viewQuery_ = s; return s; @@ -442,20 +478,21 @@ public java.lang.String getViewQuery() { } } /** + * + * *
      * Output only. The query that defines the table view.
      * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for viewQuery. */ - public com.google.protobuf.ByteString - getViewQueryBytes() { + public com.google.protobuf.ByteString getViewQueryBytes() { java.lang.Object ref = viewQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); viewQuery_ = b; return b; } else { @@ -463,28 +500,35 @@ public java.lang.String getViewQuery() { } } /** + * + * *
      * Output only. The query that defines the table view.
      * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The viewQuery to set. * @return This builder for chaining. */ - public Builder setViewQuery( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setViewQuery(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } viewQuery_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The query that defines the table view.
      * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearViewQuery() { @@ -494,26 +538,30 @@ public Builder clearViewQuery() { return this; } /** + * + * *
      * Output only. The query that defines the table view.
      * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for viewQuery to set. * @return This builder for chaining. */ - public Builder setViewQueryBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setViewQueryBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); viewQuery_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -523,12 +571,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ViewSpec) } // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ViewSpec) private static final com.google.cloud.datacatalog.v1beta1.ViewSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ViewSpec(); } @@ -537,27 +585,27 @@ public static com.google.cloud.datacatalog.v1beta1.ViewSpec getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ViewSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ViewSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -572,6 +620,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.ViewSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpecOrBuilder.java similarity index 51% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpecOrBuilder.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpecOrBuilder.java index e8b183bd5b86..3c547270c614 100644 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpecOrBuilder.java @@ -1,29 +1,50 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/table_spec.proto package com.google.cloud.datacatalog.v1beta1; -public interface ViewSpecOrBuilder extends +public interface ViewSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ViewSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The query that defines the table view.
    * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The viewQuery. */ java.lang.String getViewQuery(); /** + * + * *
    * Output only. The query that defines the table view.
    * 
* * string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for viewQuery. */ - com.google.protobuf.ByteString - getViewQueryBytes(); + com.google.protobuf.ByteString getViewQueryBytes(); } diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/common.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/common.proto similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/common.proto rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/common.proto diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/datacatalog.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/datacatalog.proto similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/datacatalog.proto rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/datacatalog.proto diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanager.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanager.proto similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanager.proto rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanager.proto diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/schema.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/schema.proto similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/schema.proto rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/schema.proto diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/search.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/search.proto similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/search.proto rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/search.proto diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/table_spec.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/table_spec.proto similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/table_spec.proto rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/table_spec.proto diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/tags.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/tags.proto similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/tags.proto rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/tags.proto diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/timestamps.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/timestamps.proto similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/timestamps.proto rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/timestamps.proto diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/usage.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/usage.proto similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/usage.proto rename to java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/usage.proto diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/create/SyncCreateSetCredentialsProvider.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/create/SyncCreateSetCredentialsProvider.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/create/SyncCreateSetCredentialsProvider1.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/create/SyncCreateSetCredentialsProvider1.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/create/SyncCreateSetEndpoint.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/create/SyncCreateSetEndpoint.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/AsyncCreateEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/AsyncCreateEntry.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/AsyncCreateEntry.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/AsyncCreateEntry.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/SyncCreateEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/SyncCreateEntry.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/SyncCreateEntry.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/SyncCreateEntry.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/SyncCreateEntryEntrygroupnameStringEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/SyncCreateEntryEntrygroupnameStringEntry.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/SyncCreateEntryEntrygroupnameStringEntry.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/SyncCreateEntryEntrygroupnameStringEntry.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/SyncCreateEntryStringStringEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/SyncCreateEntryStringStringEntry.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/SyncCreateEntryStringStringEntry.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentry/SyncCreateEntryStringStringEntry.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/AsyncCreateEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/AsyncCreateEntryGroup.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/AsyncCreateEntryGroup.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/AsyncCreateEntryGroup.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/SyncCreateEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/SyncCreateEntryGroup.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/SyncCreateEntryGroup.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/SyncCreateEntryGroup.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/SyncCreateEntryGroupLocationnameStringEntrygroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/SyncCreateEntryGroupLocationnameStringEntrygroup.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/SyncCreateEntryGroupLocationnameStringEntrygroup.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/SyncCreateEntryGroupLocationnameStringEntrygroup.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/SyncCreateEntryGroupStringStringEntrygroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/SyncCreateEntryGroupStringStringEntrygroup.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/SyncCreateEntryGroupStringStringEntrygroup.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createentrygroup/SyncCreateEntryGroupStringStringEntrygroup.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/AsyncCreateTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/AsyncCreateTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/AsyncCreateTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/AsyncCreateTag.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/SyncCreateTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/SyncCreateTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/SyncCreateTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/SyncCreateTag.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/SyncCreateTagEntrynameTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/SyncCreateTagEntrynameTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/SyncCreateTagEntrynameTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/SyncCreateTagEntrynameTag.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/SyncCreateTagStringTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/SyncCreateTagStringTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/SyncCreateTagStringTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtag/SyncCreateTagStringTag.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/AsyncCreateTagTemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/AsyncCreateTagTemplate.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/AsyncCreateTagTemplate.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/AsyncCreateTagTemplate.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/SyncCreateTagTemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/SyncCreateTagTemplate.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/SyncCreateTagTemplate.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/SyncCreateTagTemplate.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/SyncCreateTagTemplateLocationnameStringTagtemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/SyncCreateTagTemplateLocationnameStringTagtemplate.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/SyncCreateTagTemplateLocationnameStringTagtemplate.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/SyncCreateTagTemplateLocationnameStringTagtemplate.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/SyncCreateTagTemplateStringStringTagtemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/SyncCreateTagTemplateStringStringTagtemplate.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/SyncCreateTagTemplateStringStringTagtemplate.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplate/SyncCreateTagTemplateStringStringTagtemplate.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/AsyncCreateTagTemplateField.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/AsyncCreateTagTemplateField.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/AsyncCreateTagTemplateField.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/AsyncCreateTagTemplateField.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateField.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateField.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateField.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateField.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldStringStringTagtemplatefield.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldStringStringTagtemplatefield.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldStringStringTagtemplatefield.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldStringStringTagtemplatefield.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldTagtemplatenameStringTagtemplatefield.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldTagtemplatenameStringTagtemplatefield.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldTagtemplatenameStringTagtemplatefield.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldTagtemplatenameStringTagtemplatefield.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/AsyncDeleteEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/AsyncDeleteEntry.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/AsyncDeleteEntry.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/AsyncDeleteEntry.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/SyncDeleteEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/SyncDeleteEntry.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/SyncDeleteEntry.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/SyncDeleteEntry.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/SyncDeleteEntryEntryname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/SyncDeleteEntryEntryname.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/SyncDeleteEntryEntryname.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/SyncDeleteEntryEntryname.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/SyncDeleteEntryString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/SyncDeleteEntryString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/SyncDeleteEntryString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentry/SyncDeleteEntryString.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/AsyncDeleteEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/AsyncDeleteEntryGroup.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/AsyncDeleteEntryGroup.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/AsyncDeleteEntryGroup.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/SyncDeleteEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/SyncDeleteEntryGroup.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/SyncDeleteEntryGroup.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/SyncDeleteEntryGroup.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupEntrygroupname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupEntrygroupname.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupEntrygroupname.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupEntrygroupname.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupString.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/AsyncDeleteTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/AsyncDeleteTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/AsyncDeleteTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/AsyncDeleteTag.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/SyncDeleteTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/SyncDeleteTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/SyncDeleteTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/SyncDeleteTag.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/SyncDeleteTagEntryname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/SyncDeleteTagEntryname.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/SyncDeleteTagEntryname.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/SyncDeleteTagEntryname.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/SyncDeleteTagString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/SyncDeleteTagString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/SyncDeleteTagString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetag/SyncDeleteTagString.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/AsyncDeleteTagTemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/AsyncDeleteTagTemplate.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/AsyncDeleteTagTemplate.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/AsyncDeleteTagTemplate.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/SyncDeleteTagTemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/SyncDeleteTagTemplate.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/SyncDeleteTagTemplate.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/SyncDeleteTagTemplate.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateStringBoolean.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateStringBoolean.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateStringBoolean.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateStringBoolean.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateTagtemplatenameBoolean.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateTagtemplatenameBoolean.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateTagtemplatenameBoolean.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateTagtemplatenameBoolean.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/AsyncDeleteTagTemplateField.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/AsyncDeleteTagTemplateField.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/AsyncDeleteTagTemplateField.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/AsyncDeleteTagTemplateField.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateField.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateField.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateField.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateField.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldStringBoolean.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldStringBoolean.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldStringBoolean.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldStringBoolean.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldTagtemplatefieldnameBoolean.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldTagtemplatefieldnameBoolean.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldTagtemplatefieldnameBoolean.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldTagtemplatefieldnameBoolean.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/AsyncGetEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/AsyncGetEntry.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/AsyncGetEntry.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/AsyncGetEntry.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/SyncGetEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/SyncGetEntry.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/SyncGetEntry.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/SyncGetEntry.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/SyncGetEntryEntryname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/SyncGetEntryEntryname.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/SyncGetEntryEntryname.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/SyncGetEntryEntryname.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/SyncGetEntryString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/SyncGetEntryString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/SyncGetEntryString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentry/SyncGetEntryString.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/AsyncGetEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/AsyncGetEntryGroup.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/AsyncGetEntryGroup.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/AsyncGetEntryGroup.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroup.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroup.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroup.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupname.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupname.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupname.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupnameFieldmask.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupnameFieldmask.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupnameFieldmask.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupnameFieldmask.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupString.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupStringFieldmask.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupStringFieldmask.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupStringFieldmask.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getentrygroup/SyncGetEntryGroupStringFieldmask.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/AsyncGetIamPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/AsyncGetIamPolicy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/AsyncGetIamPolicy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/AsyncGetIamPolicy.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/SyncGetIamPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/SyncGetIamPolicy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/SyncGetIamPolicy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/SyncGetIamPolicy.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/SyncGetIamPolicyResourcename.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/SyncGetIamPolicyResourcename.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/SyncGetIamPolicyResourcename.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/SyncGetIamPolicyResourcename.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/SyncGetIamPolicyString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/SyncGetIamPolicyString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/SyncGetIamPolicyString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/getiampolicy/SyncGetIamPolicyString.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/AsyncGetTagTemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/AsyncGetTagTemplate.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/AsyncGetTagTemplate.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/AsyncGetTagTemplate.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/SyncGetTagTemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/SyncGetTagTemplate.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/SyncGetTagTemplate.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/SyncGetTagTemplate.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/SyncGetTagTemplateString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/SyncGetTagTemplateString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/SyncGetTagTemplateString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/SyncGetTagTemplateString.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/SyncGetTagTemplateTagtemplatename.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/SyncGetTagTemplateTagtemplatename.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/SyncGetTagTemplateTagtemplatename.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/gettagtemplate/SyncGetTagTemplateTagtemplatename.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/importentries/AsyncImportEntries.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/importentries/AsyncImportEntries.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/importentries/AsyncImportEntries.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/importentries/AsyncImportEntries.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/importentries/AsyncImportEntriesLRO.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/importentries/AsyncImportEntriesLRO.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/importentries/AsyncImportEntriesLRO.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/importentries/AsyncImportEntriesLRO.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/importentries/SyncImportEntries.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/importentries/SyncImportEntries.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/importentries/SyncImportEntries.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/importentries/SyncImportEntries.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/AsyncListEntries.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/AsyncListEntries.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/AsyncListEntries.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/AsyncListEntries.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/AsyncListEntriesPaged.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/AsyncListEntriesPaged.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/AsyncListEntriesPaged.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/AsyncListEntriesPaged.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/SyncListEntries.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/SyncListEntries.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/SyncListEntries.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/SyncListEntries.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/SyncListEntriesEntrygroupname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/SyncListEntriesEntrygroupname.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/SyncListEntriesEntrygroupname.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/SyncListEntriesEntrygroupname.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/SyncListEntriesString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/SyncListEntriesString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/SyncListEntriesString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentries/SyncListEntriesString.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/AsyncListEntryGroups.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/AsyncListEntryGroups.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/AsyncListEntryGroups.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/AsyncListEntryGroups.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/AsyncListEntryGroupsPaged.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/AsyncListEntryGroupsPaged.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/AsyncListEntryGroupsPaged.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/AsyncListEntryGroupsPaged.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/SyncListEntryGroups.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/SyncListEntryGroups.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/SyncListEntryGroups.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/SyncListEntryGroups.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/SyncListEntryGroupsLocationname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/SyncListEntryGroupsLocationname.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/SyncListEntryGroupsLocationname.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/SyncListEntryGroupsLocationname.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/SyncListEntryGroupsString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/SyncListEntryGroupsString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/SyncListEntryGroupsString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listentrygroups/SyncListEntryGroupsString.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/AsyncListTags.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/AsyncListTags.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/AsyncListTags.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/AsyncListTags.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/AsyncListTagsPaged.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/AsyncListTagsPaged.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/AsyncListTagsPaged.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/AsyncListTagsPaged.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/SyncListTags.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/SyncListTags.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/SyncListTags.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/SyncListTags.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/SyncListTagsEntryname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/SyncListTagsEntryname.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/SyncListTagsEntryname.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/SyncListTagsEntryname.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/SyncListTagsString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/SyncListTagsString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/SyncListTagsString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/listtags/SyncListTagsString.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/lookupentry/AsyncLookupEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/lookupentry/AsyncLookupEntry.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/lookupentry/AsyncLookupEntry.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/lookupentry/AsyncLookupEntry.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/lookupentry/SyncLookupEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/lookupentry/SyncLookupEntry.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/lookupentry/SyncLookupEntry.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/lookupentry/SyncLookupEntry.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentrycontacts/AsyncModifyEntryContacts.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentrycontacts/AsyncModifyEntryContacts.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentrycontacts/AsyncModifyEntryContacts.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentrycontacts/AsyncModifyEntryContacts.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentrycontacts/SyncModifyEntryContacts.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentrycontacts/SyncModifyEntryContacts.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentrycontacts/SyncModifyEntryContacts.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentrycontacts/SyncModifyEntryContacts.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentryoverview/AsyncModifyEntryOverview.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentryoverview/AsyncModifyEntryOverview.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentryoverview/AsyncModifyEntryOverview.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentryoverview/AsyncModifyEntryOverview.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentryoverview/SyncModifyEntryOverview.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentryoverview/SyncModifyEntryOverview.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentryoverview/SyncModifyEntryOverview.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/modifyentryoverview/SyncModifyEntryOverview.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/reconciletags/AsyncReconcileTags.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/reconciletags/AsyncReconcileTags.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/reconciletags/AsyncReconcileTags.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/reconciletags/AsyncReconcileTags.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/reconciletags/AsyncReconcileTagsLRO.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/reconciletags/AsyncReconcileTagsLRO.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/reconciletags/AsyncReconcileTagsLRO.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/reconciletags/AsyncReconcileTagsLRO.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/reconciletags/SyncReconcileTags.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/reconciletags/SyncReconcileTags.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/reconciletags/SyncReconcileTags.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/reconciletags/SyncReconcileTags.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/AsyncRenameTagTemplateField.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/AsyncRenameTagTemplateField.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/AsyncRenameTagTemplateField.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/AsyncRenameTagTemplateField.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateField.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateField.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateField.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateField.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldStringString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldStringString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldStringString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldStringString.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldTagtemplatefieldnameString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldTagtemplatefieldnameString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldTagtemplatefieldnameString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldTagtemplatefieldnameString.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/AsyncRenameTagTemplateFieldEnumValue.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/AsyncRenameTagTemplateFieldEnumValue.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/AsyncRenameTagTemplateFieldEnumValue.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/AsyncRenameTagTemplateFieldEnumValue.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValue.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValue.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValue.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValue.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueStringString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueStringString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueStringString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueStringString.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/AsyncSearchCatalog.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/AsyncSearchCatalog.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/AsyncSearchCatalog.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/AsyncSearchCatalog.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/AsyncSearchCatalogPaged.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/AsyncSearchCatalogPaged.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/AsyncSearchCatalogPaged.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/AsyncSearchCatalogPaged.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/SyncSearchCatalog.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/SyncSearchCatalog.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/SyncSearchCatalog.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/SyncSearchCatalog.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/SyncSearchCatalogSearchcatalogrequestscopeString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/SyncSearchCatalogSearchcatalogrequestscopeString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/SyncSearchCatalogSearchcatalogrequestscopeString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/searchcatalog/SyncSearchCatalogSearchcatalogrequestscopeString.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/AsyncSetIamPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/AsyncSetIamPolicy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/AsyncSetIamPolicy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/AsyncSetIamPolicy.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/SyncSetIamPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/SyncSetIamPolicy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/SyncSetIamPolicy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/SyncSetIamPolicy.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/SyncSetIamPolicyStringPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/SyncSetIamPolicyStringPolicy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/SyncSetIamPolicyStringPolicy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/setiampolicy/SyncSetIamPolicyStringPolicy.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/AsyncStarEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/AsyncStarEntry.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/AsyncStarEntry.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/AsyncStarEntry.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/SyncStarEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/SyncStarEntry.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/SyncStarEntry.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/SyncStarEntry.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/SyncStarEntryEntryname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/SyncStarEntryEntryname.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/SyncStarEntryEntryname.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/SyncStarEntryEntryname.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/SyncStarEntryString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/SyncStarEntryString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/SyncStarEntryString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/starentry/SyncStarEntryString.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/testiampermissions/AsyncTestIamPermissions.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/testiampermissions/AsyncTestIamPermissions.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/testiampermissions/AsyncTestIamPermissions.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/testiampermissions/AsyncTestIamPermissions.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/testiampermissions/SyncTestIamPermissions.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/testiampermissions/SyncTestIamPermissions.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/testiampermissions/SyncTestIamPermissions.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/testiampermissions/SyncTestIamPermissions.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/AsyncUnstarEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/AsyncUnstarEntry.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/AsyncUnstarEntry.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/AsyncUnstarEntry.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/SyncUnstarEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/SyncUnstarEntry.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/SyncUnstarEntry.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/SyncUnstarEntry.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/SyncUnstarEntryEntryname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/SyncUnstarEntryEntryname.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/SyncUnstarEntryEntryname.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/SyncUnstarEntryEntryname.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/SyncUnstarEntryString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/SyncUnstarEntryString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/SyncUnstarEntryString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/unstarentry/SyncUnstarEntryString.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/AsyncUpdateEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/AsyncUpdateEntry.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/AsyncUpdateEntry.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/AsyncUpdateEntry.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/SyncUpdateEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/SyncUpdateEntry.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/SyncUpdateEntry.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/SyncUpdateEntry.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/SyncUpdateEntryEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/SyncUpdateEntryEntry.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/SyncUpdateEntryEntry.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/SyncUpdateEntryEntry.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/SyncUpdateEntryEntryFieldmask.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/SyncUpdateEntryEntryFieldmask.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/SyncUpdateEntryEntryFieldmask.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentry/SyncUpdateEntryEntryFieldmask.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/AsyncUpdateEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/AsyncUpdateEntryGroup.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/AsyncUpdateEntryGroup.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/AsyncUpdateEntryGroup.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/SyncUpdateEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/SyncUpdateEntryGroup.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/SyncUpdateEntryGroup.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/SyncUpdateEntryGroup.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroup.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroup.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroup.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroupFieldmask.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroupFieldmask.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroupFieldmask.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroupFieldmask.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/AsyncUpdateTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/AsyncUpdateTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/AsyncUpdateTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/AsyncUpdateTag.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/SyncUpdateTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/SyncUpdateTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/SyncUpdateTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/SyncUpdateTag.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/SyncUpdateTagTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/SyncUpdateTagTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/SyncUpdateTagTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/SyncUpdateTagTag.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/SyncUpdateTagTagFieldmask.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/SyncUpdateTagTagFieldmask.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/SyncUpdateTagTagFieldmask.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetag/SyncUpdateTagTagFieldmask.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/AsyncUpdateTagTemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/AsyncUpdateTagTemplate.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/AsyncUpdateTagTemplate.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/AsyncUpdateTagTemplate.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/SyncUpdateTagTemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/SyncUpdateTagTemplate.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/SyncUpdateTagTemplate.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/SyncUpdateTagTemplate.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplate.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplate.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplate.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplateFieldmask.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplateFieldmask.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplateFieldmask.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplateFieldmask.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/AsyncUpdateTagTemplateField.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/AsyncUpdateTagTemplateField.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/AsyncUpdateTagTemplateField.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/AsyncUpdateTagTemplateField.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateField.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateField.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateField.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateField.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefield.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefield.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefield.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefield.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefieldFieldmask.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefieldFieldmask.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefieldFieldmask.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefieldFieldmask.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefield.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefield.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefield.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefield.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefieldFieldmask.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefieldFieldmask.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefieldFieldmask.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefieldFieldmask.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogsettings/createentrygroup/SyncCreateEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogsettings/createentrygroup/SyncCreateEntryGroup.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogsettings/createentrygroup/SyncCreateEntryGroup.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/datacatalogsettings/createentrygroup/SyncCreateEntryGroup.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/create/SyncCreateSetCredentialsProvider.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/create/SyncCreateSetCredentialsProvider.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/create/SyncCreateSetCredentialsProvider1.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/create/SyncCreateSetCredentialsProvider1.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/create/SyncCreateSetEndpoint.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/create/SyncCreateSetEndpoint.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/AsyncCreatePolicyTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/AsyncCreatePolicyTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/AsyncCreatePolicyTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/AsyncCreatePolicyTag.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/SyncCreatePolicyTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/SyncCreatePolicyTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/SyncCreatePolicyTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/SyncCreatePolicyTag.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/SyncCreatePolicyTagStringPolicytag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/SyncCreatePolicyTagStringPolicytag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/SyncCreatePolicyTagStringPolicytag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/SyncCreatePolicyTagStringPolicytag.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/SyncCreatePolicyTagTaxonomynamePolicytag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/SyncCreatePolicyTagTaxonomynamePolicytag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/SyncCreatePolicyTagTaxonomynamePolicytag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createpolicytag/SyncCreatePolicyTagTaxonomynamePolicytag.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/AsyncCreateTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/AsyncCreateTaxonomy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/AsyncCreateTaxonomy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/AsyncCreateTaxonomy.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/SyncCreateTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/SyncCreateTaxonomy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/SyncCreateTaxonomy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/SyncCreateTaxonomy.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/SyncCreateTaxonomyLocationnameTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/SyncCreateTaxonomyLocationnameTaxonomy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/SyncCreateTaxonomyLocationnameTaxonomy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/SyncCreateTaxonomyLocationnameTaxonomy.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/SyncCreateTaxonomyStringTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/SyncCreateTaxonomyStringTaxonomy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/SyncCreateTaxonomyStringTaxonomy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/createtaxonomy/SyncCreateTaxonomyStringTaxonomy.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/AsyncDeletePolicyTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/AsyncDeletePolicyTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/AsyncDeletePolicyTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/AsyncDeletePolicyTag.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/SyncDeletePolicyTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/SyncDeletePolicyTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/SyncDeletePolicyTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/SyncDeletePolicyTag.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/SyncDeletePolicyTagPolicytagname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/SyncDeletePolicyTagPolicytagname.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/SyncDeletePolicyTagPolicytagname.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/SyncDeletePolicyTagPolicytagname.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/SyncDeletePolicyTagString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/SyncDeletePolicyTagString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/SyncDeletePolicyTagString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletepolicytag/SyncDeletePolicyTagString.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/AsyncDeleteTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/AsyncDeleteTaxonomy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/AsyncDeleteTaxonomy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/AsyncDeleteTaxonomy.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomy.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyString.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyTaxonomyname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyTaxonomyname.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyTaxonomyname.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyTaxonomyname.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getiampolicy/AsyncGetIamPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getiampolicy/AsyncGetIamPolicy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getiampolicy/AsyncGetIamPolicy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getiampolicy/AsyncGetIamPolicy.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getiampolicy/SyncGetIamPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getiampolicy/SyncGetIamPolicy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getiampolicy/SyncGetIamPolicy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getiampolicy/SyncGetIamPolicy.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/AsyncGetPolicyTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/AsyncGetPolicyTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/AsyncGetPolicyTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/AsyncGetPolicyTag.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/SyncGetPolicyTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/SyncGetPolicyTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/SyncGetPolicyTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/SyncGetPolicyTag.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/SyncGetPolicyTagPolicytagname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/SyncGetPolicyTagPolicytagname.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/SyncGetPolicyTagPolicytagname.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/SyncGetPolicyTagPolicytagname.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/SyncGetPolicyTagString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/SyncGetPolicyTagString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/SyncGetPolicyTagString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/getpolicytag/SyncGetPolicyTagString.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/AsyncGetTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/AsyncGetTaxonomy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/AsyncGetTaxonomy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/AsyncGetTaxonomy.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/SyncGetTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/SyncGetTaxonomy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/SyncGetTaxonomy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/SyncGetTaxonomy.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/SyncGetTaxonomyString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/SyncGetTaxonomyString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/SyncGetTaxonomyString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/SyncGetTaxonomyString.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/SyncGetTaxonomyTaxonomyname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/SyncGetTaxonomyTaxonomyname.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/SyncGetTaxonomyTaxonomyname.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/gettaxonomy/SyncGetTaxonomyTaxonomyname.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/AsyncListPolicyTags.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/AsyncListPolicyTags.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/AsyncListPolicyTags.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/AsyncListPolicyTags.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/AsyncListPolicyTagsPaged.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/AsyncListPolicyTagsPaged.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/AsyncListPolicyTagsPaged.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/AsyncListPolicyTagsPaged.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/SyncListPolicyTags.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/SyncListPolicyTags.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/SyncListPolicyTags.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/SyncListPolicyTags.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/SyncListPolicyTagsString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/SyncListPolicyTagsString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/SyncListPolicyTagsString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/SyncListPolicyTagsString.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/SyncListPolicyTagsTaxonomyname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/SyncListPolicyTagsTaxonomyname.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/SyncListPolicyTagsTaxonomyname.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listpolicytags/SyncListPolicyTagsTaxonomyname.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/AsyncListTaxonomies.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/AsyncListTaxonomies.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/AsyncListTaxonomies.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/AsyncListTaxonomies.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/AsyncListTaxonomiesPaged.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/AsyncListTaxonomiesPaged.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/AsyncListTaxonomiesPaged.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/AsyncListTaxonomiesPaged.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/SyncListTaxonomies.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/SyncListTaxonomies.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/SyncListTaxonomies.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/SyncListTaxonomies.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/SyncListTaxonomiesLocationname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/SyncListTaxonomiesLocationname.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/SyncListTaxonomiesLocationname.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/SyncListTaxonomiesLocationname.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/SyncListTaxonomiesString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/SyncListTaxonomiesString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/SyncListTaxonomiesString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/listtaxonomies/SyncListTaxonomiesString.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/setiampolicy/AsyncSetIamPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/setiampolicy/AsyncSetIamPolicy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/setiampolicy/AsyncSetIamPolicy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/setiampolicy/AsyncSetIamPolicy.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/setiampolicy/SyncSetIamPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/setiampolicy/SyncSetIamPolicy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/setiampolicy/SyncSetIamPolicy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/setiampolicy/SyncSetIamPolicy.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/testiampermissions/AsyncTestIamPermissions.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/testiampermissions/AsyncTestIamPermissions.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/testiampermissions/AsyncTestIamPermissions.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/testiampermissions/AsyncTestIamPermissions.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/testiampermissions/SyncTestIamPermissions.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/testiampermissions/SyncTestIamPermissions.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/testiampermissions/SyncTestIamPermissions.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/testiampermissions/SyncTestIamPermissions.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatepolicytag/AsyncUpdatePolicyTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatepolicytag/AsyncUpdatePolicyTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatepolicytag/AsyncUpdatePolicyTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatepolicytag/AsyncUpdatePolicyTag.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatepolicytag/SyncUpdatePolicyTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatepolicytag/SyncUpdatePolicyTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatepolicytag/SyncUpdatePolicyTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatepolicytag/SyncUpdatePolicyTag.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatepolicytag/SyncUpdatePolicyTagPolicytag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatepolicytag/SyncUpdatePolicyTagPolicytag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatepolicytag/SyncUpdatePolicyTagPolicytag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatepolicytag/SyncUpdatePolicyTagPolicytag.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatetaxonomy/AsyncUpdateTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatetaxonomy/AsyncUpdateTaxonomy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatetaxonomy/AsyncUpdateTaxonomy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatetaxonomy/AsyncUpdateTaxonomy.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomy.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomyTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomyTaxonomy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomyTaxonomy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomyTaxonomy.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider1.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider1.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/create/SyncCreateSetEndpoint.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/create/SyncCreateSetEndpoint.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/exporttaxonomies/AsyncExportTaxonomies.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/exporttaxonomies/AsyncExportTaxonomies.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/exporttaxonomies/AsyncExportTaxonomies.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/exporttaxonomies/AsyncExportTaxonomies.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/exporttaxonomies/SyncExportTaxonomies.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/exporttaxonomies/SyncExportTaxonomies.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/exporttaxonomies/SyncExportTaxonomies.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/exporttaxonomies/SyncExportTaxonomies.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/importtaxonomies/AsyncImportTaxonomies.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/importtaxonomies/AsyncImportTaxonomies.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/importtaxonomies/AsyncImportTaxonomies.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/importtaxonomies/AsyncImportTaxonomies.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/importtaxonomies/SyncImportTaxonomies.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/importtaxonomies/SyncImportTaxonomies.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/importtaxonomies/SyncImportTaxonomies.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/importtaxonomies/SyncImportTaxonomies.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/replacetaxonomy/AsyncReplaceTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/replacetaxonomy/AsyncReplaceTaxonomy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/replacetaxonomy/AsyncReplaceTaxonomy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/replacetaxonomy/AsyncReplaceTaxonomy.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/replacetaxonomy/SyncReplaceTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/replacetaxonomy/SyncReplaceTaxonomy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/replacetaxonomy/SyncReplaceTaxonomy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserialization/replacetaxonomy/SyncReplaceTaxonomy.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationsettings/replacetaxonomy/SyncReplaceTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationsettings/replacetaxonomy/SyncReplaceTaxonomy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationsettings/replacetaxonomy/SyncReplaceTaxonomy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagerserializationsettings/replacetaxonomy/SyncReplaceTaxonomy.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagersettings/createtaxonomy/SyncCreateTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagersettings/createtaxonomy/SyncCreateTaxonomy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagersettings/createtaxonomy/SyncCreateTaxonomy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/policytagmanagersettings/createtaxonomy/SyncCreateTaxonomy.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/datacatalogstubsettings/createentrygroup/SyncCreateEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/datacatalogstubsettings/createentrygroup/SyncCreateEntryGroup.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/datacatalogstubsettings/createentrygroup/SyncCreateEntryGroup.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/datacatalogstubsettings/createentrygroup/SyncCreateEntryGroup.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/policytagmanagerserializationstubsettings/replacetaxonomy/SyncReplaceTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/policytagmanagerserializationstubsettings/replacetaxonomy/SyncReplaceTaxonomy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/policytagmanagerserializationstubsettings/replacetaxonomy/SyncReplaceTaxonomy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/policytagmanagerserializationstubsettings/replacetaxonomy/SyncReplaceTaxonomy.java diff --git a/owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/policytagmanagerstubsettings/createtaxonomy/SyncCreateTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/policytagmanagerstubsettings/createtaxonomy/SyncCreateTaxonomy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/policytagmanagerstubsettings/createtaxonomy/SyncCreateTaxonomy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1/stub/policytagmanagerstubsettings/createtaxonomy/SyncCreateTaxonomy.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/create/SyncCreateSetCredentialsProvider.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/create/SyncCreateSetCredentialsProvider.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/create/SyncCreateSetCredentialsProvider1.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/create/SyncCreateSetCredentialsProvider1.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/create/SyncCreateSetEndpoint.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/create/SyncCreateSetEndpoint.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/AsyncCreateEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/AsyncCreateEntry.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/AsyncCreateEntry.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/AsyncCreateEntry.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/SyncCreateEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/SyncCreateEntry.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/SyncCreateEntry.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/SyncCreateEntry.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/SyncCreateEntryEntrygroupnameStringEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/SyncCreateEntryEntrygroupnameStringEntry.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/SyncCreateEntryEntrygroupnameStringEntry.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/SyncCreateEntryEntrygroupnameStringEntry.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/SyncCreateEntryStringStringEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/SyncCreateEntryStringStringEntry.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/SyncCreateEntryStringStringEntry.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentry/SyncCreateEntryStringStringEntry.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/AsyncCreateEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/AsyncCreateEntryGroup.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/AsyncCreateEntryGroup.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/AsyncCreateEntryGroup.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/SyncCreateEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/SyncCreateEntryGroup.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/SyncCreateEntryGroup.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/SyncCreateEntryGroup.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/SyncCreateEntryGroupLocationnameStringEntrygroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/SyncCreateEntryGroupLocationnameStringEntrygroup.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/SyncCreateEntryGroupLocationnameStringEntrygroup.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/SyncCreateEntryGroupLocationnameStringEntrygroup.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/SyncCreateEntryGroupStringStringEntrygroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/SyncCreateEntryGroupStringStringEntrygroup.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/SyncCreateEntryGroupStringStringEntrygroup.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createentrygroup/SyncCreateEntryGroupStringStringEntrygroup.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/AsyncCreateTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/AsyncCreateTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/AsyncCreateTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/AsyncCreateTag.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/SyncCreateTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/SyncCreateTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/SyncCreateTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/SyncCreateTag.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/SyncCreateTagEntrynameTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/SyncCreateTagEntrynameTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/SyncCreateTagEntrynameTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/SyncCreateTagEntrynameTag.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/SyncCreateTagStringTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/SyncCreateTagStringTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/SyncCreateTagStringTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtag/SyncCreateTagStringTag.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/AsyncCreateTagTemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/AsyncCreateTagTemplate.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/AsyncCreateTagTemplate.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/AsyncCreateTagTemplate.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/SyncCreateTagTemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/SyncCreateTagTemplate.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/SyncCreateTagTemplate.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/SyncCreateTagTemplate.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/SyncCreateTagTemplateLocationnameStringTagtemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/SyncCreateTagTemplateLocationnameStringTagtemplate.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/SyncCreateTagTemplateLocationnameStringTagtemplate.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/SyncCreateTagTemplateLocationnameStringTagtemplate.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/SyncCreateTagTemplateStringStringTagtemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/SyncCreateTagTemplateStringStringTagtemplate.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/SyncCreateTagTemplateStringStringTagtemplate.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplate/SyncCreateTagTemplateStringStringTagtemplate.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/AsyncCreateTagTemplateField.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/AsyncCreateTagTemplateField.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/AsyncCreateTagTemplateField.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/AsyncCreateTagTemplateField.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateField.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateField.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateField.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateField.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldStringStringTagtemplatefield.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldStringStringTagtemplatefield.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldStringStringTagtemplatefield.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldStringStringTagtemplatefield.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldTagtemplatenameStringTagtemplatefield.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldTagtemplatenameStringTagtemplatefield.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldTagtemplatenameStringTagtemplatefield.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/createtagtemplatefield/SyncCreateTagTemplateFieldTagtemplatenameStringTagtemplatefield.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/AsyncDeleteEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/AsyncDeleteEntry.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/AsyncDeleteEntry.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/AsyncDeleteEntry.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/SyncDeleteEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/SyncDeleteEntry.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/SyncDeleteEntry.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/SyncDeleteEntry.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/SyncDeleteEntryEntryname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/SyncDeleteEntryEntryname.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/SyncDeleteEntryEntryname.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/SyncDeleteEntryEntryname.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/SyncDeleteEntryString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/SyncDeleteEntryString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/SyncDeleteEntryString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentry/SyncDeleteEntryString.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/AsyncDeleteEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/AsyncDeleteEntryGroup.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/AsyncDeleteEntryGroup.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/AsyncDeleteEntryGroup.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/SyncDeleteEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/SyncDeleteEntryGroup.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/SyncDeleteEntryGroup.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/SyncDeleteEntryGroup.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupEntrygroupname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupEntrygroupname.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupEntrygroupname.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupEntrygroupname.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deleteentrygroup/SyncDeleteEntryGroupString.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/AsyncDeleteTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/AsyncDeleteTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/AsyncDeleteTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/AsyncDeleteTag.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/SyncDeleteTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/SyncDeleteTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/SyncDeleteTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/SyncDeleteTag.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/SyncDeleteTagEntryname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/SyncDeleteTagEntryname.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/SyncDeleteTagEntryname.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/SyncDeleteTagEntryname.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/SyncDeleteTagString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/SyncDeleteTagString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/SyncDeleteTagString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetag/SyncDeleteTagString.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/AsyncDeleteTagTemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/AsyncDeleteTagTemplate.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/AsyncDeleteTagTemplate.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/AsyncDeleteTagTemplate.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/SyncDeleteTagTemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/SyncDeleteTagTemplate.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/SyncDeleteTagTemplate.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/SyncDeleteTagTemplate.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateStringBoolean.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateStringBoolean.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateStringBoolean.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateStringBoolean.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateTagtemplatenameBoolean.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateTagtemplatenameBoolean.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateTagtemplatenameBoolean.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplate/SyncDeleteTagTemplateTagtemplatenameBoolean.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/AsyncDeleteTagTemplateField.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/AsyncDeleteTagTemplateField.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/AsyncDeleteTagTemplateField.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/AsyncDeleteTagTemplateField.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateField.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateField.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateField.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateField.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldStringBoolean.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldStringBoolean.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldStringBoolean.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldStringBoolean.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldTagtemplatefieldnameBoolean.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldTagtemplatefieldnameBoolean.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldTagtemplatefieldnameBoolean.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/deletetagtemplatefield/SyncDeleteTagTemplateFieldTagtemplatefieldnameBoolean.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/AsyncGetEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/AsyncGetEntry.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/AsyncGetEntry.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/AsyncGetEntry.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/SyncGetEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/SyncGetEntry.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/SyncGetEntry.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/SyncGetEntry.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/SyncGetEntryEntryname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/SyncGetEntryEntryname.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/SyncGetEntryEntryname.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/SyncGetEntryEntryname.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/SyncGetEntryString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/SyncGetEntryString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/SyncGetEntryString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentry/SyncGetEntryString.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/AsyncGetEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/AsyncGetEntryGroup.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/AsyncGetEntryGroup.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/AsyncGetEntryGroup.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroup.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroup.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroup.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupname.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupname.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupname.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupnameFieldmask.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupnameFieldmask.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupnameFieldmask.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupEntrygroupnameFieldmask.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupString.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupStringFieldmask.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupStringFieldmask.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupStringFieldmask.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getentrygroup/SyncGetEntryGroupStringFieldmask.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/AsyncGetIamPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/AsyncGetIamPolicy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/AsyncGetIamPolicy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/AsyncGetIamPolicy.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/SyncGetIamPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/SyncGetIamPolicy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/SyncGetIamPolicy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/SyncGetIamPolicy.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/SyncGetIamPolicyResourcename.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/SyncGetIamPolicyResourcename.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/SyncGetIamPolicyResourcename.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/SyncGetIamPolicyResourcename.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/SyncGetIamPolicyString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/SyncGetIamPolicyString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/SyncGetIamPolicyString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/getiampolicy/SyncGetIamPolicyString.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/AsyncGetTagTemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/AsyncGetTagTemplate.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/AsyncGetTagTemplate.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/AsyncGetTagTemplate.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/SyncGetTagTemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/SyncGetTagTemplate.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/SyncGetTagTemplate.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/SyncGetTagTemplate.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/SyncGetTagTemplateString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/SyncGetTagTemplateString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/SyncGetTagTemplateString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/SyncGetTagTemplateString.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/SyncGetTagTemplateTagtemplatename.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/SyncGetTagTemplateTagtemplatename.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/SyncGetTagTemplateTagtemplatename.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/gettagtemplate/SyncGetTagTemplateTagtemplatename.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/AsyncListEntries.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/AsyncListEntries.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/AsyncListEntries.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/AsyncListEntries.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/AsyncListEntriesPaged.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/AsyncListEntriesPaged.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/AsyncListEntriesPaged.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/AsyncListEntriesPaged.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/SyncListEntries.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/SyncListEntries.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/SyncListEntries.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/SyncListEntries.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/SyncListEntriesEntrygroupname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/SyncListEntriesEntrygroupname.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/SyncListEntriesEntrygroupname.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/SyncListEntriesEntrygroupname.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/SyncListEntriesString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/SyncListEntriesString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/SyncListEntriesString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentries/SyncListEntriesString.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/AsyncListEntryGroups.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/AsyncListEntryGroups.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/AsyncListEntryGroups.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/AsyncListEntryGroups.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/AsyncListEntryGroupsPaged.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/AsyncListEntryGroupsPaged.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/AsyncListEntryGroupsPaged.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/AsyncListEntryGroupsPaged.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/SyncListEntryGroups.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/SyncListEntryGroups.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/SyncListEntryGroups.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/SyncListEntryGroups.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/SyncListEntryGroupsLocationname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/SyncListEntryGroupsLocationname.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/SyncListEntryGroupsLocationname.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/SyncListEntryGroupsLocationname.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/SyncListEntryGroupsString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/SyncListEntryGroupsString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/SyncListEntryGroupsString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listentrygroups/SyncListEntryGroupsString.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/AsyncListTags.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/AsyncListTags.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/AsyncListTags.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/AsyncListTags.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/AsyncListTagsPaged.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/AsyncListTagsPaged.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/AsyncListTagsPaged.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/AsyncListTagsPaged.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/SyncListTags.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/SyncListTags.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/SyncListTags.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/SyncListTags.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/SyncListTagsEntryname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/SyncListTagsEntryname.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/SyncListTagsEntryname.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/SyncListTagsEntryname.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/SyncListTagsString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/SyncListTagsString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/SyncListTagsString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/listtags/SyncListTagsString.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/lookupentry/AsyncLookupEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/lookupentry/AsyncLookupEntry.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/lookupentry/AsyncLookupEntry.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/lookupentry/AsyncLookupEntry.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/lookupentry/SyncLookupEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/lookupentry/SyncLookupEntry.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/lookupentry/SyncLookupEntry.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/lookupentry/SyncLookupEntry.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/AsyncRenameTagTemplateField.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/AsyncRenameTagTemplateField.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/AsyncRenameTagTemplateField.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/AsyncRenameTagTemplateField.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateField.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateField.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateField.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateField.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldStringString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldStringString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldStringString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldStringString.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldTagtemplatefieldnameString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldTagtemplatefieldnameString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldTagtemplatefieldnameString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefield/SyncRenameTagTemplateFieldTagtemplatefieldnameString.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/AsyncRenameTagTemplateFieldEnumValue.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/AsyncRenameTagTemplateFieldEnumValue.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/AsyncRenameTagTemplateFieldEnumValue.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/AsyncRenameTagTemplateFieldEnumValue.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValue.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValue.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValue.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValue.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueStringString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueStringString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueStringString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueStringString.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/AsyncSearchCatalog.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/AsyncSearchCatalog.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/AsyncSearchCatalog.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/AsyncSearchCatalog.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/AsyncSearchCatalogPaged.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/AsyncSearchCatalogPaged.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/AsyncSearchCatalogPaged.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/AsyncSearchCatalogPaged.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/SyncSearchCatalog.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/SyncSearchCatalog.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/SyncSearchCatalog.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/SyncSearchCatalog.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/SyncSearchCatalogSearchcatalogrequestscopeString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/SyncSearchCatalogSearchcatalogrequestscopeString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/SyncSearchCatalogSearchcatalogrequestscopeString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/searchcatalog/SyncSearchCatalogSearchcatalogrequestscopeString.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/AsyncSetIamPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/AsyncSetIamPolicy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/AsyncSetIamPolicy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/AsyncSetIamPolicy.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/SyncSetIamPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/SyncSetIamPolicy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/SyncSetIamPolicy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/SyncSetIamPolicy.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/SyncSetIamPolicyStringPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/SyncSetIamPolicyStringPolicy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/SyncSetIamPolicyStringPolicy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/setiampolicy/SyncSetIamPolicyStringPolicy.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/testiampermissions/AsyncTestIamPermissions.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/testiampermissions/AsyncTestIamPermissions.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/testiampermissions/AsyncTestIamPermissions.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/testiampermissions/AsyncTestIamPermissions.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/testiampermissions/SyncTestIamPermissions.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/testiampermissions/SyncTestIamPermissions.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/testiampermissions/SyncTestIamPermissions.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/testiampermissions/SyncTestIamPermissions.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/AsyncUpdateEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/AsyncUpdateEntry.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/AsyncUpdateEntry.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/AsyncUpdateEntry.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/SyncUpdateEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/SyncUpdateEntry.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/SyncUpdateEntry.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/SyncUpdateEntry.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/SyncUpdateEntryEntry.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/SyncUpdateEntryEntry.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/SyncUpdateEntryEntry.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/SyncUpdateEntryEntry.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/SyncUpdateEntryEntryFieldmask.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/SyncUpdateEntryEntryFieldmask.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/SyncUpdateEntryEntryFieldmask.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentry/SyncUpdateEntryEntryFieldmask.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/AsyncUpdateEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/AsyncUpdateEntryGroup.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/AsyncUpdateEntryGroup.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/AsyncUpdateEntryGroup.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/SyncUpdateEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/SyncUpdateEntryGroup.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/SyncUpdateEntryGroup.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/SyncUpdateEntryGroup.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroup.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroup.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroup.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroupFieldmask.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroupFieldmask.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroupFieldmask.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updateentrygroup/SyncUpdateEntryGroupEntrygroupFieldmask.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/AsyncUpdateTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/AsyncUpdateTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/AsyncUpdateTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/AsyncUpdateTag.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/SyncUpdateTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/SyncUpdateTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/SyncUpdateTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/SyncUpdateTag.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/SyncUpdateTagTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/SyncUpdateTagTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/SyncUpdateTagTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/SyncUpdateTagTag.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/SyncUpdateTagTagFieldmask.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/SyncUpdateTagTagFieldmask.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/SyncUpdateTagTagFieldmask.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetag/SyncUpdateTagTagFieldmask.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/AsyncUpdateTagTemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/AsyncUpdateTagTemplate.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/AsyncUpdateTagTemplate.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/AsyncUpdateTagTemplate.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/SyncUpdateTagTemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/SyncUpdateTagTemplate.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/SyncUpdateTagTemplate.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/SyncUpdateTagTemplate.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplate.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplate.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplate.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplate.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplateFieldmask.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplateFieldmask.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplateFieldmask.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplate/SyncUpdateTagTemplateTagtemplateFieldmask.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/AsyncUpdateTagTemplateField.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/AsyncUpdateTagTemplateField.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/AsyncUpdateTagTemplateField.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/AsyncUpdateTagTemplateField.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateField.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateField.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateField.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateField.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefield.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefield.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefield.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefield.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefieldFieldmask.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefieldFieldmask.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefieldFieldmask.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldStringTagtemplatefieldFieldmask.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefield.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefield.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefield.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefield.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefieldFieldmask.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefieldFieldmask.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefieldFieldmask.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/updatetagtemplatefield/SyncUpdateTagTemplateFieldTagtemplatefieldnameTagtemplatefieldFieldmask.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogsettings/createentrygroup/SyncCreateEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogsettings/createentrygroup/SyncCreateEntryGroup.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogsettings/createentrygroup/SyncCreateEntryGroup.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalogsettings/createentrygroup/SyncCreateEntryGroup.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/create/SyncCreateSetCredentialsProvider.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/create/SyncCreateSetCredentialsProvider.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/create/SyncCreateSetCredentialsProvider1.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/create/SyncCreateSetCredentialsProvider1.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/create/SyncCreateSetEndpoint.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/create/SyncCreateSetEndpoint.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/AsyncCreatePolicyTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/AsyncCreatePolicyTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/AsyncCreatePolicyTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/AsyncCreatePolicyTag.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/SyncCreatePolicyTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/SyncCreatePolicyTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/SyncCreatePolicyTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/SyncCreatePolicyTag.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/SyncCreatePolicyTagStringPolicytag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/SyncCreatePolicyTagStringPolicytag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/SyncCreatePolicyTagStringPolicytag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/SyncCreatePolicyTagStringPolicytag.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/SyncCreatePolicyTagTaxonomynamePolicytag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/SyncCreatePolicyTagTaxonomynamePolicytag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/SyncCreatePolicyTagTaxonomynamePolicytag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createpolicytag/SyncCreatePolicyTagTaxonomynamePolicytag.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/AsyncCreateTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/AsyncCreateTaxonomy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/AsyncCreateTaxonomy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/AsyncCreateTaxonomy.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/SyncCreateTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/SyncCreateTaxonomy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/SyncCreateTaxonomy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/SyncCreateTaxonomy.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/SyncCreateTaxonomyLocationnameTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/SyncCreateTaxonomyLocationnameTaxonomy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/SyncCreateTaxonomyLocationnameTaxonomy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/SyncCreateTaxonomyLocationnameTaxonomy.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/SyncCreateTaxonomyStringTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/SyncCreateTaxonomyStringTaxonomy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/SyncCreateTaxonomyStringTaxonomy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/createtaxonomy/SyncCreateTaxonomyStringTaxonomy.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/AsyncDeletePolicyTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/AsyncDeletePolicyTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/AsyncDeletePolicyTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/AsyncDeletePolicyTag.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/SyncDeletePolicyTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/SyncDeletePolicyTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/SyncDeletePolicyTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/SyncDeletePolicyTag.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/SyncDeletePolicyTagPolicytagname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/SyncDeletePolicyTagPolicytagname.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/SyncDeletePolicyTagPolicytagname.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/SyncDeletePolicyTagPolicytagname.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/SyncDeletePolicyTagString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/SyncDeletePolicyTagString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/SyncDeletePolicyTagString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletepolicytag/SyncDeletePolicyTagString.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/AsyncDeleteTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/AsyncDeleteTaxonomy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/AsyncDeleteTaxonomy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/AsyncDeleteTaxonomy.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomy.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyString.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyTaxonomyname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyTaxonomyname.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyTaxonomyname.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/deletetaxonomy/SyncDeleteTaxonomyTaxonomyname.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getiampolicy/AsyncGetIamPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getiampolicy/AsyncGetIamPolicy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getiampolicy/AsyncGetIamPolicy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getiampolicy/AsyncGetIamPolicy.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getiampolicy/SyncGetIamPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getiampolicy/SyncGetIamPolicy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getiampolicy/SyncGetIamPolicy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getiampolicy/SyncGetIamPolicy.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/AsyncGetPolicyTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/AsyncGetPolicyTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/AsyncGetPolicyTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/AsyncGetPolicyTag.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/SyncGetPolicyTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/SyncGetPolicyTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/SyncGetPolicyTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/SyncGetPolicyTag.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/SyncGetPolicyTagPolicytagname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/SyncGetPolicyTagPolicytagname.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/SyncGetPolicyTagPolicytagname.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/SyncGetPolicyTagPolicytagname.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/SyncGetPolicyTagString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/SyncGetPolicyTagString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/SyncGetPolicyTagString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/getpolicytag/SyncGetPolicyTagString.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/AsyncGetTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/AsyncGetTaxonomy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/AsyncGetTaxonomy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/AsyncGetTaxonomy.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/SyncGetTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/SyncGetTaxonomy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/SyncGetTaxonomy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/SyncGetTaxonomy.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/SyncGetTaxonomyString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/SyncGetTaxonomyString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/SyncGetTaxonomyString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/SyncGetTaxonomyString.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/SyncGetTaxonomyTaxonomyname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/SyncGetTaxonomyTaxonomyname.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/SyncGetTaxonomyTaxonomyname.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/gettaxonomy/SyncGetTaxonomyTaxonomyname.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/AsyncListPolicyTags.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/AsyncListPolicyTags.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/AsyncListPolicyTags.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/AsyncListPolicyTags.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/AsyncListPolicyTagsPaged.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/AsyncListPolicyTagsPaged.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/AsyncListPolicyTagsPaged.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/AsyncListPolicyTagsPaged.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/SyncListPolicyTags.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/SyncListPolicyTags.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/SyncListPolicyTags.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/SyncListPolicyTags.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/SyncListPolicyTagsString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/SyncListPolicyTagsString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/SyncListPolicyTagsString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/SyncListPolicyTagsString.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/SyncListPolicyTagsTaxonomyname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/SyncListPolicyTagsTaxonomyname.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/SyncListPolicyTagsTaxonomyname.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listpolicytags/SyncListPolicyTagsTaxonomyname.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomies.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomies.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomies.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomies.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomiesPaged.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomiesPaged.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomiesPaged.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomiesPaged.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomies.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomies.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomies.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomies.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomiesLocationname.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomiesLocationname.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomiesLocationname.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomiesLocationname.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomiesString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomiesString.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomiesString.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomiesString.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/setiampolicy/AsyncSetIamPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/setiampolicy/AsyncSetIamPolicy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/setiampolicy/AsyncSetIamPolicy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/setiampolicy/AsyncSetIamPolicy.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/setiampolicy/SyncSetIamPolicy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/setiampolicy/SyncSetIamPolicy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/setiampolicy/SyncSetIamPolicy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/setiampolicy/SyncSetIamPolicy.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/testiampermissions/AsyncTestIamPermissions.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/testiampermissions/AsyncTestIamPermissions.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/testiampermissions/AsyncTestIamPermissions.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/testiampermissions/AsyncTestIamPermissions.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/testiampermissions/SyncTestIamPermissions.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/testiampermissions/SyncTestIamPermissions.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/testiampermissions/SyncTestIamPermissions.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/testiampermissions/SyncTestIamPermissions.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatepolicytag/AsyncUpdatePolicyTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatepolicytag/AsyncUpdatePolicyTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatepolicytag/AsyncUpdatePolicyTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatepolicytag/AsyncUpdatePolicyTag.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatepolicytag/SyncUpdatePolicyTag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatepolicytag/SyncUpdatePolicyTag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatepolicytag/SyncUpdatePolicyTag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatepolicytag/SyncUpdatePolicyTag.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatepolicytag/SyncUpdatePolicyTagPolicytag.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatepolicytag/SyncUpdatePolicyTagPolicytag.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatepolicytag/SyncUpdatePolicyTagPolicytag.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatepolicytag/SyncUpdatePolicyTagPolicytag.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatetaxonomy/AsyncUpdateTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatetaxonomy/AsyncUpdateTaxonomy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatetaxonomy/AsyncUpdateTaxonomy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatetaxonomy/AsyncUpdateTaxonomy.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomy.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomyTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomyTaxonomy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomyTaxonomy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/updatetaxonomy/SyncUpdateTaxonomyTaxonomy.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider1.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider1.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/create/SyncCreateSetEndpoint.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/create/SyncCreateSetEndpoint.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/exporttaxonomies/AsyncExportTaxonomies.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/exporttaxonomies/AsyncExportTaxonomies.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/exporttaxonomies/AsyncExportTaxonomies.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/exporttaxonomies/AsyncExportTaxonomies.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/exporttaxonomies/SyncExportTaxonomies.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/exporttaxonomies/SyncExportTaxonomies.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/exporttaxonomies/SyncExportTaxonomies.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/exporttaxonomies/SyncExportTaxonomies.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/importtaxonomies/AsyncImportTaxonomies.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/importtaxonomies/AsyncImportTaxonomies.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/importtaxonomies/AsyncImportTaxonomies.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/importtaxonomies/AsyncImportTaxonomies.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/importtaxonomies/SyncImportTaxonomies.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/importtaxonomies/SyncImportTaxonomies.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/importtaxonomies/SyncImportTaxonomies.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserialization/importtaxonomies/SyncImportTaxonomies.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationsettings/importtaxonomies/SyncImportTaxonomies.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationsettings/importtaxonomies/SyncImportTaxonomies.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationsettings/importtaxonomies/SyncImportTaxonomies.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagerserializationsettings/importtaxonomies/SyncImportTaxonomies.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagersettings/createtaxonomy/SyncCreateTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagersettings/createtaxonomy/SyncCreateTaxonomy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagersettings/createtaxonomy/SyncCreateTaxonomy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanagersettings/createtaxonomy/SyncCreateTaxonomy.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/datacatalogstubsettings/createentrygroup/SyncCreateEntryGroup.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/datacatalogstubsettings/createentrygroup/SyncCreateEntryGroup.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/datacatalogstubsettings/createentrygroup/SyncCreateEntryGroup.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/datacatalogstubsettings/createentrygroup/SyncCreateEntryGroup.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/policytagmanagerserializationstubsettings/importtaxonomies/SyncImportTaxonomies.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/policytagmanagerserializationstubsettings/importtaxonomies/SyncImportTaxonomies.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/policytagmanagerserializationstubsettings/importtaxonomies/SyncImportTaxonomies.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/policytagmanagerserializationstubsettings/importtaxonomies/SyncImportTaxonomies.java diff --git a/owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/policytagmanagerstubsettings/createtaxonomy/SyncCreateTaxonomy.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/policytagmanagerstubsettings/createtaxonomy/SyncCreateTaxonomy.java similarity index 100% rename from owl-bot-staging/java-datacatalog/v1beta1/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/policytagmanagerstubsettings/createtaxonomy/SyncCreateTaxonomy.java rename to java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/stub/policytagmanagerstubsettings/createtaxonomy/SyncCreateTaxonomy.java diff --git a/owl-bot-staging/java-datacatalog/v1/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java b/owl-bot-staging/java-datacatalog/v1/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java deleted file mode 100644 index 187af8eef65d..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java +++ /dev/null @@ -1,1423 +0,0 @@ -package com.google.cloud.datacatalog.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Policy Tag Manager API service allows you to manage your policy tags and
- * taxonomies.
- * Policy tags are used to tag BigQuery columns and apply additional access
- * control policies. A taxonomy is a hierarchical grouping of policy tags that
- * classify data along a common axis.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/datacatalog/v1/policytagmanager.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class PolicyTagManagerGrpc { - - private PolicyTagManagerGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.datacatalog.v1.PolicyTagManager"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateTaxonomyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTaxonomy", - requestType = com.google.cloud.datacatalog.v1.CreateTaxonomyRequest.class, - responseType = com.google.cloud.datacatalog.v1.Taxonomy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateTaxonomyMethod() { - io.grpc.MethodDescriptor getCreateTaxonomyMethod; - if ((getCreateTaxonomyMethod = PolicyTagManagerGrpc.getCreateTaxonomyMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getCreateTaxonomyMethod = PolicyTagManagerGrpc.getCreateTaxonomyMethod) == null) { - PolicyTagManagerGrpc.getCreateTaxonomyMethod = getCreateTaxonomyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTaxonomy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.CreateTaxonomyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance())) - .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("CreateTaxonomy")) - .build(); - } - } - } - return getCreateTaxonomyMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteTaxonomyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTaxonomy", - requestType = com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteTaxonomyMethod() { - io.grpc.MethodDescriptor getDeleteTaxonomyMethod; - if ((getDeleteTaxonomyMethod = PolicyTagManagerGrpc.getDeleteTaxonomyMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getDeleteTaxonomyMethod = PolicyTagManagerGrpc.getDeleteTaxonomyMethod) == null) { - PolicyTagManagerGrpc.getDeleteTaxonomyMethod = getDeleteTaxonomyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTaxonomy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("DeleteTaxonomy")) - .build(); - } - } - } - return getDeleteTaxonomyMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateTaxonomyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTaxonomy", - requestType = com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest.class, - responseType = com.google.cloud.datacatalog.v1.Taxonomy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateTaxonomyMethod() { - io.grpc.MethodDescriptor getUpdateTaxonomyMethod; - if ((getUpdateTaxonomyMethod = PolicyTagManagerGrpc.getUpdateTaxonomyMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getUpdateTaxonomyMethod = PolicyTagManagerGrpc.getUpdateTaxonomyMethod) == null) { - PolicyTagManagerGrpc.getUpdateTaxonomyMethod = getUpdateTaxonomyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTaxonomy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance())) - .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("UpdateTaxonomy")) - .build(); - } - } - } - return getUpdateTaxonomyMethod; - } - - private static volatile io.grpc.MethodDescriptor getListTaxonomiesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTaxonomies", - requestType = com.google.cloud.datacatalog.v1.ListTaxonomiesRequest.class, - responseType = com.google.cloud.datacatalog.v1.ListTaxonomiesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListTaxonomiesMethod() { - io.grpc.MethodDescriptor getListTaxonomiesMethod; - if ((getListTaxonomiesMethod = PolicyTagManagerGrpc.getListTaxonomiesMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getListTaxonomiesMethod = PolicyTagManagerGrpc.getListTaxonomiesMethod) == null) { - PolicyTagManagerGrpc.getListTaxonomiesMethod = getListTaxonomiesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTaxonomies")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.ListTaxonomiesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.ListTaxonomiesResponse.getDefaultInstance())) - .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("ListTaxonomies")) - .build(); - } - } - } - return getListTaxonomiesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetTaxonomyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTaxonomy", - requestType = com.google.cloud.datacatalog.v1.GetTaxonomyRequest.class, - responseType = com.google.cloud.datacatalog.v1.Taxonomy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetTaxonomyMethod() { - io.grpc.MethodDescriptor getGetTaxonomyMethod; - if ((getGetTaxonomyMethod = PolicyTagManagerGrpc.getGetTaxonomyMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getGetTaxonomyMethod = PolicyTagManagerGrpc.getGetTaxonomyMethod) == null) { - PolicyTagManagerGrpc.getGetTaxonomyMethod = getGetTaxonomyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTaxonomy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.GetTaxonomyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance())) - .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("GetTaxonomy")) - .build(); - } - } - } - return getGetTaxonomyMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreatePolicyTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreatePolicyTag", - requestType = com.google.cloud.datacatalog.v1.CreatePolicyTagRequest.class, - responseType = com.google.cloud.datacatalog.v1.PolicyTag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreatePolicyTagMethod() { - io.grpc.MethodDescriptor getCreatePolicyTagMethod; - if ((getCreatePolicyTagMethod = PolicyTagManagerGrpc.getCreatePolicyTagMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getCreatePolicyTagMethod = PolicyTagManagerGrpc.getCreatePolicyTagMethod) == null) { - PolicyTagManagerGrpc.getCreatePolicyTagMethod = getCreatePolicyTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreatePolicyTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.CreatePolicyTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance())) - .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("CreatePolicyTag")) - .build(); - } - } - } - return getCreatePolicyTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeletePolicyTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePolicyTag", - requestType = com.google.cloud.datacatalog.v1.DeletePolicyTagRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeletePolicyTagMethod() { - io.grpc.MethodDescriptor getDeletePolicyTagMethod; - if ((getDeletePolicyTagMethod = PolicyTagManagerGrpc.getDeletePolicyTagMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getDeletePolicyTagMethod = PolicyTagManagerGrpc.getDeletePolicyTagMethod) == null) { - PolicyTagManagerGrpc.getDeletePolicyTagMethod = getDeletePolicyTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePolicyTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.DeletePolicyTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("DeletePolicyTag")) - .build(); - } - } - } - return getDeletePolicyTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdatePolicyTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdatePolicyTag", - requestType = com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest.class, - responseType = com.google.cloud.datacatalog.v1.PolicyTag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdatePolicyTagMethod() { - io.grpc.MethodDescriptor getUpdatePolicyTagMethod; - if ((getUpdatePolicyTagMethod = PolicyTagManagerGrpc.getUpdatePolicyTagMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getUpdatePolicyTagMethod = PolicyTagManagerGrpc.getUpdatePolicyTagMethod) == null) { - PolicyTagManagerGrpc.getUpdatePolicyTagMethod = getUpdatePolicyTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdatePolicyTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance())) - .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("UpdatePolicyTag")) - .build(); - } - } - } - return getUpdatePolicyTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getListPolicyTagsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPolicyTags", - requestType = com.google.cloud.datacatalog.v1.ListPolicyTagsRequest.class, - responseType = com.google.cloud.datacatalog.v1.ListPolicyTagsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListPolicyTagsMethod() { - io.grpc.MethodDescriptor getListPolicyTagsMethod; - if ((getListPolicyTagsMethod = PolicyTagManagerGrpc.getListPolicyTagsMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getListPolicyTagsMethod = PolicyTagManagerGrpc.getListPolicyTagsMethod) == null) { - PolicyTagManagerGrpc.getListPolicyTagsMethod = getListPolicyTagsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPolicyTags")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.ListPolicyTagsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.ListPolicyTagsResponse.getDefaultInstance())) - .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("ListPolicyTags")) - .build(); - } - } - } - return getListPolicyTagsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetPolicyTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPolicyTag", - requestType = com.google.cloud.datacatalog.v1.GetPolicyTagRequest.class, - responseType = com.google.cloud.datacatalog.v1.PolicyTag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetPolicyTagMethod() { - io.grpc.MethodDescriptor getGetPolicyTagMethod; - if ((getGetPolicyTagMethod = PolicyTagManagerGrpc.getGetPolicyTagMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getGetPolicyTagMethod = PolicyTagManagerGrpc.getGetPolicyTagMethod) == null) { - PolicyTagManagerGrpc.getGetPolicyTagMethod = getGetPolicyTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPolicyTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.GetPolicyTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1.PolicyTag.getDefaultInstance())) - .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("GetPolicyTag")) - .build(); - } - } - } - return getGetPolicyTagMethod; - } - - 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 getGetIamPolicyMethod() { - io.grpc.MethodDescriptor getGetIamPolicyMethod; - if ((getGetIamPolicyMethod = PolicyTagManagerGrpc.getGetIamPolicyMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getGetIamPolicyMethod = PolicyTagManagerGrpc.getGetIamPolicyMethod) == null) { - PolicyTagManagerGrpc.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 PolicyTagManagerMethodDescriptorSupplier("GetIamPolicy")) - .build(); - } - } - } - return getGetIamPolicyMethod; - } - - 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 getSetIamPolicyMethod() { - io.grpc.MethodDescriptor getSetIamPolicyMethod; - if ((getSetIamPolicyMethod = PolicyTagManagerGrpc.getSetIamPolicyMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getSetIamPolicyMethod = PolicyTagManagerGrpc.getSetIamPolicyMethod) == null) { - PolicyTagManagerGrpc.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 PolicyTagManagerMethodDescriptorSupplier("SetIamPolicy")) - .build(); - } - } - } - return getSetIamPolicyMethod; - } - - 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 getTestIamPermissionsMethod() { - io.grpc.MethodDescriptor getTestIamPermissionsMethod; - if ((getTestIamPermissionsMethod = PolicyTagManagerGrpc.getTestIamPermissionsMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getTestIamPermissionsMethod = PolicyTagManagerGrpc.getTestIamPermissionsMethod) == null) { - PolicyTagManagerGrpc.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 PolicyTagManagerMethodDescriptorSupplier("TestIamPermissions")) - .build(); - } - } - } - return getTestIamPermissionsMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static PolicyTagManagerStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public PolicyTagManagerStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PolicyTagManagerStub(channel, callOptions); - } - }; - return PolicyTagManagerStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static PolicyTagManagerBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public PolicyTagManagerBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PolicyTagManagerBlockingStub(channel, callOptions); - } - }; - return PolicyTagManagerBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static PolicyTagManagerFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public PolicyTagManagerFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PolicyTagManagerFutureStub(channel, callOptions); - } - }; - return PolicyTagManagerFutureStub.newStub(factory, channel); - } - - /** - *
-   * Policy Tag Manager API service allows you to manage your policy tags and
-   * taxonomies.
-   * Policy tags are used to tag BigQuery columns and apply additional access
-   * control policies. A taxonomy is a hierarchical grouping of policy tags that
-   * classify data along a common axis.
-   * 
- */ - public interface AsyncService { - - /** - *
-     * Creates a taxonomy in a specified project.
-     * The taxonomy is initially empty, that is, it doesn't contain policy tags.
-     * 
- */ - default void createTaxonomy(com.google.cloud.datacatalog.v1.CreateTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTaxonomyMethod(), responseObserver); - } - - /** - *
-     * Deletes a taxonomy, including all policy tags in this
-     * taxonomy, their associated policies, and the policy tags references from
-     * BigQuery columns.
-     * 
- */ - default void deleteTaxonomy(com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTaxonomyMethod(), responseObserver); - } - - /** - *
-     * Updates a taxonomy, including its display name,
-     * description, and activated policy types.
-     * 
- */ - default void updateTaxonomy(com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTaxonomyMethod(), responseObserver); - } - - /** - *
-     * Lists all taxonomies in a project in a particular location that you
-     * have a permission to view.
-     * 
- */ - default void listTaxonomies(com.google.cloud.datacatalog.v1.ListTaxonomiesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTaxonomiesMethod(), responseObserver); - } - - /** - *
-     * Gets a taxonomy.
-     * 
- */ - default void getTaxonomy(com.google.cloud.datacatalog.v1.GetTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTaxonomyMethod(), responseObserver); - } - - /** - *
-     * Creates a policy tag in a taxonomy.
-     * 
- */ - default void createPolicyTag(com.google.cloud.datacatalog.v1.CreatePolicyTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreatePolicyTagMethod(), responseObserver); - } - - /** - *
-     * Deletes a policy tag together with the following:
-     * * All of its descendant policy tags, if any
-     * * Policies associated with the policy tag and its descendants
-     * * References from BigQuery table schema of the policy tag and its
-     *   descendants
-     * 
- */ - default void deletePolicyTag(com.google.cloud.datacatalog.v1.DeletePolicyTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePolicyTagMethod(), responseObserver); - } - - /** - *
-     * Updates a policy tag, including its display
-     * name, description, and parent policy tag.
-     * 
- */ - default void updatePolicyTag(com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdatePolicyTagMethod(), responseObserver); - } - - /** - *
-     * Lists all policy tags in a taxonomy.
-     * 
- */ - default void listPolicyTags(com.google.cloud.datacatalog.v1.ListPolicyTagsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPolicyTagsMethod(), responseObserver); - } - - /** - *
-     * Gets a policy tag.
-     * 
- */ - default void getPolicyTag(com.google.cloud.datacatalog.v1.GetPolicyTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPolicyTagMethod(), responseObserver); - } - - /** - *
-     * Gets the IAM policy for a policy tag or a taxonomy.
-     * 
- */ - default void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); - } - - /** - *
-     * Sets the IAM policy for a policy tag or a taxonomy.
-     * 
- */ - default void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); - } - - /** - *
-     * Returns your permissions on a specified policy tag or
-     * taxonomy.
-     * 
- */ - default void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service PolicyTagManager. - *
-   * Policy Tag Manager API service allows you to manage your policy tags and
-   * taxonomies.
-   * Policy tags are used to tag BigQuery columns and apply additional access
-   * control policies. A taxonomy is a hierarchical grouping of policy tags that
-   * classify data along a common axis.
-   * 
- */ - public static abstract class PolicyTagManagerImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return PolicyTagManagerGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service PolicyTagManager. - *
-   * Policy Tag Manager API service allows you to manage your policy tags and
-   * taxonomies.
-   * Policy tags are used to tag BigQuery columns and apply additional access
-   * control policies. A taxonomy is a hierarchical grouping of policy tags that
-   * classify data along a common axis.
-   * 
- */ - public static final class PolicyTagManagerStub - extends io.grpc.stub.AbstractAsyncStub { - private PolicyTagManagerStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected PolicyTagManagerStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PolicyTagManagerStub(channel, callOptions); - } - - /** - *
-     * Creates a taxonomy in a specified project.
-     * The taxonomy is initially empty, that is, it doesn't contain policy tags.
-     * 
- */ - public void createTaxonomy(com.google.cloud.datacatalog.v1.CreateTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTaxonomyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a taxonomy, including all policy tags in this
-     * taxonomy, their associated policies, and the policy tags references from
-     * BigQuery columns.
-     * 
- */ - public void deleteTaxonomy(com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTaxonomyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a taxonomy, including its display name,
-     * description, and activated policy types.
-     * 
- */ - public void updateTaxonomy(com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTaxonomyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists all taxonomies in a project in a particular location that you
-     * have a permission to view.
-     * 
- */ - public void listTaxonomies(com.google.cloud.datacatalog.v1.ListTaxonomiesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTaxonomiesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a taxonomy.
-     * 
- */ - public void getTaxonomy(com.google.cloud.datacatalog.v1.GetTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTaxonomyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a policy tag in a taxonomy.
-     * 
- */ - public void createPolicyTag(com.google.cloud.datacatalog.v1.CreatePolicyTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreatePolicyTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a policy tag together with the following:
-     * * All of its descendant policy tags, if any
-     * * Policies associated with the policy tag and its descendants
-     * * References from BigQuery table schema of the policy tag and its
-     *   descendants
-     * 
- */ - public void deletePolicyTag(com.google.cloud.datacatalog.v1.DeletePolicyTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePolicyTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a policy tag, including its display
-     * name, description, and parent policy tag.
-     * 
- */ - public void updatePolicyTag(com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdatePolicyTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists all policy tags in a taxonomy.
-     * 
- */ - public void listPolicyTags(com.google.cloud.datacatalog.v1.ListPolicyTagsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPolicyTagsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a policy tag.
-     * 
- */ - public void getPolicyTag(com.google.cloud.datacatalog.v1.GetPolicyTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPolicyTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets the IAM policy for a policy tag or a taxonomy.
-     * 
- */ - 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); - } - - /** - *
-     * Sets the IAM policy for a policy tag or a taxonomy.
-     * 
- */ - 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); - } - - /** - *
-     * Returns your permissions on a specified policy tag or
-     * taxonomy.
-     * 
- */ - 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); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service PolicyTagManager. - *
-   * Policy Tag Manager API service allows you to manage your policy tags and
-   * taxonomies.
-   * Policy tags are used to tag BigQuery columns and apply additional access
-   * control policies. A taxonomy is a hierarchical grouping of policy tags that
-   * classify data along a common axis.
-   * 
- */ - public static final class PolicyTagManagerBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private PolicyTagManagerBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected PolicyTagManagerBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PolicyTagManagerBlockingStub(channel, callOptions); - } - - /** - *
-     * Creates a taxonomy in a specified project.
-     * The taxonomy is initially empty, that is, it doesn't contain policy tags.
-     * 
- */ - public com.google.cloud.datacatalog.v1.Taxonomy createTaxonomy(com.google.cloud.datacatalog.v1.CreateTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTaxonomyMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a taxonomy, including all policy tags in this
-     * taxonomy, their associated policies, and the policy tags references from
-     * BigQuery columns.
-     * 
- */ - public com.google.protobuf.Empty deleteTaxonomy(com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTaxonomyMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a taxonomy, including its display name,
-     * description, and activated policy types.
-     * 
- */ - public com.google.cloud.datacatalog.v1.Taxonomy updateTaxonomy(com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTaxonomyMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all taxonomies in a project in a particular location that you
-     * have a permission to view.
-     * 
- */ - public com.google.cloud.datacatalog.v1.ListTaxonomiesResponse listTaxonomies(com.google.cloud.datacatalog.v1.ListTaxonomiesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTaxonomiesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a taxonomy.
-     * 
- */ - public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomy(com.google.cloud.datacatalog.v1.GetTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTaxonomyMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a policy tag in a taxonomy.
-     * 
- */ - public com.google.cloud.datacatalog.v1.PolicyTag createPolicyTag(com.google.cloud.datacatalog.v1.CreatePolicyTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreatePolicyTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a policy tag together with the following:
-     * * All of its descendant policy tags, if any
-     * * Policies associated with the policy tag and its descendants
-     * * References from BigQuery table schema of the policy tag and its
-     *   descendants
-     * 
- */ - public com.google.protobuf.Empty deletePolicyTag(com.google.cloud.datacatalog.v1.DeletePolicyTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePolicyTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a policy tag, including its display
-     * name, description, and parent policy tag.
-     * 
- */ - public com.google.cloud.datacatalog.v1.PolicyTag updatePolicyTag(com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdatePolicyTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all policy tags in a taxonomy.
-     * 
- */ - public com.google.cloud.datacatalog.v1.ListPolicyTagsResponse listPolicyTags(com.google.cloud.datacatalog.v1.ListPolicyTagsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPolicyTagsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a policy tag.
-     * 
- */ - public com.google.cloud.datacatalog.v1.PolicyTag getPolicyTag(com.google.cloud.datacatalog.v1.GetPolicyTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPolicyTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets the IAM policy for a policy tag or a taxonomy.
-     * 
- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Sets the IAM policy for a policy tag or a taxonomy.
-     * 
- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns your permissions on a specified policy tag or
-     * taxonomy.
-     * 
- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service PolicyTagManager. - *
-   * Policy Tag Manager API service allows you to manage your policy tags and
-   * taxonomies.
-   * Policy tags are used to tag BigQuery columns and apply additional access
-   * control policies. A taxonomy is a hierarchical grouping of policy tags that
-   * classify data along a common axis.
-   * 
- */ - public static final class PolicyTagManagerFutureStub - extends io.grpc.stub.AbstractFutureStub { - private PolicyTagManagerFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected PolicyTagManagerFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PolicyTagManagerFutureStub(channel, callOptions); - } - - /** - *
-     * Creates a taxonomy in a specified project.
-     * The taxonomy is initially empty, that is, it doesn't contain policy tags.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createTaxonomy( - com.google.cloud.datacatalog.v1.CreateTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTaxonomyMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a taxonomy, including all policy tags in this
-     * taxonomy, their associated policies, and the policy tags references from
-     * BigQuery columns.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTaxonomy( - com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTaxonomyMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a taxonomy, including its display name,
-     * description, and activated policy types.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateTaxonomy( - com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTaxonomyMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all taxonomies in a project in a particular location that you
-     * have a permission to view.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listTaxonomies( - com.google.cloud.datacatalog.v1.ListTaxonomiesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTaxonomiesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a taxonomy.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getTaxonomy( - com.google.cloud.datacatalog.v1.GetTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTaxonomyMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a policy tag in a taxonomy.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createPolicyTag( - com.google.cloud.datacatalog.v1.CreatePolicyTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreatePolicyTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a policy tag together with the following:
-     * * All of its descendant policy tags, if any
-     * * Policies associated with the policy tag and its descendants
-     * * References from BigQuery table schema of the policy tag and its
-     *   descendants
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deletePolicyTag( - com.google.cloud.datacatalog.v1.DeletePolicyTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePolicyTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a policy tag, including its display
-     * name, description, and parent policy tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updatePolicyTag( - com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdatePolicyTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all policy tags in a taxonomy.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listPolicyTags( - com.google.cloud.datacatalog.v1.ListPolicyTagsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPolicyTagsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a policy tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getPolicyTag( - com.google.cloud.datacatalog.v1.GetPolicyTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPolicyTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets the IAM policy for a policy tag or a taxonomy.
-     * 
- */ - 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 IAM policy for a policy tag or a taxonomy.
-     * 
- */ - 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 your permissions on a specified policy tag or
-     * taxonomy.
-     * 
- */ - 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); - } - } - - private static final int METHODID_CREATE_TAXONOMY = 0; - private static final int METHODID_DELETE_TAXONOMY = 1; - private static final int METHODID_UPDATE_TAXONOMY = 2; - private static final int METHODID_LIST_TAXONOMIES = 3; - private static final int METHODID_GET_TAXONOMY = 4; - private static final int METHODID_CREATE_POLICY_TAG = 5; - private static final int METHODID_DELETE_POLICY_TAG = 6; - private static final int METHODID_UPDATE_POLICY_TAG = 7; - private static final int METHODID_LIST_POLICY_TAGS = 8; - private static final int METHODID_GET_POLICY_TAG = 9; - private static final int METHODID_GET_IAM_POLICY = 10; - private static final int METHODID_SET_IAM_POLICY = 11; - private static final int METHODID_TEST_IAM_PERMISSIONS = 12; - - 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_TAXONOMY: - serviceImpl.createTaxonomy((com.google.cloud.datacatalog.v1.CreateTaxonomyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_TAXONOMY: - serviceImpl.deleteTaxonomy((com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_TAXONOMY: - serviceImpl.updateTaxonomy((com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TAXONOMIES: - serviceImpl.listTaxonomies((com.google.cloud.datacatalog.v1.ListTaxonomiesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_TAXONOMY: - serviceImpl.getTaxonomy((com.google.cloud.datacatalog.v1.GetTaxonomyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_POLICY_TAG: - serviceImpl.createPolicyTag((com.google.cloud.datacatalog.v1.CreatePolicyTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_POLICY_TAG: - serviceImpl.deletePolicyTag((com.google.cloud.datacatalog.v1.DeletePolicyTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_POLICY_TAG: - serviceImpl.updatePolicyTag((com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_POLICY_TAGS: - serviceImpl.listPolicyTags((com.google.cloud.datacatalog.v1.ListPolicyTagsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_POLICY_TAG: - serviceImpl.getPolicyTag((com.google.cloud.datacatalog.v1.GetPolicyTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_IAM_POLICY: - 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, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) 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( - getCreateTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.CreateTaxonomyRequest, - com.google.cloud.datacatalog.v1.Taxonomy>( - service, METHODID_CREATE_TAXONOMY))) - .addMethod( - getDeleteTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_TAXONOMY))) - .addMethod( - getUpdateTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest, - com.google.cloud.datacatalog.v1.Taxonomy>( - service, METHODID_UPDATE_TAXONOMY))) - .addMethod( - getListTaxonomiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.ListTaxonomiesRequest, - com.google.cloud.datacatalog.v1.ListTaxonomiesResponse>( - service, METHODID_LIST_TAXONOMIES))) - .addMethod( - getGetTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.GetTaxonomyRequest, - com.google.cloud.datacatalog.v1.Taxonomy>( - service, METHODID_GET_TAXONOMY))) - .addMethod( - getCreatePolicyTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.CreatePolicyTagRequest, - com.google.cloud.datacatalog.v1.PolicyTag>( - service, METHODID_CREATE_POLICY_TAG))) - .addMethod( - getDeletePolicyTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.DeletePolicyTagRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_POLICY_TAG))) - .addMethod( - getUpdatePolicyTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest, - com.google.cloud.datacatalog.v1.PolicyTag>( - service, METHODID_UPDATE_POLICY_TAG))) - .addMethod( - getListPolicyTagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.ListPolicyTagsRequest, - com.google.cloud.datacatalog.v1.ListPolicyTagsResponse>( - service, METHODID_LIST_POLICY_TAGS))) - .addMethod( - getGetPolicyTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.GetPolicyTagRequest, - com.google.cloud.datacatalog.v1.PolicyTag>( - service, METHODID_GET_POLICY_TAG))) - .addMethod( - 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< - 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))) - .build(); - } - - private static abstract class PolicyTagManagerBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - PolicyTagManagerBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.datacatalog.v1.PolicyTagManagerProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("PolicyTagManager"); - } - } - - private static final class PolicyTagManagerFileDescriptorSupplier - extends PolicyTagManagerBaseDescriptorSupplier { - PolicyTagManagerFileDescriptorSupplier() {} - } - - private static final class PolicyTagManagerMethodDescriptorSupplier - extends PolicyTagManagerBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - PolicyTagManagerMethodDescriptorSupplier(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 (PolicyTagManagerGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new PolicyTagManagerFileDescriptorSupplier()) - .addMethod(getCreateTaxonomyMethod()) - .addMethod(getDeleteTaxonomyMethod()) - .addMethod(getUpdateTaxonomyMethod()) - .addMethod(getListTaxonomiesMethod()) - .addMethod(getGetTaxonomyMethod()) - .addMethod(getCreatePolicyTagMethod()) - .addMethod(getDeletePolicyTagMethod()) - .addMethod(getUpdatePolicyTagMethod()) - .addMethod(getListPolicyTagsMethod()) - .addMethod(getGetPolicyTagMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryProto.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryProto.java deleted file mode 100644 index 792635caa25b..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryProto.java +++ /dev/null @@ -1,93 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/bigquery.proto - -package com.google.cloud.datacatalog.v1; - -public final class BigQueryProto { - private BigQueryProto() {} - 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_datacatalog_v1_BigQueryConnectionSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_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/datacatalog/v1/bigquery.p" + - "roto\022\033google.cloud.datacatalog.v1\032\037googl" + - "e/api/field_behavior.proto\"\264\002\n\026BigQueryC" + - "onnectionSpec\022[\n\017connection_type\030\001 \001(\0162B" + - ".google.cloud.datacatalog.v1.BigQueryCon" + - "nectionSpec.ConnectionType\022P\n\tcloud_sql\030" + - "\002 \001(\0132;.google.cloud.datacatalog.v1.Clou" + - "dSqlBigQueryConnectionSpecH\000\022\026\n\016has_cred" + - "ential\030\003 \001(\010\"@\n\016ConnectionType\022\037\n\033CONNEC" + - "TION_TYPE_UNSPECIFIED\020\000\022\r\n\tCLOUD_SQL\020\001B\021" + - "\n\017connection_spec\"\347\001\n\036CloudSqlBigQueryCo" + - "nnectionSpec\022\023\n\013instance_id\030\001 \001(\t\022\020\n\010dat" + - "abase\030\002 \001(\t\022V\n\004type\030\003 \001(\0162H.google.cloud" + - ".datacatalog.v1.CloudSqlBigQueryConnecti" + - "onSpec.DatabaseType\"F\n\014DatabaseType\022\035\n\031D" + - "ATABASE_TYPE_UNSPECIFIED\020\000\022\014\n\010POSTGRES\020\001" + - "\022\t\n\005MYSQL\020\002\"1\n\023BigQueryRoutineSpec\022\032\n\022im" + - "ported_libraries\030\001 \003(\tB\325\001\n\037com.google.cl" + - "oud.datacatalog.v1B\rBigQueryProtoP\001ZAclo" + - "ud.google.com/go/datacatalog/apiv1/datac" + - "atalogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud" + - ".DataCatalog.V1\312\002\033Google\\Cloud\\DataCatal" + - "og\\V1\352\002\036Google::Cloud::DataCatalog::V1b\006" + - "proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_descriptor, - new java.lang.String[] { "ConnectionType", "CloudSql", "HasCredential", "ConnectionSpec", }); - internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_descriptor, - new java.lang.String[] { "InstanceId", "Database", "Type", }); - internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_descriptor, - new java.lang.String[] { "ImportedLibraries", }); - com.google.api.FieldBehaviorProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpecOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpecOrBuilder.java deleted file mode 100644 index 2cd9842229b8..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpecOrBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/datacatalog.proto - -package com.google.cloud.datacatalog.v1; - -public interface CloudBigtableInstanceSpecOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CloudBigtableInstanceSpec) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The list of clusters for the Instance.
-   * 
- * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - */ - java.util.List - getCloudBigtableClusterSpecsList(); - /** - *
-   * The list of clusters for the Instance.
-   * 
- * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - */ - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec getCloudBigtableClusterSpecs(int index); - /** - *
-   * The list of clusters for the Instance.
-   * 
- * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - */ - int getCloudBigtableClusterSpecsCount(); - /** - *
-   * The list of clusters for the Instance.
-   * 
- * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - */ - java.util.List - getCloudBigtableClusterSpecsOrBuilderList(); - /** - *
-   * The list of clusters for the Instance.
-   * 
- * - * repeated .google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; - */ - com.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpecOrBuilder getCloudBigtableClusterSpecsOrBuilder( - int index); -} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Common.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Common.java deleted file mode 100644 index ea51f9728631..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Common.java +++ /dev/null @@ -1,65 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/common.proto - -package com.google.cloud.datacatalog.v1; - -public final class Common { - private Common() {} - 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_datacatalog_v1_PersonalDetails_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_PersonalDetails_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/datacatalog/v1/common.pro" + - "to\022\033google.cloud.datacatalog.v1\032\037google/" + - "protobuf/timestamp.proto\"Q\n\017PersonalDeta" + - "ils\022\017\n\007starred\030\001 \001(\010\022-\n\tstar_time\030\002 \001(\0132" + - "\032.google.protobuf.Timestamp*\275\001\n\020Integrat" + - "edSystem\022!\n\035INTEGRATED_SYSTEM_UNSPECIFIE" + - "D\020\000\022\014\n\010BIGQUERY\020\001\022\020\n\014CLOUD_PUBSUB\020\002\022\026\n\022D" + - "ATAPROC_METASTORE\020\003\022\014\n\010DATAPLEX\020\004\022\021\n\rCLO" + - "UD_SPANNER\020\006\022\022\n\016CLOUD_BIGTABLE\020\007\022\r\n\tCLOU" + - "D_SQL\020\010\022\n\n\006LOOKER\020\t*j\n\016ManagingSystem\022\037\n" + - "\033MANAGING_SYSTEM_UNSPECIFIED\020\000\022\034\n\030MANAGI" + - "NG_SYSTEM_DATAPLEX\020\001\022\031\n\025MANAGING_SYSTEM_" + - "OTHER\020\002B\306\001\n\037com.google.cloud.datacatalog" + - ".v1P\001ZAcloud.google.com/go/datacatalog/a" + - "piv1/datacatalogpb;datacatalogpb\370\001\001\252\002\033Go" + - "ogle.Cloud.DataCatalog.V1\312\002\033Google\\Cloud" + - "\\DataCatalog\\V1\352\002\036Google::Cloud::DataCat" + - "alog::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1_PersonalDetails_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1_PersonalDetails_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_PersonalDetails_descriptor, - new java.lang.String[] { "Starred", "StarTime", }); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStatsOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStatsOrBuilder.java deleted file mode 100644 index 8f67f2150144..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStatsOrBuilder.java +++ /dev/null @@ -1,28 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/usage.proto - -package com.google.cloud.datacatalog.v1; - -public interface CommonUsageStatsOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CommonUsageStats) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * View count in source system.
-   * 
- * - * optional int64 view_count = 1; - * @return Whether the viewCount field is set. - */ - boolean hasViewCount(); - /** - *
-   * View count in source system.
-   * 
- * - * optional int64 view_count = 1; - * @return The viewCount. - */ - long getViewCount(); -} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSourceOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSourceOrBuilder.java deleted file mode 100644 index 79710282ddb0..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSourceOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto - -package com.google.cloud.datacatalog.v1; - -public interface CrossRegionalSourceOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CrossRegionalSource) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the source taxonomy to import.
-   * 
- * - * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The taxonomy. - */ - java.lang.String getTaxonomy(); - /** - *
-   * Required. The resource name of the source taxonomy to import.
-   * 
- * - * string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for taxonomy. - */ - com.google.protobuf.ByteString - getTaxonomyBytes(); -} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceProto.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceProto.java deleted file mode 100644 index adbbb7335bfe..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceProto.java +++ /dev/null @@ -1,81 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/data_source.proto - -package com.google.cloud.datacatalog.v1; - -public final class DataSourceProto { - private DataSourceProto() {} - 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_datacatalog_v1_DataSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_DataSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_StorageProperties_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_StorageProperties_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/datacatalog/v1/data_sourc" + - "e.proto\022\033google.cloud.datacatalog.v1\032\037go" + - "ogle/api/field_behavior.proto\"\235\002\n\nDataSo" + - "urce\022@\n\007service\030\001 \001(\0162/.google.cloud.dat" + - "acatalog.v1.DataSource.Service\022\020\n\010resour" + - "ce\030\002 \001(\t\022\032\n\014source_entry\030\003 \001(\tB\004\342A\001\003\022L\n\022" + - "storage_properties\030\004 \001(\0132..google.cloud." + - "datacatalog.v1.StoragePropertiesH\000\"C\n\007Se" + - "rvice\022\027\n\023SERVICE_UNSPECIFIED\020\000\022\021\n\rCLOUD_" + - "STORAGE\020\001\022\014\n\010BIGQUERY\020\002B\014\n\nproperties\"<\n" + - "\021StorageProperties\022\024\n\014file_pattern\030\001 \003(\t" + - "\022\021\n\tfile_type\030\002 \001(\tB\327\001\n\037com.google.cloud" + - ".datacatalog.v1B\017DataSourceProtoP\001ZAclou" + - "d.google.com/go/datacatalog/apiv1/dataca" + - "talogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud." + - "DataCatalog.V1\312\002\033Google\\Cloud\\DataCatalo" + - "g\\V1\352\002\036Google::Cloud::DataCatalog::V1b\006p" + - "roto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1_DataSource_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1_DataSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_DataSource_descriptor, - new java.lang.String[] { "Service", "Resource", "SourceEntry", "StorageProperties", "Properties", }); - internal_static_google_cloud_datacatalog_v1_StorageProperties_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1_StorageProperties_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_StorageProperties_descriptor, - new java.lang.String[] { "FilePattern", "FileType", }); - 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-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Datacatalog.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Datacatalog.java deleted file mode 100644 index e4bc07067acd..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Datacatalog.java +++ /dev/null @@ -1,1268 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/datacatalog.proto - -package com.google.cloud.datacatalog.v1; - -public final class Datacatalog { - private Datacatalog() {} - 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_datacatalog_v1_SearchCatalogRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_GetEntryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_GetEntryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_Entry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_Entry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_Entry_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_Entry_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_FilesetSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_FilesetSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_RoutineSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ServiceSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ServiceSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_BusinessContext_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_BusinessContext_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_EntryOverview_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_EntryOverview_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_Contacts_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_Contacts_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_Contacts_Person_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_Contacts_Person_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_EntryGroup_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_EntryGroup_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_CreateTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_CreateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ListTagsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ListTagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ListTagsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ListTagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_ErrorsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_ErrorsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_StarEntryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_StarEntryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_StarEntryResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_StarEntryResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_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/datacatalog/v1/datacatalo" + - "g.proto\022\033google.cloud.datacatalog.v1\032\034go" + - "ogle/api/annotations.proto\032\027google/api/c" + - "lient.proto\032\037google/api/field_behavior.p" + - "roto\032\031google/api/resource.proto\032*google/" + - "cloud/datacatalog/v1/bigquery.proto\032(goo" + - "gle/cloud/datacatalog/v1/common.proto\032-g" + - "oogle/cloud/datacatalog/v1/data_source.p" + - "roto\032/google/cloud/datacatalog/v1/datapl" + - "ex_spec.proto\0322google/cloud/datacatalog/" + - "v1/gcs_fileset_spec.proto\032(google/cloud/" + - "datacatalog/v1/schema.proto\032(google/clou" + - "d/datacatalog/v1/search.proto\032,google/cl" + - "oud/datacatalog/v1/table_spec.proto\032&goo" + - "gle/cloud/datacatalog/v1/tags.proto\032,goo" + - "gle/cloud/datacatalog/v1/timestamps.prot" + - "o\032\'google/cloud/datacatalog/v1/usage.pro" + - "to\032\036google/iam/v1/iam_policy.proto\032\032goog" + - "le/iam/v1/policy.proto\032#google/longrunni" + - "ng/operations.proto\032\033google/protobuf/emp" + - "ty.proto\032 google/protobuf/field_mask.pro" + - "to\032\027google/rpc/status.proto\"\213\003\n\024SearchCa" + - "talogRequest\022L\n\005scope\030\006 \001(\01327.google.clo" + - "ud.datacatalog.v1.SearchCatalogRequest.S" + - "copeB\004\342A\001\002\022\023\n\005query\030\001 \001(\tB\004\342A\001\001\022\021\n\tpage_" + - "size\030\002 \001(\005\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\020\n\010" + - "order_by\030\005 \001(\t\032\320\001\n\005Scope\022\027\n\017include_org_" + - "ids\030\002 \003(\t\022\033\n\023include_project_ids\030\003 \003(\t\022#" + - "\n\033include_gcp_public_datasets\030\007 \001(\010\022\"\n\024r" + - "estricted_locations\030\020 \003(\tB\004\342A\001\001\022\032\n\014starr" + - "ed_only\030\022 \001(\010B\004\342A\001\001\022,\n\034include_public_ta" + - "g_templates\030\023 \001(\010B\006\030\001\342A\001\001\"\234\001\n\025SearchCata" + - "logResponse\022A\n\007results\030\001 \003(\01320.google.cl" + - "oud.datacatalog.v1.SearchCatalogResult\022\022" + - "\n\ntotal_size\030\002 \001(\005\022\027\n\017next_page_token\030\003 " + - "\001(\t\022\023\n\013unreachable\030\006 \003(\t\"\265\001\n\027CreateEntry" + - "GroupRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\022%d" + - "atacatalog.googleapis.com/EntryGroup\022\034\n\016" + - "entry_group_id\030\003 \001(\tB\004\342A\001\002\022<\n\013entry_grou" + - "p\030\002 \001(\0132\'.google.cloud.datacatalog.v1.En" + - "tryGroup\"\216\001\n\027UpdateEntryGroupRequest\022B\n\013" + - "entry_group\030\001 \001(\0132\'.google.cloud.datacat" + - "alog.v1.EntryGroupB\004\342A\001\002\022/\n\013update_mask\030" + - "\002 \001(\0132\032.google.protobuf.FieldMask\"\203\001\n\024Ge" + - "tEntryGroupRequest\022<\n\004name\030\001 \001(\tB.\342A\001\002\372A" + - "\'\n%datacatalog.googleapis.com/EntryGroup" + - "\022-\n\tread_mask\030\002 \001(\0132\032.google.protobuf.Fi" + - "eldMask\"l\n\027DeleteEntryGroupRequest\022<\n\004na" + - "me\030\001 \001(\tB.\342A\001\002\372A\'\n%datacatalog.googleapi" + - "s.com/EntryGroup\022\023\n\005force\030\002 \001(\010B\004\342A\001\001\"\213\001" + - "\n\026ListEntryGroupsRequest\022>\n\006parent\030\001 \001(\t" + - "B.\342A\001\002\372A\'\022%datacatalog.googleapis.com/En" + - "tryGroup\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\"q\n\027ListEntryGroupsRe" + - "sponse\022=\n\014entry_groups\030\001 \003(\0132\'.google.cl" + - "oud.datacatalog.v1.EntryGroup\022\027\n\017next_pa" + - "ge_token\030\002 \001(\t\"\245\001\n\022CreateEntryRequest\022>\n" + - "\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n%datacatalog.goog" + - "leapis.com/EntryGroup\022\026\n\010entry_id\030\003 \001(\tB" + - "\004\342A\001\002\0227\n\005entry\030\002 \001(\0132\".google.cloud.data" + - "catalog.v1.EntryB\004\342A\001\002\"~\n\022UpdateEntryReq" + - "uest\0227\n\005entry\030\001 \001(\0132\".google.cloud.datac" + - "atalog.v1.EntryB\004\342A\001\002\022/\n\013update_mask\030\002 \001" + - "(\0132\032.google.protobuf.FieldMask\"M\n\022Delete" + - "EntryRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n dat" + - "acatalog.googleapis.com/Entry\"J\n\017GetEntr" + - "yRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n datacat" + - "alog.googleapis.com/Entry\"\231\001\n\022LookupEntr" + - "yRequest\022\031\n\017linked_resource\030\001 \001(\tH\000\022\026\n\014s" + - "ql_resource\030\003 \001(\tH\000\022\036\n\024fully_qualified_n" + - "ame\030\005 \001(\tH\000\022\017\n\007project\030\006 \001(\t\022\020\n\010location" + - "\030\007 \001(\tB\r\n\013target_name\"\252\017\n\005Entry\022<\n\004name\030" + - "\001 \001(\tB.\342A\001\003\372A\'\n%datacatalog.googleapis.c" + - "om/EntryGroup\022\027\n\017linked_resource\030\t \001(\t\022\034" + - "\n\024fully_qualified_name\030\035 \001(\t\0226\n\004type\030\002 \001" + - "(\0162&.google.cloud.datacatalog.v1.EntryTy" + - "peH\000\022\035\n\023user_specified_type\030\020 \001(\tH\000\022P\n\021i" + - "ntegrated_system\030\021 \001(\0162-.google.cloud.da" + - "tacatalog.v1.IntegratedSystemB\004\342A\001\003H\001\022\037\n" + - "\025user_specified_system\030\022 \001(\tH\001\022V\n\030sql_da" + - "tabase_system_spec\030\' \001(\01322.google.cloud." + - "datacatalog.v1.SqlDatabaseSystemSpecH\002\022K" + - "\n\022looker_system_spec\030( \001(\0132-.google.clou" + - "d.datacatalog.v1.LookerSystemSpecH\002\022Z\n\032c" + - "loud_bigtable_system_spec\030) \001(\01324.google" + - ".cloud.datacatalog.v1.CloudBigtableSyste" + - "mSpecH\002\022G\n\020gcs_fileset_spec\030\006 \001(\0132+.goog" + - "le.cloud.datacatalog.v1.GcsFilesetSpecH\003" + - "\022S\n\023bigquery_table_spec\030\014 \001(\0132..google.c" + - "loud.datacatalog.v1.BigQueryTableSpecB\004\342" + - "A\001\003H\003\022`\n\032bigquery_date_sharded_spec\030\017 \001(" + - "\01324.google.cloud.datacatalog.v1.BigQuery" + - "DateShardedSpecB\004\342A\001\003H\003\022M\n\023database_tabl" + - "e_spec\030\030 \001(\0132..google.cloud.datacatalog." + - "v1.DatabaseTableSpecH\004\022\\\n\033data_source_co" + - "nnection_spec\030\033 \001(\01325.google.cloud.datac" + - "atalog.v1.DataSourceConnectionSpecH\004\022@\n\014" + - "routine_spec\030\034 \001(\0132(.google.cloud.dataca" + - "talog.v1.RoutineSpecH\004\022@\n\014fileset_spec\030!" + - " \001(\0132(.google.cloud.datacatalog.v1.Files" + - "etSpecH\004\022@\n\014service_spec\030* \001(\0132(.google." + - "cloud.datacatalog.v1.ServiceSpecH\004\022\024\n\014di" + - "splay_name\030\003 \001(\t\022\023\n\013description\030\004 \001(\t\022F\n" + - "\020business_context\030% \001(\0132,.google.cloud.d" + - "atacatalog.v1.BusinessContext\0223\n\006schema\030" + - "\005 \001(\0132#.google.cloud.datacatalog.v1.Sche" + - "ma\022O\n\030source_system_timestamps\030\007 \001(\0132-.g" + - "oogle.cloud.datacatalog.v1.SystemTimesta" + - "mps\022>\n\014usage_signal\030\r \001(\0132(.google.cloud" + - ".datacatalog.v1.UsageSignal\022>\n\006labels\030\016 " + - "\003(\0132..google.cloud.datacatalog.v1.Entry." + - "LabelsEntry\022B\n\013data_source\030\024 \001(\0132\'.googl" + - "e.cloud.datacatalog.v1.DataSourceB\004\342A\001\003\022" + - "L\n\020personal_details\030\032 \001(\0132,.google.cloud" + - ".datacatalog.v1.PersonalDetailsB\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:x\352Au\n datacatalog.googleapis.com/En" + - "try\022Qprojects/{project}/locations/{locat" + - "ion}/entryGroups/{entry_group}/entries/{" + - "entry}B\014\n\nentry_typeB\010\n\006systemB\r\n\013system" + - "_specB\013\n\ttype_specB\006\n\004spec\"\314\004\n\021DatabaseT" + - "ableSpec\022F\n\004type\030\001 \001(\01628.google.cloud.da" + - "tacatalog.v1.DatabaseTableSpec.TableType" + - "\022L\n\016dataplex_table\030\002 \001(\0132..google.cloud." + - "datacatalog.v1.DataplexTableSpecB\004\342A\001\003\022[" + - "\n\022database_view_spec\030\003 \001(\0132?.google.clou" + - "d.datacatalog.v1.DatabaseTableSpec.Datab" + - "aseViewSpec\032\200\002\n\020DatabaseViewSpec\022[\n\tview" + - "_type\030\001 \001(\0162H.google.cloud.datacatalog.v" + - "1.DatabaseTableSpec.DatabaseViewSpec.Vie" + - "wType\022\024\n\nbase_table\030\002 \001(\tH\000\022\023\n\tsql_query" + - "\030\003 \001(\tH\000\"O\n\010ViewType\022\031\n\025VIEW_TYPE_UNSPEC" + - "IFIED\020\000\022\021\n\rSTANDARD_VIEW\020\001\022\025\n\021MATERIALIZ" + - "ED_VIEW\020\002B\023\n\021source_definition\"A\n\tTableT" + - "ype\022\032\n\026TABLE_TYPE_UNSPECIFIED\020\000\022\n\n\006NATIV" + - "E\020\001\022\014\n\010EXTERNAL\020\002\"Y\n\013FilesetSpec\022J\n\020data" + - "plex_fileset\030\001 \001(\01320.google.cloud.dataca" + - "talog.v1.DataplexFilesetSpec\"q\n\030DataSour" + - "ceConnectionSpec\022U\n\030bigquery_connection_" + - "spec\030\001 \001(\01323.google.cloud.datacatalog.v1" + - ".BigQueryConnectionSpec\"\303\004\n\013RoutineSpec\022" + - "J\n\014routine_type\030\001 \001(\01624.google.cloud.dat" + - "acatalog.v1.RoutineSpec.RoutineType\022\020\n\010l" + - "anguage\030\002 \001(\t\022L\n\021routine_arguments\030\003 \003(\013" + - "21.google.cloud.datacatalog.v1.RoutineSp" + - "ec.Argument\022\023\n\013return_type\030\004 \001(\t\022\027\n\017defi" + - "nition_body\030\005 \001(\t\022Q\n\025bigquery_routine_sp" + - "ec\030\006 \001(\01320.google.cloud.datacatalog.v1.B" + - "igQueryRoutineSpecH\000\032\246\001\n\010Argument\022\014\n\004nam" + - "e\030\001 \001(\t\022D\n\004mode\030\002 \001(\01626.google.cloud.dat" + - "acatalog.v1.RoutineSpec.Argument.Mode\022\014\n" + - "\004type\030\003 \001(\t\"8\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020" + - "\000\022\006\n\002IN\020\001\022\007\n\003OUT\020\002\022\t\n\005INOUT\020\003\"O\n\013Routine" + - "Type\022\034\n\030ROUTINE_TYPE_UNSPECIFIED\020\000\022\023\n\017SC" + - "ALAR_FUNCTION\020\001\022\r\n\tPROCEDURE\020\002B\r\n\013system" + - "_spec\"\\\n\025SqlDatabaseSystemSpec\022\022\n\nsql_en" + - "gine\030\001 \001(\t\022\030\n\020database_version\030\002 \001(\t\022\025\n\r" + - "instance_host\030\003 \001(\t\"\312\001\n\020LookerSystemSpec" + - "\022\032\n\022parent_instance_id\030\001 \001(\t\022$\n\034parent_i" + - "nstance_display_name\030\002 \001(\t\022\027\n\017parent_mod" + - "el_id\030\003 \001(\t\022!\n\031parent_model_display_name" + - "\030\004 \001(\t\022\026\n\016parent_view_id\030\005 \001(\t\022 \n\030parent" + - "_view_display_name\030\006 \001(\t\"8\n\027CloudBigtabl" + - "eSystemSpec\022\035\n\025instance_display_name\030\001 \001" + - "(\t\"\375\001\n\031CloudBigtableInstanceSpec\022u\n\034clou" + - "d_bigtable_cluster_specs\030\001 \003(\0132O.google." + - "cloud.datacatalog.v1.CloudBigtableInstan" + - "ceSpec.CloudBigtableClusterSpec\032i\n\030Cloud" + - "BigtableClusterSpec\022\024\n\014display_name\030\001 \001(" + - "\t\022\020\n\010location\030\002 \001(\t\022\014\n\004type\030\003 \001(\t\022\027\n\017lin" + - "ked_resource\030\004 \001(\t\"|\n\013ServiceSpec\022^\n\034clo" + - "ud_bigtable_instance_spec\030\001 \001(\01326.google" + - ".cloud.datacatalog.v1.CloudBigtableInsta" + - "nceSpecH\000B\r\n\013system_spec\"\216\001\n\017BusinessCon" + - "text\022B\n\016entry_overview\030\001 \001(\0132*.google.cl" + - "oud.datacatalog.v1.EntryOverview\0227\n\010cont" + - "acts\030\002 \001(\0132%.google.cloud.datacatalog.v1" + - ".Contacts\"!\n\rEntryOverview\022\020\n\010overview\030\001" + - " \001(\t\"v\n\010Contacts\022<\n\006people\030\001 \003(\0132,.googl" + - "e.cloud.datacatalog.v1.Contacts.Person\032," + - "\n\006Person\022\023\n\013designation\030\001 \001(\t\022\r\n\005email\030\002" + - " \001(\t\"\212\002\n\nEntryGroup\022\014\n\004name\030\001 \001(\t\022\024\n\014dis" + - "play_name\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022T\n\027" + - "data_catalog_timestamps\030\004 \001(\0132-.google.c" + - "loud.datacatalog.v1.SystemTimestampsB\004\342A" + - "\001\003:m\352Aj\n%datacatalog.googleapis.com/Entr" + - "yGroup\022Aprojects/{project}/locations/{lo" + - "cation}/entryGroups/{entry_group}\"\300\001\n\030Cr" + - "eateTagTemplateRequest\022?\n\006parent\030\001 \001(\tB/" + - "\342A\001\002\372A(\022&datacatalog.googleapis.com/TagT" + - "emplate\022\035\n\017tag_template_id\030\003 \001(\tB\004\342A\001\002\022D" + - "\n\014tag_template\030\002 \001(\0132(.google.cloud.data" + - "catalog.v1.TagTemplateB\004\342A\001\002\"V\n\025GetTagTe" + - "mplateRequest\022=\n\004name\030\001 \001(\tB/\342A\001\002\372A(\n&da" + - "tacatalog.googleapis.com/TagTemplate\"\221\001\n" + - "\030UpdateTagTemplateRequest\022D\n\014tag_templat" + - "e\030\001 \001(\0132(.google.cloud.datacatalog.v1.Ta" + - "gTemplateB\004\342A\001\002\022/\n\013update_mask\030\002 \001(\0132\032.g" + - "oogle.protobuf.FieldMask\"n\n\030DeleteTagTem" + - "plateRequest\022=\n\004name\030\001 \001(\tB/\342A\001\002\372A(\n&dat" + - "acatalog.googleapis.com/TagTemplate\022\023\n\005f" + - "orce\030\002 \001(\010B\004\342A\001\002\"\200\001\n\020CreateTagRequest\0227\n" + - "\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036datacatalog.goog" + - "leapis.com/Tag\0223\n\003tag\030\002 \001(\0132 .google.clo" + - "ud.datacatalog.v1.TagB\004\342A\001\002\"x\n\020UpdateTag" + - "Request\0223\n\003tag\030\001 \001(\0132 .google.cloud.data" + - "catalog.v1.TagB\004\342A\001\002\022/\n\013update_mask\030\002 \001(" + - "\0132\032.google.protobuf.FieldMask\"I\n\020DeleteT" + - "agRequest\0225\n\004name\030\001 \001(\tB\'\342A\001\002\372A \022\036dataca" + - "talog.googleapis.com/Tag\"\326\001\n\035CreateTagTe" + - "mplateFieldRequest\022?\n\006parent\030\001 \001(\tB/\342A\001\002" + - "\372A(\n&datacatalog.googleapis.com/TagTempl" + - "ate\022#\n\025tag_template_field_id\030\002 \001(\tB\004\342A\001\002" + - "\022O\n\022tag_template_field\030\003 \001(\0132-.google.cl" + - "oud.datacatalog.v1.TagTemplateFieldB\004\342A\001" + - "\002\"\353\001\n\035UpdateTagTemplateFieldRequest\022B\n\004n" + - "ame\030\001 \001(\tB4\342A\001\002\372A-\n+datacatalog.googleap" + - "is.com/TagTemplateField\022O\n\022tag_template_" + - "field\030\002 \001(\0132-.google.cloud.datacatalog.v" + - "1.TagTemplateFieldB\004\342A\001\002\0225\n\013update_mask\030" + - "\003 \001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\001\"" + - "\214\001\n\035RenameTagTemplateFieldRequest\022B\n\004nam" + - "e\030\001 \001(\tB4\342A\001\002\372A-\n+datacatalog.googleapis" + - ".com/TagTemplateField\022\'\n\031new_tag_templat" + - "e_field_id\030\002 \001(\tB\004\342A\001\002\"\240\001\n&RenameTagTemp" + - "lateFieldEnumValueRequest\022K\n\004name\030\001 \001(\tB" + - "=\342A\001\002\372A6\n4datacatalog.googleapis.com/Tag" + - "TemplateFieldEnumValue\022)\n\033new_enum_value" + - "_display_name\030\002 \001(\tB\004\342A\001\002\"x\n\035DeleteTagTe" + - "mplateFieldRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A" + - "-\n+datacatalog.googleapis.com/TagTemplat" + - "eField\022\023\n\005force\030\002 \001(\010B\004\342A\001\002\"q\n\017ListTagsR" + - "equest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036datacat" + - "alog.googleapis.com/Tag\022\021\n\tpage_size\030\002 \001" + - "(\005\022\022\n\npage_token\030\003 \001(\t\"[\n\020ListTagsRespon" + - "se\022.\n\004tags\030\001 \003(\0132 .google.cloud.datacata" + - "log.v1.Tag\022\027\n\017next_page_token\030\002 \001(\t\"\346\001\n\024" + - "ReconcileTagsRequest\0229\n\006parent\030\001 \001(\tB)\342A" + - "\001\002\372A\"\n datacatalog.googleapis.com/Entry\022" + - "E\n\014tag_template\030\002 \001(\tB/\342A\001\002\372A(\n&datacata" + - "log.googleapis.com/TagTemplate\022\034\n\024force_" + - "delete_missing\030\003 \001(\010\022.\n\004tags\030\004 \003(\0132 .goo" + - "gle.cloud.datacatalog.v1.Tag\"k\n\025Reconcil" + - "eTagsResponse\022\032\n\022created_tags_count\030\001 \001(" + - "\003\022\032\n\022updated_tags_count\030\002 \001(\003\022\032\n\022deleted" + - "_tags_count\030\003 \001(\003\"\223\003\n\025ReconcileTagsMetad" + - "ata\022U\n\005state\030\001 \001(\0162F.google.cloud.dataca" + - "talog.v1.ReconcileTagsMetadata.Reconcili" + - "ationState\022N\n\006errors\030\002 \003(\0132>.google.clou" + - "d.datacatalog.v1.ReconcileTagsMetadata.E" + - "rrorsEntry\032A\n\013ErrorsEntry\022\013\n\003key\030\001 \001(\t\022!" + - "\n\005value\030\002 \001(\0132\022.google.rpc.Status:\0028\001\"\217\001" + - "\n\023ReconciliationState\022$\n RECONCILIATION_" + - "STATE_UNSPECIFIED\020\000\022\031\n\025RECONCILIATION_QU" + - "EUED\020\001\022\036\n\032RECONCILIATION_IN_PROGRESS\020\002\022\027" + - "\n\023RECONCILIATION_DONE\020\003\"\252\001\n\022ListEntriesR" + - "equest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n%datacat" + - "alog.googleapis.com/EntryGroup\022\021\n\tpage_s" + - "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022-\n\tread_ma" + - "sk\030\004 \001(\0132\032.google.protobuf.FieldMask\"c\n\023" + - "ListEntriesResponse\0223\n\007entries\030\001 \003(\0132\".g" + - "oogle.cloud.datacatalog.v1.Entry\022\027\n\017next" + - "_page_token\030\002 \001(\t\"K\n\020StarEntryRequest\0227\n" + - "\004name\030\001 \001(\tB)\342A\001\002\372A\"\n datacatalog.google" + - "apis.com/Entry\"\023\n\021StarEntryResponse\"M\n\022U" + - "nstarEntryRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"" + - "\n datacatalog.googleapis.com/Entry\"\025\n\023Un" + - "starEntryResponse\"\214\001\n\024ImportEntriesReque" + - "st\0229\n\006parent\030\001 \001(\tB)\342A\001\002\372A\"\022 datacatalog" + - ".googleapis.com/Entry\022\031\n\017gcs_bucket_path" + - "\030\002 \001(\tH\000\022\024\n\006job_id\030\003 \001(\tB\004\342A\001\001B\010\n\006source" + - "\"\225\001\n\025ImportEntriesResponse\022#\n\026upserted_e" + - "ntries_count\030\005 \001(\003H\000\210\001\001\022\"\n\025deleted_entri" + - "es_count\030\006 \001(\003H\001\210\001\001B\031\n\027_upserted_entries" + - "_countB\030\n\026_deleted_entries_count\"\210\002\n\025Imp" + - "ortEntriesMetadata\022M\n\005state\030\001 \001(\0162>.goog" + - "le.cloud.datacatalog.v1.ImportEntriesMet" + - "adata.ImportState\022\"\n\006errors\030\002 \003(\0132\022.goog" + - "le.rpc.Status\"|\n\013ImportState\022\034\n\030IMPORT_S" + - "TATE_UNSPECIFIED\020\000\022\021\n\rIMPORT_QUEUED\020\001\022\026\n" + - "\022IMPORT_IN_PROGRESS\020\002\022\017\n\013IMPORT_DONE\020\003\022\023" + - "\n\017IMPORT_OBSOLETE\020\004\"\237\001\n\032ModifyEntryOverv" + - "iewRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n datac" + - "atalog.googleapis.com/Entry\022H\n\016entry_ove" + - "rview\030\002 \001(\0132*.google.cloud.datacatalog.v" + - "1.EntryOverviewB\004\342A\001\002\"\224\001\n\032ModifyEntryCon" + - "tactsRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n dat" + - "acatalog.googleapis.com/Entry\022=\n\010contact" + - "s\030\002 \001(\0132%.google.cloud.datacatalog.v1.Co" + - "ntactsB\004\342A\001\002*\373\001\n\tEntryType\022\032\n\026ENTRY_TYPE" + - "_UNSPECIFIED\020\000\022\t\n\005TABLE\020\002\022\t\n\005MODEL\020\005\022\017\n\013" + - "DATA_STREAM\020\003\022\013\n\007FILESET\020\004\022\013\n\007CLUSTER\020\006\022" + - "\014\n\010DATABASE\020\007\022\032\n\026DATA_SOURCE_CONNECTION\020" + - "\010\022\013\n\007ROUTINE\020\t\022\010\n\004LAKE\020\n\022\010\n\004ZONE\020\013\022\013\n\007SE" + - "RVICE\020\016\022\023\n\017DATABASE_SCHEMA\020\017\022\r\n\tDASHBOAR" + - "D\020\020\022\013\n\007EXPLORE\020\021\022\010\n\004LOOK\020\0222\300;\n\013DataCatal" + - "og\022\243\001\n\rSearchCatalog\0221.google.cloud.data" + - "catalog.v1.SearchCatalogRequest\0322.google" + - ".cloud.datacatalog.v1.SearchCatalogRespo" + - "nse\"+\332A\013scope,query\202\323\344\223\002\027\"\022/v1/catalog:s" + - "earch:\001*\022\333\001\n\020CreateEntryGroup\0224.google.c" + - "loud.datacatalog.v1.CreateEntryGroupRequ" + - "est\032\'.google.cloud.datacatalog.v1.EntryG" + - "roup\"h\332A!parent,entry_group_id,entry_gro" + - "up\202\323\344\223\002>\"//v1/{parent=projects/*/locatio" + - "ns/*}/entryGroups:\013entry_group\022\274\001\n\rGetEn" + - "tryGroup\0221.google.cloud.datacatalog.v1.G" + - "etEntryGroupRequest\032\'.google.cloud.datac" + - "atalog.v1.EntryGroup\"O\332A\004name\332A\016name,rea" + - "d_mask\202\323\344\223\0021\022//v1/{name=projects/*/locat" + - "ions/*/entryGroups/*}\022\353\001\n\020UpdateEntryGro" + - "up\0224.google.cloud.datacatalog.v1.UpdateE" + - "ntryGroupRequest\032\'.google.cloud.datacata" + - "log.v1.EntryGroup\"x\332A\013entry_group\332A\027entr" + - "y_group,update_mask\202\323\344\223\002J2;/v1/{entry_gr" + - "oup.name=projects/*/locations/*/entryGro" + - "ups/*}:\013entry_group\022\240\001\n\020DeleteEntryGroup" + - "\0224.google.cloud.datacatalog.v1.DeleteEnt" + - "ryGroupRequest\032\026.google.protobuf.Empty\">" + - "\332A\004name\202\323\344\223\0021*//v1/{name=projects/*/loca" + - "tions/*/entryGroups/*}\022\276\001\n\017ListEntryGrou" + - "ps\0223.google.cloud.datacatalog.v1.ListEnt" + - "ryGroupsRequest\0324.google.cloud.datacatal" + - "og.v1.ListEntryGroupsResponse\"@\332A\006parent" + - "\202\323\344\223\0021\022//v1/{parent=projects/*/locations" + - "/*}/entryGroups\022\304\001\n\013CreateEntry\022/.google" + - ".cloud.datacatalog.v1.CreateEntryRequest" + - "\032\".google.cloud.datacatalog.v1.Entry\"`\332A" + - "\025parent,entry_id,entry\202\323\344\223\002B\"9/v1/{paren" + - "t=projects/*/locations/*/entryGroups/*}/" + - "entries:\005entry\022\316\001\n\013UpdateEntry\022/.google." + - "cloud.datacatalog.v1.UpdateEntryRequest\032" + - "\".google.cloud.datacatalog.v1.Entry\"j\332A\005" + - "entry\332A\021entry,update_mask\202\323\344\223\002H2?/v1/{en" + - "try.name=projects/*/locations/*/entryGro" + - "ups/*/entries/*}:\005entry\022\240\001\n\013DeleteEntry\022" + - "/.google.cloud.datacatalog.v1.DeleteEntr" + - "yRequest\032\026.google.protobuf.Empty\"H\332A\004nam" + - "e\202\323\344\223\002;*9/v1/{name=projects/*/locations/" + - "*/entryGroups/*/entries/*}\022\246\001\n\010GetEntry\022" + - ",.google.cloud.datacatalog.v1.GetEntryRe" + - "quest\032\".google.cloud.datacatalog.v1.Entr" + - "y\"H\332A\004name\202\323\344\223\002;\0229/v1/{name=projects/*/l" + - "ocations/*/entryGroups/*/entries/*}\022~\n\013L" + - "ookupEntry\022/.google.cloud.datacatalog.v1" + - ".LookupEntryRequest\032\".google.cloud.datac" + - "atalog.v1.Entry\"\032\202\323\344\223\002\024\022\022/v1/entries:loo" + - "kup\022\274\001\n\013ListEntries\022/.google.cloud.datac" + - "atalog.v1.ListEntriesRequest\0320.google.cl" + - "oud.datacatalog.v1.ListEntriesResponse\"J" + - "\332A\006parent\202\323\344\223\002;\0229/v1/{parent=projects/*/" + - "locations/*/entryGroups/*}/entries\022\324\001\n\023M" + - "odifyEntryOverview\0227.google.cloud.dataca" + - "talog.v1.ModifyEntryOverviewRequest\032*.go" + - "ogle.cloud.datacatalog.v1.EntryOverview\"" + - "X\202\323\344\223\002R\"M/v1/{name=projects/*/locations/" + - "*/entryGroups/*/entries/*}:modifyEntryOv" + - "erview:\001*\022\317\001\n\023ModifyEntryContacts\0227.goog" + - "le.cloud.datacatalog.v1.ModifyEntryConta" + - "ctsRequest\032%.google.cloud.datacatalog.v1" + - ".Contacts\"X\202\323\344\223\002R\"M/v1/{name=projects/*/" + - "locations/*/entryGroups/*/entries/*}:mod" + - "ifyEntryContacts:\001*\022\342\001\n\021CreateTagTemplat" + - "e\0225.google.cloud.datacatalog.v1.CreateTa" + - "gTemplateRequest\032(.google.cloud.datacata" + - "log.v1.TagTemplate\"l\332A#parent,tag_templa" + - "te_id,tag_template\202\323\344\223\002@\"0/v1/{parent=pr" + - "ojects/*/locations/*}/tagTemplates:\014tag_" + - "template\022\257\001\n\016GetTagTemplate\0222.google.clo" + - "ud.datacatalog.v1.GetTagTemplateRequest\032" + - "(.google.cloud.datacatalog.v1.TagTemplat" + - "e\"?\332A\004name\202\323\344\223\0022\0220/v1/{name=projects/*/l" + - "ocations/*/tagTemplates/*}\022\363\001\n\021UpdateTag" + - "Template\0225.google.cloud.datacatalog.v1.U" + - "pdateTagTemplateRequest\032(.google.cloud.d" + - "atacatalog.v1.TagTemplate\"}\332A\014tag_templa" + - "te\332A\030tag_template,update_mask\202\323\344\223\002M2=/v1" + - "/{tag_template.name=projects/*/locations" + - "/*/tagTemplates/*}:\014tag_template\022\251\001\n\021Del" + - "eteTagTemplate\0225.google.cloud.datacatalo" + - "g.v1.DeleteTagTemplateRequest\032\026.google.p" + - "rotobuf.Empty\"E\332A\nname,force\202\323\344\223\0022*0/v1/" + - "{name=projects/*/locations/*/tagTemplate" + - "s/*}\022\215\002\n\026CreateTagTemplateField\022:.google" + - ".cloud.datacatalog.v1.CreateTagTemplateF" + - "ieldRequest\032-.google.cloud.datacatalog.v" + - "1.TagTemplateField\"\207\001\332A/parent,tag_templ" + - "ate_field_id,tag_template_field\202\323\344\223\002O\"9/" + - "v1/{parent=projects/*/locations/*/tagTem" + - "plates/*}/fields:\022tag_template_field\022\233\002\n" + - "\026UpdateTagTemplateField\022:.google.cloud.d" + - "atacatalog.v1.UpdateTagTemplateFieldRequ" + - "est\032-.google.cloud.datacatalog.v1.TagTem" + - "plateField\"\225\001\332A\027name,tag_template_field\332" + - "A#name,tag_template_field,update_mask\202\323\344" + - "\223\002O29/v1/{name=projects/*/locations/*/ta" + - "gTemplates/*/fields/*}:\022tag_template_fie" + - "ld\022\361\001\n\026RenameTagTemplateField\022:.google.c" + - "loud.datacatalog.v1.RenameTagTemplateFie" + - "ldRequest\032-.google.cloud.datacatalog.v1.", - "TagTemplateField\"l\332A\036name,new_tag_templa" + - "te_field_id\202\323\344\223\002E\"@/v1/{name=projects/*/" + - "locations/*/tagTemplates/*/fields/*}:ren" + - "ame:\001*\022\222\002\n\037RenameTagTemplateFieldEnumVal" + - "ue\022C.google.cloud.datacatalog.v1.RenameT" + - "agTemplateFieldEnumValueRequest\032-.google" + - ".cloud.datacatalog.v1.TagTemplateField\"{" + - "\332A name,new_enum_value_display_name\202\323\344\223\002" + - "R\"M/v1/{name=projects/*/locations/*/tagT" + - "emplates/*/fields/*/enumValues/*}:rename" + - ":\001*\022\274\001\n\026DeleteTagTemplateField\022:.google." + - "cloud.datacatalog.v1.DeleteTagTemplateFi" + - "eldRequest\032\026.google.protobuf.Empty\"N\332A\nn" + - "ame,force\202\323\344\223\002;*9/v1/{name=projects/*/lo" + - "cations/*/tagTemplates/*/fields/*}\022\371\001\n\tC" + - "reateTag\022-.google.cloud.datacatalog.v1.C" + - "reateTagRequest\032 .google.cloud.datacatal" + - "og.v1.Tag\"\232\001\332A\nparent,tag\202\323\344\223\002\206\001\"@/v1/{p" + - "arent=projects/*/locations/*/entryGroups" + - "/*/entries/*}/tags:\003tagZ=\"6/v1/{parent=p" + - "rojects/*/locations/*/entryGroups/*}/tag" + - "s:\003tag\022\214\002\n\tUpdateTag\022-.google.cloud.data" + - "catalog.v1.UpdateTagRequest\032 .google.clo" + - "ud.datacatalog.v1.Tag\"\255\001\332A\003tag\332A\017tag,upd" + - "ate_mask\202\323\344\223\002\216\0012D/v1/{tag.name=projects/" + - "*/locations/*/entryGroups/*/entries/*/ta" + - "gs/*}:\003tagZA2:/v1/{tag.name=projects/*/l" + - "ocations/*/entryGroups/*/tags/*}:\003tag\022\336\001" + - "\n\tDeleteTag\022-.google.cloud.datacatalog.v" + - "1.DeleteTagRequest\032\026.google.protobuf.Emp" + - "ty\"\211\001\332A\004name\202\323\344\223\002|*@/v1/{name=projects/*" + - "/locations/*/entryGroups/*/entries/*/tag" + - "s/*}Z8*6/v1/{name=projects/*/locations/*" + - "/entryGroups/*/tags/*}\022\365\001\n\010ListTags\022,.go" + - "ogle.cloud.datacatalog.v1.ListTagsReques" + - "t\032-.google.cloud.datacatalog.v1.ListTags" + - "Response\"\213\001\332A\006parent\202\323\344\223\002|\022@/v1/{parent=" + - "projects/*/locations/*/entryGroups/*/ent" + - "ries/*}/tagsZ8\0226/v1/{parent=projects/*/l" + - "ocations/*/entryGroups/*}/tags\022\352\001\n\rRecon" + - "cileTags\0221.google.cloud.datacatalog.v1.R" + - "econcileTagsRequest\032\035.google.longrunning" + - ".Operation\"\206\001\312A.\n\025ReconcileTagsResponse\022" + - "\025ReconcileTagsMetadata\202\323\344\223\002O\"J/v1/{paren" + - "t=projects/*/locations/*/entryGroups/*/e" + - "ntries/*}/tags:reconcile:\001*\022\274\001\n\tStarEntr" + - "y\022-.google.cloud.datacatalog.v1.StarEntr" + - "yRequest\032..google.cloud.datacatalog.v1.S" + - "tarEntryResponse\"P\332A\004name\202\323\344\223\002C\">/v1/{na" + - "me=projects/*/locations/*/entryGroups/*/" + - "entries/*}:star:\001*\022\304\001\n\013UnstarEntry\022/.goo" + - "gle.cloud.datacatalog.v1.UnstarEntryRequ" + - "est\0320.google.cloud.datacatalog.v1.Unstar" + - "EntryResponse\"R\332A\004name\202\323\344\223\002E\"@/v1/{name=" + - "projects/*/locations/*/entryGroups/*/ent" + - "ries/*}:unstar:\001*\022\362\001\n\014SetIamPolicy\022\".goo" + - "gle.iam.v1.SetIamPolicyRequest\032\025.google." + - "iam.v1.Policy\"\246\001\332A\017resource,policy\202\323\344\223\002\215" + - "\001\"A/v1/{resource=projects/*/locations/*/" + - "tagTemplates/*}:setIamPolicy:\001*ZE\"@/v1/{" + - "resource=projects/*/locations/*/entryGro" + - "ups/*}:setIamPolicy:\001*\022\274\002\n\014GetIamPolicy\022" + - "\".google.iam.v1.GetIamPolicyRequest\032\025.go" + - "ogle.iam.v1.Policy\"\360\001\332A\010resource\202\323\344\223\002\336\001\"" + - "A/v1/{resource=projects/*/locations/*/ta" + - "gTemplates/*}:getIamPolicy:\001*ZE\"@/v1/{re" + - "source=projects/*/locations/*/entryGroup" + - "s/*}:getIamPolicy:\001*ZO\"J/v1/{resource=pr" + - "ojects/*/locations/*/entryGroups/*/entri" + - "es/*}:getIamPolicy:\001*\022\343\002\n\022TestIamPermiss" + - "ions\022(.google.iam.v1.TestIamPermissionsR" + - "equest\032).google.iam.v1.TestIamPermission" + - "sResponse\"\367\001\202\323\344\223\002\360\001\"G/v1/{resource=proje" + - "cts/*/locations/*/tagTemplates/*}:testIa" + - "mPermissions:\001*ZK\"F/v1/{resource=project" + - "s/*/locations/*/entryGroups/*}:testIamPe" + - "rmissions:\001*ZU\"P/v1/{resource=projects/*" + - "/locations/*/entryGroups/*/entries/*}:te" + - "stIamPermissions:\001*\022\337\001\n\rImportEntries\0221." + - "google.cloud.datacatalog.v1.ImportEntrie" + - "sRequest\032\035.google.longrunning.Operation\"" + - "|\312A.\n\025ImportEntriesResponse\022\025ImportEntri" + - "esMetadata\202\323\344\223\002E\"@/v1/{parent=projects/*" + - "/locations/*/entryGroups/*}/entries:impo" + - "rt:\001*\032N\312A\032datacatalog.googleapis.com\322A.h" + - "ttps://www.googleapis.com/auth/cloud-pla" + - "tformB\212\003\n\037com.google.cloud.datacatalog.v" + - "1P\001ZAcloud.google.com/go/datacatalog/api" + - "v1/datacatalogpb;datacatalogpb\370\001\001\252\002\033Goog" + - "le.Cloud.DataCatalog.V1\312\002\033Google\\Cloud\\D" + - "ataCatalog\\V1\352\002\036Google::Cloud::DataCatal" + - "og::V1\352A\300\001\n4datacatalog.googleapis.com/T" + - "agTemplateFieldEnumValue\022\207\001projects/{pro" + - "ject}/locations/{location}/tagTemplates/" + - "{tag_template}/fields/{tag_template_fiel" + - "d_id}/enumValues/{enum_value_display_nam" + - "e}b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.datacatalog.v1.BigQueryProto.getDescriptor(), - com.google.cloud.datacatalog.v1.Common.getDescriptor(), - com.google.cloud.datacatalog.v1.DataSourceProto.getDescriptor(), - com.google.cloud.datacatalog.v1.DataplexSpecProto.getDescriptor(), - com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass.getDescriptor(), - com.google.cloud.datacatalog.v1.SchemaOuterClass.getDescriptor(), - com.google.cloud.datacatalog.v1.Search.getDescriptor(), - com.google.cloud.datacatalog.v1.TableSpecOuterClass.getDescriptor(), - com.google.cloud.datacatalog.v1.Tags.getDescriptor(), - com.google.cloud.datacatalog.v1.Timestamps.getDescriptor(), - com.google.cloud.datacatalog.v1.Usage.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_descriptor, - new java.lang.String[] { "Scope", "Query", "PageSize", "PageToken", "OrderBy", }); - internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_descriptor = - internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_SearchCatalogRequest_Scope_descriptor, - new java.lang.String[] { "IncludeOrgIds", "IncludeProjectIds", "IncludeGcpPublicDatasets", "RestrictedLocations", "StarredOnly", "IncludePublicTagTemplates", }); - internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_descriptor, - new java.lang.String[] { "Results", "TotalSize", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_CreateEntryGroupRequest_descriptor, - new java.lang.String[] { "Parent", "EntryGroupId", "EntryGroup", }); - internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_UpdateEntryGroupRequest_descriptor, - new java.lang.String[] { "EntryGroup", "UpdateMask", }); - internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_GetEntryGroupRequest_descriptor, - new java.lang.String[] { "Name", "ReadMask", }); - internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_DeleteEntryGroupRequest_descriptor, - new java.lang.String[] { "Name", "Force", }); - internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ListEntryGroupsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ListEntryGroupsResponse_descriptor, - new java.lang.String[] { "EntryGroups", "NextPageToken", }); - internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_CreateEntryRequest_descriptor, - new java.lang.String[] { "Parent", "EntryId", "Entry", }); - internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_UpdateEntryRequest_descriptor, - new java.lang.String[] { "Entry", "UpdateMask", }); - internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_DeleteEntryRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_datacatalog_v1_GetEntryRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_datacatalog_v1_GetEntryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_GetEntryRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_LookupEntryRequest_descriptor, - new java.lang.String[] { "LinkedResource", "SqlResource", "FullyQualifiedName", "Project", "Location", "TargetName", }); - internal_static_google_cloud_datacatalog_v1_Entry_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_datacatalog_v1_Entry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_Entry_descriptor, - new java.lang.String[] { "Name", "LinkedResource", "FullyQualifiedName", "Type", "UserSpecifiedType", "IntegratedSystem", "UserSpecifiedSystem", "SqlDatabaseSystemSpec", "LookerSystemSpec", "CloudBigtableSystemSpec", "GcsFilesetSpec", "BigqueryTableSpec", "BigqueryDateShardedSpec", "DatabaseTableSpec", "DataSourceConnectionSpec", "RoutineSpec", "FilesetSpec", "ServiceSpec", "DisplayName", "Description", "BusinessContext", "Schema", "SourceSystemTimestamps", "UsageSignal", "Labels", "DataSource", "PersonalDetails", "EntryType", "System", "SystemSpec", "TypeSpec", "Spec", }); - internal_static_google_cloud_datacatalog_v1_Entry_LabelsEntry_descriptor = - internal_static_google_cloud_datacatalog_v1_Entry_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1_Entry_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_Entry_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_descriptor, - new java.lang.String[] { "Type", "DataplexTable", "DatabaseViewSpec", }); - internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_descriptor = - internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_DatabaseViewSpec_descriptor, - new java.lang.String[] { "ViewType", "BaseTable", "SqlQuery", "SourceDefinition", }); - internal_static_google_cloud_datacatalog_v1_FilesetSpec_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_datacatalog_v1_FilesetSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_FilesetSpec_descriptor, - new java.lang.String[] { "DataplexFileset", }); - internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_descriptor, - new java.lang.String[] { "BigqueryConnectionSpec", }); - internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_datacatalog_v1_RoutineSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor, - new java.lang.String[] { "RoutineType", "Language", "RoutineArguments", "ReturnType", "DefinitionBody", "BigqueryRoutineSpec", "SystemSpec", }); - internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_descriptor = - internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_descriptor, - new java.lang.String[] { "Name", "Mode", "Type", }); - internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_SqlDatabaseSystemSpec_descriptor, - new java.lang.String[] { "SqlEngine", "DatabaseVersion", "InstanceHost", }); - internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_LookerSystemSpec_descriptor, - new java.lang.String[] { "ParentInstanceId", "ParentInstanceDisplayName", "ParentModelId", "ParentModelDisplayName", "ParentViewId", "ParentViewDisplayName", }); - internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_CloudBigtableSystemSpec_descriptor, - new java.lang.String[] { "InstanceDisplayName", }); - internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_descriptor, - new java.lang.String[] { "CloudBigtableClusterSpecs", }); - internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_descriptor = - internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_CloudBigtableInstanceSpec_CloudBigtableClusterSpec_descriptor, - new java.lang.String[] { "DisplayName", "Location", "Type", "LinkedResource", }); - internal_static_google_cloud_datacatalog_v1_ServiceSpec_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_datacatalog_v1_ServiceSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ServiceSpec_descriptor, - new java.lang.String[] { "CloudBigtableInstanceSpec", "SystemSpec", }); - internal_static_google_cloud_datacatalog_v1_BusinessContext_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_datacatalog_v1_BusinessContext_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_BusinessContext_descriptor, - new java.lang.String[] { "EntryOverview", "Contacts", }); - internal_static_google_cloud_datacatalog_v1_EntryOverview_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_datacatalog_v1_EntryOverview_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_EntryOverview_descriptor, - new java.lang.String[] { "Overview", }); - internal_static_google_cloud_datacatalog_v1_Contacts_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_datacatalog_v1_Contacts_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_Contacts_descriptor, - new java.lang.String[] { "People", }); - internal_static_google_cloud_datacatalog_v1_Contacts_Person_descriptor = - internal_static_google_cloud_datacatalog_v1_Contacts_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1_Contacts_Person_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_Contacts_Person_descriptor, - new java.lang.String[] { "Designation", "Email", }); - internal_static_google_cloud_datacatalog_v1_EntryGroup_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_datacatalog_v1_EntryGroup_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_EntryGroup_descriptor, - new java.lang.String[] { "Name", "DisplayName", "Description", "DataCatalogTimestamps", }); - internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_descriptor, - new java.lang.String[] { "Parent", "TagTemplateId", "TagTemplate", }); - internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_descriptor, - new java.lang.String[] { "TagTemplate", "UpdateMask", }); - internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_descriptor, - new java.lang.String[] { "Name", "Force", }); - internal_static_google_cloud_datacatalog_v1_CreateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_datacatalog_v1_CreateTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_CreateTagRequest_descriptor, - new java.lang.String[] { "Parent", "Tag", }); - internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_descriptor, - new java.lang.String[] { "Tag", "UpdateMask", }); - internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_descriptor, - new java.lang.String[] { "Parent", "TagTemplateFieldId", "TagTemplateField", }); - internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_descriptor, - new java.lang.String[] { "Name", "TagTemplateField", "UpdateMask", }); - internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_descriptor, - new java.lang.String[] { "Name", "NewTagTemplateFieldId", }); - internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_descriptor, - new java.lang.String[] { "Name", "NewEnumValueDisplayName", }); - internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_descriptor, - new java.lang.String[] { "Name", "Force", }); - internal_static_google_cloud_datacatalog_v1_ListTagsRequest_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_cloud_datacatalog_v1_ListTagsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ListTagsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_cloud_datacatalog_v1_ListTagsResponse_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_cloud_datacatalog_v1_ListTagsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ListTagsResponse_descriptor, - new java.lang.String[] { "Tags", "NextPageToken", }); - internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ReconcileTagsRequest_descriptor, - new java.lang.String[] { "Parent", "TagTemplate", "ForceDeleteMissing", "Tags", }); - internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_descriptor = - getDescriptor().getMessageTypes().get(42); - internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ReconcileTagsResponse_descriptor, - new java.lang.String[] { "CreatedTagsCount", "UpdatedTagsCount", "DeletedTagsCount", }); - internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_descriptor = - getDescriptor().getMessageTypes().get(43); - internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_descriptor, - new java.lang.String[] { "State", "Errors", }); - internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_ErrorsEntry_descriptor = - internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_ErrorsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ReconcileTagsMetadata_ErrorsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_descriptor = - getDescriptor().getMessageTypes().get(44); - internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "ReadMask", }); - internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_descriptor = - getDescriptor().getMessageTypes().get(45); - internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_descriptor, - new java.lang.String[] { "Entries", "NextPageToken", }); - internal_static_google_cloud_datacatalog_v1_StarEntryRequest_descriptor = - getDescriptor().getMessageTypes().get(46); - internal_static_google_cloud_datacatalog_v1_StarEntryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_StarEntryRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_datacatalog_v1_StarEntryResponse_descriptor = - getDescriptor().getMessageTypes().get(47); - internal_static_google_cloud_datacatalog_v1_StarEntryResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_StarEntryResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_descriptor = - getDescriptor().getMessageTypes().get(48); - internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_UnstarEntryRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_descriptor = - getDescriptor().getMessageTypes().get(49); - internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_UnstarEntryResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_descriptor = - getDescriptor().getMessageTypes().get(50); - internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ImportEntriesRequest_descriptor, - new java.lang.String[] { "Parent", "GcsBucketPath", "JobId", "Source", }); - internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_descriptor = - getDescriptor().getMessageTypes().get(51); - internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ImportEntriesResponse_descriptor, - new java.lang.String[] { "UpsertedEntriesCount", "DeletedEntriesCount", "UpsertedEntriesCount", "DeletedEntriesCount", }); - internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_descriptor = - getDescriptor().getMessageTypes().get(52); - internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ImportEntriesMetadata_descriptor, - new java.lang.String[] { "State", "Errors", }); - internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_descriptor = - getDescriptor().getMessageTypes().get(53); - internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ModifyEntryOverviewRequest_descriptor, - new java.lang.String[] { "Name", "EntryOverview", }); - internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_descriptor = - getDescriptor().getMessageTypes().get(54); - internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ModifyEntryContactsRequest_descriptor, - new java.lang.String[] { "Name", "Contacts", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - 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.datacatalog.v1.BigQueryProto.getDescriptor(); - com.google.cloud.datacatalog.v1.Common.getDescriptor(); - com.google.cloud.datacatalog.v1.DataSourceProto.getDescriptor(); - com.google.cloud.datacatalog.v1.DataplexSpecProto.getDescriptor(); - com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass.getDescriptor(); - com.google.cloud.datacatalog.v1.SchemaOuterClass.getDescriptor(); - com.google.cloud.datacatalog.v1.Search.getDescriptor(); - com.google.cloud.datacatalog.v1.TableSpecOuterClass.getDescriptor(); - com.google.cloud.datacatalog.v1.Tags.getDescriptor(); - com.google.cloud.datacatalog.v1.Timestamps.getDescriptor(); - com.google.cloud.datacatalog.v1.Usage.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecProto.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecProto.java deleted file mode 100644 index fdd7835a088c..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecProto.java +++ /dev/null @@ -1,107 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/dataplex_spec.proto - -package com.google.cloud.datacatalog.v1; - -public final class DataplexSpecProto { - private DataplexSpecProto() {} - 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_datacatalog_v1_DataplexSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_DataplexSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_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/datacatalog/v1/dataplex_s" + - "pec.proto\022\033google.cloud.datacatalog.v1\032(" + - "google/cloud/datacatalog/v1/common.proto" + - "\0321google/cloud/datacatalog/v1/physical_s" + - "chema.proto\"\217\001\n\014DataplexSpec\022\r\n\005asset\030\001 " + - "\001(\t\022@\n\013data_format\030\002 \001(\0132+.google.cloud." + - "datacatalog.v1.PhysicalSchema\022\032\n\022compres" + - "sion_format\030\003 \001(\t\022\022\n\nproject_id\030\004 \001(\t\"W\n" + - "\023DataplexFilesetSpec\022@\n\rdataplex_spec\030\001 " + - "\001(\0132).google.cloud.datacatalog.v1.Datapl" + - "exSpec\"\270\001\n\021DataplexTableSpec\022K\n\017external" + - "_tables\030\001 \003(\01322.google.cloud.datacatalog" + - ".v1.DataplexExternalTable\022@\n\rdataplex_sp" + - "ec\030\002 \001(\0132).google.cloud.datacatalog.v1.D" + - "ataplexSpec\022\024\n\014user_managed\030\003 \001(\010\"\257\001\n\025Da" + - "taplexExternalTable\022=\n\006system\030\001 \001(\0162-.go" + - "ogle.cloud.datacatalog.v1.IntegratedSyst" + - "em\022\034\n\024fully_qualified_name\030\034 \001(\t\022\035\n\025goog" + - "le_cloud_resource\030\003 \001(\t\022\032\n\022data_catalog_" + - "entry\030\004 \001(\tB\331\001\n\037com.google.cloud.datacat" + - "alog.v1B\021DataplexSpecProtoP\001ZAcloud.goog" + - "le.com/go/datacatalog/apiv1/datacatalogp" + - "b;datacatalogpb\370\001\001\252\002\033Google.Cloud.DataCa" + - "talog.V1\312\002\033Google\\Cloud\\DataCatalog\\V1\352\002" + - "\036Google::Cloud::DataCatalog::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.cloud.datacatalog.v1.Common.getDescriptor(), - com.google.cloud.datacatalog.v1.PhysicalSchemaProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1_DataplexSpec_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1_DataplexSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_DataplexSpec_descriptor, - new java.lang.String[] { "Asset", "DataFormat", "CompressionFormat", "ProjectId", }); - internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_DataplexFilesetSpec_descriptor, - new java.lang.String[] { "DataplexSpec", }); - internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_DataplexTableSpec_descriptor, - new java.lang.String[] { "ExternalTables", "DataplexSpec", "UserManaged", }); - internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_DataplexExternalTable_descriptor, - new java.lang.String[] { "System", "FullyQualifiedName", "GoogleCloudResource", "DataCatalogEntry", }); - com.google.cloud.datacatalog.v1.Common.getDescriptor(); - com.google.cloud.datacatalog.v1.PhysicalSchemaProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequestOrBuilder.java deleted file mode 100644 index 1ec1cd1c36b2..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequestOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/datacatalog.proto - -package com.google.cloud.datacatalog.v1; - -public interface DeleteEntryGroupRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DeleteEntryGroupRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the entry group to delete.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the entry group to delete.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-   * Optional. If true, deletes all entries in the entry group.
-   * 
- * - * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return The force. - */ - boolean getForce(); -} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequestOrBuilder.java deleted file mode 100644 index 818295005fec..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/datacatalog.proto - -package com.google.cloud.datacatalog.v1; - -public interface DeleteEntryRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DeleteEntryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the entry to delete.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the entry to delete.
-   * 
- * - * 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-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequestOrBuilder.java deleted file mode 100644 index 5312a89e96cb..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/policytagmanager.proto - -package com.google.cloud.datacatalog.v1; - -public interface DeletePolicyTagRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DeletePolicyTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Resource name of the policy tag to delete.
-   *
-   * Note: All of its descendant policy tags are also deleted.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Resource name of the policy tag to delete.
-   *
-   * Note: All of its descendant policy tags are also deleted.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequestOrBuilder.java deleted file mode 100644 index e69f75434f99..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/datacatalog.proto - -package com.google.cloud.datacatalog.v1; - -public interface DeleteTagRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DeleteTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the tag to delete.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the tag to delete.
-   * 
- * - * 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-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequestOrBuilder.java deleted file mode 100644 index 1d1a955c0bc9..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequestOrBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/datacatalog.proto - -package com.google.cloud.datacatalog.v1; - -public interface DeleteTagTemplateFieldRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the tag template field to delete.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the tag template field to delete.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-   * Required. If true, deletes this field from any tags that use it.
-   *
-   * Currently, `true` is the only supported value.
-   * 
- * - * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The force. - */ - boolean getForce(); -} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequestOrBuilder.java deleted file mode 100644 index 0053ddaf62b8..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequestOrBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/datacatalog.proto - -package com.google.cloud.datacatalog.v1; - -public interface DeleteTagTemplateRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DeleteTagTemplateRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the tag template to delete.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the tag template to delete.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-   * Required. If true, deletes all tags that use this template.
-   *
-   * Currently, `true` is the only supported value.
-   * 
- * - * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The force. - */ - boolean getForce(); -} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequestOrBuilder.java deleted file mode 100644 index 14b982735722..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/policytagmanager.proto - -package com.google.cloud.datacatalog.v1; - -public interface DeleteTaxonomyRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DeleteTaxonomyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Resource name of the taxonomy to delete.
-   *
-   * Note: All policy tags in this taxonomy are also deleted.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Resource name of the taxonomy to delete.
-   *
-   * Note: All policy tags in this taxonomy are also deleted.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpContentProto.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpContentProto.java deleted file mode 100644 index a6e94c27c086..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpContentProto.java +++ /dev/null @@ -1,85 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/dump_content.proto - -package com.google.cloud.datacatalog.v1; - -public final class DumpContentProto { - private DumpContentProto() {} - 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_datacatalog_v1_TaggedEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_TaggedEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_DumpItem_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_DumpItem_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/datacatalog/v1/dump_conte" + - "nt.proto\022\033google.cloud.datacatalog.v1\032\037g" + - "oogle/api/field_behavior.proto\032-google/c" + - "loud/datacatalog/v1/datacatalog.proto\032&g" + - "oogle/cloud/datacatalog/v1/tags.proto\"\311\001" + - "\n\013TaggedEntry\0226\n\010v1_entry\030\001 \001(\0132\".google" + - ".cloud.datacatalog.v1.EntryH\000\022<\n\014present" + - "_tags\030\002 \003(\0132 .google.cloud.datacatalog.v" + - "1.TagB\004\342A\001\001\022;\n\013absent_tags\030\003 \003(\0132 .googl" + - "e.cloud.datacatalog.v1.TagB\004\342A\001\001B\007\n\005entr" + - "y\"T\n\010DumpItem\022@\n\014tagged_entry\030\001 \001(\0132(.go" + - "ogle.cloud.datacatalog.v1.TaggedEntryH\000B" + - "\006\n\004itemB\330\001\n\037com.google.cloud.datacatalog" + - ".v1B\020DumpContentProtoP\001ZAcloud.google.co" + - "m/go/datacatalog/apiv1/datacatalogpb;dat" + - "acatalogpb\370\001\001\252\002\033Google.Cloud.DataCatalog" + - ".V1\312\002\033Google\\Cloud\\DataCatalog\\V1\352\002\036Goog" + - "le::Cloud::DataCatalog::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.cloud.datacatalog.v1.Datacatalog.getDescriptor(), - com.google.cloud.datacatalog.v1.Tags.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1_TaggedEntry_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1_TaggedEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_TaggedEntry_descriptor, - new java.lang.String[] { "V1Entry", "PresentTags", "AbsentTags", "Entry", }); - internal_static_google_cloud_datacatalog_v1_DumpItem_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1_DumpItem_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_DumpItem_descriptor, - new java.lang.String[] { "TaggedEntry", "Item", }); - 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.datacatalog.v1.Datacatalog.getDescriptor(); - com.google.cloud.datacatalog.v1.Tags.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOuterClass.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOuterClass.java deleted file mode 100644 index ff39fda5c9a9..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOuterClass.java +++ /dev/null @@ -1,81 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/gcs_fileset_spec.proto - -package com.google.cloud.datacatalog.v1; - -public final class GcsFilesetSpecOuterClass { - private GcsFilesetSpecOuterClass() {} - 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_datacatalog_v1_GcsFilesetSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_GcsFileSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_GcsFileSpec_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n2google/cloud/datacatalog/v1/gcs_filese" + - "t_spec.proto\022\033google.cloud.datacatalog.v" + - "1\032\037google/api/field_behavior.proto\032,goog" + - "le/cloud/datacatalog/v1/timestamps.proto" + - "\"|\n\016GcsFilesetSpec\022\033\n\rfile_patterns\030\001 \003(" + - "\tB\004\342A\001\002\022M\n\025sample_gcs_file_specs\030\002 \003(\0132(" + - ".google.cloud.datacatalog.v1.GcsFileSpec" + - "B\004\342A\001\003\"\215\001\n\013GcsFileSpec\022\027\n\tfile_path\030\001 \001(" + - "\tB\004\342A\001\002\022K\n\016gcs_timestamps\030\002 \001(\0132-.google" + - ".cloud.datacatalog.v1.SystemTimestampsB\004" + - "\342A\001\003\022\030\n\nsize_bytes\030\004 \001(\003B\004\342A\001\003B\306\001\n\037com.g" + - "oogle.cloud.datacatalog.v1P\001ZAcloud.goog" + - "le.com/go/datacatalog/apiv1/datacatalogp" + - "b;datacatalogpb\370\001\001\252\002\033Google.Cloud.DataCa" + - "talog.V1\312\002\033Google\\Cloud\\DataCatalog\\V1\352\002" + - "\036Google::Cloud::DataCatalog::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.cloud.datacatalog.v1.Timestamps.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_GcsFilesetSpec_descriptor, - new java.lang.String[] { "FilePatterns", "SampleGcsFileSpecs", }); - internal_static_google_cloud_datacatalog_v1_GcsFileSpec_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1_GcsFileSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_GcsFileSpec_descriptor, - new java.lang.String[] { "FilePath", "GcsTimestamps", "SizeBytes", }); - 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.datacatalog.v1.Timestamps.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequestOrBuilder.java deleted file mode 100644 index 5f7d02f02b58..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/datacatalog.proto - -package com.google.cloud.datacatalog.v1; - -public interface GetEntryRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.GetEntryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the entry to get.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the entry to get.
-   * 
- * - * 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-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequestOrBuilder.java deleted file mode 100644 index 390bf76f337d..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/policytagmanager.proto - -package com.google.cloud.datacatalog.v1; - -public interface GetPolicyTagRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.GetPolicyTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Resource name of the policy tag.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Resource name of the policy tag.
-   * 
- * - * 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-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequestOrBuilder.java deleted file mode 100644 index a686c82f7dee..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/datacatalog.proto - -package com.google.cloud.datacatalog.v1; - -public interface GetTagTemplateRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.GetTagTemplateRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the tag template to get.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the tag template to get.
-   * 
- * - * 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-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequestOrBuilder.java deleted file mode 100644 index 57f7380e97cb..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/policytagmanager.proto - -package com.google.cloud.datacatalog.v1; - -public interface GetTaxonomyRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.GetTaxonomyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Resource name of the taxonomy to get.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Resource name of the taxonomy to get.
-   * 
- * - * 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-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSourceOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSourceOrBuilder.java deleted file mode 100644 index 701e06a8ddd8..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSourceOrBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto - -package com.google.cloud.datacatalog.v1; - -public interface InlineSourceOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.InlineSource) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Taxonomies to import.
-   * 
- * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - java.util.List - getTaxonomiesList(); - /** - *
-   * Required. Taxonomies to import.
-   * 
- * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.datacatalog.v1.SerializedTaxonomy getTaxonomies(int index); - /** - *
-   * Required. Taxonomies to import.
-   * 
- * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - int getTaxonomiesCount(); - /** - *
-   * Required. Taxonomies to import.
-   * 
- * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - java.util.List - getTaxonomiesOrBuilderList(); - /** - *
-   * Required. Taxonomies to import.
-   * 
- * - * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomiesOrBuilder( - int index); -} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequestOrBuilder.java deleted file mode 100644 index edd16d24cae4..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/datacatalog.proto - -package com.google.cloud.datacatalog.v1; - -public interface ModifyEntryContactsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ModifyEntryContactsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The full resource name of the entry.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The full resource name of the entry.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-   * Required. The new value for the Contacts.
-   * 
- * - * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the contacts field is set. - */ - boolean hasContacts(); - /** - *
-   * Required. The new value for the Contacts.
-   * 
- * - * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The contacts. - */ - com.google.cloud.datacatalog.v1.Contacts getContacts(); - /** - *
-   * Required. The new value for the Contacts.
-   * 
- * - * .google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.datacatalog.v1.ContactsOrBuilder getContactsOrBuilder(); -} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequestOrBuilder.java deleted file mode 100644 index a4f07463bd57..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/datacatalog.proto - -package com.google.cloud.datacatalog.v1; - -public interface ModifyEntryOverviewRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ModifyEntryOverviewRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The full resource name of the entry.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The full resource name of the entry.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-   * Required. The new value for the Entry Overview.
-   * 
- * - * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the entryOverview field is set. - */ - boolean hasEntryOverview(); - /** - *
-   * Required. The new value for the Entry Overview.
-   * 
- * - * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The entryOverview. - */ - com.google.cloud.datacatalog.v1.EntryOverview getEntryOverview(); - /** - *
-   * Required. The new value for the Entry Overview.
-   * 
- * - * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder getEntryOverviewOrBuilder(); -} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaProto.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaProto.java deleted file mode 100644 index 6058b070ca0b..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaProto.java +++ /dev/null @@ -1,134 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/physical_schema.proto - -package com.google.cloud.datacatalog.v1; - -public final class PhysicalSchemaProto { - private PhysicalSchemaProto() {} - 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_datacatalog_v1_PhysicalSchema_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n1google/cloud/datacatalog/v1/physical_s" + - "chema.proto\022\033google.cloud.datacatalog.v1" + - "\"\335\004\n\016PhysicalSchema\022F\n\004avro\030\001 \001(\01326.goog" + - "le.cloud.datacatalog.v1.PhysicalSchema.A" + - "vroSchemaH\000\022J\n\006thrift\030\002 \001(\01328.google.clo" + - "ud.datacatalog.v1.PhysicalSchema.ThriftS" + - "chemaH\000\022N\n\010protobuf\030\003 \001(\0132:.google.cloud" + - ".datacatalog.v1.PhysicalSchema.ProtobufS" + - "chemaH\000\022L\n\007parquet\030\004 \001(\01329.google.cloud." + - "datacatalog.v1.PhysicalSchema.ParquetSch" + - "emaH\000\022D\n\003orc\030\005 \001(\01325.google.cloud.dataca" + - "talog.v1.PhysicalSchema.OrcSchemaH\000\022D\n\003c" + - "sv\030\006 \001(\01325.google.cloud.datacatalog.v1.P" + - "hysicalSchema.CsvSchemaH\000\032\032\n\nAvroSchema\022" + - "\014\n\004text\030\001 \001(\t\032\034\n\014ThriftSchema\022\014\n\004text\030\001 " + - "\001(\t\032\036\n\016ProtobufSchema\022\014\n\004text\030\001 \001(\t\032\017\n\rP" + - "arquetSchema\032\013\n\tOrcSchema\032\013\n\tCsvSchemaB\010" + - "\n\006schemaB\333\001\n\037com.google.cloud.datacatalo" + - "g.v1B\023PhysicalSchemaProtoP\001ZAcloud.googl" + - "e.com/go/datacatalog/apiv1/datacatalogpb" + - ";datacatalogpb\370\001\001\252\002\033Google.Cloud.DataCat" + - "alog.V1\312\002\033Google\\Cloud\\DataCatalog\\V1\352\002\036" + - "Google::Cloud::DataCatalog::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor, - new java.lang.String[] { "Avro", "Thrift", "Protobuf", "Parquet", "Orc", "Csv", "Schema", }); - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_descriptor = - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_AvroSchema_descriptor, - new java.lang.String[] { "Text", }); - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_descriptor = - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ThriftSchema_descriptor, - new java.lang.String[] { "Text", }); - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_descriptor = - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ProtobufSchema_descriptor, - new java.lang.String[] { "Text", }); - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_descriptor = - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_ParquetSchema_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_descriptor = - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_OrcSchema_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_descriptor = - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_descriptor.getNestedTypes().get(5); - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_PhysicalSchema_CsvSchema_descriptor, - new java.lang.String[] { }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerProto.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerProto.java deleted file mode 100644 index fa20fc54d491..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerProto.java +++ /dev/null @@ -1,373 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/policytagmanager.proto - -package com.google.cloud.datacatalog.v1; - -public final class PolicyTagManagerProto { - private PolicyTagManagerProto() {} - 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_datacatalog_v1_Taxonomy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_Taxonomy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_PolicyTag_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_PolicyTag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n2google/cloud/datacatalog/v1/policytagm" + - "anager.proto\022\033google.cloud.datacatalog.v" + - "1\032\034google/api/annotations.proto\032\027google/" + - "api/client.proto\032\037google/api/field_behav" + - "ior.proto\032\031google/api/resource.proto\032(go" + - "ogle/cloud/datacatalog/v1/common.proto\032," + - "google/cloud/datacatalog/v1/timestamps.p" + - "roto\032\036google/iam/v1/iam_policy.proto\032\032go" + - "ogle/iam/v1/policy.proto\032\033google/protobu" + - "f/empty.proto\032 google/protobuf/field_mas" + - "k.proto\"\362\004\n\010Taxonomy\022\022\n\004name\030\001 \001(\tB\004\342A\001\003" + - "\022\032\n\014display_name\030\002 \001(\tB\004\342A\001\002\022\031\n\013descript" + - "ion\030\003 \001(\tB\004\342A\001\001\022\036\n\020policy_tag_count\030\004 \001(" + - "\005B\004\342A\001\003\022P\n\023taxonomy_timestamps\030\005 \001(\0132-.g" + - "oogle.cloud.datacatalog.v1.SystemTimesta" + - "mpsB\004\342A\001\003\022V\n\026activated_policy_types\030\006 \003(" + - "\01620.google.cloud.datacatalog.v1.Taxonomy" + - ".PolicyTypeB\004\342A\001\001\022D\n\007service\030\007 \001(\0132-.goo" + - "gle.cloud.datacatalog.v1.Taxonomy.Servic" + - "eB\004\342A\001\003\032V\n\007Service\0229\n\004name\030\001 \001(\0162+.googl" + - "e.cloud.datacatalog.v1.ManagingSystem\022\020\n" + - "\010identity\030\002 \001(\t\"J\n\nPolicyType\022\033\n\027POLICY_" + - "TYPE_UNSPECIFIED\020\000\022\037\n\033FINE_GRAINED_ACCES" + - "S_CONTROL\020\001:g\352Ad\n#datacatalog.googleapis" + - ".com/Taxonomy\022=projects/{project}/locati" + - "ons/{location}/taxonomies/{taxonomy}\"\217\002\n" + - "\tPolicyTag\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\032\n\014displa" + - "y_name\030\002 \001(\tB\004\342A\001\002\022\023\n\013description\030\003 \001(\t\022" + - "\031\n\021parent_policy_tag\030\004 \001(\t\022\037\n\021child_poli" + - "cy_tags\030\005 \003(\tB\004\342A\001\003:\200\001\352A}\n$datacatalog.g" + - "oogleapis.com/PolicyTag\022Uprojects/{proje" + - "ct}/locations/{location}/taxonomies/{tax" + - "onomy}/policyTags/{policy_tag}\"\216\001\n\025Creat" + - "eTaxonomyRequest\022<\n\006parent\030\001 \001(\tB,\342A\001\002\372A" + - "%\022#datacatalog.googleapis.com/Taxonomy\0227" + - "\n\010taxonomy\030\002 \001(\0132%.google.cloud.datacata" + - "log.v1.Taxonomy\"S\n\025DeleteTaxonomyRequest" + - "\022:\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#datacatalog.goo" + - "gleapis.com/Taxonomy\"\201\001\n\025UpdateTaxonomyR" + - "equest\0227\n\010taxonomy\030\001 \001(\0132%.google.cloud." + - "datacatalog.v1.Taxonomy\022/\n\013update_mask\030\002" + - " \001(\0132\032.google.protobuf.FieldMask\"\214\001\n\025Lis" + - "tTaxonomiesRequest\022<\n\006parent\030\001 \001(\tB,\342A\001\002" + - "\372A%\022#datacatalog.googleapis.com/Taxonomy" + - "\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022" + - "\016\n\006filter\030\004 \001(\t\"l\n\026ListTaxonomiesRespons" + - "e\0229\n\ntaxonomies\030\001 \003(\0132%.google.cloud.dat" + - "acatalog.v1.Taxonomy\022\027\n\017next_page_token\030" + - "\002 \001(\t\"P\n\022GetTaxonomyRequest\022:\n\004name\030\001 \001(" + - "\tB,\342A\001\002\372A%\n#datacatalog.googleapis.com/T" + - "axonomy\"\223\001\n\026CreatePolicyTagRequest\022=\n\006pa" + - "rent\030\001 \001(\tB-\342A\001\002\372A&\022$datacatalog.googlea" + - "pis.com/PolicyTag\022:\n\npolicy_tag\030\002 \001(\0132&." + - "google.cloud.datacatalog.v1.PolicyTag\"U\n" + - "\026DeletePolicyTagRequest\022;\n\004name\030\001 \001(\tB-\342" + - "A\001\002\372A&\n$datacatalog.googleapis.com/Polic" + - "yTag\"\205\001\n\026UpdatePolicyTagRequest\022:\n\npolic" + - "y_tag\030\001 \001(\0132&.google.cloud.datacatalog.v" + - "1.PolicyTag\022/\n\013update_mask\030\002 \001(\0132\032.googl" + - "e.protobuf.FieldMask\"}\n\025ListPolicyTagsRe" + - "quest\022=\n\006parent\030\001 \001(\tB-\342A\001\002\372A&\022$datacata" + - "log.googleapis.com/PolicyTag\022\021\n\tpage_siz" + - "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"n\n\026ListPolic" + - "yTagsResponse\022;\n\013policy_tags\030\001 \003(\0132&.goo" + - "gle.cloud.datacatalog.v1.PolicyTag\022\027\n\017ne" + - "xt_page_token\030\002 \001(\t\"R\n\023GetPolicyTagReque" + - "st\022;\n\004name\030\001 \001(\tB-\342A\001\002\372A&\n$datacatalog.g" + - "oogleapis.com/PolicyTag2\273\025\n\020PolicyTagMan" + - "ager\022\277\001\n\016CreateTaxonomy\0222.google.cloud.d" + - "atacatalog.v1.CreateTaxonomyRequest\032%.go" + - "ogle.cloud.datacatalog.v1.Taxonomy\"R\332A\017p" + - "arent,taxonomy\202\323\344\223\002:\"./v1/{parent=projec" + - "ts/*/locations/*}/taxonomies:\010taxonomy\022\233" + - "\001\n\016DeleteTaxonomy\0222.google.cloud.datacat" + - "alog.v1.DeleteTaxonomyRequest\032\026.google.p" + - "rotobuf.Empty\"=\332A\004name\202\323\344\223\0020*./v1/{name=" + - "projects/*/locations/*/taxonomies/*}\022\301\001\n" + - "\016UpdateTaxonomy\0222.google.cloud.datacatal" + - "og.v1.UpdateTaxonomyRequest\032%.google.clo" + - "ud.datacatalog.v1.Taxonomy\"T\332A\010taxonomy\202" + - "\323\344\223\002C27/v1/{taxonomy.name=projects/*/loc" + - "ations/*/taxonomies/*}:\010taxonomy\022\272\001\n\016Lis" + - "tTaxonomies\0222.google.cloud.datacatalog.v" + - "1.ListTaxonomiesRequest\0323.google.cloud.d" + - "atacatalog.v1.ListTaxonomiesResponse\"?\332A" + - "\006parent\202\323\344\223\0020\022./v1/{parent=projects/*/lo" + - "cations/*}/taxonomies\022\244\001\n\013GetTaxonomy\022/." + - "google.cloud.datacatalog.v1.GetTaxonomyR" + - "equest\032%.google.cloud.datacatalog.v1.Tax" + - "onomy\"=\332A\004name\202\323\344\223\0020\022./v1/{name=projects" + - "/*/locations/*/taxonomies/*}\022\323\001\n\017CreateP" + - "olicyTag\0223.google.cloud.datacatalog.v1.C" + - "reatePolicyTagRequest\032&.google.cloud.dat" + - "acatalog.v1.PolicyTag\"c\332A\021parent,policy_" + - "tag\202\323\344\223\002I\";/v1/{parent=projects/*/locati" + - "ons/*/taxonomies/*}/policyTags:\npolicy_t" + - "ag\022\252\001\n\017DeletePolicyTag\0223.google.cloud.da" + - "tacatalog.v1.DeletePolicyTagRequest\032\026.go" + - "ogle.protobuf.Empty\"J\332A\004name\202\323\344\223\002=*;/v1/" + - "{name=projects/*/locations/*/taxonomies/" + - "*/policyTags/*}\022\327\001\n\017UpdatePolicyTag\0223.go" + - "ogle.cloud.datacatalog.v1.UpdatePolicyTa" + - "gRequest\032&.google.cloud.datacatalog.v1.P" + - "olicyTag\"g\332A\npolicy_tag\202\323\344\223\002T2F/v1/{poli" + - "cy_tag.name=projects/*/locations/*/taxon" + - "omies/*/policyTags/*}:\npolicy_tag\022\307\001\n\016Li" + - "stPolicyTags\0222.google.cloud.datacatalog." + - "v1.ListPolicyTagsRequest\0323.google.cloud." + - "datacatalog.v1.ListPolicyTagsResponse\"L\332" + - "A\006parent\202\323\344\223\002=\022;/v1/{parent=projects/*/l" + - "ocations/*/taxonomies/*}/policyTags\022\264\001\n\014" + - "GetPolicyTag\0220.google.cloud.datacatalog." + - "v1.GetPolicyTagRequest\032&.google.cloud.da" + - "tacatalog.v1.PolicyTag\"J\332A\004name\202\323\344\223\002=\022;/" + - "v1/{name=projects/*/locations/*/taxonomi" + - "es/*/policyTags/*}\022\352\001\n\014GetIamPolicy\022\".go" + - "ogle.iam.v1.GetIamPolicyRequest\032\025.google" + - ".iam.v1.Policy\"\236\001\202\323\344\223\002\227\001\"?/v1/{resource=" + - "projects/*/locations/*/taxonomies/*}:get" + - "IamPolicy:\001*ZQ\"L/v1/{resource=projects/*" + - "/locations/*/taxonomies/*/policyTags/*}:" + - "getIamPolicy:\001*\022\352\001\n\014SetIamPolicy\022\".googl" + - "e.iam.v1.SetIamPolicyRequest\032\025.google.ia" + - "m.v1.Policy\"\236\001\202\323\344\223\002\227\001\"?/v1/{resource=pro" + - "jects/*/locations/*/taxonomies/*}:setIam" + - "Policy:\001*ZQ\"L/v1/{resource=projects/*/lo" + - "cations/*/taxonomies/*/policyTags/*}:set" + - "IamPolicy:\001*\022\226\002\n\022TestIamPermissions\022(.go" + - "ogle.iam.v1.TestIamPermissionsRequest\032)." + - "google.iam.v1.TestIamPermissionsResponse" + - "\"\252\001\202\323\344\223\002\243\001\"E/v1/{resource=projects/*/loc" + - "ations/*/taxonomies/*}:testIamPermission" + - "s:\001*ZW\"R/v1/{resource=projects/*/locatio" + - "ns/*/taxonomies/*/policyTags/*}:testIamP" + - "ermissions:\001*\032N\312A\032datacatalog.googleapis" + - ".com\322A.https://www.googleapis.com/auth/c" + - "loud-platformB\335\001\n\037com.google.cloud.datac" + - "atalog.v1B\025PolicyTagManagerProtoP\001ZAclou" + - "d.google.com/go/datacatalog/apiv1/dataca" + - "talogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud." + - "DataCatalog.V1\312\002\033Google\\Cloud\\DataCatalo" + - "g\\V1\352\002\036Google::Cloud::DataCatalog::V1b\006p" + - "roto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.datacatalog.v1.Common.getDescriptor(), - com.google.cloud.datacatalog.v1.Timestamps.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1_Taxonomy_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1_Taxonomy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_Taxonomy_descriptor, - new java.lang.String[] { "Name", "DisplayName", "Description", "PolicyTagCount", "TaxonomyTimestamps", "ActivatedPolicyTypes", "Service", }); - internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_descriptor = - internal_static_google_cloud_datacatalog_v1_Taxonomy_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_Taxonomy_Service_descriptor, - new java.lang.String[] { "Name", "Identity", }); - internal_static_google_cloud_datacatalog_v1_PolicyTag_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1_PolicyTag_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_PolicyTag_descriptor, - new java.lang.String[] { "Name", "DisplayName", "Description", "ParentPolicyTag", "ChildPolicyTags", }); - internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_CreateTaxonomyRequest_descriptor, - new java.lang.String[] { "Parent", "Taxonomy", }); - internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_DeleteTaxonomyRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_UpdateTaxonomyRequest_descriptor, - new java.lang.String[] { "Taxonomy", "UpdateMask", }); - internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ListTaxonomiesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); - internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ListTaxonomiesResponse_descriptor, - new java.lang.String[] { "Taxonomies", "NextPageToken", }); - internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_GetTaxonomyRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_CreatePolicyTagRequest_descriptor, - new java.lang.String[] { "Parent", "PolicyTag", }); - internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_DeletePolicyTagRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_UpdatePolicyTagRequest_descriptor, - new java.lang.String[] { "PolicyTag", "UpdateMask", }); - internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ListPolicyTagsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ListPolicyTagsResponse_descriptor, - new java.lang.String[] { "PolicyTags", "NextPageToken", }); - internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_GetPolicyTagRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.datacatalog.v1.Common.getDescriptor(); - com.google.cloud.datacatalog.v1.Timestamps.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationProto.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationProto.java deleted file mode 100644 index d0615775599b..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationProto.java +++ /dev/null @@ -1,217 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto - -package com.google.cloud.datacatalog.v1; - -public final class PolicyTagManagerSerializationProto { - private PolicyTagManagerSerializationProto() {} - 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_datacatalog_v1_SerializedTaxonomy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_InlineSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_InlineSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_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/datacatalog/v1/policytagm" + - "anagerserialization.proto\022\033google.cloud." + - "datacatalog.v1\032\034google/api/annotations.p" + - "roto\032\027google/api/client.proto\032\037google/ap" + - "i/field_behavior.proto\032\031google/api/resou" + - "rce.proto\0322google/cloud/datacatalog/v1/p" + - "olicytagmanager.proto\"\336\001\n\022SerializedTaxo" + - "nomy\022\032\n\014display_name\030\001 \001(\tB\004\342A\001\002\022\023\n\013desc" + - "ription\030\002 \001(\t\022E\n\013policy_tags\030\003 \003(\01320.goo" + - "gle.cloud.datacatalog.v1.SerializedPolic" + - "yTag\022P\n\026activated_policy_types\030\004 \003(\01620.g" + - "oogle.cloud.datacatalog.v1.Taxonomy.Poli" + - "cyType\"\247\001\n\023SerializedPolicyTag\022\022\n\npolicy" + - "_tag\030\001 \001(\t\022\032\n\014display_name\030\002 \001(\tB\004\342A\001\002\022\023" + - "\n\013description\030\003 \001(\t\022K\n\021child_policy_tags" + - "\030\004 \003(\01320.google.cloud.datacatalog.v1.Ser" + - "ializedPolicyTag\"\250\001\n\026ReplaceTaxonomyRequ" + - "est\022:\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#datacatalog." + - "googleapis.com/Taxonomy\022R\n\023serialized_ta" + - "xonomy\030\002 \001(\0132/.google.cloud.datacatalog." + - "v1.SerializedTaxonomyB\004\342A\001\002\"\370\001\n\027ImportTa" + - "xonomiesRequest\022<\n\006parent\030\001 \001(\tB,\342A\001\002\372A%" + - "\022#datacatalog.googleapis.com/Taxonomy\022B\n" + - "\rinline_source\030\002 \001(\0132).google.cloud.data" + - "catalog.v1.InlineSourceH\000\022Q\n\025cross_regio" + - "nal_source\030\003 \001(\01320.google.cloud.datacata" + - "log.v1.CrossRegionalSourceH\000B\010\n\006source\"Y" + - "\n\014InlineSource\022I\n\ntaxonomies\030\001 \003(\0132/.goo" + - "gle.cloud.datacatalog.v1.SerializedTaxon" + - "omyB\004\342A\001\002\"U\n\023CrossRegionalSource\022>\n\010taxo" + - "nomy\030\001 \001(\tB,\342A\001\002\372A%\n#datacatalog.googlea" + - "pis.com/Taxonomy\"U\n\030ImportTaxonomiesResp" + - "onse\0229\n\ntaxonomies\030\001 \003(\0132%.google.cloud." + - "datacatalog.v1.Taxonomy\"\311\001\n\027ExportTaxono" + - "miesRequest\022<\n\006parent\030\001 \001(\tB,\342A\001\002\372A%\022#da" + - "tacatalog.googleapis.com/Taxonomy\022@\n\ntax" + - "onomies\030\002 \003(\tB,\342A\001\002\372A%\n#datacatalog.goog" + - "leapis.com/Taxonomy\022\037\n\025serialized_taxono" + - "mies\030\003 \001(\010H\000B\r\n\013destination\"_\n\030ExportTax" + - "onomiesResponse\022C\n\ntaxonomies\030\001 \003(\0132/.go" + - "ogle.cloud.datacatalog.v1.SerializedTaxo" + - "nomy2\247\005\n\035PolicyTagManagerSerialization\022\260" + - "\001\n\017ReplaceTaxonomy\0223.google.cloud.dataca" + - "talog.v1.ReplaceTaxonomyRequest\032%.google" + - ".cloud.datacatalog.v1.Taxonomy\"A\202\323\344\223\002;\"6" + - "/v1/{name=projects/*/locations/*/taxonom" + - "ies/*}:replace:\001*\022\301\001\n\020ImportTaxonomies\0224" + - ".google.cloud.datacatalog.v1.ImportTaxon" + - "omiesRequest\0325.google.cloud.datacatalog." + - "v1.ImportTaxonomiesResponse\"@\202\323\344\223\002:\"5/v1" + - "/{parent=projects/*/locations/*}/taxonom" + - "ies:import:\001*\022\276\001\n\020ExportTaxonomies\0224.goo" + - "gle.cloud.datacatalog.v1.ExportTaxonomie" + - "sRequest\0325.google.cloud.datacatalog.v1.E" + - "xportTaxonomiesResponse\"=\202\323\344\223\0027\0225/v1/{pa" + - "rent=projects/*/locations/*}/taxonomies:" + - "export\032N\312A\032datacatalog.googleapis.com\322A." + - "https://www.googleapis.com/auth/cloud-pl" + - "atformB\352\001\n\037com.google.cloud.datacatalog." + - "v1B\"PolicyTagManagerSerializationProtoP\001" + - "ZAcloud.google.com/go/datacatalog/apiv1/" + - "datacatalogpb;datacatalogpb\370\001\001\252\002\033Google." + - "Cloud.DataCatalog.V1\312\002\033Google\\Cloud\\Data" + - "Catalog\\V1\352\002\036Google::Cloud::DataCatalog:" + - ":V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.datacatalog.v1.PolicyTagManagerProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_SerializedTaxonomy_descriptor, - new java.lang.String[] { "DisplayName", "Description", "PolicyTags", "ActivatedPolicyTypes", }); - internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_descriptor, - new java.lang.String[] { "PolicyTag", "DisplayName", "Description", "ChildPolicyTags", }); - internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_descriptor, - new java.lang.String[] { "Name", "SerializedTaxonomy", }); - internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_descriptor, - new java.lang.String[] { "Parent", "InlineSource", "CrossRegionalSource", "Source", }); - internal_static_google_cloud_datacatalog_v1_InlineSource_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_datacatalog_v1_InlineSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_InlineSource_descriptor, - new java.lang.String[] { "Taxonomies", }); - internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_descriptor, - new java.lang.String[] { "Taxonomy", }); - internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_descriptor, - new java.lang.String[] { "Taxonomies", }); - internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_descriptor, - new java.lang.String[] { "Parent", "Taxonomies", "SerializedTaxonomies", "Destination", }); - internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_descriptor, - new java.lang.String[] { "Taxonomies", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - 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.datacatalog.v1.PolicyTagManagerProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequestOrBuilder.java deleted file mode 100644 index 73280516ee7c..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto - -package com.google.cloud.datacatalog.v1; - -public interface ReplaceTaxonomyRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ReplaceTaxonomyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Resource name of the taxonomy to update.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Resource name of the taxonomy to update.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-   * Required. Taxonomy to update along with its child policy tags.
-   * 
- * - * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the serializedTaxonomy field is set. - */ - boolean hasSerializedTaxonomy(); - /** - *
-   * Required. Taxonomy to update along with its child policy tags.
-   * 
- * - * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The serializedTaxonomy. - */ - com.google.cloud.datacatalog.v1.SerializedTaxonomy getSerializedTaxonomy(); - /** - *
-   * Required. Taxonomy to update along with its child policy tags.
-   * 
- * - * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getSerializedTaxonomyOrBuilder(); -} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOuterClass.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOuterClass.java deleted file mode 100644 index 3330088e2a97..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOuterClass.java +++ /dev/null @@ -1,106 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/schema.proto - -package com.google.cloud.datacatalog.v1; - -public final class SchemaOuterClass { - private SchemaOuterClass() {} - 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_datacatalog_v1_Schema_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_Schema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ColumnSchema_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ColumnSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_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/datacatalog/v1/schema.pro" + - "to\022\033google.cloud.datacatalog.v1\032\037google/" + - "api/field_behavior.proto\"D\n\006Schema\022:\n\007co" + - "lumns\030\002 \003(\0132).google.cloud.datacatalog.v" + - "1.ColumnSchema\"\332\006\n\014ColumnSchema\022\024\n\006colum" + - "n\030\006 \001(\tB\004\342A\001\002\022\022\n\004type\030\001 \001(\tB\004\342A\001\002\022\031\n\013des" + - "cription\030\002 \001(\tB\004\342A\001\001\022\022\n\004mode\030\003 \001(\tB\004\342A\001\001" + - "\022\033\n\rdefault_value\030\010 \001(\tB\004\342A\001\001\022\036\n\020ordinal" + - "_position\030\t \001(\005B\004\342A\001\001\022[\n\025highest_indexin" + - "g_type\030\n \001(\01626.google.cloud.datacatalog." + - "v1.ColumnSchema.IndexingTypeB\004\342A\001\001\022C\n\nsu" + - "bcolumns\030\007 \003(\0132).google.cloud.datacatalo" + - "g.v1.ColumnSchemaB\004\342A\001\001\022X\n\022looker_column" + - "_spec\030\022 \001(\0132:.google.cloud.datacatalog.v" + - "1.ColumnSchema.LookerColumnSpecH\000\022\025\n\007gc_" + - "rule\030\013 \001(\tB\004\342A\001\001\032\362\001\n\020LookerColumnSpec\022Y\n" + - "\004type\030\001 \001(\0162K.google.cloud.datacatalog.v" + - "1.ColumnSchema.LookerColumnSpec.LookerCo" + - "lumnType\"\202\001\n\020LookerColumnType\022\"\n\036LOOKER_" + - "COLUMN_TYPE_UNSPECIFIED\020\000\022\r\n\tDIMENSION\020\001" + - "\022\023\n\017DIMENSION_GROUP\020\002\022\n\n\006FILTER\020\003\022\013\n\007MEA" + - "SURE\020\004\022\r\n\tPARAMETER\020\005\"\234\001\n\014IndexingType\022\035" + - "\n\031INDEXING_TYPE_UNSPECIFIED\020\000\022\026\n\022INDEXIN" + - "G_TYPE_NONE\020\001\022\034\n\030INDEXING_TYPE_NON_UNIQU" + - "E\020\002\022\030\n\024INDEXING_TYPE_UNIQUE\020\003\022\035\n\031INDEXIN" + - "G_TYPE_PRIMARY_KEY\020\004B\r\n\013system_specB\306\001\n\037" + - "com.google.cloud.datacatalog.v1P\001ZAcloud" + - ".google.com/go/datacatalog/apiv1/datacat" + - "alogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud.D" + - "ataCatalog.V1\312\002\033Google\\Cloud\\DataCatalog" + - "\\V1\352\002\036Google::Cloud::DataCatalog::V1b\006pr" + - "oto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1_Schema_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1_Schema_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_Schema_descriptor, - new java.lang.String[] { "Columns", }); - internal_static_google_cloud_datacatalog_v1_ColumnSchema_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1_ColumnSchema_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ColumnSchema_descriptor, - new java.lang.String[] { "Column", "Type", "Description", "Mode", "DefaultValue", "OrdinalPosition", "HighestIndexingType", "Subcolumns", "LookerColumnSpec", "GcRule", "SystemSpec", }); - internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_descriptor = - internal_static_google_cloud_datacatalog_v1_ColumnSchema_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ColumnSchema_LookerColumnSpec_descriptor, - new java.lang.String[] { "Type", }); - 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-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Search.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Search.java deleted file mode 100644 index 2fe8ed9cbcb2..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Search.java +++ /dev/null @@ -1,80 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/search.proto - -package com.google.cloud.datacatalog.v1; - -public final class Search { - private Search() {} - 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_datacatalog_v1_SearchCatalogResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_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/datacatalog/v1/search.pro" + - "to\022\033google.cloud.datacatalog.v1\032\037google/" + - "api/field_behavior.proto\032(google/cloud/d" + - "atacatalog/v1/common.proto\032\037google/proto" + - "buf/timestamp.proto\"\257\003\n\023SearchCatalogRes" + - "ult\022I\n\022search_result_type\030\001 \001(\0162-.google" + - ".cloud.datacatalog.v1.SearchResultType\022\035" + - "\n\025search_result_subtype\030\002 \001(\t\022\036\n\026relativ" + - "e_resource_name\030\003 \001(\t\022\027\n\017linked_resource" + - "\030\004 \001(\t\022/\n\013modify_time\030\007 \001(\0132\032.google.pro" + - "tobuf.Timestamp\022P\n\021integrated_system\030\010 \001" + - "(\0162-.google.cloud.datacatalog.v1.Integra" + - "tedSystemB\004\342A\001\003H\000\022\037\n\025user_specified_syst" + - "em\030\t \001(\tH\000\022\034\n\024fully_qualified_name\030\n \001(\t" + - "\022\024\n\014display_name\030\014 \001(\t\022\023\n\013description\030\r " + - "\001(\tB\010\n\006system*d\n\020SearchResultType\022\"\n\036SEA" + - "RCH_RESULT_TYPE_UNSPECIFIED\020\000\022\t\n\005ENTRY\020\001" + - "\022\020\n\014TAG_TEMPLATE\020\002\022\017\n\013ENTRY_GROUP\020\003B\306\001\n\037" + - "com.google.cloud.datacatalog.v1P\001ZAcloud" + - ".google.com/go/datacatalog/apiv1/datacat" + - "alogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud.D" + - "ataCatalog.V1\312\002\033Google\\Cloud\\DataCatalog" + - "\\V1\352\002\036Google::Cloud::DataCatalog::V1b\006pr" + - "oto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.cloud.datacatalog.v1.Common.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_SearchCatalogResult_descriptor, - new java.lang.String[] { "SearchResultType", "SearchResultSubtype", "RelativeResourceName", "LinkedResource", "ModifyTime", "IntegratedSystem", "UserSpecifiedSystem", "FullyQualifiedName", "DisplayName", "Description", "System", }); - 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.datacatalog.v1.Common.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequestOrBuilder.java deleted file mode 100644 index e155a6b185d9..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/datacatalog.proto - -package com.google.cloud.datacatalog.v1; - -public interface StarEntryRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.StarEntryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the entry to mark as starred.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the entry to mark as starred.
-   * 
- * - * 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-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponseOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponseOrBuilder.java deleted file mode 100644 index a8f322751435..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/datacatalog.proto - -package com.google.cloud.datacatalog.v1; - -public interface StarEntryResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.StarEntryResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOuterClass.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOuterClass.java deleted file mode 100644 index 2490fdd622d5..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOuterClass.java +++ /dev/null @@ -1,114 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/table_spec.proto - -package com.google.cloud.datacatalog.v1; - -public final class TableSpecOuterClass { - private TableSpecOuterClass() {} - 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_datacatalog_v1_BigQueryTableSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_BigQueryTableSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_ViewSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_ViewSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_TableSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_TableSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_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/datacatalog/v1/table_spec" + - ".proto\022\033google.cloud.datacatalog.v1\032\037goo" + - "gle/api/field_behavior.proto\032\031google/api" + - "/resource.proto\"\351\001\n\021BigQueryTableSpec\022M\n" + - "\021table_source_type\030\001 \001(\0162,.google.cloud." + - "datacatalog.v1.TableSourceTypeB\004\342A\001\003\022:\n\t" + - "view_spec\030\002 \001(\0132%.google.cloud.datacatal" + - "og.v1.ViewSpecH\000\022<\n\ntable_spec\030\003 \001(\0132&.g" + - "oogle.cloud.datacatalog.v1.TableSpecH\000B\013" + - "\n\ttype_spec\"$\n\010ViewSpec\022\030\n\nview_query\030\001 " + - "\001(\tB\004\342A\001\003\"M\n\tTableSpec\022@\n\rgrouped_entry\030" + - "\001 \001(\tB)\342A\001\003\372A\"\n datacatalog.googleapis.c" + - "om/Entry\"\261\001\n\027BigQueryDateShardedSpec\022:\n\007" + - "dataset\030\001 \001(\tB)\342A\001\003\372A\"\n datacatalog.goog" + - "leapis.com/Entry\022\032\n\014table_prefix\030\002 \001(\tB\004" + - "\342A\001\003\022\031\n\013shard_count\030\003 \001(\003B\004\342A\001\003\022#\n\025lates" + - "t_shard_resource\030\004 \001(\tB\004\342A\001\003*{\n\017TableSou" + - "rceType\022!\n\035TABLE_SOURCE_TYPE_UNSPECIFIED" + - "\020\000\022\021\n\rBIGQUERY_VIEW\020\002\022\022\n\016BIGQUERY_TABLE\020" + - "\005\022\036\n\032BIGQUERY_MATERIALIZED_VIEW\020\007B\306\001\n\037co" + - "m.google.cloud.datacatalog.v1P\001ZAcloud.g" + - "oogle.com/go/datacatalog/apiv1/datacatal" + - "ogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud.Dat" + - "aCatalog.V1\312\002\033Google\\Cloud\\DataCatalog\\V" + - "1\352\002\036Google::Cloud::DataCatalog::V1b\006prot" + - "o3" - }; - 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_datacatalog_v1_BigQueryTableSpec_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1_BigQueryTableSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_BigQueryTableSpec_descriptor, - new java.lang.String[] { "TableSourceType", "ViewSpec", "TableSpec", "TypeSpec", }); - internal_static_google_cloud_datacatalog_v1_ViewSpec_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1_ViewSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_ViewSpec_descriptor, - new java.lang.String[] { "ViewQuery", }); - internal_static_google_cloud_datacatalog_v1_TableSpec_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_datacatalog_v1_TableSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_TableSpec_descriptor, - new java.lang.String[] { "GroupedEntry", }); - internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_descriptor, - new java.lang.String[] { "Dataset", "TablePrefix", "ShardCount", "LatestShardResource", }); - 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-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tags.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tags.java deleted file mode 100644 index 1484fb5bf554..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tags.java +++ /dev/null @@ -1,212 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/tags.proto - -package com.google.cloud.datacatalog.v1; - -public final class Tags { - private Tags() {} - 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_datacatalog_v1_Tag_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_Tag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_Tag_FieldsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_Tag_FieldsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_TagField_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_TagField_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_TagTemplate_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_TagTemplate_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_TagTemplate_FieldsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_TagTemplate_FieldsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_TagTemplateField_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_TagTemplateField_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_FieldType_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_FieldType_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_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/datacatalog/v1/tags.proto" + - "\022\033google.cloud.datacatalog.v1\032\037google/ap" + - "i/field_behavior.proto\032\031google/api/resou" + - "rce.proto\032\037google/protobuf/timestamp.pro" + - "to\"\211\003\n\003Tag\022\014\n\004name\030\001 \001(\t\022\026\n\010template\030\002 \001" + - "(\tB\004\342A\001\002\022#\n\025template_display_name\030\005 \001(\tB" + - "\004\342A\001\003\022\020\n\006column\030\004 \001(\tH\000\022B\n\006fields\030\003 \003(\0132" + - ",.google.cloud.datacatalog.v1.Tag.Fields" + - "EntryB\004\342A\001\002\032T\n\013FieldsEntry\022\013\n\003key\030\001 \001(\t\022" + - "4\n\005value\030\002 \001(\0132%.google.cloud.datacatalo" + - "g.v1.TagField:\0028\001:\201\001\352A~\n\036datacatalog.goo" + - "gleapis.com/Tag\022\\projects/{project}/loca" + - "tions/{location}/entryGroups/{entry_grou" + - "p}/entries/{entry}/tags/{tag}B\007\n\005scope\"\304" + - "\002\n\010TagField\022\032\n\014display_name\030\001 \001(\tB\004\342A\001\003\022" + - "\026\n\014double_value\030\002 \001(\001H\000\022\026\n\014string_value\030" + - "\003 \001(\tH\000\022\024\n\nbool_value\030\004 \001(\010H\000\0225\n\017timesta" + - "mp_value\030\005 \001(\0132\032.google.protobuf.Timesta" + - "mpH\000\022E\n\nenum_value\030\006 \001(\0132/.google.cloud." + - "datacatalog.v1.TagField.EnumValueH\000\022\030\n\016r" + - "ichtext_value\030\010 \001(\tH\000\022\023\n\005order\030\007 \001(\005B\004\342A" + - "\001\003\032!\n\tEnumValue\022\024\n\014display_name\030\001 \001(\tB\006\n" + - "\004kind\"\353\002\n\013TagTemplate\022\014\n\004name\030\001 \001(\t\022\024\n\014d" + - "isplay_name\030\002 \001(\t\022\034\n\024is_publicly_readabl" + - "e\030\005 \001(\010\022J\n\006fields\030\003 \003(\01324.google.cloud.d" + - "atacatalog.v1.TagTemplate.FieldsEntryB\004\342" + - "A\001\002\032\\\n\013FieldsEntry\022\013\n\003key\030\001 \001(\t\022<\n\005value" + - "\030\002 \001(\0132-.google.cloud.datacatalog.v1.Tag" + - "TemplateField:\0028\001:p\352Am\n&datacatalog.goog" + - "leapis.com/TagTemplate\022Cprojects/{projec" + - "t}/locations/{location}/tagTemplates/{ta" + - "g_template}\"\271\002\n\020TagTemplateField\022\022\n\004name" + - "\030\006 \001(\tB\004\342A\001\003\022\024\n\014display_name\030\001 \001(\t\022:\n\004ty" + - "pe\030\002 \001(\0132&.google.cloud.datacatalog.v1.F" + - "ieldTypeB\004\342A\001\002\022\023\n\013is_required\030\003 \001(\010\022\023\n\013d" + - "escription\030\004 \001(\t\022\r\n\005order\030\005 \001(\005:\205\001\352A\201\001\n+" + - "datacatalog.googleapis.com/TagTemplateFi" + - "eld\022Rprojects/{project}/locations/{locat" + - "ion}/tagTemplates/{tag_template}/fields/" + - "{field}\"\247\003\n\tFieldType\022N\n\016primitive_type\030" + - "\001 \001(\01624.google.cloud.datacatalog.v1.Fiel" + - "dType.PrimitiveTypeH\000\022D\n\tenum_type\030\002 \001(\013" + - "2/.google.cloud.datacatalog.v1.FieldType" + - ".EnumTypeH\000\032\206\001\n\010EnumType\022Q\n\016allowed_valu" + - "es\030\001 \003(\01329.google.cloud.datacatalog.v1.F" + - "ieldType.EnumType.EnumValue\032\'\n\tEnumValue" + - "\022\032\n\014display_name\030\001 \001(\tB\004\342A\001\002\"n\n\rPrimitiv" + - "eType\022\036\n\032PRIMITIVE_TYPE_UNSPECIFIED\020\000\022\n\n" + - "\006DOUBLE\020\001\022\n\n\006STRING\020\002\022\010\n\004BOOL\020\003\022\r\n\tTIMES" + - "TAMP\020\004\022\014\n\010RICHTEXT\020\005B\013\n\ttype_declB\306\001\n\037co" + - "m.google.cloud.datacatalog.v1P\001ZAcloud.g" + - "oogle.com/go/datacatalog/apiv1/datacatal" + - "ogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud.Dat" + - "aCatalog.V1\312\002\033Google\\Cloud\\DataCatalog\\V" + - "1\352\002\036Google::Cloud::DataCatalog::V1b\006prot" + - "o3" - }; - 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.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1_Tag_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1_Tag_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_Tag_descriptor, - new java.lang.String[] { "Name", "Template", "TemplateDisplayName", "Column", "Fields", "Scope", }); - internal_static_google_cloud_datacatalog_v1_Tag_FieldsEntry_descriptor = - internal_static_google_cloud_datacatalog_v1_Tag_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1_Tag_FieldsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_Tag_FieldsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_datacatalog_v1_TagField_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1_TagField_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_TagField_descriptor, - new java.lang.String[] { "DisplayName", "DoubleValue", "StringValue", "BoolValue", "TimestampValue", "EnumValue", "RichtextValue", "Order", "Kind", }); - internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_descriptor = - internal_static_google_cloud_datacatalog_v1_TagField_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_TagField_EnumValue_descriptor, - new java.lang.String[] { "DisplayName", }); - internal_static_google_cloud_datacatalog_v1_TagTemplate_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_datacatalog_v1_TagTemplate_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_TagTemplate_descriptor, - new java.lang.String[] { "Name", "DisplayName", "IsPubliclyReadable", "Fields", }); - internal_static_google_cloud_datacatalog_v1_TagTemplate_FieldsEntry_descriptor = - internal_static_google_cloud_datacatalog_v1_TagTemplate_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1_TagTemplate_FieldsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_TagTemplate_FieldsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_datacatalog_v1_TagTemplateField_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_datacatalog_v1_TagTemplateField_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_TagTemplateField_descriptor, - new java.lang.String[] { "Name", "DisplayName", "Type", "IsRequired", "Description", "Order", }); - internal_static_google_cloud_datacatalog_v1_FieldType_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_datacatalog_v1_FieldType_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_FieldType_descriptor, - new java.lang.String[] { "PrimitiveType", "EnumType", "TypeDecl", }); - internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_descriptor = - internal_static_google_cloud_datacatalog_v1_FieldType_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_descriptor, - new java.lang.String[] { "AllowedValues", }); - internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_descriptor = - internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_FieldType_EnumType_EnumValue_descriptor, - new java.lang.String[] { "DisplayName", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Timestamps.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Timestamps.java deleted file mode 100644 index ec390c48c616..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Timestamps.java +++ /dev/null @@ -1,68 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/timestamps.proto - -package com.google.cloud.datacatalog.v1; - -public final class Timestamps { - private Timestamps() {} - 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_datacatalog_v1_SystemTimestamps_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_SystemTimestamps_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/datacatalog/v1/timestamps" + - ".proto\022\033google.cloud.datacatalog.v1\032\037goo" + - "gle/api/field_behavior.proto\032\037google/pro" + - "tobuf/timestamp.proto\"\253\001\n\020SystemTimestam" + - "ps\022/\n\013create_time\030\001 \001(\0132\032.google.protobu" + - "f.Timestamp\022/\n\013update_time\030\002 \001(\0132\032.googl" + - "e.protobuf.Timestamp\0225\n\013expire_time\030\003 \001(" + - "\0132\032.google.protobuf.TimestampB\004\342A\001\003B\306\001\n\037" + - "com.google.cloud.datacatalog.v1P\001ZAcloud" + - ".google.com/go/datacatalog/apiv1/datacat" + - "alogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud.D" + - "ataCatalog.V1\312\002\033Google\\Cloud\\DataCatalog" + - "\\V1\352\002\036Google::Cloud::DataCatalog::V1b\006pr" + - "oto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1_SystemTimestamps_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1_SystemTimestamps_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_SystemTimestamps_descriptor, - new java.lang.String[] { "CreateTime", "UpdateTime", "ExpireTime", }); - 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.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequestOrBuilder.java deleted file mode 100644 index 52c37729f679..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/datacatalog.proto - -package com.google.cloud.datacatalog.v1; - -public interface UnstarEntryRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.UnstarEntryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the entry to mark as **not** starred.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the entry to mark as **not** starred.
-   * 
- * - * 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-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponseOrBuilder.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponseOrBuilder.java deleted file mode 100644 index 59adc2e36d85..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/datacatalog.proto - -package com.google.cloud.datacatalog.v1; - -public interface UnstarEntryResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.UnstarEntryResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Usage.java b/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Usage.java deleted file mode 100644 index a3cb9ff8a028..000000000000 --- a/owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Usage.java +++ /dev/null @@ -1,126 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1/usage.proto - -package com.google.cloud.datacatalog.v1; - -public final class Usage { - private Usage() {} - 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_datacatalog_v1_UsageStats_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_UsageStats_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_CommonUsageStats_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_CommonUsageStats_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_UsageSignal_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_UsageSignal_UsageWithinTimeRangeEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_UsageSignal_UsageWithinTimeRangeEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1_UsageSignal_CommonUsageWithinTimeRangeEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1_UsageSignal_CommonUsageWithinTimeRangeEntry_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/datacatalog/v1/usage.prot" + - "o\022\033google.cloud.datacatalog.v1\032\037google/a" + - "pi/field_behavior.proto\032\037google/protobuf" + - "/timestamp.proto\"\221\001\n\nUsageStats\022\031\n\021total" + - "_completions\030\001 \001(\002\022\026\n\016total_failures\030\002 \001" + - "(\002\022\033\n\023total_cancellations\030\003 \001(\002\0223\n+total" + - "_execution_time_for_completions_millis\030\004" + - " \001(\002\":\n\020CommonUsageStats\022\027\n\nview_count\030\001" + - " \001(\003H\000\210\001\001B\r\n\013_view_count\"\243\004\n\013UsageSignal" + - "\022/\n\013update_time\030\001 \001(\0132\032.google.protobuf." + - "Timestamp\022i\n\027usage_within_time_range\030\002 \003" + - "(\0132B.google.cloud.datacatalog.v1.UsageSi" + - "gnal.UsageWithinTimeRangeEntryB\004\342A\001\003\022p\n\036" + - "common_usage_within_time_range\030\003 \003(\0132H.g" + - "oogle.cloud.datacatalog.v1.UsageSignal.C" + - "ommonUsageWithinTimeRangeEntry\022\033\n\016favori" + - "te_count\030\004 \001(\003H\000\210\001\001\032d\n\031UsageWithinTimeRa" + - "ngeEntry\022\013\n\003key\030\001 \001(\t\0226\n\005value\030\002 \001(\0132\'.g" + - "oogle.cloud.datacatalog.v1.UsageStats:\0028" + - "\001\032p\n\037CommonUsageWithinTimeRangeEntry\022\013\n\003" + - "key\030\001 \001(\t\022<\n\005value\030\002 \001(\0132-.google.cloud." + - "datacatalog.v1.CommonUsageStats:\0028\001B\021\n\017_" + - "favorite_countB\306\001\n\037com.google.cloud.data" + - "catalog.v1P\001ZAcloud.google.com/go/dataca" + - "talog/apiv1/datacatalogpb;datacatalogpb\370" + - "\001\001\252\002\033Google.Cloud.DataCatalog.V1\312\002\033Googl" + - "e\\Cloud\\DataCatalog\\V1\352\002\036Google::Cloud::" + - "DataCatalog::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1_UsageStats_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1_UsageStats_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_UsageStats_descriptor, - new java.lang.String[] { "TotalCompletions", "TotalFailures", "TotalCancellations", "TotalExecutionTimeForCompletionsMillis", }); - internal_static_google_cloud_datacatalog_v1_CommonUsageStats_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1_CommonUsageStats_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_CommonUsageStats_descriptor, - new java.lang.String[] { "ViewCount", "ViewCount", }); - internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_datacatalog_v1_UsageSignal_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor, - new java.lang.String[] { "UpdateTime", "UsageWithinTimeRange", "CommonUsageWithinTimeRange", "FavoriteCount", "FavoriteCount", }); - internal_static_google_cloud_datacatalog_v1_UsageSignal_UsageWithinTimeRangeEntry_descriptor = - internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1_UsageSignal_UsageWithinTimeRangeEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_UsageSignal_UsageWithinTimeRangeEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_datacatalog_v1_UsageSignal_CommonUsageWithinTimeRangeEntry_descriptor = - internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_datacatalog_v1_UsageSignal_CommonUsageWithinTimeRangeEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1_UsageSignal_CommonUsageWithinTimeRangeEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - 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.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogGrpc.java b/owl-bot-staging/java-datacatalog/v1beta1/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogGrpc.java deleted file mode 100644 index 5c0e06a2b820..000000000000 --- a/owl-bot-staging/java-datacatalog/v1beta1/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogGrpc.java +++ /dev/null @@ -1,3123 +0,0 @@ -package com.google.cloud.datacatalog.v1beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Data Catalog API service allows clients to discover, understand, and manage
- * their data.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/datacatalog/v1beta1/datacatalog.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class DataCatalogGrpc { - - private DataCatalogGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.datacatalog.v1beta1.DataCatalog"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getSearchCatalogMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SearchCatalog", - requestType = com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSearchCatalogMethod() { - io.grpc.MethodDescriptor getSearchCatalogMethod; - if ((getSearchCatalogMethod = DataCatalogGrpc.getSearchCatalogMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getSearchCatalogMethod = DataCatalogGrpc.getSearchCatalogMethod) == null) { - DataCatalogGrpc.getSearchCatalogMethod = getSearchCatalogMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchCatalog")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("SearchCatalog")) - .build(); - } - } - } - return getSearchCatalogMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateEntryGroupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateEntryGroup", - requestType = com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.EntryGroup.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateEntryGroupMethod() { - io.grpc.MethodDescriptor getCreateEntryGroupMethod; - if ((getCreateEntryGroupMethod = DataCatalogGrpc.getCreateEntryGroupMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getCreateEntryGroupMethod = DataCatalogGrpc.getCreateEntryGroupMethod) == null) { - DataCatalogGrpc.getCreateEntryGroupMethod = getCreateEntryGroupMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEntryGroup")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("CreateEntryGroup")) - .build(); - } - } - } - return getCreateEntryGroupMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateEntryGroupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateEntryGroup", - requestType = com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.EntryGroup.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateEntryGroupMethod() { - io.grpc.MethodDescriptor getUpdateEntryGroupMethod; - if ((getUpdateEntryGroupMethod = DataCatalogGrpc.getUpdateEntryGroupMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getUpdateEntryGroupMethod = DataCatalogGrpc.getUpdateEntryGroupMethod) == null) { - DataCatalogGrpc.getUpdateEntryGroupMethod = getUpdateEntryGroupMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEntryGroup")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UpdateEntryGroup")) - .build(); - } - } - } - return getUpdateEntryGroupMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetEntryGroupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetEntryGroup", - requestType = com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.EntryGroup.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetEntryGroupMethod() { - io.grpc.MethodDescriptor getGetEntryGroupMethod; - if ((getGetEntryGroupMethod = DataCatalogGrpc.getGetEntryGroupMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getGetEntryGroupMethod = DataCatalogGrpc.getGetEntryGroupMethod) == null) { - DataCatalogGrpc.getGetEntryGroupMethod = getGetEntryGroupMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntryGroup")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("GetEntryGroup")) - .build(); - } - } - } - return getGetEntryGroupMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteEntryGroupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteEntryGroup", - requestType = com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteEntryGroupMethod() { - io.grpc.MethodDescriptor getDeleteEntryGroupMethod; - if ((getDeleteEntryGroupMethod = DataCatalogGrpc.getDeleteEntryGroupMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getDeleteEntryGroupMethod = DataCatalogGrpc.getDeleteEntryGroupMethod) == null) { - DataCatalogGrpc.getDeleteEntryGroupMethod = getDeleteEntryGroupMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEntryGroup")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("DeleteEntryGroup")) - .build(); - } - } - } - return getDeleteEntryGroupMethod; - } - - private static volatile io.grpc.MethodDescriptor getListEntryGroupsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListEntryGroups", - requestType = com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListEntryGroupsMethod() { - io.grpc.MethodDescriptor getListEntryGroupsMethod; - if ((getListEntryGroupsMethod = DataCatalogGrpc.getListEntryGroupsMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getListEntryGroupsMethod = DataCatalogGrpc.getListEntryGroupsMethod) == null) { - DataCatalogGrpc.getListEntryGroupsMethod = getListEntryGroupsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEntryGroups")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ListEntryGroups")) - .build(); - } - } - } - return getListEntryGroupsMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateEntryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateEntry", - requestType = com.google.cloud.datacatalog.v1beta1.CreateEntryRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.Entry.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateEntryMethod() { - io.grpc.MethodDescriptor getCreateEntryMethod; - if ((getCreateEntryMethod = DataCatalogGrpc.getCreateEntryMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getCreateEntryMethod = DataCatalogGrpc.getCreateEntryMethod) == null) { - DataCatalogGrpc.getCreateEntryMethod = getCreateEntryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEntry")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.CreateEntryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("CreateEntry")) - .build(); - } - } - } - return getCreateEntryMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateEntryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateEntry", - requestType = com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.Entry.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateEntryMethod() { - io.grpc.MethodDescriptor getUpdateEntryMethod; - if ((getUpdateEntryMethod = DataCatalogGrpc.getUpdateEntryMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getUpdateEntryMethod = DataCatalogGrpc.getUpdateEntryMethod) == null) { - DataCatalogGrpc.getUpdateEntryMethod = getUpdateEntryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEntry")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UpdateEntry")) - .build(); - } - } - } - return getUpdateEntryMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteEntryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteEntry", - requestType = com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteEntryMethod() { - io.grpc.MethodDescriptor getDeleteEntryMethod; - if ((getDeleteEntryMethod = DataCatalogGrpc.getDeleteEntryMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getDeleteEntryMethod = DataCatalogGrpc.getDeleteEntryMethod) == null) { - DataCatalogGrpc.getDeleteEntryMethod = getDeleteEntryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEntry")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("DeleteEntry")) - .build(); - } - } - } - return getDeleteEntryMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetEntryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetEntry", - requestType = com.google.cloud.datacatalog.v1beta1.GetEntryRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.Entry.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetEntryMethod() { - io.grpc.MethodDescriptor getGetEntryMethod; - if ((getGetEntryMethod = DataCatalogGrpc.getGetEntryMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getGetEntryMethod = DataCatalogGrpc.getGetEntryMethod) == null) { - DataCatalogGrpc.getGetEntryMethod = getGetEntryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntry")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.GetEntryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("GetEntry")) - .build(); - } - } - } - return getGetEntryMethod; - } - - private static volatile io.grpc.MethodDescriptor getLookupEntryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "LookupEntry", - requestType = com.google.cloud.datacatalog.v1beta1.LookupEntryRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.Entry.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getLookupEntryMethod() { - io.grpc.MethodDescriptor getLookupEntryMethod; - if ((getLookupEntryMethod = DataCatalogGrpc.getLookupEntryMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getLookupEntryMethod = DataCatalogGrpc.getLookupEntryMethod) == null) { - DataCatalogGrpc.getLookupEntryMethod = getLookupEntryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LookupEntry")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.LookupEntryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("LookupEntry")) - .build(); - } - } - } - return getLookupEntryMethod; - } - - private static volatile io.grpc.MethodDescriptor getListEntriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListEntries", - requestType = com.google.cloud.datacatalog.v1beta1.ListEntriesRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.ListEntriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListEntriesMethod() { - io.grpc.MethodDescriptor getListEntriesMethod; - if ((getListEntriesMethod = DataCatalogGrpc.getListEntriesMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getListEntriesMethod = DataCatalogGrpc.getListEntriesMethod) == null) { - DataCatalogGrpc.getListEntriesMethod = getListEntriesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEntries")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.ListEntriesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.ListEntriesResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ListEntries")) - .build(); - } - } - } - return getListEntriesMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateTagTemplateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTagTemplate", - requestType = com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.TagTemplate.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateTagTemplateMethod() { - io.grpc.MethodDescriptor getCreateTagTemplateMethod; - if ((getCreateTagTemplateMethod = DataCatalogGrpc.getCreateTagTemplateMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getCreateTagTemplateMethod = DataCatalogGrpc.getCreateTagTemplateMethod) == null) { - DataCatalogGrpc.getCreateTagTemplateMethod = getCreateTagTemplateMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTagTemplate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("CreateTagTemplate")) - .build(); - } - } - } - return getCreateTagTemplateMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetTagTemplateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTagTemplate", - requestType = com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.TagTemplate.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetTagTemplateMethod() { - io.grpc.MethodDescriptor getGetTagTemplateMethod; - if ((getGetTagTemplateMethod = DataCatalogGrpc.getGetTagTemplateMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getGetTagTemplateMethod = DataCatalogGrpc.getGetTagTemplateMethod) == null) { - DataCatalogGrpc.getGetTagTemplateMethod = getGetTagTemplateMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTagTemplate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("GetTagTemplate")) - .build(); - } - } - } - return getGetTagTemplateMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateTagTemplateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTagTemplate", - requestType = com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.TagTemplate.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateTagTemplateMethod() { - io.grpc.MethodDescriptor getUpdateTagTemplateMethod; - if ((getUpdateTagTemplateMethod = DataCatalogGrpc.getUpdateTagTemplateMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getUpdateTagTemplateMethod = DataCatalogGrpc.getUpdateTagTemplateMethod) == null) { - DataCatalogGrpc.getUpdateTagTemplateMethod = getUpdateTagTemplateMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTagTemplate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.TagTemplate.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UpdateTagTemplate")) - .build(); - } - } - } - return getUpdateTagTemplateMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteTagTemplateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTagTemplate", - requestType = com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteTagTemplateMethod() { - io.grpc.MethodDescriptor getDeleteTagTemplateMethod; - if ((getDeleteTagTemplateMethod = DataCatalogGrpc.getDeleteTagTemplateMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getDeleteTagTemplateMethod = DataCatalogGrpc.getDeleteTagTemplateMethod) == null) { - DataCatalogGrpc.getDeleteTagTemplateMethod = getDeleteTagTemplateMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTagTemplate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("DeleteTagTemplate")) - .build(); - } - } - } - return getDeleteTagTemplateMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateTagTemplateFieldMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTagTemplateField", - requestType = com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.TagTemplateField.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateTagTemplateFieldMethod() { - io.grpc.MethodDescriptor getCreateTagTemplateFieldMethod; - if ((getCreateTagTemplateFieldMethod = DataCatalogGrpc.getCreateTagTemplateFieldMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getCreateTagTemplateFieldMethod = DataCatalogGrpc.getCreateTagTemplateFieldMethod) == null) { - DataCatalogGrpc.getCreateTagTemplateFieldMethod = getCreateTagTemplateFieldMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTagTemplateField")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("CreateTagTemplateField")) - .build(); - } - } - } - return getCreateTagTemplateFieldMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateTagTemplateFieldMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTagTemplateField", - requestType = com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.TagTemplateField.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateTagTemplateFieldMethod() { - io.grpc.MethodDescriptor getUpdateTagTemplateFieldMethod; - if ((getUpdateTagTemplateFieldMethod = DataCatalogGrpc.getUpdateTagTemplateFieldMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getUpdateTagTemplateFieldMethod = DataCatalogGrpc.getUpdateTagTemplateFieldMethod) == null) { - DataCatalogGrpc.getUpdateTagTemplateFieldMethod = getUpdateTagTemplateFieldMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTagTemplateField")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UpdateTagTemplateField")) - .build(); - } - } - } - return getUpdateTagTemplateFieldMethod; - } - - private static volatile io.grpc.MethodDescriptor getRenameTagTemplateFieldMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RenameTagTemplateField", - requestType = com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.TagTemplateField.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRenameTagTemplateFieldMethod() { - io.grpc.MethodDescriptor getRenameTagTemplateFieldMethod; - if ((getRenameTagTemplateFieldMethod = DataCatalogGrpc.getRenameTagTemplateFieldMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getRenameTagTemplateFieldMethod = DataCatalogGrpc.getRenameTagTemplateFieldMethod) == null) { - DataCatalogGrpc.getRenameTagTemplateFieldMethod = getRenameTagTemplateFieldMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RenameTagTemplateField")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("RenameTagTemplateField")) - .build(); - } - } - } - return getRenameTagTemplateFieldMethod; - } - - private static volatile io.grpc.MethodDescriptor getRenameTagTemplateFieldEnumValueMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RenameTagTemplateFieldEnumValue", - requestType = com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.TagTemplateField.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRenameTagTemplateFieldEnumValueMethod() { - io.grpc.MethodDescriptor getRenameTagTemplateFieldEnumValueMethod; - if ((getRenameTagTemplateFieldEnumValueMethod = DataCatalogGrpc.getRenameTagTemplateFieldEnumValueMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getRenameTagTemplateFieldEnumValueMethod = DataCatalogGrpc.getRenameTagTemplateFieldEnumValueMethod) == null) { - DataCatalogGrpc.getRenameTagTemplateFieldEnumValueMethod = getRenameTagTemplateFieldEnumValueMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RenameTagTemplateFieldEnumValue")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.TagTemplateField.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("RenameTagTemplateFieldEnumValue")) - .build(); - } - } - } - return getRenameTagTemplateFieldEnumValueMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteTagTemplateFieldMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTagTemplateField", - requestType = com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteTagTemplateFieldMethod() { - io.grpc.MethodDescriptor getDeleteTagTemplateFieldMethod; - if ((getDeleteTagTemplateFieldMethod = DataCatalogGrpc.getDeleteTagTemplateFieldMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getDeleteTagTemplateFieldMethod = DataCatalogGrpc.getDeleteTagTemplateFieldMethod) == null) { - DataCatalogGrpc.getDeleteTagTemplateFieldMethod = getDeleteTagTemplateFieldMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTagTemplateField")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("DeleteTagTemplateField")) - .build(); - } - } - } - return getDeleteTagTemplateFieldMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTag", - requestType = com.google.cloud.datacatalog.v1beta1.CreateTagRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateTagMethod() { - io.grpc.MethodDescriptor getCreateTagMethod; - if ((getCreateTagMethod = DataCatalogGrpc.getCreateTagMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getCreateTagMethod = DataCatalogGrpc.getCreateTagMethod) == null) { - DataCatalogGrpc.getCreateTagMethod = getCreateTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.CreateTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("CreateTag")) - .build(); - } - } - } - return getCreateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTag", - requestType = com.google.cloud.datacatalog.v1beta1.UpdateTagRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateTagMethod() { - io.grpc.MethodDescriptor getUpdateTagMethod; - if ((getUpdateTagMethod = DataCatalogGrpc.getUpdateTagMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getUpdateTagMethod = DataCatalogGrpc.getUpdateTagMethod) == null) { - DataCatalogGrpc.getUpdateTagMethod = getUpdateTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.UpdateTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.Tag.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UpdateTag")) - .build(); - } - } - } - return getUpdateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTag", - requestType = com.google.cloud.datacatalog.v1beta1.DeleteTagRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteTagMethod() { - io.grpc.MethodDescriptor getDeleteTagMethod; - if ((getDeleteTagMethod = DataCatalogGrpc.getDeleteTagMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getDeleteTagMethod = DataCatalogGrpc.getDeleteTagMethod) == null) { - DataCatalogGrpc.getDeleteTagMethod = getDeleteTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.DeleteTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("DeleteTag")) - .build(); - } - } - } - return getDeleteTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getListTagsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTags", - requestType = com.google.cloud.datacatalog.v1beta1.ListTagsRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.ListTagsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListTagsMethod() { - io.grpc.MethodDescriptor getListTagsMethod; - if ((getListTagsMethod = DataCatalogGrpc.getListTagsMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getListTagsMethod = DataCatalogGrpc.getListTagsMethod) == null) { - DataCatalogGrpc.getListTagsMethod = getListTagsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.ListTagsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.ListTagsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ListTags")) - .build(); - } - } - } - return getListTagsMethod; - } - - 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 getSetIamPolicyMethod() { - io.grpc.MethodDescriptor getSetIamPolicyMethod; - if ((getSetIamPolicyMethod = DataCatalogGrpc.getSetIamPolicyMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getSetIamPolicyMethod = DataCatalogGrpc.getSetIamPolicyMethod) == null) { - DataCatalogGrpc.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 DataCatalogMethodDescriptorSupplier("SetIamPolicy")) - .build(); - } - } - } - return getSetIamPolicyMethod; - } - - 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 getGetIamPolicyMethod() { - io.grpc.MethodDescriptor getGetIamPolicyMethod; - if ((getGetIamPolicyMethod = DataCatalogGrpc.getGetIamPolicyMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getGetIamPolicyMethod = DataCatalogGrpc.getGetIamPolicyMethod) == null) { - DataCatalogGrpc.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 DataCatalogMethodDescriptorSupplier("GetIamPolicy")) - .build(); - } - } - } - return getGetIamPolicyMethod; - } - - 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 getTestIamPermissionsMethod() { - io.grpc.MethodDescriptor getTestIamPermissionsMethod; - if ((getTestIamPermissionsMethod = DataCatalogGrpc.getTestIamPermissionsMethod) == null) { - synchronized (DataCatalogGrpc.class) { - if ((getTestIamPermissionsMethod = DataCatalogGrpc.getTestIamPermissionsMethod) == null) { - DataCatalogGrpc.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 DataCatalogMethodDescriptorSupplier("TestIamPermissions")) - .build(); - } - } - } - return getTestIamPermissionsMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static DataCatalogStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataCatalogStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataCatalogStub(channel, callOptions); - } - }; - return DataCatalogStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static DataCatalogBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataCatalogBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataCatalogBlockingStub(channel, callOptions); - } - }; - return DataCatalogBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static DataCatalogFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataCatalogFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataCatalogFutureStub(channel, callOptions); - } - }; - return DataCatalogFutureStub.newStub(factory, channel); - } - - /** - *
-   * Data Catalog API service allows clients to discover, understand, and manage
-   * their data.
-   * 
- */ - public interface AsyncService { - - /** - *
-     * Searches Data Catalog for multiple resources like entries, tags that
-     * match a query.
-     * This is a custom method
-     * (https://cloud.google.com/apis/design/custom_methods) and does not return
-     * the complete resource, only the resource identifier and high level
-     * fields. Clients can subsequently call `Get` methods.
-     * Note that Data Catalog search queries do not guarantee full recall. Query
-     * results that match your query may not be returned, even in subsequent
-     * result pages. Also note that results returned (and not returned) can vary
-     * across repeated search queries.
-     * See [Data Catalog Search
-     * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
-     * for more information.
-     * 
- */ - default void searchCatalog(com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchCatalogMethod(), responseObserver); - } - - /** - *
-     * A maximum of 10,000 entry groups may be created per organization across all
-     * locations.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `parent` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - default void createEntryGroup(com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateEntryGroupMethod(), responseObserver); - } - - /** - *
-     * Updates an EntryGroup. The user should enable the Data Catalog API in the
-     * project identified by the `entry_group.name` parameter (see [Data Catalog
-     * Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - default void updateEntryGroup(com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateEntryGroupMethod(), responseObserver); - } - - /** - *
-     * Gets an EntryGroup.
-     * 
- */ - default void getEntryGroup(com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEntryGroupMethod(), responseObserver); - } - - /** - *
-     * Deletes an EntryGroup. Only entry groups that do not contain entries can be
-     * deleted. Users should enable the Data Catalog API in the project
-     * identified by the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - default void deleteEntryGroup(com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteEntryGroupMethod(), responseObserver); - } - - /** - *
-     * Lists entry groups.
-     * 
- */ - default void listEntryGroups(com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListEntryGroupsMethod(), responseObserver); - } - - /** - *
-     * Creates an entry. Only entries of 'FILESET' type or user-specified type can
-     * be created.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `parent` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * A maximum of 100,000 entries may be created per entry group.
-     * 
- */ - default void createEntry(com.google.cloud.datacatalog.v1beta1.CreateEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateEntryMethod(), responseObserver); - } - - /** - *
-     * Updates an existing entry.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `entry.name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - default void updateEntry(com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateEntryMethod(), responseObserver); - } - - /** - *
-     * Deletes an existing entry. Only entries created through
-     * [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry]
-     * method can be deleted.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - default void deleteEntry(com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteEntryMethod(), responseObserver); - } - - /** - *
-     * Gets an entry.
-     * 
- */ - default void getEntry(com.google.cloud.datacatalog.v1beta1.GetEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEntryMethod(), responseObserver); - } - - /** - *
-     * Get an entry by target resource name. This method allows clients to use
-     * the resource name from the source Google Cloud Platform service to get the
-     * Data Catalog Entry.
-     * 
- */ - default void lookupEntry(com.google.cloud.datacatalog.v1beta1.LookupEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getLookupEntryMethod(), responseObserver); - } - - /** - *
-     * Lists entries.
-     * 
- */ - default void listEntries(com.google.cloud.datacatalog.v1beta1.ListEntriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListEntriesMethod(), responseObserver); - } - - /** - *
-     * Creates a tag template. The user should enable the Data Catalog API in
-     * the project identified by the `parent` parameter (see [Data Catalog
-     * Resource
-     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
-     * for more information).
-     * 
- */ - default void createTagTemplate(com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagTemplateMethod(), responseObserver); - } - - /** - *
-     * Gets a tag template.
-     * 
- */ - default void getTagTemplate(com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagTemplateMethod(), responseObserver); - } - - /** - *
-     * Updates a tag template. This method cannot be used to update the fields of
-     * a template. The tag template fields are represented as separate resources
-     * and should be updated using their own create/update/delete methods.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `tag_template.name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - default void updateTagTemplate(com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagTemplateMethod(), responseObserver); - } - - /** - *
-     * Deletes a tag template and all tags using the template.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - default void deleteTagTemplate(com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagTemplateMethod(), responseObserver); - } - - /** - *
-     * Creates a field in a tag template. The user should enable the Data Catalog
-     * API in the project identified by the `parent` parameter (see
-     * [Data Catalog Resource
-     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
-     * for more information).
-     * 
- */ - default void createTagTemplateField(com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagTemplateFieldMethod(), responseObserver); - } - - /** - *
-     * Updates a field in a tag template. This method cannot be used to update the
-     * field type. Users should enable the Data Catalog API in the project
-     * identified by the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - default void updateTagTemplateField(com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagTemplateFieldMethod(), responseObserver); - } - - /** - *
-     * Renames a field in a tag template. The user should enable the Data Catalog
-     * API in the project identified by the `name` parameter (see [Data Catalog
-     * Resource
-     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
-     * for more information).
-     * 
- */ - default void renameTagTemplateField(com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRenameTagTemplateFieldMethod(), responseObserver); - } - - /** - *
-     * Renames an enum value in a tag template. The enum values have to be unique
-     * within one enum field. Thus, an enum value cannot be renamed with a name
-     * used in any other enum value within the same enum field.
-     * 
- */ - default void renameTagTemplateFieldEnumValue(com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRenameTagTemplateFieldEnumValueMethod(), responseObserver); - } - - /** - *
-     * Deletes a field in a tag template and all uses of that field.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - default void deleteTagTemplateField(com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagTemplateFieldMethod(), responseObserver); - } - - /** - *
-     * Creates a tag on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
-     * Note: The project identified by the `parent` parameter for the
-     * [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters)
-     * and the
-     * [tag
-     * template](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters)
-     * used to create the tag must be from the same organization.
-     * 
- */ - default void createTag(com.google.cloud.datacatalog.v1beta1.CreateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); - } - - /** - *
-     * Updates an existing tag.
-     * 
- */ - default void updateTag(com.google.cloud.datacatalog.v1beta1.UpdateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - default void deleteTag(com.google.cloud.datacatalog.v1beta1.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); - } - - /** - *
-     * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1beta1.Entry].
-     * The [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response
-     * are lowercased.
-     * 
- */ - default void listTags(com.google.cloud.datacatalog.v1beta1.ListTagsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); - } - - /** - *
-     * Sets the access control policy for a resource. Replaces any existing
-     * policy.
-     * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * Callers must have following Google IAM permission
-     *   - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
-     *     templates.
-     *   - `datacatalog.entries.setIamPolicy` to set policies on entries.
-     *   - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
-     * 
- */ - default void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); - } - - /** - *
-     * Gets the access control policy for a resource. A `NOT_FOUND` error
-     * is returned if the resource does not exist. An empty policy is returned
-     * if the resource exists but does not have a policy set on it.
-     * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * Callers must have following Google IAM permission
-     *   - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
-     *     templates.
-     *   - `datacatalog.entries.getIamPolicy` to get policies on entries.
-     *   - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
-     * 
- */ - default void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); - } - - /** - *
-     * Returns the caller's permissions on a resource.
-     * If the resource does not exist, an empty set of permissions is returned
-     * (We don't return a `NOT_FOUND` error).
-     * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * A caller is not required to have Google IAM permission to make this
-     * request.
-     * 
- */ - default void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service DataCatalog. - *
-   * Data Catalog API service allows clients to discover, understand, and manage
-   * their data.
-   * 
- */ - public static abstract class DataCatalogImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return DataCatalogGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service DataCatalog. - *
-   * Data Catalog API service allows clients to discover, understand, and manage
-   * their data.
-   * 
- */ - public static final class DataCatalogStub - extends io.grpc.stub.AbstractAsyncStub { - private DataCatalogStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataCatalogStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataCatalogStub(channel, callOptions); - } - - /** - *
-     * Searches Data Catalog for multiple resources like entries, tags that
-     * match a query.
-     * This is a custom method
-     * (https://cloud.google.com/apis/design/custom_methods) and does not return
-     * the complete resource, only the resource identifier and high level
-     * fields. Clients can subsequently call `Get` methods.
-     * Note that Data Catalog search queries do not guarantee full recall. Query
-     * results that match your query may not be returned, even in subsequent
-     * result pages. Also note that results returned (and not returned) can vary
-     * across repeated search queries.
-     * See [Data Catalog Search
-     * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
-     * for more information.
-     * 
- */ - public void searchCatalog(com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchCatalogMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * A maximum of 10,000 entry groups may be created per organization across all
-     * locations.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `parent` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public void createEntryGroup(com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateEntryGroupMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates an EntryGroup. The user should enable the Data Catalog API in the
-     * project identified by the `entry_group.name` parameter (see [Data Catalog
-     * Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public void updateEntryGroup(com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateEntryGroupMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets an EntryGroup.
-     * 
- */ - public void getEntryGroup(com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetEntryGroupMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes an EntryGroup. Only entry groups that do not contain entries can be
-     * deleted. Users should enable the Data Catalog API in the project
-     * identified by the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public void deleteEntryGroup(com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteEntryGroupMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists entry groups.
-     * 
- */ - public void listEntryGroups(com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListEntryGroupsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates an entry. Only entries of 'FILESET' type or user-specified type can
-     * be created.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `parent` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * A maximum of 100,000 entries may be created per entry group.
-     * 
- */ - public void createEntry(com.google.cloud.datacatalog.v1beta1.CreateEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateEntryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates an existing entry.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `entry.name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public void updateEntry(com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateEntryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes an existing entry. Only entries created through
-     * [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry]
-     * method can be deleted.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public void deleteEntry(com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteEntryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets an entry.
-     * 
- */ - public void getEntry(com.google.cloud.datacatalog.v1beta1.GetEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetEntryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get an entry by target resource name. This method allows clients to use
-     * the resource name from the source Google Cloud Platform service to get the
-     * Data Catalog Entry.
-     * 
- */ - public void lookupEntry(com.google.cloud.datacatalog.v1beta1.LookupEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getLookupEntryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists entries.
-     * 
- */ - public void listEntries(com.google.cloud.datacatalog.v1beta1.ListEntriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListEntriesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a tag template. The user should enable the Data Catalog API in
-     * the project identified by the `parent` parameter (see [Data Catalog
-     * Resource
-     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
-     * for more information).
-     * 
- */ - public void createTagTemplate(com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTagTemplateMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a tag template.
-     * 
- */ - public void getTagTemplate(com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTagTemplateMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a tag template. This method cannot be used to update the fields of
-     * a template. The tag template fields are represented as separate resources
-     * and should be updated using their own create/update/delete methods.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `tag_template.name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public void updateTagTemplate(com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTagTemplateMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a tag template and all tags using the template.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public void deleteTagTemplate(com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTagTemplateMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a field in a tag template. The user should enable the Data Catalog
-     * API in the project identified by the `parent` parameter (see
-     * [Data Catalog Resource
-     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
-     * for more information).
-     * 
- */ - public void createTagTemplateField(com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTagTemplateFieldMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a field in a tag template. This method cannot be used to update the
-     * field type. Users should enable the Data Catalog API in the project
-     * identified by the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public void updateTagTemplateField(com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTagTemplateFieldMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Renames a field in a tag template. The user should enable the Data Catalog
-     * API in the project identified by the `name` parameter (see [Data Catalog
-     * Resource
-     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
-     * for more information).
-     * 
- */ - public void renameTagTemplateField(com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRenameTagTemplateFieldMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Renames an enum value in a tag template. The enum values have to be unique
-     * within one enum field. Thus, an enum value cannot be renamed with a name
-     * used in any other enum value within the same enum field.
-     * 
- */ - public void renameTagTemplateFieldEnumValue(com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRenameTagTemplateFieldEnumValueMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a field in a tag template and all uses of that field.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public void deleteTagTemplateField(com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTagTemplateFieldMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a tag on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
-     * Note: The project identified by the `parent` parameter for the
-     * [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters)
-     * and the
-     * [tag
-     * template](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters)
-     * used to create the tag must be from the same organization.
-     * 
- */ - public void createTag(com.google.cloud.datacatalog.v1beta1.CreateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates an existing tag.
-     * 
- */ - public void updateTag(com.google.cloud.datacatalog.v1beta1.UpdateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag(com.google.cloud.datacatalog.v1beta1.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1beta1.Entry].
-     * The [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response
-     * are lowercased.
-     * 
- */ - public void listTags(com.google.cloud.datacatalog.v1beta1.ListTagsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Sets the access control policy for a resource. Replaces any existing
-     * policy.
-     * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * Callers must have following Google IAM permission
-     *   - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
-     *     templates.
-     *   - `datacatalog.entries.setIamPolicy` to set policies on entries.
-     *   - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
-     * 
- */ - 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); - } - - /** - *
-     * Gets the access control policy for a resource. A `NOT_FOUND` error
-     * is returned if the resource does not exist. An empty policy is returned
-     * if the resource exists but does not have a policy set on it.
-     * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * Callers must have following Google IAM permission
-     *   - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
-     *     templates.
-     *   - `datacatalog.entries.getIamPolicy` to get policies on entries.
-     *   - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
-     * 
- */ - 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); - } - - /** - *
-     * Returns the caller's permissions on a resource.
-     * If the resource does not exist, an empty set of permissions is returned
-     * (We don't return a `NOT_FOUND` error).
-     * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * A caller is not required to have Google IAM permission to make this
-     * request.
-     * 
- */ - 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); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service DataCatalog. - *
-   * Data Catalog API service allows clients to discover, understand, and manage
-   * their data.
-   * 
- */ - public static final class DataCatalogBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private DataCatalogBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataCatalogBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataCatalogBlockingStub(channel, callOptions); - } - - /** - *
-     * Searches Data Catalog for multiple resources like entries, tags that
-     * match a query.
-     * This is a custom method
-     * (https://cloud.google.com/apis/design/custom_methods) and does not return
-     * the complete resource, only the resource identifier and high level
-     * fields. Clients can subsequently call `Get` methods.
-     * Note that Data Catalog search queries do not guarantee full recall. Query
-     * results that match your query may not be returned, even in subsequent
-     * result pages. Also note that results returned (and not returned) can vary
-     * across repeated search queries.
-     * See [Data Catalog Search
-     * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
-     * for more information.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse searchCatalog(com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSearchCatalogMethod(), getCallOptions(), request); - } - - /** - *
-     * A maximum of 10,000 entry groups may be created per organization across all
-     * locations.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `parent` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.EntryGroup createEntryGroup(com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateEntryGroupMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates an EntryGroup. The user should enable the Data Catalog API in the
-     * project identified by the `entry_group.name` parameter (see [Data Catalog
-     * Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.EntryGroup updateEntryGroup(com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateEntryGroupMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets an EntryGroup.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroup(com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetEntryGroupMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes an EntryGroup. Only entry groups that do not contain entries can be
-     * deleted. Users should enable the Data Catalog API in the project
-     * identified by the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.protobuf.Empty deleteEntryGroup(com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteEntryGroupMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists entry groups.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse listEntryGroups(com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListEntryGroupsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates an entry. Only entries of 'FILESET' type or user-specified type can
-     * be created.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `parent` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * A maximum of 100,000 entries may be created per entry group.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.Entry createEntry(com.google.cloud.datacatalog.v1beta1.CreateEntryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateEntryMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates an existing entry.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `entry.name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.Entry updateEntry(com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateEntryMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes an existing entry. Only entries created through
-     * [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry]
-     * method can be deleted.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.protobuf.Empty deleteEntry(com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteEntryMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets an entry.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.Entry getEntry(com.google.cloud.datacatalog.v1beta1.GetEntryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetEntryMethod(), getCallOptions(), request); - } - - /** - *
-     * Get an entry by target resource name. This method allows clients to use
-     * the resource name from the source Google Cloud Platform service to get the
-     * Data Catalog Entry.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.Entry lookupEntry(com.google.cloud.datacatalog.v1beta1.LookupEntryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getLookupEntryMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists entries.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.ListEntriesResponse listEntries(com.google.cloud.datacatalog.v1beta1.ListEntriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListEntriesMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a tag template. The user should enable the Data Catalog API in
-     * the project identified by the `parent` parameter (see [Data Catalog
-     * Resource
-     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
-     * for more information).
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.TagTemplate createTagTemplate(com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTagTemplateMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a tag template.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.TagTemplate getTagTemplate(com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTagTemplateMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a tag template. This method cannot be used to update the fields of
-     * a template. The tag template fields are represented as separate resources
-     * and should be updated using their own create/update/delete methods.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `tag_template.name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.TagTemplate updateTagTemplate(com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTagTemplateMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a tag template and all tags using the template.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.protobuf.Empty deleteTagTemplate(com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTagTemplateMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a field in a tag template. The user should enable the Data Catalog
-     * API in the project identified by the `parent` parameter (see
-     * [Data Catalog Resource
-     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
-     * for more information).
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.TagTemplateField createTagTemplateField(com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTagTemplateFieldMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a field in a tag template. This method cannot be used to update the
-     * field type. Users should enable the Data Catalog API in the project
-     * identified by the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.TagTemplateField updateTagTemplateField(com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTagTemplateFieldMethod(), getCallOptions(), request); - } - - /** - *
-     * Renames a field in a tag template. The user should enable the Data Catalog
-     * API in the project identified by the `name` parameter (see [Data Catalog
-     * Resource
-     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
-     * for more information).
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.TagTemplateField renameTagTemplateField(com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRenameTagTemplateFieldMethod(), getCallOptions(), request); - } - - /** - *
-     * Renames an enum value in a tag template. The enum values have to be unique
-     * within one enum field. Thus, an enum value cannot be renamed with a name
-     * used in any other enum value within the same enum field.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.TagTemplateField renameTagTemplateFieldEnumValue(com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRenameTagTemplateFieldEnumValueMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a field in a tag template and all uses of that field.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.protobuf.Empty deleteTagTemplateField(com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTagTemplateFieldMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a tag on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
-     * Note: The project identified by the `parent` parameter for the
-     * [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters)
-     * and the
-     * [tag
-     * template](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters)
-     * used to create the tag must be from the same organization.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.Tag createTag(com.google.cloud.datacatalog.v1beta1.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates an existing tag.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.Tag updateTag(com.google.cloud.datacatalog.v1beta1.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public com.google.protobuf.Empty deleteTag(com.google.cloud.datacatalog.v1beta1.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1beta1.Entry].
-     * The [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response
-     * are lowercased.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.ListTagsResponse listTags(com.google.cloud.datacatalog.v1beta1.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTagsMethod(), getCallOptions(), request); - } - - /** - *
-     * Sets the access control policy for a resource. Replaces any existing
-     * policy.
-     * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * Callers must have following Google IAM permission
-     *   - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
-     *     templates.
-     *   - `datacatalog.entries.setIamPolicy` to set policies on entries.
-     *   - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
-     * 
- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets the access control policy for a resource. A `NOT_FOUND` error
-     * is returned if the resource does not exist. An empty policy is returned
-     * if the resource exists but does not have a policy set on it.
-     * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * Callers must have following Google IAM permission
-     *   - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
-     *     templates.
-     *   - `datacatalog.entries.getIamPolicy` to get policies on entries.
-     *   - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
-     * 
- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns the caller's permissions on a resource.
-     * If the resource does not exist, an empty set of permissions is returned
-     * (We don't return a `NOT_FOUND` error).
-     * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * A caller is not required to have Google IAM permission to make this
-     * request.
-     * 
- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service DataCatalog. - *
-   * Data Catalog API service allows clients to discover, understand, and manage
-   * their data.
-   * 
- */ - public static final class DataCatalogFutureStub - extends io.grpc.stub.AbstractFutureStub { - private DataCatalogFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataCatalogFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataCatalogFutureStub(channel, callOptions); - } - - /** - *
-     * Searches Data Catalog for multiple resources like entries, tags that
-     * match a query.
-     * This is a custom method
-     * (https://cloud.google.com/apis/design/custom_methods) and does not return
-     * the complete resource, only the resource identifier and high level
-     * fields. Clients can subsequently call `Get` methods.
-     * Note that Data Catalog search queries do not guarantee full recall. Query
-     * results that match your query may not be returned, even in subsequent
-     * result pages. Also note that results returned (and not returned) can vary
-     * across repeated search queries.
-     * See [Data Catalog Search
-     * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
-     * for more information.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture searchCatalog( - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSearchCatalogMethod(), getCallOptions()), request); - } - - /** - *
-     * A maximum of 10,000 entry groups may be created per organization across all
-     * locations.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `parent` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createEntryGroup( - com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateEntryGroupMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates an EntryGroup. The user should enable the Data Catalog API in the
-     * project identified by the `entry_group.name` parameter (see [Data Catalog
-     * Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateEntryGroup( - com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateEntryGroupMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets an EntryGroup.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getEntryGroup( - com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetEntryGroupMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes an EntryGroup. Only entry groups that do not contain entries can be
-     * deleted. Users should enable the Data Catalog API in the project
-     * identified by the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteEntryGroup( - com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteEntryGroupMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists entry groups.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listEntryGroups( - com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListEntryGroupsMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates an entry. Only entries of 'FILESET' type or user-specified type can
-     * be created.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `parent` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * A maximum of 100,000 entries may be created per entry group.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createEntry( - com.google.cloud.datacatalog.v1beta1.CreateEntryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateEntryMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates an existing entry.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `entry.name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateEntry( - com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateEntryMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes an existing entry. Only entries created through
-     * [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry]
-     * method can be deleted.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteEntry( - com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteEntryMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets an entry.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getEntry( - com.google.cloud.datacatalog.v1beta1.GetEntryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetEntryMethod(), getCallOptions()), request); - } - - /** - *
-     * Get an entry by target resource name. This method allows clients to use
-     * the resource name from the source Google Cloud Platform service to get the
-     * Data Catalog Entry.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture lookupEntry( - com.google.cloud.datacatalog.v1beta1.LookupEntryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getLookupEntryMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists entries.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listEntries( - com.google.cloud.datacatalog.v1beta1.ListEntriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListEntriesMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a tag template. The user should enable the Data Catalog API in
-     * the project identified by the `parent` parameter (see [Data Catalog
-     * Resource
-     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
-     * for more information).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createTagTemplate( - com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTagTemplateMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a tag template.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getTagTemplate( - com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTagTemplateMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a tag template. This method cannot be used to update the fields of
-     * a template. The tag template fields are represented as separate resources
-     * and should be updated using their own create/update/delete methods.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `tag_template.name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateTagTemplate( - com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTagTemplateMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a tag template and all tags using the template.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTagTemplate( - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTagTemplateMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a field in a tag template. The user should enable the Data Catalog
-     * API in the project identified by the `parent` parameter (see
-     * [Data Catalog Resource
-     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
-     * for more information).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createTagTemplateField( - com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTagTemplateFieldMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a field in a tag template. This method cannot be used to update the
-     * field type. Users should enable the Data Catalog API in the project
-     * identified by the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateTagTemplateField( - com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTagTemplateFieldMethod(), getCallOptions()), request); - } - - /** - *
-     * Renames a field in a tag template. The user should enable the Data Catalog
-     * API in the project identified by the `name` parameter (see [Data Catalog
-     * Resource
-     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
-     * for more information).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture renameTagTemplateField( - com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRenameTagTemplateFieldMethod(), getCallOptions()), request); - } - - /** - *
-     * Renames an enum value in a tag template. The enum values have to be unique
-     * within one enum field. Thus, an enum value cannot be renamed with a name
-     * used in any other enum value within the same enum field.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture renameTagTemplateFieldEnumValue( - com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRenameTagTemplateFieldEnumValueMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a field in a tag template and all uses of that field.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTagTemplateField( - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTagTemplateFieldMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a tag on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
-     * Note: The project identified by the `parent` parameter for the
-     * [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters)
-     * and the
-     * [tag
-     * template](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters)
-     * used to create the tag must be from the same organization.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createTag( - com.google.cloud.datacatalog.v1beta1.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates an existing tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateTag( - com.google.cloud.datacatalog.v1beta1.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTag( - com.google.cloud.datacatalog.v1beta1.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1beta1.Entry].
-     * The [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response
-     * are lowercased.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listTags( - com.google.cloud.datacatalog.v1beta1.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request); - } - - /** - *
-     * Sets the access control policy for a resource. Replaces any existing
-     * policy.
-     * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * Callers must have following Google IAM permission
-     *   - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
-     *     templates.
-     *   - `datacatalog.entries.setIamPolicy` to set policies on entries.
-     *   - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
-     * 
- */ - 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); - } - - /** - *
-     * Gets the access control policy for a resource. A `NOT_FOUND` error
-     * is returned if the resource does not exist. An empty policy is returned
-     * if the resource exists but does not have a policy set on it.
-     * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * Callers must have following Google IAM permission
-     *   - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
-     *     templates.
-     *   - `datacatalog.entries.getIamPolicy` to get policies on entries.
-     *   - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
-     * 
- */ - 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); - } - - /** - *
-     * Returns the caller's permissions on a resource.
-     * If the resource does not exist, an empty set of permissions is returned
-     * (We don't return a `NOT_FOUND` error).
-     * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * A caller is not required to have Google IAM permission to make this
-     * 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); - } - } - - private static final int METHODID_SEARCH_CATALOG = 0; - private static final int METHODID_CREATE_ENTRY_GROUP = 1; - private static final int METHODID_UPDATE_ENTRY_GROUP = 2; - private static final int METHODID_GET_ENTRY_GROUP = 3; - private static final int METHODID_DELETE_ENTRY_GROUP = 4; - private static final int METHODID_LIST_ENTRY_GROUPS = 5; - private static final int METHODID_CREATE_ENTRY = 6; - private static final int METHODID_UPDATE_ENTRY = 7; - private static final int METHODID_DELETE_ENTRY = 8; - private static final int METHODID_GET_ENTRY = 9; - private static final int METHODID_LOOKUP_ENTRY = 10; - private static final int METHODID_LIST_ENTRIES = 11; - private static final int METHODID_CREATE_TAG_TEMPLATE = 12; - private static final int METHODID_GET_TAG_TEMPLATE = 13; - private static final int METHODID_UPDATE_TAG_TEMPLATE = 14; - private static final int METHODID_DELETE_TAG_TEMPLATE = 15; - private static final int METHODID_CREATE_TAG_TEMPLATE_FIELD = 16; - private static final int METHODID_UPDATE_TAG_TEMPLATE_FIELD = 17; - private static final int METHODID_RENAME_TAG_TEMPLATE_FIELD = 18; - private static final int METHODID_RENAME_TAG_TEMPLATE_FIELD_ENUM_VALUE = 19; - private static final int METHODID_DELETE_TAG_TEMPLATE_FIELD = 20; - private static final int METHODID_CREATE_TAG = 21; - private static final int METHODID_UPDATE_TAG = 22; - private static final int METHODID_DELETE_TAG = 23; - private static final int METHODID_LIST_TAGS = 24; - private static final int METHODID_SET_IAM_POLICY = 25; - private static final int METHODID_GET_IAM_POLICY = 26; - private static final int METHODID_TEST_IAM_PERMISSIONS = 27; - - 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_SEARCH_CATALOG: - serviceImpl.searchCatalog((com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_ENTRY_GROUP: - serviceImpl.createEntryGroup((com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_ENTRY_GROUP: - serviceImpl.updateEntryGroup((com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ENTRY_GROUP: - serviceImpl.getEntryGroup((com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_ENTRY_GROUP: - serviceImpl.deleteEntryGroup((com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ENTRY_GROUPS: - serviceImpl.listEntryGroups((com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_ENTRY: - serviceImpl.createEntry((com.google.cloud.datacatalog.v1beta1.CreateEntryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_ENTRY: - serviceImpl.updateEntry((com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_ENTRY: - serviceImpl.deleteEntry((com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ENTRY: - serviceImpl.getEntry((com.google.cloud.datacatalog.v1beta1.GetEntryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LOOKUP_ENTRY: - serviceImpl.lookupEntry((com.google.cloud.datacatalog.v1beta1.LookupEntryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ENTRIES: - serviceImpl.listEntries((com.google.cloud.datacatalog.v1beta1.ListEntriesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_TAG_TEMPLATE: - serviceImpl.createTagTemplate((com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_TAG_TEMPLATE: - serviceImpl.getTagTemplate((com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_TAG_TEMPLATE: - serviceImpl.updateTagTemplate((com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_TAG_TEMPLATE: - serviceImpl.deleteTagTemplate((com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_TAG_TEMPLATE_FIELD: - serviceImpl.createTagTemplateField((com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_TAG_TEMPLATE_FIELD: - serviceImpl.updateTagTemplateField((com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RENAME_TAG_TEMPLATE_FIELD: - serviceImpl.renameTagTemplateField((com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RENAME_TAG_TEMPLATE_FIELD_ENUM_VALUE: - serviceImpl.renameTagTemplateFieldEnumValue((com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_TAG_TEMPLATE_FIELD: - serviceImpl.deleteTagTemplateField((com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_TAG: - serviceImpl.createTag((com.google.cloud.datacatalog.v1beta1.CreateTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_TAG: - serviceImpl.updateTag((com.google.cloud.datacatalog.v1beta1.UpdateTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_TAG: - serviceImpl.deleteTag((com.google.cloud.datacatalog.v1beta1.DeleteTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TAGS: - serviceImpl.listTags((com.google.cloud.datacatalog.v1beta1.ListTagsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) 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); - 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( - getSearchCatalogMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest, - com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse>( - service, METHODID_SEARCH_CATALOG))) - .addMethod( - getCreateEntryGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest, - com.google.cloud.datacatalog.v1beta1.EntryGroup>( - service, METHODID_CREATE_ENTRY_GROUP))) - .addMethod( - getUpdateEntryGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest, - com.google.cloud.datacatalog.v1beta1.EntryGroup>( - service, METHODID_UPDATE_ENTRY_GROUP))) - .addMethod( - getGetEntryGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest, - com.google.cloud.datacatalog.v1beta1.EntryGroup>( - service, METHODID_GET_ENTRY_GROUP))) - .addMethod( - getDeleteEntryGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_ENTRY_GROUP))) - .addMethod( - getListEntryGroupsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest, - com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse>( - service, METHODID_LIST_ENTRY_GROUPS))) - .addMethod( - getCreateEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.CreateEntryRequest, - com.google.cloud.datacatalog.v1beta1.Entry>( - service, METHODID_CREATE_ENTRY))) - .addMethod( - getUpdateEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest, - com.google.cloud.datacatalog.v1beta1.Entry>( - service, METHODID_UPDATE_ENTRY))) - .addMethod( - getDeleteEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_ENTRY))) - .addMethod( - getGetEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.GetEntryRequest, - com.google.cloud.datacatalog.v1beta1.Entry>( - service, METHODID_GET_ENTRY))) - .addMethod( - getLookupEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.LookupEntryRequest, - com.google.cloud.datacatalog.v1beta1.Entry>( - service, METHODID_LOOKUP_ENTRY))) - .addMethod( - getListEntriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.ListEntriesRequest, - com.google.cloud.datacatalog.v1beta1.ListEntriesResponse>( - service, METHODID_LIST_ENTRIES))) - .addMethod( - getCreateTagTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplate>( - service, METHODID_CREATE_TAG_TEMPLATE))) - .addMethod( - getGetTagTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplate>( - service, METHODID_GET_TAG_TEMPLATE))) - .addMethod( - getUpdateTagTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplate>( - service, METHODID_UPDATE_TAG_TEMPLATE))) - .addMethod( - getDeleteTagTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_TAG_TEMPLATE))) - .addMethod( - getCreateTagTemplateFieldMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplateField>( - service, METHODID_CREATE_TAG_TEMPLATE_FIELD))) - .addMethod( - getUpdateTagTemplateFieldMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplateField>( - service, METHODID_UPDATE_TAG_TEMPLATE_FIELD))) - .addMethod( - getRenameTagTemplateFieldMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplateField>( - service, METHODID_RENAME_TAG_TEMPLATE_FIELD))) - .addMethod( - getRenameTagTemplateFieldEnumValueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplateField>( - service, METHODID_RENAME_TAG_TEMPLATE_FIELD_ENUM_VALUE))) - .addMethod( - getDeleteTagTemplateFieldMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_TAG_TEMPLATE_FIELD))) - .addMethod( - getCreateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.CreateTagRequest, - com.google.cloud.datacatalog.v1beta1.Tag>( - service, METHODID_CREATE_TAG))) - .addMethod( - getUpdateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.UpdateTagRequest, - com.google.cloud.datacatalog.v1beta1.Tag>( - service, METHODID_UPDATE_TAG))) - .addMethod( - getDeleteTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.DeleteTagRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_TAG))) - .addMethod( - getListTagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.ListTagsRequest, - com.google.cloud.datacatalog.v1beta1.ListTagsResponse>( - service, METHODID_LIST_TAGS))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, - com.google.iam.v1.Policy>( - service, METHODID_SET_IAM_POLICY))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, - com.google.iam.v1.Policy>( - service, METHODID_GET_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))) - .build(); - } - - private static abstract class DataCatalogBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - DataCatalogBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.datacatalog.v1beta1.Datacatalog.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("DataCatalog"); - } - } - - private static final class DataCatalogFileDescriptorSupplier - extends DataCatalogBaseDescriptorSupplier { - DataCatalogFileDescriptorSupplier() {} - } - - private static final class DataCatalogMethodDescriptorSupplier - extends DataCatalogBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - DataCatalogMethodDescriptorSupplier(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 (DataCatalogGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DataCatalogFileDescriptorSupplier()) - .addMethod(getSearchCatalogMethod()) - .addMethod(getCreateEntryGroupMethod()) - .addMethod(getUpdateEntryGroupMethod()) - .addMethod(getGetEntryGroupMethod()) - .addMethod(getDeleteEntryGroupMethod()) - .addMethod(getListEntryGroupsMethod()) - .addMethod(getCreateEntryMethod()) - .addMethod(getUpdateEntryMethod()) - .addMethod(getDeleteEntryMethod()) - .addMethod(getGetEntryMethod()) - .addMethod(getLookupEntryMethod()) - .addMethod(getListEntriesMethod()) - .addMethod(getCreateTagTemplateMethod()) - .addMethod(getGetTagTemplateMethod()) - .addMethod(getUpdateTagTemplateMethod()) - .addMethod(getDeleteTagTemplateMethod()) - .addMethod(getCreateTagTemplateFieldMethod()) - .addMethod(getUpdateTagTemplateFieldMethod()) - .addMethod(getRenameTagTemplateFieldMethod()) - .addMethod(getRenameTagTemplateFieldEnumValueMethod()) - .addMethod(getDeleteTagTemplateFieldMethod()) - .addMethod(getCreateTagMethod()) - .addMethod(getUpdateTagMethod()) - .addMethod(getDeleteTagMethod()) - .addMethod(getListTagsMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerGrpc.java b/owl-bot-staging/java-datacatalog/v1beta1/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerGrpc.java deleted file mode 100644 index 7ff6a3029dcd..000000000000 --- a/owl-bot-staging/java-datacatalog/v1beta1/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerGrpc.java +++ /dev/null @@ -1,1373 +0,0 @@ -package com.google.cloud.datacatalog.v1beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * The policy tag manager API service allows clients to manage their taxonomies
- * and policy tags.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/datacatalog/v1beta1/policytagmanager.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class PolicyTagManagerGrpc { - - private PolicyTagManagerGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.datacatalog.v1beta1.PolicyTagManager"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateTaxonomyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTaxonomy", - requestType = com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.Taxonomy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateTaxonomyMethod() { - io.grpc.MethodDescriptor getCreateTaxonomyMethod; - if ((getCreateTaxonomyMethod = PolicyTagManagerGrpc.getCreateTaxonomyMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getCreateTaxonomyMethod = PolicyTagManagerGrpc.getCreateTaxonomyMethod) == null) { - PolicyTagManagerGrpc.getCreateTaxonomyMethod = getCreateTaxonomyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTaxonomy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance())) - .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("CreateTaxonomy")) - .build(); - } - } - } - return getCreateTaxonomyMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteTaxonomyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTaxonomy", - requestType = com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteTaxonomyMethod() { - io.grpc.MethodDescriptor getDeleteTaxonomyMethod; - if ((getDeleteTaxonomyMethod = PolicyTagManagerGrpc.getDeleteTaxonomyMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getDeleteTaxonomyMethod = PolicyTagManagerGrpc.getDeleteTaxonomyMethod) == null) { - PolicyTagManagerGrpc.getDeleteTaxonomyMethod = getDeleteTaxonomyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTaxonomy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("DeleteTaxonomy")) - .build(); - } - } - } - return getDeleteTaxonomyMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateTaxonomyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTaxonomy", - requestType = com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.Taxonomy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateTaxonomyMethod() { - io.grpc.MethodDescriptor getUpdateTaxonomyMethod; - if ((getUpdateTaxonomyMethod = PolicyTagManagerGrpc.getUpdateTaxonomyMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getUpdateTaxonomyMethod = PolicyTagManagerGrpc.getUpdateTaxonomyMethod) == null) { - PolicyTagManagerGrpc.getUpdateTaxonomyMethod = getUpdateTaxonomyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTaxonomy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance())) - .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("UpdateTaxonomy")) - .build(); - } - } - } - return getUpdateTaxonomyMethod; - } - - private static volatile io.grpc.MethodDescriptor getListTaxonomiesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTaxonomies", - requestType = com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListTaxonomiesMethod() { - io.grpc.MethodDescriptor getListTaxonomiesMethod; - if ((getListTaxonomiesMethod = PolicyTagManagerGrpc.getListTaxonomiesMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getListTaxonomiesMethod = PolicyTagManagerGrpc.getListTaxonomiesMethod) == null) { - PolicyTagManagerGrpc.getListTaxonomiesMethod = getListTaxonomiesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTaxonomies")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse.getDefaultInstance())) - .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("ListTaxonomies")) - .build(); - } - } - } - return getListTaxonomiesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetTaxonomyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTaxonomy", - requestType = com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.Taxonomy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetTaxonomyMethod() { - io.grpc.MethodDescriptor getGetTaxonomyMethod; - if ((getGetTaxonomyMethod = PolicyTagManagerGrpc.getGetTaxonomyMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getGetTaxonomyMethod = PolicyTagManagerGrpc.getGetTaxonomyMethod) == null) { - PolicyTagManagerGrpc.getGetTaxonomyMethod = getGetTaxonomyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTaxonomy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.Taxonomy.getDefaultInstance())) - .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("GetTaxonomy")) - .build(); - } - } - } - return getGetTaxonomyMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreatePolicyTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreatePolicyTag", - requestType = com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.PolicyTag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreatePolicyTagMethod() { - io.grpc.MethodDescriptor getCreatePolicyTagMethod; - if ((getCreatePolicyTagMethod = PolicyTagManagerGrpc.getCreatePolicyTagMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getCreatePolicyTagMethod = PolicyTagManagerGrpc.getCreatePolicyTagMethod) == null) { - PolicyTagManagerGrpc.getCreatePolicyTagMethod = getCreatePolicyTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreatePolicyTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance())) - .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("CreatePolicyTag")) - .build(); - } - } - } - return getCreatePolicyTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeletePolicyTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePolicyTag", - requestType = com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeletePolicyTagMethod() { - io.grpc.MethodDescriptor getDeletePolicyTagMethod; - if ((getDeletePolicyTagMethod = PolicyTagManagerGrpc.getDeletePolicyTagMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getDeletePolicyTagMethod = PolicyTagManagerGrpc.getDeletePolicyTagMethod) == null) { - PolicyTagManagerGrpc.getDeletePolicyTagMethod = getDeletePolicyTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePolicyTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("DeletePolicyTag")) - .build(); - } - } - } - return getDeletePolicyTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdatePolicyTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdatePolicyTag", - requestType = com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.PolicyTag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdatePolicyTagMethod() { - io.grpc.MethodDescriptor getUpdatePolicyTagMethod; - if ((getUpdatePolicyTagMethod = PolicyTagManagerGrpc.getUpdatePolicyTagMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getUpdatePolicyTagMethod = PolicyTagManagerGrpc.getUpdatePolicyTagMethod) == null) { - PolicyTagManagerGrpc.getUpdatePolicyTagMethod = getUpdatePolicyTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdatePolicyTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance())) - .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("UpdatePolicyTag")) - .build(); - } - } - } - return getUpdatePolicyTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getListPolicyTagsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPolicyTags", - requestType = com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListPolicyTagsMethod() { - io.grpc.MethodDescriptor getListPolicyTagsMethod; - if ((getListPolicyTagsMethod = PolicyTagManagerGrpc.getListPolicyTagsMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getListPolicyTagsMethod = PolicyTagManagerGrpc.getListPolicyTagsMethod) == null) { - PolicyTagManagerGrpc.getListPolicyTagsMethod = getListPolicyTagsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPolicyTags")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse.getDefaultInstance())) - .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("ListPolicyTags")) - .build(); - } - } - } - return getListPolicyTagsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetPolicyTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPolicyTag", - requestType = com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest.class, - responseType = com.google.cloud.datacatalog.v1beta1.PolicyTag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetPolicyTagMethod() { - io.grpc.MethodDescriptor getGetPolicyTagMethod; - if ((getGetPolicyTagMethod = PolicyTagManagerGrpc.getGetPolicyTagMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getGetPolicyTagMethod = PolicyTagManagerGrpc.getGetPolicyTagMethod) == null) { - PolicyTagManagerGrpc.getGetPolicyTagMethod = getGetPolicyTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPolicyTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datacatalog.v1beta1.PolicyTag.getDefaultInstance())) - .setSchemaDescriptor(new PolicyTagManagerMethodDescriptorSupplier("GetPolicyTag")) - .build(); - } - } - } - return getGetPolicyTagMethod; - } - - 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 getGetIamPolicyMethod() { - io.grpc.MethodDescriptor getGetIamPolicyMethod; - if ((getGetIamPolicyMethod = PolicyTagManagerGrpc.getGetIamPolicyMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getGetIamPolicyMethod = PolicyTagManagerGrpc.getGetIamPolicyMethod) == null) { - PolicyTagManagerGrpc.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 PolicyTagManagerMethodDescriptorSupplier("GetIamPolicy")) - .build(); - } - } - } - return getGetIamPolicyMethod; - } - - 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 getSetIamPolicyMethod() { - io.grpc.MethodDescriptor getSetIamPolicyMethod; - if ((getSetIamPolicyMethod = PolicyTagManagerGrpc.getSetIamPolicyMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getSetIamPolicyMethod = PolicyTagManagerGrpc.getSetIamPolicyMethod) == null) { - PolicyTagManagerGrpc.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 PolicyTagManagerMethodDescriptorSupplier("SetIamPolicy")) - .build(); - } - } - } - return getSetIamPolicyMethod; - } - - 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 getTestIamPermissionsMethod() { - io.grpc.MethodDescriptor getTestIamPermissionsMethod; - if ((getTestIamPermissionsMethod = PolicyTagManagerGrpc.getTestIamPermissionsMethod) == null) { - synchronized (PolicyTagManagerGrpc.class) { - if ((getTestIamPermissionsMethod = PolicyTagManagerGrpc.getTestIamPermissionsMethod) == null) { - PolicyTagManagerGrpc.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 PolicyTagManagerMethodDescriptorSupplier("TestIamPermissions")) - .build(); - } - } - } - return getTestIamPermissionsMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static PolicyTagManagerStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public PolicyTagManagerStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PolicyTagManagerStub(channel, callOptions); - } - }; - return PolicyTagManagerStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static PolicyTagManagerBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public PolicyTagManagerBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PolicyTagManagerBlockingStub(channel, callOptions); - } - }; - return PolicyTagManagerBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static PolicyTagManagerFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public PolicyTagManagerFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PolicyTagManagerFutureStub(channel, callOptions); - } - }; - return PolicyTagManagerFutureStub.newStub(factory, channel); - } - - /** - *
-   * The policy tag manager API service allows clients to manage their taxonomies
-   * and policy tags.
-   * 
- */ - public interface AsyncService { - - /** - *
-     * Creates a taxonomy in the specified project.
-     * 
- */ - default void createTaxonomy(com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTaxonomyMethod(), responseObserver); - } - - /** - *
-     * Deletes a taxonomy. This operation will also delete all
-     * policy tags in this taxonomy along with their associated policies.
-     * 
- */ - default void deleteTaxonomy(com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTaxonomyMethod(), responseObserver); - } - - /** - *
-     * Updates a taxonomy.
-     * 
- */ - default void updateTaxonomy(com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTaxonomyMethod(), responseObserver); - } - - /** - *
-     * Lists all taxonomies in a project in a particular location that the caller
-     * has permission to view.
-     * 
- */ - default void listTaxonomies(com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTaxonomiesMethod(), responseObserver); - } - - /** - *
-     * Gets a taxonomy.
-     * 
- */ - default void getTaxonomy(com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTaxonomyMethod(), responseObserver); - } - - /** - *
-     * Creates a policy tag in the specified taxonomy.
-     * 
- */ - default void createPolicyTag(com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreatePolicyTagMethod(), responseObserver); - } - - /** - *
-     * Deletes a policy tag. Also deletes all of its descendant policy tags.
-     * 
- */ - default void deletePolicyTag(com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePolicyTagMethod(), responseObserver); - } - - /** - *
-     * Updates a policy tag.
-     * 
- */ - default void updatePolicyTag(com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdatePolicyTagMethod(), responseObserver); - } - - /** - *
-     * Lists all policy tags in a taxonomy.
-     * 
- */ - default void listPolicyTags(com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPolicyTagsMethod(), responseObserver); - } - - /** - *
-     * Gets a policy tag.
-     * 
- */ - default void getPolicyTag(com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPolicyTagMethod(), responseObserver); - } - - /** - *
-     * Gets the IAM policy for a taxonomy or a policy tag.
-     * 
- */ - default void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); - } - - /** - *
-     * Sets the IAM policy for a taxonomy or a policy tag.
-     * 
- */ - default void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); - } - - /** - *
-     * Returns the permissions that a caller has on the specified taxonomy or
-     * policy tag.
-     * 
- */ - default void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service PolicyTagManager. - *
-   * The policy tag manager API service allows clients to manage their taxonomies
-   * and policy tags.
-   * 
- */ - public static abstract class PolicyTagManagerImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return PolicyTagManagerGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service PolicyTagManager. - *
-   * The policy tag manager API service allows clients to manage their taxonomies
-   * and policy tags.
-   * 
- */ - public static final class PolicyTagManagerStub - extends io.grpc.stub.AbstractAsyncStub { - private PolicyTagManagerStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected PolicyTagManagerStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PolicyTagManagerStub(channel, callOptions); - } - - /** - *
-     * Creates a taxonomy in the specified project.
-     * 
- */ - public void createTaxonomy(com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTaxonomyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a taxonomy. This operation will also delete all
-     * policy tags in this taxonomy along with their associated policies.
-     * 
- */ - public void deleteTaxonomy(com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTaxonomyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a taxonomy.
-     * 
- */ - public void updateTaxonomy(com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTaxonomyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists all taxonomies in a project in a particular location that the caller
-     * has permission to view.
-     * 
- */ - public void listTaxonomies(com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTaxonomiesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a taxonomy.
-     * 
- */ - public void getTaxonomy(com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTaxonomyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a policy tag in the specified taxonomy.
-     * 
- */ - public void createPolicyTag(com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreatePolicyTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a policy tag. Also deletes all of its descendant policy tags.
-     * 
- */ - public void deletePolicyTag(com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePolicyTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a policy tag.
-     * 
- */ - public void updatePolicyTag(com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdatePolicyTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists all policy tags in a taxonomy.
-     * 
- */ - public void listPolicyTags(com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPolicyTagsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a policy tag.
-     * 
- */ - public void getPolicyTag(com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPolicyTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets the IAM policy for a taxonomy or a policy tag.
-     * 
- */ - 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); - } - - /** - *
-     * Sets the IAM policy for a taxonomy or a policy tag.
-     * 
- */ - 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); - } - - /** - *
-     * Returns the permissions that a caller has on the specified taxonomy or
-     * policy tag.
-     * 
- */ - 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); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service PolicyTagManager. - *
-   * The policy tag manager API service allows clients to manage their taxonomies
-   * and policy tags.
-   * 
- */ - public static final class PolicyTagManagerBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private PolicyTagManagerBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected PolicyTagManagerBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PolicyTagManagerBlockingStub(channel, callOptions); - } - - /** - *
-     * Creates a taxonomy in the specified project.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.Taxonomy createTaxonomy(com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTaxonomyMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a taxonomy. This operation will also delete all
-     * policy tags in this taxonomy along with their associated policies.
-     * 
- */ - public com.google.protobuf.Empty deleteTaxonomy(com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTaxonomyMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a taxonomy.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.Taxonomy updateTaxonomy(com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTaxonomyMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all taxonomies in a project in a particular location that the caller
-     * has permission to view.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse listTaxonomies(com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTaxonomiesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a taxonomy.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomy(com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTaxonomyMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a policy tag in the specified taxonomy.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.PolicyTag createPolicyTag(com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreatePolicyTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a policy tag. Also deletes all of its descendant policy tags.
-     * 
- */ - public com.google.protobuf.Empty deletePolicyTag(com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePolicyTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a policy tag.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.PolicyTag updatePolicyTag(com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdatePolicyTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all policy tags in a taxonomy.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse listPolicyTags(com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPolicyTagsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a policy tag.
-     * 
- */ - public com.google.cloud.datacatalog.v1beta1.PolicyTag getPolicyTag(com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPolicyTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets the IAM policy for a taxonomy or a policy tag.
-     * 
- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Sets the IAM policy for a taxonomy or a policy tag.
-     * 
- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns the permissions that a caller has on the specified taxonomy or
-     * policy tag.
-     * 
- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service PolicyTagManager. - *
-   * The policy tag manager API service allows clients to manage their taxonomies
-   * and policy tags.
-   * 
- */ - public static final class PolicyTagManagerFutureStub - extends io.grpc.stub.AbstractFutureStub { - private PolicyTagManagerFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected PolicyTagManagerFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PolicyTagManagerFutureStub(channel, callOptions); - } - - /** - *
-     * Creates a taxonomy in the specified project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createTaxonomy( - com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTaxonomyMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a taxonomy. This operation will also delete all
-     * policy tags in this taxonomy along with their associated policies.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTaxonomy( - com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTaxonomyMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a taxonomy.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateTaxonomy( - com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTaxonomyMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all taxonomies in a project in a particular location that the caller
-     * has permission to view.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listTaxonomies( - com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTaxonomiesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a taxonomy.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getTaxonomy( - com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTaxonomyMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a policy tag in the specified taxonomy.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createPolicyTag( - com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreatePolicyTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a policy tag. Also deletes all of its descendant policy tags.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deletePolicyTag( - com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePolicyTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a policy tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updatePolicyTag( - com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdatePolicyTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all policy tags in a taxonomy.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listPolicyTags( - com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPolicyTagsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a policy tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getPolicyTag( - com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPolicyTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets the IAM policy for a taxonomy or a policy tag.
-     * 
- */ - 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 IAM policy for a taxonomy or a policy tag.
-     * 
- */ - 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 permissions that a caller has on the specified taxonomy or
-     * policy tag.
-     * 
- */ - 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); - } - } - - private static final int METHODID_CREATE_TAXONOMY = 0; - private static final int METHODID_DELETE_TAXONOMY = 1; - private static final int METHODID_UPDATE_TAXONOMY = 2; - private static final int METHODID_LIST_TAXONOMIES = 3; - private static final int METHODID_GET_TAXONOMY = 4; - private static final int METHODID_CREATE_POLICY_TAG = 5; - private static final int METHODID_DELETE_POLICY_TAG = 6; - private static final int METHODID_UPDATE_POLICY_TAG = 7; - private static final int METHODID_LIST_POLICY_TAGS = 8; - private static final int METHODID_GET_POLICY_TAG = 9; - private static final int METHODID_GET_IAM_POLICY = 10; - private static final int METHODID_SET_IAM_POLICY = 11; - private static final int METHODID_TEST_IAM_PERMISSIONS = 12; - - 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_TAXONOMY: - serviceImpl.createTaxonomy((com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_TAXONOMY: - serviceImpl.deleteTaxonomy((com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_TAXONOMY: - serviceImpl.updateTaxonomy((com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TAXONOMIES: - serviceImpl.listTaxonomies((com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_TAXONOMY: - serviceImpl.getTaxonomy((com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_POLICY_TAG: - serviceImpl.createPolicyTag((com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_POLICY_TAG: - serviceImpl.deletePolicyTag((com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_POLICY_TAG: - serviceImpl.updatePolicyTag((com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_POLICY_TAGS: - serviceImpl.listPolicyTags((com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_POLICY_TAG: - serviceImpl.getPolicyTag((com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_IAM_POLICY: - 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, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) 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( - getCreateTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest, - com.google.cloud.datacatalog.v1beta1.Taxonomy>( - service, METHODID_CREATE_TAXONOMY))) - .addMethod( - getDeleteTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_TAXONOMY))) - .addMethod( - getUpdateTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest, - com.google.cloud.datacatalog.v1beta1.Taxonomy>( - service, METHODID_UPDATE_TAXONOMY))) - .addMethod( - getListTaxonomiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest, - com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse>( - service, METHODID_LIST_TAXONOMIES))) - .addMethod( - getGetTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest, - com.google.cloud.datacatalog.v1beta1.Taxonomy>( - service, METHODID_GET_TAXONOMY))) - .addMethod( - getCreatePolicyTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest, - com.google.cloud.datacatalog.v1beta1.PolicyTag>( - service, METHODID_CREATE_POLICY_TAG))) - .addMethod( - getDeletePolicyTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_POLICY_TAG))) - .addMethod( - getUpdatePolicyTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest, - com.google.cloud.datacatalog.v1beta1.PolicyTag>( - service, METHODID_UPDATE_POLICY_TAG))) - .addMethod( - getListPolicyTagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest, - com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse>( - service, METHODID_LIST_POLICY_TAGS))) - .addMethod( - getGetPolicyTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest, - com.google.cloud.datacatalog.v1beta1.PolicyTag>( - service, METHODID_GET_POLICY_TAG))) - .addMethod( - 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< - 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))) - .build(); - } - - private static abstract class PolicyTagManagerBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - PolicyTagManagerBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("PolicyTagManager"); - } - } - - private static final class PolicyTagManagerFileDescriptorSupplier - extends PolicyTagManagerBaseDescriptorSupplier { - PolicyTagManagerFileDescriptorSupplier() {} - } - - private static final class PolicyTagManagerMethodDescriptorSupplier - extends PolicyTagManagerBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - PolicyTagManagerMethodDescriptorSupplier(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 (PolicyTagManagerGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new PolicyTagManagerFileDescriptorSupplier()) - .addMethod(getCreateTaxonomyMethod()) - .addMethod(getDeleteTaxonomyMethod()) - .addMethod(getUpdateTaxonomyMethod()) - .addMethod(getListTaxonomiesMethod()) - .addMethod(getGetTaxonomyMethod()) - .addMethod(getCreatePolicyTagMethod()) - .addMethod(getDeletePolicyTagMethod()) - .addMethod(getUpdatePolicyTagMethod()) - .addMethod(getListPolicyTagsMethod()) - .addMethod(getGetPolicyTagMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Common.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Common.java deleted file mode 100644 index 08e5e5f665e8..000000000000 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Common.java +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/common.proto - -package com.google.cloud.datacatalog.v1beta1; - -public final class Common { - private Common() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - - 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/datacatalog/v1beta1/commo" + - "n.proto\022 google.cloud.datacatalog.v1beta" + - "1*U\n\020IntegratedSystem\022!\n\035INTEGRATED_SYST" + - "EM_UNSPECIFIED\020\000\022\014\n\010BIGQUERY\020\001\022\020\n\014CLOUD_" + - "PUBSUB\020\002*j\n\016ManagingSystem\022\037\n\033MANAGING_S" + - "YSTEM_UNSPECIFIED\020\000\022\034\n\030MANAGING_SYSTEM_D" + - "ATAPLEX\020\001\022\031\n\025MANAGING_SYSTEM_OTHER\020\002B\337\001\n" + - "$com.google.cloud.datacatalog.v1beta1P\001Z" + - "Fcloud.google.com/go/datacatalog/apiv1be" + - "ta1/datacatalogpb;datacatalogpb\370\001\001\252\002 Goo" + - "gle.Cloud.DataCatalog.V1Beta1\312\002 Google\\C" + - "loud\\DataCatalog\\V1beta1\352\002#Google::Cloud" + - "::DataCatalog::V1beta1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Datacatalog.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Datacatalog.java deleted file mode 100644 index f3d20be68d4c..000000000000 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Datacatalog.java +++ /dev/null @@ -1,766 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/datacatalog.proto - -package com.google.cloud.datacatalog.v1beta1; - -public final class Datacatalog { - private Datacatalog() {} - 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_datacatalog_v1beta1_SearchCatalogRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_Entry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_Entry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n2google/cloud/datacatalog/v1beta1/datac" + - "atalog.proto\022 google.cloud.datacatalog.v" + - "1beta1\032\034google/api/annotations.proto\032\027go" + - "ogle/api/client.proto\032\037google/api/field_" + - "behavior.proto\032\031google/api/resource.prot" + - "o\032-google/cloud/datacatalog/v1beta1/comm" + - "on.proto\0327google/cloud/datacatalog/v1bet" + - "a1/gcs_fileset_spec.proto\032-google/cloud/" + - "datacatalog/v1beta1/schema.proto\032-google" + - "/cloud/datacatalog/v1beta1/search.proto\032" + - "1google/cloud/datacatalog/v1beta1/table_" + - "spec.proto\032+google/cloud/datacatalog/v1b" + - "eta1/tags.proto\0321google/cloud/datacatalo" + - "g/v1beta1/timestamps.proto\032,google/cloud" + - "/datacatalog/v1beta1/usage.proto\032\036google" + - "/iam/v1/iam_policy.proto\032\032google/iam/v1/" + - "policy.proto\032\033google/protobuf/empty.prot" + - "o\032 google/protobuf/field_mask.proto\"\306\002\n\024" + - "SearchCatalogRequest\022Q\n\005scope\030\006 \001(\0132<.go" + - "ogle.cloud.datacatalog.v1beta1.SearchCat" + - "alogRequest.ScopeB\004\342A\001\002\022\023\n\005query\030\001 \001(\tB\004" + - "\342A\001\001\022\021\n\tpage_size\030\002 \001(\005\022\030\n\npage_token\030\003 " + - "\001(\tB\004\342A\001\001\022\020\n\010order_by\030\005 \001(\t\032\206\001\n\005Scope\022\027\n" + - "\017include_org_ids\030\002 \003(\t\022\033\n\023include_projec" + - "t_ids\030\003 \003(\t\022#\n\033include_gcp_public_datase" + - "ts\030\007 \001(\010\022\"\n\024restricted_locations\030\020 \003(\tB\004" + - "\342A\001\001\"\241\001\n\025SearchCatalogResponse\022F\n\007result" + - "s\030\001 \003(\01325.google.cloud.datacatalog.v1bet" + - "a1.SearchCatalogResult\022\022\n\ntotal_size\030\002 \001" + - "(\005\022\027\n\017next_page_token\030\003 \001(\t\022\023\n\013unreachab" + - "le\030\006 \003(\t\"\272\001\n\027CreateEntryGroupRequest\022>\n\006" + - "parent\030\001 \001(\tB.\342A\001\002\372A\'\022%datacatalog.googl" + - "eapis.com/EntryGroup\022\034\n\016entry_group_id\030\003" + - " \001(\tB\004\342A\001\002\022A\n\013entry_group\030\002 \001(\0132,.google" + - ".cloud.datacatalog.v1beta1.EntryGroup\"\223\001" + - "\n\027UpdateEntryGroupRequest\022G\n\013entry_group" + - "\030\001 \001(\0132,.google.cloud.datacatalog.v1beta" + - "1.EntryGroupB\004\342A\001\002\022/\n\013update_mask\030\002 \001(\0132" + - "\032.google.protobuf.FieldMask\"\203\001\n\024GetEntry" + - "GroupRequest\022<\n\004name\030\001 \001(\tB.\342A\001\002\372A\'\n%dat" + - "acatalog.googleapis.com/EntryGroup\022-\n\tre" + - "ad_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" + - "k\"l\n\027DeleteEntryGroupRequest\022<\n\004name\030\001 \001" + - "(\tB.\342A\001\002\372A\'\n%datacatalog.googleapis.com/" + - "EntryGroup\022\023\n\005force\030\002 \001(\010B\004\342A\001\001\"\213\001\n\026List" + - "EntryGroupsRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002" + - "\372A\'\022%datacatalog.googleapis.com/EntryGro" + - "up\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\"v\n\027ListEntryGroupsResponse" + - "\022B\n\014entry_groups\030\001 \003(\0132,.google.cloud.da" + - "tacatalog.v1beta1.EntryGroup\022\027\n\017next_pag" + - "e_token\030\002 \001(\t\"\252\001\n\022CreateEntryRequest\022>\n\006" + - "parent\030\001 \001(\tB.\342A\001\002\372A\'\n%datacatalog.googl" + - "eapis.com/EntryGroup\022\026\n\010entry_id\030\003 \001(\tB\004" + - "\342A\001\002\022<\n\005entry\030\002 \001(\0132\'.google.cloud.datac" + - "atalog.v1beta1.EntryB\004\342A\001\002\"\203\001\n\022UpdateEnt" + - "ryRequest\022<\n\005entry\030\001 \001(\0132\'.google.cloud." + - "datacatalog.v1beta1.EntryB\004\342A\001\002\022/\n\013updat" + - "e_mask\030\002 \001(\0132\032.google.protobuf.FieldMask" + - "\"M\n\022DeleteEntryRequest\0227\n\004name\030\001 \001(\tB)\342A" + - "\001\002\372A\"\n datacatalog.googleapis.com/Entry\"" + - "J\n\017GetEntryRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A" + - "\"\n datacatalog.googleapis.com/Entry\"V\n\022L" + - "ookupEntryRequest\022\031\n\017linked_resource\030\001 \001" + - "(\tH\000\022\026\n\014sql_resource\030\003 \001(\tH\000B\r\n\013target_n" + - "ame\"\340\007\n\005Entry\022<\n\004name\030\001 \001(\tB.\342A\001\003\372A\'\n%da" + - "tacatalog.googleapis.com/EntryGroup\022\027\n\017l" + - "inked_resource\030\t \001(\t\022;\n\004type\030\002 \001(\0162+.goo" + - "gle.cloud.datacatalog.v1beta1.EntryTypeH" + - "\000\022\035\n\023user_specified_type\030\020 \001(\tH\000\022U\n\021inte" + - "grated_system\030\021 \001(\01622.google.cloud.datac" + - "atalog.v1beta1.IntegratedSystemB\004\342A\001\003H\001\022" + - "\037\n\025user_specified_system\030\022 \001(\tH\001\022L\n\020gcs_" + - "fileset_spec\030\006 \001(\01320.google.cloud.dataca" + - "talog.v1beta1.GcsFilesetSpecH\002\022R\n\023bigque" + - "ry_table_spec\030\014 \001(\01323.google.cloud.datac" + - "atalog.v1beta1.BigQueryTableSpecH\002\022_\n\032bi" + - "gquery_date_sharded_spec\030\017 \001(\01329.google." + - "cloud.datacatalog.v1beta1.BigQueryDateSh" + - "ardedSpecH\002\022\024\n\014display_name\030\003 \001(\t\022\023\n\013des" + - "cription\030\004 \001(\t\0228\n\006schema\030\005 \001(\0132(.google." + - "cloud.datacatalog.v1beta1.Schema\022Z\n\030sour" + - "ce_system_timestamps\030\007 \001(\01322.google.clou" + - "d.datacatalog.v1beta1.SystemTimestampsB\004" + - "\342A\001\003\022I\n\014usage_signal\030\r \001(\0132-.google.clou" + - "d.datacatalog.v1beta1.UsageSignalB\004\342A\001\003:" + - "x\352Au\n datacatalog.googleapis.com/Entry\022Q" + - "projects/{project}/locations/{location}/" + - "entryGroups/{entry_group}/entries/{entry" + - "}B\014\n\nentry_typeB\010\n\006systemB\013\n\ttype_spec\"\217" + - "\002\n\nEntryGroup\022\014\n\004name\030\001 \001(\t\022\024\n\014display_n" + - "ame\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022Y\n\027data_c" + - "atalog_timestamps\030\004 \001(\01322.google.cloud.d" + - "atacatalog.v1beta1.SystemTimestampsB\004\342A\001" + - "\003:m\352Aj\n%datacatalog.googleapis.com/Entry" + - "Group\022Aprojects/{project}/locations/{loc" + - "ation}/entryGroups/{entry_group}\"\305\001\n\030Cre" + - "ateTagTemplateRequest\022?\n\006parent\030\001 \001(\tB/\342" + - "A\001\002\372A(\022&datacatalog.googleapis.com/TagTe" + - "mplate\022\035\n\017tag_template_id\030\003 \001(\tB\004\342A\001\002\022I\n" + - "\014tag_template\030\002 \001(\0132-.google.cloud.datac" + - "atalog.v1beta1.TagTemplateB\004\342A\001\002\"V\n\025GetT" + - "agTemplateRequest\022=\n\004name\030\001 \001(\tB/\342A\001\002\372A(" + - "\n&datacatalog.googleapis.com/TagTemplate" + - "\"\226\001\n\030UpdateTagTemplateRequest\022I\n\014tag_tem" + - "plate\030\001 \001(\0132-.google.cloud.datacatalog.v" + - "1beta1.TagTemplateB\004\342A\001\002\022/\n\013update_mask\030" + - "\002 \001(\0132\032.google.protobuf.FieldMask\"n\n\030Del" + - "eteTagTemplateRequest\022=\n\004name\030\001 \001(\tB/\342A\001" + - "\002\372A(\n&datacatalog.googleapis.com/TagTemp" + - "late\022\023\n\005force\030\002 \001(\010B\004\342A\001\002\"\205\001\n\020CreateTagR" + - "equest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036datacat" + - "alog.googleapis.com/Tag\0228\n\003tag\030\002 \001(\0132%.g" + - "oogle.cloud.datacatalog.v1beta1.TagB\004\342A\001" + - "\002\"}\n\020UpdateTagRequest\0228\n\003tag\030\001 \001(\0132%.goo" + - "gle.cloud.datacatalog.v1beta1.TagB\004\342A\001\002\022" + - "/\n\013update_mask\030\002 \001(\0132\032.google.protobuf.F" + - "ieldMask\"I\n\020DeleteTagRequest\0225\n\004name\030\001 \001" + - "(\tB\'\342A\001\002\372A \022\036datacatalog.googleapis.com/" + - "Tag\"\333\001\n\035CreateTagTemplateFieldRequest\022?\n" + - "\006parent\030\001 \001(\tB/\342A\001\002\372A(\n&datacatalog.goog" + - "leapis.com/TagTemplate\022#\n\025tag_template_f" + - "ield_id\030\002 \001(\tB\004\342A\001\002\022T\n\022tag_template_fiel" + - "d\030\003 \001(\01322.google.cloud.datacatalog.v1bet" + - "a1.TagTemplateFieldB\004\342A\001\002\"\360\001\n\035UpdateTagT" + - "emplateFieldRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372" + - "A-\n+datacatalog.googleapis.com/TagTempla" + - "teField\022T\n\022tag_template_field\030\002 \001(\01322.go" + - "ogle.cloud.datacatalog.v1beta1.TagTempla" + - "teFieldB\004\342A\001\002\0225\n\013update_mask\030\003 \001(\0132\032.goo" + - "gle.protobuf.FieldMaskB\004\342A\001\001\"\214\001\n\035RenameT" + - "agTemplateFieldRequest\022B\n\004name\030\001 \001(\tB4\342A" + - "\001\002\372A-\n+datacatalog.googleapis.com/TagTem" + - "plateField\022\'\n\031new_tag_template_field_id\030" + - "\002 \001(\tB\004\342A\001\002\"\240\001\n&RenameTagTemplateFieldEn" + - "umValueRequest\022K\n\004name\030\001 \001(\tB=\342A\001\002\372A6\n4d" + - "atacatalog.googleapis.com/TagTemplateFie" + - "ldEnumValue\022)\n\033new_enum_value_display_na" + - "me\030\002 \001(\tB\004\342A\001\002\"x\n\035DeleteTagTemplateField" + - "Request\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+datacata" + - "log.googleapis.com/TagTemplateField\022\023\n\005f" + - "orce\030\002 \001(\010B\004\342A\001\002\"q\n\017ListTagsRequest\0227\n\006p" + - "arent\030\001 \001(\tB\'\342A\001\002\372A \022\036datacatalog.google" + - "apis.com/Tag\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_" + - "token\030\003 \001(\t\"`\n\020ListTagsResponse\0223\n\004tags\030" + - "\001 \003(\0132%.google.cloud.datacatalog.v1beta1" + - ".Tag\022\027\n\017next_page_token\030\002 \001(\t\"\252\001\n\022ListEn" + - "triesRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n%d" + - "atacatalog.googleapis.com/EntryGroup\022\021\n\t" + - "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022-\n\tr" + - "ead_mask\030\004 \001(\0132\032.google.protobuf.FieldMa" + - "sk\"h\n\023ListEntriesResponse\0228\n\007entries\030\001 \003" + - "(\0132\'.google.cloud.datacatalog.v1beta1.En" + - "try\022\027\n\017next_page_token\030\002 \001(\t*[\n\tEntryTyp" + - "e\022\032\n\026ENTRY_TYPE_UNSPECIFIED\020\000\022\t\n\005TABLE\020\002" + - "\022\t\n\005MODEL\020\005\022\017\n\013DATA_STREAM\020\003\022\013\n\007FILESET\020" + - "\0042\3414\n\013DataCatalog\022\262\001\n\rSearchCatalog\0226.go" + - "ogle.cloud.datacatalog.v1beta1.SearchCat" + - "alogRequest\0327.google.cloud.datacatalog.v" + - "1beta1.SearchCatalogResponse\"0\332A\013scope,q" + - "uery\202\323\344\223\002\034\"\027/v1beta1/catalog:search:\001*\022\352" + - "\001\n\020CreateEntryGroup\0229.google.cloud.datac" + - "atalog.v1beta1.CreateEntryGroupRequest\032," + - ".google.cloud.datacatalog.v1beta1.EntryG" + - "roup\"m\332A!parent,entry_group_id,entry_gro" + - "up\202\323\344\223\002C\"4/v1beta1/{parent=projects/*/lo" + - "cations/*}/entryGroups:\013entry_group\022\372\001\n\020" + - "UpdateEntryGroup\0229.google.cloud.datacata" + - "log.v1beta1.UpdateEntryGroupRequest\032,.go" + - "ogle.cloud.datacatalog.v1beta1.EntryGrou" + - "p\"}\332A\013entry_group\332A\027entry_group,update_m" + - "ask\202\323\344\223\002O2@/v1beta1/{entry_group.name=pr" + - "ojects/*/locations/*/entryGroups/*}:\013ent" + - "ry_group\022\313\001\n\rGetEntryGroup\0226.google.clou" + - "d.datacatalog.v1beta1.GetEntryGroupReque" + - "st\032,.google.cloud.datacatalog.v1beta1.En" + - "tryGroup\"T\332A\004name\332A\016name,read_mask\202\323\344\223\0026" + - "\0224/v1beta1/{name=projects/*/locations/*/" + - "entryGroups/*}\022\252\001\n\020DeleteEntryGroup\0229.go" + - "ogle.cloud.datacatalog.v1beta1.DeleteEnt" + - "ryGroupRequest\032\026.google.protobuf.Empty\"C" + - "\332A\004name\202\323\344\223\0026*4/v1beta1/{name=projects/*" + - "/locations/*/entryGroups/*}\022\315\001\n\017ListEntr" + - "yGroups\0228.google.cloud.datacatalog.v1bet" + - "a1.ListEntryGroupsRequest\0329.google.cloud" + - ".datacatalog.v1beta1.ListEntryGroupsResp" + - "onse\"E\332A\006parent\202\323\344\223\0026\0224/v1beta1/{parent=" + - "projects/*/locations/*}/entryGroups\022\323\001\n\013" + - "CreateEntry\0224.google.cloud.datacatalog.v" + - "1beta1.CreateEntryRequest\032\'.google.cloud" + - ".datacatalog.v1beta1.Entry\"e\332A\025parent,en" + - "try_id,entry\202\323\344\223\002G\">/v1beta1/{parent=pro" + - "jects/*/locations/*/entryGroups/*}/entri" + - "es:\005entry\022\335\001\n\013UpdateEntry\0224.google.cloud" + - ".datacatalog.v1beta1.UpdateEntryRequest\032" + - "\'.google.cloud.datacatalog.v1beta1.Entry" + - "\"o\332A\005entry\332A\021entry,update_mask\202\323\344\223\002M2D/v" + - "1beta1/{entry.name=projects/*/locations/" + - "*/entryGroups/*/entries/*}:\005entry\022\252\001\n\013De" + - "leteEntry\0224.google.cloud.datacatalog.v1b" + - "eta1.DeleteEntryRequest\032\026.google.protobu" + - "f.Empty\"M\332A\004name\202\323\344\223\002@*>/v1beta1/{name=p" + - "rojects/*/locations/*/entryGroups/*/entr" + - "ies/*}\022\265\001\n\010GetEntry\0221.google.cloud.datac" + - "atalog.v1beta1.GetEntryRequest\032\'.google." + - "cloud.datacatalog.v1beta1.Entry\"M\332A\004name" + - "\202\323\344\223\002@\022>/v1beta1/{name=projects/*/locati" + - "ons/*/entryGroups/*/entries/*}\022\215\001\n\013Looku" + - "pEntry\0224.google.cloud.datacatalog.v1beta" + - "1.LookupEntryRequest\032\'.google.cloud.data" + - "catalog.v1beta1.Entry\"\037\202\323\344\223\002\031\022\027/v1beta1/" + - "entries:lookup\022\313\001\n\013ListEntries\0224.google." + - "cloud.datacatalog.v1beta1.ListEntriesReq" + - "uest\0325.google.cloud.datacatalog.v1beta1." + - "ListEntriesResponse\"O\332A\006parent\202\323\344\223\002@\022>/v" + - "1beta1/{parent=projects/*/locations/*/en" + - "tryGroups/*}/entries\022\361\001\n\021CreateTagTempla" + - "te\022:.google.cloud.datacatalog.v1beta1.Cr" + - "eateTagTemplateRequest\032-.google.cloud.da" + - "tacatalog.v1beta1.TagTemplate\"q\332A#parent" + - ",tag_template_id,tag_template\202\323\344\223\002E\"5/v1" + - "beta1/{parent=projects/*/locations/*}/ta" + - "gTemplates:\014tag_template\022\276\001\n\016GetTagTempl" + - "ate\0227.google.cloud.datacatalog.v1beta1.G" + - "etTagTemplateRequest\032-.google.cloud.data" + - "catalog.v1beta1.TagTemplate\"D\332A\004name\202\323\344\223" + - "\0027\0225/v1beta1/{name=projects/*/locations/" + - "*/tagTemplates/*}\022\203\002\n\021UpdateTagTemplate\022" + - ":.google.cloud.datacatalog.v1beta1.Updat" + - "eTagTemplateRequest\032-.google.cloud.datac" + - "atalog.v1beta1.TagTemplate\"\202\001\332A\014tag_temp" + - "late\332A\030tag_template,update_mask\202\323\344\223\002R2B/" + - "v1beta1/{tag_template.name=projects/*/lo" + - "cations/*/tagTemplates/*}:\014tag_template\022" + - "\263\001\n\021DeleteTagTemplate\022:.google.cloud.dat" + - "acatalog.v1beta1.DeleteTagTemplateReques" + - "t\032\026.google.protobuf.Empty\"J\332A\nname,force" + - "\202\323\344\223\0027*5/v1beta1/{name=projects/*/locati" + - "ons/*/tagTemplates/*}\022\234\002\n\026CreateTagTempl" + - "ateField\022?.google.cloud.datacatalog.v1be" + - "ta1.CreateTagTemplateFieldRequest\0322.goog" + - "le.cloud.datacatalog.v1beta1.TagTemplate" + - "Field\"\214\001\332A/parent,tag_template_field_id," + - "tag_template_field\202\323\344\223\002T\">/v1beta1/{pare" + - "nt=projects/*/locations/*/tagTemplates/*" + - "}/fields:\022tag_template_field\022\252\002\n\026UpdateT" + - "agTemplateField\022?.google.cloud.datacatal" + - "og.v1beta1.UpdateTagTemplateFieldRequest" + - "\0322.google.cloud.datacatalog.v1beta1.TagT" + - "emplateField\"\232\001\332A\027name,tag_template_fiel" + - "d\332A#name,tag_template_field,update_mask\202" + - "\323\344\223\002T2>/v1beta1/{name=projects/*/locatio" + - "ns/*/tagTemplates/*/fields/*}:\022tag_templ" + - "ate_field\022\200\002\n\026RenameTagTemplateField\022?.g" + - "oogle.cloud.datacatalog.v1beta1.RenameTa" + - "gTemplateFieldRequest\0322.google.cloud.dat" + - "acatalog.v1beta1.TagTemplateField\"q\332A\036na" + - "me,new_tag_template_field_id\202\323\344\223\002J\"E/v1b" + - "eta1/{name=projects/*/locations/*/tagTem" + - "plates/*/fields/*}:rename:\001*\022\242\002\n\037RenameT" + - "agTemplateFieldEnumValue\022H.google.cloud." + - "datacatalog.v1beta1.RenameTagTemplateFie" + - "ldEnumValueRequest\0322.google.cloud.dataca" + - "talog.v1beta1.TagTemplateField\"\200\001\332A name" + - ",new_enum_value_display_name\202\323\344\223\002W\"R/v1b" + - "eta1/{name=projects/*/locations/*/tagTem" + - "plates/*/fields/*/enumValues/*}:rename:\001" + - "*\022\306\001\n\026DeleteTagTemplateField\022?.google.cl" + - "oud.datacatalog.v1beta1.DeleteTagTemplat" + - "eFieldRequest\032\026.google.protobuf.Empty\"S\332" + - "A\nname,force\202\323\344\223\002@*>/v1beta1/{name=proje" + - "cts/*/locations/*/tagTemplates/*/fields/" + - "*}\022\215\002\n\tCreateTag\0222.google.cloud.datacata" + - "log.v1beta1.CreateTagRequest\032%.google.cl" + - "oud.datacatalog.v1beta1.Tag\"\244\001\332A\nparent," + - "tag\202\323\344\223\002\220\001\"E/v1beta1/{parent=projects/*/" + - "locations/*/entryGroups/*/entries/*}/tag" + - "s:\003tagZB\";/v1beta1/{parent=projects/*/lo" + - "cations/*/entryGroups/*}/tags:\003tag\022\240\002\n\tU" + - "pdateTag\0222.google.cloud.datacatalog.v1be" + - "ta1.UpdateTagRequest\032%.google.cloud.data" + - "catalog.v1beta1.Tag\"\267\001\332A\003tag\332A\017tag,updat" + - "e_mask\202\323\344\223\002\230\0012I/v1beta1/{tag.name=projec" + - "ts/*/locations/*/entryGroups/*/entries/*" + - "/tags/*}:\003tagZF2?/v1beta1/{tag.name=proj" + - "ects/*/locations/*/entryGroups/*/tags/*}" + - ":\003tag\022\356\001\n\tDeleteTag\0222.google.cloud.datac" + - "atalog.v1beta1.DeleteTagRequest\032\026.google" + - ".protobuf.Empty\"\224\001\332A\004name\202\323\344\223\002\206\001*E/v1bet" + - "a1/{name=projects/*/locations/*/entryGro" + - "ups/*/entries/*/tags/*}Z=*;/v1beta1/{nam" + - "e=projects/*/locations/*/entryGroups/*/t" + - "ags/*}\022\212\002\n\010ListTags\0221.google.cloud.datac" + - "atalog.v1beta1.ListTagsRequest\0322.google." + - "cloud.datacatalog.v1beta1.ListTagsRespon" + - "se\"\226\001\332A\006parent\202\323\344\223\002\206\001\022E/v1beta1/{parent=" + - "projects/*/locations/*/entryGroups/*/ent" + - "ries/*}/tagsZ=\022;/v1beta1/{parent=project" + - "s/*/locations/*/entryGroups/*}/tags\022\374\001\n\014" + - "SetIamPolicy\022\".google.iam.v1.SetIamPolic" + - "yRequest\032\025.google.iam.v1.Policy\"\260\001\332A\017res" + - "ource,policy\202\323\344\223\002\227\001\"F/v1beta1/{resource=" + - "projects/*/locations/*/tagTemplates/*}:s" + - "etIamPolicy:\001*ZJ\"E/v1beta1/{resource=pro" + - "jects/*/locations/*/entryGroups/*}:setIa" + - "mPolicy:\001*\022\313\002\n\014GetIamPolicy\022\".google.iam" + - ".v1.GetIamPolicyRequest\032\025.google.iam.v1." + - "Policy\"\377\001\332A\010resource\202\323\344\223\002\355\001\"F/v1beta1/{r" + - "esource=projects/*/locations/*/tagTempla" + - "tes/*}:getIamPolicy:\001*ZJ\"E/v1beta1/{reso" + - "urce=projects/*/locations/*/entryGroups/" + - "*}:getIamPolicy:\001*ZT\"O/v1beta1/{resource" + - "=projects/*/locations/*/entryGroups/*/en" + - "tries/*}:getIamPolicy:\001*\022\362\002\n\022TestIamPerm" + - "issions\022(.google.iam.v1.TestIamPermissio" + - "nsRequest\032).google.iam.v1.TestIamPermiss" + - "ionsResponse\"\206\002\202\323\344\223\002\377\001\"L/v1beta1/{resour" + - "ce=projects/*/locations/*/tagTemplates/*" + - "}:testIamPermissions:\001*ZP\"K/v1beta1/{res" + - "ource=projects/*/locations/*/entryGroups" + - "/*}:testIamPermissions:\001*ZZ\"U/v1beta1/{r" + - "esource=projects/*/locations/*/entryGrou" + - "ps/*/entries/*}:testIamPermissions:\001*\032N\312" + - "A\032datacatalog.googleapis.com\322A.https://w" + - "ww.googleapis.com/auth/cloud-platformB\243\003" + - "\n$com.google.cloud.datacatalog.v1beta1P\001" + - "ZFcloud.google.com/go/datacatalog/apiv1b" + - "eta1/datacatalogpb;datacatalogpb\370\001\001\252\002 Go" + - "ogle.Cloud.DataCatalog.V1Beta1\312\002 Google\\" + - "Cloud\\DataCatalog\\V1beta1\352\002#Google::Clou" + - "d::DataCatalog::V1beta1\352A\300\001\n4datacatalog" + - ".googleapis.com/TagTemplateFieldEnumValu" + - "e\022\207\001projects/{project}/locations/{locati" + - "on}/tagTemplates/{tag_template}/fields/{" + - "tag_template_field_id}/enumValues/{enum_" + - "value_display_name}b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.datacatalog.v1beta1.Common.getDescriptor(), - com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass.getDescriptor(), - com.google.cloud.datacatalog.v1beta1.SchemaOuterClass.getDescriptor(), - com.google.cloud.datacatalog.v1beta1.Search.getDescriptor(), - com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.getDescriptor(), - com.google.cloud.datacatalog.v1beta1.Tags.getDescriptor(), - com.google.cloud.datacatalog.v1beta1.Timestamps.getDescriptor(), - com.google.cloud.datacatalog.v1beta1.Usage.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_descriptor, - new java.lang.String[] { "Scope", "Query", "PageSize", "PageToken", "OrderBy", }); - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_descriptor = - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_descriptor, - new java.lang.String[] { "IncludeOrgIds", "IncludeProjectIds", "IncludeGcpPublicDatasets", "RestrictedLocations", }); - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_descriptor, - new java.lang.String[] { "Results", "TotalSize", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_descriptor, - new java.lang.String[] { "Parent", "EntryGroupId", "EntryGroup", }); - internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_descriptor, - new java.lang.String[] { "EntryGroup", "UpdateMask", }); - internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_descriptor, - new java.lang.String[] { "Name", "ReadMask", }); - internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_descriptor, - new java.lang.String[] { "Name", "Force", }); - internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_descriptor, - new java.lang.String[] { "EntryGroups", "NextPageToken", }); - internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_descriptor, - new java.lang.String[] { "Parent", "EntryId", "Entry", }); - internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_descriptor, - new java.lang.String[] { "Entry", "UpdateMask", }); - internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_descriptor, - new java.lang.String[] { "LinkedResource", "SqlResource", "TargetName", }); - internal_static_google_cloud_datacatalog_v1beta1_Entry_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_datacatalog_v1beta1_Entry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_Entry_descriptor, - new java.lang.String[] { "Name", "LinkedResource", "Type", "UserSpecifiedType", "IntegratedSystem", "UserSpecifiedSystem", "GcsFilesetSpec", "BigqueryTableSpec", "BigqueryDateShardedSpec", "DisplayName", "Description", "Schema", "SourceSystemTimestamps", "UsageSignal", "EntryType", "System", "TypeSpec", }); - internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_descriptor, - new java.lang.String[] { "Name", "DisplayName", "Description", "DataCatalogTimestamps", }); - internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_descriptor, - new java.lang.String[] { "Parent", "TagTemplateId", "TagTemplate", }); - internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_descriptor, - new java.lang.String[] { "TagTemplate", "UpdateMask", }); - internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_descriptor, - new java.lang.String[] { "Name", "Force", }); - internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_descriptor, - new java.lang.String[] { "Parent", "Tag", }); - internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_descriptor, - new java.lang.String[] { "Tag", "UpdateMask", }); - internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_descriptor, - new java.lang.String[] { "Parent", "TagTemplateFieldId", "TagTemplateField", }); - internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_descriptor, - new java.lang.String[] { "Name", "TagTemplateField", "UpdateMask", }); - internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_descriptor, - new java.lang.String[] { "Name", "NewTagTemplateFieldId", }); - internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_descriptor, - new java.lang.String[] { "Name", "NewEnumValueDisplayName", }); - internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_descriptor, - new java.lang.String[] { "Name", "Force", }); - internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_descriptor, - new java.lang.String[] { "Tags", "NextPageToken", }); - internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "ReadMask", }); - internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_descriptor, - new java.lang.String[] { "Entries", "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.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.datacatalog.v1beta1.Common.getDescriptor(); - com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass.getDescriptor(); - com.google.cloud.datacatalog.v1beta1.SchemaOuterClass.getDescriptor(); - com.google.cloud.datacatalog.v1beta1.Search.getDescriptor(); - com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.getDescriptor(); - com.google.cloud.datacatalog.v1beta1.Tags.getDescriptor(); - com.google.cloud.datacatalog.v1beta1.Timestamps.getDescriptor(); - com.google.cloud.datacatalog.v1beta1.Usage.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequestOrBuilder.java deleted file mode 100644 index b0c3959c85d3..000000000000 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequestOrBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/datacatalog.proto - -package com.google.cloud.datacatalog.v1beta1; - -public interface DeleteEntryGroupRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the entry group. For example,
-   * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the entry group. For example,
-   * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-   * Optional. If true, deletes all entries in the entry group.
-   * 
- * - * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return The force. - */ - boolean getForce(); -} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequestOrBuilder.java deleted file mode 100644 index 1d1e404f02ef..000000000000 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/datacatalog.proto - -package com.google.cloud.datacatalog.v1beta1; - -public interface DeleteEntryRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.DeleteEntryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the entry. Example:
-   *
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the entry. Example:
-   *
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_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-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequestOrBuilder.java deleted file mode 100644 index e7e3af3027c9..000000000000 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/policytagmanager.proto - -package com.google.cloud.datacatalog.v1beta1; - -public interface DeletePolicyTagRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Resource name of the policy tag to be deleted. All of its
-   * descendant policy tags will also be deleted.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Resource name of the policy tag to be deleted. All of its
-   * descendant policy tags will also be deleted.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequestOrBuilder.java deleted file mode 100644 index ef66869a535f..000000000000 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/datacatalog.proto - -package com.google.cloud.datacatalog.v1beta1; - -public interface DeleteTagRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.DeleteTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the tag to delete. Example:
-   *
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the tag to delete. Example:
-   *
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_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-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequestOrBuilder.java deleted file mode 100644 index 0facb797a4c2..000000000000 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/policytagmanager.proto - -package com.google.cloud.datacatalog.v1beta1; - -public interface DeleteTaxonomyRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Resource name of the taxonomy to be deleted. All policy tags in
-   * this taxonomy will also be deleted.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Resource name of the taxonomy to be deleted. All policy tags in
-   * this taxonomy will also be deleted.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOuterClass.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOuterClass.java deleted file mode 100644 index 36a9d3c2e4be..000000000000 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOuterClass.java +++ /dev/null @@ -1,83 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto - -package com.google.cloud.datacatalog.v1beta1; - -public final class GcsFilesetSpecOuterClass { - private GcsFilesetSpecOuterClass() {} - 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_datacatalog_v1beta1_GcsFilesetSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n7google/cloud/datacatalog/v1beta1/gcs_f" + - "ileset_spec.proto\022 google.cloud.datacata" + - "log.v1beta1\032\037google/api/field_behavior.p" + - "roto\0321google/cloud/datacatalog/v1beta1/t" + - "imestamps.proto\"\201\001\n\016GcsFilesetSpec\022\033\n\rfi" + - "le_patterns\030\001 \003(\tB\004\342A\001\002\022R\n\025sample_gcs_fi" + - "le_specs\030\002 \003(\0132-.google.cloud.datacatalo" + - "g.v1beta1.GcsFileSpecB\004\342A\001\003\"\222\001\n\013GcsFileS" + - "pec\022\027\n\tfile_path\030\001 \001(\tB\004\342A\001\002\022P\n\016gcs_time" + - "stamps\030\002 \001(\01322.google.cloud.datacatalog." + - "v1beta1.SystemTimestampsB\004\342A\001\003\022\030\n\nsize_b" + - "ytes\030\004 \001(\003B\004\342A\001\003B\337\001\n$com.google.cloud.da" + - "tacatalog.v1beta1P\001ZFcloud.google.com/go" + - "/datacatalog/apiv1beta1/datacatalogpb;da" + - "tacatalogpb\370\001\001\252\002 Google.Cloud.DataCatalo" + - "g.V1Beta1\312\002 Google\\Cloud\\DataCatalog\\V1b" + - "eta1\352\002#Google::Cloud::DataCatalog::V1bet" + - "a1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.cloud.datacatalog.v1beta1.Timestamps.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_GcsFilesetSpec_descriptor, - new java.lang.String[] { "FilePatterns", "SampleGcsFileSpecs", }); - internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_GcsFileSpec_descriptor, - new java.lang.String[] { "FilePath", "GcsTimestamps", "SizeBytes", }); - 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.datacatalog.v1beta1.Timestamps.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequestOrBuilder.java deleted file mode 100644 index 998a7ecea3dc..000000000000 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/datacatalog.proto - -package com.google.cloud.datacatalog.v1beta1; - -public interface GetEntryRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.GetEntryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the entry. Example:
-   *
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the entry. Example:
-   *
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_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-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequestOrBuilder.java deleted file mode 100644 index 5084d5b4e2a9..000000000000 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/policytagmanager.proto - -package com.google.cloud.datacatalog.v1beta1; - -public interface GetPolicyTagRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.GetPolicyTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Resource name of the requested policy tag.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Resource name of the requested policy tag.
-   * 
- * - * 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-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequestOrBuilder.java deleted file mode 100644 index 168dcd1665dd..000000000000 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/datacatalog.proto - -package com.google.cloud.datacatalog.v1beta1; - -public interface GetTagTemplateRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.GetTagTemplateRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the tag template. Example:
-   *
-   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the tag template. Example:
-   *
-   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_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-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequestOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequestOrBuilder.java deleted file mode 100644 index 583f9af7456e..000000000000 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/policytagmanager.proto - -package com.google.cloud.datacatalog.v1beta1; - -public interface GetTaxonomyRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.GetTaxonomyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Resource name of the requested taxonomy.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Resource name of the requested taxonomy.
-   * 
- * - * 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-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSourceOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSourceOrBuilder.java deleted file mode 100644 index 5aafff61ceb7..000000000000 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSourceOrBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto - -package com.google.cloud.datacatalog.v1beta1; - -public interface InlineSourceOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.InlineSource) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Taxonomies to be imported.
-   * 
- * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - java.util.List - getTaxonomiesList(); - /** - *
-   * Required. Taxonomies to be imported.
-   * 
- * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy getTaxonomies(int index); - /** - *
-   * Required. Taxonomies to be imported.
-   * 
- * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - int getTaxonomiesCount(); - /** - *
-   * Required. Taxonomies to be imported.
-   * 
- * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - java.util.List - getTaxonomiesOrBuilderList(); - /** - *
-   * Required. Taxonomies to be imported.
-   * 
- * - * repeated .google.cloud.datacatalog.v1beta1.SerializedTaxonomy taxonomies = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder getTaxonomiesOrBuilder( - int index); -} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerProto.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerProto.java deleted file mode 100644 index 15ce6c3c133e..000000000000 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerProto.java +++ /dev/null @@ -1,379 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/policytagmanager.proto - -package com.google.cloud.datacatalog.v1beta1; - -public final class PolicyTagManagerProto { - private PolicyTagManagerProto() {} - 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_datacatalog_v1beta1_Taxonomy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_Service_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_Service_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_PolicyTag_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_PolicyTag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_CreateTaxonomyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_CreateTaxonomyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_DeleteTaxonomyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_DeleteTaxonomyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_UpdateTaxonomyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_UpdateTaxonomyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_ListTaxonomiesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_GetTaxonomyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_GetTaxonomyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_CreatePolicyTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_CreatePolicyTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_DeletePolicyTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_DeletePolicyTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_UpdatePolicyTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_UpdatePolicyTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_ListPolicyTagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_GetPolicyTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_GetPolicyTagRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n7google/cloud/datacatalog/v1beta1/polic" + - "ytagmanager.proto\022 google.cloud.datacata" + - "log.v1beta1\032\034google/api/annotations.prot" + - "o\032\027google/api/client.proto\032\037google/api/f" + - "ield_behavior.proto\032\031google/api/resource" + - ".proto\032-google/cloud/datacatalog/v1beta1" + - "/common.proto\0321google/cloud/datacatalog/" + - "v1beta1/timestamps.proto\032\036google/iam/v1/" + - "iam_policy.proto\032\032google/iam/v1/policy.p" + - "roto\032\033google/protobuf/empty.proto\032 googl" + - "e/protobuf/field_mask.proto\"\206\005\n\010Taxonomy" + - "\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\032\n\014display_name\030\002 \001" + - "(\tB\004\342A\001\002\022\031\n\013description\030\003 \001(\tB\004\342A\001\001\022\036\n\020p" + - "olicy_tag_count\030\004 \001(\005B\004\342A\001\003\022U\n\023taxonomy_" + - "timestamps\030\005 \001(\01322.google.cloud.datacata" + - "log.v1beta1.SystemTimestampsB\004\342A\001\003\022[\n\026ac" + - "tivated_policy_types\030\006 \003(\01625.google.clou" + - "d.datacatalog.v1beta1.Taxonomy.PolicyTyp" + - "eB\004\342A\001\001\022I\n\007service\030\007 \001(\01322.google.cloud." + - "datacatalog.v1beta1.Taxonomy.ServiceB\004\342A" + - "\001\003\032[\n\007Service\022>\n\004name\030\001 \001(\01620.google.clo" + - "ud.datacatalog.v1beta1.ManagingSystem\022\020\n" + - "\010identity\030\002 \001(\t\"J\n\nPolicyType\022\033\n\027POLICY_" + - "TYPE_UNSPECIFIED\020\000\022\037\n\033FINE_GRAINED_ACCES" + - "S_CONTROL\020\001:g\352Ad\n#datacatalog.googleapis" + - ".com/Taxonomy\022=projects/{project}/locati" + - "ons/{location}/taxonomies/{taxonomy}\"\217\002\n" + - "\tPolicyTag\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\032\n\014displa" + - "y_name\030\002 \001(\tB\004\342A\001\002\022\023\n\013description\030\003 \001(\t\022" + - "\031\n\021parent_policy_tag\030\004 \001(\t\022\037\n\021child_poli" + - "cy_tags\030\005 \003(\tB\004\342A\001\003:\200\001\352A}\n$datacatalog.g" + - "oogleapis.com/PolicyTag\022Uprojects/{proje" + - "ct}/locations/{location}/taxonomies/{tax" + - "onomy}/policyTags/{policy_tag}\"\223\001\n\025Creat" + - "eTaxonomyRequest\022<\n\006parent\030\001 \001(\tB,\342A\001\002\372A" + - "%\022#datacatalog.googleapis.com/Taxonomy\022<" + - "\n\010taxonomy\030\002 \001(\0132*.google.cloud.datacata" + - "log.v1beta1.Taxonomy\"S\n\025DeleteTaxonomyRe" + - "quest\022:\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#datacatalo" + - "g.googleapis.com/Taxonomy\"\206\001\n\025UpdateTaxo" + - "nomyRequest\022<\n\010taxonomy\030\001 \001(\0132*.google.c" + - "loud.datacatalog.v1beta1.Taxonomy\022/\n\013upd" + - "ate_mask\030\002 \001(\0132\032.google.protobuf.FieldMa" + - "sk\"\214\001\n\025ListTaxonomiesRequest\022<\n\006parent\030\001" + - " \001(\tB,\342A\001\002\372A%\022#datacatalog.googleapis.co" + - "m/Taxonomy\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" + - "ken\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"q\n\026ListTaxonom" + - "iesResponse\022>\n\ntaxonomies\030\001 \003(\0132*.google" + - ".cloud.datacatalog.v1beta1.Taxonomy\022\027\n\017n" + - "ext_page_token\030\002 \001(\t\"P\n\022GetTaxonomyReque" + - "st\022:\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#datacatalog.g" + - "oogleapis.com/Taxonomy\"\230\001\n\026CreatePolicyT" + - "agRequest\022=\n\006parent\030\001 \001(\tB-\342A\001\002\372A&\022$data" + - "catalog.googleapis.com/PolicyTag\022?\n\npoli" + - "cy_tag\030\002 \001(\0132+.google.cloud.datacatalog." + - "v1beta1.PolicyTag\"U\n\026DeletePolicyTagRequ" + - "est\022;\n\004name\030\001 \001(\tB-\342A\001\002\372A&\n$datacatalog." + - "googleapis.com/PolicyTag\"\212\001\n\026UpdatePolic" + - "yTagRequest\022?\n\npolicy_tag\030\001 \001(\0132+.google" + - ".cloud.datacatalog.v1beta1.PolicyTag\022/\n\013" + - "update_mask\030\002 \001(\0132\032.google.protobuf.Fiel" + - "dMask\"}\n\025ListPolicyTagsRequest\022=\n\006parent" + - "\030\001 \001(\tB-\342A\001\002\372A&\022$datacatalog.googleapis." + - "com/PolicyTag\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage" + - "_token\030\003 \001(\t\"s\n\026ListPolicyTagsResponse\022@" + - "\n\013policy_tags\030\001 \003(\0132+.google.cloud.datac" + - "atalog.v1beta1.PolicyTag\022\027\n\017next_page_to" + - "ken\030\002 \001(\t\"R\n\023GetPolicyTagRequest\022;\n\004name" + - "\030\001 \001(\tB-\342A\001\002\372A&\n$datacatalog.googleapis." + - "com/PolicyTag2\345\026\n\020PolicyTagManager\022\316\001\n\016C" + - "reateTaxonomy\0227.google.cloud.datacatalog" + - ".v1beta1.CreateTaxonomyRequest\032*.google." + - "cloud.datacatalog.v1beta1.Taxonomy\"W\332A\017p" + - "arent,taxonomy\202\323\344\223\002?\"3/v1beta1/{parent=p" + - "rojects/*/locations/*}/taxonomies:\010taxon" + - "omy\022\245\001\n\016DeleteTaxonomy\0227.google.cloud.da" + - "tacatalog.v1beta1.DeleteTaxonomyRequest\032" + - "\026.google.protobuf.Empty\"B\332A\004name\202\323\344\223\0025*3" + - "/v1beta1/{name=projects/*/locations/*/ta" + - "xonomies/*}\022\320\001\n\016UpdateTaxonomy\0227.google." + - "cloud.datacatalog.v1beta1.UpdateTaxonomy" + - "Request\032*.google.cloud.datacatalog.v1bet" + - "a1.Taxonomy\"Y\332A\010taxonomy\202\323\344\223\002H2\n\ntaxonomies\030\001 " + - "\003(\0132*.google.cloud.datacatalog.v1beta1.T" + - "axonomy\"\311\001\n\027ExportTaxonomiesRequest\022<\n\006p" + - "arent\030\001 \001(\tB,\342A\001\002\372A%\022#datacatalog.google" + - "apis.com/Taxonomy\022@\n\ntaxonomies\030\002 \003(\tB,\342" + - "A\001\002\372A%\n#datacatalog.googleapis.com/Taxon" + - "omy\022\037\n\025serialized_taxonomies\030\003 \001(\010H\000B\r\n\013" + - "destination\"d\n\030ExportTaxonomiesResponse\022" + - "H\n\ntaxonomies\030\001 \003(\01324.google.cloud.datac" + - "atalog.v1beta1.SerializedTaxonomy2\222\004\n\035Po" + - "licyTagManagerSerialization\022\320\001\n\020ImportTa" + - "xonomies\0229.google.cloud.datacatalog.v1be" + - "ta1.ImportTaxonomiesRequest\032:.google.clo" + - "ud.datacatalog.v1beta1.ImportTaxonomiesR" + - "esponse\"E\202\323\344\223\002?\":/v1beta1/{parent=projec" + - "ts/*/locations/*}/taxonomies:import:\001*\022\315" + - "\001\n\020ExportTaxonomies\0229.google.cloud.datac" + - "atalog.v1beta1.ExportTaxonomiesRequest\032:" + - ".google.cloud.datacatalog.v1beta1.Export" + - "TaxonomiesResponse\"B\202\323\344\223\002<\022:/v1beta1/{pa" + - "rent=projects/*/locations/*}/taxonomies:" + - "export\032N\312A\032datacatalog.googleapis.com\322A." + - "https://www.googleapis.com/auth/cloud-pl" + - "atformB\203\002\n$com.google.cloud.datacatalog." + - "v1beta1B\"PolicyTagManagerSerializationPr" + - "otoP\001ZFcloud.google.com/go/datacatalog/a" + - "piv1beta1/datacatalogpb;datacatalogpb\370\001\001" + - "\252\002 Google.Cloud.DataCatalog.V1Beta1\312\002 Go" + - "ogle\\Cloud\\DataCatalog\\V1beta1\352\002#Google:" + - ":Cloud::DataCatalog::V1beta1b\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.datacatalog.v1beta1.PolicyTagManagerProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_descriptor, - new java.lang.String[] { "DisplayName", "Description", "PolicyTags", "ActivatedPolicyTypes", }); - internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_descriptor, - new java.lang.String[] { "PolicyTag", "DisplayName", "Description", "ChildPolicyTags", }); - internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_descriptor, - new java.lang.String[] { "Parent", "InlineSource", "Source", }); - internal_static_google_cloud_datacatalog_v1beta1_InlineSource_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_datacatalog_v1beta1_InlineSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_InlineSource_descriptor, - new java.lang.String[] { "Taxonomies", }); - internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesResponse_descriptor, - new java.lang.String[] { "Taxonomies", }); - internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesRequest_descriptor, - new java.lang.String[] { "Parent", "Taxonomies", "SerializedTaxonomies", "Destination", }); - internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_ExportTaxonomiesResponse_descriptor, - new java.lang.String[] { "Taxonomies", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - 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.datacatalog.v1beta1.PolicyTagManagerProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOrBuilder.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOrBuilder.java deleted file mode 100644 index eb25a7c61ac1..000000000000 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/schema.proto - -package com.google.cloud.datacatalog.v1beta1; - -public interface SchemaOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.Schema) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
-   * can be specified.
-   * 
- * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - java.util.List - getColumnsList(); - /** - *
-   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
-   * can be specified.
-   * 
- * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.datacatalog.v1beta1.ColumnSchema getColumns(int index); - /** - *
-   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
-   * can be specified.
-   * 
- * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - int getColumnsCount(); - /** - *
-   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
-   * can be specified.
-   * 
- * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - java.util.List - getColumnsOrBuilderList(); - /** - *
-   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
-   * can be specified.
-   * 
- * - * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema columns = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder getColumnsOrBuilder( - int index); -} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOuterClass.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOuterClass.java deleted file mode 100644 index 7e4914cc65f3..000000000000 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOuterClass.java +++ /dev/null @@ -1,79 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/schema.proto - -package com.google.cloud.datacatalog.v1beta1; - -public final class SchemaOuterClass { - private SchemaOuterClass() {} - 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_datacatalog_v1beta1_Schema_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_Schema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_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/datacatalog/v1beta1/schem" + - "a.proto\022 google.cloud.datacatalog.v1beta" + - "1\032\037google/api/field_behavior.proto\"O\n\006Sc" + - "hema\022E\n\007columns\030\002 \003(\0132..google.cloud.dat" + - "acatalog.v1beta1.ColumnSchemaB\004\342A\001\002\"\261\001\n\014" + - "ColumnSchema\022\024\n\006column\030\006 \001(\tB\004\342A\001\002\022\022\n\004ty" + - "pe\030\001 \001(\tB\004\342A\001\002\022\031\n\013description\030\002 \001(\tB\004\342A\001" + - "\001\022\022\n\004mode\030\003 \001(\tB\004\342A\001\001\022H\n\nsubcolumns\030\007 \003(" + - "\0132..google.cloud.datacatalog.v1beta1.Col" + - "umnSchemaB\004\342A\001\001B\337\001\n$com.google.cloud.dat" + - "acatalog.v1beta1P\001ZFcloud.google.com/go/" + - "datacatalog/apiv1beta1/datacatalogpb;dat" + - "acatalogpb\370\001\001\252\002 Google.Cloud.DataCatalog" + - ".V1Beta1\312\002 Google\\Cloud\\DataCatalog\\V1be" + - "ta1\352\002#Google::Cloud::DataCatalog::V1beta" + - "1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1beta1_Schema_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1beta1_Schema_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_Schema_descriptor, - new java.lang.String[] { "Columns", }); - internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_ColumnSchema_descriptor, - new java.lang.String[] { "Column", "Type", "Description", "Mode", "Subcolumns", }); - 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-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Search.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Search.java deleted file mode 100644 index 89ebc61bc10a..000000000000 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Search.java +++ /dev/null @@ -1,68 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/search.proto - -package com.google.cloud.datacatalog.v1beta1; - -public final class Search { - private Search() {} - 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_datacatalog_v1beta1_SearchCatalogResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_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/datacatalog/v1beta1/searc" + - "h.proto\022 google.cloud.datacatalog.v1beta" + - "1\032\037google/api/field_behavior.proto\032\037goog" + - "le/protobuf/timestamp.proto\"\356\001\n\023SearchCa" + - "talogResult\022N\n\022search_result_type\030\001 \001(\0162" + - "2.google.cloud.datacatalog.v1beta1.Searc" + - "hResultType\022\035\n\025search_result_subtype\030\002 \001" + - "(\t\022\036\n\026relative_resource_name\030\003 \001(\t\022\027\n\017li" + - "nked_resource\030\004 \001(\t\022/\n\013modify_time\030\007 \001(\013" + - "2\032.google.protobuf.Timestamp*d\n\020SearchRe" + - "sultType\022\"\n\036SEARCH_RESULT_TYPE_UNSPECIFI" + - "ED\020\000\022\t\n\005ENTRY\020\001\022\020\n\014TAG_TEMPLATE\020\002\022\017\n\013ENT" + - "RY_GROUP\020\003B\337\001\n$com.google.cloud.datacata" + - "log.v1beta1P\001ZFcloud.google.com/go/datac" + - "atalog/apiv1beta1/datacatalogpb;datacata" + - "logpb\370\001\001\252\002 Google.Cloud.DataCatalog.V1Be" + - "ta1\312\002 Google\\Cloud\\DataCatalog\\V1beta1\352\002" + - "#Google::Cloud::DataCatalog::V1beta1b\006pr" + - "oto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_descriptor, - new java.lang.String[] { "SearchResultType", "SearchResultSubtype", "RelativeResourceName", "LinkedResource", "ModifyTime", }); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOuterClass.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOuterClass.java deleted file mode 100644 index 6a7f7525f251..000000000000 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOuterClass.java +++ /dev/null @@ -1,114 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/table_spec.proto - -package com.google.cloud.datacatalog.v1beta1; - -public final class TableSpecOuterClass { - private TableSpecOuterClass() {} - 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_datacatalog_v1beta1_BigQueryTableSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_TableSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_TableSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n1google/cloud/datacatalog/v1beta1/table" + - "_spec.proto\022 google.cloud.datacatalog.v1" + - "beta1\032\037google/api/field_behavior.proto\032\031" + - "google/api/resource.proto\"\370\001\n\021BigQueryTa" + - "bleSpec\022R\n\021table_source_type\030\001 \001(\01621.goo" + - "gle.cloud.datacatalog.v1beta1.TableSourc" + - "eTypeB\004\342A\001\003\022?\n\tview_spec\030\002 \001(\0132*.google." + - "cloud.datacatalog.v1beta1.ViewSpecH\000\022A\n\n" + - "table_spec\030\003 \001(\0132+.google.cloud.datacata" + - "log.v1beta1.TableSpecH\000B\013\n\ttype_spec\"$\n\010" + - "ViewSpec\022\030\n\nview_query\030\001 \001(\tB\004\342A\001\003\"M\n\tTa" + - "bleSpec\022@\n\rgrouped_entry\030\001 \001(\tB)\342A\001\003\372A\"\n" + - " datacatalog.googleapis.com/Entry\"\214\001\n\027Bi" + - "gQueryDateShardedSpec\022:\n\007dataset\030\001 \001(\tB)" + - "\342A\001\003\372A\"\n datacatalog.googleapis.com/Entr" + - "y\022\032\n\014table_prefix\030\002 \001(\tB\004\342A\001\003\022\031\n\013shard_c" + - "ount\030\003 \001(\003B\004\342A\001\003*{\n\017TableSourceType\022!\n\035T" + - "ABLE_SOURCE_TYPE_UNSPECIFIED\020\000\022\021\n\rBIGQUE" + - "RY_VIEW\020\002\022\022\n\016BIGQUERY_TABLE\020\005\022\036\n\032BIGQUER" + - "Y_MATERIALIZED_VIEW\020\007B\337\001\n$com.google.clo" + - "ud.datacatalog.v1beta1P\001ZFcloud.google.c" + - "om/go/datacatalog/apiv1beta1/datacatalog" + - "pb;datacatalogpb\370\001\001\252\002 Google.Cloud.DataC" + - "atalog.V1Beta1\312\002 Google\\Cloud\\DataCatalo" + - "g\\V1beta1\352\002#Google::Cloud::DataCatalog::" + - "V1beta1b\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(), - }); - internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_BigQueryTableSpec_descriptor, - new java.lang.String[] { "TableSourceType", "ViewSpec", "TableSpec", "TypeSpec", }); - internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_ViewSpec_descriptor, - new java.lang.String[] { "ViewQuery", }); - internal_static_google_cloud_datacatalog_v1beta1_TableSpec_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_datacatalog_v1beta1_TableSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_TableSpec_descriptor, - new java.lang.String[] { "GroupedEntry", }); - internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_BigQueryDateShardedSpec_descriptor, - new java.lang.String[] { "Dataset", "TablePrefix", "ShardCount", }); - 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-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tags.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tags.java deleted file mode 100644 index 05b745ef553a..000000000000 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tags.java +++ /dev/null @@ -1,212 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/tags.proto - -package com.google.cloud.datacatalog.v1beta1; - -public final class Tags { - private Tags() {} - 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_datacatalog_v1beta1_Tag_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_Tag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_Tag_FieldsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_Tag_FieldsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_TagField_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_TagField_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_FieldsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_FieldsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_FieldType_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_FieldType_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_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/datacatalog/v1beta1/tags." + - "proto\022 google.cloud.datacatalog.v1beta1\032" + - "\037google/api/field_behavior.proto\032\031google" + - "/api/resource.proto\032\037google/protobuf/tim" + - "estamp.proto\"\223\003\n\003Tag\022\014\n\004name\030\001 \001(\t\022\026\n\010te" + - "mplate\030\002 \001(\tB\004\342A\001\002\022#\n\025template_display_n" + - "ame\030\005 \001(\tB\004\342A\001\003\022\020\n\006column\030\004 \001(\tH\000\022G\n\006fie" + - "lds\030\003 \003(\01321.google.cloud.datacatalog.v1b" + - "eta1.Tag.FieldsEntryB\004\342A\001\002\032Y\n\013FieldsEntr" + - "y\022\013\n\003key\030\001 \001(\t\0229\n\005value\030\002 \001(\0132*.google.c" + - "loud.datacatalog.v1beta1.TagField:\0028\001:\201\001" + - "\352A~\n\036datacatalog.googleapis.com/Tag\022\\pro" + - "jects/{project}/locations/{location}/ent" + - "ryGroups/{entry_group}/entries/{entry}/t" + - "ags/{tag}B\007\n\005scope\"\257\002\n\010TagField\022\032\n\014displ" + - "ay_name\030\001 \001(\tB\004\342A\001\003\022\026\n\014double_value\030\002 \001(" + - "\001H\000\022\026\n\014string_value\030\003 \001(\tH\000\022\024\n\nbool_valu" + - "e\030\004 \001(\010H\000\0225\n\017timestamp_value\030\005 \001(\0132\032.goo" + - "gle.protobuf.TimestampH\000\022J\n\nenum_value\030\006" + - " \001(\01324.google.cloud.datacatalog.v1beta1." + - "TagField.EnumValueH\000\022\023\n\005order\030\007 \001(\005B\004\342A\001" + - "\003\032!\n\tEnumValue\022\024\n\014display_name\030\001 \001(\tB\006\n\004" + - "kind\"\327\002\n\013TagTemplate\022\014\n\004name\030\001 \001(\t\022\024\n\014di" + - "splay_name\030\002 \001(\t\022O\n\006fields\030\003 \003(\01329.googl" + - "e.cloud.datacatalog.v1beta1.TagTemplate." + - "FieldsEntryB\004\342A\001\002\032a\n\013FieldsEntry\022\013\n\003key\030" + - "\001 \001(\t\022A\n\005value\030\002 \001(\01322.google.cloud.data" + - "catalog.v1beta1.TagTemplateField:\0028\001:p\352A" + - "m\n&datacatalog.googleapis.com/TagTemplat" + - "e\022Cprojects/{project}/locations/{locatio" + - "n}/tagTemplates/{tag_template}\"\276\002\n\020TagTe" + - "mplateField\022\022\n\004name\030\006 \001(\tB\004\342A\001\003\022\024\n\014displ" + - "ay_name\030\001 \001(\t\022?\n\004type\030\002 \001(\0132+.google.clo" + - "ud.datacatalog.v1beta1.FieldTypeB\004\342A\001\002\022\023" + - "\n\013is_required\030\003 \001(\010\022\023\n\013description\030\004 \001(\t" + - "\022\r\n\005order\030\005 \001(\005:\205\001\352A\201\001\n+datacatalog.goog" + - "leapis.com/TagTemplateField\022Rprojects/{p" + - "roject}/locations/{location}/tagTemplate" + - "s/{tag_template}/fields/{field}\"\250\003\n\tFiel" + - "dType\022S\n\016primitive_type\030\001 \001(\01629.google.c" + - "loud.datacatalog.v1beta1.FieldType.Primi" + - "tiveTypeH\000\022I\n\tenum_type\030\002 \001(\01324.google.c" + - "loud.datacatalog.v1beta1.FieldType.EnumT" + - "ypeH\000\032\213\001\n\010EnumType\022V\n\016allowed_values\030\001 \003" + - "(\0132>.google.cloud.datacatalog.v1beta1.Fi" + - "eldType.EnumType.EnumValue\032\'\n\tEnumValue\022" + - "\032\n\014display_name\030\001 \001(\tB\004\342A\001\002\"`\n\rPrimitive" + - "Type\022\036\n\032PRIMITIVE_TYPE_UNSPECIFIED\020\000\022\n\n\006" + - "DOUBLE\020\001\022\n\n\006STRING\020\002\022\010\n\004BOOL\020\003\022\r\n\tTIMEST" + - "AMP\020\004B\013\n\ttype_declB\337\001\n$com.google.cloud." + - "datacatalog.v1beta1P\001ZFcloud.google.com/" + - "go/datacatalog/apiv1beta1/datacatalogpb;" + - "datacatalogpb\370\001\001\252\002 Google.Cloud.DataCata" + - "log.V1Beta1\312\002 Google\\Cloud\\DataCatalog\\V" + - "1beta1\352\002#Google::Cloud::DataCatalog::V1b" + - "eta1b\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.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1beta1_Tag_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1beta1_Tag_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_Tag_descriptor, - new java.lang.String[] { "Name", "Template", "TemplateDisplayName", "Column", "Fields", "Scope", }); - internal_static_google_cloud_datacatalog_v1beta1_Tag_FieldsEntry_descriptor = - internal_static_google_cloud_datacatalog_v1beta1_Tag_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1beta1_Tag_FieldsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_Tag_FieldsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_datacatalog_v1beta1_TagField_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1beta1_TagField_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_TagField_descriptor, - new java.lang.String[] { "DisplayName", "DoubleValue", "StringValue", "BoolValue", "TimestampValue", "EnumValue", "Order", "Kind", }); - internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_descriptor = - internal_static_google_cloud_datacatalog_v1beta1_TagField_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_TagField_EnumValue_descriptor, - new java.lang.String[] { "DisplayName", }); - internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_descriptor, - new java.lang.String[] { "Name", "DisplayName", "Fields", }); - internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_FieldsEntry_descriptor = - internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_FieldsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_TagTemplate_FieldsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_descriptor, - new java.lang.String[] { "Name", "DisplayName", "Type", "IsRequired", "Description", "Order", }); - internal_static_google_cloud_datacatalog_v1beta1_FieldType_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_datacatalog_v1beta1_FieldType_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_FieldType_descriptor, - new java.lang.String[] { "PrimitiveType", "EnumType", "TypeDecl", }); - internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_descriptor = - internal_static_google_cloud_datacatalog_v1beta1_FieldType_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_descriptor, - new java.lang.String[] { "AllowedValues", }); - internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_descriptor = - internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_FieldType_EnumType_EnumValue_descriptor, - new java.lang.String[] { "DisplayName", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Timestamps.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Timestamps.java deleted file mode 100644 index 796e644ec6d0..000000000000 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Timestamps.java +++ /dev/null @@ -1,68 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/timestamps.proto - -package com.google.cloud.datacatalog.v1beta1; - -public final class Timestamps { - private Timestamps() {} - 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_datacatalog_v1beta1_SystemTimestamps_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n1google/cloud/datacatalog/v1beta1/times" + - "tamps.proto\022 google.cloud.datacatalog.v1" + - "beta1\032\037google/api/field_behavior.proto\032\037" + - "google/protobuf/timestamp.proto\"\253\001\n\020Syst" + - "emTimestamps\022/\n\013create_time\030\001 \001(\0132\032.goog" + - "le.protobuf.Timestamp\022/\n\013update_time\030\002 \001" + - "(\0132\032.google.protobuf.Timestamp\0225\n\013expire" + - "_time\030\003 \001(\0132\032.google.protobuf.TimestampB" + - "\004\342A\001\003B\337\001\n$com.google.cloud.datacatalog.v" + - "1beta1P\001ZFcloud.google.com/go/datacatalo" + - "g/apiv1beta1/datacatalogpb;datacatalogpb" + - "\370\001\001\252\002 Google.Cloud.DataCatalog.V1Beta1\312\002" + - " Google\\Cloud\\DataCatalog\\V1beta1\352\002#Goog" + - "le::Cloud::DataCatalog::V1beta1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_SystemTimestamps_descriptor, - new java.lang.String[] { "CreateTime", "UpdateTime", "ExpireTime", }); - 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.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Usage.java b/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Usage.java deleted file mode 100644 index c5837b4cfe8e..000000000000 --- a/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Usage.java +++ /dev/null @@ -1,89 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datacatalog/v1beta1/usage.proto - -package com.google.cloud.datacatalog.v1beta1; - -public final class Usage { - private Usage() {} - 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_datacatalog_v1beta1_UsageStats_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_UsageStats_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_UsageWithinTimeRangeEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_UsageWithinTimeRangeEntry_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/datacatalog/v1beta1/usage" + - ".proto\022 google.cloud.datacatalog.v1beta1" + - "\032\037google/protobuf/timestamp.proto\"\221\001\n\nUs" + - "ageStats\022\031\n\021total_completions\030\001 \001(\002\022\026\n\016t" + - "otal_failures\030\002 \001(\002\022\033\n\023total_cancellatio" + - "ns\030\003 \001(\002\0223\n+total_execution_time_for_com" + - "pletions_millis\030\004 \001(\002\"\223\002\n\013UsageSignal\022/\n" + - "\013update_time\030\001 \001(\0132\032.google.protobuf.Tim" + - "estamp\022h\n\027usage_within_time_range\030\002 \003(\0132" + - "G.google.cloud.datacatalog.v1beta1.Usage" + - "Signal.UsageWithinTimeRangeEntry\032i\n\031Usag" + - "eWithinTimeRangeEntry\022\013\n\003key\030\001 \001(\t\022;\n\005va" + - "lue\030\002 \001(\0132,.google.cloud.datacatalog.v1b" + - "eta1.UsageStats:\0028\001B\337\001\n$com.google.cloud" + - ".datacatalog.v1beta1P\001ZFcloud.google.com" + - "/go/datacatalog/apiv1beta1/datacatalogpb" + - ";datacatalogpb\370\001\001\252\002 Google.Cloud.DataCat" + - "alog.V1Beta1\312\002 Google\\Cloud\\DataCatalog\\" + - "V1beta1\352\002#Google::Cloud::DataCatalog::V1" + - "beta1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_datacatalog_v1beta1_UsageStats_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datacatalog_v1beta1_UsageStats_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_UsageStats_descriptor, - new java.lang.String[] { "TotalCompletions", "TotalFailures", "TotalCancellations", "TotalExecutionTimeForCompletionsMillis", }); - internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_descriptor, - new java.lang.String[] { "UpdateTime", "UsageWithinTimeRange", }); - internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_UsageWithinTimeRangeEntry_descriptor = - internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_UsageWithinTimeRangeEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_UsageWithinTimeRangeEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -}